background image

   

Industrial

 

Electronic Devices 

 

 

 ADFweb.com S.r.l.           

User Manual   

EtherNet/IP / MQTT

 

 

Document code: MN67945_ENG     Revision 1.001   Page 25 of 33

 

 

TEMPLATE STRING: DEFINITION OF MQTT PAYLOAD 
 

In the section “Set Communication” of the SW67945, it is possible to define a Template string for the MQTT messages. The template is 
necessary in order to define the structure of the payload of the MQTT message and the info contained. 
It is possible to have a simple text format or a JSON format. 
 
The definition of the template can be done using Key words, used to link a specific information EtherNet/IP. The key words used and their 
meanings are: 

 

VALUE: value of the EtherNet/IP variable 

 

TIME: date and time of the MQTT message 

 

DESC: description of the message 

 
 

Warning: 
    The key words must be defined between “$” chars in order to be recognized (Ex.: $VALUE$). 

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

Страница 1: ...4 Modbus Slave www adfweb com Product HD67935 Modbus TCP Master www adfweb com Product HD67936 Modbus TCP Slave www adfweb com Product HD67937 BACnet Master www adfweb com Product HD67938 BACnet Slave...

Страница 2: ...ORT 33 RETURN POLICY 33 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 you o...

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

Страница 4: ...Industrial Electronic Devices ADFweb com S r l User Manual EtherNet IP MQTT Document code MN67945_ENG Revision 1 001 Page 4 of 33 EXAMPLE OF CONNECTION...

Страница 5: ...Industrial Electronic Devices ADFweb com S r l User Manual EtherNet IP MQTT Document code MN67945_ENG Revision 1 001 Page 5 of 33 CONNECTION SCHEME Figure 1 Connection scheme for HD67945 B2...

Страница 6: ...cal isolation 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 Compo...

Страница 7: ...5_ENG Revision 1 001 Page 7 of 33 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...

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

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

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

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

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

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

Страница 14: ...EtherNet IP MQTT Document code MN67945_ENG Revision 1 001 Page 14 of 33 In the section Software Settings it is possible to enable disable some keyboard s commands for an easier navigation inside the...

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

Страница 16: ...s Number Byte IN the number of input byte of the slave station is defined In the fields Number Byte Out the number of output byte of the slave station is defined MQTT This section is used to define th...

Страница 17: ...g 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 Im the field Username the username for the connection to the MQTT server...

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

Страница 19: ...the converter is defined 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 pr...

Страница 20: ...enabled in the field Server Certificate the certificate from the Server is defined If the field Client Authentication is checked the authentication of the Client using TLS is enabled If enabled o in...

Страница 21: ...ver will hold the last topic published In the field QoS the QoS level is defined In the field Data Type the type of data to use is defined In the field Dimension the dimension in byte of the data is d...

Страница 22: ...led The MQTT server will hold the last topic published In the field QoS the QoS level is defined In the field Data Type the type of data to use is defined In the field Dimension the dimension in byte...

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

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

Страница 25: ...essary in order to define the structure of the payload of the MQTT message and the info contained It is possible to have a simple text format or a JSON format The definition of the template can be don...

Страница 26: ...commissioning of the EtherNet IP Converter as described on the following pages was accomplished with the help of the RSLogix 5000 software of Rockwell Automation In case of using a control system fro...

Страница 27: ...Comm Format Data SINT shall be selected as the data type RSLogix 5000 requires a configuration assembly instance Both modules do not provide a configuration assembly instance Therefore it is allowed...

Страница 28: ...ndustrial Electronic Devices ADFweb com S r l User Manual EtherNet IP MQTT Document code MN67945_ENG Revision 1 001 Page 28 of 33 4 After the configuration is completed the controller tags are created...

Страница 29: ...IP MQTT Document code MN67945_ENG Revision 1 001 Page 29 of 33 5 With RSLinks Classic Lite after have done a network scan RSWho and finding the EtherNet IP device it is possible to load the EDS file f...

Страница 30: ...ustrial Electronic Devices ADFweb com S r l User Manual EtherNet IP MQTT Document code MN67945_ENG Revision 1 001 Page 30 of 33 Figure 7 Mechanical dimensions scheme for HD67945 B2 MECHANICAL DIMENSIO...

Страница 31: ...alid combination of the following HD67945 B 2 Connectors Type 2 Fixed Screw Terminal Enclosure Type B Modulbox 4M 35mm DIN Rail mounting Device Family HD67945 EtherNet IP MQTT Converter Order Code HD6...

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

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

Отзывы: