Chapter 4. programming – IAI America S-SEL-E User Manual
Page 170

Page 165
Chapter 4. Programming
AXST (Axis Status Acquisition)
[Function]
Stores the status (error code) of the axis in Operand 2 in the variable in Operand 1.
Only error codes that begin with the letter "A" will be stored in the register in Operand 1. These error codes are the
same ones that are displayed on the front panel of the controller. (The error codes in the table are written in
hexadecimal numbers. The hexadecimal value in the variable in Operand 1 must be converted to a decimal number
to identify its error code.)
[Example]
AXST
1
2
Read the status for Axis 2 to variable 1.
If 161 was in variable 1,
161
÷
16 = 10 ( = A) with a remainder of 1
This means that error code A1 (External Interrupt Error) occurred on Axis 2.
E x p a n s io n
c o n d itio n
( A N D · O R )
In p u t
c o n d itio n
( I/O · F la g )
C o m m a n d
P o s t
( O u tp u t p o r t · F la g )
C o m m a n d
O p e ra n d 1
O p e ra n d 2
O p tio n a l
O p tio n a l
A X S T
Va r ia b le n o .
A x is n o .