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

  • 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 187
164
Part 4 Commands
z OUT (Write output, flag as binary)
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 OUT Output, flag Output, flag CC
[Function] Write the value in variable 99 to the output ports or flags from the one specified in operand
1 through the other specified in operand 2.
133
Variable 99
Upper Lower
1 0 0 0 0 1 0 1
Binary
307 306 305 304 303 302 301 300
Output port number
ON OFF OFF OFF OFF ON OFF ON
(Note 1) A maximum of 32 bits can be output.
(Note 2) The data format used for read can be changed using a FMIO command (refer to the
explanation of the FMIO command).
[Example 1] OUT 300 307 Write the value in variable 99 to output ports 300
through 307 as a binary.
[Example 2] LET 1 300 Assign 300 to variable 1.
LET 2 307 Assign 307 to variable 2.
OUT *1 *2 Write the value in variable 99 to the output ports from
the content of variable 1 (output port 300) through the
content of variable 2 (output port 307) as a binary.
Vue de la page 187
1 2 ... 183 184 185 186 187 188 189 190 191 192 193 ... 557 558

Commentaires sur ces manuels

Pas de commentaire