Registration_distance – Yaskawa FSP Amplifier FlexWorks User Manual
Page 165

Command Reference
165
REGISTRATION_DISTANCE
G
ROUP
Encoder Latching
S
YNTAX
REGISTRATION_DISTANCE <Distance>
O
P
. C
ODE
151
M
ODES
Program, Sequential
M
OTION
M
ODE
Hunting (-1)
D
ESCRIPTION
This command sets the <distance> from the
Latched_motor_position over which the motor must
decelerate to a stop.
S
YNTAX
A
RGUMENTS
Distance
Sets the distance over which the
motor must decelerate to a stop.
[user position units]
Serial 4 V
E
XAMPLE
Speed 300
LATCHING_TRIGGER Rising Edge
MOVE_H 5000
WAIT_VAR Latched_position_ready = 1
REGISTRATION_DISTANCE 100
E
XAMPLE
E
XPLANATION
Registration is enabled, setting the condition that input
CN1-46 must change from 0 to 1 for registration to
begin. The motor is commanded to move 5000 user
units. Once the latching condition has been met, the
registration begins, such that the motor will move 100
user units before stopping.