Machsupport Forum

Third party software and hardware support forums. => Mach3 and G-Rex => Topic started by: 01sporty on January 01, 2007, 05:38:50 PM

Title: Won't move off limit switch.
Post by: 01sporty on January 01, 2007, 05:38:50 PM
My limit switches are working fine insofar as they stop the appropriate axis from moving.  But, once I'm on  a switch, it won't let me reset and move off the switch.  It just keeps beep beeping at me.  Everything looks fine on the diagnostic screen.  That is, the output 1 led goes out and the limit led's come on when the switch is triggered, it just won't reset in order to get off the switch.

Suggestions Please???????
Title: Re: Won't move off limit switch.
Post by: Chaoticone on January 01, 2007, 06:32:35 PM
Can you post your xml? I'm a little confused. :P It doesn't take much.

Brett
Title: Re: Won't move off limit switch.
Post by: Chaoticone on January 01, 2007, 06:40:19 PM
I'm sorry Sporty,
    I just noticed the board you had your post in. Are you running a G-Rex?

Brett
Title: Re: Won't move off limit switch.
Post by: 01sporty on January 01, 2007, 08:27:26 PM
Yes, I am running a G-Rex.  Or, at least I'm trying to.  It has a lot of idiosyncrasies, like this limit switch thing.  I've attached the xml file.

I just ran into another issue.  I wrote this bit of code I call m109 to turn an air cylinder on.
ActivateSignal(OUTPUT9)
It worked fine yesterday and today it triggers a reset.   It's exactly like m107 and m108 which still work fine.  I need a break.

While you're looking, how about taking a peek at this snippet of code.
While IsActive(Input2)
ActivateSignal(OUTPUT8)
Wend
While IsActive(Input3)
DeActivateSignal(OUTPUT8)
Wend
This probably belongs in another section but why start another thread?  This code cycles an air cylinder.  It works fine when run it alone but when it's put in a program, Mach3 won't load.  It gets to the m110 and just stops loading.  Any idea on how this can be fixed?

Any and all suggestions will be greatly appreciated,
Thanks,
Walt
Title: Re: Won't move off limit switch.
Post by: Chaoticone on January 01, 2007, 08:57:55 PM
I'm sorry Walt, I know very little of the G-Rex and even less about code. :(  Someone else will help I'm sure.

Brett