16 system information acquisition – IAI America SSEL User Manual
Page 227
205
Part 2 Programs
1.16 System Information Acquisition
z AXST (Get axis 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
AXST
Variable
number
Axis
number
CP
[Function] Store in the variable specified in operand 1 the status (axis error number) of the axis
specified in operand 2.
(Note 1)
If the obtained result is “0,” it means no axis error is present.
(Note 2)
Since the error lists are written in hexadecimals, they must be converted to decimals.
[Example]
AXST
1
2
Read the error number for axis 2 to variable 1.
If 3188 (decimal) is stored in variable 1 after the execution of this command:
3188
y 16 = 199
,,,4
199
y 16 = 12 (= C)
,,,7
3188 = 12 (= C) X 16
2
+ 7 X 16
2
+ 4
= C74 (HEX) (Hexadecimal number)
Therefore, an “Error No. C74, Actual-position soft limit over error” is present.
- ERC2 (138 pages)
- ERC2 (188 pages)
- ERC3 (438 pages)
- ERC (153 pages)
- RCA-E (53 pages)
- RCA-P (42 pages)
- RCB-101-MW (38 pages)
- RCP2-C (178 pages)
- RCS-E (102 pages)
- RCA-A4R (72 pages)
- RCA-RA3C (114 pages)
- RCA-SRA4R (56 pages)
- RCA2-RA2AC (100 pages)
- RCA2-SA2AC (92 pages)
- RCA2-TA4C (134 pages)
- RCD-RA1D (40 pages)
- RCP2-BA6 (72 pages)
- RCP2-GRSS (130 pages)
- RCP2-HS8C (126 pages)
- RCP2-RA2C (120 pages)
- RCP2-RTBS (80 pages)
- RCP2W-SA16C (46 pages)
- RCP3-RA2AC (60 pages)
- RCP4-RA5C (82 pages)
- RCP4-SA5C (94 pages)
- RCP4W (96 pages)
- RCS2-F5D (142 pages)
- RCS2-GR8 (46 pages)
- RCS2-RN5N (80 pages)
- RCS2-RT6 (60 pages)
- RCS2-SA4C (258 pages)
- RCS2-TCA5N (62 pages)
- RCL-SA1L (66 pages)
- RCL-RA1L (56 pages)
- RCLE-GR5L (46 pages)
- IK Series (16 pages)
- FS (84 pages)
- IF (76 pages)
- ISB (114 pages)
- ISDA (126 pages)
- ISDB (116 pages)
- ISPWA (90 pages)
- ICS(P)A (16 pages)
- NS (78 pages)
- RS (46 pages)