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

  • 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 294
271
Part 4 Commands
z PGST (Get program 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 PGST
Variable
number
Program
number
CP
[Function] Store in the variable specified in operand 1 the status (program error number) of the
program specified in operand 2.
(Note 1) If the obtained result is “0,” it means no program error is present.
(Note 2) Although the error lists are written in hexadecimals, the status to be stored (program error
number) is a decimal. Therefore, the decimal program error numbers must be converted to
hexadecimals.
[Example] PGST 1 2 Read the error number for program No. 2 to variable 1.
Vue de la page 294
1 2 ... 290 291 292 293 294 295 296 297 298 299 300 ... 557 558

Commentaires sur ces manuels

Pas de commentaire