Welcome, Guest. Please login or register.
Did you miss your activation email?
May 28, 2012, 01:53:38 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
| | |-+  Filpping the direction of the x-axis all by itself
Pages: 1 2 »   Go Down
Print
Author Topic: Filpping the direction of the x-axis all by itself  (Read 594 times)
0 Members and 1 Guest are viewing this topic.
miket161
Active Member

Offline Offline

Posts: 14


View Profile
« on: July 16, 2011, 06: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!
Logged
BR549
Active Member

Offline Offline

Posts: 2,557


View Profile
« Reply #1 on: July 16, 2011, 09: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
Logged
Tweakie.CNC
Active Member

Offline Offline

Posts: 3,263


Super Kitty.


View Profile WWW
« Reply #2 on: July 17, 2011, 01: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.


Logged

Success consists of going from failure to failure without loss of enthusiasm.  Winston Churchill.
budman68
Master of the Custodial Arts, or better known as:
Global Moderator
*
Offline Offline

Posts: 1,994



View Profile
« Reply #3 on: July 17, 2011, 05:16:59 AM »

May I ask what version of Mach 3 you're using?

Thank you,
Dave
Logged

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

Dave->    Wink
miket161
Active Member

Offline Offline

Posts: 14


View Profile
« Reply #4 on: July 17, 2011, 09: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, 09:09:26 AM by miket161 » Logged
Hood
Active Member

Online Online

Posts: 17,366


Carnoustie, Scotland


View Profile
« Reply #5 on: July 17, 2011, 09: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
Logged
budman68
Master of the Custodial Arts, or better known as:
Global Moderator
*
Offline Offline

Posts: 1,994



View Profile
« Reply #6 on: July 17, 2011, 10: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  Wink

Dave
Logged

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

Dave->    Wink
miket161
Active Member

Offline Offline

Posts: 14


View Profile
« Reply #7 on: July 17, 2011, 09: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.
Logged
Hood
Active Member

Online Online

Posts: 17,366


Carnoustie, Scotland


View Profile
« Reply #8 on: July 18, 2011, 02: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
Logged
budman68
Master of the Custodial Arts, or better known as:
Global Moderator
*
Offline Offline

Posts: 1,994



View Profile
« Reply #9 on: July 18, 2011, 05: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
Logged

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

Dave->    Wink
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!