Table of Contents

Advertisement

6.2.31 @AADI

Description
This command is used to read the status of the alarms for a specified module.
Syntax
@AADI[CHECKSUM](CR)
@
Delimiter character
AA
The address of the module to be read in hexadecimal format (00 to FF)
DI
The command to read the status of the alarms
Response
Valid Command
Invalid Command
!
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)
HH
A two-digit hexadecimal value, where bit 0 corresponds to channel 0,
and bit 1 corresponds to channel 1, etc. When the bit is 0, it denotes that
a high alarm has not occurred, and 1 denotes that a high alarm has
occurred.
LL
A two-digit hexadecimal value, where bit 0 corresponds to channel 0,
and bit 1 corresponds to channel 1, etc. When the bit is 0, it denotes that
a low alarm has not occurred, and 1 denotes that a low alarm has
occurred.
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 @03DI
Response
!034008
Reads the status of the alarms for module 03 and returns a response indicating
that the command was successful, and that a high alarm has occurred on
channel 6 and a low alarm has occurred on channel 3.
ICP DAS, ZT-2017 and ZT-2017C AI Series User Manual, Version 1.0.1
Copyright © 2012 by ICP DAS Co., Ltd. All Rights Reserved.
!AAHHLL[CHECKSUM](CR)
?AA[CHECKSUM](CR)
Page 86

Advertisement

Table of Contents
loading

This manual is also suitable for:

Zt-2017c

Table of Contents