This site uses cookies for functional purposes. To continue please read and agree to our Data Privacy.

By closing this message, you consent to our use of cookies on this device.

Migrate projects to PLCnext Engineer 2019.x

Print

A 1-minute walkthrough

After updating the firmware of a PLCnext Control AXC F 2152 from version 1.x to 2019.x it is necessary to migrate projects deriving from the former PC Worx Engineer 7.2.x to PLCnext Engineer 2019.x.

Here's how this can be done:

Replace the controller in PLCnext Engineer 2019.x

Changing the device description of the controller from AXC F 2152 Rev.>=0.0/1.x.x to AXC F 2152 Rev.>=00/2019.0.0:

  1. In PLCnext Engineer 2019.x, see in the "COMPONENTS" workspace on the right: navigate through the navigation tree by clicking on ">" to unfold a branch or on "˅" to fold a branch.
  2. Open the "Network" node and then "Controller".
  3. Mark the "AXC F 2152 Rev.>=00/2019.0.0" entry.
  4. Right-click to show the context menu of the controller and select "copy".
  5. In the "PLANT" workspace on the left, open the "Project" node.
  6. Mark the "axc2152-1:AXC F 2152" entry (you may have a different name there for your PLCnext Control).
  7. Right-click to show the context menu of the controller and select "replace".
    ⇒ The project will be compiled automatically.
  8. Save the project with a different name.

Replace a function block library

If a function block library is used in the project that was compiled for use with the former PC Worx Engineer, it has to be replaced by the matching PLCnext Engineer 2019.x library.

  1. Get a compatible library:
    • for function block libraries that came with the former PC Worx Engineer, new versions have been installed with the PLCnext Engineer 2019.x
    • for additional Phoenix Contact function block libraries, download the compatible version from the PLCnext Store free of charge
    • for other function block libraries, compile them for use with PLCnext Engineer 2019.x
  2. Replace the library in your project.
    ⇒ The project will be compiled automatically.
  3. Save the project with a different name.

Migrate a Eclipse™ C++ project

Migrating an existing Eclipse project for PLCnext Technology is done accordingly to building an Eclipse project for PLCnext Technology:

  1. Install the toolchain.
  2. Create a new project template in Eclipse basing on the current 2019.x toolchain.
  3. Compile with the current 2019.x SDK.
  4. Build a new PLCnext Engineer library.

Install the toolchain in detail:

Programming in C++ on PLCnext Technology is done with

  1. Follow this short [tutorial video] to install the 2019.x toolchain.
  2. Start Eclipse and create a new project by means of a 2019.x controller template (e.g., AXC F 2152).
  3. Copy the source code from the former Eclipse project into the source code sections of the new .hpp and .cpp files.
  4. Compile with the current 2019.x SDK for your operating system.
  5. Build the PLCnext Engineer 2019.x library.

Compared to the former version, the current project template contains these changes: