106 Version: 1.2.1 MS249E C-863.12 Mercury Controller
Configuring a startup macro
Any macro can be defined as the startup macro. The startup macro is executed each time the C-
863.12 is switched on or rebooted.
Deleting a macro does not delete its selection as a startup macro.
In the following, PITerminal or the Command entry window of PIMikroMove is used to enter
commands. Details on working with the Controller macros tab in PIMikroMove are in the
PIMikroMove manual.
➢ Define a macro as the startup macro with the MAC DEF macroname command,
whereby macroname indicates the name of the macro.
➢ If you want to cancel the selection of the startup macro and do not want to define
another macro as the startup macro, only send MAC DEF.
➢ Get the name of the currently defined startup macro by sending the MAC DEF?
command.
Example: Preparing an axis for operation via a startup macro
When macros are recorded on the Controller macros tab in PIMikroMove, the MAC BEG and
MAC END commands must be left out.
The STARTCL macro switches joystick control off and the servo mode on for axis 1 and starts a
reference move to the negative limit switch. As STARTCL is defined as the startup macro, axis 1
is ready for closed-loop operation immediately after switch-on.
➢ Send:
MAC BEG startcl
JON 1 0
SVO 1 1
DEL 1000
FNL 1
MAC END
MAC DEF startcl
When this macro is used, the parameter settings of the C-863.12's parameter settings should
be adapted to the connected positioner in the nonvolatile memory. Alternatively, the
parameter settings can also be configured in the volatile memory via the startup macro. For
further information, see "Adapting Settings" (p. 231).