3. Instruction Set
API
Mnemonic Operands Function
266 D
BOUT
Output Specified Bit of a Word
Type
OP
Bit Devices Word devices Program Steps
X Y M S K H KnX
KnY
KnM
KnS
T C D E F
BOUT: 5 steps
DBOUT: 9 steps
EX2/
SS2
SA2/
SE
SX2
EX2/
SS2
SA2/
SE
SX2
EX2/
SS2
SA2/
SE
SX2
Operands:
D: Destination output device n: Device specifying the output bit
Explanations:
2. For ES2/EX2 models, only V1.20 or above supports the function.
Available range for the value in operand n: K0~K15 for 16-bit instruction; K0~K31 for 32-bit
instruction.
BOUT instruction performs bit output on the output device according to the value specified by
operand n.
Status of Coils and Associated Contacts:
Evaluation result
Coil
NO contact(normally open)
NC contact(normally closed)
Program Example:
Instruction: Operation:
LDI X0 Load NC contact X0
AND X1 Connect NO contact
X1 in series.
BOUT
K4Y0 D0
When D0 = k1,
executes output on Y1
When D0 = k2,
executes output on Y2