Timer and Counter Instructions
High-speed Counter or
Pulse Output Status
(C=001)
Pulse I/O Board: High-speed Counters 1 and 2
The following table shows the possible 8-digit BCD values for the PV of high-
speed counters 1 and 2 on a Pulse I/O Board.
Numeric range
Linear counting
Ring counting
Absolute Encoder Interface Board: High-speed Counters 1 and 2
The following table shows the possible values for the PV of absolute high-
speed counters 1 and 2.
Mode
BCD mode
360° mode
High-speed Counter Board: High-speed Counters 1 to 4
The following table shows the possible 8-digit values (BCD or hexadecimal)
for the PV of high-speed counters 1 to 4 on a High-speed Counter Board.
Numeric range
Linear counting
F838 8608 to 0838 8607
Ring counting
0000 0000 to 0838 8607
If C is 001, PRV(62) reads the operating status of the specified high-speed
counter or pulse output and writes the data to D.
PRV(62) reads the same information stored in the AR and IR words allocated
for that purpose (AR 05 and AR 06 for the Pulse I/O Board or Absolute
Encoder Interface Board, IR 208 to IR 211 or IR 240 to IR 243 for the High-
speed Counter Board), but the allocated AR and IR words are refreshed just
once each cycle while PRV(62) reads the most up-to-date values.
Pulse I/O Board
The following table shows the function of bits in D for high-speed counters 1
and 2 or pulse outputs from ports 1 and 2 on a Pulse I/O Board. Bits not listed
in the table are not used and will always be 0.
Bit
00
High-speed counter comparison status. (0: Stopped; 1: Comparing)
01
High-speed counter underflow/overflow.
(0: Normal; 1: Underflow/Overflow occurred.)
04
Deceleration of pulse frequency. (0: Not specified; 1: Specified.)
05
Total number of pulses specified. (0: Not specified; 1: Specified.)
06
Pulse output completed. (0: Not completed; 1: Completed)
07
Pulse output status (0: Stopped; 1: Outputting)
Absolute Encoder Interface Board
For absolute high-speed counters 1 and 2, Bit 00 of D indicates the compari-
son status (0: Stopped; 1: Comparing). The other bits in D (01 through 15) are
not used and will always be 0.
Possible values
F838 8608 to 0838 8607
0000 0000 to 0006 4999
Possible values
0000 0000 to 0000 4095
0000 0000 to 0000 0359
Possible values
BCD format
Function
Section 5-16
Hexadecimal format
F800 0000 to 07FF FFFF
0000 0000 to 07FF FFFF
259
Need help?
Do you have a question about the CQM1H - PROGRAM and is the answer not in the manual?