1414
1515LinuxCNC 2.5 supports TWOPASS processing of LinuxCNC configuration files
1616that can help in the modularization and readability of LinuxCNC files.
17- (LinuxCNC files are specified in an LinuxCNC ini file in the LinuxCNC stanza
17+ (LinuxCNC files are specified in an LinuxCNC INI file in the LinuxCNC stanza
1818as [LinuxCNC]HALFILE=filename).
1919
2020Normally, a set of one or more LinuxCNC configuration files must use a single,
@@ -45,7 +45,7 @@ and their names since when you add (or remove) a component, you
4545must find and update the single loadrt directive applicable to
4646the component.
4747
48- TWOPASS processing is enabled by including an ini file parameter in
48+ TWOPASS processing is enabled by including an INI file parameter in
4949the [HAL] section:
5050
5151[source,{ini}]
@@ -67,8 +67,9 @@ loadrt and2 names=ab,ac
6767loadrt and2 names=ad
6868----
6969
70- These commands can appear in different HALFILES. The HALFILES
71- are processed in the order of their appearance in the ini file.
70+ These commands can appear in different HAL files. The HAL files
71+ are processed in the order of their appearance in the INI file,
72+ in multiple HALFILE assignments.
7273
7374The TWOPASS option can be specified with options to add output for
7475debugging (verbose) and to prevent deletion of temporary files (nodelete).
@@ -134,7 +135,7 @@ encoder_ratio, pid, siggen, and sim_encoder.
134135
135136Two-step processing occurs before the GUI is loaded. When using a
136137[HAL]POSTGUI_HALFILE, it is convenient to place all the [HAL]POSTGUI_HALFILE
137- loadrt declarations for the necessary components in a preloaded halfile .
138+ loadrt declarations for the necessary components in a preloaded HAL file .
138139
139140.Example of a HAL section when using a POSTGUI_HALFILE
140141[source,{ini}]
@@ -154,10 +155,10 @@ HALUI = halui
154155
155156== Post GUI
156157
157- Some GUIs support halfiles that are processed after the GUI is started in order
158- to connect LinuxCNC pins that are created by the GUI. When using a postgui halfile with
159- TWOPASS processing, include all loadrt items for components added by postgui halfiles
160- in a separate halfile that is processed before the GUI. The addf commands can also
158+ Some GUIs support HAL files that are processed after the GUI is started in order
159+ to connect LinuxCNC pins that are created by the GUI. When using a postgui HAL file with
160+ TWOPASS processing, include all loadrt items for components added by postgui HAL files
161+ in a separate HAL file that is processed before the GUI. The addf commands can also
161162be included in the file.
162163
163164.Example
0 commit comments