Compile Rule Violations - Siemens Simatic S7-200 System Manual

Programmable controller
Hide thumbs Also See for Simatic S7-200:
Table of Contents

Advertisement

Error Codes
C.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 C-3 lists the descriptions of the
error codes that are generated by violations of the compile rules.
Table C-3 Compile Rule Violations
Error Code
0080
0081
0082
0083
0084
0085
0086
0087
0088
0089
008A
008B
008C
008D
0090
0091
0092
0093
0095
0096
C-4
Compile Errors (Non-Fatal)
Program too big to compile; you must reduce the program size.
Stack underflow; you must split network into multiple networks.
Illegal instruction; check instruction mnemonics.
Missing MEND or instruction not allowed in main program: add MEND instruction,
or remove incorrect instruction.
Reserved
Missing FOR; add FOR instruction or delete NEXT instruction.
Missing NEXT; add NEXT instruction or delete FOR instruction.
Missing label (LBL, INT, SBR); add the appropriate label.
Missing RET or instruction not allowed in a subroutine: add RET to the end of the
subroutine or remove incorrect instruction.
Missing RETI or instruction not allowed in an interrupt routine: add RETI to the end
of the interrupt routine or remove incorrect instruction.
Reserved
Reserved
Duplicate label (LBL, INT, SBR); rename one of the labels.
Illegal label (LBL, INT, SBR); ensure the number of labels allowed was not
exceeded.
Illegal parameter; verify the allowed parameters for the instruction.
Range error (with address information); check the operand ranges.
Error in the count field of an instruction (with count information); verify the
maximum count size.
FOR/NEXT nesting level exceeded.
Missing LSCR instruction (load SCR)
Missing SCRE instruction (SCR end) or disallowed instruction before the SCRE
instruction
S7-200 Programmable Controller System Manual
C79000-G7076-C230-02

Advertisement

Table of Contents
loading

Table of Contents