Machsupport Forum
Mach Discussion => General Mach Discussion => Topic started by: CNCdn on March 15, 2010, 01:41:40 PM
-
Yesterday I ran one of my first Wizards.
A simple 'row bolt patten'.
No I had originally calibrated Mach 3 in Metric but this wizard ran in inches and it ran perfectly.
I tried it again to day and it still runs correctly buy it travels in MM and the DRO's read in MM also.
The wizard includes a G20 code so it should switch to inches but it does not.
What am I missing?
Alex
-
If you work in mm then when using the wizard set the wizard to mm
I don't use the wizards but i checked it and it has that ability, & i guess they all have that ability
Phil
-
No question, that would makes sense, Phil except for the fact that yesterday (still calibrated in metric) that wizard (programed in inches) worked in inches.
The G20 code is supposed to make Mach 3 output inches, I guess. The DRO's read inches but the output is in millimeters.
There must be something in the software that overrides the G20 command but I can't find it.
Alex
-
G20 in the code should override any setting in Mach until you restart or reset.
Can you attach your xml and I will have a look.
Hood
-
Here you go and thanks.
However, as I said, it WAS working yesterday.
Alex
G0 G49 G40 G17 G80 G50 G90
M6 T0
G20 (Inch)
M03 S0
M08
G90
G00 G43 H0 Z0.1
G81 X-1.75 Y-0.5 Z-0.125 R0.1 F10
X-1.1667
X-0.5833
X0
X0.5833
X1.1667
X1.75
Y0.5
X1.1667
X0.5833
X0
X-0.5833
X-1.1667
X-1.75
G80
M5 M9
X-1.75 Y-0.5
M30
-
Can you attach the xml that you use. If you use the standard Mach3 Mill then the xml will be called Mach3Mill.xml, if you use a custom profile it will have the name of that. You will find it in the Mach3 folder and you will need to copy it to your desktop and rename before the forum will accept it, suggest renaming to CNCdn.xml.
To attach to the forum use the additional options tab on the reply page and browse to the desktop and attach the xml.
Hood
-
Hang on.
That's not right.
Must have copied the wrong file.
-
Sorry Hood.
Thought this went an hour ago.
-
You have that xml as inches for your native units but looking at your motor tuning I would say you have set things as metric there.
If that is correct then you could do two things, first would be to change the native units to metric (Config menu then Select Native Units) or you could convert your steps per to imperial and leave native as Imperial.
Hood
-
That was it, alright. Thank you for spotting that.
I must have been screwing around yesterday or the day before and saved the file while native units were in inches.
just saved again but with that set to metric, re-opened the program and it now runs that wizard in inches as it should.
Thanks again.
Alex
-
No problem :)
Hood