Skip to content

The PLCnext CLI is our tool for programming in high level languages for the PLCnext Technology ecosystem. Build an up-to-date version of the PLCnext CLI that includes the very latest bug fixes, or even build your own customised version. Test the newest features or contribute your ideas.

License

523184716/PLCnext_CLI

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Welcome to the PLCnext CLI main repository

The PLCnext CLI (PLCnext Command Line Interface) provides the entire toolchain for C++ programming on the PLCnext Technology platform as well as a template system for creating projects. Based on the templates, you can develop your applications. Use the PLCnext CLI to unpack and manage the SDKs. CMake is contained as the build environment and each SDK has its own configuration. A parser integrated in PLCnext CLI creates the metadata required for PLCnext Technology. The LibraryBuilder contained in PLCnext CLI creates a PLCnext Engineer li­brary from the project. For convinience you can also use on of our IDE plugins. They are part of the release version or can also be found here on GitHub for Visual Studio and Eclipse.

Installation & First Steps

If you want the latest release version, you can download it from the the PLCnext Technology controller download area. For more information and first steps with PLCnext Technology please visit our PLCnext Community.

Test a local build

If you want to adapt the PLCnext CLI to your needs or just work with the newest features and fixes. The following steps describe how to build a fully functional PLCnext CLI locally on your machine.

Prerequisite

External tools to download

Build steps

  • dotnet build src -p:PlcNextToolName=plcncli
  • Extract cmake to src/PlcNext/bin/Debug/netcoreapp3.0/cmake so that the bin folder can be found directly in src/PlcNext/bin/Debug/netcoreapp3.0/cmake
  • Extract the Engineering Library Builder to src/PlcNext/bin/Debug/netcoreapp3.0/library-builder
  • Edit the src/PlcNext/bin/Debug/netcoreapp3.0/file-names.xml file to look like:
<?xml version="1.0" encoding="utf-8" ?>
<names>
  <application path="plcncli"></application>
  <EngineeringLibraryBuilder path="library-builder/EngineeringLibraryBuilder"></EngineeringLibraryBuilder>
  <cmake path="cmake/bin/cmake"></cmake>
</names>
  • Use src/PlcNext/bin/Debug/netcoreapp3.0/plcncli e.g. but add it to the path environment variable

Contribute

Currently not supported. We are working on a process for contribution.

Feedback

You can give feedback to this project in different ways:

License

Copyright (c) Phoenix Contact Gmbh & Co KG. All rights reserved. Licensed under the Apache-2.0 License.

About

The PLCnext CLI is our tool for programming in high level languages for the PLCnext Technology ecosystem. Build an up-to-date version of the PLCnext CLI that includes the very latest bug fixes, or even build your own customised version. Test the newest features or contribute your ideas.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C# 76.2%
  • C++ 21.2%
  • CMake 2.5%
  • Batchfile 0.1%