Advantech Data Acquisition Modules ADAM 4000 User Manual
Page 188

5-42
ADAM 4000 Series User’s Manual
4018M
@AARNNNN
Name
Read Record Content command
Description
Request the content of record NNNN stored in the analog
input data logger at address AA.
Syntax
@AARNNNN (cr)
@
is a delimiter character.
AA
(range 00-FF) represents the 2-character hexadecimal
address of an analog input data logger.
R
identifies the Read Record Content command.
NNNN
represents the 4-character hexadecimal number of
stored record index. Its value is from 0 to (total record
number - 1).
(cr)
is the terminating character, carriage return (0Dh).
NOTE:
NNNN is from 0 to 9470 for Standard Mode.
NNNN is from 0 to 4599 for Event Mode.
NNNN is from 0 to 7299 for Mixed Mode. (0-4999 are
data records, 5000-7299 are event records)
Response
!AACDHHHH(cr)
if the returned data are data records.
!AACDHHHHTTTTTTTT(cr)
if the returned data are
event records.
!
is a delimiter character indicating a valid command was
received.
AA
(range 00-FF) represents the 2-character hexadecimal
address of an analog input module.
C
represents the channel index. Its value is from 0 to 7.
D
represents the 4-bit binary number. Bit 0 represents the
sign of the number HHHH. ‘0’ means positive. ‘1’ means
negative. Bits 1~3 represents the decimal point of the
number HHHH.