On 6/22/15 11:48 AM, Tom Easterday wrote: > I am controlling a spindle motor with a VFD commanded by modbus. My current > speed range is 0-3500 rpm. If I run the spindle below 275 rpm the current > spikes and triggers the VFD’s protection shutoff. How do I set the minimum > spindle speed so that the user can’t command a speed below 275rpm? > -Tom
There's not a way to limit what values are accepted by G-code S-word commands. You could make a small HAL circuit that prevents commands from being sent to the VFD is the commanded speed is too low. Something like this logic maybe: vfd.enable = motion.spindle-on && (motion.spindle-speed-out > 275) -- Sebastian Kuzminsky ------------------------------------------------------------------------------ Monitor 25 network devices or servers for free with OpManager! OpManager is web-based network management software that monitors network devices and physical & virtual servers, alerts via email & sms for fault. Monitor 25 devices for free with no restriction. Download now http://ad.doubleclick.net/ddm/clk/292181274;119417398;o _______________________________________________ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users