1/26/2019 12:35 AM | |
Joined: 9/27/2006 Last visit: 11/18/2024 Posts: 12296 Rating: (2691) |
Hello Jiri; Before you begin such a project you must answer certain questions: how much data do you want to send from the S7-300, at what interval, what link will you use between the PLC and the PC (Ethernet?) and what container will you have in the PC to retrieve and organize the data? There are various ways to communicate with a PC, as you can see from the first link below. Specific functions exist for TCP/IP, UDP,Profinet, Send-Receive data transfers. But OPC is thone of the most common (and easier) way to exchange data between PLCs and PCs. Note that DDE is considered a primitive development of OPC, it was much slower and difficult to setup. Use OPC instead. Look it up, for example here: https://control.com/thread/1026174662 If your PC container is Excel, for example, there are S7 controls you can download and incorporate to Excel to make exchanges using OPC very easy. Or you can consider OPC DA exchanges, as explained in section 3,2 of the first link below.. If you are conversant with Visual Basic.NET, you could develop your own GUI and OPC client to gather data from a S7-300; look into the third link below. - SIMATIC NET PC software Industrial Communication with PG/PC Volume 1 - Basics System Manual https://support.industry.siemens.com/cs/ww/en/view/77376110 See section 3,.2, Data Access - How do you incorporate the S7 controls in Microsoft Excel? https://support.industry.siemens.com/cs/ww/en/view/23931842 - OPC Communication via the SEND/RECEIVE Protocol with a Visual Basic .NET OPC Client https://support.industry.siemens.com/cs/ww/en/view/21523291 Tell us if these options do not meet your requirements, of if you need more help. Hope this helps, Daniel Chartier |
1/28/2019 12:12 PM | |
Posts: 1368 Rating: (127) |
Hello Hanka, If you want to store and process only few, essential PLC data on PCs and do not need opc, you can use the TCP Fileserver. https://support.industry.siemens.com/cs/ww/en/view/109475508 The application example consists of the following components:
The solution was realized for S7-300, S7-1200 and S7-1500 CPUs. Perhaps another possibility for you (and much easier:-)) |
This contribution was helpful to1 thankful Users |
4/26/2023 10:35 PM | |
Joined: 9/16/2022 Last visit: 4/26/2023 Posts: 3 Rating: (0) |
Hi! Is there any site where I still find these kind of information in 2023? Thx, |
Follow us on