Advantech ADAM-6217 User Manual page 161

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

Advertisement

$aa5mm
Name
Set Channel Enable/Disable Status
Description
Set Enable/Disable status for all analog input channels
Syntax
$aa5mm(cr)
$ is a delimiter character.
aa (range 00-FF) represents the 2-character hexadecimal slave
address of the ADAM-6200 module. (Always 01)
5 identifies the enable/disable channels command.
mm (range 00-FF) are two hexadecimal characters.
Each character is interpreted as 4 bits.
The first 4-bit value represents the status of channels 7-4.
The second 4-bit value 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)
Response
!aa(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.
(cr) is the terminating character, carriage return (0Dh)
Example
The command enables/disables channels of the analog input module
at address 01h. Hexadecimal 8 equals binary 1000, which enables
channel 7 and disables channels 4, 5 and 6. Hexadecimal 1 equals
binary 0001, which enables channel 0 and disables channels 1, 2 and
3.
ASCII
Command: $01581(cr)
Response: !01(cr)
155
ADAM-6200 User Manual

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

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

Table of Contents