- Posts: 32
- Thank you received: 0
Can I have multiple commands on one MDI line (Custom M101?)
- nick.smith
- Topic Author
- Offline
- Junior Member
-
Less
More
3 years 5 months ago #270852
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 to join the conversation.
3 years 5 months ago #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 .
(
Please Log in to join the conversation.
- nick.smith
- Topic Author
- Offline
- Junior Member
-
Less
More
- Posts: 32
- Thank you received: 0
3 years 5 months ago #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 to join the conversation.
Time to create page: 0.076 seconds
