Latching_trigger – Yaskawa FSP Amplifier FlexWorks User Manual
Page 150

Command Reference
150
LATCHING_TRIGGER
G
ROUP
Encoder Latching
S
YNTAX
LATCHING_TRIGGER
O
P
. C
ODE
152
M
ODES
Program, Sequential
D
ESCRIPTION
This command starts the latching function, and
specifies the condition that the latching input (Input
6: CN1-46) must meet for the latching process to
start. One of two conditions can be chosen –
registration will either start once the input at CN1-
46 changes from 0 to 1 (Rising), or once the input
has changed from 1 to 0 (Falling). Specifying the
condition as OFF disables the registration function.
See 4.10.3.1, LATCHING_TRIGGER.
S
YNTAX
A
RGUMENTS
Condition Specifies the condition that must be
met for the registration process to
start:
Condition Code
Off - Disables registration,
canceling any previous
LATCHING_TRIGGER
command.
0
Rising Edge - Input at CN1-
46 (input 6) changes from 0
to 1.
1
Falling Edge - Input at CN1-
46 (input 6) changes from 1
to 0.
2
Serial 1 U
E
XAMPLE
Speed 300
LATCHING_TRIGGER Rising Edge
MOVE_H 5000
WAIT_VAR Latched_position_ready = 1
REGISTRATION_DISTANCE 100