profibus-dp各种报文的数据所表达的详细意义.pdf
《profibus-dp各种报文的数据所表达的详细意义.pdf》由会员分享,可在线阅读,更多相关《profibus-dp各种报文的数据所表达的详细意义.pdf(85页珍藏版)》请在冰豆网上搜索。
Chapter2Date11/04/99,page1PROFIBUSDPPROFIBUSDPthefastestfieldbussystemChapter2Date11/04/99,page2DPDetails?
class1master-?
centralcontrollerwhichexchangesdatawiththeconnectedI/Odevices(slaves)?
determinesthebaudrate?
handlestheToken?
severalclass1mastersarepermitted,typicaldevicesarePLC,PC?
class2master-?
diagnosticandstartuptool,typicallyaconfigurationtool?
cancontroloneslaveatatime?
slavestation-?
passivestationwhichacknowledgesmessagesoranswersperrequestChapter2Date11/04/99,page3DPDetails?
master-master,master-slavecommunicationClass1MasterClass2MasterSlaveReadingDiagnosisParameterAssignmentConfiguringDataExchangeReadingDiagnosisParameterAssignmentConfiguringAddressChangeReadingConfigurationReadingI/OControllingofoneSlaveReadingSlaveDiagnosis,Upload,DownloadActivatingBusParameter.Download,Activating/,Deact.Slaves,OperatingModeadevicecanconsistofmultiplefunctions,e.g.class1andclass2,class1andslaveChapter2Date11/04/99,page4DPDetails?
Adevicecanconsistofmultiplefunctions,e.g.class1andclass2,class1andslave,whichallows:
?
asimplemastermastercommunicationviathemaster-slavecombination?
wheneveronemasterhasthetokentheotherPLCcanbeaslavetothismasterPLCPLCPLC1-masterandslavePLC2-masterandslaveChapter2Date11/04/99,page5DPDetails?
Master-MastercommunicationbyusingaDP-DPgateway?
combinationoftwomonomastersystems?
simpledataexchangebetweenthetwomastersupto244bytePLCPLCChapter2Date11/04/99,page6Interoperability?
OpenConfigurationpermitsPlugandPlayPROFIBUSconfigurationtoolSystemconfigurationElectronicDeviceDataSheets(GSD-file)PLCPROFIBUSGSDGSDGSDGSDGSDGSDChapter2Date11/04/99,page7DeviceDescription?
GSDfile?
eachslaveormasterclass1deviceonPROFIBUSDPneedstohaveadevicedescriptionfile,thecharacteristicofeachPROFIBUS-DPdeviceisdescribedintheGSD-File?
theGSD-filecontainsalldevicespecificparameterse.g.:
?
SupportedBaudrate?
SupportedMessageLength?
Numberofinput/outputdata?
Meaningofdiagnosticmessages?
Optionsformodulardevicese.g.whichareavailable?
textfile(ASCII-format)?
eachconfigurationtoolrelatestotheGSDinformationChapter2Date11/04/99,page8DeviceDescription?
GSD-Filesarecreatedbythedevicevendors?
thePROFIBUSTradeOrganizationprovidesanGSD-EditorwhichmakesitveryeasytocreateGSD-Files?
theGSD-EditorcontainsaGSD-CheckerwhichguaranteestheconformanceoftheGSD-FilestothePROFIBUSstandard?
alibraryofGSD-FilesisprovidedatthePROFIBUSwebpage:
http:
/Chapter2Date11/04/99,page9DeviceDescription#Profibus_DP(M):
(O)PrmText=.EndPrmTExt;(O)ExtUserPrmData=.EndExtUserPrmData;(M)GSD_Revision=1Vendor_Name=.;Slavespecificdata(M)Freeze_mode_supported=.;User_Prm_data.;Unit_diagnostic.;Module_Definition_List(M)Module=.EndModuleParametertext(O)ext.userparameterdata(O)mandatorygeneraldata(M)genericslavedata(M)devicerelatedslavedata(O)I/Odefinition(M)Chapter2Date11/04/99,page10GSDDetailsGeneralData#Profibus_DPIdentifierforaDPGSDfileGSD_Revision=1versionoftheGSDfileregardingthestandardVendor_Name=CompanyvendornameModel_Name=Productnamedevicename(whichwillbedisplayedintheconfigurationtool.Ident_Number=0x0000-uniqueIdentificationnumber,eachslaveandmasterclass1deviceneedstohave-aDP-mastercanidentifytheslavewithoutasignificantprotocoloverhead-controlfunction,themasterwillonlystartwithdatatransferiftheidentnumbermatchesthedeviceidentnumber-identnumberisissuedbythePTOChapter2Date11/04/99,page11GSDDetailsGeneralDataProtocol_Ident=0definessupportedprotocols,0-DP,1-DP/FMSStation_Type=0typeofdevice,0-Slave,1-MasterHardware_Release=V1.0HWversionofthedeviceSoftware_Release=V1.1SWversionofthedevice9.6_supp=11.5M_supp=1.allsupportedbaudrates,between9.6kBaudand12MBMaxTsdr_9.6=60.max.answeringtimerelatedtothebaudrateChapter2Date11/04/99,page12GSDDetailsGenericSlaveDataFreeze_Mode_supp=1synchronizationofInputdatasnapshotofInputs/groupingSync_Mode_supp=1Synchronizationofoutputdatae.g.drivesstartatthesamemoment?
SyncandFreezeisapplicationdriven?
Theapplicationinterfaceneedstoofferacapabilityfortheusertoactivatethesecommandsondemand?
SyncandFreezecommandsarerelatedtogroupsChapter2Date11/04/99,page13SyncandFreezeMasterSlavePhys.Outputsbuscycle1data“a”toSlave1
(2)data“a”toSlave2
(2)data“a”toSlave3
(1)data“a”toSlave4
(2)data“a”tooutputdata”a”tooutputdata”a”tooutputdata”a”tooutputDXtSyncbroadcasttoallSlaves(group2)buscycle2data“b”toSlave1
(2)data“b”toSlave2
(2)data“b”toSlave3
(1)data“b”toSlave4
(2)data“a”tooutputdata”a”tooutputdata”b”tooutputdata”a”tooutputDXtSyncbroadcasttoallSlaves(group2)tsynchronizeddata“a”too