
MAC DEL Call Macro Function: DEL
Description:
Deletes the specified macro.
Format:
MAC␣DEL␣<MacroName>
Arguments:
<MacroName>
Macro name to be deleted
MAC END Call Macro Function: END
Description:
Ends macro recording.
Format:
MAC␣END
MAC ERR? Call Macro Function: ERR?
Description:
Reports the last error that occurred while the macro was running.
Format:
MAC␣ERR?
Response:
<MacroName>
␣
<uint1>=<uint2>"<"<CMD>">"
<MacroName>
Name of the macro
<uint1>
Line in the micro where the error occurred
<uint2>
Error code
<CMD>
Bad command
MAC NSTART Call Macro Function: NSTART
Description:
Runs the specified macro several times.
Long description
The macro is restarted when the last macro recording has comple-
ted, until <uint> has been reached.
Format:
MAC␣NSTART␣<Macro‐
Name>␣<uint>[␣<String1>[␣<String2>[␣<String3>[␣<String4>]]]
]
Arguments:
<MacroName>
Macro name
<uint>
Number of runs
<String1...4>
Local variables 1 to 4
Troubleshooting:
No local variables specified although local variables are used in the
macro
9 COMMAND REFERENCE
PZ285EN
‒
1/30/2019
146
M O T I O N | P O S I T I O N I N G