Hello Guest it is April 29, 2024, 04:51:50 AM

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 - fixittt

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 »
221
General Mach Discussion / Re: probe input
« on: February 07, 2011, 11:33:50 AM »
if your home switches are normally open then you can wire a couple of them in series and use 1 pin for 2 home switches, then put the probe on the open pin that one of your home switches was on.  say pin 13. 

222
OK, I "THINK" I have the DRO`s setup now.  Just added a DRO to the screen and gave it an OEM code of 1150, 1151 and 1350.  Put numbers in the DRO and clicked on any of the buttons and Z moves.  Trigger the probe, Z continues to go down.

Man, I hate trying to learn something new..........

223
JH, I appreciate you taking the time with us and the questions.......

I have the buttons setup like your screen shot and I get an error while trying to run a button.
I have the 9 buttons setup so far, no dros yet, still trying to wrap my brain around that.  I click on any of them and get an error !!! Z- Tool Probe did not reach target!!! 

You said something about linking parameters numbers to case statements.........  Could I get a little more info on this?  Ohh hell, just up load the screenset LOLOLOLOL  I can rip that apart!  HAHAHHAA

224
I took a look at the link Hood suggested and I love it!  So I downloaded all the buttons and scripting.

Now for a stupid question,

I am trying to setup the vb scripting for each of the buttons.... I dont understand how the vb scripting should be done for each button.  Here is the snippet from the thread......  can someone help me to understand how exactly each button script should be laid out?

Here are the buttons that I used, not the best buttons however, but a starting point if you choose...  Also, if you look at the M1200 Macro, each button is processed via the switch statement below.  This allows ALL the tool probe code to be in 1 file, instead of spread across several.

To use, just add the Macro and a VB Parameter to each of your buttons.

Your Mach3 Button Code might look like this for "X-"  M1200 P6
 

 
    ' Process the selected tool probe button
    buttonId = Param1()
    Select Case buttonId
        ' XYZ Buttons
        Case 1  buttonPosXNegY  ' X+Y-
        Case 2  buttonNegY      ' Y-
        Case 3  buttonNegXNegY  ' X-Y-
        Case 4  buttonPosX      ' X+
        Case 5  buttonNegZ      ' Z-
        Case 6  buttonNegX      ' X-
        Case 7  buttonPosXPosY  ' X+Y+
        Case 8  buttonPosY      ' Y+
        Case 9  buttonNegXPosY  ' X-Y+
       
        ' ID and OD Functions
        Case 10 buttonCircleID  ' C-ID
        Case 11 buttonCircleOD  ' C-OD
    End Select

225
I hate to jump back a few pages, but Im trying to mimic the tool probe setup.  I am not very experienced with screen designer..... I have the buttons setup as buttons, I just dont understand how to mpa each button to the function and how to get the DROs setup and mapped, if someone who has done this can post some screen shots and how to do it with screens 4  I would sooo much appreciate it!

Im new to doing the screens thing so treat me as if I was a 4th grader please LOLOL

226
SmoothStepper USB / Z homeing routine
« on: February 04, 2011, 02:28:13 PM »
I am having an issue with a clients small mill.

When I try and home the Z axis, Z goes up for a bit sometimes it hits the switch, sometimes it does not.  Then it reverses direction and starts going down.  Indefinitely.

If I home Z and manually trigger the switch, it will work.  So first I though of debounce settings.  I got up to 50 in the smooth stepper config and 100 in each of the debounce settings in general config in mach 3.  None of these seem to have any effect.   

Y and X seem to home just fine.  Z axis is the one with the issue.  If I manually push the switch, I get the Z axis home LED light.

Anyone have any ideas?

227
i am soon going to be working on a project where I have to put a digitizing probe in the spindle and find the center of a bore.  Its a 5 axis trunion style machine.  going to put a ring in the 5th axis chuck and I need some help writing a macro in mm that will move x and y to find the center of the ring.  In essence find the center of the 5th axis.  Is this do able?  My thoughts are to move the y until the probe triggers then have Y move in the opposite direction untill it triggers again.  Then move back to center, then in X same routine.  I imagine that this would have to be done a couple of times in a row to find true center.

228
General Mach Discussion / Re: Having an issue with arcs O ring pocket code.
« on: December 10, 2010, 05:57:27 PM »
I will pass that info along to the end user,  Thank you!  I dont know enough about arc toolpath yet. 

229
General Mach Discussion / Re: Having an issue with arcs O ring pocket code.
« on: December 10, 2010, 05:01:52 PM »
That did it!  Thanks!  I dont deal much with arc fitted toolpath with what I do........  THANKS BUNCHES!

230
General Mach Discussion / Having an issue with arcs O ring pocket code.
« on: December 10, 2010, 04:23:33 PM »
We are having an issue with this g code.  It works on a HAAS machine fine.
Problem is, its suppost to cut an o ring grove .5 inchs in diameter.  But its giving us a 1 inch or better pocket.

Any ideas? Problems that you may see?

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 »