Hello Guest it is April 25, 2024, 03:15:48 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 - thespindoctor

Pages: « 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 »
271
General Mach Discussion / Re: digitize led on OemLed code
« on: September 10, 2011, 11:44:52 AM »
Ok, now I am really frustrated!  The GetOEMLED() function does not function.  I can see on the Diag screen that
the Home led lights up so I put a led on my screen to probe the grinding wheel.  I wrote a program to move the
wheel until the switch trips.  The switch trips and the led illuminates but GetOEMLED(839) always returns a zero
or false. It does not matter where I use GetOEMLED() or how I use it - it is not working.  This must be a bug
of some kind where Mach is not communicating with this function.  GetOEMDRO() is working however.  I have
tested printing GetOEMLED(389) in loops with variables substituted and defined as integers etc and never can
get anything but zero.  The switch is set as Home A and the Diag screen Home A led is set to OEM 839.  Everything
looks correct except the basic function not working.  Any ideas?  Is there a way to reinstall or reactivate basic?
My program is something like this and GetOEMLED(839) is always false even after the switch trips and the diag led
is on.  It should go to true when the switch trips?

'output file opened to #1
Yval=.001
for i=1 to 100
code "G1 Y-" & Yval & "F1" 'moves toward switch at .001 increments
print #1, Yval, GetOEMLED(839) ' writes y position and led condition to file
Yval=Yval+.001
next i

272
General Mach Discussion / Re: digitize led on OemLed code
« on: September 10, 2011, 05:27:53 AM »
Sorry, I am trying to use the switch to touch off on a grinding wheel to get a tool offset.

273
General Mach Discussion / Re: digitize led on OemLed code
« on: September 09, 2011, 10:11:29 PM »
thanks! i will try again but i don't think it works

274
General Mach Discussion / digitize led on OemLed code
« on: September 09, 2011, 08:05:29 PM »
I have a limit switch connected to my breakout board A axis home on port 1 pin 15 which is set to be a probe input in ports and pins in Mach.  When I trip the switch, the digitize led turns green on the Diagnostics page as it should.  I need to be able to recognize when the switch is tripped.  I have tried several GetOEMLED codes including 855, 852 and no joy.  What would be the correct one? Do I need the 60000 series codes now?

Thanks

275
General Mach Discussion / Re: homing for probe
« on: August 18, 2011, 08:27:22 PM »
I just realized that the way to solve the problem might be to position the wheel near the diamond and then
manually advancing the diamond until it touches the wheel and dressing the wheel and calling that zero and
offsetting from there but a switch would be easier...

276
General Mach Discussion / Re: homing for probe
« on: August 18, 2011, 08:10:06 PM »
I will have to figure out how to set up a probe input...  thanks

277
General Mach Discussion / Re: homing for probe
« on: August 18, 2011, 01:29:47 PM »
Thanks guys, I did figure out the lead screw calculations and it works great now using the 25.4 conversion.

I only need to reset zero rather than come up with the actual radius of the wheel.  It seems that the switch has to be accurate but the axis zeroing process uses the same type switch and that has to be accurate as well. 

How do I do a refhome axis routine for that axis.  It has to be done as a separate command and the axis must move in the opposite direction to the normal
homing routing that I use to ref axes.  Thanks

278
General Mach Discussion / homing for probe
« on: August 17, 2011, 05:30:45 PM »
How do I set up a limit switch to use to zero a grinding wheel?  I have set up a
limit switch onto which I want to move a grinding wheel to identify the size of the wheel.
So I would move the grinding wheel into position with the midline of the wheel aligned
with the limit switch and then move the wheel slowly toward the switch until it opened
and back it off slightly just like the axes do when they zero.  Then I can use the position
information to know where the edge of the wheel is as it gets ground away over time.
I assume there is axis zeroing code somewhere that I can easily adapt?

Also, I have mm lead screws and cant figure out how to set up these properly.  Do I put
mm in native units and figure 5mm per rotation?

Thanks

279
General Mach Discussion / Re: Rutex and Mach3 problem
« on: February 04, 2009, 05:24:09 PM »
Radioactive,

I did not get the Rutex to work and returned them but did have good luck with the Skyko Pixie board that is no longer being made.  I think Rutex is back making theirs but I could never get it to work.  Good luck.

280
General Mach Discussion / Re: Thanks Chip!
« on: September 22, 2008, 06:43:26 AM »
Ben,

As Hood suggests, you need to connect to the serial port on your computer.  It should be then possible to run the tuning program.  Are you using the tuning program?

Keith

Pages: « 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 »