Title: OPC????
1OPC????
??? tanyz_at_seu.edu.cn ???????????????
2Assessment Common
What is the objective of OPC ? On which
technology does OPC rely ? What is an OPC Server
? Which are the main OPC specifications ? What
are the components of the OPC DA Automation
Interface ? How does an automation platform use
the OPC interfaces ?
3????
4(No Transcript)
5(No Transcript)
6HMI
Excel
Internet
OPC Client
OPC Client
OPC Client
OPC Server
OPC Server
OPC Server
HMI
SCADA
SCADA
Fieldbus System
PID Control
FieldPoint System
PLC System
7?????OPC
8OPC?????
9??
- OLE for Process Control
- (Object linking and embedding)
- now Open Process Control
- Openess Productivity and Conectivity
- OPC(???????OLE)????????
- OPC????????????????????????????(Microsoft)????????
? - OPC?????Microsoft???????PC ???????????????????
- ????????????OPC????
10OPC???
- OPC?????Microsoft COM?DCOM?Active
X??????????????????????????? - ?????????????/?????????/?????/???????????????????
11Before OPC
visualization
history data base
Profinet driver
MasterBus MMS driver
XWAY driver
ABB PLCs
Télémécanique PLCs
Siemens PLCs
12With OPC ABB Operator Workplace Connection
OperatorIT
Historian (Information Manager)
application software is written independently
from the type of controller
the drivers still exist, but the clients do
not see them anymore
AC800MOPC server
SiemensOPC server
SchneiderOPC server
ProfiNet
MMS
XWAY
Télémécanique TSX
ABB AC800M
Siemens S7
13OPC????
- OPC???????OLE (???Active X)?COM (??????)?DCOM
(?????????)??? - OPC?????????????????,????????????????
- Active X/COM?????????????????????????
- ??????????????,OPC???????????????????????????
14OPC??????
only between nodes
15OPC???
- ??OPC??????OPC??????????Fisher-Rosemount?Rockwell
Software?Siemens?Opto22?Intellution?Intuitive
Technology??????????????,????????????????????????O
PC??????1996?8??????????????????
16OPC???
- OPC??????????????????????????????,????OPC?????????
?Mricrosoft????????????????????????????,??????????
?????????????,???????????OPC??????? - Micosoft?OPC????????,???OPC???????????Microsoft?O
PC????????????????,??????????????????OPC???????
17OPC???????
18OPC?????
- OPC??????????????OPC,??????????????????
- ?????????????????????????,???????????????????,????
??????????,????????????,??????????OPC??????? - http//www.opcchina.org/
19OPC ??
- ??????????????
- ?????????????
- ??????????\
- OPC ??????????????\
- ??? ??????????????\
- ??? ????????\
- ??????????\
- C, C, VB, Java, HTML, DHTML \
- ???Internet \
20OPC as a hub
source Siemens WinCC
21OPC connection to databases
Tools allow to build an OPC DA interface to any
ODBC - equipped database. The database internal
structure (exposed through queries) is reflected
as a hierarchy of OPC items. This allows to give
a unified access to simple items.
application (OPC client)
OPC server
ODBC
DB
22OPC for internal communication AIP as example
23OPC Connection to ERP
24Direct and Fieldbus access
direct connection
fieldbus connection
client application (OPC client)
client application (OPC client)
clients and servers run as parallel processes
(local) OPC server
(local) OPC server
FB Manager
fieldbus
proprietary protocol
I/O devices
can also be a point-to-point link
fieldbus
fieldbus
The OPC server is running all the time, as soon
as at least one client is present
FB agent
FB agent
PLC
PLC
25Accessing a server in another node
client application (OPC client)
stub
DCOM
TCP/IP
DCOM
TCP/IP
TCP/IP
Limitation does not work over firewalls. Solution
OPC XML (see later)
DCOM
DCOM
OPC server
OPC server
FB Manager
fieldbus
26COM/DCOM across multiple nodes
connectivity node
Ethernet
panel
application 1 (OPC client)
application 2 (OPC client)
app3
TCP/IP
TCP/IP
OPC server for BrandZ
OPC server for BrandY
OPC server for BrandX
OPC server for simulation
node 1
Fieldbus Y
FieldbusX
drivers
input / output to plant
27OPC????
- ??OPC?????
- ???????
- ???????
- ???????
- ??????????
- ???????????
- ??????
- EnumOPC??????
28??OPC?????
- OPC??????
- OPC???????
- OPC??????
- OPC????????
- OPC?????
- OPC?????
- OPC XML??
29OPC???????
30?? ??
??Data Access
3.0,2.0,1.0 ??????Alarms and
Events 1.10,1.00 ???????Hi
storical Data Access 1.0
????????Batch
2.0,1.0 ??????Security
1.0
?????Compliance
2.00.2 ???????????OPC
XML 1.00,0.18
?????XML??OPC eXchange
1.0 ??????OPC
Commands ????
????OPC Common I/O
???? ??I/O??OPC Complex
Data ???? ??????
31OPCHDA
OPCBatch
history data base
batch system
OPCAlarms Events
OPC Data Access
OPCDX
OPCUA
Unified Architecture??
32OPC??????
33OPC DA ?????
OPC (??DCOM)?? ????????? ??????
Data Monitor Sub-System
OPC?????????? ????IO??????
OPC
??????? ?????????
Device Specific I/O Control
34OPC????????
- ??COM ????
- ????????????????
- ????????????????
- ???????????????
- ????????
- ??????????
35OPC DA ????????
- ????????????????
- ???????????????
- ????????
- ????????????
- ??????????????????
- ??, OPC DA ??????????
36OPC DA
- ??OPC DA ??????????????
- OPC DA ??????????????????????
- ???????Tag ??
- (Tag ?????????????????)
- ????????????????????????????
37OPC???????OPC AE
- OPC???OPC????????,??OPC???????????OPC???????????,?
???OPC??,?????????????????????????????
38OPC????????
- OPC??????????????????????????????????????????????
39HDA for Historical Data Access
.
40OPC??????
- ???OPC DX? OPC DX?
- ?????????????????????????????????????????????????
- ??OPC DA ????
- OPC DX ???????????????
41OPC??????
- ???OPC DX? OPC DX?
- ??????????
- ??????????????????????????????????????????????
- ????????????????
- ????????????????,??????????????????????????
42OPC DX ??
43OPC?????
- OPC Batch ?????????????????????????????.
- ?????????????OPC????????????????????????.
44OPC Batch
- Based on
- IEC 61512-1 Batch Control Part 1 Models and
Terminology - (ANSI/ISA S88.01 1995)
- ISA-dS88.02-2000 draft 17 of May 2000
- Allows to access
- equipment capabilities,
- current operating conditions,
- historical contents
- recipe contents
45OPC?????
- OPC ???????????????????????.
- ?????????OPC????????IOPCSecruityNT???IOPCSecruityP
rivate???????
46OPC XML??
- OPC XML ??????????
- ??Internet????????????
- ???(???)?OPC ????
- ??.NET ??????????
- OPC XML ??????????
- OPC DA(????)????
- ????????
- ????????
- Web Service Web Service
- SOAP( (????????) ????)
47OPC XML??
48???????
- OPC??
- OPC????????(OPC Server)??(OPC Group)??(OPC Item)
- OPC??
49Automation vs. Custom interface
50???????
- OPC?????????
- Iunknown
- IOPCServer
- IOPCCommer
- IConnectionPointContainer
51??OPC?????
52??OPC???