Create a Global Alarm
Such feature doesn't exist yet. The easiest way to implement a global alarm is to monitor the rt_alm.txt file (equivalent to the "Alarm Summary" page). If the file is not empty, it means alarm(s) is(are) present(s).
test_Alarms: CLOSE 1 OPEN "exp:$dtAR" FOR TEXT INPUT AS 1 A$ = GET 1 B$ = GET 1 CLOSE 1 IF B$<>"" THEN PRINT "GLOBAL ALARM is present" ELSE PRINT "No global alarm" ENDIF END