User Manual
Chapter 5
5-59
ADAM 4000 Series User’s Manual
4011, 4011D, 4012
@AARE
Name Read Event Counter command
Description The a ddressed m odule i s i nstructed t o return i ts e vent
counter value.
Syntax @AARE(cr)
@
is a delimiter character.
AA (range 00-FF) represents the 2-character he xadecimal
address of an analog input module.
RE is the Reads Event Counter command.
(cr)
represents terminating character, carriage return (0Dh).
Response !AA(data)(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 indic ates a valid comm and was
received.
AA
represents the 2-characte r he xadecimal address of the
responding analog input module.
(data)
represents the stored value, from ‘00000’ to ‘65535’
(The max value that can be held by the counter register is
65535). Th e number 65 535 is h eld when the actu al to tal
counts exceed this number.
(cr) represents terminating character,
carriage return (0Dh).
Example command:
@08RE(c r)
response: !0832011(cr)
The command instructs the module at address 08h to return
its co unter v alue. Th e m odule respo nds th at its coun ter
value equals 32011.