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

  • 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 210
187
Part 4 Commands
z PAXS (Read axis pattern)
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 PAXS
Variable
number
Position
number
CP
[Function] Store the axis pattern at the position specified in operand 2 to the variable specified in
operand 1.
[Example 1] PAXS 1 98 Read the axis pattern at position 98 to variable 1.
If the position is given as follows, “3” (binary 0011) will
be read to variable 1.
[Example 2] LET 1 3 Assign 3 to variable 1.
LET 2 101 Assign 101 to variable 2.
PAXS *1 *2 Read the axis pattern at the content of variable 2
(position 101) to the content of variable 1 (variable 3).
If the point is given as follows, “8” (binary 1000) will be
stored in variable 3.
The table below shows different positions and corresponding values stored in a
variable.
0 0 1 1 = 2 + 1 = 3
0 1 0 1 = 4 + 1 = 5
0
1 0 0 0 = 8
Vue de la page 210
1 2 ... 206 207 208 209 210 211 212 213 214 215 216 ... 557 558

Commentaires sur ces manuels

Pas de commentaire