Omron CJ - REFERENCE MANUAL 02-2010 Reference Manual page 797

Table of Contents

Advertisement

Origin Return (Bits 12 to 15 of C = 1 hex)
ORG(889) starts outputting pulses using the
specified method at the Origin Return Initial
Speed (1 in diagram).
Pulse output is accelerated to the Origin Return
Target
Speed
Acceleration Rate (2 in diagram) and pulse
output is continued at constant speed (3 in
diagram).
The deceleration point is calculated from the
number of pulses remaining to the origin and the
deceleration rate and when that point is
reached, the pulse output is decelerated (4 in
diagram) at the Origin Return Deceleration Rate
until the Origin Return Start Speed is reached,
at which point pulse output is stopped at the
origin (5 in diagram).
Sample program
When CIO 0.00 turns ON in the following programming example, ORG(889) starts an origin return
operation for pulse output 0 by outputting pulses using the CW/CCW method. According to the PLC
Setup, the initial speed is 100 pps, the target speed is 200 pps, and the acceleration and deceleration
rates are 50 Hz/4 ms.
0.00
The PLC Setup parameters are as follows:
Pulse Output 0 Starting Speed for Origin Search and Origin Return
Pulse Output 0 Origin Return Target Speed
Pulse Output 0 Origin Return Acceleration Rate
Pulse Output 0 Origin Return Deceleration Rate
CS/CJ/NSJ Series Instructions Reference Manual (W474)
using
the
Origin
Return
@ORG
Pulse output 0
#0000
Origin return, CW/CWW method
#1000
Parameter
Pulse frequency
Origin return
target speed
Origin return
acceleration
rate
Origin return
initial speed
ORG(889) executed.
Speed
200 pps
100 pps
ORG(889) executed.
0000 0064 hex: 100 pps
0000 00C8 hex: 200 pps
0032 hex: 50 hex/4 ms
0032 hex: 50 hex/4 ms
3. Instructions
Origin return
deceleration rate
Time
Stop
Time
Output stopped.
Setting
761
3

Advertisement

Table of Contents
loading

Table of Contents