IAI America XSEL-QX User Manual
Page 296
272
Part 4 Commands
z SYST (Get system status)
Command, declaration
Extension condition
(LD, A, O, AB, OB)
Input condition
(I/O, flag)
Command,
declaration
Operand 1
Operand 2
Output
(Output, flag)
Optional Optional
SYST
Variable
number
Prohibited CP
[Function]
Store the system status (top-priority system error number) in the variable specified in
operand 1.
(Note 1)
If the obtained result is “0,” it means no system error is present.
(Note 2)
Since the error lists are written in hexadecimals, they must be converted to decimals.
(Note 3)
Relationship of error statuses
System errors
Program errors
Axis errors
Other errors
* An axis error that generates during operation with a program command will be
registered both as a program error and an axis error.
[Example]
SYST
1
Read the system error number to variable 1.