9/2/2020 2:59 PM | |
Posts: 6 Rating: (0) |
Hi Denilson I need to transfer data from a PN/PN Coupler located on the clients PLC system to our Schneider PLC over Modbus TCP/IP. I don't think it is possible to do this directly but am looking into using something like the Modbus TCP/IP to PROFINET® Device Gateway - PLX32-MBTCP-PND or Anybus X-gateway - Modbus TCP Server - PROFINET-IRT Device. However, both of these converters appear to be Profinet 'Devices' and you seems to state that the Coupler is also a Profinet 'IO Device'. Therefore I am concluding that they might not provide the solution that I require. Can you please confirm and advise a potential solution if possible. Thanks Russell ------------------------------------------------------------------------------------------ |
Last edited by: Jen_Moderator at: 09/03/2020 08:30:10New subject after splitting |
|
9/2/2020 3:46 PM | |
Joined: 9/27/2006 Last visit: 6/7/2024 Posts: 12260 Rating: (2670) |
Hello Russel; Both Profinet and Modbus TCP share the same TCP/IP physical layer, so they can be used together on the S7-1200/1500 Profinet port. Since the S7-1200 and S7-1500 both have Modbus TCP functions (MB_Client and MB_Server) in their instruction sets, you could simply establish the connection to your Schneider equipment (as yet unnamed) using Modbus TCP without a geteway. You can choose to work with the Anybus gateway if you wish, Anybus makes good industrial equipment.. But we generally use gateways when there is no other option, since adding equipment for communications adds complexity and another possible point of failure in the design. See these links for additional information: PROFINET TCP/IP and Modbus TCP/IP How do you program and parameterize Modbus/TCP communication between S7-1500 CPUs and S7-1200 CPUs? https://support.industry.siemens.com/cs/cn/en/view/102020340 How do you address the memory areas in the SIMATIC S7-1200/S7-1500 and in the Modbus device in the case of Modbus/TCP data communication? https://support.industry.siemens.com/cs/cn/en/view/100633819 SIEMENS S7-1200 comms to SCHNEIDER M221 by MODBUS TCP/IP (Youtube video): https://www.youtube.com/watch?v=9UeQx_lz4WA Hope this helps, Daniel Chartier |
This contribution was helpful to1 thankful Users |
9/3/2020 8:29 PM | |
Joined: 9/27/2006 Last visit: 6/7/2024 Posts: 12260 Rating: (2670) |
Hello Russel; Finding a solution to your stated problem is proving difficult, for me at least. In the Profinet world there are IO Controllers (equivalent to masters) and IO devices (slaves). Normally an IO controller exchanges data with one or more IO devices , using a strict configuration of the data to be exchanged. Normally 2 IO Controllers cannot talk to each other, neither can 2 IO devices. A PN/PN coupler is an equipment that consists of 2 separate but interfaced IO devices that are used to connect each to a different IO Controller so that the IO Controllers can exchange data between them, using Profinet. Note that both sides of the PN/PN coupler act only as IO Devices (for Profinet). They cannot be configured for Modbus TCP exchanges, as servers; your idea of using a Modbus TCP gateway or CPU to reach them is not possible, I believe. Now, in your project description, you mention that your S7 CPU (acting as IO controller on the packaged plant) will come with a PN/PN coupler. That would indicate that there is expected to be another IO Controller either in the machine or somewhere in your project, waiting to connect the 2 IO controllers. Or is it that the part I am missing here: is it expected that you use your new CPU as an IO Controller to connect to the PN/PN coupler and exchange data between the 2? Before we can go further, we would need a sketch of your final project, showing the CPUs involved, taking into account that the Modbus TCP connection to the PN/PN Coupler is not possible.If your CPU is a potential IO Controller, and you know the configuration that the S7 IO Controller (in the packaged plant) has already inserted on its side of the PN/PN coupler), then we can make it work, I believe. In the meantime, please have a look at thios paeg from the PN/PN coupler manual, showing how it can function as a shared device connecting up to 3 disfferent IO controllers, this might be another possibility we could look at, depênding on your project configuration: https://support.industry.siemens.com/cs/ww/en/view/44319532/114018159755 Hope this helps, Daniel Chartier |
9/4/2020 1:18 PM | |
Posts: 6 Rating: (0) |
Thanks Daniel, To clarify, our system has a M340 Schneider PLC with Modbus TCP/IP comms and also a SCADA type system that also communicates over Modbus TCP/IP. We need either the SCADA or M340 PLC to communicate in both directions with a 3rd party system. We have very little knowledge of the 3rd party system except that they have installed a PN/PN Coupler that we have been asked to communicate with to read 808 registers (PAW 0 - 806) and write to 16 registers (PEW 0-14). I can provide a little bit more information on this if we can communicate privately. My understanding is that the Prosoft PLX82-MBTCP-PNC is a 'Controller' (unlike most other Gateways on the market that seem to be slaves!) on the Profinet network and therefore I would expect it to be able to communicate with the Profinet Coupler which is a slave device. I have attached the datasheet for the Prosoft Gateway. Please let me know your thoughts. Regards R AttachmentPLX82_MBTCP_PNC_Datasheet.pdf (36 Downloads) |
9/4/2020 3:21 PM | |
Posts: 6 Rating: (0) |
Thanks Daniel, Yes, I have been in touch with Prosoft (on both sides of the pond) and both think this Controller Gateway should do the job. Regards Russell |