Skip to content

Commit b60a335

Browse files
authored
Merge pull request #1784 from smoe/docs_stupid_simple_stuff
docs: More changes triggered while translating
2 parents 94fd7d8 + 4bb0d47 commit b60a335

11 files changed

Lines changed: 183 additions & 194 deletions

File tree

docs/html/gcode.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,12 +39,12 @@
3939
tr.odd td { background: #d9d9d9; }
4040
tr.head td, tr.head th { background: black; color: white; }
4141
--></STYLE>
42-
<TITLE>LinuxCNC "G-Code" Quick Reference</TITLE>
42+
<TITLE>LinuxCNC "G-code" Quick Reference</TITLE>
4343
</HEAD>
4444

4545
<BODY>
4646
<TABLE ID=ref1>
47-
<CAPTION> LinuxCNC "G-Code" Quick Reference </CAPTION>
47+
<CAPTION> LinuxCNC "G-code" Quick Reference </CAPTION>
4848
<COL id="group"> <COL id="code"> <COL id="params"> <COL id="description">
4949
<TR id="titlerow"> <TH>Code <TH>Parameters <TH>Description </TR>
5050
<TR><TH>Motion<TD COLSPAN=2 STYLE="border-bottom: 1px solid black">(X Y Z A B C U V W apply to all motions)</TR>

docs/src/config/iov2.adoc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414

1515
I/O control handles I/O tasks like coolant, toolchange, e-stop and lube. The
1616
signals are turned on and off in userspace with G-code or in the case of e-stop
17-
in hal.
17+
in HAL.
1818

1919
I/O Control V2 adds more toolchanger support for communication with the
2020
toolchanger.
@@ -36,7 +36,7 @@ toolchanger.
3636

3737
* Consistent view of state: Both parties must have a consistent view of the
3838
state at any point in time with respect to aborted versus completed, and tool
39-
number and pocket
39+
number and pocket.
4040

4141
* Handshaked signaling an abort/fault: an abort signaled by LinuxCNC to the
4242
toolchanger, and a fault indicated from the toolchanger is handshaked to

docs/src/config/lathe-config.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ in the preamble of the G-code file.
3030
The following .ini settings are needed for lathe mode in Axis in addition to
3131
or replacing normal settings in the .ini file. These historical settings use
3232
identity kinematics (trivkins) and 'three' joints (0,1,2) corresponding to
33-
coordinates x,y,z. The joint 1 for the unused y axis is required but not used
33+
coordinates x, y, z. The joint 1 for the unused y axis is required but not used
3434
in these historical configurations. Simulated lathe configs may use these
3535
historical settings.
3636
Gmoccapy also uses the mentioned settings, but does offer additional settings,

docs/src/config/moveoff.adoc

Lines changed: 29 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -10,11 +10,11 @@
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
1414
for implementing offsets. See the manpage ('$ man moveoff')
1515
for 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
1818
connections. Implementing an offset-while-program-is-paused functionality is
1919
supported with appropriate connections for the input pins. Nine joints are
2020
supported.
@@ -64,20 +64,20 @@ limits) and an 'Error' message is issued.
6464

6565
[CAUTION]
6666
If 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
6868
offset-in-M inputs is responsible for their state when the machine is
6969
subsequently 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
7272
nor available in GUI preview displays. *No protection is provided* for
7373
offset moves that exceed soft limits managed by LinuxCNC. Since soft limits
7474
are not honored, an offset move may encounter hard limits (or *CRASH* if
7575
there are no limit switches). Use of the offset-min-M and offset-max-M inputs
7676
to limit travel is recommended. Triggering a hard limit will turn off
7777
the 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
8181
appropriate in simple cases where the direction and amount of offset is
8282
well-defined but a control method is required to deactivate an enabling
8383
pin 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

8787
The default values for accel, vel, min, max, epsilon, waypoint-sample-secs, and
8888
waypoint-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.
9090
Users should test usage in a simulator application and understand all
9191
hazards before use on hardware.
9292

9393
Sim 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

118118
Note: The moveoff_gui application supports configurations that use known
119119
kinematics modules with KINEMATICS_TYPE=KINEMATICS_IDENTITY. Supported
@@ -123,10 +123,10 @@ to the corresponding joint.
123123

124124
Modify 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.
128128
The 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,
130130
joint.N.motor-pos-fb, and any components connected to these pins (pid
131131
and encoder components in a servo system for instance).
132132

@@ -140,7 +140,7 @@ HALFILE = existing_configuration_halfile_n
140140
HALFILE = 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
144144
entry is not defined, the corresponding entry from the [AXIS_n] section will be
145145
used, if no entry is found, then the moveoff component default will be used).
146146

@@ -157,7 +157,7 @@ MAX_VELOCITY =
157157
MAX_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

170170
The 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
197197
depending upon the command line option -mode [ onpause | always ]. A new signal
198198
is 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]
201201
section 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=)
208208
DELAY = 0
209209
APP = 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
213213
moveoff 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
215215
simplest method to test or demonstrate the moveoff component when
216-
modifying an existing ini configuration.
216+
modifying an existing INI configuration.
217217

218218
To 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
220220
must 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,
223223
and mv.bactrack-enable pins to signals:
224224

225225
[source,{ini}]
@@ -246,7 +246,7 @@ net external_backtrack_en mv.backtrack-enable
246246
----
247247

248248
These 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
250250
customized control of the component while using the moveoff_gui display
251251
for current offset values and offset status.
252252

0 commit comments

Comments
 (0)