another noob trying to tune the servo

More
8 years 1 month ago #117824 by PCW
Those changes are necessary but not sufficient...

Looks like you don't have the stepgen enabled

Please Log in to join the conversation.

More
8 years 1 month ago #117825 by Psykhon
there is definitely something odd here, please look the attachment

Please Log in to join the conversation.

More
8 years 1 month ago #117826 by PCW
Not really very odd, thats expected if the stepgen is not enabled

Please Log in to join the conversation.

More
8 years 1 month ago #117827 by Psykhon
As allways you are completely right, the problem was that the 7i78 doenst have enable signals, so I had to use one of the 7i77 outputs:
net z-enable <= axis.2.amp-enable-out
net z-enable => hm2_5i25.0.7i77.0.0.output-00

but forgot to:
net z-enable => hm2_5i25.0.stepgen.00.enable

Please Log in to join the conversation.

More
8 years 1 month ago #117828 by PCW
Yeah stepgens need to be enabled just like analog outputs

Actually you can use 7I78 step/dir outputs as enables if a 5V signal will do
(just dont enable all the stepgens, and the unused stepgen pins will revert to GPIO pins)

Please Log in to join the conversation.

More
8 years 1 month ago #117849 by Psykhon
Any ideas why the dro's doenst show 0 when homed? it only happens en x & Y where there are servos


They also hunt a little, 1 encoder count as it seems, but I read this may be normal right? Or it can be tuned to be completely steady?

Please Log in to join the conversation.

More
8 years 1 month ago #117852 by PCW
Those are static position errors you should be able to remove them by adding some I term. You can often eliminate +-1 count dithering by adding a bit of deadzone.

Please Log in to join the conversation.

More
8 years 1 month ago #117998 by andypugh

PCW wrote: Those are static position errors you should be able to remove them by adding some I term. You can often eliminate +-1 count dithering by adding a bit of deadzone.


Or choose to display commanded position instead :-)

Please Log in to join the conversation.

Time to create page: 0.091 seconds
Powered by Kunena Forum