User Manual Modbus TCP Slave / MQTT Broker
Document code: MN67C07_ENG
Revision 1.000
Page 30 of 37
Industrial Electronic Devices
TEMPLATE STRING: DEFINITION OF MQTT PAYLOAD
Mode 1: mapping a single variable for each topic using tables
In this mode, it is possible to define which is the Modbus data to map inside the MQTT topics using the Position field inside "MQTT Set Topic"
section. This simplifies the configuration because the variable to be mapped is selected using the table, but it allows you to map a single
variable for each topic.
In order to link the data into the MQTT topic, you can use the keyword $VALUE$. The keyword will be replaced with the real value coming
from/to Modbus.
Mode 2: mapping more variables for each topic using keywords
In this mode, it is possible to define which is the Modbus data to map inside the MQTT topics specific keywords. Position field, format and
dimension of "MQTT Set Topic" section will be ignored.
In order to link the data into the MQTT topic, you can use these keywords:
@
f
sss
.
nnn
@
Starting bit of the
Format of the
Starting char
internal memory
Separator
Dimension in bit
Ending char
variable
array
ADFweb.com S.r.l.
Need help?
Do you have a question about the HD67C07-B2 and is the answer not in the manual?
Questions and answers