229
High-speed Counters
Section 7-1
7-1-6
Pulse Input Connection Examples
Encoders with 24 VDC Open-collector Outputs
This example shows how to connect an encoder that has phase-A, phase-B,
and phase-Z outputs.
7-1-7
Ladder Program Example
Inspecting a Dimension by
Counting Pulse Inputs
• 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.
CP1L-EL/EM CPU Unit
Phase A
Black
Phase B
White
Phase Z
Orange
+Vcc
Brown
0 V
(COM)
Blue
24-VDC power supply
0 V
+24 V
Encoder
(Power: 24 VDC)
Example: E6B2-CWZ6C
(NPN open-collector
output)
0.00
(High-speed counter 0: Phase A, 0 V)
(Differential Input Mode)
0.01
(High-speed counter 0: Phase B, 0 V)
0.04
COM
(High-speed counter 0: Phase Z, 0 V)
(COM 24 V)
0.00
0.01
0.04
COM
0 V
24 V
Power
0 V
Encoder
Power supply
−
Shielded twisted-pair cable
(Do not use the same power supply as for other I/O.)
I
A
I
B
I
Z
Phase A
Phase B
Phase Z
+
CPU Unit
Содержание CP1L-EL20DR-D
Страница 3: ...CP1L EL20D CP1L EM30D CP1L EM40D CP1L EL EM CPU Unit Operation Manual Produced July 2017...
Страница 4: ...iv...
Страница 10: ...x...
Страница 22: ...xxii...
Страница 34: ...xxxiv Software Licenses and Copyrights 7...
Страница 178: ...144 Connecting the CX Programmer Section 5 1 Click the Connect button to connect and then connection online is completed...
Страница 192: ...158 Trial Operation and Debugging Section 5 3...
Страница 250: ...216 Automatic Clock Adjustment and Specifying Servers by Host Name Section 6 7...
Страница 666: ...632 Trouble Shooting Section 11 7...
Страница 696: ...662 Standard Models Appendix A...
Страница 805: ...771 Connections to Serial Communications Option Boards Appendix F Connecting to Unit...
Страница 806: ...772 Connections to Serial Communications Option Boards Appendix F...
Страница 836: ...802 PLC Setup Appendix G...
Страница 838: ...804 TCP Status Transitions Appendix H...
Страница 840: ...806 Ethernet Network Parameters Appendix I...
Страница 842: ...808 Buffer Configuration CP1L EL EM Appendix J...
Страница 844: ...810 Ethernet Specifications Appendix K...
Страница 851: ...Index 817 work words 118 write protection 447...
Страница 852: ...818 Index...
Страница 854: ...820 Revision History...
Страница 855: ......