Simple HMI with C# and WPF part 1: create a UI and connect to a Siemens S7 plc

  Рет қаралды 49,609

Mesta Automation

Mesta Automation

Күн бұрын

Пікірлер: 40
@FortbloxNET
@FortbloxNET 3 жыл бұрын
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
@yuzhezhou9953
@yuzhezhou9953 7 жыл бұрын
We have a lot in common, I am also applying an HMI application with C# and MVVM pattern. Glad to see your videos.
@chuchuokeke
@chuchuokeke 4 жыл бұрын
This is so rad...just watching you implement the programming constructs i'm learning about in a book is ..🤯..i am enlightened
@a_sava
@a_sava 7 жыл бұрын
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!
@mayconlutz3090
@mayconlutz3090 7 жыл бұрын
Muito legal, eu também utilizo o Sharp 7 com Wpf e obtenho ótimos resultados, muito bom seus videos :D
@solomareds
@solomareds 4 жыл бұрын
Wow, che bravo che sei. Complimenti.
@AdityaKundety
@AdityaKundety 5 жыл бұрын
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)?
@PIDOtomasyon
@PIDOtomasyon 4 жыл бұрын
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.
@ZexDCeu
@ZexDCeu 7 жыл бұрын
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
@chuchuokeke
@chuchuokeke 4 жыл бұрын
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-ve7qr
@tt-ve7qr 2 жыл бұрын
How can we read more bool or integer from db1 without creating struct or Array one by one
@thomashoffmann4504
@thomashoffmann4504 2 жыл бұрын
Very good tutorial. Gracie
@quangtrung1325
@quangtrung1325 Жыл бұрын
sorry, "filling level" doesn't change, can you help me to fix it, please
@materialman9424
@materialman9424 3 жыл бұрын
This is what i wanna exactly find. Thanks.
@younesnaity4126
@younesnaity4126 3 жыл бұрын
hey sir i want to deploiement an application with s7.net how can i do it thank you
@donomeniko
@donomeniko 7 жыл бұрын
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-automation
@Mesta-automation 7 жыл бұрын
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.
@石川さゆり-r1m
@石川さゆり-r1m 6 жыл бұрын
can we possibly make the component ourselve using C# ?
@321zipzapzoom
@321zipzapzoom 4 жыл бұрын
Nicely Explained Brother
@luslus..19
@luslus..19 7 жыл бұрын
Hello Mesta, I do not understand everythink with MVVM framework you do not need Sharp7 or Snap7 librairie ?
@Mesta-automation
@Mesta-automation 7 жыл бұрын
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.
@luslus..19
@luslus..19 7 жыл бұрын
Mesta, Understood, thanks I will work on it !
@krs8595
@krs8595 7 жыл бұрын
Is MVVM open source?
@den3v
@den3v 6 жыл бұрын
ratan singh : looooooooooooooooooooooooooooool !!!!
@khaihoanle5314
@khaihoanle5314 7 жыл бұрын
I want create one the library for my HMI. How do me do?
@xavierdenis2282
@xavierdenis2282 7 жыл бұрын
Hi; thanks for you're videos. Can we retrieve informations from multiples PLC in the same windows ??
@Mesta-automation
@Mesta-automation 7 жыл бұрын
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.
@illusioniste00
@illusioniste00 6 жыл бұрын
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?
@MarekLS60
@MarekLS60 3 жыл бұрын
Realy great stuff...
@karlosebalj7025
@karlosebalj7025 6 жыл бұрын
can you send me tia portal project to see what kind of logic did you make there pls
@claudiodenave
@claudiodenave 4 жыл бұрын
Muito bom! Realmente bem explicado.
@markcjohnsen
@markcjohnsen 7 жыл бұрын
Great video! thank you.
@christian482
@christian482 7 жыл бұрын
what is its better to work with plc in c#, WPF or WinForms?? and why??
@Mesta-automation
@Mesta-automation 7 жыл бұрын
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.
@mehmetturan8500
@mehmetturan8500 7 жыл бұрын
i downloaded but it is not working
@umanleok22a
@umanleok22a 5 жыл бұрын
Thank u so much
@alz4452
@alz4452 5 жыл бұрын
Genius
@giorgiocipriano3334
@giorgiocipriano3334 2 жыл бұрын
Too small the character on the ide environment
@huytruongdinh6456
@huytruongdinh6456 6 жыл бұрын
Woowwwwwww
@den3v
@den3v 6 жыл бұрын
pRRRRReZentaCHion
HMI with C# and WPF part 2: add multiple pages and navigation with PRISM
37:00
Connect to Siemens S7 plc with C# and S7.Net
28:57
Mesta Automation
Рет қаралды 157 М.
REAL or FAKE? #beatbox #tiktok
01:03
BeatboxJCOP
Рет қаралды 13 МЛН
Cat mode and a glass of water #family #humor #fun
00:22
Kotiki_Z
Рет қаралды 33 МЛН
Enceinte et en Bazard: Les Chroniques du Nettoyage ! 🚽✨
00:21
Two More French
Рет қаралды 39 МЛН
BAYGUYSTAN | 1 СЕРИЯ | bayGUYS
37:51
bayGUYS
Рет қаралды 1,6 МЛН
How to record a video with C# - WPF and AForge from a camera.
20:15
Mesta Automation
Рет қаралды 30 М.
How to connect to Siemens S7 plc with C# and Sharp7 library
24:19
Mesta Automation
Рет қаралды 63 М.
An Introduction to HMI/Visualization Programming with CODESYS!
23:24
Scantime Automation & Training
Рет қаралды 12 М.
Create a mobile app with Xamarin Forms that connects to a Siemens S7 plc
17:31
Access data blocks using C# with PLCSIM Advanced - Sharp7
10:38
How to Become a Highly Employable C# Developer in 2024
17:47
Gavin Lon
Рет қаралды 19 М.
Simple C# WPF SCADA Template - Part1
17:27
SCADA IoT
Рет қаралды 15 М.
REAL or FAKE? #beatbox #tiktok
01:03
BeatboxJCOP
Рет қаралды 13 МЛН