Hello guys!
My ROBOT: FANUC 100iC Arc Mate
Can anybody tell me is the way to replace one axis from some point to another point automatically in program?. For example if i have the point with position data P[1] Positions: X= 100, Y=100, Z=100 and PR[32] positions X= 100, Y=100, Z=200 and i want a P[1] will take data from PR[32] Z axis to yourself and overwrite.
Now i have it done like this but i want to do it simpler and faster and i don't want to use PR's as welding points, just normal points
30:L P[36] 100mm/sec FINE ACC60 ;
31: Search Start [4] PR[32] ;
32:L P[36] 500mm/sec CNT20 ACC60 Search[-Z] ;
33: Search End ;
34: PR[50]=LPOS ;
35: PR[50]=LPOS-LPOS ;
36: PR[GP1:50,1]=2085.32 ;
37: PR[GP1:50,2]=(-1277) ;
38: PR[GP1:50,3]=PR[GP1:32,3]+1 ;
39: PR[GP1:50,4]=5 ;
40: PR[GP1:50,5]=40 ;
41: PR[GP1:50,6]=90 ;
42: PR[GP1:50,7]=1850 ;
43: PR[51]=LPOS ;
44: PR[51]=LPOS-LPOS ;
45: PR[GP1:51,1]=2047.9 ;
46: PR[GP1:51,2]=(-1277) ;
47: PR[GP1:51,3]=PR[GP1:32,3]+1 ;
48: PR[GP1:51,4]=5 ;
49: PR[GP1:51,5]=40 ;
50: PR[GP1:51,6]=90 ;
51: PR[GP1:51,7]=1850 ;
52:J P[38] 50% CNT100 ;
53: !Y- ;
54:L PR[50] 300mm/sec FINE
: Weld Start[5,1] ACC60 ;
55:L PR[51] WELD_SPEED FINE
: Weld End[5,1] ;