Load configuration to CX

Once all variables are linked, the configuration can be saved and loaded on the CX. This has the advantage that the PLC project is loaded and started automatically when the CX is switched on. The start of the previously created PLC project can thus be automated.

Prerequisites for this step:

  • A completed PLC project, added in the System Manager.
  • Variables from the PLC project, linked with the hardware in the System Manager.
  • A CX selected as target system.

Load the configuration on the CX as follows:

1. In the tree view on the left click on SYSTEM – Configuration.
2. Click on the Boot Settings (Target) tab.
Load configuration to CX 1:
3. Under Boot Settings select the option Run Mode (Enable) and tick the Auto Logon checkbox.
Load configuration to CX 2:
4. Enter the user name and password for the CX in the User Name and Password fields.
5. Click on Apply.
The Logon Information window appears.
Load configuration to CX 3:
6. Re-enter the user name and the password and click OK.
7. In the tree view on the left click on PLC – Configuration, then on the PLC Settings (Target) tab.
Load configuration to CX 4:
8. Select the Start PLC under Boot Project and click on Apply.
Load configuration to CX 5:
9. Start PLC Control and open the PLC project.
Load configuration to CX 6:
10. In the menu bar at the top click on Online, and then on Choose Runtime System.
11. Select the runtime system from the CX and click on OK.
Load configuration to CX 7:
12. In the menu bar at the top click on Online, then Login.
The PLC project is logged in.
13. In the menu bar at the top click on Online, then Create Boot Project.
  • You have successfully loaded the CX configuration. From now on, TwinCAT will start in Run mode and the PLC project will start automatically.

    Next, the master can be added in a new project in the System Manager and can then be used to find slaves that have already been set up.