- 1、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。。
- 2、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载。
- 3、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
- 4、该文档为VIP文档,如果想要下载,成为VIP会员后,下载免费。
- 5、成为VIP后,下载本文档将扣除1次下载权益。下载后,不支持退款、换文档。如有疑问请联系我们。
- 6、成为VIP后,您将拥有八大权益,权益包括:VIP文档下载权益、阅读免打扰、文档格式转换、高级专利检索、专属身份标志、高级客服、多端互通、版权登记。
- 7、VIP文档为合作方或网友上传,每下载1次, 网站将根据用户上传文档的质量评分、类型等,对文档贡献者给予高额补贴、流量扶持。如果你也想贡献VIP文档。上传文档
查看更多
库卡高级编程
01/2006 * interrupt_resume_en.ppt BRAKE BRAKE F Brakes and stops the robot motion Brakes and stops the robot motion with max. values DEF INT4 ( ) ... BRAKE F $OUT... END BRAKE指令使机器人停止运动。但 一旦中断程序结束,运动就会恢复。 BRAKE 指令只能在中断程序中执行 中断 – BRAKE 指令 01/2006 * interrupt_resume_en.ppt RESUME 取消在本中断程序的优先级之下的中断程序和子程序。 可能导致机器人的运动被终止。 RESUME 指令只能在中断程序中执行 当 RESUME 生效时,advance run 指针不能在产生中断的行,而是至少低一行。 中断—取消中断 01/2006 * interrupt_resume_en.ppt 取消中断的前提 为了能够取消一个运动,下列条件必须先得到满足 在中断程序中使用“Brake / Resume” 运动必须比中断声明至少低一个优先级 advance run指针不能和中断声明在同一优先级 01/2006 * interrupt_resume_en.ppt DEF Prog1 ( ) INI ... INTERRUPT DECL 21 WHEN $IN[1] DO Found ( ) ... PTP HOME ... SEARCH ( ) $ADVANCE=3 ... END Example: DEF Search ( ) INTERRUPT ON 21 LIN Strtpt LIN Endpt $ADVANCE = 0 ... END; of search DEF Found ( ) INTERRUPT OFF 21 BRAKE LIN $POS_INT ;pick up part ... RESUME; cancel END RESUME immediately cancels both subprograms and jumps to the main program Interrupt – Example: Canceling interrupt routines 01/2006 * interrupt_resume_en.ppt Practical exercise Interrupt handling Canceling a motion * Interrupt – Stopping motions If it is necessary, in the event of an interrupt, to be able to stop robot motions that are already being executed, the BRAKE statement is used in the interrupt program. Programming without BRAKE parameters causes the motion to be braked using the programmed path or axis acceleration values. The reaction is the same as that when the STOP key is pressed. The robot does not leave the programmed motion path. Using the instruction BRAKE F (brake fast) a shorter braking distance is achieved. The robot stops in the shortest time possible while remaining true to the path. The BRAKE instruction must only be placed in an interrupt program. In other programs it leads to an error-induced stop. The BRAKE instruction does not have to come straight after the call, but can be situated at any position in the interrupt program. The effect it has depends on whether or not a motio
文档评论(0)