On 10/02/2016 02:32 AM, Danny Miller wrote:
> I thought it would be a good idea to display what the RPM setting is
> before the spindle is started.
>
> I see current_rps is right there WHILE the spindle is running.
>
> But when I enter "S10000", it's set inside LinuxCNC even before M3.  I'd
> like to display it in pyvcp before M3 uses it. current_rps remains at zero.
>
> Is there a way to access the commanded RPM when not actually sending
> it?  I tried but couldn't find it.

It's available on the pin 'motion.spindle-speed-out'.  It's 0 when the 
spindle is stopped (M2 or M5), and it's the commanded S-word when the 
spindle is running (M3).

Details here:  http://linuxcnc.org/docs/html/man/man9/motion.9.html


-- 
Sebastian Kuzminsky

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most 
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
_______________________________________________
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users

Reply via email to