Leadshine DM542E and DM542T
Posted: Tue Oct 18, 2022 7:14 pm
Hello!
I'm using the stepper drivers listed above in the subject, they're functionally equivalent. I've been able to line up the microstep resolution and current settings for them and our motors just fine. Configuring the settings for the output for the KFlop has been fairly easy as well. The issue I'm running into is the stepper drivers appear to have some kind of lag in their input from the KFlop so I'm getting following error issues. If I increase the maximum following error on a channel the motion will complete and settle into a reasonable location with only 2 or 4 counts of following error and the motors and drives will move quickly. It's so quick in fact that if I lower the threshold for following error it will fault out but the motor's motion will still complete in a way where the encoder feedback makes it appear as if the following error didn't exceed the threshold (I verified that it is exceeding the threshold, and then settling into a "good" position).
At the top of page 38 in the KFlop manual it says about following error "Whenever the commanded destination and the measured position differ by greater than this value, the axis will be disabled". When it says "whenever", what time base is that? Is it making that check at the frequency of the clock? Is there a way to increase the delay between the check between destination and position? The stepper drivers appear to follow the motion well, just not 100% in sync with the output pulses from the KFlop. If there's not a way to increase that delay, we can just continue to work on tuning the PID and Feed Forward settings to get better performance.
Thank you.
I'm using the stepper drivers listed above in the subject, they're functionally equivalent. I've been able to line up the microstep resolution and current settings for them and our motors just fine. Configuring the settings for the output for the KFlop has been fairly easy as well. The issue I'm running into is the stepper drivers appear to have some kind of lag in their input from the KFlop so I'm getting following error issues. If I increase the maximum following error on a channel the motion will complete and settle into a reasonable location with only 2 or 4 counts of following error and the motors and drives will move quickly. It's so quick in fact that if I lower the threshold for following error it will fault out but the motor's motion will still complete in a way where the encoder feedback makes it appear as if the following error didn't exceed the threshold (I verified that it is exceeding the threshold, and then settling into a "good" position).
At the top of page 38 in the KFlop manual it says about following error "Whenever the commanded destination and the measured position differ by greater than this value, the axis will be disabled". When it says "whenever", what time base is that? Is it making that check at the frequency of the clock? Is there a way to increase the delay between the check between destination and position? The stepper drivers appear to follow the motion well, just not 100% in sync with the output pulses from the KFlop. If there's not a way to increase that delay, we can just continue to work on tuning the PID and Feed Forward settings to get better performance.
Thank you.