Choose a relevant, short, description in English for each designator: the basis name. The basis name should be self-explanatory. Capitalize the first letter of each word in the basis name. Write the rest in lower case letters (example: FileSize). This basis name receives prefixes to indicate scope and properties.
Whenever possible, the designator should not contain more than 20 characters. This value is a guideline. You can adjust the number upward or downward if necessary.
If abbreviations of standard terms (TP, JK-FlipFlop, ...) are used, the name should not contain more than 3 capital letters in sequence.
Consider case-sensitivity, especially for prefixes, to improve readability when using designators in the IEC program.
NOTE: The compiler is not case-sensitive.
Use only the following letters, numbers and special characters in designators:
0...9, A...Z, a...z,
In order to be able to display the prefixes clearly, an underline is used as the separator. The syntax is explained in the respective prefix section.
Do not use underscores in the basis name.
|
Recommended Designator |
Not Recommended Designators |
|---|---|
|
diState |
diSTATE |
|
xInit |
x_Init |
|
diCycleCounter |
diCyclecounter |
|
lrRefVelocity |
lrRef_Velocity |
|
c_lrMaxPosition |
clrMaxPosition |
|
FC_PidController |
FC_PIDController |