Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # Include your customized HAL commands here
- # The commands in this file are run after the AXIS GUI (including PyVCP panel) starts
- # **** Setup of spindle speed display using pyvcp -START ****
- # **** Use COMMANDED spindle velocity from LinuxCNC because no spindle encoder was specified
- # **** COMANDED velocity is signed so we use absolute component (abs.0) to remove sign
- net spindle-cmd => abs.0.in
- net absolute-spindle-vel <= abs.0.out => pyvcp.spindle-speed
- # **** force spindle at speed indicator true because we have no feedback ****
- net spindle-at-speed => pyvcp.spindle-at-speed-led
- sets spindle-at-speed true
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement