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
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.
1 Attachment(s)
Re: Help with system lables not working
Quote:
Originally Posted by
ger21
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.
Attachment 422390
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.
Re: Help with system lables not working
Quote:
Originally Posted by
ger21
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?
Re: Help with system lables not working
Have your M6 macro update it.
Or, use the macropump to constantly update it.
Re: Help with system lables not working
Quote:
Originally Posted by
ger21
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?
Re: Help with system lables not working
Not that I'm aware of. Macropump would be the only way.
Re: Help with system lables not working
Quote:
Originally Posted by
ger21
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()))