A.2.2 Variable Type
The variable type shall fulfill the following mandatory requirements:
Complex objects are not allowed, e.g. structs of variables, state machines, methods. The representation shall be as simple as possible to ensure also OPC-UA server implementations even with simple devices. Furthermore this enables simple software stacks as middleware between the OPC-UA server in the shopfloor and data acquisition systems like ERP or MES.
Optional recommendations regarding the variable type:
The following variable types are recommended (using OPC-UA definition "10000-6")
'Float' (32bits) for floating point values (e.g. analog process values)
'UInt32' (32bits) for numbers / counters
The byte length of variables shall be defined rather bigger than smaller. E.g. UInt32 should be preferred instead of UInt8.