Omron CJ - INSTRUCTIONS REFERENCE MANUAL 07-2009 Reference Manual page 318

Programmable controllers
Hide thumbs Also See for CJ - INSTRUCTIONS REFERENCE MANUAL 07-2009:
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.
Sample program
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
281

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the CJ - INSTRUCTIONS REFERENCE MANUAL 07-2009 and is the answer not in the manual?

Questions and answers

Table of Contents