Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
45 commits
Select commit Hold shift + click to select a range
ac193cb
chore(linuxcnc): keep patch numbers permanent across removals
b0czek Nov 11, 2026
68b22cb
chore(linuxcnc): start moving the patch series to v2.10.0-pre2
b0czek Nov 11, 2026
c1f845b
feat(hal): add C++ wrappers for the HAL query API
b0czek Nov 11, 2026
b69b6f0
refactor(hal): port the HAL adapter to the LinuxCNC 2.10 public API
b0czek Nov 11, 2026
28bcf8a
feat(linuxcnc): port patches 0001-0003 to v2.10.0-pre2
b0czek Nov 11, 2026
1b60f06
refactor(scope): port the scope controller to the LinuxCNC 2.10 publi…
b0czek Nov 11, 2026
b461b59
fix(hal): report stopped threads correctly on the first topology() call
b0czek Nov 11, 2026
365e52e
chore(linuxcnc): keep runtime availability in the pre2 series
b0czek Nov 11, 2026
cbec1ff
feat(linuxcnc): port patches 0004-0006 to v2.10.0-pre2
b0czek Nov 12, 2026
5445eec
feat(linuxcnc): port patches 0007 and 0008 to v2.10.0-pre2
b0czek Nov 12, 2026
18a0825
feat(linuxcnc): port patches 0009-0015 to v2.10.0-pre2
b0czek Nov 12, 2026
8603ba4
feat(linuxcnc): port patches 0016-0023 to v2.10.0-pre2
b0czek Nov 12, 2026
8102677
feat(linuxcnc): add patch 0024 for the MDI remap abort crash
b0czek Nov 12, 2026
d994ba0
feat(linuxcnc): resumable Stop waits for spindle at-speed on Resume
b0czek Nov 12, 2026
45c6e9b
fix(native): refuse HAL writes outside an owned S32/U32 item's range
b0czek Nov 17, 2026
513868b
test(native): sample 64-bit integer scope pins and pin CreateSignal S32
b0czek Nov 17, 2026
367154d
fix(linuxcnc): address final pre2 review findings
b0czek Nov 17, 2026
fff12b0
fix(linuxcnc): address high-severity findings from review round 2
b0czek Nov 18, 2026
8d37e81
fix(native): keep task-queued command results with their command
b0czek Nov 18, 2026
07d216c
test(native): cover every owned S32/U32 write path
b0czek Nov 18, 2026
485e659
test(native): make command hold tests deterministic
b0czek Nov 18, 2026
a73a04b
test(native): satisfy lint in the live HAL write checks
b0czek Nov 18, 2026
844ff61
fix(linuxcnc): address medium findings from review round 2
b0czek Nov 18, 2026
70c3579
ci(linuxcnc): test patches on a headless build
b0czek Nov 18, 2026
dc7e0ab
docs: define what is out of scope
b0czek Nov 18, 2026
e4db04f
test(linuxcnc): trim tool wear test fixtures
b0czek Nov 18, 2026
7bb89f8
test(linuxcnc): trim resumable Stop and availability fixtures
b0czek Nov 18, 2026
23fa69c
fix(linuxcnc): generate the tool-crud-refusal configuration
b0czek Nov 18, 2026
c8f4b24
refactor(native): move the preview recorder out of the patch series
b0czek Nov 18, 2026
02fc6cc
feat(linuxcnc): select alternating G76 infeed with G76.1
b0czek Nov 18, 2026
8b130a1
docs: put RTAI and kernel-module realtime out of scope
b0czek Nov 19, 2026
d56f6c0
fix(linuxcnc): refuse an interpreter reset unless the machine is idle
b0czek Nov 19, 2026
6cf3f1b
fix(native): cancel queued commands on abort, E-stop and machine off
b0czek Nov 19, 2026
f7c6243
fix(linuxcnc): keep mirrored G76.1 passes within the programmed Z
b0czek Nov 19, 2026
3ce05fd
fix(native): give the G-code preview the configured axes
b0czek Nov 19, 2026
14e3abf
test(linuxcnc): give resumable-stop programs time to finish on slow r…
b0czek Nov 19, 2026
186208e
test(linuxcnc): move the patches' new tests into linuxcnc-tests/
b0czek Nov 19, 2026
8dc3320
test(linuxcnc): share the regression test selection between CI and lo…
b0czek Nov 19, 2026
ca6ac20
fix(linuxcnc): close pre2 round-5 findings and merge blockers
b0czek Nov 24, 2026
86b17c1
feat(linuxcnc): let Stop and Pause finish operations already under way
b0czek Nov 24, 2026
51f61e2
fix(linuxcnc): close pre2 review round 6
b0czek Nov 24, 2026
a8ef581
fix(linuxcnc): close the final pre2 review's simple findings
b0czek Nov 26, 2026
5f550d9
fix(linuxcnc): close the final pre2 review's Stop and Step findings
b0czek Nov 26, 2026
d4d871f
feat(linuxcnc): port patch 0026 to v2.10.0-pre2
b0czek Nov 26, 2026
9b24f0f
test(linuxcnc): retry the first interpreter reset after startup
b0czek Nov 26, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -126,9 +126,9 @@ jobs:
cd "${LINUXCNC_DIR}/src"
./autogen.sh
./configure --with-realtime=uspace \
--enable-headless \
--disable-gui \
--disable-build-documentation \
--disable-build-manpages
--disable-manpages
make -j"$(nproc)"
- name: Save LinuxCNC build
if: steps.linuxcnc-cache.outputs.cache-hit != 'true'
Expand Down
45 changes: 20 additions & 25 deletions .github/workflows/linuxcnc-patches.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,12 @@ on:
push:
paths:
- "linuxcnc-patches/**"
- "linuxcnc-tests/**"
- ".github/workflows/linuxcnc-patches.yml"
pull_request:
paths:
- "linuxcnc-patches/**"
- "linuxcnc-tests/**"
- ".github/workflows/linuxcnc-patches.yml"
workflow_dispatch:

Expand All @@ -33,6 +35,8 @@ jobs:
label: 2
- shard: 2
label: 3
- shard: 3
label: 4

steps:
- name: Check out repository
Expand Down Expand Up @@ -71,41 +75,32 @@ jobs:

- name: Install LinuxCNC build and test dependencies
working-directory: ${{ runner.temp }}/linuxcnc
run: .github/scripts/install-deps.sh
run: |
set -euo pipefail

.github/scripts/use-main-ubuntu-mirror.sh
sudo apt-get --quiet update
sudo apt-get install --yes --no-install-recommends build-essential dpkg-dev
export DEB_BUILD_PROFILES="pkg.linuxcnc.headless nodoc"
debian/configure no-docs
sudo env DEB_BUILD_PROFILES="${DEB_BUILD_PROFILES}" \
apt-get -P "pkg.linuxcnc.headless,nodoc" build-dep --yes \
--no-install-recommends .

- name: Build patched LinuxCNC
working-directory: ${{ runner.temp }}/linuxcnc
run: |
mkdir -p "${RUNNER_TEMP}/rtlib-a" "${RUNNER_TEMP}/rtlib-b"
.github/scripts/build-rip.sh \
--with-realtime=uspace \
--with-extra-rtlib-dirs="${RUNNER_TEMP}/rtlib-a:${RUNNER_TEMP}/rtlib-b"
--with-extra-rtlib-dirs="${RUNNER_TEMP}/rtlib-a:${RUNNER_TEMP}/rtlib-b" \
--disable-gui \
--disable-build-documentation \
--disable-manpages

- name: Run LinuxCNC regression suite shard
working-directory: ${{ runner.temp }}/linuxcnc
env:
SHARD_COUNT: ${{ strategy.job-total }}
SHARD_INDEX: ${{ matrix.shard }}
run: |
set -euo pipefail

shard_tests=()
while IFS= read -r -d '' test_path; do
if [[ "${test_path}" == tests/resumable-stop/* ]]; then
test_shard=0
else
checksum="$(printf '%s' "${test_path}" | cksum)"
checksum="${checksum%% *}"
test_shard=$((1 + checksum % (SHARD_COUNT - 1)))
fi
if (( test_shard == SHARD_INDEX )); then
shard_tests+=("${test_path}")
fi
done < <(
find tests \( -name test -o -name test.sh -o -name test.hal \) \
-print0 | sort -z
)

((${#shard_tests[@]} > 0))
echo "Running ${#shard_tests[@]} tests in shard $((SHARD_INDEX + 1))/${SHARD_COUNT}"
scripts/rip-environment runtests -p "${shard_tests[@]}"
run: '"${GITHUB_WORKSPACE}/linuxcnc-tests/run.sh" . -p'
8 changes: 8 additions & 0 deletions AGENTS.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
# LinuxCNC Ctrl Agent Guidance

## Project scope

- LinuxCNC's own GUIs and GUI tools, its older remote interfaces, tool database
programs, and RTAI or kernel-module realtime are out of scope (see
`README.md`). Do not
report review findings against them, fix them, test them, extend patches for
them, or write patches to remove them. `halui` is headless and stays in scope.

## Native formatting and linting

- Treat native formatting and linting as part of completing every change under
Expand Down
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -42,9 +42,9 @@ RUN cd /src/linuxcnc/src \
&& ./configure \
--prefix=/opt/linuxcnc \
--with-realtime=uspace \
--enable-headless \
--disable-gui \
--disable-build-documentation \
--disable-build-manpages \
--disable-manpages \
&& make -j"${build_jobs}" \
&& make DESTDIR=/linuxcnc-root install

Expand Down
18 changes: 18 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,24 @@ INI, program, HAL, and scope services over gRPC, plus binary WebSocket streams
for position history, selected HAL values, and G-code preview. See the
[architecture document](./docs/native-grpc-architecture.md).

## Scope

LinuxCNC runs here as a headless backend, and clients use the APIs this
repository provides. LinuxCNC's own GUIs and GUI tools (AXIS, Touchy, gmoccapy,
QtDragon, `tooledit` and similar) are out of scope: we do not add features to
them, fix them, test them, or keep patches compatible with them. `halui` is a
headless HAL interface and stays in scope.

The older remote interfaces (`linuxcncrsh`, `halrmt`, `schedrmt`), tool database
programs (`[EMCIO]DB_PROGRAM`), and RTAI or other kernel-module realtime are out
of scope in the same way: clients use this repository's gRPC APIs, tool data
lives in the file-backed tool table, and LinuxCNC runs with `uspace` realtime,
including on PREEMPT_RT kernels.

Out of scope means we do not care about these features. It does not mean we
remove them: patches neither fix them nor strip them out, and code a patch
already touches stays as it is unless other work requires a change.

## Repository layout

- `proto/`: canonical versioned protobuf wire contract and its existing license.
Expand Down
3 changes: 2 additions & 1 deletion docs/status-delta-boundaries.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,8 @@ LinuxCNCStat
| |-- interpreterErrorCode *
| |-- taskPaused *
| |-- delayLeft *
| `-- queuedMdiCommands *
| |-- queuedMdiCommands *
| `-- holdWait *
|-- motion
| |-- traj
| | |-- linearUnits *
Expand Down
20 changes: 10 additions & 10 deletions linuxcnc-patches/0001-export-spindle-speed-feedback.patch
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,10 @@ Subject: [PATCH] emc: expose spindle speed feedback in status
5 files changed, 6 insertions(+), 1 deletion(-)

diff --git a/src/emc/nml_intf/emc.cc b/src/emc/nml_intf/emc.cc
index df82c4d0d0..fd5b118fba 100644
index 3809d6b..299418c 100644
--- a/src/emc/nml_intf/emc.cc
+++ b/src/emc/nml_intf/emc.cc
@@ -1014,6 +1014,7 @@ void EMC_SPINDLE_STAT::update(CMS * cms)
@@ -1018,6 +1018,7 @@ void EMC_SPINDLE_STAT::update(CMS * cms)
{
EMC_SPINDLE_STAT_MSG::update(cms);
cms->update(speed);
Expand All @@ -24,10 +24,10 @@ index df82c4d0d0..fd5b118fba 100644
cms->update(css_maximum);
cms->update(css_factor);
diff --git a/src/emc/nml_intf/emc_nml.hh b/src/emc/nml_intf/emc_nml.hh
index afd051e27b..68478559c7 100644
index d31f9a5..9e1d4d0 100644
--- a/src/emc/nml_intf/emc_nml.hh
+++ b/src/emc/nml_intf/emc_nml.hh
@@ -1118,7 +1118,8 @@ class EMC_SPINDLE_STAT:public EMC_SPINDLE_STAT_MSG {
@@ -1160,7 +1160,8 @@ class EMC_SPINDLE_STAT:public EMC_SPINDLE_STAT_MSG {
// cppcheck-suppress duplInheritedMember
void update(CMS * cms);

Expand All @@ -38,10 +38,10 @@ index afd051e27b..68478559c7 100644
double css_maximum;
double css_factor; // CSS Status
diff --git a/src/emc/nml_intf/emcops.cc b/src/emc/nml_intf/emcops.cc
index d58c87c637..6373c42f49 100644
index 2be2c1b..4fd5564 100644
--- a/src/emc/nml_intf/emcops.cc
+++ b/src/emc/nml_intf/emcops.cc
@@ -178,6 +178,7 @@ EMC_AUX_STAT::EMC_AUX_STAT()
@@ -195,6 +195,7 @@ EMC_AUX_STAT::EMC_AUX_STAT()
EMC_SPINDLE_STAT::EMC_SPINDLE_STAT()
: EMC_SPINDLE_STAT_MSG(EMC_SPINDLE_STAT_TYPE, sizeof(EMC_SPINDLE_STAT)),
speed(0.0),
Expand All @@ -50,10 +50,10 @@ index d58c87c637..6373c42f49 100644
css_maximum(0.0),
css_factor(1.0),
diff --git a/src/emc/task/taskintf.cc b/src/emc/task/taskintf.cc
index 7aaee75fe7..a37da0ca5f 100644
index befed5a..4215d22 100644
--- a/src/emc/task/taskintf.cc
+++ b/src/emc/task/taskintf.cc
@@ -2036,6 +2036,7 @@ int emcSpindleUpdate(EMC_SPINDLE_STAT stat[], int num_spindles){
@@ -2131,6 +2131,7 @@ int emcSpindleUpdate(EMC_SPINDLE_STAT stat[], int num_spindles){
stat[s].spindle_override_enabled = enables & SS_ENABLED;
stat[s].enabled = emcmotStatus.spindle_status[s].speed != 0;
stat[s].speed = emcmotStatus.spindle_status[s].speed;
Expand All @@ -62,10 +62,10 @@ index 7aaee75fe7..a37da0ca5f 100644
stat[s].direction = emcmotStatus.spindle_status[s].direction;
stat[s].orient_state = emcmotStatus.spindle_status[s].orient_state;
diff --git a/src/emc/usr_intf/axis/extensions/emcmodule.cc b/src/emc/usr_intf/axis/extensions/emcmodule.cc
index 0ffaae6b7d..73b9efc2c8 100644
index 0fcf4da..1d2ab2f 100644
--- a/src/emc/usr_intf/axis/extensions/emcmodule.cc
+++ b/src/emc/usr_intf/axis/extensions/emcmodule.cc
@@ -1425,6 +1425,7 @@ static PyObject *Stat_spindle_one(pyStatChannel *s, int spindleno) {
@@ -1431,6 +1431,7 @@ static PyObject *Stat_spindle_one(pyStatChannel *s, int spindleno) {
F(enabled);
F2("override_enabled", spindle_override_enabled);
F(speed);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,10 @@ Subject: [PATCH] emc: expose interpreter coordinate data in status
5 files changed, 88 insertions(+)

diff --git a/src/emc/nml_intf/emc.cc b/src/emc/nml_intf/emc.cc
index fd5b118fba..282edd98ec 100644
index 299418c..ec54d4e 100644
--- a/src/emc/nml_intf/emc.cc
+++ b/src/emc/nml_intf/emc.cc
@@ -1392,8 +1392,14 @@ void EMC_TASK_STAT::update(CMS * cms)
@@ -1417,8 +1417,14 @@ void EMC_TASK_STAT::update(CMS * cms)
cms->update(ini_filename, LINELEN);
EmcPose_update(cms, &g5x_offset);
cms->update(g5x_index);
Expand All @@ -31,10 +31,10 @@ index fd5b118fba..282edd98ec 100644
cms->update(activeGCodes, ACTIVE_G_CODES);
cms->update(activeMCodes, ACTIVE_M_CODES);
diff --git a/src/emc/nml_intf/emc_nml.hh b/src/emc/nml_intf/emc_nml.hh
index 68478559c7..38f67b98bd 100644
index 9e1d4d0..3d8c617 100644
--- a/src/emc/nml_intf/emc_nml.hh
+++ b/src/emc/nml_intf/emc_nml.hh
@@ -1459,8 +1459,12 @@ class EMC_TASK_STAT:public EMC_TASK_STAT_MSG {
@@ -1538,8 +1538,12 @@ class EMC_TASK_STAT:public EMC_TASK_STAT_MSG {
char ini_filename[LINELEN];
EmcPose g5x_offset; // in user units, currently active
int g5x_index; // index of active g5x system
Expand All @@ -48,10 +48,10 @@ index 68478559c7..38f67b98bd 100644
int activeGCodes[ACTIVE_G_CODES];
int activeMCodes[ACTIVE_M_CODES];
diff --git a/src/emc/nml_intf/emcops.cc b/src/emc/nml_intf/emcops.cc
index 6373c42f49..6e068c2708 100644
index 4fd5564..ed6a962 100644
--- a/src/emc/nml_intf/emcops.cc
+++ b/src/emc/nml_intf/emcops.cc
@@ -134,8 +134,12 @@ EMC_TASK_STAT::EMC_TASK_STAT()
@@ -150,8 +150,12 @@ EMC_TASK_STAT::EMC_TASK_STAT()
ini_filename{},
g5x_offset{},
g5x_index(0),
Expand All @@ -65,10 +65,10 @@ index 6373c42f49..6e068c2708 100644
activeSettings{},
programUnits(CANON_UNITS_MM),
diff --git a/src/emc/task/emctask.cc b/src/emc/task/emctask.cc
index 90fc85d0be..d5c060f669 100644
index 8ab3f56..7620a30 100644
--- a/src/emc/task/emctask.cc
+++ b/src/emc/task/emctask.cc
@@ -738,6 +738,46 @@ int emcTaskUpdate(EMC_TASK_STAT * stat)
@@ -797,6 +797,46 @@ int emcTaskUpdate(EMC_TASK_STAT * stat)
//update state of block delete
stat->block_delete_state = GET_BLOCK_DELETE();

Expand Down Expand Up @@ -116,10 +116,10 @@ index 90fc85d0be..d5c060f669 100644
stat->taskbeat = task_beat;

diff --git a/src/emc/usr_intf/axis/extensions/emcmodule.cc b/src/emc/usr_intf/axis/extensions/emcmodule.cc
index 73b9efc2c8..3345c0a6a0 100644
index 1d2ab2f..d242bd5 100644
--- a/src/emc/usr_intf/axis/extensions/emcmodule.cc
+++ b/src/emc/usr_intf/axis/extensions/emcmodule.cc
@@ -1261,6 +1261,26 @@ static PyObject *Stat_g5x_offset(pyStatChannel *s, void *) {
@@ -1267,6 +1267,26 @@ static PyObject *Stat_g5x_offset(pyStatChannel *s, void *) {
return pose(s->status.task.g5x_offset);
}

Expand All @@ -146,7 +146,7 @@ index 73b9efc2c8..3345c0a6a0 100644
static PyObject *Stat_g92_offset(pyStatChannel *s, void *) {
return pose(s->status.task.g92_offset);
}
@@ -1543,8 +1563,22 @@ static PyGetSetDef Stat_getsetlist[] = {
@@ -1576,8 +1596,22 @@ static PyGetSetDef Stat_getsetlist[] = {
{(char*)"mcodes", (getter)Stat_activemcodes, NULL, NULL, NULL},
{(char*)"misc_error", (getter)Stat_misc_error, NULL, NULL, NULL},
{(char*)"g5x_offset", (getter)Stat_g5x_offset, NULL, NULL, NULL},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,48 +15,60 @@ Interp::init(), and preserve _setup.spindle_mode[] across synch()
calls. Also update Interp::convert_stop() (M2/M30) to set the
interpreter model back to G97 when it already turns CSS off at the
canon level.

Since the original patch, upstream added the interpreter-side
_setup.css_maximum[] (the G96 D word, used by the G33/G76 pitch check)
and reset it in the same synch() loop. It is modal state belonging to
G96, and canon keeps its own CSS limit across synch(), so treat it
exactly like spindle_mode: initialize it in init(), preserve it across
synch(), and clear it in convert_stop() alongside the return to G97.
---
src/emc/rs274ngc/interp_convert.cc | 3 ++-
src/emc/rs274ngc/rs274ngc_pre.cc | 7 +++++--
2 files changed, 7 insertions(+), 3 deletions(-)
src/emc/rs274ngc/interp_convert.cc | 4 +++-
src/emc/rs274ngc/rs274ngc_pre.cc | 11 ++++++++---
2 files changed, 11 insertions(+), 4 deletions(-)

diff --git a/src/emc/rs274ngc/interp_convert.cc b/src/emc/rs274ngc/interp_convert.cc
index 779ed70095..be11b73201 100644
index 35e9d50..450922e 100644
--- a/src/emc/rs274ngc/interp_convert.cc
+++ b/src/emc/rs274ngc/interp_convert.cc
@@ -5246,8 +5246,9 @@ int Interp::convert_stop(block_pointer block, //!< pointer to a block of RS27
@@ -5533,8 +5533,10 @@ int Interp::convert_stop(block_pointer block, //!< pointer to a block of RS27
settings->spindle_turning[s] = CANON_STOPPED;

settings->speed_override[s] = true;
- /* turn off FPR */
+ /* turn off CSS (G96) and return to G97 */
SET_SPINDLE_MODE(s, 0);
+ settings->spindle_mode[s] = SPINDLE_MODE::CONSTANT_RPM;
+ settings->css_maximum[s] = 0.0;
}

/*8*/ settings->motion_mode = G_1;
diff --git a/src/emc/rs274ngc/rs274ngc_pre.cc b/src/emc/rs274ngc/rs274ngc_pre.cc
index f843fc8298..2ea4bf5550 100644
index f594b4d..ac70436 100644
--- a/src/emc/rs274ngc/rs274ngc_pre.cc
+++ b/src/emc/rs274ngc/rs274ngc_pre.cc
@@ -1207,7 +1207,9 @@ int Interp::init()
@@ -1232,7 +1232,10 @@ int Interp::init()
_setup.sequence_number = 0; /*DOES THIS NEED TO BE AT TOP? */
//_setup.speed set in Interp::synch
_setup.speed_feed_mode = CANON_INDEPENDENT;
-// setup.spindle_mode set in interp_synch;
+ for (int s = 0; s < EMCMOT_MAX_SPINDLES; s++) {
+ _setup.spindle_mode[s] = SPINDLE_MODE::CONSTANT_RPM;
+ _setup.css_maximum[s] = 0.0;
+ }
//_setup.speed_override set in Interp::synch
//_setup.spindle_turning set in Interp::synch
//_setup.stack does not need initialization
@@ -2061,7 +2063,8 @@ int Interp::synch()
@@ -2137,8 +2140,10 @@ int Interp::synch()
_setup.speed[s] = GET_EXTERNAL_SPEED(s);
_setup.spindle_turning[s] = GET_EXTERNAL_SPINDLE(s);
_setup.speed_override[s] = GET_EXTERNAL_SPINDLE_OVERRIDE_ENABLE(s);
- _setup.spindle_mode[s] = SPINDLE_MODE::CONSTANT_RPM;
+ // _setup.spindle_mode is modal; preserve it across synch() so that
+ // G96/G97 survives task-mode switches and MDI command boundaries.
- _setup.css_maximum[s] = 0.0;
+ // _setup.spindle_mode and _setup.css_maximum (the G96 D word) are
+ // modal; preserve them across synch() so that G96/G97 survives
+ // task-mode switches and MDI command boundaries. Canon keeps its own
+ // CSS limit across synch() too, so the two models stay in step.
}
GET_EXTERNAL_PARAMETER_FILE_NAME(file_name, (LINELEN - 1));
save_parameters(((file_name[0] ==
Loading
Loading