Analog Input Wire Connection: Analog Output Wire Connection:
Digital Input Wire Connection: Digital Output Wire Connection:
5
1.3 Default Settings
Default settings for the EX-9016 module are as follows:
. Module Address: 01
. Analog Input Type: Type 05, -2.5 to +2.5V
. Baud Rate: 9600 bps
. Checksum disabled
. Engineering unit format
. Filter set at 60Hz rejection
6
1.4 INIT* ModeOperation
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,
Budrate=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.
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=Module Watchdog + Host Watchdog
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 and never halt.
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.
system more reliable and stable.
Dual Watchdog Operation for DIO, AIO
The Module Watchdog is a hardware reset circuit to monitor the
The Host Watchdog is a software function to monitor the host's
The EX9000 module with Dual Watchdog may let the control
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 rested and the output is not changed.
8
1.8 Calibration(Warning: Pls don't calibrate before you
Type code
00
01
02
03
04
05
06
Zero Input
0mV
0mV
0mV
0mV
0V
0V
0mA
Span Input
+15mV
+50mV
+100mV
+500mV
+1V
+2.5V
+20mA
really understand.)
Analog Input Calibration sequence:
1. Apply zero calibration voltage.
2. Warm up the module for at least 30 minutes.
3. Set the type code to the type you wish to calibrate.
4. Enable calibration. -> Ref Sec.2.16
5. Perform zero calibration command. -> Ref Sec.2.5
1 Connect voltmeter to module’s excitation output pin.
2 Warm-Up for 30 minutes.
3 Output 0V. -> Ref Sec.2.18
4 Trim the output until the value in voltmeter is closest to 0V.
-> Ref Sec.2.20
5 Perform Excitation Voltage Zero Calibration. -> Ref Sec.2.21
6 Output 10V. -> Ref Sec.2.18
7 Trim the output until the value in voltmeter is closest to 10V.
-> Ref Sec.2.20
8 Perform Excitation Voltage Span Calibration. -> Ref Sec.2.22
9
1.9 Configuration Tables
Code
03
04
05
06
07
08
09
0A
Baud rate
1200
2400
4800
9600
19200
38400
57600
115200
Code
Range
Format
+F.S.
Zero
-F.S.
00
-15~+15mV
Engineer unit
+15.000
+00.000
-15.000
% of F.S.R.
+100.00
+000.00
-100.00
2’s complement
7FFF
0000
8000
01
-50~+50mV
Engineer unit
+50.000
+00.000
-50.000
% of F.S.R.
+100.00
+000.00
-100.00
2’s complement
7FFF
0000
8000
02
-100~+100mV
Engineer unit
+100.00
+000.00
-100.00
% of F.S.R.
+100.00
+000.00
-100.00
2’s complement
7FFF
0000
8000
03
-500~+500mV
Engineer unit
+500.00
+000.00
-500.00
% of F.S.R.
+100.00
+000.00
-100.00
2’s complement
7FFF
0000
8000
04
-1~+1V
Engineer unit
+1.0000
+0.0000
-1.0000
% of F.S.R.
+100.00
+000.00
-100.00
2’s complement
7FFF
0000
8000
05
-2.5~+2.5V
Engineer unit
+2.5000
+0.0000
-2.5000
% of F.S.R.
+100.00
+000.00
-100.00
2’s complement
7FFF
0000
8000
06
-20~+20mA
Engineer unit
+20.000
+00.000
-20.000
% of F.S.R.
+100.00
+000.00
-100.00
2’s complement
7FFF
0000
8000
7 6 5 4 3 2 1
0
FS
CS
reserved
DF
Key
Description
DF
Data format
00: Engineering unit
01: % of FSR (full scale range)
10: 2’s complement hexadecimal
Command Format : (Leading)(Address)(Command)[CHK](cr)
Response Format : (Leading)(Address)(Data)[CHK](cr)
[CHK] 2-character checksum
(cr) end-of-command character, character return(0x0D)
11
Digital Input/Output, Alarm and Event Counter Command Sets
Command
Response
Description
Section
@AADI
!AASOOII
Read Digital I/O and Alarm Status
Sec.2.21
@AADO(Data)
!AA
Set Digital Output
Sec.2.22
@AAEAT
!AA
Enable Alarm
Sec.2.23
@AAHI(Data)
!AA
Set High Alarm
Sec.2.24
@AALO(Data)
!AA
Set Low alarm
Sec.2.25
@AADA
!AA
Disable Alarm
Sec.2.26
@AACA
!AA
Clear Latch Alarm
Sec.2.27
@AARH
!AA(Data)
Read High Alarm
Sec.2.28
@AARL
!AA(Data)
Read Low Alarm
Sec.2.29
@AARE
!AA(Data)
Read Event Counter
Sec.2.30
@AACE
!AA
Clear Event Counter
Sec.2.31
Host Watchdog Related Command Sets
Command
Response
Description
Section
~**
No response
Host OK
Sec.2.32
~AA0
!AASS
Read Module Status
Sec.2.33
~AA1
!AA
Reset Module Status
Sec.2.34
~AA2
!AATT
Read Host Watchdog Timeout
Interval
Sec.2.35
~AA3ETT
!AA
Set Host Watchdog Timeout
Interval
Sec.2.36
~AA4
!AAPPSS
Read PowerOn Value and Safe
Value
Sec.2.37
~AA5PPSS
!AA
Set PowerOn Value and Safe
Value
Sec.2.38
12
2.1 %AANNTTCCFF
%
a delimiter character
AA
address of setting/response module(00 to FF)
NN
new address for setting/response module(00 to FF)
TT
represents the type code. Type code determines the
input range.
If TT=FF the type of all channels keep no change.
CC
new baudrate for setting module.
FF
new data format for setting module.
Example:
Command: %0203050602
Receive: !02
Set module address 02 to 03.
Input type code=05 (-2.5~+2.5V) for all channels
Baudrate=06 (9600)
Dataformat=02 (2’s complement hexadecimal)
Description: Set Module Configuration.
Syntax: %AANNTTCCFF[CHK](cr)
IF the configuration with new baudrate or new checksum setting,
before using this command, the rear slide switch must be in the
ON(INIT*) position. 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
13
2.2 #AA
Description: Read Analog Input
Syntax:#AA[CHK](cr)
# delimiter character
AA address of reading/response module(00 to FF)
Response: Valid Command: >(Data) (Data) analog input value
Example :
Command: #04 Receive:>+10.234
Read address 04 for getting data is +10.234.