
7 Operation
100
Version: 1.2.1
MS249E
C-863.12 Mercury Controller
INFORMATION
Basically all GCS commands (p. 115) can be included in a macro. Exceptions:
▪
RBT
for rebooting the C-863.12
▪
MAC BEG
and
MAC END
for macro recording
▪
MAC DEL
for deleting a macro
Query commands can be used in macros in conjunction with the
CPY
,
JRC
,
MEX
, and
WAC
commands. Otherwise they have no effect, since macros do not send any responses to
interfaces.
INFORMATION
If you record a macro on a C-863.12 whose controller address is different to 1, note the
following when entering the commands that are to be an element of the macro:
▪
If you are working with PITerminal and have established communication with the
Connect…
button, the target address has to be typed in in every command line.
▪
If you are working with PIMikroMove or have established communication with PITerminal
using the
GCS DLL…
button, the target address is automatically sent and may not be typed
in.
INFORMATION
To make the use of macros more flexible, you can use local and global variables in macros. For
further information, see "Variables" (p. 118).
INFORMATION
The number of write cycles in the nonvolatile memory is restricted by the limited lifetime of
the memory chip.
➢
Only record macros if it is necessary.
➢
Use variables (p. 118) in macros to make macros more flexible, and give the corresponding
variable values when starting macro execution.
➢
Contact our customer service department (p. 259) if the C-863.12 shows unexpected
behavior.
INFORMATION
A macro is overwritten if a macro with the same name is re-recorded.
1.
Start the macro recording.
−
If you are working with PITerminal or in the
Command entry
window of
PIMikroMove: Send the
MAC BEG macroname
command, where
macro name
indicates the name of the macro.