Pedant with Wireless Numpad

Post anything you want to discuss with others about the software.

Pedant with Wireless Numpad

Postby mgolec » Wed Jan 08, 2020 11:08 am

Hi at All!

Wish you a happy new year! :)

I want to ask you if there is a way that the numpad is working in UCCNC also. I have it from Estlcam and would like to use the same keys also in UCCNC.
Single Axis Movement went fine by set it at the hotkey menu. But 2 axis by press 1,3,7 or 9 and the other functions will work only with macro, sure? (see pic)

Does anyone give me a little help for programming, I am new in uccnc especially in Scripting :(

Greets Markus
Attachments
numpad.jpg
mgolec
 
Posts: 7
Joined: Thu Nov 14, 2019 7:15 pm

Re: Pedant with Wireless Numpad

Postby dezsoe » Wed Jan 08, 2020 12:38 pm

Hi Markus,

2 axis will work only if you press the 2 arrows together. There's no key function to move 2 axis together. You can use those buttons to do other things: PgUp and PgDn is Z + and - by default. You can change these in the Settings / I/O triggers / Hotkeys.
dezsoe
 
Posts: 2093
Joined: Sun Mar 12, 2017 4:41 pm
Location: Csörög, Hungary

Re: Pedant with Wireless Numpad

Postby mgolec » Wed Jan 08, 2020 12:42 pm

Hi!

Thank you for your answer.
I already changed the Hotkeys for single axis movement, it works well.

Thought it will be an easy makro to make the other keys work.

Greets Markus
mgolec
 
Posts: 7
Joined: Thu Nov 14, 2019 7:15 pm

Re: Pedant with Wireless Numpad

Postby eabrust » Wed Jan 08, 2020 2:14 pm

I don't use hot keys, so this is as much a question as a suggestion, but can you assign the same key twice in hot keys? IE, in one row, assign #1 key to activate the -x jog and in another row also assign #1 key again to activate the -y jog at the same time? You'll also need to assign xjog off and yjog off when keypress stops.

I know from in macros/plugins you can activate both -x jog and -y jog buttons simultaneously to get a diagonal move.

regards,
Eric
CraftyCNC: Plugins for UCCNC (and other neat stuff): http://www.craftycnc.com/plugins-for-uccnc/
eabrust
 
Posts: 357
Joined: Fri Sep 16, 2016 2:32 am
Location: Near Shirland IL, USA

Re: Pedant with Wireless Numpad

Postby dezsoe » Wed Jan 08, 2020 4:17 pm

And it works! :)
dezsoe
 
Posts: 2093
Joined: Sun Mar 12, 2017 4:41 pm
Location: Csörög, Hungary

Re: Pedant with Wireless Numpad

Postby 3d0g » Wed Jan 08, 2020 11:34 pm

Yeah, I'd do a hotkey that calls a macro to run x jog and y jog at the same time.

I went a slightly different route with my pendant. Arduino based with Bluetooth. Still just a glorified keyboard but the arduino gives me flexibility to do things like offset, step and jog %.

Image
3d0g
 
Posts: 75
Joined: Sat Apr 14, 2018 1:52 am

Re: Pedant with Wireless Numpad

Postby eabrust » Thu Jan 09, 2020 2:54 am

since Dezsoe verified you can easily set the diagonal jogging in hot keys by assigning 2 buttons to one hotkey, I'd go that route for simplicity over having 4 additional macros to push the buttons :).

To do the velocity changing in a macro, you'll set a velocity percent value into field # 913. Copy this into a macro and run:
Code: Select all

//M20099 Sample velocity % changer

double velocity = 50; // enter desired % velocity here

AS3jog.Setfield(velocity, 913); // set velocity
AS3jog.Validatefield(913); //validate velocity input




if(!exec.Ismacrostopped())
{
MessageBox.Show("Velocity set!");  // comment this out after verifies it works
}
else
{
exec.StopWithDeccel();
MessageBox.Show("?? what happened!"); // error for some reason
}






I believe trying to pickup up a keypress directly from a macro is somewhat difficult, so if you want 4 speeds, save the above as 4 different macros and assign each to a hotkey as the easiest way.

regards,
Eric
CraftyCNC: Plugins for UCCNC (and other neat stuff): http://www.craftycnc.com/plugins-for-uccnc/
eabrust
 
Posts: 357
Joined: Fri Sep 16, 2016 2:32 am
Location: Near Shirland IL, USA


Return to General discussion about the UCCNC software

Who is online

Users browsing this forum: No registered users and 8 guests