Re: [Emc-users] Analog spindle control HM2

2010-03-05 Thread Sebastian Kuzminsky
robert wrote: > here is my code for my spindle > #invert voltage out > setp hm2_[HOSTMOT2](BOARD).0.gpio.XXX.invert_output true > setp hm2_[HOSTMOT2](BOARD).0.pwmgen.XX.output-type 3 > > #make spindle pos > loadrt abs count=0 > #scale spindle speed to volts > loadrt scale count=0 > > addf abs.0 ser

Re: [Emc-users] Analog spindle control HM2

2010-03-05 Thread robert
On 05/03/2010 19:08, Lars Levin wrote: > # Set up spindle speed > net SpindleOn motion.spindle-on > net spindle-rpm-cmd motion.spindle-speed-out > setp m5i20.0.dac-03-gain [SPINDLE]DAC_SCALE > linksp SpindleOn => m5i20.0.dac-03-enable > linksp spindle-rpm-cmd => m5i20.0.dac-03-value > setp m5i20.

[Emc-users] Analog spindle control HM2

2010-03-05 Thread Lars Levin
Hello group! I have set up a retrofit 3 axis milling machine with mesa 5i20+7i33+2x7i37 The 3 axes are configured, tuned and works great. Now I want to use the fourth channel on the 7i33 to drive my freq inv. spindle I need a spindle enable signal and a 0-10v signal. In the wiki I found "Analog s