




下載本文檔
版權(quán)說明:本文檔由用戶提供并上傳,收益歸屬內(nèi)容提供方,若內(nèi)容存在侵權(quán),請(qǐng)進(jìn)行舉報(bào)或認(rèn)領(lǐng)
文檔簡(jiǎn)介
ReadsthevaluetheSmarStartBusySerialPort BusyFlagErrorendFileLib\FBL\omronlib\LaserSensor\ZXL\ZXL208LaserCPUCS1*-CPU**HUnitversion3.0orhigherCJ1*-CPU**HUnitversion3.0orhigherCJ1M-CPU**Unitversion3.0orhigherCP1L(except10pointsVersion5.0orforusageCanbeusedonlyfor1:1(FB"_ZXLN***"canbeusedfor1:NCommunicationsmustbewithinon workandcannotcrosstoanothe CommunicationsSettingsThecommunicationssettingsoftheserialportmustbethesameasthoseoftheLaserThecommunicationssettingsofthespecifiedserialportcanbesettothedefaultLaserSensorsettingsusingtheSetCommunicationsPort(_ZXL600_SetComm)functionblock,andtheotherLaserSensorsettingsusingtheSetSerialGatewayMode(_SCx604_SetPortGATEWAY)functionblock.CPUUnitPLCSetup:SharedSettingsforCommunicationsInstructionsin 5sNumberofretries(default:0)SharedResourcesWhentheStartTriggerturnsON,thelowthresholdvalueisreadfromtheSmarsorconnectedtotheSerialPortspecifiedbytheConnectionunitandSerialportNo.ThethresholddatareadwiththisFBdoesnotludethedecimalpointUsetheReadDecimalPointPositionFB(_ZXL202_ReadDecimalPoint)toreadthedecimalThisFBisprocessedovermultiplecycles.TheBUSYoutputvariablecanbeusedtocheckwhethertheFBisbeingprocessed.OKorNGwillbeturnedONonlyforonecycleafterprocessingiscompleted.UsetheseflagstodetectoftheFBprocessing.TimeStartBusyNormalEnd(OK)orErrorEnd(NG)WhenthisFBisstarted,theoutputparametersarecleared.SeetheoutputparameterswhentheOKflagturnsON.ENinputConnectENtoanORbetweenanupwardlydifferentiatedconditionforthestarttriggerandtheBUSYoutputfromtheFB.AlwaysuseanupwardlydifferentiatedconditionforIftheinputvariablesareoutofrange,theENOFlagwillturnOFFandtheFBwillnotbeThisFBrequiresmultiplecyclestoprocess.AlwaysconnectanOR ludingtheBUSYoutputvariabletotheENinputvariabletoensurethattheFBisprocessedtocompletion(seeSymbol).DonotturntheBUSYoutputvariableONorOFFoutsidetheUpto3secondsmayberequiredforthisFBtobecompleted(i.e.,fromENturningONuntiltheOKorNGFlagturnsON).ASmarsorisconnected1:1toserialport1onaSerialCommunicationsBoardWhenbitAturnsON,thevalueofthelowthresholdoftheSmarsorisstoredinD0andD1.Ifthestoredvalueis&30000andthedecimalpointpositionis&1,theactualvalueis3.0000.Connectionunit:SCBSerialPortNo.: 1:1BitProcessingtoreaddecimalpointBit Unit BusyBit BitSerialPort Normal BitD Bit sZX-L-NSeriesSmar sorsLaserTypeUser’s(Z197)ZXSeriesSmar sorsOperation(Z157)ReadHighThresholdInputVariables1(ON):FB0(OFF):FBnotUnitAtSpecifytheUnitandtheserialOnlyserialport2ofCP1H/CP1LM-typeCPUunitispossibletousethisFB.ConnectedtoCPUUnit Serialport Not(CP1H/CP1L-M:SerialPort2CP1L-L14/20:SerialPort1)ConnectedtoSerialCommunicationBoard(SCB)Unitselection SerialportNo. &1:SerialPort1&2:SerialPortConnectedtoSerialCommunicationUnit SCUUnitNo.(&0toSerialportNo. &1:SerialPort1&2:SerialPortSerialPort&1toOutput(Maybe1(ON):FBprocessed0(OFF):FBnotprocessedorendedinanBusyAutomaticallyturnsOFFwhenprocessingisTurnsONforonecyclewhenprocessingendsErrorTurnsONforonecyclewhenprocessingendsinan19999OutputsthevalueofthelowInternalInternalvariablesarenotoutputfromtheIftheNGFlagfromtheFBturnsON,thefollowinginternalvariablescanbemonitoredtoobtaininformationontheErrorTheresultsinformationfromtheSmarsorisoutputtotheErrorCode.SeeErrorCodeAsettingisorrect.RefertotheSmarsorOperationforsettingerrorconditionsforthresholds,hystereses,andotherparameters.TheSensorisnotinRUNThisisareferencethatexinsthefunctionblockItdoesnotexintheoperationallimitationsofUnits,components,orcombinationsofUnitsandcomponents.AlwaysreadandunderstandtheOperationsforthesystem’sUnitsandothercomponentsbeforeusingthem.符號(hào)開始觸發(fā)_ZXL208_ReadLowThreshold(BOOL)(BOOL)↑ENENO單元選擇(INT)(BOOL)BusyFlagBUSYBusyFlag(INTBOOL)PortNoOK(BOOL)NGError結(jié)束(DINT)閾值閾值文件名Lib\FBL\omronlib\LaserSensor\ZXL\_ZXL208_ReadLowThreshold10.cxf適用型號(hào)激光傳感器ZX-LDA-NCPUCS1*-CPU**H3.0CJ1*-CPU**H3.0CJ1M-CPU**單元版本3.0或更高版本CP1HCP1L(10點(diǎn)CPU除外)串行通信單元/板CS1W-SCU21-V1、CJ1W-SCU21-V1、CJ1W-SCU41-V1單元版本1.2或更高版本CS1W-SCB21-V1和CS1W-SCB41-V1單元版本1.2或更高版本CX-Programmer版本5.0或更高版本使用條件外部連接。只能用于1:1連接。(FB“_ZXLN***”可用于1:N連接)。通信必須在一個(gè)網(wǎng)絡(luò)內(nèi)進(jìn)行,不能跨越另一個(gè)網(wǎng)絡(luò)。通訊設(shè)置串口通訊設(shè)置必須與激光傳感器的通訊設(shè)置一致。。可以使用SetCommunicationsPort(_ZXL600_SetComm)功能塊將指定串行端口的通信設(shè)置設(shè)置為默認(rèn)激光傳感器設(shè)置,并使用SetSerialGatewayMode(_SCx604_SetPortGATEWAY)功能塊設(shè)置其他激光傳感器設(shè)置。CPU單元設(shè)置PLC設(shè)置:FB中通信指令的共享設(shè)置。通信指令響應(yīng)超時(shí)時(shí)間(默認(rèn):2秒)建議5秒。重試次數(shù)(默認(rèn)值:0)共享資源。通信端口( FBFB(_ZXL202_ReadDecimalPoint)讀取小數(shù)點(diǎn)。FB。該FB經(jīng)過多個(gè)周期處理。BUSY輸出變量可用于檢查預(yù)防措施FB是否正在處理。。OKONOFFONOFF(OK)ON(NG)OFFFB出參數(shù)將被清除。OK標(biāo)志置ON時(shí)查看輸出參數(shù)。ENENFBBUSYORENENOOFFFB以確保FB處理完成(請(qǐng)參見符號(hào))。。請(qǐng)勿在FB外部打開或關(guān)閉BUSY輸出變量。_ZXL208_ReadLowThreshold其他FB3(ENONOKNGON)1:1(SCB)1AOND0D1&30000,小數(shù)點(diǎn)位置為&1,則實(shí)際值3.0000。連接單元:SCB(#BBBB)串行端口號(hào):1SCBCPUSCU1:1連接智能傳感器BitA處理讀取小數(shù)點(diǎn)位置BitB_ZXL208_ReadLowThreshold(BOOL)(BOOL)ENENO(INT)BOOL)BitCBBBBBUSYBitC(INT(BOOL)&1PortNoOKBitDBOOL)NGBitEDINT)ZX-L-NZ197)ZX(Z157)相關(guān)FB讀取小數(shù)點(diǎn)FB(_ZXL202_ReadDecimalPoint)讀取高閾值_ZXL208_ReadLowThresholdENENBOOL1(ON):FB(OFF):FBUnitSelectINT&0CP1H/CP1LMCPU端口2可以使用該FB。。連接到CPU單元單元選擇#FFFF串行端口號(hào)未訪問。(CP1H/CP1L-M:串行端口2CP1L-L
溫馨提示
- 1. 本站所有資源如無特殊說明,都需要本地電腦安裝OFFICE2007和PDF閱讀器。圖紙軟件為CAD,CAXA,PROE,UG,SolidWorks等.壓縮文件請(qǐng)下載最新的WinRAR軟件解壓。
- 2. 本站的文檔不包含任何第三方提供的附件圖紙等,如果需要附件,請(qǐng)聯(lián)系上傳者。文件的所有權(quán)益歸上傳用戶所有。
- 3. 本站RAR壓縮包中若帶圖紙,網(wǎng)頁內(nèi)容里面會(huì)有圖紙預(yù)覽,若沒有圖紙預(yù)覽就沒有圖紙。
- 4. 未經(jīng)權(quán)益所有人同意不得將文件中的內(nèi)容挪作商業(yè)或盈利用途。
- 5. 人人文庫網(wǎng)僅提供信息存儲(chǔ)空間,僅對(duì)用戶上傳內(nèi)容的表現(xiàn)方式做保護(hù)處理,對(duì)用戶上傳分享的文檔內(nèi)容本身不做任何修改或編輯,并不能對(duì)任何下載內(nèi)容負(fù)責(zé)。
- 6. 下載文件中如有侵權(quán)或不適當(dāng)內(nèi)容,請(qǐng)與我們聯(lián)系,我們立即糾正。
- 7. 本站不保證下載資源的準(zhǔn)確性、安全性和完整性, 同時(shí)也不承擔(dān)用戶因使用這些下載資源對(duì)自己和他人造成任何形式的傷害或損失。
最新文檔
- 合同范本 餐飲店鋪轉(zhuǎn)租合同6篇
- 2025年度口腔醫(yī)療中心護(hù)士人員招聘與職業(yè)發(fā)展合同
- 2025年度足療店員工健康管理及職業(yè)發(fā)展合同
- 美術(shù)基礎(chǔ)模擬習(xí)題及參考答案
- 電腦電療儀行業(yè)市場(chǎng)發(fā)展及發(fā)展趨勢(shì)與投資戰(zhàn)略研究報(bào)告
- 收費(fèi)委托代理協(xié)議書6篇
- 學(xué)習(xí)活動(dòng)(一)認(rèn)識(shí)多媒介-2023-2024學(xué)年高一語文下學(xué)期同步備課教學(xué)設(shè)計(jì)(統(tǒng)編版必修下冊(cè))
- 第六章 計(jì)數(shù)原理 小結(jié)教學(xué)設(shè)計(jì)-2024-2025學(xué)年高二下學(xué)期數(shù)學(xué)人教A版(2019)選擇性必修第三冊(cè)
- 種蛋孵化器出租行業(yè)發(fā)展方向及匹配能力建設(shè)研究報(bào)告
- 烹飪?cè)现R(shí)模擬試題(附答案)
- 湘教版三年級(jí)美術(shù)下冊(cè)教案全冊(cè)
- (高清版)DB15∕T 3585-2024 高標(biāo)準(zhǔn)農(nóng)田施工質(zhì)量評(píng)定規(guī)程
- 試油(氣)HSE作業(yè)指導(dǎo)書
- 重癥監(jiān)護(hù)-ICU的設(shè)置、管理與常用監(jiān)測(cè)技術(shù)
- 法律顧問服務(wù)投標(biāo)方案(完整技術(shù)標(biāo))
- 中醫(yī)藥三方合作協(xié)議書范本
- 2024年《動(dòng)漫藝術(shù)概論》自考復(fù)習(xí)題庫(附答案)
- 2024年職業(yè)技能“大數(shù)據(jù)考試”專業(yè)技術(shù)人員繼續(xù)教育考試題庫與答案
- 慢病報(bào)卡系統(tǒng)使用流程圖
- 2024年遼寧軌道交通職業(yè)學(xué)院?jiǎn)握新殬I(yè)適應(yīng)性測(cè)試題庫含答案
- 小升初數(shù)學(xué)總復(fù)習(xí)專題訓(xùn)練:平行四邊形的面積與梯形的面積
評(píng)論
0/150
提交評(píng)論