71
Mach4 General Discussion / understanding Jog and signals?
« on: May 27, 2017, 09:33:25 AM »
Hi,
I try to synchronize on-screen buttons and external switches (not mpg) for jogging purpose.
Therefore I tried to watch signals during jogging - but I could not see any signal changes.
I placed a LED on the screen and attached it to input-sigal "jogX+".
I have an on-screen button with down-action "jogX+" and up-action "stop X-jogging", which works as expected: the x-coordinate increments as long as I press the button.
I have another on-screen button with down-script that executes mcJogIncStart(...) and up-script that executes mcJogIncStop(...). That button does not work as expected. The increment-interval is applied only once - no matter how long I press the button.
But worse for synchronization matter, the signal "jogX+" does not reflect the state of jogging, when using on-screen buttons.
So if I want to use a switch attached to "jogX+", how can I get the same action (as the button with up/down-actions), no matter whether I touch the onscreen button or the external switch?
Is there a signal (I thried the most obvious ones, but did not see any changes) that reflects the jogging state of motion control?
I try to synchronize on-screen buttons and external switches (not mpg) for jogging purpose.
Therefore I tried to watch signals during jogging - but I could not see any signal changes.
I placed a LED on the screen and attached it to input-sigal "jogX+".
I have an on-screen button with down-action "jogX+" and up-action "stop X-jogging", which works as expected: the x-coordinate increments as long as I press the button.
I have another on-screen button with down-script that executes mcJogIncStart(...) and up-script that executes mcJogIncStop(...). That button does not work as expected. The increment-interval is applied only once - no matter how long I press the button.
But worse for synchronization matter, the signal "jogX+" does not reflect the state of jogging, when using on-screen buttons.
So if I want to use a switch attached to "jogX+", how can I get the same action (as the button with up/down-actions), no matter whether I touch the onscreen button or the external switch?
Is there a signal (I thried the most obvious ones, but did not see any changes) that reflects the jogging state of motion control?