Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
Instructions
Table of Contents
1. Introduction 3
1.1 Prior to installation ......................................................................................................................................................................................................................4
1. Introduction
This instruction covers the ECL MODBUS OPC, i.e. the ECL MODBUS Configurator and the ECL MODBUS OPC Server.
The ECL MODBUS OPC Server uses the OPC Data Access Specification version 2.0.
The ECL MODBUS OPC Configurator 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 Configurator and Server are in the following referred to as Configurator and Server. The Configurator is
used for the setup of the Server. Setup changes will not take effect until the Server has been restarted.
The Configurator 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 file is written for ECL MODBUS OPC version 1.1
It is recommended to make a backup of the OPC database before modifications are carried out.
TCP/IP, USB or
RS-232 to
RS-485 (MODBUS)
ECL Comfort
M-Bus connection
Heat meter
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 (087R9775, English)
Instructions, ECA 71 / 72 installation and user guide (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.
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 offer a Windows COM (Virtual COM) port interface to the Configurator
and Server.
The MODBUS standardspecifies 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.
In the Configurator 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’.
An existing database can be selected by opening the database and closing the Configurator. When this is carried out, the
Configurator will ask whether the new database should be used for the Server.
For the configuration of a new database, the following steps must must be carried out for each network:
1. Run the Configurator (located in the start menu, ‘Programs’ ↔ ‘District Heating’ ↔ ‘ECL MODBUS OPC Server’ ↔
’Configurator’)
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 Configurator
The database is configured 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 configuration.
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.
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.
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.
Whenever possible, the automatically generated names should be used, as this will reduce overall system setup modifications.
Description field 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.
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.).
Cache function
The ‘Cache’ folder contains cached device scan results. When a new application type is scanned, a cache file is generated. If an
application type is known, the cached file will be used, thus eliminating a complete device scan. This will speed up the process.
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.
Default database
The installation includes a default database named ECL_ModbusOPCConfigurator.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.
6. Troubleshooting
Fault Cause Solution
No database Installation not complete • Uninstall and reinstall the program
Alternative
Network scan does not find any False communication port and/or • Check that the COM port setting is
devices settings correct.
Device scan does not find all Not fully supported module • Manually insert the missing
parameters parameters
Low server performance Invalid devices and/or parameters. • Remove invalid devices (that do
To high update rate requested. not exist in the network)
Low performing converters/repeaters
• Remove invalid parameters (that
do not exist in the device)