Parameterization and commissioning
CXxxxx-M930/B930
30
Version: 1.1
5.6
Creating a PLC project
The next steps describe how to create a PLC project in TwinCAT and add it in the tree view.
Prerequisites for this step:
• A newly created TwinCAT XAE project.
Create a PLC project as follows:
1. Right-click on
PLC
in the tree view.
2. In the context menu click on
Add New Item
and select the
Standard PLC Project
.
3. In the tree view click on the newly created PLC project, then double-click on
MAIN (PRG)
under
POUs
.
4. Write a small program, as shown in the diagram below.