
8 GCS Commands
C-863.12 Mercury Controller
MS249E
Version: 1.2.1
193
Available item
IDs and
parameter IDs:
An item is an axis (the identifier can be changed with SAI
(p. 186)) or the entire system. For further information, see
"Commandable Items" (p. 12).
Valid parameter IDs are specified in the parameter
overview (p. 239).
SRG? (Query Status Register Value)
Description:
Returns register values for queried elements and registers.
Format:
SRG? [{<ItemID> <RegisterID>}]
Arguments:
<ItemID> is the element for querying a register. See below
for details.
<RegisterID> is the ID of the specified register; see below
for available registers.
Response:
{<ItemID><RegisterID>"="<Value> LF}
where
<Value> is the value of the register; see below for more
details.
Note:
This command is identical in function to #4 (p. 126) which
should be preferred when the controller is performing
time-consuming tasks.
Possible register
IDs and response
values:
<ItemID> is one axis of the controller.
<RegisterID> can be 1.
<Value> is the bit-encoded response and is returned as the
sum of the following individual codes in hexadecimal
format:
Bit
15
14
13
12
11 10 9
8
Descript-
ion
On-target
state
Is
referencing
In
motion
Servo
mode
on
-
-
-
Error
flag
Bit
7
6
5
4
3
2
1
0
Descript-
ion
Digital
in-
put
line 4
Digital
in-
put
line 3
Digital
in-
put
line 2
Digital
in-
put
line 1
-
Positiv
e
limit
switch
Ref-
erence
switch
Nega-
tive
limit
switch