IEC-compliance
This article is under construction.
The information on this page is not complete yet. logi.cals tries to complete this page as soon as possible. Thank you for your understanding!
IEC 61131-3 "PLC programming languages"
The following list informs which features of the →IEC-standard are supported in logi.CAD 3. The list is based on the specifications of section 5 "Compliance" of this IEC-standard:
Table no. and title refers to the tables and/or figures listed in the IEC-standard.
LC3 informs whether you can use the feature in the programming language of logi.CAD 3 (= icon ) or not (= icon ).
Feature no. and Feature description refers to the feature listed in the appertaining table of figure.
Compliant informs whether the feature has been implemented compliantly in logi.CAD 3 (= icon ) or whether it differs from the IEC-standard (= icon ) . The label – in this column indicates that this feature has not been implemented in logi.CAD 3 yet.
Note by logi.cals informs about details of the feature. In case of under Compliant, information are added in which degree logi.CAD 3 deviates from the IEC-standard.
Implementer: logi.cals (see Contact information)
Product: logi.CAD 3 – version 3.19.0
logi.CAD 3 complies with the requirements of the IEC-standard for the following language features:
Feature no. |
LC3 |
Table no. and title or |
Compliant |
Note by logi.cals |
|
|
ST |
|
|
|
|
Figure 13 – Usage of function block input and output parameters (Rules) |
|
|
1a) |
|
Input read – inside function blocks |
|
|
1b) |
|
Input read – outside function blocks |
|
Not allowed according to IEC-standard. |
2a) |
|
Input assignment – inside function blocks |
|
Not allowed according to IEC-standard. Possible enhancement in logi.CAD 3, if the corresponding rule is deactivated →Input variables can be written to inside of →function blocks. |
2b) |
|
Input assignment – outside function blocks |
|
|
3a) |
|
Output read – inside function blocks |
|
|
3b) |
|
Output read – outside function blocks |
|
|
4a) |
|
Output assignment – inside function block |
|
|
4b) |
|
Output assignment – outside function blocks |
|
Not allowed according to IEC-standard. Possible enhancement in logi.CAD 3, if the corresponding rule is deactivated →Output variables (= VAR_OUTPUT) of →function block instances can be written to outside of the function block. |
5a) |
|
In-out read – inside function block |
|
|
5b) |
|
In-out read – outside function blocks |
|
Not allowed according to IEC-standard. |
6a) |
|
In-out assignment – inside function block |
|
Allowed according to IEC-standard, note 3. |
6b) |
/ |
In-out assignment – outside function blocks |
|
"Call with immediate parameter assignment" – allowed according to IEC-standard
(if it is an expression which might be on the left side of the assignment operator := as well)
"Separate assignment " – Not allowed according to IEC-standard. |
Enhancements in logi.CAD 3
logi.CAD 3 provides the following enhancements to the IEC-standard:
Enhancement |
Details under: |
attribute SIZE for directly derived data types |
|
using named values of the appropriate data type for the array limits |
|
assigning the minimum value or maximum value of a data type in ST |
|
system blocks based on the →IEC-standard but with enhancements:
|
|
system blocks in addition to the →IEC-standard:
|
|
several variable sections VAR_GLOBAL...END_VAR within RESOURCE or CONFIGURATION |
|
declaring global variables in a central object |
Declaration of global variables in global-object and its usage in ST |
write access to bit, byte, word or double word of an ANY_BIT variable |
|
|
|
action qualifier PN |
|
attribute OFFSET for partial addresses |
Declaration of a structured data type with partial address in ST |
description, comment, JSON-string for variable or data type |
Defining description, comment or JSON string for variables and data types |
property statements |
|
statement to suppress warnings |
|
statement to ignore ST-objects |
|
assignments from or to variables:
|
Figure 13 – Usage of function block input and output parameters (Rules) and/or |
→References to local, temporary →variables can be used in →functions / →methods . |
|
parallel usage of SFC elements and FBD elements within the same POU |
|
behavior of negated inputs to which no other element is connected |
More enhancements might be provided in your used logi.CAD 3 v ersion:
Enhancement |
Details under: |
Other provided system blocks:
|
|
VAR_CONFIG section within resources and attribute SIZE within VAR_CONFIG sections |
|
declaring VAR_CONFIG sections within a central object |