Reading installed capacity (which is missing in the 140 byte answer!?!):
can be read by sending (all hex values):
5A 5A 1F 00 00 1F (read low word), answer is 5A 5A 1F C2 00 E1
and
5A 5A 20 00 00 20 (read high word), answer is 5A 5A 20 0B EB 16
here: 0B EB C2 00 = 200.000.000 = 200Ah
This could be done once at the start as it will not normally change during operation.
EDIT: checksum is sum over the address and data bytes (1F + C2 + 00 = E1) truncated to low byte
***
I have the instaled capacity at adress 75. as in docu I had sent ->Battery physical capacity of battery pack(75-78):u32 .000000 AH
***
немного разжован амперочасометр
Добавлено 30 Авг 2022 в 20:48
ссылкадетальные данные по протоколу и т.п.