Hi,
We have a horizontal machining center that runs the same part on two different machine tables. So the machine has a shuttle and shuttles one table in, runs the part, shuttles the other table in, runs a like part but different fixture, then starts over.
The problem we have is when someone starts the program over it could pick up the wrong work offsets (we've tried to make the work offsets the same between the two pallets so we wouldn't have to worry about that, etc., but to no avail).
There has to be a way that you could write some macros that would direct the program to the correct work offsets. Using common variables or some other kind of variables, I don't know. Something like IF#101EQ1GOTO900 (2nd set of work offsets). So that could be at the beginning of the program, with work offsets for both parts at the beginning of the program, it would jump over the one it doesn't need. Then I only have to have one program. Then at the bottom of the program it can activate a "counter" or something that switches the 1 to a zero. Does that make any sense or am I crazy? Can anyone give me some direction with this?
Any help is appreciated. Thanks.