Hi guys, I'm trying to configure my spindle so I can get forward and
reverse.

There is a relay that connects to fwd/rev and another relay that cuts
the common supply to the outputs of that relay.

I've got it set so pin16 enables the relay and gives me cw.
I've got pin 17 set for ccw - that isn't connected to anything (the
relay is a NO/NC type) so when 16 isn't enabled it gives me ccw.

The other relay is connected to pin 14 and set for spindle-on.

The problem is stepconf has linked spindle-on to pwmgen???

When you try and run - it fails with "pin motion.spindle-on" is already
linked?

The relevant parts of the hal file follow


net spindle-cmd <= motion.spindle-speed-out => pwmgen.0.value
net spindle-enable <= motion.spindle-on => pwmgen.0.enable
net spindle-pwm <= pwmgen.0.pwm

net spindle-on <= motion.spindle-on
net spindle-cw <= motion.spindle-forward
net spindle-ccw <= motion.spindle-reverse

I want spindle-on to enable pin14 AND pwmgen.0.enable - how do I do it?

Thanks 

Steve Blackmore
--

------------------------------------------------------------------------------
Come build with us! The BlackBerry&reg; Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9&#45;12, 2009. Register now&#33;
http://p.sf.net/sfu/devconf
_______________________________________________
Emc-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/emc-users

Reply via email to