G code for pause

G code for pause

jcsantilli
Advocate Advocate
2,069 Views
3 Replies
Message 1 of 4

G code for pause

jcsantilli
Advocate
Advocate

There is a g-code I can use to pause the machine in the middle of a process (so I can install some screws) and wait for me to hit the command "run" again?

 

Thanks in advance.

0 Likes
Accepted solutions (1)
2,070 Views
3 Replies
Replies (3)
Message 2 of 4

engineguy
Mentor
Mentor
Accepted solution

@jcsantilli

 

That would likely be an M code, either an M01 or an M00 would be the most common,  all depends on your machine control and the Post Processor that you are using

Message 3 of 4

jcsantilli
Advocate
Advocate

I think you are right. I'll try it tomorrow. Thanks

0 Likes
Message 4 of 4

serge.quiblier
Autodesk
Autodesk

Hello @jcsantilli 

 

As engineguy pointed, you can use M0 and M1.

They have a slightly different behavior.

M0 is an absolute stop.

Which means the machine will always stop when it encounter this code.

M1 is an optional stop.

You need to "set a switch", physical, or in the controller parameter, to enable the stop.

 

Have a pleasant day.

 

Cheers.



Serge.Q
Technical Consultant
cam.autodesk.com