cnc ramps up and down on each line of code

More
06 Sep 2017 20:04 #98598 by Les91
Les91 created the topic: cnc ramps up and down on each line of code
I am making parts that have straight lines and arcs on the outline. My machine ramps up and down for each object. Is there a function to make the machine run continuously around the periphery of the part.
Thks
Les91
More
06 Sep 2017 20:18 #98599 by Todd Zuercher
Todd Zuercher replied the topic: cnc ramps up and down on each line of code
You can do this with O-codes.
linuxcnc.org/docs/html/gcode/o-code.html#ocode:repeat
And within them there are at least 3 different ways to do it, While Loops, If Conditionals, or simple Repeats.

A while loop seems like the obvious choice for this. For example if your code lowers the tool an amount per pass, simply set up your while loop to run until the depth is equal to your desired final depth.
The following user(s) said Thank You: Les91
More
08 Sep 2017 14:52 #98692 by andypugh
andypugh replied the topic: cnc ramps up and down on each line of code

Les91 wrote: My machine ramps up and down for each object.


What "ramps"? The Z-height? The spindle speed? The axis velocity?

Which version of LinuxCNC?
Time to create page: 0.057 seconds
Powered by Kunena Forum