Best way of sending data between PLCs via Profinet?

uptown47

Lifetime Supporting Member
Join Date
Feb 2008
Location
Over there, next to those boxes
Posts
1,146
Hi all,

I've only worked on Profinet once before to talk between a few S7-300 PLCs.

I managed to get the system communicating by using the "GET" and "PUT" commands. Basically I put a datablock on the 'source' PLC and another datablock with the same structure on the 'destination' PLC and then just run "GET" / "PUT" every second or so to transfer information between the PLCs.

I wondered if there was a better way of doing things?

Or is that the only way of transferring data?

Is there not anything like a DP Coupler where you can set up addresses that will be transferred between PLCs?

Thanks for your help :)
 
PUT and GET are very simple to implement.
The drawback is that the PLC reads from and writes to directly in the partner PLCs memory.
Especially the writing to can be dangerous. A typo can cause big problems.

Alternatives:

Send data as Profinet IO where one CPU is Profinet IO Controller, the other is Profinet IO Device (I-Device). Very fast and reliable once set up. Quite easy when you have got the grasp ofn it. Drawback is that it is inflexible, and any change require a restart.

Send data as Profinet IO where both CPUs are Profinet IO Controllers. There is a PN/PN coupler between the two CPUs. Safest way to do it. The networks on either side are really sepatared from each other. Apart from that same as with I-Device.

Send data as send-receive.
Basically, the connections have to be setup on both CPUs.
There are many variants. Easiest is to use the BSEND and BRCV blocks.
 
PUT and GET are very simple to implement.
The drawback is that the PLC reads from and writes to directly in the partner PLCs memory.
Especially the writing to can be dangerous. A typo can cause big problems.

Alternatives:

Send data as Profinet IO where one CPU is Profinet IO Controller, the other is Profinet IO Device (I-Device). Very fast and reliable once set up. Quite easy when you have got the grasp ofn it. Drawback is that it is inflexible, and any change require a restart.

Send data as Profinet IO where both CPUs are Profinet IO Controllers. There is a PN/PN coupler between the two CPUs. Safest way to do it. The networks on either side are really sepatared from each other. Apart from that same as with I-Device.

Send data as send-receive.
Basically, the connections have to be setup on both CPUs.
There are many variants. Easiest is to use the BSEND and BRCV blocks.

Thanks for the info Jesper. Much appreciated.

I like the sound of a PN/PN coupler as it means I don't need to mess with existing IP addresses etc (I presume it works like a DP/DP coupler).

I'll do a bit of Googling on it and see how it works.

Thanks again for your help :)
 
Also worth mentioning that you can use multicast for one to many communication.

One somewhat important aspect of the GET/PUT is that it doesn't require processing on the receiving end of the function. So GET and PUT functions will happily work on a stopped PLC.
 
Also worth mentioning that you can use multicast for one to many communication.

One somewhat important aspect of the GET/PUT is that it doesn't require processing on the receiving end of the function. So GET and PUT functions will happily work on a stopped PLC.

Thanks Cardosocea. I've not looked at the multicast functionality. Good point about GET/PUT as well! That certainly is a consideration, now you mention it, for this application.

Cheers :)
 

Similar Topics

Compactlogix controller, program has 28 conveyors that use TON's to start the conveyors. The TT sounds a warning horn during start and the DN...
Replies
10
Views
496
I have S7 1512C controler for controlling 48 PID temperature loop, the output is PWM. Please I need the best, most efficient way to write the...
Replies
13
Views
611
I am going to need to use HART multi-drop in order to handle a series of Vega Radar units. There are a lot of options and I'm wondering what...
Replies
3
Views
259
Out of interest, I'd like some thoughts on what would be considered best practice with regards to a 2-position turntable control scheme (see...
Replies
17
Views
1,149
Hello colleagues Anybody knows, what could be the best or a better option to bring with you when you are in service at factory to connect via...
Replies
1
Views
266
Back
Top Bottom