Skip to content

iocontrol: remove the tool-prep-index pin - #4814

Open
rene-dev wants to merge 1 commit into
LinuxCNC:masterfrom
rene-dev:remove-tool-prep-index
Open

rene-dev wants to merge 1 commit into
LinuxCNC:masterfrom
rene-dev:remove-tool-prep-index

Conversation

@rene-dev

Copy link
Copy Markdown
Member

iocontrol.0.tool-prep-index carried the prepared tool's position in LinuxCNC's internal copy of the tool table. On a non-random changer that is just the order the tools were loaded in, which means nothing outside LinuxCNC; tool-prep-number and tool-prep-pocket give the tool and its pocket.

Task also used the pin to remember which tool it was preparing between emcToolPrepare() and the changer's tool-prepared, reading its own output back. That now lives in Task itself.

The db_demo panel stops showing the pin, and the io(1) man page and the toolchanger section of the tool compensation docs stop describing the internal index.

iocontrol.0.tool-prep-index carried the prepared tool's position in
LinuxCNC's internal copy of the tool table. On a non-random changer
that is just the order the tools were loaded in, which means nothing
outside LinuxCNC; tool-prep-number and tool-prep-pocket give the tool
and its pocket.

Task also used the pin to remember which tool it was preparing between
emcToolPrepare() and the changer's tool-prepared, reading its own output
back. That now lives in Task itself.

The db_demo panel stops showing the pin, and the io(1) man page and the
toolchanger section of the tool compensation docs stop describing the
internal index.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant