Fault_manager_return – Yaskawa FSP Amplifier FlexWorks User Manual
Page 126

Command Reference
126
FAULT_MANAGER_RETURN
G
ROUP
Fault_Manager
S
YNTAX
FAULT_MANAGER_RETURN
O
P
. C
ODE
164
M
ODES
Program
D
ESCRIPTION
This command complements the FAULT_MANAGER
command and acts as the RETURN command for the
FAULT_MANAGER routine. The program will return to the
specified label number. This command can be used more
than once in the routine, for example when using a number
of conditional sentences.
S
YNTAX
A
RGUMENTS
Return Label
The number of the label number to
return to.
Setting –1 as the label number causes
the program to return to the
FAULT_MANAGER.
Serial
1 U
E
XAMPLE
LABEL 5
MOVE 1000 –1
…
…
FAULT_MANAGER
IF Fault_code = 151 THEN GO_TO 22
IF Fault_code = 152 THEN GO_TO 22
FAULT_MANAGER_RETURN –1
LABEL 22
HOME_SW 1000, 100
FAULT_MESSSAGE_CLEAR
FAULT_MANAGER_RETURN 5