Origin Return - Omron CJ1M-CPU21 Operation Manual

Cj-series built-in i/o cpu units
Hide thumbs Also See for CJ1M-CPU21:
Table of Contents

Advertisement

ORIGIN SEARCH: ORG(889)
Flags
Example
000000
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 using the Origin Return Acceleration Rate (2 in diagram)
and pulse output is continued at constant speed (3 in diagram). The decelera-
tion 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).
Pulse frequency

Origin return

target speed
B
Origin return
acceleration
rate
A
ORG(889) executed.
Name
Label
Error Flag
ER
When CIO 000000 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.
@ORG
#0000
Pulse output 0
#1000
Origin return, CW/CWW method
C
Origin return
D
deceleration rate
Origin return
E
initial speed
Stop
ON if the specified range for P or C is exceeded.
ON if ORG(889) is specified for a port during pulse output
for SPED(885), ACC(888), or PLS2(887).
ON if ORG(889) is executed in an interrupt task when an
instruction controlling pulse output is being executed in a
cyclic task.
ON if the origin search or origin return parameters set in
the PLC Setup are not within range.
ON if the Origin Search High Speed is less than or equal
to the Origin Search Proximity Speed or the Origin Search
Proximity Speed is less than or equal to the Origin Search
Initial Speed.
ON if the Origin Return Target speed is less than or equal
to the Origin Return Initial Speed.
ON if an origin return operation is attempted when the ori-
gin has not been established.
Speed
200 pps
100 pps
ORG(889) executed.
Section 5-9
Time
Operation
Time
Output stopped.
119

Advertisement

Table of Contents
loading

This manual is also suitable for:

Cj1m-cpu23Cj1m-cpu22

Table of Contents