I-7088 and M-7088 User Manual, Rev: A1.2 7MH-026-A12
105
2.42. @AAGN
Description:
This command is used to read the preset count value of a specific
channel.
Syntax:
@AAGN[CHKSUM](CR)
@
Delimiter character
AA
The address of the module to be read (00 to FF
)
G
The command to read the preset value of the DI
counter
N
Specifies the channel to be read, zero based
Response:
Valid Command:
!AA(Data)[CHKSUM](CR)
InValid Command:
?AA[CHKSUM](CR)
!
Delimiter character for a valid command
?
Delimiter character for an invalid command
(An invalid command is returned if the specified
channel is incorrect)
AA
The address of the responding module (00 to FF)
(Data)
8 hexadecimal digits (00000000 to FFFFFFFE)
representing the preset count value
There will be no response if the command syntax is incorrect, there
is a communication error, or there is no module with the specified
address.