Hello
I recently started working with the PLCNext platform. I am trying to install the C++ sample on the controller. Unfortunately, I always encounter the following bug in eclipse.
So my question would be wehere can i get the right target? Or do I have to update the firmware of the target?
I’m working with the following PLC:
AXC F 2152, Ord-No. 2404267
Thanks in advance for the help
Kind Regards
Hello sipru09,
the FW/SDK-Version 2020.6.1 is 3 years old and not supported (no LTS-Version). I would like to recommend to update the Controller to the latest FW LTS Version 2023.0.
Please download the version 2023.0 under following download link, the SDK 2023.0 is part of the firmware package:
https://www.phoenixcontact.com/en-pc/products/controller-axc-f-2152-2404267#firmware-link-target
BR Eduard
Hello sipru09,<\/p>the FW\/SDK-Version 2020.6.1 is 3 years old and not supported (no LTS-Version). I would like to recommend to update the Controller to the latest FW LTS Version 2023.0.<\/p>Please download the version 2023.0 under following download link, the SDK 2023.0 is part of the firmware package:<\/p>[https:\/\/www.phoenixcontact.com\/en-pc\/products\/controller-axc-f-2152-2404267#firmware-link-target<\/a> <\/p>BR Eduard<\/p>
Hello Eduard
Thank you for your advice. I was able to update the firmware. What confuses me a little bit is that the control shows me a different version of FW than the one I actually updated to. Is that a bug, or did the update not work?
[image.png](https:\\/\\/forum.plcnext-community.net\\/uploads\\/Z7FCRL1CJ2XJ\\/image.png)[image.png](https:\\/\\/forum.plcnext-community.net\\/uploads\\/X6HUUTM802BJ\\/image.png)Thanks for your help.
Kind Regards
Hi sirpu09,
afaik it is mandatory to install the 22.0 lts firmware first when having an older version installed.
Cheers
DivisionByZero
Hello sipru09,
the FW update was not successful, please execute the following steps:
Delete the installed projects and recover the configurations on the PLC via following command line: "sudo recover-axcf2152 1
1. " (please enter the password for admin user, you will find it on the PLC)
2. Execute the FW-Update first to the FW-Version 2022.0 LTS (as suggested from DivisionByZero). You can download the FW under following Link: AXC F 2152 - Steuerung - 2404267 | Phoenix Contact
3. Update the FW to 2023.0LTS
BR Eduard
Hello sipru09,<\/p>the FW update was not successful, please execute the following steps:<\/p>
1. Delete the installed projects and recover the configurations on the PLC via following command line: "**sudo recover-axcf2152 1 <\/strong>" (please enter the password for admin user, you will find it on the PLC)<\/li>
2. Execute the FW-Update first to the FW-Version 2022.0 LTS (as suggested from DivisionByZero). You can download the FW under following Link: [AXC F 2152 - Steuerung - 2404267 | Phoenix Contact<\/a><\/li>
3. Update the FW to 2023.0LTS<\/li><\/ol>BR Eduard<\/p>
>
Hi sirpu09,<\/p>afaik it is mandatory to install the 22.0 lts firmware first when having an older version installed.<\/p>Cheers<\/p>DivisionByZero<\/p>
Hello Eduard & DivisionByZero
Thank you for your help. Now I was able to update the firmware.
[image.png](https:\\/\\/forum.plcnext-community.net\\/uploads\\/635FL8HLC4G8\\/image.png)Unfortunately, I have a problem with Eclipse.
[image.png](https:\\/\\/forum.plcnext-community.net\\/uploads\\/V9FGB7VOCU1F\\/image.png)How can I remove the SDK in order to have a clean start? Do I have to consider the version of the SDK
Thanks for your help.
Kind Regards
Hello sipru09,
I assume you deleted the SDK folder C:\SDKs\AXCF2152\2019.0 without first removing that SDK from plcncli. Please note, if an SDK should be deleted, first remove the SDK in plcncli:
Remove the SDK in plcncli via following commandline: "plcncli set setting SdkPaths C:/SDKs/AXCF2152/2019.0 --r
1. "
2. Delete the folder "C:\SDKs\AXCF2152\2019.0 "
Please try to remove the SDK in plcncli (see step 1), if the command will be executed successful, the failure should be resolved. If not, please let me know..
BR Eduard
Hello sipru09,<\/p>I assume you deleted the SDK folder C:\SDKs\AXCF2152\2019.0 without first removing that SDK from plcncli. Please note, if an SDK should be deleted, first remove the SDK in plcncli:<\/p>
1. Remove the SDK in plcncli via following commandline: "**plcncli set setting SdkPaths C:\/SDKs\/AXCF2152\/2019.0 --r <\/strong>"<\/li>
2. Delete the folder "**C:\SDKs\AXCF2152\2019.0 <\/strong>"<\/li><\/ol>Please try to remove the SDK in plcncli (see step 1), if the command will be executed successful, the failure should be resolved. If not, please let me know..<\/p>BR Eduard<\/p>
Hello Eduard
I think the error has been resolved. Unfortunately I have another error now. Can you help me with this?
[image.png](https:\\/\\/forum.plcnext-community.net\\/uploads\\/IU28I0Z8GD90\\/image.png)Thanks in advance for your help.
Kind Regards
That error was discussed in earlier threads, e.g.
Forum - PLCnext Community
PLCnext Technology from Phoenix Contact is a unique, open ecosystem for modern automation that is capable of meeting all the challenges of the IoT world.
The solution is given there.
This problem should be fixed in the latest version of the toolchain (version 2022.6).
That error was discussed in earlier threads, e.g.<\/p>[https:\/\/www.plcnext-community.net\/forum\/#\/discussion\/2185\/the-assembly-specified-in-the-plcncli-plcncli-deps-json-dependencies-manifest-was-not-found<\/a><\/p>The solution is given there.<\/p>This problem should be fixed in the latest version of the toolchain (version 2022.6).<\/p>
Hello Martin
Thanks for your help. I think it worked. The error is gone.
Another problem I face is that the target version in eclipse is not the same as in PLCNext Engineering.
[image.png](https:\\/\\/forum.plcnext-community.net\\/uploads\\/DXPJIUSO9S2T\\/image.png)[image.png](https:\\/\\/forum.plcnext-community.net\\/uploads\\/OIB7DT45QDV1\\/image.png)I guess they have to correspond with each other?
So my question would be, where do I get the corresponding toolchain? Is it possible to run diffrent versiosns parallel? Or do I have to uninstall older versions?
Thanks in advance for your Help.
Kind Regards
Please don’t confuse these two concepts:
Tool downloads
There are different tools available, depending on what you want to create. Hover and click the following graphic to get more information. For details on programming in the context of PLCnext Technology, see Introduction to PLCnext programming.
Administration - Firmware Update
In order to update to firmware version 2023.0 LTS or newer at least a firmware version 2022.0 LTS or newer must be installed on the controller. Firmware versions 2021.9 and before will not accept the *.raucb firmware update file.
* Toolchain: The executables used to build the binaries for a target, including the Eclipse Add-In and the Visual Studio Extension.
* Software Development Kit (SDK): The dependencies for a specific target, e.g. libraries and their header files.
It's a good idea to use the latest version of the Toolchain, which is currently version 2022.6.
You should use an SDK that matches the firmware version on your controller.
There are links to the Toolchain and the SDKs on this page in the Info Center:
It is also a good idea to keep your controller updated with the latest firmware. Your device is currently running version 2022.9. The latest firmware version for that controller is 2023.0. There are instructions on how to update the firmware in the Info Center, here:
The archive containing firmware version 2023.0 also contains the SDKs for Windows and Linux, so you can get all of those with one download.
Please don't confuse these two concepts:<\/p>
* Toolchain: The executables used to build the binaries for a target, including the Eclipse Add-In and the Visual Studio Extension.<\/li>
* Software Development Kit (SDK): The dependencies for a specific target, e.g. libraries and their header files.<\/li><\/ul>It's a good idea to use the latest version of the Toolchain, which is currently version 2022.6.<\/p>You should use an SDK that matches the firmware version on your controller.<\/p>There are links to the Toolchain and the SDKs on this page in the Info Center:<\/p>[https:\/\/www.plcnext.help\/te\/Where_to_start\/Tool_downloads.htm<\/a><\/p>It is also a good idea to keep your controller updated with the latest firmware. Your device is currently running version 2022.9. The latest firmware version for that controller is 2023.0. There are instructions on how to update the firmware in the Info Center, here:<\/p>[https:\/\/www.plcnext.help\/te\/WBM\/Administration_Firmware_Update.htm<\/a><\/p>The archive containing firmware version 2023.0 also contains the SDKs for Windows and Linux, so you can get all of those with one download.<\/p>
Hello Martin
It works now. Thanks for the support.
Kind Regards