Tutorial: Modbus RTU Master Multi Slave - C# & VB.net

Опубликовано: 05 Октябрь 2024
на канале: HadiSCADA
11,162
140

This video tutorial shows you the easy way to create a Modbus RTU/Serial Master application (using C# and VB.net on Visual Studio 2022) and read some Holding Registers from multiple Modbus RTU Slaves. 

The Modbus RTU/Serial Slave devices are simulated by ModbusHD application, you can get the app from this link:
https://hadiscada.blogspot.com/2021/0...
 
and the COM ports are emulated by Virtual Serial Port Emulator (VSPE), you can download from here:
http://www.eterlogic.com/Products.VSP...
 
Here are the timelines:
00:00 - Setup Modbus RTU Slave Simulator & Virtual Serial Port Emulator
00:57 - Start Modbus RTU Slave Simulator with 2 Slaves 
01:53 - C# Project
16:50 - VB.net Project

The Modbus simulator (ModbusHD) can be downloaded from this link:
   • ModbusHD update version 2.1.0  

Thanks, and have a nice day!