diff --git a/HowTo install Windows tools for C++ programming with MS Visual Studio IDE/readme.md b/HowTo install Windows tools for C++ programming with MS Visual Studio IDE/readme.md index 9f41b3c..ca26a82 100644 --- a/HowTo install Windows tools for C++ programming with MS Visual Studio IDE/readme.md +++ b/HowTo install Windows tools for C++ programming with MS Visual Studio IDE/readme.md @@ -12,7 +12,7 @@ >The **PLCnext CLI** is a command line interface that can be used for generating metadata, C++ header files, PLCnext Engineer libraries and for the build process. The functions can be called using simple commands. An integrated help lists the commands and describes their functions. -Download the latest version from the Phoenix Contact website https://www.phoenixcontact.com/products (for example from the **AXC F 2152** area - http://www.phoenixcontact.com/qr/2404267/softw, current is `2021.6`). +Download the latest (recommended LTS) version ***PLCnext Technology C++ Toolchain for Windows, including compiler, Eclipse Add-in, Microsoft Visual Studio Extention and LibraryBuilder*** from the Phoenix Contact website (for example from the **AXC F 2152** area, in the section [Downloads->Software](http://www.phoenixcontact.com/qr/2404267/softw)). Navigate to the folder where downloads are located (typical path `%userprofile%/Downloads`), unzip the archive (`PLCnext_Toolchain_WindowsSetup_.zip`). @@ -33,13 +33,14 @@ Afterwards, the check should look like this: ```ps plcncli 21.6.0.726 (21.6.0.726) ``` -## 3. Downloading PLCnext Technology C++ Toolchain ## -Download the latest version from the Phoenix Contact website https://www.phoenixcontact.com/products (for example from the **AXC F 2152** area - http://www.phoenixcontact.com/qr/2404267/softw, current is `2021.9`). +## 3. Downloading PLCnext Technology C++ SDK ## -Navigate to the folder where downloads are located (typical path `%userprofile%/Downloads`), unzip the archive (`SDK_2021.9_Windows_AXC_F_2152.tar.xz.zip`). +Download the latest (recommended LTS) version ```sdk for Windows 64 bit``` from the Phoenix Contact website (for example from the **AXC F 2152** area, in the section [Downloads->Software](http://www.phoenixcontact.com/qr/2404267/softw)). -## 3. Installing (updating) the SDK ## +Navigate to the folder where downloads are located (typical path `%userprofile%/Downloads`), unzip the archive (`SDK_[version]_Windows_AXC_F_2152.tar.xz.zip`). + +### 3.1 Installing (updating) the SDK ## Navigate to the folder where downloads are previously unzipped, Call the CLI in the console using the following command: @@ -49,10 +50,12 @@ plcncli.exe install sdk –d [installation path] –p [path to archive file] >If you install several SDKs, Phoenix Contact recommends to use the "target name/firmware version" folder structure. +> Also your installation path must match with path in CMake + E.g.: ```ps -plcncli.exe install sdk -d C:\CLI\SDKs\AXCF2152\2021_9\ -p pxc-glibc-x86_64-mingw32-axcf2152-image-mingw-cortexa9t2hf-neon-axcf2152-toolchain-2021.9.tar.xz +plcncli.exe install sdk -d C:\CLI\sdks\AXCF2152\2022_0\ -p pxc-glibc-x86_64-mingw32-axcf2152-image-mingw-cortexa9t2hf-neon-axcf2152-toolchain-2022.0.tar.xz ``` >The SDK is specified to the controller. The full list of controllers can be found on the PHOENIX CONTACT International site ([Home > Products > PLCs and I/O systems > PLCnext Control > Product list PLCnext Technology components](https://www.phoenixcontact.com/online/portal/pi?1dmy&urile=wcm%3apath%3a/pien/web/main/products/list_pages/PLCnext_technology_components_P-21-14-01/f77f0eb0-2a70-40c3-8679-7df2450e26db)).