7-339
QDRSET(P)
1
2
3
4
6
6
7
8
7.14 File register switching instructions
7.14.2 Setting files for file register use (QDRSET(P))
7.14.2 Setting files for file register use (QDRSET(P))
QDRSET(P)
Function
(1) Changes the file register file name used in the program to the file name being stored at the
device designated by .
After the file names have been changed, all the file registers being used by the sequence
program process the file register of the block No. 0 of the renamed file.
Block number switches are performed by the RSET instruction.
When switching from Drive No. 1/File name B to Drive No. 3/File name A
: Character string data of the drive No./file name in which the file register is set, or head number of the devices
where the character string data is stored (character string)
Setting
Data
Internal Devices
R, ZR
J\
U\G
Zn
Constants
$
Other
Bit Word Bit Word
–– –– ––
Process
High
performance
Redundant
Universal
Basic
QDRSET
QDRSETP
Command
Command
QDRSET
QDRSETP
S
S
S
S
S
Example
S
Drive 1
File name
A
Drive 1
File name
B
Drive 1
File name
C
Drive 2
File name
A
Drive 3
File name
A
Drive 4
File name
A
Processing executed to file registers
Setting of a drive number
and file name
File name of
the presently
used file register
(
)
File name of file
register used after
the execution of
QDRSET instruction
(
)