236
Pulse Outputs
Section 7-2
Pulse Frequency Conversion
The pulse frequency input to a high-speed counter can be converted to a rota-
tional speed (r/min) or the PV of the counter can be converted to the total
number of rotations. The converted value is output as 8-digit hexadecimal.
This function is supported only for high-speed counter 0.
Frequency
−
Rotational Speed Conversion
The rotational speed in r/min is calculated from the pulse frequency input to a
high-speed counter and the number of pulses per rotation.
Counter PV
−
Total Number of Rotations Conversion
The total number of rotations is calculated from the present value of the
counter and the number of pulses per rotation.
Procedure
1,2,3...
1.
High-speed Counter Enable/Disable Setting (Required)
Select the Use high speed counter 0 Option in the PLC Setup.
2.
Pulse Input Mode Setting (Required)
Set the High-speed Counter 0 Pulse Input Mode (Input Setting) in the PLC
Setup.
3.
Counting Mode Setting (Required)
Set the High-speed Counter 0 Counting Mode in the PLC Setup.
If ring mode counting is selected, set the Circular Max. Count (max. ring
count) in the PLC Setup.
4.
Reset Method Setting (Required)
Set the High-speed Counter 0 Reset Method in the PLC Setup.
5.
Execute PRV2(883) as described below (required).
Converting the Frequency to a Rotational Speed
Execute PRV2(883) with the following operands.
C: Control data (Set to 0000 for frequency-rotational speed conversion.)
P: Coefficient (pulses/rotation (hex))
D: First word for result
Converting the Counter PV to the Total Number of Rotations
Execute PRV2(883) with the following operands.
C: Control data (Set to 0001 for counter PV-total number of rotations con-
version.)
P: Coefficient (pulses/rotation (hex))
D: First word for result
Restrictions
Pulse frequency conversion is possible only for high-speed counter 0.
7-2
Pulse Outputs
7-2-1
Overview
Fixed duty factor pulses can be output from the CPU Unit's built-in outputs to
perform positioning or speed control with a servo driver that accepts pulse
inputs.
■
CW/CCW Pulse Outputs or Pulse + Direction Outputs
The pulse output mode can be set to match the motor driver's pulse input
specifications.
Summary of Contents for CP1L-EL20DR-D
Page 3: ...CP1L EL20D CP1L EM30D CP1L EM40D CP1L EL EM CPU Unit Operation Manual Produced July 2017...
Page 4: ...iv...
Page 10: ...x...
Page 22: ...xxii...
Page 34: ...xxxiv Software Licenses and Copyrights 7...
Page 192: ...158 Trial Operation and Debugging Section 5 3...
Page 250: ...216 Automatic Clock Adjustment and Specifying Servers by Host Name Section 6 7...
Page 666: ...632 Trouble Shooting Section 11 7...
Page 696: ...662 Standard Models Appendix A...
Page 805: ...771 Connections to Serial Communications Option Boards Appendix F Connecting to Unit...
Page 806: ...772 Connections to Serial Communications Option Boards Appendix F...
Page 836: ...802 PLC Setup Appendix G...
Page 838: ...804 TCP Status Transitions Appendix H...
Page 840: ...806 Ethernet Network Parameters Appendix I...
Page 842: ...808 Buffer Configuration CP1L EL EM Appendix J...
Page 844: ...810 Ethernet Specifications Appendix K...
Page 851: ...Index 817 work words 118 write protection 447...
Page 852: ...818 Index...
Page 854: ...820 Revision History...
Page 855: ......