User Manual Chapter 12
GFK-1742F Jan 2020
Local Logic Language Syntax 305
12.8.4 Local Logic Parse Warnings
Parse warnings are generated for conditions that may have unexpected results or indicate a
possible oversight in the Local Logic Program.
Table 61: Local Logic Parse Warnings
Assignment to binary variable may result in loss of data
This message is generated when a Boolean variable is assigned from a non-Boolean
variable or constant, or an expression containing non-Boolean variables.
Check instruction execution time
This warning is generated for programs exceeding 100 statements. While there is a
maximum instruction limit of 150 statements, it is possible to write a Local Logic
program that takes too long to execute.
For instruction times, refer to appendix A in the PACSystems CPU Reference Manual,
GFK-2222 or Series 90-30 CPU Reference Manual, GFK-0467
Obsolete syntax: function parameter requires parentheses
The parameter of an ABS function call is not enclosed in parentheses.
Unexpected end of program: unclosed comment
A comment initiated with the “(*” character pair was not closed when the end-of-
program was encountered.
Nested comments
This warning is generated if a Local Logic program has defined comment text within
another comment.
Program contains no executable statements
The program contains only white space and/or comments.
12.8.5 Local Logic Download Error Messages
The following errors may be reported in the Module Status Code when a Local Logic
program is downloaded into the module.
Table 62: Local Logic Configuration Error Codes
Invalid Digital Output Configuration
Invalid CTL Bit Configuration
Note: Refer to Chapter 14 for a detailed description on configuring CTL bits and Digital Outputs for
Local Logic.