My ini file these parameters. MAX_VELOCITY = 50.0 MAX_ACCELERATION = 300.0
Setting MAX_ACCEL to 30 doesn't change the rate of change from 3000 RPM to 0. Still goes from 10V to 0V in 80 mS. In the HAL file these set up the MESA for speed to RPM. But I seem to have missed an acceleration. # PWM gen signals/setup # PWM signal pin config setp hm2_7i92.0.pwmgen.00.output-type 1 setp hm2_7i92.0.pwmgen.00.scale [SPINDLE_9]PWM_SCALE setp hm2_7i92.0.pwmgen.pwm_frequency 1000 So far I haven't been able to get ramping working although one would think the MESA could do this with a parameter. # load real time a limit2 and a near with names so it is easier to follow loadrt limit2 names=spindle-ramp loadrt near names=spindle-at-speed etc... Is there a simple way to ramp a 0-10V and 10V to 0V so acceleration is a bit slower? Thanks John _______________________________________________ Emc-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/emc-users
