MESA 7I76E Analog out, dir and en not working

More
28 Apr 2017 18:02 #92294 by nonkeldw
Thanks for your reply.
After changing the counter-mode to 1 and inverting the count direction.

When i watch encoder.00.position for a while, i see that the value is drifting away, but the spindel stay on the same speed...

Thanks.

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

More
28 Apr 2017 18:13 #92295 by nonkeldw
Maybe i'm wrong, but is there feedback from the PID to my spindle?

Thanks!

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

More
28 Apr 2017 18:32 #92297 by PCW
Your hal file does not use PID for the spindle (the analog out is set directly by LinuxCNC from gcode)

The encoder feedback is for threading, and the position should advance
by 1.0 for each forward turn of the spindle

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

More
28 Apr 2017 18:38 #92298 by nonkeldw
Thanks.

I want to use the PID for controlling my spindel.
I changed already this line: net spindle-output hm2_7i76e.0.7i76.0.0.pinout.
But what is the best way to give the encoder ouput to the PID feedback input?

Thanks

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

More
28 Apr 2017 18:52 #92301 by PCW
I would actually suggest you _not_ do this until you have
threading working with a direct (no PID) system

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

Moderators: PCWjmelson
Time to create page: 0.069 seconds
Powered by Kunena Forum