Project Conversion Example: Edge Controller / Touch Panel 600
In the following example, an Edge Controller 752-8303/8000-0002 is migrated from e!COCKPIT (firmware version 22) to CODESYS (firmware version 24).
The Edge Controller is used as an example. The example also applies to Touch Panels 600.
- To export the “Onboard IO I/O Mapping” shown under the device to a CSV file, go to the “DEVICE” tab and click [Export I/O mapping] on the ribbon.
- Provide a filename for the export file and click [Save].
- Save and close the project in e!COCKPIT.
- Copy the project file.
- Change the file extension of the copy from “.ecp” to “.project.”
EC_PIO3_C.csv
TestProjektEdge_752-8303 – Copy.project
TestProjektEdge_752-8303.ecp
- Open the project with the new extension in the CODESYS version that matches the firmware. Version information can be found in the release notes that accompany the downloaded firmware packages.
In this example, the project is opened in CODESYS V3.5 SP18 Patch 2. This CODESYS version is compatible with firmware version 24. - Click [OK] to confirm the dialog for updating the project environment.
- Confirm that the project’s saving format has been updated by clicking [Yes].
In future, further processing of the project will only be possible in CODESYS. - The opened project is displayed in CODESYS as follows:
- Right-click on the project name in the device tree at the top and select “Add Device” from the context menu.
- In the dialog, select the new target device – in this case “752-8303/8000-0002.”
- Click [Add Device] and close the window.
- The device is attached to the tree:
- Delete the library manager for the newly attached device.
- Now copy all the elements of the old device under “Application” and insert them back into the new device under “Application.”
- Right-click on “TP600_Onboard_IO (TP600 Onboard IO)” and select “Import mappings from CSV...” from the context menu.
- Select the CSV file you saved in e!COCKPIT and open it.
- The variables from the CSV file are transferred and displayed under “Onboard IO I/O Mapping,” similarly to how they are in e!COCKPIT.
- Since you no longer need the old device, delete the old device from the project tree.
- Save and close the project.
- Reopen the project.
- Update the project environment by clicking [Set All to Newest].
- Click [OK] to confirm.
- Save the project.