![教程cx one omron编程软件4 30 nc2x_第1页](http://file4.renrendoc.com/view/6da5abee89827a23d3b1757453994891/6da5abee89827a23d3b17574539948911.gif)
![教程cx one omron编程软件4 30 nc2x_第2页](http://file4.renrendoc.com/view/6da5abee89827a23d3b1757453994891/6da5abee89827a23d3b17574539948912.gif)
![教程cx one omron编程软件4 30 nc2x_第3页](http://file4.renrendoc.com/view/6da5abee89827a23d3b1757453994891/6da5abee89827a23d3b17574539948913.gif)
![教程cx one omron编程软件4 30 nc2x_第4页](http://file4.renrendoc.com/view/6da5abee89827a23d3b1757453994891/6da5abee89827a23d3b17574539948914.gif)
![教程cx one omron编程软件4 30 nc2x_第5页](http://file4.renrendoc.com/view/6da5abee89827a23d3b1757453994891/6da5abee89827a23d3b17574539948915.gif)
版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领
文档简介
BasicExecutespositioningwiththeabsoluteAlwaysON(P_On) UnitNo. Poson Acceleration Deceleration Shortcut Direction FilePositionControlCPUCJ1*-CPU**HVersion3.0orlaterCJ1M-CPU**Version3.0orlaterVersion5.0orLanguagesinfunctionblockLadderWhen"Start(Execute)"turnsON,thepositioningoperationfortheaxisspecifiedin"UnitNo.(UnitNo)"and"Axis(Axis)"isstartedusingthespecified"Positioncommand(Position)","Speedcommand(Velocity)","Accelerationtime(Acceleration)"and"Decelerationtime(Deceleration)"."Positioningcompleted(Done)"isturnedONwhenthepositioningoperationfortheFBhasbeencompleted.ThisflagwillnotbeturnedONifthepositioningoperationiscanceledbecauseanotheroperationhasbeenstartedfromadifferentinstance,foradecelerationstop,orbecauseanerrorhasoccurred."Busy(Busy)"willbesetwhenthe"Start(Execute)"isturned"Busy(Busy)"willberesetwhenanyof"Positioningcompleted(Done)","Abort(CommandAborted)",or"Error(Error)"isturnedON.Evenifanerroroccurswhentheinputvariableisoutoftherange,etc.,"Busy(Busy)"willbesetforatleastonecycle."Error(Error)"willbeturnedONand"Errorcode(ErrorID)"willbeoutputifanerroroccursfortheFB.ThiswillnotoccurforerrorinotherFBsorotherinstancesoftheFB.Thesestatuses( mandAborted/Error/ErrorID)willberesetwhen"Start(Execute)"turnsOFF.If"Start(Execute)"turnsOFFbeforethepositioningoperationhasbeencompleted,thestatuswillbesetforatleastonecyclewhencorrespondingconditionshaveoccurred.ExecuteBusyONDoneON(Not-Shortest(ReversePositioningisperformedforthetargetpositionviatheshortestExample:Usingtheunlimitedaxiswiththerangeof0to359 S:StartpositionPositioningisperformedbyoperatingintheExample:Usingtheunlimitedaxiswiththerangeof0to359PositioningisperformedbyoperatinginthenegativeExample:Usingtheunlimitedaxiswiththerangeof0to359 PatternofSee S:StartposonT:TargetposonS:StartpositionWhenthecountmodeofthePositionControlUnitissetto“Rotaryaxis”,themovementdirectionisspecifiedin"Shortcutsetting(Shortcut)"and"Directionsetting(Direction)".Asforthecountmode,refertothePositionControlUnitOperation When"Nodirectionspecified"isselectedforthedirectionofmovement,positioningoperationisperformedtowardtheabsolutepositionwiththeorigin(0)ofthepresentcoordinatesystembeingusedasthereferencepoint.Multiple-turnoperationisalsopossible.Whenthemovementdirectionisotherthan"Nodirectionspecified",multiple-turnoperationcannotbeperformed.Example:Usingtheunlimitedaxiswiththerangeof0to Startposition: Startposition: Startposition: Startposition:Targetposition: Targetposition: Targetposition:- Targetposition: Startposition: Startposition:Targetposition: Targetposition:-KindofFBConnecttheENinputtotheAlwaysONFlagThesameinstancecannotbeusedintwoormoreExecutingthisFBduringthepositioningoperationwillcauseaduplicatestart.Thepositioningoperationwillbeperformedtotheabsolutepositionspecifiedin"Positioncommand(Position)"fromthepointatwhichthelastexecutionwasstarted.Referto"Relateds"fordetails.TargetaxescannotbechangedwhenaduplicatestartiecutedbythesameENinputConnecttheENinputtotheAlwaysONFlagIfanotherbitisconnectedtoEN,theFBoutputswillbeheldwhentheconnectedbitturnsThisFBdoesnotrecognizetheexistenceoftheaxisspecifiedin"UnitNo.(UnitNo)"and"Axis(Axis)".Iftheseinputvariableshavenotbeensetcorrectly,theFBmaynotworknormally.AduplicatestartbythesameinstancecannotbeexecuteduntilthePositionControlUnitdetects"Absolutemovementreceived".Intheme,turningON"Start(Execute)"willbeignored.ThisFBusesbitsofthePositionControlUnit.Therefore,donotturnthesebitsONorOFF.Forthesamereason,donotusethesebitsforcoiloutputs(OUTcommands).Refertothe"■Usedbitslist"forthebitsusedbythisTurningthebitAONfromOFFwilloperatetheAxis(Axis1)connectedtothePositionControlUnitwithaunitnumber0usingtheabsolutemovementcommand.UnitNo.: ServoAxisAlwaysON(P_On) Unit Positioning Bit Bit Bit BitPosition BitSpeed Error Acceleration Deceleration Shortcutsetting Noshortcut->+0 Direction Nodirectionspecified-> sCJ-seriesPositionControlUnitOperation(W477)6DirectOperation12-6ErrorCodeInputVariablesData1(ON):FBUnit&0toSpecifytheunit&1toSpecifytheaxis:StartstheabsoluteRefertotheSpecifythetargetposition.Unit:Commandunits.Theeffectiverangevariesdependingonthespecifieddirectionofmovement("ShortcutsettingShortcut"and"DirectionsettingDirection").Shortestroute:+0 Nodirectionspecified: +17Specifythetargetspeed.Unit:Commandunits/s.ChangingthevaluewhilethisFBisinoperationwillchangetheactualoperatingspeed.+0ChangingthevaluewhilethisFBisinoperationwillchangetheactualoperatingaccelerationtime.+0ChangingthevaluewhilethisFBisinoperationwillchangetheactualoperatingdecelerationtime.+0,Specifytheoperationinring+0:Noshortcut(Movementdirectionisspecifiedin“Directionsetting(Direction)”.)+1:Shortcutmovement(Thevalueofsetting(Direction)”is-1,+0,Specifythemovementdirectionwhen“shortcutmovement”isnotselected.+0:Nodirection+1:Positive+2:NegativeData1(ON):FBoperating0(OFF):FBnotstarted/FBendedwithTurnsONwhenthepositioningoperationhasbeenTurnsONwhenFBisintheTurnsONwhenanaborthasoccurredintheFB.Referto"Error(ErrorID)"forTurnsONwhenanerrorhasoccurredintheFB.Referto"Error(ErrorID)"forErrorReturnstheerrorcodewhenanerroroccurredintheFB.Refer"■Errorcodelist"forErrorcodeErrorofThevalueofinputvariableofthisFBisofvalidSetthevalueofinputvariablewithinthememoryareaTheallocationofAxisOperatingMemoryAreaofCommonParameterisoutofallowablesettingrange.CorrecttheallocationofAxisOperatingMemoryAreaofCommonParametersothatitfallswithintheallowablesettingrangeofdata.UnitAnerrorinindividualunithasCheck"Unitcommonerrorcode".IdentifythecausefromtheOperationofthePositionControlUnit.AxisAnerrorinindividualaxishasCheck"Axiserrorcode".IdentifytheerrorcausefromtheOperationofthePositionControlUnitThePositionControlUnitisnotinreadyExecutetheFBafterputtingthePositionUnitinunitreadyInterrupt"Interruptfeedingspecification"oftheDirectOperationCommandMemoryareawasONwhenMoveAbsolute,MoveRelativeorMoveVelocitywasTurnOFF"Interruptfeedingspecification"oftheDirectOperationCommandMemoryarea.Thedecelerationstop(Decelerationstop/SynchronousgroupstopSelection/AllSynchronousUnitstop)ortheErrorcounterresetoutputwaecutedwhiletheFBwasactive.Duetothedecelerationstopcommand,theactiveFBwasinterrupted.Butthisisnormaloperation.Checkthatthedecelerationstopcommandhasstartedcorrectly.ServoTheServounlockwaecutedwhiletheFBwasactive.Duetotheservounlockcommand,theactiveFBwasinterrupted.Butthisisnormaloperation.CheckthattheservounlockcommandhasDuplicatestartofAduplicatestartof"Absolutemovement"interruptedtheactiveFB.(Excludingabsolutemovementbyhigh-speedPTP.)TheoperationcommanddifferentfromtheactiveFBwaecutedandtheactiveFBwasCheckthatotheroperationcommandsstartedDuplicatestartofAduplicatestartof"Relativemovement"interruptedtheactiveFB."SpeedAduplicatestartof"SpeedinterruptedtheactiveFBcommandshavenotbeenExecutetheFBafterputtingtheunitinstatusthatcanacceptcommands."Absolutemovement"oftheOperationCommandMemoryareahasbeenoperatedbytheoutsideoftheDonotoperateeachbitwhichtheactiveFBisoperating,bytheexternalunitoftheFB.DonotuseitonOUTUsedbitsMemoryDataMemoryareaRotationaxisCommandCommandOriginalThisexinsthefunctionofthefunctionItdoesnotprovideinformationofrestrictionsontheuseofUnitsandComponentsorcombinationofthem.Foractualapplications,makesuretoreadtheoperationsoftheapplicableproducts.NC2x011UnlimitedMoveAbsolute_NC2x011_MoveAbsoluteRing_NC2x011_MoveAbsoluteRingONP_On)BOOL)(BOOLENENO(INT)BOOL)号定位完成UnitNoDone(INT)(BOOL)轴忙轴忙(BOOL)(BOOL)启动中止执行命令中止(DINT)(BOOL)位置指令错误位置错误(DINT)(WORD)速度指令错误代码VelocityErrorID(DINT)Acceleration(DINT)Deceleration(INT)(INT)方向设置方向文件名Lib\FBL适用位置控制单元CPUCJ1*CPU**H3.0CJ1MCPU**3.0CP1HCXProgrammer5.0(Done)”ON。如果由于从不同实例开始另一个操作、减速停止或发生错误而取消定位操作,ON(执行)”ON。当“定位完成(DoneCommandAborted)”或“错误(Error)”中的任何一个变为ON时,“忙(Busy)”将被重置。即使在输入变量超出范围等)”ON,并且“错误代码(ErrorID)FBFB OFF,则当相应条件发生时,该状态将被设置至少一个周期。ON执行OFF命令速度ON忙OFFON完成OFF当位置控制单元的计数模式设置为“旋转轴”时,移动方向在“快捷方式设置(Shortcut)”和“方向设置(Direction)”中指定。关于计数模式,请参阅位置控制单元操作1+00+0(未使用。)+11+0(正向)(反向)范围0到359范围0到359范围0到359STS0TS0T0+315+45+315+45+315+45TST0ST0S0+315+45+315+45+31545S:S:S:T:T:T:目标位置。当移动方向选择“无方向指定”时,向为“无方向指定”以外时,无法进行多回转运行。示例:使用范围为0359T0SS0TT0SS0T+315+45315454545+315+405(+315)(+45)45置:+315:+45:+315315:+45:45置:+405T0ST0S+675+45(+315)(+315)起始位置:+45起始位置:+45置:+675目标位置:405FBFBEN输入条件。将ENP_On)。如果另一个位连接到EN,则当连接的位变为OFF时,FBFB不识别“单元号(UnitNo)”和“轴(Axis)”线圈输出(OUT命令)FB使用的位,请参阅“■使用位列表”。AONOFFOFF0的轴(轴1)。单元编号:0CPUNC示例_NC2x011_MoveAbsoluteRing始终开启(P_On)(BOOL)(BOOL)ENENO单元编号(INT)(BOOL)定位完成&0单元编号完成位B轴(INT)(BOOL)忙&1轴忙位C启动(BOOL)(BOOL))中止BitA执行命令中止位Dd位置命令(DINT)(BOOL)错误 位置错误位E速度命令(DINT)(WORD)错误代码 速度
温馨提示
- 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
- 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
- 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
- 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
- 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
- 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
- 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。
最新文档
- 2025-2030年复古风格陶瓷酒具企业制定与实施新质生产力战略研究报告
- 根际微生物在扁蓿豆适应高寒草地中的作用研究
- 2025-2030年抗氧化综合片企业制定与实施新质生产力战略研究报告
- 社交舞会在医疗领域的作用与实践
- 中学生科普书籍故事解读
- 医疗行业手术风险免责告知书
- 关于提升工作效率的重要会议记录
- 快速上手项目管理
- 电子竞技产业与教育融合的未来展望
- 社交电商在礼品行业的应用与创新点
- 水幕喷淋系统的工作原理与应用
- 2024年山东海洋集团有限公司社会招聘考试真题
- 小学生拗九节课件
- 《感冒中医治疗》课件
- 研发费用管理制度内容
- 压力容器设计委托书
- 《眉毛的基本技法》课件
- 人教版PEP小学五年级英语下册全册教案(含计划)
- 2025年幼儿园膳食工作计划
- 药剂学第9版课件:第一章-绪论
- 2023年中考英语话题复习课件 健康与饮食
评论
0/150
提交评论