Omron CP - PROGRAMMING MANUAL 05-2007 Programming Manual page 286

Cp1h/cp1l cpu unit
Table of Contents

Advertisement

Data Movement Instructions
Examples
3-7-5
MOVE BIT: MOVB(082)
Purpose
Ladder Symbol
Variations
Applicable Program Areas
Operands
Operand Specifications
When CIO 0.01 is ON in the following example, the status of the bits in D1001
and D1000 are inverted and the result is copied to D2001 and D2000. (The
original contents of D1001 and D1000 are left unchanged.)
0.01
D1000
D2000
D1001
D1000
D2001
D2000
Transfers the specified bit.
MOVB(082)
S
C
D
Variations
Executed Each Cycle for ON Condition
Executed Once for Upward Differentiation
Executed Once for Downward Differentiation Not supported
Immediate Refreshing Specification
Block program areas
OK
OK
C: Control Word
The rightmost two digits of C indicate which bit of S is the source bit and the
leftmost two digits of C indicate which bit of D is the destination bit.
15
8
7
C
m
Destination bit: 00 to 0F
(0 to 15 decimal)
Area
CIO Area
Work Area
Holding Bit Area
S: Source word or data
C: Control word
D: Destination word
Step program areas
Subroutines
OK
0
n
Source bit: 00 to 0F
(0 to 15 decimal)
S
CIO 0 to CIO 6143
W0 to W511
H0 to H511
Section 3-7
MOVB(082)
@MOVB(082)
Not supported
Interrupt tasks
OK
C
D
253

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents