Mesa 5i25/7i76 + driver leadshine DM2282 digital

More
10 years 3 months ago #77954 by echesortux
what is the P term? I though it was only for server motors. we are using stepper motors.

Thanks.

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

More
10 years 3 months ago #77956 by PCW
its set in a line like this in the ini file:

P = 50.0

this needs to be changed to
P = 50.0
P = 1000

Note that there is one per axis

The

setp pid.N.maxerror .0005

statements are in the hal file

They should all be changed to

setp pid.N.maxerror 0

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

More
10 years 3 months ago #77957 by echesortux
I mean what is the meaning of P? what does it mean?

Thanks.

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

More
10 years 3 months ago #77958 by PCW
P term in the stepgen PID loop

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

More
10 years 3 months ago #77974 by Todd Zuercher
The hardware stepgens, are controlled a like a servo. Linuxcnc sends a velocity command to the stepgen, and the hardware step generator sends a position feed back to Linuxcnc, these are plugged into the PID loop. This works better than just sending the postion commands to the step generator, and helps smooth out problems introduced by jitter in the control PC's real-time system.
P is the P term in the PID loop. P is for proportional. (google PID loop for more detailed info)

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

More
10 years 3 months ago #77988 by echesortux
Thanks to all, today we will test it and them we comment the news.

Thanks.

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

Moderators: cmorley
Time to create page: 0.073 seconds
Powered by Kunena Forum