Mitsubishi MELSEC-Q/L Programming Manual page 568

Table of Contents

Advertisement

RSET, RSETP
7.14
File register switching instructions
7.14.1
RSET, RSETP
Switching file register block numbers
7.14.1
RSET, RSETP
RSET
RSETP
: Block number data used to change the block number or the number of the device where the block number data is stored (BIN 16 bits)
S
Setting
Internal Devices
Data
Bit
Word
S
Function
(1) Changes the file register block number used in the program to the block number stored in the device designated at
Following the block number change, all file registers used in the sequence program are processed to the file register of
the block number after the change.
Example
When switching block number from block No. 0 to block No. 1
R0
Block
0
Presently
(
used file
register
R32767
When a file register (R) is refreshed and the block No. of the file register is switched with the RSET instruction, follow
restrictions.
For the restrictions on file registers, refer to Page 119, Section 3.10.
Operation Error
(1) In any of the following cases, an operation error occurs, the error flag (SM0) turns ON, and an error code is stored into
SD0.
Error
code
4100
The block number specified in
4101
There is no file register for the specified block No.
566
Command
Command
J
\
R, ZR
Bit
Processing executed to file registers
R0
Block
1
File register
(
)
)
used after the
execution of
RSET
R32767
instruction
Error details
does not exist.
S
High
Basic
performance
• Universal model QCPU: Models other than Q00UJCPU
U
\G
Word
Setting of a
S
block number
R0
Block
n
R32767
Q00J/
Q00/
QnH
Q01
––
––
––
––
Ver.
Process
Redundant Universal
LCPU
RSET
S
RSETP
S
Constants
Zn
Other
K, H
QnPH QnPRH
QnU
––
––
––
––
––
.
S
LCPU

Advertisement

Table of Contents
loading

Table of Contents