serhmarch / ModbusTools

ModbusTools are cross-platform (Windows, Linux) Modbus simulator tools (client and server) with GUI to work with Modbus protocol (TCP,RTU,ASCII)
GNU General Public License v3.0
15 stars 2 forks source link

DTSU666 read value problem #3

Open folny opened 3 months ago

folny commented 3 months ago

Hello

I am trying this program to read values from the DSSU666 meter, but the values are not in the correct form. I have everything set up correctly and the format is set to float. I think the problem is in the format, you will probably have to add another float32 format.

DTSU666 manual https://www.deyeinverter.com/deyeinverter/2022/06/10/chintthreephase-instructionmanual-dt(s)su666-y0.464.1002v1.5190617.pdf

serhmarch commented 3 months ago

Hello I guess your issue is your meter has non default 16 bit register order in 32 bit float value. You can easily change it adding new dataView item (or editing existing dataView item) using menu: Data->New Item(s)->Advanced tab, than choose Register order to "Most Signified First". If this will not help you can do the same but chaging Byte Order to "Most Signified First" as well. image

folny commented 3 months ago

Thanks for the quick reply, the council helped and everything is fine now.

serhmarch commented 3 months ago

But it's better to do the following. Since your device most likely has the same order of 16-bit registers for 32-bit values, it is better to set this order in the device settings. And the default settings of DataViewItem are the same as those of the device to which they refer. image

folny commented 3 months ago

Ok thanks, I'll try all your advice