EasyManua.ls Logo

Omron C200H - Move Bit - Movb

Omron C200H
374 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...
139
Of must be a BCD. SBs must be in the same data area as SBs+Of.
When the execution condition is OFF, COLL(81) is not executed. When the
execution condition is ON, COLL(81) copies the content of SBs + Of to D,
i.e., Of is added to SBs to determine the source word.
2
D
3452
SBs + Of
345
Flags ER: Of is not BCD, or when added to the SBs, or when added to the SBs,
the resulting address lies outside the data area of the SBs.
Indirectly addressed DM word is non-existent. (Content of *DM word
is not BCD, or the DM area boundary has been exceeded.)
EQ: ON when the content of S is zero; otherwise OFF.
5-14-10 MOVE BIT – MOVB(82)
S: Source word
IR, SR, AR, DM, HR, LR, #
Bi: Bit designator (BCD)
IR, AR, DM, HR, TC, LR, #
Ladder Symbols
Operand Data Areas
D: Destination word
IR, AR, DM, HR, LR
MOVB(82)
S
Bi
D
@MOVB(82)
S
Bi
D
Limitations The rightmost two digits and the leftmost two digits of Bi must each be be-
tween 00 and 15.
When the execution condition is OFF, MOVB(82) is not executed. When the
execution condition is ON, MOVB(82) copies the specified bit of S to the spe-
cified bit in D. The bits in S and D are specified by Bi. The rightmost two dig-
its of Bi designate the source bit; the leftmost two bits designate the destina-
tion bit.
1
Bi
120
Source bit (00 to 15)
Destination bit (00 to 15)
0 0 0 1 001000000001
Bit
15
Bit
00
0101010001110001
0100010001110001
S
D
Bi
1201
Bit
15
Bit
15
Bit
00
Bit
00
LSBMSB
Flags ER: C is not BCD, or it is specifying a non-existent bit (i.e., bit specifica-
tion must be between 00 and 15).
Indirectly addressed DM word is non-existent. (Content of *DM word
is not BCD, or the DM area boundary has been exceeded.)
Limitations
Description
Description
Data Movement Section 5-14

Table of Contents

Related product manuals