MODBUS to MQTT [message #1830070] |
Thu, 16 July 2020 16:14 |
Anil Bhupathiraju Messages: 1 Registered: July 2020 |
Junior Member |
|
|
I am a newbie to MQTT so i guess thi s would sound like a silly question but here it goes.
I am implementing a MODBUS to MQTT (Publisher) which at frequent intervals transmitts the telemetry comming to Modbus. Here's how the flow looks
AC Cooler ----> Modbus ----> MQTT Publisher (PIC MCU) ---> Ethernet controller (TCP/IP) --> MQTT Broker.
while the above setup works fine, customer wants us to send commands back through the MQTT broker to my publisher which in turns parses a command back through modbus to AC Cooler to change parameters such as fan speed, alarms...etc. My MCU is perfectly capable of accepting commands through TCP layer but i am not sure if the underlying MQTT API would be able to send commands from broker to publisher. Well considering it is a messaging protocol and publisher being able broadcaste topic to multiple broker/client i am assuming the MQTT does not allow point to point messaging from broker to client.
Please correct me if i am wrong and if there is a way to work this back communication.
Regards
Anil Verma B
|
|
|
Powered by
FUDForum. Page generated in 0.03267 seconds