Chapter 6 Instruction Details
XBC E-Type Main Unit 6-310 Ve r. 1
6.45.2 BOUT
Instruction
Step
P M K F L T C S Z D.x
R.x
U N D R
BOUT
2 - - -
Operand Description Data Size
D Word area of the relevant device WORD
n n
th
bit in Word area WORD
1) BOUT
(1) This instruction outputs a present operation result to n
th
bit of specified D area.
(2) It takes only the lower 4 bits of “n” value to decide bit position. Therefore, it doesn’t cause an error
when “n” value exceeds the Word’s range.
2) Program Example
When M00002 is ON, 7th bit (b17) of D00001 becomes ON.