Am 07.04.26 um 11:06 schrieb Bertho Stultiens:
On 3/30/26 3:21 AM, Chris Morley wrote:
Thanks. python/common/iniinfo.py  uses configparser for reading MDI
commands, as an example of the needed behavior.
There are some questions here about iniinfo.py (and qt_istat.py).

In lines 369..396 of lib/python/common/iniinfo.py there are queries about the spindle(s) reading ini-values from the [DISPLAY] section in form (with n replaced by the spindle number being processed):
- DEFAULT_SPINDLE_n_SPEED
- MIN_SPINDLE_n_SPEED
- MAX_SPINDLE_n_SPEED
(equivalent also found in qt_istat.py)

These and more spindle ini entries seem to be deprecated in the docs (docs/src/config/ini-config.adoc), but there is no alternative implemented in the IStat class. It is supposed to use values in [SPINDLE_n] sections according to the docs.

The values in the [DISPLAY] section are not read by the emc/ini/inispindle.cc file. This looks like a disparity and confusion between UIs and LinuxCNC internals.

The idea is that the values of the DISPLAY section are read by the GUI e.g. to scale bars or set defaults/limits for jogging etc. The values of SPINDLE_N, TRAJ, JOINT_N, AXIS_N are supposed be used to set parameters for the hardware.




_______________________________________________
Emc-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/emc-developers

Reply via email to