background image

   

Industrial

 

Electronic Devices 

 

 

 ADFweb.com S.r.l.           

User Manual   

Serial / MQTT

 

 

Document code: MN67932_ENG     Revision 1.000   Page 1 of 32

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

User Manual 

Revision 1.000 
English 

 

Serial / MQTT - Converter 

 (Order Code:  HD67932-x-B2) 

 
 

For Website information:  

www.adfweb.com?Product=HD67932-B2

  

 

For Price information: 

www.adfweb.com?Price=HD67932-2-B2

 

www.adfweb.com?Price=HD67932-4-B2

 

 

 

Benefits and Main Features: 

 

Very easy to configure 

 

Power Supply 18…35V DC and 8…24 V AC 

 

Temperature range: -40°C/+85°C  (-40°F/+185°F) 

 

For others MQTT products, see also the following links: 

 

Converter MQTT to  

www.adfweb.com?Product=HD67930

      

(Ethernet) 

www.adfweb.com?Product=HD67931

       

(M-Bus) 

www.adfweb.com?Product=HD67933

      

(Modbus Master) 

www.adfweb.com?Product=HD67934

        

(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) 

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.adfweb.com?Product=HD67945

      

(EtherNet/IP) 

www.adfweb.com?Product=HD67946

        

(J1939) 

www.adfweb.com?Product=HD67947

        

(KNX) 

www.adfweb.com?Product=HD67948

        

(NMEA 0183) 

www.adfweb.com?Product=HD67949

        

(NMEA 2000) 

www.adfweb.com?Product=HD67950

        

(PROFIBUS Master) 

www.adfweb.com?Product=HD67951

        

(PROFIBUS Slave) 

www.adfweb.com?Product=HD67952

        

(PROFINET) 

www.adfweb.com?Product=HD67953

        

(SNMP Manager) 

www.adfweb.com?Product=HD67954

        

(SNMP Agent) 

 

 

Do you have an your customer protocol? 

www.adfweb.com?Product=HD67003

 

 

Do you need to choose a device? do you want help? 

www.adfweb.com?Cmd=helpme

 

 

User Manual   

 

Summary of Contents for HD67932-2-B2

Page 1: ...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 adfweb c...

Page 2: ...TECHNICAL SUPPORT 32 RETURN POLICY 32 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 corner of each page of this document With this Document Code go to web page www ...

Page 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 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 inappropriate...

Page 4: ...Industrial Electronic Devices ADFweb com S r l User Manual Serial MQTT Document code MN67932_ENG Revision 1 000 Page 4 of 32 EXAMPLE OF CONNECTION ...

Page 5: ...Industrial Electronic Devices ADFweb com S r l User Manual Serial MQTT Document code MN67932_ENG Revision 1 000 Page 5 of 32 Figure 1a Connection scheme for HD67932 2 B2 CONNECTION SCHEME ...

Page 6: ...Industrial Electronic Devices ADFweb com S r l User Manual Serial MQTT Document code MN67932_ENG Revision 1 000 Page 6 of 32 Figure 1b Connection scheme for HD67932 4 B2 ...

Page 7: ... isolation between Ethernet Serial port 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 Compositor SW67930 software on your PC in order to perform the following Define the parameter of MQTT Define the parameter of Ethernet line Define the MQTT topic to be published Define the MQTT topic ...

Page 8: ..._ENG Revision 1 000 Page 8 of 32 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 HD67932 B2 3 5 HD67932 B2 Caution Not reverse the polarity power ...

Page 9: ... 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 ...

Page 10: ...links very slowly 0 5Hz update in progress 2 Serial communication yellow Blinks when Serial communication is running Blinks quickly Boot state Blinks very slowly 0 5Hz update in progress 3 MQTT status yellow ON MQTT not connected OFF MQTT connected Blinking MQTT communication Blinks quickly Boot state Blinks very slowly 0 5Hz update in progress 4 Not used yellow OFF Blinks quickly Boot state Blink...

Page 11: ...de MN67932_ENG Revision 1 000 Page 11 of 32 RS232 The connection from RS232 socket to a serial port example one from a personal computer must be made with a NULL MODEM cable a serial cable where the pins 2 and 3 are crossed It is recommended that the RS232 cable not exceed 15 meters ...

Page 12: ...1 like in figure The maximum length of the cable should be 1200m 4000 feet Here some codes of cables Belden p n 8132 2x 28AWG stranded twisted pairs conductor foil shield braid shield Belden p n 82842 2x 24AWG stranded twisted pairs conductor foil shield braid shield Tasker p n C521 1x 24AWG twisted pair conductor foil shield braid shield Tasker p n C522 2x 24AWG twisted pairs conductor foil shiel...

Page 13: ...nication The Ethernet connection must be made using Connector2 of HD67932 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 cro...

Page 14: ...erter use the available software that runs with Windows called SW67932 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 SW67932 the window below appears Fig 2 Note It is necessary to have installed Net Framework 4 Figure 2 Main window for SW67932 ...

Page 15: ...figuration A device s configuration can also be imported or exported To clone the configurations of a Programmable Serial 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 name and ope...

Page 16: ...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 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 SW67932 check automatically if there are updatings whe...

Page 17: ...ual Serial MQTT Document code MN67932_ENG Revision 1 000 Page 17 of 32 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 18: ... By Pressing the Set Communication button from the main window for SW67932 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 Serial MQTT Ethernet Wi Fi TLS Transport Layer Security NTP Network Time Protocol Figure 3a Set Communication window ...

Page 19: ... 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 mis...

Page 20: ... to the MQTT server is defined ETHERNET This section is used to define the general parameters of Ethernet The means of the fields are In the field Ip Address the IP address of 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 pressing the Check Box fiel...

Page 21: ...ld 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 the name of the Wi Fi network to create is defined In the field Password the password used for Wi Fi connection is defined In the field Type the type of security protocol used by the Wi Fi network is d...

Page 22: ...er 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 the name of the Wi Fi network to connect is defined In the field Password the password used to connect to the Wi Fi network 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 field En...

Page 23: ...32 Figure 3g 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 ...

Page 24: ...d 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 Input Template the data format of the Serial message is defined It is possible to associate specific parts of the Serial message to a keyword and map just them on MQTT side Please see page 27 for more info In the field Template the structure o...

Page 25: ...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 of ...

Page 26: ...estart 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 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...

Page 27: ... The parts to link to MQTT side is made using keywords defined between chars Example From Serial side the serial device sends a message with this ASCII format ID xxxx Register xxxx Desc xxxxx Data xxxxx Where xxx parts are variable parts of the message On MQTT side we want to receive just the variable parts discharging the fixed parts that are not necessary In this case the Input Template will be ...

Page 28: ...on 1 000 Page 28 of 32 At this point it is possible to define the Template as preferred An example can be using JSON format ID ID REG REG DESC DESC DATA DATA The output on MQTT side will be ID 0001 REG 0100 DESC Temp1 DATA 02345 It is possible to use the same concept from the messages from MQTT to Serial ...

Page 29: ...Industrial Electronic Devices ADFweb com S r l User Manual Serial MQTT Document code MN67932_ENG Revision 1 000 Page 29 of 32 Figure 7 Mechanical dimensions scheme for HD67932 x B2 MECHANICAL DIMENSIONS ...

Page 30: ...67932 x B 2 Connectors Type 2 Fixed Screw Terminal Enclosure Type B Modulbox 2M 35mm DIN Rail mounting Enclosure Type 2 RS232 4 RS485 Device Family HD67932 Serial MQTT Converter Order Code HD67932 2 B2 RS232 MQTT Converter Order Code HD67932 4 B2 RS485 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 ...

Page 31: ...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 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 caused b...

Page 32: ...e 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 exchanged...

Reviews: