7/30/2016 12:21 AM | |
Joined: 9/27/2006 Last visit: 3/26/2025 Posts: 12344 Rating:
|
Hello milovjani; In the following discussion, our friend fritz has provided some very important information that could be helpful in your project: how to communicate between CPU315-2DP with CP 343-1 lean and IM151-8 PN/DP CPU https://support.industry.siemens.com/tf/ww/en/posts/48362/ Hope this helps, Daniel Chartier |
This contribution was helpful to
3 thankful Users |
8/1/2016 10:54 AM | |
Joined: 3/5/2014 Last visit: 8/5/2022 Posts: 5521 Rating:
|
hi, from CPU-CPU Communication with SIMATIC Controllers: Communication is possible, but the S7-300 have to be server for the IM151-8, so the blocks have to be used in the IM151-8 As you can see, also the T-Blocks are possible. For this blocks you don´t need to establish a connection over NetPro. It is a programmed connection. TCON will establish the connection and TSEND and TRCV are for sending and receiving. hope this helps, regards, |
Last edited by: mopS04 at: 8/1/2016 10:57:53 AMFCK WAR! |
|
This contribution was helpful to
1 thankful Users |
8/2/2016 2:52 AM | |
Joined: 10/7/2005 Last visit: 3/27/2025 Posts: 3043 Rating:
|
Hello milovjani definitely not OK, please copy FB14 "GET" and FB15 "PUT" from the "Standard Library --> Communication Blocks" and your problem shall (hopefully) be solved (your IM151-8 does have SFB14/15 which are called by FB14/15). Have a look too at How do you program communication Blocks FB14 GET and FB15 PUT for data exchange in the S7 Program of an S7-300 CPU? for more on this. |
Cheers |
|
This contribution was helpful to
3 thankful Users |
8/3/2016 3:59 AM | |
Joined: 10/7/2005 Last visit: 3/27/2025 Posts: 3043 Rating:
|
Ok, this is a bit weird, but I can assure you that FB14/15 (GET/PUT) will (have to) work in an IM151-8 CPU (used them myself in it). Can you please (double) check the following: 1.) Did you copy the latest version of FB14/15 from the "Standard Library --> Communication Blocks"? 2.) What is the part number of your IM151-8 and Firmware? In case you have V3.2, you can try to use FB34 "GET_E" and FB35 "PUT_E" instead of FB14/15 (both have to work though and both use SFB14/15 internally, see also IM151-8 V3.2 product release for more) 3.) Can you note down/take a screendump of the exact error message you get when trying to download FB14/15? I'm honestly at a bit of a loss trying to explain what is going on here, may be worthwhile you start a separate support request directly with Siemens and keep us posted. |
Cheers |
|
This contribution was helpful to
1 thankful Users |
Follow us on