- Posts: 29
- Thank you received: 0
Running servos in position mode instead of analog
Mesa hardware never plugged into anything.....
I wonder how much of this I can return? Had it for a while but never used.
I won't have it operational for probably 6 moths, but I said the same thing this time last year. I've been designing and enclosure for the mill and until I finish that, and start fab I won't have the electronics mounted. Picked up a "working" chnc lathe a few weeks ago.... I have a thread in cnc machines section where I am troubleshooting poor servo performance and resolver issues.
Anyways I could probably wire up one servo on bench and configure my Mesa hardware to test this. My oscilloscope is old so it may be tricky to capture this delay and measure it... no recording or freezing a frame here.
Please Log in to join the conversation.
DMM customer service was very helpful but denied their drives could have a delay despite being shown the scope plot. They also allowed me to return a 1 year old motor in exchange for one with a brake.
I would set everything up on the bench and see if it works and how well. Shouldn't take much time.
Please Log in to join the conversation.
Please Log in to join the conversation.
Bevin's, did you close the position loop back to Linux? If so care to share any info or hal files?
Please Log in to join the conversation.
Please Log in to join the conversation.
Please Log in to join the conversation.
PCW wrote: An interesting question is whether the 5 ms delay is present in position mode as well.
Connecting the encoders could answer this. This delay might cause issues with spindle
synced motion like rigid tapping.
This brings up a general observation, your errors are not huge, in fact you may have
never noticed them when machining and similar errors may also exist in step/dir
position mode.
A similar situation happens when people add linear encoders and discover all
the backlash and stick-slip errors that they had never noticed before.
Does the overcurrent alarm go away if you reduce the acceleration?
(200 IPS/S is likely beyond what the motors can do with a high inertial load)
I hooked up the encoders in position mode and they still have a delay in response that can be seen in either of the attached pictures. If I use position mode will this also effect the ability to close the loop with linuxcnc and run consistently? If it does this only leave me the options to use different servos (+$$$) or to try a linear scale on each axis (+$$)
Attachment not found
Attachment not found
Please Log in to join the conversation.
Jon
Please Log in to join the conversation.
Please Log in to join the conversation.
If you run position mode there should be no loop to close with LinuxCNC? Well, I guess rigid tapping could suffer a bit? Also you might need to increase following error tolerance somewhat.Michael wrote: I hooked up the encoders in position mode and they still have a delay in response that can be seen in either of the attached pictures. If I use position mode will this also effect the ability to close the loop with linuxcnc and run consistently? If it does this only leave me the options to use different servos (+$$$) or to try a linear scale on each axis (+$$)
Edit: I'm thinking in EtherCAT terms now, where the position is sent directly to the servo drives. If you use e.g. Mesa cards as stepgens to generate step/dir signals, then you're still running in a kind of velocity mode I guess? So you might still have problems.
Please Log in to join the conversation.
