File Register Switching Instructions; Switching File Register Block Numbers - Mitsubishi Electric MELSEC-Q/L Programming Manual

Hide thumbs Also See for MELSEC-Q/L:
Table of Contents

Advertisement

7.14

File Register Switching Instructions

Switching file register block numbers

RSET(P)
Ver.
High
Basic
Process
Redundant Universal
performance
• Q00JCPU cannot be used.
• Universal model QCPU: Models other than Q00UJCPU
RSET
RSETP
(S): 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
Internal device
data
Bit
Word
(S)
Processing details
• Changes the file register block number used in the program to the block number stored in the device designated at (S).
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.
Ex.
When switching block number from block No. 0 to block No. 1
Processing executed to file registers
R0
Block
0
(
)
Presently
used file
register
R32767
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 126 Precautions for Use of File Registers.
Ver.
LCPU
Command
Command
R, ZR
J\
Bit
R0
Block
1
(
)
File register
used after the
execution of
RSET
R32767
instruction
U\G
Word
Setting of a
S
block number
R0
Block
n
7 APPLICATION INSTRUCTIONS
7.14 File Register Switching Instructions
RSET
S
RSETP
S
Zn
Constant
Others
K, H
7
677

Advertisement

Table of Contents
loading

Table of Contents