Help with system lables not working


Results 1 to 9 of 9

Thread: Help with system lables not working

  1. #1
    Member SWATH's Avatar
    Join Date
    Aug 2010
    Location
    USA
    Posts
    596
    Downloads
    0
    Uploads
    0

    Default Help with system lables not working

    Hi I have a problem with getting the system labels to work.

    My screenset (machsteelblue) uses the following labels (case correct):

    Mode
    File
    Ticker0
    ProgramRun (squiggly character in front of the P)
    Error

    (I added the following)

    TOOLDESC
    COSYS
    Profile

    The only labels that seems to work or do anything are the Error and the Profile.

    Can someone help me get all of these working or at least most of them?

    Thanks!

    Current mach version ...066, but I also tried an older version as well ...022 with the same result

    Similar Threads:
    warmachinellc.com


  2. #2
    Community Moderator ger21's Avatar
    Join Date
    Mar 2003
    Location
    Shelby Township
    Posts
    34537
    Downloads
    0
    Uploads
    0

    Default Re: Help with system lables not working

    Do they work in the Default screen?
    If the Label name is spelled correctly, they should work.

    I just added each one to a screen, and they all work except ProgramRun.

    I don't know what ProgramRun is, and see no references to it.
    I also tried ~ProgramRun and it didn't work either.

    Gerry

    UCCNC 2017 Screenset
    http://www.thecncwoodworker.com/2017.html

    Mach3 2010 Screenset
    http://www.thecncwoodworker.com/2010.html

    JointCAM - CNC Dovetails & Box Joints
    http://www.g-forcecnc.com/jointcam.html

    (Note: The opinions expressed in this post are my own and are not necessarily those of CNCzone and its management)


  3. #3
    Member SWATH's Avatar
    Join Date
    Aug 2010
    Location
    USA
    Posts
    596
    Downloads
    0
    Uploads
    0

    Default Re: Help with system lables not working

    Quote Originally Posted by ger21 View Post
    Do they work in the Default screen?
    If the Label name is spelled correctly, they should work.

    I just added each one to a screen, and they all work except ProgramRun.

    I don't know what ProgramRun is, and see no references to it.
    I also tried ~ProgramRun and it didn't work either.
    Hey Gerry thanks a lot! When I tried that most of them worked, so I compared the differences. Turns out the text color was black just like the background so you couldn't see them...dump simple fix. However the the TOOLDESC does not display anything but the word Empty no mater what the tool description is. Any ideas on that one? Also how would you go about editing Ticker0? Is that a file stored in the mach3 folder?

    BTW Here is the Program Run label with the weird character. Not sure if it does anything.
    Help with system lables not working-program-run-jpg

    Last edited by SWATH; 06-16-2019 at 01:57 PM.
    warmachinellc.com


  4. #4
    Community Moderator ger21's Avatar
    Join Date
    Mar 2003
    Location
    Shelby Township
    Posts
    34537
    Downloads
    0
    Uploads
    0

    Default Re: Help with system lables not working

    If you don't know what it does, then why do you need it?

    Digging around, it looks like TOOLDESC no longer works.
    It was apparently changed in v 3.043.038, but I can't get it to do anything.
    https://www.machsupport.com/wp-conte...angelist90.txt

    If you want something else in the Ticker, use Ticker1 -Ticker255.

    See the Mach2 Customization Guide.

    Gerry

    UCCNC 2017 Screenset
    http://www.thecncwoodworker.com/2017.html

    Mach3 2010 Screenset
    http://www.thecncwoodworker.com/2010.html

    JointCAM - CNC Dovetails & Box Joints
    http://www.g-forcecnc.com/jointcam.html

    (Note: The opinions expressed in this post are my own and are not necessarily those of CNCzone and its management)


  5. #5
    Member SWATH's Avatar
    Join Date
    Aug 2010
    Location
    USA
    Posts
    596
    Downloads
    0
    Uploads
    0

    Default Re: Help with system lables not working

    Quote Originally Posted by ger21 View Post
    If you don't know what it does, then why do you need it?

    Digging around, it looks like TOOLDESC no longer works.
    It was apparently changed in v 3.043.038, but I can't get it to do anything.
    https://www.machsupport.com/wp-conte...angelist90.txt

    If you want something else in the Ticker, use Ticker1 -Ticker255.

    See the Mach2 Customization Guide.
    Thanks again. I don't know what the Program run does so I'm getting rid of it. It was just in the screenset.

    For the TOOLDESC I was afraid of that as I had read that too. I sort of found a work around

    I set the label to UserLabel1

    Then made the following macro:

    SetUserLabel(1, "Tool " & GetCurrentTool() & ": " & _
    GetToolDesc(GetCurrentTool()))


    The only problem is that it only runs and updates the tool description when run from the editor. In other words it doesn't update the description when the current tool updates, however it will update the current tool description when run from the editor. Is there a way to get this to update concurrently with the current tool?

    warmachinellc.com


  6. #6
    Community Moderator ger21's Avatar
    Join Date
    Mar 2003
    Location
    Shelby Township
    Posts
    34537
    Downloads
    0
    Uploads
    0

    Default Re: Help with system lables not working

    Have your M6 macro update it.
    Or, use the macropump to constantly update it.



  7. #7
    Member SWATH's Avatar
    Join Date
    Aug 2010
    Location
    USA
    Posts
    596
    Downloads
    0
    Uploads
    0

    Default Re: Help with system lables not working

    Quote Originally Posted by ger21 View Post
    Have your M6 macro update it.
    Or, use the macropump to constantly update it.
    OK first I tried adding the code to the macropump.m1s. It didn't work and the description did not update at all. I'm using another bit of code in the macropump that does indeed work so I know that macro is working.

    Next I tried adding the code to the M6Start.m1s and now it works but only on an M6 command as expected. However changing the tool number in the tool DRO does nothing. I frequently do this when manual milling without Gcode and it updates the diameter and the tool length offset but it does not update the description.

    I would like the description to update to whatever the tool number is in the tool DRO (function: Current Tool Number DRO). I think updating the description when the tool number DRO is changed should be simple without the need for Gcode if the right VB codes are called but I don't know. Is there a definable event that can be used in the script when the Current Tool Number DRO changes?

    warmachinellc.com


  8. #8
    Community Moderator ger21's Avatar
    Join Date
    Mar 2003
    Location
    Shelby Township
    Posts
    34537
    Downloads
    0
    Uploads
    0

    Default Re: Help with system lables not working

    Not that I'm aware of. Macropump would be the only way.

    Gerry

    UCCNC 2017 Screenset
    http://www.thecncwoodworker.com/2017.html

    Mach3 2010 Screenset
    http://www.thecncwoodworker.com/2010.html

    JointCAM - CNC Dovetails & Box Joints
    http://www.g-forcecnc.com/jointcam.html

    (Note: The opinions expressed in this post are my own and are not necessarily those of CNCzone and its management)


  9. #9
    Member SWATH's Avatar
    Join Date
    Aug 2010
    Location
    USA
    Posts
    596
    Downloads
    0
    Uploads
    0

    Default Re: Help with system lables not working

    Quote Originally Posted by ger21 View Post
    Not that I'm aware of. Macropump would be the only way.
    Hey Ger, It wasn't working until I shut down Mach3, shut down the computer, shut down the machine. Then rebooted everything back up and now it's working. Thanks for your help!

    For reference here is the code I put in the macropump to function as TOOLDESC:

    SetUserLabel(1, "Tool " & GetCurrentTool() & ": " & GetToolDesc(GetCurrentTool()))

    warmachinellc.com


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

Help with system lables not working

Help with system lables not working

Help with system lables not working