Chapter 3 Creating and Editing Screens 3.14.1.1 On Macro This macro is attached to a button element. The user can use On Macro for each specific button (Bit). It is called the On Macro because the Macro is executed once upon the button element (Bit) changing from OFF to ON. When the button is set to be ON, ON Macro will be executed ONCE. After execution, this macro will not be executed until the button is set to be ON again. However, On Macro only can be executed when the corresponding Bit for the button is triggered to be ON through the action of pressing the button, i.e. the Bit is set to be ON and the pressed button is ON also.
ON Macro will not be executed if the Bit is set to be ON only. If there is a Monmentary button created on the screen and On Macro is used, when the button is pressed, the procedure is as follows: When the button is pressed (Set to be ON) When the button is pressed (Set to be OFF) Set to be ON again 3-278 Revision May, 2010 Monmentary Button pressed ) Monmentary Button is ON Execute ON Macro pressed F) Monmentary Button is ON