From 5e7a183fa0784549636e63d353f5190c4596e4cb Mon Sep 17 00:00:00 2001 From: atef Date: Wed, 11 Jun 2025 15:53:15 +0200 Subject: [PATCH] Update Alarm message for Tru convert AC --- .../SystemControl/DataTypes/AlarmMessage.cs | 20 +-- .../TruConvertAc/DataTypes/AlarmMessage.cs | 170 +++++++++--------- 2 files changed, 95 insertions(+), 95 deletions(-) diff --git a/csharp/Lib/Devices/Trumpf/SystemControl/DataTypes/AlarmMessage.cs b/csharp/Lib/Devices/Trumpf/SystemControl/DataTypes/AlarmMessage.cs index 7ec586580..da2c39ce4 100644 --- a/csharp/Lib/Devices/Trumpf/SystemControl/DataTypes/AlarmMessage.cs +++ b/csharp/Lib/Devices/Trumpf/SystemControl/DataTypes/AlarmMessage.cs @@ -5,14 +5,14 @@ namespace InnovEnergy.Lib.Devices.Trumpf.SystemControl.DataTypes; [SuppressMessage("ReSharper", "UnusedMember.Global")] public enum AlarmMessage : UInt16 { - NoAlarm = 0, - BmsCommunicationTimeoutHasOccured = 40302, // BMS communication timeout has occured. - Rs485CommunicationAlarm = 40303, // RS-485 communication alarm. - NoSlaveModuleWasFoundPleaseCheckRs485Connection = 40304, // No slave module was found, please check RS-485 connection(s). - NumberOfOrCombinationOfConnectedSlaveTypesNotSupported = 40305, // Number of or combination of connected slave types not supported. - SoftwareVersionsOfSystemControlAndModulesDoNotMatch1 = 40412, // Software versions of system control and module(s) do not match. - SoftwareVersionsOfSystemControlAndModulesDoNotMatch2 = 40413, // Software versions of system control and module(s) do not match. - SoftwareVersionsOfSystemControlAndModulesDoNotMatch3 = 40414, // Software versions of system control and module(s) do not match. - SoftwareVersionsOfSystemControlAndModulesDoNotMatch4 = 40415, // Software versions of system control and module(s) do not match. - SoftwareVersionsOfSystemControlAndModulesDoNotMatch5 = 40416, // Software versions of system control and module(s) do not match. + NoAlarm = 0, + _40302_BmsCommunicationTimeoutHasOccured = 40302, // BMS communication timeout has occured. + _40303_Rs485CommunicationAlarm = 40303, // RS-485 communication alarm. + _40304_NoSlaveModuleWasFoundPleaseCheckRs485Connection = 40304, // No slave module was found, please check RS-485 connection(s). + _40305_NumberOfOrCombinationOfConnectedSlaveTypesNotSupported = 40305, // Number of or combination of connected slave types not supported. + _40412_SoftwareVersionsOfSystemControlAndModulesDoNotMatch1 = 40412, // Software versions of system control and module(s) do not match. + _40413_SoftwareVersionsOfSystemControlAndModulesDoNotMatch2 = 40413, // Software versions of system control and module(s) do not match. + _40414_SoftwareVersionsOfSystemControlAndModulesDoNotMatch3 = 40414, // Software versions of system control and module(s) do not match. + _40415_SoftwareVersionsOfSystemControlAndModulesDoNotMatch4 = 40415, // Software versions of system control and module(s) do not match. + _40416_SoftwareVersionsOfSystemControlAndModulesDoNotMatch5 = 40416, // Software versions of system control and module(s) do not match. } \ No newline at end of file diff --git a/csharp/Lib/Devices/Trumpf/TruConvertAc/DataTypes/AlarmMessage.cs b/csharp/Lib/Devices/Trumpf/TruConvertAc/DataTypes/AlarmMessage.cs index daebda088..aef6e54fb 100644 --- a/csharp/Lib/Devices/Trumpf/TruConvertAc/DataTypes/AlarmMessage.cs +++ b/csharp/Lib/Devices/Trumpf/TruConvertAc/DataTypes/AlarmMessage.cs @@ -7,89 +7,89 @@ namespace InnovEnergy.Lib.Devices.Trumpf.TruConvertAc.DataTypes; [SuppressMessage("ReSharper", "CommentTypo")] public enum AlarmMessage : UInt16 { - OvertemperatureIgbtBridge1 = 50000, // Overtemperature IGBT bridge 1. - OvertemperatureIgbtBridge2 = 50001, // Overtemperature IGBT bridge 2. - OvertemperatureIgbtBridge3 = 50002, // Overtemperature IGBT bridge 3. - OvertemperatureBalancer = 50003, // Overtemperature balancer. - AmbientTemperatureOverAllowedRange1 = 50004, // Ambient temperature over allowed range. - OvercurrentL1 = 50005, // Overcurrent L1. - OvercurrentL2 = 50006, // Overcurrent L2. - OvercurrentL3 = 50007, // Overcurrent L3. - OvercurrentBalancer = 50008, // Overcurrent balancer. - OvervoltageGridL1 = 50009, // Overvoltage grid L1. - OvervoltageGridL2 = 50010, // Overvoltage grid L2. - OvervoltageGridL3 = 50011, // Overvoltage grid L3. - OvervoltageFilterCapacitorL1 = 50012, // Overvoltage filter capacitor L1. - OvervoltageFilterCapacitorL2 = 50013, // Overvoltage filter capacitor L2. - OvervoltageFilterCapacitorL3 = 50014, // Overvoltage filter capacitor L3. - OvervoltageDcLinkPositivePart = 50015, // Overvoltage DC link positive part. - OvervoltageDcLinkNegativePart = 50016, // Overvoltage DC link negative part. - OvervoltageGridNToPe = 50080, // Overvoltage grid N to PE. - OvervoltageInternalDcLink = 50081, // Overvoltage internal DC link. - OvervoltageInternalNToPe = 50082, // Overvoltage internal N to PE. - OvervoltageExternalDcLinkPositivePart = 50083, // Overvoltage external DC link positive part. - OvervoltageExternalDcLinkNegativePart = 50084, // Overvoltage external DC link negative part. - OvervoltageExternalDcLink = 50085, // Overvoltage external DC link. - OvervoltageExternalDcLinkStarPointToPe = 50086, // Overvoltage external DC link star point to PE. - WrongPolarityOnDcLinkDetected = 50087, // Wrong polarity on DC link detected. - OvervoltageExternalAuxiliarySupply24V = 50088, // Overvoltage external auxiliary supply 24 V. - UndervoltageExternalAuxiliarySupply24V = 50089, // Undervoltage external auxiliary supply 24 V. - OvercurrentL1Hardware = 50018, // Overcurrent L1 hardware. - OvercurrentL2Hardware = 50019, // Overcurrent L2 hardware. - OvercurrentL3Hardware = 50020, // Overcurrent L3 hardware. - OvercurrentBalancerHardware = 50021, // Overcurrent balancer hardware. - AcDcModuleHwAcDcModuleAlarm = 50094, // AC-DC module hardware alarm. // this is not existing in the manual. - AcDcModuleHardwareProtectionAlarm = 50095, // AC-DC module hardware protection alarm. - DcLinkPrechargeUnitAlarm = 50096, // DC link precharge unit alarm. - DcLinkDischargeUnitAlarm = 50097, // DC link discharge unit alarm. - DcLinkCouldNotBeCharged = 50098, // DC link could not be charged. - DcLinkControlAlarm = 50099, // DC link control alarm. - DcLinkRelayCouldNotBeClosed = 50100, // DC link relay could not be closed. - DcLinkRelayWasForcedToDisconnect = 50101, // DC link relay was forced to disconnect. - FanAlarm = 50102, // Fan alarm. - DcCurrentComponentL1TooHigh = 50030, // DC current component L1 too high. - DcCurrentComponentL2TooHigh = 50031, // DC current component L2 too high. - DcCurrentComponentL3TooHigh = 50032, // DC current component L3 too high. - GridFrequencyTooHigh = 50033, // Grid frequency too high. - GridFrequencyTooLow = 50034, // Grid frequency too low. - SynchronizationToGridFailed = 50036, // Synchronization to grid failed. - DcLinkVoltageTooLowForOperation = 50037, // DC link voltage too low for operation. - DcLinkUnbalanced = 50038, // DC link unbalanced. - OvercurrentL1Rms = 50041, // Overcurrent L1 RMS. - OvercurrentL2Rms = 50042, // Overcurrent L2 RMS. - OvercurrentL3Rms = 50043, // Overcurrent L3 RMS. - OvercurrentBalancerRms = 50044, // Overcurrent balancer RMS. - OvervoltageL1Rms = 50047, // Overvoltage L1 RMS. - OvervoltageL2Rms = 50048, // Overvoltage L2 RMS. - OvervoltageL3Rms = 50049, // Overvoltage L3 RMS. - UndervoltageL1Rms = 50050, // Undervoltage L1 RMS. - UndervoltageL2Rms = 50051, // Undervoltage L2 RMS. - UndervoltageL3Rms = 50052, // Undervoltage L3 RMS. - GridContactorCouldNotBeClosed = 50053, // Grid contactor could not be closed. - OvervoltageFilterCapacitorL1Rms = 50115, // Overvoltage filter capacitor L1 RMS. - OvervoltageFilterCapacitorL2Rms = 50116, // Overvoltage filter capacitor L2 RMS. - OvervoltageFilterCapacitorL3Rms = 50117, // Overvoltage filter capacitor L3 RMS. - AntiIslandDetectionAlarmL1 = 50118, // Anti-island detection alarm L1. - AntiIslandDetectionAlarmL2 = 50119, // Anti-island detection alarm L2. - AntiIslandDetectionAlarmL3 = 50120, // Anti-island detection alarm L3. - MissmatchOfInternalAndExternalN = 50121, // Missmatch of internal and external N. - GridCodeRideThroughTimeExceeded = 50131, // Grid code ride through time exceeded. - GridDoesNotMatchGridCodeRequirements = 50132, // Grid does not match grid code requirements. - SubslaveCommunicationAlarm = 50068, // Subslave communication alarm. - MasterCommunicationAlarm = 50069, // Master communication alarm. - DcLinkRelayDisconnectNotAllowedDcLinkVoltageUnstable = 50068, // DC link relay disconnect not allowed - DC link voltage unstable. - BatteryOvervoltage = 60090, // Battery overvoltage. - DcLinkOvervoltage = 60093, // DC link overvoltage. - DcLinkVoltageToLowForOperation = 60102, // DC link voltage to low for operation. - AuxiliarySupplyOvervoltage = 60700, // Auxiliary supply overvoltage. - BatteryUndervoltage = 60142, // Battery undervoltage. - AuxiliarySupplyUndervoltage = 60703, // Auxiliary supply undervoltage. - WrongPolarityOnDcTerminalDetected = 60145, // Wrong polarity on DC terminal detected. - Rs485CommunicationAlarm2 = 60132, // RS485 communication alarm. - BatteryVoltageUnderThresholdSetting = 60129, // Battery voltage under threshold setting. - BatteryVoltageOverThresholdSetting = 60150, // Battery voltage over threshold setting. - AmbientTemperatureOverAllowedRange2 = 60168, // Ambient temperature over allowed range. - AmbientTemperatureUnderAllowedRange = 60186, // Ambient temperature under allowed range. - FanDefectiveOrStuck = 60192, // Fan defective or stuck. - PowerFailureOf24VAuxiliaryPowerSupply = 10016, // Power failure of 24-V auxiliary power supply has been detected. + _50000_OvertemperatureIgbtBridge1 = 50000, // Overtemperature IGBT bridge 1. + _50001_OvertemperatureIgbtBridge2 = 50001, // Overtemperature IGBT bridge 2. + _50002_OvertemperatureIgbtBridge3 = 50002, // Overtemperature IGBT bridge 3. + _50003_OvertemperatureBalancer = 50003, // Overtemperature balancer. + _50004_AmbientTemperatureOverAllowedRange1 = 50004, // Ambient temperature over allowed range. + _50005_OvercurrentL1 = 50005, // Overcurrent L1. + _50006_OvercurrentL2 = 50006, // Overcurrent L2. + _50007_OvercurrentL3 = 50007, // Overcurrent L3. + _50008_OvercurrentBalancer = 50008, // Overcurrent balancer. + _50009_OvervoltageGridL1 = 50009, // Overvoltage grid L1. + _50010_OvervoltageGridL2 = 50010, // Overvoltage grid L2. + _50011_OvervoltageGridL3 = 50011, // Overvoltage grid L3. + _50012_OvervoltageFilterCapacitorL1 = 50012, // Overvoltage filter capacitor L1. + _50013_OvervoltageFilterCapacitorL2 = 50013, // Overvoltage filter capacitor L2. + _50014_OvervoltageFilterCapacitorL3 = 50014, // Overvoltage filter capacitor L3. + _50015_OvervoltageDcLinkPositivePart = 50015, // Overvoltage DC link positive part. + _50016_OvervoltageDcLinkNegativePart = 50016, // Overvoltage DC link negative part. + _50080_OvervoltageGridNToPe = 50080, // Overvoltage grid N to PE. + _50081_OvervoltageInternalDcLink = 50081, // Overvoltage internal DC link. + _50082_OvervoltageInternalNToPe = 50082, // Overvoltage internal N to PE. + _50083_OvervoltageExternalDcLinkPositivePart = 50083, // Overvoltage external DC link positive part. + _50084_OvervoltageExternalDcLinkNegativePart = 50084, // Overvoltage external DC link negative part. + _50085_OvervoltageExternalDcLink = 50085, // Overvoltage external DC link. + _50086_OvervoltageExternalDcLinkStarPointToPe = 50086, // Overvoltage external DC link star point to PE. + _50087_WrongPolarityOnDcLinkDetected = 50087, // Wrong polarity on DC link detected. + _50088_OvervoltageExternalAuxiliarySupply24V = 50088, // Overvoltage external auxiliary supply 24 V. + _50089_UndervoltageExternalAuxiliarySupply24V = 50089, // Undervoltage external auxiliary supply 24 V. + _50018_OvercurrentL1Hardware = 50018, // Overcurrent L1 hardware. + _50019_OvercurrentL2Hardware = 50019, // Overcurrent L2 hardware. + _50020_OvercurrentL3Hardware = 50020, // Overcurrent L3 hardware. + _50021_OvercurrentBalancerHardware = 50021, // Overcurrent balancer hardware. + _50094_AcDcModuleHwAcDcModuleAlarm = 50094, // AC-DC module hardware alarm. // this is not existing in the manual. + _50095_AcDcModuleHardwareProtectionAlarm = 50095, // AC-DC module hardware protection alarm. + _50096_DcLinkPrechargeUnitAlarm = 50096, // DC link precharge unit alarm. + _50097_DcLinkDischargeUnitAlarm = 50097, // DC link discharge unit alarm. + _50098_DcLinkCouldNotBeCharged = 50098, // DC link could not be charged. + _50099_DcLinkControlAlarm = 50099, // DC link control alarm. + _50100_DcLinkRelayCouldNotBeClosed = 50100, // DC link relay could not be closed. + _50101_DcLinkRelayWasForcedToDisconnect = 50101, // DC link relay was forced to disconnect. + _50102_FanAlarm = 50102, // Fan alarm. + _50030_DcCurrentComponentL1TooHigh = 50030, // DC current component L1 too high. + _50031_DcCurrentComponentL2TooHigh = 50031, // DC current component L2 too high. + _50032_DcCurrentComponentL3TooHigh = 50032, // DC current component L3 too high. + _50033_GridFrequencyTooHigh = 50033, // Grid frequency too high. + _50034_GridFrequencyTooLow = 50034, // Grid frequency too low. + _50036_SynchronizationToGridFailed = 50036, // Synchronization to grid failed. + _50037_DcLinkVoltageTooLowForOperation = 50037, // DC link voltage too low for operation. + _50038_DcLinkUnbalanced = 50038, // DC link unbalanced. + _50041_OvercurrentL1Rms = 50041, // Overcurrent L1 RMS. + _50042_OvercurrentL2Rms = 50042, // Overcurrent L2 RMS. + _50043_OvercurrentL3Rms = 50043, // Overcurrent L3 RMS. + _50044_OvercurrentBalancerRms = 50044, // Overcurrent balancer RMS. + _50047_OvervoltageL1Rms = 50047, // Overvoltage L1 RMS. + _50048_OvervoltageL2Rms = 50048, // Overvoltage L2 RMS. + _50049_OvervoltageL3Rms = 50049, // Overvoltage L3 RMS. + _50050_UndervoltageL1Rms = 50050, // Undervoltage L1 RMS. + _50051_UndervoltageL2Rms = 50051, // Undervoltage L2 RMS. + _50052_UndervoltageL3Rms = 50052, // Undervoltage L3 RMS. + _50053_GridContactorCouldNotBeClosed = 50053, // Grid contactor could not be closed. + _50115_OvervoltageFilterCapacitorL1Rms = 50115, // Overvoltage filter capacitor L1 RMS. + _50116_OvervoltageFilterCapacitorL2Rms = 50116, // Overvoltage filter capacitor L2 RMS. + _50117_OvervoltageFilterCapacitorL3Rms = 50117, // Overvoltage filter capacitor L3 RMS. + _50118_AntiIslandDetectionAlarmL1 = 50118, // Anti-island detection alarm L1. + _50119_AntiIslandDetectionAlarmL2 = 50119, // Anti-island detection alarm L2. + _50120_AntiIslandDetectionAlarmL3 = 50120, // Anti-island detection alarm L3. + _50121_MissmatchOfInternalAndExternalN = 50121, // Missmatch of internal and external N. + _50131_GridCodeRideThroughTimeExceeded = 50131, // Grid code ride through time exceeded. + _50132_GridDoesNotMatchGridCodeRequirements = 50132, // Grid does not match grid code requirements. + _50068_SubslaveCommunicationAlarm = 50068, // Subslave communication alarm. + _50069_MasterCommunicationAlarm = 50069, // Master communication alarm. + _50068_DcLinkRelayDisconnectNotAllowedDcLinkVoltageUnstable = 50068, // DC link relay disconnect not allowed - DC link voltage unstable. + _60090_BatteryOvervoltage = 60090, // Battery overvoltage. + _60093_DcLinkOvervoltage = 60093, // DC link overvoltage. + _60102_DcLinkVoltageToLowForOperation = 60102, // DC link voltage to low for operation. + _60700_AuxiliarySupplyOvervoltage = 60700, // Auxiliary supply overvoltage. + _60142_BatteryUndervoltage = 60142, // Battery undervoltage. + _60703_AuxiliarySupplyUndervoltage = 60703, // Auxiliary supply undervoltage. + _60145_WrongPolarityOnDcTerminalDetected = 60145, // Wrong polarity on DC terminal detected. + _60132_Rs485CommunicationAlarm2 = 60132, // RS485 communication alarm. + _60129_BatteryVoltageUnderThresholdSetting = 60129, // Battery voltage under threshold setting. + _60150_BatteryVoltageOverThresholdSetting = 60150, // Battery voltage over threshold setting. + _60168_AmbientTemperatureOverAllowedRange2 = 60168, // Ambient temperature over allowed range. + _60186_AmbientTemperatureUnderAllowedRange = 60186, // Ambient temperature under allowed range. + _60192_FanDefectiveOrStuck = 60192, // Fan defective or stuck. + _10016_PowerFailureOf24VAuxiliaryPowerSupply = 10016, // Power failure of 24-V auxiliary power supply has been detected. } \ No newline at end of file