How to load G code program that loops forever?
18 Nov 2016 21:44 #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 or Create an account to join the conversation.
18 Nov 2016 21:52 #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 or Create an account to join the conversation.
19 Nov 2016 18:51 #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
The following user(s) said Thank You: Wirewrap
Please Log in or Create an account to join the conversation.
19 Nov 2016 20:01 #83003
by Wirewrap
Replied by Wirewrap on topic How to load G code program that loops forever?
Exactly what I was hoping for!
Please Log in or Create an account to join the conversation.
Time to create page: 0.064 seconds