User Manual

5-48
ADAM 4000 Series User’s Manual
4011, 4011D, 4012, 4016
@AADI
Name Read Digital I/O and Alarm State
Description The a ddressed anal og input module i s i nstructed t o ret urn
the v alue of it s d igital inp ut and ou tput ch annels an d the
state of its alarm (Momentary or Latching).
Syntax @AADI(cr)
@ is a delimiter character.
AA
(range 00-FF) represents the 2-c haracter he xadecimal
address of an analog input module.
DI is the Read Digital I/O and Alarm Status command.
(cr)
represents terminating character, carriage return (0Dh).
Response ADAM-4011/4011D/4012:
!AASOOII(cr) if the command was valid
ADAM-4016:
!AASOO00(cr) if the command was valid
There is no response if the module detects a syntax error or
communication e rror or if the s pecified a ddress does not
exist.
! delimiter character i ndicates a valid command wa s
received.
AA
represents the 2-characte r he xadecimal address of the
responding analog input module.
S hexadecimal number that represents the alarm state (0h =
disabled, 1 h = M OMENTARY m ode enabled, 2 h =
LATCH mode enabled).
OO
For ADAM-4011/4011D/4012: it is a h exadecimal number
representing t he Di gital Ou tput p ort’s c hannel 0 an d 1
status (00 h = D/O ch annels 0 an d 1 ar e bo th 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).
For ADAM-4016: it is a hexadecimal number representing
the statu s of th e four d igital o utput channels. Th e
corresponding table is show in the following table: