File Register Range Exceeded
Mitsubishi Electric · MELSEC-Q/L Common Instruction
What does 4101 mean?
This error indicates that an index modification operation has attempted to access a memory location beyond the defined boundaries of the file register (ZR), extended data register (D), or extended link register (W). This can lead to unexpected program behavior or data corruption if not addressed. The system will report this error when an out-of-range address is generated by an indexed device.
Common Causes
- Index modification result of file register (ZR) exceeds its defined range (e.g., ZR100 modified to an address beyond its capacity).
- Index modification result of extended data register (D) exceeds its defined range (e.g., D14196 modified to an address beyond its capacity).
- Index modification result of extended link register (W) exceeds its defined range (e.g., W2DC0 modified to an address beyond its capacity).
- An index register (Z0, Z1, etc.) contains a value that, when applied to a base register, results in an address outside the allocated memory block.
Repair Steps & Checklist
Click steps to track your progress.
- 1
Review the program for all index modification instructions involving ZR, D, and W registers.
- 2
Verify the current values and usage of index registers (e.g., Z0, Z1) in instructions like MOV K1234 Z0 to ensure they remain within expected bounds.
- 3
Check the declared sizes and ranges of the file registers (ZR), extended data registers (D), and extended link registers (W) for the specific CPU module in the system configuration.
- 4
Adjust the program logic or register allocation to ensure that index modifications do not result in memory addresses exceeding the valid ranges of the respective registers.