9/25/2013 6:00 PM | |
Joined: 9/27/2006 Last visit: 8/17/2024 Posts: 12278 Rating: (2680) |
Hello Johan; It would be helpful to see your Netpro configuration along with your blocks, to see if you are using the connection ID properly. at first glance, it looks like the other parameters should be good for a transmission and reception of 40 bytes.. Maybe you can compare your program with the one in this sample program, and locate your fault: How do you program communication blocks FB12 "BSEND" and FB13 "BRCV" for data exchange in the S7 program of an S7-300 CPU? Hope this helps, Daniel Chartier |
9/26/2013 3:31 PM | |
Joined: 10/7/2005 Last visit: 8/18/2024 Posts: 3016 Rating: (1054)
|
Hello Johan Somproh Your first screen dump indicates usage of SFB12 and SFB13. Your second screen dump shows that at least one of the CPU's is an S7-300. If you use an S7 300 CPU you MUST use FB12 and FB13 (NOT SFB12 and SFB13). You'll find FB12 and FB13 in the "Standard Library/Communication Blocks" library if you use the onboard PN port of the CPU and in the " SIMATIC_NET_CP/CP 300" library if you use a CP343-1. Please use the correct FB12 and FB13 blocks for your S7 300 station and everything else you need to know on how to program these is in the link that dchartier already provided you with. I hope this helps |
Cheers |
|
This contribution was helpful to1 thankful Users |
Follow us on