12/16/2022 9:52 AM | |
Joined: 6/1/2020 Last visit: 7/29/2024 Posts: 40 Rating:
|
Hello. I know perhaps it is a bit old quesetion, but I am facing the same problem now. I was thinking in a solution like is asked in the original post, but it seems it will not work in a real panel. But then I was thiking in another solution, create a C# application that could access to the tags in the panel and save it in a Sql Server databse. For that I was thinking in an OPC client in C#, that polls the tags in the panel every second or the time that I need. Does it could be a solution to save the data in a database instead of using CSV files? ------------------------------------------------------------------------------------------ |
Last edited by: Jen_Moderator at: 12/29/2022 07:21:17New subject after splitting |
|
12/29/2022 9:16 AM | |
Joined: 6/1/2020 Last visit: 7/29/2024 Posts: 40 Rating:
|
Thanks for the suggestion. Poll to the HMI it is another option, or perhaps I could subscribe to the item to be notified when the item changes, instead of polling, so I could improve the performance. Anyway, to develop a OPC client it is a good option. One doubt about this is how to handle the case in which the PC client or the network is down. I would lose records until the PC can poll again the HMI. If use CSV, with HMI Options+, the CSV file is saved first in the SD card of the panel, copy to the remote PC and delete if the copy is succesful, so at first it is something to take in account. But yes, I like more the option to develop a OPC client that polls the HMI. Another doubt is about the kind of license of OPC UA library. In the case of S7NetPlus you comment that is is free for commercial use, because it is under MIT license, but if I search in nuget.org for OPCFoundation.NetStandard.Opc.Ua.Client the license is under MIT too, and it tells:"
|
Last edited by: GTSAGarcia at: 12/29/2022 09:17:33 |
|
Follow us on