Good evening, I’ve been trying for literally 3 days to install this program and am writing this so as to go through the steps I have taken and things I have noticed along the installation. 1.) I downloaded the “PLCnext Technology C++ tool chain for Windows, including SDK, Compiler, Eclipse Add-in, and LibraryBuilder”, Revision LTS 2020. Shown in the first attached picture (LTS 2020 download) is the link. It appears to include everything. I downloaded it into the DOWNLOADS folder. The attached jpeg titled “Downllads folder content” shows what’s in it. By the way, you will notice the xz file is just that, and not an xz Archive file as shown in the youtube video…this is something I suspect. 2.) I run the setup directly from the DOWNLOADS folder, creating a new folder “C:\\Program Files\\PHOENIX CONTACT\\PLCnCLI 2020.0 LTS” which contains the contents shown in the attached picture “PHOENIX CONTACT folder location and contents.jpeg” 3.) I go on cmd prompt to attempt to install the SDK. I made several attempts to install the SDK as shown in the “CMD Prompt failed attempts.jpg” picture attached to this post. Thinking about how the xz file is located in the DOWNLOADS folder, I put the xz file directly in the folder “C:\\Program Files\\PHOENIX CONTACT\\PLCnCLI 2020.0 LTS”. I then changed the directory to “C:\\Program Files\\PHOENIX CONTACT\\PLCnCLI 2020.0 LTS>” so it would be easy to find and install into the destination path “C:\\Program Files\\PHOENIX CONTACT\\PLCnCLI 2020.0 LTS” as seen in the script.. No avail. All I get is: The SDK ‘pxc-glibc-x86_64-axcf2152-image-mingw-cortexa9t2hf-neon-toolchain-2019.0.tar.xz’ was not found. 4.) I decide to try to start a project anyway and when I do, I get nothing under the “supported targets” part of the project startup and conclude that the SDK still has not been installed. I attempted this thinking that with the LTS 2020 revision, there was a chance the SDK might somehow “auto-install” along with the CLI. It appears as though I was wrong. I then attempted to work directly with the CLI in eclipse to follow the directions given in → https://www.plcnext-community.net/en/discussions/-2-offcanvas/eclipse-not-showing-any-targets-when-creating-a-new-project.html. Unfortunately, I couldn’t even type anything into the CLI for some reason so I couldn’t do what was instructed on that post. Please advise
Hello, I hope I can help. I have just repeated all the steps you described above on a clean Windows machine. 1) There is no problem with the SDK file - you can see below that this is a .tar.xz file, which is fine.
2) This step is fine. Note that the latest version of the PLCnCLI setup includes the check box shown in the screen shot below. If you check this box during installation, the windows PATH environment variable will be updated, so you can issue the plcncli command from any folder, without including the full path to the installation folder.
3) The reason that this command does not work is because the name of the SDK file that you are giving to plcncli is not the name of the SDK file that you downloaded. The command that was included with the video tutorial is only intended as an example; you must modify this command for your situation. The video uses the SDK for AXC F 2152 version 2019.0. The SDK that you downloaded with the PLCnCLI package is for AXC F 2152 version 2020.0. So, the SDK file name in the tutorial is different to the name of the SDK file that you have downloaded. This command works for me:
plcncli install sdk -p pxc-glibc-x86_64-mingw32-axcf2152-image-mingw-cortexa9t2hf-neon-axcf2152-toolchain-2020.0.tar.xz -d C:\\SDKs\\AXCF2152\\2020.0\\
- After installing the SDK, this step should work.
Excellent, Martin, this cleared things up.