Prefixes are used to assign names by function.
The following parts of prefixes are available:
Prefix part |
Use |
Syntax |
Example |
---|---|---|---|
scope of variables and constants |
[scope]_[designator] |
|
|
identifying the data type of variables and constants |
[type][designator] |
|
|
identifying the properties of variables and constants |
[property]_[designator] |
|
|
identifying if POU was implemented as a function, function block, or program |
[POU]_[designator] |
|
|
for POUs, data types, variables, and constants declared within a library |
[namespace].[identifier] |
|