How to tell if M2 (Program End) Or M30 Active?

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

How to tell if M2 (Program End) Or M30 Active?

Postby Robertspark » Thu Jul 20, 2017 7:29 pm

Looking at the list of LED's, I cannot see one that flags when a program has finished running (M2 / M30 active).

I can see M0, M1, M60, M3, M4, M7, M8, M10....

I can work out M5, M6 and M9.... but cannot see how to work out M2 / M30 (Program End) has occured.

[It's for a status logging macro], should someone search / read this in the future.

Thanks for the guidance.
Robertspark
 
Posts: 1892
Joined: Sat Sep 03, 2016 4:27 pm

Re: How to tell if M2 (Program End) Or M30 Active?

Postby cncdrive » Thu Jul 20, 2017 7:38 pm

The M30 executes the M30 macro file so you could do things there like setting a LED or anything else...
cncdrive
Site Admin
 
Posts: 4887
Joined: Tue Aug 12, 2014 11:17 pm

Re: How to tell if M2 (Program End) Or M30 Active?

Postby Robertspark » Thu Jul 20, 2017 7:41 pm

Thanks Cncdrive, will do, given me an idea.
Robertspark
 
Posts: 1892
Joined: Sat Sep 03, 2016 4:27 pm


Return to General discussion about the UCCNC software

Who is online

Users browsing this forum: Bing [Bot] and 21 guests

cron