17
Automated Production Report Generation with OPC DataHub Your Host Today: Colin Winchester, Director of Support Presenter: Win Worrall, Application Engineer IMPORTANT: You must phone into the teleconference to hear the audio portion of the presentation. Instructions were emailed to you. Please let the host know via private chat if you need the call in information provided to you via chat.

Automated Production Report Generation with OPC DataHub

Embed Size (px)

DESCRIPTION

Automated Production Report Generation with OPC DataHub. Your Host Today: Colin Winchester, Director of Support Presenter: Win Worrall, Application Engineer. - PowerPoint PPT Presentation

Citation preview

Page 1: Automated Production Report Generation with OPC DataHub

Automated Production Report Generation with OPC DataHub

Your Host Today: Colin Winchester, Director of SupportPresenter: Win Worrall, Application Engineer

IMPORTANT: You must phone into the teleconference to hear the audio portion of the presentation. Instructions were emailed to you. Please let the host know via private chat if you need the call in information provided to you via chat.

Page 2: Automated Production Report Generation with OPC DataHub

Automated Production Report Generation with OPC DataHub

Ask questions to

panelists here

You may private chat with the host

here

Page 3: Automated Production Report Generation with OPC DataHub

Automated Production Report Generation with OPC DataHub

While we are sharing applications, the toolbar shown below appears in the bottom right corner of your screen.

You can access Chat with Host and the Q&A with Presenters Panels by clicking on the icons as shown.

Private Chat with Host

Q&A with Panelists

Page 4: Automated Production Report Generation with OPC DataHub

Automated Production Report Generation with OPC DataHub

Agenda – 45 Minutes Overview of the OPC DataHub Basic information on Scripting Live Demonstration Additional Application Examples Questions & Answers

Use the Web-Ex Q&A at any time

Page 5: Automated Production Report Generation with OPC DataHub

OPC DataHubFunctionality Overview

http://www.softwaretoolbox.com/opcdatahub

OPC Scripting

Page 6: Automated Production Report Generation with OPC DataHub

Background on OPC DataHub Scripting

Powerful scripting engine included Support for Windows GUI Support for ODBC connections Gives you lots of options

Attach scripts to item point changes Build Custom dashboards Custom log files Interact with ODBC Databases Transform data (i.e. math/calculations) Create full simulation programs

Page 7: Automated Production Report Generation with OPC DataHub

Background on OPC DataHub Scripting

Unique Properties Dynamic Environment Event Driven Object Oriented

Included features Scripting Editor Debugging tools Example code Full Programmers Manual

Page 8: Automated Production Report Generation with OPC DataHub

Automated Production Report Generation with OPC DataHub

Live Demonstration Connecting to OPC Server Connecting to Database Creating report from script Emailing report Viewing the report through a Web

Page

Page 9: Automated Production Report Generation with OPC DataHub

OPC DataHub

Automated Production Report Generation with OPC DataHub

Live Demonstration

Script

Scripting Engine

ODBC Database

OPC DataHub

Data EngineOPC Server

Web Browser Email/SMS

Text message

ASP

Page

HTML

Document

Page 10: Automated Production Report Generation with OPC DataHub

OPC DataHub Script Use Examples

Ways Scripting can be used Populate the OPC DataHub with a large

number of OPC or ODBC items

ODBC Data Sources

Multiple & Varied

OPC Data SourcesOPC

DataHub

Script to import

data items

Page 11: Automated Production Report Generation with OPC DataHub

OPC DataHub Script Use Examples

Mathematical conversion of items Triggered Data exchange between control Systems

ServerServer

When the value changes on a specified tag, pass all group values to the

other server- OPC tag = F(OPC Tag)

- Or- OPC tag = OPC Tag

OPC

DataHub

ODBC

Database

Page 12: Automated Production Report Generation with OPC DataHub

OPC DataHub Script Use Examples

Create special internal items To hold values To use for time-delay Use to create sliding average or trending alarm

ODBC Data Sources

Multiple & Varied

OPC Data SourcesOPC

DataHub

Add internal points

Page 13: Automated Production Report Generation with OPC DataHub

OPC DataHub Script Use Examples

Custom Dashboard Pop-up alarms

Page 14: Automated Production Report Generation with OPC DataHub

OPC DataHub Script Use Examples

More Examples: Custom supervisory control strategies Import/Export to CSV or any text file Custom user interaction Launch other applications Dynamic Web content

Page 15: Automated Production Report Generation with OPC DataHub

OPC DataHub Scripting Use your imagination

Built-in support for: Read and write files on disk ODBC (database) connectivity MATLAB connectivity Windows GUI programming Dynamic data types Partial code evaluation Repeat, one-shot and time-of-day timers ASP-conversion of text files Execute other Windows programs Modify OPC DataHub configuration Custom extensions – loadable DLLs

e.g., math libraries, graphics libraries Unified event model - run code when:

data changes, a timer fires, or user interaction

Page 16: Automated Production Report Generation with OPC DataHub

What Tools are Needed?

No tag count limits No limits on # of clients, # of servers used

Scripted Report Generation on a Single PC – 1 DataHub License - $995 All features below included

Email/SMS ODBC Data Logging Bridging & Aggregation Scripting

OPC DataHub Webserver - $3750 No Server OS Required No other web server software required (no IIS)

Contact us if you need professional service work

Page 17: Automated Production Report Generation with OPC DataHub

Contact Information & Other Learning Opportunities

Questions later? Colin Winchester

[email protected] 888-665-3678 x 1327 or 704-849-2773 x1327

Win Worrall [email protected]

www.softwaretoolbox.com/opcdatahub

Other learning opportunities www.softwaretoolbox.com/opcdatahub and click

on Videos/Training Visit www.softwaretoolbox.com/webinars