CPU-CPU communication (9 devices)

Hi,

I'm currently working on a project with 9 cpu's (8 S7-1512 and 1 S7-1516) in TIA15.

I have a ethernet/Profinet network all set-up.

Now all plc's need to talk to eachother independently. I read an I-device was an option (only 4 connections) so I got back to put/get.

Are there other viable/better options then put/get.

There's about 100bytes of data in each CPU that has to be trasnferred (as fast as possible) to every other CPU.

Thanks for the help.
 
There's about 100bytes of data in each CPU that has to be trasnferred (as fast as possible) to every other CPU.

Multicast is the way I've done and would do again. The problem is the connections you have available... I'd have to read a bit more about the integrated port instead of the comm cards that I used before.
 
I'm affraid that won't work because it's master-slave so I can't get the slaves to talk to eachother.

Every CPU in the network needs to talk to every other cpu in the network (over the integrated PN-port)
 
I'm affraid that won't work because it's master-slave so I can't get the slaves to talk to eachother.

Every CPU in the network needs to talk to every other cpu in the network (over the integrated PN-port)

Either I'm misunderstanding, or you're not understanding the concept of Multicast.

Let's address all your PLC's as 192.168.1.[1-9].
Then each PLC sends the data that it needs to transmit as a UDP packet to 224.168.1.[1-9].
Each PLC will then listen on the data coming from 224.168.1.[1-9].

There is no master/slave when it comes to the data being transmitted this way and the data can be a status feedback or a command for other PLC to do something.

Edit: I also don't know the speeds you'll be looking at achieving with the comms, but UDP multicast (with a dedicated comms port) can easily achieve 100ms frequency on the data being transmitted. That may not be the case with PUT/GET or through managed connections.
 
You're absolutely right. I'll do some research and give it a try.
100ms sounds good to me and wil be more then sufficient for what I need.

Thanks.
 
Normally, what I see done in a case like this is that each 1512 communicates to the 1516, and then the 1516 shares the data down to all the rest of the 1512s. It takes two hops, but PN is fast enough that it generally doesn't matter. The downside of this approach is that the 1516 becomes a single point of failure. Most of the time, in the applications I see, one PLC down means the whole line is down, and it really doesn't matter if the rest of the PLCs are talking or not.

The newest v2.6 FW and V15.1 allow the 1500s to act as OPC UA clients in addition to the OPC UA server functionality they already had. This could allow for many-to-many comms. The OPC UA server license is an extra cost per CPU, though.

Otherwise, a build your own protocol approach via UDP or TCP, possibly with multicast, as suggested by others, is probably the way to go.



One other question: Do the PLCs need to communicate safety data, or is it all standard?
 
The single point of failure isn't allowed (client orders) in this project.

Multicast will be the way forward, been reading up and I think it will work just fine (next week I can start testing it)

Thanks for the help guys.
 
The downside of this approach is that the 1516 becomes a single point of failure. Most of the time, in the applications I see, one PLC down means the whole line is down, and it really doesn't matter if the rest of the PLCs are talking or not.

This is definitely something to bear in mind. The times I used multicasting, this wouldn't have been a possibility due to the number of machines and how independent they were.
 

Similar Topics

Dear Friends, Can any one help me to establish Communication between SLC5/04 CPU and Beijer X2 Pro HMI, i have tried a lot of things with no...
12
Replies
1,587
Views
I have a old Q20HCPU install at the old production line, now I wan it to send some register values to a new FX5u, is there any way I can do it...
1
Replies
480
Views
Hi Please , there is machine controlled by ET200S cpu and 1200 comfort HMI. I want to add pc station to the project using tia v13 to show some...
3
Replies
1,203
Views
Hello i have USB/ppi Multi-master cable AMSAMOTION. When i try to communicate with CPU SR30 there is no device found cable is not attached or no...
0
Replies
727
Views
Hello all, I am trying to communicate with our test bench PLC which is a Q04UDEHCPU via the network. Ideally I would be able to do this in...
3
Replies
4,034
Views
Top