
User Manual
Chapter 12
GFK-1742F
Jan 2020
Local Logic Language Syntax
304
Error Number Error Description
(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 Emerson Technical Support.
If the parser reports error 298 or 299 for a user program, please notify Emerson
technical support. 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.
(P302)
Invalid directive parameter
An invalid argument to the #pragma errors only directive was specified. The
argument must be 1, ON, 0, or OFF.