beautypg.com

14 macro function, 1 macro type – Delta Electronics DELTA DUP-B User Manual

Page 296

background image

Chapter 3 Creating and Editing Screens

3.14 Macro

Function

Delta DOP-B series HMI provides various kinds of macro commands, including Arithmetic,
Logical, Data transfer, Data conversion, Comparison, Flow control, Bit setting, Communication
(COM port) and drawing, etc. for user’s selection (Fig. 3.14.1).

Fig. 3-14-1 Macro Commands

There are many advantages of using macro commands, such as:

1. It can optimize the screen data.

2. It can reduce the PLC program editing efficiently.

3. It can overcome the limit on the hardware and software design.

Therefore, Macro is a very convenient function for the HMI user to use. After editing a Macro,
you can test the Macro validity via either an on-line or off-line simulation on the PC before
downloading the results to HMI.

3.14.1 Macro

Type

There are eleven kinds of macro commands and they are divided into four categories.
Please refer to the following:
1. On / Off Macro: It is provided for each Bit element that can be input, such as button

element, i.e. Maintained and Momentary button.

2. Before / After Execute Macro: It is provided for all elements, such as numeric / character

entry element and all button elements (including system button).

3. Screen Open / Screen Close / Cycle Macro: Use screen as a unit. Each screen has an

individual screen macro.

4. Initial / Background / Clock / Sub Macro: Use system as a unit. Each project, i.e. each

program, has its individual screen macro.

Revision May, 2010

3-275