OR Search origin (home) position

Command
Command description
Controller response
Default
mode
(N/A - not available)
Service
Mode
(N/A - not available)
xORy
Search home (origin) position. The command is similar to xSHy, but it enables soft (decelerated) break, when "Home" position is detected.   -
Yes
N/A

SYNTAX    xORy, where x controller (axis) number.
PARAMETER y [number] sets maximum number of micro steps to be moved. 1 micro step = 1/8 of motor step. The sign sets the direction of motion.
Range     -2000000000...2000000000.
DESCRIPTION: This command initiates the relative motion. It combines fast speed and smooth break, passing exact Home position. The command is similar to xSHy, but it enables soft (decelerated) stopping, when "Home" position is detected. When command is received, the controller checks current Home switch level. Then the selected axis x will move, with the predefined acceleration and velocity, to a relative position y micro steps away from the current position. If hardware home switch rises from low to high level or reverse, the motion is interrupted and is decelerated until full stop. Home switch position is sensitive from both sides. The stop position is not "exact Home". It  is "about Home". The command may be followed by xSHy command to get back and find exact "Home" position.
Note: The command is disabled in service mode. In default mode, the motor motion stops imediatelly, if hardware limit switch is connected short (it can be disabled/enabled by RL, LL commands). The last case can be tested with x? command, which returns -1. All motion commands remain disabled until error code is read by ER command.
RETURNS  none
REL. COMMANDS SH, OR, MV, ST, SS
EXAMPLES: 5OR-200000         ||              100 OR -78000  ||              431 or 4000