background image

   

Industrial

 

Electronic Devices 

 

 

 ADFweb.com S.r.l.           

User Manual   

Ethernet / MQTT

 

 

Document code: MN67930_ENG     Revision 1.000   Page 22 of 31

 

 

Figure 5a: “MQTT Set Access 

 MQTT Publish” window 

 

MQTT SET ACCESS:

 

 

 

By Pressing the “

MQTT Set Access

” button from the main window for SW67930 (Fig. 2) the window “Set MQTT Topics” appears (Fig. 5). 

This section is used to link the MQTT topics to the Ethernet devices that will send and receive the Ethernet messages. It is also possible to 
define the Ethernet format of the Ethernet messages, defining the part of them to map on MQTT side. 
 
The data of the columns in the “MQTT Publish” 
have the following meanings: 

 

If the field “

Enable

” is checked, the MQTT 

rule is enabled; 

 

In  the  field  “

Topic

”  the  topic  created  in 

the  section  “MQTT  Set  Topic 

  MQTT 

Publish” is selected; 

 

In  the  field  “

IP  Address

”  the  IP  Address 

of  the  Ethernet  device  from  which 
receiving data is defined; 

 

In  the  field  “

Ethernet  Data  Form

”  the 

data  format  of  the  Ethernet  message  is 
defined. It is possible to associate specific 
parts  of  the  Ethernet  message  to  a 
keyword  and  map  just  them  on  MQTT 
side. Please, see page XX for more info; 

 

In the field “

Template MQTT

” the structure of the payload of the MQTT message to publish is defined. It is possible to define a fixed 

part and the variable part using the keywords defined in the field “Ethernet Data Form”; 

 

In the field “

Mnemonic

” the description of the rule is defined. 

 

 

Note: 
    In order to send Ethernet messages to the converter, if TCP is used, the converter acts as server, so the Ethernet device must open 

the TCP connection as Client to the TCP port defined in the section “Set Communication”. 

Содержание HD67930-B2

Страница 1: ...re Power Supply 18 35V DC and 8 24 V AC Temperature range 40 C 85 C 40 F 185 F For others MQTT products see also the following links Converter MQTT to www adfweb com Product HD67931 M Bus www adfweb c...

Страница 2: ...TECHNICAL SUPPORT 31 RETURN POLICY 31 UPDATED DOCUMENTATION Dear customer we thank you for your attention and we remind you that you need to check that the following document is Updated Related to the...

Страница 3: ...can be used only by qualified personnel strictly in accordance with the specifications Qualified personnel are persons who are familiar with the installation assembly commissioning and operation of t...

Страница 4: ...Industrial Electronic Devices ADFweb com S r l User Manual Ethernet MQTT Document code MN67930_ENG Revision 1 000 Page 4 of 31 EXAMPLE OF CONNECTION...

Страница 5: ...Industrial Electronic Devices ADFweb com S r l User Manual Ethernet MQTT Document code MN67930_ENG Revision 1 000 Page 5 of 31 Figure 1 Connection scheme for HD67930 B2 CONNECTION SCHEME...

Страница 6: ...on between Ethernet and Power Supply Mountable on 35mm Rail DIN Wide power supply input range 18 35V DC and 8 24V AC Wide temperature range 40 C 85 C 40 F 185 F CONFIGURATION You need Compositor SW679...

Страница 7: ..._ENG Revision 1 000 Page 7 of 31 POWER SUPPLY The devices can be powered at 8 24V AC and 12 35V DC For more details see the two tables below VAC VDC Vmin Vmax Vmin Vmax 8V 24V 12V 35V Consumption at 2...

Страница 8: ...position of the Dip1 of Dip Switch A The first with Dip1 of Dip Switch A at OFF position is used for the normal working of the device The second with Dip1 of Dip Switch A at ON position is used for u...

Страница 9: ...ks very slowly 0 5Hz update in progress 2 Ethernet communication yellow Blinks when Ethernet communication is running Blinks quickly Boot state Blinks very slowly 0 5Hz update in progress 3 MQTT statu...

Страница 10: ...ommunication The Ethernet connection must be made using Connector2 of HD67930 B2 with at least a Category 5E cable The maximum length of the cable should not exceed 100m The cable has to conform to th...

Страница 11: ...erter use the available software that runs with Windows called SW67930 It is downloadable on the site www adfweb com and its operation is described in this document The software works with MS Windows...

Страница 12: ...iguration A device s configuration can also be imported or exported To clone the configurations of a Programmable Ethernet MQTT Converter in order to configure another device in the same manner it is...

Страница 13: ...anguage of the software and check the updatings for the compositor In the section Language it is possible to change the language of the software In the section Connection Options it is possible to che...

Страница 14: ...l Ethernet MQTT Document code MN67930_ENG Revision 1 000 Page 14 of 31 In the section Software Settings it is possible to enable disable some keyboard s commands for an easier navigation inside the ta...

Страница 15: ...ION By Pressing the Set Communication button from the main window for SW67930 Fig 2 the window Set Communication appears Fig 3 The window is divided in different sections in order to define the differ...

Страница 16: ...nt hold the last MQTT messages and in case of incorrect disconnection or missing ACK they try to send again them since all the ACK messages are exchanged correctly valid only for QoS 1 and QoS 2 If th...

Страница 17: ...fined In the field SubNet Mask the Subnet Mask of the converter is defined In the field Gateway the default gateway of the net is defined This feature can be enabled or disabled pressing the Check Box...

Страница 18: ...ld DNS the DNS address is defined This field is required if the server address is define by URL and not IP Address In the field Port the port used for MQTT communication is defined In the field SSID t...

Страница 19: ...er address is define by URL and not IP Address In the field Port the port used for MQTT communication is defined In the field SSID the name of the Wi Fi network to connect is defined In the field Pass...

Страница 20: ...31 Figure 3g Set Communication NTP window NTP NETWORK TIME PROTOCOL This section is used to define the parameters of NTP protocol The means of the fields are In the field Server URL the URL or the IP...

Страница 21: ...ars Fig 4 This section is used to define the MQTT topics where the converter will publish the data from Ethernet and the topic that the converter will subscribes for writing the data to Ethernet The m...

Страница 22: ...he topic created in the section MQTT Set Topic MQTT Publish is selected In the field IP Address the IP Address of the Ethernet device from which receiving data is defined In the field Ethernet Data Fo...

Страница 23: ...ine a fixed part and the variable part using the keywords In the field Ethernet Data Form the data format of the Ethernet message is defined It is possible to associate specific parts of the MQTT payl...

Страница 24: ...cable Insert the IP 192 168 2 205 Select which operations you want to do Press the Execute update firmware button to start the upload When all the operations are OK turn OFF the Device Put Dip1 of Dip...

Страница 25: ...estart the PC Check the LAN settings If you are using the program inside a Virtual Machine try to use in the main Operating System If you are using Windows Seven Vista 8 or 10 make sure that you have...

Страница 26: ...e The parts to link to MQTT side is made using keywords defined between chars Example From Ethernet side the Client sends a message with this ASCII format ID xxxx Register xxxx Desc xxxxx Data xxxxx W...

Страница 27: ...000 Page 27 of 31 At this point it is possible to define the MQTT template as preferred An example can be using JSON format ID ID REG REG DESC DESC DATA DATA The output on MQTT side will be ID 0001 R...

Страница 28: ...ndustrial Electronic Devices ADFweb com S r l User Manual Ethernet MQTT Document code MN67930_ENG Revision 1 000 Page 28 of 31 Figure 8 Mechanical dimensions scheme for HD67930 B2 MECHANICAL DIMENSION...

Страница 29: ...valid combination of the following HD67930 B 2 Connectors Type 2 Fixed Screw Terminal Enclosure Type B Modulbox 4M 35mm DIN Rail mounting Device Family HD67930 Ethernet MQTT Converter Order Code HD679...

Страница 30: ...ystems This symbol on the product or on its packaging indicates that this product may not be treated as household rubbish Instead it should be taken to an applicable collection point for the recycling...

Страница 31: ...e following Obtain a Product Return Number PRN from our internet support at www adfweb com Together with the request you need to provide detailed information about the problem Send the product to the...

Отзывы: