Hello Guest it is April 19, 2024, 04:34:21 AM

Author Topic: Won't move off limit switch.  (Read 3626 times)

0 Members and 1 Guest are viewing this topic.

Won't move off limit switch.
« 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???????

Offline Chaoticone

*
  • *
  •  5,624 5,624
  • Precision Chaos
    • View Profile
Re: Won't move off limit switch.
« Reply #1 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
;D If you could see the things I have in my head, you would be laughing too. ;D

My guard dog is not what you need to worry about!

Offline Chaoticone

*
  • *
  •  5,624 5,624
  • Precision Chaos
    • View Profile
Re: Won't move off limit switch.
« Reply #2 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
;D If you could see the things I have in my head, you would be laughing too. ;D

My guard dog is not what you need to worry about!
Re: Won't move off limit switch.
« Reply #3 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

Offline Chaoticone

*
  • *
  •  5,624 5,624
  • Precision Chaos
    • View Profile
Re: Won't move off limit switch.
« Reply #4 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
;D If you could see the things I have in my head, you would be laughing too. ;D

My guard dog is not what you need to worry about!