![]() | |
| Home Page | Mark Forums Read | Today's Posts | My Replies | Classifieds | Reviews | Photo Gallery | Web Links | Share Files | Advertise With Us | Ad List |
| |||||||
| This forum is sponsored by: |
![]() |
| | LinkBack | Thread Tools | Search this Thread | Display Modes |
|
#1
| |||
| |||
At one of the CNC Workshops some one, I think is was either ART or BRIAN, said it is possible to place messages on the screen. I cannot find my notes and have a situation that will require a manual action of the operator. Can anyone out there help me? |
|
#2
| ||||
| ||||
| Create a macro, and in it put: Code "(YOUR MESSAGE HERE)" Then just call the M code when you want the message to display. If you name the macro M555.m1s, then calling M555 will display the message. The code can also be part of another macro you may be using.
__________________ Gerry Mach3 2010 Screenset http://home.comcast.net/~cncwoodworker/2010.html (Note: The opinions expressed in this post are my own and are not necessarily those of CNCzone and its management) |
|
#4
| ||||
| ||||
| Open Notepad, type: Code "(YOUR MESSAGE HERE)" and save as "M555.m1s" (Be sure to use the quotes, so you don't end up with M555.m1s.txt) Place in the Mach3mill\macro folder, restart mach3, and MDI M555
__________________ Gerry Mach3 2010 Screenset http://home.comcast.net/~cncwoodworker/2010.html (Note: The opinions expressed in this post are my own and are not necessarily those of CNCzone and its management) |
|
#5
| |||
| |||
| Hi, Not that putting the message as a code statement inside a macro won't work but I don't really see why when it'll be exactly the same as putting it in the code directly (?). G0 X10 (Your message) G0 Z10 If you want to stop/pause then insert a M0 right after the message: G0 X10 (Your message) M0 G0 Z10 If you want to get fancy you can put something like this in a macro, like ger21 showed you: If IsLoading() = 0 Then Response = MsgBox ("Please remove clamp. Then press OK to continue", 48,"Operator message") End If |
| Sponsored Links |
|
#6
| ||||
| ||||
|
Really? I didn't try it, but it works in a button script?
__________________ Gerry Mach3 2010 Screenset http://home.comcast.net/~cncwoodworker/2010.html (Note: The opinions expressed in this post are my own and are not necessarily those of CNCzone and its management) |
|
#7
| |||
| |||
| It'll work in a button-script, in a macro or straight in the G-code. Anything within () is a comment in G-code so putting Code "(My Comment)" inside a macro (or buttonscript) and then executing that macro or script is exactly the same as typing (MyComment) in MDI or putting (MyComment) directly in the G-code program. So my only point is/was, why put it in a macro when you can put it straight in the G-code? |
![]() |
| Tags |
| mach3, on screen messages |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | Search this Thread |
| Display Modes | |
| |
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| spam in private messages | keithorr | Forum Questions or Problems | 1 | 08-11-2009 01:29 PM |
| Error messages. How do you deal with 'em? | lamed | Controller & Computer Solutions | 1 | 04-01-2008 09:51 PM |
| error messages | sqatch | Dolphin CADCAM | 2 | 12-11-2007 05:05 PM |
| Error Messages and Information | Jim Estes | BobCad-Cam | 12 | 02-22-2007 03:40 PM |
| Search for New Messages | cbcnc | Forum Questions or Problems | 7 | 12-08-2003 12:54 AM |