A
A-4 CP1L Programming Examples
118
SYSMAC CP1L Getting Started Guide
Ap
pend
ix
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
z
Wiring Example
30 μ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
Counter reset input 0.01
100.00
CP1L
W07E-EN-02+CP1L+GettingStartedGuide.book Seite 118 Montag, 15. September 2008 11:15 11