Chapter 5
5-59
ADAM 4000 Series Use r’s Manual
4011, 4011D, 4012
@AARE
Name Read Event Counter command
Description The addressed module is instructed to return its event
counter value.
Syntax @AARE(cr)
@ is a delimiter character.
AA (range 00-FF) represents the 2-character hexadecimal
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 erro r or
communication error or if the specified address does not
exist.
! delimiter character indicates a valid command was
received.
AA represents the 2-character hexadecimal 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). The number 65535 is held when the actual total
counts exceed this number.
(cr) represents terminating character, carriage return (0Dh).
Example command: @08RE(cr)
response: !0832011(cr)
The command instructs the module at address 08h to return
its counter value. The module responds that its counter
value equals 32011.