I've never heard of sleep and boost mode. Are they hardware specific?
I have a question about configuration EMC2
Does EMC2 support sleep and boost mode during acceleration and brakeing for stepper motors?
How is that done in EMC2????
I've never heard of sleep and boost mode. Are they hardware specific?
Sleep mode reduces current to 25% nominal current when none of the stepper motors are moving, when accelerate or brake boost mode raise current for about 20%. This is done from the hardware but it has to get a signal from EMC when to raise or reduce the current.
Hi mr.practik
For Sleep Modus do following in your .hal File:
linkpp "motion.motion-inpos parport.0.pin-17-out"
For Boost try the following in .hal File:
loadrt ddt count=6
loadrt hypot count=2
loadrt wcomp count=1
addf ddt.0 servo-thread
addf ddt.1 servo-thread
addf ddt.2 servo-thread
addf ddt.3 servo-thread
addf hypot.0 servo-thread
addf hypot.1 servo-thread
addf wcomp.0 servo-thread
# BOOST Signal erstellen
newsig boost bit
linksp boost => parport.0.pin-16-out
newsig Xvel float
linksp Xpos-cmd => ddt.0.in
linkps ddt.0.out => Xvel
newsig Yvel float
linksp Ypos-cmd => ddt.1.in
linkps ddt.1.out => Yvel
newsig Zvel float
linksp Zpos-cmd => ddt.2.in
linkps ddt.2.out => Zvel
newsig XYvel float #Signal X+Y
linksp Xvel => hypot.0.in0
linksp Yvel => hypot.0.in1
linksp XYvel <= hypot.0.out
newsig XYZvel float #Signal X+Y+Z
linksp Zvel => hypot.1.in0
linksp XYvel => hypot.1.in1
linksp XYZvel <= hypot.1.out
linksp XYZvel => wcomp.0.in
linksp boost <= wcomp.0.out
setp wcomp.0.min 0.1 #Boost from Steppacceleration
setp wcomp.0.max 3 #Boost to Steppacceleration
Hope this help You
Hans
Thanks Hans, if this works I'll buy you a beer![]()
Hi
No Problem
It works for a lot off Users with 3D-Step Cards on Parallel Port.
You dont find a better Software for your Stepper Actions
Let me now if it works and which Stepper-Board you use...
Regards
Hans
heh - do you want to hear something funny.. Martin Schöneck has been playing around with drawing hal schematics in eagle and converting them to hal files. You can read about it here..
http://martinschoeneck.de/hal-write
if you look at his hal schematic here
http://home.arcor.de/froderick/hal-w...tin-config.png
you can see he is doing a boost/sleep out of the printer port pins 16/17
as always - there is more than one way to skin a cat.
sam
Nice Tool...thx for this Tip
In the next time I play with it
Hans