How to reference a DUT from another PLC project

Viewed 249

I have created 2 PLC projects. On for the main logic, and the other for visualizations.

Data will be transferred between both projects using input/output. I want to create a motor HMI and have grouped the motor controls in a DUT in the main PLC project.

How can I now reference this DUT in the visualization project?

1 Answers

Just found out the answer myself.

External types

A DUT can be referenced from another project if it as an external type. Local DUT's can easily be made external:

  1. Right click on the DUT
  2. Press 'Convert to Global Data Type'
  3. The DUT will be moved from DUT-folder to External Types folder, and necessary attributes are automatically added.

See this example.

Related