;===============================================================================
; Profibus Device Database of Inovance.
;
; Model:        MD810-gateway 
; Description:  MD810-gateway CANopen master
; Language:     English
; Author:       Inovance Technology Co., Ltd.
; WWW:          www.inovance.cn
;

;
;===============================================================================

#Profibus_DP

GSD_Revision        = 3

; Device identification
Vendor_Name         = "INOVANCE"
Model_Name          = "MD810-gateway"
Revision            = "2.0"
Ident_Number        = 0x0806
Protocol_Ident      = 0                ; DP protocol
Station_Type        = 0                ; Slave device
FMS_supp            = 0                ; FMS not supported
Slave_Family        = 9@INOVANCE/PROFIBUS@DP                ; Gateway
Hardware_Release    = "0000"
Software_Release    = "V.1.03.03"

; Supported hardware features
Redundancy          = 0                ; Not supported
Repeater_Ctrl_Sig   = 0                ; TTL
24V_Pins            = 0                ; Not connected
Implementation_Type = "VPC3+"

; Supported DP features
Freeze_Mode_supp    = 0                ; Supported
Sync_Mode_supp      = 0                ; Supported
Auto_Baud_supp      = 1                ; Supported
Set_Slave_Add_supp  = 0                ; Not supported
Fail_Safe           = 0                ; Supported

; 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

; Maximum responder time for supported baudrates
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        = 25
MaxTsdr_3M          = 50
MaxTsdr_6M          = 100
MaxTsdr_12M         = 200

; Maximum polling frequency
Min_Slave_Intervall = 1                ; 100 us

; I/O related
Modular_Station     = 1                ; Modular
Max_Module          = 24
Max_Input_Len       = 244
Max_Output_Len      = 244
Max_Data_Len        = 488
Modul_Offset        = 1

; Diagnostic related
Max_Diag_Data_Len   = 16

; Parameter related
Max_User_Prm_Data_Len      = 64
;Ext_User_Prm_Data_Const(0) = 0x80,0x00,0x00,0x00


ExtUserPrmData = 1 "The number of devices"
Unsigned8 8 2-30
EndExtUserPrmData

;1؛إص¾
ExtUserPrmData = 2 "NO.1   IN  (words)" 
Unsigned8 0 0-8
EndExtUserPrmData
ExtUserPrmData = 3 "NO.1   OUT (words)"
Unsigned8 0 0-8
EndExtUserPrmData

;2؛إص¾
ExtUserPrmData = 4 "NO.2   IN  (words)"
Unsigned8 2 0-8
EndExtUserPrmData
ExtUserPrmData = 5 "NO.2   OUT (words)"
Unsigned8 2 0-8
EndExtUserPrmData

;3؛إص¾
ExtUserPrmData = 6 "NO.3   IN  (words)"
Unsigned8 2 0-8
EndExtUserPrmData
ExtUserPrmData = 7 "NO.3   OUT (words)"
Unsigned8 2 0-8
EndExtUserPrmData

;4؛إص¾
ExtUserPrmData = 8 "NO.4   IN  (words)"
Unsigned8 2 0-8
EndExtUserPrmData
ExtUserPrmData = 9 "NO.4   OUT (words)"
Unsigned8 2 0-8
EndExtUserPrmData

;5؛إص¾
ExtUserPrmData = 10 "NO.5   IN  (words)"
Unsigned8 2 0-8
EndExtUserPrmData
ExtUserPrmData = 11 "NO.5   OUT (words)"
Unsigned8 2 0-8
EndExtUserPrmData

;6؛إص¾
ExtUserPrmData = 12 "NO.6   IN  (words)"
Unsigned8 2 0-8
EndExtUserPrmData
ExtUserPrmData = 13 "NO.6   OUT (words)"
Unsigned8 2 0-8
EndExtUserPrmData

;7؛إص¾
ExtUserPrmData = 14 "NO.7   IN  (words)"
Unsigned8 2 0-8
EndExtUserPrmData
ExtUserPrmData = 15 "NO.7   OUT (words)"
Unsigned8 2 0-8
EndExtUserPrmData

;8؛إص¾
ExtUserPrmData = 16 "NO.8   IN  (words)"
Unsigned8 2 0-8
EndExtUserPrmData
ExtUserPrmData = 17 "NO.8   OUT (words)"
Unsigned8 2 0-8
EndExtUserPrmData

;9؛إص¾
ExtUserPrmData = 18 "NO.9   IN  (words)"
Unsigned8 2 0-8
EndExtUserPrmData
ExtUserPrmData = 19 "NO.9   OUT (words)"
Unsigned8 2 0-8
EndExtUserPrmData

;10؛إص¾
ExtUserPrmData = 20 "NO.10  IN  (words)"
Unsigned8 2 0-8
EndExtUserPrmData
ExtUserPrmData = 21 "NO.10  OUT (words)"
Unsigned8 2 0-8
EndExtUserPrmData

;11؛إص¾
ExtUserPrmData = 22 "NO.11  IN  (words)"
Unsigned8 2 0-8
EndExtUserPrmData
ExtUserPrmData = 23 "NO.11  OUT (words)"
Unsigned8 2 0-8
EndExtUserPrmData

;12؛إص¾
ExtUserPrmData = 24 "NO.12  IN  (words)"
Unsigned8 2 0-8
EndExtUserPrmData
ExtUserPrmData = 25 "NO.12  OUT (words)"
Unsigned8 2 0-8
EndExtUserPrmData

;13؛إص¾
ExtUserPrmData = 26 "NO.13  IN  (words)"
Unsigned8 2 0-8
EndExtUserPrmData
ExtUserPrmData = 27 "NO.13  OUT (words)"
Unsigned8 2 0-8
EndExtUserPrmData

;14؛إص¾
ExtUserPrmData = 28 "NO.14  IN  (words)"
Unsigned8 2 0-8
EndExtUserPrmData
ExtUserPrmData = 29 "NO.14  OUT (words)"
Unsigned8 2 0-8
EndExtUserPrmData

;15؛إص¾
ExtUserPrmData = 30 "NO.15  IN  (words)"
Unsigned8 2 0-8
EndExtUserPrmData
ExtUserPrmData = 31 "NO.15  OUT (words)"
Unsigned8 2 0-8
EndExtUserPrmData

;16؛إص¾
ExtUserPrmData = 32 "NO.16  IN  (words)"
Unsigned8 2 0-8
EndExtUserPrmData
ExtUserPrmData = 33 "NO.16  OUT (words)"
Unsigned8 2 0-8
EndExtUserPrmData

;17؛إص¾
ExtUserPrmData = 34 "NO.17  IN  (words)"
Unsigned8 2 0-8
EndExtUserPrmData
ExtUserPrmData = 35 "NO.17  OUT (words)"
Unsigned8 2 0-8
EndExtUserPrmData

;18؛إص¾
ExtUserPrmData = 36 "NO.18  IN  (words)"
Unsigned8 2 0-8
EndExtUserPrmData
ExtUserPrmData = 37 "NO.18  OUT (words)"
Unsigned8 2 0-8
EndExtUserPrmData

;19؛إص¾
ExtUserPrmData = 38 "NO.19  IN  (words)"
Unsigned8 2 0-8
EndExtUserPrmData
ExtUserPrmData = 39 "NO.19  OUT (words)"
Unsigned8 2 0-8
EndExtUserPrmData

;20؛إص¾
ExtUserPrmData = 40 "NO.20  IN  (words)"
Unsigned8 2 0-8
EndExtUserPrmData
ExtUserPrmData = 41 "NO.20  OUT (words)"
Unsigned8 2 0-8
EndExtUserPrmData

;21؛إص¾
ExtUserPrmData = 42 "NO.21  IN  (words)"
Unsigned8 2 0-8
EndExtUserPrmData
ExtUserPrmData = 43 "NO.21  OUT (words)"
Unsigned8 2 0-8
EndExtUserPrmData

;22؛إص¾
ExtUserPrmData = 44 "NO.22  IN  (words)"
Unsigned8 2 0-8
EndExtUserPrmData
ExtUserPrmData = 45 "NO.22  OUT (words)"
Unsigned8 2 0-8
EndExtUserPrmData

;23؛إص¾
ExtUserPrmData = 46 "NO.23  IN  (words)"
Unsigned8 2 0-8
EndExtUserPrmData
ExtUserPrmData = 47 "NO.23  OUT (words)"
Unsigned8 2 0-8
EndExtUserPrmData

;24؛إص¾
ExtUserPrmData = 48 "NO.24  IN  (words)"
Unsigned8 2 0-8
EndExtUserPrmData
ExtUserPrmData = 49 "NO.24  OUT (words)"
Unsigned8 2 0-8
EndExtUserPrmData

;25؛إص¾
ExtUserPrmData = 50 "NO.25  IN  (words)"
Unsigned8 2 0-8
EndExtUserPrmData
ExtUserPrmData = 51 "NO.25  OUT (words)"
Unsigned8 2 0-8
EndExtUserPrmData

;26؛إص¾
ExtUserPrmData = 52 "NO.26  IN  (words)"
Unsigned8 2 0-8
EndExtUserPrmData
ExtUserPrmData = 53 "NO.26  OUT (words)"
Unsigned8 2 0-8
EndExtUserPrmData

;27؛إص¾
ExtUserPrmData = 54 "NO.27  IN  (words)"
Unsigned8 2 0-8
EndExtUserPrmData
ExtUserPrmData = 55 "NO.27  OUT (words)"
Unsigned8 2 0-8
EndExtUserPrmData

;28؛إص¾
ExtUserPrmData = 56 "NO.28  IN  (words)"
Unsigned8 2 0-8
EndExtUserPrmData
ExtUserPrmData = 57 "NO.28  OUT (words)"
Unsigned8 2 0-8
EndExtUserPrmData

;29؛إص¾
ExtUserPrmData = 58 "NO.29  IN  (words)"
Unsigned8 2 0-8
EndExtUserPrmData
ExtUserPrmData = 59 "NO.29  OUT (words)"
Unsigned8 2 0-8
EndExtUserPrmData

;30؛إص¾
ExtUserPrmData = 60 "NO.30  IN  (words)"
Unsigned8 2 0-8
EndExtUserPrmData
ExtUserPrmData = 61 "NO.30  OUT (words)"
Unsigned8 2 0-8
EndExtUserPrmData


Ext_User_Prm_Data_Ref(3)=1
Ext_User_Prm_Data_Ref(4)=2
Ext_User_Prm_Data_Ref(5)=3
Ext_User_Prm_Data_Ref(6)=4
Ext_User_Prm_Data_Ref(7)=5
Ext_User_Prm_Data_Ref(8)=6
Ext_User_Prm_Data_Ref(9)=7
Ext_User_Prm_Data_Ref(10)=8
Ext_User_Prm_Data_Ref(11)=9
Ext_User_Prm_Data_Ref(12)=10
Ext_User_Prm_Data_Ref(13)=11
Ext_User_Prm_Data_Ref(14)=12
Ext_User_Prm_Data_Ref(15)=13
Ext_User_Prm_Data_Ref(16)=14
Ext_User_Prm_Data_Ref(17)=15
Ext_User_Prm_Data_Ref(18)=16
Ext_User_Prm_Data_Ref(19)=17
Ext_User_Prm_Data_Ref(20)=18
Ext_User_Prm_Data_Ref(21)=19
Ext_User_Prm_Data_Ref(22)=20
Ext_User_Prm_Data_Ref(23)=21
Ext_User_Prm_Data_Ref(24)=22
Ext_User_Prm_Data_Ref(25)=23
Ext_User_Prm_Data_Ref(26)=24
Ext_User_Prm_Data_Ref(27)=25
Ext_User_Prm_Data_Ref(28)=26
Ext_User_Prm_Data_Ref(29)=27
Ext_User_Prm_Data_Ref(30)=28
Ext_User_Prm_Data_Ref(31)=29
Ext_User_Prm_Data_Ref(32)=30
Ext_User_Prm_Data_Ref(33)=31
Ext_User_Prm_Data_Ref(34)=32
Ext_User_Prm_Data_Ref(35)=33
Ext_User_Prm_Data_Ref(36)=34
Ext_User_Prm_Data_Ref(37)=35
Ext_User_Prm_Data_Ref(38)=36
Ext_User_Prm_Data_Ref(39)=37
Ext_User_Prm_Data_Ref(40)=38
Ext_User_Prm_Data_Ref(41)=39
Ext_User_Prm_Data_Ref(42)=40
Ext_User_Prm_Data_Ref(43)=41
Ext_User_Prm_Data_Ref(44)=42
Ext_User_Prm_Data_Ref(45)=43
Ext_User_Prm_Data_Ref(46)=44
Ext_User_Prm_Data_Ref(47)=45
Ext_User_Prm_Data_Ref(48)=46
Ext_User_Prm_Data_Ref(49)=47
Ext_User_Prm_Data_Ref(50)=48
Ext_User_Prm_Data_Ref(51)=49
Ext_User_Prm_Data_Ref(52)=50
Ext_User_Prm_Data_Ref(53)=51
Ext_User_Prm_Data_Ref(54)=52
Ext_User_Prm_Data_Ref(55)=53
Ext_User_Prm_Data_Ref(56)=54
Ext_User_Prm_Data_Ref(57)=55
Ext_User_Prm_Data_Ref(58)=56
Ext_User_Prm_Data_Ref(59)=57
Ext_User_Prm_Data_Ref(60)=58
Ext_User_Prm_Data_Ref(61)=59
Ext_User_Prm_Data_Ref(62)=60
Ext_User_Prm_Data_Ref(63)=61
    

; DPV1 related
DPV1_Slave 	            = 0
DPV1_Data_Types         = 0            ; Not supported
Check_Cfg_Mode          = 0            ; Not supported

;C1_Read_Write_supp      = 1
;C1_Max_Data_Len         = 68
;C1_Response_Timeout     = 10           ; 100 ms

;C2_Read_Write_supp      = 1
;C2_Max_Data_Len         = 68
;C2_Response_Timeout     = 10           ; 100 ms
;C2_Max_Count_Channels   = 2

;Max_Initiate_PDU_Length = 52

;Ident_Maintenance_supp = 1

; Definition of modules
;Module = "IN/OUT: 1 Byte" 0xB0
;1
;EndModule
;
Module = "IN/OUT: 1 word" 0xF0
2
EndModule
;
Module = "IN/OUT: 2 words" 0xF1
3
EndModule
;
Module = "IN/OUT: 4 words" 0xF3
4
EndModule
;
Module = "IN/OUT: 8 words" 0xF7
5
EndModule
;
Module = "IN/OUT: 16 words" 0xFF
6
EndModule
;
Module = "IN/OUT: 32 words" 0xC0,0x5F,0x5F
7
EndModule
;
Module = "IN/OUT: 64 words" 0xC0,0x7F,0x7F
8
EndModule
;
;Module = "INPUT: 1 Byte" 0x90
;9
;EndModule
;
Module = "INPUT: 1 word" 0xD0
10
EndModule
;
Module = "INPUT: 2 words" 0xD1
11
EndModule
;
Module = "INPUT: 4 words" 0xD3
12
EndModule
;
Module = "INPUT: 8 words" 0xD7
13
EndModule
;
Module = "INPUT: 16 words" 0xDF
14
EndModule
;
Module = "INPUT: 32 words" 0x40,0xDF
15
EndModule
;
Module = "INPUT: 64 words" 0x40,0xFF
16
EndModule
;
;Module = "OUTPUT: 1 Byte" 0xA0
;17
;EndModule
;
Module = "OUTPUT: 1 word" 0xE0
18
EndModule
;
Module = "OUTPUT: 2 words" 0xE1
19
EndModule
;
Module = "OUTPUT: 4 words" 0xE3
20
EndModule
;
Module = "OUTPUT: 8 words" 0xE7
21
EndModule
;
Module = "OUTPUT: 16 words" 0xEF
22
EndModule
;
Module = "OUTPUT: 32 words" 0x80,0xDF
23
EndModule
;
Module = "OUTPUT: 64 words" 0x80,0xFF
24
EndModule










