Hello Guest it is April 16, 2024, 02:48:38 AM

Author Topic: Reset = E-stop?  (Read 19542 times)

0 Members and 1 Guest are viewing this topic.

Re: Reset = E-stop?
« Reply #10 on: June 05, 2011, 08:23:48 AM »
Perhaps 1003 is feedhold and not stop?

Offline Hood

*
  •  25,835 25,835
  • Carnoustie, Scotland
    • View Profile
Re: Reset = E-stop?
« Reply #11 on: June 05, 2011, 08:56:20 AM »
1003 I believe is Stop and should really only be used when all motion has stopped, so likely better to use OEM 1001 (feedhold) first and have a
While IsMoving()
Wend

between the two

Hood
Re: Reset = E-stop?
« Reply #12 on: June 05, 2011, 02:13:40 PM »
I found the problem, possibly an error with mach, when issueing 1003 controller goes into e-stop, therefore the only way to retrieve would be to "reset" since issueing 1003 a second time doesn't help. When the button is assigned directly as stop instead of via script then it stops only, doesn't go into estop.

« Last Edit: June 05, 2011, 02:15:47 PM by jrobson »

Offline BR549

*
  •  6,965 6,965
    • View Profile
Re: Reset = E-stop?
« Reply #13 on: June 05, 2011, 02:57:41 PM »
HUM 1003 does not go into reset/estop here when used in a script.

So you want a script that will safely stop the program and then rewind and clear messages??

Hood is correct that you should do a Feedhold/pause and the While ISmoving Wend then issue the stop. Otherewise you can loose position.

I have a script that will do what you want I will look it up and test it.

Just a thought(;-) TP

Offline BR549

*
  •  6,965 6,965
    • View Profile
Re: Reset = E-stop?
« Reply #14 on: June 05, 2011, 03:11:26 PM »
Can you post teh code you tried so I can test it here?

Thanks (;-) TP
Re: Reset = E-stop?
« Reply #15 on: June 05, 2011, 04:29:03 PM »
Don't mind losing position, however, "DoOEMButton(1003)" by itself causes estop to activate, even just that line by itself. Like I said before if I hit the button when it isn't coded and given function stop standard code 3 it works just fine, it stops, doesn't rewind though, but it stops without going into e-stop.

I've tried the code, still didn't work, even if the program is not executing, just by pressing the button with code 1003 causes e-stop to activate.

Re: Reset = E-stop?
« Reply #16 on: June 05, 2011, 04:51:33 PM »
You can see the attached screen.
Re: Reset = E-stop?
« Reply #17 on: June 05, 2011, 04:53:38 PM »
F10 is shortcut for start when in the auto section.

Offline Hood

*
  •  25,835 25,835
  • Carnoustie, Scotland
    • View Profile
Re: Reset = E-stop?
« Reply #18 on: June 05, 2011, 05:29:23 PM »
Do you have servos? Do they have a fault output that you have going to Mach? If yes then that will be why you are getting the E-Stop triggering when you do OEM1003

Hood

Offline BR549

*
  •  6,965 6,965
    • View Profile
Re: Reset = E-stop?
« Reply #19 on: June 05, 2011, 07:20:51 PM »
Just tested the 1003 here and it does not trip a reset here.

(;-) TP