QTDragon MDI jogging strange - diagonals

More
28 Feb 2023 08:12 #265535 by frayja2002
Hi all

I having some strange behaviour from the QTDragon MDI.

If i start QTDragon, home all axis & then use this sequence of commands I get something strange.

G0 X10
G0 Z100
G0 Y10
G0 Y100

The first commands work normally but when I enter the G0 Y10 the X axis also moves (back to X10). Each time I type a command after that the axis move diagonally.

I have tried the Axis screen & Gmoccapy & they both seem to work as expected.

I am using the latest build bot on Buster 10 - LINUXCNC - 2.10.0-pre0-928-gf1ce19ba4

Is there something I am missing here?
All help appreciated.

Thanks
Alex

Please Log in or Create an account to join the conversation.

More
28 Feb 2023 13:50 #265562 by cmorley
Is this using the sim config or a real machine?
My test here on a sim works fine.

Please Log in or Create an account to join the conversation.

More
28 Feb 2023 16:27 #265577 by persei8
Well this is peculiar. I can confirm the same behaviour as the OP describes on both my development version (which is technically a simulation) and the linuxcnc sample config (sim.qtdragon_hd.qtdragon_hd_xyz). However, my real machine, which has the exact same software as my development machine, works perfectly. I also confirmed that mdi_line.py wasn't submitting incorrect data to the ACTION.CALL_MDI command. I'm assuming the reference to Z100 in the OP's post was a typo and should be X100. Either way, it happens with Z moves too.
Jim

Please Log in or Create an account to join the conversation.

More
28 Feb 2023 20:58 #265613 by frayja2002
Yes What you'r saying is correct it should have been an X.

I have tried this on an actual running machine and (after) on the XYZ sim.

Alex

Please Log in or Create an account to join the conversation.

More
01 Mar 2023 02:30 #265629 by cmorley
I see it now.
i also you can get all three axis to move with:
g0 x something
g0 y something
g0 z something
then g0 any of them all three will move.

but if I jog X axis with the on screen buttons, then I can G0 X anywhere and only X will move.
But if I mdi another axis it will move both again.
The following user(s) said Thank You: tommylight

Please Log in or Create an account to join the conversation.

More
01 Mar 2023 03:16 #265630 by JohnnyCNC
I'll give this a try on my machine tomorrow.

Please Log in or Create an account to join the conversation.

More
01 Mar 2023 03:45 #265632 by cmorley
I have found the problem line of code.. working on the best solution.

Please Log in or Create an account to join the conversation.

More
01 Mar 2023 04:04 #265633 by cmorley
In case your interested:
In mdi_line.py the display is reloaded when MDI commands are run.
During reloading the display, the task_plan_synch() is called, seemingly out of order.
Probably gets called before the MDI finishes, so old positions are used to update.
The following user(s) said Thank You: eduard

Please Log in or Create an account to join the conversation.

More
01 Mar 2023 05:24 #265634 by cmorley
Ok I pushed a hopeful fix to 2.9 and master.
Please let me know if it fixes things for you.

Please Log in or Create an account to join the conversation.

More
01 Mar 2023 08:05 #265637 by frayja2002
Hi there

As said in the initial post I'm using buildbot (2.10)
Should I be seeing an update. When I try to do an update it tells me all packages are up to date.

Will this normally come through prity quickly.

Thanks
Alex

Please Log in or Create an account to join the conversation.

Moderators: cmorley
Time to create page: 0.084 seconds
Powered by Kunena Forum