You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/man/man1/hal_manualtoolchange.1
+17-8Lines changed: 17 additions & 8 deletions
Original file line number
Diff line number
Diff line change
@@ -26,11 +26,15 @@ hal_manualtoolchange \- HAL userspace component to enable manual tool changes.
26
26
.SH SYNOPSIS
27
27
loadusr hal_manualtoolchange
28
28
.SH DESCRIPTION
29
-
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.
29
+
hal_manualtoolchange is a LinuxCNC userspace component that allows users with machines lacking automatic tool changers to make manual tool changes.
30
+
In use when a M6 tool change is encountered, the motion component will stop the spindle and pause the program.
31
+
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.
32
+
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.
30
33
.PP
31
-
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).
34
+
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).
32
35
.PP
33
-
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.
36
+
hal_manualtoolchange can be used even when AXIS is not used as the GUI.
37
+
This component is most useful if you have presettable tools and you use the tool table.
34
38
.SH PINS
35
39
.TP
36
40
.Bhal_manualtoolchange.number\fRs32in\fR
@@ -45,13 +49,16 @@ Signifies that the tool change is complete.
45
49
.Bhal_manualtoolchange.change_button\fRbitin\fR
46
50
Pin to allow an external switch to signify that the tool change is complete.
47
51
.SH USAGE
48
-
Normal usage is to load the component in your HAL file and net the appropriate pins from the\fImotion\fR and\fIio\fR components. The following lines are typical in a HAL file when using the hal_manualtoolchange userspace component.
52
+
Normal usage is to load the component in your HAL file and net the appropriate pins from the\fImotion\fR and\fIio\fR components.
53
+
The following lines are typical in a HAL file when using the hal_manualtoolchange userspace component.
49
54
.TP
50
55
.Bloadusr\-Whal_manualtoolchange
51
56
This will load the hal_manualtoolchange userspace component waiting for the component to be ready before continuing.
When an M6 code is run, motion sets \fIiocontrol.0.tool\-change\fR to high indicating a tool change. This pin should be netted to \fIhal_manualtoolchange.change\fR. This causes the Tool change dialog to be displayed on screen and wait for the user to either click the continue button on the dialog or press an externally connected button.
59
+
When an M6 code is run, motion sets \fIiocontrol.0.tool\-change\fR to high indicating a tool change.
60
+
This pin should be netted to \fIhal_manualtoolchange.change\fR.
61
+
This causes the Tool change dialog to be displayed on screen and wait for the user to either click the continue button on the dialog or press an externally connected button.
The \fIiocontrol.0.tool\-prepare\fR pin will go true when a Tn tool prepare is requested. Since there is not automated tool changer this pin should be netted to \fIiocontrol.0.tool\-prepared\fR to indocate that the tool has been prepared.
78
+
The \fIiocontrol.0.tool\-prepare\fR pin will go true when a T\fIn\fR tool prepare is requested.
79
+
Since there is not automated tool changer this pin should be netted to \fIiocontrol.0.tool\-prepared\fR to indocate that the tool has been prepared.
72
80
.PP
73
-
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 \fIhal_manualtoolchange.change_button\fR pin. For Example:
81
+
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 \fIhal_manualtoolchange.change_button\fR pin.
0 commit comments