April-12th-2019, 06:19 PM
While netPI on one hand is a raspberry compatible system, on the other it is featuring a netX51 chip.
Under netPIs DockerHub repository you find many dockerized examples. One is for setting up and configuring netX51 chip as PROFINET, EtherrNetIP and in your case Ethercat slave here https://hub.docker.com/r/hilschernetpi/n...-examples/ . The link shows you also a path the containers git hub source code. The repository explains you how you compile the example with different PDO sizes.
As for the netX1 we have also a container made for the RS232 and RS485 interfaces under the same netPI repository https://hub.docker.com/r/hilschernetpi/netpi. Both examples are Node-RED based but in general mapped into a container as /dev/tty0 interface. Please be aware of that those modules use the Raspberr Mini UART chip that has some restrictions. Please have a look to these limitations if they fit to the serial protocol you want to implement. With RS485 interface you need to switch between transmitting and receiving using a GPIO pin
Thx
Armin
Under netPIs DockerHub repository you find many dockerized examples. One is for setting up and configuring netX51 chip as PROFINET, EtherrNetIP and in your case Ethercat slave here https://hub.docker.com/r/hilschernetpi/n...-examples/ . The link shows you also a path the containers git hub source code. The repository explains you how you compile the example with different PDO sizes.
As for the netX1 we have also a container made for the RS232 and RS485 interfaces under the same netPI repository https://hub.docker.com/r/hilschernetpi/netpi. Both examples are Node-RED based but in general mapped into a container as /dev/tty0 interface. Please be aware of that those modules use the Raspberr Mini UART chip that has some restrictions. Please have a look to these limitations if they fit to the serial protocol you want to implement. With RS485 interface you need to switch between transmitting and receiving using a GPIO pin
Thx
Armin
„You never fail until you stop trying.“, Albert Einstein (1879 - 1955)