What if I have more than one G-code statment in the ini file [HALUI] section?

  • PhilipME
  • PhilipME's Avatar Topic Author
  • Offline
  • Elite Member
  • Elite Member
More
10 Aug 2024 18:27 #307426 by PhilipME
net remote-rapid-to-home halui.mdi-command-00 <= pyvcp.rapid-to-home

in the main hal file, I have 

[HALUI]
# add halui MDI commands here (max 64) 
MDI_COMMAND = G0 X0 Y0 Z0
MDI_COMMAND = G0 X20 Y0 Z0


if I change halui.mdi-command-00 to halui.mdi-command-01
my custom button will execute the saecond line.

What if I have more g code lines and I want to execute all of them?

Good day

Philip

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

More
11 Aug 2024 04:08 #307453 by cmorley
If using HALUI, then you have up to 64 commands, but IFAICT one command per INI line.
if using Qtvcp/Qtdragon there are more options.
The following user(s) said Thank You: PhilipME

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

More
11 Aug 2024 04:51 #307456 by Aciera
You can also call entire subroutines:
MDI_COMMAND = o<your_subroutine> call

or custom MCodes:
MDI_COMMAND = M123
The following user(s) said Thank You: PhilipME

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

  • PhilipME
  • PhilipME's Avatar Topic Author
  • Offline
  • Elite Member
  • Elite Member
More
11 Aug 2024 17:16 #307484 by PhilipME
very good to know

thanks you all

 

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

Time to create page: 0.056 seconds
Powered by Kunena Forum