Тёмный

Create the Modbus Master GUI in 10 Minutes using EasyModbus Library 

Programming with Ardit
Подписаться 560
Просмотров 55 тыс.
50% 1

Windows Modbus Master Program (Microsoft .NET)
🚀 Learn: How to create a Windows Modbus Master Program using Microsoft .NET
👍 Subscribe for more Modbus tutorials like this.
TABLE OF CONTENT
00:00:00 Introduction
00:00:28 Installing Visual Studio 2019
00:01:35 Installing Modbus Simulator
00:02:04 Downloading EasyModbus Library
00:02:43 Your first Visual Studio Program
00:03:22 Your first Modbus Program to control a Coil (ON)
00:05:30 Installing com0com Emulator
00:06:12 Configuring Virtual Serial Port Driver
00:07:24 Your first Modbus Program to control a Coil with two Buttons (ON and OFF)
00:08:41 Your first Modbus Program to control two Coils (ON and OFF)
00:09:33 What we will create at the end of the course (Next tutorial)

Опубликовано:

 

21 июл 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 34   
@marknemudrov2458
@marknemudrov2458 27 дней назад
Hi, I am very impressed with the work you have done. I hope someday there will be a sequel where you will show the full functionality of the program and how you implemented it.
@guntergrauberger8838
@guntergrauberger8838 2 года назад
Thank you for the vid. Appreciated
@ErwinDirecto
@ErwinDirecto Год назад
Thank you very much, it helps me understand VBA on modbus connection.
@emirhankarakurt5676
@emirhankarakurt5676 2 года назад
nice video. You should continue this series of videos.
@youngmediageeks
@youngmediageeks 2 года назад
Great job. Thanks
@vanguard5021
@vanguard5021 Год назад
Thank you for introducing Modbus communication.In the case of using RS485,can I set up communication by implementing same way?
@Alxhlop
@Alxhlop 2 года назад
Nice video, maybe do you know how to add "Poll Count" and "Error Count" when reading "Holding registers" ?
@kizuGi
@kizuGi Год назад
Great tutorial , can you do this with read Holding registers from any device, read int real longint values with options swap bytes etc. With this library
@abeshinzo3516
@abeshinzo3516 2 года назад
Thanks!
@zeuszemus9925
@zeuszemus9925 3 года назад
I am getting such System.Stackoverflow.Exception error. Form1 does not open. What is the reason? Help Me
@anshuman2952
@anshuman2952 5 месяцев назад
The simulated device was connected through Modbus_RTU or Modbus_TCP? As far as I understand the simulator was for TCP, but the way you wrote the code for the Modbus Client in the source code, it seemed to be for a Modbus_RTU device. A clarification would be very helpful. Thanks.
@muniryt
@muniryt Год назад
terimakasih tutorialnya sangat membantu
@maxbd6922
@maxbd6922 2 года назад
in my case on 07:03 second the Rx/Tx is continue do not stop, but your case it is 1/1, what is the mistake on my side? thanks
@programmingwithardit6619
@programmingwithardit6619 2 года назад
Hello @Max BD Your Question is not very clear! Could you please write more details about the problem ?
@jamalmiah18
@jamalmiah18 2 года назад
@@programmingwithardit6619 Thanks for your reply, BTW the problem has solved once I uncomment the connection configuration (9600, 8,1,None)
@rendszergazdanyh2537
@rendszergazdanyh2537 6 месяцев назад
Hello! So where is the rest of this video?
@simonsthill8294
@simonsthill8294 3 года назад
Second video? or at least second video source code?
@chinhlytruong8613
@chinhlytruong8613 2 года назад
Thank you for sharing great knowledge. I make programs like you with Delta PLC but it not working. Have you ever connected with a real device? if you did. could you share with me that knowledge !! Thank you very much
@programmingwithardit6619
@programmingwithardit6619 2 года назад
Hello @chinh. Thanks. Yes, I have created Software, which is able to communicate with the "real" slave device, but you should read the slave device manual carefully. There you can find the detailed description, which "information" you should send in an Coil, to turn it ON or OFF!
@hari9410
@hari9410 2 года назад
did u get any info regarding real time communication
@chinhlytruong8613
@chinhlytruong8613 2 года назад
@@programmingwithardit6619 thank you
@davidkovacs5614
@davidkovacs5614 2 года назад
@@programmingwithardit6619 First; thank you for this video! Second; maybe I do not understand the basics of COM Ports and Modbus Prototcol, but concerning the question from "chinh lytruong": I do have a real device which is connected to a laptop via a RS232 cable + a USB/RS232 adabter (laptop obviously has no real RS232 interface anymore:)). In the device manager settings this connection appears as COM 4. Here is my dumb question: In your video you had no "real" device so you used a program to emulate a connection betweent two virtual ports (COM 3 and COM 4). The modbus Server/Slave simulator "used" the COM 4 Port and your Client/Master (aka. your .NET C# program with the easyModbus DLL) "used" COM Port 3. So this worked fine. But in my real world example with a real device i do not have to create a virtual pair of COM Ports. I "only" have COM Port 4. How can i connect the same way you did with this program/DLL to my real device but only having ONE COM Port?
@RobotnikzSanoka
@RobotnikzSanoka Год назад
@@davidkovacs5614 @Programming with Ardit yea same here. I have real slave on RS485 and converter RS485 to USB. It's works with other software. It would work with yours? Secondly, do you want to write code to modbus communication without EasyModbus? Last Question, this software read feedback message from slave that confirm getting instruction from master?
@AnkitSharma-gl8gz
@AnkitSharma-gl8gz 2 года назад
my output screen freezes when i hit any button Start/Stop. help
@programmingwithardit6619
@programmingwithardit6619 2 года назад
Hi Ankit, Could you please share more information about your Error ?!
@AnkitSharma-gl8gz
@AnkitSharma-gl8gz 2 года назад
@@programmingwithardit6619 Hello, after creating start and stop buttons for coil 5, when i start the program...the two buttons shown in the output screen(start and stop) cannot be used simultaneously. i have to stop the program and start it again for making the other button work
@mage0966
@mage0966 2 года назад
@@AnkitSharma-gl8gz You can solve the problem uncommenting the lines for modbus configurations.
@mokhoshkholgh7342
@mokhoshkholgh7342 2 года назад
Hi Ankit, I faced with the same problem, could you solve it?
@ajayjatode8708
@ajayjatode8708 3 года назад
Bro please share pc and plc programme
@programmingwithardit6619
@programmingwithardit6619 3 года назад
Hi Ajay, we are working to create another tutorial for PLC! Subscribe the channel for more tutorials!🚀
@Jose-rh9jq
@Jose-rh9jq 3 года назад
2nd video?....... please
@johnbryan1523
@johnbryan1523 2 года назад
Great start video! Please get us the second one. I have a need to do the operation with Modbus TCP.
@danielaldana2074
@danielaldana2074 Год назад
i type all the program, but i get this error >> System.UnauthorizedAccessException: 'Access to the path 'COM1' is denied.'
@girishrao1628
@girishrao1628 Год назад
Hi Ardit. A very useful video. I tried it sincerely with Visual Studio. But I am having some problems. I tried to send you and email on your gmail email id for business to ask you if you can provide expert assistance to us in our project to use MODBUS RTU. But the email bounced back saying no such address. How can I contact you??
Далее
Understanding Modbus Serial and TCP IP
12:07
Просмотров 126 тыс.
Brutally honest advice for new .NET Web Developers
7:19
У тебя проблемы?
00:20
Просмотров 524 тыс.
УГАДАЙ ГДЕ ПРАВИЛЬНЫЙ ЦВЕТ?😱
00:14
Visual Basic Modbus TCP Client
23:18
Просмотров 24 тыс.
Designing and Installing an RS485 Serial Network
7:24
Просмотров 199 тыс.
Протокол MODBUS
46:15
Просмотров 175 тыс.
Easy Modbus Using A Raspberry Pi
16:08
Просмотров 44 тыс.
A Typical Modbus Device Memory Map
5:04
Просмотров 147 тыс.
Training Webinar: Introduction to Modbus
1:04:41
Просмотров 92 тыс.