MM-FDT_Basics_English - M&M Software Extranet

Download Report

Transcript MM-FDT_Basics_English - M&M Software Extranet

M&M Software
FDT Basics
FDT Technology Overview
Motivation
Engineering / Programming Tool
Various Standalone Tools
HART
FDT Technology Overview
Basic Idea
Engineering-System
FDT Technology Overview
What is FDT?
FDT (Field Device Tool) technology
standardizes software
interface between
field devices drivers
and host systems.
FDT Technology Overview
Concept
 DTM (Device Type
Manager) is a
software driver
delivered with the
device
 Standardized software
interface
 Similar idea as a
print driver
FDT Technology Overview
FDT - Plug & Work
Frame Application
HART
(Device Type Manager DTM)
HART
FDT Technology Overview
DTM - Device Type Manager
 Device Driver
 For a particular Device or Device Family
 Created and shipped by Device vendor
 Spec. Features (e.g. Firmware Update)
 Software Proxy for real Device
 Info on Parameter
 Edit Parameter (Online / Offline)
 Diagonstics, Documentation
 Including GUI
 ActiveX Controls
 Corporate Design (Look & Feel)
 Integrates with every FDT Container
DTM Symbols
OR
Device Type
Manager
FDT Technology Overview
DTM Types
Communication
DTM
Communication Driver
Gateway DTM
Device
DTM
BTM
Ethernet
Gateway Driver
Device Driver
BTM
Driver for embbeded Blocks
FDT Technology Overview
FDT Container
 Windows Application
 Device Configuration Tool
 Integrated in Engineering-System or
Process Control System
 Responsible for
 Manage DTM Catalog (installed DTMs)
 Engineering of Topology
 Manage DTM lifecycle
 Hosts DTM User Interface
 Data Persistency (DTM, Topology,...)
 Print Documentation
 User Managment
 Audit Trail
FDT Technology Overview
The Simplest Case: Standalone Tools
(1)
Standalone Tool
Calibration
Parameterization
Diagnosis
Maintenance
Field Device
FDT Technology Overview
The Simplest Case: Standalone
Tools (2)
 Typical Use Cases:
 Workshops or small installations
 Online connection to the device
 Operation mainly via the DTM’s GUI
 User has access to all DTM functionality, e.g. by switching
between different tab cards
 Current configuration and parameters are read from the
device
 Parameters may be written to the device e.g. for test purposes
FDT Technology Overview
The Complex Case: Control Systems
(1)
Asset Management
Engineering Tool
HMI
0
7
Configuration
Parameterization
Commissioning
Operating
Alarm reporting
Monitoring
Diagnosis
Calibration
Maintenance
Field Device
Process variables
Clock synchronization
Status
Automation
FDT Technology Overview
The Complex Case: Control
Systems (2)
 Typical Use Cases:
 Different ‘Frame Applications’ may use a DTM in different
contexts
 Availability of DTM functions is controlled according to the
application context
 All settings loaded to the device are stored in a system
database
 Online connection to the device is not always available
DTM works on database only
 DTM functions are frequently used in the background w/o
starting a user dialog
FDT Technology Overview
Communication
Frame Application
Communication
DTM
Read / Write
(comm. hardware
Read / Write specific)
Response
Handover
Communication
Interface
(protocol specific
FDT XML)
Read / Write
Request
(protocol specific FDT XML)
Start
Download
Device DTM
Read / Write
(fieldbus protocol
specific)
FDT Technology Overview
Profibus XML Examples
 Profibus DPV1 Read Request
<?xml version="1.0"?>
<FDT xmlns="x-schema:FDTProfibusDPV1CommunicationSchema.xml">
<ReadRequest slot="1" index="16" communicationReference="xyz"/>
</FDT>
 Profibus DPV1 Read Response
<?xml version="1.0"?>
<FDT xmlns="x-schema:FDTProfibusDPV1CommunicationSchema.xml">
<ReadResponse slot="1" index="16" communicationReference="xyz"
errorCode="0">
<fdt:CommunicationData byteArray="68656C6C6F20776F7AB23"/>
</ReadResponse>
</</FDT>
FDT Technology Overview
Nested Communication
FDT-Container
Communication
DTM
Ethernet
Send Parameter
Send Parameter
Ethernet based Protocol
DTM 1
HART
Send Parameter
DTM 2
0..20 mA
0..20 mA
Start
Download
DTM 3
DTM 4
FDT Technology Overview
Communication uses Tunneling
Communication to underlying fieldbus
system is provided by a Communication
DTM or Frame Application Channel Sys
Communication
DTM
DP
HART- Frame
DP
Frame Application
Communication
Channel
Sys
Ethernet
IFdtCommunication
TCP/IP
DP
Gateway DTM
HART- Frame
DP
IFdtCommunication
Gateway
DTM
HART- Frame
IFdtCommunication
HART
Device
DTM
Device
DTM
FDT Technical Details
Communication
 Each component wraps the communication frame from the
component below, WITHOUT knowing the contents
 Routing through system topology
 DTM below does not have any knowledge about the network
topology
 DTM must only support its own communication protocol
 Communication / routing through ANY network topology, no
limitations
 Communication / routing is possible even if the underlying
protocol is unknown by the engineering or standalone tool
FDT Technology Overview
Scope of FDT Core Specification
FDT Technology Overview
What‘s defined in FDT Specification?
 Software Architecture (Components, Interfaces)
 DeviceDTM, CommDTM, FDT Container
 COM Interfaces and XML Schemas
 Mandatory Device Information (e.g. IDtmInformation)
 Vendor, Device Type, Version
 Use Cases
 Login, Online/Offline Operation, System Planning,...
 User Roles
 Planning Engineer, Maintenance, Operator, Observer
 Administrator, OEM Service
 State Machine for DTM
 Installation, Registry,...
FDT-Interfaces
<<ActiveX Control>>
DTMGUI (.ocx)
IFdtDialog
IFdtActiveX
IDtmActiveXI
nformation
IDtmActiveX
Control
IDtm
IFdtTopolog
y
FDT
Container.EXE
IDtmPrivate
IFdtEvents
IDtmEvents
IFdtContaine
r
IDtmInformat
ion
IDtmActiveX
Private
<<ActiveX Object>>
DTMBO (.dll)
IDtmParame
ter
IDtmOnlineP
arameter
IDtmAuditTr
ailEvents
IFdtBulkDat
a
Typically implemented FDT Interface
IFdtCommu
nicationE...
IDtmDiagno
sis
IDtmOnlineD
iagnosis
IDtmDocum
entation
<<ActiveX Object>>
CommDTM
IFdtCommu
nication
FDT Technology Overview
Scope of Protocol Annex
 Additional information how to use FDT for specific protocols
 Released








CIP (DeviceNet, EtherNet/IP, CompoNet)
Foundation Fieldbus
HART
Interbus
IO-Link
Modbus SL/TCP
Profibus DP/PA
Profinet IO
 In work (Oct. 2008)
 AS-Interface Annex
 CANopen
 Sercos III
Microsoft COM / ActiveX
 COM-Interfaces protect the implementation
 Programming language does not matter
 Know how is protected





Business-Logic of a DTM is „COM Object“
GUI of a DTM is „ActiveX Control“
DTM and Container interact through COM-Interfaces
DTM-GUI and DTM-Business Logic use private interfaces
DTM can be run in separate Windows Processes
XML
 XML Text
 Data transfer
■ DTM  FDT Container
■ Device DTM  Communication DTM
 Used as arguments in interface calls
 XML Schema
 Definition of the structure of XML text
 FDT specified approx. 31 XML schemas
 XSL
 Defines transformation from XML to HTML
FDT Technology Overview
DTM is flexible
 DTMs may






support offline configuration (engineering)
visualize measuring values graphically
send health info on device to vendor
inform end user about news from vendor (Internet)
update firmware
monitor significant device parameter to provide suggestions for
maintenance scheduling
 play training videos to support maintenance
 .... (no limits)
FDT Technology Overview
Benefit for End-Users
 Only one solution for Engineering, Maintenance,
Configuration ... task
 Easy extension
 Uniform user operation
 Easy to learn and operate
 Independent from
 Communication protocols
 Communication hardware
 Access to all devices / process values
 End-user can use device which fits best to the task to
perform in the field
FDT Technology Overview
Benefit for Manufacturers
 Development only in core competence
 Device manufacturer develop and supply the DTMs
 Configuration / Engineering/ Control System suppliers develops
Frame Applications
 Lower cost for product maintenance
 Standard solutions, no proprietary solutions
 One solution for Stand-Alone and Systems
 Lower cost for device integration
 Standard solutions for all devices
 Less problems to integrate the devices
FDT Technology Overview
Ways to a DTM
 Universal DTM
 HART Common Practice /
Universal Commands
 PROFIBUS Profiles
 Limited in GUI and features
 Generation based on DD
 Limited in features
 Quick results
 Individual Development
 Optimization for your specific
needs
 E.g. Cooporate Design
 Semi-automatic Generation
 Company Specific Solution
 Many Device Types
FDT Technology Overview
Questions
Thank you for your
attention
M&M Software GmbH reserves all rights for its documents and printed
information. These documents and information material may be used
internally for the designated purpose. But this material, either completely or
in parts, may not be passed on to third parties, especially to competitors of
the M&M Software GmbH, and it may not be duplicated.
These documents and information material contain confidential information
and you are therefore requested to keep it strictly confidential. You are also
requested to commit your staff that is using these documents and
information, to the confidentiality obligation. Thank you.