Anyone willing to help bring jog-while-paused back into master?

More
23 Feb 2021 00:17 #199787 by cmorley

Was there something happening since September last year e.g. opening a new Branch?
I am also very interrested in the jog-while-paused feature and willing to support a port to Master.
But i think i have not enough experience in the linuxcnc internals to do it on my own.


There has been no movement. It is currently above my programming skills and the bar o understand linuxcnc's internals is pretty high for an outsider to pick up.

Never say never...

Please Log in or Create an account to join the conversation.

More
23 Feb 2021 02:38 #199792 by biqut2
This would be a very handy feature. On a Milltronics control you can put HDW into your program and it will cause the machine to halt execution of code and allow you to handwheel and manipulate the machine. Once you press enter it continues automatic execution of the rest of the program. This is extremely useful in a job shop or with one off setups. I use this feature daily and would love to have it in LinuxCNC too.

Please Log in or Create an account to join the conversation.

More
07 Mar 2021 17:00 - 07 Mar 2021 18:50 #201314 by mic
For people who are interrested in the jog-while-paused feature and / or want to support a port to master:
I tried to port the jwp-feature to master:
github
-> currently it´s not working :whistle: :laugh: (some Errors on Resume)
The statemachine from the Wiki is already implemented. Because of an unknown reason emcmotStatus->resuming in control.c never becomes true - it should be set in the Resume-Command-Handler in command.c.
I have to dig deeper into lcnc-internals.
Another current understanding problems:
- what´s the use of v-tables in machinekit (i think it works anyway but i want to understand)?

If someone has good recommendations or wants to join, you are welcome :)
Last edit: 07 Mar 2021 18:50 by mic.

Please Log in or Create an account to join the conversation.

More
10 Mar 2021 06:06 #201624 by cmorley
Is there a git branch?

Please Log in or Create an account to join the conversation.

More
10 Mar 2021 16:03 - 10 Mar 2021 16:06 #201658 by mic
I´ve forked lcnc and created a branch "jwp" with github link in the post above.
Currently it´s working basicaly. Jogging with an additional HAL Component works in pause-state but switching back to primary queue gives a tcqput error after a while. Do you know how pause and resume is handled by the UI? I was not able to find the component which is calling the emcmotCommandHandler.
Last edit: 10 Mar 2021 16:06 by mic.

Please Log in or Create an account to join the conversation.

  • tommylight
  • tommylight's Avatar
  • Away
  • Moderator
  • Moderator
More
10 Mar 2021 18:24 #201672 by tommylight
I might be a bit out of sync with the forum, but have a look at PlasmaC or QTPlasmaC, pretty sure it uses jog-while-paused for recovery mode and it can be also driven backwards through the gcode to a certain point while paused.
PhillC did a magnificent job on implementing those features for Plasma use.
There are sims included with LinuxCNC version 2.8 and Master/2.9.

Please Log in or Create an account to join the conversation.

More
10 Mar 2021 21:20 #201721 by cmorley
If it does - it uses different technology to do it - probably external offsets.

This adds ability to have multiple command queues and switch between them.
This would mean jogging while paused will honour limits etc.
and maybe more importantly, this could be useful for other things.

Chris
The following user(s) said Thank You: tommylight

Please Log in or Create an account to join the conversation.

Time to create page: 0.070 seconds
Powered by Kunena Forum