903
High-speed Counter/Pulse Output Instructions Section 3-21
3-21-9 ORIGIN SEARCH: ORG(889) (CJ1M-CPU21/22/23 Only)
Purpose ORG(889) performs an origin search or origin return operation.
This instruction is supported by CJ1M-CPU21/22/23 CPU Units only.
■ Origin Search
Pulses are output using the specified method to actually drive the motor and
establish the origin based on origin proximity input and origin input signals.
■ Origin Return
The positioning system is returned to the pre-established origin.
Ladder Symbol
Variations
Applicable Program Areas
Operands P: Port Specifier
The port specifier specifies the port where the pulses will be output.
C: Control Data
The value of C determines the origin search method.
Operand Specifications
ORG(889)
P
C
P: Port specifie
C: Control data
Variations Executed Each Cycle for ON Condition ORG(889)
Executed Once for Upward Differentiation @ORG(889)
Executed Once for Downward Differentiation Not supported
Immediate Refreshing Specification Not supported
Block program areas Step program areas Subroutines Interrupt tasks
OK OK OK OK
PPort
0000 hex Pulse output 0
0001 hex Pulse output 1
03478
111215
C
Always 0 hex.
Always 0 hex.
Pulse output method (See note.)
0 hex: CW/CCW
1 hex: Pulse + direction
Mode
0 hex: Origin search
1 hex: Origin return
Note: Use the same pulse output method when using both pulse outputs 0 and 1.
Area P C
CIO Area --- ---
Work Area --- ---
Holding Bit Area --- ---
Auxiliary Bit Area --- ---
Timer Area --- ---