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

Cp1h/cp1l cpu unit
Table of Contents

Advertisement

Data Movement Instructions
Description
Flags
Precautions
Example
0.00
S
St
E
Area
DM Area
Indirect DM addresses
in binary
Indirect DM addresses
in BCD
Constants
Data Registers
Index Registers
Indirect addressing
using Index Registers
BSET(071) copies the same source word (S) to all of the destination words in
the range St to E.
Destination words
Source word
St
E
Name
Label
Error Flag
ER
Be sure that the starting word (St) and end word (E) are in the same data area
and that St
E.
Some time will be required to complete BSET(071) when the source data is
being transferred to a large number of words. In this case, the BSET(071)
transfer might not be completed if a power interruption occurs during execu-
tion of the instruction.
When CIO 0.00 is ON in the following example, the source data in D100 is
copied to D200 through D209.
D100
D200
S: D100
D209
S
D0 to D32767
@ D0 to @ D32767
*D0 to *D32767
#0000 to #FFFF
---
(binary)
DR0 to DR15
---
---
,IR0 to ,IR15
–2048 to +2047, IR0 to –2048 to +2047, IR15
DR0 to DR15, IR0 to IR15
,IR0+(++) to ,IR15+(++)
,–(– –) IR0 to, 15–(– –) IR
Operation
ON if St is greater than E.
OFF in all other cases.
St: D200
D201
D202
D203
D204
D205
D206
D207
D208
E: D209
Section 3-7
St
E
263

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents