220
Pulse Outputs Section 5-2
Equations
The INT function extracts an integer from the fraction. The non-integer
remainder is rounded.
Differences between Set Frequencies and Actual Frequencies
5-2-5 Origin Search and Origin Return Functions
The CP1L CPU Units have two functions that can be used to determine the
machine origin for positioning.
1,2,3...
1. Origin Search
The ORG instruction outputs pulses to turn the motor according to the pat-
tern specified in the origin search parameters. As the motor turns, the ori-
gin search function determines the machine origin from the following 3
kinds of position input signals.
• Origin input signal
• Origin proximity input signal
• CW limit input signal and CCW limit input signal
Source clock frequency
Dividing ratio
(Clock frequency x 2) + Set frequency
Set frequency (Hz) x 2
Actual frequency (Hz) =
Dividing ratio = INT
• Source clock frequency: 16.4 MHz
Set frequency (kHz) Actual frequency (kHz)
99.696 to 100.000 100.000
99.093 to 99.696 99.393
98.498 to 99.093 98.795
::
50.076 to 50.229 50.152
49.923 to 50.076 50.000
49.772 to 49.923 49.848
::
20.012 to 20.036 20.024
19.987 to 20.012 20.000
19.963 to 19.987 19.975
::
10.003 to 10.009 10.006
9.996 to 10.003 10.000
9.990 to 9.996 9.993
::
5.000 to 5.002 5.001
4.999 to 5.000 5.000
4.997 to 4.999 4.998
::
3.001 to 3.001 3.001
3.000 to 3.000 3.000
2.998 to 2.999 2.999