1.以上为使用ABB力控语句的过程
import ant; word-wrap: break-word !ant;">PROC press1() import
import ant; word-wrap: break-word !ant;"> import
import ant; word-wrap: break-word !ant;">PERS loaddata TestLoad:=[0.001,[0,0,0.001],[1,0,0,0],0,0,0]; import
import ant; word-wrap: break-word !ant;"> import
import ant; word-wrap: break-word !ant;">! Identify the load using the sensor import
import ant; word-wrap: break-word !ant;">TestLoad:=FCLoadID(); import
import ant; word-wrap: break-word !ant;">MoveJ offs(B,0,0,2) , v100, fine, tool0; import
import ant; word-wrap: break-word !ant;">! 移动接近接触的位置,例如途中的A位置 import
import ant; word-wrap: break-word !ant;">! start 2mm above contactpoint (图中的A位置) import
import ant; word-wrap: break-word !ant;">FCCalib TestLoad; import
import ant; word-wrap: break-word !ant;">! 校准Sensor import
import ant; word-wrap: break-word !ant;">FCPress1LStart C, v100, \Fz:=60, 50, z30, myTool; import
import ant; word-wrap: break-word !ant;">! Approach surface and start move to robtarget C at 50% of 60 N i.e 30 N import
import ant; word-wrap: break-word !ant;">! 图中A和C为编程点,机器人实际会从A开始往接触面移动,直到达到设定力(60N)的50%(以上语句设置)后开始往C移动 import
import ant; word-wrap: break-word !ant;">FCPressL D1,v100,50,z30,myTool; import
import ant; word-wrap: break-word !ant;">! 从C往D方向直线移动,保持工具Z方向的力为50N import
import ant; word-wrap: break-word !ant;">FCPressL D2,v100,70,z30,myTool; import
import ant; word-wrap: break-word !ant;">! Move Linear from D1 to D2 with a Force of 70 N in the import
import ant; word-wrap: break-word !ant;">! z-direction import
import ant; word-wrap: break-word !ant;">FCPressEnd E, v100,myTool; import
import ant; word-wrap: break-word !ant;">! Leave surface and move to robtarget E, Force control import
import ant; word-wrap: break-word !ant;">! is disabled after this instruction import
import ant; word-wrap: break-word !ant;">ENDPROC import
import ant; word-wrap: break-word !ant;">FCPress1LStart B, v100, 70, z30 \UseSpdFFW, tool1; import
import ant; word-wrap: break-word !ant;">FCPressL C, v100, 0, z30, tool1; import
import ant; word-wrap: break-word !ant;">FCPressL D, v100, 0, z30, tool1; import
import ant; word-wrap: break-word !ant;">FCPressL E, v100, 70, z30, tool1; import 本文摘自:ABB机器人实战技巧微信公众号 时间:2021-06-01