⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 dpv0affe.gsd

📁 PROFIBUS SLAVE PROGRAMS PRO FIBUS SLAVE PROGRAMS
💻 GSD
字号:
;
;********************* GSD-Datei for VPC3 Demo application **************************
;* ================================================================================ *
;*                                                                                  *
;* Vendor:   profichip GmbH                                                         *
;*           Einsteinstr. 6                                                         *
;*           91074 Herzogenaurach                                                   *
;*           Germany                                                                *
;*           Tel. : ++49-9132-744-200                                               *
;*           FAX. : ++49-9132-744-204                                               *
;*           eMail: support@profichip.com                                           *
;*                                                                                  *
;* ================================================================================ *
;*                                                                                  *
;* Function:       Demo for PROFICHIP Software                                      *
;*                                                                                  *
;*                                                                                  *
;* Order Number : PA006300, PA007062                                                *
;*                                                                                  *
;* -------------------------------------------------------------------------------- *
;* author: P. Fredehorst                                                            *
;*                                                                                  *
;*   Tel. : ++49-9132-744-214                                                       *
;*   FAX. : ++49-9132-744-204                                                       *
;*      eMail: pfredehorst@profichip.com                                            *
;* -------------------------------------------------------------------------------- *
;*                                                                                  *
;* history                                                                          *
;* ================================================================================ *
;* 09.09.2005 [V1.00]  Urversion                                                    *
;*                                                                                  *
;* -------------------------------------------------------------------------------- *
;*                                                                                  *
;************************************************************************************


#Profibus_DP


;====================================================================================
;==== Prm-Text-Def-List =============================================================
;====================================================================================

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

PrmText  = 2
Text(0)  = "clock up"
Text(1)  = "clock down"
EndPrmText

PrmText  = 3
Text(1)  = "10"
Text(2)  = "20"
Text(3)  = "30"
Text(4)  = "40"
Text(5)  = "50"
EndPrmText


;=====================================================================================
;==== Ext-User-Prm-Data-Def-List =====================================================
;=====================================================================================

ExtUserPrmData=1 "[SlotNumber]"
Unsigned8 0 0-32
EndExtUserPrmData

ExtUserPrmData=2 "Diagnostic Alarm"
Bit(0) 0 0-1
Prm_Text_Ref=1
EndExtUserPrmData

ExtUserPrmData=3 "Process Alarm"
Bit(1) 0 0-1
Prm_Text_Ref=1
EndExtUserPrmData

ExtUserPrmData=4 "Counter mode"
Unsigned8 0 0-1
Prm_Text_Ref=2
EndExtUserPrmData

ExtUserPrmData=5 "Counter timebase (ms)"
Unsigned8 1 1-5
Prm_Text_Ref=3
EndExtUserPrmData

ExtUserPrmData=6 "Counter high-limit"
Unsigned16 65535 0-65535
EndExtUserPrmData

ExtUserPrmData=7 "Counter low-limit"
Unsigned16 0 0-65535
EndExtUserPrmData


;=====================================================================================
;==== General DP Keywords ============================================================
;=====================================================================================

GSD_Revision = 5
Vendor_Name = "profichip GmbH"
Model_Name = "DPV0AFFE"
Revision = "1.00"
Ident_Number = 0xAFFE
Protocol_Ident = 0
Station_Type = 0
FMS_supp = 0
Hardware_Release = "V1.00"
Software_Release = "V1.00"
Redundancy = 0
Repeater_Ctrl_Sig = 2
24V_Pins = 0


;==============================================================================
;==== Supported baudrates =====================================================
;==============================================================================

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=15
MaxTsdr_19.2=15
MaxTsdr_45.45=15
MaxTsdr_93.75=15
MaxTsdr_187.5=15
MaxTsdr_500=15
MaxTsdr_1.5M=20
MaxTsdr_3M=35
MaxTsdr_6M=50
MaxTsdr_12M=95


;==============================================================================
;==== Slave specific values ===================================================
;==============================================================================

OrderNumber="PA006300, PA7062"
Slave_Family = 3@profichip GmbH@EvaKit_ATMEL89C5132
Implementation_Type = "VPC3+"
Info_Text="PROFICHIP: PROFIBUS DPV0 - slave, modular system, max 6 modules, PROFICHIP EvaluationKit PA006300"
Bitmap_Device = "DPV0_1N"
Bitmap_SF="DPV0_1S"

Freeze_Mode_supp=1
Sync_Mode_supp=1
Fail_Safe=1
Auto_Baud_supp=1
Set_Slave_Add_supp=0

Min_Slave_Intervall=6

Modular_Station=1
Max_Module=6
Modul_Offset=1
Max_Input_Len=8
Max_Output_Len=8
Max_Data_Len=16
Max_Diag_Data_Len=18

WD_Base_1ms_supp = 1
Publisher_supp = 1

;==============================================================================
;==== User-Prm-Data ===========================================================
;==============================================================================

Max_User_Prm_Data_Len = 12
Ext_User_Prm_Data_Const(0)= 0x00,0x00,0x00

;==============================================================================
;==== Modulstatus =============================================================
;==============================================================================

UnitDiagType=130
X_Unit_Diag_Area = 24 - 25
X_Value(1)= "Slot 1: Module error"
X_Value(2)= "Slot 1: Wrong module"
X_Value(3)= "Slot 1: No module"
X_Unit_Diag_Area_End
X_Unit_Diag_Area = 26 - 27
X_Value(1)= "Slot 2: Module error"
X_Value(2)= "Slot 2: Wrong module"
X_Value(3)= "Slot 2: No module"
X_Unit_Diag_Area_End
X_Unit_Diag_Area = 28 - 29
X_Value(1)= "Slot 3: Module error"
X_Value(2)= "Slot 3: Wrong module"
X_Value(3)= "Slot 3: No module"
X_Unit_Diag_Area_End
X_Unit_Diag_Area = 30 - 31
X_Value(1)= "Slot 4: Module error"
X_Value(2)= "Slot 4: Wrong module"
X_Value(3)= "Slot 4: No module"
X_Unit_Diag_Area_End
X_Unit_Diag_Area = 32 - 33
X_Value(1)= "Slot 5: Module error"
X_Value(2)= "Slot 5: Wrong module"
X_Value(3)= "Slot 5: No module"
X_Unit_Diag_Area_End
X_Unit_Diag_Area = 34 - 35
X_Value(1)= "Slot 6: Module error"
X_Value(2)= "Slot 6: Wrong module"
X_Value(3)= "Slot 6: No module"
X_Unit_Diag_Area_End
EndUnitDiagType

;==============================================================================
;==== Module-Definition-List ==================================================
;==============================================================================

Module="DI8 (PORT1)    " 0x42,0x00,0x00,0x01
1
EndModule

Module="DI8 (PORT2)    " 0x42,0x00,0x00,0x02
2
EndModule

Module="DO8 (PORT1 LED)" 0x82,0x00,0x00,0x03
3
EndModule

Module="DO8 (PORT2 LED)" 0x82,0x00,0x00,0x04
4
EndModule

Module="DIO32          " 0xC1,0x03,0x03,0x05
5
EndModule

Module="Counter 16bit  " 0xC1,0x01,0x01,0x06
6
Ext_Module_Prm_Data_Len=9
Ext_User_Prm_Data_Const(0)=0x09,0x01,0x00,0x00,0x01,0xFF,0xFF,0x00,0x00
Ext_User_Prm_Data_Ref(1)=1             ;slot number
Ext_User_Prm_Data_Ref(2)=2             ;diagnostic alarm
Ext_User_Prm_Data_Ref(2)=3             ;process alarm
Ext_User_Prm_Data_Ref(3)=4             ;counter mode
Ext_User_Prm_Data_Ref(4)=5             ;timebase
Ext_User_Prm_Data_Ref(5)=6             ;high-limit
Ext_User_Prm_Data_Ref(7)=7             ;low-limit
Info_Text="PROFICHIP: counter module, process-alarm supported"
EndModule

SlotDefinition
Slot(1) = "Slot 1" 1 1
Slot(2) = "Slot 2" 2 2
Slot(3) = "Slot 3" 3 3
Slot(4) = "Slot 4" 4 4
Slot(5) = "Slot 5" 5 5
Slot(6) = "Slot 6" 6 6
EndSlotDefinition

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -