Page 1 of 2

Diagonal movement button

PostPosted: Tue Jun 16, 2020 7:53 pm
by mr_cg
Hello UCCNC Team,
hereby i would like to request also diagonal movement button beside only up/down and left/right.
diagonal.JPG
diagonal.JPG (28.57 KiB) Viewed 7800 times


Lot of other CNC control SW have such diagonal movement buttons and i was using this "feature" a lot.
I reallly think this would be great improvement for UCCNC and it will provide additional functionality compared to CNC wheel.

Would be great if this would be implemented in near future.

Thanks
Chris

Re: Diagonal movement button

PostPosted: Thu Apr 08, 2021 11:28 am
by bhdavis
I agree. I was just looking for a way to add such buttons.

BH

Re: Diagonal movement button

PostPosted: Sat Feb 05, 2022 2:12 pm
by johnsattuk
Did you ever get a solution to this, I would also like diagonal movement but doesn't seem to get much response from the clever ones :(

Re: Diagonal movement button

PostPosted: Sat Feb 05, 2022 2:13 pm
by ger21
There's no easy way to do it on the screen.
Easy to do with the keyboard or external buttons.

Re: Diagonal movement button

PostPosted: Sat Feb 05, 2022 3:47 pm
by fixebr
I see this option: make a diagonal macro. For example:
Code: Select all
G91
G1 x10 y10
G90

only instead of ready-made values, consider the distance set for jog, and add a check at the beginning that the final coordinate will not exceed the limit of the axes.

Re: Diagonal movement button

PostPosted: Sat Feb 05, 2022 4:05 pm
by johnsattuk
ger21 wrote:There's no easy way to do it on the screen.
Easy to do with the keyboard or external buttons.


:(

Makes me feel a little better if it beats the programmers

Do the function buttons on the MPG count as external

Re: Diagonal movement button

PostPosted: Sat Feb 05, 2022 4:08 pm
by johnsattuk
fixebr wrote:I see this option: make a diagonal macro. For example:
Code: Select all
G91
G1 x10 y10
G90

only instead of ready-made values, consider the distance set for jog, and add a check at the beginning that the final coordinate will not exceed the limit of the axes.


If you set high values , would the softlimits still do their job

Re: Diagonal movement button

PostPosted: Sun Feb 06, 2022 5:25 pm
by cncdrive
I've just tried to implement this, but it is unfortunately not possible on the UCCNC application side.
The problem is that the axes are started and stopped one by one using the jogon and jogoff function of the motion control API.
So, the issue is that the axes cannot be started and stopped in the exact same time.
I've just tested it and there is often a little coordinate difference after a diagonal stop. :(
So, to implement this properly we will have to make some changes in the API which will take some time for sure, sorry.

Re: Diagonal movement button

PostPosted: Sun Feb 06, 2022 5:29 pm
by cncdrive
In other words you can make diagonal jogging to work, but it will be not perfect.

Re: Diagonal movement button

PostPosted: Sun Feb 06, 2022 5:41 pm
by johnsattuk
Thank you for investigating this and giving your results :D