I have been working on this for quite some time now and cannot quite get it to work properly. Here is my scenario:
I am reading Carbon monoxide levels with a sensor that communicates modbus over RS485.
I am using a Raspberry Pi 4B, which is connected to a bb smartworx RS485 to USB Converter.
I am able to read the desired registers with a "modbusSerial" node.
That being said, this is where I get myself confused, I need to poll the Flow from my SCADA system from a remote server (This will be a modbus request)
the way I visualize it is here:
[SCADA sends modbus TCP request for data from Carbon Monoxide sensor]
[SCADA sends modbus TCP request to node-red, node-red requests serial modbus data from Carbon monoxide sensor, node-red takes response and passes it along to SCADA in response to the original call]
I am fairly new to node-red but I am catching on pretty quickly. I am confused as to how I should handle this, any help would be greatly appreciated.