Table of Contents

Advertisement

6.2.10 $AA5VV

Description
This command is used to specify the channels to be enabled on a specified
module.
Syntax
$AA5VV[CHECKSUM](CR)
$
Delimiter character
AA
The address of the module to be set in hexadecimal format (00 to FF)
5
The command to set the channels to enabled
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.
Response
Valid Command
Invalid Command
!
Delimiter character to indicate a valid command
?
Delimiter character to indicate an invalid command. Note that a
response indicating that the command was invalid will be returned if an
attempt is made to enable a channel that is not present.
AA
The address of the responding module in hexadecimal format (00 to FF)
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 on module 03 and disables all other channels.
The module returns a response indicating that the command was successful.
Command $036
Response
!033A
Reads the status of the channels of module 03, and returns a response indicating
that the command was successful , with a value of 3A, which denotes that
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.
!AA[CHECKSUM](CR)
?AA[CHECKSUM](CR)
Page 49

Advertisement

Table of Contents
loading

This manual is also suitable for:

Zt-2017c

Table of Contents