Is there a way to print a message to AXIS?
- garymcrobertpdx
- Offline
- Elite Member
-
Less
More
- Posts: 164
- Thank you received: 1
17 Jan 2012 21:48 #16859
by garymcrobertpdx
Is there a way to print a message to AXIS? was created by garymcrobertpdx
Is there a way to print a message from a G code program to the AXIS screen?
It would be nice to be able to prompt the operator when the machine pauses
for a manual part reorientation in the vice.
It would be nice to be able to prompt the operator when the machine pauses
for a manual part reorientation in the vice.
Please Log in or Create an account to join the conversation.
17 Jan 2012 21:59 #16861
by BigJohnT
Replied by BigJohnT on topic Re:Is there a way to print a message to AXIS?
Yes, you use a message comment.
linuxcnc.org/docview/2.5/html/gcode/othe..._a_id_sec_messages_a
John
linuxcnc.org/docview/2.5/html/gcode/othe..._a_id_sec_messages_a
John
Please Log in or Create an account to join the conversation.
- garymcrobertpdx
- Offline
- Elite Member
-
Less
More
- Posts: 164
- Thank you received: 1
17 Jan 2012 22:32 #16863
by garymcrobertpdx
Replied by garymcrobertpdx on topic Re:Is there a way to print a message to AXIS?
Yes I have that part. I failed to explain that I was hoping for is a way to make the message large
enough to be seen from a distance, say ten feet the distance from my Bridgeport mill to the CNC
rig.
enough to be seen from a distance, say ten feet the distance from my Bridgeport mill to the CNC
rig.
Please Log in or Create an account to join the conversation.
18 Jan 2012 00:19 #16865
by BigJohnT
Replied by BigJohnT on topic Re:Is there a way to print a message to AXIS?
The you want to check out GladeVCP, it is quite versatile. That is in 2.5 btw...
linuxcnc.org/docview/2.5/html/gui/gladevcp.html
and
linuxcnc.org/index.php/english/component...ew&catid=48&id=16439
John
linuxcnc.org/docview/2.5/html/gui/gladevcp.html
and
linuxcnc.org/index.php/english/component...ew&catid=48&id=16439
John
Please Log in or Create an account to join the conversation.
18 Jan 2012 11:44 - 18 Jan 2012 11:45 #16878
by ArcEye
Replied by ArcEye on topic Re:Is there a way to print a message to AXIS?
Hi
Another easy way to do this is to use a 'user M code'.
The zip contains a .png image which contains the text "Re-orientate part in vice!!"
Place this together with the file M112 contained in the .zip in the directory specified in your .ini file under PROGRAM_PREFIX=
You may need to edit M112 if the location of the image differs or if you use a different viewer in place of qiv
(make sure you leave it executable - chmod 755)
To run you just have to use the M112 in your g code program.
Very simple and save messing about with glade if you don't use it for anything else.
Just one of the many ways to skin this particular cat!
regards
Another easy way to do this is to use a 'user M code'.
The zip contains a .png image which contains the text "Re-orientate part in vice!!"
Place this together with the file M112 contained in the .zip in the directory specified in your .ini file under PROGRAM_PREFIX=
You may need to edit M112 if the location of the image differs or if you use a different viewer in place of qiv
(make sure you leave it executable - chmod 755)
To run you just have to use the M112 in your g code program.
Very simple and save messing about with glade if you don't use it for anything else.
Just one of the many ways to skin this particular cat!
regards
Last edit: 18 Jan 2012 11:45 by ArcEye.
Please Log in or Create an account to join the conversation.
18 Jan 2012 11:49 #16879
by BigJohnT
Replied by BigJohnT on topic Re:Is there a way to print a message to AXIS?
That's pretty neat!
John
John
Please Log in or Create an account to join the conversation.
18 Jan 2012 12:04 #16881
by BigJohnT
Replied by BigJohnT on topic Re:Is there a way to print a message to AXIS?
On a stock install from the LiveCD you might want to use the following line
eog /home/computername/emc2/nc_files/message.png
eog is Eye of Gnome which comes installed with the LiveCD.
John
eog /home/computername/emc2/nc_files/message.png
eog is Eye of Gnome which comes installed with the LiveCD.
John
Please Log in or Create an account to join the conversation.
18 Jan 2012 17:27 #16894
by ArcEye
Replied by ArcEye on topic Re:Is there a way to print a message to AXIS?
Thanks John,
My installation is on Lenny with a different rtai kernel, so is far from 'stock' anything!
regards
My installation is on Lenny with a different rtai kernel, so is far from 'stock' anything!
regards
Please Log in or Create an account to join the conversation.
18 Jan 2012 18:54 #16897
by BigJohnT
Replied by BigJohnT on topic Re:Is there a way to print a message to AXIS?
I kinda figured that or your some kind of super geek LOL... anyhow I just tossed that out for newbie's to not stumble too much trying to make it work. It's a pretty neat idea!
Maybe the guy that wanted the computer to holler at him when done could do something similar.
John
Maybe the guy that wanted the computer to holler at him when done could do something similar.
John
Please Log in or Create an account to join the conversation.
19 Jan 2012 08:53 #16926
by ArcEye
Yeah, mpg123 Hey_Come_and_Reposition_the_Workpiece.mp3 would do it
Replied by ArcEye on topic Re:Is there a way to print a message to AXIS?
Maybe the guy that wanted the computer to holler at him when done could do something similar.
Yeah, mpg123 Hey_Come_and_Reposition_the_Workpiece.mp3 would do it
![:woohoo: :woohoo:](/media/kunena/emoticons/w00t.png)
Please Log in or Create an account to join the conversation.
Time to create page: 0.095 seconds