All products manufactured by ICP DAS are warranted
against defective materials for a period of one year from the date
of delivery to the original purchaser.
Warning
ICP DAS assume no liability for damages consequent to
the use of this product. ICP DAS reserves the right to change this
manual at any time without notice. The information furnished by
ICP DAS is believed to be accurate and reliable. However, no
responsibility is assumed by ICP DAS for its use, nor for any infringements of patents or other rights of third parties resulting from
its use.
Copyright
Copyright 1999 by ICP DAS. All rights are reserved.
Trademark
The names used for identification only maybe registered
trademarks of their respective companies.
I-7000 is a family of network data acquisition and control
modules. They provide analog-to-digital, digital-to-analog, digital input/output, timer/counter and other functions. These modules can be remote controlled by a set of commands. The DIO
modules support TTL signal, photo-isolated digital input, relay
contact output , solid-state relay output, PhotoMOS output and
open-collector output. Reference Sec.1.3 for detail information.
1.1 More Information
Refer to I-7000 Bus Converter User Manual chapter
1 for more information as following:
Description : Set module Configuration
Syntax : %AANNTTCCFF[CHK](cr)
%a delimiter character
AAaddress of setting module(00 to FF)
NNnew address for setting module(00 to FF)
TTtype 40 for DIO module
CCnew baudrate for setting module (Ref Sec.1.9). It is needed
to short the INIT* to ground while change baudrate. (Ref
Sec.3.1)
FFnew data format for setting module (Ref Sec.1.9). It is
needed to short the INIT* to ground to change checksum
setting. (Ref Sec.3.1)
Response : Valid Command :!AA[CHK](cr)
Invalid Command :?AA[CHK](cr)
Syntax error or communication error may get no
response.
!delimiter for valid command
?delimiter for invalid command
AAaddress of response module(00 to FF)
Example :
Command : %0102400600Receive : !02
Set module address 01 to 02, return success.
Related Command :
Sec.2.5 $AA2
Related Topics :
Sec.1.9 Configuration Tables, Sec.3.1 INIT* pin Operation
?delimiter for invalid command
!delimiter for ignore the command. The modules host
watchdog timeout status is set, and the output is set to Safe
Value.
Example :
Command : #0100FFReceive : >
Assume module is I-7044, set address 01 output value FF, return success.
I-7000 DIO ManualRev:B1.2
31
Command : #021001Receive : >
Assume module is I-7067, set address 02 channel 0 on, return
success.
Command : #021701Receive : ?
Set address 02 channel 7 on, return the channel is invalid for I7067 only have 7-channel outputs (0 to 6).
Command : #0300FFReceive : !
Set address 03 output value FF, return ignore. The modules
host watchdog timeout status is set, and the output is set to
Safe Value.
Related Command :
Sec.2.15 @AA(Data), Sec.2.18 ~AA0, Sec.2.19 ~AA1
Related Topics :
Sec.1.9 Configuration Tables, Sec.3.2 Module Status, Sec.3.3 Dual
Watchdog Operation
Note :
The command is useless for I-7041/41D/52/52D/53/53D.
32
I-7000 DIO ManualRev:B1.2
2.4 #AAN
Description : Read Digital Input Counter from channel N
Command : #AAN[CHK](cr)
#delimiter character
AAaddress of reading module (00 to FF)
Nchannel to read
Response : Valid Command :!AA(Data)[CHK](cr)
Invalid Command :?AA[CHK](cr)
Syntax error or communication error may get no
response.
!delimiter for valid command
?delimiter for invalid command
AAaddress of response module(00 to FF)
(Data)digital input counter value in decimal, from 00000 to 65535
Example :
Command : #032Receive : !0300103
Read address 03 digital input counter value of channel 2, return value 103.
Command : #025Receive : ?02
Read address 02 digital input counter value of channel 5, return the channel is not available.
Related Command :
Sec.2.12 $AACN
Note :
The command is useless for I-7042/42D/43/43D/66/66D/67/67D.
$delimiter character
AAaddress of reading module (00 to FF)
2command for read configuration
Response : Valid Command :!AATTCCFF[CHK](cr)
Invalid Command :?AA[CHK](cr)
Syntax error or communication error may get no
response.
!delimiter for valid command
?delimiter for invalid command
AAaddress of response module(00 to FF)
TTtype code of module, it must be 40
CCbaudrate code of module (Ref Sec.1.9)
FFdata format of module (Ref Sec.1.9)
Example :
Command : $012Receive : !01400600
Read address 01 status, return DIO mode, baud 9600, no
checksum.
Related Command :
Sec2.1 %AANNTTCCFF
Related Topics :
Sec.1.9 Configuration Tables, Sec3.1 INIT* pin Operation
34
I-7000 DIO ManualRev:B1.2
2.6 $AA4
Description : Read Synchronized Data
Command : $AA4[CHK](cr)
$delimiter character
AAaddress of reading module (00 to FF)
4command for read synchronized data
Response : Valid Command :!S(Data)[CHK](cr)
Invalid Command :?AA[CHK](cr)
Syntax error or communication error may get no
response.
!delimiter for valid command
?delimiter for invalid command
AAaddress of response module(00 to FF)
Sstatus of synchronized data, 1 = first read, 0 = been readed
(Data)synchronized DIO value (Ref Sec.1.9)Example :
Command : $014Receive : ?01
Read address 01 synchronized data, return no data available.
Command : #**Receive : no response
Send synchronized sampling to all modules.
Command : $014Receive : !1000F00
Read address 01 synchronized data, return S=1, first read, and
synchronized data 0F00
Related Command :
Sec2.2 #**
Related Topics :
Sec.1.9 Configuration Tables
I-7000 DIO ManualRev:B1.2
35
2.7 $AA5
Description : Read Reset Status
Command : $AA5[CHK](cr)
$delimiter character
AAaddress of reading module (00 to FF)
5command for read reset status
Response : Valid Command :!AAS[CHK](cr)
Invalid Command :?AA[CHK](cr)
Syntax error or communication error may get no
response.
!delimiter for valid command
?delimiter for invalid command
AAaddress of response module(00 to FF)
Sreset status, 1 = the module is been reset, 0 = the module is
not been reseted
Example :
Command : $015Receive : !011
Read address 01 reset status, return first read.
Command : $015Receive : !010
Read address 01 reset status, return no reset occurred.
Related Topics :
Sec3.4 Reset Status
36
I-7000 DIO ManualRev:B1.2
2.8 $AA6
Description : Read Digital I/O Status
Command : $AA6[CHK](cr)
$delimiter character
AAaddress of reading module (00 to FF)
6command for read digital input/output status
Response : Valid Command :!(Data)[CHK](cr)
Invalid Command :?AA[CHK](cr)
Syntax error or communication error may get no
response.
!delimiter for valid command
?delimiter for invalid command
AAaddress of response module(00 to FF)
(Data)digital input/output value (Ref Sec.1.9)
Example :
Command : $016Receive : !0F0000
Assume module is I-7060, read address 01 DIO status, return
0F00, digital input IN1 to IN4 are open, digital output RL1 to
RL4 are off.
Related Command :
Sec.2.14 @AA
Related Topics :
Sec1.9 Configuration Tables
I-7000 DIO ManualRev:B1.2
37
2.9 $AAF
Description : Read Firmware Version
Command : $AAF[CHK](cr)
$delimiter character
AAaddress of reading module (00 to FF)
Fcommand for read firmware version
Response : Valid Command :!AA(Data)[CHK](cr)
Invalid Command :?AA[CHK](cr)
Syntax error or communication error may get no
response.
!delimiter for valid command
?delimiter for invalid command
AAaddress of response module(00 to FF)
(Data)firmware version of module
Example :
Command : $01FReceive : !01A2.0
Read address 01 firmware version, return version A2.0.
Command : $02FReceive : !01B1.1
Read address 01 firmware version, return version B1.1.
38
I-7000 DIO ManualRev:B1.2
2.10 $AAM
Description : Read Module Name
Command : $AAM[CHK](cr)
$delimiter character
AAaddress of reading module (00 to FF)
Mcommand for read module name
Response : Valid Command :!AA(Data)[CHK](cr)
Invalid Command :?AA[CHK](cr)
Syntax error or communication error may get no
response.
!delimiter for valid command
?delimiter for invalid command
AAaddress of response module(00 to FF)
(Data)Name of module
Example :
Command : $01MReceive : !017042
Read address 01 module name, return name 7042.
Command : $03MReceive : !037060D
Read address 03 module name, return name 7060D.
Related Command :
Sec.2.16 ~AAO(Data)
I-7000 DIO ManualRev:B1.2
39
2.11 $AAC
Description : Clear Latched Digital Input
Command : $AAC[CHK](cr)
$delimiter character
AAaddress of setting module (00 to FF)
Ccommand for clear latched digital input
Response : Valid Command :!AA[CHK](cr)
Invalid Command :?AA[CHK](cr)
Syntax error or communication error may get no
response.
!delimiter for valid command
?delimiter for invalid command
AAaddress of response module(00 to FF)
Example :
Command : $01L0Receive : !01FFFF00
Read address 01 latch-low data, return FFFF.
Command : $01CReceive : !01
Clear address 01 latched data, return success.
Command : $01L0Receive : !01000000
Read address 01 latch-low data, return 0000.
Related Command :
Sec2.13 $AALS
Note :
The command is useless for I-7042/42D/43/43D/66/66D/67/67D.
40
I-7000 DIO ManualRev:B1.2
2.12 $AACN
Description : Clear Digital Input Counter
Command : $AACN[CHK](cr)
$delimiter character
AAaddress of setting module (00 to FF)
Ccommand for clear digital input counter
Ndigital counter channel N to clear
Response : Valid Command :!AA[CHK](cr)
Invalid Command :?AA[CHK](cr)
Syntax error or communication error may get no
response.
!delimiter for valid command
?delimiter for invalid command
AAaddress of response module(00 to FF)
Example :
Command : #010Receive : !0100123
Related Command :
Sec2.4 #AAN
Note :
The command is useless for I-7042/42D/43/43D/66/66D/67/67D.
I-7000 DIO ManualRev:B1.2
41
2.13 $AALS
Description : Read Latched Digital Input
Command : $AALS[CHK](cr)
$delimiter character
AAaddress of reading module (00 to FF)
Lcommand for read latched digital input
S1 = select latch high status, 0 = select latch low status
Response : Valid Command :!(Data)[CHK](cr)
Invalid Command :?AA[CHK](cr)
Syntax error or communication error may get no
response.
!delimiter for valid command
?delimiter for invalid command
AAaddress of response module(00 to FF)
(Data)readed status (Ref Sec.1.9).1= the input channel is latched,
0=the input channel is not latched.
Example :
Command : $01L1Receive : !012300
Read address 01 latch-high data, return 0123.
Command : $01CReceive : !01
Clear address 01 latched data, return success.
Command : $01L1Receive : !000000
Read address 01 latch-high data, return 0.
Related Command :
Sec2.11 $AAC
Note :
The command is useless for I-7042/42D/43/43D/66/66D/67/67D.
42
I-7000 DIO ManualRev:B1.2
2.14 @AA
Description : Read Digital Input/Output Status
Command : @AA[CHK](cr)
@delimiter character
AAaddress of reading module (00 to FF)
Response : Valid Command :>(Data)[CHK](cr)
Invalid Command :?AA[CHK](cr)
Syntax error or communication error may get no
response.
>delimiter for valid command
?delimiter for invalid command
AAaddress of response module(00 to FF)
(Data)readed DIO status (Ref Sec.1.9)
Example :
Command : @01Receive : >0F00
Read address 01 DIO status, return 0F00.
Related Command :
Sec.2.8 $AA6
Related Topics :
Sec.1.9 Configuration Tables
I-7000 DIO ManualRev:B1.2
43
2.15 @AA(Data)
Description : Set Digital Output
Command : @AA(Data)[CHK](cr)
@delimiter character
AAaddress of setting module (00 to FF)
(Data)output value, the data format is following :
(Data) is one character for output channel less than 4
For I-7060/60D, from 0 to F
For I-7063/63D/63A/63AD/63B/63BD, from 0 to 7
(Data) is two characters for output channel less than 8
For I-7044/44D/50/50D, from 00 to FF
For I-7065/65D/65A/65AD/65B/65BD, from 00 to 1F
For I-7066/66D/67/67D, from 00 to 7F
(Data) is four characters for output channel less than 16
For I-7042/42D, from 0000 to 1FFF
For I-7043/43D, from 0000 to FFFF
Response : Valid Command :>[CHK](cr)
Invalid Command :?[CHK](cr)
Ignore Command :
Syntax error or communication error may get no
response.
>delimiter for valid command.
?delimiter for invalid command.
!delimiter for ignore command. The module is in Host
Watchdog Timeout Mode, and the output is set to safe
value.
44
I-7000 DIO ManualRev:B1.2
Example :
Command : @017Receive : >
Output address 02 value 7, return success.(The example is suitable for I-7060/60D/63/63D/63A/63AD/63B/63BD)
Command : @0200Receive : >
Output address 01 value 00, return success.(The example is
suitable for I-7044/44D/50/50D/65/65D/65A/65AD/65B/
65BD/66/66D/67/67D)
Command : @030012Receive : !
Output address 03 value 0012, return the module is in host
watchdog timeout mode, the output command is ignored.(The
example is suitable for I-7042/42D/43/43D)
Related Command :
Sec.2.3 #AABBDD, Sec.2.18 ~AA0, Sec.2.19 ~AA1
Related Topics :
Sec.1.9 Configuration Tables, Set.3.2 Module Status, Sec.3.3 Dual
Watchdog Operation, Sec.3.5 Digital Output
Note :
The command is useless for I-7041/41D/52/52D/53/53D.
I-7000 DIO ManualRev:B1.2
45
2.16 ~AAO(Data)
Description : Set Module Name
Command : ~AAO(Data)[CHK](cr)
~delimiter character
AAaddress of setting module (00 to FF)
Ocommand for set module name
(Data)new name for module, max 6 characters
Response : Valid Command :!AA[CHK](cr)
Invalid Command :?AA[CHK](cr)
Syntax error or communication error may get no
response.
!delimiter for valid command
?delimiter for invalid command
AAaddress of response module(00 to FF)
Example :
Command : ~01O7050Receive : !01
Set address 01 module name 7050, return success.
Command : $01MReceive : !017050
Read address 01 module name, return name 7050.
Related Command :
Sec.2.10 $AAM
46
I-7000 DIO ManualRev:B1.2
2.17 ~**
Description : Host OK.
Host send this command to all modules for send the information
Host OK.
Command : ~**[CHK](cr)
~delimiter character
**command for all modules
Description : Read Module Status
Command : ~AA0[CHK](cr)
~delimiter character
AAaddress of reading module (00 to FF)
0command for read module status
Response : Valid Command :!AASS[CHK](cr)
Invalid Command :?AA[CHK](cr)
Syntax error or communication error may get no
response.
!delimiter for valid command
?delimiter for invalid command
AAaddress of response module(00 to FF)
SSmodule status, 00=host watchdog timeout status is clear,
04=host watchdog timeout status is set. The status will
store into EEPROM and only may reset by the command
~AA1.
Example :
Refer Sec.2.21 ~AA3EVV example
Related Command :
Sec.2.17 ~**, Sec.2.19 ~AA1, Sec.2.20 ~AA2, Sec.2.21
~AA3EVV, Sec.2.22 ~AA4V, Sec.2.23 ~AA5V
Related Topic :
Sec.3.2 Module Status, Sec.3.3 Dual Watchdog Operation
48
I-7000 DIO ManualRev:B1.2
2.19 ~AA1
Description : Reset Module Status
Command : ~AA1[CHK](cr)
~delimiter character
AAaddress of setting module (00 to FF)
1command for reset module status
Response : Valid Command :!AA[CHK](cr)
Invalid Command :?AA[CHK](cr)
Syntax error or communication error may get no
response.
!delimiter for valid command
?delimiter for invalid command
AAaddress of response module(00 to FF)
Example :
Refer Sec.2.21 ~AA3EVV example
Related Command :
Sec.2.17 ~**, Sec.2.18 ~AA0, Sec.2.20 ~AA2, Sec.2.21
~AA3EVV, Sec.2.22 ~AA4V, Sec.2.23 ~AA5V
Related Topic :
Sec.3.2 Module Status, Sec.3.3 Dual Watchdog Operation
I-7000 DIO ManualRev:B1.2
49
2.20 ~AA2
Description : Read Host Watchdog Timeout Value
Command : ~AA2[CHK](cr)
~delimiter character
AAaddress of reading module (00 to FF)
2command for read host watchdog timeout value
Response : Valid Command :!AAVV[CHK](cr)
Invalid Command :?AA[CHK](cr)
Syntax error or communication error may get no
response.
!delimiter for valid command
?delimiter for invalid command
AAaddress of response module(00 to FF)
VVtimeout value in HEX format, each count is 0.1 second,
01=0.1 second and FF=25.5 seconds
Example :
Refer Sec.2.21 ~AA3EVV example
Related Command :
Sec.2.17 ~**, Sec.2.18 ~AA0, Sec.2.19 ~AA1, Sec.2.21
~AA3EVV, Sec.2.22 ~AA4V, Sec.2.23 ~AA5V
Related Topic :
Sec.3.2 Module Status, Sec.3.3 Dual Watchdog Operation
50
I-7000 DIO ManualRev:B1.2
2.21 ~AA3EVV
Description : Set Host Watchdog Timeout Value
Command : ~AA3EVV[CHK](cr)
~delimiter character
AAaddress of setting module (00 to FF)
3command for set host watchdog timeout value
E1=Enable/0=Disable host watchdog
VVtimeout value, from 01 to FF, each for 0.1 second
Response : Valid Command :!AA[CHK](cr)
Invalid Command :?AA[CHK](cr)
Syntax error or communication error may get no
response.
!delimiter for valid command
?delimiter for invalid command
AAaddress of response module(00 to FF)
Example :
Command : ~010Receive : !0100
Read address 01 module status, return host watchdog timeout
status is clear.
Command : ~013164Receive : !01
Set address 01 host watchdog timeout value 10.0 seconds and
enable host watchdog, return success.
Reset the host watchcdog timer.
Wait for about 10 seconds and dont send command ~**, the LED
of module will go to flash. The flash LED indicates the host watchdog timeout status is set.
Command : ~010Receive : !0104
~delimiter character
AAaddress of reading module (00 to FF)
4command for read PowerOn/Safe value
VP = read PowerOn value, S = read Safe value
Response : Valid Command :!AA(Data)[CHK](cr)
Invalid Command :?AA[CHK](cr)
Syntax error or communication error may get no
response.
!delimiter for valid command
?delimiter for invalid command
AAaddress of response module(00 to FF)
(Data)PowerOn Value or Safe Value
For I-7042/42D/43/43D (Data) is VVVV, where VVVV
is the PowerOn Value (or Safe Value).
For other modules, (Data) is VV00, where VV is the
PowerOn Value(or Safe Value).
Note :
The command is useless for I-7041/41D/52/52D/53/53D.
54
I-7000 DIO ManualRev:B1.2
2.23 ~AA5V
Description : Set PowerOn/Safe Value.
Command : ~AA5V[CHK](cr)
~delimiter character
AAaddress of setting module (00 to FF)
5command for set PowerOn/Safe Value
VP = set current output as PowerOn Value, S = set current
output as Safe Value
Response : Valid Command :!AA[CHK](cr)
Invalid Command :?AA[CHK](cr)
Syntax error or communication error may get no
response.
!delimiter for valid command
?delimiter for invalid command
AAaddress of response module(00 to FF)
Example :
Command : @01AAReceive : >
Output address 01 value AA, return success.
Command : ~015PReceive : !01
Set address 01 PowerOn Value, return success.
Command : @0155Receive : >
Output address 01 value 55, return success.
Command : ~015SReceive : !01
Set address 01 Safe Value, return success.
Command : ~014PReceive : !01AA00
Read address 01 PowerOn Value, return PowerOn Value AA.
Note :
The command is useless for I-7041/41D/52/52D/53/53D.
56
I-7000 DIO ManualRev:B1.2
3. Application Note
3.1 INIT* pin Operation
Each I-7000 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 I-7000 have a special mode named INITmode, to help user to resolve the problem. The INIT mode is
setting as Address=00, baudrate=9600bps, no checksum
To enable INIT mode, please following these steps:
Step1.Power off the module
Step2.Connect the INIT* pin with the GND pin.
Step3.Power on
Step4.Send command $002(cr) in 9600bps to read the configu-
ration stored in the modules EEPROM.
Refer to 7000 Bus Converter User Manual Sec.5.1 and
Getting Start for more information.
3.2 Module Status
PowerOn Reset or Module Watchdog Reset will let all
output goto PowerOn Value. And the module may accept the
hosts command to change the output value.
Host Watchdog Timeout will let all output goto Safe
Value.The modules status (readed by command ~AA0) will be
04, and the output command will be ignored.
I-7000 DIO ManualRev:B1.2
57
3.3 Dual Watchdog Operation
Dual Watchdog = Module Watchdog + Host Watchdog
The Module Watchdog is a hardware reset circuit to monitor the modules 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.
The Host Watchdog is a software function to monitor the
hosts 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 I-7000 module with Dual Watchdog may let the control system more reliable and stable.
3.4 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
modules 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
reseted, and the output is not changed.
3.5 Digital Output
The modules 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
58
I-7000 DIO ManualRev:B1.2
output command, like @AA(Data) 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, he 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 reseted, and the
host watchdog timeout status is clear, the modules output is set to
predefined PowerOn 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 >).
3.6 Latch Digital Input
For example, user 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 digial 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
he will lose the key stroke information. Respectly, the read latchlow digital input command $AAL0 will slove 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 storke.
Type : Zero-Cross AC Solid-State Relay Output
Rated Load Voltage : 200 to 240 VAC
Rated Load Current : 4 Arms
Surge Current : 50A
Max. Off-State Leakage Current : 5.0 mA
Operate Time : 1/2 cycle of voltage sine wave + 1mS
Input Impedance : 1.5K Ohms
Din-Rail mounted
Power Input : +24VDC
Type : 2 FormC
Rated Load : 5A@250VAC
Max. Switching Voltage : 400VAC
Max. Peak Current : 10A
Standard Contact Material : Ag Nt
Min. Life : 100,000 ops.
Din-Rail mounted
Dimension :
RM-204 : 78mm * 77mmRM-208 : 135mm * 77mm
RM-216 : 270mm * 77mm
Power Input : 24VDC
I-7000 DIO ManualRev:B1.2
63
4.5 Application
The DN Modules are the IO extension of I-7000 modules.
These modules may drive more power and heavy load in
application. User may use I-7000 modules, like I-7043 or others,
to control the DN modules to drive loads.
64
I-7000 DIO ManualRev:B1.2
Loading...
+ hidden pages
You need points to download manuals.
1 point = 1 manual.
You can buy points or you can get point for every manual you upload.