Omron CJ - REFERENCE MANUAL 02-2010 Reference Manual page 1144

Table of Contents

Advertisement

3. Instructions
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
1108
C
D
S:
D:
th
bit of the source word (CIO 200) is copied to the
1 2
C: D
CS/CJ/NSJ Series Instructions Reference Manual (W474)
0 5

Advertisement

Table of Contents
loading

Table of Contents