
User Manual
E727T0005, valid for E-727
BRO, 2019-06-28
Physik Instrumente (PI) GmbH & Co. KG, Auf der Roemerstrasse 1, 76228 Karlsruhe, Germany
Page 129 / 240
Phone +49 721 4846-0, Fax +49 721 4846-1019, Email
Example: Moving an axis via a start-up macro to a certain position in closed-loop operation
INFORMATION
When macros are recorded on the
Controller macros
tab in PIMikroMove, the
MAC BEG
and
MAC END
commands must be omitted.
Setting the servo mode via a start-up macro is not necessary because this can be done via the
value of the
Power Up Servo ON Enable
parameter (ID 0x07000800; 0 = Servo mode is not
automatically switched on; 1 = Servo mode is automatically switched on). Furthermore, the
AutoZero procedure can be executed automatically according to the value of the
Power Up
AutoZero Enable
parameter (ID 0x07000802; 0 = AutoZero procedure is not automatically
executed; 1 = AutoZero procedure is automatically executed). For that reason, the STARTCL macro
only starts the motion to the desired position which is 10 in this example.
Send:
CCL 1 advanced
SEP 100 1 0x07000800 1
SEP 100 1 0x07000802 1
MAC BEG startcl
MOV 1 10
MAC END
MAC DEF startcl
Deleting a macro
INFORMATION
A running macro may not be deleted.
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 found in the
PIMikroMove manual.
Delete a macro with the
MAC DEL
macroname
command, whereby
macroname
indicates
the name of the macro.