Danfoss OPC Operating guide

Operating guide
OPC server for ECL Comfort 310
Table of Contents
1. Introduction to Danfoss ECL OPC Server .......................................................................................................................... 2
2. Configuring databases....................................................................................................................................................... 6
3. Exporting configuration data ............................................................................................................................................ 7
4. Importing data from an XML file ....................................................................................................................................... 8
5. Address Space .................................................................................................................................................................... 9
6. Devices .............................................................................................................................................................................. 11
7. Folders .............................................................................................................................................................................. 14
8. Data Items ......................................................................................................................................................................... 15
9. Conversions ...................................................................................................................................................................... 20
10. Device Parameters ........................................................................................................................................................... 23
11. Simulation Signals ........................................................................................................................................................... 25
12. Alarm Definitions ............................................................................................................................................................. 28
13. How the client connects to and gets data from a server ................................................................................................ 34
_______________________________________________________________________________
© Danfoss | 2016.10 VI.GU.M2.00 | 1
Operating guide, OPC server for ECL Comfort 310
1.
The Danfoss ECL OPC Server is an OPC serves data to OPC clients. The OPC server was implemented using advanced programming concepts of the current version of the OPC generation industrial software applications.
The OPC Server communicates with OPC clients and real time Danfoss ECL devices. This OPC server is also based on the popular Modbus protocol and can be connected to real world Modbus compatible I/O hardware.
Key features of the OPC Server include:
The OPC Server product contains two parts: a user interface configuration module and the actual OPC server, the runtime module.
Configuration module:
The that holds configurati name, the ranging, and the alarm settings.
The actual values of the tags configured. Structures of both databases are indicated in the following secti
Changes made to the configuration are accepted restart of the OPC server. However, changes made to the runtime database are accepted online.
_______________________________________________________________________________________

Introduction to Danfoss ECL OPC Server

-compliant server that
specification for use in developing next
Advanced OPC data quality and data conversion to
client’s request.
Supports multiple multi-drop I/O devices. Supports multiple groups for easy configuration and
manageability.
Supports popular PLC and RTU data types. Internally simulated for configuration and testing. User interface for viewing tags, groups, and real-time
signals.
Supports OPC Data Access (DA) and Alarm and Events
(AE) specifications.
Flexible engineering units and signal ranges
configuration module allows you to create a database
on data of the tags such as the tag
Runtime module:
runtime module uses a runtime database to access the
_______________________________________________________________________________
© Danfoss | 2016.10 VI.GU.M2.00 | 2
ons.
only after a
Operating guide, OPC server for ECL Comfort 310
1.1
OLE™ for Process Control (OPC) is a standards-based approach for connecting data sources (e.g., PLCs, controllers, I/O devices, databases, etc.) with HMI client applications (graphics, trending, alarming, etc.).
It enhances the interface between client and server applications by providing a universally documented mechanism to communicate data from a data source to any client application.
Included are not only a detailed guide on how to pass the data, but also specific information on other attributes to supplement those data, such as range information, data type, quality flags, and date and time information.
Figure 1.1 shows the OPC Architecture, which was introduced by the OPC Foundation. By following the OPC Architecture, a device needs only one standard driver, which is an OPC compl then be connected to that device, either locally or over a network. Furthermore, connections can be made to more than one OPC server at the same time.
Figure
Any OPC client application can connect to any OPC server. In other words, OPC offers true Plug fields of HMI and industrial automation. OPC server types include OPC Data Access (DA), OPC Alarm and Events
_______________________________________________________________________________________
What is OLE for process control?
supported and well-
-
iant server. All OPC-compliant client applications can
1-1: General OPC-Based Client-Server Architecture
_______________________________________________________________________________
© Danfoss | 2016.10 VI.GU.M2.00 | 3
-and-Play capability in the
(AE).
Operating guide, OPC server for ECL Comfort 310
Figure
The OPC Server is based on Standard Modbus protocol for RS485 and TCP. Heat meter data can be read through the ECL Comfort controller
_______________________________________________________________________________________
1-2: Danfoss ECL Comfort OPC structure
using the M-bus network.
_______________________________________________________________________________
© Danfoss | 2016.10 VI.GU.M2.00 | 4
Operating guide, OPC server for ECL Comfort 310
1.2
OPC Server Configurator can run on the following Microsoft Windows operating systems:
† Supported Editions of Windows Vista are Windows Vista Business, Ultimate, and Enterprise Edition. Windows Vista Home and Home Premium Editions are not supported in this release.
†† Windows 2000 is supported for Classic OPC Server installations only.
The OPC Server Configurator is capable of running on computer/workstation hardware with the following specifications:
_______________________________________________________________________________________
System requirements
Windows Server 2008 x64 (runs in the 32 bit
compatibility mode)
Windows Server 2008 Windows Vista x64 (runs in the 32 bit compatibility
mode) †
Windows Vista † Windows Server 2003 x64 (runs in the 32 bit
compatibility mode)
Windows Server 2003 R2 Windows Server 2003 SP2 Windows XP Professional x64 (runs in the 32 bit
compatibility mode)
Windows XP Professional SP3 Windows 2000 Server SP4 †† Windows 2000 SP4 ††
1 GHz Processor (CPU) 1 GB Physical Memory (RAM) 2 GB Hard Disk space available DVD drive for installation SVGA Video Card; 256 or more colors for best results A mouse or other compatible pointing device (such as a
trackball or touch screen)
Microsoft-compatible keyboard
_______________________________________________________________________________
© Danfoss | 2016.10 VI.GU.M2.00 | 5
Operating guide, OPC server for ECL Comfort 310
2.
The OPC Server Configurator provides the ability to create new
2.1 Database
To create a new Microsoft Access Configuration Database in the
This configuration database will contain the configuration of all your devices, and the logical tag naming i address space.
2.2
Once your configuration is complete, you need to make sure that your database is “Active”. The database that is designated as “Active” is the one that the server uses.
To make a database active:
Sel
_______________________________________________________________________________________

Configuring databases

configuration databases.
Creating a Microsoft Access Configuration
Configurator, the following steps have to be completed:
Start the Danfoss ECL OPC Configurator. Select ‘File’, ‘New’ from the menu and specify a name for
the configuration. For example ‘myProject.mdb’
Select the ‘Save’ button and the configuration file will be
created.
n the OPC
Activating the database
ect ‘File’, ‘Make Active’… and click the ‘Yes’ button.
_______________________________________________________________________________
© Danfoss | 2016.10 VI.GU.M2.00 | 6
Operating guide, OPC server for ECL Comfort 310
3.
3.1
The Configurator also allows you to export data from your configuration database to an XML file. The Configurator also allo XML file that specifies the data structure of an XML data file.
The purpose of having the configuration in XML would be that you have it in another readable format and could manipulate the content with the changes again.
To export data, select from the menu ‘File, XML Export’…
This opens the ‘Export XML File’ dialog box. Specify a file a name and click ‘Save’.
_______________________________________________________________________________________

Exporting configuration data

Exporting data to an XML file
ws you to export the XML schema. A schema is a special
3rd party tools to later import
_______________________________________________________________________________
© Danfoss | 2016.10 VI.GU.M2.00 | 7
Operating guide, OPC server for ECL Comfort 310
4.
4.1
The Configurator allows you to import data from your configuration database to an XML file.
To import data, select from the menu ‘File, XML Import’…
This opens the ‘Import XML File’ dialog box. Select a file and click ‘Open’.
_______________________________________________________________________________________

Importing data from an XML file

Importing data from an XML file
_______________________________________________________________________________
© Danfoss | 2016.10 VI.GU.M2.00 | 8
Operating guide, OPC server for ECL Comfort 310
5.
The 'Address Space' branch of the Configurator provides a tree explorer in Workbench, shown in the figure below, for setting the properties and connection parameters of the following items:
Data items can be organized hierar organizing directories and files on your computer's hard disk. The OPC s
The Configurator module uses the terms A folder can contain additional folders and also data items are always the branches in the tree control hierarchy.
The hierarchical structure of the folders and data items helps to organize the device
Figure
_______________________________________________________________________________________
Address Space
Devices Folders Data Items
chically. It is similar to
erver offers several levels of hierarchy.
‘Folder’ and ‘Data Item’.
data items. The
s and tags, as shown in Figure 5.1.

5.1: Address Space

_______________________________________________________________________________
© Danfoss | 2016.10 VI.GU.M2.00 | 9
Operating guide, OPC server for ECL Comfort 310
5.1
Area as many areas as required. At least one area is required.
To add an
Right
branch in the Configurator tree
explorer in Workbench,
Figure
Or
Select the ‘Address Space’ branch in the Configurator tree explorer in Workbench and menu item.
_______________________________________________________________________________________
Areas
s can be used to group devices logically. You can configure
new area:
-click on the ‘Address Space’ and click on ‘New Area’.
5-2: Creating a 'New Area' in the Configurator tree explorer in Workbench
use the menu ‘Edit’, ‘New’, ‘Area’
_______________________________________________________________________________
© Danfoss | 2016.10 VI.GU.M2.00 | 10
Operating guide, OPC server for ECL Comfort 310
6.
In the Configurato communicates with the OPC server over TCP/IP.
A device is directly communicating with its socket, so it is logically under the first level in the
Again, the device is represented by its address in combination with the unit identifier value uniquely identifies the device.
Setting up a device requires configuring its IP address, unit identifier, TCP port, type, timeouts and optimization parameters.
To add a devi
Right explorer in Workbench,
Figure
Or
Select the ‘Address Space’ branch in the Configurator tree explorer in Workbench and menu item.
_______________________________________________________________________________________

Devices

r, a device represents a hardware device that
‘Address Space’ tree.
symbolic name. Also, its IP
ce:
-click the ‘Address Space’ branch of the Configurator tree and click on ‘New Device’.
It is impossible to have two devices with the same IP address.
6-1: Adding a 'New Device' in the Configurator tree explorer in Workbench
use the menu ‘Edit’, ‘New’, ‘Area’
_______________________________________________________________________________
© Danfoss | 2016.10 VI.GU.M2.00 | 11
Loading...
+ 24 hidden pages