63
4
4 Instructions 4.1.3 Output Instructions
Example 1:
The action generated by the following instruction is the same as that generated by the ALTP instruction:
Example 2:
Introduce a timer to the instruction ow for convenient output of an oscillator. (The STMR instruction
achieves the same result). See the following gure.
BOUT: Bit data output
◆
Overview
The BOUT instruction outputs the logical operation result prior to this instruction to the designated element.
BOUT D n
Bit data output
Applicable model:
H3U
D Output
data
Element number of the output data 16-bit instruction (5
steps)
BOUT: Continuous
execution
32-bit instruction (9
steps)
DBOUT:
Continuous
execution
n Output
bit
Designated output bit; value range: 0 to 15 (16-bit
instruction) or 0 to 31 (32-bit instruction)
◆
Operands
Operand
Bit Element Word Element
System·User System·User Bit Designation Indexed Address Constant
Real
Number
D X Y M T C S SM D R T C SD KnX KnY KnM KnS KnSM
V,Z
Modication K H E
n X Y M T C S SM D R T C SD KnX KnY KnM KnS KnSM
V,Z
Modication K H E
Note: The elements in gray background are supported.
◆
Application
Initial value of D100 = 2#1010 (decimal K10)
When R200 = 2 and M100 = ON, bit 2 of D100 is set to get the result D100 = 2#1110 (decimal K14).