
User Manual
Chapter 12
GFK-1742F
Jan 2020
Local Logic Language Syntax
303
Error Number Error Description
The program has attempted an invalid usage of one of the double precision
registers. Double precision registers may only be assigned values as the result of
a multiply operation.
(P204)
Invalid use of Double precision var
The program has attempted an invalid usage of one of the double precision
registers. Double precision registers in expressions may only be used as the
divisor in a divide or MOD operation.
(P205)
Assignment to read-only variable
The program has attempted to assign a value to a read-only variable.
(P206)
Attempt to read write-only variable
The program has attempted to use a write-only variable as one of operands in an
arithmetic, logic, or relational expression.
(P207)
Subscripted variables are not supported
Variables of the form Data_Table_Int[xx] are not supported. Data table
operations require the use of the Data_Table_Ptr variable.
(P208)
Identifier name exceeds 50 chars
The program has used attempted to reference a variable with an identifier length
in excess of 50 characters.
(P209)
Double Precision register must be in range D00 - D07
This error is generated when the program specifies an undefined double
precision register, for example D08.
(P220)
Hexadecimal constants must be in range of 16#0 - 16#FFFFFFFF
The program has defined a hexadecimal constant that cannot be represented in
32 bits
(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.