




版權說明:本文檔由用戶提供并上傳,收益歸屬內容提供方,若內容存在侵權,請進行舉報或認領
文檔簡介
MoveRelative(DINT)Basic AlwaysON(P_On) UnitNo. AxisNo. Position Error Speed Error Acceleration Decelerationtime Model FileLib\FBL\omronlib\PositionController\NCx\NCx021AMoveRelativePositionControlCPUCS1*-CPU**HUnitVersion3.0orlaterCJ1*-CPU**HUnitVersion3.0orlaterCJ1M-CPU**UnitVersion3.0orlaterVersion5.0orLanguagesLadderConditionsforTheBusyOutputisaddedtothe_NCx021_MoveRelative_DINTinthisWhen“Start(Execute)”turnsON,apositioningoperationfortheaxisspecifiedin“UnitNo.(UnitNo)”and“AxisNo.(Axis)”isstartedusingthespecified“Positioncommand(Distance)”,“Speedcommand(Velocity)”,“Accelerationtime(Acceleration)”and“Decelerationtime(Deceleration)”.“Positioningcompleted(Done)”isturnedONwhenthepositioningoperationfortheFBhasbeencompleted.ThisflagwillnotbeturnedONifthepositioningoperationiscanceledbecauseanotheroperationhasbeenstartedfromadifferentinstance,foradecelerationstop,orbecauseanerrorhasoccurred.“Busyflag(Busy)”willbesetwhenthe“Start(Execute)”isturned“Busyflag(Busy)”willberesetwhenanyof“Positioningcompleted(Done)”,“Abort(CommandAborted)”,or“Errorflag(Error)”isturnedON.Evenifanerroroccurswhentheinputvariableisoutoftherange,etc.,“Busyflag(Busy)”willbesetforatleastonecycle.“Errorflag(Error)”willbeturnedONand“Errorcode(ErrorID)”willbeoutputifanerroroccursfortheFB.ThiswillnotoccurforerrorinotherFBsorotherinstancesoftheFB.Thesestatuses( mandAborted/Error/ErrorID)willberesetwhen“Start(Execute)”turnsOFF.If“Start(Execute)”turnsOFFbeforethepositioningoperationhasbeencompleted,thestatuswillbesetforatleastonecyclewhencorrespondingconditionshaveoccurred.ENENOExecuteBusyDoneErrorConnecttheENinputtotheAlwaysONFlagThesameinstancecannotbeusedintwoormoreExecutingthisFBduringthepositioningoperationwillcauseaduplicatestart.Positioningoperationwillbeperformedtotheabsolutepositionspecifiedin“Positioncommand(Distance)”fromthepointatwhichthelastexecutionwasstarted.RefertotheRelatedsfordetails.ENinputConnecttheENinputtotheAlwaysONFlagIfanotherbitisconnectedtoEN,theFBoutputswillbeheldwhentheconnectedbitturnsThisFBdoesnotseewhetherthespecifiedaxisin“UnitNo.(UnitNo)”,“AxisNo.(Axis)”and“Modelselection(Select)”existsornot.TheFBmaynotoperatenormallyiftheseinputinvariablesarenotsetThisFBreferstoBeginningwordsofoperatingdataareas/Operatingdataareadesignationommonparameters.TheFBmaynotoperatenormallyifthesevaluesaredifferentfromoneswhenthepoweristurnedONortheUnitisrestarted.Therefore,donotchangethesecommonparametersafterthepoweristurnedONortheUnitisrestarted.ThisFBusestheRelativeMovementBitintheOperatingMemoryAreas.Therefore,donotturnthesebitsONorOFFuntiltheoperationiscompleted.Forthesamereason,donotusethesebitsforcoiloutputs(OUTcommands).
TurningtheStartTrigger1ONfromOFFwilloperatetheAxis(Xaxis)connectedtothePositionControlUnitwithaunitnumber0usingtheMoveRelativecommand.“Busyflag(Busy)”canbeusedfornottooperatetheFBofthe“Sample2”duringtheFBoperationoftheUnitUnitNo.:XaxisBitBitAlwasONBitBitAlwasONUnitAxisBitPositioncommandSpeedAccelerationDecelerationModelBitBitAlwasONUnitAxisBitPositioncommandSpeedAccelerationDecelerationModel Bit Busy Bit BitD BitE Error Bit Bit Bit Bit Bit Busy Bit BitL BitM Error CS-seriesCS-seriesPositionControlUnitOperationCJ-seriesPositionControlUnitSECTION7DirectOperation11-5ErrorCodeListsVariableTablesInputVariablesVariableData1(ON):FB0(OFF):FBnotUnit(NC1xx)&0to&95(NC2xx)&0to(NC4xx)&0toSpecifytheunitThevalidrangeisdifferentdependingonthevalueof“Modelselection(Select)".Axis(NC1xx)Specifythe(NC2xx)&1,Thevalidrangeisdifferentdependingon(NC4xx)&1tovalueof“Modelselection&1:X&2:Y&3:Z&4:U:StartstherelativeSpecifythetargetUnit:+1toSpecifythetargetspeed.Unit:ppsChangingthevaluewhilethisFBisinwillchangetheactualoperating+0toUnit:+0toSpecifythedecelerationtime.Unit:ms&1,&2,SpecifythemodelofthePositionControl&1:1-axisUnit(NC1xx)&4:4-axisUnitOutputVariableData1(ON):FBoperating0(OFF):FBnotstarted/FBendedwithTurnsONwhenthepositioningoperationhasBusy1(ON)indicatesthattheFBisinItwillbeabortedwhenanyofthefollowingconditionsismetduringoperation.TurnsONwhentheotherMovecommandisdone(DuplicateMove).StoppedwithDecelerationExecutedErrorCounterResetonanoperatingTheRelativeMovementBitischangedbytheotherFBduringRelativeMovementinoperation.ErrorTurnsONwhenanerrorhasoccurredintheErrorReturnstheerrorcodewhenanerrorhasoccurredintheFB.RefertotheRelatedsfordetailsonerrors.Acodeof#0000willbereturnedifanyofthefollowingconditionsissatisfied.InputvariableisoutofTheOperatingdataareadesignationoftheCommon reaisoutofrange.Version exinsthefunctionofthefunctionItdoesnotprovideinformationofrestrictionsontheuseofUnitsandComponentsorcombinationofthem.Foractualapplications,makesuretoreadtheoperation softheapplicableproducts.符號_NCx021A_MoveRelative_DINTAlwaysON(P_On)(BOOL)(BOOL)ENENO(INT)(BOOL)編號定位完成單元編號完成(INT)(BOOL)軸編號Busyflag軸忙(BOOL)(BOOL)啟動中止(DINT)(BOOL)(DINT)(WORDErrorID(DINTAccelerationDINT)Deceleration(INT適用位置控制單元CPUUnitCS1*CPU**HUnitVersion3.0CJ1*CPU**HUnitVersion3.0CJ1MCPU**UnitVersion3.0CP1HCXProgrammerVersion5.0功能塊定義中的語言梯形圖編程功能描述BusyFB中的NCx02_MovRelativ_DIN執行ON()(速度UnitN)”(軸(Acceeratin)ationFB(Doe)”NON“Start)“(Doe)(ComandAbrtedror(Bus)”Busy(如果FB“Erorcoe(ErrrIDFB或FBStartExecue)” ONENOFFONENOOFFONOFFONOFFONOFFONOFFFB的類型Alway ecutiontype.將EN輸入連接到AlwaysONFlag(P_On).同一實例不能在兩個或時,FB輸出將被保持。限制其他。本FB無法判斷“UnitNo.(UnitNo)”、“Ax
溫馨提示
- 1. 本站所有資源如無特殊說明,都需要本地電腦安裝OFFICE2007和PDF閱讀器。圖紙軟件為CAD,CAXA,PROE,UG,SolidWorks等.壓縮文件請下載最新的WinRAR軟件解壓。
- 2. 本站的文檔不包含任何第三方提供的附件圖紙等,如果需要附件,請聯系上傳者。文件的所有權益歸上傳用戶所有。
- 3. 本站RAR壓縮包中若帶圖紙,網頁內容里面會有圖紙預覽,若沒有圖紙預覽就沒有圖紙。
- 4. 未經權益所有人同意不得將文件中的內容挪作商業或盈利用途。
- 5. 人人文庫網僅提供信息存儲空間,僅對用戶上傳內容的表現方式做保護處理,對用戶上傳分享的文檔內容本身不做任何修改或編輯,并不能對任何下載內容負責。
- 6. 下載文件中如有侵權或不適當內容,請與我們聯系,我們立即糾正。
- 7. 本站不保證下載資源的準確性、安全性和完整性, 同時也不承擔用戶因使用這些下載資源對自己和他人造成任何形式的傷害或損失。
最新文檔
- 機電工程考試考點識別與試題及答案
- 項目管理中的敏捷方法介紹試題及答案
- 機電工程預算編制試題及答案
- 文化政策對社會發展的推動作用試題及答案
- 2025年北京昌平區興壽鎮招錄鄉村助理員筆試試卷
- 計算機軟件測試在政策評估中的角色試題及答案
- 預算編制與成本控制試題及答案
- 軟件設計師考試動向與試題及答案揭秘
- 2025年廢舊塑料回收處理技術革新與產業鏈協同發展研究報告
- 軟件設計與用戶體驗的融合及試題答案
- 急性心肌梗死病史簡介及護理查房
- MOOC 臨床生物化學檢驗技術-杭州醫學院 中國大學慕課答案
- 燙傷的護理課件
- JTS-T 200-2023 設計使用年限50年以上港口工程結構設計指南
- 展覽費用預算方案
- 輸血科崗位職責、技術操作規程和管理制度
- 疼痛科護士的非藥物疼痛管理技巧
- 古典歐式風格
- 云南坤天新能源有限公司20萬噸鋰電池負極材料生產項目(一期4萬噸)環評報告
- 火車過橋問題課件-002
- 含氯消毒液配置(泡騰片)
評論
0/150
提交評論