Machsupport Forum
Third party software and hardware support forums. => PoKeys => Topic started by: rustamd on September 27, 2012, 10:27:50 PM
-
I have kbd48cnc keyboard, and on my control panel I also have external cycle start and feed hold buttons.
When I assign the oem code 1000 to cycle start button on pin 38 the cycle start button stops working on kbd48cnc, and same with feed hold. Is there a way to have both working?
Appreciate the help,
-
Hi
We will check that and make it work. Both should work, but they might be 'fighting' each other at the moment.
Regards,
Matevž
-
Thanks, that would be really nice :)
-
There is a simple fix. Use the 'inverted' option in the mapping settings. It will also activate the function as soon as you depress the button (assuming you have connected it between PoKeys pin 38 and GND).
-
Finally got around to testing the set up, still not working, with invert checkbox checked only the external button is working
-
Any resolutions for this? Really need to get this working.
Thanks,
-
Hi,
link the kbd48cnc buttons to a user led instead to cycle start / feed hold
lets say when you press cycle start ULED 2000 turned on
the same thing with your external button, lets say ULED 2001
now create a brain thats doing a cycle start when one of or both went on.
Or just wire the external button to the same pin to kbd48cnc button ( if that is possible )
just a thought
alex
-
Hi,
link the kbd48cnc buttons to a user led instead to cycle start / feed hold
lets say when you press cycle start ULED 2000 turned on
the same thing with your external button, lets say ULED 2001
now create a brain thats doing a cycle start when one of or both went on.
Or just wire the external button to the same pin to kbd48cnc button ( if that is possible )
just a thought
alex
ha! if I would only be smart enough to do that, will give it a try later today when i'm in the shop. Tho I do have an question, would this introduce any kind of lag/delay?
Thanks,
Russ
-
Ok.., just tried making a brain, and I clueless at this, any way you could walk me thru what I need to do?
Screenshot attached, is this what I need to do?
Thanks for the help,
-
Tho I do have an question, would this introduce any kind of lag/delay?
Yes, I think its about 100 ms
Screenshot attached, is this what I need to do?
a part of it.
see pic.
take care the user led that you intend to use is not used for other operations.
alex
-
forgot the attachment ;D
-
Alex,
I tried your solution, honestly didn't get anywhere(most likely because missed something), but what I did encounter was my Single Block stopped working, any ideas?
Thanks,
Russ
-
Russ,
go to pokeys plugin configuration. --> kbd48cnc-->
CycleStart --> Function= Key --> LED = 1990 --> Button = none ( maybe inverted can't see it here )
FeedHold --> Function= Key --> LED = 1992 --> Button = none ( maybe inverted can't see it here )
Pin*** --> Function= Input --> LED = 1991 --> Button = none --> inverted ( external Cycle Start button )
Pin*** --> Function= Input --> LED = 1993 --> Button = none --> inverted ( external Feed Hold button )
is working fine here so far, accept I have no kbd48cnc.
see pict. of the brain I used
Alex
-
Thanks! Seems to work good now with both buttons operating correctly. Have not tested Single Block yet however.
Got another question also, probably wrong section for it, but its same thing, i have buttons connected thru pokeys56u, and i would like to be able to jog with them same way you can with arrow keys/pg up/down, but only way it works right now if you press button the table moves by itself until you press button again, which is not very safe, i want it to move only when button is pressed. Any idea what # button to use for these?
Thanks,
Russ
-
Glad you got it so far :)
to see if is something wrong in your Pokeys settings regarding the Single Block just save your actual Pokeys settings ( XML file)
then use the default XML file from Polabs website and see if it works correctly. If so you can compare the settings.
Unfortunetly I can't load the kbd48cnc XML file without a kbd48cnc connected to the Pokeys so can't help with the
jogging problem. Only thing I can do from here is if you assingn all buttons ( jog +- and axis select) to an Userled then it could
be done with a brain. But first explore if there is a setting for what you need in Pokeys setup for the Jog Buttons.
maybe you can attach a screenshot.
Alex
-
jogging is not related to kbd48cnc, i just have 6 arcade buttons on my panel i made that are connected to pokeys directly, and would like to use two for x jogging, two for y and two for z.
-
ah ok,
in this case try
Pin*** --> Function= Input --> LED = none --> Button = 307 push to jog X++ --> inverted
Pin*** --> Function= Input --> LED = none --> Button = 308 push to jog X-- --> inverted
Pin*** --> Function= Input --> LED = none --> Button = 309 push to jog Y++ --> inverted
Pin*** --> Function= Input --> LED = none --> Button = 310 push to jog Y-- --> inverted
Pin*** --> Function= Input --> LED = none --> Button = 311 push to jog Z++ --> inverted
Pin*** --> Function= Input --> LED = none --> Button = 312 push to jog Z-- --> inverted
is working here
Alex
-
can it be that your buttons are not momentary switches ?
Alex
-
They are just plain arcade buttons with cherry brand micro switches, and they are momentary.
I think its how I had it set, however will check in the morning, thanks again!
- Russ