Hello Guest it is April 23, 2024, 03:50:46 AM

Author Topic: Deactivating Limit switches..  (Read 4497 times)

0 Members and 1 Guest are viewing this topic.

Deactivating Limit switches..
« on: March 29, 2007, 05:04:04 PM »
Hi Guys,

is it possible to de/activate the limit switches with a VB-function?
Ive problems with special homing with very low speed.
If the initiator is reached the output state toggles the whole time so
that a limit switch trigger occurs...
If I could disable it for that time I would jog to a safe distance and
enable the limit switches....

Thanks for any hints,

Best regards from Germany,

Wolfram

Offline poppabear

*
  • *
  •  2,235 2,235
  • Briceville, TN, USA
    • View Profile
Re: Deactivating Limit switches..
« Reply #1 on: April 05, 2007, 09:22:45 AM »
Well since no one has answered, you can try this, you could use one of these 2 functions to do what you want,

DoOEMButton(150)     ' This will "Press" the manual limit overide function
DoOEMButton(149)     ' This will "Press" the Auto limit overide function

You could set up the above with Reset LED and Limit Led's to be on and if so, then it auto overides, (by pressing the reset for you vial vb). Perhaps in a Macro pump for constant monortoring.

Or you could proactivly, before you activity, his the "149", that will auto overide the limit (basically shut it off so it wont estop), then Untoggle it after the activity finishishes. (The activate, and deactivate could all be tied into the Activity, your wanting it to cut out for).  You could even use "SetTimer(0)" in vb, and use that as a Timeout function if neccessary.

Scott


Scott
fun times
Re: Deactivating Limit switches..
« Reply #2 on: April 05, 2007, 01:09:05 PM »
Thanks Scott,

but this doesnt solve my problem because I lost my reference position if a limit switch triggerd
while a very slow homing...

Wolfram


Offline poppabear

*
  • *
  •  2,235 2,235
  • Briceville, TN, USA
    • View Profile
Re: Deactivating Limit switches..
« Reply #3 on: April 05, 2007, 02:08:31 PM »
The "Auto Limit" overide, allows Mach to ignore tripped limits........

Perhaps you can explain what is your wanting to do, since I am not sure the sequence of timing of events need to be.
fun times