Cycle time reset

Here is where you can request new features or special features.

Cycle time reset

Postby Ruslan » Mon Mar 11, 2024 12:22 pm

I suggest to reset cycle time field each time new program starts. Now it is counting from first cycle start to resetting it by user. The algorithm is: User started new program -> cycle counter is resetting to zero and begining to count, during Feed hold it is paused and after program stop(M30) it stops to count.
Ruslan
 
Posts: 22
Joined: Wed Jan 25, 2023 11:05 am

Re: Cycle time reset

Postby Delco » Tue Mar 12, 2024 7:53 am

I just call a macro in my first line of Gcode in my case M1281
($Toolplate)
(T20 D=6. CR=0. - ZMIN=-12.3 - flat end mill)
(T28 D=6. CR=0. TAPER=45deg - ZMIN=-1.7 - chamfer mill)
M132 ($Toolplate.png)
M1281 reset timer
G90
G0 G53 Z-5.

and the M1281 macro in my case is below
{
// Reset Cycle time
exec.Callbutton(218);
return;
}
Delco
 
Posts: 355
Joined: Tue Apr 02, 2019 4:23 am

Re: Cycle time reset

Postby Ruslan » Thu Mar 14, 2024 2:30 pm

Thanks, but it is not universal method. I need to put this macro in all my programs. I can change postprocessor to put this macro but I think it would be good to have additional macro that can be called at start of NC program. User can do something at program start. As construcor/deconstructor macros, but for program start and program end. It can be new feature.
Ruslan
 
Posts: 22
Joined: Wed Jan 25, 2023 11:05 am

Re: Cycle time reset

Postby Delco » Fri Mar 15, 2024 3:15 am

Ruslan wrote:Thanks, but it is not universal method. I need to put this macro in all my programs. I can change postprocessor to put this macro but I think it would be good to have additional macro that can be called at start of NC program. User can do something at program start. As construcor/deconstructor macros, but for program start and program end. It can be new feature.


If you dont want to add it to your post procesor like I did you can create a button on screen to call the macro at any time.

or alternatively you can enter M#### into mdi and it will do it.
Delco
 
Posts: 355
Joined: Tue Apr 02, 2019 4:23 am

Re: Cycle time reset

Postby Battwell » Wed Apr 03, 2024 7:03 pm

delco... id like to see your m132 :-)
are you calling a saved photo and displaying it?
Uc300eth on router and mill.
UK uccnc powered machine sales. https://cncrouter.uk/atc-cnc-routers.htm
Automateanything/duzzit cnc/mercury cnc
Battwell
 
Posts: 831
Joined: Sun Sep 25, 2016 7:39 pm
Location: South Wales. Uk


Return to Feature Request

Who is online

Users browsing this forum: No registered users and 2 guests

cron