4-210 ADAM 4000 Series User's Manual
4080
Command Set
@AADI
Name Read Digital Output and Alarm State
Description The addressed counter module is instructed to return the value
of its two digital output channels and the state of its alarm
Syntax @AADI(cr)
@ is a delimiter character.
AA (range 00-FF) represents the 2-character hexadecimal
address of an counter module.
DI identifies the Read Digital Output and Alarm Status com-
mand.
(cr) represents terminating character, carriage return (0Dh)
Response !AASOO00(cr) if the command was valid
There is no response if the module detects a syntax error or
communication error or if the specified address does not exists.
! delimiter character indicating a valid command was received
AA represents the 2-character hexadecimal address of the
responding counter module.
S (for ADAM-4080) is a hexadecimal number that represents
the disable or enable status of alarm mode:
0h Counter 0 alarm is disabled, counter 1 alarm is disabled
1h Counter 0 alarm is enabled, counter 1 alarm is disabled
2h Counter 0 alarm is disabled, counter 1 alarm is enabled
3h Counter 0 alarm is enabled, counter 1 alarm is enabled
S (for ADAM-4080D) is a hexadecimal number that represents
the alarm state of counter 0:
0h Alarm of counter 0 is disabled
1h Alarm of counter 0 is in MOMENTARY mode
2h Alarm of counter 0 is in LATCH mode
OO is a hexadecimal number representing the Digital Output
port's channel 0 and 1 status (00h = D/0 channels 0 and 1 are
both OFF, 01h = channel 0 is ON, channel 1 is OFF, 02h =
channel 0 is OFF, channel 1 is ON, 03h = channel 0 and 1 are
both ON).
(cr) represents the terminating character, carriage return (0Dh)
4080, 4080D