Iai-america XSEL-QX Manuel d'utilisateur Page 294

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 558
  • Table des matières
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 293
270
Part 4 Commands
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 + 4
= C74 (HEX) (Hexadecimal number)
Therefore, an “Error No. C74, Actual-position soft limit over error” is present.
Vue de la page 293
1 2 ... 289 290 291 292 293 294 295 296 297 298 299 ... 557 558

Commentaires sur ces manuels

Pas de commentaire