afar - 2018-06-11

Running CodeSys in raspberry pi makes it a perfect gateway to connect to industrial network. I am trying to find a way to connect a ROS network ( Robotic Operating System) to an industrial network, using raspberry pi and CodeSys.
Robotic Operating system (ROS) is widely used in academy and industry and is a great platform for robot control and visualization.
Raspberry pi can be easily a ROS node thanks to its linux operating system. But how about CodeSys application on raspberry pi? How can it be connected to a ROS network?
One may say, run ROS on linux and exchange data between linux and CodeSys program somehow. For example using Modbus in python one can share data between Linux and CodeSys. But this involves too many conversions.
A good option would be having a ROS-Bridge client in CodeSys that works based on websocket that could connect to ROS-bridge and as a result could access ROS network.
Has anyone taught of this problem?