Machsupport Forum
Mach Discussion => General Mach Discussion => Topic started by: carleldredge on May 03, 2008, 08:33:21 PM
-
Does anyone know how to save user DRO values in mach3? I need to save some values when mach3 is closed and use them again the next time it is opened. Is there a way to do it in a plugin? If so, how?
Thanks,
Carl
-
On the general config page you should check the persistant DRO option.
Hood
-
I have that selected, but it does not save all of them. I don't know if it makes a difference, but I'm using a macro to write to the DROs.
-
Hi Carl - Not sure if this is pertinent to what you want but... If for example you're intending saving the axis position DRO values it may not achieve what you want. If you're using steppers and microstepping there are issues with motors staying where you left them and starting them anew from where you left off. One good reason for allways starting with a ref all. Like I say, this may not be an issue for you but just thought I'd mention it just in case.
-
I am creating a semi-closed loop control for mach3. I just need to be able to save some settings that are send out to MCUs via the SmoothStepper. It is too much hassle to enter the settings in every time you start up mach.
I don't know why, but some of the user DROs I created are saved when mach3 is closed. Others are not. Any ideas? I really need to figure this out.
Thanks a lot,
Carl
-
Hi Carl, I believe the newest version has fixed the problem of saving the DRO's
Darc
-
Carl.
I use a lot of DRO's for some of my Macro programs - these are user DRO's. Mach 3 saves all these, and they appear untouched the next time you start up.
Other DRO's (not USER DRO's) may, I think, change on start-up dependent on what triggers them.
Which DRO's change ? ???
I think I would create my settings on an ALL UserDRO table and then transfer them across to the "correct" DROs when you run your Macro. If some of them involve active DRO's, you may have to copy them back to your table before you close down (using another Macro)
Jim