AdvancedHMI Software
General Category => Application Showcase => Topic started by: Mikefly95 on April 15, 2016, 09:53:08 AM
-
Well on the project i have up and coming i have to send info and store data in so many ways Desk Top app, Web and eventually mobile devices!! And all has to be routed through an OPC Server.
After some research, learning and trial and error i am on the right path!!
I started with AHMI solution and added WCF and then just a console app. I am just starting to develop this but thought i would post some info in case anyone has some ideas or suggestions. When complete it will be able to connect what i call the black box to the OPC server and then from there i can request the data from and send data back from any platform!! This could be easily configured to communicate directly with PLC's but due to where i work the Process Engineers say i have to use the OPC so they can limit access primarily on writes so i am not dumping a ladle full of molten steel on someone, so i see there point :) the screen shots i a attached are of the Matrikon OPC simulator. Any questions or comments please go for it!!
-
Screen shot
-
Short video of write and read. Hopping that it is just the OPC sim that is on the slow side
https://youtu.be/pE6uz8AaUks
-
Web Based
https://youtu.be/Nr-CTnt58ak
-
It is saying the videos are private.
-
Oh shoot let me fix that
-
Should be ok now.
-
First basic live test!!
Using MS SQL Server and Matrikon OPC.
Basic Console application Reads the Values and compares them with the Set Point Values in the DB and if they do not match it updates the OPC Value.
https://youtu.be/y03hmz6U6Ws
-
Everything works perfect!! Can connect from any .net application!!! Last time i will post on this unless anyone wants the basic source code to the Black Box part of this!!
-
Mike,
I would like to see the source code for the Blackbox part of this.
I'm thinking this may be useful to me, and am very interested in the details.
Thanks,
Rich
-
Ok I will work on getting it for you over the next couple of days!!
-
Do you need it in VB? Currently in C#.
-
I do most of my development in VB, but C# should be fine.
I can always throw it into an online converter if I have to.
Thanks.
-
I should create a VB version just to make it easier for anyone that wants to use it. Give me a bit and i'll get it put together and uploaded to a repository.
Mike
-
Just a quick update while i have a min.
The Black Box has been running for quite some time now, connecting to it is a basic console app that fires every minute and updates any necessary tags based off of a comparison with a the data base. The HMI looking desktop app has stayed pretty much the same with a few dials showing over all power consumption. I plan on expanding the project to some scales and feeders and take it as far as i can. I want to get the source code pushed out somewhere when i get some time but not sure when i would be able to convert it to VB sorry :(
Mike
-
Working nice with a Web app!!