hal_manualtoolchange(1) | HAL Userspace Component | hal_manualtoolchange(1) |
hal_manualtoolchange - HAL userspace component to enable manual tool changes.
loadusr hal_manualtoolchange
hal_manualtoolchange is a LinuxCNC userspace component that allows users with machines lacking automatic tool changers to make manual tool changes. In use when a M6 tool change is encountered, the motion component will stop the spindle and pause the program. The hal_manualtoolchange component will then receive a signal from the motion component causing it to display a tool change window prompting the user which tool number to load based on the last T- number programmed. The dialog will stay active until the "continue" button is pressed. When the "continue" button is pressed, hal_manualtoolchange will then signal the motion component that the tool change is complete thus allowing motion to turn the spindle back on and resume program execution.
Additionally, the hal_manualtoolchange component includes a hal pin for a button that can be connected to a physical button to complete the tool change and remove the window prompt (hal_manualtoolchange.change_button).
hal_manualtoolchange can be used even when AXIS is not used as the GUI. This component is most useful if you have presettable tools and you use the tool table.
Normal usage is to load the component in your HAL file and net the appropriate pins from the motion and io components. The following lines are typical in a HAL file when using the hal_manualtoolchange userspace component.
If you wish to use an external button to signal the hal_manualtoolchange component that the tool change is complete simply bring the button into HAL (via a parport input pin or a hostmot2 gpio input or similar), and wire it directly to the hal_manualtoolchange.change_button pin. For Example:
net tool-changed-btn hal_manualtoolchange.change_button <= parport.0.pin-15-in
04 APR 2017 | LinuxCNC Documentation |