Diagonal movement button with Screen Editor

If you have a question about the software please ask it here.

Diagonal movement button with Screen Editor

Postby mr_cg » Wed Jun 03, 2020 8:47 pm

Hello,
i have understood the basics about the screen editor when using custom M-Codes (>20000).
But i would like to understand how to modify e.g. axis movement function to add also diagonal movement for X and Y.

diagonal.JPG
diagonal.JPG (28.57 KiB) Viewed 6451 times


How is it possible to add some diagonal movement buttons and assign combined movement from two axis?

Thanks for your help.
Chris
mr_cg
 
Posts: 48
Joined: Thu Mar 14, 2019 8:40 pm

Re: Diagonal movement button with Screen Editor

Postby dezsoe » Wed Jun 03, 2020 9:50 pm

You cannot do this. You could start the diagonal movement, but you cannot stop it, because you don't know when the button was released.
dezsoe
 
Posts: 2093
Joined: Sun Mar 12, 2017 4:41 pm
Location: Csörög, Hungary

Re: Diagonal movement button with Screen Editor

Postby mr_cg » Fri Jun 05, 2020 3:46 pm

I do not understand why it's not possible.
For the other movements (up, down, left, right) it's also possible to detect that the button is released why this should not be possible for diagonoal movement button?
Lot of other CNC software support diagonal movement, why this is not possible with UCCNC?
mr_cg
 
Posts: 48
Joined: Thu Mar 14, 2019 8:40 pm

Re: Diagonal movement button with Screen Editor

Postby dezsoe » Fri Jun 05, 2020 7:32 pm

I didn't write that it's impossible, but that you cannot do it. Write to the feature request thread and Balázs will decide if he will make it. The move buttons are programmed internally to detect when they are released to stop the motion, but all other buttons are not.
dezsoe
 
Posts: 2093
Joined: Sun Mar 12, 2017 4:41 pm
Location: Csörög, Hungary

Re: Diagonal movement button with Screen Editor

Postby Vmax549 » Fri Jun 05, 2020 10:55 pm

IF you build your jogging panel as a plugin then it should be no problem to detect button push/release.

Just a thought, (;-) TP
Vmax549
 
Posts: 331
Joined: Sun Nov 22, 2015 3:25 am
Location: USA

Re: Diagonal movement button with Screen Editor

Postby mr_cg » Tue Jun 16, 2020 7:42 pm

I will write feature request because i really think it's good improvement.
Most of the CNC control SW i know are supporting also diagonal movement and i was using this a lot.
mr_cg
 
Posts: 48
Joined: Thu Mar 14, 2019 8:40 pm

Re: Diagonal movement button with Screen Editor

Postby beefy » Tue Jun 16, 2020 11:15 pm

Some time ago I made a remote pendant with serial coms and wrote a plugin that calls 2 jog buttons at the same time to cause diagonal movement. It worked well.

I later binned the project because I ended up buying the wireless UCR201 pendant.

Point is with some extra DIY screen buttons and say a macroloop, you could implement diagonal buttons on screen.
beefy
 
Posts: 449
Joined: Mon Sep 05, 2016 10:34 am


Return to Ask a question from support here

Who is online

Users browsing this forum: No registered users and 21 guests