Error codes
C.1
PLC non-fatal error codes
PLC compiler and run-time errors are non-fatal errors. Non-fatal errors can degrade some
aspect of the performance of your PLC, but do not render the PLC incapable of executing
the user program or updating the I/O.
● Run-time programming errors are non-fatal error conditions created by you or your
program while the program is being executed. An example of this is an indirect-address
pointer, which was valid when the program compiled, modified by program execution to
point to an out-of-range address. Access the PLC Information from the PLC menu ribbon
strip to determine what type of error has occurred.
You can correct run-time programming errors only by modifying the user program. The
run-time programming errors are cleared at the next transition from STOP to RUN mode.
● PLC compiler errors (or program-compile errors) prevent you from downloading the
program to the PLC. STEP 7-Micro/WIN SMART detects compile errors when you
compile or download (Page 35) the program, and shows errors in the output window. If
there is a compile error, the PLC retains the current program that is resident in the PLC.
I/O errors are also non-fatal errors. When problems occur with the I/O of the CPU, signal
board, and expansion modules, the PLC records the error information in special memory
(SM) bits that your program can monitor and evaluate.
Non-fatal error codes
Hexadecimal error
code
S7-200 SMART
System Manual, 09/2015, A5E03822230-AC
Non-fatal PLC program compiler errors
0080
The program is too large for the CPU; please reduce the program size
0081
Logic stack underflow; split the network into multiple networks
0082
Illegal instruction; check instruction mnemonics
0083
Illegal instruction before end of main program; remove incorrect instruction
0085
Illegal combination of FOR/NEXT; add FOR instruction or delete NEXT in-
struction
0086
Illegal combination of FOR/NEXT; add NEXT instruction or delete FOR in-
struction
0087
Missing label or POU; add the appropriate label
0088
Illegal instruction before end of subroutine; add RET to the end of the subrou-
tine or remove incorrect instruction
0089
Illegal instruction before end of interrupt routine; add RETI to the end of the
interrupt routine or remove incorrect instruction
008B
Illegal jump in or out of a SCR segment
008C
Duplicate label or POU name
008D
Exceeded maximum label or POU number; ensure that the number of labels
allowed has not been exceeded
C
657
Need help?
Do you have a question about the Simatic S7 Series and is the answer not in the manual?