Download Print this page

ADF Web HD674-A036-2 Series User Manual

Modbus master / mqtt - converter

Advertisement

Quick Links

Industrial Electronic Devices
User Manual
Revision 1.000
English
Modbus Master / MQTT – Converter
(Order Code: HD674-A036-2-xxx, HD674-A036-4-xxx)
for Website information:
www.adfweb.com?Product=HD674-A036
for Price information:
www.adfweb.com?Price=HD674-A036
Benefits and Main Features:
Isolation between two buses
Wide supply input range
Temperature range: -40°C / +105°C (-40°F / +221°F)
User Manual
ADFweb.com Srl – IT31010 – Mareno – Treviso
User Manual Modbus Master / MQTT - Converter
Document code: MN674-A036_ENG
For other Gateways / Bridges:
CAN from/to Modbus
See also the following links:
www.adfweb.com?product=HD67012
www.adfweb.com?product=HD67514
www.adfweb.com?product=HD67515
CANopen from/to Modbus
See also the following links:
www.adfweb.com?product=HD67001
www.adfweb.com?product=HD67502
www.adfweb.com?product=HD67504
www.adfweb.com?product=HD67505
Do you have an your customer protocol?
See the following links:
www.adfweb.com?Product=HD67003
Do you need to choose a device? do you want help?
Ask it to the following link:
www.adfweb.com?Cmd=helpme
INFO:
www.adfweb.com
Revision 1.000
Page 1 of 40
(Modbus RTU Slave)
(Modbus TCP Master)
(Modbus TCP Slave)
(Modbus RTU Master)
(Modbus RTU Slave)
(Modbus TCP Master)
(Modbus TCP Slave)
Phone +39.0438.30.91.31

Advertisement

loading
Need help?

Need help?

Do you have a question about the HD674-A036-2 Series and is the answer not in the manual?

Questions and answers

Summary of Contents for ADF Web HD674-A036-2 Series

  • Page 1 User Manual Modbus Master / MQTT - Converter Document code: MN674-A036_ENG Revision 1.000 Page 1 of 40 Industrial Electronic Devices User Manual Revision 1.000 English Modbus Master / MQTT – Converter (Order Code: HD674-A036-2-xxx, HD674-A036-4-xxx) for Website information: www.adfweb.com?Product=HD674-A036 for Price information: www.adfweb.com?Price=HD674-A036 Benefits and Main Features: For other Gateways / Bridges:...
  • Page 2: Updated Documentation

    User Manual Modbus Master / MQTT - Converter Document code: MN674-A036_ENG Revision 1.000 Page 2 of 40 Industrial Electronic Devices INDEX: UPDATED DOCUMENTATION: Dear customer, we thank you for your attention and we remind you that you need to check that the following document is: Page INDEX Updated...
  • Page 3: Security Alert

    User Manual Modbus Master / MQTT - Converter Document code: MN674-A036_ENG Revision 1.000 Page 3 of 40 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.
  • Page 4: Example Of Connection

    User Manual Modbus Master / MQTT - Converter Document code: MN674-A036_ENG Revision 1.000 Page 4 of 40 Industrial Electronic Devices EXAMPLE OF CONNECTION: ADFweb.com Srl – IT31010 – Mareno – Treviso INFO: www.adfweb.com Phone +39.0438.30.91.31...
  • Page 5: Connection Scheme

    User Manual Modbus Master / MQTT - Converter Document code: MN674-A036_ENG Revision 1.000 Page 5 of 40 Industrial Electronic Devices CONNECTION SCHEME: Figure 1a: Connection scheme for HD674-A036-E4x-xx ADFweb.com Srl – IT31010 – Mareno – Treviso INFO: www.adfweb.com Phone +39.0438.30.91.31...
  • Page 6 User Manual Modbus Master / MQTT - Converter Document code: MN674-A036_ENG Revision 1.000 Page 6 of 40 Industrial Electronic Devices Figure 1b: Connection scheme for HD674-A036-E7x-xx ADFweb.com Srl – IT31010 – Mareno – Treviso INFO: www.adfweb.com Phone +39.0438.30.91.31...
  • Page 7 User Manual Modbus Master / MQTT - Converter Document code: MN674-A036_ENG Revision 1.000 Page 7 of 40 Industrial Electronic Devices CHARACTERISTICS: The “HD674-A036” series are rugged devices used to interface Modbus Slave devices with a MQTT broker/server. With his particular enclosure, equipped with four fixing lugs, makes available the mounting of the device in any plane surface (horizontal, vertical, oblique).
  • Page 8: Power Supply

    User Manual Modbus Master / MQTT - Converter Document code: MN674-A036_ENG Revision 1.000 Page 8 of 40 Industrial Electronic Devices POWER SUPPLY: The devices can be powered between a wide range of tensions. For more details see the two tables below. Vmin Vmax Vmin...
  • Page 9 User Manual Modbus Master / MQTT - Converter Document code: MN674-A036_ENG Revision 1.000 Page 9 of 40 Industrial Electronic Devices LEDS: The device has got four 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 User Manual Modbus Master / MQTT - Converter Document code: MN674-A036_ENG Revision 1.000 Page 10 of 40 Industrial Electronic Devices RS485: The connection of the RS485 in the HD674-A036-E4x-xx device must be made with a 3way MiniFit Female connector. The pinout of Male MiniFit connector of the board is at right side of the page.
  • Page 11 User Manual Modbus Master / MQTT - Converter Document code: MN674-A036_ENG Revision 1.000 Page 11 of 40 Industrial Electronic Devices ETHERNET: The connection of Ethernet in the HD674-A036 device must be made with at least a Category 5E cable. The maximum length of the cable should not exceed 100m.
  • Page 12 User Manual Modbus Master / MQTT - Converter Document code: MN674-A036_ENG Revision 1.000 Page 12 of 40 Industrial Electronic Devices USE OF COMPOSITOR SW674-A036: To configure the Converter, use the available software that runs with Windows called SW674-A036. It is downloadable on the site www.adfweb.com and its operation is described in this document.
  • Page 13: New Configuration / Open Configuration

    User Manual Modbus Master / MQTT - Converter Document code: MN674-A036_ENG Revision 1.000 Page 13 of 40 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 Master / MQTT - Converter”...
  • Page 14: Software Options

    User Manual Modbus Master / MQTT - Converter Document code: MN674-A036_ENG Revision 1.000 Page 14 of 40 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 15 User Manual Modbus Master / MQTT - Converter Document code: MN674-A036_ENG Revision 1.000 Page 15 of 40 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.
  • Page 16: Set Communication

    User Manual Modbus Master / MQTT - Converter Document code: MN674-A036_ENG Revision 1.000 Page 16 of 40 Industrial Electronic Devices SET COMMUNICATION: This section define the fundamental communication parameters of two buses, Modbus and MQTT. By Pressing the “Set Communication” button from the main window for SW674-A036 (Fig.
  • Page 17 User Manual Modbus Master / MQTT - Converter Document code: MN674-A036_ENG Revision 1.000 Page 17 of 40 Industrial Electronic Devices THERNET ONNECTION The means of the fields for “Ethernet Connection” are: In the field “Device Name (Hostname)” the Hostname to assign to the converter is defined;...
  • Page 18 User Manual Modbus Master / MQTT - Converter Document code: MN674-A036_ENG Revision 1.000 Page 18 of 40 Industrial Electronic Devices ODBUS ASTER This section is used to define the main parameters of Modbus line. The means of the fields are: In the field “Serial”...
  • Page 19 User Manual Modbus Master / MQTT - Converter Document code: MN674-A036_ENG Revision 1.000 Page 19 of 40 Industrial Electronic Devices 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;...
  • Page 20 User Manual Modbus Master / MQTT - Converter Document code: MN674-A036_ENG Revision 1.000 Page 20 of 40 Industrial Electronic Devices If the field “Client Authentication” is checked, the authentication of the Client Figure 3g: “Set Communication  TLS” window using TLS is enabled. If enabled: in the field “Client Certificate”...
  • Page 21 User Manual Modbus Master / MQTT - Converter Document code: MN674-A036_ENG Revision 1.000 Page 21 of 40 Industrial Electronic Devices MQTT SET TOPIC (Synchronous Mode): By Pressing the “MQTT Set Topic” button from the main window for SW674-A036 (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 Master / MQTT - Converter Document code: MN674-A036_ENG Revision 1.000 Page 22 of 40 Industrial Electronic Devices MQTT SET TOPIC (Asynchronous Mode): By Pressing the “MQTT Set Topic” button from the main window for SW674-A036 (Fig. 2) the window “Set MQTT Topics” appears (Fig. 5). 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 Master / MQTT - Converter Document code: MN674-A036_ENG Revision 1.000 Page 23 of 40 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; In the field “QoS”...
  • Page 24: Modbus Set Access (Synchronous Mode)

    User Manual Modbus Master / MQTT - Converter Document code: MN674-A036_ENG Revision 1.000 Page 24 of 40 Industrial Electronic Devices MODBUS SET ACCESS (SYNCHRONOUS MODE): By pressing the “Modbus Set Access” button from the main window for SW674-A036 (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:...
  • Page 25 User Manual Modbus Master / MQTT - Converter Document code: MN674-A036_ENG Revision 1.000 Page 25 of 40 Industrial Electronic Devices SET MODBUS ACCESS (ASYNCHRONOUS MODE): By Pressing the “Set Modbus Access ” button from the main window of SW674-A036 (Fig. 2), the window “Set Modbus Access” appears (Fig.
  • Page 26 User Manual Modbus Master / MQTT - Converter Document code: MN674-A036_ENG Revision 1.000 Page 26 of 40 Industrial Electronic Devices The means of the fields in the window (Write) are the follows: If the field “Enable” is checked, the Modbus variable is enabled; In the field “Slave ID”...
  • Page 27: Update Device

    User Manual Modbus Master / MQTT - Converter Document code: MN674-A036_ENG Revision 1.000 Page 27 of 40 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 is necessary.
  • Page 28 User Manual Modbus Master / MQTT - Converter Document code: MN674-A036_ENG Revision 1.000 Page 28 of 40 Industrial Electronic Devices Note: When you install a new version of the software it is better if the first time you do the update of the Firmware in the HD674-A036. Note: When you receive the device, for the first time, you have to update also the Firmware in the HD674-A036 device.
  • Page 29 User Manual Modbus Master / MQTT - Converter Document code: MN674-A036_ENG Revision 1.000 Page 29 of 40 Industrial Electronic Devices TEMPLATE STRING: DEFINITION OF MQTT PAYLOAD FOR SYNCHRONOUS MODE In the section “Set Communication” of the SW674-A036, if “Synchronous” mode is selected, it is possible to define a Template string for the MQTT messages.
  • Page 30 User Manual Modbus Master / MQTT - Converter Document code: MN674-A036_ENG Revision 1.000 Page 30 of 40 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:...
  • Page 31: Modbus Writing With Synchronous Mode

    User Manual Modbus Master / MQTT - Converter Document code: MN674-A036_ENG Revision 1.000 Page 31 of 40 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.
  • Page 32 User Manual Modbus Master / MQTT - Converter Document code: MN674-A036_ENG Revision 1.000 Page 32 of 40 Industrial Electronic Devices TEMPLATE STRING: DEFINITION OF MQTT PAYLOAD FOR ASYNCHRONOUS MODE In the section “Set Communication” of the SW674-A036, if “Asynchronous” mode is selected, it is possible to select the data to be mapped into the MQTT topics using Position reference and keywords.
  • Page 33 User Manual Modbus Master / MQTT - Converter Document code: MN674-A036_ENG Revision 1.000 Page 33 of 40 Industrial Electronic Devices Below the type of format allowed: FORMAT IDENTIFIER Unsigned Integer Signed Integer Float Binary String Hexadecimal Base64 Example: We have two variables mapped respectively into Position 0 and 4. The first one is an unsigned integer value of 16 bit, the second one is a floating point.
  • Page 34: Mechanical Dimensions

    User Manual Modbus Master / MQTT - Converter Document code: MN674-A036_ENG Revision 1.000 Page 34 of 40 Industrial Electronic Devices MECHANICAL DIMENSIONS: ADFweb.com Srl – IT31010 – Mareno – Treviso INFO: www.adfweb.com Phone +39.0438.30.91.31...
  • Page 35 User Manual Modbus Master / MQTT - Converter Document code: MN674-A036_ENG Revision 1.000 Page 35 of 40 Industrial Electronic Devices Type A ADFweb.com Srl – IT31010 – Mareno – Treviso INFO: www.adfweb.com Phone +39.0438.30.91.31...
  • Page 36 User Manual Modbus Master / MQTT - Converter Document code: MN674-A036_ENG Revision 1.000 Page 36 of 40 Industrial Electronic Devices Type B ADFweb.com Srl – IT31010 – Mareno – Treviso INFO: www.adfweb.com Phone +39.0438.30.91.31...
  • Page 37 User Manual Modbus Master / MQTT - Converter Document code: MN674-A036_ENG Revision 1.000 Page 37 of 40 Industrial Electronic Devices Type C ADFweb.com Srl – IT31010 – Mareno – Treviso INFO: www.adfweb.com Phone +39.0438.30.91.31...
  • Page 38: Ordering Informations

    User Manual Modbus Master / MQTT - Converter Document code: MN674-A036_ENG Revision 1.000 Page 38 of 40 Industrial Electronic Devices ORDERING INFORMATIONS: The ordering part number is formed by a valid combination of the following: HD674-A036 – E y z – s f Fixing lugs A: Type A B: Type B...
  • Page 39 User Manual Modbus Master / MQTT - Converter Document code: MN674-A036_ENG Revision 1.000 Page 39 of 40 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.
  • Page 40: Warranties And Technical Support

    User Manual Modbus Master / MQTT - Converter Document code: MN674-A036_ENG Revision 1.000 Page 40 of 40 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:...

This manual is also suitable for:

Hd674-a036-4 series