Danfoss ECL MODBUS OPC Operating instructions

  • Hello! I am an AI chatbot trained to assist you with the Danfoss ECL MODBUS OPC Operating instructions. I’ve already reviewed the document and can help you find the information you need or explain it in simple terms. Just ask your questions, and providing more details will help me assist you more effectively!
ECL MODBUS OPC
Instructions
DH-SMT/DK VI.KT.A2.02 © Danfoss 01/2008 DH-SMT/DK VI.KT.A2.02 © Danfoss 01/2008
VI.KT.A2.02 © Danfoss 01/2008 DH-SMT/DK
Instructions ECL MODBUS OPC
Table of Contents
1. Introduction 3
1.1 Prior to installation ......................................................................................................................................................................................................................4
2. How to install the program 4
3. Navigation in the Congurator 5
4. How to get started 5
4.1 Network scan .................................................................................................................................................................................................................................6
4.2 Device scan ....................................................................................................................................................................................................................................7
4.3 Device and tag names................................................................................................................................................................................................................8
4.4 Conversions ...................................................................................................................................................................................................................................8
4.5 Third party products ..................................................................................................................................................................................................................9
5. Installation and technical information 9
6. Troubleshooting 10
DH-SMT/DK VI.KT.A2.02 © Danfoss 01/2008 3
Instructions ECL MODBUS OPC
1. Introduction
This instruction covers the ECL MODBUS OPC, i.e. the ECL MODBUS Congurator and the ECL MODBUS OPC Server.
The ECL MODBUS OPC Server uses the OPC Data Access Specication version 2.0.
The ECL MODBUS OPC Congurator and Server can communicate with ECL Comfort controllers with ECA 71 module. The
communication takes place by means of Windows COM ports, e.g. COM1. The Server can use multiple COM ports to support
multiple networks.
The ECL MODBUS OPC Congurator and Server are in the following referred to as Congurator and Server. The Congurator is
used for the setup of the Server. Setup changes will not take eect until the Server has been restarted.
The Congurator is an online tool that can scan a network for ECL Comfort devices and their parameters. Devices, groups and
parameters can also be added manually.
The network scan searches a network for installed ECL Comfort devices. The search is done from address 1 to address 247. The
network scan can only add new devices – existing devices will NOT be deleted.
The device scan retrieves the parameter list from the selected ECL Comfort controller. The parameters are placed in a hierarchical
structure depending on the ECL Comfort application. The device scan can only add new folders and parameters – existing
folders and parameters will NOT be deleted.
This help le is written for ECL MODBUS OPC version 1.1
It is recommended to make a backup of the OPC database before modications are carried out.
TCP/IP, USB or
RS-232 to
RS-485 (MODBUS)
SCADA system:
Connected via
Danfoss MODBUS
OPC server
ECL Comfort
Heat meter
M-Bus connection
Third party
OPC Client
4 VI.KT.A2.02 © Danfoss 01/2008 DH-SMT/DK
Instructions ECL MODBUS OPC
1.1 Prior to installation
Min. PC requirements
Intel Pentium or equivalent processor
Windows 2000®, Windows NT or Windows XP
128 MB RAM
500 MB free hard disk space
References
Type Description Code No. (Parts list No.)
ECA 71 MODBUS communication module 087B1126
Documentation available on http://heating.danfoss.com:
Instructions, ECA 71 protocol
Instructions, ECA 71 / 72 installation and user guide
(087R9775, English)
(087R9769, English)
Cables
The required cables will depend on the used equipment. Consult the MODBUS RS-485 converter documentation for further
details.
Please do also consult the ECA 71 instructions for details about the network layout and connection.
MODBUS RS-485 Converters
The MODBUS network uses a 2-wire RS-485 interface. This interface is typically not part of a standard PC, and it is therefore
necessary to connect a MODBUS RS-485 converter.
Basically there are 4 groups of converters:
RS-232 RS-485
USB RS-485
TCP/IP RS-485
Expansion module, e.g. PCI RS-485
Common requirements for all converters are that they have to be capable of running MODBUS RS-485, the desired
communication setting (baud rate, parity etc.) and must oer a Windows COM (Virtual COM) port interface to the Congurator
and Server.
The MODBUS standardspecies line termination and polarization. It is an advantage if this is built into the converter. It is
recommended to use isolated converters (and repeaters) to increase robustness.
For specic details, please consult the specications
• Modbus Application Protocol V1.1a.
• MODBUS over Serial Line, Specication & Implementation guide V1.0
both of which can be found on http://www.modbus.org/
Achievable performance will depend on the chosen converter.
2. How to install the program
Run the Setup.exe le on the PC onto which the OPC Server and Congurator must be installed. Follow the installation wizard.
The next step is to read the section on “How to get started”.
DH-SMT/DK VI.KT.A2.02 © Danfoss 01/2008 5
Instructions ECL MODBUS OPC
3. Navigation in the Congurator
The Congurator resembles the Windows Explorer, with a left-hand side for level/item navigation and a right-hand side with
details for the selected level/item.
In the Congurator new ports, devices, groups and parameters can be added with a right-click of the mouse or by means of the
menu item ‘Edit ‘New.
The illustration shows the hierarchical structure (as known from the Windows Explorer) with the newly created folders ‘NewPort,
‘NewDevice’, ‘NewFolder’ and ‘NewDataItem’.
4. How to get started
After installation it is necessary to congure the database or select an already existing (valid) database. The database
conguration must be carried out with the Congurator.
An existing database can be selected by opening the database and closing the Congurator. When this is carried out, the
Congurator will ask whether the new database should be used for the Server.
For the conguration of a new database, the following steps must must be carried out for each network:
1. Run the Congurator (located in the start menu, ‘Programs’ ‘District Heating’ ECL MODBUS OPC Server
’Congurator’)
2. Add/select a port by specifying the COM port and the serial settings
3. Scan the network or add devices manually
4. Scan each device or add groups and parameters/tags manually
5. Close the Congurator
6 VI.KT.A2.02 © Danfoss 01/2008 DH-SMT/DK
Instructions ECL MODBUS OPC
The database is congured and the Server has the parameters/tags which an OPC client can use.
If the network is updated or expanded, e.g. new controllers are added or application cards changed, it is recommended to follow
the steps above for an update of the database conguration.
4.1 Network scan
The network scan is used to search the network for new devices. Third party products are not supported by this function, and
must be added manually.
The network scan can be activated in the port window. Before the scan, the correct communication parameters must be set.
The network scan takes approximately 1 – 5 minute to complete.
DH-SMT/DK VI.KT.A2.02 © Danfoss 01/2008 7
Instructions ECL MODBUS OPC
4.2 Device scan
Device scan is used for nding the groups and parameters of a device. Whenever a device has been replaced, the application
changed etc., this function should be used. Third party products are not supported by this function, and must be added
manually.
The device scan can be activated in the device window – after the network scan. Before a scan, a device must be selected.
The device scan takes approximately 1 – 5 minute to complete.
The device scan can only be used for ECL type devices.
If a device is re-scanned, the old folders should be deleted.
The button ‘Fill Conversions’ must be used before a scan if the database does not contain the necessary scales. It adds/repairs
the necessary default conversions items.
8 VI.KT.A2.02 © Danfoss 01/2008 DH-SMT/DK
Instructions ECL MODBUS OPC
4.3 Device and tag names
Device and tag names are generated automatically. The names will therefore be the same from scan to scan if nothing is
changed (version of Congurator, ECA 71, ECL Comfort, or Application).
Whenever possible, the automatically generated names should be used, as this will reduce overall system setup modications.
Description eld can be changed if desired.
4.4 Conversions
All values can be converted (scaled) by the OPC Server.
To add/modify a conversion:
1. Add/Modify’ a conversion in the Conversions folder.
2. For the parameters that require conversion, select ‘Use conversion’ in the parameter dialog and then select the appropriate
conversion
Default conversions ‘ECL Scale x’ is a conversion which is equal to 10x, e.g. ‘ECL Scale -1’ is equal to 10-1 (division by 10).
‘ECL Scale Schedule’ is used for all schedule values. As default the conversion will divide the values by 100, i.e. 8:00 is 8 and 8:30
is 8,3 (not 800 and 830). The conversion can be changed if this representation is not desired.
DH-SMT/DK VI.KT.A2.02 © Danfoss 01/2008 9
Instructions ECL MODBUS OPC
4.5 Third party products
Third party products, such as general inputs/outputs, which support the standard MODBUS RTU interface can manually be
added with the Congurator.
New devices, groups and parameters can be added by a right-click of the mouse or the menu item ‘Edit ‘New.
Note that any third party products must use the same communication settings as the rest of the network (baud rate, parity etc.).
5. Installation and technical information
The installation includes the les ‘PNU & GROUP numbers parameter list.txt’ and ‘search list.txt. These les are used during a
device scan and are not to be modied.
Cache function
The ‘Cache’ folder contains cached device scan results. When a new application type is scanned, a cache le is generated. If an
application type is known, the cached le will be used, thus eliminating a complete device scan. This will speed up the process.
The cache function can be enabled/disabled by creating/deleting the ‘Cache’ folder.
Scan timeout
The network scan timeout parameter can, if necessary, be changed by adding a DWORD value with the name ScanTimeout to the
registration database key.
HKEY_CURRENT_USER\Software\Danfoss A/S\ECL Modbus OPC Congurator\Options
The default value is 250 ms.
(The device scan uses the device read timeout).
Default database
The installation includes a default database named ECL_ModbusOPCCongurator.mdb.
Database compatibility
Databases from ECL MODBUS OPC version 1.0 are usable after the ‘Fill Conversions’ function has run.
Databases from Demo Iconics MODBUS OPC are not compatible.
10 VI.KT.A2.02 © Danfoss 01/2008 DH-SMT/DK
Instructions ECL MODBUS OPC
6. Troubleshooting
Fault Cause Solution
No database Installation not complete Uninstall and reinstall the program
Alternative
Create a new database with ‘File’
’New
Or open an existing database with
‘File’ ‘Open’
When the program is closed, choose
‘Yes’ to set the new database as the
current one.
Network scan does not nd any
devices
False communication port and/or
settings
Check that the COM port setting is
correct.
Check that the cable/network is
connected correctly
Check that cable termination and
polarization is correct
Device scan does not nd all
parameters
Not fully supported module Manually insert the missing
parameters
Update the Congurator if possible
Low server performance Invalid devices and/or parameters.
To high update rate requested.
Low performing converters/repeaters
Remove invalid devices (that do
not exist in the network)
Remove invalid parameters (that
do not exist in the device)
Change the requested update rate
to a more reasonable value
Check that converters and
repeaters are correctly installed
and have the needed performance
Converters that run over other
media (e.g. the internet) can
introduce delays
OPC server doesn’t work or client can’t
connect to it
The OPC Core Components are not
fully installed
(this problem normally only occurs on
a PC with no prior installation of an
OPC system)
Install the OPC Core le from the
folder “{installpath}\OPC Core
Components Redistributable x.xx.
xxx\Release”
DH-SMT/DK VI.KT.A2.02 © Danfoss 01/2008 11
Instructions ECL MODBUS OPC
VI.KT.A2.02 © Danfoss 01/2008 DH-SMT/DK
Instructions ECL MODBUS OPC
Danfoss can accept no responsibility for possible errors in catalogues, brochures and other printed material. Danfoss reserves the right to alter its products without notice. This also applies to products
already on order provided that such alterations can be made without subsequential changes being necessary in specications already agreed.
All trademarks in this material are property of the respective companies. Danfoss and the Danfoss logotype are trademarks of Danfoss A/S. All rights reserved.
Disposal Instruction
Equipment containing electrical components shall not be disposed together with domestic waste.
It must be collected separately with other electrical and electronic waste according to local legislation.
/