Sign in to follow this  
Followers 0
quoroy

what is M code used for in QD75MH2?

6 posts in this topic

What is the M code is used for in positioning servo-motors? There's a parameter setting in the QD75MH2 for M code but I don't know what they're for and what the diference from the Data No. is.

Share this post


Link to post
Share on other sites

Data No. are commands to the servo drive?

M codes are a "reply" from the servo controller that are on either during or on completion of a positioning event, depending on the set-up.

Share this post


Link to post
Share on other sites

what instruction do I use to read that M code reply ? thanks.

Share this post


Link to post
Share on other sites

It is just set in the PLC if I recall correctly, so if you set it to be M700 the just check the status of M700.  

Share this post


Link to post
Share on other sites

I think I may have misinformed you.  The M code may be written to a data register.  I'll dig out an old program and verify this.

 

Share this post


Link to post
Share on other sites

Thanks, I already checked it, it's written to the buffer memory of the position module. For example U6/G808 and then I can just move it to a register.

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
Sign in to follow this  
Followers 0