PNOZmultiProfibus.docx
《PNOZmultiProfibus.docx》由会员分享,可在线阅读,更多相关《PNOZmultiProfibus.docx(23页珍藏版)》请在冰豆网上搜索。
![PNOZmultiProfibus.docx](https://file1.bdocx.com/fileroot1/2022-10/29/cfdca034-71b0-4dfc-98a6-acc5bd745e65/cfdca034-71b0-4dfc-98a6-acc5bd745e651.gif)
PNOZmultiProfibus
APPLICATIONNOTE
PNOZmulti
FieldbusConnection
IssueNo.:
V1.0
DateofIssue:
08.08.2004
Editor:
Bauer,Christ,Letsche
PropertyofPILZGmbH&Co.KG
Felix-Wankel-Straße2
D-73760Ostfildern
Germany
File:
I:
\Daten\APPLIKAT\ALLG_DOC\ApplicationNotes\PNOZmulti\PNOZmulti_FieldbusV2.doc
Allrightstothismanualarereservedbythepublishers.Copiesmaybemadeforinternal
purposes.
Whileeveryefforthasbeenmadetoensurethattheinformationinthismanualisaccurate,noresponsibilitycanbeacceptedforerrorsoromissionscontainedwithinit.
Wereservetherighttoamendanyspecificationswithoutpriornotice.Wearegratefulfor
anyfeedbackonthecontentsofthismanual.
Thenamesofproducts,goodsandtechnologiesusedinthismanualarethetrademarksof
therespectivecompanies.
CONTENTS
1HISTORY3
2Scope3
3Introduction3
3.1StructureofBusConnection3
3.1.1UserI/OBitData4
3.1.2ListofTables8
3.2ConfigurationoftheFieldbusModule12
3.2.1FieldbusConfigurationinProgrammingTool12
3.2.2VersionManagement12
3.2.3FieldbusConfigurationFile12
3.2.4DataConsistency12
3.2.5DataConsistencyProtocol13
3.3FieldbusSpecificFeatures14
3.3.1AddressandBaudRateSetting14
3.3.2ConfigurationFiles14
4ProfibusDP(PNOZmc3p)15
4.1ImportingtheGSDfile15
4.2Configurethenetwork15
4.3Applicationprogram17
5DeviceNet(PNOZmc4p)19
5.1SampleI/OCommunicationwithControlLogix19
5.1.1ImportEDSFile19
5.1.2ConfigureNetwork21
5.1.3ApplicationProgram27
5.1.4TestDataExchange32
5.2SampleMessageswithControlLogix39
5.2.1Applicationprogram39
5.2.2TestDataExchange47
6Interbus-S(PNOZmc5p)49
7CC-Link52
7.1WhatisCC-Link52
7.2PNOZmultiDataintheCC-LinkRegisters52
7.3SamplewithMELSECSystemQandGXIECDeveloper53
7.3.1ConfiguretheNetwork53
7.3.2ApplicationProgram54
7.3.3TestDataExchange54
8CANopen(PNOZmc6p)56
8.1WhatisCANopen?
56
8.1.1CANopenObjectDictionary57
8.2AdressingthePilzinterface?
57
8.3ExampleWithHilscherCANopenpcmaster58
8.4Summary63
1
HISTORY
Datum
Versions-Nr.
Auslöser(N./A.)
betr.Kapitel
GrundderÄnderung
13.09.2004
1.0
Bauer/Letsche
All
2Scope
ThisdocumentdescribesthefieldbuscommunicationofPNOZmulti.Itisbasedonthedevelopingdocuments.Thedocumentissubjecttochangewithoutfurthernotice.
ThedocumentisnotintendedasatechnicaldocumentationforgeneraluseofthefieldbusmodulesforthePNOZmulti.Itmaynotbedistributedtocustomerswithoutaspecialnotetoitsscope.
3Introduction
3.1StructureofBusConnection
ThePNOZmultiusesacommonprofilebasedon20bytesinputand20bytesoutputusingtheprocessdatachannelforthefollowingfieldbuses:
∙Profibus-DP
∙DeviceNet
∙Interbus-S
∙CC-Link(24bytes)
Note:
CANopenishandleddifferently
TheFieldbusmoduleofthePNOZmultisendsan“outputdatablock”andreceivesan“inputdatablock”.witheachOS-cycle.
Eachdatablockconsistsof20bytes.Thefirstthreebytesareusedforuserbitdata,thenextoneisforstatusbitsand15bytesareusedforTabletransferandonebyteasControlbits.
3.1.1UserI/OBitData
ApartofthedatablockswillbeprocessedinPNOZmultiasfieldbusflags.Thefirstthreebytesoftheinputdatablockandthefirstthreebytesoftheoutputdatablockareuserbitdata.
3.1.1.1AssignmentoftheI/OBitData
Inthefirststep,(V3.0)theusercanonlyassign24flagsofthePNOZmultiandinternalflagstotheoutputdatablock.ThetransferofbitstotheMultiintotheinputdatablockisrealizedinalaterversion.
Theusercanchoosethefieldbusbitinthesameprocessusing“setactive”
TheusercanassigneachinternalflagofPNOZmultitothefieldbusbits.
Inthediagram“Profibus”isthenamethattheuserhasgiventothefieldbusmoduleduringtheconfigurationinthewindow“SelectBaseandExpansionModules”.
The“O”and“I”aftermeanOutputandInput.Thereare24bitsasoutput.
Inthesamewayfor“Setinputandoutputsactive”,thefieldbusbitscanhavecomments.Itwillbedisplayedliketheotherssymbolicnames
Forexample:
“ProfibusO.2.MainE-Stop”
”Profibus”isthenameofthemodule.
”O”meansOutput.
”2”meansthebit2ofthemodule.
”MainE-Stop”isthesymbolicnameofthebit.
Therearesomerestrictionsduetothesafetytousethefieldbusinputbits.Theusingoftheinputbitswillbenotrealizedinthefirststep(V3.0)
Thebits0to23areorganizedinthebytes0to2asshown:
3.1.2
ListofTables
TableNo
Description
NumberofSegments
1
Configuration
6
2
ErrorStack
128(