qtdragon_hd MDI buttons

More
02 Nov 2023 11:19 #284313 by zieluch
Hi all, 

I have question regarding qtdragon_hd and adding buttons from MDI section. I like to add some defined MDI commands on the screen to be quickly avaliable but even with std config is not showing anything for me. [MDI_COMMAND_LIST]
# for macro buttons
MDI_COMMAND_MACRO0 = G0 Z25;X0 Y0;Z0, Goto\nUser\nZero
MDI_COMMAND_MACRO1 = G53 G0 Z0;G53 G0 X0 Y0,Goto\nMachn\nZero

Where I can find buttons or they are not visble by default ? Anything else needs to be done to make them visible ?

Thanks
Michal

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

More
02 Nov 2023 18:10 #284352 by cmorley
Replied by cmorley on topic qtdragon_hd MDI buttons
You are using master version? Looks like I broke the code at bit. I'll fix it tonight.

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

More
02 Nov 2023 19:17 - 02 Nov 2023 19:51 #284363 by zieluch
Replied by zieluch on topic qtdragon_hd MDI buttons
I am using LINUXCNC - 2.9.0-pre1-1146-g974dec21b, on debian12
Last edit: 02 Nov 2023 19:51 by zieluch.

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

More
02 Nov 2023 20:19 #284368 by cmorley
Replied by cmorley on topic qtdragon_hd MDI buttons
In 2.9 the names in the ini are like so:

MDI_COMMAND = G53 G0 X0
MDI_COMMAND = G0 X0

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

More
02 Nov 2023 21:36 #284379 by zieluch
Replied by zieluch on topic qtdragon_hd MDI buttons
I have it now like this, where should I find the buttons ? Did they need any activation to be visible ?
[HALUI]
MDI_COMMAND = G0 Z25;X0 Y0;Z0, Goto\nUser\nZero
MDI_COMMAND = G53 G0 Z0;G53 G0 X0 Y0,Goto\nMachn\nZero

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

More
02 Nov 2023 21:40 - 02 Nov 2023 21:42 #284380 by cmorley
Replied by cmorley on topic qtdragon_hd MDI buttons
Ok but it needs to be under the heading
[MDI_COMMAND_LIST] not [HALUI]
Last edit: 02 Nov 2023 21:42 by cmorley.
The following user(s) said Thank You: zieluch

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

More
02 Nov 2023 21:43 #284381 by cmorley
Replied by cmorley on topic qtdragon_hd MDI buttons
Buttons will show autonatically when qtvcp finds the commands in the INI
The following user(s) said Thank You: zieluch

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

More
02 Nov 2023 22:24 #284382 by tommylight
Replied by tommylight on topic qtdragon_hd MDI buttons

MDI_COMMAND = G0 Z25;X0 Y0;Z0, Goto\nUser\nZero

Why Z twice, once at 25 and then at 0?

MDI_COMMAND = G53 G0 Z0;G53 G0 X0 Y0,Goto\nMachn\nZero

Can be:
MDI_COMMAND = G53 G0 Z0 X0 Y0,Goto\nMachn\nZero

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

More
02 Nov 2023 23:07 #284394 by cmorley
Replied by cmorley on topic qtdragon_hd MDI buttons
because you might want to clear in Z before traveling in x and y.
The ; separates individual commands

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

More
02 Nov 2023 23:15 #284395 by tommylight
Replied by tommylight on topic qtdragon_hd MDI buttons

because you might want to clear in Z before traveling in x and y.
The ; separates individual commands

Yup, that is a good reason, although in a mill there should not be G53 Z25 as it is positive, max should be 0 or thereabouts.
Hence my question, might have a setup where 25 above 0 makes sense.

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

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