CoDeSys V3 supports all IEC operators. In contrast to the standard functions these operators are recognized implicitly throughout the project.
Besides the IEC operators also the following operators are supported which are not prescribed by the standard: ANDN, ORN, XORN, INDEXOF and SIZEOF (see Arithmetic Operators), ADR, BITADR and content operator (see Address Operators), some 'scope operators'.
Operators are used in a POU like functions.
小心! At operations with floating point variables the result depends on the currently used target system ! |
See the following categories of operators: