Generic Data Types according to IEC 61131-3
Generic data types are data types which include hierarchical groups of elementary data types. By specifying a generic data type as possible input or output value, the respective function can process all elementary data types included in this generic data type. For example, ANY_INT includes the elementary data types SINT, DINT, INT, LINT, USINT, UINT, UDINT, and ULINT. If a function can be connected with ANY_INT, it means that variables of these data types can be handled.
Generic data types are organized as follows: