- LinuxCNC
- General LinuxCNC Questions
- What if I have more than one G-code statment in the ini file [HALUI] section?
What if I have more than one G-code statment in the ini file [HALUI] section?
- PhilipME
- Topic Author
- Offline
- Elite Member
Less
More
- Posts: 176
- Thank you received: 13
10 Aug 2024 18:27 #307426
by PhilipME
What if I have more than one G-code statment in the ini file [HALUI] section? was created 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
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.
- cmorley
- Away
- Moderator
Less
More
- Posts: 7769
- Thank you received: 2058
11 Aug 2024 04:08 #307453
by cmorley
Replied by cmorley on topic What if I have more than one G-code statment in the ini file [HALUI] section?
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.
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.
- Aciera
- Online
- Administrator
Less
More
- Posts: 3969
- Thank you received: 1717
11 Aug 2024 04:51 #307456
by Aciera
Replied by Aciera on topic What if I have more than one G-code statment in the ini file [HALUI] section?
You can also call entire subroutines:
or custom MCodes:
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
- Topic Author
- Offline
- Elite Member
Less
More
- Posts: 176
- Thank you received: 13
11 Aug 2024 17:16 #307484
by PhilipME
Replied by PhilipME on topic What if I have more than one G-code statment in the ini file [HALUI] section?
very good to know
thanks you all
thanks you all
Please Log in or Create an account to join the conversation.
- LinuxCNC
- General LinuxCNC Questions
- What if I have more than one G-code statment in the ini file [HALUI] section?
Time to create page: 0.056 seconds