A
Appendix
A-4 CP1L Programming Examples
SYSMAC CP1L/CP1E Introduction Manual 125
Signals that are shorter than the scan time must be read and counted.
When 100 signals have been counted, a counting completed signal will be output.
• Quick-response inputs can read short signals that are shorter than the cycle
time. However, as with any other input, the full cycle time will be used for ladder
processing. For accelerated processing unaffected by the scan time, use
interrupt inputs.
• The input can only be counted once during each cycle time, regardless of how
many times the input occurs. To count the input multiple times within each cycle
time, use a high-speed counter.
■System Configuration
●Wiring Example
30 s min. (CP1E: 50 s min.)
Sensor input
Contact 0.04
BCD counter instruction
C0000
100
99
98
97
1
0
Set Value
Present Value
Contact C0000
Counter reset
Input contact 0.01
Count complete
Contact 100.00
100
Sensor input 0.04
Count complete 100.00
Counter reset input 0.01
CP1L