Specifications

Error Codes
B-4
S7-200 Programmable Controller System Manual
C79000-G7076-C233-01
B.3 Compile Rule Violations
When you download a program, the CPU compiles the program. If the CPU
detects that the program violates a compile rule (such as an illegal instruction), the
CPU aborts the download and generates a non-fatal, compile-rule error code.
Table B-3 lists the descriptions of the error codes that are generated by violations
of the compile rules.
Table B-3 Compile Rule Violations
Error Code
Compile Errors (Non-Fatal)
0080 Program too big to compile; you must reduce the program size.
0081 Stack underflow; you must split network into multiple networks.
0082 Illegal instruction; check instruction mnemonics.
0083 Missing MEND or instruction not allowed in main program: add MEND
instruction, or remove incorrect instruction.
0084 Reserved
0085 Missing FOR; add FOR instruction or delete NEXT instruction.
0086 Missing NEXT; add NEXT instruction or delete FOR instruction.
0087 Missing label (LBL, INT, SBR); add the appropriate label.
0088 Missing RET or instruction not allowed in a subroutine: add RET to the end
of the subroutine or remove incorrect instruction.
0089 Missing RETI or instruction not allowed in an interrupt routine: add RETI to
the end of the interrupt routine or remove incorrect instruction.
008A Reserved
008B Reserved
008C Duplicate label (LBL, INT, SBR); rename one of the labels.
008D Illegal label (LBL, INT, SBR); ensure the number of labels allowed was not
exceeded.
0090 Illegal parameter; verify the allowed parameters for the instruction.
0091 Range error (with address information); check the operand ranges.
0092 Error in the count field of an instruction (with count information); verify the
maximum count size.
0093 FOR/NEXT nesting level exceeded.
0095 Missing LSCR instruction (Load SCR)
0096
Missing SCRE instruction (SCR End) or disallowed instruction before the
SCRE instruction
0097 User program contains both unnumbered and numbered EU/ED instructions
0098 Run-time edit attempted on a program with unnumbered EU/ED instructions
0099 Too many hidden program segments