Previous in Forum: Match Text in Excel   Next in Forum: Delete Virus
Close
Close
Close
7 comments
Rate Comments: Nested
Participant

Join Date: Jun 2013
Posts: 3

Start Learning OPC

07/21/2013 5:16 AM

For expanding my skill set, I would like to start learning some of the basics of how to use OPC. This is on my own personal time and at my own personal expense, so I would prefer the free options to start with.

I have available with me 3 pc's - 1 desktop and 2 laptops. The laptops can both dual boot into windows 7 or linux, and the desktop runs on linux. The laptops connect on a home wireless network, and the desktop is connected by an ethernet cable to the router.

In looking up OPC resources on google, there is such an incredible amount of material available I have had great difficulty figuring out where to start. Can someone point me in the right direction on where I can get some free resources and how to get started? I am thinking that I would like to use one of the laptops to simulate a PLC, send the data by OPC to an OPC server I set up on the desktop, and then pull the information from the OPC server to the other laptop, which I will have set up as an OPC client with an HMI.

If anyone could provide me some help on where/how to get started I would really appreciate it.

Thanks

Register to Reply
Pathfinder Tags: OPC
Interested in this topic? By joining CR4 you can "subscribe" to
this discussion and receive notification when new comments are added.

Good Answers:

These comments received enough positive votes to make them "good answers".
Guru

Join Date: Oct 2008
Posts: 42355
Good Answers: 1693
#1

Re: start learning OPC

07/21/2013 11:31 AM

For someone with such grandiose plans, you seem to be lost. Not a good start.

Introduction to OPC-Tutorial
S7 OPC Server Tutorial
Opc Tutorial Pdf - Free PDF downloads

Register to Reply
Guru

Join Date: Aug 2007
Location: Earth - I think.
Posts: 2143
Good Answers: 165
#2

Re: start learning OPC

07/21/2013 1:19 PM

This is the best place to start: http://www.opcfoundation.org/

Whenever possible, always go to the source.

__________________
TANSTAAFL (If you don't know what that means, Google it - yourself)
Register to Reply
Guru

Join Date: Oct 2008
Posts: 42355
Good Answers: 1693
#3
In reply to #2

Re: start learning OPC

07/21/2013 1:44 PM

I'm always dubious of anyone who wants to "expand" their "skill set", but doesn't know how to go about it.

Let's hope that your link "exceeds OP's expectations", and allows them to enhance their "matrix management" skills while pursuing software Nirvana.

Technology Upgrade

Register to Reply
Guru

Join Date: Aug 2007
Location: Earth - I think.
Posts: 2143
Good Answers: 165
#4
In reply to #3

Re: start learning OPC

07/21/2013 1:56 PM

One can only hope. If nothing else, that site should keep him busy reading for a while.

Technology Upgrade SPLARF!

__________________
TANSTAAFL (If you don't know what that means, Google it - yourself)
Register to Reply
4
Guru

Join Date: Jul 2010
Posts: 669
Good Answers: 176
#5

Re: start learning OPC

07/21/2013 2:54 PM

Good for you! Of course, when I hear "skill set", I think, "bow-hunting skills, nunchuk skills, computer hacking skills", the outcome of having had teenage kids when the Napolean Dynamite movie was popular.

For conventional OPC DA (Data Acquisition), you need more than PC/laptops, you need some kind of field device from which to read data that an OPC server can fetch data from. Any box that's a Modbus slave will do, like a temperature controller, or a PLC with data communications capability. If you don't have access to a field device that need the services of OPC (PLCs, controllers, whatever), one alternative might be to find and install Modbus slave simulator software (Modbus TCP over ethernet will be easier to implement than Modbus RTU over RS-485) on one of the PC/laptops, so that an OPC server has some device to connect to and read its data.

To my knowledge there are no freeware OPC servers. (An OPC server runs low-level drivers for the field device communication and the effort to produce and maintain such drivers is generally seen to warrant a profit.) But it's a big world and there might be a freebie out there.

For self-teaching, experimentation and test purposes, the 2 hour run time of a commercial OPC server can't be beat. Most of the OPC server vendors offer a free download and some free trial period. I know Kepware's OPC server has a 2 hour run time limit, then it has to be closed and restarted. There is no calendar limit on Kepware's package (it doesn't lock out after a month or whatever). If you save your work, nothing's lost when the 2 hours times out and the OPC server and test client can be restarted and run at full capability. I use Kepware to 'prove' that devices I deal with can be read by an OPC server.

Most of the OPC server vendors also offer a limited function OPC test client, which when launched, finds the OPC server and displays the data that it's been configured to read from the slave device.

HMI/SCADA software packages nowadays are OPC clients, or have an optional module/component that makes them OPC clients. The client is configured to request data (OPC DA is inherently report-on-exception, but can be re-configured if need be) from the field device(s) through an OPC server.

The OPC Foundations' web site has a document on configuring DCOM (a Windows component) which is a necessity for OPC DA. Be sure to find it and go through it item by item, or your efforts will come to naught because DCOM defaults to a disabled condition in Windows.

Matrikon offers a tunneling package as an alternative to DCOM, but reports from users warrant wariness.

The latest version of OPC, OPC UA, is now out there but I'm still dealing with people who run DA and AE (Alarms and Events). If you run it, let us know how it works.

Register to Reply Good Answer (Score 4)
Guru

Join Date: Aug 2009
Location: Glen Mills, PA.
Posts: 2385
Good Answers: 114
#6
In reply to #5

Re: start learning OPC

07/21/2013 6:59 PM

I don't have a clue but this answer seems authoritative so I award you one beefsteak tomato.

__________________
In a time of universal deceit, telling the truth is a revolutionary act. George Orwell
Register to Reply
Participant

Join Date: Jun 2013
Posts: 3
#7

Re: Start Learning OPC

07/22/2013 8:47 AM

Thank you, Iris! That is excellent advice, and I will follow up on it. Thank you for pointing me in the right direction!

Register to Reply
Register to Reply 7 comments

Good Answers:

These comments received enough positive votes to make them "good answers".
Copy to Clipboard

Users who posted comments:

Iris (1); Kilowatt0 (2); lyn (2); neramdaman (1); passingtongreen (1)

Previous in Forum: Match Text in Excel   Next in Forum: Delete Virus

Advertisement