10/13/2010 3:39 PM | |
Joined: 1/28/2009 Last visit: 6/11/2024 Posts: 6841 Rating: (1359) |
Dear net experts Best regards AttachmentNew Bitmap Image.zip (112 Downloads) |
10/14/2010 7:46 AM | |
Joined: 10/7/2005 Last visit: 6/16/2024 Posts: 3008 Rating: (1051)
|
Hello hdhosseini to start with FMS, FDL and UDP can be used forbroadcasting of messages. As your are using a Profibus CP342-5, it will have to be anFDL connection, can you confirm that this your intent(your screendump is showing an S7 connection whichdoes NOT support broadcast), ? If so, the links below shouldhave all the info and examples you are after: What properties, advantages and special features does the FDL protocol offer? Which protocols does CP 342-5 support? PROFIBUS FDL Communication between two SIMATIC S7 Stations with Multicast and Broadcast example Question: Your Netpro only shows 2 PLC's, why do you want to use broadcast? I hope this helps |
Last edited by: fritz at: 10/14/2010 7:47 AMCheers |
|
This contribution was helpful to1 thankful Users |
10/14/2010 7:51 AM | |
Joined: 1/28/2009 Last visit: 6/11/2024 Posts: 6841 Rating: (1359) |
Hi AttachmentBroadcast.zip (90 Downloads) |
10/14/2010 8:20 AM | |
Joined: 10/7/2005 Last visit: 6/16/2024 Posts: 3008 Rating: (1051)
|
Hello again hdhosseini it's been many many moons since I last "FDL broadcasted", but you will at least have to set up the connection on the receiver side too (same way as the sender, FDL type with "all broadcast stations" as the partner) andcall FC6 AG_RECV. That should be all to make it work (I think), but please don't forget that the previously given link to the example projects has a ready made CP342-5 based FDL Multicast project in it (Netpro config,Send/Receive calls etc.), which should fit your application like an old shoe. I hope thishelps |
Cheers |
|
This contribution was helpful to1 thankful Users |
10/14/2010 10:06 AM | |
Joined: 1/28/2009 Last visit: 6/11/2024 Posts: 6841 Rating: (1359) |
Dear fritz thanks for your informative hints.I have check the example you have mentioned in the previous post and I summerize the procedure of sending and receivind data in broadcast to clear it up : 1-Local ID of all station which participate in broadcast should be same.(as it shown in the snapshot in attachment) 2-while activate AG_SEND by ACT bit, the data will be send to all members of this broadcast group 3- finally, in the group, if they have the AG_RECV they receive the data. Do you test non SIEMENS receiver such as HIMA PLCs.I think they should have a same configuration parameters as the IEC standard requires. Best regards Attachmentbroadcast_revised.zip (70 Downloads) |
10/15/2010 7:00 AM | |
Joined: 10/7/2005 Last visit: 6/16/2024 Posts: 3008 Rating: (1051)
|
Hello hdhosseini It doesn't really matter, if they happen to be the same its fine, if they are not its fine too. The Local ID is only relevant for the "local" CPU and only needed to "link" the comms Block (e.g. AG_SEND) to the configured NetPro link. Correct, strictly technically speaking, the data is simply sent out and anyone stations who cares to "listen" to the broadcast can take it (groups only exist in Multicasting,broadcasting works just like a Radioor TV "broadcast" works). AG_RECV is a must have, it will also need a NetPro link to let it know to "listen" to the broadcast message(this NetPro link must have 127 as the remote partner address andLSAP of 63 for the remote partner configured which is automaticallly done if "all broadcast stations" is selected the connection partner). You'll find some more technical background in chapter 7.3.3. of the S7-CPs for PROFIBUS Configuring and Commissioning manual. I'm afraid to say that I've only usedFDLwith Siemens equipment (S5's and S7's). If the HIMA PLC supports Profibus FDL messaging in general, it should be able to receive the broadcast messages though (best to askHIMA that question though, perhaps others here haveexperience with this too) I hope this helps |
Cheers |
|
This contribution was helpful to1 thankful Users |
Follow us on