EasyManua.ls Logo

PI MS249E - Page 141

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 135
Arguments:
<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.
Response:
None
Notes:
Local variables can be set using CPY in macros only.
Example 1:
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
Example 2:
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)
Description:
Returns the name of the connected positioner type for the
queried axis.
Format:
CST? [{<AxisID>}]
Arguments:
<AxisID> is one axis of the controller
Response:
{<AxisID>"="<string> LF}
where
<string> is the name of the positioner type assigned to the
axis.
Notes:
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

Table of Contents

Related product manuals