EasyManua.ls Logo

PI MS249E - Page 179

PI MS249E
279 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
8 GCS Commands
C-863.12 Mercury Controller MS249E Version: 1.2.1 173
1 = The error is ignored and the macro continues to run.
MAC ERR? always reports the last error that occurred while
the a macro was running irrespective of the parameter
setting.
The following commands provided by the C-863.12 can
only be used in macros:
DEL (p. 142), JRC (p. 169), MEX (p. 176) and WAC (p. 205).
A macro can start another macro. The maximum number
of nesting levels is 5. A macro can call itself to form an
infinite loop.
All commands can be sent from the command line while a
macro is running. The macro content and motion
commands received from the command line can overwrite
each other.
Macro execution can be stopped with #24 (p. 128) and STP
(p. 195).
It is not possible to run several macros simultaneously.
Only one macro can be run at a time.
A macro cannot be deleted while it is running.
You can query with #8 (p. 127) if a macro is currently
running on the controller.
Note: The number of write cycles in the nonvolatile
memory is limited. Only record macros if this is necessary.
MAC? (List Macros)
Description:
Lists macros or content of a specified macro.
Format:
MAC? [<macroname>]
Arguments
<macroname>: name of the macro where the content is to
be listed; if not specified, the names of all stored macros
are listed.
Response:
<string>
If <macroname> was specified, <string> is the content of
this macro;
If <macroname> was not specified, <string> is a list with

Table of Contents

Related product manuals