Ing. Zbynek Zahradnik OPC Labs

Slides:



Advertisements
Similar presentations
COM vs. CORBA.
Advertisements

What’s New In OPC Data.NET 5.1x? Renee Sikes Applications Engineer.
Overview Of Microsoft New Technology ENTER. Processing....
Kashif Jalal CA-240 (072) Web Development Using ASP.NET CA – 240 Kashif Jalal Welcome to week – 2 of…
Software Frameworks for Acquisition and Control European PhD – 2009 Horácio Fernandes.
Microsoft ASP.NET AJAX - AJAX as it has to be Presented by : Rana Vijayasimha Nalla CSCE Grad Student.
70-290: MCSE Guide to Managing a Microsoft Windows Server 2003 Environment Chapter 8: Implementing and Managing Printers.
70-290: MCSE Guide to Managing a Microsoft Windows Server 2003 Environment, Enhanced Chapter 10: Server Administration.
70-290: MCSE Guide to Managing a Microsoft Windows Server 2003 Environment, Enhanced Chapter 8: Implementing and Managing Printers.
70-290: MCSE Guide to Managing a Microsoft Windows Server 2003 Environment Chapter 8: Implementing and Managing Printers.
Server Roles and Features.NET Framework 3.51.NET Framework 4.5 IIS Web Server IIS Default Document IIS Directory Browsing IIS HTTP Errors.
Check Disk. Disk Defragmenter Using Disk Defragmenter Effectively Run Disk Defragmenter when the computer will receive the least usage. Educate users.
Reliability and Performance Application protection IIS Reliable Restart Socket pooling Multisite hosting Process throttling Bandwidth throttling.
Slide 1 of 9 Presenting 24x7 Scheduler The art of computer automation Press PageDown key or click to advance.
Enterprise Reporting with Reporting Services SQL Server 2005 Donald Farmer Group Program Manager Microsoft Corporation.
Connecting Runtime-Free to Any OPC-DA Server with VS.NET Your Host Today: Win Worrall Application Engineer and Developer Got a snazzy graphic mike – remove.
Module 16: Software Maintenance Using Windows Server Update Services.
Real-time HMI and SCADA software for .NET applications.
Flexible OPC Client Development in VS.NET, VB6 and More Your Hosts Today: Win Worrall Application Engineer and Developer Got a snazzy graphic mike – remove.
.NET, and Service Gateways Group members: Andre Tran, Priyanka Gangishetty, Irena Mao, Wileen Chiu.
1 Web Database Processing. Web Database Applications Static Report Publishing a report is prepared from a database application and exported to HTML DB.
© 2004 by The McGraw-Hill Companies, Inc. All rights reserved. McGraw-Hill/Irwin Programming the Web Using ASP.Net Chapter 1: ASP.Net Dave Mercer.
1 CS 3870/CS 5870 Static and Dynamic Web Pages ASP.NET and IIS.
Architecture Of ASP.NET. What is ASP?  Server-side scripting technology.  Files containing HTML and scripting code.  Access via HTTP requests.  Scripting.
Introduction to ASP.NET. Prehistory of ASP.NET Original Internet – text based WWW – static graphical content  HTML (client-side) Need for interactive.
1 CS 3870/CS 5870 Static and Dynamic Web Pages ASP.NET and IIS.
ASP.NET INTRODUCTION INTO وزارة التربية و التعليم العالي كلية العلوم و التكنولوجيا قسم علوم الحاسوب و تكنولوجيا المعلومات اعداد الاستاذ: عبد الله محمد.
An Introduction to ASP.NET Ed Dunhill blogs.msdn.com/edunhill SLIDE7.
Basics of Web Databases With the advent of Web database technology, Web pages are no longer static, but dynamic with connection to a back-end database.
Obsydian OLE Automation Ranjit Sahota Chief Architect Obsydian Development Ranjit Sahota Chief Architect Obsydian Development.
Advanced Web Forms with Databases Programming Right from the Start with Visual Basic.NET 1/e 13.
ASP.NET Web Application and Development Digital Media Department Unit Credit Value : 4 Essential Learning time : 120 hours Digital.
Section 1: Introducing Group Policy What Is Group Policy? Group Policy Scenarios New Group Policy Features Introduced with Windows Server 2008 and Windows.
Module 7: Fundamentals of Administering Windows Server 2008.
Codeless Development and More with OPC Data.NET 5.20 Renee Sikes Applications Engineer OPC Data Client Brand Manager.
Citrix MPS 3.0 Licensing Douglas A. Brown President
The Network Performance Advisor J. W. Ferguson NLANR/DAST & NCSA.
Module 9: Preparing to Administer a Server. Overview Introduction to Administering a Server Configuring Remote Desktop to Administer a Server Managing.
Contents 1.Introduction, architecture 2.Live demonstration 3.Extensibility.
Phone: Mega AS Consulting Ltd © 2007  CAT – the problem & the solution  Using the CAT - Administrator  Mega.
Chapter 14 Part II: Architectural Adaptation BY: AARON MCKAY.
ASP.NET &.NET Environment. Overview Part of Microsoft’s.NET environment Used for Development of  Websites  Internet applications  Web Services & XML.
A Brief Documentation.  Provides basic information about connection, server, and client.
Active Server Pages (ASP), also known as Classic ASP or ASP Classic, was Microsoft's first server-side script engine for dynamically generated web pages.
Chapter 10 Chapter 10: Managing the Distributed File System, Disk Quotas, and Software Installation.
Getting Started with OPC.NET OPC.NET Software Client Interface Client Base Server Base OPC Wrapper OPC COM Server Server Interface WCF Alternate.
ASP (Active Server Pages) by Bülent & Resul. Presentation Outline Introduction What is an ASP file? How does ASP work? What can ASP do? Differences Between.
ASP.NET in Definition: 1.ASP.NET is a web application framework developed and marketed by Microsoft to allow programmers to build dynamic web sites,
PRIOR TO WEB SERVICES THE OTHER TECHNOLOGIES ARE:.
ASP.NET (Active Server Page) SNU OOPSLA Lab. October 2005.
Everything You Want To Know About Script But Were Afraid To Ask… Mark Carroll Drew Lytle Script Technologies Microsoft Corporation.
Configuring and Troubleshooting Identity and Access Solutions with Windows Server® 2008 Active Directory®
ASP-2-1 SERVER AND CLIENT SIDE SCRITPING Colorado Technical University IT420 Tim Peterson.
SPI NIGHTLIES Alex Hodgkins. SPI nightlies  Build and test various software projects each night  Provide a nightlies summary page that displays all.
.NET Mobile Application Development XML Web Services.
Module 14: Advanced Topics and Troubleshooting. Microsoft ® Windows ® Small Business Server (SBS) 2008 Management Console (Advanced Mode) Managing Windows.
Automating Installations by Using the Microsoft Windows 2000 Setup Manager Create setup scripts simply and easily. Create and modify answer files and UDFs.
Introduction to ASP.NET development. Background ASP released in 1996 ASP supported for a minimum 10 years from Windows 8 release ASP.Net 1.0 released.
Integrating and Extending Workflow 8 AA301 Carl Sykes Ed Heaney.
 Project Team: Suzana Vaserman David Fleish Moran Zafir Tzvika Stein  Academic adviser: Dr. Mayer Goldberg  Technical adviser: Mr. Guy Wiener.
 Cloud Computing technology basics Platform Evolution Advantages  Microsoft Windows Azure technology basics Windows Azure – A Lap around the platform.
DFR Downloader Theo Laughner, PE Presented at GPA User Forum August 5, 2015.
SQL Database Management
Reliability and Performance
Module 9: Preparing to Administer a Server
Create setup scripts simply and easily.
LCGAA nightlies infrastructure
Printer Admin Print Job Manager
Web Development Using ASP .NET
Module 9: Preparing to Administer a Server
Presentation transcript:

Ing. Zbynek Zahradnik OPC Labs QuickOPC 5.02 Ing. Zbynek Zahradnik OPC Labs

Overview OPC (Data Access) – what is it EasyOPC-DA: developer tool that provides access to OPC data Basic design principles Stateless model Service-oriented Support for widest selection of languages and programming tools: COM: especially scripting tools (OLE automation), .NET – any language Easiness of use (short code) Universally applicable (as much platforms as possible)

Features Set of .NET classes, or “automation” COM objects with several methods and properties Simplifies the OPC interface to the maximum Automatically connects to OPC servers, and disconnects from them Detects servers and connections that are not functional, and performs restarts and restorations to the original state Automatically adds and removes OPC groups and items Merges and optimizes requests from calling applications Works as data cache Automatically determines and changes the update rate of OPC items Converts data types to a subset that is known to be supported in all tools (for .NET, those prescribed by CLS; for COM, VBScript being usually the most limiting)

Compatible tools and languages .NET: C# Visual Basic.NET (VB.NET) J#, F# etc. different hosts (Console, WinForms, WPF, ASP.NET, etc.) COM: VBScript (WSH, ASP, IE) JScript (WSH, ASP, IE) PHP (!) Visual Basic 6.0 VBA (Word, Excel, PowerPoint etc., and applications from other vendors) Visual FoxPro C++ (in VS 6.0 or VS.NET 2003/2005/2008/2010) Python Delphi LabVIEW Many others (Xeneo Web Server etc.)

Integration with custom application Example of very simple coding (C#): // Create EasyOPC-DA component var EasyDAClient = new OpcLabs.EasyOpc.DataAccess.EasyDAClient(); // Read item value and display it in a message box MessageBox.Show(EasyDAClient.ReadItemValue("", "OPCLabs.KitServer.2", "Demo.Single").ToString());

Demo of usage in the app „Demo“ from the installation

Background processing done by EasyOPC Keeps track of (remote) comp[uters in use and connects to OPCEnum component on them. Automatically restores these connections in case of problems. Keeps track of OPC servers in use, and maintains only one optimized connection to every server. Periodically checks status of OPC server and its connection, and automatically restores the connection in case of problems. Recreates the original state in the restored connection, so that ot contaisn the same groups and items as before the problem. Satisfies the client app requests with data from cache, or creates new OPC groups and adds items as needed.. Optimizes adding new and removing old OPC items so that if possible, multiple items are being added (or removed) in one call. Queues incoming values (callbacks) from connected OPC servers and processes them asynchronously. Monitors usage of individual OPC items and modified its „update rate“ as needed. This requires creating new OPC groups or removing OPC groups that are no longer in use. Tato činnost vyžaduje též vytváření nových grup a rušení nepoužitých grup. „Update rate“ values that are close are put into common “buckets” in order to reduce the number of groups necessary. Removes OPC items athat are not used for extended periods of time. Disconnects from OPC servers that are not used for extended periods of time. If the number of OPC servers or OPC items exceeds the pre-set capacity limits, removes or disconnects those that were not used for longest time period (LRU algorithm).

Applications Operator interfaces (HMI) to systems based on OPC Specialized applications using OPC data (computational, monitoring, database, logging etc.) Making OPC data accessible to tools that would otherwise be difficult or impossible OPCDAAuto replacement Recipes and batch processes Testing of OPC Servers and devices OEM products other

Specifications Will connect to all OPC Data Access (Custom Interface) 1.0x, 2.0x and 3.0x servers Connects to OPC UA (Universal Architecture) servers through UA Proxy (included)

Licensing Trial License Provides valid data for 30 minutes OPC Labs can generate special trial license upon request Commercial Licenses (.bin file for License Manager) meant for System Integrators (SI) per machine, or royalty free see price list Special Licenses: ISV, OEM, VAR licenses

Installation Single file, can be placed on Web needs certain Prerequisites Installing will put on your computer: EasyOPC-DA components Simulation OPC Server OPC Core Components Documentation and more Bonus Pack: Free tools Examples in various tools and languages

OPC Item Generator This tool generates code parts for the developer

Availability Trial version: On the Web for download The licensed version is the same software, in addition the license must be installed on the computer running the component Licenses generated individually by OPC Labs or by vendor Delivered in form of .BIN file

PROGRAMMING

Object model The main object is EasyDAClient Helper objects: Methods such as: ReadItem (MachineName, ServerClass, ItemID [, AccessPath [, DataType]]) ReadItemValue (MachineName, ServerClass, ItemID [, AccessPath [, DataType]]) WriteItemValue (MachineName, ServerClass, ItemID [, AccessPath], Value) GetPropertyValue (…) SubscribeItem (…) methods with “Invoke”: work asynchronously, be notified upon completion methods with “Multiple”: work effectively with large amount of items Browsing methods (for servers, branches or leaves) Properties: ClientMode (preferred access methods etc.) HoldPeriods UpdateRates Timeouts Helper objects: VTQ (Value, Timestamp, Quality) Descriptors, elements etc. – see documentation

OPC User Objects Set o = CreateObject("OPCLabs.UserBrowseServer") o.MachineName = "" o.RunMe WScript.Echo o.ServerClass

Configurable Parameters Some are in instance properties Some are in static properties (.NET) or configurable through the tool (COM):

Troubleshooting Error messages: find out as much as possible – not only error number, but also its text and additional information (e.g. Err.Source, Err.Description in VBScript) Many errors may come directly from the OPC Server Invoking problems, „Access denied“ and similar –DCOM configuration, IIS configuration, user and file permissions Slowness: improper settings or use of timeouts

DCOM and IIS issues Be careful about user accounts under which the client application, EasyOPC and OPC Server run, sometimes even other components (e.g. OPCEnum) Depending on IIS settings, EasyOPC may be called under specific authenticated user, or under the account configured for anonymous access

FUTURE

Version 5.10 and later OPC Alarms and Events (A&E) support Native OPC Universal Architecture Client usability improvements advanced functions return of the Web (?)

Additional information Documentation in the product and on the Web www.opclabs.com, www.quickopc.com Online Forums www.opcwebclient.com, www.opcdata.net

Conclusion Questions Discussion Thank you!