M30 Question

All things related to the Centroid Acorn CNC Controller

Moderator: cnckeith

Post Reply
cbb1962
Posts: 349
Joined: Wed Jan 03, 2018 10:04 pm
Acorn CNC Controller: Yes
Allin1DC CNC Controller: No
Oak CNC controller: No
CNC Control System Serial Number: 38D2695C8301-0122180576
DC3IOB: No
CNC11: No
CPU10 or CPU7: No
Location: NW Arkansas

M30 Question

Post by cbb1962 »

I want to change the ending coordinates when my machine ends a program. I know its probably something really simple, I think the M30 command is how to do this, but the documentation is not really clear as to how it is set up. I have probably overlooked a really simple solution.
Last edited by cbb1962 on Tue Jan 22, 2019 10:24 pm, edited 2 times in total.
Clint in NW Arkansas

The more I learn, the more I realize I don't know...
Gary Campbell
Posts: 2190
Joined: Sat Nov 18, 2017 2:32 pm
Acorn CNC Controller: Yes
Plasma CNC Controller: No
AcornSix CNC Controller: Yes
Allin1DC CNC Controller: No
Hickory CNC Controller: No
Oak CNC controller: No
CNC Control System Serial Number: Acorn 238
DC3IOB: No
CNC12: Yes
CNC11: No
CPU10 or CPU7: No
Location: Bergland, MI, USA
Contact:

Re: M30 Question

Post by Gary Campbell »

If there is not a file named "mfunct30.mac" in your cncm folder, make one.
Once made enter these lines:

M25 ;lifts head
G0 X## Y## ;where the ##'s are the X & Y coords that you wish the head to rapid to
GCnC Control
CNC Control & Retrofits
https://www.youtube.com/user/Islaww1/videos
cbb1962
Posts: 349
Joined: Wed Jan 03, 2018 10:04 pm
Acorn CNC Controller: Yes
Allin1DC CNC Controller: No
Oak CNC controller: No
CNC Control System Serial Number: 38D2695C8301-0122180576
DC3IOB: No
CNC11: No
CPU10 or CPU7: No
Location: NW Arkansas

Re: M30 Question -Answered

Post by cbb1962 »

That was what I was looking for. Thanks!
Clint in NW Arkansas

The more I learn, the more I realize I don't know...
cbb1962
Posts: 349
Joined: Wed Jan 03, 2018 10:04 pm
Acorn CNC Controller: Yes
Allin1DC CNC Controller: No
Oak CNC controller: No
CNC Control System Serial Number: 38D2695C8301-0122180576
DC3IOB: No
CNC11: No
CPU10 or CPU7: No
Location: NW Arkansas

Re: M30 Question

Post by cbb1962 »

I'm having some trouble with the M30. At the end of the program, it doesn't execute the M30.

This is my Mfunc30:

Code: Select all

M25 ;lifts head
G53 X23.7 Y35.8
If I call the M30 from the MDI it executes correctly.

This is the end of a program:
End of Program M30.PNG
Clint in NW Arkansas

The more I learn, the more I realize I don't know...
cncsnw
Posts: 3855
Joined: Wed Mar 24, 2010 5:48 pm

Re: M30 Question

Post by cncsnw »

Add a G90 with the G53 in your macro.

The codes at the end of your program left the mode incremental (G91). G53 does not work in G91 mode.
Post Reply