background image

   

Industrial

 

Electronic Devices 

 

 

 ADFweb.com S.r.l.           

User Manual   

LoRaWAN / MQTT

 

 

Document code: MN67D36_ENG     Revision 1.000   Page 18 of 31

 

 

Figure 3c: “Set Communication 

 MQTT” window 

 

MQTT: 

 
This section is used to define the main parameters of MQTT line. The means of the 
fields are: 

 

In the field “

Server URL

” the URL or the  IP  Address of the MQTT Server is 

defined; 

 

In the field “

Server Port

” the port used for MQTT communication is defined; 

 

In the field “

Client ID

” the Client ID of the converter is defined (if ned); 

 

In  the  field  “

Keep  Alive  (seconds)

”  the  delay  with  which  the  Keep  Alive 

message is sent on MQTT is defined; 

 

If the field “

Clean Session

” is checked, the last MQTT messages are deleted 

by  the  Server  and  the  Client  in  case  of  missing  ACK.  If  unchecked,  the 
Server and the Client 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 the field “

Will Flag

” is checked, the converter will publish the Will topic at 

the  connection  to  the  Server.  With  this  feature,  in  case  of  incorrect 
disconnection,  the  Server  will  publish  this  topic  to  all the  MQTT  Clients  that 
subscribed it; 

 

In the field “

Topic Name Will

” the topic used for Will message is defined; 

 

In the field “

Message Will

” the payload of the Will message is defined; 

 

In the field “

Retained Will

” the converter will send the Will message with Retain flag enabled. In this way, the Server will hold the 

last Will message; 

 

In the field “

QoS Will

” the QoS type for Will message is defined; 

 

If the field “

Publish Topic on Connection

” is checked, the converter will publish a topic at the connection to the Server.  

 

In the field “

Topic Name Connection

” the topic published at the connection is defined; 

 

In the field “

Message Connection

” the payload of the connection topic is defined; 

 

In the field “

Retained Connection

” the converter will send the connection topic with Retain flag enabled. In this way, the Server will 

hold the last connection message; 

 

Im the field “

Username

” the username for the connection to the MQTT server is defined; 

 

In the field “

Password

” the password for the connection to the MQTT server is defined.

Содержание HD67D36-B2-868MHz

Страница 1: ...w adfweb com Product HD67D17 BACnet Slave www adfweb com Product HD67D18 Ethernet www adfweb com Product HD67D19 CAN www adfweb com Product HD67D20 CANopen www adfweb com Product HD67D21 DeviceNet Mas...

Страница 2: ...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 product...

Страница 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 LoRaWAN MQTT Document code MN67D36_ENG Revision 1 000 Page 4 of 31 EXAMPLE OF CONNECTION...

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

Страница 6: ...5mm Rail DIN Wide power supply input range 12 35V DC and 8 24V AC Wide temperature range 40 C 85 C 40 F 185 F CONFIGURATION You need Compositor SW67D36 software on your PC in order to perform the foll...

Страница 7: ...ision 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 24V DC De...

Страница 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: ...n Blinks slowly 1Hz Blinks quickly Boot state Blinks very slowly 0 5Hz update in progress 2 LoRaWAN communication yellow Blinks when LoRaWAN data is received Blinks quickly Boot state Blinks very slow...

Страница 10: ...stars topology in which gateways relay messages between end devices and a central network server The wireless communication takes advantage of the Long Range characteristics of the LoRa physical laye...

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

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

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

Страница 14: ...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...

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

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

Страница 17: ...fined In the field Transmission Type the type of LoRaWAN communication is defined In the field Max Payload Size the maximum dimension of the LoRaWAN messages is defined fixed in relation to the data r...

Страница 18: ...ecked the converter will publish the Will topic at the connection to the Server With this feature in case of incorrect disconnection the Server will publish this topic to all the MQTT Clients that sub...

Страница 19: ...ut of the net In the field DNS the IP Address of the DNS server is defined TLS TRANSPORT LAYER SECURITY This section is used to define the parameters of TLS protocol The means of the fields are If the...

Страница 20: ...31 Figure 3f 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: ...he data to MQTT LORAWAN UPLINK The means of the fields are If the field Enable is checked the LoRaWAN message is enabled In the field Start Byte the starting byte of the internal memory array where ta...

Страница 22: ...OWNLINK The means of the fields are If the field Enable is checked the LoRaWAN message is enabled In the field Start Byte the starting byte of the internal memory array where placing the data is defin...

Страница 23: ...The means of the fields are In the field Topic the MQTT topic is defined If the field Retained is defined the retained flag is enabled The MQTT server will hold the last topic published In the field Q...

Страница 24: ...opic the MQTT topic is defined If the field Retained is defined the retained flag is enabled The MQTT server will hold the last topic published In the field QoS the QoS level is defined In the field D...

Страница 25: ...able 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...

Страница 26: ...am 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 the administrator privileges In case you have to program more t...

Страница 27: ...n of SW67D36 Example 1 the converter is sending a LoRaWAN message related to row 4 of LoRaWAN Access LoRaWAN Uplink table of LoRaWAN Access section of SW67D36 with a Num Byte set of 4 The data from th...

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

Страница 29: ...wing HD67D36 B 2 xxxMHz Frequency for LoRaWAN communication 868 868 MHz Connectors Type 2 Fixed Screw Terminal Enclosure Type B Modulbox 2M 35mm DIN Rail mounting Device Family HD67D36 LoRaWAN MQTT Co...

Страница 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: ...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 a...

Отзывы: