Hi, I have installed the EMC2 with the Ubuntu live CD and have successfully got my mill to move all 3 axis.
I use a Digispeed from Homann Designs to control a VFD.
Using the Step Config Wizard and reading the Integrator Manual V2.3, I have the following functions working on my mill.
Move all 3 axis.
Find Home and limit switches.
ChargePump.
Estop.
PWM for the spindle.
My problem with the PWM is that when I type into MDI "S1000 M3" The spindle works ok, if I type "S1000 M4" I get the correct signal to reverse the VFD but there is no PWM signal to the Digispeed.
The Integrator Manual says to do this--
loadrt pwmgen output_type=0
addf pwmgen.update servo-thread
addf pwmgen.make-pulses base-thread
net spindle-speed-cmd motion.spindle-speed-out => pwmgen.0.value
net spindle-on motion.spindle-on => pwmgen.0.enable
net spindle-pwm pwmgen.0.pwm => parport.0.pin-09-out
setp pwmgen.0.scale 1800 # Change to your spindle’s top speed in RPM
But the Step Config Wizard produces this--
*** highlights areas I'm not sure about that differ from above.
loadrt pwmgen output_type=0
addf pwmgen.update servo-thread
addf pwmgen.make-pulses base-thread
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 ***
setp pwmgen.0.pwm-freq 50.0
setp pwmgen.0.scale 7000.0
setp pwmgen.0.offset 0.0
setp pwmgen.0.dither-pwm true
net spindle-fwd motion.spindle-forward => parport.1.pin-14-out
net spindle-rev motion.spindle-reverse => parport.1.pin-16-out
setp parport.1.pin-01-out-invert 1
net spindle-pwm => parport.1.pin-01-out
This system is working on a demo version of Mach3. I hope to get my mill working correctly on EMC2 as from what I've seen it's smoother motion and cleaner screen layout appeals
I can attach the hal files if more info is needed.
My next challenge is to get my pendant functioning.
Thanks