74
S32 and S33 so that there is a value difference equivalent to the time lag
from points A to B. For example, set the value of S32 to 2,000 and that of
S33 to 2,010.
More than 16 output bits may be obtained using CMP.
1813 (normally ON)
1905 (GR)
0600
CMP(20)
CNT 47
#6850
In the above program, output 0600 is turned ON when the following condition
is satisfied, where S is the present count value of the high-speed counter:
6,850 < S ≤ 9,999.
1813 (normally ON)
1905 (GR)
1000
CMP(20)
CNT 47
#0300
1813 (normally ON)
1907 (LE)
1001
CMP(20)
CNT 47
#2300
1000 1001
0601
In the above program, output 0601 is turned ON when the following condition
is satisfied, where S is the present count value of the high-speed counter:
300 < S < 2,300.
The number of digits of the upper and lower limits of the high-speed counter
can be increased from four to eight by using the high-speed counter together
with CNTR and CMP.
The high-speed counter is a ring counter and thus when its present count
value is incremented from 9999 to 0000, the Completion Flag of CNT 47 is
turned ON for one scan. By using this flag as an input to the UP input of the
reversible counter (i.e., cascade connection) you can increase the number of
digits to eight. Although an ordinary counter can be cascade-connected to
Cascade Connection
(Counting Past 9,999)
Timer and Counter Instructions Section 5–11