motor-0-position error beim Abbremsen aus 4-7,5 m/min

More
1 year 6 months ago - 1 year 6 months ago #327176 by Muftijaja
Hey guys, after several delays I got my machine running and I made my first part with it. First part, first problems. The locknut from my driven ball screw came loosened and I got a lot of backlash. I fixed that, then I had problems with my VFD (Hitachi WJ200), and had to send it to the service. Meanwhile, I used a chinese VFD (with filter unit in the line) , that worked fine, but last week I got the known problems with "motor-0-errors. Mostly if the x-axis stopped, turned around, then comes the error. Sometimes it runs several paths, then stopped again. That drives me crazy.
My latency is as good as before, I don't have lost packages, I don't know what to do with it.
Do you have any hints for me to change this problem? I put my actual HAL and INI here.

BTW - I don't understand that kind of error. What makes LCNC to give this error out? There's no connection to the motor's encoders, no feedback nothing what makes sense for me...

Tanks for any help!
Kind regards, Hanno
 

File Attachment:

File Name: Hanno_Nr5_...4-27.ini
File Size:6.02 KB
 

File Attachment:

File Name: Hanno_Nr5_...4-27.hal
File Size:11.96 KB
Last edit: 1 year 6 months ago by Muftijaja.

Please Log in or Create an account to join the conversation.

More
1 year 6 months ago #327177 by tommylight
You have a servo period of 2000000 (2 million) but failed to set the correct P value for it at 500, not 666.
Max_velocity is 125 but stepgen_max_velocity is 150 despite just above it being clearly stated it must be 25% above max_velocity, so absolute minimum is 156.25, or rounded 160
And, why do you have anything but 0 for FF2 on a stepper system? It should be 0.
All of those contribute to your issues.
The following user(s) said Thank You: Muftijaja

Please Log in or Create an account to join the conversation.

More
1 year 6 months ago #327182 by PCW
Actually, having a small amount of FF2 improves the following error
(the actual amount should be the time between reading the position and updating the output
though 0.005 seems large)

It may be necessary to take a look at the following error to diagnose the issue
(this will also allow for tuning of the FF2 value)

Increasing the following error limits should not hurt either
The following user(s) said Thank You: Muftijaja

Please Log in or Create an account to join the conversation.

More
1 year 6 months ago #327185 by Muftijaja
Hi tommylight, i just followed the advice from PCW in an earlier posting: "...and change all joint PID "P" terms to 666"
OK, i will do that and also correct the stepgen max velocityto 160.
FF2 has been also an advive from PCW - I have Servos with integrated drivers, no feedback to the MEsa card.
"You might try plotting the following error and perhaps tuning by adding a little
FF2 (say .0003 to start) to the PID loop (using the calibrate menu so you can do this live) "
I'm just doing what I've been said to.
Thanks for your hints!
Greets Hanno

Please Log in or Create an account to join the conversation.

More
1 year 6 months ago #327187 by Muftijaja
Hi PCW,
well I have had FF2 at 0,003 when the errors began and just tried 0,005, then 0,008, just not knowing what it does. I point out, that my servos (OMC 400W integrated drivers) do not send any feedback to the Mesa card, they have closed Loop Drivers/Encoders.
I can see the following error in the tuning software from OMC, but the numbers are not in any correlation to numbers in LCNC and INI file.
Is it better to leave FF2 at 0 or less than 0,003?
INcreasing FERROR = 0.1 or MIN_FERROR = 0.01? What could help more?

Thanks for your advice!
Greets, Hanno

Please Log in or Create an account to join the conversation.

More
1 year 6 months ago #327188 by rodw
I think you may have moved past this but the only network latency issue I can think of is that energy efficient Ethernet is enabled. This can cause intermittent latency spikes you are experiencing. The method to fix is different between Intel and Realtek device but I do mention them here
docs.google.com/document/d/1jeV_4VKzVmOI...diY/edit?usp=sharing  
The following user(s) said Thank You: Muftijaja

Please Log in or Create an account to join the conversation.

Moderators: Muecke
Time to create page: 0.417 seconds
Powered by Kunena Forum