Hi everyone,
I am finally getting my UC300eth-5LPT up and running on my Bridgeport conversion and I'm trying to implement the manual tool change macro I had in Mach 3. For that, I had DROs where I would enter:
X,Y,Z of the tool change position (because it changes depending upon where the vise and work is located)
and
X,Y,Z of the tool touch location (because I have the machine move to a spot wherever that particular work piece is not having the top surface machined off, usually .120" above the surface where I then use the knee and a .120" gauge block to set the 'tool height'.
I have modified the screen and added these fields to the Run screen as textfieldnb fields. I have the constructor setup so that it populates the fields correctly at startup, but I really want the fields to resemble DRO's with the X.XXX format. However, if I type ".1", it just comes in as ".1". If the field is number 20001, is there a macro that runs whenever that field is modified so that I can alter the format and show it as "0.100"?
Or, is there a different way to force string or number formatting in a field?
Also, I see that there are macro functions called "Getfielddouble" or "Setfieldtext" that aren't in any of the macro manuals that I've been able to find, but yet, lot's of people seem to know about them and how to use them. Is there a macro/plugin resource that's hidden away somewhere? The latest one I've found is Robertspark's 1.2105 manual from June 17 and it doesn't even have those.
Similarly, I can't seem to find anything anywhere that describes the difference between field and fieldnb or textfield and textfieldnb. What is the nb?
I'm not new to C/C++ or visual studio, but C# is new to me. I've picked up a c# resource book to learn more, but if my questions are related to standard C# libraries, that would be good to know, too.
Thanks!