Omron CJ - INSTRUCTIONS Reference Manual page 1165

Table of Contents

Advertisement

Function
MOVBC(568) copies the specified bit (n) from S to the specified bit (m) in D.
Note The other bits in the destination word are left unchanged.
Hint
• The same word can be specified for both S and D to copy a bit within a word.
Example Programming
When CIO 0.00 is ON in the following example, the 5
th
12
bit of the destination word (CIO 300) in accordance with the control word's value of 1205.
0.00
CS/CJ/NSJ Series Instructions Reference Manual (W474)
C
D
S:
D:
th
bit of the source word (CIO 200) is copied to the
1 2
C: D
3. Instructions
0 5
1127
3

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents