
15
Man ual W M-IIRO -8
Read Digital Input Counter
cxx
Read digital input counter xx
Tthis comm and will read how m any tim es b it xx ha s ch ang ed to its active state (as c onfigure d with
dx± or dx x±) sinc e the last res et co m m and (rxx ).
Input counters are configured as 16-bit counters. Counter conte nt is prov ided m ost s ignifica nt bit first.
Outpu t return values are divided into two eight-bit c ou nte rs. The firs t byte of the outpu t co un ters is
the time-rem aining before the output pulse expires, the second byte is the originally-programm ed
perio d of free- run o utpu ts. The s eco nd b yte is zero for pu lse ou tputs .
Exam ples:
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
Th is com m and is norm ally used to res et a digital input c oun ter to zero.
Exam ples:
Rese t digital input counter for digital input num ber 3
SEND:
r03
RECEIVE:
[CR]
Read Firmware Revision Number
V
Read the firmware revision number
Th is com m and is use d to re ad th e version of firm war e insta lled in the pod . It returns "X.X X[C R]".
Exam ple:
Read the W M-IIRO-8 version number
SEND:
V
RECEIVE:
1.00[CR]
Note:
The "H" comm and returns the version number along with other information.
Resend Last Response
n
Resend last response
This comm and will cause the pod to return the sam e thing it just se nt. Th is com m an d w orks for all
responses less than 255 character in length. No rm ally th is com m an d 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 m ay be repeated.