M30 Question
Moderator: cnckeith
-
- 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
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...
The more I learn, the more I realize I don't know...
-
- 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
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
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
-
- 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
That was what I was looking for. Thanks!
Clint in NW Arkansas
The more I learn, the more I realize I don't know...
The more I learn, the more I realize I don't know...
-
- 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
I'm having some trouble with the M30. At the end of the program, it doesn't execute the M30.
This is my Mfunc30:
If I call the M30 from the MDI it executes correctly.
This is the end of a program:
This is my Mfunc30:
Code: Select all
M25 ;lifts head
G53 X23.7 Y35.8
This is the end of a program:
Clint in NW Arkansas
The more I learn, the more I realize I don't know...
The more I learn, the more I realize I don't know...
Re: M30 Question
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.
The codes at the end of your program left the mode incremental (G91). G53 does not work in G91 mode.