Omron SYSMAC CS Series Instruction & Reference Manual page 247

Hide thumbs Also See for SYSMAC CS Series:
Table of Contents

Advertisement

Function
BSET(071) copies the same source word (S)
to all of the destination words in the range St
to E.
Precautions
• Some time will be required to complete BSET(071) when a large number of words is being set. Even
if an interrupt occurs, execution of this instruction will not be interrupted and execution of the interrupt
task will be started after execution of BSET(071) has been completed. If power is interrupted during
execution of BSET(071), execution may not be completed, i.e., all of the specified words may not be
set. One BSET(071) instruction can be replaced with two BSET(071) instructions to help avoid this
problem.
BSET
#0000
D1000
D1999
Example Programming
When CIO 0.00 is ON in the following example, the source data in D100 is copied to D200 through
D209.
0.00
D100
S
D200
St
D209
E
CS/CJ/NSJ Series Instructions Reference Manual (W474)
BSET
#0000
D1000
D1499
BSET
#0000
D1500
D1999
S : D100
Source word
Destination words
St
E
St:
St: D200
D201
D202
D203
D204
D205
D206
D207
D208
E:
E: D209
3. Instructions
3
213

Advertisement

Table of Contents
loading

Table of Contents