Restrict axis pre-plot

More
06 Jul 2011 20:18 #11194 by alanb
Restrict axis pre-plot was created by alanb
I want my gcode program to rotate a spindle slowly but continuously. I could write
o<repeat1> repeat [some large number of times]
(do one rev of 360 degrees)

but I would like to write

o<while1> while [1]
(do one rev of 360 degrees)
...

When I do this axis quite naturally tries to plot all the points in an infinite loop which causes problems.

So can I tell axis only to preplot the first revs worth of points and ignore the rest? If not how can I run my 1 rev loop running continuously and keep the motion of the spindle smooth between restarts of the gcode program?

Any help appreciated.

Alan

Please Log in or Create an account to join the conversation.

More
06 Jul 2011 21:12 #11195 by dgarrett
Replied by dgarrett on topic Re:Restrict axis pre-plot
linuxcnc.org/docs/html/gui_axis.html


(AXIS,hide)
(AXIS,show)

Please Log in or Create an account to join the conversation.

More
07 Jul 2011 11:14 #11217 by alanb
Replied by alanb on topic Re:Restrict axis pre-plot
Thank you , another case of RTFM but this time more carefully, Im afraid.

Alan

Please Log in or Create an account to join the conversation.

Time to create page: 0.122 seconds
Powered by Kunena Forum