3/11/2014 9:31 AM | |
Joined: 10/7/2005 Last visit: 3/20/2025 Posts: 3042 Rating:
|
Hello Buestad |
Cheers |
|
This contribution was helpful to
2 thankful Users |
3/12/2014 3:23 PM | |
Posts: 9 Rating:
|
Since I have never used AG_RECV before I did some extensive Googeling and found this thread: /tf/WW/en/Posts/60302 Rated Xsays:AG_SEND and AG_RECV are normally used back-to-back as they use a specific protocol. This is not what I want. I need to recieve raw UDP data since the MRU has its own protocol... Any Ideas?
|
3/13/2014 3:07 AM | |
Joined: 10/7/2005 Last visit: 3/20/2025 Posts: 3042 Rating:
|
Hello Buestad no need to worry, AG_RECV is the correct block for this and "only" manages the data transfer from the CP343-1 to the CPU. It doesn't care how the data arrived on the CP343-1 or if it didso via UDP, ISO, TCP or ISO on TCP (which is a decision you make in NETPRO where you configure the UDP connection as an unspecified connnection). If you had an S7 as the UDP senderthan yes, you would useAG_SEND in it to get the UDP data onto the Ethernet, but AG_RECVworks independentlyjust as well by itself and supports UDP. See also How do you program the communication blocks FC5 and FC6? and How do you send/receive data to/from multiple communication partners via the IE CP of an S7-300 or S7-400 station using the UDP protocol? for more on this. |
Cheers |
|
Follow us on