Welcome, Guest. Please login or register.
Did you miss your activation email?
May 26, 2012, 05:18:57 PM

Login with username, password and session length
Search:     Advanced search
* Home Help Search Calendar Links Login Register
+  Machsupport Forum
|-+  Mach Discussion
| |-+  General Mach Discussion
| | |-+  Home Switch Output Signal
Pages: 1   Go Down
Print
Author Topic: Home Switch Output Signal  (Read 345 times)
0 Members and 2 Guests are viewing this topic.
Chaps
Active Member

Offline Offline

Posts: 11


View Profile
« on: August 03, 2010, 09:57:09 AM »

I have Mach3 running a 24x36 woodworking table.  My Limit and Home switches work great.  However, I have an external device that I need control ONLY when Mach 3 is in the homing mode.  I want to retain the funciton of the limit switches as is.  What I need to do is to generate a signal on one of the output lines to send to my device when I request to HOME any or all of the axies.  When "homing" is complete the output signal should return to  normal state.

This appears to be more of a software issue than hardware issue.  It would appear that in the subroutine that is invoked when I click the mouse the software should generate an logic level HIGH on one of the outputs.  When the routine is completed, the output is reset to LOW.

Does anyone have any suggestions for me?Huh Huh

   
Logged
Hood
Active Member

Online Online

Posts: 17,356


Carnoustie, Scotland


View Profile
« Reply #1 on: August 03, 2010, 10:37:12 AM »

Edit the Ref All button code, for example if you want to switch OutPut 1 then it would be similar to this that you would need in the button

ActivateSignal(OutPut1)
DoButton( 24 )
DoButton( 23 )
DoButton( 22 )
DoButton( 25 )
While IsMoving()
Sleep(10)
Wend
DeActivateSignal(OutPut1)

Hood
Logged
Chaps
Active Member

Offline Offline

Posts: 11


View Profile
« Reply #2 on: August 03, 2010, 11:29:20 PM »

 ;DThank you.  I will try this  and let you know.

Logged
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!