西门子自动化课程 32.docx
- 文档编号:3424124
- 上传时间:2022-11-22
- 格式:DOCX
- 页数:35
- 大小:526.58KB
西门子自动化课程 32.docx
《西门子自动化课程 32.docx》由会员分享,可在线阅读,更多相关《西门子自动化课程 32.docx(35页珍藏版)》请在冰豆网上搜索。
西门子自动化课程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
- 配套讲稿:
如PPT文件的首页显示word图标,表示该PPT已包含配套word讲稿。双击word图标可打开word文档。
- 特殊限制:
部分文档作品中含有的国旗、国徽等图片,仅作为作品整体效果示例展示,禁止商用。设计者仅对作品中独创性部分享有著作权。
- 关 键 词:
- 西门子自动化课程 32 西门子 自动化 课程
![提示](https://static.bdocx.com/images/bang_tan.gif)