OLD Lathe conversion to a CNC

More
1 year 5 months ago #327503 by andypugh
You don't have auto-tuning PID permanently in tuning mode by any chance?
The following user(s) said Thank You: besriworld

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

More
1 year 5 months ago #327516 by besriworld
The HAW show shows that automatic tuning is not enabled.
What can I test? The problem I have is serious.

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

More
1 year 5 months ago #327530 by andypugh
There is mention in the HAL of closed-loop steppers. Does this mean that you are closing the position loop in LinuxCNC HAL with encoders and PID (you clearly _are_ doing this) but do you also have closed-loop stepper drivers that also read the encoders?

It is possible that your problem is due to cascaded controllers.

I would be tempted to try a making an alternate config without the DPLL and with the stepgens in position mode, directly driven by motor-pos-cmd. Having a PID in HAL ought to give better results, but if the problem goes away with a more "classic" config then that at least suggests somewhere to look.
The following user(s) said Thank You: besriworld

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

More
1 year 5 months ago #327547 by besriworld
X and Z operate in open loop .The encoder (X and Z ) is not connected to the PID controller.
I also have protection in the motor driver if it misses a step.
I also checked the spindle pid controller constants in the haw show .All constants entered.

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

More
1 year 5 months ago #327554 by PCW
Replied by PCW on topic OLD Lathe conversion to a CNC
Can you post your hal/ini files?

Might help with more eyes looking at them
 
The following user(s) said Thank You: besriworld

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

More
1 year 5 months ago #327572 by andypugh

Can you post your hal/ini files?

Might help with more eyes looking at them

 
I found some configs posted earlier in the thread:  forum.linuxcnc.org/26-turning/52640-old-...-cnc?start=60#326830
The following user(s) said Thank You: besriworld

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

Time to create page: 0.067 seconds
Powered by Kunena Forum