I looked through the manuals, but did not see anything about the Modbus addresses. I would start with the most common 40001You could also use a serial port sniffer software to capture the data from LCSoft to see if it is using Modbus.
Starting Address
Try this:- Add a ListBox to the form- Add a button to the form- Double click the button- Add this code Dim v() As String = ModbusASCIICom1.Read("40001", 50) For i = 0 To v.Length - 1 ListBox1.Items.Add(i & " : " & v(i)) Next- Run the app and click the buttonSee if any of those values are what you need.
Quote from: Archie on October 18, 2022, 08:08:17 PMTry this:- Add a ListBox to the form- Add a button to the form- Double click the button- Add this code Dim v() As String = ModbusASCIICom1.Read("40001", 50) For i = 0 To v.Length - 1 ListBox1.Items.Add(i & " : " & v(i)) Next- Run the app and click the buttonSee if any of those values are what you need.the code didn`t work
Is the value really different? Because of it fluctuating, it is hard to tell.In your BasicLabel, set ValueScaleFactor to 0.01