Variable input during automatic operation

More
23 Mar 2026 16:36 #344641 by GeneRF
Is there any practical method to input a variable while a g-code program is running? For example Pause, Request input, Resume, and then use that input.

Currently using 2.8.4 with the Axis interface.

I know multiple ways to change variables when a program is not running, but I have never seen any method for temporarily modifying a running program.

This would allow a single program to process workpieces with different sizes, for example.

I understand this could be dangerous, stupid, or worse. Not planning to be a pioneer.

I searched the forum and the documentation, and I could not find any mention of this topic.

Gene

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

More
23 Mar 2026 18:42 #344644 by Vegko
Replied by Vegko on topic Variable input during automatic operation
Create a (physical)button, so you can read pin signal, and if 0 do... if 1 do...?
There is no parameter screen where you can watch/change parameters, would be nice do.

Could you elaborate what you want to change while milling?
Only thing i could think of is change off depth?

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

More
23 Mar 2026 19:56 #344646 by 3404gerber
Replied by 3404gerber on topic Variable input during automatic operation
Found this post,  sounds similar to what you need.

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

More
23 Mar 2026 19:59 #344647 by GeneRF
Replied by GeneRF on topic Variable input during automatic operation
As I said, change of workpiece length, or as you say, change of depth.

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

More
More
24 Mar 2026 14:05 #344675 by GeneRF
Replied by GeneRF on topic Variable input during automatic operation
Thanks! That does it.

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

Time to create page: 0.133 seconds
Powered by Kunena Forum