Aa6 - Advantech ADAM 4000 Series User Manual

Data acquisition modules
Hide thumbs Also See for ADAM 4000 Series:
Table of Contents

Advertisement

4015, 4017, 4017+, 4018+, 4019+
5.1.8

$AA6

Name
Description Asks a specified input module to return the status of all channels.
Syntax
Response
Example
ADAM-4000 Series User Manual
Read Channel Status command
$AA6(cr)
AA (range 00-FF) represents the 2-character hexadecimal
address of analog input module of which the channel status
you want to send. The channel status defines whether a
channel is enabled or disabled.
6 is the Read Channel Status command.
(cr) is the terminating character, carriage return (0Dh).
!AAVV(cr) if the command is valid.
?AA(cr) if an invalid operation was entered.
There is no response if the module detects a syntax error or
communication error or if the specified address does not exist.
! delimiter character indicates a valid command was received.
? delimiter character indicates the command was invalid.
AA (range 00-FF) represents the 2-character hexadecimal
address of an analog input module.
VV are two hexadecimal values. The values are interpreted
by the module as two binary words (4-bit). The first word
represents the status of channel 4-7, and the second word
represents the status of channel 0-3. Value 0 means the
channel is disabled, value 1 means the channel is enabled.
(cr) is the terminating character, carriage return (0Dh).
command: $026(cr)
response: !02FF(cr)
The command asks the analog input module at address 02
to send the status of it input channels. The analog input
module at address 02 responds that all its multiplex
channels are enabled (FF equals 1111 and 1111).
100

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents