×
Menu
Index

ON-ALARM

Purpose:
To redirect program execution if there was an alarm.
 
 
Format:
ON-ALARM line
 
 
Description:
line is the line number
 
 
Example:
10 DALARM FIRE = 1 , 10 , THERE IS A FIRE
 
 
 
 
20 ON-ALARM 100
 
 
 
30 REM CONTINUES HERE IF NO ALARM
 
 
 
40 END
 
 
 
100
REM SPECIAL FIRE PROCEDURES
 
 
110 STOP BOILER1 : STOP BOILER2
 
Note:
This branch happens only once when the alarm is generated.