Machsupport Forum

Mach Discussion => General Mach Discussion => Topic started by: carleldredge on April 03, 2008, 11:48:45 AM

Title: DRO # for Steps Per Inch/mm
Post by: carleldredge on April 03, 2008, 11:48:45 AM
Hi,

I need to be able to access the number of steps per inch/mm. The DRO is located under Config-Motor Tuning. If anyone knows how to get that number, please tell me.

Thanks alot. :)

Carl
Title: Re: DRO # for Steps Per Inch/mm
Post by: Chip on April 03, 2008, 03:52:02 PM
Hi, Carl

Do the other menus open up under "Config" pull-down list ? (Could have a password set under Operator if none of them will open).

If it won't open the "motor tuning" window only in Mach3, (I've had this happen several times in the past) You'll need to reinstall Mach3.

Make a copy of your Mach3Mill.xml or what ever it's named (profile you load/run with Mach).

It's located in C:\Mach3 folder (standard install for Mach).

Hope this Helps, Chip

Title: Re: DRO # for Steps Per Inch/mm
Post by: carleldredge on April 03, 2008, 04:01:55 PM
I'm sorry, I should have been more specific. I need to use the value in a brain, so I want an address or DRO number. Other wise, every time I change it I'll have to do it twice. I'm trying to design a new screen.

Thanks.

Carl
Title: Re: DRO # for Steps Per Inch/mm
Post by: Chip on April 03, 2008, 04:08:09 PM
Hi, Carl

I think that's an internally used xml value. Have a look hear though

http://www.machsupport.com/MachCustomizeWiki/index.php?title=Main_Page

Thanks, Chip

 
Title: Re: DRO # for Steps Per Inch/mm
Post by: jimpinder on April 03, 2008, 04:25:35 PM
The function is

GetParam (name as String) as Double

The string you want is "StepsPerAxisX"  or Y or Z etc.
Title: Re: DRO # for Steps Per Inch/mm
Post by: carleldredge on April 04, 2008, 11:16:55 AM
That did it. Thanks so much!

Carl