- Posts: 60
- Thank you received: 0
How to load G code program that loops forever?
9 years 11 months ago #82975
by Wirewrap
How to load G code program that loops forever? was created 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?
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 to join the conversation.
9 years 11 months ago #82976
by jtc
Replied by jtc on topic How to load G code program that loops forever?
you can inhibit the preview of gcode by using "(AXIS,hide)"
www.linuxcnc.org/docs/html/gui/axis.html#_axis_preview_control
www.linuxcnc.org/docs/html/gui/axis.html#_axis_preview_control
Please Log in to join the conversation.
9 years 11 months ago #82999
by andypugh
Replied by andypugh on topic How to load G code program that loops forever?
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
O100 DO
< gcode here >
O100 WHILE [#<_task> EQ 1]
Which will run the Gcode only once in preview
Please Log in to join the conversation.
Time to create page: 0.075 seconds
