User Tools

Site Tools


wiki:01.battery_iq:01.btms:06.integration:modbus

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
wiki:01.battery_iq:01.btms:06.integration:modbus [2025/06/26 09:33] – [Table] goran.kocjancicwiki:01.battery_iq:01.btms:06.integration:modbus [2025/06/26 09:35] (current) – [Table] goran.kocjancic
Line 42: Line 42:
  
 |< 900pt 150pt 75pt 90pt 50pt 50pt >| |< 900pt 150pt 75pt 90pt 50pt 50pt >|
-^  var                  unit ID        address              type  ^  scale  ^  origin                                                |^  description                                                                                                      ^ +^  var                  unit ID        address              type  ^  scale  ^  description                                                                                                      ^ 
-| cell_status          |  100 + **si**  |  100 * **ci** + 0    |  int    -      |  SS      | modbus.ushort.HR(1300+ci-1)                  | Cell status (0=disabled, 1=OK, 2=error)                                                                           | +| cell_status          |  100 + **si**  |  100 * **ci** + 0    |  int    -      | Cell status (0=disabled, 1=OK, 2=error)                                                                           | 
-| cell_voltage         | :::            |  100 * **ci** + 1    |  int    0.001  |  SS      | modbus.ushort.HR(1600+ci-1)                  | Cell voltage [0.001 V]                                                                                            | +| cell_voltage         | :::            |  100 * **ci** + 1    |  int    0.001  | Cell voltage [0.001 V]                                                                                            | 
-| cell_resistance      | :::            |  100 * **ci** + 2,3  |  long  |  0.001   SS      | modbus.uint.HR(1901+(ci-1)*2,1900+(ci-1)*2)  | Cell resistance [0.001 mΩ]                                                                                        | +| cell_resistance      | :::            |  100 * **ci** + 2,3  |  long  |  0.001  | Cell resistance [0.001 mΩ]                                                                                        | 
-| cell_temperature     | :::            |  100 * **ci** + 4    |  int    0.1    |  SS      | modbus.short.HR(2500+ci-1)                   | Cell temperature [0.1 °C]                                                                                         | +| cell_temperature     | :::            |  100 * **ci** + 4    |  int    0.1    | Cell temperature [0.1 °C]                                                                                         | 
-| cell_soc             | :::            |  100 * **ci** + 5    |  int    1      |  SS      | modbus.ushort.HR(2800+ci-1)                  | Cell state of charge [%]                                                                                          | +| cell_soc             | :::            |  100 * **ci** + 5    |  int    1      | Cell state of charge [%]                                                                                          | 
-| cell_soh             | :::            |  100 * **ci** + 6    |  int    1      |  SS      | modbus.ushort.HR(3100+ci-1)                  | Cell state of health [%]                                                                                          | +| cell_soh             | :::            |  100 * **ci** + 6    |  int    1      | Cell state of health [%]                                                                                          | 
-| cell_alarm           | :::            |  100 * **ci** + 7    |  int    -      |  SS      | modbus.ushort.HR(3400+ci-1)                  | Cell alarm (bit coded):  b0=voltage hi, b1=voltage lo, b2=resistance hi, b3=SOC lo, b4=SOH lo, b5=temperature hi  | +| cell_alarm           | :::            |  100 * **ci** + 7    |  int    -      | Cell alarm (bit coded):  b0=voltage hi, b1=voltage lo, b2=resistance hi, b3=SOC lo, b4=SOH lo, b5=temperature hi  | 
-| cell_remaining_time  | :::            |  100 * **ci** + 8    |  int    0.1    |  SS      | modbus.ushort.HR(3700+ci-1)                  | Cell remaining time [0.1 h]                                                                                       |+| cell_remaining_time  | :::            |  100 * **ci** + 8    |  int    0.1    | Cell remaining time [0.1 h]                                                                                       |
  
 <WRAP pagebreak /> <WRAP pagebreak />
Line 57: Line 57:
  
 |< 250pt 50pt >| |< 250pt 50pt >|
-^  type                                              || +^  type                                             || 
-^  bit     | 1 bit (0..1)                             | +^  bit    | 1 bit (0..1)                             | 
-^  int     | 16 bit signed (-32768..32767)            | +^  int    | 16 bit signed (-32768..32767)            | 
-^  long    | 32 bit signed (-2147483648..2147483647) +^  long   | 32 bit signed (-2147483648..2147483647) 
-^  scale                                             || +^  scale                                            || 
-^  0.01    | 12345 => 123.45                          +^  0.01   | 12345 => 123.45                          |
-^  origin                                            ^^ +
-^  IC      | Internal calculation                     | +
-^  SS      | String Sensor                            | +
-^  MC      | Master Controller                        |+
  
  
wiki/01.battery_iq/01.btms/06.integration/modbus.1750930431.txt.gz · Last modified: by goran.kocjancic