G Code Consult.

More
08 Apr 2016 20:04 #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 or Create an account to join the conversation.

More
10 Apr 2016 07:22 #73038 by eFalegname
Replied by eFalegname on topic G Code Consult.
Like this:
...
(MSG, Please insert the X value)
M0
...

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

More
11 Apr 2016 13:24 #73103 by andypugh
Replied by andypugh on topic G Code Consult.

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
The following user(s) said Thank You: Marfil

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

More
12 Apr 2016 01:56 #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 or Create an account to join the conversation.

Time to create page: 0.108 seconds
Powered by Kunena Forum