Home

Lars Ott

This project contains examples on how to integrate CODESYS Control for Linux SL with other Linux applications and the system in general.

The following ways for integration are demonstrated:
Shared memory to exchange data with an application written in C
CODESYS Project (bad Link)
CODESYS Project
C-code counterpart
Sockets to exchange data with an application written in C
CODESYS Project
C-code counterpart
A Character Device and the CmpCharDevice Library to control an LED on the Linux IPC
CODESYS Project
Documentation for the LED used
Execute Linux command line commands
CODESYS Project

Other Methods for Integration that are not demonstrated are:
OPC UA
CODESY PLCHandler (a C++ library)
Both of these solutions allow browsing a list of variables/tags on the controller, subscribing to variables, and writing values for variables.
PLCHandler also allows other services such as File access and PLC start/stop.