245
Pulse Outputs Section 5-2
ORIGIN SEARCH: 
ORG(889) 
ORG(889) performs an origin search or origin return operation. The required
PLC Setup parameters must be set before performing an origin search or ori-
gin return operation.
Origin Search
Positions the system to the origin based on the origin proximity input and ori-
gin input signals.
Origin Return
Returns the system from its present position to the pre-established origin.
Operand Contents
P Port specifier 0000 hex: Pulse output 0
0001 hex: Pulse output 1
MOutput 
mode
Bits 0 to 3 Mode
0000 hex: Relative pulse output
0001 hex: Absolute pulse output
Bits 4 to 7 Direction
0 hex: CW
1 hex: CCW
Bits 8 to 11 Pulse output method (See note.)
0 hex: CW/CCW
1 hex: Pulse + direction
Bits 12 to 15 Not used. (Always 0 hex.)
SFirst 
set-
tings 
table 
word
S Acceleration rate:
0001 to FFFF hex (1 to 65,535 Hz)
Specify the increase or decrease in the frequency per 
pulse control period (4 ms).
S+1 Deceleration rate:
0001 to FFFF hex (1 to 65,535 Hz)
Specify the increase or decrease in the frequency per 
pulse control period (4 ms).
S+2 and 
S+3
S+2 and S+3 contain the target frequency setting, in 
units of 1 Hz. (S+2 contains the rightmost 4 digits and 
S+3 contains the leftmost 4 digits.)
0000 0000 to 0001 86A0 hex (0 Hz to 100 kHz)
J models: 0000 0000 to 0000 4E20 hex (0Hz to 20kHz)
S+4 and 
S+5
S+4 and S+5 contain the number of pulses setting. (S+4 
contains the rightmost 4 digits and S+5 contains the left-
most 4 digits.)
Relative pulse output:
0000 0000 to 7FFF FFFF hex (0 to 2,147,483,647)
Absolute pulse output:
8000 0000 to 7FFF FFFF hex (-2,147,483,648 to 
2,147,483,647)
F First starting fre-
quency word
F and F+1 contain the starting frequency setting, in units 
of 1 Hz. (F contains the rightmost 4 digits and F+1 con-
tains the leftmost 4 digits.)
0000 0000 to 0001 86A0 hex (0 Hz to 100 kHz)
J models: 0000 0000 to 0000 4E20 hex (0Hz to 20kHz)
ORG(889)
P
C
P: Port specifie