Delta Electronics DOP-A Series User Manual

Page of 329
Chapter 4  Macro Function|ScrEdit Software User Manual 
Revision Apr. 30th, 2007, 2007PDD23000002 
 
 
4-3 
„
 
ON Macro 
This macro is attached to a button element. The user can use ON Macro for each specific button (Bit). It 
is called ON Macro because this start Macro is set to ON via setting the button (Bit). 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. 
„
 
OFF Macro 
This macro is attached to a button element. The user can use OFF Macro for each specific button (Bit). 
Same as ON Macro, OFF Macro is started via setting this button. When the button is set to be OFF, 
OFF macro will be executed ONCE. After execution, this macro will not be executed until the button is 
set to be OFF again. However, OFF Macro only can be executed when the corresponding Bit for the 
button is triggered to be OFF through the action of pressing the button, i.e. the Bit is set to be OFF and 
the pressed button is OFF also. OFF Macro will not be executed if the Bit is set to be OFF only. 
„
 
Before Execute Macro 
This macro is attached to a button element or numeric / character entry element. One element has one 
before execute macro. For example, when using a button element, this macro will be executed first 
before executing the operation of the button element. 
„
 
After Execute Macro 
This macro is attached to a button element or numeric / character entry element. One element has one 
after execute macro. For example, when using a button element, this macro will be executed after the 
operation of the button element is executed. 
„
 
Screen Open Macro 
The user can use Screen Open Macro to open each screen. Each screen has a Screen Open Macro. 
Screen Open Macro will only be executed ONCE when the user open a screen or switch to a new 
screen. The screen elements will be displayed and executed after finishing executing Screen Open 
Macro.  
„
 
Screen Close Macro 
The user can use Screen Close Macro to close each screen. Each screen has a Screen Close Macro. 
Screen Close Macro will only be executed ONCE when the user close a screen or switch to a new 
screen. The same as Screen Open Macro, the screen elements on new screen will be displayed and 
executed after finishing executing Screen Close Macro.