TROUBLESHOOTING
1-167August 9, 2005
D SERIES CONTROLLER
TROUBLESHOOTING AND COMPONENT REPLACEMENT
Kaaaw sk
ERROR CODE P0139 Illegal control structure.
Main causes include:
1. In a control structure CASE is the last step, or VALUE, END, or ANY are missing after
CASE.
2. Destination step for structure instruction is missing.
Use correct syntax and components in control flow structures.
_____________________________________________________________________
ERROR CODE P0140 Step:XX Wrong END statement.
Occurs when an illegal END statement is entered during editing.
Use correct syntax and components in control flow structures.
_____________________________________________________________________
ERROR CODE P0141 Step:XX Extra END statement.
Occurs when an extra END statement is present and there is no corresponding struc-
ture.
Use correct syntax and components in control flow structures, check structure of ENDstatements.
_____________________________________________________________________
ERROR CODE P0142 Step:XX Cannot terminate DO with END.
This error is displayed when the control flow structure DO….UNTIL is entered with an
END statement.
Use correct syntax and components in control flow structures.
_____________________________________________________________________
ERROR CODE P0143 Step:XX No VALUE statement after CASE.
Occurs when the control flow structure CASE OF….END is entered without a value to
evaluate.
Use correct syntax and components in control flow structures.
_____________________________________________________________________