On 26 March 2011 01:02, Michael Jones <[email protected]> wrote:
> loadrt pwmgen output_type=0 > addf pwmgen.make-pulses base-thread > addf pwmgen.update servo-thread > net spindle-on <= motion.spindle-on > 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-14-out > setp pwmgen.0.pwm-freq 50.0 > setp pwmgen.0.scale 3500 > setp pwmgen.0.offset 0.114285714286 > setp pwmgen.0.dither-pwm true > net spindle-on => parport.0.pin-17-out All looks OK. Can you look at pin-14-out in Halscope? (or with a real scope) I suspect you may find that you do have a PWM, but that something is not happening at the G540 end. If you can't get it to work I have a little circuit that definitely does work with a KBIC that I can show you (and another which might work better, but I haven't tried) You mention using an Arduino to give tacho feedback, I assume that is to measure DC voltage and convert to pulses? I am not sure that that will achieve all that much as the KBIC runs closed-loop on input voltage so any difference between PWM command and feedback speed will be constant terms related to the conversions rather than useful load compensation feedback. Setting up a spindle encoder is possibly more useful. -- atp "Torque wrenches are for the obedience of fools and the guidance of wise men" ------------------------------------------------------------------------------ Enable your software for Intel(R) Active Management Technology to meet the growing manageability and security demands of your customers. Businesses are taking advantage of Intel(R) vPro (TM) technology - will your software be a part of the solution? Download the Intel(R) Manageability Checker today! http://p.sf.net/sfu/intel-dev2devmar _______________________________________________ Emc-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/emc-users
