Creating A Plc Project - Beckhoff CX B110 Series Manual

Ethercat slave optional interface for cx9020, cx5xx0 and cx20xx
Table of Contents

Advertisement

5.2.6

Creating a PLC project

Use PLC Control to create 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:
• An Embedded PC, added in TwinCAT.
Create a PLC project as follows:
1. In the Start menu, right-click on the TwinCAT symbol.
2. In the context menu click on PLC Control.
The TwinCAT PLC Control window appears.
3. In the menu click on File > New and select the option PC or CX (x86).
4. Under Block type select the option Program, and under block language select the option ST
(Structured Text).
5. Write a small program.
6. Save the PLC project and click on Project > Compile in the menu.
ð Once the project has been compiled, a file with the extension .tpy is created in the same location as the
project file. The file name of the new file is the same as the file name of the PLC project.
In the next step you can add the compiled PLC project in the TwinCAT System Manager.
CXxxxx-B110
Parameterization and commissioning
Version: 1.3
33

Advertisement

Table of Contents
loading

Table of Contents