
8 GCS Commands
C-863.12 Mercury Controller
MS249E
Version: 1.2.1
117
The arguments are listed in the response in the same order as in the query command.
Query command:
CMD?
SP
<Arg3>
SP
<Arg1>
SP
<Arg2>
LF
Response to this command:
<Arg3>"="<Val3>
SPLF
<Arg1>"="<Val1>
SPLF
<Arg2>"="<Val2>
LF
Example 5:
Send:
TSP?
SP
2
SP
1
LF
Receive:
2=-1158.4405
SPLF
1=+0000.0000
LF
INFORMATION
With the C-863.12 only a single element per command line can be addressed (e. g. axis or
parameter).
Example:
By sending command line
SEP 100 1 0x32 0
a new value of parameter 0x32 is saved in nonvolatile memory for axis 1,
sending command line
SEP 100 1 0x32 0 1 0x14 1
is not possible, however, because two parameters are to be changed.
If the command supports this, all elements can be addressed by omitting the element
identifier.
Example:
By sending command line
SEP?
all parameters from the nonvolatile memory are queried.
8.3
Target and Sender Address
In principle, the addresses of the target controller and the sender are required in every
command line. This applies even to single-character commands like #4 or to macro recording.
Because only the PC may send command lines to the controllers, its address (0) does not need
to be specified. However, both target and sender address are part of any controller response.
Multiline responses contain the target and sender address in the first line