M5 to stop router at end of file

Post anything you want to discuss with others about the software.

M5 to stop router at end of file

Postby bhdavis » Tue Sep 20, 2022 8:12 pm

I end my cut files with an M5 and then a G53Z0 just before a transit command to move the router out of the way of removing the part.

Sometimes I don't want the router to turn off at the end of a file. Such instances would be doing a repeat, quickly accomplished process on repeat parts.

However when I remove the M5 the spindle still turns off as soon as the file ends.

Is there a setting somewhere that is telling the spindle to turn off at the end of a file even if there is no M5 command? If so can it be turned off?

Thanks,
BH
bhdavis
 
Posts: 141
Joined: Tue Mar 23, 2021 7:36 pm

Re: M5 to stop router at end of file

Postby Battwell » Tue Sep 20, 2022 8:50 pm

m30 also turns it off.
swap to m47 which is repeat
Uc300eth on router and mill.
UK uccnc powered machine sales. https://cncrouter.uk/atc-cnc-routers.htm
Automateanything/duzzit cnc/mercury cnc
Battwell
 
Posts: 867
Joined: Sun Sep 25, 2016 7:39 pm
Location: South Wales. Uk

Re: M5 to stop router at end of file

Postby bhdavis » Tue Sep 20, 2022 9:05 pm

Here is the file edited as I tried to run it today. There is normally a G53Z0 and an M9 at the bottom but I removed those out of curiosity. The spindle still turns off after the G0 X50 Y30 last line. I'm running Ver. 1.2111 and this spindle shut off happens on all my files whether there is an M5 at the end or not.

G90
G53 Z0
M7 [Turn on dust collect. and hold down]
M3 S18000
G4 P2 [Dwell for about 3 seconds for spindle up to speed]

G0 X7.5 Y11.875
G0 Z0.5
G1 Z-0.3125F50
F50
G1 Y12.375
G1 X7.51
G1 Y11.875
G0 Z0.5

G0 X23.49 Y11.875
G1 Z-0.3125
G1 Y12.375
G1 X23.5
G1 Y11.875
G0 Z0.5

G0 Z3
G0 X50 Y30
bhdavis
 
Posts: 141
Joined: Tue Mar 23, 2021 7:36 pm

Re: M5 to stop router at end of file

Postby Battwell » Sat Oct 15, 2022 11:25 am

if you want to repeat the code immediately. add m47 at the end.
this will repeat the code without switching spindle off.
otherwise you come to end of file .
Uc300eth on router and mill.
UK uccnc powered machine sales. https://cncrouter.uk/atc-cnc-routers.htm
Automateanything/duzzit cnc/mercury cnc
Battwell
 
Posts: 867
Joined: Sun Sep 25, 2016 7:39 pm
Location: South Wales. Uk


Return to General discussion about the UCCNC software

Who is online

Users browsing this forum: No registered users and 17 guests