@@ -56,14 +56,14 @@ G-code for more detailed explanations.
5656The 'Tool Table' is a text file that contains information about each
5757tool. The file is located in the same directory as your configuration
5858and is called 'tool.tbl' by default. A file name may be specified
59- with the ini file [EMCIO]TOOL_TABLE setting. The tools might be in a
59+ with the INI file [EMCIO]TOOL_TABLE setting. The tools might be in a
6060tool changer or just changed manually. The file can be edited with a
6161text editor or be updated using G10 L1. See the
6262<<sec:lathe-tool-table,Lathe Tool Table>> Section for an example of
6363the lathe tool table format. The maximum pocket number is 1000.
6464
65- The <<cha:tooledit-gui,Tool Editor>> or a text editor can be used to edit
66- the tool table. If you use a text editor make sure you reload the tool
65+ The <<cha:tooledit-gui,Tool Editor>> or a text editor can be used to edit
66+ the tool table. If you use a text editor make sure you reload the tool
6767table in the GUI.
6868
6969[[sub:tool-table-format]]
@@ -177,56 +177,56 @@ is used for all machines.
177177
178178The userspace program specified by *[EMCIO]EMCIO = io* is conventionally
179179used for tool changer management (and other io functions for enabling
180- LinuxCNC and the control of coolant/lube hardware). The hal pins used for
181- tool management are prefixed with *iocontrol.0.*
180+ LinuxCNC and the control of coolant/lube hardware). The HAL pins used for
181+ tool management are prefixed with *iocontrol.0.*.
182182
183- A gcode *TN * command asserts the hal output pin *iocontrol.0.tool-prepare*.
184- The hal input pin, *iocontrol.0.tool-prepared*, must be set by external
185- hal logic to complete tool preparation leading to a subsequent reset of
183+ A G-code *T * command asserts the HAL output pin *iocontrol.0.tool-prepare*.
184+ The HAL input pin, *iocontrol.0.tool-prepared*, must be set by external
185+ HAL logic to complete tool preparation leading to a subsequent reset of
186186the tool-prepare pin.
187187
188- A gcode *M6* command asserts the hal output pin *iocontrol.0.tool-change*.
189- The related hal input pin, *iocontrol.0.tool-prepared*, must be set by
190- external hal logic to indicate completion of the tool change leading
188+ A G-code *M6* command asserts the HAL output pin *iocontrol.0.tool-change*.
189+ The related HAL input pin, *iocontrol.0.tool-prepared*, must be set by
190+ external HAL logic to indicate completion of the tool change leading
191191to a subsequent reset of the tool-change pin.
192192
193193Tooldata is accessed by an ordered index (idx) that depends on the
194194type of toolchanger specified by *[EMCIO]RANDOM_TOOLCHANGER=type*.
195195
196196. For *RANDOM_TOOLCHANGER = 0*, (0 is default and specifies a non-random
197- toolchanger) idx is a number indicating the sequence in which tooldata was
197+ toolchanger) idx is a number indicating the sequence in which tooldata was
198198 loaded.
199199. For *RANDOM_TOOLCHANGER = 1*, idx is the *current* pocket number
200- for the toolnumber specified by the gcode select tool command *Tn*.
200+ for the toolnumber specified by the G-code select tool command *Tn*.
201201
202- The io program provides hal output pins to facilitate toolchanger management:
202+ The io program provides HAL output pins to facilitate toolchanger management:
203203
204204. *iocontrol.0.tool-prep-number*
205205. *iocontrol.0.tool-prep-index*
206206. *iocontrol.0.tool-prep-pocket*
207207
208208==== IO for non-random toolchanger
209209
210- . Tool number N ==0 indicates no tool
210+ . Tool number n ==0 indicates no tool
211211. The pocket number for a tool is fixed when tooldata is loaded
212- . At gcode *TN * (N != 0) command:
212+ . At G-code *Tn * (n != 0) command:
213213.. *iocontrol.0.tool-prep-index* = idx (index based on tooldata load sequence)
214- .. *iocontrol.0.tool-prep-number* = N
215- .. *iocontrol.0.tool-prep-pocket* = the fixed pocketno for N
216- . At gcode *T0* (N == 0 remove) command:
214+ .. *iocontrol.0.tool-prep-number* = n
215+ .. *iocontrol.0.tool-prep-pocket* = the fixed pocketno for n
216+ . At G-code *T0* (n == 0 remove) command:
217217.. *iocontrol.0.tool-prep-index* = 0
218218.. *iocontrol.0.tool-prep-number* = 0
219219.. *iocontrol.0.tool-prep-pocket* = 0
220220
221221==== IO for random toolchanger
222222
223- . Tool number N ==0 is *not special*
224- . Pocket number 0 is *special* as it indicates the *spindle*
225- . The *current* pocket number for tool N is the tooldata index (idx) for tool N
226- . At gcode command *TN *:
227- .. *iocontrol.0.tool-prep-index* = pocket number for tool N
228- .. *iocontrol.0.tool-prep-number* = N
229- .. *iocontrol.0.tool-prep-pocket* = pocket number for tool N
223+ . Tool number n ==0 is *not special*.
224+ . Pocket number 0 is *special* as it indicates the *spindle*.
225+ . The *current* pocket number for tool N is the tooldata index (idx) for tool n.
226+ . At G-code command *Tn *:
227+ .. *iocontrol.0.tool-prep-index* = pocket number for tool n
228+ .. *iocontrol.0.tool-prep-number* = n
229+ .. *iocontrol.0.tool-prep-pocket* = pocket number for tool n
230230
231231[[sub:tool-changers]]
232232=== Tool Changers(((Tool Changers)))
@@ -238,9 +238,9 @@ is in the <<sub:ini:sec:emcio,EMCIO Section>> of the INI chapter.
238238.Manual Tool Changer
239239Manual tool changer (you change the tool by hand) is treated like a
240240fixed location tool changer. Manual toolchanges can be aided by
241- a hal configuration that employs the userspace program
242- *hal_manualtoolchange* and is typically specified in an ini file
243- with ini statements:
241+ a HAL configuration that employs the userspace program
242+ *hal_manualtoolchange* and is typically specified in an INI file
243+ with INI statements:
244244
245245[source,{ini}]
246246----
0 commit comments