有时候为了程序或者工艺要求需要机器人1.3.5.7.9.11.13上平移,2.4.6.8.10.12下移
#相机拍照点位赋值从49号点位到67,再从68号点位到50
For B[1] = 1,B[1]<21,Step[1]
IF B[1]>=1 AND B[1]<=10
B[49] = 49;
pPhoto_pos = p[B[49]+(B[1]-1)*2];
Movl pPhoto_pos,V[100],Fine,Tool[0];
Endif;
IF B[1]>=11 AND B[1]<=20
B[50] = 68;
pPhoto_pos = p[B[50]-(B[1]-11)*2];
Movl pPhoto_pos,V[100],Fine,Tool[0];
Endif;
EndFor;
