Hi guys,
I have kind of a noob question here, hope you guys don't mind.
I managed to extract some data using a VB.NET script from modbus device, where the data is just unsigned integers.
I used the "read holding registers" function in VB.NET to read the first 10 values.
Here's a snippet:
Now, the device's MODBUS communication address table is as follows:
So, if I'm reading let's say:
13616
12576
20079
29728
.
.
.
Does this mean that the first value (13616) corresponds to the value in register 0x0300?
Many thanks to the gurus!
Vizier87
I have kind of a noob question here, hope you guys don't mind.
I managed to extract some data using a VB.NET script from modbus device, where the data is just unsigned integers.
I used the "read holding registers" function in VB.NET to read the first 10 values.
Here's a snippet:
Code:
Dim regvals As Integer()
regvals = ModC.ReadHoldingRegisters(0, 10)
If regvals.Length > 0 Then
ListBoxRegValues.Items.Clear()
For Each value As Integer In regvals
ListBoxRegValues.Items.Add(value)
Next
End If
So, if I'm reading let's say:
13616
12576
20079
29728
.
.
.
Does this mean that the first value (13616) corresponds to the value in register 0x0300?
Many thanks to the gurus!
Vizier87