Machsupport Forum
Mach Discussion => General Mach Discussion => Topic started by: nso on March 26, 2013, 09:42:07 AM
-
hi
when slow jog rate set then arrows will jog at the slow speed and shift + arrows will jog at 100% and when release shift key go back at jog slow .
now i want do that with external (input1) push button.after search on oem button code i cant find any code for doing this..
please adviceto me
thanks
-
Have you tried oem button 287?
Brett
-
I can't find this either.
287 doesn't seem to work, tried several others .... no luck.
I do notice OEMLED 58 lights when the SHIFT key is hit.
Maybe this is internal ? ? ? ?
Russ
-
Yup, saw that so deleted the suggestion........
A brain monitoring an led that is on while the button is pressed setting jog to 100% and back to previous if led is off would work but think there is a button for it already. The problem with the rapid jog in a vb button is the same as a jog button. Vb isn't smart enough to detect on release.
Brett
-
Yup Russ, I think your right. Turning on led 58 may be the way to go.
Brett
-
299 Bypass Feedrate, that's the cookie.
-
:)
-
Thanks Russ............... need a note on that one. LOL Searched for jog, rapid, never even thought of feed................ since it only affects jogging...... ::)
Brett
-
If you update your .xls, let us know so we can get the new one.
It's not really clear the way it is.
Thanks Brett,
Russ
-
hi
first of all , thanks for your quick replay ( Overloaded and Chaoticone)
so, tomorrow test with brain... and say what is happens ;)
ahaa , i tried led 58 ..that is my first idea ;D but not work
thanks
-
hi
i tried today with 299 bypass feed rate but this is not result :(
-
Quite strange.
It doesn't work here now either.
Emulating the input with a hotkey did fine when first tried.
Emulation is working in Diagnostics, but no Bypass.
Hmmmm .... strange.
Very strange.
-
You could have a brain like screenshot below, that would set slow jog DRO to 100% with button pushed and set to 10% when released, obviously you can change the 10% value to what you normally use just by altering the formula in the brain.
Hood
-
Hi Hood,
Your little ditty works a treat here.
I like the way you manipulate the system.
I still can't understand why the other worked for a short time, then crapped out.
I wont let it worry me though as your way seems to be solid.
Thanks,
Russ
-
A cool thing about your way, you can change the % dro by manual entry to whatever you like and it will stay there while jogging ... even using the Shift key. It only reverts back to the lower Brain setting after hitting then releasing the external button.
Nifty.
Thanks again,
Russ
-
Yes Russ, the Brain only sees the transition so will only change the DROs when the button is pressed or when it is released, all other times you are free to write to the DRO.
Hood
-
dear russ /hood i guess,it is best solution for me...
thanks a lot :)