Hi all, First thanks to all for the help on the in/out files on hm2. If I get this spindle figured out then I will be able to test it tomorrow.
I was using the channel/axis3 on my 7i33 board to generate the +/- 10VDC for my VFD Here are the lines I had in my m5i20 config files (io file) #Spindle speed from DAC 03 scale newsig spinspeed float linksp spinspeed <= motion.spindle-speed-out linksp spinspeed => m5i20.0.dac-03-value linksp spindle-run-request => m5i20.0.dac-03-enable These are in my .ini file(m5i20) #Spindle [AXIS_3] OUTPUT_OFFSET = 0.005 OUTPUT_SCALE = -.00195 MAX_VELOCITY = 10 I cant seem to find lines like this in the hm2_servo file What I thought about was adding these lines to the hm2-servo.hal file # ################ # [3] Spindle # ################ # position command signals setp hm2_[HOSTMOT2](BOARD).0.pwmgen.03.output-type 1 #pwm on pin1, dir on pin2 setp hm2_[HOSTMOT2](BOARD).0.pwmgen.03.scale 1.0 newsig spinspeed float linksp spinspeed <= motion.spindle-speed-out linksp spinspeed => hm2_[HOSTMOT2](BOARD).0.pwmgen.03.value I know it is not right but I was hoping to be close Also does the scale now go in the servo file and not in the .ini file? Thanks Terry ---- Msg sent via CableONE.net MyMail - http://www.cableone.net ------------------------------------------------------------------------------ Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT is a gathering of tech-side developers & brand creativity professionals. Meet the minds behind Google Creative Lab, Visual Complexity, Processing, & iPhoneDevCamp as they present alongside digital heavyweights like Barbarian Group, R/GA, & Big Spaceship. http://p.sf.net/sfu/creativitycat-com _______________________________________________ Emc-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/emc-users
