1 / 15

OPC Support in CMW

OPC Support in CMW. Kris Kostro. Outline. Explain OPC Explain CMW Architecture How OPC is integrated in CMW Experience until now Demonstrate OPC access. What is OPC. Industry standard endorsed by Microsoft Based on COM (OLE for Process Control)

Download Presentation

OPC Support in CMW

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. OPC Support in CMW Kris Kostro LHC-CP, 20 Nov. 2001

  2. Outline • Explain OPC • Explain CMW Architecture • How OPC is integrated in CMW • Experience until now • Demonstrate OPC access LHC-CP, 20 Nov. 2001

  3. What is OPC • Industry standard endorsed by Microsoft • Based on COM (OLE for Process Control) • OPC servers delivered with HW (like drivers) • Widely used by SCADA • Often SCADA Systems offer OPC Server to access SCADA RT DB http://proj-cmw.web.cern.ch/proj-cmw/technology/opc.htm LHC-CP, 20 Nov. 2001

  4. User written Middleware Existing or off-shelf CMW Architecture Java Control Programs RAD programs (VB, Excel) C Programs Clients Middleware Client API Device/Property Model Topic Model Naming Service CMW Infrastructure CORBA, RDA, JMS Configu- ration Service Server Framework API (C++, Java) Servers Virtual Devices (Java, C++) New Servers SL-Equip Server PS-GM Server OPC Gateway Physical Devices (RF, BT, BI, Powering) LHC-CP, 20 Nov. 2001

  5. User written Middleware Existing or off-shelf CMW Architecture Java Control Programs RAD programs (VB, Excel) C Programs Clients Middleware Client API Device/Property Model Topic Model Naming Service CMW Infrastructure CORBA, RDA, JMS Configu- ration Service Server Framework API (C++, Java) Servers Virtual Devices (Java, C++) Power Converter SL-Equip Server PS-GM Server OPC Gateway Physical Devices (RF, BT, BI, Powering) LHC-CP, 20 Nov. 2001

  6. User written Middleware Existing or off-shelf CMW Architecture Java Control Programs RAD programs (VB, Excel) C Programs Clients Middleware Client API Device/Property Model Topic Model Naming Service CMW Infrastructure CORBA, RDA, JMS Configu- ration Service Server Framework API (C++, Java) Servers Virtual Devices (Java, C++) Power Converter SL-Equip Server PS-GM Server OPC Gateway Physical Devices (RF, BT, BI, Powering) LHC-CP, 20 Nov. 2001

  7. User written Middleware Java Control Programs Existing or off-shelf Middleware Client API CORBA server adapter in C++ Middleware Server Framework (C++) OPC Device Server in C ++ OPC in CMW Architecture Naming Service CORBA client adapter in Java Get/Set CORBA Windows NT Visual C++ Configu- ration Service OPC server(s) LHC-CP, 20 Nov. 2001

  8. Windows NT machine OPC Gateway WinNT Service OPC Server OPC Server RDA OPC Servers CORBA Hardware SFW OPC Adapter COM Configuration(Mapping of models) OPC Gateway Architecture LHC-CP, 20 Nov. 2001

  9. 3 different types of OPC servershave been tried • Siemens WinCC - SPS BT Targets • PCVUE – First a test installation, recently String2 alarms • Schneider – RF LHC Focus control LHC-CP, 20 Nov. 2001

  10. User written Middleware Existing or off-shelf Various working configurations CMW Client Middleware Client API Device/Property Model Naming Service CMW Infrastructure CORBA, RDA Server Framework API (C++) Configu- ration Service OPC Gateway OPC Gateway OPC Gateway Siemens WinCC OPC Server PCVUE OPC Server Schneider OPC Server Siemens PLC PLC Schneider PLC BT Targets String Alarms Focus LHC-CP, 20 Nov. 2001

  11. User written Middleware Existing or off-shelf Use of OPC CMW Client Middleware Client API Device/Property Model Naming Service CMW Infrastructure CORBA, RDA Server Framework API (C++) Configu- ration Service OPC Gateway OPC Gateway OPC Gateway Siemens WinCC OPC Server PCVUE OPC Server Schneider OPC Server Siemens PLC PLC Schneider PLC BT Targets String Alarms RF Focus LHC-CP, 20 Nov. 2001

  12. User written Middleware Existing or off-shelf Demo of OPC Access CMW Device Explorer Middleware Client API Device/Property Model Naming Service CMW Infrastructure CORBA, RDA Server Framework API (C++) Configu- ration Service OPC Gateway OPC Gateway OPC Gateway Siemens WinCC OPC Server PCVUE OPC Server Schneider OPC Server Siemens PLC PLC Schneider PLC BT Targets String Alarms Focus LHC-CP, 20 Nov. 2001

  13. LHC-CP, 20 Nov. 2001

  14. Device/Property Modelversus OPC Model • Control system consists of named devices (position monitor, beam line) • Devices are composed of properties(position, current) • Operations on properties set, get, subscribe, unsubscribe • Devices organized into device classes • OPC Server has a number of OPC ID’s (naming space) • Clients access resources by terms of OPC Items organized into OPC Groups • OPC Group defines characteristics of access (frequency, deadband) LHC-CP, 20 Nov. 2001

  15. OPC Gateway Configurationin Database • Mapping between Device/Property and OPC item ID’s • K1focus_voltage + val -> h112ctrl2!K1focus_voltage_val • CRYO.ALARMS.PT9605 + Status -> CRYO.ALARMS.ALWAYS.PT9605.STATUS • Definition of Classes and Properties • Device K1focus_voltage belongs to class Kvoltage • Class Kvoltage has properties val, allow, alhi, etc. • Property val is of type long int, access is read only • Definition of Items and Groups • Item h112ctrl2!K1focus_voltage_val will be in a group reporting every 1000ms, deadband is 0 (report every change) LHC-CP, 20 Nov. 2001

More Related