On 10/7/2016 2:35 PM, Sag ich Dir nich wrote:
Hello,
i got my closed loop spindle kinda working but everytime i start the machine i
have to re-set the pins to input and qep, how do i better start optimizing P,I
and D?
I usually make a shell script to configure pin modes (setup.sh) , and
call it early on in the HAL file.
Also sometimes the motor stutters for a split second
Make sure none of the motor drivers are enabled until the software is
configured and running. There is an ESTOP chain and machine power
output available on the CRAMPS board already, and you can use any of the
available GPIO to drive an enable output wired to the appropriate axis
enable pin in HAL.
--
Charles Steinkuehler
char...@steinkuehler.net
--
website: http://www.machinekit.io blog: http://blog.machinekit.io github:
https://github.com/machinekit
---
You received this message because you are subscribed to the Google Groups "Machinekit" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to machinekit+unsubscr...@googlegroups.com.
Visit this group at https://groups.google.com/group/machinekit.
For more options, visit https://groups.google.com/d/optout.