Page 1
Revision 1.000 Page 1 of 36 Industrial Electronic Devices User Manual Revision 1.000 English Modbus TCP Master / MQTT - Converter (Order Code: HD67935-B2) For Website information: www.adfweb.com?Product=HD67935-B2 For Price information: www.adfweb.com?Price=HD67935-B2 Benefits and Main Features: Very easy to configure Power Supply 18…35V DC and 8…24 V AC...
User Manual Modbus TCP Master / MQTT Document code: MN67935_ENG Revision 1.000 Page 2 of 36 Industrial Electronic Devices INDEX: UPDATED DOCUMENTATION: Dear customer, we thank you for your attention and we remind you that Page you need to check that the following document is: INDEX UPDATED DOCUMENTATION Updated...
User Manual Modbus TCP Master / MQTT Document code: MN67935_ENG Revision 1.000 Page 3 of 36 Industrial Electronic Devices SECURITY ALERT: ENERAL NFORMATION To ensure safe operation, the device must be operated according to the instructions in the manual. When using the device, legal and safety regulation are required for each individual application.
User Manual Modbus TCP Master / MQTT Document code: MN67935_ENG Revision 1.000 Page 5 of 36 Industrial Electronic Devices CONNECTION SCHEME: Figure 1: Connection scheme for HD67935-B2 ADFweb.com S.r.l.
Page 6
Revision 1.000 Page 6 of 36 Industrial Electronic Devices CHARACTERISTICS: The HD67935-B2 is a Modbus TCP Master / MQTT Converter. It allows the following characteristics: Electrical isolation between Ethernet and Power Supply; Mountable on 35mm Rail DIN; Wide power supply input range: 18…35V DC and 8…24V AC;...
The devices can be powered at 8…24V AC and 12…35V DC. For more details see the two tables below. Vmin Vmax Vmin Vmax Consumption at 24V DC: Device Consumption [W/VA] HD67935-B2 Caution: Not reverse the polarity power HD67935-B2 ADFweb.com S.r.l.
User Manual Modbus TCP Master / MQTT Document code: MN67935_ENG Revision 1.000 Page 8 of 36 Industrial Electronic Devices FUNCTION MODES: The device has got two functions mode depending of 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’...
Page 9
User Manual Modbus TCP Master / MQTT Document code: MN67935_ENG Revision 1.000 Page 9 of 36 Industrial Electronic Devices LEDS: The device has got five LEDs that are used to give information of the functioning status. The various meanings of the LEDs are described in the table below. Normal Mode Boot Mode Blinks quickly: Boot state...
Page 10
The Ethernet port is used for programming the device, for MQTT communication and for Modbus TCP communication. The Ethernet connection must be made using Connector2 of HD67935-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 is recommended the use of a straight cable, to connect the device to a PC is recommended the use of a cross cable.
Page 11
User Manual Modbus TCP Master / MQTT Document code: MN67935_ENG Revision 1.000 Page 11 of 36 Industrial Electronic Devices USE OF COMPOSITOR SW67935: To configure the Converter, use the available software that runs with Windows called SW67935. It is downloadable on the site www.adfweb.com and its operation is described in this document.
User Manual Modbus TCP Master / MQTT Document code: MN67935_ENG Revision 1.000 Page 12 of 36 Industrial Electronic Devices NEW CONFIGURATION / OPEN CONFIGURATION: “New Configuration” button creates the folder which contains the entire device’s configuration. A device’s configuration can also be imported or exported: To clone the configurations of a Programmable “Modbus TCP Master / MQTT - Converter”...
User Manual Modbus TCP Master / MQTT Document code: MN67935_ENG Revision 1.000 Page 13 of 36 Industrial Electronic Devices SOFTWARE OPTIONS: By pressing the “Settings” ( ) button there is the possibility to change the language of the software and check the updatings for the compositor.
Page 14
User Manual Modbus TCP Master / MQTT Document code: MN67935_ENG Revision 1.000 Page 14 of 36 Industrial Electronic Devices In the section “Software Settings”, it is possible to enable/disable some keyboard’s commands for an easier navigation inside the tables contained in the different sections of the software.
User Manual Modbus TCP Master / MQTT Document code: MN67935_ENG Revision 1.000 Page 15 of 36 Industrial Electronic Devices SET COMMUNICATION: By Pressing the “Set Communication” button from the main window for SW67935 (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: Working Mode...
User Manual Modbus TCP Master / MQTT Document code: MN67935_ENG Revision 1.000 Page 16 of 36 Industrial Electronic Devices ORKING This section is used to define the working mode of MQTT side of the converter. It is possible to define: Synchronous: it is possible to read/write the Modbus TCP slaves Figure 3b: “Set Communication ...
Page 17
User Manual Modbus TCP Master / MQTT Document code: MN67935_ENG Revision 1.000 Page 17 of 36 Industrial Electronic Devices MQTT: This section is used to define the main parameters of MQTT line. The means of the fields are: In the field “Server URL”...
Page 18
User Manual Modbus TCP Master / MQTT Document code: MN67935_ENG Revision 1.000 Page 18 of 36 Industrial Electronic Devices THERNET This section is used to define the general parameters of Ethernet. The means of the fields are: In the field “Ip Address”...
User Manual Modbus TCP Master / MQTT Document code: MN67935_ENG Revision 1.000 Page 19 of 36 Industrial Electronic Devices If the field “Enable DHCP” is checked, the converter acts as DHCP Server for the Clients connected. If the option is enabled, in the fields “DHCP First IP Address”...
Page 20
User Manual Modbus TCP Master / MQTT Document code: MN67935_ENG Revision 1.000 Page 20 of 36 Industrial Electronic Devices TLS (T RANSPORT AYER ECURITY This section is used to define the parameters of TLS protocol. The means of the fields are: If the field “Enable TLS”...
Page 21
User Manual Modbus TCP Master / MQTT Document code: MN67935_ENG Revision 1.000 Page 21 of 36 Industrial Electronic Devices MQTT SET TOPIC (Synchronous Mode): By Pressing the “MQTT Set Topic” button from the main window for SW67935 (Fig. 2) the window “Set MQTT Topics” appears (Fig. 4). This section is used to define the MQTT topics where the converter will publish the data from Modbus and the topic that the converter will subscribes for writing the data to Modbus.
Page 22
User Manual Modbus TCP Master / MQTT Document code: MN67935_ENG Revision 1.000 Page 22 of 36 Industrial Electronic Devices MQTT SET TOPIC (Asynchronous Mode): By Pressing the “MQTT Set Topic” button from the main window for SW67935 (Fig. 2) the window “Set MQTT Topics” appears (Fig. 4). This section is used to define the MQTT topics where the converter will publish the data from Modbus and the topic that the converter will subscribes for writing the data to Modbus.
Page 23
User Manual Modbus TCP Master / MQTT Document code: MN67935_ENG Revision 1.000 Page 23 of 36 Industrial Electronic Devices MQTT S UBSCRIBE Figure 5b: “Set MQTT Topics MQTT Subscribe” window The means of the fields are: In the field “Topic” the MQTT topic is defined; If the field “Retained”...
User Manual Modbus TCP Master / MQTT Document code: MN67935_ENG Revision 1.000 Page 24 of 36 Industrial Electronic Devices MODBUS SET ACCESS (SYNCHRONOUS MODE): By pressing the “Modbus Set Access” button from the main window for SW67935 (Fig. 2) the window “Set Modbus Access” appears. This section is used to define the Modbus reading requests ODBUS The means of the fields are:...
User Manual Modbus TCP Master / MQTT Document code: MN67935_ENG Revision 1.000 Page 25 of 36 Industrial Electronic Devices MODBUS SET ACCESS (ASYNCHRONOUS MODE): By pressing the “Modbus Set Access” button from the main window for SW67935 (Fig. 2) the window “Set Modbus Access” appears. This window is divided in two parts, the "Modbus Read"...
Page 26
User Manual Modbus TCP Master / MQTT Document code: MN67935_ENG Revision 1.000 Page 26 of 36 Industrial Electronic Devices In the field “Start Bit” the starting bit of the first byte of the field “Position” is defined; If the field “Swap” is checked, the data from the Modbus registers are swapped; In the field “Mnemonic”...
Page 27
User Manual Modbus TCP Master / MQTT Document code: MN67935_ENG Revision 1.000 Page 27 of 36 Industrial Electronic Devices ODBUS RITE The means of the fields are: If the field “Enable” is checked, the Modbus request is enabled; In the field “Slave IP Address”...
User Manual Modbus TCP Master / MQTT Document code: MN67935_ENG Revision 1.000 Page 28 of 36 Industrial Electronic Devices UPDATE DEVICE: By pressing the “Update Device” button, it is possible to load the created Configuration into the device; and also the Firmware, if necessary. This by using the Ethernet port.
Page 29
User Manual Modbus TCP Master / MQTT Document code: MN67935_ENG Revision 1.000 Page 29 of 36 Industrial Electronic Devices Note: When you receive the device, for the first time, you also have to update the Firmware in the HD67935 device. Warning: If Fig.
Page 30
User Manual Modbus TCP Master / MQTT Document code: MN67935_ENG Revision 1.000 Page 30 of 36 Industrial Electronic Devices TEMPLATE STRING: DEFINITION OF MQTT PAYLOAD In the section “Set Communication” of the SW67935, if “Synchronous” mode is selected, it is possible to define a Template string for the MQTT messages.
Page 31
User Manual Modbus TCP Master / MQTT Document code: MN67935_ENG Revision 1.000 Page 31 of 36 Industrial Electronic Devices Example We have defined 3 rows in the “Modbus Set Access” table in this way: Row1: ID: 1, Type: Holding Register, Address: 100, NPoint: 2 Row2: ID: 2, Type: Coil Status, Address: 200, NPoint: 10 Row3: ID: 1, Type: Input register, Address: 300, NPoint: 1 We define a template string in this way:...
User Manual Modbus TCP Master / MQTT Document code: MN67935_ENG Revision 1.000 Page 32 of 36 Industrial Electronic Devices MODBUS WRITING WITH SYNCHRONOUS MODE If “Synchronous” mode is selected, in order to send the Modbus writing requests it is necessary to use a specific MQTT payload. In this way, the converter can get all the info ned and compose the Modbus request.
Enclosure Type B: Modulbox 4M, 35mm DIN Rail mounting Device Family HD67935: Modbus TCP Master / MQTT - Converter Order Code: HD67935-B2 Modbus TCP 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 –...
Page 35
User Manual Modbus TCP Master / MQTT Document code: MN67935_ENG Revision 1.000 Page 35 of 36 Industrial Electronic Devices DISCLAIMER: All technical content within this document can be modified without notice. The content of the document is a under continual renewal. For losses due to fire, earthquake, third party access or other accidents, or intentional or accidental abuse, misuse, or use under abnormal conditions repairs are charged to the user.
User Manual Modbus TCP Master / MQTT Document code: MN67935_ENG Revision 1.000 Page 36 of 36 Industrial Electronic Devices WARRANTIES AND TECHNICAL SUPPORT: For fast and easy technical support for your ADFweb.com SRL products, consult our internet support at www.adfweb.com. Otherwise contact us at the address support@adfweb.com RETURN POLICY: If while using your product you have any problem and you wish to exchange or repair it, please do the following:...
Need help?
Do you have a question about the HD67935-B2 and is the answer not in the manual?
Questions and answers