Hello Guest it is November 21, 2019, 07:21:50 PM

Author Topic: Scale involuntarily flipping between negative and positive while running.  (Read 4277 times)

0 Members and 1 Guest are viewing this topic.

Randomly while running the scale for my x axis, by it self, changes form 1 to -1. Mirroring my project mid mill. Has anyone seen this, can the scale be locked or is something in the gcode changing it? Thanks for any help.
Re: Scale involuntarily flipping between negative and positive while running.
« Reply #1 on: September 29, 2011, 04:53:41 PM »
Look for G51 and G50 in your code.
If you have X scaled, G50 will reset it.
G51 X -1 will set the scale.
Maybe ?
Might post your code here too.
Others will surely help.
« Last Edit: September 29, 2011, 04:55:30 PM by Overloaded »
Re: Scale involuntarily flipping between negative and positive while running.
« Reply #2 on: September 29, 2011, 09:18:38 PM »
I see this occasionally too.

I'm running the latest, stable build of Mach3 with a Geckodrive G540 BoB.

I've attached my latest project (and my .xml code...which reads like Greek to me).  I can find no instance of G51 or even begin to understand why my scale is flipping +/- during operation.

Thoughts?

Thanks,

Dusty
Re: Scale involuntarily flipping between negative and positive while running.
« Reply #3 on: September 29, 2011, 09:24:58 PM »
G00 G49 G40.1 G17 G80 G50 G90
G20
(MOP NAME: top of wheel)
M6 T1
M03 S15000
G00 Z0.6441
X4.1766 Y-0.3933
G01 Z0.0236  F30
Z0.0000  F50
X-0.3938
X-0.3937 Y-0.3835
X4.1766
Y-0.3736
X-0.3938
//all x, y, and z from this point on with : M5 M9
M30: at the end

3.043.0229 (lockdown), occurs with both my probitix 3 axis sidesteps and my 5 Axis TB6560(only using 3 axis).
« Last Edit: September 29, 2011, 09:26:42 PM by j72988 »

Offline Hood

*
  •  25,856 25,856
  • Carnoustie, Scotland
    • View Profile
Re: Scale involuntarily flipping between negative and positive while running.
« Reply #4 on: September 30, 2011, 02:40:02 AM »
j72988
can you attach your xml please.
Hood

Offline Tweakie.CNC

*
  • *
  •  8,008 8,008
  • Super Kitty
    • View Profile
    • Tweakie.CNC
Re: Scale involuntarily flipping between negative and positive while running.
« Reply #5 on: September 30, 2011, 03:41:35 AM »
This has been discussed in another thread, which I can't find now I want it but this problem crept in with the latest or last but one Mach revision and sometimes occurs when an error in the GCode is encountered. It only affects the X Axis scale DRO and can be triggered by an unrecognised GCode or multiple instances of the same code such as the M10 / M11 combination.

Tweakie.
Success consists of going from failure to failure without loss of enthusiasm.  Winston Churchill.

Offline Tweakie.CNC

*
  • *
  •  8,008 8,008
  • Super Kitty
    • View Profile
    • Tweakie.CNC
Re: Scale involuntarily flipping between negative and positive while running.
« Reply #6 on: September 30, 2011, 11:56:32 AM »
Jasura,

If you could possibly post your .xml  it may help us get to resolving this problem.

Thanks.

Tweakie.
Success consists of going from failure to failure without loss of enthusiasm.  Winston Churchill.
Re: Scale involuntarily flipping between negative and positive while running.
« Reply #7 on: September 30, 2011, 12:11:26 PM »
And, for the sake of clarity, my version of Mach3 is:

R3.043.022

@ Tweakie & Hood: thanks for looking into this for us.

Regards,

Dusty

Offline Hood

*
  •  25,856 25,856
  • Carnoustie, Scotland
    • View Profile
Well doesnt look like jasura is going to come back and post his xml which is a shame as I can only say with approx 99.9999% certainty that his issue is the same as Dustys. In other words this reversal is caused by using a pirate version of Mach.
Hood

Offline stirling

*
  • *
  •  2,188 2,188
  • UK
    • View Profile
    • www.razordance.co.uk
LOL - I reckon your 4 digits of precision is a tad on the conservative side...

Ian