Hilscher Community Forum
Codesys RTE profinet - Printable Version

+- Hilscher Community Forum (https://forum.hilscher.com)
+-- Forum: netPI 3 - Docker featuring Industrial Raspberry Pi 3 platform (https://forum.hilscher.com/forum-1.html)
+--- Forum: Software (https://forum.hilscher.com/forum-5.html)
+--- Thread: Codesys RTE profinet (/thread-504.html)



Codesys RTE profinet - echteler - September-20th-2019

Hi there, 
Im trying to get a profinet Balluff IO-Link Master connected to the rte port of my netpi RTE.

I managed to get codesys running, and Setup in the codesys dev environment.
I got the gateway up and running, btw. It did not work with the latest codesys runtime. I had to move back to version ...14... 
but now, when I try to choose a network adapter, it does not show the RTE ports, where the master is attached to. 


Can someone hook me up with a small tutorial, how to do this? 

Best regards
Philipp from Balluff :-)


RE: Codesys RTE profinet - Armin@netPI - September-21st-2019

Well Philip,

a word to the compatibility:

Indeed we confirmed compatibility to version ...14... here https://forum.hilscher.com/Thread-INFI-CODESYS-V3-5-14-0-compatibility-confirmed. From our team nobody checked newer versions as far as I know. To be honest I even haven't recogizned that there is a new version avilable by the way. We have no trigger to follow the monthly Codesys releases and check the compatibility.

a word to the RTE ports:

The RTE ports of netPI RTE by default aren't doing "anything" until somebody loads a firmware into the netX controller chip driving the two port either in PROFINET, EtherCAT ... slave or in TCP/IP operation. So the Codesys container we offer today is plain Codesys that can run on netPI CORE as well and just needs the main single eth0 port. The container don't do anything with the netX chip. So what you need is a mix of the Codesys container and the Ethernet LAN container here https://hub.docker.com/r/hilschernetpi/netpi-netx-ethernet-lan/.

a word of the speed of the RTE ports in TCP/IP mode.

If you read the README of the Ethernet LAN container carefully you will understand that the RTE ports TCP/IP throughput is limited. This is why Codesys will never get managed to drive a PROFINET master across it as also mentioned in this thread https://forum.hilscher.com/Thread-SOLVED-Use-netX-interface-as-profinet-controller.

So this is how 100% of the customers I know of are doing it right now: they combine Codesys and Ethernet LAN setup in one container, they use the main eth0 port as the one that drives the real-time ethernet communications like PROFINET master and they use the two RTE ports as maintenance ports for the communication from and to the Codesys Windows Development System V3. The RTE ports and their throughput are most sufficient to drive that type of communication. The best of it in this use case is the embedded switch in the two RTE ports, so you can install netPI inline in any IT network structure without the need of a network switch.

Philipp since I see a demand for a combined Codesys and Ethernet LAN container it might be useful for customers to have such a container ready to load. I gonna check possibilites to develop such a container. If it will be a separate one or overriding the existing Codesys container I don't know yet.

I will keep you informed.


RE: Codesys RTE profinet - Armin@netPI - September-25th-2019

The new version with RTE LAN support is uploaded and additionally compliance to CODESYS Control V3.5.15.x is confirmed.