Advertisement
Guest User

Untitled

a guest
Jan 7th, 2013
84
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.62 KB | None | 0 0
  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
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement