beautypg.com

3 before execute macro – Delta Electronics DELTA DUP-B User Manual

Page 301

background image

Chapter 3 Creating and Editing Screens

3.14.1.3 Before Execute Macro

This macro is attached to a button element or numeric / character entry element. One
element has one Before Execute Macro. The operation is that when the button element
is pressed, the sysem will execute the command of this macro first and then perform
the operation of this button. But, if the state of the button is not triggered by pressing
the button (via macro or external signal), the command of this macro will not be
executed.
If there is a Monmentary button or numeric entry element created on the screen and
Before Execute Macro is used, when the button is pressed, the procedure is as follows:

Monmentary button or numeric entry element

When the button is pressed

(Set to be ON) or when the

value of the numeric entry

element is entered

Monmentary button is ON or

Numeric Entry Element is written

Perform Before Execute Macro

Monmentary button is OFF or

Numeric Entry Element is written

When the button is pressed

(Set to be OFF) or when the

value of the numeric entry

element is entered

Set to be ON or

Perform Before Execute Macro

Enter the value again



















3-280

Revision May, 2010