C++ program types on PLCnext Technology
Types of C++ programs
Depending on the functions you want to create, there are different ways to implement C++ code in PLCnext Technology.
C++ real-time applications are deterministically executed in the real-time context (ESM) on a PLCnext Control. This C++ program type can be arbitrarily combined with programs in other languages (IEC 61131‑3 languages, MATLAB® Simulink®). The data interchange is done task-synchronous and consistent via the Global Data Space (GDS). |
C++ Function Extensions can use existing functions (via RSC calls) or add new services to the system. Learn how to create this C++ program type in our interactive online course. |
Feel free to implement a C++ program directly on Linux OS and create your own runtime system – or re-utilize your legacy code. To interact with the PLCnext Runtime System, rely on existing standards, e.g. OPC UA or the REST data interface. You may also call RSC services, or access the I/Os directly via our ANSI-C I/O interface. |
Create these C++ program types in Eclipse®, Visual Studio®, or any other IDE, starting with project templates provided by the PLCnext CLI. See required installations for C++ programming. |
Create this C++ program type with any IDE right from scratch, and follow our SampleRuntime example on GitHub.
|
C++ programs on PLCnext Technology in general
PLCnext API documentation
Find links to all releases of the PLCnext C++ API documentation, containing all the PLCnext modules, namespaces, classes and files. For the built-in Remote Service Calls (RSCs) for C++ and Java programming, see the RSC documentation reference list which provides direct links into the respective API documentation pages.