Hi you out there,
We have a Johnford machining centre with a Fanuc 0m control, late eighties. All parts we make, mostly battery adapters for specialized chargers, are made in POM (delrin). To avoid clamping and unclamping all the time we have developed a method where we start machining a large number of small pieces from a solid block on a vacuum table. In the end we fix a thick MDF board to the machine table an fix it with torx headed wood screws in all finished parts to be (often + 200 screws). the program is repeated 5 to 200 times across the plastic block and in the end the machine unscrews the ready parts from the MDF board in a thread cycle with a torx key. Since I've learned the programming mostly by myself I wonder if there is a smarter way to step the program than the one I'm using. It looks appr like this:
Main program:
01000
definition of G54-G59
M6 T1
G90 G54
M98 P200001 (repeat O1 20 times, see below)
G90 G92 X580 (N-1*stepdistX+final position ex.19*30+10=580 resetting coord system)
G90 G55
M98 P200001
G90 G92 X580
G90 G56
M98 P200001
G90 G92 X580
G90 G57
M98 P200001
G90 G92 X580
all the tools programs
M30
SUBPROGRAM:
O1
milling g-code.....
G01 X10 (final position) Y20
G92X-20 (final position-stepdistX 10-30=-20 ; moving program to the next step of repeat stepdist=30)
Hope you can understand the function. Is there a better way where I don't have to keep track of the coordinate system change all the way and back.
Best regards Pommac