C-863.12 Mercury Controller MS249E Version: 1.2.1 97
7.7 Controller Macros
7.7.1 Overview: Macro Functionality and Example Macros
The C-863.12 can save and process command sequences as macros.
The following functionalities make macros an important tool in many application areas:
▪ Several macros can be saved at the same time.
▪ Any macro can be defined as the startup macro. The startup macro runs each time the
C-863.12 is switched on or rebooted.
▪ Processing and stopping a macro can be linked to conditions. This makes loops possible.
▪ Macros can call up themselves or other macros.
▪ Variables (p. 118) can be set for the macro and in the macro itself and used in different
operations.
▪ Input signals can be evaluated for conditions and variables.
You will find example macros in this manual for the following tasks:
▪ Moving an axis back and forth (p. 101)
▪ Recording a macro for a controller whose address is different to 1 (p. 102)
▪ Moving an axis with a variable travel range back and forth (p. 103)
▪ Implementing multiple calls of a macro via a loop (p. 105)
▪ Preparing an axis for operation via a startup macro (p. 106)
▪ Synchronizing two controllers (p. 108)
▪ Stopping motion by pushbutton (p. 109)
▪ Joystick control with storage of positions (p. 110)
▪ Joystick control with change in velocity (p. 113)