Can I have multiple commands on one MDI line (Custom M101?)

More
07 May 2023 12:01 #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. 

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

More
07 May 2023 13:43 #270859 by Vmax549
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

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

More
07 May 2023 17:38 #270874 by nick.smith
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?

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

More
07 May 2023 19:40 #270890 by Vmax549
That is as good as any.

(;-) TP

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

Moderators: cncbasher
Time to create page: 0.214 seconds
Powered by Kunena Forum