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

Table of Contents

Advertisement

Function
MOVB(082) copies the specified bit (n) from S
to the specified bit (m) in D.
Hint
The same word can be specified for both S and D to copy a bit within a word.
Precautions
The other bits in the destination word are left unchanged.
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 0C05.
0.00
CS/CJ/NSJ Series Instructions Reference Manual (W474)
200
D200
300
S:200
D:300
th
bit of the source word (CIO 200) is copied to the
C:D200
0 C
3. Instructions
0 5
3
287

Advertisement

Table of Contents
loading

Table of Contents