;=============================================================================
; JH__A403.GSD                                           (was JHDP_TEST.GSD)                                     
; 
; DR. JOHANNES HEIDENHAIN GmbH, Traunreut, Germany
;            
; Version: 1.1                                                    27.10.2008
; 
; FOR INTERNAL USE ONLY!
;
;
; This is a GSD file that is for internal use only. It allows the configuration
; of virtual modules for the PL550. These virtual modules are for control
; software tests only and shall not be used in real maschines.
;
; changes:
;  1.0              Initial file version
;  1.1  27.10.2008  File name changed to JH_A403.GSD, 
;                   bugfix for UNIT_DIAG_BIT entries of slot 5,6,7,8
;  
;=============================================================================
#Profibus_DP
; Prm-Text-Def-List
PrmText=1 
Text(0)= "Deactivated"
Text(1)= "X15 +/-10 V"
Text(2)= "X16 +/-10 V"
Text(3)= "X17 +/-10 V"
Text(4)= "X18 +/-10 V"
Text(5)= "X19 PT100"
Text(6)= "X20 PT100"
Text(7)= "X21 PT100"
Text(8)= "X22 PT100"
EndPrmText

PrmText=3
Text(0)= "0.01 V or 0.01 C per bit"
Text(1)= "Unprocessed ADC values"
EndPrmText

PrmText=4
Text(0)= "Detection off"
Text(1)= "Detection on"
EndPrmText

PrmText=6
Text(0)= "Disabled"
Text(1)= "Short circuit"
Text(2)= "Line break"
Text(3)= "State"
EndPrmText


; <Ext-User-Prm-Data-Def-List>
ExtUserPrmData=1 "Channel 1"
BitArea(0-3) 0 0-8
Prm_Text_Ref=1 
EndExtUserPrmData

ExtUserPrmData=2 "Channel 2"
BitArea(4-7) 0 0-8
Prm_Text_Ref=1
EndExtUserPrmData

ExtUserPrmData=3 "Channel 3"
BitArea(0-3) 0 0-8
Prm_Text_Ref=1
EndExtUserPrmData

ExtUserPrmData=4 "Channel 4"
BitArea(4-7) 0 0-8
Prm_Text_Ref=1
EndExtUserPrmData

ExtUserPrmData=5 "Channel 5"
BitArea(0-3) 0 0-8
Prm_Text_Ref=1
EndExtUserPrmData

ExtUserPrmData=6 "Channel 6"
BitArea(4-7) 0 0-8
Prm_Text_Ref=1
EndExtUserPrmData

ExtUserPrmData=7 "Channel 7"
BitArea(0-3) 0 0-8
Prm_Text_Ref=1
EndExtUserPrmData

ExtUserPrmData=8 "Channel 8"
BitArea(4-7) 0 0-8
Prm_Text_Ref=1
EndExtUserPrmData

ExtUserPrmData=9 "Number format"
BitArea(0-3) 0 0-1
Prm_Text_Ref=3
EndExtUserPrmData

ExtUserPrmData=12 "Profibus Diag: short circuit"
Bit(1) 0 0-1
Prm_Text_Ref=4
EndExtUserPrmData

ExtUserPrmData=13 "Profibus Diag: line break"
Bit(2) 0 0-1
Prm_Text_Ref=4
EndExtUserPrmData
ExtUserPrmData=15 "Cyclic Data Diag Byte 1"
BitArea(0-1) 1 0-3
Prm_Text_Ref=6
EndExtUserPrmData

ExtUserPrmData=16 "Cyclic Data Diag Byte 2"
BitArea(2-3) 2 0-3
Prm_Text_Ref=6
EndExtUserPrmData

ExtUserPrmData=17 "Cyclic Data Diag Byte 3"
BitArea(4-5) 3 0-3
Prm_Text_Ref=6
EndExtUserPrmData

ExtUserPrmData=18 "Profibus Diag: supply voltage"
Bit(4) 0 0-1
Prm_Text_Ref=4
EndExtUserPrmData

;--------------------------------------
; manufacturer specific error messages
;--------------------------------------
Channel_Diag(16) = "missing supply voltage"
;--------------------------------------
; Unit diag texts
;--------------------------------------
Unit_Diag_Bit(0) = "Diag Bit 0"
Unit_Diag_Bit(1) = "Diag Bit 1"
Unit_Diag_Bit(2) = "Diag Bit 2"
Unit_Diag_Bit(3) = "Diag Bit 3"
Unit_Diag_Bit(4) = "Diag Bit 4"
Unit_Diag_Bit(5) = "Diag Bit 5"
Unit_Diag_Bit(6) = "Diag Bit 6"
Unit_Diag_Bit(7) = "Diag Bit 7"

Unit_Diag_Bit(8)   = "Slot 1: Wrong module"
Unit_Diag_Bit(9)   = "Slot 1: No module"
Unit_Diag_Bit(10)  = "Slot 1: Safety hold active"
Unit_Diag_Bit(12)  = "Slot 1: Configuration error"

Unit_Diag_Bit(16)  = "Slot 2: Wrong module"
Unit_Diag_Bit(17)  = "Slot 2: No module"
Unit_Diag_Bit(18)  = "Slot 2: Safety hold active"
Unit_Diag_Bit(20)  = "Slot 2: Configuration error"

Unit_Diag_Bit(24)  = "Slot 3: Wrong module"
Unit_Diag_Bit(25)  = "Slot 3: No module"
Unit_Diag_Bit(26)  = "Slot 3: Safety hold active"
Unit_Diag_Bit(28)  = "Slot 3: Configuration error"

Unit_Diag_Bit(32)  = "Slot 4: Wrong module"
Unit_Diag_Bit(33)  = "Slot 4: No module"
Unit_Diag_Bit(34)  = "Slot 4: Safety hold active"
Unit_Diag_Bit(36)  = "Slot 4: Configuration error"

Unit_Diag_Bit(40)  = "Slot 5: Wrong module"
Unit_Diag_Bit(41)  = "Slot 5: No module"
Unit_Diag_Bit(42)  = "Slot 5: Safety hold active"
Unit_Diag_Bit(44)  = "Slot 5: Configuration error"

Unit_Diag_Bit(48)  = "Slot 6: Wrong module"
Unit_Diag_Bit(49)  = "Slot 6: No module"
Unit_Diag_Bit(50)  = "Slot 6: Safety hold active"
Unit_Diag_Bit(52)  = "Slot 6: Configuration error"

Unit_Diag_Bit(56)  = "Slot 7: Wrong module"
Unit_Diag_Bit(57)  = "Slot 7: No module"
Unit_Diag_Bit(58)  = "Slot 7: Safety hold active"
Unit_Diag_Bit(60)  = "Slot 7: Configuration error"

Unit_Diag_Bit(64)  = "Slot 8: Wrong module"
Unit_Diag_Bit(65)  = "Slot 8: No module"
Unit_Diag_Bit(66)  = "Slot 8: Safety hold active"
Unit_Diag_Bit(68)  = "Slot 8: Configuration error"

Unit_Diag_Bit(72) = "Slave has only 4 Slots"
Unit_Diag_Bit(73) = "Illegal module change detected"
Unit_Diag_Bit(74) = "Slave has only 8 Slots"
Unit_Diag_Bit(75) = "DEVICE DIAG TEST MSG"

Channel_Diag(17) = "CHANNEL DIAG TEST MSG"

;General parameters
GSD_Revision    = 3
Vendor_Name     = "HEIDENHAIN"
Model_Name      = "PL550PC-JH-TEST"
Revision        = "Rev 3.0"
Ident_Number    = 0xA403
Protocol_Ident  = 0
Station_Type    = 0
FMS_supp        = 0
Hardware_Release= "HW 1.0"
Software_Release= "SW 1.0"
9.6_supp        = 1
19.2_supp       = 1
45.45_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_45.45   = 250
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
Repeater_Ctrl_Sig=0
24V_Pins        = 0
Implementation_Type  = "VPB3+C"
; Slave-Specification:
Freeze_Mode_supp     = 1
Sync_Mode_supp       = 1
Set_Slave_Add_Supp   = 0
Auto_Baud_supp       = 1
Min_Slave_Intervall  = 1
Fail_Safe= 1
Max_Diag_Data_Len=244
Modul_Offset         = 0
Slave_Family         = 3
Modular_Station      = 1
Max_Module           = 8
Max_Input_len=244
Max_Output_len=244
Max_Data_len =488

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

Module="Empty slot" 0x00
1
Ext_Module_Prm_Data_Len = 3
Ext_User_Prm_Data_Const(0) = 0x03  ,0x01,0x00
EndModule

Module="PLD16-8 16In/8Out" 0xC0,0x00,0x01
2
Ext_Module_Prm_Data_Len = 9
Ext_User_Prm_Data_Const(0) =  0x09, 0x01 ,0x02, 0x00, 0x00  , 0x04   , 0x0    , 0x0 , 0x0
EndModule

Module="PLA4-4 1 Channel" 0x50
3
Ext_Module_Prm_Data_Len = 12
Ext_User_Prm_Data_Const(0) = 0x0c, 0x01, 0x03,0x04, 0x00,   0x05,     0x01,    0x21, 0x43, 0x65, 0x87, 0x00
Ext_User_Prm_Data_Ref(7)=1
Ext_User_Prm_Data_Ref(11)=9
Ext_User_Prm_Data_Ref(11)=18
EndModule

Module="PLA4-4 2 Channel" 0x51
4
Ext_Module_Prm_Data_Len = 12
Ext_User_Prm_Data_Const(0) = 0x0c, 0x01, 0x03,0x04, 0x00,   0x05,     0x01,    0x21, 0x43, 0x65, 0x87, 0x00
Ext_User_Prm_Data_Ref(7)=1
Ext_User_Prm_Data_Ref(7)=2
Ext_User_Prm_Data_Ref(11)=9
Ext_User_Prm_Data_Ref(11)=18
EndModule

Module="PLA4-4 3 Channel" 0x52
5
Ext_Module_Prm_Data_Len = 12
Ext_User_Prm_Data_Const(0) = 0x0c, 0x01, 0x03,0x04, 0x00,   0x05,     0x01,    0x21, 0x43, 0x65, 0x87, 0x00
Ext_User_Prm_Data_Ref(7)=1
Ext_User_Prm_Data_Ref(7)=2
Ext_User_Prm_Data_Ref(8)=3
Ext_User_Prm_Data_Ref(11)=9
Ext_User_Prm_Data_Ref(11)=18
EndModule

Module="PLA4-4 4 Channel" 0x53
6
Ext_Module_Prm_Data_Len = 12
Ext_User_Prm_Data_Const(0) = 0x0c, 0x01, 0x03,0x04, 0x00,   0x05,     0x01,    0x21, 0x43, 0x65, 0x87, 0x00
Ext_User_Prm_Data_Ref(7)=1
Ext_User_Prm_Data_Ref(7)=2
Ext_User_Prm_Data_Ref(8)=3
Ext_User_Prm_Data_Ref(8)=4
Ext_User_Prm_Data_Ref(11)=9
Ext_User_Prm_Data_Ref(11)=18
EndModule

Module="PLA4-4 5 Channel" 0x54
7
Ext_Module_Prm_Data_Len = 12
Ext_User_Prm_Data_Const(0) = 0x0c, 0x01, 0x03,0x04, 0x00,   0x05,     0x01,    0x21, 0x43, 0x65, 0x87, 0x00
Ext_User_Prm_Data_Ref(7)=1
Ext_User_Prm_Data_Ref(7)=2
Ext_User_Prm_Data_Ref(8)=3
Ext_User_Prm_Data_Ref(8)=4
Ext_User_Prm_Data_Ref(9)=5
Ext_User_Prm_Data_Ref(11)=9
Ext_User_Prm_Data_Ref(11)=18
EndModule

Module="PLA4-4 6 Channel" 0x55
8
Ext_Module_Prm_Data_Len = 12
Ext_User_Prm_Data_Const(0) = 0x0c, 0x01, 0x03,0x04, 0x00,   0x05,     0x01,    0x21, 0x43, 0x65, 0x87, 0x00
Ext_User_Prm_Data_Ref(7)=1
Ext_User_Prm_Data_Ref(7)=2
Ext_User_Prm_Data_Ref(8)=3
Ext_User_Prm_Data_Ref(8)=4
Ext_User_Prm_Data_Ref(9)=5
Ext_User_Prm_Data_Ref(9)=6
Ext_User_Prm_Data_Ref(11)=9
Ext_User_Prm_Data_Ref(11)=18
EndModule

Module="PLA4-4 7 Channel" 0x56
9
Ext_Module_Prm_Data_Len = 12
Ext_User_Prm_Data_Const(0) = 0x0c, 0x01, 0x03,0x04, 0x00,   0x05,     0x01,    0x21, 0x43, 0x65, 0x87, 0x00
Ext_User_Prm_Data_Ref(7)=1
Ext_User_Prm_Data_Ref(7)=2
Ext_User_Prm_Data_Ref(8)=3
Ext_User_Prm_Data_Ref(8)=4
Ext_User_Prm_Data_Ref(9)=5
Ext_User_Prm_Data_Ref(9)=6
Ext_User_Prm_Data_Ref(10)=7
Ext_User_Prm_Data_Ref(11)=9
Ext_User_Prm_Data_Ref(11)=18
EndModule

Module="PLA4-4 8 Channel" 0x57
10
Ext_Module_Prm_Data_Len = 12
Ext_User_Prm_Data_Const(0) = 0x0c, 0x01, 0x03,0x04, 0x00,   0x05,     0x01,    0x21, 0x43, 0x65, 0x87, 0x00
Ext_User_Prm_Data_Ref(7)=1
Ext_User_Prm_Data_Ref(7)=2
Ext_User_Prm_Data_Ref(8)=3
Ext_User_Prm_Data_Ref(8)=4
Ext_User_Prm_Data_Ref(9)=5
Ext_User_Prm_Data_Ref(9)=6
Ext_User_Prm_Data_Ref(10)=7
Ext_User_Prm_Data_Ref(10)=8
Ext_User_Prm_Data_Ref(11)=9
Ext_User_Prm_Data_Ref(11)=18
EndModule


Module="PLD16-8 16In/8Out + 1 Byte Diag" 0xC0,0x00,0x02
11
Ext_Module_Prm_Data_Len = 10
Ext_User_Prm_Data_Const(0) =  0x0A, 0x01, 0x02, 0x00, 0x00  , 0x04   , 0x0     , 0x0 , 0x1, 0x0  
Ext_User_Prm_Data_Ref(7)=12
Ext_User_Prm_Data_Ref(7)=13
Ext_User_Prm_Data_Ref(8)=15
EndModule

Module="PLD16-8 16In/8Out + 2 Byte Diag" 0xC0,0x00,0x03
12
Ext_Module_Prm_Data_Len = 10
Ext_User_Prm_Data_Const(0) =  0x0A, 0x01, 0x02, 0x00, 0x00  , 0x04   , 0x0     , 0x0 , 0xd, 0x0  
Ext_User_Prm_Data_Ref(7)=12
Ext_User_Prm_Data_Ref(7)=13
Ext_User_Prm_Data_Ref(8)=15
Ext_User_Prm_Data_Ref(8)=16
EndModule

Module="PLD16-8 16In/8Out + 3 Byte Diag" 0xC0,0x00,0x04
13
Ext_Module_Prm_Data_Len = 10
Ext_User_Prm_Data_Const(0) =  0x0A, 0x01, 0x02, 0x00, 0x00  , 0x04   , 0x0     , 0x0 , 0x2d ,0 
Ext_User_Prm_Data_Ref(7)=12
Ext_User_Prm_Data_Ref(7)=13
Ext_User_Prm_Data_Ref(8)=15
Ext_User_Prm_Data_Ref(8)=16
Ext_User_Prm_Data_Ref(8)=17
EndModule

Module="TEST DIAGNOSE  4 Byte IN/OUT" 0xC0,0x03,0x03
99
Ext_Module_Prm_Data_Len = 7
Ext_User_Prm_Data_Const(0) =  0x07, 0x01, 0xFE, 0x00, 0x00  , 0x04   , 0x0 
EndModule

Module="TEST DIAGNOSE 16 Byte IN/OUT" 0xC0,0x0F,0x0F
98
Ext_Module_Prm_Data_Len = 7
Ext_User_Prm_Data_Const(0) =  0x07, 0x01, 0xFD, 0x00, 0x00  , 0x04   , 0x0 
EndModule

Module="TEST DIAGNOSE 32 Byte IN/OUT" 0xC0,0x1F,0x1F
97
Ext_Module_Prm_Data_Len = 7
Ext_User_Prm_Data_Const(0) =  0x07, 0x01, 0xFC, 0x00, 0x00  , 0x04   , 0x0 
EndModule

Module="TEST DIAGNOSE 64 Byte IN/OUT" 0xC0,0x5F,0x5F
96
Ext_Module_Prm_Data_Len = 7
Ext_User_Prm_Data_Const(0) =  0x07, 0x01, 0xFB, 0x00, 0x00  , 0x04   , 0x0 
EndModule

Module="TEST Status/Command 4 Byte" 0xC0,0x03,0x03
95
Ext_Module_Prm_Data_Len = 7
Ext_User_Prm_Data_Const(0) =  0x07, 0x01, 0xFA, 0x00, 0x00  , 0x04   , 0x0 
EndModule




