User manual
15
Manual WM-IIRO-8
Read Digital Input Counter
cxx Read digital input counter xx
Tthis command will read how many times bit xx has changed to its active state (as configured with
dx± or dxx±) since the last reset command (rxx).
Input counters are configured as 16-bit counters. Counter content is provided most significant bit first.
Output return values are divided into two eight-bit counters. The first byte of the output counters is
the time-remaining before the output pulse expires, the second byte is the originally-programm ed
period of free-run outputs. The second byte is zero for pulse outputs.
Examples:
Read digital input counter for bit #1
SEND: C01
RECEIVE: 0213[CR];assuming 213hex edges since last reset
Reset Counter
rxx Reset digital input counter xx
This command is normally used to reset a digital input counter to zero.
Examples:
Reset digital input counter for digital input number 3
SEND: r03
RECEIVE: [CR]
Read Firmware Revision Number
V Read the firmware revision number
This command is used to read the version of firm ware installed in the pod. It returns "X.XX[CR]".
Example:
Read the WM-IIRO-8 version number
SEND: V
RECEIVE: 1.00[CR]
Note: The "H" command returns the version number along with other information.
Resend Last Response
n Resend last response
This command will cause the pod to return the sam e thing it just sent. Th is com mand works for all
responses less than 255 character in length. Normally this com mand is used if the host detected a
parity or other line fault while receiving data, and needs the data to be sent a second time.
The "n" command may be repeated.