584
Troubleshooting
Section 11-2
Program Error
A program error indicates a problem with the user program. Refer to the error
information, check the program, and correct the mistakes. Clear the error
once the problem has been corrected.
Seven-segment display
Probable cause and possible remedy
8.0.
→
f.0.
→ →
0.1.
→
0.0.
→
Instruction Processing Error
If the PLC Setup has been set to stop operation for an instruction error, the Error Flag will be
turned ON when an instruction cannot be executed due to a problem in the operand data.
Refer to A298 and A299 (instruction program address when the program fails), check the spec-
ifications for the relevant instruction, and set the correct operand data.
Alternatively, set the PLC Setup to not stop operation for an instruction error.
8.0.
→
f.0.
→ →
0.2.
→
0.0.
→
Indirect DM Addressing BCD Error
If the PLC Setup has been set to stop operation for an indirect DM BCD error, the Access Error
Flag will turn ON when the content of an indirectly addressed DM operand is not BCD although
BCD mode has been selected.
Refer to A298 and A299 (instruction program address when the program fails), and correctly
set the content for the indirectly addressed DM operand (BCD mode) to BCD or change the
specified destination.
Alternatively, change the indirect addressing to binary mode or set the PLC Setup to not stop
operation for an indirect DM addressing BCD error.
→
0.4.
→
0.0.
→
Illegal Area Access Error
If the PLC Setup has been set to stop operation for an illegal access error, the Access Error
Flag will turn ON when an illegal access error has occurred.
The following operations are considered illegal access:
• Reading/writing the parameter area
• Writing to an area without memory installed
• Writing to a write-protected area
• Indirect DM addressing BCD error
Refer to A298 and A299 (instruction program address when the program fails) and take correc-
tive actions so that illegal area access errors will not occur.
→
0.8.
→
0.0.
→
No END Error
This error occurs when there is not an END(001) instruction in the program within a task. Insert
an END(001) instruction at the end of the program allocated to the task stored in A294 (task
number when the program fails).
→
1.0.
→
0.0.
→
Task Error
This error is generated by any of the following conditions.
• There is not an executable cyclic task (active). Check the properties of the executable cyclic
task and set at least one task to start when operation starts.
• There is no specified interrupt task when an interrupt is generated (input interrupt, high-speed
counter interrupt, scheduled interrupt, or external interrupt).
Create a task for the number stored in A294 (task number when the program fails).
→
0.2.
→
0.0.
→
Differentiation Overflow Error
Differentiation instructions were repeatedly inserted or deleted using the online editor and the
system restriction was exceeded. Change the operating mode to PROGRAM mode and then
return to MONITOR mode.
→
0.4.
→
0.0.
→
Illegal Instruction Error
Execution of an unexecutable instruction was attempted. Check the program, correct the prob-
lem, and transfer the program to the CPU Unit again.
→
0.8.
→
0.0.
→
UM Overflow Error
An attempt was made to execute a program that exceeds the user program capacity. Transfer
the program again using the CX-Programmer.
8.0.
→
f.0.
→
→
→
Program error details
Summary of Contents for CP1H CPU UNITS - PROGRAMMING 05-2007
Page 2: ......
Page 3: ...CP1H X40D CP1H XA40D CP1H Y20DT D CP1H CPU Unit Operation Manual Revised March 2009...
Page 4: ...iv...
Page 10: ...x...
Page 18: ...xviii...
Page 22: ...xxii...
Page 34: ...xxxiv Conformance to EC Directives 6...
Page 174: ...140 CP series Expansion I O Unit Wiring Section 3 6...
Page 370: ...336 Analog I O XA CPU Units Section 5 5...
Page 552: ...518 Trouble Shooting Section 8 7...
Page 595: ...561 Sample Application Section 9 12 Network Settings Network Tab Network Settings Driver Tab...
Page 598: ...564 Sample Application Section 9 12...
Page 642: ...608 Standard Models Appendix A...
Page 652: ...618 Dimensions Diagrams Appendix B...
Page 745: ...711 Connections to Serial Communications Option Boards Appendix F Connecting to Unit...
Page 746: ...712 Connections to Serial Communications Option Boards Appendix F...
Page 776: ...742 PLC Setup Appendix G...
Page 778: ...744 Specifications for External Power Supply Expansion Appendix H...
Page 786: ...752 Revision History...