8-5
Defining the Origin
The CJ2 CPU Units have two methods that can be used to define the origin position.
• Origin searches
The ORG(889) instruction outputs pulses to turn the motor according to the pattern specified in the
origin search parameters. As the motor turns, the origin search function defines the origin from the
following three position input signals.
• Origin input signal
• Origin proximity input signal
• CW limit input signal and CCW limit input signal
• Changing the present value of the pulse output
When setting the current position as the origin, execute INI(880) to reset the pulse output PV to 0.
8-5-1
Origin Searches
When the ORG(889) instruction executes an origin search, it outputs pulses to actually move the motor
and defines the origin position using the input signals that indicate the origin proximity and origin posi-
tions. The input signals that indicate the origin position can be received from the servomotor's built-in
phase-Z signal or external sensors, such as photoelectric sensors, proximity sensors, or limit switches.
In the following example, the motor is started at a specified speed, accelerated to the origin search high
speed, and run at that speed until the origin proximity position is detected. After the origin proximity
input is detected, the motor is decelerated to the origin search low speed and run at that speed until the
origin position is detected. The motor is stopped at the origin position.
1
Origin
proximity
0
input signal
1
Origin input
signal
0
Pulse frequency
Origin search
acceleration
rate
Origin
search
starting
speed
Start
Execution of ORG
Additional Information
The motor can be moved even if the origin position has not been defined, but positioning opera-
tions will be limited as follows:
• Origin return: Cannot be used.
• Positioning with absolute pulse specification: Cannot be used.
• Positioning with relative pulse specification: Outputs the specified number of pulses after set-
ting the present position to 0.
CJ2M CPU Unit Pulse I/O Module User's Manual
Origin search
Origin search high
deceleration rate
speed
Origin search
proximity speed
Deceleration
timing
Decelerate from high to
low speed
Specified by the origin
proximity input signal
(Example for origin detection when proximity signal turns OFF
(described later))
Time
Stopped
Specified by the origin
input signal.
8 Pulse Outputs
8-39
8
Need help?
Do you have a question about the SYSMAC CJ Series and is the answer not in the manual?
Questions and answers