Suske Lambik
Suske Lambik

Reputation: 95

How to reference a DUT from another PLC project

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?

Upvotes: 3

Views: 1063

Answers (1)

Suske Lambik
Suske Lambik

Reputation: 95

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.

Upvotes: 3

Related Questions