• In order to reset the counter, turns reset trigger X1
ON and then OFF.
• When the leading edge of the X0 is detected ten
times, counter contact C100 turns ON and then Y0
goes ON.
• The elapsed value EV100 is reset when X1 turns ON.
0
1
2
5
6
ST X 0
ST X 1
CT 100
K10
ST C 100
OT Y 0
5-3. Description of Basic Instructions
119
Counter instruction number C14 and C16 series: up to 128
C24, C40, C56, and C72 series: up to 144
The number of the CT instructions is shared with that of the TM instructions.
You can change the sharing of TM and CT instructions through the system
registers.
The default value of the TM and CT instructions is,
for C14 and C16 series:
TM instruction: 0 to 99, CT instruction: 100 to 127
for C24, C40, C56, and C72 series:
TM instruction: 0 to 99, CT instruction: 100 to 143
Preset (Set) value All series: K0 to K32767
Decimal constant or counter set value area (SVn)* whose number is the same
as its timer instruction number (n)
*“SVn” can be specified only when the version of the CPU is 2.7 or later.