西门子自动化课程 32.docx

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

西门子自动化课程 32.docx

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

西门子自动化课程 32.docx

西门子自动化课程32

Trainingdocumentforthecompany-wide

automationsolution

TotallyIntegratedAutomation(TIA)

MODULED6

PROFIBUSDPwith

MasterCPU315-2DP/SlaveCPU315-2DP

 

 

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.NotestotheOperationoftheCPU315-2DP6

4.CommissioningtheProfibus(MasterCPU315-2DP/SlaveCPU315-2DP)7

 

Thefollowingsymbolsstandforthespecifiedmodules:

Information

Programming

Exampleexercise

Notes

 

1.forward

ThemoduleD6isassignedcontentwisetoIndustrialfieldbussystems.

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,thereadershouldlearnhowthePROFIBUSDPistakenintooperationwiththeCPU315-2DPasamasterandaCPU315-2DPasaslave.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.x

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

4PLCSIMATICS7-300withtheCPU315-2DPwithatleastonedigitalin-andoutput.

Exampleconfiguration:

-Network:

PS3072A

-CPU:

CPU315-2DP

-Digitalinputs:

DI16xDC24V

-Digitaloutputs:

DO16xDC24V/0.5A

5PLCSIMATICS7-300withtheCPU315-2DPandatleastonedigitalin-andoutput.

Exampleconfiguration:

-Powersupply:

PS3072A

-CPU:

CPU315-2DP

-Digitalinputs:

DI16xDC24V

-Digitaloutputs:

DO16xDC24V/0.5A

6PROFIBUScablewith2PROFIBUSslots

1PC

2STEP7

 

5S7-300with

CPU315-2DP

4S7-300with

CPU315-2DP

 

6PROFIBUScable

 

2.NotesfortheoperationoftheCPU315-2DP

TheCPU315-2DPisaCPUthatismadeavailablewithanintegratedPROFIBUSDPinterface.

FortheCPU315-2DP,thefollowingPROFIBUSprotocolprofilesareavailableatyourdisposal:

-DP-InterfaceasamasterorslaveinaccordancewithEN50170.PROFIBUS-DP(DistributedI/O)istheprotocolprofilefortheconnectionofdistributedI/O/Fieldequipmentwithfastreactiontime.

Afurthercharacteristicisthattheaddressesofthein-andoutputmodulescanbeparameterizedbythisCPU.

TheCPUcapabilityisgivenwiththefollowingdata:

-16Kstatements.48KbyteRAM(integrated)80KbyteRAM

-1024ByteDI/DO

-128ByteAI/AO

-0.3ms/1KInstructions

-64Counters

-128Timers

-2048memorybits

Note:

Here,thetwoCPUs315-2DPareappointedtothePROFIBUS.

Oneasamasterandoneasaslave.

 

4.commissioningtheProfibus(Mastercpu315-2DP/SlaveCPU315-2DP)

Inthefollowingexample,thecommissioningofamonomastersystemwiththeCPU315-2DPasamasterandanotherCPU315-2DPasaslaveisdescribed.

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

AssignmentlistMaster-CPU:

IB0SETInputbyte

IB40Comm_IB1InputcommunicationByte1

QB4DISPLAYDisplaybyte

QB40Comm_QB1OutputcommunicationByte1

AssignmentlistSlave-CPU:

IB0SETInputbyte

IB40Comm_EB1InputcommunicationByte1

QB4DISPLAYDisplaybyte

QB40Comm_QB1OutputcommunicationByte1

FortheconnectionofthetwoCPU315-2DP,wherebyoneissetasamasterandtheotherasaslave,thefollowingstepsmustbefollowed.

 

1.ThecentraltoolinSTEP7istheSIMATICManager,whichisopenedherewithadoubleclick(®SIMATICManager).

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

 

3.GivetheprojecttheNameCPU315_CPU315(®CPU315_CPU315®OK)

4.

HighlightyourprojectandinsertaPROFIBUSSubnet(CPU315_CPU315InsertSubnetPROFIBUS).

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

6.ModifythenameofthestationtoSlave(®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,wedroptheCPU315-2DPintothesecondcardlocation.ThisallowsforthepartnumberandversionoftheCPUtobereadoff.(®SIMATIC300®CPU-300®CPU315-2DP®6ES7315-2AF03-0AB0®V1.1).

11.BytheenteringoftheCPU,thefollowingwindowappears,inwhichyouassignaPROFIBUSaddresstotheCPU315-2DPandmustalreadychoosethefirstPROFIBUSnet.WhenyouwanttoaltertheparameterofthePROFIBUSnet,youmusthighlightitandthenclickonProperties

(Properties).

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

13.Inthenextstepweseetheinputmodulefor16inputsonfourthslot.Theretheordernumberofthemoduleisreadoffthefront(®SIMATIC300®DI-300®SM321DI16xDC24V).

Note:

Slotnumber3isreservedforinterfacemodulesandremainsempty.Theordernumberofthemoduleisdisplayedinthefooterofthecatalog.

14.Inthenextstepweseetheoutputmodulefor16outputsonfifthslot.Theretheordernumberofthemoduleisreadoffthefront(®SIMATIC300®DO-300®SM322DO16xDC24V/0.5A).

Note:

Theordernumberofthemoduleisdisplayedinthefooterofthecatalog.

15.ChoosethePROFIBUSinterface‘DP’withadoubleclickinordertochangeittoDP-Slave(DP).

16.ChooseOperatingModeandchangeDPtoDPslave(OperationModeDPslave).

17.Inthefollowingdialogthedatarangeforthecommunicationtothemastercanbeset.

Mode:

Master/Slave

Outputrange:

Q40;Length1byte;Consistencybytheunitofaword

Inputrange:

I40;Length1byte;Consistencybytheunitofaword

ThisadjustmentisthenacceptedwithOK(®OK).

18.Theconfigurationtableshouldfirstbesavedandcompiledwithaclickon

.Thenthehardwareconfigurationisclosedwithaclickonx(®

®x).

19.InSIMATICManager,afurtherSIMATIC300-Stationisinsertedforthemaster(®SIMATICManager®Insert®Station®SIMATIC300-Station).

20.ModifythenameofthestationtoMaster.(®Master)

21.OpentheconfigurationtoolfortheHardwarewithadoubleclick(®Hardware).

 

22.Openthehardwarecatalogwithaclickonthesymbol

(®

).

Thereyouwillseethedirectoriesaredividedintothefollowing:

-PROFIBUS-DP,SIMATIC300,SIMATIC400andSIMATICPCBasedControl,

allmoduleracks,modulesandinterfacemodulesfortheconfigurationofyourhardwareconfigurationaremadeavailable.

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

Aftertheinsert,aconfigurationstablefortheconfigurationoftheRack0appearsautomatically.

23.Nowallmodulescanbechosenoutofthehardwarecatalogandinsertedintotheconfigurationtableandarealsoinsertedintoyourrack.

Toinsert,youmustclickonthenameoftherespectivemodule,holdthemousebuttonandDrag&Dropthemoduleintoalineoftheconfigurationstable.WewillbeginwiththepowersupplyPS3072A(®SIMATIC300®PS-300®PS3

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

当前位置:首页 > 小学教育 > 学科竞赛

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

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