C-863.12 Mercury Controller MS249E Version: 1.2.1 135
<Variable> is the name of the variable to which the
command response is to be copied.
<CMD?> is one query command in its usual notation. The
response has to be a single value and not more.
Local variables can be set using CPY in macros only.
Using the following macro, it is possible to connect through
the digital input and output lines of the controller. 1 is a
local variable whose value must be specified as argument
of the MAC START or MAC NSTART command when
starting the macro.
Write the "connect" macro:
MAC BEG connect
CPY 1 DIO? 0
DIO 0 $1
MAC START CONNECT
MAC END
It is possible to copy the value of one variable (e.g.,
SOURCE) to another variable (e.g., TARGET):
CPY TARGET VAR? SOURCE
CST? (Get Assignment Of Stages To Axes)
Returns the name of the connected positioner type for the
queried axis.
<AxisID> is one axis of the controller
{<AxisID>"="<string> LF}
where
<string> is the name of the positioner type assigned to the
axis.
The positioner name is read from the Stage Name
parameter (ID 0x3C) whose factory default value is
"DEFAULT_STAGE". You can set the parameter value to the