Kami ingin berbagi source code projek, aplikasi, ide, tutorial, dan artikel, berkaitan dengan dunia SCADA, HMI, Automation, Software, dan Teknologi.
We want to share the source code projects, applications, ideas, tutorials, and articles, related to the world of SCADA, HMI, Automation, Software, and Technology.
My friend, can you please help. While working, an error occurs and the program stops working. Thank you Images - https://prnt.sc/26nk9f8 Text error - See the end of this message for details on invoking just-in-time (JIT) debugging instead of this dialog box.
************** Exception Text ************** System.TimeoutException: No Response from Modbus Slave at EasyModbus.ModbusClient.ReadHoldingRegisters(Int32 startingAddress, Int32 quantity) at EasyModbus.ModbusClient.ReadHoldingRegisters(Int32 startingAddress, Int32 quantity) at EasyModbus.ModbusClient.ReadHoldingRegisters(Int32 startingAddress, Int32 quantity) at EasyModbus.ModbusClient.ReadHoldingRegisters(Int32 startingAddress, Int32 quantity) at MySQLApp01.Form1.TimerLog_Tick(Object sender, EventArgs e) in D:\Pelatihan\MySQLApp02\MySQLApp01\Form1.vb:line 105 at System.Windows.Forms.Timer.OnTick(EventArgs e) at System.Windows.Forms.Timer.TimerNativeWindow.WndProc(Message& m) at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
Kereen sekali om, izin belajar di blog ini
ReplyDeleteMy friend, can you please help. While working, an error occurs and the program stops working. Thank you
ReplyDeleteImages - https://prnt.sc/26nk9f8
Text error -
See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.
************** Exception Text **************
System.TimeoutException: No Response from Modbus Slave
at EasyModbus.ModbusClient.ReadHoldingRegisters(Int32 startingAddress, Int32 quantity)
at EasyModbus.ModbusClient.ReadHoldingRegisters(Int32 startingAddress, Int32 quantity)
at EasyModbus.ModbusClient.ReadHoldingRegisters(Int32 startingAddress, Int32 quantity)
at EasyModbus.ModbusClient.ReadHoldingRegisters(Int32 startingAddress, Int32 quantity)
at MySQLApp01.Form1.TimerLog_Tick(Object sender, EventArgs e) in D:\Pelatihan\MySQLApp02\MySQLApp01\Form1.vb:line 105
at System.Windows.Forms.Timer.OnTick(EventArgs e)
at System.Windows.Forms.Timer.TimerNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
based on your error message, it seems your Modbus device is not responding, please check it.
Deletethanks.
I checked it, everything works properly, there is a connection, but the program first thinks for 2-3 minutes, then it gives an error.
ReplyDelete