Hello Guest it is April 28, 2024, 03:24:34 PM

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - SailFl

Pages: « 1 2 3 4 5 6 7 8
71
I am not sure I am using the right code to check that the spindle is on or that cycle start (gcode running) is correct.  When I test on my computer it works but when I test on my CNC machiine the spindle works but the cycle start allows the macro to run.  Am I using the wrong code or what might be happening or is there a better way to do this.  What I am trying to accomplish is that if the spindle is running or gcode is running, I do not want to allow a macro to run.

Code:

' Check to see if Cycle Start or Spindle is active
' If active then exit macro.
If GetOEMLED(11) Or GetOEMLED(804) Then

   If GetOEMLED(11) Then
       Code "(Spindle Active - Zero Touch Plate Macro Aborted)"
   End If
   
   If GetOEMLED(804) Then
       Code "(Cycle Start Active - Zero Touch Plate Macro Aborted)"
   End If
   
Else


Thanks for input 

72
General Mach Discussion / Re: Auto Tool zero. Which Input etc. do I Use?
« on: January 18, 2009, 02:21:10 PM »
Greg,

That was my problem.  I did not have the correct Input set up for Probe in Ports and Pins.  Once I fixed that the touch plate worked great.  I had to do a little adjusting to the height.

I have attached a pic of my plate.  I currently have an alligator clip that attaches to the bare wire that is above the LED.  I will most like attach that to the red wire and cut off the bare wire and the black one.

Thanks for your help.

73
General Mach Discussion / Re: Auto Tool zero. Which Input etc. do I Use?
« on: January 14, 2009, 05:17:58 PM »
Greg,

Thanks, I will try that and get back with you.


74
General Mach Discussion / Re: Auto Tool zero. Which Input etc. do I Use?
« on: January 14, 2009, 08:51:04 AM »
This may not be the correct place and there may be a thread that address my problem but I can not get the Auto Tool Zero Touch Plate to work.

This is my set up.

I am not using any screen in Mach.  I have added an LED to my touch plate.  I have 2.5 volts to power things.

I am using the code that is at the top of the thread.  Before I run the macro from my Shuttle Pro, I touch the plate to the router or bit and the LED lights and I can see on the Diagnostic page that a complete circuit has been made.

When I run the macro, the router is driven through the plate and wants to continue.  It does not stop. 

What am I doing wrong or what do I need to change.  it would seem to me that I should be able to hold the plate in the air and once the router has touched the plate, it would stop driving downwards and set the Z to zero and move upward to stop.

Help please.  If you need additonal information, let me know.

Thanks
 

75
Is there some documentation that explains Execute Button Script through brain?  I personally find the yahoo forum very hard to use. So I can not follow the discussion over there.

Thanks

Pages: « 1 2 3 4 5 6 7 8