Results 1 to 7 of 7

Thread: HOW DO I PUT MESSAGES TO THE OPERATOR

  1. #1
    Registered
    Join Date
    Mar 2003
    Location
    Pheonix, AZ
    Posts
    39
    Downloads
    0
    Uploads
    0

    Question HOW DO I PUT MESSAGES TO THE OPERATOR

    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. #2
    Community Moderator ger21's Avatar
    Join Date
    Mar 2003
    Location
    Shelby Twp, MI....USA
    Posts
    22,297
    Downloads
    0
    Uploads
    0
    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)


  3. #3
    Registered
    Join Date
    Mar 2003
    Location
    Pheonix, AZ
    Posts
    39
    Downloads
    0
    Uploads
    0
    can you show me a example of the macro and I would appreciate the assistance.

    Thanks


  4. #4
    Community Moderator ger21's Avatar
    Join Date
    Mar 2003
    Location
    Shelby Twp, MI....USA
    Posts
    22,297
    Downloads
    0
    Uploads
    0
    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
    H.O
    H.O is offline
    Registered
    Join Date
    Jul 2007
    Location
    Sweden
    Posts
    886
    Downloads
    0
    Uploads
    0
    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


  • #6
    Community Moderator ger21's Avatar
    Join Date
    Mar 2003
    Location
    Shelby Twp, MI....USA
    Posts
    22,297
    Downloads
    0
    Uploads
    0
    Quote Originally Posted by H.O View Post
    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 (?).
    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
    H.O
    H.O is offline
    Registered
    Join Date
    Jul 2007
    Location
    Sweden
    Posts
    886
    Downloads
    0
    Uploads
    0
    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?


  • Similar Threads

    1. spam in private messages
      By keithorr in forum Forum Questions or Problems
      Replies: 1
      Last Post: 08-11-2009, 02:29 PM
    2. Error messages. How do you deal with 'em?
      By lamed in forum Controller & Computer Solutions
      Replies: 1
      Last Post: 04-01-2008, 10:51 PM
    3. error messages
      By sqatch in forum Dolphin CADCAM
      Replies: 2
      Last Post: 12-11-2007, 06:05 PM
    4. Error Messages and Information
      By Jim Estes in forum BobCad-Cam
      Replies: 12
      Last Post: 02-22-2007, 04:40 PM
    5. Search for New Messages
      By cbcnc in forum Forum Questions or Problems
      Replies: 7
      Last Post: 12-08-2003, 01:54 AM

    Tags for this Thread

    Posting Permissions


     


    About CNCzone.com

      We are the largest and most active discussion forum from DIY CNC Machines to the Cad/Cam software to run them. The site is 100% free to join and use, so join today!

    Follow us on

    Facebook Dribbble RSS Feed


    Search Engine Friendly URLs by vBSEO ©2011, Crawlability, Inc.