Fault_message_clear – Yaskawa FSP Amplifier FlexWorks User Manual
Page 127

Command Reference
127
E
XAMPLE
E
XPLANATION
In this example, if the error code is neither 151 nor 152, 
the program endlessly returns to the FAULT_MANAGER, 
checking this condition over and over again. In case the 
over travel fault occurs, then label 22 is called and then the 
program returns to label 5. 
S
EE
A
LSO
FAULT_MANAGER, FAULT_MESSAGE_CLEAR, ALARM_RESET 
Variables: Fault_code, Fault_line 
FAULT_MESSAGE_CLEAR
G
ROUP
Fault_Manager
S
YNTAX
FAULT_MESSAGE_CLEAR
O
P
. C
ODE
165
M
ODES
Program
D
ESCRIPTION
Used in the fault manager to clear the fault message from
the fault buffer. The list of faults can be found in chapter 7.
This command can only be used in the fault manager 
routine. 
E
XAMPLE
LABEL 5 
MOVE 1000 –1 
… 
… 
FAULT_MANAGER 
FAULT_MESSAGE_CLEAR 
SET_OUTPUT 1 ON 
DELAY 1000 
SET_OUTPUT 1 OFF 
FAULT_MANAGER_RETURN 5 
E
XAMPLE
E
XPLANATION
When a fault occurs, the program jumps to the fault
manager, clears the fault message and toggles an output.
S
EE
A
LSO
FAULT_MANAGER_RETURN, FAULT_MANAGER 
Variables: Fault_code, Fault_line 
