Iai-america XSEL-KX Manuel d'utilisateur Page 117

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 377
  • Table des matières
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 116
101
Part 4 Commands
OUT (Write output, flag as binary)
Extension condition
(LD, A, O, AB, OB)
Input condition
(I/O, flag)
Command, declaration
Output
(Output, flag)
Command,
declaration
Operand 1 Operand 2
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 write data format can be changed using a FMIO command.
(Refer to the FMIO command.)
(This function is available in main application version 0.25 or later.)
[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 116
1 2 ... 112 113 114 115 116 117 118 119 120 121 122 ... 376 377

Commentaires sur ces manuels

Pas de commentaire