ICP DAS, ZT-2017 and ZT-2017C AI Series User Manual, Version 1.0.1
Page 47
Copyright © 2012 by ICP DAS Co., Ltd. All Rights Reserved.
6.2.9
$AA5
Description
This command is used to read the reset status of a specified module.
Syntax
$AA5[CHECKSUM](CR)
$
Delimiter character
AA
The address of the module to be read in hexadecimal format (00 to FF)
5
The command to read the reset status of the module
Response
Valid Command
!AAS[CHECKSUM](CR)
Invalid Command
?AA[CHECKSUM](CR)
!
Delimiter character to indicate a valid command
?
Delimiter character to indicate an invalid command
AA
The address of the responding module in hexadecimal format (00 to FF)
S
The reset status of the module:
0: This is not the first time the command has been sent since the module
was powered on, which denotes that there has been no module reset
since the last $AA5 command was sent.
1: This is the first time the command has been sent since the module
was powered on.
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.
Examples
Command $035
Response !031
Reads the reset status of module 03. The module returns a response indicating
that the command was successful and that it is a first time the $AA5 command
has been sent since the module was powered on.