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.
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.
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??
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
i type all the program, but i get this error >> System.UnauthorizedAccessException: 'Access to the path 'COM1' is denied.' << may you help me, i'm new in this
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
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!
@@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?
@@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?
@@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