Aarnnnn - Advantech Adam 4000 Series User Manual

Data acquisition modules
Hide thumbs Also See for Adam 4000 Series:
Table of Contents

Advertisement

4018M
5.2.8

@AARNNNN

Name
Description Request the content of record NNNN stored in the analog
Syntax
Response
Example
Read Record Content command
input data logger at address AA.
@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)
!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.
HHHH represents the 4-character hexadecimal number of
returned record stored in the analog input data logger at address AA.
TTTTTTTT represents elapsed time.
(cr) is the terminating character, carriage return (0Dh).
command: @F3R1000(cr)
response: !F30799AA00001000(cr)
The command requests the analog input data logger at address F3
to return its contents in the 1001st record.
The returned content is valid. The event data number is- 39.338
for channel 0 in the 4096 seconds from the start of the module.
153
ADAM-4000 Series User Manual

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents