ICP DAS, ZT-2017 and ZT-2017C AI Series User Manual, Version 1.0.1
Page 97
Copyright © 2012 by ICP DAS Co., Ltd. All Rights Reserved.
6.2.37
@AARHi
Description
This command is used to read the high latch value for a specific channel of a
specified module.
Syntax
@AARHCi[CHECKSUM](CR)
@
Delimiter character
AA
The address of the module to be read in hexadecimal format (00 to FF)
RH
The command to read the high latch value
i
The channel to be read, zero based
Response
Valid Command
!AA(Data)[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)
(Data) The high latch value for the specific channel. See Section 4 for details of
the data format.
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 @03RH0
Response !03+08.000
Reads the high latch value for channel 0 of module 03 and returns a response
that the command was successful, with the data in engineering units format.
Command @03RH9
Response ?03
Attempts to read the high latch value for channel 9 of module 03 and returns a
response that the command was unsuccessful because the channel 9 does not
exist.
※Related Commands: @AACH, @AACHi, @AARH