238
Pulse Outputs Section 5-2
Procedure
PLC Setup
The various origin return parameters are set in the PLC Setup.
Origin Return Parameters
Explanation of the Origin Return Parameters
Origin Search/Return
Initial Speed
Sets the motor's starting speed when the origin return is executed. Specify
the speed in the number of pulses per second (pps).
Origin Return Target
Speed
Sets the motor's target speed when the origin return is executed. Specify the
speed in the number of pulses per second (pps).
Origin Return
Acceleration Rate
Sets the motor's acceleration rate when the origin return operation starts.
Specify the amount to increase the speed (Hz) per 4-ms interval.
Origin Return
Deceleration Rate
Sets the motor's acceleration rate when the origin return function is decelerat-
ing. Specify the amount to decrease the speed (Hz) per 4-ms interval.
Executing an Origin Return
Note An instruction execution error will occur if the origin is not determined (relative
coordinate system) when ORG(889) is executed to perform an origin return
operation.
1. Starting Speed for Origin Search and Origin Return
2. Origin return target speed
3. Origin return acceleration rate
4. Origin return deceleration rate
• Outputs: Use either the CW/CCW method or Pulse +
direction method. The same method must be used
for both pulse output 0 and pulse output 1.
• Various origin return parameter settings
• Execution of ORG(889)
To specify the origin return operation, set bits 12
to 15 of the second operand to 1 hex.
Determine the origin return parameters.
Wire the outputs.
PLC Setup settings
Ladder program
Name Settings Remarks
Origin search/return initial speed 00000001 to 000186A0 hex
(1 Hz to 100 kHz)
J models : 00000001 to
00004E20 hex
(1 Hz to 20 kHz)
Start of operation
Origin return target speed Same as above.
Origin return acceleration rate 0001 to FFFF hex
(1 to 65,535 Hz/4 ms)
Origin return deceleration rate 0001 to FFFF hex
(1 to 65,535 Hz/4 ms)
P
C
ORG(889)
P: Port specifier (Pulse output 0: #0000, Pulse output 1: #0001)
Pulse output 0: #0000
Pulse output 1: #0001
C: Control data
(Origin return and CW/CCW method: #1000, Origin search and pulse
+ direction method: #1100)