- User Interfaces
- Other User Interfaces
- PathPilot
- Can I have multiple commands on one MDI line (Custom M101?)
Can I have multiple commands on one MDI line (Custom M101?)
- nick.smith
- Offline
- Junior Member
Less
More
- Posts: 25
- Thank you received: 4
07 May 2023 12:01 #270852
by nick.smith
Can I have multiple commands on one MDI line (Custom M101?) was created by nick.smith
I'd like to be able to perform several commands at once from the MDI line.
Something like: G91 X1 ; G54 ; G90
More or less, I want a small .nc file ran, but all on one line, without having to actually manually open the .nc.
Can I get machine movement via M101, M102, etc.
Something like: G91 X1 ; G54 ; G90
More or less, I want a small .nc file ran, but all on one line, without having to actually manually open the .nc.
Can I get machine movement via M101, M102, etc.
Please Log in or Create an account to join the conversation.
- Vmax549
- Offline
- Platinum Member
Less
More
- Posts: 341
- Thank you received: 28
07 May 2023 13:43 #270859
by Vmax549
Replied by Vmax549 on topic Can I have multiple commands on one MDI line (Custom M101?)
You can build a custom Mcode to run a function or you can build a Sub routine to run a function. The difference is the Mcode has to be built ahead of time as it compiles on startup and can be either Gcode based or Python script based.
The Sub can be built and called anytime .
( TP
The Sub can be built and called anytime .
( TP
Please Log in or Create an account to join the conversation.
- nick.smith
- Offline
- Junior Member
Less
More
- Posts: 25
- Thank you received: 4
07 May 2023 17:38 #270874
by nick.smith
Replied by nick.smith on topic Can I have multiple commands on one MDI line (Custom M101?)
Thanks man. I have it by typing
O<TEST> CALL
I've wanted that ability for years.
Is that the best way to go about it?
O<TEST> CALL
I've wanted that ability for years.
Is that the best way to go about it?
Please Log in or Create an account to join the conversation.
- Vmax549
- Offline
- Platinum Member
Less
More
- Posts: 341
- Thank you received: 28
07 May 2023 19:40 #270890
by Vmax549
Replied by Vmax549 on topic Can I have multiple commands on one MDI line (Custom M101?)
That is as good as any.
( TP
( TP
Please Log in or Create an account to join the conversation.
- User Interfaces
- Other User Interfaces
- PathPilot
- Can I have multiple commands on one MDI line (Custom M101?)
Time to create page: 0.081 seconds