sherifmsak
Member
How could I connect CPU Siemens 319-3 PN/DP to a SQL database server? How could I make this PLC writes and reads data to and from SQL server database. Is this possible? Thank you.
I am qurious - do you have a list price ?just the opposite- its very easy!
No pc needed- just send the data to the database. Ive used it
The most 'regular' way of doing it, would be to let an OPC server (Simatic Net for ex.) connect to the S7 PLC, and let an OPC client for SQL connect to the database.
Notice that some OPC clients for databases are mostly aimed at logging data from the PLC to the database.
One OPC client for SQL that works in both directions is Inductive Automations FactorySQL (maybe by another name by now).
I think there was also something about a more direct way of sending SQL queries via ethernet directly from the S7 PLC. Cant seem to find it now.
Aha, that is interesting to know. I think that is a nice price reduction. It used to be 2000$ for FactorySQL.Jesper - It's Ignition these days . The SQL Bridge module is what used to be FactorySQL. Going that route you would purchase the "limited SQL Bridge" module for $950 (list). I think the free OPC-UA driver would cover the connection - I'm not familiar with the referenced "Siemens 319-3 PN/DP" but it works with most S7 PLCs.
Aha, that is interesting to know. I think that is a nice price reduction. It used to be 2000$ for FactorySQL.
About OPC UA, are you sure you can connect directly to an S7 PLC ?
I thought that you have to go via Simatic Net which also supports OPC UA.