quoroy Posted March 16, 2016 Report Posted March 16, 2016 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. Quote
Veganic Posted March 16, 2016 Report Posted March 16, 2016 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. Quote
quoroy Posted March 17, 2016 Author Report Posted March 17, 2016 what instruction do I use to read that M code reply ? thanks. Quote
Veganic Posted March 17, 2016 Report Posted March 17, 2016 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. Quote
Veganic Posted March 18, 2016 Report Posted March 18, 2016 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. Quote
quoroy Posted March 21, 2016 Author Report Posted March 21, 2016 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. Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.