Gcode help
MR MOTION
Posts: 1
Hello all
I need some help.
I have a small PC board that Im CNC I have made these boards before but one at a time.
Would like to know how I can set them up to CNC three or four at one time.
I need the boards to stay on the X axis and repeat out several times.
I have taken the original G code and took out a lot of the center so the code is not very long.
It would be greatly appreciated if I could solve this problem.
It will allow me to set up a Blank PC board and cut 3 to 4 boards at one time.
G20
G90
G00 Z0.5000
G00 X0 Y0
M03
G04 P3.000000
G00 Z0.0200
G00 X1.2023 Y-0.4011
G01 Z-0.0050 F10.00
G01 X1.0657 Y-0.4011
G01 X1.0614 Y-0.3999
G01 X1.1499 Y-1.0129
G01 X1.1499 Y-0.9626
(File Footer)
G00 Z0.0200
G00 Z0.5000
M05
M02:frown:
I need some help.
I have a small PC board that Im CNC I have made these boards before but one at a time.
Would like to know how I can set them up to CNC three or four at one time.
I need the boards to stay on the X axis and repeat out several times.
I have taken the original G code and took out a lot of the center so the code is not very long.
It would be greatly appreciated if I could solve this problem.
It will allow me to set up a Blank PC board and cut 3 to 4 boards at one time.
G20
G90
G00 Z0.5000
G00 X0 Y0
M03
G04 P3.000000
G00 Z0.0200
G00 X1.2023 Y-0.4011
G01 Z-0.0050 F10.00
G01 X1.0657 Y-0.4011
G01 X1.0614 Y-0.3999
G01 X1.1499 Y-1.0129
G01 X1.1499 Y-0.9626
(File Footer)
G00 Z0.0200
G00 Z0.5000
M05
M02:frown:
Comments
-Phil
http://forums.parallax.com/showthread.php/134682-Forum-Guidelines
It seems that Phil already answered the question.
After the first board is done, move to a new location, insert G92 to set the new origin, then run the same code from there.
You will have to calculate the new origin based on the board size.
You could also try drilling several boards at once but be sure to lower the drill feed rate so you don't break the drill. Be sure to check that all the boards clear the drill head and that the drill is long enough.