The above said type of conversion you can use.So that you will get the exact value.Using simple decimal to hex conversion you will get 10 only for 16.234.
I want to communicate IT6800 Power supply through RS232 communication. total 25 byte String 26th is check sum.
So, you are representing one value in how many bytes??
in 26 byte 4 bytes represents the values . remaining fixed values . I will try with converting in to integer value.
the manuals for those power supplies aren't very helpful in this matter. Could you call their support?
I would guess to us integer numbers providing the Voltage in "mV" so 16.00V is given as 16000mV. I still don't know, why they use 3EB0h/16048d to represent 16.000V...
You are correct. They are converting to millivolt.
In manual conversion is wrong. May be error in manual.
I checked through exact conversion. It is working fine.
Lot of Thanks for help.
I think the confusion in representation is a mis-reading or a typo.
16000 decimal is 0x3e80 (Third hex digit is number 8, not letter b)
see ITech website "IT6800 communication frame" manual, page 6: 26th byte is check sum, the sum of the former 25 bytes.
Please explain how to obtain a sum of 57 here?
AA 00 31 36 38 31 31 00 03 02 ZZ ZZ ZZ ZZ ZZ ZZ ZZ ZZ ZZ ZZ XX XX XX XX XX 57 (ITech website "IT6800 communication frame" manual, page 13)