会员注册 | 登录 | 微信快捷登录 QQ登录 微博登录 | 帮助中心 人人文库renrendoc.com美如初恋!
站内搜索 百度文库

热门搜索: 直缝焊接机 矿井提升机 循环球式转向器图纸 机器人手爪发展史 管道机器人dwg 动平衡试验台设计

   首页 人人文库网 > 资源分类 > DOC文档下载

外文翻译--S7--200系列小型PLC.doc

  • 资源星级:
  • 资源大小:566.50KB   全文页数:19页
  • 资源格式: DOC        下载权限:注册会员
您还没有登陆,请先登录。登陆后即可下载此文档。
  合作网站登录: 微信快捷登录 支付宝快捷登录   QQ登录   微博登录
友情提示
2:本站资源不支持迅雷下载,请使用浏览器直接下载(不支持QQ浏览器)
3:本站资源下载后的文档和图纸-无水印,预览文档经过压缩,下载后原文更清晰   

外文翻译--S7--200系列小型PLC.doc

英文资料翻译机040533张明旺TheS7200seriesisalineofmicroprogrammablelogiccontrollersMicroPLCthatcancontrolavarietyofautomationapplications.Compactdesign,lowcost,andapowerfulinstructionsetmaketheS7200aperfectsolutionforcontrollingsmallapplications.ThewidevarietyofS7200modelsandtheWindowsbasedprogrammingtoolgiveyoutheflexibilityyouneedtosolveyourautomationproblems.TheS7200seriesofmicroprogrammablelogiccontrollersMicroPLCcancontrolawidevarietyofdevicestosupportyourautomationneeds.TheS7200monitorsinputsandchangesoutputsascontrolledbytheuserprogram,whichcanincludeBooleanlogic,counting,timing,complexmathoperations,andcommunicationswithotherintelligentdevices.Thecompactdesign,flexibleconfiguration,andpowerfulinstructionsetcombinetomaketheS7200aperfectsolutionforcontrollingawidevarietyofapplications.TheS7200storesinformationindifferentmemorylocationsthathaveuniqueaddresses.Youcanexplicitlyidentifythememoryaddressthatyouwanttoaccess.Thisallowsyourprogramtohavedirectaccesstotheinformation.Table41showstherangeofintegervaluesthatcanberepresentedbythedifferentsizesofdata.Table41DecimalandHexadecimalRangesfortheDifferentSizesofDataRepresentationByteBWordWDoubleWordDUnsignedInteger0to2550toFF0to65,5350toFFFF0to4,294,967,2950toFFFFFFFFSignedInteger128to12780to7F32,768to32,7678000to7FFF2,147,483,648to2,147,483,64780000000to7FFFFFFFRealIEEE32bitFloatingPointNotapplicableNotapplicable1.175495E38to3.402823E38positive1.175495E38to3.402823E38negativeToaccessabitinamemoryarea,youspecifytheaddress,whichincludesthememoryareaidentifier,thebyteaddress,andthebitnumber.Figure43showsanexampleofaccessingabitwhichisalsocalledbyte.bitaddressing.Inthisexample,thememoryareaandbyteaddressIinput,and3byte3arefollowedbyaperiod.toseparatethebitaddressbit4.YoucanaccessdatainmostmemoryareasV,I,Q,M,S,L,andSMasbytes,words,ordoublewordsbyusingthebyteaddressformat.Toaccessabyte,word,ordoublewordofdatainthememory,youmustspecifytheaddressinawaysimilartospecifyingtheaddressforabit.Thisincludesanareaidentifier,datasizedesignation,andthestartingbyteaddressofthebyte,word,ordoublewordvalue,asshowninFigure44.DatainothermemoryareassuchasT,C,HC,andtheaccumulatorsareaccessedbyusinganaddressformatthatincludesanareaidentifierandadevicenumber.AccessingDataintheMemoryAreasProcessImageInputRegisterITheS7200samplesthephysicalinputpointsatthebeginningofeachscancycleandwritesthesevaluestotheprocessimageinputregister.Youcanaccesstheprocessimageinputregisterinbits,bytes,words,ordoublewordsBitIbyteaddress.bitaddressI0.1Byte,Word,orDoubleWordIsizestartingbyteaddressIB4ProcessImageOutputRegisterQAttheendofthescancycle,theS7200copiesthevaluesstoredintheprocessimageoutputregistertothephysicaloutputpoints.Youcanaccesstheprocessimageoutputregisterinbits,bytes,words,ordoublewordsBitQbyteaddress.bitaddressQ1.1Byte,Word,orDoubleWordQsizestartingbyteaddressQB5VariableMemoryAreaVYoucanuseVmemorytostoreintermediateresultsofoperationsbeingperformedbythecontrollogicinyourprogram.YoucanalsouseVmemorytostoreotherdatapertainingtoyourprocessortask.YoucanaccesstheVmemoryareainbits,bytes,words,ordoublewordsBitVbyteaddress.bitaddressV10.2Byte,Word,orDoubleWordVsizestartingbyteaddressVW100BitMemoryAreaMYoucanusethebitmemoryareaMmemoryascontrolrelaystostoretheintermediatestatusofanoperationorothercontrolinformation.Youcanaccessthebitmemoryareainbits,bytes,words,ordoublewordsBitMbyteaddress.bitaddressM26.7Byte,Word,orDoubleWordMsizestartingbyteaddressMD20TimerMemoryAreaTTheS7200providestimersthatcountincrementsoftimeinresolutionstimebaseincrementsof1ms,10ms,or100ms.TwovariablesareassociatedwithatimerCurrentvaluethis16bitsignedintegerstorestheamountoftimecountedbythetimer.Timerbitthisbitissetorclearedasaresultofcomparingthecurrentandthepresetvalue.Thepresetvalueisenteredaspartofthetimerinstruction.YouaccessbothofthesevariablesbyusingthetimeraddressTtimernumber.Accesstoeitherthetimerbitorthecurrentvalueisdependentontheinstructionusedinstructionswithbitoperandsaccessthetimerbit,whileinstructionswithwordoperandsaccessthecurrentvalue.AsshowninFigure45,theNormallyOpenContactinstructionaccessesthetimerbit,whiletheMoveWordinstructionaccessesthecurrentvalueofthetimer.FormatTtimernumberT24CounterMemoryAreaCTheS7200providesthreetypesofcountersthatcounteachlowtohightransitioneventonthecounterinputsonetypecountsuponly,onetypecountsdownonly,andonetypecountsbothupanddown.TwovariablesareassociatedwithacounterCurrentvaluethis16bitsignedintegerstorestheaccumulatedcount.Counterbitthisbitissetorclearedasaresultofcomparingthecurrentandthepresetvalue.Thepresetvalueisenteredaspartofthecounterinstruction.YouaccessbothofthesevariablesbyusingthecounteraddressCcounternumber.Accesstoeitherthecounterbitorthecurrentvalueisdependentontheinstructionusedinstructionswithbitoperandsaccessthecounterbit,whileinstructionswithwordoperandsaccessthecurrentvalue.AsshowninFigure46,theNormallyOpenContactinstructionaccessesthecounterbit,whiletheMoveWordinstructionaccessesthecurrentvalueofthecounter.FormatCcounternumberC24AccumulatorsACTheaccumulatorsareread/writedevicesthatcanbeusedlikememory.Forexample,youcanuseaccumulatorstopassparameterstoandfromsubroutinesandtostoreintermediatevaluesusedinacalculation.TheS7200providesfour32bitaccumulatorsAC0,AC1,AC2,andAC3.Youcanaccessthedataintheaccumulatorsasbytes,words,ordoublewords.Thesizeofthedatabeingaccessedisdeterminedbytheinstructionthatisusedtoaccesstheaccumulator.AsshowninFigure47,youusetheleastsignificant8or16bitsofthevaluethatisstoredintheaccumulatortoaccesstheaccumulatorasbytesorwords.Toaccesstheaccumulatorasadoubleword,youuseall32bits.FormatACaccumulatornumberAC0SpecialMemorySMTheSMbitsprovideameansforcommunicatinginformationbetweentheCPUandyourprogram.YoucanusethesebitstoselectandcontrolsomeofthespecialfunctionsoftheS7200CPU,suchasabitthatturnsonforthefirstscancycle,abitthattogglesatafixedrate,orabitthatshowsthestatusofmathoroperationalinstructions.FormoreinformationabouttheSMbits,seeAppendixD.YoucanaccesstheSMbitsasbits,bytes,words,ordoublewordsBitSMbyteaddress.bitaddressSM0.1Byte,Word,orDoubleWordSMsizestartingbyteaddressSMB86LocalMemoryAreaLTheS7200provides64bytesoflocalmemoryofwhich60canbeusedasscratchpadmemoryorforpassingformalparameterstosubroutines.TipIfyouareprogrammingineitherLADorFBD,STEP7Micro/WINreservesthelastfourbytesoflocalmemoryforitsownuse.LocalmemoryissimilartoVmemorywithonemajorexception.VmemoryhasaglobalscopewhileLmemoryhasalocalscope.Thetermglobalscopemeansthatthesamememorylocationcanbeaccessedfromanyprogramentitymainprogram,subroutines,orinterruptroutines.Thetermlocalscopemeansthatthememoryallocationisassociatedwithaparticularprogramentity.TheS7200allocates64bytesofLmemoryforthemainprogram,64bytesforeachsubroutinenestinglevel,and64bytesforinterruptroutines.TheallocationofLmemoryforthemainprogramcannotbeaccessedfromsubroutinesorfrominterruptroutines.AsubroutinecannotaccesstheLmemoryallocationofthemainprogram,aninterruptroutine,oranothersubroutine.Likewise,aninterruptroutinecannotaccesstheLmemoryallocationof

注意事项

本文(外文翻译--S7--200系列小型PLC.doc)为本站会员(英文资料库)主动上传,人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对上载内容本身不做任何修改或编辑。 若此文所含内容侵犯了您的版权或隐私,请立即通知人人文库网([email protected]),我们立即给予删除!

温馨提示:如果因为网速或其他原因下载失败请重新下载,重复下载不扣分。

copyright@ 2015-2017 人人文库网网站版权所有
苏ICP备12009002号-5