...
Note |
---|
The implicit checks are performed only for code within the project. If libraries are to be checked, then the compiler definition checks_in_libs must be set. |
Example:
Requirement
- Create a "Standard project" and select "CODESYS ControlWin V3" as the device.
- Define the target system by means of the Network scan.
...
- Adapt the "PLC_PRG" POU as follows:
...
Section |
---|
Column | ||
---|---|---|
| ||
Declaration |
width | 93 |
---|
VAR
iIndex : INT;
astInst : ARRAY
theme | Confluence |
---|
[1..5]
OF
INT
:=
[5(101)];
xActivate : BOOL;
xActivate : BOOL;
END_VAR
Sectioniec-code | ||
---|---|---|
| ||
|
| |
Column | ||
| ||
Code Block | ||
Confluence |
Downloading and starting the project
...
Warning |
---|
These kinds of mistakes in the memory can have unexpected results, as severe are the controller crashing. |
...
The following dialog opens automatically, where the type of check can be selected.
Select the option Bound checks.
...