Part 4 Commands
OUT (Write output, flag as binary)
Extension condition
(LD, A, O, AB, OB)
Input condition
(I/O, flag)
Output
(Output, flag)
Operand 1 Operand 2
Optional Optional OUT Output, flag Output, flag CC
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
1 0 0 0 0 1 0 1 Binary
ON OFF OFF OFF OFF ON OFF ON
A maximum of 32 bits can be output.
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.)
Write the value in variable 99 to output ports 300
through 307 as a binary.
Assign 300 to variable 1.
Assign 307 to variable 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.
Commentaires sur ces manuels