Pulse Input Connection Examples; Ladder Program Example - Omron CP1L CPU UNIT - 06-2007 Operation Manual

Cp1l cpu unit
Table of Contents

Advertisement

High-speed Counters
5-1-6

Pulse Input Connection Examples

Encoders with 24 VDC Open-collector Outputs
5-1-7

Ladder Program Example

Inspecting a Dimension by
Counting Pulse Inputs
170
This example shows how to connect an encoder that has phase-A, phase-B,
and phase-Z outputs.
Black
Encoder
(Power: 24 VDC)
White
Orange
Example: E6B2-CWZ6C
Brown
(NPN open-collector
output)
Blue
24-VDC power supply
(Do not use the same power supply as for other I/O.)
Power supply
0 V
Power
Encoder
24 V
0 V
+
I
A
Phase A
I
B
Phase B
I
Z
Phase Z
• This example is for a CPU Unit with 40 I/O Points.
• High-speed counter 0 is used.
• When the edge of the workpiece is detected, the counter PV is reset by a
phase-Z pulse.
• The workpiece is passes inspection if the final count is between 30,000
and 30,300, otherwise the workpiece fails.
• If the workpiece passes, output CIO 100.00 is turned ON by an interrupt
and the indicator PL1 is lit. If the workpiece fails, output CIO 100.01 is
turned ON by an interrupt and indicator PL2 is lit.
• The interrupt program is interrupt task 10.
X/XA CPU Unit
(Differential Input Mode)
Phase A
(High-speed counter 0: Phase A, 0 V)
0.00
Phase B
(High-speed counter 0: Phase B, 0 V)
0.01
Phase Z
(High-speed counter 0: Phase Z, 0 V)
0.04
+Vcc
(COM 24 V)
COM
0 V
(COM)
0 V
+24 V
Shielded twisted-pair cable
0.00
0.01
0.04
COM
Section 5-1
CPU Unit

Advertisement

Table of Contents
loading

Table of Contents