177 ADAM-6200 User Manual
Appendix B ADAM-6200 ASCII Commands
#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)