ExpertDAQ EX-9060D, EX-9060D-M Operation Manual

1
1. Introduction
EX-9060D/9060D-M provides 4 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)
Specifications
Interface : RS-485, 2 wires Speed : 1200, 2400, 4800, 9600, 19.2K, 38.4K, 57.6K,115.2K Output channels: 4 relay output channels (RL1,RL2: Form A, RL3,RL4 Form C) Relay contact rating : 0.6A/125VAC, 2A/30VDC Surge strength: 500V Operate Time: 3mS max. Release Time: 2mS max. Min Life: 5*10
5
ops. Input channels : 4 isolated input channels with common source Isolation Voltage: 3750Vrms. Input impedance: 3K ohms Input logical level 0 : +1V Max. Input logical level 1: +4.0V ~ +30V LED: 8 digital input/output status LED Power input : +10V to +30VDC Power Consumption : 1.9W/1.8W
2
1.1 Specifications
EX-9060D EX-9060D-M Digital Output Output Channels 4 Relay Output Channels Output mode Dry Contact Output
Relay Type
RL1, RL2: Form A RL3, RL4: Form C
AC Contact Rating AC: 125V @0.6A DC Contact Rating DC: 30V @2A
Relay On Time(Typical) 3 msec Relay Off Time(Typical) 2 msec Insulation Resistance 1000M ohms at 500 VDC 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 3750 Vrms Environment Modbus RTU Not support Support Power Requirement +10 to +30 VDC Power Consumption 1.9W 1.8W Operating Temperature -25°C to +75°C Storage Temperature -30°C to +75°C
3
1.2 Wire connection
1.2.1 Block Diagrams
Led Display
EEPROM
Single Controller
RS485 Interface
Power Supply
+5V
+5V
RL1COM
RL1NO RL2COM
RL2NO
EX9060D
Data+ Data-
+Vs GND
IN.COM IN0
IN3
RL3COM RL3NC
RL3NO RL4COM RL4NC
RL4NO
4
1.2.2 Wiring diagram for the EX-9060D
Open Collector signal Input
Dry Contact signal Input TTL/CMOS signal Input
Relay output in RL1/RL2 Relay output in RL3/RL4
IN.COM
IN0
INx
IN0
INx
IN.COM
IN.COM
IN0
IN1
INx
IN.COM
IN0
IN1
INx
5
1.3 Default Settings
Default settings for the EX-9060D modules are as follows:
. Module Address: 01 . DIO Type: 40 . Baud Rate: 9600 bps
Default settings for the EX-9060D-M modules are as follows:
. Protocol: Modbus RTU . 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 .
Originally, the INIT* mode is accessed by connecting the INIT* terminal to the GND terminal. New EX9000 modules have the INIT* switch located on the rear side of the module to allow easier access to the INIT* mode. For these modules, INIT* mode is accessed by sliding the INIT* switch to the Init position as shown below.
To enable INIT* mode, please following these steps: Step1. Power off the module Step2. Connect the INIT* pin with the GND pin. (or sliding the INIT* switch to the Init* ON position) Step3. Power on Step4. Send command $002 (cr) in 9600bps to read the Configuration stored in the module's EEPROM.
There are commands that require the module to be in INIT* mode. They are:
1. %AANNTTCCFF when changing the Baud Rate and checksum settings. See Section 2.1 for details.
2. $AAPN, See Section 2.18 for details.
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.
1.6
Dual Watchdog Operation for DIO, AIO
Dual Watchdog=Module Watchdog + Host Watchdog
The Module Watchdog
is a hardware reset circuit to monitor the module's operating status. While working in harsh or noisy environment, the module may be down by the external signal. The circuit may let the module to work continues a nd never halt.
The Host Watchdog
is a software function to monitor the host's operating status. Its purpose is to prevent the network from communication problem or host halt. When the timeout interval expired, the module will turn all outputs to predefined Safe Value. This can prevent the controlled target from unexpected situation.
The EX9000 module with Dual Watchdog may let the
control system more reliable and stable.
1.7 Reset Status
The Reset Status is set while the module power on or reset by module watchdog and is cleared while the command read Reset Status ($AA5) applied. This is useful for user to check the module's working status. When the Reset Status is set means the module is reset and the output may be changed to the PowerOn Value. When the Reset Status is clear means the module is not resetted and the output is not changed.
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>).
1.9 Latch Digital I/P
For example, use connect the key switch to Digital input channel of a digital input/output module and want to read the key stoke. The Key input is a pulse digital input and user will lost the strike. While reading by command $AA6 in A and B position, the response is that no key stroke and it will lose the key stroke information. Respectely, the read latch low digital input command $AAL0 will solve this problem. When issue $AAL0 command in A and B position, the response denote that there is a low pulse between A and B position for a key stroke.
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
Data Format Setting (FF)
7 6 5 4 3 2 1 0
*1 *2 *3
*1: Counter Update Direction: 0 =Falling Edge,
1=Rising Edge.
*2: Checksum Bit : 0=Disable, 1=Enable. *3: The reserved bits should be zero.
Read Digital Input/Output Data Format table
Data of $AA6,$AA4,$AALS:(First Data)(Second Data)00
Data of @AA:(First Data)(Second Data)
Note: Both the First Data and the Second Data are in two hexadecimal digitals format.
Module The First data The Second data
EX9060 DO1~DO4 00~0F DI0~DI3 00~0F
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.
If the configuration with new baudrate or new checksum setting, before using this command, it is needed to short the INIT* to ground (or sliding the INIT* switch to the Init ON position of rear side). The new setting is saved in the EEPROM and will be effective after the next power-on reset.
Response:
Valid Command: !AA
Invalid Command: ?AA
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.
Command: $014 Receive: !10F0000 Read synchronized data from address 01, return S=1, first read and data is 0F0000
Command: $014 Receive: !00F0000 Read synchronized data from address 01, return S=0, have readed and data is 0F0000
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
Parameter for Multi-Channel Output
DD for command #AABBDD Output
Channels
BB=00/0A BB=0B EX9042D 13 00 to FF DO(0~7) 00 to 1F DO(8~12) EX9043D 16 00 to FF DO(0~7) 00 to 1F DO(8~15) EX9044D 8 00 to FF DO(0~7) NA NA EX9050D 8 00 to FF DO(0~7) NA NA EX9055D 8 00 to FF DO(0~7) NA NA EX9060D 4 00 to 0F RL(1~4) NA NA EX9063D 3 00 to 07 RL(1~3) NA NA EX9065D 5 00 to 1F RL(1~5) NA NA EX9066D 7 00 to 7F RL(1~7) NA NA EX9067D 7 00 to 7F RL(1~7) NA NA
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.
Parameter for Single-Channel Output
Single channel output command #AABBDD
c for BB=1c/Ac c for BB=Bc EX9042D 0 to 7 DO(0~7) 0 to 4 DO(8~12) EX9043D 0 to 7 DO(0~7) 0 to 7 DO(8~15) EX9044D 0 to 7 DO(0~7) NA NA EX9050D 0 to 7 DO(0~7) NA NA EX9055D 0 to 7 DO(0~7) NA NA EX9060D 0 to 3 RL(1~4) NA NA EX9063D 0 to 2 RL(1~3) NA NA EX9065D 0 to 4 RL(1~5) NA NA EX9066D 0 to 6 RL(1~7) NA NA EX9067D 0 to 6 RL(1~7) NA NA
Response:
Valid Command: > Invalid Command: ? Ignore Command: ! Delimiter for ignore the command. The module's
host watchdog timeout status is set, and the output is set to Safe Value.
14
Example: Command: #021001 Receive: > Assume module is EX9060D, set address 02 output channel 0 on, return success.
Command: #021001 Receive: > Assume module is EX9060D, set address 02 output channel 0 on, return ignore, The module’s host watchdog timeout status is set, and the output is set to Safe Value.
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
Response:
Valid Command: >(Data) Invalid Command: ?AA
(Data) digital input counter value in decimal, from 00000 to 99999
Example: Command: #032 Receive: !0300103 Read address 03 digital input counter value of channel 2, return value 103.
Command: #025 Receive: ?02 Read address 02 digital input counter value of channel 5, return the channel is not available.
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
Response:
Valid Command: !AATTCCFF Invalid Command: ?AA
TT type code of module, it must be 40 CC baudrate code of module FF data format of module
Example: Command: $012 Receive: !01400600 Read the configuration of module 01, return DIO mode,
b
audrate
9600, no checksum.
Note: check configuration Tables
Loading...
+ 35 hidden pages