Hello Guest it is October 21, 2021, 09:17:16 AM

Author Topic: External homing button  (Read 2652 times)

0 Members and 1 Guest are viewing this topic.

External homing button
« on: November 05, 2011, 02:19:32 PM »
Hi
I used to have a external button to trig "ref all home", but it seem to have been messed up.

Anyone care to look at this script to see if it looks sensible?

If IsActive (input4) Then
DoButton( 24 )
DoButton( 23 )
DoButton( 22 )
DoButton( 25 )

 End If 

   
This is written under "ref all home" button on page one.
Input4 is configuret under ports and pins with the correct input number.

Best reg
Cory
Re: External homing button
« Reply #1 on: November 05, 2011, 02:36:44 PM »
Or any other easier way to do a ref all home on a input pin?????

I have not been doing much cnc or mach stuff in a year or so
Re: External homing button
« Reply #2 on: November 05, 2011, 04:28:54 PM »
If you have access to your keyboard near the machine, you can just press the HOME key.



Don't know if this is what you want but work for me.


Jeff
Re: External homing button
« Reply #3 on: November 05, 2011, 05:27:31 PM »
Hi

i have wired a switch on my control panel for the machine where I have my start,stop and pause cycle.

But Ill use this if i am near the keyboard

C

Offline Hood

*
  •  25,838 25,838
  • Carnoustie, Scotland
    • View Profile
Re: External homing button
« Reply #4 on: November 05, 2011, 06:56:05 PM »
You would need that script in the macropump.
I use Scott Schaefers Mach Mad plugin for things like that as well rather than using the macropump.
Hood
Re: External homing button
« Reply #5 on: November 06, 2011, 09:57:10 AM »
Thanx Hood
I have send money for the Mach Mad  plugin, but havent recieved an installer yet, but solved this problem, by thinking over your answer....I had forgotten to kall the script "macropump"

You would need that script in the macropump.
I use Scott Schaefers Mach Mad plugin for things like that as well rather than using the macropump.

But It will be interesing to see what the plugin can do.
I am thinking of getting one of these Pokeys usb 55 cards for more external I/O´s.

C
Hood