1、Chapter 2Date 11/04/99,page 1PROFIBUS DPPROFIBUS DP the fastest field bus systemChapter 2Date 11/04/99,page 2DP Details?class 1 master-?central controller which exchanges data with the connected I/O devices(slaves)?determines the baudrate?handles the Token?several class1 masters are permitted,typica
2、l devices are PLC,PC?class 2 master-?diagnostic and startup tool,typically a configuration tool?can control one slave at a time?slave station-?passive station which acknowledges messages or answers per requestChapter 2Date 11/04/99,page 3DP Details?master-master,master-slave communicationClass 1 Mas
3、terClass 2 MasterSlaveReading DiagnosisParameter AssignmentConfiguringData ExchangeReading Diagnosis Parameter Assignment ConfiguringAddress ChangeReading ConfigurationReading I/OControlling of one SlaveReading Slave Diagnosis,Upload,DownloadActivating Bus Parameter.Download,Activating/,Deact.Slaves
4、,Operating Modea device can consist of multiple functions,e.g.class1 and class2,class1 and slaveChapter 2Date 11/04/99,page 4DP Details?A device can consist of multiple functions,e.g.class1and class2,class1 and slave,which allows:?a simple master master communication via the master-slave combination
5、?whenever one master has the token the other PLC can be a slave to this masterPLCPLCPLC1-master and slavePLC2-master and slaveChapter 2Date 11/04/99,page 5DP Details?Master-Master communication by using a DP-DP gateway?combination of two mono master systems?simple data exchange between the two maste
6、rs up to 244 bytePLCPLCChapter 2Date 11/04/99,page 6Interoperability?Open Configuration permits Plug and PlayPROFIBUS configuration toolSystem configurationElectronic Device Data Sheets(GSD-file)PLCPROFIBUSGSDGSDGSDGSDGSDGSDChapter 2Date 11/04/99,page 7Device Description?GSD file?each slave or maste
7、r class 1 device on PROFIBUS DP needs to have a device description file,the characteristic of each PROFIBUS-DP device is described in the GSD-File?the GSD-file contains all device specific parameters e.g.:?Supported Baudrate?Supported Message Length?Number of input/output data?Meaning of diagnostic
8、messages?Options for modular devices e.g.which are available?text file(ASCII-format)?each configuration tool relates to the GSD informationChapter 2Date 11/04/99,page 8Device Description?GSD-Files are created by the device vendors?the PROFIBUS Trade Organization provides an GSD-Editorwhich makes it
9、very easy to create GSD-Files?the GSD-Editor contains a GSD-Checker which guarantees the conformance of the GSD-Files to the PROFIBUS standard?a library of GSD-Files is provided at the PROFIBUS web page:http:/Chapter 2Date 11/04/99,page 9Device Description#P ro fib u s _ D P(M):(O)P rm T e x t=.E n
10、d P rm T E x t;(O)E x tU s e rP rm D a ta =.E n d E x tU s e rP rm D a ta;(M)G S D _ R e v is io n=1V e n d o r_ N a m e=.;S la v e s p e c ific d a ta(M)F re e z e _ m o d e _ s u p p o rte d=.;U s e r_ P rm _ d a ta .;U n it_ d ia g n o s tic .;M o d u le _ D e fin itio n _ L is t(M)M o d u le =.E
11、 n d M o d u leParameter text(O)ext.user parameter data(O)mandatory general data(M)generic slave data(M)device related slave data(O)I/O definition(M)Chapter 2Date 11/04/99,page 10GSD DetailsGeneral Data#Profibus_DPIdentifier for a DP GSD fileGSD_Revision=1version of the GSD file regarding thestandar
12、dVendor_Name=Companyvendor nameModel_Name=Product namedevice name(which will be displayed in theconfiguration tool.Ident_Number=0 x0000-unique Identification number,each slaveand master class 1 device needs to have-a DP-master can identify the slave without asignificant protocol overhead-control fun
13、ction,the master will only startwith data transfer if the ident numbermatches the device ident number-ident number is issued by the PTOChapter 2Date 11/04/99,page 11GSD DetailsGeneral DataProtocol_Ident=0defines supported protocols,0-DP,1-DP/FMSStation_Type=0type of device,0-Slave,1-MasterHardware_R
14、elease=V1.0HW version of the deviceSoftware_Release=V1.1SW version of the device9.6_supp=11.5M_supp=1.all supported baudrates,between 9.6kBaudand 12 MBMaxTsdr_9.6=60.max.answering time related to the baudrateChapter 2Date 11/04/99,page 12GSD DetailsGeneric Slave DataFreeze_Mode_supp=1synchronization
15、 of Input datasnap shot of Inputs/groupingSync_Mode_supp=1Synchronization of output datae.g.drives start at the same moment?Sync and Freeze is application driven?The application interface needs to offer a capability for the user to activate these commands on demand?Sync and Freeze commands are relat
16、ed to groupsChapter 2Date 11/04/99,page 13Sync and FreezeMasterSlavePhys.Outputsbus cycle 1data“a”to Slave 1 (2)data“a”to Slave 2 (2)data“a”to Slave 3 (1)data“a”to Slave 4 (2)data“a”to outputdata”a”to outputdata”a”to outputdata”a”to outputDXtSyncbroadcast to all Slaves(group 2)bus cycle 2data“b”to Slave 1 (2)data“b”to Slave 2 (2)data“b”to Slave 3 (1)data“b”to Slave 4 (2)data“a”to outputdata”a”to outputdata”b”to outputdata”a”to outputDXtSyncbroadcast to all Slaves(group 2)tsynchronizeddata“a”to o
copyright@ 2008-2022 冰豆网网站版权所有
经营许可证编号:鄂ICP备2022015515号-1