7-337
RSET(P)
1
2
3
4
6
6
7
8
7.14 File register switching instructions
7.14.1 Switching file register numbers (RSET(P))
7.14 File register switching instructions
7.14.1 Switching file register numbers (RSET(P))
RSET(P)
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.
When switching block number from block No. 0 to block No. 1
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 Section 3.10.
: 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)
Setting
Data
Internal Devices
R, ZR
J\
U\G
Zn
Constants
K, H
Other
Bit Word Bit Word
––
Basic
Process
High
performance
Redundant
Universal
RSET
RSETP
Command
Command
RSET
RSETP
S
S
S
S
S
Example
Processing executed to file registers
Setting of a
block number
R0
R32767
R32767
R0
R32767
R0
S
Block
Block
Block
Presently
used file
register
File register
used after the
execution of
RSET
instruction
(
)
0
1
n
(
)