7-340
QDRSET(P)
(2) Drive number can be designated from 1 to 4.
(The drive number cannot be designated as drive 0 (program memory/internal memory).)
Note that available drives vary depending on the CPU module used.
Refer to the manual of the CPU module and check the drives that can be specified.
(3) It is not necessary to designate the extension (.QDR) with the file name.
(4) A file name setting can be deleted by designating the NULL character (00
H
) for the file
name.
(5) File names designated with this instruction will be given priority even if a drive number and
file name have been designated in the parameters.
1. If the file name is changed with the QDRSET instruction, the file name returns
to the name specified by the parameter when the CPU module is switched from
STOP to RUN. To maintain the file name even after the CPU mode is changed
from STOP to RUN, execute the QDRSET instruction with the SM402 special
relay, which turns ON during one scan when the CPU enters from STOP to
RUN mode.
2. For refreshing a file register, do not change the file name of the file register with
the QDRSET instruction. For restrictions on file registers, refer to Section 3.10.
Operation Error
(1) In the following case, an operation error occurs, the error flag (SM0) turns ON, and an error
code is stored into SD0.
• File name does not exist at the drive number designated by . (Error code: 2410)
S