|
Post by ksachse on Oct 22, 2018 18:25:06 GMT
I could not find a previous discussion of this, so forgive me if it has already been discussed. I am looking to repeat a file up to 5 times with each run offset from the last on the x-axis. This is just to make it faster than setting up each run individually. I suspect I could manually edit the file to duplicate all the g-code into sections, with each section using a different coordinate system (g54, g55, etc). But I was wondering if this is a common need that has an even simpler method? Thanks.
|
|
|
Post by southernock18 on Oct 22, 2018 19:31:22 GMT
I dont know the software you use but you have a few choices. 1) see if your software and controller supports cutter compensation, g41. This will allow you to put in an offset at the control and just rerun the parts. 2) go in your software and put the offset there and keep reposting. If you have have it set to cut at 0, then put in a -.002 or whatever you need and repost it however many times as needed
|
|
|
Post by Derek the Admin on Oct 22, 2018 20:08:55 GMT
Grbl doesn't support G41, but I wouldn't use that method if it did.
Instead of setting up successful work coordinate systems to the left, you could also use G92.
For instance, if you were in the G54 system and you wanted to repeat the same thing, just 50mm to the right, it would look like this:
G54 G0 Z10 G0 X0 Y0 (example movement) G1 Z-5 (Example Movement G1 X20 Y20 (Example Movement) G1 X20 Y0 (Example Movement) G0 Z10 (Example Movement) G0 X50 (Move over 50mm)
G92 X0 (Call this position X0) G0 X0 Y0 (example movement) G1 Z-5 (Example Movement G1 X20 Y20 (Example Movement) G1 X20 Y0 (Example Movement) G0 Z10 (Example Movement) G0 X50 (Move over 50mm)
G92 X0 (Call this position X0) G0 X0 Y0 (example movement) G1 Z-5 (Example Movement G1 X20 Y20 (Example Movement) G1 X20 Y0 (Example Movement) G0 Z10 (Example Movement) G0 X50 (Move over 50mm)
G92 X0 (Call this position X0) G0 X0 Y0 (example movement) G1 Z-5 (Example Movement G1 X20 Y20 (Example Movement) G1 X20 Y0 (Example Movement) G0 Z10 (Example Movement) G0 X50 (Move over 50mm)
G92 X0 (Call this position X0) G0 X0 Y0 (example movement) G1 Z-5 (Example Movement G1 X20 Y20 (Example Movement) G1 X20 Y0 (Example Movement) G0 Z10 (Example Movement)
G92.1 (Cancel G92 offsets)
Note... don't take the example movements to mean anything. It's just junk I wrote to make the point.
|
|
|
Post by ksachse on Oct 23, 2018 15:29:53 GMT
Thank you! I will give that a try.
|
|