cnc ramps up and down on each line of code
- Les91
- Offline
- New Member
-
Less
More
- Posts: 6
- Thank you received: 0
06 Sep 2017 20:04 #98598
by Les91
cnc ramps up and down on each line of code was created by Les91
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
Thks
Les91
Please Log in or Create an account to join the conversation.
- Todd Zuercher
-
- Offline
- Platinum Member
-
Less
More
- Posts: 4998
- Thank you received: 1459
06 Sep 2017 20:18 #98599
by Todd Zuercher
Replied by Todd Zuercher on 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.
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
Please Log in or Create an account to join the conversation.
- andypugh
-
- Offline
- Moderator
-
Less
More
- Posts: 23323
- Thank you received: 4948
08 Sep 2017 14:52 #98692
by andypugh
What "ramps"? The Z-height? The spindle speed? The axis velocity?
Which version of LinuxCNC?
Replied by andypugh on topic cnc ramps up and down on each line of code
My machine ramps up and down for each object.
What "ramps"? The Z-height? The spindle speed? The axis velocity?
Which version of LinuxCNC?
Please Log in or Create an account to join the conversation.
Time to create page: 0.073 seconds