Chapter 4
Chapter 4 Command Set
4-51
4.6.12
$AACOCjII
Name Set DO status of specified channel
Description Force the DO channel to different mode.
Syntax $ AACOCjII(cr)
$ is a delimiter character.
AA (range 00-FF) represents the 2-character hexadecimal
address which is to be accessed.
CO is the set/read the DO status command.
Cj is the channel j
II is the two characters to set the DO mode
OO=00 DO Mode.
OO=01 Pulse Output Mode.
OO=02 L->H Delay Mode.
OO=03 H->L Delay Mode.
(cr) is the terminating character, carriage return (0Dh).
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 or
communication error, or even if the specified address does
not exist.
> is a delimiter character indicating that a valid command
was received.
? is a delimiter character indicating that the command was
invalid.
AA (range 00-FF) represents the responding 2-character
hexadecimal address of the digital I/O module.
Example command: $02COC201(cr)
response:
>(cr)
The channel 2 is set as the pulse output mode