;=============================================================================
; JH_SPI.HDD                                                                 .
; Manufacturer: DR. JOHANNES HEIDENHAIN GmbH, Traunreut, Germany             .
; Contact:  service.plc@heidenhain.de                                        .
;                                                                            .
; for use with the HEIDENHAIN internal SPI IO                                .
;                                                                            .
;=============================================================================
#Heidenhain_Internal

; General parameters ==================================================
HDD_Revision    = 1
Vendor_Name     = "HEIDENHAIN"
Model_Name      = "JH_SPI"
;V3;1  HDD_file_Version =  "1.09"
;V3;1  HDD_file_Date    =  "22.02.2016"

; Slave-Specification  ================================================
Max_Input_len     = 240       
Max_Output_len    = 240
Max_Data_len      = 240

Max_User_Prm_Data_Len = 230
Ext_User_Prm_Data_Const(0) = 0x0, 0x0, 0x0, 0xff 


; Slave-Distinction ===================================================
;V3 Slave = "HEIDENHAIN SPI 1x"
;V3    Ident_Number = 50
;V3;1  State = "recommended"
;V3;1  Version = "1.00"
;V3    Description = "SPI device with 1 slot", "SPI-Gert mit 1 Steckplatz"
;V3    Order_Number = "ID 000003"
;V3    Max_Module = 1
;V3 EndSlave

;V3 Slave = "HEIDENHAIN SPI 2x"
;V3    Ident_Number = 51
;V3;1  State = "prototype"
;V3;1  Version = "1.00"
;V3    Description = "SPI device with 2 slots", "SPI-Gert mit 2 Steckpltzen"
;V3    Order_Number = "ID 000004"
;V3    Max_Module = 2
;V3 EndSlave

; Module-Distinction ==================================================


; ---------------------------------------------------------------------
;  parameter (text for selections)

PrmText = 1
  Text(0) = "output type 3 (switching off by emergency stop)", "Ausgangstyp 3 (Abschaltung bei NOTAUS)"
  Text(1) = "output type 2", "Ausgangstyp 2"
EndPrmText

PrmText = 2
  Text(0) = "disable", "disable"
  Text(1) = "enable",  "enable"
EndPrmText

PrmText = 3
  Text(0) = "active",   "aktiv"
  Text(1) = "inactive", "nicht aktiv"
EndPrmText

PrmText = 4    
  Text(0) = "voltage output standby, high impedance 0V",  "Spannungsausgang inaktiv, hochohmig 0V"
  Text(1) = "+-10V", "+-10V"
EndPrmText

PrmText = 5    
  Text(0) = "output-driver cause errors",           "Ausgangstreiberwarnungen werden als Fehler gewertet"
  Text(1) = "output-driver don't cause errors",     "Ausgangstreiberwarnungen werden nicht als Fehler gewertet"
EndPrmText

PrmText = 6
  Text(0) = "Four-wire",  "Vierleitertechnik"
  Text(1) = "Three-wire", "Dreileitertechnik"
EndPrmText


; ---------------------------------------------------------------------
;  parameter "CMD-H 24-12-00"

ExtUserPrmData = 1 "output type", "Ausgangstyp"
  Bit (0) 1 0-1
  Prm_Text_Ref = 1
  Scope= output
  Range= 0-11
EndExtUserPrmData

ExtUserPrmData = 2 "output with delay time DT0", "Ausgang mit Verzgerungszeit DT0"
  Bit (0) 0 0-1
  Prm_Text_Ref = 2
  Scope= output
  Range= 0-11
EndExtUserPrmData

ExtUserPrmData = 3 "output with delay time DT1", "Ausgang mit Verzgerungszeit DT1"
  Bit (0) 0 0-1
  Prm_Text_Ref = 2
  Scope= output
  Range= 0-11
EndExtUserPrmData

ExtUserPrmData = 4 "delay time DT0 [1/10 s]", "Verzgerungszeit DT0 [1/10 s]"
  Unsigned8 50 0-255
  Scope= module
  Range= 0
EndExtUserPrmData

ExtUserPrmData = 5 "delay time DT1 [1/10 s]", "Verzgerungszeit DT1 [1/10 s]"
  Unsigned8 100 0-255
  Scope= module
  Range= 0
EndExtUserPrmData


; ---------------------------------------------------------------------
;  parameter "CMA-H 02-00-04" 

ExtUserPrmData = 8 "voltage input with mean value filter", "Spannungseingang mit Mittelwert bildendem Filter"
  Bit (0) 1 0-1
  Prm_Text_Ref = 2
  Scope= input
  Range= 0-1
EndExtUserPrmData

ExtUserPrmData = 9 "temperature input with mean value filter", "Temperatureingang mit Mittelwert bildendem Filter"
  Bit (0) 1 0-1
  Prm_Text_Ref = 2
  Scope= input
  Range= 2-5
EndExtUserPrmData

ExtUserPrmData = 10 "voltage input with slew rate filter", "Spannungseingang mit nderungsgeschwindigkeit begrenzendem Filter"
  Bit (0) 0 0-1
  Prm_Text_Ref = 2
  Scope= input
  Range= 0-1
EndExtUserPrmData

ExtUserPrmData = 11 "temperature input with slew rate filter", "Temperatureingang mit nderungsgeschwindigkeit begrenzendem Filter"
  Bit (0) 1 0-1
  Prm_Text_Ref = 2
  Scope= input
  Range= 2-5
EndExtUserPrmData

ExtUserPrmData = 12 "slew rate filter for voltage input [0,1042 V/s]", "nderungsgeschwindigkeit begrenzender Filter fr Spannungseingang[0,1042 V/s]"
  Unsigned16 100 1-65535
  Scope= input
  Range= 0-1
EndExtUserPrmData

ExtUserPrmData = 13 "slew rate filter for temperature input[0,666 K/s]", "nderungsgeschwindigkeit begrenzender Filter fr Temperatureingang [0,666 K/s]"
  Unsigned16 100 1-65535
  Scope= input
  Range= 2-5
EndExtUserPrmData

ExtUserPrmData = 14 "voltage input", "Spannungseingang"
  Bit (0) 1 0-1
  Prm_Text_Ref = 2
  Scope= input
  Range= 0-1
EndExtUserPrmData

ExtUserPrmData = 15 "temperature input", "Temperatureingang"
  Bit (0) 1 0-1
  Prm_Text_Ref = 2
  Scope= input
  Range= 2-5
EndExtUserPrmData


; ---------------------------------------------------------------------
;  parameter "CMA-H 04-04-00" 

ExtUserPrmData = 17 "voltage output error mode", "Spannungsausgang Fehlerreaktion"
  Unsigned8 1 0-1
  Prm_Text_Ref = 5
  Scope= module
  Range= 0
EndExtUserPrmData

ExtUserPrmData = 18 "slew rate filter for voltage input [0,1041 mV/s]", "nderungsgeschwindigkeit begrenzender Filter fr Spannungseingang[0,1041 V/s]"
  Unsigned16 100 1-65535
  Scope= input
  Range= 0-3
EndExtUserPrmData

ExtUserPrmData = 19 "voltage input with slew rate filter", "Spannungseingang mit nderungsgeschwindigkeit begrenzendem Filter"
  Bit (0) 0 0-1
  Prm_Text_Ref = 2
  Scope= input
  Range= 0-3
EndExtUserPrmData

ExtUserPrmData = 20 "voltage input with mean value filter", "Spannungseingang mit Mittelwert bildendem Filter"
  Bit (0) 0 0-1
  Prm_Text_Ref = 2
  Scope= input
  Range= 0-3
EndExtUserPrmData

ExtUserPrmData = 21 "voltage input", "Spannungseingang"
  Bit (0) 1 0-1
  Prm_Text_Ref = 2
  Scope= input
  Range= 0-3
EndExtUserPrmData

ExtUserPrmData = 22 "voltage output operating mode", "Spannungsausgang Betriebsmodus"
  Unsigned8 1 0-1
  Prm_Text_Ref = 4
  Scope= output
  Range= 0-3
EndExtUserPrmData


; ---------------------------------------------------------------------
;  parameter "CMA-H 04-00-04"

ExtUserPrmData = 23 "voltage input with mean value filter", "Spannungseingang mit Mittelwert bildendem Filter"
  Bit (0) 0 0-1
  Prm_Text_Ref = 2
  Scope= input
  Range= 0-3
EndExtUserPrmData

ExtUserPrmData = 24 "temperature input with mean value filter", "Temperatureingang mit Mittelwert bildendem Filter"
  Bit (0) 0 0-1
  Prm_Text_Ref = 2
  Scope= input
  Range= 4-7
EndExtUserPrmData

ExtUserPrmData = 25 "voltage input with slew rate filter", "Spannungseingang mit nderungsgeschwindigkeit begrenzendem Filter"
  Bit (0) 0 0-1
  Prm_Text_Ref = 2
  Scope= input
  Range= 0-3
EndExtUserPrmData

ExtUserPrmData = 26 "temperature input with slew rate filter", "Temperatureingang mit nderungsgeschwindigkeit begrenzendem Filter"
  Bit (0) 0 0-1
  Prm_Text_Ref = 2
  Scope= input
  Range= 4-7
EndExtUserPrmData

ExtUserPrmData = 27 "slew rate filter for voltage input [0,1042 V/s]", "nderungsgeschwindigkeit begrenzender Filter fr Spannungseingang[0,1042 V/s]"
  Unsigned16 100 1-65535
  Scope= input
  Range= 0-3
EndExtUserPrmData

ExtUserPrmData = 28 "slew rate filter for temperature input[0,666 K/s]", "nderungsgeschwindigkeit begrenzender Filter fr Temperatureingang [0,666 K/s]"
  Unsigned16 100 1-65535
  Scope= input
  Range= 4-7
EndExtUserPrmData

ExtUserPrmData = 29 "voltage input", "Spannungseingang"
  Bit (0) 1 0-1
  Prm_Text_Ref = 2
  Scope= input
  Range= 0-3
EndExtUserPrmData

ExtUserPrmData = 30 "temperature input", "Temperatureingang"
  Bit (0) 1 0-1
  Prm_Text_Ref = 2
  Scope= input
  Range= 4-7
EndExtUserPrmData

ExtUserPrmData = 31 "Type of connection", "Anschlussart"
  Bit (0) 0 0-1
  Prm_Text_Ref = 6
  Scope= input
  Range= 4-7
EndExtUserPrmData


;;  -----------------------------------------------------------------------    
Module = "CMD-H 24-12-00"
  51
;V3;1  State = "recommended"
;V3;1  Version = "1.00"
  Description = "24 digital inputs, 12 digital outputs, 24V", "24 digitale Eingnge, 12 digitale Ausgnge, 24V"
  Order_Number = "ID 810900"
  Module_A = 0x12, 0x21
    Ext_Module_Prm_Data_Len = 20
    Ext_User_Prm_Data_Const(0) = 0x03, 0x01, 0x04,  0x01, 0x00,  0x0a, 0x00,  0x06, 0x00,  0x09, 0x00,  0x01, 0x64, 0x32, 0x00, 0x00, 0x00, 0x00, 0xff, 0x0f
    Ext_User_Prm_Data_Ref(12) = 5
    Ext_User_Prm_Data_Ref(13) = 4
    Ext_User_Prm_Data_Ref(14) = 3
    Ext_User_Prm_Data_Ref(16) = 2
    Ext_User_Prm_Data_Ref(18) = 1
    IO_Definition = "CMD-24-12-IN",  input,  byteToBit, 2, 0, bit, 24
    IO_Definition = "CMD-24-12-RO",  input,  byteToBit, 5, 0, bit, 12
    IO_Definition = "CMD-24-12-OUT", output, bitToBit,  2, 0, bit, 12    
  EndModule_A
EndModule

IoDefText = "CMD-24-12-IN"
  Text(0)    = "I_UNUSED", "X110.17", "I0"
  Text(1)    = "I_UNUSED", "X110.18", "I1"
  Text(2)    = "I_UNUSED", "X110.19", "I2"
  Text(3)    = "I_UNUSED", "X110.20", "I3"
  Text(4)    = "I_UNUSED", "X110.21", "I4"
  Text(5)    = "I_UNUSED", "X110.22", "I5"
  Text(6)    = "I_UNUSED", "X110.23", "I6"
  Text(7)    = "I_UNUSED", "X110.24", "I7"
  Text(8)    = "I_UNUSED", "X110.25", "I8"
  Text(9)    = "I_UNUSED", "X110.26", "I9"
  Text(10)   = "I_UNUSED", "X110.27", "I10"
  Text(11)   = "I_UNUSED", "X110.28", "I11"
  Text(12)   = "I_UNUSED", "X110.29", "I12"
  Text(13)   = "I_UNUSED", "X110.30", "I13"
  Text(14)   = "I_UNUSED", "X110.31", "I14"
  Text(15)   = "I_UNUSED", "X110.32", "I15"
  Text(16)   = "I_UNUSED", "X110.13", "I16"
  Text(17)   = "I_UNUSED", "X110.14", "I17"
  Text(18)   = "I_UNUSED", "X110.15", "I18"
  Text(19)   = "I_UNUSED", "X110.16", "I19"
  Text(20)   = "I_UNUSED", "X110.33", "I20"
  Text(21)   = "I_UNUSED", "X110.34", "I21"
  Text(22)   = "I_UNUSED", "X110.35", "I22"
  Text(23)   = "I_UNUSED", "X110.36", "I23"
EndIoDefText

IoDefText = "CMD-24-12-RO"
  Text(0)    = "I_RO_UNUSED", "X110.1",  "O0"
  Text(1)    = "I_RO_UNUSED", "X110.2",  "O1"
  Text(2)    = "I_RO_UNUSED", "X110.3",  "O2"
  Text(3)    = "I_RO_UNUSED", "X110.4",  "O3"
  Text(4)    = "I_RO_UNUSED", "X110.5",  "O4"
  Text(5)    = "I_RO_UNUSED", "X110.6",  "O5"
  Text(6)    = "I_RO_UNUSED", "X110.7",  "O6"
  Text(7)    = "I_RO_UNUSED", "X110.8",  "O7"
  Text(8)    = "I_RO_UNUSED", "X110.9",  "O8"
  Text(9)    = "I_RO_UNUSED", "X110.10", "O9"
  Text(10)   = "I_RO_UNUSED", "X110.11", "O10"
  Text(11)   = "I_RO_UNUSED", "X110.12", "O11"  
EndIoDefText

IoDefText = "CMD-24-12-OUT"
  Text(0)    = "O_UNUSED", "X110.1",  "O0"
  Text(1)    = "O_UNUSED", "X110.2",  "O1"
  Text(2)    = "O_UNUSED", "X110.3",  "O2"
  Text(3)    = "O_UNUSED", "X110.4",  "O3"
  Text(4)    = "O_UNUSED", "X110.5",  "O4"
  Text(5)    = "O_UNUSED", "X110.6",  "O5"
  Text(6)    = "O_UNUSED", "X110.7",  "O6"
  Text(7)    = "O_UNUSED", "X110.8",  "O7"
  Text(8)    = "O_UNUSED", "X110.9",  "O8"
  Text(9)    = "O_UNUSED", "X110.10", "O9"
  Text(10)   = "O_UNUSED", "X110.11", "O10"
  Text(11)   = "O_UNUSED", "X110.12", "O11"
EndIoDefText

;;  -----------------------------------------------------------------------    
Module = "CMA-H 02-00-04"
  52
;V3;1  State = "erroneous"
  Description = "2 analog inputs +/- 10V [10 mV], 4 analog inputs PT100 [10 mK]", "2 analoge Eingnge +/- 10V [10 mV], 4 analoge Eingnge PT100 [10 mK]"
  Order_Number = "ID 743095"
  Module_A = 0x55
    Ext_Module_Prm_Data_Len = 30
    Ext_User_Prm_Data_Const(0) = 0x03, 0x01, 0x0B, 0x01, 0x00, 0x14, 0x00, 0x02,0x00, 0x13, 0x00, 0x01,  0xFF, 0xFF, 0xFF, 0xFF,  0x00, 0x03, 0x03,  0x10, 0x00, 0x10, 0x00, 0x10, 0x00, 0x10, 0x00,  0x0F, 0x0F, 0x0F
    Ext_User_Prm_Data_Ref(12) = 12    ;V-SLEWRATE, 2x, ab CH00    WORD  0xFF, 0xFF
    Ext_User_Prm_Data_Ref(16) = 10    ;V-EN-SLEWRATE              BYTE  0x00
    Ext_User_Prm_Data_Ref(17) =  8    ;V-EN-MEANFILTER            BYTE  0x00
    Ext_User_Prm_Data_Ref(18) = 14    ;V-EN-CHANNEL               BYTE  0x03
    Ext_User_Prm_Data_Ref(19) = 13    ;T-SLEWRATE, 4x, ab CH00    WORD  0x00, 0x10
    Ext_User_Prm_Data_Ref(27) = 11    ;T-EN-SLEWRATE              BYTE  0x0F
    Ext_User_Prm_Data_Ref(28) =  9    ;T-EN-MEANFILTER            BYTE  0x0F
    Ext_User_Prm_Data_Ref(29) = 15    ;T-EN-CHANNEL               BYTE  0x0F
    IO_Definition = "CMA_204_IN",       input,  wordTo0_01Volt,   2, 0, word, 2
    IO_Definition = "CMA_204_IN_PT100", input,  wordTo0_01Degree, 6, 0, word, 4
  EndModule_A
EndModule

;V3;1 Module = "CMA-H 02-00-04"
;V3;1   2001
;V3;1   State = "recommended"
;V3;1   Version = "1.00"
;V3;1   VersionInfo = "Order number changed: 'LoRes' only for internal admin", "Bestellnummer gendert: 'LoRes' nur genutzt fr interne Verwaltung"
;V3;1   Description = "2 analog inputs +/- 10V [10 mV], 4 analog inputs PT100 [10 mK]", "2 analoge Eingnge +/- 10V [10 mV], 4 analoge Eingnge PT100 [10 mK]"
;V3;1   Order_Number = "ID 743095 (LoRes)"
;V3;1   Module_A = 0x55
;V3;1     Ext_Module_Prm_Data_Len = 30
;V3;1     Ext_User_Prm_Data_Const(0) = 0x03, 0x01, 0x0B, 0x01, 0x00, 0x14, 0x00, 0x02,0x00, 0x13, 0x00, 0x01,  0xFF, 0xFF, 0xFF, 0xFF,  0x00, 0x03, 0x03,  0x10, 0x00, 0x10, 0x00, 0x10, 0x00, 0x10, 0x00,  0x0F, 0x0F, 0x0F
;V3;1     Ext_User_Prm_Data_Ref(12) = 12    ;V-SLEWRATE, 2x, ab CH00    WORD  0xFF, 0xFF
;V3;1     Ext_User_Prm_Data_Ref(16) = 10    ;V-EN-SLEWRATE              BYTE  0x00
;V3;1     Ext_User_Prm_Data_Ref(17) =  8    ;V-EN-MEANFILTER            BYTE  0x00
;V3;1     Ext_User_Prm_Data_Ref(18) = 14    ;V-EN-CHANNEL               BYTE  0x03
;V3;1     Ext_User_Prm_Data_Ref(19) = 13    ;T-SLEWRATE, 4x, ab CH00    WORD  0x00, 0x10
;V3;1     Ext_User_Prm_Data_Ref(27) = 11    ;T-EN-SLEWRATE              BYTE  0x0F
;V3;1     Ext_User_Prm_Data_Ref(28) =  9    ;T-EN-MEANFILTER            BYTE  0x0F
;V3;1     Ext_User_Prm_Data_Ref(29) = 15    ;T-EN-CHANNEL               BYTE  0x0F
;V3;1     IO_Definition = "CMA_204_IN",       input,  wordTo0_01Volt,   2, 0, word, 2
;V3;1     IO_Definition = "CMA_204_IN_PT100", input,  wordTo0_01Degree, 6, 0, word, 4
;V3;1   EndModule_A
;V3;1 EndModule

IoDefText = "CMA_204_IN"
  Text(0) = "IW_UNUSED", "X46.a", "IW0"
  Text(1) = "IW_UNUSED", "X46.b", "IW2"
EndIoDefText

IoDefText = "CMA_204_IN_PT100"
  Text(0) = "IW_UNUSED_PT100", "X81.a", "IW4"
  Text(1) = "IW_UNUSED_PT100", "X81.b", "IW6"
  Text(2) = "IW_UNUSED_PT100", "X82.a", "IW8"
  Text(3) = "IW_UNUSED_PT100", "X82.b", "IW10"
EndIoDefText


;;  -----------------------------------------------------------------------    
Module = "Empty Slot"
  53
;V3;1  State = "recommended"
;V3;1  Version = "1.00"
  Module_A = 0x00
    Ext_Module_Prm_Data_Len = 3
    Ext_User_Prm_Data_Const(0) = 0x03, 0x01, 0xFF
  EndModule_A
EndModule


;;  -----------------------------------------------------------------------    
;V3Module = "CMA-H 04-04-00"
;V3    54
;V3;1  State = "recommended"
;V3;1  Version = "1.00"
;V3;1  nckMilestone = 8
;V3    Description = "4 analog inputs +/- 10V, 4 analog outputs +/- 10V", "4 analoge Eingnge +/- 10V, 4 analoge Ausgnge +/- 10V"
;V3    Order_Number = "ID 688721"
;V3    Module_A =  0x59, 0x64
;V3      Ext_Module_Prm_Data_Len = 28
;V3      Ext_User_Prm_Data_Const(0) = 0x03, 0x01, 0x0A, 0x01,0x00, 0x14,0x00, 0x0a,0x00, 0x11,0x00, 0x01, 0x64,0x00, 0x64,0x00, 0x64,0x00, 0x64,0x00, 0x00, 0x00, 0x0F, 0x01,0x01,0x01,0x01, 0x01
;V3     ;                                                                                           (11)  (12)                                        (20)  (21)  (22)  (23)                 (27)
;V3     ;Ext_User_Prm_Data_Ref(11) =             ;SYNC                       BYTE  0x01
;V3      Ext_User_Prm_Data_Ref(12) = 18          ;VIN-SLEWRATE CH00          WORD  0xFF, 0xFF
;V3      Ext_User_Prm_Data_Ref(20) = 19          ;VIN-EN-SLEWRATE            BYTE  0x00
;V3      Ext_User_Prm_Data_Ref(21) = 20          ;VIN-EN-MEANFILTER          BYTE  0x03
;V3      Ext_User_Prm_Data_Ref(22) = 21          ;VIN-EN-CHANNEL             BYTE  0x03
;V3      Ext_User_Prm_Data_Ref(23) = 22          ;VOUT-OPERATING-MODE CH00   BYTE  0x02
;V3      Ext_User_Prm_Data_Ref(27) = 17          ;MODULEOPERATINGMODE        BYTE  0x08
;V3      IO_Definition = "CMA_440_IN",     input,  wordTo0_01Volt,   2, 0, word, 4
;V3      IO_Definition = "CMA_440_OUT",    output, Volt0_01ToWordA,  2, 0, word, 4
;V3    EndModule_A
;V3EndModule

IoDefText = "CMA_440_IN"
  Text(0) = "IW_UNUSED_VIN",  "X46.a", "IW0"  
  Text(1) = "IW_UNUSED_VIN",  "X46.b", "IW2"
  Text(2) = "IW_UNUSED_VIN",  "X47.a", "IW4"
  Text(3) = "IW_UNUSED_VIN",  "X47.b", "IW6"
EndIoDefText

IoDefText = "CMA_440_OUT"
  Text(0) = "OW_UNUSED_VOUT",  "X66.a", "OW0"
  Text(1) = "OW_UNUSED_VOUT",  "X66.b", "OW2"
  Text(2) = "OW_UNUSED_VOUT",  "X67.a", "OW4"
  Text(3) = "OW_UNUSED_VOUT",  "X67.b", "OW6"
EndIoDefText


;V3;;  -----------------------------------------------------------------------    
;V3 Module = "CMA-H 02-00-04 V2"
;V3    55
;V3;1  State = "erroneous"
;V3;1  nckMilestone = 6
;V3    Description = "2 analog inputs +/- 10V [0,1 mV], 4 analog inputs PT100 [0,1 mK]", "2 analoge Eingnge +/- 10V[0,1 mV], 4 analoge Eingnge PT100 [0,1 mK]"
;V3    Order_Number = "ID 743095"
;V3    Module_A = 0x55
;V3      Ext_Module_Prm_Data_Len = 30
;V3      Ext_User_Prm_Data_Const(0) = 0x03, 0x01, 0x0B, 0x01, 0x00, 0x14, 0x00, 0x02,0x00, 0x13, 0x00, 0x01,  0xFF, 0xFF, 0xFF, 0xFF,  0x00, 0x03, 0x03,  0x10, 0x00, 0x10, 0x00, 0x10, 0x00, 0x10, 0x00,  0x0F, 0x0F, 0x0F
;V3      Ext_User_Prm_Data_Ref(12) = 12    ;V-SLEWRATE, 2x, ab CH00    WORD  0xFF, 0xFF
;V3      Ext_User_Prm_Data_Ref(16) = 10    ;V-EN-SLEWRATE              BYTE  0x00
;V3      Ext_User_Prm_Data_Ref(17) =  8    ;V-EN-MEANFILTER            BYTE  0x00
;V3      Ext_User_Prm_Data_Ref(18) = 14    ;V-EN-CHANNEL               BYTE  0x03
;V3      Ext_User_Prm_Data_Ref(19) = 13    ;T-SLEWRATE, 4x, ab CH00    WORD  0x00, 0x10
;V3      Ext_User_Prm_Data_Ref(27) = 11    ;T-EN-SLEWRATE              BYTE  0x0F
;V3      Ext_User_Prm_Data_Ref(28) =  9    ;T-EN-MEANFILTER            BYTE  0x0F
;V3      Ext_User_Prm_Data_Ref(29) = 15    ;T-EN-CHANNEL               BYTE  0x0F
;V3      IO_Definition = "CMA_204_IN_HR",       input,  wordTo0_0001Volt,   2, 0, word, 2
;V3      IO_Definition = "CMA_204_IN_PT100_HR", input,  wordTo0_0001Degree, 6, 0, word, 4
;V3    EndModule_A
;V3 EndModule

;V3;1 Module = "CMA-H 02-00-04 V2"
;V3;1   5001
;V3;1   State = "outdated"
;V3;1   Version = "1.00"
;V3;1   VersionInfo = "Order number changed: 'HighRes' only for internal admin", "Bestellnummer gendert: 'HighRes' nur genutzt fr interne Verwaltung"
;V3;1   nckMilestone = 6
;V3;1   Description = "2 analog inputs +/- 10V [0,1 mV], 4 analog inputs PT100 [0,1 mK]", "2 analoge Eingnge +/- 10V[0,1 mV], 4 analoge Eingnge PT100 [0,1 mK]"
;V3;1   Order_Number = "ID 743095 (HighRes)"
;V3;1   Module_A = 0x55
;V3;1     Ext_Module_Prm_Data_Len = 30
;V3;1     Ext_User_Prm_Data_Const(0) = 0x03, 0x01, 0x0B, 0x01, 0x00, 0x14, 0x00, 0x02,0x00, 0x13, 0x00, 0x01,  0xFF, 0xFF, 0xFF, 0xFF,  0x00, 0x03, 0x03,  0x10, 0x00, 0x10, 0x00, 0x10, 0x00, 0x10, 0x00,  0x0F, 0x0F, 0x0F
;V3;1     Ext_User_Prm_Data_Ref(12) = 12    ;V-SLEWRATE, 2x, ab CH00    WORD  0xFF, 0xFF
;V3;1     Ext_User_Prm_Data_Ref(16) = 10    ;V-EN-SLEWRATE              BYTE  0x00
;V3;1     Ext_User_Prm_Data_Ref(17) =  8    ;V-EN-MEANFILTER            BYTE  0x00
;V3;1     Ext_User_Prm_Data_Ref(18) = 14    ;V-EN-CHANNEL               BYTE  0x03
;V3;1     Ext_User_Prm_Data_Ref(19) = 13    ;T-SLEWRATE, 4x, ab CH00    WORD  0x00, 0x10
;V3;1     Ext_User_Prm_Data_Ref(27) = 11    ;T-EN-SLEWRATE              BYTE  0x0F
;V3;1     Ext_User_Prm_Data_Ref(28) =  9    ;T-EN-MEANFILTER            BYTE  0x0F
;V3;1     Ext_User_Prm_Data_Ref(29) = 15    ;T-EN-CHANNEL               BYTE  0x0F
;V3;1     IO_Definition = "CMA_204_IN_HR",       input,  wordTo0_0001Volt,   2, 0, word, 2
;V3;1     IO_Definition = "CMA_204_IN_PT100_HR", input,  wordTo0_0001Degree, 6, 0, word, 4
;V3;1   EndModule_A
;V3;1 EndModule

;V3;1 Module = "CMA-H 02-00-04 HighResolution"
;V3;1   5002
;V3;1   State = "recommended"
;V3;1   Version = "1.01"
;V3;1   VersionInfo = "Module name changed: the extension 'V2' is replaced by 'HighResolution'", "Der Modulname wurde gendert: Die Erweiterung 'V2' ist gegen 'HighResolution' ausgetauscht."
;V3;1   nckMilestone = 6
;V3;1   Description = "2 analog inputs +/- 10V [0,1 mV], 4 analog inputs PT100 [0,1 mK]", "2 analoge Eingnge +/- 10V[0,1 mV], 4 analoge Eingnge PT100 [0,1 mK]"
;V3;1   Order_Number = "ID 743095 (HighRes)"
;V3;1   Module_A = 0x55
;V3;1     Ext_Module_Prm_Data_Len = 30
;V3;1     Ext_User_Prm_Data_Const(0) = 0x03, 0x01, 0x0B, 0x01, 0x00, 0x14, 0x00, 0x02,0x00, 0x13, 0x00, 0x01,  0xFF, 0xFF, 0xFF, 0xFF,  0x00, 0x03, 0x03,  0x10, 0x00, 0x10, 0x00, 0x10, 0x00, 0x10, 0x00,  0x0F, 0x0F, 0x0F
;V3;1     Ext_User_Prm_Data_Ref(12) = 12    ;V-SLEWRATE, 2x, ab CH00    WORD  0xFF, 0xFF
;V3;1     Ext_User_Prm_Data_Ref(16) = 10    ;V-EN-SLEWRATE              BYTE  0x00
;V3;1     Ext_User_Prm_Data_Ref(17) =  8    ;V-EN-MEANFILTER            BYTE  0x00
;V3;1     Ext_User_Prm_Data_Ref(18) = 14    ;V-EN-CHANNEL               BYTE  0x03
;V3;1     Ext_User_Prm_Data_Ref(19) = 13    ;T-SLEWRATE, 4x, ab CH00    WORD  0x00, 0x10
;V3;1     Ext_User_Prm_Data_Ref(27) = 11    ;T-EN-SLEWRATE              BYTE  0x0F
;V3;1     Ext_User_Prm_Data_Ref(28) =  9    ;T-EN-MEANFILTER            BYTE  0x0F
;V3;1     Ext_User_Prm_Data_Ref(29) = 15    ;T-EN-CHANNEL               BYTE  0x0F
;V3;1     IO_Definition = "CMA_204_IN_HR",       input,  wordTo0_0001Volt,   2, 0, word, 2
;V3;1     IO_Definition = "CMA_204_IN_PT100_HR", input,  wordTo0_0001Degree, 6, 0, word, 4
;V3;1   EndModule_A
;V3;1 EndModule

IoDefText = "CMA_204_IN_HR"
  Text(0) = "ID_UNUSED", "X46.a", "ID0"
  Text(1) = "ID_UNUSED", "X46.b", "ID4"
EndIoDefText

IoDefText = "CMA_204_IN_PT100_HR"
  Text(0) = "ID_UNUSED_PT100", "X81.a", "ID8"
  Text(1) = "ID_UNUSED_PT100", "X81.b", "ID12"
  Text(2) = "ID_UNUSED_PT100", "X82.a", "ID16"
  Text(3) = "ID_UNUSED_PT100", "X82.b", "ID20"
EndIoDefText


;;  -----------------------------------------------------------------------    
Module = "CMA-H 04-00-04"
  56
;V3;1  State = "erroneous"
  Description = "4 analog inputs +/- 10V [10 mV], 4 analog inputs PT100 [10 mK]", "4 analoge Eingnge +/- 10V [10 mV], 4 analoge Eingnge PT100 [10 mK]"
  Order_Number = "ID 1038041"
  Module_A = 0x57
    Ext_Module_Prm_Data_Len = 35
    Ext_User_Prm_Data_Const(0) = 0x03, 0x01, 0x0D, 0x01,0x00, 0x1A,0x00, 0x02,0x00, 0x18,0x00, 0x01, 0x64,0x00, 0x64,0x00,  0x64,0x00, 0x64,0x00, 0x00, 0x00, 0x0F, 0x64,0x00, 0x64,0x00, 0x64,0x00, 0x64,0x00,  0x00, 0x00, 0x0F, 0x00
    Ext_User_Prm_Data_Ref(12) = 27    ;V-SLEWRATE, 4x, ab CH00    WORD  0xFF, 0xFF
    Ext_User_Prm_Data_Ref(20) = 25    ;V-EN-SLEWRATE              BYTE  0x00
    Ext_User_Prm_Data_Ref(21) = 23    ;V-EN-MEANFILTER            BYTE  0x00
    Ext_User_Prm_Data_Ref(22) = 29    ;V-EN-CHANNEL               BYTE  0x03
    Ext_User_Prm_Data_Ref(23) = 28    ;T-SLEWRATE, 4x, ab CH00    WORD  0x00, 0x10
    Ext_User_Prm_Data_Ref(31) = 26    ;T-EN-SLEWRATE              BYTE  0x0F
    Ext_User_Prm_Data_Ref(32) = 24    ;T-EN-MEANFILTER            BYTE  0x0F
    Ext_User_Prm_Data_Ref(33) = 30    ;T-EN-CHANNEL               BYTE  0x0F
    Ext_User_Prm_Data_Ref(34) = 31    ;T-WIRING                   BYTE  0x0F
    IO_Definition = "CMA_404_IN",       input,  wordTo0_01Volt,    2, 0, word, 4
    IO_Definition = "CMA_404_IN_PT100", input,  wordTo0_01Degree, 10, 0, word, 4
  EndModule_A
EndModule

;V3;1 Module = "CMA-H 04-00-04"
;V3;1   6001
;V3;1   State = "recommended"
;V3;1   Version = "1.00"
;V3;1   VersionInfo = "Order number changed: 'LoRes' only for internal admin", "Bestellnummer gendert: 'LoRes' nur genutzt fr interne Verwaltung"
;V3;1   Description = "4 analog inputs +/- 10V [10 mV], 4 analog inputs PT100 [10 mK]", "4 analoge Eingnge +/- 10V [10 mV], 4 analoge Eingnge PT100 [10 mK]"
;V3;1   Order_Number = "ID 1038041 (LoRes)"
;V3;1   Module_A = 0x57
;V3;1     Ext_Module_Prm_Data_Len = 35
;V3;1     Ext_User_Prm_Data_Const(0) = 0x03, 0x01, 0x0D, 0x01,0x00, 0x1A,0x00, 0x02,0x00, 0x18,0x00, 0x01, 0x64,0x00, 0x64,0x00,  0x64,0x00, 0x64,0x00, 0x00, 0x00, 0x0F, 0x64,0x00, 0x64,0x00, 0x64,0x00, 0x64,0x00,  0x00, 0x00, 0x0F, 0x00
;V3;1     Ext_User_Prm_Data_Ref(12) = 27    ;V-SLEWRATE, 4x, ab CH00    WORD  0xFF, 0xFF
;V3;1     Ext_User_Prm_Data_Ref(20) = 25    ;V-EN-SLEWRATE              BYTE  0x00
;V3;1     Ext_User_Prm_Data_Ref(21) = 23    ;V-EN-MEANFILTER            BYTE  0x00
;V3;1     Ext_User_Prm_Data_Ref(22) = 29    ;V-EN-CHANNEL               BYTE  0x03
;V3;1     Ext_User_Prm_Data_Ref(23) = 28    ;T-SLEWRATE, 4x, ab CH00    WORD  0x00, 0x10
;V3;1     Ext_User_Prm_Data_Ref(31) = 26    ;T-EN-SLEWRATE              BYTE  0x0F
;V3;1     Ext_User_Prm_Data_Ref(32) = 24    ;T-EN-MEANFILTER            BYTE  0x0F
;V3;1     Ext_User_Prm_Data_Ref(33) = 30    ;T-EN-CHANNEL               BYTE  0x0F
;V3;1     Ext_User_Prm_Data_Ref(34) = 31    ;T-WIRING                   BYTE  0x0F
;V3;1     IO_Definition = "CMA_404_IN",       input,  wordTo0_01Volt,    2, 0, word, 4
;V3;1     IO_Definition = "CMA_404_IN_PT100", input,  wordTo0_01Degree, 10, 0, word, 4
;V3;1   EndModule_A
;V3;1 EndModule

IoDefText = "CMA_404_IN"
  Text(0) = "IW_UNUSED", "X148.14", "IW0"
  Text(1) = "IW_UNUSED", "X148.16", "IW4"
  Text(2) = "IW_UNUSED", "X148.18", "IW8"
  Text(3) = "IW_UNUSED", "X148.24", "IW12"
EndIoDefText

IoDefText = "CMA_404_IN_PT100"
  Text(0) = "IW_UNUSED_PT100", "X148.1",  "IW16"
  Text(1) = "IW_UNUSED_PT100", "X148.5",  "IW20"
  Text(2) = "IW_UNUSED_PT100", "X148.9",  "IW24"
  Text(3) = "IW_UNUSED_PT100", "X148.20", "IW28"
EndIoDefText

;;  -----------------------------------------------------------------------    
;V3 Module = "CMA-H 04-00-04 V2"
;V3    57
;V3;1  State = "erroneous"
;V3;1  nckMilestone = 6
;V3    Description = "4 analog inputs +/- 10V [0,1 mV], 4 analog inputs PT100 [0,1 mK]", "4 analoge Eingnge +/- 10V [0,1 mV], 4 analoge Eingnge PT100 [0,1 mK]"
;V3    Order_Number = "ID 1038041"
;V3    Module_A = 0x57
;V3      Ext_Module_Prm_Data_Len = 35
;V3      Ext_User_Prm_Data_Const(0) = 0x03, 0x01, 0x0D, 0x01,0x00, 0x1A,0x00, 0x02,0x00, 0x18,0x00, 0x01, 0x64,0x00, 0x64,0x00,  0x64,0x00, 0x64,0x00, 0x00, 0x00, 0x0F, 0x64,0x00, 0x64,0x00, 0x64,0x00, 0x64,0x00,  0x00, 0x00, 0x0F, 0x00
;V3      Ext_User_Prm_Data_Ref(12) = 27    ;V-SLEWRATE, 4x, ab CH00    WORD  0xFF, 0xFF
;V3      Ext_User_Prm_Data_Ref(20) = 25    ;V-EN-SLEWRATE              BYTE  0x00
;V3      Ext_User_Prm_Data_Ref(21) = 23    ;V-EN-MEANFILTER            BYTE  0x00
;V3      Ext_User_Prm_Data_Ref(22) = 29    ;V-EN-CHANNEL               BYTE  0x03
;V3      Ext_User_Prm_Data_Ref(23) = 28    ;T-SLEWRATE, 4x, ab CH00    WORD  0x00, 0x10
;V3      Ext_User_Prm_Data_Ref(31) = 26    ;T-EN-SLEWRATE              BYTE  0x0F
;V3      Ext_User_Prm_Data_Ref(32) = 24    ;T-EN-MEANFILTER            BYTE  0x0F
;V3      Ext_User_Prm_Data_Ref(33) = 30    ;T-EN-CHANNEL               BYTE  0x0F
;V3      Ext_User_Prm_Data_Ref(34) = 31    ;T-WIRING                   BYTE  0x0F
;V3      IO_Definition = "CMA_404_IN_HR",       input,  wordTo0_0001Volt,    2, 0, word, 4
;V3      IO_Definition = "CMA_404_IN_PT100_HR", input,  wordTo0_0001Degree, 10, 0, word, 4
;V3    EndModule_A
;V3 EndModule

;V3;1 Module = "CMA-H 04-00-04 V2"
;V3;1   7001
;V3;1   State = "outdated"
;V3;1   Version = "1.00"
;V3;1   VersionInfo = "Order number changed: 'HighRes' only for internal admin", "Bestellnummer gendert: 'HighRes' nur genutzt fr interne Verwaltung"
;V3;1   nckMilestone = 6
;V3;1   Description = "4 analog inputs +/- 10V [0,1 mV], 4 analog inputs PT100 [0,1 mK]", "4 analoge Eingnge +/- 10V [0,1 mV], 4 analoge Eingnge PT100 [0,1 mK]"
;V3;1   Order_Number = "ID 1038041 (HighRes)"
;V3;1   Module_A = 0x57
;V3;1     Ext_Module_Prm_Data_Len = 35
;V3;1     Ext_User_Prm_Data_Const(0) = 0x03, 0x01, 0x0D, 0x01,0x00, 0x1A,0x00, 0x02,0x00, 0x18,0x00, 0x01, 0x64,0x00, 0x64,0x00,  0x64,0x00, 0x64,0x00, 0x00, 0x00, 0x0F, 0x64,0x00, 0x64,0x00, 0x64,0x00, 0x64,0x00,  0x00, 0x00, 0x0F, 0x00
;V3;1     Ext_User_Prm_Data_Ref(12) = 27    ;V-SLEWRATE, 4x, ab CH00    WORD  0xFF, 0xFF
;V3;1     Ext_User_Prm_Data_Ref(20) = 25    ;V-EN-SLEWRATE              BYTE  0x00
;V3;1     Ext_User_Prm_Data_Ref(21) = 23    ;V-EN-MEANFILTER            BYTE  0x00
;V3;1     Ext_User_Prm_Data_Ref(22) = 29    ;V-EN-CHANNEL               BYTE  0x03
;V3;1     Ext_User_Prm_Data_Ref(23) = 28    ;T-SLEWRATE, 4x, ab CH00    WORD  0x00, 0x10
;V3;1     Ext_User_Prm_Data_Ref(31) = 26    ;T-EN-SLEWRATE              BYTE  0x0F
;V3;1     Ext_User_Prm_Data_Ref(32) = 24    ;T-EN-MEANFILTER            BYTE  0x0F
;V3;1     Ext_User_Prm_Data_Ref(33) = 30    ;T-EN-CHANNEL               BYTE  0x0F
;V3;1     Ext_User_Prm_Data_Ref(34) = 31    ;T-WIRING                   BYTE  0x0F
;V3;1     IO_Definition = "CMA_404_IN_HR",       input,  wordTo0_0001Volt,    2, 0, word, 4
;V3;1     IO_Definition = "CMA_404_IN_PT100_HR", input,  wordTo0_0001Degree, 10, 0, word, 4
;V3;1   EndModule_A
;V3;1 EndModule

;V3;1 Module = "CMA-H 04-00-04 HighResolution"
;V3;1   7002
;V3;1   State = "recommended"
;V3;1   Version = "1.01"
;V3;1   VersionInfo = "Module name changed: the extension 'V2' is replaced by 'HighResolution'", "Der Modulname wurde gendert: Die Erweiterung 'V2' ist gegen 'HighResolution' ausgetauscht."
;V3;1   nckMilestone = 6
;V3;1   Description = "4 analog inputs +/- 10V [0,1 mV], 4 analog inputs PT100 [0,1 mK]", "4 analoge Eingnge +/- 10V [0,1 mV], 4 analoge Eingnge PT100 [0,1 mK]"
;V3;1   Order_Number = "ID 1038041 (HighRes)"
;V3;1   Module_A = 0x57
;V3;1     Ext_Module_Prm_Data_Len = 35
;V3;1     Ext_User_Prm_Data_Const(0) = 0x03, 0x01, 0x0D, 0x01,0x00, 0x1A,0x00, 0x02,0x00, 0x18,0x00, 0x01, 0x64,0x00, 0x64,0x00,  0x64,0x00, 0x64,0x00, 0x00, 0x00, 0x0F, 0x64,0x00, 0x64,0x00, 0x64,0x00, 0x64,0x00,  0x00, 0x00, 0x0F, 0x00
;V3;1     Ext_User_Prm_Data_Ref(12) = 27    ;V-SLEWRATE, 4x, ab CH00    WORD  0xFF, 0xFF
;V3;1     Ext_User_Prm_Data_Ref(20) = 25    ;V-EN-SLEWRATE              BYTE  0x00
;V3;1     Ext_User_Prm_Data_Ref(21) = 23    ;V-EN-MEANFILTER            BYTE  0x00
;V3;1     Ext_User_Prm_Data_Ref(22) = 29    ;V-EN-CHANNEL               BYTE  0x03
;V3;1     Ext_User_Prm_Data_Ref(23) = 28    ;T-SLEWRATE, 4x, ab CH00    WORD  0x00, 0x10
;V3;1     Ext_User_Prm_Data_Ref(31) = 26    ;T-EN-SLEWRATE              BYTE  0x0F
;V3;1     Ext_User_Prm_Data_Ref(32) = 24    ;T-EN-MEANFILTER            BYTE  0x0F
;V3;1     Ext_User_Prm_Data_Ref(33) = 30    ;T-EN-CHANNEL               BYTE  0x0F
;V3;1     Ext_User_Prm_Data_Ref(34) = 31    ;T-WIRING                   BYTE  0x0F
;V3;1     IO_Definition = "CMA_404_IN_HR",       input,  wordTo0_0001Volt,    2, 0, word, 4
;V3;1     IO_Definition = "CMA_404_IN_PT100_HR", input,  wordTo0_0001Degree, 10, 0, word, 4
;V3;1   EndModule_A
;V3;1 EndModule

IoDefText = "CMA_404_IN_HR"
  Text(0) = "ID_UNUSED", "X148.14", "ID0"
  Text(1) = "ID_UNUSED", "X148.16", "ID4"
  Text(2) = "ID_UNUSED", "X148.18", "ID8"
  Text(3) = "ID_UNUSED", "X148.24", "ID12"
EndIoDefText

IoDefText = "CMA_404_IN_PT100_HR"
  Text(0) = "ID_UNUSED_PT100", "X148.1",  "ID16"
  Text(1) = "ID_UNUSED_PT100", "X148.5",  "ID20"
  Text(2) = "ID_UNUSED_PT100", "X148.9",  "ID24"
  Text(3) = "ID_UNUSED_PT100", "X148.20", "ID28"
EndIoDefText
