;/***************************************************************************/
;/* VEGA Grieshaber KG                                                      */
;/* Am Hohenstein 113                                                       */
;/* 77761 Schiltach                                                         */
;/* -Germany-                                                               */
;/* Phone: +49783650-0                                                      */
;/***************************************************************************/
;/*                                                                         */
;/* GSD-File fuer OPTIBAR 5060 series Profibus                              */
;/*                                                                         */
;/***************************************************************************/
;/* Autor: K.Guenter            Edit:                                       */
;/* GSD-File-Version: 1                                                     */
;/* GSD-Revision: 5                                                         */
;/* Datum: 17.06.2014                                                       */
;/*                                                                         */
;/* geaendert am:                                                           */
;/*                                                                         */
;/*                                                                         */
;/*                                                                         */
;/* File-Name: KR014561.GSD                                                 */
;/***************************************************************************/


;/***************************************************************************/
;/* General DP-Key Words                                                    */
;/***************************************************************************/
#Profibus_DP
GSD_Revision        = 5
Vendor_Name         = "KROHNE Messtechnik GmbH"
Model_Name          = "OPTIBAR 5060 series Profibus"
Revision            = "Profil 3.02"
Ident_Number        = 0x4561
Protocol_Ident      = 0         ; Profibus-DP
Station_Type        = 0         ; DP-Slave
FMS_supp            = 0
Hardware_Release    = "-"
Software_Release    = "-"
;
31.25_supp          = 1         ; PA-Baudrate
45.45_supp          = 1         ; Siemens Segmentcoupler
93.75_supp          = 1         ; Pepperl & Fuchs Segmentcoupler
187.5_supp          = 1         ; SK2/3
500_supp            = 1         ; SK2/3
1.5M_supp           = 1         ; SK2/3
3M_supp             = 1         ; SK2/3
6M_supp             = 1         ; SK2/3
12M_supp            = 1         ; SK2/3
;
MaxTsdr_31.25       = 100       ; PA-Baudrate
MaxTsdr_45.45       = 250       ; Siemens Segmentcoupler
MaxTsdr_93.75       = 1000      ; Pepperl & Fuchs Segmentcoupler
MaxTsdr_187.5       = 60        ; SK2/3
MaxTsdr_500         = 100       ; SK2/3
MaxTsdr_1.5M        = 150       ; SK2/3
MaxTsdr_3M          = 250       ; SK2/3
MaxTsdr_6M          = 450       ; SK2/3
MaxTsdr_12M         = 800       ; SK2/3
;
Redundancy          = 0
Repeater_Ctrl_Sig   = 0
24V_Pins            = 0  
Implementation_Type = "SPC4-2 / TMG i-tec"
Bitmap_Device       = "KR_4561N"
Bitmap_Diag         = "KR_4561D"
Bitmap_SF           = "KR_4561S"
;
;--- Description of physical interface for async. and sync. transmission ---
Physical_Interface = 1                     ; IEC61158-2
Transmission_Delay_31.25 = 0
Reaction_Delay_31.25     = 0
End_Physical_Interface
;
Physical_Interface = 0                     ; RS-485 Standard Copper
Transmission_Delay_45.45 = 0
Reaction_Delay_45.45     = 0
Transmission_Delay_93.75 = 0
Reaction_Delay_93.75     = 0
Transmission_Delay_187.5 = 0
Reaction_Delay_187.5     = 0
Transmission_Delay_500   = 0
Reaction_Delay_500       = 0
Transmission_Delay_1.5M  = 0
Reaction_Delay_1.5M      = 0
Transmission_Delay_3M    = 0
Reaction_Delay_3M        = 0
Transmission_Delay_6M    = 0
Reaction_Delay_6M        = 0
Transmission_Delay_12M   = 0
Reaction_Delay_12M       = 0
End_Physical_Interface
;
;
;/***************************************************************************/
;/* Basic DP-Slave related key words                                        */
;/***************************************************************************/
Freeze_Mode_supp    = 1     ; Note: Freeze mode is not supported when using SK2/SK3
Sync_Mode_supp      = 1
Auto_Baud_supp      = 0
Set_Slave_Add_supp  = 1
;
Max_User_Prm_Data_Len = 8   ;DPV1_Status_1..3 and profile specific Prm_Structure (size = 5 bytes)
;
PrmText=1
Text(0)="Disabled"          ;classic diagnosis and status mode
Text(1)="Enabled"           ;condensed diagnosis and status mode
EndPrmText
;
ExtUserPrmData=1 "Condensed Status"
Bit(0) 1 0-1                ;PRM_COND
Prm_Text_Ref=1              ;reference to PrmText
EndExtUserPrmData
;
Ext_User_Prm_Data_Const(0) = 0x00,0x00,0x08                         ;DPV1_Status_1..3
Ext_User_Prm_Data_Const(3) = 0x05,0x41,0x00,0x00,0x01               ;Profile specific Prm_Structure (default values)
;                                                                    Structure_Length = 5
;                                                                    Structure_Type = 65 (profile specific)
;                                                                    Slot_Number = 0
;                                                                    reserved = 0
;                                                                    PRM_COND = 1 (enabled)
;
Ext_User_Prm_Data_Ref(7)=1  ;reference to condensed status bit PRM_COND
Prm_Block_Structure_supp=1  ;enables the block structure of extended parametrization
;Prm_Block_Structure_req=1  ;only if conformance test needs this
;
;
Min_Slave_Intervall = 6   ;Time base 100s, modified for applications with SK2/SK3
;
Modular_Station     = 1
Max_Module          = 4
Max_Input_Len       = 15
Max_Output_Len      = 5
Max_Data_Len        = 20
Max_Diag_Data_Len   = 26
;
;Profile specific diagnosis flags
Unit_Diag_Bit(16) = "Status appears"
Unit_Diag_Bit(17) = "Status disappears"
Unit_Diag_Bit(24) = "Hardware failure electronics"
Unit_Diag_Bit(25) = "Hardware failure mechanics"
Unit_Diag_Bit(26) = "Motor temperature too high"
Unit_Diag_Bit(27) = "Electronic temperature too high"
Unit_Diag_Bit(28) = "Memory error"
Unit_Diag_Bit(29) = "Measurement failure"
Unit_Diag_Bit(30) = "Device not initialized"
Unit_Diag_Bit(31) = "Device initialization failed"
Unit_Diag_Bit(32) = "Zero point error"
Unit_Diag_Bit(33) = "Power supply failed"
Unit_Diag_Bit(34) = "Configuration invalid"
Unit_Diag_Bit(35) = "Warmstart"
Unit_Diag_Bit(36) = "Coldstart"
Unit_Diag_Bit(37) = "Maintenance required"
Unit_Diag_Bit(38) = "Characterization invalid"
Unit_Diag_Bit(39) = "Ident number violation"
Unit_Diag_Bit(40) = "Maintenance alarm"
Unit_Diag_Bit(41) = "Maintenance demanded"
Unit_Diag_Bit(42) = "Function check"
Unit_Diag_Bit(43) = "Invalid process conditions"
Unit_Diag_Bit(55) = "Extension available"
;
;Manufacturer specific diagnosis flags
Unit_Diag_Bit(56) = "No measured value available Err"
Unit_Diag_Bit(57) = "Adjusted span too small"
Unit_Diag_Bit(58) = "Error in linearization chart"
Unit_Diag_Bit(59) = "No executable firmware"
Unit_Diag_Bit(60) = "Failure in electronics"
Unit_Diag_Bit(61) = "General software error"
Unit_Diag_Bit(62) = "Measured value is determined"
Unit_Diag_Bit(63) = "Impermissible electronics temp."
Unit_Diag_Bit(64) = "Error in calibration"
Unit_Diag_Bit(65) = "Error in device settings"
Unit_Diag_Bit(66) = "Installation/setup error"
Unit_Diag_Bit(67) = "Measurement malfunction"
Unit_Diag_Bit(68) = "Communication hardware error"
Unit_Diag_Bit(69) = "Probe malfunction"
Unit_Diag_Bit(70) = "Invalid supply voltage"
Unit_Diag_Bit(71) = "Factory settings invalid"
Unit_Diag_Bit(72) = "Error in inactive linearization"
Unit_Diag_Bit(73) = "Event storage malfunction"
Unit_Diag_Bit(74) = "Reliability too low"
Unit_Diag_Bit(75) = "Error on a device interface"
Unit_Diag_Bit(76) = "No measured value available Warn"
Unit_Diag_Bit(77) = "Installation/setup error Maint"
Unit_Diag_Bit(78) = "Error in device settings Maint"
Unit_Diag_Bit(79) = "Device temperature out of spec"
Unit_Diag_Bit(80) = "Overfilling"
Unit_Diag_Bit(81) = "Measured value in compensat echo"
Unit_Diag_Bit(82) = "Invalid supply voltage OOS"
Unit_Diag_Bit(83) = "Simulation active"
;
Unit_Diag_Bit(88) = "Secondary value 1 simulated"
Unit_Diag_Bit(89) = "Secondary value 1 invalid"
Unit_Diag_Bit(90) = "Secondary value 1 limited"
Unit_Diag_Bit(92) = "Secondary value 2 simulated"
Unit_Diag_Bit(93) = "Secondary value 2 invalid"
Unit_Diag_Bit(94) = "Secondary value 2 limited"
Unit_Diag_Bit(96) = "Primary value simulated"
Unit_Diag_Bit(97) = "Primary value invalid"
Unit_Diag_Bit(98) = "Primary value limited"
Unit_Diag_Bit(103) = "Extension 2 available"
Unit_Diag_Bit(104) = "Trimmed value simulated"
Unit_Diag_Bit(105) = "Trimmed value invalid"
Unit_Diag_Bit(106) = "Trimmed value limited"
Unit_Diag_Bit(108) = "Sensor pressure value simulated"
Unit_Diag_Bit(109) = "Sensor pressure value invalid"
Unit_Diag_Bit(110) = "Sensor pressure value limited"
Unit_Diag_Bit(112) = "Static pressure value simulated"
Unit_Diag_Bit(113) = "Static pressure value invalid"
Unit_Diag_Bit(114) = "Static pressure value limited"
Unit_Diag_Bit(116) = "Flow value simulated"
Unit_Diag_Bit(117) = "Flow value invalid"
Unit_Diag_Bit(118) = "Flow value limited"
Unit_Diag_Bit(120) = "Totalizer 1 value simulated"
Unit_Diag_Bit(121) = "Totalizer 1 value invalid"
Unit_Diag_Bit(122) = "Totalizer 1 value limited"
Unit_Diag_Bit(124) = "Totalizer 2 value simulated"
Unit_Diag_Bit(125) = "Totalizer 2 value invalid"
Unit_Diag_Bit(126) = "Totalizer 2 value limited"
Unit_Diag_Bit(128) = "Sensor temp. value simulated"
Unit_Diag_Bit(129) = "Sensor temp. value invalid"
Unit_Diag_Bit(130) = "Sensor temp. value limited"
Unit_Diag_Bit(132) = "Electronic temp. value simulated"
Unit_Diag_Bit(133) = "Electronic temp. value invalid"
Unit_Diag_Bit(134) = "Electronic temp. value limited"
;
;/***************************************************************************/
;/* Module definition                                                       */
;/***************************************************************************/
;--- Module for Analog Input 1 -------------------------------------------------
Module    = "AI FB1 (OUT, short)"     0x94
1
EndModule
;
Module    = "AI FB1 (OUT, long)"      0x42,0x84,0x08,0x05
2
EndModule
;
;--- Module for Analog Input 2 -------------------------------------------------
Module    = "AI FB2 (OUT, short)"     0x94
3
EndModule
;
Module    = "AI FB2 (OUT, long)"      0x42,0x84,0x08,0x05
4
EndModule
;
;--- Module for Analog Input 3 -------------------------------------------------
Module    = "AI FB3 (OUT, short)"     0x94
5
EndModule
;
Module    = "AI FB3 (OUT, long)"      0x42,0x84,0x08,0x05
6
EndModule
;
;--- Module for Test Output ----------------------------------------------------
Module    = "UNUSED (short)"          0xA4
7
EndModule
;
Module    = "UNUSED (long)"           0x82,0x84,0x08,0x05
8
EndModule
;
;--- Empty module --------------------------------------------------------------
Module    = "Free Place"            0x00
9
EndModule
;
;
Slave_Family = 12@KROHNE@???????    ;PA-Device-directory
Info_Text    = "PROFIBUS-PA device according to Profibus-PA-Profile 3.02"
;
;/***************************************************************************/
;/* Additional keywords for module assignment                               */
;/***************************************************************************/
SlotDefinition
Slot(1) = "AI FB1 (OUT)" 2 1,2,9
Slot(2) = "AI FB2 (OUT)" 4 3,4,9
Slot(3) = "AI FB3 (OUT)" 6 5,6,9
Slot(4) = "TEST (SP)" 9 7,8,9
EndSlotDefinition
;
;
;/***************************************************************************/
;/* Slave related keywords for DP extensions                                */
;/***************************************************************************/
DPV1_Slave              = 1
C2_Read_Write_supp      = 1
C2_Read_Write_required  = 1
C2_Max_Data_Len         = 72
C2_Max_Count_Channels   = 3
Max_Initiate_PDU_Length = 52
C2_Response_Timeout     = 4000  ;Timebase 10ms
DPV1_Data_Types         = 1
WD_Base_1ms_supp        = 1
Ident_Maintenance_supp  = 1



