Linistepper's "enable" specific configuration

More
30 Mar 2010 06:35 #2475 by daniel06
Hi,

is it possible, to set up specific "enable" for use with linistepper, I mean logic power regulation.

enable = 1 (5V) - high power
enable = 0 (0V) - low power "hold" mode

I've tried amplifier enable for x,y and z

net xenable => parport.0.pin-1-out
net xenable axis.0.amp-enable-out => stepgen.0.enable
net yenable => parport.0.pin-8-out
net yenable axis.1.amp-enable-out => stepgen.1.enable
net zenable => parport.0.pin-9-out
net zenable axis.2.amp-enable-out => stepgen.2.enable

It works, but enable is TRUE, all the time, machine is powered on (F2).

Is there any way, to make it work for linistepper's "enable" - enable should be set to FALSE every time where there's no movement for each axis separately:

for example:
Z moves - zenable = 1
X stopped - xenable = 0
Y stopped - yenable = 0

?

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

More
30 Mar 2010 11:07 #2477 by BigJohnT
It's possible with the spindle but not with individual axis AFAIK.

John

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

More
30 Mar 2010 11:07 #2478 by Rick G
Hello,

You might want to look in hal for the pins that return the axis velocity to determine if they are moving. I think it is something like axis.2.joint-vel-cmd.
Try watching them first in hal to see if they give the results you are looking for. Also remember to add your variables to a thread so that they are updated.

Rick G

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

Time to create page: 0.060 seconds
Powered by Kunena Forum