Hi All,
I'm looking for a way to locate a tube in a tube sheet for welding using touch sensing. Currently we are using vision to locate the weld joints but have always struggled with light and all of the other issues that go along with vision. We do have it working (ok) but still have issues from time to time.
I am wondering if anyone may have any suggestions on how I could ID touch sense each tube to find the center and then use incremental positioning to the weld joint from the center using only one touch sense schedule. I am presently moving to the center of each tube using X,Y coordinates from PR (see code below)
I would like to use one tube to set the master flag and then somehow use that master at each tube location. I have been unable to come up with anything that works. Hopefully I have explained it well enough. Below is the sub-routine I am using at each tube weld. Thanks!
1: PR[10,1:TUBE OFFSETS]=0 ;
2: PR[10,2:TUBE OFFSETS]=0 ;
3: PR[10,1:TUBE OFFSETS]=R[10:X OFFSET] ;
4: PR[10,2:TUBE OFFSETS]=R[11:Y OFFSET] ;
5:L PR[4:ZPOS_MAG_SIDE1] 1000mm/sec FINE Offset,PR[10:TUBE OFFSETS] VOFFSET,VR[7] ;
6: ;
7:L PR[16:WELD START Y] 400.0inch/min FINE INC ;
8:L PR[11:WELD START Z] 20.0inch/min FINE INC ;
9: Weld Start[5,1] ;
10:C PR[12:QUAD 1]
: PR[13:QUAD 2] WELD_SPEED CNT100 INC ;
11:C PR[14:QUAD 3]
: PR[15:QUAD 4] WELD_SPEED CNT100 INC ;
13: Weld End[5,2] ;
14:J PR[17:WELD END Z] 50% FINE INC