User manual
14
Manual WM-IIRO-8
W rite zeros to every od d bit
SEND: OAA
RECEIVE: [CR]
Read Change-of-state
Y Read COS bit.
The pod can set a change-of-state flag for any input that has been configured to do so. This
command will read then reset that bit. Therefore, this command will always return "N[CR]" unless the
T command has first been used to enable change-of-state detect for any given bit.
If a change-of-state has been detected since the last "Y" command (see note), the pod will return
"Y[CR]" otherwise "N[CR]" will be returned.
Examples:
Read COS bit
SEND: Y
RECEIVE: N[CR]
Note: The address com mand for any given pod will also return "Y" or "N" and clear the
Change-of-state flag in the pod.
Enable Change-of-State Detection
Txx Set COS mask
These commands configure the bit-by-bit mask to enable change-of-state to set the COS flag on the
pod for readback by the "Y" or address commands. If a one is set for a particular bit, that bit will set
the COS flag if/when the bit changes state. A zero will disable change-of-state detection.
Note: The COS Flag is read via either the "Y" com mand or a valid address command. The COS
Flag is reset to FALSE by either command.
Selecting Which Edge Will Increment Counter
dx± Set Digital input active state on bit x
dxx± Set Digital input active state on bit xx
These commands allow you to set whether a rising or falling edge will increment the digital input
counter; i.e., if all bits are set to rising edge, the digital input counter for any given bit will increment
each time a rising edge is detected. "+" is rising edge, "-" is falling edge.
Examples:
Set bit 1 to rising edge active
SEND: D1+
or
SEND: D01+
RECEIVE: [CR]
Note: The digital input counters are read with the "cxx" command, and reset with the "rxx"
command.