9/10/2010 2:01 PM | |
Joined: 10/7/2005 Last visit: 8/27/2024 Posts: 3018 Rating:
|
Hello OlehHulyk let's start with some general comments before we get to your specific questions: A CP343-1 LEAN can ONLY act as aServer for S7 connections but can NOT be a Client. What this means is that it can accept and "serve" GET/PUT request that are made in another PLC, but you condem your CP343-1 LEAN related CPU to be a passive partner (there will not and can not be anyGET/PUTcalls in it, its operating system will however take care of "serving"the incoming GET/PUT requests). It also means that the configured S7 connection is a so called "unilateral" one (it is only configured and downloaded into the IM151-8 PN CPU). BSEND/BRCV or USEND/URCVcan furthermore NOT be used (they would require a bilateralS7 connection and Client functionality and you can find out more about this HERE) FC 5/6 (AG_SEND/AG_RECV)can be used in your CP343-1 LEAN related CPU (e.g. for ISO on TCP or TCP or UDP connection). FC 5/6 (AG_SEND/AG_RECV)can however NOT be used via an onboard PN interface (which you have on the partner IM151-8 PN CPU). You can however use the so called Open Ethernet communication Blocks (the "T" blocks) for PN CPU's to do ISO on TCP or TCP or UDP based comms. What does this all mean for your questions: 1. FB 14/15 (GET/PUT) ??? YES and this will be your simplest options if you do not need to exchange too much data(GET/PUT will onlybe called in the 151-8 PN CPU and the S7 connection is only configured in it too, your CP343-1 LEAN related CPU will be a passive partner) 2. FC 5/6 (AG_SEND/AG_RECV) ??? Sort of yes, FC 5/6 can be used in the CP343-1 LEAN related CPU,TCON, TSEND & TRCVmust beused in the 151-8 PN CPU(thsi will be quite a configuration intensive solution though). 3. FB 12/13 (BSEND/BRECV) ??? NO (requires a bilaterally configured connection which requires Client functionality which the CP343-1 LEAN does NOT have). Last but not least, here are a few hopefully helpful links: What differences exist in the 300-series Industrial Ethernet CPs? Which communication services are supported by CPUs with an integrated PN interface? What properties have the communication services and protocols that can be used in the Industrial Ethernet network? What are the commonalities and differences between configured communication connections and the open Ethernet communication? I hope this helps |
Cheers |
|
This contribution was helpful to
14 thankful Users |
1/26/2011 10:23 AM | |
Joined: 10/7/2005 Last visit: 8/27/2024 Posts: 3018 Rating:
|
Hello RTK you may also find the following link useful (in you case you select the IM151 CPU in Netpro and configure a link to an "unspecified" partner, which is the S7-300 with the CP343-1 LEANeven though it resides in the same S7 project). What should you watch out for when configuring an unspecified S7 connection for data communication between an S7-300 and an S7-400? I hope this helps |
Cheers |
|
This contribution was helpful to
1 thankful Users |
1/26/2011 3:16 PM | |
Posts: 5 Rating:
|
Thank you guysso much !! |
This contribution was helpful to
2 thankful Users |
12/4/2020 4:17 PM | |
Joined: 10/30/2017 Last visit: 2/17/2022 Posts: 8 Rating:
|
Hi there everyone, I need to configure this type of communication. I readed pritz information (well done) and tried to configure the PUT function. Unfortunately, the PUT block is always returning me the ERROR bit with the STATUS "1". Can somenone see my configurations and help me understand what I am doing wrong? (see attached file) Thank you for you time and help. Best regards. AttachmentAnnexed printscreens.pdf (262 Downloads) |
Follow us on