User`s manual
Local Logic Language Syntax
GFK-1742A Chapter 12 Local Logic Language Syntax 12-21
12
Error
Number
Error Description
(P221) Binary constants must be in range of 0 to (2^32)-1
The program has defined a binary constant that cannot be represented in 32 bits
(P222) Integer constants must be in range of -2147483648 to 2147483647
The program has defined a decimal constant that cannot be represented in 32 bits
(P223) Constant table overflow
A program can contain a maximum of 50 unique constants greater than 2047 or less than –
2048 (i.e. numbers that cannot be represented in less than 12 bits). A program may contain
any number of constants in the range of –2048 to 2047.
(P230) IF nesting limit of 8 levels exceeded.
IF statements cannot nest more than 8 levels deep.
(P231) Illegal term in IF statement
The program has an arithmetic operator in an IF statement.
(P232) Missing END_IF statement
There is an IF statement that is missing a matching END_IF statement. This error is only
detected at the end of the program.
(P233) Unmatched END_IF encountered
An END_IF statement has been found that doesn’t have a corresponding IF statement.
(P240) Assignment to constant
The program has attempted to use a constant as the destination of an assignment statement.
(P241) Invalid operator, assignment expected
Another operator was encountered where the assignment operator (:=) was expected.
(P242) Relational operator not allowed in assignment statement
A comparison operation was attempted in an assignment statement. An assignment based
on a relational may be performed by assigning a Boolean value in an IF statement.
(P260) Invalid logic operator. Use BWAND, BWOR, BWXOR, or BWNOT - <operator>
The program has used AND, OR, XOR, or NOT keywords, rather than BWAND, BWOR,
BWXOR, or BWNOT, respectively.
(P280) Instruction limit exceeded, max 150
A local logic program may be a maximum length of 150 statements. This error is reported if
the program exceeds that length.
(P290) Address out of range in direct memory access reference
A direct memory variable has specified an invalid offset.
(P291) Invalid direct memory address variable
An invalid direct memory variable has been specified.
(P292) Direct memory access var requires subscript
The program has referenced a direct memory variable without specifying an offset
(P293) Maximum error count exceeded.
The Local Logic parser will report a maximum of 30 errors. When that limit has been
exceeded this message is displayed and no further errors are reported.
298-
(P299)
Internal Error. Contact GE Fanuc Technical Support.
If the parser reports error 298 or 299 for a user program, please notify GE Fanuc technical
support (1-800-GE FANUC). Provide a copy of the program and error log.
(P300) Parse directives must precede any executable statements.
#pragma directives must appear before any executable statements in the Local Logic
program block.
(P301) Invalid directive option
The specified #pragma directive is not recognized by the Local Logic Parser.