Write A Single Digital Output Channel - Advantech ADAM-6217 User Manual

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

Advertisement

#aa1c(data)
Name

Write a single digital output channel

Description
This command sets a single DO channels to the specific ADAM-6200
module.
Syntax
#aa1c(data)(cr)
# is a delimiter character.
aa (range 00-FF) represents the 2-character hexadecimal slave net-
work address of the ADAM-6200 module. (Always 01)
c is used to indicate which channel(s) you want to set.
(data) is the hexadecimal representation of the DO value(s).
When writing to a single channel (bit), the first character is always 0.
The value of the second character is either 0 or 1.
Response
>(cr) if the command was valid.
?aa(cr) if an invalid command has been issued.
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 net-
work address of a module that is responding.
(cr) is the terminating character, carriage return (0Dh)
Example
Set channel 2 to logic 1
ASCII
Command: #011201(cr)
Response: >01(cr)
177
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