1# Move (轴动)
2# Wp_init(准备点初始点)
3# set(V_D_dx = 0.01)
4# set(V_D_dy = 0.015)
5# set(V_I_xMax = 3)
6# set(V_I_yMax = 3)
7# Loop(无限循环)
8# Move(轴动;相对偏移/坐标系p1/X:V_I_xCnt*V_D_dx/Y:V_I_yCnt*V_D_dy/Z:0)
9# Wp_prepick(取1#产品正上方约50mm)
10# Move(直线运动;速度10%,加速度10%;相对偏移/坐标系p1/X:V_I_xCnt*V_D_dx/Y:V_I_yCnt*V_D_dy/Z:0)
11# Wp_pick(取1#产品点)
12# set(抓手闭合)
13# wait(延时1秒,等待抓稳)
2# Wp_init(准备点初始点)
3# set(V_D_dx = 0.01)
4# set(V_D_dy = 0.015)
5# set(V_I_xMax = 3)
6# set(V_I_yMax = 3)
7# Loop(无限循环)
8# Move(轴动;相对偏移/坐标系p1/X:V_I_xCnt*V_D_dx/Y:V_I_yCnt*V_D_dy/Z:0)
9# Wp_prepick(取1#产品正上方约50mm)
10# Move(直线运动;速度10%,加速度10%;相对偏移/坐标系p1/X:V_I_xCnt*V_D_dx/Y:V_I_yCnt*V_D_dy/Z:0)
11# Wp_pick(取1#产品点)
12# set(抓手闭合)
13# wait(延时1秒,等待抓稳)
14# Move(直线运动;速度30%,加速度30%;相对偏移/坐标系p1/X:V_I_xCnt*V_D_dx/Y:V_I_yCnt*V_D_dy/Z:0)
15# Wp_pick_up(取1#产品正上方约100mm)
16# set(V_I_xCnt = V_I_xCnt + 1)
17# If(V_I_xCnt >= V_I_xMax)
18# set(V_I_xCnt = 0)
19# set(V_I_yCnt = V_I_yCnt + 1)
20# If(V_I_yCnt >= V_I_yMax)
21# set(V_I_yCnt = 0)
22# Message(Work Finished!)
23# Move(轴动)
24# Wp_preput(放料点正上方约100mm)
25# Move(直线运动,速度10%,加速度10%)
26# Wp_put(放料点)
27# set(抓手打开)
28# wait(延时1秒,等待放稳)
29# Move(直线运动,速度50%,加速度50%)
Wp_put_up(放料点正上方约100mm)