CODESYS Development System
Operator: ROR The IEC operator is used for bitwise rotation of an operand to the right. Permitted data types: BYTE , WORD , DWORD , LWORD erg := ROR(in,n) CODESYS moves in n-times one bit to the right
CODESYS Development System
Operator: __POUNAME The operator is an extension of the IEC 61131-1 standard. At runtime, the operator yields the name of the POU that contains the operator __POUNAME . The result is of type STRING .
CODESYS Development System
Functions In ST, you can use a function call as an operand. Example 194 . Example: Result := Fct(7) + 3; TIME() function This function yields the time (in milliseconds) that has elapsed since system b
CODESYS Development System
Data Types In the programming, a variable is identified by its name and has an address in the memory of the target system. Accordingly, variable names are identifiers under which the allocated memory
CODESYS Development System
Data Type: __UXINT, __XINT, __XWORD Variables with these special data types are converted to a platform-compliant data type, depending on the target system. CODESYS supports systems with address regis
CODESYS Development System
User-defined data type: TYPE :
CODESYS Development System
Data Structure: UNION A UNION is a data structure with usually different data types. In a union, all components have the same offset and therefore the same amount of storage space. TYPE NAME_AB: UNION
CODESYS Development System
Pragmas Pragma statements influence the properties of one or more variables with respect to the compile or precompile process. Various categories of pragmas are available for this. Pragmas are current
CODESYS Development System
Attribute pragmas Attribute pragmas influence compiling and precompiling. They are supported only in text editors. CODESYS supports a series of pre-defined attribute pragmas. In addition you can use u
CODESYS Development System
Custom attribute User-defined attributes are any application-defined or user-defined attributes that you can apply to POUs, actions, data type definitions and variables. You can query a user-defined a