Introduction
Syntax and semantics check is performed directly when creating the program.
The result of this check is displayed in 3 formats:
Directly in the program section with colored objects or texts.
As tooltip if the cursor is placed on an incorrect object.
In the output window, if
is selected.
Colors of Objects/Texts
Color |
Description |
---|---|
black |
Syntax and semantics are correct. |
blue |
Possible causes:
|
red wavy line below text |
invalid text. For example, variables which are not declared, variables with an incorrect data type, etc. |
Tooltips
If the cursor is placed over an incorrect object, a tooltip is displayed with a brief description of the cause of the error/warning.
Messages in the Output Window
Error and warning messages are displayed in the output window after
.Double-click an error or a warning message in the output window to navigate to the affected object in the LL984 Editor.
Errors messages in contrast to warning messages must be fixed, because they inhibit a successful
.Error Messages
The following is a list of example error messages that
will display (E).Error Message |
---|
illegal link |
variable '%1' must be located |
only coils allowed in last column |
only one coil per row |
FFB type '%1' isn't supported |
last object in row must be coil |
maximum column number allowed is '11' |
maximum row number allowed is '7' |
parameter '%1' expects constant value |
illegal constant value '%1': %2 |
parameter '%1' expects variable |
unsupported object |
dimension of '%1' is too small, must be at least '%2' |
dimension of '%1' must be '%2' |
variable '%1' must be writable |
parameter of '%1' must be a multiple of '%2' |
parameter of '%1' must be a multiple of '%2' |
usage of LL984 language is disabled |
usage of SKP instruction is disabled |
'%1' only allowed in subroutine network |
'%1' must be in row1/column1 |
label '%1' isn't unique |
label '%1' doesn't exist |
subroutine segment doesn't exist |
file '%1' is missing |
IMC template '%1' doesn't exist |
Non-latched usage of '%1' detected, which is used also as latched |
Warning Messages
The following is a list of example warning messages that
will display (W).Warning Message |
---|
expression expected (if no actual parameter is assigned to a contact) |
variable expected (if no actual parameter is assigned to a coil) |
Tolerated Problems
will tolerate the following problems.
Problem |
---|
missing connections (to power rails or other logic elements) |
skipping from a subroutine network to a network of another subroutine in the LL984 subroutine segment, if the project setting "SKP enabled" is checked |