You are on page 1of 26

Department of Engineering Physics-ITB

Mei 2004

PLC Li O PC nk

Department of Engineering Physics Institut Teknologi Bandung 2004


Programmable Logic Controller (PLC) Advance Programming 15-1

Department of Engineering Physics-ITB

Mei 2004

Topi cs
OLE for Process Control (OPC) Connecting PLC to HMI using OPC

Programmable Logic Controller (PLC) Advance Programming

15-2

Department of Engineering Physics-ITB

Mei 2004

O LE f Pr or oces Cont ol(O PC) s r


Objective: Use Wonderwares OPCLink I/O Server and OPC Browser to link to an OPC Server. Introduction OPCLink Server OPC Browser

Programmable Logic Controller (PLC) Advance Programming

15-3

Department of Engineering Physics-ITB

Mei 2004

O LE f Pr or oces Cont ol(O PC) s r


OPC is a published industrial standard for system interconnectivity. It uses Microsofts COM and DCOM technology to enable applications to exchange data on one or more computers using a client/server architecture. OPC defines a common set of interfaces. So applications retrieve data in exactly the same format regardless of whether the data source is a PLC, DCS, gauge, analyzer, software application or anything else As a result, OPC is as an out-of-the-box, plug and play communication solution.

Programmable Logic Controller (PLC) Advance Programming

15-4

Department of Engineering Physics-ITB

Mei 2004

O LE f Pr or oces Cont ol(O PC) s r


Provide a standards-based infrastructure for the exchange of process control data different connection type (serial,radio,ethernet,etc) and various operating system

SLC 5/05 CPU

INPUT
0 1 2 3
DC-SINK

INPUT
12 13 14 15 0 1 2 3
DC-SINK

OUTPUT
12 13 14 15 0 1 2 3
RELAY

POWER

RUN FLT BATT RUN REM

FORCE Dh485 Rs232

4 5 6 7

8 9 10 11

4 5 6 7

8 9 10 11

4 5 6 7

8 9 10 11

12 13 14 15

PROG

ALLEN BRADLEY

Programmable Logic Controller (PLC) Advance Programming

15-5

Department of Engineering Physics-ITB

Mei 2004

O PC Sol i uton

SLC 5/05 CPU

INPUT
0 1 2 3
DC-SINK

INPUT
12 13 14 15 0 1 2 3
DC-SINK

OUTPUT
12 13 14 15 0 1 2 3
RELAY

POWER

RUN FLT BATT RUN REM

FORCE Dh485 Rs232

4 5 6 7

8 9 10 11

4 5 6 7

8 9 10 11

4 5 6 7

8 9 10 11

12 13 14 15

PROG

ALLEN BRADLEY

Programmable Logic Controller (PLC) Advance Programming

15-6

Department of Engineering Physics-ITB

Mei 2004

O LE f Pr or oces Cont ol(O PC) s r


OPC standardizes on a technology rather than aproduct OPC set of standards, data can be passed from any data source to any OPC compliant application include Human Machine Interfaces (or HMIs), trenders, spreadsheets, data archivers, Enterprise Resource Planning applications, and others. OPC enables to visualize, analyze, report, or do anything with applications from almost any vendor using one or more of the OPC specifications. OPC technology enable true interoperability, reduce implementation costs, and build a fully scalable system for the future.
Programmable Logic Controller (PLC) Advance Programming 15-7

Department of Engineering Physics-ITB

Mei 2004

O PC Ser ver
Tag browsing Efficient standard mechanism for data exchange Support for Ranging (low-high) Multi Threading design Support of COM and DCOM Plug and Play

Programmable Logic Controller (PLC) Advance Programming

15-8

Department of Engineering Physics-ITB

Mei 2004

A cces i O PC Ser sng ver


OPCENUM Service enables clients to access OPC Server of executive node in LAN Registry information will be required to access OPC Server on the other node from client machine. This interface information of COM (property, method) is registered in registry of local disk because OPC Server is COM application. OPCENUM.EXE is a program that is executed on the node OPC Server is installed in and provides registry information of OPC Server corresponding the request of the other node.

Programmable Logic Controller (PLC) Advance Programming

15-9

Department of Engineering Physics-ITB

Mei 2004

A cces i O PC Ser sng ver


OPC Server OPC Client Registry
Get Server Info By NODE

Node A

OPCEnum.exe

Node B

Server Information

Ethernet
Call OPC BROWSE object with the node name from OPC Client (Node B). OPCENUM.EXE gets server list from local registry and passes it to Node B. OPC Client accesses OPC Server object with the server info and node name 15-10

Programmable Logic Controller (PLC) Advance Programming

Department of Engineering Physics-ITB

Mei 2004

Pr i ar vsO PC Connectviy opret y it


Common Plant Requirements
Plant needed to monitor equipment Various different applications were needed to analyze data Various different devices generated data

Plant process wanted to monitor their turbines using ta Human Machine Interface, or HMI, for visualization, a Process Historian for data storage, and a machine condition monitoring application. The data would come from three different data sources; a PLC, a vibration monitoring system, and a calculation engine.

Programmable Logic Controller (PLC) Advance Programming

15-11

Department of Engineering Physics-ITB

Mei 2004

Requiem ent r
Minimize device loads by minimizing data requests Quickly and easily implement a communication infrastructure Minimize implementation and acquisition costs

Programmable Logic Controller (PLC) Advance Programming

15-12

Department of Engineering Physics-ITB

Mei 2004

Pr i ar Sol i opret y uton

Required many custom drivers Multiple device drivers would create too many data requests Lengthy implementation time and excessive costs incurred
Logix5550
RUN
POWER
QUALITY

<
I/O Rs232

>

ETHERNET

ControlNET

A * 03
RXD TXD OK
AT

Allen-Bradley
BAT RUN REM

OK

PROG

OK

AT

Programmable Logic Controller (PLC) Advance Programming

15-13

Department of Engineering Physics-ITB

Mei 2004

O PC Sol i uton

OPC solution minimizes devices drivers OPC drivers are readily available OPC reduces device loads significantly Implementation time and all costs drastically reduced
Logix5550
RUN
POWER
QUALITY

<
I/O Rs232

>

ETHERNET

ControlNET

A * 03
RXD TXD OK
AT

Allen-Bradley

BAT RUN REM

OK

PROG

OK

AT

Programmable Logic Controller (PLC) Advance Programming

15-14

Department of Engineering Physics-ITB

Mei 2004

Tool box O PC Pow er Ser ver


Provide plant floor data from multiple brands Support FastDDE,SuiteLink, AdvancedDDE and DDE software interface Support Wonderware InTouch,RSView32, Intellution32,iFix,etc

Programmable Logic Controller (PLC) Advance Programming

15-15

Department of Engineering Physics-ITB

Mei 2004

Feat es ur
Supported on Windows 95/98/Me and NT/2000/XP Support for OPC Data Access 2.05 standard software interface reduces integration costs by connecting to a wide range of applications Support for FastDDE & SuiteLink for seamless connectivity to Wonderware InTouch Support for Intellution NIO interface for direct connection to the iFix Process Database Support for AdvanceDDE, NetDDE and DDE rounds out the connectivity choices TOP Server offers Automatic Tag Database Generation
Programmable Logic Controller (PLC) Advance Programming 15-16

Department of Engineering Physics-ITB

Mei 2004

Feat esContnued ur i
Dynamic Tag Creation Tag Import/Export - bring in data from CSV files to speed configuration or sharing with other applications InTouch Tag Import Wizard reduces engineering time for Wonderware Users Free OPC Quick Client provides a known entity OPC client for quick field deployment & testing

Programmable Logic Controller (PLC) Advance Programming

15-17

Department of Engineering Physics-ITB

Mei 2004

St tTop Ser PLC5 ar ver


On the Start menu, select Programs, select Software Toolbox, select Top Server

Programmable Logic Controller (PLC) Advance Programming

15-18

Department of Engineering Physics-ITB

Mei 2004

Confgurng Channel i i
Channel represents a communication medium from the PC to one or more external devices. Channel can be used to represent either a serial port or a card installed in the PC.

Programmable Logic Controller (PLC) Advance Programming

15-19

Department of Engineering Physics-ITB

Mei 2004

Confgurng Devi i i ce
Device represent PLCs or other hardware that the server will communicate with. The device driver that the channel is using restricts device selection.

Programmable Logic Controller (PLC) Advance Programming

15-20

Department of Engineering Physics-ITB

Mei 2004

Cr i Tag eatng
A tag represents addresses with in the PLC or other hardware device that the server communicates with. The server allows both dynamic tags, (tags created in the client that access addresses directly) and user defined static tags. User defined static tags are created in the server and benefit the user by allowing the tag to be browsed from OPC clients that support tag browsing.

Programmable Logic Controller (PLC) Advance Programming

15-21

Department of Engineering Physics-ITB

Mei 2004

Cr i Tag eatng

Programmable Logic Controller (PLC) Advance Programming

15-22

Department of Engineering Physics-ITB

Mei 2004

O PC Q ui Clent ck i
OPC Quick Client provides a known entity OPC client for quick field deployment and testing

Programmable Logic Controller (PLC) Advance Programming

15-23

Department of Engineering Physics-ITB

Mei 2004

Cr i A cces Nam e eatng s

Programmable Logic Controller (PLC) Advance Programming

15-24

Department of Engineering Physics-ITB

Mei 2004

Cr i HM ITagnam e eatng

Programmable Logic Controller (PLC) Advance Programming

15-25

Department of Engineering Physics-ITB

Mei 2004

Cr e Dynam i HM IO bj eat c ect

Programmable Logic Controller (PLC) Advance Programming

15-26

You might also like