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

More
2 years 2 months ago #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 to join the conversation.

More
2 years 2 months ago #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.

Please Log in to join the conversation.

More
2 years 2 months ago #307456 by Aciera
You can also call entire subroutines:
Code:
MDI_COMMAND = o<your_subroutine> call

or custom MCodes:
Code:
MDI_COMMAND = M123

Please Log in to join the conversation.

More
2 years 2 months ago #307484 by PhilipME
very good to know

thanks you all

 

Please Log in to join the conversation.

Time to create page: 0.077 seconds
Powered by Kunena Forum