位置檢測模版sm338快速入門_第1頁
位置檢測模版sm338快速入門_第2頁
位置檢測模版sm338快速入門_第3頁
位置檢測模版sm338快速入門_第4頁
位置檢測模版sm338快速入門_第5頁
已閱讀5頁,還剩36頁未讀, 繼續(xù)免費閱讀

下載本文檔

版權(quán)說明:本文檔由用戶提供并上傳,收益歸屬內(nèi)容提供方,若內(nèi)容存在侵權(quán),請進行舉報或認領(lǐng)

文檔簡介

wj快wj快SLCA&DCSBeijingMarch4,2005初學者必要必須有一個S7-300站,帶電源模塊、CPU314-2DPSM338(訂貨號:6ES7338-STEP7(>)編程器已經(jīng)按照實際硬件設備,正確建立了一個S7-300站編程器已經(jīng)通過編程介質(zhì)(如:CP5511、CP5512、CP55611或者PCAdapte,外加通訊電纜“MPI電纜”、“RS232電纜”)正確連接到S7-300站的CPU編程口端子連接圖和布線規(guī)則在對模板進行接線時,應注意以下事項:編電源的接地與CPU的接地不。因此,應將SM338(M)的引以低阻抗連接到CPU的接地編導線(引腳3-14)必須,最好使絞電纜。并將任一端的層為了支承SM338的層,應使用支承元件(訂貨號:6ES7390-如果超出編的最大輸出電流 mA),必須連接一個外部電源SM338參數(shù)配STEP7SM338CPU處于“STOP“模式下進行。當你設定完所有的參數(shù)后,應將參數(shù)從編程器到CPU中。當CPU從“STOP“模式轉(zhuǎn)換為“RUN“模式時,CPUSM338。不能通過用戶程序?qū)M338的可編程參數(shù)概述及其缺省值,見下表。(STEP7進行參數(shù)賦參數(shù)值范使能“診斷中斷有/使能參數(shù),所有的3個通工SSI絕對值編類型無/13位/21位/25無:編輸入被關(guān)掉位報文幀長碼/二進SSI位置檢測的數(shù)據(jù)代碼類注意電纜長度和波特傳輸速單穩(wěn)時125kHz/250kHz/500kHz單穩(wěn)時間是兩個SSI報文間間的時wj快wj快所編程的單穩(wěn)時間必對值編的單穩(wěn)時間標準0–由于標準化,編的數(shù)值在地址區(qū)內(nèi)右移。不位2-址區(qū)將步進/分辨FREEZE關(guān)閉0數(shù)字量輸入的上升沿發(fā)編碼數(shù)值的注意傳輸速率和單穩(wěn)時間會影響非等時模式中絕對值編值的精度在等時模式中傳輸速率和單穩(wěn)時間將影響FREEZE功能的精度(參見編制造商的技所編程的單穩(wěn)時間必須大于絕對值編的單穩(wěn)時間絕對值編的單穩(wěn)時間將使用以下限制(1/傳輸速率)<“絕對值編的單穩(wěn)時間”<64μs+2x(1/傳輸速率使能FREEZE用FREEZE功能可以“保持“SM338當前的編碼值。FREEZE功能連接到SM338的數(shù)字量輸入“DI0“和“DI1“。必須使能FREEZE功能,也就是說用STEP7進行參數(shù)賦值。(如圖直到FREEZE功能結(jié)束前,將始終保持編值,并可以作為結(jié)果的一個功能進行評估結(jié)束FREEZE功能可以對每個編輸入結(jié)束FREEZE功能??梢杂肧TEP7運行“TPQBxyz“,在用戶程序中對0、1和2位置位來響應該功能。響應后,相應的編值的31位被刪除,并重新刷新。編值又可以再次被保持。一旦模板的輸出地址的響應位地址SM338STEP7SM338組態(tài)過程輸入編輸輸入地址(組態(tài))+地址偏0“初始模板地1“初始模板地址“+4字節(jié)地址2“初始模板地址“+8字節(jié)地址編輸入的數(shù)據(jù)雙字結(jié)構(gòu)每個編輸入的數(shù)據(jù)雙字具有如下結(jié)構(gòu)輸出你可以在用戶程序中,使用STEP7LPID“xyz“(LAD的“Move“指令)程序編制,編碼值的存取和保存功能使假設你想在編輸入處,并且評估編碼值。“初始模板地址“為“256“。OB1 之后,你可以繼續(xù)從位地址區(qū)MD100、MD104和MD108編碼值。編碼值保存在雙字的位0到位30中。診斷中斷程序本節(jié)將闡述SM338的診斷中斷行為。SM338可以觸發(fā)診斷中斷。有關(guān)下述OB和SFC,參見STEP7的,其中闡述使能診斷沒有預置中斷,換言之,即如果沒有相應的參數(shù)賦值,中斷將被。應使用STEP7賦診斷中斷OB82程序編CPU可以中斷用戶程序的執(zhí)行,處理診斷中斷塊(OB82)。在用戶程序中,你可以調(diào)OB82SFC51SFC59,以從模板中獲得更為詳細的診斷信息。OB82OB82 快 jOB82程序如訂貨 快 j6ES7338-4BC01-特位置檢測模板SM338具有以下特性:連接最多3個絕對值編(SSI),2個數(shù)字量輸入(用于保留編數(shù)值提供位置編數(shù)值,用于STEP7軟件程序的進一步處理可在用戶程序中處理SM338的編碼值等時模式24VDC額定輸入電壓;與CPU所支持的編類位置檢測模板SM338支持以下編類型帶13位報文幀長度的編帶21位報文幀長度的編帶25位報文幀長度的編編值的持續(xù)時間取決于傳輸和處理方法單穩(wěn)時間超過64μs的編不能用于SM338所支持的數(shù)據(jù)支持碼和二進制碼數(shù)據(jù)格式等時模硬件CPUDPMaster需要支 接口模塊(IM153-x)需要支特 快 j在“等時模式“下,“DPMaster“和“位置檢測模板SM338“之間,可以在“PROFIBUSDPSM338“的16個信號輸入字節(jié),保持一致、協(xié)調(diào);如果,當前“PROFIBUSDP“通訊循環(huán)中,由于“等時模式“失敗造成其他的錯誤。那么,在下一個“PROFIBUSDPSM338”可SM33816個信號輸入字節(jié),將無法自檢測編碼絕對值編以報文楨的形式向SM338傳送編碼值。通過SM338啟動報文楨的傳送“非等時模式“的編碼值檢測可以隨時進行在“等時模式“的編碼值將在PROFIBUSDP循環(huán)中的Ti時間內(nèi)同步進行檢測“非等時模式“編碼值檢測SM338 338“等時模式“編碼值DPDPDP循環(huán)同步時,將SM338在每PROFIBUSDP循環(huán)TiSM338PROFIBUSDP 碼與二進制碼的轉(zhuǎn)wj快wj快傳送的編值和規(guī)格被送值包對編的置根使的位編位之之的它連編位一送。為了讓SM338識別編位置,應指定位置(0步/分辨率編值標準化舉例例如,當使用單圈編時,2(的9次方冪)步=512步/分辨率(分辨率/360°)。在STEP7中進行下列參數(shù)設置編絕對值:13標準化:4步/SM338的錯誤診SM338可以提供所有診斷報文,而無需其它STEP7中診斷報文后的每個診斷報會致使以下動作診斷報文被輸入到模板的診斷中,并傳送到模板中的SF指示燈并調(diào)用OB82。讀出診斷SFC,讀出詳細的診斷報文(參見附錄“信號模板的診斷數(shù)據(jù)”)。在模板診斷中,你可以查看STEP7中的故障原因(參見STEP7的 指示燈指示的診斷報文,SF指示燈就亮。當所有錯誤被排除之后,指示燈就熄滅。如果出現(xiàn)外部故障(傳感器電源短路),組故障(SF)指示燈也亮,與CPU的運在啟動時以及SM338自測試時,SFSM338;POS-INPUT的診斷診斷診斷監(jiān)模板有問模內(nèi)部模外部模通道模外部輔助電源模模板沒模參數(shù)模通道信模觸發(fā)模通道通道(編輸入組態(tài)/參數(shù)賦值出錯通道(編輸入外部通道錯誤(編錯誤通道(編輸入故障原因及診斷診斷模板模板檢測到一內(nèi)部模板檢測到PLC中的外部模板檢測到PLC外的通道某些通外部輔沒有模板的電源電壓饋入模板的電源電壓模板沒通電后報文排參數(shù)一組或者多組參數(shù)不重新賦值模板存在通通道錯誤;或者模板其他通看門狗斷臨時的高電磁排除干通道在編輸入處檢測到模板道的錯組態(tài)/參數(shù)賦值出錯傳送給模板的參數(shù)重新賦值模板外部通道錯誤(編錯誤編電纜斷線,沒有連接電纜或編故檢查所連接的SM338的技術(shù)規(guī)參見“ReferenceManualPositionDecoderModuleSM338POS- 快 j附OB1程序?qū)崊⒖际謨浴禤ositionDecoderModuleSM338POS-常見什么原因會造成“POSINPUR,sensorerror”SM338模板錯誤信息SIMATILC SM338\SM dl\CPU314C2 < 03/04/20051635O Cycle Version:Blockversion:Timestamp

2005-03-0416:35:19下1996-02-1516:51:12下Lengths(block/logic/data):0017000046Bits0-3=1(Comingevent),Bits4-7=1(Eventclass1(Coldrestartscan1ofOB1),3(Scan2-nofOBPriorityofOB1(Organizationblock1,forsystemforsystemCycletimeofpreviousOB1scanMinimumcycletimeofOB1umcycletimeofOB1DateandtimeOB1Block:Block: "MainProgramSweepNetwork:Network: Network:Network: Network:Network: SIMATILC SM338\SM dl\CPU314C2 < 03/04/20051635Network:Network: Network:Network: Network:Network: Network:Network: wwProductInformationontheReferenceProgrammableLogicControllersS7-300ModuleDataRelease OrderThepositiondecodermoduleSM338;POS-INPUTisdistinguishedbythefollowingfeatures:3inputsfortheconnectionof umthreeabsolutevalueencoders(SSI)and2digitalinputstofreezetheencodervaluesDirectreactionpossibletoencodervaluesinmovingProcessingofacquiredencodervaluesoftheSM338inuserSupportsclockedTypeofencodervalueacquisition(seechapter)canbeFree24VDCratedinputNon-isolatedagainsttheFastmodeselectable;withfasterencoderrecordingandcompressedcheckbackinterfaceFastmodeisavailableasofSM338;POS-INPUTfirmwareversionV2.0.0andasofSTEP7V5.3+SP2selectable. SupportedencoderThefollowingencodertypesaresupportedbytheSM338;POS-Absolutevalueencoder(SSI)with13-bitmessageAbsolutevalueencoder(SSI)with21-bitmessageAbsolutevalueencoder(SSI)with25-bitmessageSupporteddataTheSM338;POS-INPUTsupportsthegraycodeandbinarycodedataFirmwareYoucanuseSTEP7HWConfigfirmwareupdatetoloadPOS-INPUTintheoperatingsystemmemoryoftheSM338inordertoextendthefunctionalityandTheoldfirmwareisdeletedwiththestartofthefirmwareupdate.Ifthefirmwareupdateisinterruptedorcanceledforanyreason,theSM338;POS-INPUTisnolongerfunctional.Restartthefirmwareupdateandwaituntilithasbeensuccessfullycompleted.necessarysystemservicesProductInformationontheReferenceManualProgrammableLogicControllersS7-300ModuleDataRelease -SynchronousThebasicsofsynchronousoperationaredescribedinaseparateHardwareForthesynchronousoperationoftheSM338,youCPUwhichsupportsclockedDPmasterwhichsupportstheequidistantbusSlaveinterface(IM153-x)whichsupportssynchronousDependingonthesystemparameterization,theSM338worksineithernon-synchronousorsynchronousmode.Insynchronousoperation,thedataexchangebetweenDPmasterandSM338issynchronoustothePROFIBUSDPcycle.Insynchronousoperationall16bytesofthecheckbackinterfaceareIfsynchronicityislostduetofaultsorfailureordelayofGlobalControl(GC),theSM338goesbackintosynchronousoperationinthenextcyclewithouterrorIfsynchronicityislost,thecheckbackinterfaceisnotProductInformationontheReferenceManualProgrammableLogicControllersS7-300ModuleDataRelease - Faultindicator–ConnectiontothegroundofFaultindicator–ConnectiontothegroundoftheVoltageRS123456789 MODOD 13DIDIOC(Clock)OC(Clock)1D(Data)1D(Data)1C(Clock)1C(Clock)2D(Data)2D(Data)2C(Clock)2C(Clock)DI1input)M(encoder)MS7-300BackplaneFigure1- ModuleViewandBlockDiagramoftheSM338;POS-WiringPleaseobservethefollowingimportantrulesofthewiringoftheThegroundoftheencodersupplyisconnectednon-isolatedtothegroundoftheCPU.Thus,connectpin2oftheSM338(M)withlowimpedancewiththegroundoftheCPU.Theencoderlines(pins3to14)mustbetwistedpairsandshielded.Applytheshieldtobothsides.FortheshieldconnectiontotheSM338,usetheshieldconnectionelement(ordernumber6ES7390-5AA00-0AA0).Iftheoutputcurrent(900mA)oftheencodersupplyisexceeded,thenyoumustconnectanexternalpowersupply.ProductInformationontheReferenceManualProgrammableLogicControllersS7-300ModuleDataRelease -FunctionsoftheSM338;POSEncodervalueTheabsolutevalueencodertransfersitsencodervaluesinmessagestotheSM338.ThetransferofthemessageisinitiatedbytheSM338.Innon-synchronousoperation,theencodervaluesareacquiredwhileitisfreeInsynchronousoperationtheencodervaluesareacquiredsynchronizedtothePROFIBUSDPcycleateachTi.FreerunningencodervalueTheSM338alwaysinitiatesthetransferofamessageaftertheendoftheparameterizedmonofloptime.Asynchronoustothesefreerunningmessages,theSM338processestheacquiredencodervaluesduringthecycleofitsupdatingrate(seeTechnicalData).Thus,inthecaseoffreerunningencodervalueacquisition,encodervaluesofdifferentagesresult.Thedifferencebetweenthe umandminimumageisthejitter(seeTechnicalData).SynchronousencodervaluesSynchronousencodervaluesacquisitionisautomaticallysetif,intheDPmastersystem,theequidistantbuscycleisactivatedandtheDPSlaveissynchronizedtotheDPcycle.TheSM338initiatesthetransferofamessageineachPROFIBUSDPcycleatthetimeTi.SynchronoustothePROFIBUSDPcycle,theSM338processesthetransferredencodervalues.ProductInformationontheReferenceManualProgrammableLogicControllersS7-300ModuleDataRelease - Gray/DualIntheGraysetting,theencodervaluesprovidedbytheabsolutevalueencoderingraycodeisconvertedintoDualcode.IntheDualsetting,encodervaluesprovidedbytheabsolutevalueencoderremainunchanged.IfyouhaveselectedtheGraysetting,theSM338alwaysconvertstheentireencodervalue(13,21,25bits).Asaresult,precedingspecialbitsaffecttheencodervaluesandfollowingbitscouldbefalsifiedundercertaincircumstances.TransferredEncoderValueandThetransferredencodervaluecontainstheencoderpositionoftheabsolutevalueencoder.Dependingontheencoderused,additionalbitswhicharelocatedbeforeandaftertheencoderpositionarealsotransferredinadditiontotheencoderSothattheSM338candetecttheencoderposition,makethefollowingNormalization,places(0..12),Normalization,units/Normalization,ThenormalizationdeterminesthepositionoftheencodervaluesinthecheckbackIf“Places”=1,2...12,thisindicatesthatthefollowingnonrelevantbitsintheencodervaluesareremovedandtheencodervalueisrightjustifiedintheaddressrange(seefollowingexample).If“Places”=0,thisindicatesthatthefollowingbitsareretainedandavailableforevaluation.Thiscanbeusefulifyouuseanabsolutevalueencoderwhichtransfersinformationinthefollowingbits(seemanufacturerinformation)andyouwanttoevaluatethese(seealsochapter).Parameterunits/ umof13bitsareavailablefortheunits/revolution.Accordingtothe“Places”data,theresultingnumberofunits/revolutionisautomaticallydisplayed.ProductInformationontheReferenceManualProgrammableLogicControllersS7-300ModuleDataRelease -ExampleofnormalizationofanencoderYouareusingasingle-turnencoderwith29units=512units/revolutionInSTEP7youhavesetthefollowingAbsoluteencoder:13Units/revolution:Beforethenormalization:cyclicallyacquiredencodervalues 0000000000000000000001100100XXXX0TransferredAfterthenormalization:encodervalues 00000000000000000000000001100100RelevantResult:Bits0to3(4places,markedwith“x”)areFreezeThefreezefunction“freezes”thecurrentencodervaluesoftheSM338.ThefreezefunctioniscoupledtothedigitalinputsDI0andDI1oftheSM338.Thefreezeistriggeredbyanedgechange(risingedge)onDI0orDI1.Afrozenencodervalueisidentifiedbythebit31(outputaddress)beingset.Withadigitalinputyoucanfreezeone,twoorthreeencodervalues.Youmustswitchonthefreezefunction,i.e.setthecorrespondingparametersSTEP7.ThefreezefunctionisnotpossibleinfastTheencodervaluesareretaineduntilthefreezefunctionisendedandcanthusbeevaluateddependentontheevent.ProductInformationontheReferenceManualProgrammableLogicControllersS7-300ModuleDataRelease - EndingthefreezeThefreezefunctionmustbeendedateveryencoderinput.Youacknowledgethefunctionintheuserprogrambysettingthebit0,1or2dependingonthechannelwiththeSTEP7-OperationTPAB“xyz”(foraprogramexample,seechapterAfterexiting,bit31ofthecorrespondingencodervalueisagaindeletedandtheencodervaluesareagainupdated.Arenewedfreezingoftheencodervaluesisagainpossibleassoonasyouhavedeletedtheacknowledgmentbitintheoutputaddressofthemodule.InsynchronousoperationtheacknowledgmentisprocessedattimeTo.Fromthispointintimearenewedfreezingoftheencodervaluescantakeplaceviathedigitalinputs.Thefreezefunctionisautomaticallyacknowledgedifyounewlyparameterizethecorrespondingchannelwithdifferentparameters(see1.1.3chapter).Iftheparametersremainidentical,thefreezefunctionremainsSM338;POS-INPUTYouparameterizetheSM338;POS-INPUTwithSTEP7.YoumustperformparameterassignmentinSTOPmodeoftheCPU.Assoonasyouhavesetalltheparameters,downloadtheparametersfromtheprogrammingdevicetotheCPU.OnatransitionfromSTOPto RUNmode,theCPUthentransferstheparameterstotheSM338.TheparameterscannotbechangedbytheuserProductInformationontheReferenceManualProgrammableLogicControllersS7-300ModuleDataRelease -ParametersoftheSM338;POS-YouwillfindanoverviewoftheparametersthatyoucansetandtheirdefaultsettingsfortheSM338inthetablebelow.ThedefaultsettingsapplyifyouhavenotperformedparameterassignmentSTEP7(defaultsetting ParametersoftheSM338;POS-valuesFastReleaseAffectsall3DiagnosisReleaseAffectsall3(SSI)1)none;13bits;21bits;25none:Theencoderinputisswitchedoff.CodetypeGray;CodeprovidedbyBaudrate1)125kHz;250kHz;500kHz;1DatatransferrateoftheSSIpositiondecoder.Observetherelationshipbetweenthecablelengthandbaudrate(seeTechnicalData)Monofloptime16s;32s;48s;64Themonofloptimeistheminimumtimeintervalbetween2SSImessageframes.Theparameterizedmonofloptimemustalwaysbegreaterthanthemonofloptimeoftheabsolutevalueencoder.Units/revolution0to2toNormalizingrightjustifiestheencodervaluesoftheencoderabsolute;non-relevantplacesareSwitchingonoff;0;Designationofthedigitalinputwhoserisingedgecausesafreezingoftheencodervalue.SeetechnicaldataoftheabsolutevalueThemonofloptimeisthetimeintervalbetween2SSImessageframes.Theparameterizedmonofloptimemustbegreaterthanthemonofloptimeoftheabsolutevalueencoder(seetechnicaldataofthemanufacturer).Thetime2 (1/baudrate)isaddedtothevalueparameterizedinHWconfig.Atabaudrateof125kHzwithaparameterizedmonofloptimeof16s,aneffectivemonofloptimeof32sisactuallyachieved.Thefollowingrestrictionappliestothemonofloptimeoftheabsolutevalue(1/baudrate)<Monofloptimeoftheabsolutevalueencoder<64s+ (1/baudtothepowerofPleasenotethatinnonsynchronousoperationthebaudrateandthemonofloptimeaffecttheaccuracyandactualityoftheencodervalues.Insynchronousoperationthebaudrateandthemonofloptimeaffecttheaccuracyofthefreezefunction.ProductInformationontheReferenceManualProgrammableLogicControllersS7-300ModuleDataRelease - SM338;POS-INPUTDatarangefortheencoderTheinputsandoutputsoftheSM338areaddressedasoftheinitialmoduleaddress.TheinputandoutputaddressisdeterminedattheconfigurationoftheSM338inSTEP7.Input Inputaddress(fromtheconfiguration)+address0”Initialmodule1”Modulestartaddress”+4bytesaddress2”Modulestartaddress”+8bytesaddressStructureofthedoubledatawordinStandardForeachencoderinputthedoubledatawordismadeupas 25bitsensorvalueingrayorbinary0=encodervalueisnotfrozen.Thevalueisconstantly1=encodervalueisfrozen.ThevalueremainsconstantuntilProductInformationontheReferenceManualProgrammableLogicControllersS7-300ModuleDataRelease -StructureofthedoubledatawordinFastForeachencoderinputthedoubledatawordismadeupas 25bitsensorvalueingrayorbinaryStatusdigital1=Grouperror(sensorerror,ext.auxiliaryvoltageerror)1=Parameterassignmenterror1=Readyforoperation(checkbackvalueInthedoubledatawordofchannel0,thestatusoftheI0issetinbit27(statusdigitalinput)andinthedoubledatawordofchannel1,thestatusofthedigitalinputI1isset.Thebitisalways=0inthedoubledatawordofchannelOutputAddressimStandard InitialmoduleAcknowledgingthefreezeBit0=encoderinputBit1=encoderinputBit2=encoderinputReadingoutdataYoucanreadoutthedataareasinyouruserprogramwiththeSTEP7-OperationLPED“xyz”.ExampleofaccesstoencodervaluesanduseofthefreezeYouwanttoreadoutandevaluatethevalueoftheencoderattheencoderinputs.Themodulestartaddressis256.NooutputdataaresupportedinfastProductInformationontheReferenceManualProgrammableLogicControllersS7-300ModuleDataRelease - LReadencodervalueintheaddressrangeTencoderinputStoreencodervalueinmarkerdoubleUMAcquireandstorefreezestatusfor=MLReadencodervalueintheaddressrangeTencoderinputStoreencodervalueinmarkerdoubleUMAcquireandstorefreezestatusfor=MLReadencodervalueintheaddressrangeTencoderinputStoreencodervalueinmarkerdoubleUMAcquireandstorefreezestatusfor=MLLoadandacknowledgefreezeT(SM338:outputaddressAfterwardsyoucanfurtherprocesstheencodervaluesfromthemarkerrangeMD100,MD104andMD108.Theencodervalueiscontainedinbits0to30ofthemarkerdoubleword.ProductInformationontheReferenceManualProgrammableLogicControllersS7-300ModuleDataRelease -DiagnosisoftheSM338;POS-TheSM338makesdiagnosticmessagesavailable,i.e.,alldiagnosticmessagesarealwaysprovidedbytheSM338withoutyourassistance.ActionsfollowingdiagnosticmessageinSTEPEachdiagnosticmessageleadstothefollowingThediagnosticmessageisenteredinthediagnosisofthemoduleandforwardedtotheCPU.TheSFLEDonthemoduleIfyouhaveprogrammed“EnableDiagnosticInterrupt”inSTEP7,adiagnosticinterruptistriggeredandOB82iscalled.ReadingoutdiagnosticYoucanreadoutdetaileddiagnosticmessagesbymeansofSFCsintheuserprogram(refertotheAppendix“DiagnosticDataofSignalModules”).YoucanviewthecauseoftheerrorinSTEP7,inthemodulediagnosis(refertoonlineHelpforSTEP7).DiagnosticmessageviaSFTheSM338indicateerrorsforyoubymeansoftheirSFLED(grouperrorLED).TheSFLEDlightsassoonasadiagnosticmessageistriggeredbytheSM338.Itgoesoutwhenallerrorshavebeenrectified.Thegroupfault(SF)LEDalsolightsupincaseofexternalerrors(shortcircuitofencodersupply),independentoftheoperatingstatusoftheCPU(ifpowerisTheSFLEDlightsuptemporarilyatstartupduringtheselftestoftheSMProductInformationontheReferenceManualProgrammableLogicControllersS7-300ModuleDataRelease - DiagnosticmessagesoftheSM338;POSThetablebelowgivesanoverviewofthediagnosticmessagesfortheSM DiagnosticmessagesoftheSM338;POSScopeoftheDiagno-ModuleInternalChannelerrorModulenotChannelerrorProductInformationontheReferenceManualProgrammableLogicControllersS7-300ModuleDataRelease -Causesoferrorsandremedial DiagnosticsMessagesoftheSM338,CausesofErrorsandRemedialPossibleErrorModuleAnerrordetectedbythemodulehasInternalModulehasdetectedanerrorwithintheautomationsystem.ExternalModulehasdetectedanerroroutsideoftheautomationsystem.ChannelerrorIndicatesthatonlyspecificchannelsarefaulty.ExternalauxiliarysupplymissingThepowersupplyL+tothemoduleisFeedsupplyModulenotModulerequiresinformationwhetheritshouldworkwithparameterspresetbythesystemorwithyourparameters.MessagepresentafternetworkactiveuntiltransferoftheparametersbytheOneparameterorthecombinationofparametersisnotplausibleReassignmoduleChannelinformationChannelerrorpresent;modulecanChannelerrorAnerrordetectedbythemodulehasoccurredattheencoderinput.Configuration/IllegalparameterhadbeentransferredtomoduleReassignmodule(encodererror)Brokenwireinencodercable,encodercablenotconnectedorencoderCheckconnectedProductInformationontheReferenceManualProgrammableLogicControllersS7-300ModuleDataRelease - InterruptsoftheSM338;POSInthisSection,theinterruptbehavioroftheSM338;POS-INPUTisdescribed.TheSM338cantriggerdiagnosticinterrupts.TheOBsandSFCsmentionedbelowcanbefoundintheonlineHelpforSTEP7,wheretheyaredescribedingreaterdetail.EnablingTheinterruptsarenotpreset–inotherwords,theyareinhibitedwithoutappropriateparameterassignment.AssignparameterstotheInterruptEnableinSTEP7(refertoSection1.1.3).DiagnosticIfyouhaveenableddiagnosticinterrupts,then ingactiveerrorevents(initialoccurrenceoftheerror)anddepartingerrorevents(messageaftertroubleshooting)arereportedbymeansofinterrupts.TheCPUinterruptsexecutionoftheuserprogramandprocessesthediagnosticinterruptblock(OB82).Intheuserprogram,youcancallSFC51orSFC59inOB82toobtainmoredetaileddiagnosticinformationfromthemodule.ThediagnosticinformationisconsistentuntilsuchtimeasOB82isexited.WhenOB82isexited,thediagnosticinterruptisacknowledgedonthemodule.ProductInformationontheReferenceManualProgrammableLogicControllersS7-300ModuleDataRelease -TechnicalSpecificationsofthe338;POS-DimensionsBxHxT Voltages,Currents, 24 Reversepolarity no,onlyagainstshieldPermittedpotential 1between(Mconnection)andoftheCPU L+–0.8Outputcurrent Fromthebackplane max.10mAFromtheloadL+(noPowerdissipationofthe EncoderinputsPOSINPUT0to DifferencesignalsforSSI dataandSSIclockDatatransferrateandcable125kHzmax.320mlengthofabsolute 250kHzmax.160encoders(twistedpairand 500kHzmax.60m1MHzmax.20Messagedurationofthe 13bits 21bits SSItransmission125 112s176s208250 56 88s104500 28 44 521 14 22 26Monoflop 16s,32s,48s,64DigitalinputsDI0,DIInputConnectionofatwo–wireBEROS,type2ShieldedlineSignal:–3V...5Signal:11 Signal:2mASignal:9mA0>1:max.3001>0:max.3001kHz60032DiagnosticLEDGroupLEDumage (2Message+monoflop+580Minimumage Message+130 Message+monoflop+450 every450umage (2Message+monofloptime+400Minimumage Message100 Messagemonofloptime+360 every360Synchronousencodervalue EncodervalueattimeTithecurrentPROFIBUSProductInformationontheReferenceManualProgrammableLogicControllersS7-300ModuleDataRelease - IsochroneIsochronetimeoftheInStandardssssInFasts0s0ssumumage (2Message+monoflop+580Minimumage Message+130 Messageduration+monofloptime+450s Max(messagedurationn+param.Monofloptimen)n=0,1,2,Thefollowingrestrictionappliestothemonofloptimeoftheabsolutevalueencoder:(1/baudrate)<Monofloptimeoftheabsolutevalueencoder<64s+2x(1/baudrate)ProductInformationontheReferenceManualProgrammableLogicControllersS7-300ModuleDataRelease -wPwPiemenPage1ofAutomationsystems>SIMATICIndustrialAutomationSystems>PLC>SIMATICS7>S7-300/S7-300F>Functionmodules>FAQBlockSM338PositiondetectionModulenonoperationalafterdownloadofAftertheloadingoftheconfiguration,thepositiondetectionmoduleSM338isparametrized,however,itdoesnolongerwork.Nonewactualpositionisdetected.Thelastdetectedactualpositionremainsunmodified.Whathastobedone?IfaconfiguredSM338(6ES7338-4BC01-0AB0/E-statusE01)withFirmwareversionV1.0.0isloadedwithth

溫馨提示

  • 1. 本站所有資源如無特殊說明,都需要本地電腦安裝OFFICE2007和PDF閱讀器。圖紙軟件為CAD,CAXA,PROE,UG,SolidWorks等.壓縮文件請下載最新的WinRAR軟件解壓。
  • 2. 本站的文檔不包含任何第三方提供的附件圖紙等,如果需要附件,請聯(lián)系上傳者。文件的所有權(quán)益歸上傳用戶所有。
  • 3. 本站RAR壓縮包中若帶圖紙,網(wǎng)頁內(nèi)容里面會有圖紙預覽,若沒有圖紙預覽就沒有圖紙。
  • 4. 未經(jīng)權(quán)益所有人同意不得將文件中的內(nèi)容挪作商業(yè)或盈利用途。
  • 5. 人人文庫網(wǎng)僅提供信息存儲空間,僅對用戶上傳內(nèi)容的表現(xiàn)方式做保護處理,對用戶上傳分享的文檔內(nèi)容本身不做任何修改或編輯,并不能對任何下載內(nèi)容負責。
  • 6. 下載文件中如有侵權(quán)或不適當內(nèi)容,請與我們聯(lián)系,我們立即糾正。
  • 7. 本站不保證下載資源的準確性、安全性和完整性, 同時也不承擔用戶因使用這些下載資源對自己和他人造成任何形式的傷害或損失。

最新文檔

評論

0/150

提交評論