Tool Life Management, recording tool runtime in tooltable, feature request

Results 1 to 5 of 5

Thread: Tool Life Management, recording tool runtime in tooltable, feature request

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

    Default Tool Life Management, recording tool runtime in tooltable, feature request

    Hello Planet CNC Team,

    I'm currently looking into a way to record the runtime of my tools to get a better understanding about the tool life.
    With some extensions to the M3, M4 and M5 scripts it was quiet easy to calculate the spindle on time for the current tool.
    Now I'm seeking a way to store this runtime and to accumulate it with previous runtimes.
    The Tooltable offers Custom Parameters that seem to be perfect for this task. Unfortunately they are read only.
    Would it be possible to implement an enhancement to make those custom parameters writable?

    Best Regards,
    Klaus

    Similar Threads:


  2. #2
    Member Algirdas's Avatar
    Join Date
    Mar 2009
    Location
    United Arab Emirates
    Posts
    1982
    Downloads
    2
    Uploads
    0

    Default Re: Tool Life Management, recording tool runtime in tooltable, feature request

    what is your control system once again?



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

    Default Re: Tool Life Management, recording tool runtime in tooltable, feature request

    I'm using Planet CNC TNG Version 2020.11.24 with a CNC USB controller Mk3 (9 axis)



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

    Default Re: Tool Life Management, recording tool runtime in tooltable, feature request

    Big Thanks to PlanetCNC for making the custom Variables of the Tool Table writable. This enabled me to implement a basic tool life recording.

    The attached M3, M4 and M5 scripts will record the spindle runtime of a tool into custom variable 1 in the tool table.
    M3 and M4 records the timestamp of the spindle start time into a global variable.
    M5 calculates the runtime in minutes since the last M3/4 command and adds the result to the value of custom variable 1 in the tool table.

    If the spindle is not Stop with M5 (E-Stop for example) the runtime will not be recorded. If the Buttons in the GUI should record the runtime the setting
    Settings/User Interface/Command/Spindle Command
    must be Set to "Use M-Code"
    Keep in mind that this setting will prevent you from turning the spindle on or off while a Programm is running!!!

    Best Regards,
    Klaus

    Attached Files Attached Files


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

    Default Re: Tool Life Management, recording tool runtime in tooltable, feature request

    Seems I had some bug in the previous scripts. I used _selected_tool where _current_tool would be needed. Fixed in attached version

    Attached Files Attached Files


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

Tool Life Management, recording tool runtime in tooltable, feature request

Tool Life Management, recording tool runtime in tooltable, feature request