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:
@@ -3,11 +3,12 @@
|
||||
<DUT Name="ST_WORD_BMS_ERROR_BITMAP" Id="{33fc17c1-ae64-4c44-aa8c-117a09c656ef}">
|
||||
<Declaration><![CDATA[TYPE ST_WORD_BMS_ERROR_BITMAP :
|
||||
STRUCT
|
||||
bEStop : BIT; // Bit 0
|
||||
bEthercat : BIT; // Bit 1
|
||||
bDCSwitchS1 : BIT; // Bit 2
|
||||
bDCSwitchS2 : BIT; // Bit 3
|
||||
bError : BIT; // Bit 4
|
||||
bEStop : BIT; // Bit 0
|
||||
bEthercat : BIT; // Bit 1
|
||||
bDCSwitchS1 : BIT; // Bit 2
|
||||
bDCSwitchS2 : BIT; // Bit 3
|
||||
bError : BIT; // Bit 4
|
||||
bEMSHeartbeatError : BIT; // Bit 5
|
||||
END_STRUCT
|
||||
END_TYPE
|
||||
]]></Declaration>
|
||||
|
||||
@@ -21,10 +21,6 @@ STRUCT
|
||||
// (Bit 0 -> Error in string 1 active, Bit 1 -> String 2, etc.)
|
||||
// Addr: 13.003
|
||||
wStringErrorActive : WORD;
|
||||
|
||||
// Confirm alarms through modbus
|
||||
// Addr: 13.004
|
||||
wConfirmAlarms : WORD;
|
||||
END_STRUCT
|
||||
END_TYPE
|
||||
]]></Declaration>
|
||||
|
||||
Reference in New Issue
Block a user