TNG Stop button is not turning off the spindle - is this a bug? Can I change it?

Results 1 to 9 of 9

Thread: TNG Stop button is not turning off the spindle - is this a bug? Can I change it?

  1. #1
    Member 5Carbides's Avatar
    Join Date
    Nov 2019
    Posts
    41
    Downloads
    0
    Uploads
    0

    Default TNG Stop button is not turning off the spindle - is this a bug? Can I change it?

    I have observed that when a G-Code program is running on my CNC router and I use the Stop button on the TNG toolbar, the spindle does not turn off.
    The g-code program does stop as well as motion. But the Spindle and VFD keep on running.

    Is this by functionality by design? Can I change it via a setting or a file change?


    The spindle and vfd are the common Chinese imports. The Emergency stop DOES stop the program, motion, and the spindle/vfd. The VFD is controlled by PlanetCNC card.

    Similar Threads:


  2. #2
    Member retro1's Avatar
    Join Date
    Aug 2022
    Posts
    23
    Downloads
    0
    Uploads
    0

    Default Re: TNG Stop button is not turning off the spindle - is this a bug? Can I change it?

    I do have the same problem. Only the E-Stop shuts down everything. When i have to stop during a plasma cutting action i have to shut down the torch manually by the button. Its awful that way. Haven't yet figured out why.



  3. #3
    Member PlanetCNC's Avatar
    Join Date
    Mar 2017
    Location
    Slovenia
    Posts
    1304
    Downloads
    0
    Uploads
    0

    Default Re: TNG Stop button is not turning off the spindle - is this a bug? Can I change it?

    There are lots of options to do this.
    You can write OnStop.gcode script and run M5 from there.
    Or you can write #OnStop expr.txt event and turn outputs off from there.



  4. #4
    Member
    Join Date
    Jan 2013
    Location
    england
    Posts
    474
    Downloads
    0
    Uploads
    0

    Default Re: TNG Stop button is not turning off the spindle - is this a bug? Can I change it?

    Usually a spindle drive only needs the enable signal removing to stop. Could be a wiring problem with the stop button. Possibly dual channel and channel to the drive isn't dropping out.



  5. #5
    Member ScorpionTDL's Avatar
    Join Date
    Aug 2020
    Posts
    131
    Downloads
    0
    Uploads
    0

    Default Re: TNG Stop button is not turning off the spindle - is this a bug? Can I change it?

    This is not a wiring problem. Planetcnc does not change the state of the output that is linked to the spindel when stopping the program with the stop button. As instructed above you can achieve this by adding the corresponding code either to onstop.gcode or to expr.txt



  6. #6
    Member
    Join Date
    Dec 2008
    Location
    Italy
    Posts
    41
    Downloads
    0
    Uploads
    0

    Default Re: TNG Stop button is not turning off the spindle - is this a bug? Can I change it?

    Not everyone is able to intervene on the codes and, also for safety reasons, it would be advisable for the program to offer, in the setting, the option to stop the spindle in this condition.
    The user will then choose whether to activate the option, without going to modify/create the scripts.



  7. #7
    Member PlanetCNC's Avatar
    Join Date
    Mar 2017
    Location
    Slovenia
    Posts
    1304
    Downloads
    0
    Uploads
    0

    Default Re: TNG Stop button is not turning off the spindle - is this a bug? Can I change it?

    I believe anyone should be able to do this.
    It is easier to add "M5" to OnStop script than find which checkbox in settings should be checked.
    Because Stop is not EStop, a move to safe height is usually also used here.

    Go to "Settings/Program Options/Events".
    Scroll down to "OnStop" and click "Edit Script".
    Add "M5" line.
    Click save icon to save modified script.
    Is this really so hard?
    (see attachments)

    Attached Thumbnails Attached Thumbnails TNG Stop button is not turning off the spindle - is this a bug? Can I change it?-hzcfov9php-png   TNG Stop button is not turning off the spindle - is this a bug? Can I change it?-planetcnc32d_kiuyzeog3d-png  


  8. #8
    Member
    Join Date
    Dec 2008
    Location
    Italy
    Posts
    41
    Downloads
    0
    Uploads
    0

    Default Re: TNG Stop button is not turning off the spindle - is this a bug? Can I change it?

    No, it's not at all difficult. Far from it. And I wasn't speaking in a personal capacity, since I too modify the scripts also with the help of the friends of this forum. But, I repeat, and sincerely without any desire for controversy, that there are those who prefer to operate only through the user interface, and I fully understand their reluctance to modify system scripts.
    On the other hand I realize that the program was also born thinking about the possibility - on the user side - of expanding its potential by modifying and creating scripts, expressions and more.
    I just wanted to say that this is an important function, and that having it in the setting options wasn't a bad idea, and could be reassuring for more "cautious" users.
    (Sorry for my poor English language, I'm using translation program...)



  9. #9
    Member 5Carbides's Avatar
    Join Date
    Nov 2019
    Posts
    41
    Downloads
    0
    Uploads
    0

    Default Re: TNG Stop button is not turning off the spindle - is this a bug? Can I change it?

    Quote Originally Posted by PlanetCNC View Post
    I believe anyone should be able to do this.
    It is easier to add "M5" to OnStop script than find which checkbox in settings should be checked.
    Because Stop is not EStop, a move to safe height is usually also used here.

    Go to "Settings/Program Options/Events".
    Scroll down to "OnStop" and click "Edit Script".
    Add "M5" line.
    Click save icon to save modified script.
    Is this really so hard?
    (see attachments)
    Thank you for the insight on how to achieve this, and additional thanks for the directions too. :-D



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
  •  


About CNCzone.com

    We are the largest and most active discussion forum for manufacturing industry. The site is 100% free to join and use, so join today!

Follow us on


Our Brands

TNG Stop button is not turning off the spindle - is this a bug? Can I change it?

TNG Stop button is not turning off the spindle - is this a bug? Can I change it?