IAI America XSEL-KX User Manual

Page 210

Advertising
background image




194

Part 4 Commands


 SYST (Get system status)

Extension condition

(LD, A, O, AB, OB)

Input condition

(I/O, flag)

Command, declaration

Output

(Output, flag)

Command,
declaration

Operand 1

Operand 2

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.

Advertising
This manual is related to the following products: