AdvancedHMI Software
General Category => Support Questions => Topic started by: oqapsking on October 18, 2022, 06:13:34 PM
-
HELLO
so i have dvp201lc-sl
i wanna read the value using advancedHMI
there is a software named LCsoft for it
and it can read it online
as in the attachments
i wanna read the ( CH1 Weight Value )
but i can`t get the address for it to use with modbus ascii
can some one help me ?
with thanks
-
I looked through the manuals, but did not see anything about the Modbus addresses. I would start with the most common 40001
You could also use a serial port sniffer software to capture the data from LCSoft to see if it is using Modbus.
-
I looked through the manuals, but did not see anything about the Modbus addresses. I would start with the most common 40001
You could also use a serial port sniffer software to capture the data from LCSoft to see if it is using Modbus.
first thanks for responing
now i tried software sniffer
(Serial Port Monitor)
and the results are in the attachments ( html file ) and a photo for the test
i tried to use all the Starting Address
in it
but none gave the value that i wanted to read
i hope you can help
-
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 button
See if any of those values are what you need.
-
so i found the register
but for some reason there is a bit of diffrence in the value
you can see in the video
https://drive.google.com/file/d/17kS12IumcwqEjkdUTpbioauRn_LOVvhm/view?usp=sharing
it looks like nothing
but in this case the value will be much higher
so the diffrence will grow bigger
any idea why?
or how i can fix it ?
but i wanna try the code you sent too
i will tell you the results
-
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 button
See 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
-
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 button
See if any of those values are what you need.
the code didn`t work
Reduce the value of 50 to 10. Maybe there are not 50 registers in the device
-
Is the value really different? Because of it fluctuating, it is hard to tell.
In your BasicLabel, set ValueScaleFactor to 0.01
i did it could work now the value is bitter
i will test it on the divice when connect it later
thanks
-
All Delta related products Holding register address starts at 4096 .
If master is 1 based , it would be 4097 .
In modscan its first Modbus address is seen as 44097 or 404097 , if in six digits format.
Good Luck.