Welcome, Guest. Please login or register.
Did you miss your activation email?
May 28, 2012, 12:50:09 PM

Login with username, password and session length
Search:     Advanced search
* Home Help Search Calendar Links Login Register
+  Machsupport Forum
|-+  Mach Discussion
| |-+  VB and the development of wizards
| | |-+  Deactivating Limit switches..
Pages: 1   Go Down
Print
Author Topic: Deactivating Limit switches..  (Read 1231 times)
0 Members and 2 Guests are viewing this topic.
CNC-Steuerung
Active Member

Offline Offline

Posts: 52


View Profile
« on: March 29, 2007, 04: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
Logged
poppabear
S S SYSTEMS, LLC
Global Moderator
*
Offline Offline

Posts: 1,707


Briceville, TN, USA


View Profile WWW
« Reply #1 on: April 05, 2007, 08: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
Logged

Commercial Mach3: Screens (regular and flash), Wizards, Plug-ins, Brains, PLCs, Macros, ATC's, machine build, retrofit and Prototyping
http://sites.google.com/site/volunteerfablab/
CNC-Steuerung
Active Member

Offline Offline

Posts: 52


View Profile
« Reply #2 on: April 05, 2007, 12: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


Logged
poppabear
S S SYSTEMS, LLC
Global Moderator
*
Offline Offline

Posts: 1,707


Briceville, TN, USA


View Profile WWW
« Reply #3 on: April 05, 2007, 01: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.
Logged

Commercial Mach3: Screens (regular and flash), Wizards, Plug-ins, Brains, PLCs, Macros, ATC's, machine build, retrofit and Prototyping
http://sites.google.com/site/volunteerfablab/
Pages: 1   Go Up
Print
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.16 | SMF © 2011, Simple Machines Valid XHTML 1.0! Valid CSS!