5/27/2010 10:16 PM | |
Joined: 9/27/2006 Last visit: 4/27/2025 Posts: 12347 Rating:
|
Hello b.ahmad; For OPC connections, you would have to use no program blocks. You would have to use a OPC client in the PC ( you will need a Siemens processor for your CP, and the driver to access it; the OPC clent will connect to the driver) to collect data from the OPC server in the PLC. You could have a look at the Simatic Net OPC client and server, they come on the Simatic Net CD. Sample programs can be found here: http://support.automation.siemens.com/WW/view/en/38015833 Also, your question seems to show that you have little experiemnce using OPC. Might I suggest that you look at the following quick and dirty tutorials from Matrikon, they would go a long way to explain the mechanisms of OPC: http://www.matrikonopc.com/resources/opc-tutorials.aspx Hope this helps, Daniel Chartier |
This contribution was helpful to
1 thankful Users |
5/28/2010 10:04 AM | |
Joined: 12/9/2009 Last visit: 4/18/2024 Posts: 156 Rating:
|
Hello , you can use for example S7 connection to exchange data between PC station and IM151-8 PN/DP CPU via Industrial Ethernet or POFIBUS. The SIMATIC NET PC software delivers the OPC server. The following sample programs show the configuration of an S7 connection for the SIMATIC NET OPC server to exchange data via Industrial Ethernet or PROFIBUS. 1. http://support.automation.siemens.com/WW/view/en/15355168 2. http://support.automation.siemens.com/WW/view/en/15364951 Good Luck Little Holmes |
Last edited by: little holmes at: 5/28/2010 10:04 AM |
|
5/28/2010 2:38 PM | |
Joined: 9/27/2006 Last visit: 4/27/2025 Posts: 12347 Rating:
|
Hello Bilal; You can use the Profinet port of your IM 151-8 PN/DP to establish an Industrial Ethernet connection, no need for an IE CP in your case. In the PC, you will need a Siemens driver (as I said before, the Simatic Net OPC client will connect to it), possibly a PC CP. You will also need a network setup, with Cat 5E (or higher) cabelke and switches, of course, for the physical connection of the PC and the PLC. Have a look at the following FAQ that specifies what is needed for OPC connections over IE or Profibus: http://support.automation.siemens.com/WW/view/en/8782948 Have you looked at the suggested tutorial from Matrikon? You should understand OPC topics, OPC server/client and exchanges before you set out on this path. Also have a look at the following attachment, from an older version of WinCC I'm afraid, but the basics are still valid: it shows how to install a CP 1413 in the WinCC PC (now replaced by a CP 1613) and how to setup the Simatic Net drivers for it; how to configure the PLC for the OPC exchanges (mostly, they setup a changing value in one DB register, that will be monitored in WinCC using OPC); and how to create the OPC topics that will allow exchange of data between the WinCC PC and the S7 PLC through OPC. This should give you enough information to start your own project properly. Hope this helps, Daniel Chartier AttachmentWinCC_S7_OPC.pdf (332 Downloads) |
Last edited by: dchartier at: 5/28/2010 6:01 PMAdded the WinCC-S7 through OPC document Last edited by: dchartier at: 5/28/2010 2:45 PM |
|
5/15/2020 8:50 AM | |
Joined: 1/1/2017 Last visit: 4/27/2025 Posts: 340 Rating:
|
Thanks DChartier! |
Follow us on