Table of Contents

Advertisement

6.2.11 $AA6

Description
This command is used to read the enabled/disabled status of each channel of a
specified module.
Syntax
$AA6[CHECKSUM](CR)
$
Delimiter character
AA
The address of the module to be read in hexadecfimal format (00 to FF)
6
The command to read the status of the channel
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)
VV
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
the channel is disabled, and 1 denotes that the channel is enabled.
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 $0353A
Response
!03
Enables channels 1, 3, 4, and 5 and disables all other channels on module 03.
The module returns a response indicating that the command was successful.
Command $036
Response
!033A
Reads the status all of the channels of module 03, and returns a response
indicating that the command was successful with a value of 3A, which denotes
that channels 1, 3, 4, and 5 are enabled and all other channels are disabled.
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.
!AAVV[CHECKSUM](CR)
?AA[CHECKSUM](CR)
Page 51

Advertisement

Table of Contents
loading

This manual is also suitable for:

Zt-2017c

Table of Contents