584,808 active members*
5,253 visitors online*
Register for free
Login
IndustryArena Forum > Machine Controllers Software and Solutions > PlanetCNC > I'm missing something somewhere...debugging and sound?
Results 1 to 3 of 3
  1. #1
    Join Date
    Nov 2009
    Posts
    8

    Question I'm missing something somewhere...debugging and sound?

    My Google-fu is either lacking, or I'm missing something somewhere. I need help finding 2 things:

    a) how do I turn debug mode on? In other words, rather than using (print, blah blah)...I want to use (debug, blah blah)...

    b) how do I get it to beep / siren / any noise at all when it's done?

    Many thanks in advance; I'm just losing hair here, there are references but no examples I can find in the documentation.

    Lee
    Last edited by gnurph69; 03-20-2023 at 03:12 AM.

  2. #2
    Join Date
    Apr 2018
    Posts
    130

    Re: I'm missing something somewhere...debugging and sound?

    Perhaps this page will help:
    https://planet-cnc.com/category/software/

    In the Troubleshooting section is this debug example:
    Troubleshooting
    If inverter will not respond to any spindle gcode command , it indicates that something is not ok.
    Type into the MDI window the following text:

    =debug = 1
    Test the M3, M4 and M5 codes again.

    Observe the output window and the printed text.

  3. #3
    Join Date
    Nov 2009
    Posts
    8

    Re: I'm missing something somewhere...debugging and sound?

    I saw that. It doesn't seem to do anything and that applies to a specific piece of equipment, I think.

    I have a series of (print, blah blah) commands and I only wanted to show them if the debug was on; I changed one to (debug, blah blah) and now it simply doesn't show that line. I'd prefer not to have a bunch of

    O23 if [#<deeebug> EQ 1] (print, blah blah) O23 endif

    type statements (I'm not sure exactly what it would look like, but it would certainly be clunky.)
    Seems like a bad approach to the problem, so I'm figuring debug is the way to do this.

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •