On 10/2/2016 11:05 AM, Sebastian Kuzminsky wrote:
> 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
>
>

Yeah I already have that.   It's useful, but I'd like to be able to 
display what the spindle was set for when NOT running.

Specifically I want the commanded S-word.

It does show up under MDI "Active G-codes", but I don't know how to 
access it in HAL.

Danny


------------------------------------------------------------------------------
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