Received messages from BMS siliXcon
These messages are for siliXcon BMS support. They are present if siliXcon BMS support is added to the firmware.
- All here listed messages are little-endian.
- This is not full documentation of all BMS messages. This is only for messages that are used by the LYNX application.
- These messages are used only if siliXcon BMS is enabled by
/bms/bmstype
= 1
0x500 - BMS status msg
This MSG is from siliXcon BMS. Timeout is set to 1000ms.
DNC - Do not care (not used) by siliXcon controler
Byte | type | Description |
---|---|---|
0 | UINT_8 | DNC |
1 | UINT_8 | BMS driver state state < 90 - disarm state = 90 (overvoltage) - disable braking |
2 | UINT_8 | BMS error word - If non zero, do disarm |
3 | UINT_8 | SOC 0-200 = 0-100 [%] 255 = NaN (invalid value), than SOC is used from controller BEST |
4-5 | UINT_16 | DNC |
6 | UINT_8 | BMS suggested limit value for positive current (from the battery) 0-255, 255 = full current (no limitation) |
7 | UINT_8 | BMS suggested limit value for negative current (to the battery) 0-255 |
If you want to simulate siliXcon BMS communication, msg 0x506 and 0x507 are not required. But do not forget to set /driver/limiter/ibpos
and /driver/limiter/ibneg
to non-zero, otherwise, the BMS limit values are not used.
0x506 - BMS recommended limiter settings
If the value is 0, the limiter setting is not changed. The limiter setting are only applyed with first received message. This message is not ment for dynamic current limiting.
Byte | type | Description |
---|---|---|
0-1 | INT_16 | Ibpos [A / 10] |
2-3 | INT_16 | Ibneg [A / 10] |
4-5 | INT_16 | Ubmin [V / 10] |
6-7 | INT_16 | Ubmax [V / 10] |
0x507 - BMS recommended current setting
If the value is 0, the current setting is not changed. The current setting are only applyed with first received message. This message is not ment for dynamic current limiting.
This message only limit maximum values. If the actual value is lower than the limit, the actual value is used. No timeout on this message.
Byte | type | Description |
---|---|---|
0-1 | UINT_16 | Iref and Irefr limit [A / 10] |
2-3 | UINT_16 | Ipeak limit [A / 10] |