User Manual: Modbus Slave / M-Bus Master - Converter
User Manual: Modbus Slave / M-Bus Master - Converter
User Manual: Modbus Slave / M-Bus Master - Converter
User Manual
Revision 1.011
English
Dear customer, we thank you for your attention and we remind you that you
need to check that the following document is:
Page
Updated
INDEX 2 Related to the product you own
UPDATED DOCUMENTATION 2
REVISION LIST 2 To obtain the most recently updated document, note the “document code” that
WARNING 2 appears at the top right-hand corner of each page of this document.
TRADEMARKS 2
SECURITY ALERT 3 With this “Document Code” go to web page www.adfweb.com/download/ and
EXAMPLE OF CONNECTION 4 search for the corresponding code on the page. Click on the proper “Document
CONNECTION SCHEME 5 Code” and download the updates.
CHARACTERISTICS 6
CONFIGURATION 6 To obtain the updated documentation for the product that you own, note the
POWER SUPPLY 7 “Document Code” (Abbreviated written "Doc. Code" on the label on the product)
FUNCTION MODES 8 and download the updated from our web site www.adfweb.com/download/
LEDS 9
RS485 PORT (MODBUS) 10
RS485 PORT (M-BUS) 10 REVISION LIST:
RS232 PORT 11
USE OF COMPOSITOR SW67055 12 Revision Date Author Chapter Description
NEW PROJECT / OPEN PROJECT 12 1.000 30/10/2009 Fl All First release version
SET COMMUNICATION 13 1.001 06/07/2010 Ft All Revision
M-BUS 14 1.010 19/06/2012 Fl All Software changed (v1.100)
UPDATE DEVICE 26 1.011 18/02/2013 Nt All Added new chapters
MECHANICAL DIMENSIONS 28
ORDER CODES 28
ACCESSORIES 28 WARNING:
DISCLAIMER 29
OTHER REGULATIONS AND STANDARDS 29 ADFweb.com reserves the right to change information in this manual about our
WARRANTIES AND TECHNICAL SUPPORT 30 product without warning.
ADFweb.com is not responsible for any error this manual may contain.
RETURN POLICY 30
230
PRODUCTS AND RELATED DOCUMENTS 30
TRADEMARKS:
SECURITY ALERT:
GENERAL INFORMATION
To ensure safe operation, the device must be operated according to the instructions in the manual. When using the device are required for
each individual application, legal and safety regulation. 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 instrument can represent a potential hazard if they are inappropriately installed and operated
by personnel untrained. These instructions refer to residual risks with the following symbol:
This symbol indicates that non-observance of the safety instructions is danger for people to serious injury or death and / or the
possibility of damage.
CE CONFORMITY
The declaration is made by us. You can send an email to [email protected] or give us a call if you need it.
EXAMPLE OF CONNECTION:
CONNECTION SCHEME:
CHARACTERISTICS:
The HD67055 is Gateway that use M-Bus protocol over RS232/RS485 and Modbus RTU/ASCII ever RS232/RS485.
It allows the following characteristics:
Electrical isolation between RS232/RS485 and M-Bus on RS485;
Mountable on Rail DIN;
Temperature range -40°C to 85°C.
CONFIGURATION:
You need Compositor SW67055 software on your PC in order to perform the following:
Define the parameter of Modbus line;
Define the parameter of M-Bus line;
Define which Modbus register contain the M-Bus information;
Update the device.
POWER SUPPLY:
The device can be powered between a wide range of tensions. For more details see the two tables below.
VAC VDC
Vmin Vmax Vmin Vmax
8V 19V 8V 35V
Device W/VA
HD67055 4
HD67055
FUNCTION MODES:
The device has got two functions mode depending of the position of ‘Jumper3’:
The first, with ‘Jumper3’ not inserted (factory setting), is used for the normal working of the device.
The second, with ‘Jumper3’ inserted, is used for upload the Project/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).
LEDS:
The device has got three LEDs that are used to give information of the functioning status.
The various meanings of the LEDs are described in the table below.
2: M-Bus comm (green) Blinks quickly when receive a M-Bus response Off
3: Modbus comm (green) Change state when receive a correct Modbus request Off
For terminate the RS485 line with a 220Ω resistor it is necessary that the
‘Jumper1’ is like the label over the device.
For terminate the RS485 line with a 220Ω resistor it is necessary that the
‘Jumper2’ is like the label over the device.
RS232 PORT:
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 RS232C Cable not exceed 15 meters.
The serial port is used for programming the device or for Modbus communication.
To configure the Gateway, use the available software that runs with
Windows, called SW67055. It is downloadable on the site
www.adfweb.com and its operation is described in this document.
When launching the SW67055 the right window appears (Fig. 2).
The “New Project” button creates the folder which contains the entire device configuration.
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 SW67055 (Fig. 2) the window
“Set Communication” appears (Fig. 3).
The window is divided in two sections, one for the Modbus RTU line (Serial) and the other for the M-Bus.
M-BUS
By Pressing the “M-Bus” button from the main window for SW67029 (Fig. 2) the window “M-Bus Network” appears (Fig. 4).
SECTION NODES:
In the section “Nodes” it is possible to create the nodes of M-Bus
line. 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 “ID Node M-Bus”. In the field “Description” it is possible
to write a short description of the node.
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 gateway 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 21) of this document for select the swap mode.
If the field “Send SND_NKE” is checked, the Gateway send the
“SND_NKE” frame to start the communication.
In the field “Send Reset App.” Is checked the gateway 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.
Figure 4: “M-Bus Network” window
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 15-16 for more information).
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.
If the field “Use Five Modbus Register” and the “Type of Data” is “Time Point” it is possible to read the information of Year, Month,
Day, Hour, Minutes on five 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 Gateway 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 Gateway 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.
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.
Example:
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
VIFE:
|_ Not Selected |_ Period of tariff months(s)
|_ Credit of the nominal local legal currency units |_ Period of tariff year(s)
|_ Debit of the nominal local legal currency units |_ dimensionless/ no VIF
|_ Access Number (transmission count) |_ Volts
|_ Medium (as in fixed header) |_ Ampere
|_ Manufacturer (as in fixed header) |_ Reset counter
|_ Parameter set identification |_ Comulation counter
|_ Model/Version |_ Control signal
|_ Hardware Version # |_ Day of week
|_ Firmware Version # |_ Week number
|_ Software Version # |_ Time point of day change
|_ Customer Location |_ State of parameter activation
|_ Customer |_ Special supplier information
|_ Access Code User |_ Duration since last comulation [hour(s)..year(s)]
|_ Access Code Operator |_ Operation time battery [hour(s)..year(s)]
|_ Access Code System Operator |_ Date and time of battery change
|_ Access Code Developer |_ Energy MWh
|_ Password |_ Energy GJ
|_ Error flags (binary) |_ Volume
|_ Error mask |_ Mass
|_ Digital Output (binary) |_ Volume 0,1 feet^3
|_ Digital Input (binary) |_ Volume 0,1 american gallon
|_ Baudrate [Baud] |_ Volume 1 american gallon
|_ response delay time [bittimes] |_ Volume flow 0,001 american gallon/min
|_ Retry |_ Volume flow 1 american gallon/min
|_ First storage # for cyclic storage |_ Volume flow 1 american gallon/h
|_ Last storage # for cyclic storage |_ Power MW
|_ Size of storage block |_ Power GJ/h
|_ Storage interval [sec(s)..day(s)] |_ Flow Temperature
|_ Storage interval month(s) |_ Return Temperature
|_ Storage interval year(s) |_ Temperature Difference
|_ Duration since last readout[sec(s)..day(s)] |_ External Temperature
|_ Start (date/time) of tariff |_ Cold/Warm Temperature Limit °F
|_ Duration of tariff (nn=01..11:min to day) |_ Cold/Worm Temperature Limit °C
|_ Period of tariff [sec(s) to day(s)] |_ Cumul. count max power
Swap Identification:
This field is used for select the Swap mode of Identification Number.
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
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):
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).
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.
In order to load the parameters or update the firmware in the device, follow these instructions:
Turn off the Device;
Connect the RS232 Null Modem Cable from your PC to the Gateway;
Insert the Boot Jumper (see “FUNCTION MODES” section);
Select the “COM port” and press the “Connect” button;
Turn on the device;
Check the BOOT Led. It must blink quickly (see “LEDS” section);
Press the “Next” button;
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;
Disconnect the Boot jumper;
Disconnect the RS232 Cable;
Turn on the device.
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 HD67055 device.
Warning:
If the Fig. 6 appears when you try to do the Update before require assistance try
these points:
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;
If you are using a USBRS232 converter try with a native COM port or change the
converter;
Try with another PC;
Try to restart the PC;
Figure 6: “Protection” window
If you are using the program inside a Virtual Machine, try to use in the main
Operating System;
If you are using Windows Seven or Vista, make sure that you have the administrator privileges.
In the case of HD67055 you have to use the software “SW67055”: www.adfweb.com\download\filefold\SW67055.zip.
MECHANICAL DIMENSIONS:
ACCESSORIES:
Order Code: AC34107 - Null Modem Cable Fem/Fem DSub 9 Pin 1,5 m
DISCLAIMER
All technical content within this document can be modified without notice. The content of the document content is a recurring audit.
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 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.
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:
1) 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.
2) 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.