Opcbasicswebcastswtb 240930033014 A5d33780
Opcbasicswebcastswtb 240930033014 A5d33780
Content is Copyright Software Toolbox, 2008 No re-use or copying without written permission
Understanding OPC:
Basic Overview
Agenda – 60 Minutes
Original problem – How to share data
Original solutions
OPC Solution
Open and Industrial
Client/Server Architecture - COM
PC to PC connections – DCOM
What can you do with OPC Now
Answers to some common questions
Future Direction
Questions & Answers
Content is Copyright Software Toolbox, 2008 No re-use or copying without written permission
Original Problem:
How to share data?
1) How to share data from 2) How to share data
equipment like between programs and
PLC’s? PC’s?
Software Software
Application Application
Software Software
Application Application
Content is Copyright Software Toolbox, 2008 No re-use or copying without written permission
Connectivity means….
Enterprise Application
Accessing plant-floor data
User Interface
displaying plant-floor data
Transport Layer
Ethernet, RS232, RS485, Radio etc.
PLC / Device
Allen-Bradley, Siemens, GE, Modbus, Automation Direct etc.
Content is Copyright Software Toolbox, 2008 No re-use or copying without written permission
Original Solution
Each
Eachvendor
vendorhas
has
imp lemented
imple mentedtheir
their
ownProtocol
own Protocol
driver.
driver.
Content is Copyright Software Toolbox, 2008 No re-use or copying without written permission
Original Problem
Data inaccessible to
Enterprise
other systems System
Self-customization
limitations, or inability
Expensive
customizations often HMI/SCADA Other
Application Application
required
Data sharing via Modbus / DF1 etc. Unsupported
*.CSV import/export
Content is Copyright Software Toolbox, 2008 No re-use or copying without written permission
First Solution, DDE
Protocol drivers were no
longer within HMI
DDE Server contains
HMI / SCADA protocol definition
Application HMI connected using DDE
Topics
HMI tells DDE Server “read
DDE
DDEServer
Server this”, “write that”
(Protocol
(ProtocolConverter)
Converter) DDE Server responsible for
all I/O
Different HMIs can connect
PLC to a DDE Server
Some Data sharing
possible
Content is Copyright Software Toolbox, 2008 No re-use or copying without written permission
DDE, Scalable Solution?
Different systems can
connect to a DDE
Server
Accessible over the
Network using NetDDE
Add more DDE
Servers
More device support
Load distribution
Content is Copyright Software Toolbox, 2008 No re-use or copying without written permission
DDE, Good Solution?
Performance issues
Decoupled HMI from NetDDE reliability
Protocol drivers
No Standards on tag
DDE Server market
database
emerged
No Browsing!
More “driver”
No quality
choice
HMI vendors could information
No Client control of Poll
focus on their
core product rates
No timestamp
Accessible to Any DDE
Application No security
Not easy for network
configuration and usage
Limited number of
client/topic
Content is Copyright Software Toolbox, 2008 No re-use connections
or copying without written permission
A Standard Was Needed!
Content is Copyright Software Toolbox, 2008 No re-use or copying without written permission
OPC, the Promise
• Improves
performance
• Flexibility
Content is Copyright Software Toolbox, 2008 No re-use or copying without written permission
• Choices
What’s in a Tag/Item?
PLC memory
addresses as “Tags” Dev1.Tag1 Dev2.Tag1
Tags are a friendly 4001 obj1.prop.val
underlying Device
Protocol and Memory
Register knowledge. PLC specific PLC specific
addresses addresses
Content is Copyright Software Toolbox, 2008 No re-use or copying without written permission
OPC – Data Access
Capabilities
Content is Copyright Software Toolbox, 2008 No re-use or copying without written permission
OPC DA, Data Acquisition
Read
Rea
Redddhe these
thseee1…x …
1… xxx
Rea thes 1…
Tag(s)
TagTa( as)t on
(so one
esee1ime
ne
on time,
Synchronous I/O Tag(s) time,
an
time
TEL
an gI,L
TddEL wL)ilMMllw
EE twh
waiwhfofenrn
Blocking call ,I wil ait or
yh
t theuerhave
he sveon
resp t seults
orns
e ee
you
Good for round-rob n o a p s
results OPC
polling-type i Client
applications
Asynchronous
I/O
Faster method, OPC
Server
compared to
Synchronous
Development requires
different way of
thinking
Different Locations
Cache
Device
Content is Copyright Software Toolbox, 2008 No re-use or copying without written permission
OPC DA, Data Acquisition
Subscriptions offer
These
Thesetags
tagshave
have
best optimization changed
changed
values….
OPC client values…. OPC
Client
requests a
subscription
OPC Server does
the polling
OPC
Server
Content is Copyright Software Toolbox, 2008 No re-use or copying without written permission
OPC, How does it Work?
OPC Server
•Any OPC Client OPC Group
OPC
•HMI/SCADA
OPC Group OPC Item
•Custom Application
OPC Item OPC Item
Content is Copyright Software Toolbox, 2008 No re-use or copying without written permission
Client/Server and OPC DA
Ethernet/IP The Client
Consumes data
Ethernet Human
Defined as services
Machine
the OPC
The Server Provides
Interface Client
data services
OPC DA
Modbus RTU Client Side
COM is the Middle
Man
Microsoft COM
OPC Servers and
OPC DA Defined as Clients in most cases
Server Side the OPC are separate
Server programs now
Communications OPC Servers only
Drivers act on commands
from an OPC Client
Content is Copyright Software Toolbox, 2008 No re-use or copying without written permission
OPC, Dependent upon
COM
An OPC Client connects to an OPC Server through COM
An OPC Client connecting to an OPC Server on a different
machine connects through DCOM and must be authenticated.
I wITwantaenltm toot
ocon
nnectnecn n
log t o yyoeou
toam
your
euand
cMy pa user name
t yss
M“fr
L e uwor
t ismd! eer
si A“crf ceedan
i s ed” d
s saCn
”
PC – 1 OPC Client pa
npaYasss
esmwor
sw,eLdoyiss irotd…usia. re on PC – 1 OPC
c h ec k my
odntrol
OPC Client Clientm“*****”
“*y**l*is*”t… I will
COM run-time COM run-time
grant you accesOs!PC
Security Client Security
Provider Provider
Content is Copyright Software Toolbox, 2008 No re-use or copying without written permission
OPC DA, Scalable Architecture
A server can
OPC Server
support multiple
OPC Client
OPC Client
Visualization &
OPC Client/ Clients,
Database Logging OPC
Alarming etc.
Server concurrently
OPC Server Many servers can
exist on the
network
Enterprise
System Attach OPC
Systems to other
HMI/SCADA
Application
Other
Application
OPC Systems
Content is Copyright Software Toolbox, 2008 No re-use or copying without written permission
Answers to common
Questions
Can I use OPC across different Domains?
Does re-configuring DCOM open security holes
on my computer?
Does a Tunneller help get OPC data through a
firewall and over the internet?
How do I know if my PLC/Device is offline?
Can OPC work on Linux?
Is OPC DA still valid now OPC UA is coming?
How much data can an OPC Server transfer?
Can OPC Servers run as Windows Services?
Content is Copyright Software Toolbox, 2008 No re-use or copying without written permission
OPC, more than 1 standard
OPC(DCOM)
Adv.
OPC(DCOM) Batch
Contro
l PC-Based Control
OPC(DCOM)
PLC Data
Data
PLC Other….
Industrial
IndustrialNetworks
Networks Acquisitio Other….(DB,
(DB,SQL
SQL
Acquisitio
DCS n
Content is Copyright Software Toolbox, 2008 No re-use
DCS orncopying without written permission
OPC, Quality Assurance!
OPC UA
Single, abstract set of objects
Backward compatible with all existing OPC
standards
Service Oriented Architecture (SOA)
Embeddable, within a PLC/Device
Security and encryption built-in
Designed to take plant-floor data to the
Enterprise.
Content is Copyright Software Toolbox, 2008 No re-use or copying without written permission
What Does OPC UA
Mean for OPC DA?
Asset
Asset Production
Production Inventory
Inventory
Purchasing
Purchasing
Management Control
Cn
o trol Management
Management Management
UA
HMI
HMI
SCADA
SCADA
Visualization
Visualizaation The
The The
The
Automation
Automation Enterprise
Enterprise
paradigm
paradigm paradigm
paradigm
DA, HDA,
A&E Production
Production
Management UA
UADoesn’t
Doesn’tReplace
ManagementSystems
Systems Replace
OPC
OPC DA/HDA/A&E
DA/HDA/A&E
ItItComplements
Complements Them!
Them!
Content is Copyright Software Toolbox, 2008 No re-use or copying without written permission
Want to learn more?
“Using OPC” Webinars
Content is Copyright Software Toolbox, 2008 No re-use or copying without written permission
More Information
Colin Winchester
Email: cwinchester@softwaretoolbox.com
Tel: 704-849-2773 x1327
Technical Support:
Tel: +1 (704) 849-2773
Web: http://support.softwaretoolbox.com
Content is Copyright Software Toolbox, 2008 No re-use or copying without written permission
Some Terminology
Content is Copyright Software Toolbox, 2008 No re-use or copying without written permission