Download User Manual

Transcript
4.2.11 $AA4 Description
This command is used to read the synchronization data that was retrieved from a
specificed module the last time the #** command was used.
Syntax
$AA4[CHECKSUM](CR)
$
Delimiter character
AA
The address of the module to be read in hexadecimal format (00 to FF)
4
The command to read the synchronized data that was retrieved from a
specificed module the last time the #** command was used.
Response
Valid Command
!S(Data)[CHECKSUM](CR)
Invalid Command
?AA[CHECKSUM](CR)
!
Delimiter character to indicate that the command was valid
?
Delimiter character to indicate that the command was invalid
AA
The address of the module responding in hexadecimal format (00 to FF)
S
The status of the synchronized data
0: This is NOT the first time to read the synchronized data
1:This is the first time to read the synchronized data
(Data) Synchronized data.
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.
Example
Command
#**
Response
No response
Sends the synchronized sampling command.
Command
$014
Response
!10F0000
Sends a command to read the synchronized data from module 01. The module returns
a reponse indicating that the command was valid, containing the synchronized data and
sets the status byte to 1 to indicate that this is the first time the synchronized data has
been read. (Digital Input : 0F)
ICP DAS, ZT‐2000 DIO SEIRES User Manual, Version 1.2.1 Page 51 Copyright © 2013 by ICP DAS Co., Ltd. All Rights Reserved.