Creating the Subroutine That Runs Upon Activation/Deactivation of an Alarm Event In the NS series, a macro can be run upon activation or deactivation of an alarm. In the NA series, it can also be run even at the timing of confirming an alarm. 1. In the Multiview Explorer, select [Group0] under [HMI]-[User Alarms]. 2. Select the alarm event to which to assign a subroutine, and open the [Events and Actions] tab page. 35 3. To execute the subroutine upon occurrence of the alarm, select “Raised” as [Events]. Similarly, select “Cleared” to execute upon reset, and “Acknowledged” upon confirmation. occurrence of the alarm, select “Raised” as [Events].
Similarly, select “Cleared” to execute upon reset, and “Acknowledged” upon confirmation. 4. Select “CallSubroutine” as [Actions] and specify the subroutine to call in the [SubroutineName].