beautypg.com

Using macros, Chapter 14 – B&B Electronics WOP-2121V-N4AE - Manual User Manual

Page 409

background image

CHAPTER 14



14.1.

Types of Macros ............................................................................... 1

14.2.

Working with Macros ....................................................................... 3

14.2.1. Creating Macros .............................................................................................. 3
14.2.2. Opening and Closing Macros .......................................................................... 3
14.2.3. Naming a macro .............................................................................................. 4
14.2.4. Deleting a macro ............................................................................................. 4
14.2.5. Saving and Exporting Macros.......................................................................... 4
14.2.6. Macro Settings in the Dialog ............................................................................ 5

14.3.

Writing Macros.................................................................................. 7

14.3.1. Macro Editor Window....................................................................................... 7
14.3.2. Macro Command Properties Tool Window....................................................... 9

14.4.

Macro Commands and Examples ................................................. 10

14.4.1. Macro Notations and Terminology ................................................................. 10
14.4.2. Data Transfer ................................................................................................. 12
14.4.3. Arithmetic Operation ...................................................................................... 13
14.4.4. Logical Operation........................................................................................... 14
14.4.5. Calculation ..................................................................................................... 16
14.4.6. Data Conversion ............................................................................................ 18
14.4.7. Conditional Operation .................................................................................... 21
14.4.8. Program Control ............................................................................................ 25
14.4.9. Timer Operation............................................................................................. 28
14.4.10. Keypad

Operation ..................................................................................... 29

14.4.11. Recipe

Operation ...................................................................................... 30

14.4.12. Communication Operation ........................................................................ 31
14.4.13. System Service ......................................................................................... 32
14.4.14. Screen

Operation...................................................................................... 33

14.4.15. File

Operation ........................................................................................... 34

14.4.16. Comparison............................................................................................... 39
14.4.17. String

Operation ........................................................................................ 40

14.4.18. Run

Operation........................................................................................... 45

14.4.19. Print

Operation.......................................................................................... 46

USING MACROS