On 18 September 2014 14:56,  <p...@wpnet.us> wrote:
> The current enable and direction outputs work correctly in the open loop test 
> as well it just has the issue with the instant direction change during decel 
> when stopping from a reverse run.

I think that this might be due to the way that the spindle is set up in HAL.

net spindle-vel-cmd-abs     => hm2_5i25.0.7i76.0.0.spinout
net machine-is-enabled      => hm2_5i25.0.7i76.0.0.spinena
net spindle-ccw         => hm2_5i25.0.7i76.0.0.spindir

I think that the hm2_5i25.0.7i76.0.0.spinena pin would normally be
liked to motion.spindle-on. The net for that is created later in the
file:

net spindle-on                 <=  motion.spindle-on

So you could try changing
net machine-is-enabled      => hm2_5i25.0.7i76.0.0.spinena
to
net spindle-on     => hm2_5i25.0.7i76.0.0.spinena

Which would disable the VFD when turning off the spindle. The current
arrangement just turns off the reverse input.

-- 
atp
If you can't fix it, you don't own it.
http://www.ifixit.com/Manifesto

------------------------------------------------------------------------------
Want excitement?
Manually upgrade your production database.
When you want reliability, choose Perforce
Perforce version control. Predictably reliable.
http://pubads.g.doubleclick.net/gampad/clk?id=157508191&iu=/4140/ostg.clktrk
_______________________________________________
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users

Reply via email to