using Modbus overlay in Codesys
I am running a Neuron M203 with OWFS and codesys. Access to the 1W sensors works nicely by reading the data at OWFS's mountpoint using the sysFile library in Codesys.
But how can i access the I/O's? I guess using the modbus overlay is the solution. So Codesys needs to be the modbus slave... how can this be realized?
@tom84 You are correct, if you install the overlay + Modbus Server: https://github.com/UniPiTechnology/neuron_tcp_modbus_overlay
you will just need to create a Modbus TCP Slave at codesys and connect to the Server on 127.0.0.1:502. The list of registers/coils can be found at https://downloads.unipi.technology
But the full support for Neurons in Codesys is underway and we expect it to be released during this/next month.