Operation Manual of EX9065 65A 65B Series 20161004 Final
Operation Manual of EX9065 65A 65B Series 20161004 Final
Introduction
EX-9065D series provides 5 relay output channels and 4 isolated digital input
channels. all relay output channels are differential with individually
common . (See Sec. 1.2.1 Block diagram)
1
1.1 Specifications
EX-9065D EX-9065AD EX-9065BD
Digital Output
Output Channels 5 Relay Output Channels
Form A AC-SSR, DC-SSR,
Relay Type Normal Open Normal Open
Digital Input
Input Channels 4 isolated input channels with common source
Logical Level 1 +4V to +30V
Logical Level 0 +1V Max
Input Impedance 3K Ohms
Isolation Voltage 3750Vrms
Environment
Power Requirement +10 to +30 VDC
Power Consumption 2.2W 1.6W 1.5W
Operating -25°C to +75°C
Temperature
Storage -30°C to +75°C
Temperature
2
1.2 Wire connection
1.2.1 Block Diagrams
+5V
Led
IN.COM
Display
IN0
EEPROM
IN3
Single
Controller RL1COM
RL1NO
Data+ RS485
Data- Interface
RL5COM
+5V
+Vs Power RL5NO
GND Supply
EX9065D
+5V
Led
IN.COM
Display
IN0
EEPROM
IN3
Single
Controller SSR1+
SSR1-
Data+ RS485
Data- Interface
SSR5+
+5V
+Vs Power SSR5-
GND Supply
EX9065AD
3
+5V
Led
IN.COM
Display
IN0
EEPROM
IN3
Single
Controller SSR1+
SSR1-
Data+ RS485
Data- Interface
SSR5+
+5V
+Vs Power SSR5-
GND Supply
EX9065BD
4
1.2.2 Wiring diagram for the EX-9065D
Open Collector signal Input
IN.COM IN.COM
IN0 IN0
INx INx
IN0 IN0
IN1
IN1
INx
INx
Relay output
5
1.3 Default Settings
Default settings for the EX-9065D/AD/BD
modules are as follows:
. Module Address: 01
. DIO Type: 40
. Baud Rate: 9600 bps
6
1.4 INIT* Mode Operation
Each EX9000 module has a build-in EEPROM to store
configuration information such as address, type, baudrate and other
information. Sometimes, user may forget the configuration of the
module. Therefore, the EX9000 have a special mode named "INIT*
mode" to help user to resolve the problem. The "INIT* mode" is
setting as Address=00, Baudrate=9600bps, no Checksum .
7
1.5 Module Status for DIO, AIO
Power On Reset or Module Watchdog Reset will let all
output goto Power On Value. And the module may accept the
host's command to change the output value.
Host Watchdog Timeout will let all output goto Safe Value.
The module's status(read by command~AA0) will be 04, and the
output command will be ignored.
8
1.8 Digital O/P
The module's output have 3 different situation:
<1>Safe Value. If the host watchdog timeout status is set,
the output is set to Safe Value. While the module receive the output
command like @AA(Date) or #AABBDD, the module will ignore
the command and return "!". And will not change the output to the
output command value. The host watchdog timeout status is set
and store into EEPROM while the host watchdog timeout
interval expired and only can be cleared by command ~AA1. If
user want to change the output it need to clear the host watchdog
timeout status firstly and send output command to change the output
into desired value.
<2>PowerOn Value. Only the module reset and the host
watchdog timeout status is clear, the module's output is set to
predefined Power On Value.
<3> Output Command Value. If the host watchdog timeout
status is clear and user issue a digital output command like @AA
(Data) or #AABBDD to module for changing the output value. The
module will response success (receive>).
9
1.10 Configuration Tables
Baud Rate Setting (CC)
Code 03 04 05 06 07 08 09 0A
Baud rate 1200 2400 4800 9600 19200 38400 57600 115200
Note: Both the First Data and the Second Data are in two
hexadecimal digitals format.
10
2.0 Command Sets
2.1 %AANNTTCCFF
Description: Set Module Configuration.
Syntax: %AANNTTCCFF[CHK](cr)
% a delimiter character
AA address of setting/response module(00 to FF)
NN new address for setting/response module(00 to FF)
TT type 40 for DIO module
CC new baudrate for setting module.
FF new data format for setting module.
Example:
Command: %0102240600 Receive: !02
Set module address 01 to 02, return Success.
11
2.2 #**
Description: Synchronized Sampling
Syntax: #**[CHK](cr)
# delimiter character
** synchronized sampling command
Response: No response
Example:
Command: #** No response
Send synchronized sampling command to all modules.
12
2.3 #AABBDD
Description: Digital Output
Syntax: #AABBDD[CHK](cr)
# delimiter character
AA address of reading/response module(00 to FF)
BBDD Output command and parameter
For output multi-channel, the BB=00, 0A or 0B the
select which output group, and the DD is the output
value
13
For output single-channel, the BB=1c, Ac or Bc where c is
the selected channel, and the DD must be 00 to clear output
and 01 to set output.
14
Example:
Command: #021001 Receive: >
Assume module is EX9065D, set address 02 output channel 0 on,
return success.
15
2.4 #AAN
Description: Read Digital Input Counter from channel N
Syntax : #AAN[CHK](cr)
# delimiter character
AA address of reading/response module (00 to FF)
N channel to read
Example:
Command: #032 Receive: !0300103
Read address 03 digital input counter value of channel 2, return
value 103.
16
2.5 $AA2
Description: Read configuration.
Syntax: $AA2[CHK](cr)
$ delimiter character
AA address of reading/response module (00 to FF)
2 command for read configuration
Example:
Command: $012 Receive: !01400600
Read the configuration of module 01, return DIO mode, baudrate
9600, no checksum.
Note: check configuration Tables
17
2.6 $AA4
Description: Reads the synchronized data
Syntax: $AA4[CHK](cr)
$ delimiter character
AA address of reading/response module (00 to FF)
4 command to read the synchronized data
Example:
Command: $014 Receive: ?01
Read address 01 synchronized data, return no data available.
18
2.7 $AA5
Description: Read Reset Status
Syntax: $AA5[CHK](cr)
$ delimiter character
AA address of reading/response module (00 to FF)
5 command for read reset status
Example:
Command: $ 015 Receive: !011
Read address 01 reset status, return module is been reset
19
2.8 $AA6
Description: Read Digital I/O Status
Syntax: $AA6[CHK](cr)
$ delimiter character
AA address of reading/response module (00 to FF)
6 command for read channel status
Note: Both the First Data and the Second Data are in two
hexadecimal digitals format.
Example:
Command: $016 Receive: !070000
Assume module is EX9065, read address 01 DIO status, return
0700, digital output channel 1~3 are on, digital input channel 0~3
are off.
20
2.9 $AAF
Description: Read Firmware Version
Syntax: $AAF[CHK](cr)
$ delimiter character
AA address of reading/response module (00 to FF)
F command for read firmware version
Example:
Command: $01F Receive: !01D03.11
Read address 01 firmware version, return version D03.11
21
2.10 $AAM
Description: Read Module Name
Syntax: $AAM[CHK](cr)
$ delimiter character
AA address of reading/response module (00 to FF)
M address of reading/response module(00 to FF)
Example:
Command: $01M Receive: !019065
Read address 01 module name, return name 9065
22
2.11 $AAC
Description: Clear Latched Digital Input
Syntax: $AAC[CHK](cr)
$ delimiter character
AA address of reading/response module (00 to FF)
C command for clear latched digital input
Example:
Command: $01L0 Receive: !010F0F00
Read address 01 latch-low data, return 0F0F.
23
2.12 $AACN
Description: Clear Digital Input Counter
Syntax: $AACN[CHK](cr)
$ delimiter character
AA address of reading/response module (00 to FF)
C command for clear latched digital input
N digital counter channel N to clear
Example:
Command: #010 Receive: !0100123
Read address 01 input channel 0 counter value, return 123.
24
2.13 $AALS
Description: Read Latched Digital Input
Syntax: $AALS[CHK](cr)
$ delimiter character
AA address of reading/response module (00 to FF)
L command for read latched digital input
S 1=select latch high status, 0=select latch low status
Example:
Command: $01L1 Receive: !012300
Read address 01 latch-high data, return 0123.
25
2.14 @AA
Description: Read Digital I/O Status
Syntax: @AA[CHK](cr)
@ delimiter character
AA address of reading/response module (00 to FF)
Note: Both the First Data and the Second Data are in two
hexadecimal digitals format.
Example:
Command: @01 Receive: >0700
Assume module is EX9065M, read address 01 DIO status, return
0700, digital output channel 1~3 are on, digital input channel 0~3
are off.
26
2.15 @AA(Data)
Description: Set Digital I/O Status
Syntax: @AA(Data)[CHK](cr)
@ delimiter character
AA address of reading/response module (00 to FF)
(Data) output value, the data format is following:
(Data) is one character for output channel less than 4
For EX9060D, from 0 to F
For EX9063D, from 0 to 7
(Data) is two characters for output channel less than 8
For EX9044D/50D/55D, from 00 to FF
For EX9065D, from 00 to 1F
For EX9066D/67D, from 00 to 7F
(Data) is four characters for output channel less than 16
For EX9042D, from 0000 to 1FFF
For EX9043D, from 0000 to FFFF
Response: Valid Command: >
Invalid Command: ?
Ignore Command: !
Example:
Command: @017 Receive: >
Output address 01 value 7, return success.(The example is
suitable for EX9065’s digital output channel 1~3 are on)
27
2.16 ~AAO(Data)
Description: Set Module Name
Syntax: ~AAO(Data)[CHK](cr)
~ delimiter character
AA address of reading/response module (00 to FF)
O command for set module name
(Data) new name for module, max 6 characters
Example:
Command: ~01O9065 Receive: !01
Set address 01 module name 9065, return success.
28
2.17 ~**
Description: Host OK
Host send this command to all modules for send the
information “Host OK”
Syntax: ~**[CHK](cr)
~ delimiter character
** command for all modules
Response: No response
Example:
Command: ~** No response
29
2.18 ~AA0
Description: Read Module Status
Syntax: ~AA0[CHK](cr)
~ delimiter character
AA address of reading/response module (00 to FF)
0 command for read module status
30
2.19 ~AA1
Description: Reset Module Status
Syntax: ~AA1[CHK](cr)
~ delimiter character
AA address of reading/response module (00 to FF)
1 command for reset module status
31
2.20 ~AA2
Description: Read the Host Watchdog Timeout Value
Syntax: ~AA2[CHK](cr)
~ delimiter character
AA address of reading/response module (00 to FF)
2 command for read host watchdog timeout value
32
2.21 ~AA3EVV
Description: Set host Watchdog Timeout Value
Syntax: ~AA3EVV[CHK](cr)
~ delimiter character
AA address of reading/response module (00 to FF)
3 command for set host watchdog timeout value
E 1=Enabled / 0=Disable host watchdog
VV timeout value, from 01 to FF, each for 0.1 second
Example:
Command: ~010 Receive: !0100
Read address 01 modules status, return host watchdog timeout
status is clear.
33
Reset the host watchdog timer. Wait for about 10 seconds and
don't send command~**, the LED of module will go to flash.
The flash LED indicates the host watchdog timeout status is set.
34
2.22 ~AA4V
Description: Read Power On/Safe Value
Syntax: ~AA4V[CHK](cr)
~ delimiter character
AA address of reading/response module (00 to FF)
4 command for read Power On/Safe value
V P= read Power On Value, S= read Safe Value
Example:
Command: @0100 Receive: >
Output address 01 Value 00, return success.
36
2.23 ~AA5V
Description: Set Power On/Safe Value
Syntax: ~AA5V[CHK](cr)
~ delimiter character
AA address of reading/response module (00 to FF)
5 command for set Power On/Safe value
V P= set current output as Power On Value, S= set current
output as Safe Value
Example:
Command: @017 Receive: >
Output address 01 Value 7, return success.
37