Import OPC UA Data Types into the PCo Data Type Repository

Use

By importing structured OPC UA data types into the PCo data type repository, you generate corresponding structured data types and array PCo data types that you can use in subscription items, output expressions, input and output variables of specific destination system types, and in variables of multiple call destination systems. At runtime, the PCo agent instance is therefore able to convert OPC UA data objects into PCo data objects in a type-secure way. You can also perform a type conversion of data objects by defining data types in output expressions or variables in multiple call destination systems.

You can use the expression editor to access components of structured data objects. You can display the related functions in the expression editor in the Functions screen area using the function category Structured Data Type Instances.

Procedure

  1. On the Structures tab, define the structured data types that you want to use. (See also: OPC UA Source System: Structures Tab.)

  2. Choose the Import Data Types into Data Type Repository button.

    The system collects all OPC UA data types and uses them to generate proposals for corresponding structured and array PCo data types. These proposals are displayed in the Import Data Types into Data Type Repository dialog box. The dialog box also shows you whether or not OPC UA data types and corresponding PCo data types are already known in the PCo data type repository.

  3. Continue processing as described under Functions in the Import Data Types Dialog Box.