christophertedjo

What is M code in mitsubishi qd75d4?

5 posts in this topic

M Code is a standard instruction set for CNC machines.

Share this post


Link to post
Share on other sites

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.

Share this post


Link to post
Share on other sites

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?

Share this post


Link to post
Share on other sites

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.

Share this post


Link to post
Share on other sites

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