Download Print this page

Mqtt Configuration - Anybus CompactCom 40 Network Manual

Ethernet/ip iiot
Hide thumbs Also See for CompactCom 40:

Advertisement

MQTT
11.2

MQTT Configuration

If MQTT is enabled, the Anybus CompactCom will set up a default configuration for the
parameters needed. It is possible to change this configuration, either by setting the values of
instances in the Network Configuration Object, or by using the internal configuration web page.
The MQTT last will message can be configured in the MQTT Host Object (E2h).
The table below lists the parameters that are configurable via the internal web page and the
Network Configuration Object.
Parameter
Broker URL
Client Identifier
Keep Alive (s)
Broker Username
Broker Password
Base Topic
Quality of service
11.3
MQTT Topic
All data is tagged with a topic string. The topic is used by a client, to recognize the messages it is
subscribing to, when they are published by a certain device to the broker.
The topic is set according to the publish configuration of the dataset to be published. The
configuration is retrieved when the Anybus CompactCom issues the command Get_Publish_
Configuration to the MQTT Host Object (E2h).
If no topic exists in the publish configuration, the topic is generated from the information, that
the host application provides. The generated topic string has the following topic levels: <base
topic>/<dataset type>/<dataset identifier>. Each topic level can consist of
several topic levels. The base topic level is retrieved from the Network Configuration Object
(04h), instance #55. The other topic levels are specific to each dataset, according to the table
below.
Dataset
Single ADI
Assembly mapping
instance
Transparent network
payload
11.4
Dataset Encoding
The Anybus CompactCom encodes the different datasets using JSON, see examples below.
Vendor specific datasets are sent transparently, and not encoded.
Anybus CompactCom 40 EtherNet/IP IIoT Network Guide
Default
Instance No. (in
Network Configuration
Object)
50
Empty string
51
Empty string
52
60
53
Empty string
54
Empty string
55
Empty string
56
0
Dataset Type
Dataset Identifier
"Parameter"
ADI name as given by attribute #1 of the ADI instance in the
Application Data Object (FEh). If this attribute is not implemented,
the default value will be used.
Max 32 characters
Default value: "Param<ADI number>"
"Assembly"
Assembly mapping instance name as given by attribute #13 of the
assembly mapping instance in the Assembly Mapping Object (EBh).
If this attribute is not implemented, the default value will be used.
Max 32 characters
Default value: "Asm<assembly mapping instance number>"
"Transparent"
The dataset identifier in decimal format without leading zeroes.
Vendor specific.
92 (244)
SCM-1202–069 1.9 en-US

Advertisement

loading
Need help?

Need help?

Do you have a question about the CompactCom 40 and is the answer not in the manual?

Questions and answers