From MQTT publisher to Modbus client bridge

Topics about the Hardware of Revolution Pi
Post Reply
javier.gutierrez
Posts: 4
Joined: 01 Mar 2021, 10:01

From MQTT publisher to Modbus client bridge

Post by javier.gutierrez »

Dear Sirs,
We are looking for a MQTT publisher to Modbus client bridge. I mean, we have a device sending information through MQTT and we need to send that information to a device which receive the information in Modbus. I have just discover your product, but I see there is a center module which must be able to act as MQTT broker, also as MQTT subscriber and there is a Modbus gate, which must be able to take that information in the CPU and send it to Modbus gate, so Modbus gate be able to send that information to a Modbus client ...
For what would be Modbus Gate? Can't we use Modbuslib directly in central module?
Am I right? Would it be “easy”? Do you have similar examples?
One last though ... For what would be Modbus Gate? Can't we use Modbuslib directly in central module?
Thank you very much.
->Johannes<-

Re: From MQTT publisher to Modbus client bridge

Post by ->Johannes<- »

Hi Javier,

you can use the RevPi Connect
2 networks – 1 device
Two Ethernet ports enable the device to be simultaneously integrated within the automation network and the IT network to transmit machinery data from, for example, the shop floor (e.g. Modbus to the Cloud (MQTT) or a superordinate IT system.
The RevPi Connect has Modbus-protocol integrated:
Modbus capability
RevPi Connect already has master and slave capability for the popular Modbus RTU and Modbus TCP network protocols. External gateways are therefore no longer required for these two network protocols. Modbus TCP works with the Ethernet interfaces available on RevPi Connect (i.e. via the RJ45 sockets on the front panel) or any other added Ethernet connection (e.g. USB WLAN adapter) that provides the TCP/IP protocol. Modbus RTU can be realized via the 4-pin RS485 connector on the front panel. The master and slave configuration is controlled via the browser-based, graphical configuration software PiCtory.
MQTT Broker and client: How to Install Mosquitto Broker
MQTT-Lib e.g. inPython: Paho MQTT
Value mirroring between Modbus and MQTT: Example The buzzword is revpimodio2 ( it is not an example for MQTT and Modbus, but it shows the way you have to go)

If you have further questions, please let me know.

Best regards,

Johannes
javier.gutierrez
Posts: 4
Joined: 01 Mar 2021, 10:01

Re: From MQTT publisher to Modbus client bridge

Post by javier.gutierrez »

Thank you very much. I think I have enough by now. Just congrats for RevPI device. Smart and Industrial ... Just I am missing to have a higher temperature (80ºC) in order to be perfect!! I know that is not normally required such a high temperature, but on industrial enviornment and when you have to work in some countries, it is required ... Thanks!
javier.gutierrez
Posts: 4
Joined: 01 Mar 2021, 10:01

Re: From MQTT publisher to Modbus client bridge

Post by javier.gutierrez »

Sorry, I have one question ... would it be possible to use IEC61850 protocol? I am thinking in customers requesting MQTT to IEC61850 gateway ...
Thanks!
javier.gutierrez
Posts: 4
Joined: 01 Mar 2021, 10:01

Re: From MQTT publisher to Modbus client bridge

Post by javier.gutierrez »

Hello, One additional question. Would it be possible to contact someone to develop the application for coding this "bridge" MQTT/Modbus? I have not much programmer skills; if there are references for one proffessional who can write the code, it will be an interesting option for me ... Thanks.
Post Reply