Programming in C++
Types of C++ programs
Depending on the functions you want to create, there are different ways to implement C++ code.
|
|
|
|
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. |
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. | |