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
Partial Variable Access The expression complies with the IEC 61131-3 standard. Partial variable access is possible in the case of IEC variables of data type BYTE , WORD , DWORD or LWORD (data type ANY
CODESYS Development System
Addresses Caution If you use pointers to addresses, then the contents of addresses can be moved during an online change. If you use absolute addresses, then the contents of addresses does not change d
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: BOOL Type Values Memory BOOL TRUE (1), FALSE (0) 8 bits :
CODESYS Development System
Integer data types Important Information can be lost when converting from larger data types to smaller data types. CODESYS provides the following integer data types. Type Lower limit Upper Limit Memor
CODESYS Development System
Time Data Types Data Type: TIME Syntax TIME#<time declaration> Time data types are treated internally as DWORD . In the case of TIME , this leads to a resolution in milliseconds. Data Type Lower Limit
CODESYS Development System
Date and Time Data Types The data types DATE , DATE_AND_TIME ( DT ), and TIME_OF_DAY ( TOD ) are handled internally like a DWORD (32-bit value). The data types LDATE , LDATE_AND_TIME ( LDT ), and LTIM
CODESYS Development System
Data Type: ANY, ANY_ <type> The data types ANY or ANY_ <type> are used in interfaces of functions, function blocks, or methods in order to type input parameters whose type is unknown or unspecified: T