Welcome, Guest. Please login or register.
Did you miss your activation email?
May 28, 2012, 08:20:33 AM

Login with username, password and session length
Search:     Advanced search
* Home Help Search Calendar Links Login Register
+  Machsupport Forum
|-+  Mach Discussion
| |-+  General Mach Discussion
| | |-+  Scale involuntarily flipping between negative and positive while running.
Pages: 1 2 »   Go Down
Print
Author Topic: Scale involuntarily flipping between negative and positive while running.  (Read 526 times)
0 Members and 1 Guest are viewing this topic.
jasura
Active Member

Offline Offline

Posts: 2


View Profile
« on: September 29, 2011, 02:50:16 PM »

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.
Logged
Overloaded
Global Moderator
*
Offline Offline

Posts: 3,073



View Profile
« Reply #1 on: September 29, 2011, 03: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, 03:55:30 PM by Overloaded » Logged

"I haven't failed. I've just found 10,000 ways that won't work."         Edison

"You cannot help men permanently by doing for them what they could and should do for themselves."
Abe Lincoln
Dusty_in_the_Shop
Active Member

Offline Offline

Posts: 2


View Profile
« Reply #2 on: September 29, 2011, 08: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

* 540B_dusty.xml (97.46 KB - downloaded 23 times.)
* dust_shoe_top_only.txt (799.88 KB - downloaded 18 times.)
Logged
jasura
Active Member

Offline Offline

Posts: 2


View Profile
« Reply #3 on: September 29, 2011, 08: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, 08:26:42 PM by j72988 » Logged
Hood
Active Member

Offline Offline

Posts: 17,368


Carnoustie, Scotland


View Profile
« Reply #4 on: September 30, 2011, 01:40:02 AM »

j72988
can you attach your xml please.
Hood
Logged
Tweakie.CNC
Active Member

Offline Offline

Posts: 3,263


Super Kitty.


View Profile WWW
« Reply #5 on: September 30, 2011, 02: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.
Logged

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

Offline Offline

Posts: 3,263


Super Kitty.


View Profile WWW
« Reply #6 on: September 30, 2011, 10:56:32 AM »

Jasura,

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

Thanks.

Tweakie.
Logged

Success consists of going from failure to failure without loss of enthusiasm.  Winston Churchill.
Dusty_in_the_Shop
Active Member

Offline Offline

Posts: 2


View Profile
« Reply #7 on: September 30, 2011, 11:11:26 AM »

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
Logged
Hood
Active Member

Offline Offline

Posts: 17,368


Carnoustie, Scotland


View Profile
« Reply #8 on: October 01, 2011, 02:40:05 AM »

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
Logged
stirling
Global Moderator
*
Online Online

Posts: 1,190

UK


View Profile WWW
« Reply #9 on: October 01, 2011, 02:55:09 AM »

LOL - I reckon your 4 digits of precision is a tad on the conservative side...

Ian
Logged
Pages: 1 2 »   Go Up
Print
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.16 | SMF © 2011, Simple Machines Valid XHTML 1.0! Valid CSS!