;================================================================================;
; GRUNDFOS Water Utility
; File : GRUN0D71.GSD
; 
; Used for CIM 150 PROFIBUS and CIM 500 PROFINET module when mounted in one of the
; following products:
;   - CU 362, Dedicated Controls
;   - CIU xx2, AutoAdapt
;   - LC 2x1, Wastewater Level Control
;   - LC 2x2, SP Level Control
;
; Version:   Date:        Init:     Comment:
; 00.00      30-05-2011   HAM       Draft 1
; 00.01      21-06-2011   HAM       Final review (Data Comm. team)
; 00.02      23-06-2011   HAM       Correction of comments
; 00.03      04-07-2011   HAM       Correction of ID number and Max length's
; 00.04      07-07-2011   HAM       PitSwitchWaterLevel [0.01 m] --> [Unscaled]
; 00.05      19.09-2011   HAM       SetAnalogueOutput# [0.01 %] --> [0.1 %]
; 00.06      30.09-2011   HAM       Some comments corrected
; 00.07      07.11-2011   HAM       RemoteAccessReq bit added to PitControl module
; 00.08      08.11-2011   HAM       ActRemoteAccess bit added to PitStatus module
; 01.00      06.12-2011   HAM       Version number updated
; 02.00      12.04-2012   HAM       Updated for CU 361 R3 software
; 02.01      07.09-2012   HAM       Bit names/descriptions revised
; 03.00      20.05-2014   HAM       Module 148 PitOutletPressure added
; 04.00      23.01-2018   HAM       LC 2x1 modules added: 149-152
; 05.00      30-01-2020   HAM       LC 2x2 modules added: 153-158
;
; References: PROFIBUS/PROFINET for Grundfos Water Utility pumping systems
;             (Functional profile and user manual)
;=================================================================================; 

#Profibus_DP
; Unit-Definition-List:
GSD_Revision        = 5
Vendor_Name         = "GRUNDFOS A/S"
Model_Name          = "CIM 150 Water Utility"
Revision            = "R1"      ;Revision version of the device
Ident_Number        = 0x0D71    ;Must comply with file name
Protocol_Ident      = 0         ;0=Profibus DP
Station_Type        = 0         ;0=DP slave
FMS_supp            = 0         ;0=No FMS support
Hardware_Release    = "96824793"   ;CIM 150 circuit board
Software_Release    = "Ver.08.xx.xx"
9.6_supp            = 1
19.2_supp           = 1
93.75_supp          = 1
187.5_supp          = 1
500_supp            = 1
1.5M_supp           = 1
3M_supp             = 1
6M_supp             = 1
12M_supp            = 1
MaxTsdr_9.6         = 60
MaxTsdr_19.2        = 60
MaxTsdr_93.75       = 60
MaxTsdr_187.5       = 60
MaxTsdr_500         = 100
MaxTsdr_1.5M        = 150
MaxTsdr_3M          = 250
MaxTsdr_6M          = 450
MaxTsdr_12M         = 800
Redundancy          = 0       ;Redundant transmission not supported
Repeater_Ctrl_Sig   = 0       ;Bus connector signal CNTR-P not connected
24V_Pins            = 0       ;Bus connector signal M24VP24V not connected
Implementation_Type = "ASIC Profichip VPC3+ C"

;==============================================================================
;==== Slave related specifications ============================================
;==============================================================================
Freeze_Mode_supp    = 0       ;Freeze mode support not supported
Sync_Mode_supp      = 0       ;Sync mode not supported
Auto_Baud_supp      = 1       ;Automatic baudrate recognition supported
Set_Slave_Add_supp  = 0       ;The DP slave supports the Set_Slave_Addr function
Min_Slave_Intervall = 1       ;Min interv between two slave list cycles in 100us
Slave_Family        = 9@Grundfos@CIM/CIU 150 pump   ;9=gateway

;==============================================================================
;==== Module-Definitions ======================================================
;==============================================================================
Modular_Station       = 1       ;Device has selectable data modules
Max_Module            = 152     ;No of selectable data modules,
Max_Input_Len         = 244     ;Max length of input data in bytes,
Max_Output_Len        = 80      ;Max length of output data in bytes,
Max_Data_Len          = 324     ;Largest possible sum of input and output data bytes
Max_User_Prm_Data_Len = 237     ;Max length of user parameterization data bytes,
Modul_Offset          = 1       ;First slot no. at configuring (config. tool)

Max_Diag_Data_Len     = 69      ;The max len of the diagnostic info (Diag_Data)

Fail_Safe             = 0

;DP-V1 and DP-V2 prm data.
Ext_User_Prm_Data_Const(0) =0x00,0x00,0x00

;Sym data
Ext_User_Prm_Data_Const(3) =0x00


;==============================================================================
;==============================================================================
;==============================================================================
;====                  Data Module-Definition-List                        =====
;==============================================================================
;==============================================================================
;Explanation to "Module" code
;Bit 3-0:	Length-1
;    5-4: 00=Spec ID format
;         01=Input
;         10=Output
;         11=Input/output
;    6:   0=byte, 1=word
;    7:   0=Consistency over byte/word, 1=Consistency over entire length
;==============================================================================


;----------------------------------------------------------------------------------------------------------
; #############################        O U T P U T  modules         #######################################
;----------------------------------------------------------------------------------------------------------

Module = "SystemControl" 0x20          ;System Modes/states control, 8 bit uint [Bools]
1                                      ;Bit 0: RemoteAccessReq (State)
Ext_Module_Prm_Data_Len = 1            ;Bit 1: ResetAlarm (Event)
Ext_User_Prm_Data_Const(0) =0x01       ;Bit 2: AutoPit (Event)
EndModule                              ;Bit 3: InterlockPit (Event)
                                       ;Bit 4: CustomRelayPulse (Event)
                                       ;Bit 5: CustomRelayOnOff (State)
                                       ;Bit 6-7: -

Module = "Pump1Control" 0xA1           ;Manual control of Pump 1, 16 bits uint [Enums/Bools]
2                                      ;Byte 1: OperatingMode, 8 bit uint [Enum]
Ext_Module_Prm_Data_Len = 1            ;        0: Auto
Ext_User_Prm_Data_Const(0) = 0x02      ;        1: ForcedStart (Manual start from remote)
EndModule                              ;        2: ForcedStop (Manual stop from remote)
                                       ;Byte 2: Commands, 8 bit uint [Bools]
                                       ;        Bit 0: ResetAlarm (Event)
                                       ;        Bit 1: PumpDown (Event)

Module = "Pump2Control" 0xA1           ;Manual control of Pump 2, 16 bits uint [Enums/Bools]
3                                      ;Byte 1: OperatingMode, 8 bit uint [Enum]
Ext_Module_Prm_Data_Len = 1            ;        0: Auto
Ext_User_Prm_Data_Const(0) = 0x03      ;        1: ForcedStart (Manual start from remote)
EndModule                              ;        2: ForcedStop (Manual stop from remote)
                                       ;Byte 2: Commands, 8 bit uint [Bools]
                                       ;        Bit 0: ResetAlarm (Event)
                                       ;        Bit 1: PumpDown (Event)
                                   
Module = "Pump3Control" 0xA1           ;Manual control of Pump 3, 16 bits uint [Enums/Bools]
4                                      ;Byte 1: OperatingMode, 8 bit uint [Enum]
Ext_Module_Prm_Data_Len = 1            ;        0: Auto
Ext_User_Prm_Data_Const(0) = 0x04      ;        1: ForcedStart (Manual start from remote)
EndModule                              ;        2: ForcedStop (Manual stop from remote)
                                       ;Byte 2: Commands, 8 bit uint [Bools]
                                       ;        Bit 0: ResetAlarm (Event)
                                       ;        Bit 1: PumpDown (Event)
                                   
Module = "Pump4Control" 0xA1           ;Manual control of Pump 4, 16 bits uint [Enums/Bools]
5                                      ;Byte 1: OperatingMode, 8 bit uint [Enum]
Ext_Module_Prm_Data_Len = 1            ;        0: Auto
Ext_User_Prm_Data_Const(0) = 0x05      ;        1: ForcedStart (Manual start from remote)
EndModule                              ;        2: ForcedStop (Manual stop from remote)
                                       ;Byte 2: Commands, 8 bit uint [Bools]
                                       ;        Bit 0: ResetAlarm (Event)
                                       ;        Bit 1: PumpDown (Event)
                                   
Module = "Pump5Control" 0xA1           ;Manual control of Pump 5, 16 bits uint [Enums/Bools]
6                                      ;Byte 1: OperatingMode, 8 bit uint [Enum]
Ext_Module_Prm_Data_Len = 1            ;        0: Auto
Ext_User_Prm_Data_Const(0) = 0x06      ;        1: ForcedStart (Manual start from remote)
EndModule                              ;        2: ForcedStop (Manual stop from remote)
                                       ;Byte 2: Commands, 8 bit uint [Bools]
                                       ;        Bit 0: ResetAlarm (Event)
                                       ;        Bit 1: PumpDown (Event)
                                   
Module = "Pump6Control" 0xA1           ;Manual control of Pump 6, 16 bits uint [Enums/Bools]
7                                      ;Byte 1: OperatingMode, 8 bit uint [Enum]
Ext_Module_Prm_Data_Len = 1            ;        0: Auto
Ext_User_Prm_Data_Const(0) = 0x07      ;        1: ForcedStart (Manual start from remote)
EndModule                              ;        2: ForcedStop (Manual stop from remote)
                                       ;Byte 2: Commands, 8 bit uint [Bools]
                                       ;        Bit 0: ResetAlarm (Event)
                                       ;        Bit 1: PumpDown (Event)


Module = "SetRealTimeClock" 0xA3       ;Setting of the Real Time Clock, 32 bit uint,[UNIX format: sec since 1970]
8                                      
Ext_Module_Prm_Data_Len = 1            
Ext_User_Prm_Data_Const(0) = 0x08 
EndModule

Module = "SetAnalogueOutput1" 0xA1     ;Setting the value of the Analogue output 1, 16 bit uint [0.1 %]
9
Ext_Module_Prm_Data_Len = 1
Ext_User_Prm_Data_Const(0) = 0x09
EndModule

Module = "SetAnalogueOutput2" 0xA1     ;Setting the value of the Analogue output 2, 16 bit uint [0.1 %]
10
Ext_Module_Prm_Data_Len = 1
Ext_User_Prm_Data_Const(0) = 0x0A
EndModule

Module = "SetAnalogueOutput3" 0xA1     ;Setting the value of the Analogue output 3, 16 bit uint [0.1 %]
11
Ext_Module_Prm_Data_Len = 1
Ext_User_Prm_Data_Const(0) = 0x0B
EndModule

Module = "SetOverflowLevel" 0xA1       ;Setting the value of the Overflow level, 16 bit uint [0.01 m]
12
Ext_Module_Prm_Data_Len = 1
Ext_User_Prm_Data_Const(0) = 0x0C
EndModule

Module = "SetHighLevel" 0xA1           ;Setting the value of the High level, 16 bit uint [0.01 m]
13
Ext_Module_Prm_Data_Len = 1
Ext_User_Prm_Data_Const(0) = 0x0D
EndModule

Module = "SetAlarmLevel" 0xA1          ;Setting the value of the Alarm level, 16 bit uint [0.01 m]
14
Ext_Module_Prm_Data_Len = 1
Ext_User_Prm_Data_Const(0) = 0x0E
EndModule

Module = "SetDryRunningLevel" 0xA1     ;Setting the value of the Dry running level, 16 bit uint [0.01 m]
15
Ext_Module_Prm_Data_Len = 1
Ext_User_Prm_Data_Const(0) = 0x0F
EndModule

Module = "SetFoamDrainLevel" 0xA1      ;Setting the value of the Foam draining level, 16 bit uint [0.01 m]
16
Ext_Module_Prm_Data_Len = 1
Ext_User_Prm_Data_Const(0) = 0x10
EndModule

Module = "SetSinglePitStopLevel" 0x20  ;Setting the common Stop level for AutoAdapt single pit mode, 8 bit uint [0.01 m]
17
Ext_Module_Prm_Data_Len = 1
Ext_User_Prm_Data_Const(0) = 0x11
EndModule

Module = "SetSinglePitStartLevel" 0x20 ;Setting the common Start level for AutoAdapt single pit mode, 8 bit uint [0.01 m]
18
Ext_Module_Prm_Data_Len = 1
Ext_User_Prm_Data_Const(0) = 0x12
EndModule

Module = "SetSinglePitStartBand" 0x20  ;Setting the common Start band for AutoAdapt single pit mode, 8 bit uint [0.01 m]
19
Ext_Module_Prm_Data_Len = 1
Ext_User_Prm_Data_Const(0) = 0x13
EndModule

Module = "SetSinglePitHighLevel" 0x20  ;Setting the common High level for AutoAdapt single pit mode, 8 bit uint [0.01 m]
20
Ext_Module_Prm_Data_Len = 1
Ext_User_Prm_Data_Const(0) = 0x14
EndModule

Module = "SetStartLevelP1" 0xA1        ;Setting the Start level of Pump 1, 16 bit uint [0.01 m]
21
Ext_Module_Prm_Data_Len = 1
Ext_User_Prm_Data_Const(0) = 0x15
EndModule

Module = "SetStopLevelP1" 0xA1         ;Setting the Stop level of Pump 1, 16 bit uint [0.01 m]
22
Ext_Module_Prm_Data_Len = 1
Ext_User_Prm_Data_Const(0) = 0x16
EndModule

Module = "SetStartLevelP2" 0xA1        ;Setting the Start level of Pump 2, 16 bit uint [0.01 m]
23
Ext_Module_Prm_Data_Len = 1
Ext_User_Prm_Data_Const(0) = 0x17
EndModule

Module = "SetStopLevelP2" 0xA1         ;Setting the Stop level of Pump 2, 16 bit uint [0.01 m]
24
Ext_Module_Prm_Data_Len = 1
Ext_User_Prm_Data_Const(0) = 0x18
EndModule

Module = "SetStartLevelP3" 0xA1        ;Setting the Start level of Pump 3, 16 bit uint [0.01 m]
25
Ext_Module_Prm_Data_Len = 1
Ext_User_Prm_Data_Const(0) = 0x19
EndModule

Module = "SetStopLevelP3" 0xA1         ;Setting the Stop level of Pump 3, 16 bit uint [0.01 m]
26
Ext_Module_Prm_Data_Len = 1
Ext_User_Prm_Data_Const(0) = 0x1A
EndModule

Module = "SetStartLevelP4" 0xA1        ;Setting the Start level of Pump 4, 16 bit uint [0.01m]
27
Ext_Module_Prm_Data_Len = 1
Ext_User_Prm_Data_Const(0) = 0x1B
EndModule

Module = "SetStopLevelP4" 0xA1         ;Setting the Stop level of Pump 4, 16 bit uint [0.01 m]
28
Ext_Module_Prm_Data_Len = 1
Ext_User_Prm_Data_Const(0) = 0x1C
EndModule

Module = "SetStartLevelP5" 0xA1        ;Setting the Start level of Pump 5, 16 bit uint [0.01 m]
29
Ext_Module_Prm_Data_Len = 1
Ext_User_Prm_Data_Const(0) = 0x1D
EndModule

Module = "SetStopLevelP5" 0xA1         ;Setting the Stop level of Pump 5, 16 bit uint [0.01 m]
30
Ext_Module_Prm_Data_Len = 1
Ext_User_Prm_Data_Const(0) = 0x1E
EndModule

Module = "SetStartLevelP6" 0xA1        ;Setting the Start level of Pump 6, 16 bit uint [0.01 m]
31
Ext_Module_Prm_Data_Len = 1
Ext_User_Prm_Data_Const(0) = 0x1F
EndModule

Module = "SetStopLevelP6" 0xA1         ;Setting the Stop level of Pump 6, 16 bit uint [0.01 m]
32
Ext_Module_Prm_Data_Len = 1
Ext_User_Prm_Data_Const(0) = 0x20
EndModule

Module = "SetMultiPitStartBandP1" 0x20 ;Setting Pump 1 Start band of AutoAdapt Multipit mode, 8 bit uint [0.01 m]
33
Ext_Module_Prm_Data_Len = 1
Ext_User_Prm_Data_Const(0) = 0x21
EndModule

Module = "SetMultiPitHighLevelP1" 0x20 ;Setting Pump 1 High level of AutoAdapt Multipit mode, 8 bit uint [0.01 m]
34
Ext_Module_Prm_Data_Len = 1
Ext_User_Prm_Data_Const(0) = 0x22
EndModule

Module = "SetMultiPitStartBandP2" 0x20 ;Setting Pump 2 Start band of AutoAdapt Multipit mode, 8 bit uint [0.01 m]
35
Ext_Module_Prm_Data_Len = 1
Ext_User_Prm_Data_Const(0) = 0x23
EndModule

Module = "SetMultiPitHighLevelP2" 0x20 ;Setting Pump 2 "High level" of AutoAdapt Multipit mode, 8 bit uint [0.01 m]
36
Ext_Module_Prm_Data_Len = 1
Ext_User_Prm_Data_Const(0) = 0x24
EndModule

Module = "SetMultiPitStartBandP3" 0x20 ;Setting Pump 3 Start band of AutoAdapt Multipit mode, 8 bit uint [0.01 m]
37
Ext_Module_Prm_Data_Len = 1
Ext_User_Prm_Data_Const(0) = 0x25
EndModule

Module = "SetMultiPitHighLevelP3" 0x20 ;Setting Pump 3 "High level" of AutoAdapt Multipit mode, 8 bit uint [0.01 m]
38
Ext_Module_Prm_Data_Len = 1
Ext_User_Prm_Data_Const(0) = 0x26
EndModule

Module = "SetMultiPitStartBandP4" 0x20 ;Setting Pump 4 Start band of AutoAdapt Multipit mode, 8 bit uint [0.01 m]
39
Ext_Module_Prm_Data_Len = 1
Ext_User_Prm_Data_Const(0) = 0x27
EndModule

Module = "SetMultiPitHighLevelP4" 0x20 ;Setting Pump 4 "High level" of AutoAdapt Multipit mode, 8 bit uint [0.01 m]
40
Ext_Module_Prm_Data_Len = 1
Ext_User_Prm_Data_Const(0) = 0x28
EndModule

Module = "SetPumpIndex" 0x20           ;Selection of pump to read status from (module 110-138), 8 bit uint [Enum]
41                                     ; 0: Illegal, defaults to pump 1
Ext_Module_Prm_Data_Len = 1            ; 1-6: Selects pump 1-6
Ext_User_Prm_Data_Const(0) = 0x29      ; 7-255: Illegal, defaults to pump 1
EndModule

Module = "ResetUserDefCounters" 0x20   ;User defined counter resetting, 8 bit uint [Bools]
144                                    ;Bit 0: ResetUserDefCounter1 (Event)
Ext_Module_Prm_Data_Len = 1            ;Bit 1: ResetUserDefCounter2 (Event)
Ext_User_Prm_Data_Const(0) =0x90       ;Bit 2: ResetUserDefCounter3 (Event)
EndModule

;-------------------------------------- S P E C I A L ----------------------------------------------------

Module = "DirectDataRequest" 0xA8      ;GENIpro request telegram, 9 bytes
42                                     ;Byte 1: SequenceNumber
Ext_Module_Prm_Data_Len = 1            ;Byte 2: DestinationAddress (Address of GENIpro device slave, e.g. broadcast 'FF')
Ext_User_Prm_Data_Const(0) = 0x2A      ;Byte 3: Class
EndModule                              ;Byte 4: OperationLength (Operation and Length)
                                       ;Byte 5: Data1
                                       ;Byte 6: Data2
                                       ;Byte 7: Data3
                                       ;Byte 8: Data4
                                       ;Byte 9: Data5

;----------------------------------------------------------------------------------------------------------
; #############################        I N P U T  modules (System)       #####################################
;----------------------------------------------------------------------------------------------------------

Module = "SystemStatus" 0x10           ;Command acknowledge and system mode, 8 bit uint [Bools]
43                                     ;Bit 0: ActRemoteAccess
Ext_Module_Prm_Data_Len = 1            ;Bit 1: ResetAlarmAck
Ext_User_Prm_Data_Const(0) = 0x2B      ;Bit 2: AutoPitAck
EndModule                              ;Bit 3: InterlockPitAck
                                       ;Bit 4: CustomRelayPulseAck
                                       ;Bit 5: PitMode, 0=Single pit, 1=Multi pit (AutoAdapt only)

Module = "PumpControlAck" 0x91         ;Pump control commands acknowledge, 16 bit uint [Bools]
44                                     ;Byte 1: Bit 0: Pump1ResetAlarmAck
Ext_Module_Prm_Data_Len = 1            ;        Bit 1: Pump1PumpDownAck
Ext_User_Prm_Data_Const(0) = 0x2C      ;        Bit 2: Pump2ResetAlarmAck
EndModule                              ;        Bit 3: Pump2PumpDownAck
                                       ;        Bit 4: Pump3ResetAlarmAck
                                       ;        Bit 5: Pump3PumpDownAck
                                       ;        Bit 6: Pump4ResetAlarmAck
                                       ;        Bit 7: Pump4PumpDownAck
                                       ;Byte 2: Bit 0: Pump5ResetAlarmAck
                                       ;        Bit 1: Pump5PumpDownAck
                                       ;        Bit 2: Pump6ResetAlarmAck
                                       ;        Bit 3: Pump6PumpDownAck

Module = "SystemOperatingMode" 0x10    ;System Operating mode, 8 bit uint [Enum]
45                                     ;  0: Standby
Ext_Module_Prm_Data_Len = 1            ;  1: Start-up delay
Ext_User_Prm_Data_Const(0) = 0x2D      ;  2: Pumping
EndModule                              ;  3: Stop delay
                                       ;  4: Pumping max
                                       ;  5: Stopped
                                       ;  6: Foam draining
                                       ;  7: Daily emptying
                                       ;  8: Pump anti-seizing
                                       ;  9: Manual control
                                       ; 10: Interlock controlled
                                       ; 11: Mains failure
                                       ; 12: Level sensor error
                                       ; 13: All pumps in alarm
                                       ; 14: All pumps out of operation

Module = "FloatSwitchStatus" 0x10      ;Status of float switches, 8 bit uint [Bools]
46                                     ;Bit 0: FloatSwitch1Status, 1=On (float switch up)
Ext_Module_Prm_Data_Len = 1            ;Bit 1: FloatSwitch2Status, 1=On (float switch up)
Ext_User_Prm_Data_Const(0) = 0x2E      ;Bit 2: FloatSwitch3Status, 1=On (float switch up)
EndModule                              ;Bit 3: FloatSwitch4Status, 1=On (float switch up)
                                       ;Bit 4: FloatSwitch5Status, 1=On (float switch up)
                                       ;Bit 5: ExtraOverflowSwitchStatus, 1=On (float switch up)

Module = "IoLogicOutputs" 0x10         ;8 logic outputs from the I/O logic function, 8 bit uint [Bools]
47                                     
Ext_Module_Prm_Data_Len = 1            
Ext_User_Prm_Data_Const(0) = 0x2F      
EndModule                              
                                       

Module = "DigitalInputs" 0x10          ;Status of digital inputs, 8 bit uint [Bools]
48                                     ;Bit 0: DI1Active, AutoAdapt: High water alarm
Ext_Module_Prm_Data_Len = 1            ;Bit 1: DI2Active, AutoAdapt: General purpose alarm active
Ext_User_Prm_Data_Const(0) = 0x30      
EndModule                              
                                       
Module = "AlarmCode" 0x10              ;Alarm status code (GENIpro event code), 8 bit uint [Enum]
49
Ext_Module_Prm_Data_Len = 1
Ext_User_Prm_Data_Const(0) = 0x31
EndModule
                                       
Module = "WarningCode" 0x10            ;Warning status code (GENIpro event code), 8 bit uint [Enum]
50
Ext_Module_Prm_Data_Len = 1
Ext_User_Prm_Data_Const(0) = 0x32
EndModule
                
Module = "DCLCAlarmBits" 0x95          ;System alarm bits for Dedicated Controls and LC Controls, 6 bytes [Bools]
51                                     ;Byte 1:                                    Byte 2:
Ext_Module_Prm_Data_Len = 1            ;  Bit 0: Overflow (192)                      Bit 0: FlowSensorSignalFault (169)
Ext_User_Prm_Data_Const(0) = 0x33      ;  Bit 1: HighLevel (191)                     Bit 1: PowerMeterSensorSignalFault (186)
EndModule                              ;  Bit 2: AlarmLevel (190)                    Bit 2: MixerContactorFeedbackFault (221)
                                       ;  Bit 3: DryRunning (57)                     Bit 3: I/OmoduleCommunicationFault (226)
                                       ;  Bit 4: MainsSupplyFault (6)                Bit 4: AddOnCIMcommunicationFault (159)
                                       ;  Bit 5: FloatSwitchSequenceIncons (205)     Bit 5: SIMcardFault (160)
                                       ;  Bit 6: SwitchOrSensorInconsistency (204)   Bit 6: SCADAcallBackFault (15))
                                       ;  Bit 7: LevelSensorSignalFault (189)        Bit 7: PowerOnOccurred (247)
                                       ;Byte 3:                                    Byte 4:
                                       ;  Bit 0: BatteryFault (248)                  Bit 0: ExternalFault (3)
                                       ;  Bit 1: HardwareFault (72)                  Bit 1: CombiEventNo1 (227)
                                       ;  Bit 2: NoIPaddrFromDHCPServer (231)        Bit 2: CombiEventNo2 (227)
                                       ;  Bit 3: EthernetOffDueToMisuse (232)        Bit 3: CombiEventNo3 (227)
                                       ;  Bit 4: MixerTimeForService (222)           Bit 4: CombiEventNo4 (227)
                                       ;  Bit 5: Mixer MaxStartsPerHour (223)        Bit 5: UserDefinedAIsensor1SignalFault (188)
                                       ;  Bit 6: CustomRelayActivated (246)          Bit 6: UserDefinedAIsensor2SignalFault (188)
                                       ;  Bit 7: -                                   Bit 7: UserDefinedAIsensor3SignalFault (188)
                                       ;Byte 5:                                    Byte 6:
                                       ;  Bit 0: DischargeSensorSignalFault (168)    Bit 0: Dosing pump not ready (102)
                                       ;  Bit 1: WaterOnFloor (229)                  Bit 1: Emergency stop (103)
                                       ;  Bit 2: GasDetected (235)                   Bit 2: Too many grinder reversals or attempt failed (115)
                                       ;  Bit 3: UserDefinedEvent1 (249)             Bit 3: Grinder motor over temperature (116)
                                       ;  Bit 4: UserDefinedEvent2 (250)             Bit 4: Intrusion (Door opened) (117)
                                       ;  Bit 5: UserDefinedEvent3 (251)             Bit 5: Memory access error (84)
                                       ;  Bit 6: UserDefinedEvent4 (252)             Bit 6: Internal communication failure (76)
                                       ;  Bit 7: Hydrogen sulfid sensor fault (118)  Bit 7: Setup conflict (25)

Module = "DCLCWarningBits" 0x95        ;System warning bits for Dedicated Controls and LC Controls, 6 bytes [Bools]
52                                     ;Byte 1-6: Same interpretation as module 51 "DCLCAlarmBits"
Ext_Module_Prm_Data_Len = 1            
Ext_User_Prm_Data_Const(0) = 0x34      
EndModule                              

                
Module = "DCLCAlarmBits2" 0x91         ;Alarm bits part 2 for Dedicated Controls representing GENIpro event codes, 2 bytes [Bools]
153                                    ;Byte 1:                                    Byte 2:
Ext_Module_Prm_Data_Len = 1            ;  Bit 0: Limit exceeded sensor 1 (94)        Bit 0: -
Ext_User_Prm_Data_Const(0) = 0x99      ;  Bit 1: Limit exceeded sensor 2 (95)        Bit 1: -
EndModule                              ;  Bit 2: External fault (3)                  Bit 2: -
                                       ;  Bit 3: Perform. requirement not met (17)   Bit 3: -
                                       ;  Bit 4: External warning (46)               Bit 4: -
                                       ;  Bit 5: Missing cable, cable theft (130)    Bit 5: -
                                       ;  Bit 6: Real Time Clock out of order (157)  Bit 6: -
                                       ;  Bit 7: -                                   Bit 7: -

Module = "DCLCWarningBits2" 0x95       ;Warning bits part 2 for Dedicated Controls representing GENIpro event codes, 2 bytes [Bools]
154                                    ;Byte 1-2: Same interpretation as module 153 "DCLCAlarmBits2"
Ext_Module_Prm_Data_Len = 1            
Ext_User_Prm_Data_Const(0) = 0x9A      
EndModule                              



Module = "AAPitAlarmBits" 0x91         ;Pit alarm bits for AutoAdapt representing GENIpro event codes, 2 bytes [Bools]
53                                     ;Byte 1:                                    Byte 2:
Ext_Module_Prm_Data_Len = 1            ;  Bit 0: ExternalFault (3)                   Bit 0: SetupConflict (25)
Ext_User_Prm_Data_Const(0) = 0x35      ;  Bit 1: CommunicationFaultWithPump (10)     Bit 1: NetworkAlarm (230)
EndModule                              ;  Bit 2: VerificationErrorInCodeArea (82)    Bit 2: ParameterErrorInEEPROM (83)
                                       ;  Bit 3: Pump1Fault (236)                    Bit 3: -
                                       ;  Bit 4: Pump2Fault (237)                    Bit 4: -
                                       ;  Bit 5: Pump3Fault (238)                    Bit 5: -
                                       ;  Bit 6: Pump4Fault (239)                    Bit 6: -
                                       ;  Bit 7: HighLevel (191)                     Bit 7: -

Module = "AAPitWarningBits" 0x91       ;Pit alarm bits for AutoAdapt representing GENIpro event codes, 2 bytes [Bools]
54                                     ;Byte 1-2: Same interpretation as module 53 "AAPitWarningBits"
Ext_Module_Prm_Data_Len = 1            
Ext_User_Prm_Data_Const(0) = 0x36      
EndModule                              

Module = "PumpsPresent" 0x10           ;One bit for each pump 1-6 and mixer, which is present, 8 bit uint [Bools]
55                                     ;  Bit 0: Pump1Presence;  (0=Not present  1=Present)
Ext_Module_Prm_Data_Len = 1            ;  Bit 1: Pump2Presence;  
Ext_User_Prm_Data_Const(0) = 0x37      ;  Bit 2: Pump3Presence;  
EndModule                              ;  Bit 3: Pump4Presence;  
                                       ;  Bit 4: Pump5Presence;  
                                       ;  Bit 5: Pump6Presence; 
                                       ;  Bit 6: MixerPresence;  

Module = "PumpsRunning" 0x10           ;One bit for each pump 1-6 and mixer, which is running, 8 bit uint [Bools]
56                                     ;  Bit 0: Pump1RunningStatus;  (0=Not running  1=Running)
Ext_Module_Prm_Data_Len = 1            ;  Bit 1: Pump2RunningStatus;
Ext_User_Prm_Data_Const(0) = 0x38      ;  Bit 2: Pump3RunningStatus;
EndModule                              ;  Bit 3: Pump4RunningStatus;
                                       ;  Bit 4: Pump5RunningStatus;
                                       ;  Bit 5: Pump6RunningStatus;
                                       ;  Bit 6: MixerRunningStatus;

Module = "PumpsCommFault" 0x10         ;One bit for each pump 1-6 and mixer, which has a comm. fault, 8 bit uint [Bools]
57                                     ;  Bit 0: Pump1CommunicationFaultStatus; (0=No comm. fault  1=Comm. fault)
Ext_Module_Prm_Data_Len = 1            ;  Bit 1: Pump2CommunicationFaultStatus;  
Ext_User_Prm_Data_Const(0) = 0x39      ;  Bit 2: Pump3CommunicationFaultStatus;  
EndModule                              ;  Bit 3: Pump4CommunicationFaultStatus;  
                                       ;  Bit 4: Pump5CommunicationFaultStatus;  
                                       ;  Bit 5: Pump6CommunicationFaultStatus;  
                                       ;  Bit 6: MixerCommunicationFaultStatus;

Module = "PumpsAlarm" 0x10             ;One bit for each pump 1-6 and mixer, which has an alarm, 8 bit uint [Bools]
58                                     ;  Bit 0: Pump1Alarm;  (0=No alarm  1=Alarm)
Ext_Module_Prm_Data_Len = 1            ;  Bit 1: Pump2Alarm;  
Ext_User_Prm_Data_Const(0) = 0x3A      ;  Bit 2: Pump3Alarm;  
EndModule                              ;  Bit 3: Pump4Alarm;  
                                       ;  Bit 4: Pump5Alarm;  
                                       ;  Bit 5: Pump6Alarm;  
                                       ;  Bit 6: MixerAlarm;

Module = "PumpsWarning" 0x10           ;One bit for each pump 1-6 and mixer, which has a warning, 8 bit uint [Bools]
59                                     ;  Bit 0: Pump1Warning;  (0=No warning  1=Warning)
Ext_Module_Prm_Data_Len = 1            ;  Bit 1: Pump2Warning;  
Ext_User_Prm_Data_Const(0) = 0x3B      ;  Bit 2: Pump3Warning;  
EndModule                              ;  Bit 3: Pump4Warning; 
                                       ;  Bit 4: Pump5Warning;  
                                       ;  Bit 5: Pump6Warning;  
                                       ;  Bit 6: MixerWarning;

Module = "PumpsDisabled" 0x10          ;One bit for each pump 1-6 and mixer, which is disabled, 8 bit uint [Bools]
60                                     ;  Bit 0: Pump1Disabled;  (0=Enabled  1=Disabled)
Ext_Module_Prm_Data_Len = 1            ;  Bit 1: Pump2Disabled;  
Ext_User_Prm_Data_Const(0) = 0x3C      ;  Bit 2: Pump3Disabled; 
EndModule                              ;  Bit 3: Pump4Disabled;  
                                       ;  Bit 4: Pump5Disabled;  
                                       ;  Bit 5: Pump6Disabled; 
                                       ;  Bit 6: MixerDisabled;

Module = "OverflowLevel" 0x91          ;Actual Overflow level, 16 bit uint [0.01 m]
61
Ext_Module_Prm_Data_Len = 1
Ext_User_Prm_Data_Const(0) = 0x3D
EndModule

Module = "HighLevel" 0x91              ;Actual High level, 16 bit uint [0.01 m]
62
Ext_Module_Prm_Data_Len = 1
Ext_User_Prm_Data_Const(0) = 0x3E
EndModule

Module = "AlarmLevel" 0x91             ;Actual Alarm level, 16 bit uint [0.01 m]
63
Ext_Module_Prm_Data_Len = 1
Ext_User_Prm_Data_Const(0) = 0x3F
EndModule

Module = "DryRunningLevel" 0x91        ;Actual Dry running level, 16 bit uint [0.01 m]
64
Ext_Module_Prm_Data_Len = 1
Ext_User_Prm_Data_Const(0) = 0x40
EndModule

Module = "FoamDrainLevel" 0x91         ;Actual Foam draining level, 16 bit uint [0.01 m]
65
Ext_Module_Prm_Data_Len = 1
Ext_User_Prm_Data_Const(0) = 0x41
EndModule

Module = "SinglePitStopLevel" 0x10     ;Actual common Stop level for AutoAdapt single pit mode, 8 bit uint [0.01 m]
66
Ext_Module_Prm_Data_Len = 1
Ext_User_Prm_Data_Const(0) = 0x42
EndModule

Module = "SinglePitStartLevel" 0x10    ;Actual common Start level for AutoAdapt single pit mode, 8 bit uint [0.01 m]
67
Ext_Module_Prm_Data_Len = 1
Ext_User_Prm_Data_Const(0) = 0x43
EndModule

Module = "SinglePitStartBand" 0x10     ;Actual common Start band for AutoAdapt single pit mode, 8 bit uint [0.01 m]
68
Ext_Module_Prm_Data_Len = 1
Ext_User_Prm_Data_Const(0) = 0x44
EndModule

Module = "SinglePitHighLevel" 0x10     ;Actual common High level for AutoAdapt single pit mode, 8 bit uint [0.01 m]
69
Ext_Module_Prm_Data_Len = 1
Ext_User_Prm_Data_Const(0) = 0x45
EndModule

Module = "StartLevelP1" 0x91           ;Actual Start level of Pump 1, 16 bit uint [0.01 m]
70
Ext_Module_Prm_Data_Len = 1
Ext_User_Prm_Data_Const(0) = 0x46
EndModule

Module = "StopLevelP1" 0x91            ;Actual Stop level of Pump 1, 16 bit uint [0.01 m]
71
Ext_Module_Prm_Data_Len = 1
Ext_User_Prm_Data_Const(0) = 0x47
EndModule

Module = "StartLevelP2" 0x91           ;Actual Start level of Pump 2, 16 bit uint [0.01 m]
72
Ext_Module_Prm_Data_Len = 1
Ext_User_Prm_Data_Const(0) = 0x48
EndModule

Module = "StopLevelP2" 0x91            ;Actual Stop level of Pump 2, 16 bit uint [0.01 m]
73
Ext_Module_Prm_Data_Len = 1
Ext_User_Prm_Data_Const(0) = 0x49
EndModule

Module = "StartLevelP3" 0x91           ;Actual Start level of Pump 3, 16 bit uint [0.01 m]
74
Ext_Module_Prm_Data_Len = 1
Ext_User_Prm_Data_Const(0) = 0x4A
EndModule

Module = "StopLevelP3" 0x91            ;Actual Stop level of Pump 3, 16 bit uint [0.01 m]
75
Ext_Module_Prm_Data_Len = 1
Ext_User_Prm_Data_Const(0) = 0x4B
EndModule

Module = "StartLevelP4" 0x91           ;Actual Start level of Pump 4, 16 bit uint [0.01 m]
76
Ext_Module_Prm_Data_Len = 1
Ext_User_Prm_Data_Const(0) = 0x4C
EndModule

Module = "StopLevelP4" 0x91            ;Actual Stop level of Pump 4, 16 bit uint [0.01 m]
77
Ext_Module_Prm_Data_Len = 1
Ext_User_Prm_Data_Const(0) = 0x4D
EndModule

Module = "StartLevelP5" 0x91           ;Actual Start level of Pump 5, 16 bit uint [0.01 m]
78
Ext_Module_Prm_Data_Len = 1
Ext_User_Prm_Data_Const(0) = 0x4E
EndModule

Module = "StopLevelP5" 0x91            ;Actual Stop level of Pump 5, 16 bit uint [0.01 m]
79
Ext_Module_Prm_Data_Len = 1
Ext_User_Prm_Data_Const(0) = 0x4F
EndModule

Module = "StartLevelP6" 0x91           ;Actual Start level of Pump 6, 16 bit uint [0.01 m]
80
Ext_Module_Prm_Data_Len = 1
Ext_User_Prm_Data_Const(0) = 0x50
EndModule

Module = "StopLevelP6" 0x91            ;Actual Stop level of Pump 6, 16 bit uint [0.01 m]
81
Ext_Module_Prm_Data_Len = 1
Ext_User_Prm_Data_Const(0) = 0x51
EndModule

Module = "MultiPitStartBandP1" 0x10    ;Actual Pump 1 Start band of AutoAdapt Multipit mode, 8 bit uint [0.01 m]
82
Ext_Module_Prm_Data_Len = 1
Ext_User_Prm_Data_Const(0) = 0x52
EndModule

Module = "MultiPitHighLevelP1" 0x10    ;Actual Pump 1 High level of AutoAdapt Multipit mode, 8 bit uint [0.01 m]
83
Ext_Module_Prm_Data_Len = 1
Ext_User_Prm_Data_Const(0) = 0x53
EndModule

Module = "MultiPitStartBandP2" 0x10    ;Actual Pump 2 Start band of AutoAdapt Multipit mode, 8 bit uint [0.01 m]
84
Ext_Module_Prm_Data_Len = 1
Ext_User_Prm_Data_Const(0) = 0x54
EndModule

Module = "MultiPitHighLevelP2" 0x10    ;Actual Pump 2 High level of AutoAdapt Multipit mode, 8 bit uint [0.01 m]
85
Ext_Module_Prm_Data_Len = 1
Ext_User_Prm_Data_Const(0) = 0x55
EndModule

Module = "MultiPitStartBandP3" 0x10    ;Actual Pump 3 Start band of AutoAdapt Multipit mode, 8 bit uint [0.01 m]
86
Ext_Module_Prm_Data_Len = 1
Ext_User_Prm_Data_Const(0) = 0x56
EndModule

Module = "MultiPitHighLevelP3" 0x10    ;Actual Pump 3 High level of AutoAdapt Multipit mode, 8 bit uint [0.01 m]
87
Ext_Module_Prm_Data_Len = 1
Ext_User_Prm_Data_Const(0) = 0x57
EndModule

Module = "MultiPitStartBandP4" 0x10    ;Actual Pump 4 Start band of AutoAdapt Multipit mode, 8 bit uint [0.01 m]
88
Ext_Module_Prm_Data_Len = 1
Ext_User_Prm_Data_Const(0) = 0x58
EndModule

Module = "MultiPitHighLevelP4" 0x10    ;Actual Pump 4 High level of AutoAdapt Multipit mode, 8 bit uint [0.01 m]
89
Ext_Module_Prm_Data_Len = 1
Ext_User_Prm_Data_Const(0) = 0x59
EndModule

Module = "WaterLevel" 0x91             ;Water level in the system, 16 bit uint [0.01 m]
90
Ext_Module_Prm_Data_Len = 1
Ext_User_Prm_Data_Const(0) = 0x5A
EndModule

Module = "SwitchWaterLevel" 0x91       ;Water level according to float switches, 16 bit uint [Unscaled]
91
Ext_Module_Prm_Data_Len = 1
Ext_User_Prm_Data_Const(0) = 0x5B
EndModule

Module = "Depth" 0x91                  ;Depth in the pit/well, 16 bit uint [0.01 m]
92
Ext_Module_Prm_Data_Len = 1
Ext_User_Prm_Data_Const(0) = 0x5C
EndModule

Module = "ActualFlowIn" 0x91           ;Actual water flow into the pit/well, 16 bit uint [0.1 ltr/s]
93
Ext_Module_Prm_Data_Len = 1
Ext_User_Prm_Data_Const(0) = 0x5D
EndModule

Module = "AverageFlowIn" 0x91          ;Average water flow into the pit/well, 16 bit uint [0.1 ltr/s]
94
Ext_Module_Prm_Data_Len = 1
Ext_User_Prm_Data_Const(0) = 0x5E
EndModule

Module = "ActualFlowOut" 0x91          ;Actual water flow out of the pit/well, 16 bit uint [0.1 ltr/s]
95
Ext_Module_Prm_Data_Len = 1
Ext_User_Prm_Data_Const(0) = 0x5F
EndModule

Module = "AverageFlowOut" 0x91         ;Average water flow out of the pit/well, 16 bit uint [0.1 ltr/s]
96
Ext_Module_Prm_Data_Len = 1
Ext_User_Prm_Data_Const(0) = 0x60
EndModule

Module = "SpecificEnergy" 0x91         ;Specific energy consumption, 16 bit uint [Wh/m3]
97
Ext_Module_Prm_Data_Len = 1
Ext_User_Prm_Data_Const(0) = 0x61
EndModule

Module = "OverflowVolume" 0x91         ;Overflow volume, 16 bit uint [0.1 m3]
98
Ext_Module_Prm_Data_Len = 1
Ext_User_Prm_Data_Const(0) = 0x62
EndModule

Module = "OverflowTime" 0x91           ;Overflow time, 16 bit uint [min]
99
Ext_Module_Prm_Data_Len = 1
Ext_User_Prm_Data_Const(0) = 0x63
EndModule

Module = "OverflowCounter" 0x91        ;Overflow counter, 16 bit uint [1]
100
Ext_Module_Prm_Data_Len = 1
Ext_User_Prm_Data_Const(0) = 0x64
EndModule

Module = "Power" 0x93                  ;Power consumption, 32 bit uint [W]
101
Ext_Module_Prm_Data_Len = 1
Ext_User_Prm_Data_Const(0) = 0x65
EndModule

Module = "Energy" 0x93                 ;Energy consumption, 32 bit uint [0.1 kWh]
102
Ext_Module_Prm_Data_Len = 1
Ext_User_Prm_Data_Const(0) = 0x66
EndModule

Module = "RunTime" 0x93                ;Running time, 32 bit uint [min]
103
Ext_Module_Prm_Data_Len = 1
Ext_User_Prm_Data_Const(0) = 0x67
EndModule

Module = "Volume" 0x93                 ;Pumped volume, 32 bit uint [0.1 m3]
104
Ext_Module_Prm_Data_Len = 1
Ext_User_Prm_Data_Const(0) = 0x68
EndModule

Module = "AnalogueInput1" 0x91         ;Analogue input 1, 16 bit uint [0.1 %]
105
Ext_Module_Prm_Data_Len = 1
Ext_User_Prm_Data_Const(0) = 0x69
EndModule

Module = "AnalogueInput2" 0x91         ;Analogue input 2, 16 bit uint [0.1 %]
106
Ext_Module_Prm_Data_Len = 1
Ext_User_Prm_Data_Const(0) = 0x6A
EndModule

Module = "AnalogueInput3" 0x91         ;Analogue input 3, 16 bit uint [0.1 %]
107
Ext_Module_Prm_Data_Len = 1
Ext_User_Prm_Data_Const(0) = 0x6B
EndModule

Module = "MixerStartsPerHour" 0x91     ;Mixer no of starts per hour, 16 bit uint [/h]
108
Ext_Module_Prm_Data_Len = 1
Ext_User_Prm_Data_Const(0) = 0x6C
EndModule

Module = "MixerRuntime" 0x93           ;Running time, 32 bit uint [min]
109
Ext_Module_Prm_Data_Len = 1
Ext_User_Prm_Data_Const(0) = 0x6D
EndModule

Module = "MixerStartCounter" 0x93      ;Mixer start counter, 32 bit uint [1]
110
Ext_Module_Prm_Data_Len = 1
Ext_User_Prm_Data_Const(0) = 0x6E
EndModule

Module = "UserDefCounter1" 0x91        ;Value of user defined counter 1, 16 bit uint [1]
145
Ext_Module_Prm_Data_Len = 1
Ext_User_Prm_Data_Const(0) = 0x91
EndModule

Module = "UserDefCounter2" 0x91        ;Value of user defined counter 2, 16 bit uint [1]
146
Ext_Module_Prm_Data_Len = 1
Ext_User_Prm_Data_Const(0) = 0x92
EndModule

Module = "UserDefCounter3" 0x91        ;Value of user defined counter 3, 16 bit uint [1]
147
Ext_Module_Prm_Data_Len = 1
Ext_User_Prm_Data_Const(0) = 0x93
EndModule

Module = "OutletPressure" 0x91      ;Pit outlet pressure, 16 bit uint [0.001 bar]
148
Ext_Module_Prm_Data_Len = 1
Ext_User_Prm_Data_Const(0) = 0x94
EndModule

Module = "AnalogueInput4" 0x91         ;Analogue input 4, 16 bit uint [0.1 %]
149
Ext_Module_Prm_Data_Len = 1
Ext_User_Prm_Data_Const(0) = 0x95
EndModule

Module = "AnalogueInput5" 0x91         ;Analogue input 5, 16 bit uint [0.1 %]
150
Ext_Module_Prm_Data_Len = 1
Ext_User_Prm_Data_Const(0) = 0x96
EndModule

Module = "UserDigitalInputs" 0x91      ;LC 2x1/2x2 User digital inputs, 2 bytes [Bools]
151                                    ;Byte 1:                                           Byte 2:
Ext_Module_Prm_Data_Len = 1            ;  Bit 0: LC 231:   DI 1                             Bit 0: LC 231: -
Ext_User_Prm_Data_Const(0) = 0x97      ;         LC 241/2: DI 1 (IO 242 Pump module)               LC 241/2: DI 4 (IO 241 Ext module)
EndModule                              ;  Bit 1: LC 231:   DI 2                             Bit 1: LC 231: -
                                       ;         LC 241/2: DI 2 (IO 242 Pump module)               LC 241/2: CIO 1 as DI (IO 241 Ext module)
                                       ;  Bit 2: LC 231:   DIO 3 as DI                      Bit 2: LC 231: -
                                       ;         LC 241/2: DI 3 (IO 242 Pump module)               LC 241/2: CIO 2 as DI (IO 241 Ext module)
                                       ;  Bit 3: LC 231:   DIO 4 as DI                      Bit 3: LC 231: -
                                       ;         LC 241/2: DI 4 (IO 242 Pump module)               LC 241/2: CIO 3 as DI (IO 241 Ext module)
                                       ;  Bit 4: LC 231:   CIO 1 as DI                      Bit 4: LC 231: -
                                       ;         LC 241/2: ADI as DI (IO 242 Pump module)          LC 241/2: CIO 4 as DI (IO 241 Ext module)
                                       ;  Bit 5: LC 231:   CIO 2 as DI                      Bit 5: LC 231: -
                                       ;         LC 241/2: DIO 1 as DI (IO 241 Ext module)         LC 241/2: -
                                       ;  Bit 6: LC 231:   -                                Bit 6: LC 231: -
                                       ;         LC 241/2: DIO 2 as DI (IO 241 Ext module)         LC 241/2: -
                                       ;  Bit 7: LC 231:   -                                Bit 7: LC 231: -
                                       ;         LC 241/2: DI 3 (IO 241 Ext module)                LC 241/2: -

Module = "UserDigitalOutputs" 0x91     ;LC 2x1 User digital outputs, 2 bytes [Bools]
152                                    ;Byte 1:                                           Byte 2:
Ext_Module_Prm_Data_Len = 1            ;  Bit 0: LC 231:   Rel 1                            Bit 0: LC 231:   -
Ext_User_Prm_Data_Const(0) = 0x98      ;         LC 241/2: Rel 1 (IO 242 Pump module)              LC 241/2: Rel 1 (IO 241 Ext module)
EndModule                              ;  Bit 1: LC 231:   Rel 2                            Bit 1: LC 231:   -
                                       ;         LC 241/2: Rel 2 (IO 242 Pump module)              LC 241/2: Rel 2 (IO 241 Ext module)
                                       ;  Bit 2: LC 231:   DIO 3 as DO                      Bit 2: LC 231:   -
                                       ;         LC 241/2: DIO 1 as DO (IO 241 Ext module)         LC 241/2: -
                                       ;  Bit 3: LC 231:   DIO 4 as DO                      Bit 3: LC 231:   -
                                       ;         LC 241/2: DIO 2 as DO (IO 241 Ext module)         LC 241/2: -
                                       ;  Bit 4: LC 231:   CIO 1 as DO                      Bit 4: LC 231:   -
                                       ;         LC 241/2: CIO 1 as DO (IO 241 Ext module)         LC 241/2: -
                                       ;  Bit 5: LC 231:   CIO 2 as DO                      Bit 5: LC 231:   -
                                       ;         LC 241/2: CIO 2 as DO (IO 241 Ext module)         LC 241/2: -
                                       ;  Bit 6: LC 231:   -                                Bit 6: LC 231:   -
                                       ;         LC 241/2: CIO 3 as DO (IO 241 Ext module)         LC 241/2: -
                                       ;  Bit 7: LC 231:   -                                Bit 7: LC 231:   -
                                       ;         LC 241/2: CIO 4 as DO (IO 241 Ext module)         LC 241/2: -

Module = "PulseFlowMeter" 0x91         ;System pulse flow measurement, 16 bit uint [0.1 ltr/s]
155
Ext_Module_Prm_Data_Len = 1
Ext_User_Prm_Data_Const(0) = 0x9B
EndModule


Module = "Turbidity" 0x91              ;System turbidity measurement, 16 bit uint [0.1 NTU]
156
Ext_Module_Prm_Data_Len = 1
Ext_User_Prm_Data_Const(0) = 0x9C
EndModule


Module = "PhMeasure" 0x91              ;System PH measurement, 16 bit uint [0.01 PH]
157
Ext_Module_Prm_Data_Len = 1
Ext_User_Prm_Data_Const(0) = 0x9D
EndModule


Module = "Conductivity" 0x91           ;System water conductivity, 16 bit uint [1 uS/cm]
158
Ext_Module_Prm_Data_Len = 1
Ext_User_Prm_Data_Const(0) = 0x9E
EndModule



;----------------------------------------------------------------------------------------------------------
; ###########################          I N P U T  modules (for each pump)      ############################
;----------------------------------------------------------------------------------------------------------
;This group of data modules represents the pump [1; 6] that is indexed by the output module 41
;"SetPumpIndex" with readback confirmation in module 111 PumpIndex.

Module = "PumpIndex" 0x10              ;Actual Pump index, 8 bit uint [Enum]
111                                    ;Corresponds to module 41 "SetPumpIndex"
Ext_Module_Prm_Data_Len = 1
Ext_User_Prm_Data_Const(0) = 0x6F
EndModule

Module = "PumpOperatingMode" 0x10      ;Operating mode of AutoAdapt pump, 8 bit uint [Enum]
112                                    ; 0: Auto (Power on default)
Ext_Module_Prm_Data_Len = 1            ; 1: Forced start
Ext_User_Prm_Data_Const(0) = 0x70      ; 2: Forced stop
EndModule

Module = "PumpConnectionType" 0x10     ;Operating mode of pump, 8 bit uint [Enum]
113                                    ; 0: CU 361 relay
Ext_Module_Prm_Data_Len = 1            ; 1: IO 351 relay
Ext_User_Prm_Data_Const(0) = 0x71      ; 2: CU 361 + VFD
EndModule                              ; 3: IO 351 + VFD

Module = "PumpControlSource" 0x10      ;Operating mode of pump, 8 bit uint [Enum]
114                                    ; 0: Auto
Ext_Module_Prm_Data_Len = 1            ; 1: Manuel by switch
Ext_User_Prm_Data_Const(0) = 0x72      ; 2: Manuel by display (HMI)
EndModule                              ; 3: Manuel from remote/fieldbus

Module = "PumpPumpingMode" 0x10        ;Pumping mode of pump, 8 bit uint [Enum]
115                                    ; 0: Running
Ext_Module_Prm_Data_Len = 1            ; 1: Stopped
Ext_User_Prm_Data_Const(0) = 0x73      ; 2: Disabled
EndModule                              ; 3: Not present

Module = "PumpAuxDevices" 0x92         ;Auxiliary devices, 3 bytes [Enums]
116                                    ;Byte 1: 0: IO 111 not present
Ext_Module_Prm_Data_Len = 1            ;        1: IO 111 present and OK
Ext_User_Prm_Data_Const(0) = 0x74      ;        2: IO 111 present, but faulty
EndModule                              ;        3: IO 111 present, but no communication
                                       ;Byte 2: 0: MP 204 not present
                                       ;        1: MP 204 present and OK
                                       ;        2: MP 204 present, but faulty
                                       ;        3: MP 204 present, but no communication
                                       ;Byte 3: 0: CUE drive not present
                                       ;        1: CUE drive present and OK
                                       ;        2: CUE drive present, but faulty
                                       ;        3: CUE drive present, but no communication

Module = "DCLCPumpAlarmBits" 0x97      ;One bit for each of the Dedicated Controls Pump alarms, 8 bytes [Bools]
117                                    ;Byte 1:                                    Byte 2:
Ext_Module_Prm_Data_Len = 1            ;  Bit 0: MotorTemperatureAlarmPTC1 (69)      Bit 0: MotorHighVoltage (32)
Ext_User_Prm_Data_Const(0) = 0x75      ;  Bit 1: MotorTemperature alarm PTC2 (70)    Bit 1: MotorPhaseSequenceReversal (9)
EndModule                              ;  Bit 2: MotorStatorTemp1High (64)           Bit 2: MotorOverload, max current (48)
                                       ;  Bit 3: MotorStatorTemp2High (71)           Bit 3: MotorUnderload, min current (56)
                                       ;  Bit 4: MotorSupportBearingTempHigh (145)   Bit 4: MotorProtectorActivated (27)
                                       ;  Bit 5: MotorMainBearingTempHigh (146)      Bit 5: MotorMissingPhase (2)
                                       ;  Bit 6: MotorInsulationResistanceLow (20)   Bit 6: MotorCurrenAsymmetry (111)
                                       ;  Bit 7: MotorLowVoltage (40)                Bit 7: LoadContinuesDespiteSwitchOff (26)
                                       ;Byte 3:                                    Byte 4:
                                       ;  Bit 0: MotorProtectorCommandedTrip (18)    Bit 0: TimeForMotorService (12)
                                       ;  Bit 1: MotorPhaseFailure (241)             Bit 1: AutoRestartsPer24HoursTooHigh (4)
                                       ;  Bit 2: MotorMoistureSwitch (22)            Bit 2: PumpLowFlow (58)
                                       ;  Bit 3: PumpVibrationHigh (24)              Bit 3: PumpMaxContinousRunTime (245)
                                       ;  Bit 4: MotorOilWaterContentHigh (11)       Bit 4: MotorCosPhiHigh (112)
                                       ;  Bit 5: FaultInMainsSupply (6)              Bit 5: MotorCosPhiLow (113)
                                       ;  Bit 6: ContactorFeedbackFault (220)        Bit 6: -
                                       ;  Bit 7: StartsPerHourLimitExceeded (21)     Bit 7: -
                                       ;Byte 5:                                    Byte 6:
                                       ;  Bit 0: MalfuncDueToAuxDevice (224)         Bit 0: PumpPowerLineCommFault (10)
                                       ;  Bit 1: PumpModuleCommFault (225)           Bit 1: SetupConflict (25)
                                       ;  Bit 2: PumpRelayManuallyOperated (243)     Bit 2: GeneralHardwareFault (72)
                                       ;  Bit 3: SignalFaultPT100Sensor (175)        Bit 3: MotorCurrentSensorSignalFault (88)
                                       ;  Bit 4: SignalFaultPTCSensor  (181)         Bit 4: InrushFault (155)
                                       ;  Bit 5: SignalFaultWIOSensor (170)          Bit 5: SignalFaultSensor 2 (93)
                                       ;  Bit 6: SupportBearingSensorSigFault (179)  Bit 6: MotorBearingTempHighDriveEnd (148)
                                       ;  Bit 7: MainBearingSensorSignalFault (180)  Bit 7: MotorBearingTempHighNonDriveEnd (149)
                                       ;Byte 7:                                    Byte 8:
                                       ;  Bit 0: LeakageCurrent (1)                  Bit 0: CommunicationFaultTwinHeadPump (77)
                                       ;  Bit 1: SignalFaultTemp3Sensor (176)        Bit 1: SignalFaultTemp1Sensor (91)
                                       ;  Bit 2: SignalFaultFeedbackSensor (89)      Bit 2: DryRunning (57)
                                       ;  Bit 3: OverCurrent (49)                    Bit 3: VFDnotReady (213)
                                       ;  Bit 4: CurrentProtectionActivated (55)     Bit 4: Other (16)
                                       ;  Bit 5: ServiceInfoChangeBearings (30)      Bit 5: PumpOrMotorBlocked (51)
                                       ;  Bit 6: ServiceInfoLubricateBearings (240)  Bit 6: SignalFaultMotorPowerSensor (186)
                                       ;  Bit 7: MotorModelRecognitionFailed (242)   Bit 7: -

Module = "DCLCPumpWarningBits" 0x97    ;One bit for each of the Dedicated Controls Pump warnings, 8 bytes [Bools]
118                                    ;Byte 1-9: Same interpretation as module 115 "PumpAlarmBits"
Ext_Module_Prm_Data_Len = 1
Ext_User_Prm_Data_Const(0) = 0x76
EndModule

Module = "AAPumpAlarmBits" 0x91        ;One bit for each of the AutoAdapt Pump alarms, 2 bytes [Bools]
119                                    ;Byte 1:                                    Byte 2:
Ext_Module_Prm_Data_Len = 1            ;  Bit 0: MotorPhaseSequenceReversal (9)      Bit 0: TermoRelay1InMotor (69)
Ext_User_Prm_Data_Const(0) = 0x77      ;  Bit 1: MotorHighVoltage (32)               Bit 1: TermoRelay2InMotor (70)
EndModule                              ;  Bit 2: MotorLowVoltage (40)                Bit 2: CodeAreaVerificationError(82)
                                       ;  Bit 3: MotorOverload, max current (48)     Bit 3: ParameterError(EEPROM)(83)
                                       ;  Bit 4: BlockedMotorOrPump (51)             Bit 4: SensorSignalFault, general (88)
                                       ;  Bit 5: DryRunning (57)                     Bit 5: HighLevel (191)
                                       ;  Bit 6: MotorTemperatureHigh (65)           Bit 6: -
                                       ;  Bit 7: ControlElectronicsTempHigh (66)     Bit 7: -

Module = "AAPumpWarningBits" 0x91      ;One bit for each of the AutoAdapt Pump warnings, 2 bytes [Bools]
120                                    ;Byte 1:                                    Byte 2:
Ext_Module_Prm_Data_Len = 1            ;  Bit 0: MotorPhaseSequenceReversal (9)      Bit 0: TermoRelay1InMotor (69)
Ext_User_Prm_Data_Const(0) = 0x78      ;  Bit 1: MotorHighVoltage (32)               Bit 1: TermoRelay2InMotor (70)
EndModule                              ;  Bit 2: MotorLowVoltage (40)                Bit 2: CodeAreaVerificicationError(82)
                                       ;  Bit 3: MotorOverload (48)                  Bit 3: ParameterError(EEPROM)(83)
                                       ;  Bit 4: BlockedMotorOrPump (51)             Bit 4: SensorSignalFault, general (88)
                                       ;  Bit 5: DryRunning (57)                     Bit 5: HighLevel (191)
                                       ;  Bit 6: MotorTemperatureHigh (65)           Bit 6: -
                                       ;  Bit 7: ControlElectronicsTempHigh (66)     Bit 7: -

Module = "PumpLatestRunTime" 0x91      ;For how long did the pump run last time, 16 bit uint [s]
121
Ext_Module_Prm_Data_Len = 1
Ext_User_Prm_Data_Const(0) = 0x79
EndModule

Module = "PumpStartsPerHour" 0x91      ;Number of starts per hour, 16 bit uint [/h]
122
Ext_Module_Prm_Data_Len = 1
Ext_User_Prm_Data_Const(0) = 0x7A
EndModule

Module = "PumpFlow" 0x91               ;Pump flow, 16 bit uint [0.1 ltr/s]
123
Ext_Module_Prm_Data_Len = 1
Ext_User_Prm_Data_Const(0) = 0x7B
EndModule

Module = "PumpLatestFlow" 0x91         ;Measured flow the last time the pump was running, 16 bit uint [0.1 ltr/s]
124
Ext_Module_Prm_Data_Len = 1
Ext_User_Prm_Data_Const(0) = 0x7C
EndModule

Module = "PumpCurrent" 0x91            ;Current consumption, 16 bit uint [0.1 A]
125
Ext_Module_Prm_Data_Len = 1
Ext_User_Prm_Data_Const(0) = 0x7D
EndModule

Module = "PumpLatestCurrent" 0x91      ;Current consumption the last time the pump was running, 16 bit uint [0.1 A]
126
Ext_Module_Prm_Data_Len = 1
Ext_User_Prm_Data_Const(0) = 0x7E
EndModule

Module = "PumpInsulation" 0x91         ;Insulation, 16 bit uint [10 kOhm]
127
Ext_Module_Prm_Data_Len = 1
Ext_User_Prm_Data_Const(0) = 0x7F
EndModule

Module = "PumpWaterInOil" 0x91         ;Water in motor oil, 16 bit uint [0.01 %]
128
Ext_Module_Prm_Data_Len = 1
Ext_User_Prm_Data_Const(0) = 0x80
EndModule

Module = "PumpMotorTemp1" 0x91         ;Motor temperature 1, 16 bit uint [C]
129
Ext_Module_Prm_Data_Len = 1
Ext_User_Prm_Data_Const(0) = 0x81
EndModule

Module = "PumpMotorTemp2" 0x91         ;Motor temperature 2, 16 bit uint [C]
130
Ext_Module_Prm_Data_Len = 1
Ext_User_Prm_Data_Const(0) = 0x82
EndModule

Module = "PumpCosPhi" 0x91             ;Cosinus Phi (Power factor), 16 bit uint [0.01]
131
Ext_Module_Prm_Data_Len = 1
Ext_User_Prm_Data_Const(0) = 0x83
EndModule

Module = "PumpFrequency" 0x91          ;Frequency, 16 bit uint [0.01 Hz]
132
Ext_Module_Prm_Data_Len = 1
Ext_User_Prm_Data_Const(0) = 0x84
EndModule

Module = "PumpVoltage" 0x91            ;Line voltage from supply, 16 bit uint [0.1 V]
133
Ext_Module_Prm_Data_Len = 1
Ext_User_Prm_Data_Const(0) = 0x85
EndModule

Module = "PumpVFDMode" 0x10            ;Mode of the pump VFD driving, 8 bit uint [Enum]
134                                    ; 0: Not in control
Ext_Module_Prm_Data_Len = 1            ; 1: -
Ext_User_Prm_Data_Const(0) = 0x86      ; 2: Stopped
EndModule                              ; 3: Reversed flushing
                                       ; 4: Start flushing
                                       ; 5: Normal
                                       ; 6: Run flushing

Module = "PumpCurrentAsym" 0x10        ;Line current asymmetry, 8 bit uint [0.1 %]
135
Ext_Module_Prm_Data_Len = 1
Ext_User_Prm_Data_Const(0) = 0x87
EndModule

Module = "PumpRunTime" 0x93            ;Running time of pump, 32 bit uint [min]
136
Ext_Module_Prm_Data_Len = 1
Ext_User_Prm_Data_Const(0) = 0x88
EndModule

Module = "PumpTimeToService" 0x93      ;Time to pump service, 32 bit uint [min]
137
Ext_Module_Prm_Data_Len = 1
Ext_User_Prm_Data_Const(0) = 0x89
EndModule

Module = "PumpNoOfStarts" 0x93         ;No of pump starts, 32 bit uint [1]
138
Ext_Module_Prm_Data_Len = 1
Ext_User_Prm_Data_Const(0) = 0x8A
EndModule

Module = "PumpPower" 0x93              ;Power consumption of pump, 32 bit uint [W]
139
Ext_Module_Prm_Data_Len = 1
Ext_User_Prm_Data_Const(0) = 0x8B
EndModule

Module = "PumpEnergy" 0x93             ;Energy consumption of pump, 32 bit uint [0.1 kWh]
140
Ext_Module_Prm_Data_Len = 1
Ext_User_Prm_Data_Const(0) = 0x8C
EndModule

Module = "PumpLevel" 0x91              ;Water level as measured by pump, 16 bit uint [0.01 m]
141
Ext_Module_Prm_Data_Len = 1
Ext_User_Prm_Data_Const(0) = 0x8D
EndModule

;-------------------------------------- S P E C I A L -----------------------------------------

Module = "DeviceIdentification" 0x95   ;Device identification/version, 6 bytes [Enums/Unscaled]
142                                    ;Byte 1: UnitFamily 8 bit uint [Enum]
Ext_Module_Prm_Data_Len = 1            ;Byte 2: UnitType 8 bit uint [Enum]
Ext_User_Prm_Data_Const(0) = 0x8E      ;Byte 3: UnitVersion 8 bit uint [Enum]
EndModule                              ;Byte 4: CIMSoftwareVersion 8 bit uint [1]
                                       ;Byte 5: CIMSoftwareRevision 8 bit uint [1]
                                       ;Byte 6: CIMModel 8 bit uint [Enum]

Module = "DirectDataReply" 0x98        ;GENIpro reply telegram, 9 bytes
143                                    ;Byte 1: SequenceNumber
Ext_Module_Prm_Data_Len = 1            ;Byte 2: DestinationAddress (GENIbus address of CIM 150)
Ext_User_Prm_Data_Const(0) = 0x8F      ;Byte 3: Class
EndModule                              ;Byte 4: AckLength (Acknowledge and Length)
                                       ;Byte 5: Data1
                                       ;Byte 6: Data2
                                       ;Byte 7: Data3
                                       ;Byte 8: Data4
                                       ;Byte 9: Data5

;==============================================================================
;==============================================================================
;====                         Device Diagnostics                          =====
;==============================================================================
;==============================================================================

;==== Hardware Diagnostics ====================================================
Unit_Diag_Bit(92)         = "MeasureCircuit"    ;Code 88-93, 168-184, 186-188
Unit_Diag_Bit(94)         = "Communication"     ;Code 76, 77, 152, 154, 156, 159

;==== Software Diagnostics ====================================================
Unit_Diag_Bit(104)        = "SoftwareFault"     ;Code 104

;==== Mechanics Diagnostics ===================================================
Unit_Diag_Bit(121)        = "RotorBlocked"      ;Code 51
Unit_Diag_Bit(122)        = "ExcessVibration"   ;Code 24
Unit_Diag_Bit(123)        = "BearingFault"      ;Code 240
                          
;==== Electrics Diagnostics ===================================================
Unit_Diag_Bit(145)        = "InstallationFault" ;Code 2, 6
Unit_Diag_Bit(147)        = "SupplyVoltHigh"    ;Code 32
Unit_Diag_Bit(148)        = "SupplyVoltLow"     ;Code 40
Unit_Diag_Bit(150)        = "SupplyCurrHigh"    ;Code 49
Unit_Diag_Bit(155)        = "PhaseFailure"      ;Code 9, 241
Unit_Diag_Bit(157)        = "CurrentInDevice"   ;Code -
Unit_Diag_Bit(161)        = "InsulationResist"  ;Code 20

;==== Liquid Pump Diagnostics =================================================
Unit_Diag_Bit(169)        = "Cavitation"        ;Code 208
Unit_Diag_Bit(171)        = "DryRunning"        ;Code 57
Unit_Diag_Bit(175)        = "Temperature"       ;Code - (no liquid temp available)

;==== Operation Diagnostics ===================================================
Unit_Diag_Bit(193)        = "TurbineOperation"  ;Code 29
Unit_Diag_Bit(203)        = "Lubricant"         ;Code 240
Unit_Diag_Bit(209)        = "OverLoad"          ;Code 48, 49, 54, 55
Unit_Diag_Bit(212)        = "WaterLeakage"      ;Code 207
Unit_Diag_Bit(213)        = "TemperatureFault"  ;Code 64
Unit_Diag_Bit(218)        = "MotorOverheat"     ;Code 65
Unit_Diag_Bit(219)        = "ContrOverheat"     ;Code 66
Unit_Diag_Bit(220)        = "ConvOverheat"      ;Code 67

;==== Auxiliary Device Diagnostics ============================================
Unit_Diag_Bit(224)        = "AuxDeviceFault"    ;Code 224

;==== Manufacture Specific Diagnostics ========================================
Unit_Diag_Bit(264)        = "Missing Phase"                     ;Code 2
Unit_Diag_Bit(265)        = "Too Many Restarts"                 ;Code 4
Unit_Diag_Bit(266)        = "Regenerative Braking"              ;Code 5
Unit_Diag_Bit(267)        = "Mains Fault"                       ;Code 6
Unit_Diag_Bit(268)        = "Too Many Hardware Shutdowns"       ;Code 7
Unit_Diag_Bit(269)        = "PWM switching frequency reduced"   ;Code 8
Unit_Diag_Bit(270)        = "Water-in-oil fault (motor oil)"    ;Code 11
Unit_Diag_Bit(271)        = "Moisture alarm, analogue "         ;Code 13
Unit_Diag_Bit(272)        = "Electronic DC-link Protection"     ;Code 14
Unit_Diag_Bit(273)        = "Communication fault, main system"  ;Code 15 
Unit_Diag_Bit(274)        = "Other"                             ;Code 16
Unit_Diag_Bit(275)        = "Performance requirement not met"   ;Code 17
Unit_Diag_Bit(276)        = "Commanded Alarm (Trip)"            ;Code 18
Unit_Diag_Bit(277)        = "Diaphragm break (dosing pump)"     ;Code 19
Unit_Diag_Bit(278)        = "Too many starts per hour"          ;Code 21
Unit_Diag_Bit(279)        = "Moisture switch alarm, digital"    ;Code 22
Unit_Diag_Bit(280)        = "Smart Trim Gab alarm"              ;Code 23
Unit_Diag_Bit(281)        = "Setup conflict"                    ;Code 25
Unit_Diag_Bit(282)        = "Load continues after switch off"   ;Code 26
Unit_Diag_Bit(283)        = "External motor protector"          ;Code 27
Unit_Diag_Bit(284)        = "Battery low"                       ;Code 28
Unit_Diag_Bit(285)        = "Change varistor(s), service info"  ;Code 31
Unit_Diag_Bit(286)        = "Motor model recognition failed"    ;Code 242
Unit_Diag_Bit(287)        = "Undervoltage transient"            ;Code 41
Unit_Diag_Bit(288)        = "Cut In fault (dV/dt)"              ;Code 42
Unit_Diag_Bit(289)        = "Voltage asymmetry"                 ;Code 45
Unit_Diag_Bit(290)        = "Motor Protection Function"         ;Code 50
Unit_Diag_Bit(291)        = "Motor slip high"                   ;Code 52
Unit_Diag_Bit(292)        = "Kipped motor"                      ;Code 53
Unit_Diag_Bit(293)        = "Motor Protection Function, 3s"     ;Code 54
Unit_Diag_Bit(294)        = "Motor Current Protection"          ;Code 55
Unit_Diag_Bit(295)        = "Electronic Rectifier Protection"   ;Code 105
Unit_Diag_Bit(296)        = "Electronic Inverter Protection"    ;Code 106
Unit_Diag_Bit(297)        = "Underload"                         ;Code 56
Unit_Diag_Bit(298)        = "Low flow"                          ;Code 58
Unit_Diag_Bit(299)        = "No flow"                           ;Code 59
Unit_Diag_Bit(300)        = "Termo relay 1 in motor"            ;Code 69
Unit_Diag_Bit(301)        = "Termo relay 2 in motor"            ;Code 70
Unit_Diag_Bit(302)        = "Motor temperature 2"               ;Code 71
Unit_Diag_Bit(303)        = "Motor temperature 3"               ;Code 144
Unit_Diag_Bit(304)        = "Top/general bearing temp. high"    ;Code 145
Unit_Diag_Bit(305)        = "Middle bearing temp. high"         ;Code 146
Unit_Diag_Bit(306)        = "Lower bearing temp. high"          ;Code 147
Unit_Diag_Bit(307)        = "Motor bearing temp. high DE"       ;Code 148
Unit_Diag_Bit(308)        = "Motor bearing temp. high NDE"      ;Code 149
Unit_Diag_Bit(309)        = "Hardware fault type 1"             ;Code 72
Unit_Diag_Bit(310)        = "Hardware shut down (HSD)"          ;Code 73
Unit_Diag_Bit(311)        = "Internal supply voltage too high"  ;Code 74
Unit_Diag_Bit(312)        = "Internal supply voltage too low"   ;Code 75
Unit_Diag_Bit(313)        = "Internal communication failure"    ;Code 76
Unit_Diag_Bit(314)        = "Communication fault, twin pump"    ;Code 77
Unit_Diag_Bit(315)        = "Fault, speed plug "                ;Code 78
Unit_Diag_Bit(316)        = "Functional fault, add-on module"   ;Code 79
Unit_Diag_Bit(317)        = "Comm. fault, add on module"        ;Code 152
Unit_Diag_Bit(318)        = "Fault, analogue output"            ;Code 153
Unit_Diag_Bit(319)        = "Comm. fault, display"              ;Code 154
Unit_Diag_Bit(320)        = "Inrush Fault"                      ;Code 155
Unit_Diag_Bit(321)        = "Comm.  fault, Internal"            ;Code 156
Unit_Diag_Bit(322)        = "Real time clock out of order"      ;Code 157
Unit_Diag_Bit(323)        = "Hardware fault type 2"             ;Code 80
Unit_Diag_Bit(324)        = "Data area verification error"      ;Code 81
Unit_Diag_Bit(325)        = "Code area verification error"      ;Code 82
Unit_Diag_Bit(326)        = "FE parameter error"                ;Code 83
Unit_Diag_Bit(327)        = "Memory access error"               ;Code 84
Unit_Diag_Bit(328)        = "BE parameter error"                ;Code 85
Unit_Diag_Bit(329)        = "Sensor Fault"                      ;Code 88
Unit_Diag_Bit(330)        = "Signal fault, feedback sensor 1"   ;Code 89
Unit_Diag_Bit(331)        = "Signal fault, speed sensor"        ;Code 90
Unit_Diag_Bit(332)        = "Signal fault, temp. 1 sensor"      ;Code 91
Unit_Diag_Bit(333)        = "Calibration fault, feedb. sensor"  ;Code 92
Unit_Diag_Bit(334)        = "Signal fault, sensor 2"            ;Code 93
Unit_Diag_Bit(335)        = "Limit exceeded, sensor 1"          ;Code 94
Unit_Diag_Bit(336)        = "Limit exceeded, sensor 2"          ;Code 95
Unit_Diag_Bit(337)        = "Signal fault, discharge sensor"    ;Code 168
Unit_Diag_Bit(338)        = "Signal fault, flow sensor"         ;Code 169
Unit_Diag_Bit(339)        = "Signal fault, WIO sensor"          ;Code 170
Unit_Diag_Bit(340)        = "Signal fault, moisture sensor"     ;Code 171
Unit_Diag_Bit(341)        = "Signal fault, atm. press. sensor"  ;Code 172
Unit_Diag_Bit(342)        = "Signal fault, rotor pos. sensor"   ;Code 173
Unit_Diag_Bit(343)        = "Signal fault, rotor origo sensor"  ;Code 174
Unit_Diag_Bit(344)        = "Signal fault, temp. 2 Sensor"      ;Code 175
Unit_Diag_Bit(345)        = "Signal fault, temp. 3 Sensor"      ;Code 176
Unit_Diag_Bit(346)        = "Signal fault, trim gab sensor"     ;Code 177
Unit_Diag_Bit(347)        = "Signal fault, vibration sensor"    ;Code 178
Unit_Diag_Bit(348)        = "Signal fault, bear temp1. sensor"  ;Code 179
Unit_Diag_Bit(349)        = "Signal fault, bear temp2. sensor"  ;Code 180
Unit_Diag_Bit(350)        = "Signal fault, PTC sensor"          ;Code 181
Unit_Diag_Bit(351)        = "Signal fault, bear temp3. sensor"  ;Code 182
Unit_Diag_Bit(352)        = "Signal fault, extra temp. sensor"  ;Code 183
Unit_Diag_Bit(353)        = "Signal fault, General sensor"      ;Code 184
Unit_Diag_Bit(354)        = "Unknown sensor  type"              ;Code 185
Unit_Diag_Bit(355)        = "Sensor limit 1 exceeded"           ;Code 190
Unit_Diag_Bit(356)        = "Sensor limit 2 exceeded"           ;Code 191
Unit_Diag_Bit(357)        = "Sensor limit 3 exceeded"           ;Code 192
Unit_Diag_Bit(358)        = "Sensor limit 4 exceeded"           ;Code 193
Unit_Diag_Bit(359)        = "Sensor limit 5 exceeded"           ;Code 194
Unit_Diag_Bit(360)        = "Sensor limit 6 exceeded"           ;Code 195
Unit_Diag_Bit(361)        = "Setpoint signal outside range"     ;Code 96
Unit_Diag_Bit(362)        = "Signal fault, setpoint input"      ;Code 97
Unit_Diag_Bit(363)        = "Signal fault, setpoint influence"  ;Code 98
Unit_Diag_Bit(364)        = "Signal fault, setpoint att."       ;Code 99
Unit_Diag_Bit(365)        = "Software shut down"                ;Code 104
Unit_Diag_Bit(366)        = "Skew load, electrical asymmetry"   ;Code 110
Unit_Diag_Bit(367)        = "Current asymmetry"                 ;Code 111
Unit_Diag_Bit(368)        = "Cos(phi) too high"                 ;Code 112
Unit_Diag_Bit(369)        = "Cos(phi) too low"                  ;Code 113
Unit_Diag_Bit(370)        = "Auxiliary winding fault"           ;Code 120
Unit_Diag_Bit(371)        = "Aux. winding current too high"     ;Code 121
Unit_Diag_Bit(372)        = "Aux. winding current too low"      ;Code 122
Unit_Diag_Bit(373)        = "Start capacitor too low"           ;Code 123
Unit_Diag_Bit(374)        = "Run capacitor too low"             ;Code 124
Unit_Diag_Bit(375)        = "Application alarm"                 ;Code 200
Unit_Diag_Bit(376)        = "External sensor input high"        ;Code 201
Unit_Diag_Bit(377)        = "External sensor input low"         ;Code 202
Unit_Diag_Bit(378)        = "Alarm on all pumps"                ;Code 203
Unit_Diag_Bit(379)        = "Inconsistency between sensors"     ;Code 204
Unit_Diag_Bit(380)        = "Level float switch sequence"       ;Code 205
Unit_Diag_Bit(381)        = "Water shortage (level 1"           ;Code 206
Unit_Diag_Bit(382)        = "None-return valve fault"           ;Code 209
Unit_Diag_Bit(383)        = "Overpressure"                      ;Code 210
Unit_Diag_Bit(384)        = "Underpressure"                     ;Code 211
Unit_Diag_Bit(385)        = "Diaphragm tank pre-pressure"       ;Code 212
Unit_Diag_Bit(386)        = "VFD not ready"                     ;Code 213
Unit_Diag_Bit(387)        = "Water shortage (level 2)"          ;Code 214
Unit_Diag_Bit(388)        = "Soft pressure build up time out"   ;Code 215
Unit_Diag_Bit(389)        = "Pilot pump alarm"                  ;Code 216
Unit_Diag_Bit(390)        = "General purpose sensor high"       ;Code 217
Unit_Diag_Bit(391)        = "General purpose sensor low"        ;Code 218
Unit_Diag_Bit(392)        = "Pressure relief not adequate"      ;Code 219
Unit_Diag_Bit(393)        = "Network alarm"                     ;Code 230
Unit_Diag_Bit(394)        = "Ethernet: No IP address"           ;Code 231
Unit_Diag_Bit(395)        = "Ethernet: Auto disabled, misuse"   ;Code 232
Unit_Diag_Bit(396)        = "Ethernet: IP address conflict"     ;Code 233
Unit_Diag_Bit(397)        = "Time for service, info"            ;Code 12
Unit_Diag_Bit(398)        = "Comm. Interface Module Fault"      ;Code 159
Unit_Diag_Bit(399)        = "External fault signal"             ;Code 3
Unit_Diag_Bit(400)        = "Phase sequence reversal"           ;Code 9
Unit_Diag_Bit(401)        = "Communication fault pump"          ;Code 10
Unit_Diag_Bit(402)        = "Soon time for service, info"       ;Code 33 
Unit_Diag_Bit(403)        = "Gas in pump head, deaerate"        ;Code 35
Unit_Diag_Bit(404)        = "Discharge valve leakage"           ;Code 36
Unit_Diag_Bit(405)        = "Suction valve leakage"             ;Code 37
Unit_Diag_Bit(406)        = "Vent valve defective"              ;Code 38
Unit_Diag_Bit(407)        = "Lubricate bearings, info"          ;Code 240
Unit_Diag_Bit(408)        = "Motor phase failure"               ;Code 241
Unit_Diag_Bit(409)        = "Motor relay has been forced"       ;Code 243
Unit_Diag_Bit(410)        = "Fault, On/Off/Auto switch"         ;Code 244
Unit_Diag_Bit(411)        = "Pump continuous runtime too long"  ;Code 245
Unit_Diag_Bit(412)        = "User def. relay has been forced"   ;Code 246
Unit_Diag_Bit(413)        = "Power on notice"                   ;Code 247
Unit_Diag_Bit(414)        = "Fault, motor contactor feedback"   ;Code 220
Unit_Diag_Bit(415)        = "Fault, mixer contactor feedback"   ;Code 221
Unit_Diag_Bit(416)        = "Time for service, mixer"           ;Code 222
Unit_Diag_Bit(417)        = "Too many mixer starts per hour"    ;Code 223
Unit_Diag_Bit(418)        = "Pump fault due to aux. device"     ;Code 224
Unit_Diag_Bit(419)        = "Communication fault, pump module"  ;Code 225
Unit_Diag_Bit(420)        = "Communication fault, I/O module"   ;Code 226
Unit_Diag_Bit(421)        = "Combi event"                       ;Code 227
Unit_Diag_Bit(422)        = "Operation with reduced eff."       ;Code 196
Unit_Diag_Bit(423)        = "Operation with reduced pressure"   ;Code 197
Unit_Diag_Bit(424)        = "Operation with increased power"    ;Code 198
Unit_Diag_Bit(425)        = "Process out of range"              ;Code 199
Unit_Diag_Bit(426)        = "Pump 1 fault"                      ;Code 236
Unit_Diag_Bit(427)        = "Pump 2 fault"                      ;Code 237
Unit_Diag_Bit(428)        = "Pump 3 fault"                      ;Code 238
Unit_Diag_Bit(429)        = "Pump 4 fault"                      ;Code 239
Unit_Diag_Bit(430)        = "Signal fault, level sensor"        ;Code 189
Unit_Diag_Bit(431)        = "Low input power"                   ;Code 60
Unit_Diag_Bit(432)        = "Sensor supply fault, 5V"           ;Code 161
Unit_Diag_Bit(433)        = "Sensor supply fault, 24V"          ;Code 162
Unit_Diag_Bit(434)        = "Motor drive protec. meas. fault"   ;Code 163
Unit_Diag_Bit(435)        = "Signal fault, LiqTec sensor"       ;Code 164
Unit_Diag_Bit(436)        = "Signal fault, analog input AI1"    ;Code 165
Unit_Diag_Bit(437)        = "Signal fault, analog input AI2"    ;Code 166
Unit_Diag_Bit(438)        = "Signal fault, analog input AI3"    ;Code 167
Unit_Diag_Bit(439)        = "Backup pump fault"                 ;Code 234
Unit_Diag_Bit(440)        = "Water on floor"                    ;Code 229
Unit_Diag_Bit(441)        = "Gas detected"                      ;Code 235
Unit_Diag_Bit(442)        = "User defined event 1"              ;Code 249
Unit_Diag_Bit(443)        = "User defined event 2"              ;Code 250
Unit_Diag_Bit(444)        = "User defined event 3"              ;Code 251
Unit_Diag_Bit(445)        = "User defined event 4"              ;Code 252
















































































