Hello Guest it is March 28, 2024, 04:25:18 AM

Author Topic: Filpping the direction of the x-axis all by itself  (Read 7707 times)

0 Members and 1 Guest are viewing this topic.

Filpping the direction of the x-axis all by itself
« on: July 16, 2011, 07:25:44 PM »
About once every half an hour to an hour the program reverses the direction of my X axis.

The way I know that it has happened is on the main screen, the yellow light flashes on the "Scale" for the X Axis, and the number switches from +1.0000
to -1.000.

The only way I have found to fix it is to shut down and restart the program. This is really slowing things down for me.

There seems to be no rhyme nor reason when it will happen. I haven't been making config changes.



Any suggestions?

Thanks!

Offline BR549

*
  •  6,965 6,965
    • View Profile
Re: Filpping the direction of the x-axis all by itself
« Reply #1 on: July 16, 2011, 10:33:13 PM »
Yep I have seen it thappen many times , something corrupts the XML and you have to shut down Mach and reload to fix it. Sometimes you will see an ODD string of charectors in the scale dro.

There is a long list that needs to be fixed, (;-)

(;-) TP

Offline Tweakie.CNC

*
  • *
  •  9,196 9,196
  • Super Kitty
    • View Profile
Re: Filpping the direction of the x-axis all by itself
« Reply #2 on: July 17, 2011, 02:17:59 AM »
It is something that has crept in during the last or last but one revision and the X Axis Scale DRO flips from +1.000 to -1.0000 when it encounters a minor error in the GCode.
For the time being all you can do is check your GCode for a bad instruction, possibly an M Code that is not on the approved list.

Tweakie.


PEACE

Offline budman68

*
  • *
  •  2,352 2,352
    • View Profile
Re: Filpping the direction of the x-axis all by itself
« Reply #3 on: July 17, 2011, 06:16:59 AM »
May I ask what version of Mach 3 you're using?

Thank you,
Dave
----------------------------------------------------------------------
Just because I'm a Global Moderator, don't assume that I know anything !

Dave->    ;)
Re: Filpping the direction of the x-axis all by itself
« Reply #4 on: July 17, 2011, 10:05:55 AM »
It's version R3.043.022 that is current on your site.

It doesn't always happen on some bad code. I don't always notice exactly when it happens, but I'll try
to make notes on what I was doing when it does.
« Last Edit: July 17, 2011, 10:09:26 AM by miket161 »

Offline Hood

*
  •  25,835 25,835
  • Carnoustie, Scotland
    • View Profile
Re: Filpping the direction of the x-axis all by itself
« Reply #5 on: July 17, 2011, 10:46:18 AM »
Can you attach your xml and some code that it happens with, will try to see if I can get it to do the same and maybe manage to work out why.
Hood

Offline budman68

*
  • *
  •  2,352 2,352
    • View Profile
Re: Filpping the direction of the x-axis all by itself
« Reply #6 on: July 17, 2011, 11:13:48 AM »
It's version R3.043.022 that is current on your site.

It doesn't always happen on some bad code. I don't always notice exactly when it happens, but I'll try
to make notes on what I was doing when it does.

Thanks for that, and just a note, it's not "my site", I just help with cleaning up the "junk" around here when I can  ;)

Dave
----------------------------------------------------------------------
Just because I'm a Global Moderator, don't assume that I know anything !

Dave->    ;)
Re: Filpping the direction of the x-axis all by itself
« Reply #7 on: July 17, 2011, 10:25:22 PM »
Can you attach your xml and some code that it happens with, will try to see if I can get it to do the same and maybe manage to work out why.
Hood

I'm new to this so I'm not sure where to find the XML code.

Also it will do this with no g-code loaded in. I am just jogging around checking things out and it will happen.

Offline Hood

*
  •  25,835 25,835
  • Carnoustie, Scotland
    • View Profile
Re: Filpping the direction of the x-axis all by itself
« Reply #8 on: July 18, 2011, 03:53:12 AM »
The xml is in your main Mach 3 folder on your drive and will have the name of the profile you use. If you open Mach and look at the lower right you will see the name of the profile. Look for a file with that name and a xml extension. To attach to the forum use the additional options button but you will likely have to copy and rename the xml first as the forum only accepts a file name once, so maybe rename to miket161.xml

Hood

Offline budman68

*
  • *
  •  2,352 2,352
    • View Profile
Re: Filpping the direction of the x-axis all by itself
« Reply #9 on: July 18, 2011, 06:14:36 AM »
If it is just one axis, try changinging the cables with one of the other axis, do an "air cut" a few times, and see if the X still does it. If it doesn't, it could be a wiring flaw.

I had this happen when building a system and it turned out it was 2 of the direction wires slightly touching each other.

Dave
----------------------------------------------------------------------
Just because I'm a Global Moderator, don't assume that I know anything !

Dave->    ;)