background image

   

Industrial

 

Electronic Devices 

 

 

 ADFweb.com S.r.l.           

User Manual  

PROFIBUS Master

 

/ MQTT

 

 

Document code: MN67950_ENG     Revision 1.000   Page 32 of 36

 

 

TEMPLATE STRING: DEFINITION OF MQTT PAYLOAD 
 

In the section “Set Communication” of the SW67950, 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 from/to PROFIBUS. The key words used and 
their meanings are: 

 

VALUE: value of the PROFIBUS data 

 

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$). 

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

Страница 1: ...dbus TCP Master www adfweb com Product HD67936 Modbus TCP Slave www adfweb com Product HD67937 BACnet Master www adfweb com Product HD67938 BACnet Slave www adfweb com Product HD67939 CAN www adfweb com Product HD67940 CANopen www adfweb com Product HD67941 DALI www adfweb com Product HD67942 DeviceNet Master www adfweb com Product HD67943 DeviceNet Slave www adfweb com Product HD67944 DMX www adf...

Страница 2: ...CCESSORIES 34 DISCLAIMER 35 OTHER REGULATIONS AND STANDARDS 35 WARRANTIES AND TECHNICAL SUPPORT 36 RETURN POLICY 36 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 own To obtain the most recently updated document note the document code that appears at the top right hand co...

Страница 3: ...evice 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 this equipment and who have appropriate qualifications for their job RESIDUAL RISKS The device is state of the art and is safe The instruments can represent a potential hazard if they are inapprop...

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

Страница 5: ...Industrial Electronic Devices ADFweb com S r l User Manual PROFIBUS Master MQTT Document code MN67950_ENG Revision 1 000 Page 5 of 36 CONNECTION SCHEME Figure 1 Connection scheme for HD67950 B2 ...

Страница 6: ...etween Ethernet and PROFIBUS 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 SW67950 software on your PC in order to perform the following Define the parameter of MQTT Define the parameter of PROFIBUS line Define the MQTT topics to be published subscribed in the MQTT Server Define the list...

Страница 7: ...7950_ENG Revision 1 000 Page 7 of 36 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 Device Consumption W VA HD67950 B2 3 5 HD67950 B2 Caution Not reverse the polarity power ...

Страница 8: ...f the 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 upload the Project and or Firmware For the operations to follow for the updating see UPDATE DEVICE section According to the functioning mode the LEDs will have specifics functions see LEDS section...

Страница 9: ... 5Hz update in progress 2 PROFIBUS communication yellow Blinks when PROFIBUS communication is running Blinks quickly Boot state Blinks very slowly 0 5Hz update in progress 3 MQTT communication yellow Blinks when MQTT communication is running Blinks quickly Boot state Blinks very slowly 0 5Hz update in progress 4 Error status yellow ON MQTT not connected or PROFIBUS error OFF No errors present Blin...

Страница 10: ...ISA SP 50 PROFIBUS Cable ETHERNET The Ethernet port is used for programming the device and for MQTT communication The Ethernet connection must be made using Connector2 of HD67951 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 T568 norms relative to connections in cat 5 up to 100 Mbps To connect the device to an Hub Switch...

Страница 11: ... Converter use the available software that runs with Windows called SW67950 It is downloadable on the site www adfweb com and its operation is described in this document The software works with MS Windows XP Vista Seven 8 10 32 64bit When launching the SW67950 the window below appears Fig 2 Note It is necessary to have installed Net Framework 4 Figure 2 Main window for SW67950 ...

Страница 12: ...figuration A device s configuration can also be imported or exported To clone the configurations of a Programmable PROFIBUS Master MQTT Converter in order to configure another device in the same manner it is necessary to maintain the folder and all its contents To clone a project in order to obtain a different version of the project it is sufficient to duplicate the project folder with another nam...

Страница 13: ...the 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 check if there are some updatings of the software compositor in ADFweb com website Checking the option Check Software Update at Start of Program the SW67950 check automatically if there are updating...

Страница 14: ...ION By Pressing the Set Communication button from the main window for SW67950 Fig 2 the window Set Communication appears Fig 3 The window is divided in different sections in order to define the different parameters of the converter PROFIBUS Master MQTT Ethernet TLS Transport Layer Security NTP Network Time Protocol Figure 3a Set Communication window ...

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

Страница 16: ...sing the Check Box field This feature is used for going out of the net In the field DNS the DNS address is defined This field is required if the server address is define by URL and not IP Address TLS TRANSPORT LAYER SECURITY This section is used to define the parameters of TLS protocol The means of the fields are If the field Enable TLS is checked the TLS protocol for secure connection is enabled ...

Страница 17: ...7 of 36 Figure 3h 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 Address of the NTP Server is defined In the field Poll Time seconds the polling time for the time synchronization is defined ...

Страница 18: ...2 the window PROFIBUS Network Fig 4 appears In this window is possible to Modify the PROFIBUS Master Options Master PROFIBUS Options Add a PROFIBUS Slave in the Network of the Master Add Slave PROFIBUS Modify a PROFIBUS Slave in the Network Modify Slave PROFIBUS Remove a PROFIBUS Slave from the Network Remove Slave PROFIBUS Define the BACnet objects related to a slave PROFIBUS Set BACnet Access Fi...

Страница 19: ...s button from the PROFIBUS Network window Fig 4 the PROFIBUS Master Options window appears Fig 5 In this window is possible to set the WatchDog Time for the PROFIBUS Slaves Note Fact1 and Fact2 could be write in decimal o hexadecimal with prefix 0x or and the values must between 1 and 255 Warning The WatchDog time must be between 200 and 650250 milliseconds Figure 5 PROFIBUS Master Options window ...

Страница 20: ...Device window appears Fig 6 In this window is possible to Set the PROFIBUS Slave ID ID Slave PROFIBUS Select the Modules present in the PROFIBUS Slave from the Available Modules in GSD file Module Selection Modify the User Parameters if present of the PROFIBUS device User Parameters Modify the Parameters if present of the Module Selected Module Parameters Watch Features and Baudrate supported from...

Страница 21: ...dules selected Select Modules Fig 7 point 1 and the list of Modules Available in GSD file Available Modules Fig 7 point 7 Add a Module from the list of GSD file Fig 7 point 6 Remove a Module from selected list Fig 7 point 5 Add all Modules present in the GSD file Fig 7 point 4 Remove all Modules from selected list Fig 7 point 3 Insert a Module not present in the GSD file Manual Module Fig 7 point ...

Страница 22: ...mal The means of the fields are In the field Description of Module a name of the Module is defined In the field Insert the Configuration of Module HEX the configuration of the module is defined The configuration must be write in hexadecimal mode without prefix 0x o To modify a Module inserted manually is neccessary to do a double click on the module to change in the Select Module list Fig 7 point ...

Страница 23: ... manually the parameters of Device and also of the Modules Using the Modify User Parameters Manually button is possible to insert modify the parametrization of the device and or modules For more info see below Fig 9 point 3 The admited value for the selected parameter It is possible to select the value desired and confirm it with the Apply button If no value appears in this table the Min Value and...

Страница 24: ...r Modules Parameters manually i e writing the configuration of the parameters in hexadecimal The means of the fields are In the field Insert the number of User Parameter the number of byte for the parameter have to be inserted In the field Insert the Configuration of Module HEX the configuration of the User and or Modules Parameters is defined The configuration must be write in hexadecimal mode wi...

Страница 25: ... module Fig 11 point 2 The Configuration of all parameters in RAW for the Module selected Parameters in RAW Hex Fig 11 point 3 The admited value for the selected parameter It is possible to select the value desired and confirm it with the Apply button If no value appears in this table the Min Value and Max Value are the limit of the parameter Fig 11 point 4 The Apply button is used to confirm the ...

Страница 26: ...00 Page 26 of 36 CAPABILITIES The section Capabilities is used only to show which features baudrates available in the PROFIBUS device The Green Icon indicate that capability baudrate is available the Red Icon indicate no compatibilities with that capability baudrate Fig 12 Figure 12 PROFIBUS Device Capabilities window ...

Страница 27: ... the PROFIBUS Freeze command is enable This option is enable only if the Freeze Mode is supported by the device see Capabilities section to check it In the field Reset data if PROFIBUS master loses communication from the slave is possible to select to cancel the data of the slave if the Master lost the connection with the device In the field Reset data if BACnet Master doesn t write data with slav...

Страница 28: ...e 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 Data Type the type of data to use is defined In the field Dimension the dimension in byte of the data is defined In the field Position the starting byte of the internal memory array where taking the data is d...

Страница 29: ...eld 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 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 defined In the field Position the starting byte of the internal memory array where placing ...

Страница 30: ...net 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 Switch A in OFF position Turn ON the device If you know the actual IP address of the device you have to use this procedure Turn ON the Device with the Ethernet cable inserted Insert the actual IP...

Страница 31: ...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 the administrator privileges In case you have to program more than one device using the UDP Update you have to cancel the ARP table every time you connect a new device on Ethernet For do this you have to launch the Command Prompt and write the command arp d ...

Страница 32: ... 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 from to PROFIBUS The key words used and their meanings are VALUE value of the PROFIBUS data TIME date and time of the MQTT message DESC descri...

Страница 33: ...strial Electronic Devices ADFweb com S r l User Manual PROFIBUS Master MQTT Document code MN67950_ENG Revision 1 000 Page 33 of 36 Figure 16 Mechanical dimensions scheme for HD67950 B2 MECHANICAL DIMENSIONS ...

Страница 34: ...lid combination of the following HD67950 B 2 Connectors Type 2 Fixed Screw Terminal Enclosure Type B Modulbox 4M 35mm DIN Rail mounting Device Family HD67950 PROFIBUS Master MQTT Converter Order Code HD67950 B2 PROFIBUS Master MQTT Converter ACCESSORIES Order Code AC34011 35mm Rail DIN Power Supply 220 240V AC 50 60Hz 12 V DC Order Code AC34012 35mm Rail DIN Power Supply 220 240V AC 50 60Hz 24 V D...

Страница 35: ...ion 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 recycling of electrical and electronic equipment If the product is disposed correctly you will help prevent potential negative environmental factors and impact of human health which could otherwise be cau...

Страница 36: ...o the 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 address provided with the PRN having prepaid the shipping costs shipment costs billed to us will not be accepted If the product is within the warranty of twelve months it will be repaired or excha...

Отзывы: