107
2
3
4
5
6
7
8
3.6
C
autions on
Progra
mming (
O
p
eration Err
ors)
4) Access to file registers (R, ZR) exceeded the range of file register files
Presetting PC parameter not to check indexing device range enables the Universal model QCPU not to detect an
error in the above accesses from 1) to 4).
Detecting an error in the above accesses from 1) to 4) , however, depends on the serial No. of Universal model
QCPU.
*2
*2:
For changing the settings of the PLC parameter, refer to the QnUCPU User's Manual (Function Explanation, Program
Fundamentals) or Qn(H)/QnPH/QnPRHCPU User's Manual (Function Explanation, Program Fundamentals).
When indexing is executed only with Universal model QCPU or LCPU, devices between internal user devices (SW) and file
registers (R) cannot be skipped. (Error code: 4101).
Remark
For how to change the internal user device allocation, refer to the User’s Manual (Functions Explanation, Program
Fundamentals) for the CPU module used.
(d) Device range checks are conducted when indexing is performed by direct access output (DY).
(e) Precautions for using the extended data register (D) or extended link register (W) (for the Universal model QCPU
except the Q00UJCPU, and LCPU )
With the following specification methods, data cannot be specified crossing over the boundary of the internal user
device and extended data register (D) or extended link register (W). Doing so causes "OPERATION ERROR" (error
code: 4101).
• Index modification
• Indirect specification
• Specification with the instructions that handle data blocks
*1
*1
Data block indicates the following data.
• Data used in the instructions, such as FMOV, BMOV, BK+, which multiple words are targeted for operation
• Control data, composed of two or more words, specified in the instructions, such as SP.FWRITE, SP.FREAD
• Data whose data type is 32-bit or more (BIN 32-bit, real number, indirect address of the device)
Setting device range in indexing
First 5 digits of serial No. for Universal model QCPU
Serial No.”10021” or lower
Serial No.”10022” or higer
Set
Detected errors in accesses 1) to 4)
Not set
Detected errors in accesses 2) to 4)
Not detected
User
P
r
og
ram
I
ma
g
e
o
f
D d
e
vi
ce
I
nterna
l
user
d
e
vi
ce
E
xten
d
e
d d
ata
re
gi
ster
(D)
FMO
V
K0 D100 K200
FMO
V
K0 D12200 K200
FMO
V
K0 D20000 K200
D100
D12200
D199
D20100
D12299
D20299
D
ata
b
lo
ck
where
the
d
e
vi
ce
number
cr
o
sses
ov
er
the
b
o
un
d
ary
between
the
i
nterna
l
user
d
e
vi
ce
an
d
the
exten
d
e
d d
ata
re
gi
ster
(D)
cann
o
t
be
han
dl
e
d.