;=============================================================================
; JH_HSCI_TE745H.HDD                                                         .
; Manufacturer: DR. JOHANNES HEIDENHAIN GmbH, Traunreut, Germany             .
; Contact:  service.plc@heidenhain.de                                        .
;                                                                            .
; for use with the HEIDENHAIN slave MB 720 - 3x13 matrix (LED)               .
;  (TE 745H FS)                                                              .
;                                                                            .
;=============================================================================
#Heidenhain_HSCI

; General parameters ==================================================
HDD_Revision    = 1
Vendor_Name     = "HEIDENHAIN"
Model_Name      = "MB620"
;V3;1  HDD_file_Version =  "1.07"
;V3;1  HDD_file_Date    =  "07.03.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 ===================================================
Slave = "TE 745H FS"
  Ident_Number = 50
;V3;1  State = "recommended"
;V3;1  Version = "1.00"
  Order_Number = "ID 804399"
  MandatoryModule = "Bus Module FS",        1,1
  MandatoryModule = "Digital Input FS",     2,0
  MandatoryModule = "Digital Output LED",   3,0
  MandatoryModule = "Override",             4,0
  MandatoryModule = "Analog",               5,1
  Max_Module = 5
  Channel_A_DeviceID = 6
  Channel_B_DeviceID = 7
EndSlave

;V3;1  Slave = "TE 745H FS"
;V3;1    Ident_Number = 101
;V3;1    State = "recommended"
;V3;1    Version = "1.01"
;V3;1    VersionInfo = "Handwheel connector added", "Handradanschluss hinzugefgt"
;V3;1    nckMilestone = 11
;V3;1    Order_Number = "ID 804399"
;V3;1    MandatoryModule = "Bus Module FS",      1,1
;V3;1    MandatoryModule = "Digital Input FS",   2,0
;V3;1    MandatoryModule = "Digital Output LED", 3,0
;V3;1    MandatoryModule = "Override",           4,0
;V3;1    MandatoryModule = "Analog",             5,1
;V3;1    SlaveConnector = "X23","Heidenhain_Handwheel","*"
;V3;1    Max_Module = 5
;V3;1    Channel_A_DeviceID = 6
;V3;1    Channel_B_DeviceID = 7
;V3;1  EndSlave


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

; ---------------------------------------------------------------------
; Module = "Bus Module"
;   50
; EndModule

Module = "Bus Module FS"
  51
;V3;1  State = "recommended"
;V3;1  Version = "1.00"
  Module_A = 0x1B, 0x2B
    Ext_Module_Prm_Data_Len = 3
    Ext_User_Prm_Data_Const(0) = 0x03, 0x01, 0xFA
    ModuleDiag = "MODULE_DIAG_BM_ERR1A",     0, 0, diagBit, 7, 1
    ModuleDiag = "MODULE_DIAG_BM_ERR1B",     1, 0, diagBit, 8, 1
    ModuleDiag = "MODULE_DIAG_BM_ERR2A",     2, 0, diagBit, 7, 1
    ModuleDiag = "MODULE_DIAG_BusModule_Word05",    8, 0, diagBit,  5, 1
    ModuleDiag = "MODULE_DIAG_BusModule_Word06",   10, 0, diagBit,  4, 1
    ModuleDiag = "MODULE_DIAG_BusModule_Word07",   12, 0, diagBit,  4, 1
    ModuleDiag = "MODULE_DIAG_BusModule_Word17",   32, 0, diagBit,  6, 2
    ModuleDiag = "MODULE_DIAG_BusModule_Word25",   48, 0, diagBit,  1, 3
    ModuleDiag = "MODULE_DIAG_BusModule_Word31",   60, 0, diagBit,  2, 3
    ModuleDiag = "MODULE_DIAG_BusModule_Word32a",  62, 0, diagBit,  2, 2
    ModuleDiag = "MODULE_DIAG_BusModule_Word32b",  63, 0, diagBit,  8, 2
  EndModule_A
  Module_B = 0x1B, 0x2B
    Ext_Module_Prm_Data_Len = 3
    Ext_User_Prm_Data_Const(0) = 0x03, 0x01, 0xFA
  EndModule_B
EndModule

;DiagDefText="MODULE_DIAG_BusModule_Word01"
DiagDefText="MODULE_DIAG_BM_ERR1A"
  Text(0)   = "DNR_HSCI_UNDEFINED"
  Text(1)   = "DNR_HSCI_SPIFrameNumberError"
  Text(2)   = "DNR_HSCI_SPISlotIDError"
  Text(3)   = "DNR_HSCI_SPITypeOfDataError"
  Text(4)   = "DNR_HSCI_SPISizeOfDataFieldError"
  Text(5)   = "DNR_HSCI_SPICrcError"
  Text(6)   = "DNR_HSCI_SPIModuleErr123"
EndDiagDefText
DiagDefText="MODULE_DIAG_BM_ERR1B"
  Text(0)   = "DNR_HSCI_UNDEFINED"
  Text(1)   = "DNR_HSCI_CyclicTransferError"
  Text(2)   = "DNR_HSCI_SPITimeout"
  Text(3)   = "DNR_HSCI_ODTactiveError"
  Text(4)   = "DNR_HSCI_WrongIdent"
  Text(5)   = "DNR_HSCI_G112LowCyclicError"
  Text(6)   = "DNR_HSCI_SPIdDatareqError"
  Text(7)   = "DNR_HSCI_AnyError"
EndDiagDefText

;DiagDefText="MODULE_DIAG_BusModule_Word02"
DiagDefText="MODULE_DIAG_BM_ERR2A"
  Text(0)   = "DNR_HSCI_PowerSupply24VError"
  Text(1)   = "DNR_HSCI_PowerSupply5VError"
  Text(2)   = "DNR_HSCI_PowerSupply3_3VError"
  Text(3)   = "DNR_HSCI_PowerSupply1_5VError"
  Text(4)   = "DNR_HSCI_UNDEFINED"
  Text(5)   = "DNR_HSCI_PowerGoodError"
  Text(6)   = "DNR_HSCI_TemperatureError"
EndDiagDefText

DiagDefText="MODULE_DIAG_BusModule_Word05"
  Text(0)   = "DNR_HSCI_AnyError"
  Text(1)   = "DNR_HSCI_SPIdDatareqError"
  Text(2)   = "DNR_HSCI_BM_W5_WrongModuleSlotSequence"
  Text(3)   = "DNR_HSCI_BM_W5_RangeError"
  Text(4)   = "DNR_HSCI_BM_W5_STestTimeout"
EndDiagDefText

DiagDefText="MODULE_DIAG_BusModule_Word06"
  Text(0)   = "DNR_HSCI_BM_W6_WD_A_SPL"
  Text(1)   = "DNR_HSCI_BM_W6_WD_B_SPL"
  Text(2)   = "DNR_HSCI_BM_W6_HSCI_A_WD"
  Text(3)   = "DNR_HSCI_BM_W6_WD_A_STO"
EndDiagDefText

DiagDefText="MODULE_DIAG_BusModule_Word07"
  Text(0)   = "DNR_HSCI_G112LowCyclicError"
  Text(1)   = "DNR_HSCI_BM_W7_WrongCrc_FS"
  Text(2)   = "DNR_HSCI_BM_W7_WrongWatchdogCounter_FS"
  Text(3)   = "DNR_HSCI_BM_W7_WrongIdentification_FS"
EndDiagDefText

DiagDefText="MODULE_DIAG_BusModule_Word17"
  Text(0)   = "DNR_HSCI_BM_W17_PowerGoodErrorNC"
  Text(1)   = "DNR_HSCI_PowerGoodError"
  Text(2)   = "DNR_HSCI_PowerSupply24VError"
  Text(3)   = "DNR_HSCI_PowerSupply5VError"
  Text(4)   = "DNR_HSCI_PowerSupply3_3VError"
  Text(5)   = "DNR_HSCI_PowerSupply1_5VError"
EndDiagDefText

DiagDefText="MODULE_DIAG_BusModule_Word25"
  Text(0)   = "DNR_HSCI_TemperatureError"
EndDiagDefText

DiagDefText="MODULE_DIAG_BusModule_Word31"
  Text(0)   = "DNR_HSCI_ODTactiveError"
EndDiagDefText

DiagDefText="MODULE_DIAG_BusModule_Word32a"
  Text(0)   = "DNR_HSCI_AnyError"
  Text(1)   = "DNR_HSCI_BM_W32_DeviceNotPresent"
EndDiagDefText
DiagDefText="MODULE_DIAG_BusModule_Word32b"
  Text(0)   = "DNR_HSCI_UNDEFINED"
  Text(1)   = "DNR_HSCI_BM_W32_AcyclicLengthError"
  Text(2)   = "DNR_HSCI_BM_W32_AsyncCmdError"
  Text(3)   = "DNR_HSCI_BM_W32_UnknownSlotId"
  Text(4)   = "DNR_HSCI_BM_W32_AcyclicTimeout"
  Text(5)   = "DNR_HSCI_BM_W32_SubCommandNotAllowed"
  Text(6)   = "DNR_HSCI_BM_W32_FirmwareUpdateError"
  Text(7)   = "DNR_HSCI_BM_W32_DisableFirmwareBooting"
EndDiagDefText

;;  -----------------------------------------------------------------------    
; Module = "Digital Input"
;   52
; EndModule

Module = "Digital Input FS"
  53
;V3;1  State = "recommended"
;V3;1  Version = "1.00"
  Module_A = 0x17
    strictAdressing = 1
    Ext_Module_Prm_Data_Len = 3
    Ext_User_Prm_Data_Const(0) = 0x03, 0x01, 0x0C
    IO_Definition = "MB620-IN-KEYS-S1",   input,  byteToBit, 0, 0, bit, 12
    IO_Definition = "MB620-IN-KEYS-S13",  input,  byteToBit, 1, 4, bit, 1
    IO_Definition = "MB620-IN-KEYS-S14",  input,  byteToBit, 1, 5, bit, 12
    IO_Definition = "MB620-IN-KEYS-S26",  input,  byteToBit, 3, 1, bit, 1
    IO_Definition = "MB620-IN-KEYS-S27",  input,  byteToBit, 3, 2, bit, 12
    IO_Definition = "MB620-IN-KEYS-S39",  input,  byteToBit, 4, 6, bit, 1
    IO_Definition = "MB620-IN-ESA",       input,  byteToBit, 4, 7, bit, 1
    IO_Definition = "MB620-IN-FIXED-A",   input,  byteToBit, 5, 0, bit, 8 
    IO_Definition = "MB620-INPUT-A",      input,  byteToBit, 6, 0, bit, 4 
  EndModule_A
  Module_B = 0x17
    strictAdressing = 1
    Ext_Module_Prm_Data_Len = 3
    Ext_User_Prm_Data_Const(0) = 0x03, 0x01, 0x0C
    IO_Definition = "MB620-IN-KEYS-S1-B",   input,  byteToBit, 0, 0, bit, 12
    IO_Definition = "MB620-IN-KEYS-S13-B",  input,  byteToBit, 1, 4, bit, 1
    IO_Definition = "MB620-IN-KEYS-S14-B",  input,  byteToBit, 1, 5, bit, 12
    IO_Definition = "MB620-IN-KEYS-S26-B",  input,  byteToBit, 3, 1, bit, 1
    IO_Definition = "MB620-IN-KEYS-S27-B",  input,  byteToBit, 3, 2, bit, 12
    IO_Definition = "MB620-IN-KEYS-S39-B",  input,  byteToBit, 4, 6, bit, 1    
    IO_Definition = "MB620-IN-ESB",         input,  byteToBit, 4, 7, bit, 1
    IO_Definition = "MB620-IN-FIXED-B",     input,  byteToBit, 5, 0, bit, 8 
    IO_Definition = "MB620-INPUT-B",        input,  byteToBit, 6, 0, bit, 4 
  EndModule_B
EndModule

IoDefText = "MB620-IN-KEYS-S1"
  Text(0)   = "I_KEY_Zustimmung",      "S1", "S1"
  Text(1)   = "I_KEY_S2",              "S2", "S2"
  Text(2)   = "I_KEY_A_C_Plus",        "S3", "S3"
  Text(3)   = "I_KEY_A_Z_Plus",        "S4", "S4"
  Text(4)   = "I_KEY_A_Y_Plus",        "S5", "S5"
  Text(5)   = "I_KEY_A_A_Plus",        "S6", "S6"
  Text(6)   = "I_KEY_S7",              "S7", "S7"
  Text(7)   = "I_KEY_Kuehlmittel",     "S8", "S8"
  Text(8)   = "I_KEY_Arbeitsraumtuer", "S9", "S9"
  Text(9)   = "I_KEY_S_Tippen",        "S10", "S10"
  Text(10)  = "I_KEY_S_Stop",          "S11", "S11"
  Text(11)  = "I_KEY_S_Start",         "S12", "S12"
EndIoDefText
IoDefText = "MB620-IN-KEYS-S13"
  Text(0)   = "I_NC_STOP",             "X15.1", "X15.1"
EndIoDefText

IoDefText = "MB620-IN-KEYS-S14" 
  Text(0)   = "I_KEY_S14",             "S14", "S14"
  Text(1)   = "I_KEY_S15",             "S15", "S15"
  Text(2)   = "I_KEY_A_X_Minus",       "S16", "S16"
  Text(3)   = "I_KEY_Eilgang",         "S17", "S17"
  Text(4)   = "I_KEY_A_X_Plus",        "S18", "S18"
  Text(5)   = "I_KEY_S19",             "S19", "S19"
  Text(6)   = "I_KEY_S20",             "S20", "S20"
  Text(7)   = "I_KEY_ArbRaumLeuchte",  "S21", "S21"
  Text(8)   = "I_KEY_Magazintuer",     "S22", "S22"
  Text(9)   = "I_KEY_S23",             "S23", "S23"
  Text(10)  = "I_KEY_S24",             "S24", "S24"
  Text(11)  = "I_KEY_S25",             "S25", "S25"
EndIoDefText
IoDefText = "MB620-IN-KEYS-S26"
  Text(0)   = "I_NC_START",            "X14.1", "X14.1"
EndIoDefText

IoDefText = "MB620-IN-KEYS-S27" 
  Text(0)   = "I_KEY_Werkzeugwechsel", "S27", "S27"
  Text(1)   = "I_KEY_S28",             "S28", "S28"
  Text(2)   = "I_KEY_A_Y_Minus",       "S29", "S29"
  Text(3)   = "I_KEY_A_Z_Minus",       "S30", "S30"
  Text(4)   = "I_KEY_A_C_Minus",       "S31", "S31"
  Text(5)   = "I_KEY_A_A_Minus",       "S32", "S32"
  Text(6)   = "I_KEY_S33",             "S33", "S33"
  Text(7)   = "I_KEY_SpaeneTransport", "S34", "S34"
  Text(8)   = "I_KEY_S35",             "S35", "S35"
  Text(9)   = "I_KEY_S36",             "S36", "S36"
  Text(10)  = "I_KEY_S37",             "S37", "S37"
  Text(11)  = "I_KEY_S38",             "S38", "S38"
EndIoDefText
IoDefText = "MB620-IN-KEYS-S39"
  Text(0)   = "I_MASCHINE_EIN",        "X13.1", "X13.1"
EndIoDefText

IoDefText = "MB620-IN-KEYS-S1-B"
  Text(0)   = "",        "S101", "S101"
  Text(1)   = "",        "S102", "S102"
  Text(2)   = "",        "S103", "S103"
  Text(3)   = "",        "S104", "S104"
  Text(4)   = "",        "S105", "S105"
  Text(5)   = "",        "S106", "S106"
  Text(6)   = "",        "S107", "S107"
  Text(7)   = "",        "S108", "S108"
  Text(8)   = "",        "S109", "S109"
  Text(9)   = "",        "S110", "S110"
  Text(10)  = "",        "S111", "S111"
  Text(11)  = "",        "S112", "S112"
EndIoDefText
IoDefText = "MB620-IN-KEYS-S13-B"
  Text(0)   = "",        "X15.3", "X15.3"
EndIoDefText
IoDefText = "MB620-IN-KEYS-S14-B" 
  Text(0)   = "",        "S114", "S114"
  Text(1)   = "",        "S115", "S115"
  Text(2)   = "",        "S116", "S116"
  Text(3)   = "",        "S117", "S117"
  Text(4)   = "",        "S118", "S118"
  Text(5)   = "",        "S119", "S119"
  Text(6)   = "",        "S120", "S120"
  Text(7)   = "",        "S121", "S121"
  Text(8)   = "",        "S122", "S122"
  Text(9)   = "",        "S123", "S123"
  Text(10)  = "",        "S124", "S124"
  Text(11)  = "",        "S125", "S125"
EndIoDefText
IoDefText = "MB620-IN-KEYS-S26-B"
  Text(0)   = "",        "X14.3", "X14.3"
EndIoDefText
IoDefText = "MB620-IN-KEYS-S27-B" 
  Text(0)   = "",        "S127", "S127"
  Text(1)   = "",        "S128", "S128"
  Text(2)   = "",        "S129", "S129"
  Text(3)   = "",        "S130", "S130"
  Text(4)   = "",        "S131", "S131"
  Text(5)   = "",        "S132", "S132"
  Text(6)   = "",        "S133", "S133"
  Text(7)   = "",        "S134", "S134"
  Text(8)   = "",        "S135", "S135"
  Text(9)   = "",        "S136", "S136"
  Text(10)  = "",        "S137", "S137"
  Text(11)  = "",        "S138", "S138"
EndIoDefText
IoDefText = "MB620-IN-KEYS-S39-B"
  Text(0)   = "",        "X13.3", "X13.3"
EndIoDefText


IoDefText = "MB620-IN-ESA"
  Text(0)  = "I_UNUSED_ES_SMOP",   "X18.2", "-ES.A.SMOP"
EndIoDefText

IoDefText = "MB620-IN-ESB"
  Text(0)  = "",                   "X18.4", "-ES.B.SMOP"
EndIoDefText


IoDefText = "MB620-IN-FIXED-A"
  Text(0)   = "I_UNUSED_PB_HW",                 "X30.2", "I4.A"
  Text(1)   = "I_UNUSED_ES_HW",                 "X30.6", "-ES.A.HW"
  Text(2)   = "I_UNUSED_PB",                    "X31.2", "I5.A"
  Text(3)   = "I_UNUSED",                       "X31.5", "I6.A"
  Text(4)   = "I_UNUSED",                       "X31.8", "I7.A"
  Text(5)   = "I_DUMMY",                        "--",    ""
  Text(6)   = "I_DUMMY",                        "--",    ""
  Text(7)   = "I_DUMMY",                        "--",    ""
EndIoDefText

IoDefText = "MB620-IN-FIXED-B"
  Text(0)   = "",                               "X30.4", "I4.B"         
  Text(1)   = "",                               "X30.8", "-ES.B.HW"     
  Text(2)   = "",                               "X31.4", "I5.B"         
  Text(3)   = "",                               "X31.6", "I6.B"         
  Text(4)   = "",                               "X31.9", "I7.B"         
  Text(5)   = "",                               "--",    ""             
  Text(6)   = "",                               "--",    ""             
  Text(7)   = "",                               "--",    "" 
EndIoDefText


IoDefText = "MB620-INPUT-A"
  Text(0)   = "I_UNUSED_KEYSWITCH1", "X6.1", "I0.A" 
  Text(1)   = "I_UNUSED_KEYSWITCH2", "X6.2", "I1.A"
  Text(2)   = "I_UNUSED_ECO_BUTTON", "X6.3", "I2.A"
  Text(3)   = "I_UNUSED",            "X6.4", "I3.A"
EndIoDefText

IoDefText = "MB620-INPUT-B"
  Text(0)   = "",         "X6.5", "I0.B"
  Text(1)   = "",         "X6.6", "I1.B"
  Text(2)   = "",         "X6.7", "I2.B"
  Text(3)   = "",         "X6.8", "I3.B"
EndIoDefText


;;  -----------------------------------------------------------------------    
Module = "Digital Output LED"
  54
;V3;1  State = "recommended"
;V3;1  Version = "1.00"
  Module_A = 0x27
    strictAdressing = 1
    Ext_Module_Prm_Data_Len = 3
    Ext_User_Prm_Data_Const(0) = 0x03, 0x01, 0x2A
    IO_Definition = "MB620-OUT-LEDS-S1",   output, bitToBit,  1, 0, bit, 12
    IO_Definition = "MB620-OUT-LEDS-S14",  output, bitToBit,  2, 5, bit, 12
    IO_Definition = "MB620-OUT-LEDS-S27",  output, bitToBit,  4, 2, bit, 12
    IO_Definition = "MB620-OUT-LEDS-S13",  output, bitToBit,  2, 4, bit, 1
    IO_Definition = "MB620-OUT-LEDS-S26",  output, bitToBit,  4, 1, bit, 1
    IO_Definition = "MB620-OUT-LEDS-S39",  output, bitToBit,  5, 6, bit, 1
    IO_Definition = "MB620-OUTPUT",        output, bitToBit,  0, 0, bit, 8
  EndModule_A
  Module_B = 0x00
    Ext_Module_Prm_Data_Len = 3
    Ext_User_Prm_Data_Const(0) = 0x03, 0x01, 0xFF
  EndModule_B
EndModule

IoDefText = "MB620-OUTPUT"
  Text(0)   = "O_UNUSED", "X7.1", "O0"
  Text(1)   = "O_UNUSED", "X7.2", "O1"
  Text(2)   = "O_UNUSED", "X7.3", "O2"
  Text(3)   = "O_UNUSED", "X7.4", "O3"
  Text(4)   = "O_UNUSED", "X7.5", "O4"
  Text(5)   = "O_UNUSED", "X7.6", "O5"
  Text(6)   = "O_UNUSED", "X7.7", "O6"
  Text(7)   = "O_UNUSED", "X7.8", "O7"
EndIoDefText

IoDefText = "MB620-OUT-LEDS-S1"
  Text(0)   = "O_LED_Zustimmung",      "S1"             
  Text(1)   = "O_LED_S2",              "S2"             
  Text(2)   = "O_LED_A_C_Plus",        "S3"             
  Text(3)   = "O_LED_A_Z_Plus",        "S4"             
  Text(4)   = "O_LED_A_Y_Plus",        "S5"             
  Text(5)   = "O_LED_A_A_Plus",        "S6"             
  Text(6)   = "O_LED_S7",              "S7"             
  Text(7)   = "O_LED_Kuehlmittel",     "S8"             
  Text(8)   = "O_LED_Arbeitsraumtuer", "S9"             
  Text(9)   = "O_LED_S_Tippen",        "S10"          
  Text(10)  = "O_LED_S_Stop",          "S11"          
  Text(11)  = "O_LED_S_Start",         "S12"          
EndIoDefText
IoDefText = "MB620-OUT-LEDS-S13"
  Text(0)   = "O_LED_NC_STOP",         "X15.5"
EndIoDefText
IoDefText = "MB620-OUT-LEDS-S14" 
  Text(0)   = "O_LED_S14",             "S14"
  Text(1)   = "O_LED_S15",             "S15"
  Text(2)   = "O_LED_A_X_Minus",       "S16"
  Text(3)   = "O_LED_Eilgang",         "S17"
  Text(4)   = "O_LED_A_X_Plus",        "S18"
  Text(5)   = "O_LED_S19",             "S19"
  Text(6)   = "O_LED_S20",             "S20"
  Text(7)   = "O_LED_ArbRaumLeuchte",  "S21"
  Text(8)   = "O_LED_Magazintuer",     "S22"
  Text(9)   = "O_LED_S23",             "S23"
  Text(10)  = "O_LED_S24",             "S24"
  Text(11)  = "O_LED_S25",             "S25"
EndIoDefText
IoDefText = "MB620-OUT-LEDS-S26"
  Text(0)   = "O_LED_NC_START",        "X14.5"
EndIoDefText
IoDefText = "MB620-OUT-LEDS-S27" 
  Text(0)   = "O_LED_Werkzeugwechsel", "S27"
  Text(1)   = "O_LED_S28",             "S28"
  Text(2)   = "O_LED_A_Y_Minus",       "S29"
  Text(3)   = "O_LED_A_Z_Minus",       "S30"
  Text(4)   = "O_LED_A_C_Minus",       "S31"
  Text(5)   = "O_LED_A_A_Minus",       "S32"
  Text(6)   = "O_LED_S33",             "S33"
  Text(7)   = "O_LED_SpaeneTransport", "S34"
  Text(8)   = "O_LED_S35",             "S35"
  Text(9)   = "O_LED_S36",             "S36"
  Text(10)  = "O_LED_S37",             "S37"
  Text(11)  = "O_LED_S38",             "S38"
EndIoDefText
IoDefText = "MB620-OUT-LEDS-S39"
  Text(0)   = "O_LED_MASCHINE_EIN",    "X13.5"
EndIoDefText

;;  ----------------------------------------------------------------------- 
Module = "Override"
  55
;V3;1  State = "recommended"
;V3;1  Version = "1.00"
  Module_A = 0x52 
    strictAdressing = 1
    Ext_Module_Prm_Data_Len = 3
    Ext_User_Prm_Data_Const(0) = 0x03, 0x01, 0x0E
    IO_Definition = "MB620-IN-ANA-POTI", input, wordNoSwap, 0, 0, word, 3
  EndModule_A
  Module_B = 0x00
    Ext_Module_Prm_Data_Len = 3
    Ext_User_Prm_Data_Const(0) = 0x03, 0x01, 0xFF
  EndModule_B
EndModule

IoDefText = "MB620-IN-ANA-POTI"
  Text(0)   = "IW_POTI_1", "X10.1", "Override1"
  Text(1)   = "IW_POTI_2", "X10.2", "Override2"
  Text(2)   = "IW_POTI_3", "X10.3", "Override3"
EndIoDefText


;;  ----------------------------------------------------------------------- 
Module = "Analog"
  56
;V3;1  State = "recommended"
;V3;1  Version = "1.00"
  Module_A = 0x54 
    strictAdressing = 1
    Ext_Module_Prm_Data_Len = 3
    Ext_User_Prm_Data_Const(0) = 0x03, 0x01, 0x0F
    ;IO_Definition = "MB620-IN-ANA-VOLT", input, wordNoSwap, 0, 0, word, 4
    ;IO_Definition = "MB620-IN-ANA-TEMP", input, wordNoSwap, 8, 0, word, 1
  EndModule_A
  Module_B = 0x00
    Ext_Module_Prm_Data_Len = 3
    Ext_User_Prm_Data_Const(0) = 0x03, 0x01, 0xFF
  EndModule_B
EndModule

IoDefText = "MB620-IN-ANA-VOLT"
  Text(0)   = "IW_ANALOG_3_3_VOLT", "internal", ""
  Text(1)   = "IW_ANALOG_5_VOLT",   "internal", ""
  Text(2)   = "IW_ANALOG_24_VOLT",  "internal", ""
  Text(3)   = "IW_ANALOG_1_5_VOLT", "internal", ""
EndIoDefText

IoDefText = "MB620-IN-ANA-TEMP"
  Text(0)   = "IW_TEMP_SENSOR",     "internal", ""
EndIoDefText

