As described in the picture, I want to have two plc projects, sendingMQTT and receiving MQTT in my project. How can I do this?
Asked
Active
Viewed 462 times
0
-
Do you mean that you want help figuring out how to make the MQTT Send back and forth? This is a very vague request, so some more details and indications of your own efforts so far would be helpful. But you may be able to start looking at the [Beckhoff MQTT](https://infosys.beckhoff.com/english.php?content=../content/1033/tf6701_tc3_iot_communication_mqtt/3518541195.html&id=) library samples section. – Steve Sep 23 '21 at 18:55
-
No, I just want to create two sub plc project in one project tree. – james_66 Sep 23 '21 at 20:59
1 Answers
0
To create a new PLC project
- Select the command New > Project in the menu File.
- 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.
- Quit the dialog with OK.
- Mark the PLC object in the project tree and select the command Add New Item... in the menu Project or in the context menu.
- Select the Standard PLC Project in the category Plc Templates and enter a name (here once again "Sample Project").
- Quit the dialog with Add.
Per the Beckhoff Infosys explains how to create a new PLC project.
To add a second PLC project to an existing project, you need to perform steps 4, 5 & 6 a second time.

Steve
- 963
- 5
- 16