I am a newbie on node-red.
I want to setup a modbus TCP SERVER on my rasp PI which would have a certain IP address and aswer to requests coming from a remote Modbus TCP client (etiher coils or holding register)
I have uploaded Modbus contrib, node-red is working fine.
I am very confuse with how to setup a flow which would:
Create a Modbus TCP Server being able to get connected to a Modbus TCP Client
use nodes that would allow this server to send values to the client, based on functions codes (3 / 5 / 15 / ...)
I found many examples on how to setup a Modbus TCP CLIENT getting data from remote servers, I want to develop the opposite, i.e. have my PI being a server, which would react to queries from a remote client (which in that case would be a PLC polling data from multiple slaves/servers)
Any help would be wellcome, or indication about an example of flow which I could look into