beautypg.com

Fault_manager – Yaskawa FSP Amplifier FlexWorks User Manual

Page 124

background image

Command Reference

124

FAULT_MANAGER

G

ROUP

Fault_Manager

S

YNTAX

FAULT_MANAGER

O

P

. C

ODE

163

M

ODES

Program

D

ESCRIPTION

This command allows smart handling of faults and alarms.
It acts as an interrupt in the highest priority when an
alarm or a fault condition occurs. The user can define the
actions within the fault manager routine for certain

conditions. The routine ends with a FAULT_RETURN
command. Refer to the

Fault Action

page for detailed

explanation of each alarm /fault behavior.

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_MESSAGE_CLEAR
FAULT_MANAGER_RETURN 5

E

XAMPLE

E

XPLANATION

When positive or negative over travel occurs, FSP stops

the motor automatically and the user program jumps to
the FAULT_MANAGER, followed by a jump to label 22,
executing the HOME command and clears the fault
message buffer. Afterwards, it starts the program from
label 5. As for other faults, the FSP acts as defined in the
attached table

(Fault Action)

.

S

EE

A

LSO

FAULT_MANAGER_RETURN, FAULT_MESSAGE_CLEAR,

ALARM_RESET
Variables: Fault_code, Fault_line

This manual is related to the following products: