EasyManua.ls Logo

Omron CJ - INSTRUCTIONS

Omron CJ - INSTRUCTIONS
1308 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
289
3. Instructions
CS/CJ/NSJ Series Instructions Reference Manual (W474)
Data Movement Instructions
3
MOVB
Function
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
bit of the source word (CIO 200) is copied to the
12
th
bit of the destination word (CIO 300) in accordance with the control word's value of 0C05.
MOVB(082) copies the specified bit (n) from S
to the specified bit (m) in D.
0 C 0 5
D:300
S:200
C:D200
200
D200
300
0.00

Table of Contents

Related product manuals