ADAM-6200 User Manual 174
B.1.6 Analog Output Range code
Example The command asks the specific module at address 01h to send ana-
log output range code value from analog input channel 3.
ASCII Command: #01BE03(cr)
Response: !010147(cr)
B.1.7 Digital Input/Output Command Set
Range Code HEX
+/- 10V 0x0143
+/- 5 V 0x0142
0 ~ 10V 0x0148
0 ~ 5V 0x0147
0 ~ 20 mA: 0x0182
4 ~ 20 mA: 0x0180
Function Description Command Example
Read Channels
Asks a specified input
module to return the
status of all
channels
Cmd: $aa6(cr)
Ret:!aannnnnn (cr)
Send: $016(cr)
Receive:
!01000124(cr)
Write all DO chan-
nels
Writes specified val-
ues to all channels
simultaneously
Cmd: #aa00nnnn(cr)
Ret:>aa(cr)
Send: #0100007F(cr)
Receive: >01(cr)
Write a single DO
channel
Writes specified val-
ues to a single channel
Cmd: #aa1c01(cr) or
#aa1c00(cr)
Ret:>aa(cr)
Set channel 2 to logic
1
Send: #011201(cr)
Receive: >01(cr)
Read DI Channel
Counter Value
Returns the counter
value from specified DI
channels in
a specified module
Cmd:
$aaJCFFFFssmm(cr)
Ret:>aa(data)… (cr)
Send:
$01JCFFFF0102(cr)
Receive:
>01000000020000000
6(cr)