Hey everybody, Matt here.
Is it possible to create a new BASE under program control (as opposed to teaching a BASE using the SmartPad)?
Here's why I ask.
I have a pattern of 1" diameter tubes that need to be welded. All of these tubes are a known locations relative to each other. If each part with all of these tubes were located in exactly the same spot each time, I know I could teach a BASE for the part and know I could move to each tube accurately for welding. The issue is that these tubes are not always exactly in the same spot. It is not possible (at this time) to change this. These tubes are at most .250" away from where they are supposed to be. For welding, I need to know where these tubes are more accurately.
So here's what I'd like to do. Under program control, I'd like to create a new BASE using the 3-point method. Here are the steps:
1) Find the exact center of 2 of the tubes (which are in line with each other). (I have a laser sensor I can use.)
2) Use these 2 points to create the origin and X-axis points for the new BASE.
3) Calculate an appropriate 3rd point to define the XY plane for the new BASE.
4) Create the BASE.
5) Use known linear offsets from the origin of this BASE to get to each tube.
Is this possible?
I see the BASE_DATA[ ] in the $config.dat file. It looks like these numbers represent the World co-ordinates for the origin of a BASE.
Thanks