Mitsubishi Electric MELSEC iQ-R Series Programming Manual page 996

Hide thumbs Also See for MELSEC iQ-R Series:
Table of Contents

Advertisement

Processing details
• These instructions change the file name of the file register used in the program to that stored in the device specified by (file
name). After the file name is changed, all file registers processed by the program are those linked to block number 0 of the
new file name. The RSET(P) instruction is used to change the block number.
Drive No. 3
File name A
• For the drive number, 1 or 3 can be specified.
• When drive 1 is specified, the drive works as drive 3. The use status of the drive is reflected to SD614. It is not reflected to
SD604.
• Extension ".QDR" need not be specified for the file name.
• Even if the drive number file name is specified by a parameter, the file name specified by the QDRSET(P) instruction takes
precedence.
• If the file name is changed by the QDRSET(P) instruction, operating the CPU module switch from STOP to
RUN restores the file name specified by the parameter. To continue to use the file name specified by the
QDRSET(P) instruction even when the CPU module switch is changed from STOP to RUN, execute the
QDRSET(P) instruction using SM402 that triggers one scan when the switch is changed from STOP to
RUN.
• When a file register is specified for the refresh device, do not use the QDRSET(P) instruction to change the
file name of the file register.
Precautions
• Even when the NULL code (0000H) is specified for the file name, the file name setting is not cleared and no processing is
performed.
• For the restrictions of the file register, refer to the following.
Page 65 Restrictions on using file registers
Operation error
Error code
Description
(SD0)
2840H
The drive number/file name specified by (file name) does not exist.
3405H
Out-of-range data is set to (file name).
• A drive number other than 1 and 3 is specified.
• Only the drive number is specified.
7 APPLICATION INSTRUCTIONS
994
7.22 File Register Operation Instructions
Processing performed to file registers
Drive No. 3
Drive No. 3
File name B
File name C
(Currently being
used)
File name
Drive No. 3
Drive No. 3
File name D
File name E
(Used after the
execution of the
QDRSET instruction)
Drive number and file name setting
Drive No. 3
File name F

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents