3-31
1
2
3
4
2
6
7
8
3.6 Cautions on Programming (Operation Errors)
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)
User Program
Image of D device
Internal user
device
Extended data
register (D)
FMOV K0 D100 K200
FMOV K0 D12200 K200
FMOV K0 D20000 K200
D100
D12200
D199
D20100
D12299
D20299
Data block where the device number
crosses over the boundary between the
internal user device and the extended data
register (D) cannot be handled.