daily pastebin goal
40%
SHARE
TWEET

Untitled

a guest Jan 7th, 2013 24 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. # Include your customized HAL commands here
  2. # The commands in this file are run after the AXIS GUI (including PyVCP panel) starts
  3.  
  4. # **** Setup of spindle speed display using pyvcp -START ****
  5. # **** Use COMMANDED spindle velocity from LinuxCNC because no spindle encoder was specified
  6. # **** COMANDED velocity is signed so we use absolute component (abs.0) to remove sign
  7.  
  8. net spindle-cmd => abs.0.in
  9. net absolute-spindle-vel <= abs.0.out => pyvcp.spindle-speed
  10.  
  11. # **** force spindle at speed indicator true because we have no feedback ****
  12.  
  13. net spindle-at-speed => pyvcp.spindle-at-speed-led
  14. sets spindle-at-speed true
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top