I need to create something to read data from a PLC and write it to a SQL database. I mostly work with Siemens (and Sigmatek) and I think OPC-UA would be a good solution.
My problem is that I don't know what the "right" way would be to start with this. With a PLC you sometimes come in contact with C or C++ (I always forget which one). So I think that would be a good starting point, but a good connection to an SQL-database would be very handy. That's where things gets blurry for me.
In the past I made some code (in C#) to read data from an OPC-UA server (on a Sigmatek PLC). Once I was able to read the data in C# it was easy to visualise it with a windows form application and export the data to an excel-file.
I want to start a "project" to learn how to get my data from the OPC-Server, into an SQL-database, generate a report (and create a GUI).
I'm hoping to get a good starting points, suggestions on which programming language to use and maybe a good read that gives me a better understanding of what I'm working with.
Thanks in advance!
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…