HD67D03 B2 User Manual en
HD67D03 B2 User Manual en
User Manual
Revision 1.000
English
ADFweb.com S.r.l.
User Manual LoRaWAN / Modbus TCP Master
Document code: MN67D03_ENG Revision 1.000 Page 2 of 29
Industrial Electronic Devices
Page Dear customer, we thank you for your attention and we remind you that
INDEX 2 you need to check that the following document is:
UPDATED DOCUMENTATION 2 Updated
REVISION LIST 2
Related to the product you own
WARNING 2
TRADEMARKS 2
To obtain the most recently updated document, note the “document code”
SECURITY ALERT 3
that appears at the top right-hand corner of each page of this document.
EXAMPLE OF CONNECTION 4
CONNECTION SCHEME 5
With this “Document Code” go to web page www.adfweb.com/download/
CHARACTERISTICS 6
and search for the corresponding code on the page. Click on the proper
CONFIGURATION 6
“Document Code” and download the updates.
POWER SUPPLY 7
FUNCTION MODES 8
LEDS 9 REVISION LIST:
LORAWAN 10
ETHERNET 11
Revision Date Author Chapter Description
USE OF COMPOSITOR SW67D03 12
1.000 04/12/2020 Ff All First release version
NEW CONFIGURATION / OPEN CONFIGURATION 13
SOFTWARE OPTIONS 14
SET COMMUNICATION 16
LORAWAN ACCESS 18
MODBUS SET ACCESS 20
UPDATE DEVICE 23
LORAWAN PAYLOAD 25
WARNING:
MECHANICAL DIMENSIONS 26
ADFweb.com reserves the right to change information in this manual about
ORDERING INFORMATIONS 27
our product without warning.
ACCESSORIES 27
ADFweb.com is not responsible for any error this manual may contain.
DISCLAIMER 28
OTHER REGULATIONS AND STANDARDS 28
WARRANTIES AND TECHNICAL SUPPORT 29
TRADEMARKS:
RETURN POLICY 29
All trademarks mentioned in this document belong to their respective
owners.
ADFweb.com S.r.l.
User Manual LoRaWAN / Modbus TCP Master
Document code: MN67D03_ENG Revision 1.000 Page 3 of 29
Industrial Electronic Devices
SECURITY ALERT:
GENERAL INFORMATION
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. The same applies also when using accessories.
INTENDED USE
Machines and systems must be designed so the faulty conditions do not lead to a dangerous situation for the operator (i.e.
independent limit switches, mechanical interlocks, etc.).
QUALIFIED PERSONNEL
The device 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 inappropriately installed and
operated by untrained personnel. These instructions refer to residual risks with the following symbol:
This symbol indicates that non-observance of the safety instructions is a danger for people that could lead to serious injury or
death and / or the possibility of damage.
CE CONFORMITY
The declaration is made by our company. You can send an email to [email protected] or give us a call if you need it.
ADFweb.com S.r.l.
User Manual LoRaWAN / Modbus TCP Master
Document code: MN67D03_ENG Revision 1.000 Page 4 of 29
Industrial Electronic Devices
EXAMPLE OF CONNECTION:
ADFweb.com S.r.l.
User Manual LoRaWAN / Modbus TCP Master
Document code: MN67D03_ENG Revision 1.000 Page 5 of 29
Industrial Electronic Devices
CONNECTION SCHEME:
ADFweb.com S.r.l.
User Manual LoRaWAN / Modbus TCP Master
Document code: MN67D03_ENG Revision 1.000 Page 6 of 29
Industrial Electronic Devices
CHARACTERISTICS:
CONFIGURATION:
You need Compositor SW67D03 software on your PC in order to perform the following:
Define the parameter of Modbus TCP line;
Define the parameter of LoRaWAN line;
Define the list of LoRaWAN messages in uplink and downlink to the LoRaWAN gateway;
Define the Modbus registers to read and write from/to the Modbus TCP Slaves;
Update the device.
ADFweb.com S.r.l.
User Manual LoRaWAN / Modbus TCP Master
Document code: MN67D03_ENG Revision 1.000 Page 7 of 29
Industrial Electronic Devices
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
HD67D03-B2-xxxMHz
ADFweb.com S.r.l.
User Manual LoRaWAN / Modbus TCP Master
Document code: MN67D03_ENG Revision 1.000 Page 8 of 29
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’ 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.
ADFweb.com S.r.l.
User Manual LoRaWAN / Modbus TCP Master
Document code: MN67D03_ENG Revision 1.000 Page 9 of 29
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.
ON: An error in the communication busses occurs Blinks quickly: Boot state
4: Error state (yellow)
OFF: No errors are present Blinks very slowly (~0.5Hz): update in progress
ADFweb.com S.r.l.
User Manual LoRaWAN / Modbus TCP Master
Document code: MN67D03_ENG Revision 1.000 Page 10 of 29
Industrial Electronic Devices
LORAWAN:
The LoRaWAN® specification is a Low Power, Wide Area (LPWA) networking protocol
designed to wirelessly connect battery operated ‘things’ to the internet in regional, national
or global networks, and targets key Internet of Things (IoT) requirements such as bi-
directional communication, end-to-end security, mobility and localization services.
LoRaWAN® network architecture is deployed in a star-of-stars topology in which gateways
relay messages between end-devices and a central network server.
The wireless communication takes advantage of the Long Range characteristics of the LoRa
physical layer, allowing a single-hop link between the end-device and one or many
gateways. All modes are capable of bi-directional communication, and there is support for
multicast addressing groups to make efficient use of spectrum during tasks such as
Firmware Over-The-Air (FOTA) upgrades or other mass distribution messages.
Converters from HD67D03 serie act as end-devices and they can communicate with one or
more LoRwaWAN Gateways.
The converters support all the standard datarates and they work both on public and private
networks.
ADFweb.com S.r.l.
User Manual LoRaWAN / Modbus TCP Master
Document code: MN67D03_ENG Revision 1.000 Page 11 of 29
Industrial Electronic Devices
ETHERNET:
The Ethernet port is used for programming the device and for Modbus TCP communication.
The Ethernet connection must be made using Connector2 of HD67D03-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.
ADFweb.com S.r.l.
User Manual LoRaWAN / Modbus TCP Master
Document code: MN67D03_ENG Revision 1.000 Page 12 of 29
Industrial Electronic Devices
To configure the Converter, use the available software that runs with Windows called SW67D03. 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 SW67D03, the window below appears (Fig. 2).
Note:
It is necessary to have installed .Net Framework 4.
ADFweb.com S.r.l.
User Manual LoRaWAN / Modbus TCP Master
Document code: MN67D03_ENG Revision 1.000 Page 13 of 29
Industrial Electronic Devices
The “New Configuration” button creates the folder which contains the entire device’s configuration.
ADFweb.com S.r.l.
User Manual LoRaWAN / Modbus TCP Master
Document code: MN67D03_ENG Revision 1.000 Page 14 of 29
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.
ADFweb.com S.r.l.
User Manual LoRaWAN / Modbus TCP Master
Document code: MN67D03_ENG Revision 1.000 Page 15 of 29
Industrial Electronic Devices
ADFweb.com S.r.l.
User Manual LoRaWAN / Modbus TCP Master
Document code: MN67D03_ENG Revision 1.000 Page 16 of 29
Industrial Electronic Devices
SET COMMUNICATION:
By Pressing the “Set Communication” button from the main window for SW67D03 (Fig.
2) the window “Set Communication” appears (Fig. 3).
ADFweb.com S.r.l.
User Manual LoRaWAN / Modbus TCP Master
Document code: MN67D03_ENG Revision 1.000 Page 17 of 29
Industrial Electronic Devices
The means of the fields for the “Modbus TCP Master” section are:
In the fields “IP ADDRESS” the IP address of Modbus TCP side of the converter is defined;
In the fields “SUBNET Mask” the SubNet Mask of Modbus TCP side of the converter is defined;
In the fields “GATEWAY” the default gateway of the network is defined. This feature can be enabled or disabled pressing the Check
Box field. This feature is used for going out of the net;
In the field “TimeOut (ms)” the maximum time that the converter attends for the answer from the slave interrogated is defined;
In the field “Cyclic Delay (ms)” the delay (idle time) between two Modbus requests is defined.
ADFweb.com S.r.l.
User Manual LoRaWAN / Modbus TCP Master
Document code: MN67D03_ENG Revision 1.000 Page 18 of 29
Industrial Electronic Devices
LORAWAN ACCESS:
By Pressing the “LoRaWAN Access” button from the main window for SW67D03 (Fig. 2) the window “Set LoRaWAN Access” appears (Fig.
4).
This section is used to define the LoRAWAN messages where the converter will place the data read from Modbus TCP (Uplink) and the
LoRAWAN messages that the converter will take (Downlink) for writing the data to Modbus TCP.
LORAWAN UPLINK
ADFweb.com S.r.l.
User Manual LoRaWAN / Modbus TCP Master
Document code: MN67D03_ENG Revision 1.000 Page 19 of 29
Industrial Electronic Devices
LORAWAN DOWNLINK
ADFweb.com S.r.l.
User Manual LoRaWAN / Modbus TCP Master
Document code: MN67D03_ENG Revision 1.000 Page 20 of 29
Industrial Electronic Devices
By pressing the “Modbus Set Access” button from the main window for SW67D03 (Fig. 2) the window “Set Modbus TCP Master Access”
appears.
This window is divided in two parts, the "Modbus Read" (Fig. 5a) and the "Modbus Write " (Fig. 5b).
The first part "Modbus Read" is used to read the data from the Modbus slaves and make them available on LoRaWAN side.
The second part "Modbus Write " is used to write the data that arrives from LoRaWAN side to the Modbus slaves.
MODBUS READ
ADFweb.com S.r.l.
User Manual LoRaWAN / Modbus TCP Master
Document code: MN67D03_ENG Revision 1.000 Page 21 of 29
Industrial Electronic Devices
In the field “Position” the address of the internal array where placing the information is defined;
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;
If the field “Swap Word” is checked, the Modbus words are swapped;
In the field “Mnemonic” the description for the request is defined.
ADFweb.com S.r.l.
User Manual LoRaWAN / Modbus TCP Master
Document code: MN67D03_ENG Revision 1.000 Page 22 of 29
Industrial Electronic Devices
MODBUS WRITE
ADFweb.com S.r.l.
User Manual LoRaWAN / Modbus TCP Master
Document code: MN67D03_ENG Revision 1.000 Page 23 of 29
Industrial Electronic Devices
UPDATE DEVICE:
If you don’t know the actual IP address of the device you have to use this procedure:
Turn OFF the Device;
Put Dip1 of ‘Dip-Switch A’ in ON position;
Turn ON the device
Connect the Ethernet 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 the Converter; Figure 6: “Update device” windows
Select which operations you want to do;
Press the “Execute update firmware” button to start the upload;
When all the operations are “OK” the device automatically goes at Normal Mode.
ADFweb.com S.r.l.
User Manual LoRaWAN / Modbus TCP Master
Document code: MN67D03_ENG Revision 1.000 Page 24 of 29
Industrial Electronic Devices
Note:
When you receive the device, for the first time, you also have to update the Firmware in the HD67D03 device.
Warning:
If Fig. 7 appears when you try to do the Update try these points before seeking
assistance:
Try to repeat the operations for the updating;
Try with another PC;
Try to 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 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". Pay attention that with Windows Vista, Seven, 8, 10 you have to launch the
"Command Prompt" with Administrator Rights;
Pay attention at Firewall lock.
Figure 7: “Error” window
Warning:
In the case of HD67D03 you have to use the software “SW67D03”: www.adfweb.com\download\filefold\SW67D03.zip.
ADFweb.com S.r.l.
User Manual LoRaWAN / Modbus TCP Master
Document code: MN67D03_ENG Revision 1.000 Page 25 of 29
Industrial Electronic Devices
LORAWAN PAYLOAD
The LoRAWAN messages in Uplink and Downlink are structured into a defined format in order to recognize them from LoRaWAN gateway
side and to understand to which Modbus TCP requests they are associated.
Example 1:
the converter is sending a LoRaWAN message related to row 4 of “LoRaWAN Access LoRaWAN Uplink” table of “LoRaWAN Access” section
of SW67D03 with a “Num. Byte” set of ‘4’. The data from these 4 bytes is “01 02 03 04” (hex).
The payload of the LoRaWAN message will look like “04 01 02 03 04” where:
04: index of the row of “LoRaWAN Access LoRaWAN Uplink” table;
01 02 03 04: data taken from internal memory array of the converter.
Example 2:
The external LoRaWAN gateway needs to send a LoRaWAN message to the converter and link it to row 3 of “LoRaWAN Access LoRaWAN
Downlink” table of “LoRaWAN Access” section of SW67D03. The “Num. Byte” set is ‘4’ and the data to be written is “55 66 77 88” (hex).
The payload of the LoRaWAN message will look like “03 55 66 77 88” where:
03: index of the row of “LoRaWAN Access LoRaWAN Downlink” table;
55 66 77 88: data to be written to the internal memory array of the converter.
ADFweb.com S.r.l.
User Manual LoRaWAN / Modbus TCP Master
Document code: MN67D03_ENG Revision 1.000 Page 26 of 29
Industrial Electronic Devices
MECHANICAL DIMENSIONS:
ADFweb.com S.r.l.
User Manual LoRaWAN / Modbus TCP Master
Document code: MN67D03_ENG Revision 1.000 Page 27 of 29
Industrial Electronic Devices
ORDERING INFORMATIONS:
Connectors Type
2: Fixed Screw Terminal
Enclosure Type
B: Modulbox 2M, 35mm DIN Rail mounting
Device Family
HD67D03: LoRaWAN / Modbus TCP Master - 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 DC
ADFweb.com S.r.l.
User Manual LoRaWAN / Modbus TCP Master
Document code: MN67D03_ENG Revision 1.000 Page 28 of 29
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. ADFweb.com S.r.l. will not be liable for accidental loss of use or inability to use this product, such
as loss of business income. ADFweb.com S.r.l. shall not be liable for consequences of improper use.
WEEE INFORMATION
Disposal of old electrical and electronic equipment (as in the European Union and other European countries with separate
collection 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
caused by inappropriate disposal. The recycling of materials will help to conserve natural resources. For more information about
recycling this product, please contact your local city office, your household waste disposal service or the shop where you purchased
the product.
CE MARKING
The product conforms with the essential requirements of the applicable EC directives.
ADFweb.com S.r.l.
User Manual LoRaWAN / Modbus TCP Master
Document code: MN67D03_ENG Revision 1.000 Page 29 of 29
Industrial Electronic Devices
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 [email protected]
RETURN POLICY:
If while using your product you have any problem and you wish to exchange or repair it, please do 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 exchanged and returned within three weeks. If the product is no
longer under warranty, you will receive a repair estimate.
ADFweb.com S.r.l.
Via Strada Nuova, 17
IT-31010 Mareno di Piave
TREVISO (Italy)
Phone +39.0438.30.91.31
Fax +39.0438.49.20.99
www.adfweb.com
ADFweb.com S.r.l.