I'd like to ask a question: how can I conveniently switch the ini file?

More
3 years 1 week ago #283765 by MakerYang
After starting LinuxCNC with the `sudo -u user linuxcnc /opt/xyz/machine.ini` command, how can I switch to the ini at `/opt/xyzbc/machine.ini` without stopping the current LinuxCNC process?


My machine tool configuration files all have the following configuration:
Code:
... [DISPLAY] DISPLAY = halui CYCLE_TIME = 0.1000 ...

Please Log in to join the conversation.

More
3 years 1 week ago #283766 by MakerYang
I forgot to mention, I have used the LinuxCNC Python module.

Please Log in to join the conversation.

More
3 years 6 days ago #283802 by rodw
I don't think you can.
You could explore the 5 axis switchkins sims and see how they switch to and from TCP mode and see if you can adapt that.

Please Log in to join the conversation.

More
3 years 6 days ago #283805 by Aciera
kinematic switching does not switch the ini file but it is possible to change some ini values through hal pins but some settings are used to load the corresponding components at startup so you cannot change those.
Could you explain what exactly you trying to achieve?

Please Log in to join the conversation.

More
3 years 5 days ago #283847 by MakerYang
The startup and shutdown of LinuxCNC take some time. I originally planned to change the machine configuration without stopping the LinuxCNC process. I have now abandoned this idea, as it would involve updating and changing many things. Additionally, once the machine configuration is set, the likelihood and frequency of changes won't be that high.

Please Log in to join the conversation.

Time to create page: 0.126 seconds
Powered by Kunena Forum