Integration of C/C++ code into CODESYS is made using the External C lib development package for CODESYS V3.
An example can be to integrate a C or C++-based control strategy or control algorithm or make own C-based libraries run from within a CODESYS programme.
The method has a very low overhead in execution time, as a pure function call interface is being used. The C libraries are compiled into Linux-shared objects, and loaded together with CODESYS. The function calls to the C code then becomes linked together with the CODESYS-compiled code, and the C libraries are executed under the context of the CODESYS code.
“DEIF does not use, offer to sell, sell or import products with CODESYS into the US. US Customers are encouraged to contact DEIF for other open software solutions.”