1010:hal: {basebackend@docbook:'':hal}
1111:ngc: {basebackend@docbook:'':ngc}
1212
13- The moveoff Hal component is a Hal -only method
13+ The moveoff HAL component is a HAL -only method
1414for implementing offsets. See the manpage ('$ man moveoff')
1515for the IMPORTANT limitations and warnings.
1616
17- The moveoff component is used to offset joint positions using custom Hal
17+ The moveoff component is used to offset joint positions using custom HAL
1818connections. Implementing an offset-while-program-is-paused functionality is
1919supported with appropriate connections for the input pins. Nine joints are
2020supported.
@@ -64,20 +64,20 @@ limits) and an 'Error' message is issued.
6464
6565[CAUTION]
6666If offsets are enabled and applied and the machine is turned off for any
67- reason, any 'external' Hal logic that manages the enabling pins and the
67+ reason, any 'external' HAL logic that manages the enabling pins and the
6868offset-in-M inputs is responsible for their state when the machine is
6969subsequently turned on again.
7070
71- This Hal -only means of offsetting is typically not known to LinuxCNC
71+ This HAL -only means of offsetting is typically not known to LinuxCNC
7272nor available in GUI preview displays. *No protection is provided* for
7373offset moves that exceed soft limits managed by LinuxCNC. Since soft limits
7474are not honored, an offset move may encounter hard limits (or *CRASH* if
7575there are no limit switches). Use of the offset-min-M and offset-max-M inputs
7676to limit travel is recommended. Triggering a hard limit will turn off
7777the machine -- see *Caution* above.
7878
79- The offset-in-M values may be set with inifile settings, controlled by a GUI,
80- or managed by other Hal components and connections. Fixed values may be
79+ The offset-in-M values may be set with INI file settings, controlled by a GUI,
80+ or managed by other HAL components and connections. Fixed values may be
8181appropriate in simple cases where the direction and amount of offset is
8282well-defined but a control method is required to deactivate an enabling
8383pin in order to return offsets to zero. GUIs may provide means for users to
@@ -86,34 +86,34 @@ set offset-in-M values to zero before deasserting an enabling pin.
8686
8787The default values for accel, vel, min, max, epsilon, waypoint-sample-secs, and
8888waypoint-threshold may not be suitable for any particular application. This
89- Hal component is unaware of limits enforced elsewhere by LinuxCNC.
89+ HAL component is unaware of limits enforced elsewhere by LinuxCNC.
9090Users should test usage in a simulator application and understand all
9191hazards before use on hardware.
9292
9393Sim configurations that demonstrate the component and a
94- gui (moveoff_gui) are located in:
94+ GUI (moveoff_gui) are located in:
9595
9696* configs/sim/axis/moveoff (axis-ui)
9797* configs/sim/touchy/ngcgui (touchy-ui)
9898
9999== Modifying an existing configuration
100100
101- A system-provided halfile (LIB:hookup_moveoff.tcl) can be used to adapt an
102- existing configuration to use the moveoff component. Additional ini file
103- settings support the use of a simple gui (moveoff_gui) for controlling offsets.
101+ A system-provided HAL file (LIB:hookup_moveoff.tcl) can be used to adapt an
102+ existing configuration to use the moveoff component. Additional INI file
103+ settings support the use of a simple GUI (moveoff_gui) for controlling offsets.
104104
105- When the system halfile (LIB:hookup_moveoff.tcl) is properly specified in
106- a configuration ini file, it will:
105+ When the system HAL file (LIB:hookup_moveoff.tcl) is properly specified in
106+ a configuration INI file, it will:
107107
108108. Disconnect the original joint.N.motor-pos-cmd and joint.N.motor-pos-fb pin
109109 connections
110110. Load (loadrt) the moveoff component (using the name mv) with a personality
111- set to accommodate all axes identified in the ini file
111+ set to accommodate all axes identified in the INI file
112112. Add (addf) the moveoff component functions in the required sequence
113113. Reconnect the joint.N.motor-pos-cmd and joint.N.motor-pos-fb pins to use
114114 the moveoff component
115115. Set the moveoff component operating parameters and limits for each axis
116- in accordance with additional ini file settings
116+ in accordance with additional INI file settings
117117
118118Note: The moveoff_gui application supports configurations that use known
119119kinematics modules with KINEMATICS_TYPE=KINEMATICS_IDENTITY. Supported
@@ -123,10 +123,10 @@ to the corresponding joint.
123123
124124Modify an existing configuration as follows:
125125
126- Make sure there is an ini file entry for [HAL]HALUI and create a new
126+ Make sure there is an INI file entry for [HAL]HALUI and create a new
127127[HAL]HALFILE entry for LIB:hookup_moveoff.tcl.
128128The entry for LIB:hookup_moveoff.tcl should follow all HALFILE= entries
129- for halfiles that connect the pins for joint.N.motor-pos-cmd,
129+ for HAL files that connect the pins for joint.N.motor-pos-cmd,
130130joint.N.motor-pos-fb, and any components connected to these pins (pid
131131and encoder components in a servo system for instance).
132132
@@ -140,7 +140,7 @@ HALFILE = existing_configuration_halfile_n
140140HALFILE = LIB:hookup_moveoff.tcl
141141----
142142
143- Add ini file entries for the per-axis settings for each axis in use (if an
143+ Add INI file entries for the per-axis settings for each axis in use (if an
144144entry is not defined, the corresponding entry from the [AXIS_n] section will be
145145used, if no entry is found, then the moveoff component default will be used).
146146
@@ -157,7 +157,7 @@ MAX_VELOCITY =
157157MAX_ACCELERATION =
158158----
159159
160- Add ini file entries for moveoff component settings (omit to use moveoff defaults):
160+ Add INI file entries for moveoff component settings (omit to use moveoff defaults):
161161
162162[source,{ini}]
163163----
@@ -168,7 +168,7 @@ WAYPOINT_THRESHOLD =
168168----
169169
170170The moveoff_gui is used to make additional required connections and provide
171- a popup gui to:
171+ a popup GUI to:
172172
173173. Provide a control togglebutton to Enable/Disable offsets
174174. Provide a control togglebutton to Enable/Disable backtracking
@@ -197,29 +197,29 @@ The mv.apply-offsets is connected to halui.program.is-paused or set to 1
197197depending upon the command line option -mode [ onpause | always ]. A new signal
198198is automatically created if necessary.
199199
200- To use the moveoff_gui, add an entry in the ini file [APPLICATIONS]
200+ To use the moveoff_gui, add an entry in the INI file [APPLICATIONS]
201201section as follows:
202202
203203[source,{ini}]
204204----
205205[APPLICATIONS]
206206# Note: a delay (specified in seconds) may be required if connections
207- # are made using postgui halfiles ([HAL]POSTGUI_HALFILE=)
207+ # are made using postgui HAL files ([HAL]POSTGUI_HALFILE=)
208208DELAY = 0
209209APP = moveoff_gui option1 option2 ...
210210----
211211
212- When the halfile LIB:hookup_moveoff.tcl is used to load and connect the
212+ When the HAL file LIB:hookup_moveoff.tcl is used to load and connect the
213213moveoff component, the mv.move-enable pin will not be connected and
214- local controls provided by the moveoff_gui will be used. This is the
214+ local controls provided by the moveoff_gui will be used. This is the
215215simplest method to test or demonstrate the moveoff component when
216- modifying an existing ini configuration.
216+ modifying an existing INI configuration.
217217
218218To enable external controls while using the moveoff_gui display
219- for offset values and status, halfiles that follow LIB:hookup_moveoff.tcl
219+ for offset values and status, HAL files that follow LIB:hookup_moveoff.tcl
220220must make additional connections. For example, the supplied demonstration
221- configs (configs/sim/axis/moveoff/*.ini) use a simple system halfile
222- (named LIB:moveoff_external.hal) to connect the mv.move-enable,mv.offset-in-M,
221+ configs (configs/sim/axis/moveoff/*.ini) use a simple system HAL file
222+ (named LIB:moveoff_external.hal) to connect the mv.move-enable, mv.offset-in-M,
223223and mv.bactrack-enable pins to signals:
224224
225225[source,{ini}]
@@ -246,7 +246,7 @@ net external_backtrack_en mv.backtrack-enable
246246----
247247
248248These signals (external_enable, external_offset_M, external_backtrack_en) may
249- be managed by subsequent HALFILES (including POSTGUI_HALFILEs) to provide
249+ be managed by subsequent HALFILES (including POSTGUI_HALFILEs) to provide
250250customized control of the component while using the moveoff_gui display
251251for current offset values and offset status.
252252
0 commit comments