
MAC Call Macro Function
Used in: Motion in closed-loop operation (32)
Description:
Calls a macro function.
Long description
Possible macro functions are described separately:
■
■
■
■
■
■
■
■
Format:
MAC␣<Keyword>{␣<Parameter>}
Arguments:
<Keyword>
Macro function called
<Parameter>
Function-dependent parameters
Troubleshooting:
Macro recording is active
MAC BEG Call Macro Function: BEG
Description:
Start recording a macro.
Long description
Format:
MAC␣BEG␣<MacroName>
Arguments:
<MacroName>
Macro name
MAC DEF Call Macro Function: DEF
Description:
Specifies a macro as startup macro.
Format:
MAC␣DEF␣<MacroName>
Arguments:
<MacroName>
Name of the macro that is specified as startup
macro
A startup macro is not used when no arguments are specified.
MAC DEF? Call Macro Function: DEF?
Description:
Queries the name of the startup macro.
Format:
MAC␣DEF?
Response:
[<MacroName>]
␊
<MacroName>
Startup macro name
9 COMMAND REFERENCE
PZ285EN
‒
1/30/2019
145
M O T I O N | P O S I T I O N I N G