Ask our Experts
Didn't find what you are looking for? Ask our experts!
Launch of Consumer/Home Owner registration process! We are pleased to announce the commencement of the Consumer/Home Owner Registration Process on Community. Consumers/Home Owners may now proceed to register by clicking on Login/Register. The process is straightforward and designed to be completed in just a few steps.
A forum for topics related to the scope of Modicon PAC offers and ecosystem along the whole lifecycle: Modicon M580 and 340, EcoStruxure Control Expert, EcoStruxure Process Expert (Unity Pro) and more.
Search in
Posted: 2021-06-10 03:46 AM
Link copied. Please paste this link to share this article on your social media post.
Posted: 2021-06-10 03:46 AM
Dear SE Community,
As mentioned in the title, my objective is to log data from the PLC Modicon M340 to SQL Database using OFS (OPC Factory server),
Is it possible?
How to do it?
Thanks in advance.
Link copied. Please paste this link to share this article on your social media post.
Link copied. Please paste this link to share this article on your social media post.
Posted: 2021-06-11 07:40 AM
Hello Fatima95,
OFS (OPC Factory Server) is an OPC-Server, which does not act on itself. You need an OPC Client that reads data through the OPC-Server from the M340, and push the data to the SQL server. This OPC client can be software like a SCADA for example EcoStruxure Machine SCADA Expert,
Link copied. Please paste this link to share this article on your social media post.
Link copied. Please paste this link to share this article on your social media post.
Posted: 2021-06-16 02:31 AM
Hello Mr. RoozeeR,
First of all, I want to thank you for your response.
I do use the OFS client to read data from the PLC (as mentioned in the picture below), what I ask for is how to log these data from the OPC client to a SQL database,
Regards.
Link copied. Please paste this link to share this article on your social media post.
Link copied. Please paste this link to share this article on your social media post.
Posted: 2021-06-16 02:55 AM
Hello Fatima,
The OFSClient (= OPC test client), can be used to read/write data from an OPC server (OFS), but has no functionality to push this data to an SQL database. You need an OPC client to READ OPC data and store this to a SQL database, by example EcoStruxure Machine SCADA Expert.
Link copied. Please paste this link to share this article on your social media post.
Posted: 2021-06-16 03:20 AM . Last Modified: 2021-06-16 03:23 AM
Link copied. Please paste this link to share this article on your social media post.
Posted: 2021-06-16 03:20 AM . Last Modified: 2021-06-16 03:23 AM
I got it,
I use Citect SCADA for supervision in this project,
Do you suggest any solution for my case, cause it's my first experience with OPC.
Many Thanks.
Link copied. Please paste this link to share this article on your social media post.
Link copied. Please paste this link to share this article on your social media post.
Posted: 2021-06-16 05:42 AM
You can use Citect SCADA to retrieve the OPC data and send data to an SQL server.
Link copied. Please paste this link to share this article on your social media post.
You’ve reached the end of your document
Create your free account or log in to subscribe to the board - and gain access to more than 10,000+ support articles along with insights from experts and peers.