On 21/09/16 15:45, euerka wrote:
Dear all,
Recently i am trying to use CRAMPS.ini(without cape just BBB) to drive step motor.
My Motor model is:
    Moon's stepping motor
    Type 17HA6403-09N

    Driver is A4988

The stepper timings you are using are the theoretical ones for the chip from the spec sheet, but take no account of any other
source of delays such as opto isolators etc

Try increasing dirhold / dirlen to 1us and steplen / stepspace to 5us
If that cures it, try reducing the figures towards the chip specs until you hit problems

 

    TYPE =              LINEAR
    MAX_VELOCITY =       200.0
    MAX_ACCELERATION =   3000.0
    # Set Stepgen max 20% higher than the axis
    STEPGEN_MAX_VEL =    240.0
    STEPGEN_MAX_ACC =    3600.0

The second issue and potential hiccup are your speeds,
if an axis ever moved far enough to build towards the maximums, I would expect it to stall.

Are you really expecting your Nema 17 (?) stepper to be able to accelerate at 3.6 metres per second per second?
Or to move an axis 14.4 metres per minute?

Try calculating how many step pulses that would take and whether you can generate them

I would move the decimal point one place left for all velocity and acceleration figures and scale up only if
you can show spare capacity in step generation


--
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.

--
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.

Reply via email to