OPC Data Logger New Release How to Avoid DCOM Using OPC UA Win Worrall Applications Engineer Email:...

26
OPC Data Logger New Release How to Avoid DCOM Using OPC UA Win Worrall Applications Engineer Email: [email protected] Direct Line: +1 (704) 708-6491

Transcript of OPC Data Logger New Release How to Avoid DCOM Using OPC UA Win Worrall Applications Engineer Email:...

Page 1: OPC Data Logger New Release How to Avoid DCOM Using OPC UA Win Worrall Applications Engineer Email: wworrall@softwaretoolbox.comwworrall@softwaretoolbox.com.

OPC Data LoggerNew Release

How to Avoid DCOM Using OPC UA

Win WorrallApplications Engineer

Email: [email protected]

Direct Line: +1 (704) 708-6491

Page 2: OPC Data Logger New Release How to Avoid DCOM Using OPC UA Win Worrall Applications Engineer Email: wworrall@softwaretoolbox.comwworrall@softwaretoolbox.com.

Agenda

Introduction to the OPC Data Logger

What are Write Backs

Introduction to OPC Unified Architecture (UA)

Live Demo

Summary

Questions & Answers

Page 3: OPC Data Logger New Release How to Avoid DCOM Using OPC UA Win Worrall Applications Engineer Email: wworrall@softwaretoolbox.comwworrall@softwaretoolbox.com.

TOPServer – Software ToolboxOMNIServer – Software Toolbox

KEPServerEX – KepwareFactoryTalk Gateway – Rockwell Automation

RSLinx - Rockwell AutomationDASSIDirect 1.5 – Wonderware

DASABCIP 3.5 – WonderwareDASGESRTP 1.5 – Wonderware

FSGateway 1.5 – WonderwareDASABTCP 1.5 – WonderwareDASMBTCP 1.5 – Wonderware

DASMBSerial 2.5 – WonderwareSimatic WinCC – Siemens

Simatic WinCC Connectivity Station – SiemensSimatic NET OPC Servers – Siemens

Simatic WinCC flexible 2007 – SiemensSimatic OPC XML Wrapper – Siemens

IntelliMax – SENSYS IncOPC DataHub – Cogent Real-Time Systems

MatrikonOPC Universal Server – MatrikonMatrikonOPC Desktop Historian – Matrikon

DHX OPC Server Suite – CyberlogicMBX OPC Server Suite – Cyberlogic

PI DA Server – OSISoft IncInGear AB OPC Server – CimQuestInGear GE OPC Server – CimQuest

InGear Modbus OPC Server - CimQuestExaopc OPC Package – Yokogawa

DeviceXPlorer – TakebishiDeviceXPlorer Melsec – Takebishi

Validator – CyberlogicProficy HMI/SCADA Cimplicity 7.0 – GE

AlarmWorx32 OPC A&E – IconicsExperTune Plant – TriageExperTune Inc

ChemCAD – Chemstations IncOPC Analyzer – OPC Foundation

OPC Data Logger Features

Wizard based configuration

Multi-threaded

Double-buffered for Reliability

Multiple ways of collecting data

Multiple ways of presenting data

Multiple ways of storing data

Supports Windows 2000, XP, Vista, 7,

2008 (x86 and x64)

Runs as a Service

OPC Self-Certified

OPC LAB TESTED!

Page 4: OPC Data Logger New Release How to Avoid DCOM Using OPC UA Win Worrall Applications Engineer Email: wworrall@softwaretoolbox.comwworrall@softwaretoolbox.com.

Flexibility

Log data from 1..n OPC Servers (DA and/or UA)

OPC OPC Server AServer A

OPC OPC Server AServer A

OPC OPC Server Server AA

OPC OPC Server Server AA

OPC OPC Server Server BB

OPC OPC Server Server BB

Database Database ‘A’‘A’

Database Database ‘A’‘A’

Database Database ‘A’‘A’

Database Database ‘A’‘A’

Page 5: OPC Data Logger New Release How to Avoid DCOM Using OPC UA Win Worrall Applications Engineer Email: wworrall@softwaretoolbox.comwworrall@softwaretoolbox.com.

Flexibility

Log data from 1..n OPC Servers (DA and/or UA)

Log data to 1..n Destinations (text files, databases etc)

OPC OPC Server AServer A

OPC OPC Server AServer A

OPC OPC Server AServer A

OPC OPC Server AServer A

Database Database ‘‘AA’’

Database Database ‘‘AA’’

MySQLMySQLMySQLMySQL ORACLEORACLEORACLEORACLE SQLServerSQLServerSQLServerSQLServer

No limits to the # of database destinations

Page 6: OPC Data Logger New Release How to Avoid DCOM Using OPC UA Win Worrall Applications Engineer Email: wworrall@softwaretoolbox.comwworrall@softwaretoolbox.com.

Flexibility

Log data from 1..n OPC Servers (DA and/or UA)

Log data to 1..n Destinations (text files, databases etc)

Log & format the data in Detail or Table mode

Page 7: OPC Data Logger New Release How to Avoid DCOM Using OPC UA Win Worrall Applications Engineer Email: wworrall@softwaretoolbox.comwworrall@softwaretoolbox.com.

Flexibility

Log data from 1..n OPC Servers (DA and/or UA)

Log data to 1..n Destinations (text files, databases etc)

Log & format the data in Detail or Table mode

Collect data by Subscription, Timer or Trigger

Tags are constantly Tags are constantly polled, but logged polled, but logged only when values only when values

change!change!

Tags are constantly Tags are constantly polled, but logged polled, but logged only when values only when values

change!change!

At pre-determined At pre-determined intervals the data is intervals the data is

requested and requested and logged.logged.

At pre-determined At pre-determined intervals the data is intervals the data is

requested and requested and logged.logged.

The data is The data is requested and requested and

logged only when a logged only when a trigger is raised.trigger is raised.

The data is The data is requested and requested and

logged only when a logged only when a trigger is raised.trigger is raised.

You can even combine multiple read methods!

Page 8: OPC Data Logger New Release How to Avoid DCOM Using OPC UA Win Worrall Applications Engineer Email: wworrall@softwaretoolbox.comwworrall@softwaretoolbox.com.

Flexibility

Log data from 1..n OPC Servers (DA and/or UA)

Log data to 1..n Destinations (text files, databases etc)

Log & format the data in Detail or Table mode

Collect data by Subscription, Timer or Trigger

Scheduled TriggerScheduled TriggerScheduled TriggerScheduled Trigger

Recurring TriggerRecurring TriggerRecurring TriggerRecurring Trigger

Monitored Item TriggerMonitored Item TriggerMonitored Item TriggerMonitored Item Trigger

Executes at a specified date & time

Executes at specific time intervals

Executes based on the condition of a Tag’s value

Page 9: OPC Data Logger New Release How to Avoid DCOM Using OPC UA Win Worrall Applications Engineer Email: wworrall@softwaretoolbox.comwworrall@softwaretoolbox.com.

Flexibility

Log data from 1..n OPC Servers (DA and/or UA)

Log data to 1..n Destinations (text files, databases etc)

Log & format the data in Detail or Table mode

Collect data by Subscription, Timer or Trigger

Mix-n-match ALLALL of the above scenarios

Page 10: OPC Data Logger New Release How to Avoid DCOM Using OPC UA Win Worrall Applications Engineer Email: wworrall@softwaretoolbox.comwworrall@softwaretoolbox.com.

What is a Writeback?

Write to the OPC Server when an Event or Trigger in the OPC

Data Logger occurs

These Events include

Database Connection going Offline

Database Connection coming Online

After every log to the Database

Similar Events for Text/CSV Files

Opened, Closed and after every log

Trigger Types

Scheduled, Recurring, Monitored Item

Page 11: OPC Data Logger New Release How to Avoid DCOM Using OPC UA Win Worrall Applications Engineer Email: wworrall@softwaretoolbox.comwworrall@softwaretoolbox.com.

New Features in v 3.5.0.34

Support for OPC Unified Architecture (UA) standard Connect to an OPC UA server Support for security certificates

Page 12: OPC Data Logger New Release How to Avoid DCOM Using OPC UA Win Worrall Applications Engineer Email: wworrall@softwaretoolbox.comwworrall@softwaretoolbox.com.

What is UA?

Unified Architecture A collaborative working effort of the

OPC Foundation and its members since 1994

Objective to create a standard that Isn’t dependent on DCOM Can interoperate with non-Windows

platforms Is more secure than the original OPC Removes redundant code across

interfaces

Page 13: OPC Data Logger New Release How to Avoid DCOM Using OPC UA Win Worrall Applications Engineer Email: wworrall@softwaretoolbox.comwworrall@softwaretoolbox.com.

Value Point #1 – Common Interface Usage

Page 14: OPC Data Logger New Release How to Avoid DCOM Using OPC UA Win Worrall Applications Engineer Email: wworrall@softwaretoolbox.comwworrall@softwaretoolbox.com.

Common Interfaces=Less Programming=More Products

An example of how a “Read” is consolidated

OPC Classic DA:

IOPCSyncIO::Read IOPCAsyncIO::Read IOPCAsyncIO2::Read IOPCAsyncIO3::Read IOPCItemIO::Read

A&E: IOPCEventServer::GetConditionState

HDA:

IOPCHDA_SyncRead::ReadRaw IOPCHDA_SyncRead::ReadProcessed IOPCHDA_SyncRead::ReadAtTime IOPCHDA_SyncRead::ReadModified IOPCHDA_SyncRead::ReadAttribute IOPCHDA_AsyncRead::ReadRaw IOPCHDA_AsyncRead::AdviseRaw IOPCHDA_AsyncRead::ReadProcessed IOPCHDA_AsyncRead::AdviseProcessed IOPCHDA_AsyncRead::ReadAtTime IOPCHDA_AsyncRead::ReadModified IOPCHDA_AsyncRead::ReadAttribute

OPC Unified Architecture

Read ReadHistory

Page 15: OPC Data Logger New Release How to Avoid DCOM Using OPC UA Win Worrall Applications Engineer Email: wworrall@softwaretoolbox.comwworrall@softwaretoolbox.com.

Value Point #2 - Security

UA Server(s)UA Server(s)

UA Client(s)UA Client(s)

Page 16: OPC Data Logger New Release How to Avoid DCOM Using OPC UA Win Worrall Applications Engineer Email: wworrall@softwaretoolbox.comwworrall@softwaretoolbox.com.

Security - Certificates

Digital Certificates are used for safe identification

A Certificate can represent a UA Server and UA Client

A Certificate can represent a Person (login)

Trust lists control accessUA Product(s)UA Product(s)

PeoplePeople

Connect please…Connect please…

approvedapproved

… check my trust list

… check my trust list

Page 17: OPC Data Logger New Release How to Avoid DCOM Using OPC UA Win Worrall Applications Engineer Email: wworrall@softwaretoolbox.comwworrall@softwaretoolbox.com.

Value Point #3

UA Server(s)UA Server(s)

UA Client(s)UA Client(s)

DCOMDCOM

Page 18: OPC Data Logger New Release How to Avoid DCOM Using OPC UA Win Worrall Applications Engineer Email: wworrall@softwaretoolbox.comwworrall@softwaretoolbox.com.

Unified Architectureenables communications

and data sharingenterprise-wide

Value Point #4: Enterprise Data Communications

EmbeddedEmbedded

ControllersControllers

MobileMobile

WorkstationsWorkstations

ServersServers

EnterpriseEnterprise

Page 19: OPC Data Logger New Release How to Avoid DCOM Using OPC UA Win Worrall Applications Engineer Email: wworrall@softwaretoolbox.comwworrall@softwaretoolbox.com.

Profiles

What is a Profile? An identifiable block of

functionality that is

supported:

Methods needed

Information Model, i.e.

Type(s) of Data being

moved

Protocol & Security

“Data Access” is an

example of a Profile, as are

all OPC Classic interfaces

Why Profiles? Profiles tell clients and

servers what UA services and information models are available.

UA Products can decide if the other has the capabilities desired

Most UA developers are doing the DA profile for now in products on the street

Page 20: OPC Data Logger New Release How to Avoid DCOM Using OPC UA Win Worrall Applications Engineer Email: wworrall@softwaretoolbox.comwworrall@softwaretoolbox.com.

Automation Vendor Adoption of OPC UA

ABB Beckhoff Siemens Rockwell Yokogawa GE

Iconics Kepware &

their many OEMs

Software Toolbox

And more…

Page 21: OPC Data Logger New Release How to Avoid DCOM Using OPC UA Win Worrall Applications Engineer Email: wworrall@softwaretoolbox.comwworrall@softwaretoolbox.com.

Summary – Why UA?

No DCOM required ….No DCOM required Simple TCP/IP connection Firewall Friendly Platform Independent

Page 22: OPC Data Logger New Release How to Avoid DCOM Using OPC UA Win Worrall Applications Engineer Email: wworrall@softwaretoolbox.comwworrall@softwaretoolbox.com.

Live Demo

Connect to a Remote OPC UA TOP Server using NO security

Connect to a Local OPC UA TOP Server using security

Connect to OPC UA OmniServer using security

Monitor an OPC Item and log based on a Boolean value

Monitor the Database Connection

Write a False to a Bit when the connection goes down.

Write a True to a Bit when the connection comes online.

Page 23: OPC Data Logger New Release How to Avoid DCOM Using OPC UA Win Worrall Applications Engineer Email: wworrall@softwaretoolbox.comwworrall@softwaretoolbox.com.

Troubleshooting Tools

OPC Interoperability Testing

Verify OPC connectivity and compatibility with OPC

Server(s)

Test Mode

Test new configuration settings

Does not affect background logging that may be in progress

Events Window

Export events to a text file (*.CSV)

Events are logged to the Windows Event Viewer

Page 24: OPC Data Logger New Release How to Avoid DCOM Using OPC UA Win Worrall Applications Engineer Email: wworrall@softwaretoolbox.comwworrall@softwaretoolbox.com.

Affordable

Text and CSV logging - $495

MySQL, SQL Server or Access logging - $795 each

ORACLE or OBDC logging - $995 each

No OPC Server Connection or Tag Counts

No Database Connection or Text File Counts

Troubleshooting Tools Included

Buy just what you need

Bundle and SAVE!

Page 25: OPC Data Logger New Release How to Avoid DCOM Using OPC UA Win Worrall Applications Engineer Email: wworrall@softwaretoolbox.comwworrall@softwaretoolbox.com.

The Swiss Army Knife of OPC

www.softwaretoolbox.com/opcdatahub

Alternative SolutionsOPC Data Hub

Page 26: OPC Data Logger New Release How to Avoid DCOM Using OPC UA Win Worrall Applications Engineer Email: wworrall@softwaretoolbox.comwworrall@softwaretoolbox.com.

More Information

www.OPCDataLogger.com

Free demo: www.opcdatalogger.com/html/free_demo.html

Buy online: www.opcdatalogger.com/html/ordering.html

Questions: Win Worrall:

Email: [email protected]

Tel: +1 (704) 708-6491

Technical Support:

Tel: +1 (704) 849-2773

Web: http://support.softwaretoolbox.com