Advantech ADAM-6217 User Manual page 160

Adam-6200 series intelligent ethernet i/o module
Table of Contents

Advertisement

$aa6
Name
Description
Syntax
Response
Example
ASCII
ADAM-6200 User Manual
Read Channel Enable/Disable Status
Asks a specified module to return the Enable/Disable status of all ana-
log input channels
$aa6(cr)
$ is a delimiter character.
aa (range 00-FF) represents the 2-character hexadecimal slave
address of the ADAM-6200 module you want to request. (Always 01)
6 is the read channels status command.
(cr) is the terminating character, carriage return (0Dh)
!aamm(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 communi-
cation error or if the address does not exist.
! delimiter indicating a valid command was received.
? delimiter indicating the command was invalid.
aa (range 00-FF) represents the 2-character hexadecimal slave
address of an ADAM-6200 module.
mm are two hexadecimal values.
Each value is interpreted as 4 bits.
The first 4-bit value represents the status of channels 7-4, the second
4 bits represents the status of channels 3-0.
A value of 0 means the channel is disabled, while a value of 1 means
the channel is enabled.
(cr) is the terminating character, carriage return (0Dh)
The command asks the specific module at address 01h to send
Enable/Disable status of all analog input channels. The analog input
module responds that all its channels are enabled (FF equals 1111 and
1111).
Command: $016(cr)
Response: !01FF(cr)
154

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Adam-6224Adam-6260Adam-6250Adam-6266Adam-6251Adam-6256

Table of Contents