如何在 Twincat 3 上的一个项目中创建两个 plc 项目

How to create two plc project in one Project on Twincat 3

如图所示,我想在我的项目中有两个plc项目,发送MQTT和接收MQTT。我该怎么做?

项目结构

To create a new PLC project

  1. Select the command New > Project in the menu File.
  2. Select the template TwinCAT Projects > TwinCAT XAE Project and enter a name, for example here "Sample Project" and a storage location in the file system.
  3. Quit the dialog with OK.
  4. Mark the PLC object in the project tree and select the command Add New Item... in the menu Project or in the context menu.
  5. Select the Standard PLC Project in the category Plc Templates and enter a name (here once again "Sample Project").
  6. Quit the dialog with Add.

根据 Beckhoff Infosys 说明如何创建新的 PLC 项目。

要将第二个 PLC 项目添加到现有项目,您需要再次执行步骤 4、5 和 6。