Block Set - Bset(71) - Omron C200H Operation Manual

Hide thumbs Also See for C200H:
Table of Contents

Advertisement

Data Movement
Flags
Example
00000
5-14-5
BLOCK SET – BSET(71)
Limitations
Description
Bit
15
.
.
.
S
0
Bit
15
D
0 0 0 0 1 1 1 0 0 0 1 0 0 0 0 1
D+1
1 1 0 1 0 0 1 0 0 1 1 1 0 0 0 1
D+2
0 0 0 1 1 0 1 1 0 0 1 0 0 1 1 1
1 0 0 0 0 0 1 1 0 0 0 0 0 1 1 1
D+3
.
.
.
.
.
.
D+15
0 1 1 1 0 0 0 1 1 0 0 0 1 0 1 0
ER:
The bit designator C is not BCD, or it is specifying a non-existent bit
(i.e., bit specification 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.)
EQ:
ON when the content of S is zero; otherwise OFF.
The following example shows how to use WTC(64) to move the contents of
word DM 0100 (00 to 15) to bit column 15 of the set (DM 0200 to DM 0215).
WTC(64)
DM 0100
DM 0200
#0015
Ladder Symbols
BSET(71)
@BSET(71)
S
St
E
St must be less than or equal to E, and St and E must be in the same data
area.
When the execution condition is OFF, BSET(71) is not executed. When the
execution condition is ON, BSET(71) copies the content of S to all words
from St through E.
Bit
00
.
.
.
.
0 1
1
1
C
Bit
00
.
.
.
.
.
.
Address Instruction
00000
LD
00001
WTC(64)
IR, SR, AR, DM, HR, TC, LR, #
S
St
E
Section 5-14
Operands
00000
DM
0100
DM
0200
#
0015
Operand Data Areas
S: Source data
St: Starting word
IR, AR, DM, HR, TC, LR
E: End Word
IR, AR, DM, HR, TC, LR
135

Advertisement

Table of Contents
loading

Table of Contents