10.4.26
Fault responses (SETAL)
Function
Fault responses can be programmed using synchronized actions. Status variables are
interrogated and the corresponding actions initiated.
Some possible responses to error conditions are:
● Stop axis (override=0)
● Set alarm
● Set output
● All possible actions in synchronized actions
Syntax
Set cycle alarm:
DO SETAL(<alarm number>)
Significance
SETAL
<alarm number>
Example
Program code
ID=67 WHENEVER ($AA_IM[X1]-$AA_IM[X2])<4.567 DO $AA_OVR[X2]=0
ID=67 WHENEVER ($AA_IM[X1]-$AA_IM[X2])<4.567 DO SETAL(65000)
Job Planning
Programming Manual, 06/2009, 6FC5398-2BP20-0BA0
SETAL can set cycle alarms from synchronized actions.
Command to set a cycle alarm
Alarm number
Cycle alarm range for users:
Motion synchronous actions
10.4 Actions in synchronized actions
65000 ... 69999
Comments
; Stop axis X2 if the safety
clearance between axes X1
and X2 is too small.
; Set alarm 65000 if the
safety clearance between
axes X1 and X2 is too
small.
707