G Code Consult.

More
10 years 6 months ago #72975 by Marfil
G Code Consult. was created by Marfil
Hi, I've a question. Is posible in G code put a msg like "please insert the X value" ? ( currently the machine is paused.) Once I set the value, the machine goes on.
It is possible?
Thanks.

Please Log in to join the conversation.

More
10 years 6 months ago #73038 by eFalegname
Replied by eFalegname on topic G Code Consult.
Like this:
...
(MSG, Please insert the X value)
M0
...

Please Log in to join the conversation.

More
10 years 6 months ago #73103 by andypugh
Replied by andypugh on topic G Code Consult.

Marfil wrote: Is posible in G code put a msg like "please insert the X value" ? .


Popping up a message is very easy.

Actually getting a numerical value into G-code is a lot less easy. When G-code was developed there was no consideration given to user interactivity. Even the (MSG, .... ) format is just a special case of a g-code comment line. (described here: linuxcnc.org/docs/2.7/html/gcode/overview.html#gcode:comments )

One way to do what I think you want to do is here:
forum.linuxcnc.org/forum/38-general-linu...iable?start=10#57149

Please Log in to join the conversation.

More
10 years 6 months ago #73137 by Marfil
Replied by Marfil on topic G Code Consult.
Thanks Andypugh for your support
As you told me, exactly that ! But is not too easy for me.
Regards

Please Log in to join the conversation.

Time to create page: 0.077 seconds
Powered by Kunena Forum