08-22-2012 04:07 AM
Hi Anil,
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.
08-22-2012 04:09 AM
Anil wrote:
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??
08-22-2012 04:22 AM
in 26 byte 4 bytes represents the values . remaining fixed values . I will try with converting in to integer value.
Thanks
Regards
Anil
08-22-2012 04:41 AM
Hi Anil,
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...
08-22-2012 05:17 AM
Dear GerdW
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.
Regards
Anil
08-22-2012 05:38 AM - edited 08-22-2012 05:42 AM
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)
Rod
04-17-2013 09:06 AM
Can you tell me, how to calculate the Check sum?
04-17-2013 09:15 AM - edited 04-17-2013 09:15 AM
Hi Alina,
see ITech website "IT6800 communication frame" manual, page 6: 26th byte is check sum, the sum of the former 25 bytes.
RTFM!
04-18-2013 03:44 AM
Thank you!:womanvery-happy:
04-18-2013 06:52 AM
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)