西门子自动化课程PROFIBUS DP with.docx

上传人:b****6 文档编号:3275961 上传时间:2022-11-21 格式:DOCX 页数:38 大小:685.75KB
下载 相关 举报
西门子自动化课程PROFIBUS DP with.docx_第1页
第1页 / 共38页
西门子自动化课程PROFIBUS DP with.docx_第2页
第2页 / 共38页
西门子自动化课程PROFIBUS DP with.docx_第3页
第3页 / 共38页
西门子自动化课程PROFIBUS DP with.docx_第4页
第4页 / 共38页
西门子自动化课程PROFIBUS DP with.docx_第5页
第5页 / 共38页
点击查看更多>>
下载资源
资源描述

西门子自动化课程PROFIBUS DP with.docx

《西门子自动化课程PROFIBUS DP with.docx》由会员分享,可在线阅读,更多相关《西门子自动化课程PROFIBUS DP with.docx(38页珍藏版)》请在冰豆网上搜索。

西门子自动化课程PROFIBUS DP with.docx

西门子自动化课程PROFIBUSDPwith

Trainingdocumentforthecompany-wide

automationsolution

TotallyIntegratedAutomation(TIA)

MODULED11

PROFIBUSDPwith

MasterCP342-5DP/SlaveCP342-5DP

 

 

ThisdocumentwasprovidedbySiemensA&DSCE(automationanddrivetechnology,SiemensA&DCooperateswithEducation)fortrainingpurposes.Siemensdoesnotmakeanytypeofguaranteeregardingitscontents.

Thepassingonorduplicationofthisdocument,includingtheuseandreportofitscontents,isonlypermittedwithinpublicandtrainingfacilities.

ExceptionsrequirewrittenpermissionbySiemensA&DSCE(Mr.Knust:

E-Mail:

michael.knust@hvr.siemens.de).Offencesaresubjecttopossiblepaymentfordamagescaused.AllrightsarereservedfortranslationandanycaseofpatentingorGMentry.

WethankthecompanyMichaelDziallasEngineeringandtheinstructorsofvocationalschoolsaswellasfurtherpersonsforthesupportwiththeproductionofthedocument.

 

PAGE:

1.Forward4

2.NotesfortheOperationoftheCP342-5DP6

3.CommissioningtheProfibus(MasterCP342-5DP/SlaveCP342-5DP)7

 

Thefollowingsymbolsstandforthespecifiedmodules:

Information

Programming

Exampleexercise

Notes

 

1.Forward

ThemoduleD10isassignedcontentwisetoIndustrialfieldbussystems.

IT-Communication

withSIMATICS7

1-2daysEmodules

Sequencer

Programming

2-3daysCmodules

Process

visualization

2-3daysFmodules

Additionalfunctionsof

STEP7-Programming

2-3daysBmodules

Industrialfieldbus

systems

2-3daysDmodules

BasicsofSTEP7-Programming

2-3daysAmodules

Learninggoal:

Inthismodule,thereadershouldlearnhowthePROFIBUSDPistakenintooperationwithaSIMATICS7-300withthecommunicationprocessorCP342-5DPasamasterandasaslave.Themoduleshowstheprincipleprocedurebymeansofashortexample.

Requirements:

Forthesuccessfuluseofthismodule,thefollowingknowledgeisassumed:

KnowledgeintheuseofWindows95/98/2000/ME/NT4.0

BasicsofPLC-ProgrammingwithSTEP7(e.g.ModuleA3-‘Startup’

PLCprogrammingwithSTEP7)

BasicsofthePROFIBUSDP(e.g.AppendixIV–Basicsof

fieldbussystemswithSIMATICS7-300)

Requiredhardwareandsoftware

1PC,OperatingsystemWindows95/98/2000/ME/NT4.0with

-Minimal:

133MHzand64MBRAM,approx.65MBfreeharddiskspace

-Optimal:

500MHzand128MBRAM,approx.65MBfreeharddiskspace

2SoftwareSTEP7V5.xwithoptionNCMS7PROFIBUS

3MPI-InterfaceforthePC(e.g.PC-Adapter)

4PLCSIMATICS7-300withtheCP342-5DP

Exampleconfiguration:

-Powersupply:

PS3072A

-CPU:

CPU314IFM

-PROFIBUS-Communicationprocessor:

CP342-5DP

5PLCSIMATICS7-300withtheCP342-5DP

Exampleconfiguration:

-Network:

PS3072A

-CPU:

CPU314IFM

-PROFIBUS-Communicationprocessor:

CP342-5DP

6PROFIBUScablewith2PROFIBUSslots

 

1PC

2STEP7

 

4SIMATICS7-300with

CP342-5DP

5SIMATICS7-300with

CP342-5DP

 

 

6PROFIBUScable

 

2.notesfortheoperationoftheCP342-5DP

ThePROFIBUScommunicationprocessorCP342-5DPmakesitpossibletoattachtoitselftheSIMATICS7-300bythePROFIBUSwiththeprotocolprofiledistributedI/O(DP).

TheparameterizingofthePROFIBUSparametersforthePLC,suchastheconfigurationofthePROFIBUSnetwork,takesplacewiththesoftwareSTEP7.TherequirementistheCP342-5DPandadditionallythesoftware“NCMS7PROFIBUS“(ContainedalreadyinSTEP7V5.x!

),sothattheuserhasauniformconfigurationtoolforcentralizedanddistributedconfiguration.

FortheSIMATICS7-300withtheCP342-5asaCombimaster,thefollowingprotocolprofilesareatyourdisposal:

·DP-InterfaceasmasterorslaveaccordingtoEN50170.PROFIBUS-DP(DistributedI/O)istheprotocolprofilefortheconnectionofthedistributedI/O/fieldequipmentwithaquickreactiontime.

·SEND/RECEIVE-Interface(AG/AG)accordingtotheSDA-Service(Layer2ofthe

PROFIBUS).SEND/RECEIVE(FDL-Interface)offersfunctionswithwhichthe

communicationbetweenSIMATICS5andS7areunderoneanotherandtheycansimplyandquicklyberealizedtothePC.

·S7-Functions.TheseofferoptimalcommunicationintheSIMATICS7/M7/PC-connection.

Onthepartoftheuserprogram,thetransmissionofthedatarangefortheDPandFDLcommunicationisactivatedthroughprogrammedFC-Blockcallsandmonitoringofeffectiveexecutionmonitored.

TheblockcallsfortheimportantcommunicationFCblocksarefoundinthelibrary“SIMATIC_NET_CP“.Inordertousethesefunctions,thefunctionmustbecopiedintotheproject.

Note:

Here2SIMATICS7-300withtheCP342-5DPareappointedtothePROFIBUSasamasterandasaslave.

 

3.commissioningtheProfibus(Mastercp342-5DP/Slavecp342-5DP)

Inthefollowingexample,thecommissioningofamonomastersystemwiththeSIMATICS7-300withCP342-5DPasamasterandanadditionalSIMATICS7-300withaCP342-5DPasaslaveisdescribed.

Forthetestingoftheconfiguration,aprogramwillbewritteninwhichaninput(SET)canbepresetineachPLC.ThisbyteistransferredoverthePROFIBUStotheotherPLCandcanthenbedisplayedoveradisplaybyte(DISPLAY).

AssignmentlistMaster-CPU:

IB124SETInputbyte

IB40Comm_IB1InputcommunicationByte1

QB124DISPLAYDisplaybyte

QB40Comm_QB1OutputcommunicationByte1

AssignmentlistSlave-CPU:

IB124SETInputbyte

IB40Comm_IB1InputcommunicationByte1

QB124DISPLAYDisplaybyte

QB40Comm_QB1OutputcommunicationByte1

FortheconnectionofthetwoCPU342-5DP,wherebyoneissetasamasterandtheotherasaslave,thefollowingstepsmustbefollowed.

 

1.ThecentraltoolinSTEP7istheSIMATICManager,whichisopenedherewithadoubleclick(®SIMATICManager).

2.STEP7-Programsareadministeredinprojects.Suchaprojectwillbecreated(®File®New).

 

3.GivetheNameCP342_CP342totheproject(®CP342_CP342®OK).

4.

HighlightyourprojectandinsertaPROFIBUSSubnet(CP342_CP342InsertSubnetPROFIBUS).

5.TheninsertaSIMATIC300-Station(®Insert®Station®SIMATIC300-Station).

6.ChangethenameofthestationtoSlave(®Slave).

7.OpentheconfigurationtoolfortheHardwarewithadoubleclick(®Hardware).

8.Openthehardwarecatalogwithaclickonthesymbol

(®

).

Thereyouwillseethedirectoriesaredividedintothefollowing:

-PROFIBUS-DP,SIMATIC300,SIMATIC400andSIMATICPCBasedControl,

allmoduleracks,modulesandinterfacemodulesfortheconfigurationofyourhardwareconfigurationaremadeavailable.

InsertaRailwithadoubleclick(®SIMATIC300®RACK-300®Rail).

Aftertheinsert,aconfigurationstablefortheconfigurationoftheRack0appearsautomatically.

9.

Nowallmodulescanbechosenoutofthehardwarecatalogandinsertedintotheconfigurationtableandarealsoinsertedintoyourrack.Toinsert,youmustclickonthenameoftherespectivemodule,holdthemousebuttonandDrag&Dropthemoduleintoalineoftheconfigurationstable.WewillbeginwiththepowersupplyPS3072A(®SIMATIC300®PS-300®PS3072A).

Note:

Ifyourhardwarediffersfromwhatisshownabove,thenyoumustselecttheappropriatemodulesfromthecatalogandinsertthemintotherack.Thepartnumbersoftheindividualmodules,whicharefoundonthecomponents,areindicatedinthefooterofthecatalog.

10.Inthenextstep,wedroptheCPU314IFMintothesecondcardlocation.ThisallowsforthepartnumberandversionoftheCPUtobereadoff(®SIMATIC300®CPU-300®CPU314IFM®6ES7314-5AE03-0AB0®V1.1).

Note:

Theaddressesoftheintegratedin-/outputsbytheCPU314IFMcanbereadintothehardwareconfiguration.However,theyaredirectlyontheCPU.

TheyarethedigitalinputsIB124andIB125suchasI126.0-I126.3.

ThedigitaloutputshavetheaddressesQB124andQB125.

TheanaloginputsarefoundonPIW128,PIW130,PIW132andPIW134.

TheanalogoutputisfoundonPQW128.

11.ThenwedragthecommunicationprocessorforthePROFIBUSCP342-5DPontothefourthslot.Nowtheordernumberandversionofthemodelcanbereadoffthefront(®SIMATIC300®CP-300®PROFIBUS®CP342-5DP®6GK7342-5DA01-0XE0®ProductVersion2).

 

Note:

Slotnumber3isreservedforinterfacemodulesandremainsempty.Theordernumberofthemoduleisdisplayedinthefooterofthecatalog.

12.Bytheenteringofthecommunicationprocessor,thefollowingwindowappears,inwhichyouassignaPROFIBUSaddresstotheCPU342-5DPandmustalreadychoosethefirstPROFIBUSnet.WhenyouwanttoaltertheparameterofthePROFIBUSnet,youmusthighlightitandthenclickonProperties(2PROFIBUS

(1)).

13.NowyoucanchoosetheHighestPROFIBUSAddress(here126),theTransmissionRate(here1,5Mbit/s)andtheProfile(hereDP).(®OK).

 

14.NowtheaddressesofthecommunicationprocessorintheI/OaddressspaceoftheCPUarenoted(Here:

PI256...271/PQ256..271).Choosethepropertiesofthecommunicationprocessthroughadoubleclickonthe‘CP342-5DP’(CP342-5).

15.SettheOperationModetoDPslaveandacceptwithOK(OperationModeDPslaveOK).

16.Theconfigurationtableissavedandcompilednowwithaclickon

.Thenthehardwareconfigurationisclosedwithaclickonx(®

®x).

 

17.NowinSIMATICManagerenteranadditionalSIMATIC300-Station(®SIMATICManager®Insert®Station®SIMATIC300-Station).

18.ChangethenameofthestationtoMaster(®Master).

19.OpentheconfigurationtoolfortheHardwarewithadou

展开阅读全文
相关资源
猜你喜欢
相关搜索

当前位置:首页 > 求职职场 > 社交礼仪

copyright@ 2008-2022 冰豆网网站版权所有

经营许可证编号:鄂ICP备2022015515号-1