Compile Rule Violations - Siemens SIMATIC S7-200 System Manual

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

Advertisement

S7-200 Programmable Controller System Manual

Compile Rule Violations

When you download a program, the S7-200 compiles the program. If the S7-200 detects that the
program violates a compile rule (such as an illegal instruction), the S7-200 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
Compile Errors (Non-Fatal)
0080
Program too large to compile; reduce program size
0081
Stack underflow; 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
Illegal JMP to or from an SCR segment
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 EV/ED instructions
0098
Illegal edit in RUN mode (edit attempted on program with unnumbered EV/ED instructions)
0099
Too many hidden program segments (HIDE instructions)
009B
Illegal index (string operation in which a starting position value of 0 is specified)
009C
Maximum instruction length exceeded
009D
Illegal parameter detected in SDB0
009E
Too many PCALL strings
009F to 00FF
Reserved
480

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents