发表于:2008/11/18 12:15:00
#0楼
各位好!
小弟使用QJ71PB92D模块与带有Profibus的光通讯(类似于编码器)相连,始终无法进行通讯,但将该产品与S7300相连却没有问题.故而想请问QJ71PB92D在设置profibus的通讯上是否有特别之处。
附上我们的GSD文件定义
;================================================================
; GSD-Datei fuer VDM100
;================================================================
;Update E: Geschwindigkeit nicht mehr negativ (unsigned8)
;Update G: Grenzgeschwindigkeit 0,1 - 15,0 m/s
; Beschreibungen verbessert
;----------------------------------------------------------------
#Profibus_DP
Vendor_Name = "Pepperl+Fuchs GmbH"
Model_Name = "VDM100"
GSD_Revision= 2
Revision = "1.0"
Ident_Number = 0x0B6A
Protocol_Ident= 0 ; Profibus DP
Station_Type= 0 ; Slave
FMS_supp = 0
Hardware_Release = "05-5582"
Software_Release = "18-31472"
Bitmap_device ="P&F_0B6A"
9.6_supp = 1
19.2_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
;
;Maximale Antwortzeit
MaxTsdr_9.6 = 60
MaxTsdr_19.2 = 60
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 ; not supported
Repeater_Ctrl_Sig = 0 ; not connected
24V_Pins = 0 ; not connected
Implementation_Type = "VPC3+C"
Slave_Family = 7@Pepperl+Fuchs@VDM100
;
;--Slave spezifische Werte-----
;
Freeze_Mode_supp = 1
Sync_Mode_supp = 0
Auto_Baud_supp = 1
Set_Slave_Add_supp = 1
Fail_Safe = 0
Min_Slave_Intervall= 6 ; [6x100祍 wegen 12MBd]
Modular_Station = 0
;Texte zu Modul 1 Messwert
PrmText=1 ; L鋘geneinheit
Text(0) ="0,1mm"
Text(1) ="1mm"
Text(2) ="2mm"
EndPrmText
PrmText=3 ; Rauschabschaltung
Text(0) ="aus"
Text(1) ="ein"
EndPrmText
PrmText=4 ; Error output data
Text(0) ="letzter gueltiger Wert"
Text(1) ="0"
EndPrmText
PrmText=5 ; SSI Code
Text(0) ="Gray"
Text(1) ="binaer"
EndPrmText
PrmText=6 ; SSI-Error-Bit
Text(0) ="kein gueltiger Wert"
Text(1) ="allgemeiner Fehler"
EndPrmText
PrmText=7 ; Messwertalter
Text(0) ="50ms"
Text(1) ="25ms"
Text(2) ="12ms"
Text(3) ="6ms"
Text(4) ="3ms"
EndPrmText
PrmText=8 ; Reverse
Text(0) ="vorwaerts"
Text(1) ="rueckwaerts"
EndPrmText
PrmText=9 ; G黮tigkeit Positionen
Text(0) ="Parameter vom Profibus-Master"
Text(1) ="Messwert bei Eingang aktiv"
EndPrmText
;Texte zu Modul 2 IO-Pins
PrmText=10 ;E oder A
Text(0) ="Eingang"
Text(1) ="Ausgang"
EndPrmText
PrmText=11 ; Polarit鋞
Text(0) ="Low-aktiv"
Text(1) ="High-aktiv"
EndPrmText
PrmText=12 ; Input function
Text(0) ="Position 1 setzen"
Text(1) ="Position 2 setzen"
Text(2) ="Tastensperre"
Text(3) ="Markierungslaser"
Text(4) ="keine Funktion"
EndPrmText
PrmText=13 ; Output function
Text(0) ="Fehler&Warnungen"
Text(1) ="Messwert ungueltig"
Text(2) ="Ort > Position 1"
Text(3) ="Ort > Position 2"
Text(4) ="zwischen Pos1 und Pos2"
Text(5) ="maximale Geschwindigkeit"
Text(6) ="max. V ausserhalb [Pos1, Pos2]"
EndPrmText
;Texte zu Modul 3 Limits
PrmText=17 ; Set defaults
Text(0) ="Werkseinstellung"
Text(1) ="Kundeneinstellung"
EndPrmText
;Texte zu Modul 4 Verschiedenes
PrmText=22 ;Display-Leserichtung
Text(0) ="aufrecht"
Text(1) ="kopfstehend"
EndPrmText
PrmText=23 ;Displaysprache
Text(0) ="deutsch"
Text(1) ="englisch"
EndPrmText
;----- <Prm-Ref-List> -------------------------------------------------
; Positionswert [M1]
ExtUserPrmData=100 "Skalierung"
Bitarea(0-1) 1 0-2
Prm_Text_Ref=1
EndExtUserPrmData
ExtUserPrmData=102 "Messwert bei Fehler"
Bit(2) 0 0-1
Prm_Text_Ref=4
EndExtUserPrmData
ExtUserPrmData=103 "Zaehlrichtung"
Bit(3) 0 0-1
Prm_Text_Ref=8
EndExtUserPrmData
ExtUserPrmData=104 "SSI-Codierung"
Bit(4) 0 0-1
Prm_Text_Ref=5
EndExtUserPrmData
ExtUserPrmData=105 "SSI-Fehlerbit"
Bit(5) 0 0-1
Prm_Text_Ref=6
EndExtUserPrmData
ExtUserPrmData=106 "Messwertalter"
Bitarea(0-2) 2 0-4
Prm_Text_Ref=7
EndExtUserPrmData
ExtUserPrmData=107 "Offset [mm]"
Signed32 0 -999999-999999
EndExtUserPrmData
ExtUserPrmData=108 "Quelle fuer Grenzwert Position"
Bit(7) 0 0-1
Prm_Text_Ref=9
EndExtUserPrmData
ExtUserPrmData=150 "IO1 Konfiguration"
Bit(0) 1 0-1
Prm_Text_Ref=10
EndExtUserPrmData
ExtUserPrmData=151 "I1 Polaritaet"
Bit(1) 1 0-1
Prm_Text_Ref=11
EndExtUserPrmData
ExtUserPrmData=152 "I1 Funktion"
Bitarea(2-4) 4 0-4
Prm_Text_Ref=12
EndExtUserPrmData
ExtUserPrmData=153 "O1 Funktion"
Bitarea(5-7) 5 0-6
Prm_Text_Ref=13
EndExtUserPrmData
ExtUserPrmData=154 "O1 Polaritaet"
Bit(6) 0 0-1
Prm_Text_Ref=11
EndExtUserPrmData
ExtUserPrmData=160 "IO2 Konfiguration"
Bit(0) 0 0-1
Prm_Text_Ref=10
EndExtUserPrmData
ExtUserPrmData=161 "I2 Polaritaet"
Bit(1) 1 0-1
Prm_Text_Ref=11
EndExtUserPrmData
ExtUserPrmData=162 "I2 Funktion"
Bitarea(2-4) 3 0-4
Prm_Text_Ref=12
EndExtUserPrmData
ExtUserPrmData=163 "O2 Funktion"
Bitarea(5-7) 5 0-6
Prm_Text_Ref=13
EndExtUserPrmData
ExtUserPrmData=164 "O2 Polaritaet"
Bit(7) 0 0-1
Prm_Text_Ref=11
EndExtUserPrmData
ExtUserPrmData=180 "Grenzwert Position 1 [mm]"
unsigned32 300 0-999999
EndExtUserPrmData
ExtUserPrmData=181 "Grenzwert Position 2 [mm]"
unsigned32 150000 0-999999
EndExtUserPrmData
ExtUserPrmData=182 "Grenzgeschwindikeit [0,1m/s]"
unsigned8 100 1-150
EndExtUserPrmData
ExtUserPrmData=184 "Fehlerverzoegerung [ms]"
unsigned16 500 0-9999
EndExtUserPrmData
ExtUserPrmData=200 "Rauschabschaltung"
Bit(6) 0 0-1
Prm_Text_Ref=3
EndExtUserPrmData
ExtUserPrmData=210 "Display Sprachauswahl"
Bitarea(0-1) 0 0-3
Prm_Text_Ref=23
EndExtUserPrmData
ExtUserPrmData=220 "Display Leserichtung"
Bit(2) 0 0-1
Prm_Text_Ref=22
EndExtUserPrmData
ExtUserPrmData=230 "Werkseinstellung"
Bit(3) 1 0-1
Prm_Text_Ref=17
EndExtUserPrmData
max_user_prm_data_len = 24
max_diag_data_len = 8
Ext_User_Prm_Data_Const(0)= 0
Ext_User_Prm_Data_Const(1)= 0
Ext_User_Prm_Data_Const(2)= 0
Ext_User_Prm_Data_Ref(3) = 100 ;Skalierung Byte0 D0:1
Ext_User_Prm_Data_Ref(3) = 102 ;Error Output D2
Ext_User_Prm_Data_Ref(3) = 103 ;Zaehlrichtung D3
Ext_User_Prm_Data_Ref(3) = 104 ;SSI-Code D4
Ext_User_Prm_Data_Ref(3) = 105 ;Error bit D5
Ext_User_Prm_Data_Ref(3) = 200 ;Rauschabschaltung D6
Ext_User_Prm_Data_Ref(3) = 108 ;Option Position D7
Ext_User_Prm_Data_Ref(4) = 106 ;Messwertalter Byte1 D0:2
Ext_User_Prm_Data_Ref(5) = 107 ;Offset Byte2:5 (signed32)
Ext_User_Prm_Data_Ref(9) = 150 ;IO1 config Byte6 D0
Ext_User_Prm_Data_Ref(9) = 151 ;I1 polarity D1
Ext_User_Prm_Data_Ref(9) = 152 ;I1 function D2:4
Ext_User_Prm_Data_Ref(4) = 154 ;O1 polarity Byte1 D6
Ext_User_Prm_Data_Ref(9) = 153 ;O1 function Byte6 D5:7
Ext_User_Prm_Data_Ref(10) = 160 ;IO2 config Byte7 D0
Ext_User_Prm_Data_Ref(10) = 161 ;I2 polarity D1
Ext_User_Prm_Data_Ref(10) = 162 ;I2 function D2:4
Ext_User_Prm_Data_Ref(4) = 164 ;O2 polarity Byte1 D7
Ext_User_Prm_Data_Ref(10) = 163 ;O2 function Byte7 D5:7
Ext_User_Prm_Data_Ref(12) = 180 ;Pos1 Byte9:12 unsigned32
Ext_User_Prm_Data_Ref(16) = 181 ;Pos2 Byte13:16 unsigned32
Ext_User_Prm_Data_Ref(20) = 182 ;Speed Byte17 unsigned8
Ext_User_Prm_Data_Ref(21) = 184 ;error delay Byte18:19 unsigned16
Ext_User_Prm_Data_Ref(11) = 210 ;Displaysprache Byte8 D0:1
Ext_User_Prm_Data_Ref(11) = 220 ;Leserichtung D2
Ext_User_Prm_Data_Ref(11) = 230 ;Werkseinstellung D3
Module="[M1]" 0x94 ; 5 Byte konsistent Input
EndModule
小弟使用QJ71PB92D模块与带有Profibus的光通讯(类似于编码器)相连,始终无法进行通讯,但将该产品与S7300相连却没有问题.故而想请问QJ71PB92D在设置profibus的通讯上是否有特别之处。
附上我们的GSD文件定义
;================================================================
; GSD-Datei fuer VDM100
;================================================================
;Update E: Geschwindigkeit nicht mehr negativ (unsigned8)
;Update G: Grenzgeschwindigkeit 0,1 - 15,0 m/s
; Beschreibungen verbessert
;----------------------------------------------------------------
#Profibus_DP
Vendor_Name = "Pepperl+Fuchs GmbH"
Model_Name = "VDM100"
GSD_Revision= 2
Revision = "1.0"
Ident_Number = 0x0B6A
Protocol_Ident= 0 ; Profibus DP
Station_Type= 0 ; Slave
FMS_supp = 0
Hardware_Release = "05-5582"
Software_Release = "18-31472"
Bitmap_device ="P&F_0B6A"
9.6_supp = 1
19.2_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
;
;Maximale Antwortzeit
MaxTsdr_9.6 = 60
MaxTsdr_19.2 = 60
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 ; not supported
Repeater_Ctrl_Sig = 0 ; not connected
24V_Pins = 0 ; not connected
Implementation_Type = "VPC3+C"
Slave_Family = 7@Pepperl+Fuchs@VDM100
;
;--Slave spezifische Werte-----
;
Freeze_Mode_supp = 1
Sync_Mode_supp = 0
Auto_Baud_supp = 1
Set_Slave_Add_supp = 1
Fail_Safe = 0
Min_Slave_Intervall= 6 ; [6x100祍 wegen 12MBd]
Modular_Station = 0
;Texte zu Modul 1 Messwert
PrmText=1 ; L鋘geneinheit
Text(0) ="0,1mm"
Text(1) ="1mm"
Text(2) ="2mm"
EndPrmText
PrmText=3 ; Rauschabschaltung
Text(0) ="aus"
Text(1) ="ein"
EndPrmText
PrmText=4 ; Error output data
Text(0) ="letzter gueltiger Wert"
Text(1) ="0"
EndPrmText
PrmText=5 ; SSI Code
Text(0) ="Gray"
Text(1) ="binaer"
EndPrmText
PrmText=6 ; SSI-Error-Bit
Text(0) ="kein gueltiger Wert"
Text(1) ="allgemeiner Fehler"
EndPrmText
PrmText=7 ; Messwertalter
Text(0) ="50ms"
Text(1) ="25ms"
Text(2) ="12ms"
Text(3) ="6ms"
Text(4) ="3ms"
EndPrmText
PrmText=8 ; Reverse
Text(0) ="vorwaerts"
Text(1) ="rueckwaerts"
EndPrmText
PrmText=9 ; G黮tigkeit Positionen
Text(0) ="Parameter vom Profibus-Master"
Text(1) ="Messwert bei Eingang aktiv"
EndPrmText
;Texte zu Modul 2 IO-Pins
PrmText=10 ;E oder A
Text(0) ="Eingang"
Text(1) ="Ausgang"
EndPrmText
PrmText=11 ; Polarit鋞
Text(0) ="Low-aktiv"
Text(1) ="High-aktiv"
EndPrmText
PrmText=12 ; Input function
Text(0) ="Position 1 setzen"
Text(1) ="Position 2 setzen"
Text(2) ="Tastensperre"
Text(3) ="Markierungslaser"
Text(4) ="keine Funktion"
EndPrmText
PrmText=13 ; Output function
Text(0) ="Fehler&Warnungen"
Text(1) ="Messwert ungueltig"
Text(2) ="Ort > Position 1"
Text(3) ="Ort > Position 2"
Text(4) ="zwischen Pos1 und Pos2"
Text(5) ="maximale Geschwindigkeit"
Text(6) ="max. V ausserhalb [Pos1, Pos2]"
EndPrmText
;Texte zu Modul 3 Limits
PrmText=17 ; Set defaults
Text(0) ="Werkseinstellung"
Text(1) ="Kundeneinstellung"
EndPrmText
;Texte zu Modul 4 Verschiedenes
PrmText=22 ;Display-Leserichtung
Text(0) ="aufrecht"
Text(1) ="kopfstehend"
EndPrmText
PrmText=23 ;Displaysprache
Text(0) ="deutsch"
Text(1) ="englisch"
EndPrmText
;----- <Prm-Ref-List> -------------------------------------------------
; Positionswert [M1]
ExtUserPrmData=100 "Skalierung"
Bitarea(0-1) 1 0-2
Prm_Text_Ref=1
EndExtUserPrmData
ExtUserPrmData=102 "Messwert bei Fehler"
Bit(2) 0 0-1
Prm_Text_Ref=4
EndExtUserPrmData
ExtUserPrmData=103 "Zaehlrichtung"
Bit(3) 0 0-1
Prm_Text_Ref=8
EndExtUserPrmData
ExtUserPrmData=104 "SSI-Codierung"
Bit(4) 0 0-1
Prm_Text_Ref=5
EndExtUserPrmData
ExtUserPrmData=105 "SSI-Fehlerbit"
Bit(5) 0 0-1
Prm_Text_Ref=6
EndExtUserPrmData
ExtUserPrmData=106 "Messwertalter"
Bitarea(0-2) 2 0-4
Prm_Text_Ref=7
EndExtUserPrmData
ExtUserPrmData=107 "Offset [mm]"
Signed32 0 -999999-999999
EndExtUserPrmData
ExtUserPrmData=108 "Quelle fuer Grenzwert Position"
Bit(7) 0 0-1
Prm_Text_Ref=9
EndExtUserPrmData
ExtUserPrmData=150 "IO1 Konfiguration"
Bit(0) 1 0-1
Prm_Text_Ref=10
EndExtUserPrmData
ExtUserPrmData=151 "I1 Polaritaet"
Bit(1) 1 0-1
Prm_Text_Ref=11
EndExtUserPrmData
ExtUserPrmData=152 "I1 Funktion"
Bitarea(2-4) 4 0-4
Prm_Text_Ref=12
EndExtUserPrmData
ExtUserPrmData=153 "O1 Funktion"
Bitarea(5-7) 5 0-6
Prm_Text_Ref=13
EndExtUserPrmData
ExtUserPrmData=154 "O1 Polaritaet"
Bit(6) 0 0-1
Prm_Text_Ref=11
EndExtUserPrmData
ExtUserPrmData=160 "IO2 Konfiguration"
Bit(0) 0 0-1
Prm_Text_Ref=10
EndExtUserPrmData
ExtUserPrmData=161 "I2 Polaritaet"
Bit(1) 1 0-1
Prm_Text_Ref=11
EndExtUserPrmData
ExtUserPrmData=162 "I2 Funktion"
Bitarea(2-4) 3 0-4
Prm_Text_Ref=12
EndExtUserPrmData
ExtUserPrmData=163 "O2 Funktion"
Bitarea(5-7) 5 0-6
Prm_Text_Ref=13
EndExtUserPrmData
ExtUserPrmData=164 "O2 Polaritaet"
Bit(7) 0 0-1
Prm_Text_Ref=11
EndExtUserPrmData
ExtUserPrmData=180 "Grenzwert Position 1 [mm]"
unsigned32 300 0-999999
EndExtUserPrmData
ExtUserPrmData=181 "Grenzwert Position 2 [mm]"
unsigned32 150000 0-999999
EndExtUserPrmData
ExtUserPrmData=182 "Grenzgeschwindikeit [0,1m/s]"
unsigned8 100 1-150
EndExtUserPrmData
ExtUserPrmData=184 "Fehlerverzoegerung [ms]"
unsigned16 500 0-9999
EndExtUserPrmData
ExtUserPrmData=200 "Rauschabschaltung"
Bit(6) 0 0-1
Prm_Text_Ref=3
EndExtUserPrmData
ExtUserPrmData=210 "Display Sprachauswahl"
Bitarea(0-1) 0 0-3
Prm_Text_Ref=23
EndExtUserPrmData
ExtUserPrmData=220 "Display Leserichtung"
Bit(2) 0 0-1
Prm_Text_Ref=22
EndExtUserPrmData
ExtUserPrmData=230 "Werkseinstellung"
Bit(3) 1 0-1
Prm_Text_Ref=17
EndExtUserPrmData
max_user_prm_data_len = 24
max_diag_data_len = 8
Ext_User_Prm_Data_Const(0)= 0
Ext_User_Prm_Data_Const(1)= 0
Ext_User_Prm_Data_Const(2)= 0
Ext_User_Prm_Data_Ref(3) = 100 ;Skalierung Byte0 D0:1
Ext_User_Prm_Data_Ref(3) = 102 ;Error Output D2
Ext_User_Prm_Data_Ref(3) = 103 ;Zaehlrichtung D3
Ext_User_Prm_Data_Ref(3) = 104 ;SSI-Code D4
Ext_User_Prm_Data_Ref(3) = 105 ;Error bit D5
Ext_User_Prm_Data_Ref(3) = 200 ;Rauschabschaltung D6
Ext_User_Prm_Data_Ref(3) = 108 ;Option Position D7
Ext_User_Prm_Data_Ref(4) = 106 ;Messwertalter Byte1 D0:2
Ext_User_Prm_Data_Ref(5) = 107 ;Offset Byte2:5 (signed32)
Ext_User_Prm_Data_Ref(9) = 150 ;IO1 config Byte6 D0
Ext_User_Prm_Data_Ref(9) = 151 ;I1 polarity D1
Ext_User_Prm_Data_Ref(9) = 152 ;I1 function D2:4
Ext_User_Prm_Data_Ref(4) = 154 ;O1 polarity Byte1 D6
Ext_User_Prm_Data_Ref(9) = 153 ;O1 function Byte6 D5:7
Ext_User_Prm_Data_Ref(10) = 160 ;IO2 config Byte7 D0
Ext_User_Prm_Data_Ref(10) = 161 ;I2 polarity D1
Ext_User_Prm_Data_Ref(10) = 162 ;I2 function D2:4
Ext_User_Prm_Data_Ref(4) = 164 ;O2 polarity Byte1 D7
Ext_User_Prm_Data_Ref(10) = 163 ;O2 function Byte7 D5:7
Ext_User_Prm_Data_Ref(12) = 180 ;Pos1 Byte9:12 unsigned32
Ext_User_Prm_Data_Ref(16) = 181 ;Pos2 Byte13:16 unsigned32
Ext_User_Prm_Data_Ref(20) = 182 ;Speed Byte17 unsigned8
Ext_User_Prm_Data_Ref(21) = 184 ;error delay Byte18:19 unsigned16
Ext_User_Prm_Data_Ref(11) = 210 ;Displaysprache Byte8 D0:1
Ext_User_Prm_Data_Ref(11) = 220 ;Leserichtung D2
Ext_User_Prm_Data_Ref(11) = 230 ;Werkseinstellung D3
Module="[M1]" 0x94 ; 5 Byte konsistent Input
EndModule