bukwerm
Cast Iron
- Joined
- Nov 6, 2013
- Location
- Minneapolis MN
How do you offset a program to run multiple parts out of one blank? I have a part about 1" thick x 3" dia My spindle bore is only 2" thru so I can't barfeed. Therefore, to minimize drop and change out time I like to run multiple parts per blank.
Machine is a Doosan Lynx 220LM. Control is a Fanuc 0i-tc. I've done it two ways, and both have issues.
My first solution is with a while loop that shifts me from G54 to G55 to G56. I determine which offset it starts at by changing a variable in the beginning. (see example 1) The problem is that if for some reason I ran it with a short blank, say I had a leftover piece of material from another job, and then load a full blank without changing the program, it will crash.
The second is with a master and subprogram. (example 2) The master sets the work offset and the sub contains the geometry. The problem here is with restarting on a specific tool. If some reason I have to hit reset mid cycle then to finish out the part I have to:
1. Go into the sub
2. Change my M99 to M30
3. Run the sub from the first incomplete tool
4. Change the M30 to M99
5. Return to master program
6. Run master from next offset
I'd like to find a solution that would allow me to easily select which tool and which part to start on and automatically rewind to the first tool and first part at M30.
Would G52 be applicable here? (I've never used it)
Clear as mud?
btw I didn't put the examples right in this post so it wouldn't be a mile long(er). I can if the attachment isn't working for someone.
Machine is a Doosan Lynx 220LM. Control is a Fanuc 0i-tc. I've done it two ways, and both have issues.
My first solution is with a while loop that shifts me from G54 to G55 to G56. I determine which offset it starts at by changing a variable in the beginning. (see example 1) The problem is that if for some reason I ran it with a short blank, say I had a leftover piece of material from another job, and then load a full blank without changing the program, it will crash.
The second is with a master and subprogram. (example 2) The master sets the work offset and the sub contains the geometry. The problem here is with restarting on a specific tool. If some reason I have to hit reset mid cycle then to finish out the part I have to:
1. Go into the sub
2. Change my M99 to M30
3. Run the sub from the first incomplete tool
4. Change the M30 to M99
5. Return to master program
6. Run master from next offset
I'd like to find a solution that would allow me to easily select which tool and which part to start on and automatically rewind to the first tool and first part at M30.
Would G52 be applicable here? (I've never used it)
Clear as mud?
btw I didn't put the examples right in this post so it wouldn't be a mile long(er). I can if the attachment isn't working for someone.