Wireless communication

Yes. Both ModbusTCP and ModbusRTU. Both will use Node-RED.
ModbusTCP will use either of the Ethernet ports on the RIO. (See below - you seem confused about the two Ethernet ports on the RIO).
ModbusRTU will use an FTDI USB to Serial adaptor.

Yes. You will need to find a gateway that supports your Profibus device.

For ModbusTCP tips look here:

For ModbusRTU tips look here:

Yes. See below for more information on the RIO Ethernet.

All of them you list.
Node-RED is very flexible. The key is more about what the field hardware is sending and how. What electrical interface do they support?
For example, you mention ASCII, that’s most likely going to be serial data. So how is the field hardware sending the serial data? RS232? RS422? RS485? Or is it doing some sort of UDP strings over Ethernet? Node-RED and RIO can work with any of them, but you may need to use a USB to serial adaptor or find a serial to Ethernet adaptor. We leave that up to you to decide which.

groov RIO is a two port switch. Both Ethernet ports have the same IP address.
So don’t think of ‘both’ when it comes to a RIO. You are probably going to end up just using a network switch and one of the RIO Ethernet ports.
If your diagram only had 2 Ethernet field devices, you would not need a network switch at all since you could use both ports on the RIO and be done.
But, since you have four field devices and the RIO, you are going to need a 6 or more port Ethernet switch.
It’s very important that you understand that all your field devices must be on the same subnet. If they are not, you will need to add a router.
Time to update that diagram you posted…

If you like, you can use its RS-232 port with a USB-to-Serial converter to connect to the RIO’s USB port. In this case, you would use the Node-RED ModbusRTU nodes.

Or, as you suggest, you can get an RS-232 to Ethernet adaptor and plug it into the little network you are creating and use Node-RED on the RIO to talk ModbusTCP to the LoRaWAN gateway.
Either will work fine. It just depends on what you want to work with. Serial USB or Serial Ethernet.

My thoughts? If there is no price difference, stick with Ethernet across the board. Don’t mix signal / data types if you don’t need to.

It depends on the LoRaWAN gateway you end up selecting.
I hear that there are some LoRa to ModbusTCP gateways around.
I did not know that there were LoRa to serial gateways until you told me you have one just now.
Not sure there would be any benefit to using serial vs. Ethernet unless they are significantly cheaper.

Overall, it looks good.
Keep in mind that the RIO is a two-port switch, so you will need a small network switch in the diagram. (Tip, make a PoE switch and power the RIO with it so you don’t need a DC supply).
Once you have that sorted, it’s just a matter of making sure you understand each field device’s communication capabilities and how you plan to map those to the RIO.

Keep in mind that LoRaWAN is slow. You must set Node-RED to update only at a rate that your wireless network can support. (Which Node-RED can do, since you are in control of setting timing etc).

2 Likes