0% found this document useful (0 votes)
21 views37 pages

MN67044 Eng

Uploaded by

juanmaalh
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
21 views37 pages

MN67044 Eng

Uploaded by

juanmaalh
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 37

User Manual M-Bus Master / Modbus TCP Slave

Document code: MN67044_ENG Revision 2.200 Page 1 of 37


Industrial Electronic Devices

User Manual
Revision 2.200
English

M-Bus Master / Modbus TCP Slave - Converter


(Order Code: HD67044-B2-20, HD67044-B2-40, HD67044-
B2-80, HD67044-B2-160, HD67044-B2-250)

For Website information:


www.adfweb.com?Product=HD67044-B2

For Price information: For other M-Bus products see also the following link:
www.adfweb.com?Price=HD67044-B2-20
Converter - M-Bus /
www.adfweb.com?Price=HD67044-B2-40 www.adfweb.com?Product=HD67021 (RS232)
www.adfweb.com?Price=HD67044-B2-80 www.adfweb.com?Product=HD67022 (RS485)
www.adfweb.com?Price=HD67044-B2-160 www.adfweb.com?Product=HD67030 (Ethernet)
www.adfweb.com?Price=HD67044-B2-250
Analyzer & Scanner M-Bus
www.adfweb.com?Product=HD67031
Benefits and Main Features:
M-Bus – Repeater - Isolator
Very easy to configure www.adfweb.com?Product=HD67032

Up to 250 standard M-Bus devices connected to the Converter Converter - M-Bus Master/ Modbus Slave
www.adfweb.com?Product=HD67029M-232 (on RS232)
Power Supply 15…21V AC or 18…35V DC www.adfweb.com?Product=HD67029M-485 (on RS485)
Temperature range: -40°C/+85°C (-40°F/+185°F)
M-Bus Master / PROFIBUS Slave - Converter
www.adfweb.com?Product=HD67053M

M-Bus – Concentrator - Datalogger


www.adfweb.com?Product=HD67054M

M-Bus Slave / Modbus Master - Converter


www.adfweb.com?Product=HD67059M-232

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


www.adfweb.com?Cmd=helpme
User Manual

ADFweb.com S.r.l.
User Manual M-Bus Master / Modbus TCP Slave
Document code: MN67044_ENG Revision 2.200 Page 2 of 37
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 2 Updated
UPDATED DOCUMENTATION 2
Related to the product you own
REVISION LIST 2
WARNING 2
To obtain the most recently updated document, note the “document code”
TRADEMARKS 2
that appears at the top right-hand corner of each page of this document.
SECURITY ALERT 3
EXAMPLE OF CONNECTION 4
With this “Document Code” go to web page www.adfweb.com/download/
CONNECTION SCHEME 5
and search for the corresponding code on the page. Click on the proper
CHARACTERISTICS 6
“Document Code” and download the updates.
POWER SUPPLY 7
FUNCTION MODES 8
LEDS 9
REVISION LIST:
MODBUS TCP 10
M-BUS 10
USE OF COMPOSITOR SW67044 11 Revision Date Author Chapter Description
NEW PROJECT / OPEN PROJECT 12 2.000 03/12/2012 Fl All New hardware version
SOFTWARE OPTIONS 13 2.001 29/03/2013 Fl All Added new chapters
SET COMMUNICATION 14 2.010 19/09/2014 Fl All Software changed (v1.800)
M-BUS 16 2.100 15/06/2017 Ff All New hardware version
MANUFACTURER SPECIFIC DATA 30 2.200 14/04/2023 Ln All New hardware version
UPDATE DEVICE 31
SCAN & DECODE FUNCTION 33
MECHANICAL DIMENSIONS 34 WARNING:
ORDER CODES 35
ACCESSORIES 35 ADFweb.com reserves the right to change information in this manual about
DISCLAIMER 36 our product without warning.
OTHER REGULATIONS AND STANDARDS 36 ADFweb.com is not responsible for any error this manual may contain.
WARRANTIES AND TECHNICAL SUPPORT 37
RETURN POLICY 37
TRADEMARKS:

All trademarks mentioned in this document belong to their respective


owners.

ADFweb.com S.r.l.
User Manual M-Bus Master / Modbus TCP Slave
Document code: MN67044_ENG Revision 2.200 Page 3 of 37
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 M-Bus Master / Modbus TCP Slave
Document code: MN67044_ENG Revision 2.200 Page 4 of 37
Industrial Electronic Devices

EXAMPLE OF CONNECTION:

ADFweb.com S.r.l.
User Manual M-Bus Master / Modbus TCP Slave
Document code: MN67044_ENG Revision 2.200 Page 5 of 37
Industrial Electronic Devices

CONNECTION SCHEME:

Figure 1: Connection scheme for HD67044-B2-xxx

ADFweb.com S.r.l.
User Manual M-Bus Master / Modbus TCP Slave
Document code: MN67044_ENG Revision 2.200 Page 6 of 37
Industrial Electronic Devices

CHARACTERISTICS:

The HD67044-B2-xxx is a M-Bus Master / Modbus TCP Slave Converter.

It allows the following characteristics:


Electrical isolation between Ethernet and M-Bus;
Mountable on 35mm Rail DIN;
Power Supply 15…21V AC or 18…35V DC;
Temperature range -40°C to 85°C.

At the Converter can be connected up to 250 standard M-Bus devices. This number depends of the code expressed by the xxx number:
HD67044-B2-20 support up to 20 M-Bus devices;
HD67044-B2-40 support up to 40 M-Bus devices;
HD67044-B2-80 support up to 80 M-Bus devices;
HD67044-B2-160 support up to 160 M-Bus devices;
HD67044-B2-250 support up to 250 M-Bus devices.

In the case of HD67044-B2-160 the device must be mounted on 35mm DIN rail which is horizontally mounted on a wall or cabinet
back-plate. To avoid obstructions to the airflow around the unit it is recommended to not cover the paths of air.

In the case of HD67044-B2-250 the device must be mounted on 35mm DIN rail which is horizontally mounted on a wall or cabinet
back-plate. These units have a fan in the top of the enclosure. To avoid obstructions to the airflow around the unit it is recommended
to not cover the paths of air. Take care to not cover the fan. It is recommended to put the device into a ventilated cabinet.

ADFweb.com S.r.l.
User Manual M-Bus Master / Modbus TCP Slave
Document code: MN67044_ENG Revision 2.200 Page 7 of 37
Industrial Electronic Devices

POWER SUPPLY:

The devices can be powered at 15…21V AC and 18…35V DC. The consumption depends to the code of the device. For more details see the
two tables below.

VAC VDC
Vmin Vmax Vmin Vmax
15V 21V 18V 35V

Consumption at 24V DC:

Device No Load [W/VA] Full Load [W/VA]*


HD67044-B2-20 4
HD67044-B2-40 5
HD67044-B2-80 3.5 8
HD67044-B2-160 14
HD67044-B2-250 30
* This value is with all the Slave M-Bus devices of the code (20, 40, 80, 160, 250) connected to the line

Caution: Not reverse the polarity power

HD67044-B2-xxx

ADFweb.com S.r.l.
User Manual M-Bus Master / Modbus TCP Slave
Document code: MN67044_ENG Revision 2.200 Page 8 of 37
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 M-Bus Master / Modbus TCP Slave
Document code: MN67044_ENG Revision 2.200 Page 9 of 37
Industrial Electronic Devices

LEDS:

The device has got two LEDs that are used to give information of the functioning status.
The various meanings of the LEDs are described in the table below.

LED Normal Mode Boot Mode

Blinks quickly: Boot state


1: Device State (green) Blinks slowly (~1Hz)
Blinks very slowly (~0.5Hz): update in progress

Blinks quickly: Boot state


2: Not used OFF
Blinks very slowly (~0.5Hz): update in progress

Blinks quickly when a reply to a M- Blinks quickly: Boot state


3: M-Bus Comm.
Bus request arrives Blinks very slowly (~0.5Hz): update in progress

Changes state when receive a Blinks quickly: Boot state


4: Modbus Comm.
correct Modbus request Blinks very slowly (~0.5Hz): update in progress

ADFweb.com S.r.l.
User Manual M-Bus Master / Modbus TCP Slave
Document code: MN67044_ENG Revision 2.200 Page 10 of 37
Industrial Electronic Devices

MODBUS TCP :

The Modbus TCP connection must be made using Connector3 of HD67044-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/PLC/other is recommended the
use of a cross cable.

M-BUS:

The M-Bus is a unpolarized bus.


A two wire standard telephone cable (JYStY N*2*0.8 mm) is used as the transmission medium for the M-Bus. The maximum distance
between a slave and the repeater is 350m; this length corresponds to a cable resistance of up 29Ω. This distance applies for the standard
configuration having Baud rates between 300 and 9600 Baud, and a maximum of 250 slaves. The maximum distance can be increased by
limiting the Baud rate and using fewer slaves, but the bus voltage in the space state must at no point in a segment fall below 12V, because
of the remote powering of the slaves. In the standard configuration the total cable length should not exceed 1000m, in order to meet the
requirement of a maximum cable capacitance of 180nF. (Taken from M-Bus specifics)

ADFweb.com S.r.l.
User Manual M-Bus Master / Modbus TCP Slave
Document code: MN67044_ENG Revision 2.200 Page 11 of 37
Industrial Electronic Devices

USE OF COMPOSITOR SW67044:

To configure the Converter, use the available software that runs with Windows called SW67044. It is downloadable on the site
www.adfweb.com and its operation is described in this document. (This manual is referenced to the last version of the software present on
our web site). The software works with MSWindows (XP, Vista, Seven, 8, 10, 11; 32/64bit).

When launching the SW67044, the window below appears (Fig. 2).

Note:
It is necessary to have installed .Net Framework 4.

Figure 2: Main window for SW67044

ADFweb.com S.r.l.
User Manual M-Bus Master / Modbus TCP Slave
Document code: MN67044_ENG Revision 2.200 Page 12 of 37
Industrial Electronic Devices

NEW CONFIGURATION / OPEN CONFIGURATION:

The “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 “M-Bus Master / Modbus TCP Slave -
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 open the new folder with the
button “Open Configuration”.

ADFweb.com S.r.l.
User Manual M-Bus Master / Modbus TCP Slave
Document code: MN67044_ENG Revision 2.200 Page 13 of 37
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.

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
SW67044 checks automatically if there are updatings when it is launched.

ADFweb.com S.r.l.
User Manual M-Bus Master / Modbus TCP Slave
Document code: MN67044_ENG Revision 2.200 Page 14 of 37
Industrial Electronic Devices

SET COMMUNICATION:

This section define the fundamental communication parameters of two Buses, Modbus and M-Bus.

By Pressing the “Set Communication” button from the main window for SW67044 (Fig. 2) the window
“Set Communication” appears (Fig. 3).
The window is divided in three sections, the first used for select the device, one for the Modbus TCP
(Ethernet) and the other for the M-Bus.

The means of the fields for Select Device are:


If the hardware in your possession is the HD67044M-xxx you have to select “HD67044M”;
otherwise if the hardware in your possess is the HD67044-B2-xxx you have to select “HD67044-
B2”.

The means of the fields for Ethernet 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 fields “GATEWAY” the default gateway of the net 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 “Port” the number of the TCP port used for Modbus TCP communication is defined;
In the field “Connection TimeOut (min)” a timeout for the TCP connection is defined. If any TCP
message is received for the timeout defined, the converter forces the closing of the TCP socket (only
for HD67044-B2);
If the field “Reset Every 24h” is checked, the converter will reset every 24h.

The means of the fields for M-Bus are:


In the field “Baudrate” the baudrate of the M-Bus line is defined;
In the field “Parity” the parity of the M-Bus line is defined;
In the field “M-Bus Poll” the modality of M-Bus polling of the converter is defined. If “On Request”
is checked, it sends the request only if a Modbus register is requested; otherwise if “Cyclic” is
checked, the converter sends the request in M-bus network cyclically;
In the field “Delay for Cyclic (s)” a time expressed in seconds is defined. This time is used for
“Cyclic” mode; Figure 3: “Set Communication” window

ADFweb.com S.r.l.
User Manual M-Bus Master / Modbus TCP Slave
Document code: MN67044_ENG Revision 2.200 Page 15 of 37
Industrial Electronic Devices

In the field “Node State value when slave device is not present” it is possible to insert the value to assign to the “Node State”
register when the converter doesn’t find the interrogated M-Bus slave;
If the field “Use Fic C Field” is checked, it is possible to define a fixed C field in the M-Bus requests sent to the M-Bus meters;
If the field “Reply with Exception Until First Read” is checked, the converter sends back the exception code 0x0B if the M-Bus
meters don’t reply at least one time. After the first reading, the converter gives back the last data read from the M-Bus meters (only
for “Cyclic” mode);
In the field “Convert in Float option – Words order” the words’ order for the Float convertion is defined;
In the field “Extension TimeOut ms” the additional time for M-Bus polling to be added to the standard one is defined.

ADFweb.com S.r.l.
User Manual M-Bus Master / Modbus TCP Slave
Document code: MN67044_ENG Revision 2.200 Page 16 of 37
Industrial Electronic Devices

M-BUS

By Pressing the “M-Bus” button from the main window for SW67044 (Fig. 2) the window “M-Bus Network” appears (Fig. 4).

In the section “Nodes” it is possible to create the nodes of M-Bus line:


In the field “Description” it is possible to write a short description of the node.
In the field “M-Bus Type” it is possible to select if the node uses M-Bus (on wire) or wM-Bus.

SECTION NODES (M-BUS NODES):

In order to create a new node it is necessary to select which


address use, selecting “Primary ID” or “Secondary ID”, to
makes the requests and then insert the “Primary Address” (from
1 to 250) or the Secondary Address” (from 0 to 99999999) of M-
Bus device.
In the field “Node State” it is possible to insert an address
Modbus that contain the Status of the M-Bus device. If you don’t
need to know this, put this register at 0.
In the field “Identification Number” it is possible to insert an
address Modbus that contain the Identification Number of the M-
Bus device. You have to read two consecutive registers for
knowing the value. If you don’t need to know this, put this
register at 0.
If the field “Convert BCD in Integer Identification Num.” is
checked the Converter converts the Identification Number that is
normally expressed in BCD in a Integer.
In the field “Swap Identification Num.” it is possible to select
the swap mode of the Identification Number. If swap isn’t
necessary you have to select “None”; otherwise see the section
“Swap Identification” (page 27) of this document for select the
swap mode.

Figure 4: “M-Bus Network” window

ADFweb.com S.r.l.
User Manual M-Bus Master / Modbus TCP Slave
Document code: MN67044_ENG Revision 2.200 Page 17 of 37
Industrial Electronic Devices

If the field “Send SND_NKE” is checked, the Converter send the “SND_NKE” frame to start the communication.
In the field “Send Reset App.” Is checked the Converter send the “Application Reset” command to the slave.
In the field “Variables List” it is possible to select which type of variables definition to use. If is selected “By Type” it is necessary to
fill all fields, in the section Variables, with the correct values; otherwise if “By Position” is selected you can insert the progressive
number of the variable that you need (page 20 for more information).
In the field “Cut after” it is possible to select after how many frames stops data requests. It is used when the slave has got many
data frames and you don’t need to read all them.
In the field “Manufacturing Specific Data” is possible to insert the starting address Modbus from which you want to save the
information of Manufacturer Specific (after DIF=0x0F or DIF=0x1F).
In the field “Length (MSD) [1 - 241]” is possible to insert the length of the data you need to save.
In the field “Offset (MSD) [0 - 240]” is possible to insert the offset from where save the data.
In the field “Access Number” is possible to define a Modbus register where saving the Access Number.

For more information about “Manufacturer Specific Data” functions, see page 30.

After that, pressing the “ADD NODE” button, a new node appears in the left side of the window. In order to modify a created node it is
necessary to select the desired node, change the wrong items and then press the “MODIFY NODE” button.

ADFweb.com S.r.l.
User Manual M-Bus Master / Modbus TCP Slave
Document code: MN67044_ENG Revision 2.200 Page 18 of 37
Industrial Electronic Devices

SECTION VARIABLES (BY TYPE):

Selecting the desired node it is possible to add a variable. In


order to create a new variable it is necessary to fill these items:
To use the created variable the field “Enable Variable”
must be checked. If you have created a variable but for
the moment it is unused it is possible to uncheck the field
“Enable Variable” without delete it;
In the field “Description” it is possible to write a
description of the variable (it isn’t a necessary
information, it helps the readability of the tree of
network);
The field “Type of Data” is used to select the unit of
measure;
In the field “VIF ASCII String” insert the string of VIF. It
is possible to use this field only if the “Type of Data” is
“VIF is in ASCII”;
In the field “Function Field” it is necessary to select the
type of data;
The field “Dimension” is used to select the dimension of
the variable (8, 16, 24, 32, 32 real, 48, 64 bit, Variable
Length);
In the field “Length(Variable Len)” insert the length of
the data in the case of the dimension is “Variable
Length”;
In the field “Unit” if it is necessary it is possible to select the unit of that variable. The Unit is used for indicates from which device
the data come;
In the field “Modbus Register” it is necessary to insert the value of Modbus Register that contains the data of the M-Bus device. It is
possible to insert from Modbus Register “1” to “60000”;
In the field “Modbus Re Scale” it is necessary to insert the value of Modbus Register that contains the value of measure scale. If the
scale is not necessary, you have to insert the number “0” in this field. It is possible to insert from Modbus Register “1” to “60000”;
In the field “Storage Number” if it is necessary it is possible to insert the value of storage counter of that variable. With this field
the slave can indicate and transmit various stored counter states or historical values, in the order in which they occur;

ADFweb.com S.r.l.
User Manual M-Bus Master / Modbus TCP Slave
Document code: MN67044_ENG Revision 2.200 Page 19 of 37
Industrial Electronic Devices

In the field “Tariff” if it is necessary it is possible to insert the value of the tariff of that variable. The Tariff is used for indicates from
which device the data come;
In the field “VIFE” it is possible to select a sub-type of “Type of Data”;
If the field “Use Six Modbus Register” and the “Type of Data” is “Time Point” it is possible to read the information of Year, Month,
Day, Hour, Minutes, Seconds on six consecutive Modbus registers without decoding the data (if not selected the values are the same
of the reply of the slave device, so coded with a determinate structure). You have to insert the first Modbus Register.
If the field “From BCD to Integer” is checked the Converter converts the BCD value of variable in Integer format. This happens only
if the variable is in BCD format; if it isn’t nothing changes.
If the field “Convert in Float” is checked the Converter converts the data into Float type. Every variable occupies two consecutive
Modbus Registers and the first one is the one defined in “Modbus Register”. In this case the float value is multiplied by the “Modbus
Re Scale” automatically;
If the field “Force Integer 32” is checked the Converter maps the variables with a dimension <32 bit in two consecutive Modbus
registers as a 32 bit variables;
In the field “Post Operation” it is possible to define an operation on the data read before mapping them on Modbus registers.

Having completed this fields, to add the variable the button “ADD VARIABLE” must be pressed.

In order to modify a created variable it is necessary to select the desired variable, change the wrong items and then press the “MODIFY
VARIABLE” button.

ADFweb.com S.r.l.
User Manual M-Bus Master / Modbus TCP Slave
Document code: MN67044_ENG Revision 2.200 Page 20 of 37
Industrial Electronic Devices

SECTION VARIABLES (BY POSITION):

Selecting the desired node it is possible to add a variable. In


order to create a new variable it is necessary to fill these items:
To use the created variable the field “Enable Variable”
must be checked. If you have created a variable but for
the moment it is unused it is possible to uncheck the field
“Enable Variable” without delete it;
In the field “Description” it is possible to write a
description of the variable (it isn’t a necessary
information, it helps the readability of the tree of
network);
The field “Dimension” is used to select the dimension of
the variable (8, 16, 24, 32, 32 real, 48, 64 bit, Variable
Length);
In the field “Length(Variable Len)” insert the length of
the data in the case of the dimension is “Variable
Length”;
In the field “Modbus Register” it is necessary to insert
the value of Modbus Register that contains the data of
the M-Bus device. It is possible to insert from Modbus
Register “1” to “60000”;
In the field “Modbus Re Scale” it is necessary to insert
the value of Modbus Register that contains the value of
measure scale. If the scale is not necessary, you have to
insert the number “0” in this field. It is possible to insert
from Modbus Register “1” to “60000”;
If the field “Use Six Modbus Register” and the “Type of Data” is “Time Point” it is possible to read the information of Year, Month,
Day, Hour, Minutes, Seconds on six consecutive Modbus registers without decoding the data (if not selected the values are the same
of the reply of the slave device, so coded with a determinate structure). You have to insert the first Modbus Register;
If the field “From BCD to Integer” is checked the Converter converts the BCD value of variable in Integer format. This happens only
if the variable is in BCD format; if it isn’t nothing changes;

ADFweb.com S.r.l.
User Manual M-Bus Master / Modbus TCP Slave
Document code: MN67044_ENG Revision 2.200 Page 21 of 37
Industrial Electronic Devices

If the field “Force Integer 32” is checked the Converter maps the variables with a dimension <32 bit in two consecutive Modbus
registers as a 32 bit variables;
In the field “Post Operation” it is possible to define an operation on the data read before mapping them on Modbus registers.
In the field “Position” insert the number of the variable that you want on Modbus.

Having completed this fields, to add the variable the button “ADD VARIABLE” must be pressed.

In order to modify a created variable it is necessary to select the desired variable, change the wrong items and then press the “MODIFY
VARIABLE” button.

ADFweb.com S.r.l.
User Manual M-Bus Master / Modbus TCP Slave
Document code: MN67044_ENG Revision 2.200 Page 22 of 37
Industrial Electronic Devices

Example:

0x68 - Start Byte


0xBD - L Fied
0xBD - L Field
0x68 - Start Byte
0x08 - C Field
0x02 - A Field
0x72 - CI Field
Identification Number (or Secondary Address) put in the
0x71 - Identification Number (Byte 4of4)
0x65 - Identification Number (Byte 3of4) selected register if “Identification Number” is checked
0x45 - Identification Number (Byte 2of4)
0x28 - Identification Number (Byte 1of4)
0x4D - Manufacturer (Byte 2of2)
0x6A - Manufacturer (Byte 1of2)
0x81 - Version Fixed Data Header
0x04 - Medium
0x3E - Access Number
0x27 - Status
0x00 - Signature (Byte 2of2) Status of the meter put in the selected register if “Node
0x00 - Signature (Byte 1of2) State” is checked
0x04 - DIF
0x79 - VIF Identification
0x00 - Data (Byte 4of4)
0x00 - Data (Byte 3of4)
First Variable ( 1 )
0x00 - Data (Byte 2of4)
0x00 - Data (Byte 1of4)

0x04 - DIF
0x06 - VIF Energy
0x00 - Data (Byte 4of4)
0x00 - Data (Byte 3of4)
Second Variable ( 2 ) To be use in the “Position” field
0x00 - Data (Byte 2of4)
0x00 - Data (Byte 1of4)

0x44 - DIF
0x06 - VIF Energy
0x00 - Data (Byte 4Of4)
0x00 - Data (Byte 3Of4) Third Variable ( 3 )
0x00 - Data (Byte 2Of4)
0x00 - Data (Byte 1Of4)

… Other Variables

0x55 - Check Sum
0x16 - Stop Byte

ADFweb.com S.r.l.
User Manual M-Bus Master / Modbus TCP Slave
Document code: MN67044_ENG Revision 2.200 Page 23 of 37
Industrial Electronic Devices

COPY, PASTE AND DELETE ITEMS:

By pressing the right button of the mouse over an item (Variable


or Node) it is possible to Copy, Paste and Delete.
It is possible to Copy a variable from a Node and copy it to
another Node, or copy a Variable from a project and paste in
another one.
It is also possible to copy an entire Node with all its Variables.

Note:
By pressing the “Import Network” button is possible
to import the file generated by the Analyzer HD67031.

ADFweb.com S.r.l.
User Manual M-Bus Master / Modbus TCP Slave
Document code: MN67044_ENG Revision 2.200 Page 24 of 37
Industrial Electronic Devices

Possible choices for the fields used to create a variable:

Type of Data: Function Field:


|_Energy (Wh) |_Instantaneous Value
|_Energy (J) |_Minimum Value
|_Volume (m3) |_Maximum Value
|_Mass (Kg) |_Value During Error State
|_On Time
|_Operating Time
|_Power (W) Dimension (bit):
|_Power (J/h) |_8
|_Volume Flow (m3/h) |_16
|_Volume Flow Ext. (m3/min) |_24
|_Volume Flow Ext. (m3/s) |_32
|_Mass Flow (Kg/h) |_32 real
|_Flow Temperature (°C) |_48
|_Return Temperature (°C) |_64
|_Temperature Difference (K) |_Variable Length
|_External Temperature (°C)
|_Pressure (bar)
|_Averaging Duration
|_Actuality Duration
|_Type of data in VIFE
|_Time Point
|_VIF is in ASCII
|_Unit for H.C.A.
|_Fabrication No
|_(Enhaced) Identification
|_Bus Address

ADFweb.com S.r.l.
User Manual M-Bus Master / Modbus TCP Slave
Document code: MN67044_ENG Revision 2.200 Page 25 of 37
Industrial Electronic Devices

VIFE: |_ Period of tariff months(s)


|_ Not Selected |_ Period of tariff year(s)
|_ Credit of the nominal local legal currency units |_ dimensionless/ no VIF
|_ Debit of the nominal local legal currency units |_ Volts
|_ Access Number (transmission count) |_ Ampere
|_ Medium (as in fixed header) |_ Reset counter
|_ Manufacturer (as in fixed header) |_ Comulation counter
|_ Parameter set identification |_ Control signal
|_ Model/Version |_ Day of week
|_ Hardware Version # |_ Week number
|_ Firmware Version # |_ Time point of day change
|_ Software Version # |_ State of parameter activation
|_ Customer Location |_ Special supplier information
|_ Customer |_ Duration since last comulation [hour(s)..year(s)]
|_ Access Code User |_ Operation time battery [hour(s)..year(s)]
|_ Access Code Operator |_ Date and time of battery change
|_ Access Code System Operator |_ Energy MWh
|_ Access Code Developer |_ Energy GJ
|_ Password |_ Volume
|_ Error flags (binary) |_ Mass
|_ Error mask |_ Volume 0,1 feet^3
|_ Digital Output (binary) |_ Volume 0,1 american gallon
|_ Digital Input (binary) |_ Volume 1 american gallon
|_ Baudrate [Baud] |_ Volume flow 0,001 american gallon/min
|_ response delay time [bittimes] |_ Volume flow 1 american gallon/min
|_ Retry |_ Volume flow 1 american gallon/h
|_ First storage # for cyclic storage |_ Power MW
|_ Last storage # for cyclic storage |_ Power GJ/h
|_ Size of storage block |_ Flow Temperature
|_ Storage interval [sec(s)..day(s)] |_ Return Temperature
|_ Storage interval month(s) |_ Temperature Difference
|_ Storage interval year(s) |_ External Temperature
|_ Duration since last readout[sec(s)..day(s)] |_ Cold/Warm Temperature Limit °F
|_ Start (date/time) of tariff |_ Cold/Worm Temperature Limit °C
|_ Duration of tariff (nn=01..11:min to day) |_ Cumul. count max power
|_ Period of tariff [sec(s) to day(s)]
|_ per second

ADFweb.com S.r.l.
User Manual M-Bus Master / Modbus TCP Slave
Document code: MN67044_ENG Revision 2.200 Page 26 of 37
Industrial Electronic Devices
|_ per minute |_ Duration of limit exceed
|_ per hour |_ Duration of first/last
|_ per day |_ Date(/time) of first/last begin/end
|_ per week |_ Multiplicative currection factor
|_ per month |_ Additive correction constant * unit of VIF (offset)
|_ per year |_ Moltiplicative correction factor: 10^3
|_ per revolution/measurement |_ future value
|_ increment per input pulse on input channel |_ next VIFE's and data of this block are manufacturer specific
|_ increment per output pulse on output channel |_ None
|_ per liter |_ Too many DIFE's
|_ per m^3 |_ Storage number not implemented
|_ per kg |_ Unit number not implemented
|_ per K (Kelvin) |_ Tariff number not implemented
|_ per kWh |_ Function not implemented
|_ per GJ |_ Data class not implemented
|_ per kW |_ Data size not implemented
|_ per (K*l)(Kelvin*liter) |_ Too many VIFE's
|_ per V (Volt) |_ Illegal VIF-Group
|_ per A (Ampere) |_ Illegal VIF-Exponent
|_ multiplied by sek |_ VIF/DIF mismatch
|_ multiplied by sek/V |_ Unimplemented action
|_ multiplied by sek/A |_ No data available (undefined value)
|_ start date(/time) of |_ Data overflow
|_ VIF contains uncorrected unit instead of corrected unit |_ Data underflow
|_ Accumulation only if positive contributions |_ Data error
|_ Accumulation of abs value only if negative contributions |_ Premature end of record
|_ upper/lower limit value
|_ # of exceeds of lower/upper limit
|_ Date(/time) of begin/end of first/last lower/upper limit exceed

ADFweb.com S.r.l.
User Manual M-Bus Master / Modbus TCP Slave
Document code: MN67044_ENG Revision 2.200 Page 27 of 37
Industrial Electronic Devices

Swap Identification:

This field is used for select the Swap mode of Identification Number.

At the moment there are these possibilities:


None;
Type 1.

Examples:

- Identification Number (Secondary Address): 12345678; Address Register 1000; Convert BCD in Integer Identification Num. not
checked.

None Type 1
1000: 0x1234 1000: 0x5678
1001: 0x5678 1001: 0x1234

- Identification Number (Secondary Address): 12345678; Address Register 1000; Convert BCD in Integer Identification Num.
checked.

None Type 1
1000: 0x00BC 1000: 0x614E
1001: 0x614E 1001: 0x00BC

ADFweb.com S.r.l.
User Manual M-Bus Master / Modbus TCP Slave
Document code: MN67044_ENG Revision 2.200 Page 28 of 37
Industrial Electronic Devices

To know the meaning of value read in the “Modbus Re Scale” field, you must follow this table (x = Value read in Modbus Re Scale):

Description Range Coding Range


Energy 10 (x – 3) Wh 0.001 Wh to 10000 Wh
Energy 10 (x) J 0.001 kJ to 10000 kJ
(x – 6)
Volume 10 m3 0.001 l to 10000 l
(x – 3)
Mass 10 kg 0.001 kg to 10000 kg
x=0 Seconds
x=1 Minutes
On Time
x=2 Hours
x=3 Days
Operating Time coded like On Time
Power 10 (x – 3) W 0.001 W to 10000 W
Power 10 (x) J/h 0.001 kJ/h to 10000 kJ/h
Volume Flow 10 (x – 6) m3/h 0.001 l/h to 10000 l/h
(x – 7) 3
Volume Flow Ext. 10 m /min 0.0001 l/min to 1000 l/min
(x – 9)
Volume Flow Ext. 10 m3/s 0.001 ml/s to 10000 ml/s
(x – 3)
Mass Flow 10 kg/h 0.001 kg/h to 10000 kg/h
Flow Temperature 10 (x – 3) °C 0.001 °C to 1 °C
(x – 3)
Return Temperature 10 °C 0.001 °C to 1 °C
Temperature Difference 10 (x – 3) K 1 mK to 1000 mK
(x – 3)
External Temperature 10 °C 0.001 °C to 1 °C
Pressure 10 (x – 3) bar 1 mbar to 1000 mbar
Averaging Duration coded like On Time
Actuality Duration coded like On Time
x=0 Date Data type G
Time Point
x=1 Time&Date Data type F
Unit for H.C.A. dimensionless

ADFweb.com S.r.l.
User Manual M-Bus Master / Modbus TCP Slave
Document code: MN67044_ENG Revision 2.200 Page 29 of 37
Industrial Electronic Devices
Data type F:
7 6 5 4 3 2 1 0
2 2 2 2 2 2 2 2
15 14 13 12 11 0 9 8
2 2 2 2 2 21 2 2
23 22 21 0 19 18 17 16
2 2 2 22 2 2 2 2
31 30 29 28 27 26 25 24
2 2 2 2 2 2 2 2

Min (0 … 59);
Hour (0 … 23);
Day (1 … 31);
Month (1 … 12);
Year (0 … 99);
Time Invalid (0=Valid, 1=Invalid);
Summer Time (0=Standard Time, 1=Summer Time);
Reserved (0).

Data type G:
7 6 5 4 3 2 1 0
2 2 2 2 2 2 2 2
15 14 13 12 11 0 9 8
2 2 2 2 2 21 2 2

Day (1 … 31);
Month (1 … 12);
Year (0 … 99).

For example, if you have defined:


• Type of Data= Energy (J);
• Function Field=Instantaneous Value;
• Dimension= 32 bit;
• Modbus Register=150 (Register 151 declared implicitly because the dimension is 32 bit);
• Modbus Re Scale=152.
After the request, in Modbus register 150 you read 0x0004, in 151 you read 0x5678 and in register 152 is write 0x0006. The value
obtained is: 284280 x10(6) J.

ADFweb.com S.r.l.
User Manual M-Bus Master / Modbus TCP Slave
Document code: MN67044_ENG Revision 2.200 Page 30 of 37
Industrial Electronic Devices

MANUFACTURER SPECIFIC DATA

Using this function is possible to save into Modbus registers the part of M-Bus frame that is coded like Manufacturer Specific Data.
Usually these data are at the end of the frame and after a DIF byte with the value 0x0F of 0x1F.

Here an example of the frame and the mentioned data (hexadecimal):


68 20 20 68 08 01 72 78 56 34 12 86 04 05 00 08 00 00 00 0C 78 78 56 34 12 0F 11 22 33 44 55 66 77 88 99 AA 74 16

If you want to save all ten bytes from Modbus register 200 you have to compile the fields “Manufacturer Specific Data”, “Length (MSD)
[1 – 241]” and Offset (MSD) [0 - 240] in this way: Manufacturer Specific Data: 200 | Length: 10 | Offset: 0.
On Modbus you will have this result: reg.200=1122h, reg.201=3344h, reg.202=5566h, reg.203=7788h, reg.204=99AAh

If you want to save only the byte 33 and 44 in the Modbus register 200 you have to compile the fields “Manufacturer Specific Data”,
“Length (MSD) [1 – 241]” and Offset (MSD) [0 - 240] in this way: Manufacturer Specific Data: 200 | Length: 2 | Offset: 2.
On Modbus you will have this result: reg.200=3344h

If you want to save only the byte 66 in the Modbus register 200 you have to compile the fields “Manufacturer Specific Data”, “Length
(MSD) [1 – 241]” and Offset (MSD) [0 - 240] in this way: Manufacturer Specific Data: 200 | Length: 1 | Offset: 5.
On Modbus you will have this result: reg.200=6600h

ADFweb.com S.r.l.
User Manual M-Bus Master / Modbus TCP Slave
Document code: MN67044_ENG Revision 2.200 Page 31 of 37
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.

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 5: “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.

At this point the configuration/firmware on the device is correctly updated.

ADFweb.com S.r.l.
User Manual M-Bus Master / Modbus TCP Slave
Document code: MN67044_ENG Revision 2.200 Page 32 of 37
Industrial Electronic Devices

Note:
When you receive the device, for the first time, you also have to update the Firmware in the HD67044 device.

Warning:
If Fig. 6 appears when you try to do the Update try these points before seeking
assistance:
Check if the serial COM port selected is the correct one;
Check if the serial cable is connected between the PC and the device;
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, 11 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, 11 you have to launch the "Command Prompt"
with Administrator Rights; Figure 6: “Error” window
Pay attention at Firewall lock.

Warning:
In the case of HD67044 you have to use the software “SW67044”: www.adfweb.com\download\filefold\SW67044.zip.

ADFweb.com S.r.l.
User Manual M-Bus Master / Modbus TCP Slave
Document code: MN67044_ENG Revision 2.200 Page 33 of 37
Industrial Electronic Devices

SCAN & DECODE FUNCTION:

“SCAN & DECODE” functions are integrated in the configurator software SW67044. It is possible to access to these functions by simple
click on the “ ” button.

It has the following characteristics:


Possibility to scan M-Bus network;
Automatic decode of M-Bus telegrams;
Easy connection directly through the Ethernet port of the converters.

For the description of the function, it is possible to refer to this manual: www.adfweb.com/download/filefold/SCAN&DECODE_ENG.pdf

ADFweb.com S.r.l.
User Manual M-Bus Master / Modbus TCP Slave
Document code: MN67044_ENG Revision 2.200 Page 34 of 37
Industrial Electronic Devices

MECHANICAL DIMENSIONS:

Figure 7: Mechanical dimensions scheme for HD67044-B2-xxx

ADFweb.com S.r.l.
User Manual M-Bus Master / Modbus TCP Slave
Document code: MN67044_ENG Revision 2.200 Page 35 of 37
Industrial Electronic Devices

ORDERING INFORMATIONS:

The ordering part number is formed by a valid combination of the following:


HD67044 – B 2 – xxx

Maximum number of slaves supported


20: up to 20 standard slaves (1.5mA consumption) connected to M-Bus
40: up to 40 standard slaves (1.5mA consumption) connected to M-Bus
80: up to 80 standard slaves (1.5mA consumption) connected to M-Bus
160: up to 160 standard slaves (1.5mA consumption) connected to M-Bus
250: up to 250 standard slaves (1.5mA consumption) connected to M-Bus

Connectors Type
2: Fixed Screw Terminal

Enclosure Type
B: Modulbox 4M, 35mm DIN Rail mounting

Device Family
HD67044: M-Bus Master / Modbus TCP Slave - Converter

Order Code: HD67044-B2-20 - Converter M-Bus Master / Modbus TCP Slave (up to 20 slaves connected to M-Bus)
Order Code: HD67044-B2-40 - Converter M-Bus Master / Modbus TCP Slave (up to 40 slaves connected to M-Bus)
Order Code: HD67044-B2-80 - Converter M-Bus Master / Modbus TCP Slave (up to 80 slaves connected to M-Bus)
Order Code: HD67044-B2-160 - Converter M-Bus Master / Modbus TCP Slave (up to 160 slaves connected to M-Bus)
Order Code: HD67044-B2-250 - Converter M-Bus Master / Modbus TCP Slave (up to 250 slaves connected to M-Bus)

ACCESSORIES:

Order Code: APW020 - Power Supply for M-Bus Master device that supports up to 20 Slaves
Order Code: APW040 - Power Supply for M-Bus Master device that supports up to 40 Slaves
Order Code: APW080 - Power Supply for M-Bus Master device that supports up to 80 Slaves
Order Code: APW160 - Power Supply for M-Bus Master device that supports up to 160 Slaves
Order Code: APW250 - Power Supply for M-Bus Master device that supports up to 250 Slaves

ADFweb.com S.r.l.
User Manual M-Bus Master / Modbus TCP Slave
Document code: MN67044_ENG Revision 2.200 Page 36 of 37
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.

OTHER REGULATIONS AND STANDARDS:

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.

RESTRICTION OF HAZARDOUS SUBSTANCES DIRECTIVE


The device respects the 2002/95/EC Directive on the restriction of the use of certain hazardous substances in
electrical and electronic equipment (commonly referred to as Restriction of Hazardous Substances Directive or RoHS).

CE MARKING
The product conforms with the essential requirements of the applicable EC directives.

ADFweb.com S.r.l.
User Manual M-Bus Master / Modbus TCP Slave
Document code: MN67044_ENG Revision 2.200 Page 37 of 37
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 [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.

You might also like