4-116 ADAM 4000 Series User's Manual
Command Set
@AARE
Name Read Event Counter
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 Read 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 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 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.
4011, 4011D, 4012, 4014D