Hello
Guest
it is
May 13, 2025, 05:36:18 AM
Guest
Login
Register
Menu
Home
Help
Search
Login
Register
YouTube
Machsupport Forum
/
Mach Discussion
/
General Mach Discussion
/
Reset = E-stop?
« previous
next »
Print
Pages:
«
1
2
3
4
5
6
Go Down
Author
Topic: Reset = E-stop? (Read 33639 times)
0 Members and 1 Guest are viewing this topic.
jrobson
78
Re: Reset = E-stop?
«
Reply #50 on:
June 06, 2011, 05:40:23 AM »
What about an IF statement that checks if E-Stop is activated and if it is then resets it with 1021?
«
Last Edit: June 06, 2011, 05:42:15 AM by jrobson
»
Logged
jrobson
78
Re: Reset = E-stop?
«
Reply #51 on:
June 06, 2011, 06:03:30 AM »
Got it working if anyone wants a "reset" button here is the code:
DoOEMButton(1003)
DoOEMButton(172)
DoOEMButton(1002)
Sleep 10
If(GetLED(0))Then
DoOEMButton(1021)
end if
Thank you guys for helping out, much appreciated!
«
Last Edit: June 06, 2011, 06:08:38 AM by jrobson
»
Logged
Hood
25,835
Carnoustie, Scotland
Re: Reset = E-stop?
«
Reply #52 on:
June 06, 2011, 06:25:19 AM »
Good to see you got it the way you want.
Hood
Logged
jrobson
78
Re: Reset = E-stop?
«
Reply #53 on:
June 06, 2011, 06:45:38 AM »
I hope it works with a hardware e-stop though, but I'll test that when the console is done. It should release the e-stop then immediately activate it again... in theory
which is exactly how the reset normally works.
Logged
Hood
25,835
Carnoustie, Scotland
Re: Reset = E-stop?
«
Reply #54 on:
June 06, 2011, 06:50:56 AM »
Think I would have the macropump monitoring your E-Stop input and Machs Reset LED and if in the combination you want then untwisting the E-Stop would automatically take Mach out of Reset. Or at least I think that may be what you are trying to achieve.
Hood
Logged
jrobson
78
Re: Reset = E-stop?
«
Reply #55 on:
June 06, 2011, 07:03:32 AM »
Not really, untwisting may leave it in e-stop, as long as it resets after just fine, I just don't want it to reset while the e-stop is pressed in.
Logged
Hood
25,835
Carnoustie, Scotland
Re: Reset = E-stop?
«
Reply #56 on:
June 06, 2011, 07:08:18 AM »
Ok then should work fine the way you have it.
Hood
Logged
Print
Pages:
«
1
2
3
4
5
6
Go Up
« previous
next »