[Home]History of Jog-While-Paused

LinuxCNCKnowledgeBase | RecentChanges | PageIndex | Preferences | LinuxCNC.org

Revision 5 . . (edit) April 7, 2014 2:21 am by MichaelHaberler [*change uri to latest ]
Revision 4 . . (edit) August 8, 2012 1:12 am by MichaelHaberler
Revision 1 . . April 30, 2012 12:54 am by MichaelHaberler [*initial text for jog while pause changes to motion]
  

Difference (from prior major revision) (minor diff, author diff)

Removed: 1d0


Changed: 8,11c7,8
* enable jog moves during auto pause (in coordinated mode, that is
axes, not joints)
* un-pausing will return to the position where 'pause' was hit, then
continue the auto run
* enable jog moves during auto pause (in coordinated mode, that is axes, not joints)
* un-pausing will return to the position where 'pause' was hit, then continue the auto run

Changed: 17,18c14
* provide the primitives to record a jog history during pause, and
replay it for return (could be done in HAL or Python)
* provide the primitives to record a jog history during pause, and replay it for return (could be done in HAL or Python)

Changed: 27,40c23,25
* a complete 'jog solution' including keyboard jog, MPG support, your
daughter's kinect etc. All it does is provide the HAL hooks to provide
these features, but it doesnt do so by itself. This is experimental,
and needs some shakeout. Until then, some HAL plumbing is
needed, it isnt yet clear to me how jogging in coordinated mode fits
in the overall picture.

* touchoff during pause. This is a fundamental restriction in current linuxcnc
and forcing the issue would have some serious side effects.

* MDI during pause. As far as the rest of linuxcnc is concerned,
jog-while-paused is not visible - it all looks like a loooong pause.
This modification assures that at resume happens at the point where
where 'pause' was hit.
* a complete 'jog solution' including keyboard jog, MPG support, your daughter's kinect etc. All it does is provide the HAL hooks to provide these features, but it doesnt do so by itself. This is experimental, and needs some shakeout. Until then, some HAL plumbing is needed, it isnt yet clear to me how jogging in coordinated mode fits in the overall picture.

* touchoff during pause. This is a fundamental restriction in current linuxcnc and forcing the issue would have some serious side effects.

Changed: 42,43c27,29
* jog moves during spindle-synced moves. These changes rely on
the current 'pause' capabilities.
* MDI during pause. As far as the rest of linuxcnc is concerned, jog-while-paused is not visible - it all looks like a loooong pause. This modification assures that at resume happens at the point where where 'pause' was hit.

* jog moves during spindle-synced moves. These changes rely on the current 'pause' capabilities.

Changed: 49c35,37
http://git.mah.priv.at/gitweb/emc2-dev.git/shortlog/refs/heads/jog-while-paused-preview1

http://git.mah.priv.at/gitweb?p=emc2-dev.git;a=shortlog;h=refs/heads/jog-while-paused-preview2-rebase-onto-master


Added: 55a44,46

set feed to some realistic value in the glade panel


Added: 56a48


Added: 57a50


Added: 58a52


Added: 59a54


Changed: 77,78c72
** 4 = jogging - currently executing a move due to a valid offset
*applied
** 4 = jogging - currently executing a move due to a valid offset applied

Changed: 81,82c75
* motion.pause-at-motion, s32: the motion type at which the pause
request was honored.
* motion.pause-at-motion, s32: the motion type at which the pause request was honored.

Changed: 90,94c83,84
* motion.pause-offset-in-range: bit - the value of the pause-offset-*
pins would result in a move not violating machine
*constraints. Updated during states 1 and 2.
* motion.in-position: existing motion pin signifying the end of a
*motion has been reached and no further motions are pending.
* motion.pause-offset-in-range: bit - the value of the pause-offset-* pins would result in a move not violating machineconstraints. Updated during states 1 and 2.
* motion.in-position: existing motion pin signifying the end of a coordinated motion has been reached and no further motions are pending.

Changed: 107,113c97,99
* the Axis 'Pause' button causes transition to the paused state at
next chance (EMC_TASK_PLAN_PAUSE NML message).
* The Axis 'Resume from pause' (clicking pause button in paused state)
causes transition to the running state (EMC_TASK_PLAN_RESUME NML message).
* The Axis 'Step' button resumes the pause for the current motion if
paused in the initial pause position. If not in the initial pause
position, it triggers a return move. (EMC_TASK_PLAN_STEP NML message).
* the Axis 'Pause' button causes transition to the paused state at next chance (EMC_TASK_PLAN_PAUSE NML message).
* The Axis 'Resume from pause' (clicking pause button in paused state) causes transition to the running state (EMC_TASK_PLAN_RESUME NML message).
* The Axis 'Step' button resumes the pause for the current motion if paused in the initial pause position. If not in the initial pause position, it triggers a return move. (EMC_TASK_PLAN_STEP NML message).

Changed: 120,130c106,110
*** if pause-offset-in-range is true, enable pause-offset-enable ->
move starts, state changes to 4 (jogging)
*** stop current jog: disable pause-offset-enable, curent jog move in
progress stops immediately.
** end of jog move reached: keep pause-offset-enable applied until
motion.in-position becomes true.
** continuous jogging: keep pause-offset-enabled - any change to
pause-offset-* will be honored by a corresponding linear move
immediately.
* for pause, step, resume from HAL use halui.program.pause,
halui.program.resume, halui.program.step
*** if pause-offset-in-range is true, enable pause-offset-enable -> move starts, state changes to 4 (jogging)
*** stop current jog: disable pause-offset-enable, curent jog move inprogress stops immediately.
** end of jog move reached: keep pause-offset-enable applied until motion.in-position becomes true.
** continuous jogging: keep pause-offset-enabled - any change to pause-offset-* will be honored by a corresponding linear move immediately.
* for pause, step, resume from HAL use halui.program.pause, halui.program.resume, halui.program.step

Added: 144a125,129

Deficiencies and surprises




* There's currently no support for spindle, mist, flood handling etc during pause. Some HAL plumbing required for now.
* I dont know how to handle a rotary indexer during jog.


Added: 167a153
--

Added: 168a155
Updated to master on Aug 7,2012; added missing retract.hal file.

LinuxCNCKnowledgeBase | RecentChanges | PageIndex | Preferences | LinuxCNC.org
Search:
Published under a Creative Commons License