9/8/2010 3:08 PM | |
Posts: 8 Rating: (0) |
J_Bell, thanx for quick reply I am sorry, my post was a little bit frustrated... I have the same problem as algudkar describe in his first post, I have ethernet connection of s7 315 CPU with 343-1 lean and IM115 CPU, and network configuration is fine. I use FB14/FB15 function blocks for commucation and different DB's. But problem was with testing, and now we solwed it by upgrading PLCSim 5.3 to 5.4 + SP3 Best regards |
This contribution was helpful to1 thankful Users |
9/9/2010 9:04 AM | |
Joined: 3/21/2006 Last visit: 4/25/2024 Posts: 10228 Rating: (1181)
|
Hello, Look at How do you simulate communication between two CPU modules?
|
This contribution was helpful to1 thankful Users |
9/9/2010 11:39 AM | |
Posts: 8 Rating: (0) |
UMENCHO, thanx for link. in that example there is communication between two 400 CPU's and it works. i changedSFB12 BSEND/SFB 13 BRCV to SFB14/SFB15(GET/PUT)and itworks too. now my QUESTION is: it is possible tosimulate in PLCSim 5.4 SP3 communication between 315 CPU with 343-1 lean and IM115 CPU (SFB14/SFB15 can be used only in s7 400 CPU, and PLCSim don't support FB14/FB15 simulation)???alsois there a problem in PLCSim with CP 343-1 lean??? Regards |
Last edited by: OlehHulyk at: 9/9/2010 2:12 PMLast edited by: OlehHulyk at: 9/9/2010 2:04 PM |
|
9/9/2010 4:12 PM | |
Joined: 3/21/2006 Last visit: 4/25/2024 Posts: 10228 Rating: (1181)
|
S7-PLCSIM does not support communication that is implemented over CP modules. About FB14 and FB15 look at answer of our expert here fritz:
Hope this helps. Best regards, Hristo Mihalev |
This contribution was helpful to2 thankful Users |
9/10/2010 3:44 PM | |
Joined: 10/7/2005 Last visit: 5/11/2024 Posts: 3005 Rating: (1047)
|
Hello OlehHulyk
You do NOT need to change your HWconfig to an S7-400. PLCSIM does not care about the configured CPU type (PLCSIM behaves like a400 anyhow, e.g. it has 4 accumulators etc.). You will/must however change the FB14/15 GET/PUT calls to SFB14/15 GET/PUT calls in your in your IM151-8 PN CPU program.
Leave CPU315-2DP with CP 343-1 lean HWconfig as is and test your SFB14/15 call in your IM151-8 PN with it in PLCSIM, it will (have to) work. I hope this helps P.S: Do NOT forget to change the SFB14/15 back to FB14/15 when you get your "real" CPU's. Using the SFB's is only done to overcome the current "shortcomings' of PLCSIM (one can hope that the 300 comms FB's will be supported in future versions). |
Last edited by: fritz at: 9/10/2010 3:49 PMAdded PS Cheers |
|
This contribution was helpful to1 thankful Users |
Follow us on