OPC with multiple PLCs

plutonium

Member
Join Date
Jul 2015
Location
Mars
Posts
36
Hi forum!

I have 2 PLCs that are not connected inbetween, but just to OPC server.

There was setup, where PLC-1 was connected to OPC and to users PC. New installation is done and another PLC-2 is added, but not connected with old PLC-1 so it is supposed to send data itself and directly on users PC and OPC.

How can I configure OPC server or PLC, so user can see data from both PLCs on his PC?

I will appreciate if you add some pictures from program 👨🏻‍🏫👨🏻‍🏫

THANKS!
 
What OPC server are you using? How is it commuinicating?

You will already have a device set up on the OPC server for PLC 1, just add an additional channel or device and point it at your second PLC
 
What OPC server are you using? How is it commuinicating?

You will already have a device set up on the OPC server for PLC 1, just add an additional channel or device and point it at your second PLC

It is Siemens software and S7-300PLCs, but not sure about names (didnt work a lot with siemens OPC). I know they use OPC Scout in testing purposes.

Do you maybe have any manuals about adding additional channel on server?
 
Never worked with the Siemens OPC software, but it can't be much different than other OPC server packages. Define what each client PLC is, then define the tags. If you already have that done for PLC-1 use that as a guide for PLC-2. From the PC front end (I am assuming here you have an HMI of some type) it will look no different, just pick the tags to display.
 
Never worked with the Siemens OPC software, but it can't be much different than other OPC server packages. Define what each client PLC is, then define the tags. If you already have that done for PLC-1 use that as a guide for PLC-2. From the PC front end (I am assuming here you have an HMI of some type) it will look no different, just pick the tags to display.

Actually some other guy worked on first PLC-1. Now I have to do the same for PLC-2.

Do I need to define IP address or something else?
 
Here are some examples showing different ways for the OPC server to get data out of a Siemens PLC (configuration shown is for Portal). Because Siemens, there are 4 different ways to do it. You probably want the "Tag Service" example.

https://support.industry.siemens.com/cs/us/en/view/67295801

Simatic Net is the PC communication suite from Siemens, which includes the OPC server. OPC Scout is the tool you use to test to see if the server is set up correctly (the official lingo is a "test client").

The steps will vary a bit depending on whether you're using Simatic Manager or Portal, but you'll need to create a link in your project between the PLC and the PC Station with the OPC Server. If the two PLCs are in different projects, you may need to either add them to the same "Multiproject" or create a new project with the PC station and two dummy PLCs with the same networking info (IP addresses, etc).

The nice thing about OPC is that there isn't really anything you need to do programming wise in the PLC, the downside is that setting up the SIMATIC Net stuff can be a pain if you've never done it before.
 
Here are some examples showing different ways for the OPC server to get data out of a Siemens PLC (configuration shown is for Portal). Because Siemens, there are 4 different ways to do it. You probably want the "Tag Service" example.

https://support.industry.siemens.com/cs/us/en/view/67295801

Simatic Net is the PC communication suite from Siemens, which includes the OPC server. OPC Scout is the tool you use to test to see if the server is set up correctly (the official lingo is a "test client").

The steps will vary a bit depending on whether you're using Simatic Manager or Portal, but you'll need to create a link in your project between the PLC and the PC Station with the OPC Server. If the two PLCs are in different projects, you may need to either add them to the same "Multiproject" or create a new project with the PC station and two dummy PLCs with the same networking info (IP addresses, etc).

The nice thing about OPC is that there isn't really anything you need to do programming wise in the PLC, the downside is that setting up the SIMATIC Net stuff can be a pain if you've never done it before.

Excellent explanation :) Thanks.

I use TIA portal. PLC's are in different projects.

Can you explain what does it mean to create dummy projects or Multiproject? Any example?
 
To be more precise...one company worked on OPC and PLC-1 before and they created all. Now myself with second company have to do mentioned before on PLC-2 and OPC.
 
Excellent explanation :) Thanks.

I use TIA portal. PLC's are in different projects.

Can you explain what does it mean to create dummy projects or Multiproject? Any example?

Multi-project is a Simatic Manager thing, don't worry about it. It lets you link separate projects together, to make networking stuff easier.

a "Dummy project" is essentially creating a fake PLC in a project that doesn't actually have any logic, just the network information, or maybe also the tag data (tags and DBs). You'll never download the PLC information, but it could be used by an HMI or an OPC server to know what devices they are supposed to communicate to. I know with HMIs you can use a "device proxy" as well; I don't know if that works for Simatic Net or not. Device proxy is essentially a way in Portal to include the info from a PLC in another project, a sort of built in dummy PLC.

Do you have the PLC project from the company that set up PLC1 and the OPC server originally? If so, it might be easiest to just add your PLC to his project, then create the connection to SImatic Net. If not, you'll need to recreate the existing simatic net config in your project, and then add a dummy PLC matching PLC1 in your project.
 
Multi-project is a Simatic Manager thing, don't worry about it. It lets you link separate projects together, to make networking stuff easier.

a "Dummy project" is essentially creating a fake PLC in a project that doesn't actually have any logic, just the network information, or maybe also the tag data (tags and DBs). You'll never download the PLC information, but it could be used by an HMI or an OPC server to know what devices they are supposed to communicate to. I know with HMIs you can use a "device proxy" as well; I don't know if that works for Simatic Net or not. Device proxy is essentially a way in Portal to include the info from a PLC in another project, a sort of built in dummy PLC.

Do you have the PLC project from the company that set up PLC1 and the OPC server originally? If so, it might be easiest to just add your PLC to his project, then create the connection to SImatic Net. If not, you'll need to recreate the existing simatic net config in your project, and then add a dummy PLC matching PLC1 in your project.

Just now on location in factory.

Yes I do have old PLC-1 program and I can do whatever I want on it.

There is OPC that looks like picture below. I'm not sure where to add another PLC-2..

https://ibb.co/mXcPvw

1510300608260451921754.jpg
 
plutonium.

I am guessing you are pretty young by how you prefer to take a picture with your phone in order to post a screenshot.
Anyway, I could help.
I could give you links to manuals, faqs, sample projects, youtube videos.
But you could help too.
You could post detailed information about the software in use and the PLCs that are connected or needs to be conneced to.
I mean down to the exact type numbers, and version numbers (software and firmware versions).

Always post all the relevant information in the 1st post.
 
plutonium.

I am guessing you are pretty young by how you prefer to take a picture with your phone in order to post a screenshot.
Anyway, I could help.
I could give you links to manuals, faqs, sample projects, youtube videos.
But you could help too.
You could post detailed information about the software in use and the PLCs that are connected or needs to be conneced to.
I mean down to the exact type numbers, and version numbers (software and firmware versions).

Always post all the relevant information in the 1st post.

I just dont have another option as my laptop is not online so I'm using my mobile.
Tia portal v13

PLC is 315F-2 DP/PN V3.2

On OPC server is this config.

https://ibb.co/hn1nhb
 
Use your mobile as wifi access point for your laptop.

I dont want to guess by some photos that says nothing.
How hard can it be to just write the exact type no ?
 
Use your mobile as wifi access point for your laptop.

I dont want to guess by some photos that says nothing.
How hard can it be to just write the exact type no ?

Sorry, I would really like to give any info you need.

Please let me know what i need to give and I will try to get it.
 

Similar Topics

Hello, We have 5 plants connected with either fibre or 150Mbps ptp ethernet radios. Each plant is running either RSView32 or Factorytalk. We...
Replies
7
Views
6,938
hello, i have made connection with TIA and an OPC server. when i compile and download i don't get any errors. in OPC scout only 1 of my programs...
Replies
16
Views
4,121
I'm hoping someone has some idea, what kind of problems could come up from having multiple devices on a single channel. for example, its a...
Replies
3
Views
4,496
I am trying to monitor coms from multiple rslinx opc/dde nodes in rsview32. I have tried different ways to accomplish this, to no avail. I assume...
Replies
3
Views
2,482
I am running CCW 13 trying to upload to a micro 820 vers.12 I get an output message OPC server is unable to load project controller. Please help!
Replies
5
Views
230
Back
Top Bottom