Still wondering how I might make the spindle turn slowly and then stop on a 
sensor signal.  From the HAL file it's set up the same way as the XYZA axis 
with respect to step_type and control-type.  

I'd want to set the velocity to say 30 RPM (0.5 RPS) and during a revolution if 
it detects an input the motor is stopped.

# SPINDLE Step Gen signals/setup
setp   hm2_7i92.0.stepgen.05.dirsetup        [SPINDLE_9]DIRSETUP
setp   hm2_7i92.0.stepgen.05.dirhold         [SPINDLE_9]DIRHOLD
setp   hm2_7i92.0.stepgen.05.steplen         [SPINDLE_9]STEPLEN
setp   hm2_7i92.0.stepgen.05.stepspace       [SPINDLE_9]STEPSPACE
setp   hm2_7i92.0.stepgen.05.position-scale  [SPINDLE_9]STEP_SCALE
setp   hm2_7i92.0.stepgen.05.step_type       0
setp   hm2_7i92.0.stepgen.05.control-type    1
setp   hm2_7i92.0.stepgen.05.maxaccel        [SPINDLE_9]MAX_ACCELERATION
setp   hm2_7i92.0.stepgen.05.maxvel          [SPINDLE_9]MAX_VELOCITY

net spindle-enable     =>  hm2_7i92.0.stepgen.05.enable
net spindle-vel-cmd-rps =>  hm2_7i92.0.stepgen.05.velocity-cmd





_______________________________________________
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users

Reply via email to