User Manual

Digital I/O and Relay Output
Counter/Frequency Command Set
7-
2
ADAM 4000 Series User’s Manual
7.1 Digital I/O and Relay Output Module Command
Command
Syntax
Description
I/O Module
%AANNTTCCFF
Sets the address, input range, baud
rate, and/or checksum status to a
digital I/O module
4050, 405
1
, 405
2
, 40
53
,
4055, 4056S, 4056SO,
4060, 4068, 4069
$AA6
Returns the values of digital I/O
channels of the addressed module
4050, 405
1
, 405
2
, 40
53
,
4055, 4056S, 4056SO,
4060, 4068, 4069
#AABB(data)
Writes specified va
lues to either a
single channel or all channels
simultaneously
4050, 40
55
,
4056S,
4056SO, 4060, 4068,
4069,
#**
Orders all digital I/O modules to
sample their input values and store
them in a special register
4050, 405
1
, 405
2
, 40
53
,
4055, 4060, 4068
$AA4
Returns the value that was stored in
the specified digital I/O module that
was stored after an #** command
4050, 405
1
, 405
2
, 40
53
,
4055, 4060, 4068
$AA2
Returns the configuration parameters
for the specified digital I/O module
4050, 405
1
, 405
2
, 40
53
,
4055, 4056S, 4056SO,
4060, 4068, 4069
$AA5
Indicates whether a specified digital
I/O module was reset after the last
time the $AA5 command was issued
4050, 405
1
, 405
2
, 40
53
,
4055, 4056S, 4056SO,
4060, 4068, 4069
$AAF
Return firmware version code from the
specified digital I/O module
4050, 405
1
, 405
2
, 40
53
,
4055, 4056S, 4056SO,
4060, 4068, 4069
$AAM
Return the module name from the
specified digital I/O module
4050, 405
1
, 405
2
, 40
53
,
4055, 4056S, 4056SO,
4060, 4068, 4069
@AA
Returns the values of the digital
I/O
channel in the addressed module.
This command is the same with $AA6
command
4056S, 4056SO
$AAX0TTTTDDD
D
Force the DO channels to safety status
when communication is time-out and
over pre-defined period.
4055, 4056SO, 4056SO,
4060, 4068, 4069
$AAX1
Read the time
-
out setting and
pre-defined safety status of DO
channels.
4055, 4056SO, 4056SO,
4060, 4068, 4069
(Continued on next page)