Machsupport Forum

Mach Discussion => General Mach Discussion => Topic started by: hamitduk on April 27, 2015, 06:00:49 PM

Title: Strange, Help, Motor ATuning alters after G-Code loaded, Restart M3, it's fine!
Post by: hamitduk on April 27, 2015, 06:00:49 PM
Hi,

Help, Help, Help!

Mach3, load a G-code file and the motor tuning numbers stay the same, but if I recheck the Z it goes from what was a .5" on the DRO to .06xx", for .5" on the Dial indicator.

File created in SW2015, exported to DFX, into HSM.

system:
Win 7 86, 4 gig Ram, 250gig HD, 3070 CPU, Syba Parallel card

It is altered before here.

(BOTTOM BASE G4)
(MACHINE)
(  VENDOR NONE)
(  MODEL DUK)
(  DESCRIPTION OXY MORON)
(T1  D=0.25 CR=0. - ZMIN=-0.1375 - FLAT END MILL)
G90 G94 G91.1 G40 G49 G17
G20
G28 G91 Z0.
G90

(2D POCKET3)
M5
M9
T1 M6
(2 FLUTE FLAT ENDMILL)
S5000 M3
G54
M8
G0 X0.8801 Y0.1802
G43 Z0.6 H1
Z0.2
G1 Z0.125 F20.
G3 X0.8793 Y0.1811 Z0.1174 R0.1188
X0.8772 Y0.1838 Z0.1106 R0.1188
X0.8738 Y0.1878 Z0.1051 R0.1187

Help, Help, Help, Thanks

Title: Re: Strange, Help, Motor ATuning alters after G-Code loaded, Restart M3, it's fine!
Post by: hamitduk on April 27, 2015, 06:03:01 PM
Sorry not sure where the "A" came from in the subject line?
Title: Re: Strange, Help, Motor ATuning alters after G-Code loaded, Restart M3, it's fine!
Post by: BR549 on April 27, 2015, 08:28:25 PM
Sorry but I have no idea what you are trying to do or say.

" G90 G94 G91.1 G40 G49 G17"  You need to put the G90 and G91.1 on seperate lines

G28 G91 Z0.  send the z to the Zhome position(whwere ever that is on your system) via Z0

DO you have the tool length offsets set in the tool table for tool 1 ?

You never go negative in Z so you are not cutting anything.

Can you explain again what it is you need to know ?

(;-) TP

Title: Re: Strange, Help, Motor ATuning alters after G-Code loaded, Restart M3, it's fine!
Post by: hamitduk on April 27, 2015, 08:40:28 PM
Ok Lets try this in a little more completely.

I have a new table, and i have set all the motor tuning so that .5" on the DRO matches a .5" on Dial a indicator, for X-Y-Z.

It is repeatable, shut it down, reboot, anything the calibration stays.

now if i load the above G-Code file, then put the dial indicator back on, the indicator goes .5" and the DRO reads .06xx.

If I shut down Mach3 and restart it is back to .5" and .5"

Is this a bit clearer?

If you have any question please ask, I really want to get this working right.

Please help
Title: Re: Strange, Help, Motor ATuning alters after G-Code loaded, Restart M3, it's fine!
Post by: hamitduk on April 27, 2015, 08:42:03 PM
It was created with HSM using the Mach3 post processor.
Title: Re: Strange, Help, Motor ATuning alters after G-Code loaded, Restart M3, it's fine!
Post by: BR549 on April 27, 2015, 09:37:26 PM
The gcode file cannot effect motor tuning.  After you load the file HOW are you testing the movement ? How are you making Mach3 move to test? are there any scaling leds lit ?(right side of axis DROs)

Are you in inc G91 or Abs G90 when testing ?

(;-) TP
Title: Re: Strange, Help, Motor ATuning alters after G-Code loaded, Restart M3, it's fine!
Post by: hamitduk on April 27, 2015, 09:56:30 PM
Testing is done with a Mag base and dial indicator, set the indicator on top of the spindle mount, and use the P-Up till the indicator read .5" if the G-code was loaded it will read .06xx", after shut down and starting again it is back to .05"

will go and check the other stuff now
Title: Re: Strange, Help, Motor ATuning alters after G-Code loaded, Restart M3, it's fine!
Post by: hamitduk on April 27, 2015, 10:20:32 PM
Ok, just went and checked again:

Fired up the system fresh, fired up Mach3

Checked its calibration and X-Y-Z, all were with in .003 matching the dial indicator and the DRO.

loaded the G-code file, checked X-Y-Y, example the Z was .5" on the dial indicator and the DRO read .0641.

There were no scaling LED's lit.

Title: Re: Strange, Help, Motor ATuning alters after G-Code loaded, Restart M3, it's fine!
Post by: BR549 on April 27, 2015, 11:04:57 PM
Test it from the MDI line or this simple program.  Set Z0 above the table high enough to get the indicator in place. Stop mid table and Zero XY.

G90 G49  G49 G80
G91.1 G20
G0 X0 Y0 Z0
G1 X.1 F5 ( take up any slack in the +dir)
M01  (set and Zero the  indicator for X)
(press CYCLE START)
G1 X.500 F5  ( Move .500 "to the right)
G1 Y0.1000  ( take up any slack in Y + dir)
M01   ( set up idicator and zero on Y)
(press CYCLE START)
G1 Y0.500 F5  ( move the Y back .500")
G1 Z-0.1 F5
G1 Z0.000 F5 ( take up slack in Z + dir UP)
M01    ( set up indicator and set to .500)
(press CYCLE START)
G1 Z.500 F5   ( Indicator will go to Zero)
M30
%

IF all 3 axis's move  .500 then you are good to go.


(;-) TP
Title: Re: Strange, Help, Motor ATuning alters after G-Code loaded, Restart M3, it's fine!
Post by: hamitduk on April 27, 2015, 11:52:41 PM
I have a Nack to find any and all obscure problem in anything I do, it's a gift!

OK I entered

G90 G49  G49 G80
G91.1 G20
G0 X0 Y0 Z0
G1 X.1 F5 ( take up any slack in the +dir)
M01  (set and Zero the  indicator for X)
(press CYCLE START)
G1 X.500 F5  ( Move .500 "to the right)

And it moved 12.75" as the tape measure fly's!

So I shut down M3, restarted and just entered

G1 X.500 F5

and it moved .50x"

Huh?
Title: Re: Strange, Help, Motor ATuning alters after G-Code loaded, Restart M3, it's fine!
Post by: BR549 on April 28, 2015, 12:01:48 AM
You may want to send in your license code and have it checked.

(;-) TP
Title: Re: Strange, Help, Motor ATuning alters after G-Code loaded, Restart M3, it's fine!
Post by: hamitduk on April 28, 2015, 12:17:53 AM
Ok, I stepped thru the code. line by line and inserted the X move after each line and it always moved .5"

So I did it as a requested to be and I got 12.75" again
Title: Re: Strange, Help, Motor ATuning alters after G-Code loaded, Restart M3, it's fine!
Post by: hamitduk on April 28, 2015, 12:19:04 AM
It a demo
Title: Re: Strange, Help, Motor ATuning alters after G-Code loaded, Restart M3, it's fine!
Post by: hamitduk on April 28, 2015, 12:30:27 AM
I sent you a more private E-mail to your listed account.
Title: Re: Strange, Help, Motor ATuning alters after G-Code loaded, Restart M3, it's fine!
Post by: BR549 on April 28, 2015, 10:33:03 AM
I do not know what you mean by this.  " So I did it as a requested to be"  and I got 12.75" again
Title: Re: Strange, Help, Motor ATuning alters after G-Code loaded, Restart M3, it's fine!
Post by: hamitduk on April 28, 2015, 11:09:37 AM
I did it one line at a time, after each line I requested a .5" move and it was fine.

G90 G49  G49 G80
G1 X.500 F5 

G91.1 G20
G1 X.500 F5 

G0 X0 Y0 Z0
G1 X.500 F5 

What i was trying to do is find the fail point, it ran fine!

I shut down M3 and restarted M3


Then I followed/ran line as you requested

G90 G49  G49 G80
G91.1 G20
G0 X0 Y0 Z0
G1 X.1 F5 ( take up any slack in the +dir)
M01  (set and Zero the  indicator for X)
(press CYCLE START)
G1 X.500 F5  ( Move .500 "to the right)

At this point the X axis moved 12.75"

I checked the calibration, and the Dial indicator moved .5" and the DRO was .06x".

I shut down M3 and restarted M3 and the Calibration was back to correct.

Help 
Title: Re: Strange, Help, Motor Tuning alters after G-Code loaded, Restart M3, it's fine!
Post by: hamitduk on April 29, 2015, 01:01:36 AM
I hope some one can help me here!

I have had a new battle every day, some one up there hates me!

Today.

I got up and figured I would get a fresh start and upgrade a few thing that might be questionable.

First, I am not sure of where I got the Demo copy of M3 but it release was over a year old, so upgrade, logical, right.  I D/L the new Demo and loaded it, reentered all the configuration, and went to check the movement.  It was Christmas two red lights and two green on the controllers, not a good thing.

Took a break today, went back and stripped it down, and started over, added AC regulation to the supply side, readjusted the PS to 48VDC +/- .1  Now they are back to green.

So Please some one out there either send me a Bullet with my name on it or look into there crystal ball and tell what is wrong, I would take a guess at this point, I have done all the basics, changed my after shave, I even E-mailed my Ex just encase it was a Karma thing! All I have left is giving up drinking and cursing, but both of those go so well with the problem at this point!

Title: Re: Strange, Help, Motor ATuning alters after G-Code loaded, Restart M3, it's fine!
Post by: BR549 on April 29, 2015, 12:06:16 PM
BY chance are you setting it up in Metric and running in INCHES ??

When loaded what doe the help about say if you push the button ??

(;-) TP
Title: Re: Strange, Help, Motor ATuning alters after G-Code loaded, Restart M3, it's fine!
Post by: hamitduk on April 29, 2015, 01:26:14 PM
The drawings are in Inches, and I have not got it completely back together after the FUBAR of yesterday.  But if it were in MM, the Dial indicator and the DRO would not have matched? Unless it was displaying 1/2mm.

But the after I loaded the G-code the DRO showed .5 and the X moved 12.75", restart M3 and it was .5 to .5 again.

I will post what I have, and the current status once I get it back up, in a few hours

Thanks

Question will M4 Demo Cut, on a Parallel system?
Title: Re: Strange, Help, Motor ATuning alters after G-Code loaded, Restart M3, it's fine!
Post by: BR549 on April 29, 2015, 07:04:07 PM
M4 will cut IF you install the Darwin LPT driver and get it configed. BUT the demo of M4 is very time limited and teh Darwin driver has a demo mode as well.

I cannot tell you what the demo limitations on the Darwin driver is as I do not have a license for it.

(;-) TP