How to load G code program that loops forever?

More
18 Nov 2016 21:44 #82975 by Wirewrap
I would like to run a simple but infinitely looping test program in Axis.
It seems that the axis simulated display will never finish in this case so I can't start execution.
Is there a way to load the G code program and not have to wait for the display to finish?

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

More
18 Nov 2016 21:52 #82976 by jtc
you can inhibit the preview of gcode by using "(AXIS,hide)"


www.linuxcnc.org/docs/html/gui/axis.html#_axis_preview_control

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

More
19 Nov 2016 18:51 #82999 by andypugh
I think that you can also wrap the repeat in a

O100 DO
< gcode here >
O100 WHILE [#<_task> EQ 1]

Which will run the Gcode only once in preview
The following user(s) said Thank You: Wirewrap

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

More
19 Nov 2016 20:01 #83003 by Wirewrap
Exactly what I was hoping for!

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

Time to create page: 0.111 seconds
Powered by Kunena Forum