8411 questions

9899 answers

15703 comments

14199 members

0 votes
35 views 1 comments
by
Hello I would like to send some data i collect from modbus to to an MQTT Broker. My sensor gives me five values an I like to publish each value in an seperate topic.

How is this possilble?

1 Answer

+1 vote
by
Hello,

Yes, it is possible. For that, you will need to create five data to server instances and configure your Modbus master to have five slave interfaces that read each value individually.

Regards.
by
Okay, but all my instances would have the same address so how can i filter with variable goes into which topic.

Note: I'm using Modbus RTU