IAI America ASEL User Manual

Page 217

Advertising
background image

Part 2 Programs

Chapter 3 Explanation of Commands

195

Part 2 Programs

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.

Advertising