1 / 12

Connecting Runtime-Free to Any OPC-DA Server with VS.NET

Connecting Runtime-Free to Any OPC-DA Server with VS.NET. Got a snazzy graphic mike – remove this and put it here!. Your Host Today: Win Worrall Application Engineer and Developer. Connecting Visual Studio.NET to OPC Data Access Servers. Agenda – 45 Minutes OPC to Visual Studio.NET Overview

tanner
Download Presentation

Connecting Runtime-Free to Any OPC-DA Server with VS.NET

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. Connecting Runtime-Free to Any OPC-DA Server with VS.NET Got a snazzy graphic mike – remove this and put it here! Your Host Today: Win Worrall Application Engineer and Developer

  2. Connecting Visual Studio.NET to OPC Data Access Servers Agenda – 45 Minutes • OPC to Visual Studio.NET Overview • OPCData.NET Overview • Live training • Basic OPC functions • Reading, Writing, Subscribing • Browsing via code and dialog • Windows application • Web application • Discussion, Questions & Answers

  3. Using Visual Studio as an OPC Client • When you configure an HMI, you configure an OPC client connection to the OPC Server. • In VS.NET you need an OPC client plug-in tool • Good Design and Planning Still Required • Systems are only as good as weakest link Visual Basic to 1 OPC Server to 1-N Devices

  4. Client ToolPlug-In Putting it to Work Server Application

  5. OPC Client Plug-In Tools • Two Types – Free & Commercial • Free Wrapper Objects • Available from OPC Foundation • Requires understanding of key OPC interfaces and working with handles & collections • Community support only – no phone or email support • Commercial Software Tools • Variety of types & languages available • Details of OPC implementation abstracted for user • User focuses on “read this”, “write that” • Phone, email support usually included • OPC Certified solutions are available

  6. OPCData.NET • 100% managed, native .NET component • Targeted to Microsoft .NET Framework 2.0 • Works with VS 2005 and higher. • Easy to use API • Abstracts much of the OPC work under the hood • Multi-threaded, non-blocking design for high performance • Self-optimizing • OPC Certified • OPCData-COM available for ActiveX users

  7. Your application with OPCData.NET Typical Usage • Can be used from within any tool based on the Microsoft .NET Framework • Thick-client .NET applications • Windows Forms or Windows Services • Thin-client web applications • Building your own web service Your OPC-DA Server Your OPC-DA Server

  8. OPCData.NET API • Three main assemblies • EasyOpcCommonNet.dll • Classes that hold common OPC information • EasyOpcDANet.dll • Classes that work with OPC Data Access • EasyOpcDANetForms.dll • Classes that work with OPC-DA from Windows Forms applications (browsing dialogs)

  9. OPCData.NET API • EasyDAClient is the main object that allows access to OPC DA servers • Browsing via dialog or code • Allows simultaneous operations • multiple threads for improved efficiency • Error handling • OPC-related errors, COM/DCOM errors, errors returned from OPC server, errors detected by OPCData.NET library • Helper properties for increased control • Synchronous and asynchronous operations, timeout and hold periods, percent deadband

  10. Live Demo • Basic OPC functions • Reading and Multi Reads • Writing and Multi Writes • Subscribing • Browsing via code and dialog • Windows application (VB.NET) • Web application (C Sharp)

  11. What Tools are Needed? • For all usage scenarios • No tag count limits • No limits on # of clients, # of servers • OPCData.NET Single PC Usage License (p/n 41283501) $595 • OPCData.NET Single Developer + Runtime Free License (p/n 41283502) $995 • OPCData.NET Additional Developers License (p/n 41283503) $395 • OPC Data Client (p/n 41283508) $1495 • OPCData.NET • OPCData-COM • Support contracts also available (20% of List Price) • Contact us for upgrade pricing from OPCWebClient 3.02

  12. Contact Information & Other Learning Opportunities • Questions later? • Win Worrall • wworrall@softwaretoolbox.com • 888-665-3678 x 1329 or 704-849-2773 x1329 • www.opcwebclient.com • Other learning opportunities • Recording of this webinar • Visit www.softwaretoolbox.com/webinars

More Related