10/29/2012 9:09 PM | |
Posts: 4 Rating:
|
Hi ! I've been trying to set (Ethernet) communication between 2 s7-300 CPUs with bsend and brcv blocks using PLCSIM. The problem is I'm still getting an error with status "1". Program is based on an article:"How do you program communication FB12 "BSEND" and FB13 "BRCV" for data exchange in the s7 program of an s7-300 CPU?". I've checked also attached project from an article:"How do you simulate communication between 2 CPU modules"where everything works fine but still cant get why my project does not work. Connection configured in NetPro seems to be done properly (tested in project from the article above). At the moment I'm out of ideas, I'd be really gratefull if you could look at attached project. ps. I'm new on this forum and I feel sorry if I'm doing anything wrong. Attachmentcomm_eth.zip (358 Downloads) |
This contribution was helpful to
1 thankful Users |
10/29/2012 9:59 PM | |
Joined: 10/7/2005 Last visit: 3/15/2025 Posts: 3042 Rating:
|
Hello 3lancer first of all welcome to the Siemens Forum. Secondly, you are not really doing anything wrong but will nonetheless need to adjust your example program to make it work with PLCSIM. Put simple, PLCSIM (still) only supports the S7-400 related S7 communication Blocks which are all SFB's (see also the list in How do you simulate communication between two CPU modules?). In you case it means you need to replaceFB12 and FB13 with SFB12 and SFB 13(to be found in the System Function blocks library), regenerate the IDB's for them and your comms should work. Note that you do NOT need to change your S7 station to an S7-400 type, PLCSIM doesn't care about this. Should your you want to eventually use your testprogram in realS7-300 PLC's, you must change it back to using FB12 and 13. I hope this helps |
Cheers |
|
This contribution was helpful to
7 thankful Users |
10/30/2012 6:33 AM | |
Joined: 11/8/2011 Last visit: 3/7/2025 Posts: 387 Rating:
|
Thank you fritz its useful |
This contribution was helpful to
1 thankful Users |
Follow us on