Spindel Warm-Up Macro

This is where you talk about Macros, show examples of your macro scripting and SHARE handy segments of script code as examples.

Re: Spindel Warm-Up Macro

Postby dezsoe » Wed Jan 24, 2018 7:42 pm

You can only add objects to the screen. Did you try to make switchbuttons with empty (transparent) off-state? I think you could place them over each other and switch the needed one on, the others off. I didn't try it, just an idea.
dezsoe
 
Posts: 2055
Joined: Sun Mar 12, 2017 4:41 pm
Location: Csörög, Hungary

Re: Spindel Warm-Up Macro

Postby Dan911 » Thu Jan 25, 2018 3:55 am

Another simple solution to achieve a macro spindle warm up with timer would be is create a .tap file in note pad and place in folder of your choosing than you can use UCCNC Gcode timer.

Example .tap:

S 5000 M3(timer done 10 sec)
G4 P 10

S 6000 M3(timer done 20 sec)
G4 P 10


Create a macro to call it and clear the UCCNC timer.

Example macro:

exec.Callbutton(218); //Sets timer to zero
exec.Loadfile("C:/UCCNC/Example_codes/holders2.tap"); //Set path to file
Dan911
 
Posts: 613
Joined: Mon Oct 31, 2016 1:22 am
Location: USA

Previous

Return to Macros

Who is online

Users browsing this forum: No registered users and 4 guests