EMS-BMS heartbeat and modbus fixes
added ledge and error state when modbus communication is lost, seperated register 13004 (confirm) from registers 13000-13001 (BMS/String warning/error messages) for modbus mapping, added Heartbeat error message to bmsErrors
This commit is contained in:
@@ -20,6 +20,10 @@ VAR_GLOBAL
|
||||
// Addr: 13.000
|
||||
stBMSErrorReg : ST_MODBUS_REG_13;
|
||||
|
||||
// Confirm alarms through modbus
|
||||
// Addr: 13.004
|
||||
wConfirmAlarms : WORD;
|
||||
|
||||
// Addr: 14.000 -> 14.047
|
||||
// Index 0 -> Unit 1, Index 1 -> Unit 2 etc.
|
||||
awWarningsUnitsActive : ARRAY [0..(GVL_CONFIG.uiNumberOfUnits-1)] OF U_UNIT_WARNING_REGISTER;
|
||||
|
||||
Reference in New Issue
Block a user