7.14 Switch Instructions
7.14.1 Switching file register block numbers
7-313
7
APPLI
C
A
T
IO
N
INSTRUCTIONS
RSET
RSET
When switching block number from block No. 0 to block No. 1
Be cautious when a file register (R) is refreshed and the block No. of the file
register is switched with the RSET instruction.
For the restrictions on file registers, refer to Section 3.11.
O
peration Error
In any of the following cases, an operation error occurs, the error flag (SM0) is turned ON, and
the corresponding error code is stored to SD0.
• The block number specified for
does not exist.
(Error code: 4100)
• There is no file register for the specified block number.
(Error code: 4101)
Example
Process
i
ng
execute
d
to
f
il
e
reg
i
sters
S
ett
i
ng
of
a
bl
oc
k
num
b
er
R0
R32767
R32767
R0
R32767
R0
s
B
l
oc
k
B
l
oc
k
B
l
oc
k
C
urrent
ly
use
d
f
il
e
reg
i
ster
Fil
e
reg
i
ster
use
d
after
the
execut
i
on
of
RSET
i
nstruct
i
on
(
)
0
1
n
(
)
s
Содержание MELSEC Q Series
Страница 1: ...Structured Programming Manual Mitsubishi Programmable Controller QCPU Common Instructions ...
Страница 2: ......
Страница 14: ...A 12 MEMO ...
Страница 340: ...6 178 MEMO MTR ...
Страница 708: ...7 368 MEMO ...
Страница 776: ...8 68 MEMO ...
Страница 796: ...9 20 MEMO ...
Страница 804: ...App 8 MEMO ...
Страница 812: ...Index 8 MEMO ...
Страница 815: ......