Jump to content

Recommended Posts


Posted

dforsythe, you are thinking of G code.

M code is a numeric code which is stored when the control reaches that step in the program.  For example it can be a step number.  It's use is optional, so it's really up to you how/if you use it.

Posted

Crossbow, that is not the way I understand it.  I was taught that G codes typically deal with the motion control aspect of a CNC and M codes deal with the canned functions like turning the coolant on and off or turning a spindle on and off.  I am not a CNC expert, but the motion controllers I have used operated this way.  A quick Google search confirmed this.  Maybe it is device specific?

Posted

M code is entirely up to the end user.  It's just a number written to a register.  Sometimes it's written at the start of a motion step and sometimes at the end.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...