567
QDRSET, QDRSETP
1
2
3
4
4
6
7
8
7.14
File
register
switching instr
uctions
7.14.2
Q
DRSET, QDRSETP
Program
E
xamp
l
e
(1) The following program compares R0 of block No. 0 and R0 of block No. 1.
[Ladder Mode]
[List Mode]
[Operation]
: 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)
QDRSET, QDRSETP
File setting for file register
7.14.2
QDRSET, QDRSETP
• Universal model QCPU: Models other than Q00UJCPU
Setting
Data
Internal Devices
R, ZR
J \
U \G
Zn
Constants
$
Other
Bit
Word
Bit
Word
––
––
––
Designates block No. 0
Executes reading R0 of block No.0
Designates block No. 1
Executes reading R0 of block No.1
Compares the read
v
alues
Step
I
nstruct
i
on
De
vi
ce
Y41 turns ON since D0<D1
756
Block No. 0
R3
R1
R2
R0
R4
R5
-7981
5001
128
-3216
9610
0
Block No. 1
R3
R1
R2
R0
R4
R5
3911
9330
-1762
756
-5
-3781
D0
D1
-3216
L
CP
U
Bas
i
c
Process
High
performance
Redundant Universal
Ver.
QDRSET
QDRSETP
Command
Command
Q
DRS
ET
Q
DRS
ET
P
S
S
S
S