ifak system is Pro DP/PA Link DTM User Manual

TECHNOLOGIEN MIT VORSPRUNG
is Pro DP/PA Link DTM
User Manual
Copyright © ifak system GmbH 2004, all rights reserved.
No part of this wo rk may be reproduced in any fo rm or by any means ­graphic, electronic, or mechanical, includin g photoco pyin g, r ecord ing, taping or storage in an information retrieval sy stem - wi thout prior written permission of the ifak system GmbH.
Information in this manual is s ubject to ch ange without notice and does not represent a commitment of the ifak system GmbH.
ifak system GmbH Oststrasse 18 D-39114 Magdeburg (Germany)
www.ifak-system.com Tel.: +49 - 391 - 544 563 - 0
Fax: +49 - 391 - 544 563 - 99 Email: fdt@ifak-system.com
is Pro DP/PA Link DTM Contents
ifak system Gm bH I
Contents
Chapter 1: Introduction
Software Installation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1
Documentation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2
Our Service . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2
Chapter 2: FDT – A Brief Introduction
FDT-Specification Basics . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3
Object Model . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4
Component interaction . . . . . . . . . . . . . . . . . . . . . . . . . 7
Summary: Objects in the FDT concept . . . . . . . . . . . . . . . . 9
DeviceDTM . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9
ActiveX . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9
CommDTM . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9
CommChannel . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10
Chapter 3: Gateway DTM is Pro DP/PA Link DTM
Configuration in Offline Mode . . . . . . . . . . . . . . . . . . . . . . . . 12
Change DeviceDTM Address . . . . . . . . . . . . . . . . . . . 12
Configuration in Online Mode . . . . . . . . . . . . . . . . . . . . . . . . 13
Device List . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .13
Slave Information . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15
Change Slave Address . . . . . . . . . . . . . . . . . . . . . . . .16
is Pro DP/PA Link DTM
II ifak system GmbH
is Pro DP/PA Link DTM Software Installation
ifak system Gm bH 1
C HAPTER 1:
INTRODUCTION
The GatewayDTM is Pro DP/PA Link DTM allows the integration of a Siemens Profibus DP/PA Link device into any FDT Engi­neering and Configuration Tool (PACTware, FieldCare or other FDT Containers). So the en gineerin g and commiss ionin g task for a remote device can be handled from one central workplace.
The GatewayDTM can be used together with the Communica­tionDTM
is Pro FDT and a Profibus interface (USB and PCI) of
ifak system or with a communication interface and FDT software
of any manufacturer.
Software Installation
The ope ration of the GatewayDTM requires the correc t installa­tion of a Profibus Master interface and its Comm unicationDTM.
The delivered software
is Pro DP/P A Link DTM supports the
operating systems Windows 9x, ME, NT 4.0, 2000 and XP. It is placed on the enclosed CD. The installation follows the steps mentioned below:
Insert the instal lation CD into your CD drive.
Start
setup.exe
and proceed according to the instructions
displayed on the screen.
The software is installed in the default program directory of your computer under the subdirectory "C:\Program Files\ifak system\is Pro FDT".
Introduction is Pro DP/PA Link DTM
2 ifak system GmbH
Documentation
This documentation contains important information for the cor­rect operation of the
is Pro DP/PA Lin k DTM. Please read this
documentation carefully before installing the software.
Throughout the manual di fferent fonts are used to indic at e differ­ent meanings.
Our Service
In case you have any quest ions con cerni ng th e is Pro DP/PA Link
DTM
which can’t be solved by this manual, please contact our
service by phone, fax or e-mail.
ifak system GmbH Oststrasse 18 D-39114 Magdeburg (Germany) www.ifak-system.com
Tel.: +49 - 391 - 544 563 - 0 Fax: +49 - 391 - 544 563 - 99 e-mail: fdt@ifak-system.com
Courier New: file names, code sequences Arial: names, commands, remarks
FDT Tools FDT -Specification Basics
ifak system Gm bH 3
C HAPTER 2:
FDT – A BRIEF INTRODUCTION
FDT-Sp ec ification Basics
The widespread technologies COM (Common Object Model), XML (eXtensible Mark-up Language) and ActiveX (a COM
based technology for GUI elements) form the basis platform of FDT.
COM integrates the different software components and facilitates the interaction between them. Anot her example for the use of COM as underlying concept of an automation standard can be found in the area of online data exchange. There, the specifica­tion OP C (DA) defines the interfaces and mech anisms for the interaction between independent software components employ­ing COM functionality.
Compared to OPC the aim s of FDT are quite more challenging. The COM functions transfer XML documents , which contain the data to be communicated between different components. The data which may be of different levels of complexity convey information ab out the various aspects of the software component (general information like manufacturer and device type; sup­ported functions, communication data).
The ActiveX technology was chosen in order to integrate device specific dialog elements in the HMI of the engineering system. FDT adds new func tions t o the a lready exi sting Act iveX func tion set, to ad apt the standard to the special needs of FDT. Fo r a seamless integr ation of all compone nts FDT spec ifies ( with more or less depth) the object model, interfaces and XML schemas, as well as a session and data management.
FDT – A Brief Introduction FDT Tools
4 ifak system GmbH
Object Model
The object model contains the following four elements:
Frame Application
Device Type Manager (DTM)
•Channel
ActiveX
An engineering system or a configuration software forms a Frame Application, which defines the run-time environment, administers t he project data and stor es the pers istent dat a. In most cases also the acce ss to the underly ing fieldbus communi cation is provided.
A DTM as device data server handles the tasks of management and configuration of a device class, as defined by the manufac­turer. This device class might be one device type or a group of devices. A typical DTM contains no graphical HMI. In most cases a DTM is invoked for every device.
The para meter of the device as well as the HMI ele ments can be influenced or activated by the user of the DTM. Most HMI ele­ments are implement as ActiveX components, although the inclusion of external programs is also allowed. The ActiveX fits seamlessly into the Frame Application. The user is not able to determine where the called HMI came from. It appears as a natu­ral part of the engineering system.
FDT Tools FDT -Specification Basics
ifak system Gm bH 5
Figure 1: FDT Object Model
At this p oint two ne w terms are introduc ed, which are not con­tained in the FDT specification but seem to be helpful for an eas­ier understanding of the specification.
A DTM for a device class without any direct access to the com­munication (the use of the FDT communication functions not­withstanding) is named DeviceDTM. In order to configure a field device (sensor, actuator) within a FDT compliant engineer­ing system one D evice DTM must exist for every device. The DeviceDTM will be provided by the device manufacturer.
A DTM for a device class wi th d ir ect acc ess to a communication device (e.g. a Profibus interface) is named CommDTM. The CommDTM encapsulates all communication specific aspects. It is responsible for the management and configuration of the com­munication interface. Other applications (DTMs) call its Com­mChannels for field communication access. The CommChannel can be provided by an additional CommDTM or by the Frame Application.
DeviceDTM and CommDTM differ mainly in the type of chan­nels a DTM supports. A Channel represents either a communica­tion (CommChannel) or data channel (DataChannel). A
FDT – A Brief Introduction FDT Tools
6 ifak system GmbH
CommChannel allows other DTMs an access to the fieldbus communication. It supports the interface “IFdtCommunication“, which groups the communication access function. A DataChan­nel allows other DTMs an access to the data values and is pro­vided by the devi ce DTM. The value s could be the pro cess values of a field device, which were communicated by cyclic data exchange.
A device in FDT is managed by its dedicated DeviceDTM. Its ActiveX based HM I allows the user the access to its parame ters and functions. The DeviceDTM communicates with its device through a CommChannel and the underlying fieldbus interface.
Lets draw a comparison between the FDT terms DeviceDTM, CommDTM, CommChannel and the terms in use w ithin the domain of automat ion sof twa re. A DeviceDTM (and its ActiveX components) replaces the manufacturer specific field device con­figuration software and the CommDTM (and its Active X compo­nents) replaces t he manufacturer specific fieldbus interface configuration software. A CommChannel equals the driver library of a communication interface.
If a DeviceDTM is called and attached to a certain device, this DeviceDTM instance is associated with a CommChannel. The device can est ablis h a conne ction to the device th rough t his Com­mChannel. Contrary to today’s practice the DeviceDTM can expect an interface with a manufacturer independent behaviour.
FDT Tools FDT -Specification Basics
ifak system Gm bH 7
Figure 2: Frame Access
The defi nition of interfaces and XML sc hemas allows the con­nection and interaction of the pictured software components. About 30 data interfaces support the flow of information: A frame application accesses the DTMs through the interfaces “IDtm“ and “IDtmInformat ion“ in order to manage t he DTM and inquire about the DTMs capabilities. The DTM itself accesses the frame through another set of interfaces which allow the DTM to acqui re information from and transmit data to the frame.
Component interaction
Before going into more detail a short example about the interac­tion of the different components mentioned so far might help to deepen the understanding of the matter. Let us picture a FDT based system. The run-time environment (the frame application) was started already.
In the next step we add a CommDTM to the system topology of the frame application. The frame is now able to inquire the CommDTM about the supported CommChannels.
FDT – A Brief Introduction FDT Tools
8 ifak system GmbH
Figure 3: Interaction of the Comm-Objects
If the check was succe ss ful, what means that the channel and the DeviceDTM speak in the same "language" (HART, Profibus DP/ V1 etc.), the communication between channel and DTM can be established. To achieve this the channel supports the interface IFdtCommunication. The interface contains the fieldbus access functionality (connection establishment, termination, data trans­fer). The communicati on betwee n both compone nts is now es tab­lished.
If the DeviceDTM invokes a communication request via IFdt- Communication the channel is respo nsible f or the hand ling of t he request. The response of the device is transmitted to the DTM through its IFdtCommunicationEvents interface.
FDT Tools FDT -Specification Basics
ifak system Gm bH 9
Summary: Objects in the FDT concept
DeviceDTM
A DeviceDTM is a DTM for field bus devi ces. It pro vides al l nec­essary functi onality of the devices in software. To achieve th is , i t employs the communication interfaces of the CommDTM. Within the FDT concept th e DeviceDTMs form the lowest level in the system topology. They use the services of other Comm­DTMs to access its fie ld device. The parameters of t he device ar e made available to the user by a number of ActiveX dialog HMIs which can be called from the DTM.
ActiveX
The ActiveX are the "visible" components of a FDT application (as far as device functionality is concerned). DTM and channel objects provide interfaces for the configuration, diagnosis, docu­mentation and parameter manipulation, while the ActiveX pro­vide an easy way of data presentation and user interaction.
CommDTM
A CommDTM is a DTM which offers communication function­ality to other DTMs. These DTMs may have been developed for a hardware (e.g.
is HART USB device) or a software (e.g.
is HART OPC Server) communication interface. The Comm-
DTM itself can employ the services of another CommDTM (gateway functionality). To allow communication with its under­lying hardware or software the CommDTM offers a number of communication (Comm) channels.
FDT – A Brief Introduction FDT Tools
10 ifak system GmbH
CommChannel
The CommChannel is responsible for the connection to its man­aged hard- or s oftware an d provides the co mmunicati on inter face to the DeviceDTMs. Communication requests and responses are sent, received and manged by the CommChannel.
A pointer to the main interface of the channel (IFdtCommunication) is passed to the DeviceDTM. The channel provides the interface IFdtChannelSubTopology, which supports the inclusion of a DeviceDTM into the topology of the Com­mChannel. It als o contain s functio ns, which allow the Device­DTM to check whether it is able to communicate with this channel (e.g. information about the supported fieldbus protocol).
is Pro DP/PA Link DTM
ifak system Gm bH 11
C HAPTER 3:
GATEWAY DTM IS PRO DP/PA LINK DTM
Following is a description of the configuration of the Gateway DTM
is Pro DP/PA Link DTM. The Gateway DTM can be inte-
grated into any frame application e. g. Pactware. First one has to install the software (see chapter 1). Start your frame application. Then the device catalog has to be updated.
Now, the
is Pro DP/PA Link DTM is registered and ready for
work. The DTM is listed in the device catalog of the FDT con­tainer as Siemens DP/PA Link.
Figure 4: Gateway DTM in the FDT container PACTware
Gateway DTM is Pro DP/PA Link DTM is Pro DP/PA Link DTM
12 ifak system GmbH
Configuration in Offline Mode
Change DeviceDTM Address
This ActiveX allows to change tag and address of connected DeviceDTMs. This is possible only in the offlin e mode, because otherwise existing connections could be disconnected.
Figure 5: Change of DeviceDTM Addresses
The list on the left side shows connected DeviceDTMs. The but­ton "Refresh List" updates the list with the currently connected DTMs.
The data (tag and address) of a DTM are displayed in the upper right part when the DTM is selected in the list. The new informa­tion can be inser ted bel ow and t he but to n "Apply" sends the new information to the selected DeviceDTM.
is Pro DP/PA Link DTM Configuratio n in Online M ode
ifak system Gm bH 13
Configuration in Online Mode
The FDT specification defines the function ScanRequest() for CommD TMs. This fu nction makes it possible to receive a list of devices that are connected to the bus (also called "live list").
The
is Pro DP/PA Link DTM implements this function according
to the FDT specification. It is necessary that the applied FDT Container supports this function. You can use the ActiveX "Device List" (see section below), too.
The specification allows a ScanRequest only for the DTM states
ONLINE, COMMUNICATIONSET and GOINGONLINE. The Gate-
way DTM follows the spe cifi catio n and al lows onl y query ing for devices on the bus when the Gateway DTM is connected.
The list of devices found is transmitted to the frame application with the help of an XML document und should be displayed to the user.
Device List
This ActiveX lists all devices found during a Profibus scan. The list shows the address of the device, its Profibus identification number (Ident), and whether the device is currently in use by a connection of a DeviceDTM. A scan triggered by the frame application or pressing the button "Update List" will update the list with the devices found on the Profibus segment.
Gateway DTM is Pro DP/PA Link DTM is Pro DP/PA Link DTM
14 ifak system GmbH
Figure 6: D evice List (online)
An ActiveX with additional information about a device can be opened by selecting the button "Extended Information..." for a chosen slave device.
The button "Change Address..." opens another ActiveX for changing the address of the Profibus device. This function is available onl y when t he s la ve i s not in use by a DeviceDTM con­nection.
is Pro DP/PA Link DTM Configuratio n in Online M ode
ifak system Gm bH 15
Slave Information
The information in this ActiveX are obtained from the diagnosis data of the selected Profibus slave device. Their meaning is explained in the Profibus literature.
The device and vendor names are extracted from tables that con­tain such information for a number of devices identified by the identification nu mber (Iden t).
Figure 7: Slav e Inform ation
Gateway DTM is Pro DP/PA Link DTM is Pro DP/PA Link DTM
16 ifak system GmbH
Change Slave Address
This ActiveX of fe rs an interface to change the address of a Pro fi ­bus slave device. The current address is set automatically when the ActiveX is ope ned. The n ew address is not allowed to be in use at the same Profibus segment. The DTM checks the existence of the target address before actually performing the change. The status line will indicate success or failure of the address change operation.
Figure 8: Change of Slave Address
Loading...