When I am trying to check the SDK targets after the installation, then I got an empty path.
Hello Samanthap, did you install just the plcncli or also execute “plcncli install sdk --path … --directory …”? To install a SDK? kind regards, Oliver
Hello, also did this command: sudo ./plcncli install sdk -p pxc-glibc-x86_64-axcf2152-image-sdk-cortexa9t2hf-neon-axcf2152-toolchain-2021.6.sh -d /opt/pxc/sdk/AXCF2152/2021.6 after that I tryied to check the skds path.
![]()
Hey, as you installed the SDK using sudo you probably do not have permissions to the SDK using the plcncli without sudo.. Either change the permissions of the folder /opt/pxc/sdk or execute the command using sudo sudo chown -R ehz-norden /opt/pxc/sdk
Hello, so to make it usable without sudo. 1. change permission on /opt/pxc 2. move config files /plcncli → /home//.config/plcncli 3. change permissions on the /home//.config/plcncli then you should be able to use plcncli without sudo. kind regards, Oliver
Note that the problems described above can be avoided if the PLCnext CLI and the SDK(s) are initially installed without using sudo.
Hi!
Can you help me with the installation of SDK for AXC F 1152 on windows 10?
Thx!
Hi! </p>Can you help me with the installation of SDK for AXC F 1152 on windows 10?</p>Thx!</p>
I downloaded the AXC F 1152 SDK file. After that, I ran in the comand line “plcncli install sdk -p pxc-glibc-x86_64-mingw32-axcf1152-image-mingw-cortexa9t2hf-neon-axcf2152-toolchain-2022.0.tar -d C:\Program Files\PHOENIX CONTACT” to install de SDK file of my controller in a specific directory.
The installation seems correct and when I run “plcncli get sdks” to see what is the path of my SDK I see the directory, and when I run “plcncli get targets” to see what controller SDK I have I see:
{“targets”: [{
“name”: “AXCF1152”,
“version”: “22.0.4.96”,
“longVersion”: “2022.0.4 LTS (22.0.4.96)”,
“shortVersion”: “22.0.4”,
“available”: null }]}
But I can’t see this in the SDK manager of Simulink.
I’m not sure why that SDK does not appear in the Simulink SDK manager.
What is the result of these commands:
plcncli get sdks
which plcncli
?
What happens if you try installing the SDK using the SDK manager in Simulink? Does the SDK then appear in the SDK manager?
Hi, thanks for the reply.
I downloaded the windows x64 file. But the format of that file looks like a linux one. So the installation seems to be for the command window only.
If I try to install from the SDK matlab manager, the manager doesn’t find any files.
When I install the file from the CMD window, the SDK manager doesn’t find it either. (I added to the matlab path the SDK directory).
The command “which plcncli” is not recognized.
My mistake, the which command is not a windows thing, the equivalent command on Windows is where _If I try to install from the SDK matlab manager, the manager doesn 't find any files._So when you use the “Install SDK” command in the SDK manager, and then select the .tar.gz file that was downloaded from the Phoenix Contact website, the SDK is not installed?
… and, can you confirm that you have added the path to the plcncli (NOT the path to an SDK), using the “Add PLCnCLI path” button in Matlab/Simulink?
