
B-63983EN/02 4.LADDER LANGUAGE
- 231 -
4.4.3 CTRC (Counter: SUB 55)
The numeral data of this counter are all binary. This counter has the
following functions and can be used according to the application:
(a) Preset counter
Preset the count value and if the count reaches this preset value,
outputs to show that.
(b) Ring counter
This is the ring counter which is reset to the initial value when
the count signal is input after the count reaches the preset value.
(c) Up/down counter
This is the reversible counter to be used as both the up counter
and down counter.
(d) Selection of the initial value
Either 0 or 1 can be selected as the initial value.
Format
Fig. 4.4.3 shows the ladder format and Table 4.4.3 shows the
mnemonic format.
CN0
UPDOWN
RST
CT
W1
CTRC
SUB 55
¡¡¡¡
¡¡¡¡
Counter preset value address
Counter register address
Countup
Fig. 4.4.3 Format of CTRC instruction