Re: UCCNC default Jog Speed
Steve,
what do mean when you say those solutions won't work for you.
Do you mean they are not what you want, or you cannot get them to work.
I just tried the screenset file method and that worked fine. I'm guessing the Constructor/Destructor macro method will work fine too.
On a sidenote, you're much more likely to get the help you need on the UCCNC forum rather than the general Australia section of CNC zone.
Re: UCCNC default Jog Speed
Beefy G'day,
I've used both methods and I can't get it to work..
Happy its working for you..
Cheers,
Steve
Re: UCCNC default Jog Speed
Quote:
Originally Posted by
curiosity22
Am I doing something wrong or is there another way of doing this.. using the current version of UCCNC which works with the ethernet board.
OK there's a little clue in what you said in that sentence that indicates you may not be doing things correctly. There is no such thing as "the" ethernet board.
There are UC400ETH, UC300ETH, and the AXBB. All are ethernet connection. Also the UC300ETH can attach to a variety of daughter boards or breakout boards like the UB1.
Let's start off with the easy one, writing to the screenset file.
Can you explain exactly where you wrote the code which did not work, i.e. the file path, and where in the file did you write the code. Then I can see what went wrong, and steer you in the right direction.
Re: UCCNC default Jog Speed
In the screen file, there are eparate screens for each differernt controller. You need to edit the correct portion for the controller that you are using.
Re: UCCNC default Jog Speed
Beefy G'day,
Thank you for taking the time,
Yes AXBB..
ok
The file below is what I have edited, I only have the one screenset there is no other. I use notepad ++ to do the edits
uccnc\screens\Defaultscreenset.ssf
In my case line 2051 I edit AS3jog.Setfield(10, 913); I change the 10 to 50 under this I copy paste
AS3jog.Validatefield(913);
So now it looks like
AS3jog.Setfieldtext("50", 913);
AS3jog.Validatefield(913);
Cheers,
Steve
Re: UCCNC default Jog Speed
Ger G'day,
There are separate M99998.txt and M99999.txt in each profile, I have only found the one default screen set?
Cheers,
Steve
Re: UCCNC default Jog Speed
Ok now Im with you, there is only one reference to AS3jog.Setfieldtext("50", 913); in the .ssf so >?
Cheers,
Steve
Re: UCCNC default Jog Speed
OK might have an idea of what's going wrong.
The latest install has a new screen design, primarily black. That screen uses the screenset file "Default2019.ssf", not the file which you used "Defaultscreenset.ssf" (I made the same mistake).
Also you need to put your code in the AXBB section inside the screenset file. The screenset file contains multiple sets of code for each controller board and breakout board combo.
Your code starts with:
//REGION AXBB
and ends with:
//ENDREGION AXBB
See if that works.
Re: UCCNC default Jog Speed
There we go ty muchly working as intended now.
Cheers Beefy much appreciate your time
Steve