omg, this is so crazy. two years ago i watched probably exactly this tutorial series and made a HMI with C# like yours. two years later my brain completely reset itself. i didnt know anything about prism and mvvm, so i tried to learn from scratch. i found my project from two years and was mindblown how i did program that because i have no idea about anything anymore, lol :-D now after some searching i found t his video AGAIN and i guess i have to start from scratch again....this is so weird :-D it was just a hobby project for me :-) lol
@yuzhezhou99537 жыл бұрын
We have a lot in common, I am also applying an HMI application with C# and MVVM pattern. Glad to see your videos.
@chuchuokeke4 жыл бұрын
This is so rad...just watching you implement the programming constructs i'm learning about in a book is ..🤯..i am enlightened
@a_sava7 жыл бұрын
Brilliant tutorial Man! 5+ Previously I have made few simple HMI using Delphi + libnodave, but when I tried to repeat the same thing with c # + wpf + mvvm, i'm always stuck on different steps. Finally I put it to better times. Your tutorial explained me many things about mvvm that was unclear. Keep going!
@mayconlutz30907 жыл бұрын
Muito legal, eu também utilizo o Sharp 7 com Wpf e obtenho ótimos resultados, muito bom seus videos :D
@solomareds4 жыл бұрын
Wow, che bravo che sei. Complimenti.
@AdityaKundety5 жыл бұрын
Thank you for your work. With your help the first step to MVVM has been comfortable. Would it be possible to do a binding programmatically bind a variable on the View class to the viewmodel property (not in xaml but in c# class)?
@PIDOtomasyon4 жыл бұрын
Hi, If plc bit On I want see ON-OFF in c# and make a trigger for saving actual data to database. can you help me please.
@ZexDCeu7 жыл бұрын
Does Sharp7 offer the same functions that Siemens Create MyHmi .NET package has? In particular does it have event callback on plc items change? Thanks
@chuchuokeke4 жыл бұрын
hmm HMI on .NET .. are there cheaper HMI's on the market than Siemens KTP models? Do these cheaper HMI's have IE/ProfiNET ports? just wondering...
@tt-ve7qr2 жыл бұрын
How can we read more bool or integer from db1 without creating struct or Array one by one
@thomashoffmann45042 жыл бұрын
Very good tutorial. Gracie
@quangtrung1325 Жыл бұрын
sorry, "filling level" doesn't change, can you help me to fix it, please
@materialman94243 жыл бұрын
This is what i wanna exactly find. Thanks.
@younesnaity41263 жыл бұрын
hey sir i want to deploiement an application with s7.net how can i do it thank you
@donomeniko7 жыл бұрын
Hello Michele, i'm interested how fast would be your HMI application in case to communicate with 5-10 CPU connections, and around 4k-15k Tags? Do you have had something like that? I really appreciate your work and thank you for examples you are sharing with the community.
@Mesta-automation7 жыл бұрын
Very short reply, but take a look in the next days on my website, as I'm writing an article to explain more in details. Regarding the User Interface part, with WPF you are choosing the best technology available at the moment for desktop applications. About the drivers, you can choose between OPC servers or external libraries. In case of external libraries, the driver is as fast as you can optimize the data that you have to read. The less TCP requests you do, the faster your refresh time can be. But always take into account the network balance in case of multiple plc. My standard scan time is 100ms. For big applications it can be increased if there is the need, but I would rarely go above 200 ms.
@石川さゆり-r1m6 жыл бұрын
can we possibly make the component ourselve using C# ?
@321zipzapzoom4 жыл бұрын
Nicely Explained Brother
@luslus..197 жыл бұрын
Hello Mesta, I do not understand everythink with MVVM framework you do not need Sharp7 or Snap7 librairie ?
@Mesta-automation7 жыл бұрын
This project uses Sharp7 library to communicate with the plc. WPF is used for the graphic, and MVVM is the pattern that it's reccomended to use when developing with WPF, or XAML in general. There are plenty of tutorials on youtube and on internet in general about MVVM.
I want create one the library for my HMI. How do me do?
@xavierdenis22827 жыл бұрын
Hi; thanks for you're videos. Can we retrieve informations from multiples PLC in the same windows ??
@Mesta-automation7 жыл бұрын
Yes, of course you can. In this video I used a single plc service and I called it S7PlcService. In case of multiple Plc I would create multiple services, and name them with meaningful names. Then in the ViewModel I would use the services that I need. I will talk about this in the next videos.
@illusioniste006 жыл бұрын
Great efforts. I'm happy to see what you are doing, and you helped me a lot. I'm working on a project that will involve entity framework and snap7. It's a kind of refactory for my old project based on wincc and sql server with wincc VB commands. I'd like to protect the logics inside the PLC, and for that reason I'm writing all my Grafcets on Csharp using PropertyChanged events. Anyway, I just want to ask you if you think it is a good idea?
@MarekLS603 жыл бұрын
Realy great stuff...
@karlosebalj70256 жыл бұрын
can you send me tia portal project to see what kind of logic did you make there pls
@claudiodenave4 жыл бұрын
Muito bom! Realmente bem explicado.
@markcjohnsen7 жыл бұрын
Great video! thank you.
@christian4827 жыл бұрын
what is its better to work with plc in c#, WPF or WinForms?? and why??
@Mesta-automation7 жыл бұрын
I use WPF and in my website I talk only about WPF. Personally of WPF I like XAML, MVVM and how easy is to create customized controls and applications, once you learned the foundamentals. You can google WPF vs WinForms if you are looking for more details.