EasyManua.ls Logo

Omron CP - PROGRAMMING MANUAL 05-2007 - Page 287

Omron CP - PROGRAMMING MANUAL 05-2007
1175 pages
Print Icon
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...
254
Data Movement Instructions Section 3-7
Description MOVB(082) copies the specified bit (n) from S to the specified bit (m) in D.
The other bits in the destination word are left unchanged.
Note The same word can be specified for both S and D to copy a bit within a word.
Flags
Examples When CIO 0.00 is ON in the following example, the 5
th
bit of the source word
(D0) is copied to the 12
th
bit of the destination word (D1000) in accordance
with the control words value of 0C05.
Auxiliary Bit Area A0 to A959 A448 to A959
Timer Area T0000 to T4095
Counter Area C0000 to C4095
DM Area D0 to D32767
Indirect DM addresses
in binary
@ D0 to @ D32767
Indirect DM addresses
in BCD
*D0 to *D32767
Constants #0000 to #FFFF
(binary)
Specified values
only
---
Data Registers DR0 to DR15
Index Registers ---
Indirect addressing
using Index Registers
,IR0 to ,IR15
–2048 to +2047, IR0 to –2048 to +2047, IR15
DR0 to DR15, IR0 to IR15
,IR0+(++) to ,IR15+(++)
,–(– –) IR0 to, –(– –) IR15
Area S C D
Name Label Operation
Error Flag ER ON if the rightmost and leftmost two digits of C are not
within the specified range of 00 to 0F.
OFF in all other cases.
0 C 0 5
C: D200
S: D0
D: D1000
0.00
D0
D200
D1000

Table of Contents

Related product manuals