(0)| 6/3/2023 8:07 PM | |
|
Posts: 2 Rating:
|
Trying to integrate a new S7-1500 to an existing S7-300 PLC. Using the S7-1500 as an I/O Device. Trying to send some simple boolean tags between the two PLC's, only status indicators of various processes. Followed all of the steps in this document: Configuration and Application of the PROFINET I-Device Function - ID: 109478798 - Industry Support Siemens (I-device in a standard environment) The only step I was unable to complete is the PNEI_SEND and PNIO_RECV as I could not locate the instructions in Simatic Manager (S7-300) or in the TIA Portal (S7-1500). I set up the S7-1500 as an I/O device, set up the bytes addresses, and generated the GSD file. I installed the GSD file in Simatic Manager and set up the tags as I wanted it. For testing, I generated tags 46.0 and 48.0 as an input and an output. The S7-300 OUTPUTS (Q46.0 and Q48.0) show up perfectly in the TIA Portal, the I46.0 and I48.0 bits turn on perfectly. Having much more trouble with the outputs from the S7-1500. The outputs from the S7-1500 to the S7-300 do not seem to register. I set up a simple dummy program in the S7-300 where: I46.0 ON AND I48.0 ON = Output Q48.0 ON However, I48.0 on the S7-1500 in TIA Portal never turned on. If I force the bit Q48.0 on the S7-300, the input I48.0 in TIA turns on and off correctly. Do you have any advice about what might cause this issue? I don't have any duplicate tag addresses, there is nothing that is turning the S7-1500 outputs off, and nothing that is overwriting the S7-300 inputs. I even deleted other tags only to be sure. Thank you in advance for your help. |
| 6/3/2023 8:52 PM | |
|
Joined: 9/27/2006 Last visit: 1/2/2026 Posts: 12479 Rating:
|
Hello; In your description, you do not mention the use of a IE CP343-1? To setup a CP 343-1 as an IO Controller (note: a CP 343-1 Lean cannot work as IO Controller) or IO Device, you must use the special functions PNIO_SEND (FC11) and PNIO_RECV (FC12), You will find these blocks in the "SIMATIC_NET_CP" library of the S7-300 controller. See this document for information: https://support.industry.siemens.com/cs/ca/en/view/31764614 If you are using the Profinet integrated port of the S7-300 as an IO Controller, this article shpwws you an example of the required settings : https://support.industry.siemens.com/cs/at/en/view/109476499 Finally, you cannot exchange I/O bits between partners with Profinet or Profibus-DP. The smallest amount of data you can exchange is a byte. Hope this helps, Daniel Chartier |
Follow us on