process fieldbus (profibus) integration/ fdt/dtm overview · the european xfel x-ray laser project...

17
XFEL The European X-Ray Laser Project X-Ray Free-Electron Laser Torsten Böckmann – DESY / MKS-2 EPICS Collabaration-Meeting 23rd-27th April 2007 Process Fieldbus (Profibus) Integration/ FDT/DTM Overview EPICS Meeting – Industrial Integration DESY, April 25th, 2007 Torsten Böckmann, DESY / Mks-2

Upload: others

Post on 15-Aug-2020

5 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Process Fieldbus (Profibus) Integration/ FDT/DTM Overview · The European XFEL X-Ray Laser Project X-Ray Free-Electron Laser Torsten Böckmann – DESY / MKS-2 EPICS Collabaration-Meeting

XFELThe EuropeanX-Ray Laser Project X-Ray Free-Electron Laser

Torsten Böckmann – DESY / MKS-2EPICS Collabaration-Meeting 23rd-27th April 2007

Process Fieldbus (Profibus)Integration/ FDT/DTM OverviewEPICS Meeting – Industrial IntegrationDESY, April 25th, 2007

Torsten Böckmann, DESY / Mks-2

Page 2: Process Fieldbus (Profibus) Integration/ FDT/DTM Overview · The European XFEL X-Ray Laser Project X-Ray Free-Electron Laser Torsten Böckmann – DESY / MKS-2 EPICS Collabaration-Meeting

Event, 2

XFELThe EuropeanX-Ray Laser Project X-Ray Free-Electron Laser

Overview

– Introduction– Why the reasons to decided for Profibus?– Wiring topology for Profibus– Model of Profibus communication

• Master Class 1 • Master Class 2

– Profibus integration in EPICS• Array Address Mode• Compact Address Mode

– Profibus configuration with EPICS– Outlook – what is in the pipe / Future Plans– Profibus Installation by DESY Cryogenic plants

Page 3: Process Fieldbus (Profibus) Integration/ FDT/DTM Overview · The European XFEL X-Ray Laser Project X-Ray Free-Electron Laser Torsten Böckmann – DESY / MKS-2 EPICS Collabaration-Meeting

Event, 3

XFELThe EuropeanX-Ray Laser Project X-Ray Free-Electron Laser

Introduction

Development

Time

•measuredvalue

func

tiona

lity

traditional

4 - 20 mA

PCS Devices

PCS Devices

DevicesPCS

Industrial IT

•extended diagnostic•predictable

performance &service datas

•asset monitoring•e- documention

Fieldbus

•all measured values•diagnostic datas•quality signal•condition monitorig•decentralized functions•distributed processing•device to device

communication•DTMs / DDs

HART •measuredvalue•deviceparameters

SMART

Page 4: Process Fieldbus (Profibus) Integration/ FDT/DTM Overview · The European XFEL X-Ray Laser Project X-Ray Free-Electron Laser Torsten Böckmann – DESY / MKS-2 EPICS Collabaration-Meeting

Event, 4

XFELThe EuropeanX-Ray Laser Project X-Ray Free-Electron Laser

Why the cryogenic control group decided for Profibus?

1. Profibus is a industrial standard

2. Profibus is more then 20 years on the market

3. Many Know – How available (insideand outside of DESY)

4. Easy to wiring

5. Easy to initial startup

6. Excellent run-time realiability

Page 5: Process Fieldbus (Profibus) Integration/ FDT/DTM Overview · The European XFEL X-Ray Laser Project X-Ray Free-Electron Laser Torsten Böckmann – DESY / MKS-2 EPICS Collabaration-Meeting

Event, 5

XFELThe EuropeanX-Ray Laser Project X-Ray Free-Electron Laser

Wiring topology for Profibus

Profibus - DP

Profibus - PA Profibus - PARemote IO

100 mA12V

400 mA12V

baud rate: 9,6 kBit/s – 12 MBit/s

length von 100m -1200mbei LWL bis 15km

baud rate: 31,25 kBit/s

length max. 1000m

Ex

Master Class 1 Master Class 2

DP/PAGateway

DP/PAGateway

IOC

Costumer reports

Asset MonitoringCertifications

Manuals

Datasheets

Ethernet TCP / IP

Subcriber: max 126Max. 32 Segment

DTM

Device DriverMax. 5 Segment

baud rate: 31,25 kBit/s

length max. 1900m

Page 6: Process Fieldbus (Profibus) Integration/ FDT/DTM Overview · The European XFEL X-Ray Laser Project X-Ray Free-Electron Laser Torsten Böckmann – DESY / MKS-2 EPICS Collabaration-Meeting

Event, 6

XFELThe EuropeanX-Ray Laser Project X-Ray Free-Electron Laser

Model of Profibus communication

ProcessImage

Comm-FB(IEC 61131-3)

MS0 MS1

Profibus DP Profibus DP

MS2

Profibus DP

MS0 MS1 MS2

Device Model

Field-Device-Tool (FDT)

User Program Device TypeManager (DTM)

Slave

Class 2 MasterClass 1 Master

CommunicationsPlatform

API

Electronic DeviceDescription (EDD)

Process DeviceManager (PDM)

cycle communicationprocess communication

acyclic communicationcondition monitoring

Page 7: Process Fieldbus (Profibus) Integration/ FDT/DTM Overview · The European XFEL X-Ray Laser Project X-Ray Free-Electron Laser Torsten Böckmann – DESY / MKS-2 EPICS Collabaration-Meeting

Event, 7

XFELThe EuropeanX-Ray Laser Project X-Ray Free-Electron Laser

Model of Profibus communication

cycleservice

acyclicservice

spontaneousservice

acyclicservice

ProfileProfileDTM

Valuequality

scalefilter times

alarm / warn limitsalarm summary

TAG

device diagnostic

manufacturerspecifical

parameters

up to 500Parameters

Page 8: Process Fieldbus (Profibus) Integration/ FDT/DTM Overview · The European XFEL X-Ray Laser Project X-Ray Free-Electron Laser Torsten Böckmann – DESY / MKS-2 EPICS Collabaration-Meeting

Event, 8

XFELThe EuropeanX-Ray Laser Project X-Ray Free-Electron Laser

PROFIBUS integration in EPICS (Array Address Mode)

InputSlave

X

InputSlaveX+1

DPRAMInputSlave

….

InputSlaveX+n

OutputSlave

X

OutputSlaveX+1

OutputSlave

….

OutputSlaveX+n

PROFIBUS DP AREA

MAX_SLAVE_INPUT_LEN

Input_ptr

MAX_SLAVE_OUTPUT_LEN

Output_ptr = Intput_ptr + n * MAX_SLAVE_INPUT_LEN

Record(ai,“PROFI_ai“) {field(DTYP,“PBDP“)field(INP,“PBDP1@SlaveAddr/Offset ‘T=float‘)

Problem: (244input bytes + 244 output bytes) * 126 Subcriber = 64kBytes DPRAMHow many DPRAM has the interface adapter? Our has 13000 bytes!

Page 9: Process Fieldbus (Profibus) Integration/ FDT/DTM Overview · The European XFEL X-Ray Laser Project X-Ray Free-Electron Laser Torsten Böckmann – DESY / MKS-2 EPICS Collabaration-Meeting

Event, 9

XFELThe EuropeanX-Ray Laser Project X-Ray Free-Electron Laser

PROFIBUS integration in EPICS (Compact Address Mode)

linear INPUTSSlave

X

linear INPUTSSlave

Z

DPRAM

….linear OUTPUTS

SlaveX

linear OUTPUTSSlave

Z

PROFIBUS DP AREA

DP-Slave XAdress Assignment Table

number of inputsnumber of outputs

input offsetoutput offset

DP-Slave Z

Contineous alternative: „User Define Mode“

Page 10: Process Fieldbus (Profibus) Integration/ FDT/DTM Overview · The European XFEL X-Ray Laser Project X-Ray Free-Electron Laser Torsten Böckmann – DESY / MKS-2 EPICS Collabaration-Meeting

Event, 10

XFELThe EuropeanX-Ray Laser Project X-Ray Free-Electron Laser

Configuration of Profibus with EPICS (in work)

F P TUser

Sensors & actuators

Profibus DP MasterIOC

configuration

GSD

EPICS-ORA

<<used>>

EPICSConfig

create<<used>>

<<used>>

<<used>>

<<used>>

Device-DB

<<used>> <<used>>

<<used>>

import<<used>>

<<used>>

<<used>>

<<used>>

<<used>>

<<used>>

<<used>>

Store config

<<include>>

<<used>>

DPConfig

Page 11: Process Fieldbus (Profibus) Integration/ FDT/DTM Overview · The European XFEL X-Ray Laser Project X-Ray Free-Electron Laser Torsten Böckmann – DESY / MKS-2 EPICS Collabaration-Meeting

Event, 11

XFELThe EuropeanX-Ray Laser Project X-Ray Free-Electron Laser

Why FDT and DTM?System/DeviceDependent operation tools

n devices needs n tools

DTM DTM DTM

FDT / DTM Methodologyn devices needs 1 tool

Transition to theFDT/DTM Methodology

n devicedescriptions

Page 12: Process Fieldbus (Profibus) Integration/ FDT/DTM Overview · The European XFEL X-Ray Laser Project X-Ray Free-Electron Laser Torsten Böckmann – DESY / MKS-2 EPICS Collabaration-Meeting

Event, 12

XFELThe EuropeanX-Ray Laser Project X-Ray Free-Electron Laser

Outlook Integrated Engeneering Tool

Fieldcare (Endress+Hauser)Pactware (openSoures)Free Lancer (ABB)

Field Device Tool FDT

Signal ConditioningAsset-ManagementConfiguration Diagnose

Device Tool Manager DTMDTM

Page 13: Process Fieldbus (Profibus) Integration/ FDT/DTM Overview · The European XFEL X-Ray Laser Project X-Ray Free-Electron Laser Torsten Böckmann – DESY / MKS-2 EPICS Collabaration-Meeting

Event, 13

XFELThe EuropeanX-Ray Laser Project X-Ray Free-Electron Laser

DESY Cryogenic plants with Profibus

• CMTB

– 27 Stations Profibus PA Devices– 3 Stations Profibus DP Process Devices– 2 Stations Profibus DP Remote IO

• 900W Coldbox

– 37 Stations Profibus PA Devices– 1 Station Profibus DP Remote IO

• Main plant

– 2 Stations Profibus DP Motion Drive

Page 14: Process Fieldbus (Profibus) Integration/ FDT/DTM Overview · The European XFEL X-Ray Laser Project X-Ray Free-Electron Laser Torsten Böckmann – DESY / MKS-2 EPICS Collabaration-Meeting

Event, 14

XFELThe EuropeanX-Ray Laser Project X-Ray Free-Electron Laser

CMTB a view of a part of the plant

Page 15: Process Fieldbus (Profibus) Integration/ FDT/DTM Overview · The European XFEL X-Ray Laser Project X-Ray Free-Electron Laser Torsten Böckmann – DESY / MKS-2 EPICS Collabaration-Meeting

Event, 15

XFELThe EuropeanX-Ray Laser Project X-Ray Free-Electron Laser

CMTB a view of a part of the plant

Page 16: Process Fieldbus (Profibus) Integration/ FDT/DTM Overview · The European XFEL X-Ray Laser Project X-Ray Free-Electron Laser Torsten Böckmann – DESY / MKS-2 EPICS Collabaration-Meeting

Event, 16

XFELThe EuropeanX-Ray Laser Project X-Ray Free-Electron Laser

CMTB a view of a part of the plant

Page 17: Process Fieldbus (Profibus) Integration/ FDT/DTM Overview · The European XFEL X-Ray Laser Project X-Ray Free-Electron Laser Torsten Böckmann – DESY / MKS-2 EPICS Collabaration-Meeting

Event, 17

XFELThe EuropeanX-Ray Laser Project X-Ray Free-Electron Laser

The End

Habe fertig!

Thank you for your interest