Hello Guest it is April 09, 2020, 05:19:53 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 - Benjammann

Pages: « 1 2 3
21
I’ve followed your suggestion and tried all morning to edit the script in every possible way I can imagine to get ride of the ground error. Nothing yet. Any other things I can try? The wiring seems to be good when I test the connection.

22
I finally got a triple edge finder and wired it up (somehow) correctly on the first try. (I think)

Then I got the hoss screenset which replaces the tool offset screen with the automated edge finder buttons.

When I try to use one of the routines, the Z axis moves down and touches the plate, then seems to back off a bit, then immediately throws an error that "plate is grounded" and moves into position to do the X edge find and stops.

I can make it go through the whole routine by simulating a Z by touching the plate to the mill then quickly taking it away. Then the error will not be produced and it runs the X Y edge finds.

I'm on a Taig mill using software limits.

It just seems to be doing some sort of double touch where it checks to see if it's grounded and it's still grounded because it just touched off and hasn't cleared out yet.

Any ideas?

Here's the code for the button:

Code: [Select]
Rem Probe Left

XNew = GetDro(0) - 3 'probe to current position - 3 inches
Code "G31 X" &XNew
While IsMoving() 'wait for prob move to complete
Wend
XNew = GetVar(2000) 'read the touch point

Rem move back To the hit point incase there was an overshoot

Code "G90 G0 Z.500"
Code "G90 G0 X" &XNew
Code "G91 X-" &CurrentToolDiameter/2  'moves the probe half the tool diameter to center on edge
       

While IsMoving ()
Wend
        Call SetDro (0,0.000)
        Code "G4 P0.25"
        Code "G91 G0 X-.200 Y1.0"
        Code "G90 G0 Z-.200"
Code "F" &CurrentFeed 'restore original feed rate
End If

Rem VBScript For probing In the Y- direction

If GetOemLed (825) <> 0 Then 'Check to see if the probe is already grounded or faulty
Call ProbeGrounded()
Exit Sub
Else
Code "G4 P1" 'Pause 1 second to give time to position probe plate

CurrentFeed = GetOemDRO(818) 'Get the current feedrate to return to later
Code "F4" 'Slow feedrate to 4 ipm

Rem Probe up

YNew = GetDro(1) - 3 'move to current y position + 3 inches
Code "G31 Y" &YNew
While IsMoving() 'wait for the move to finish
Wend
YNew = GetVar(2001) 'read the touch point

Rem move back To the hit point incase there was an overshoot

        Code "G90 G0 Z.500"
Code "G90 G0 Y" &YNew
        Code "G91 Y-" &CurrentToolDiameter/2  'moves the probe half the tool diameter to center on edge

While IsMoving ()
Wend
        Call SetDro (1,0.000)
        Code "G4 P0.25"
        Code "G90 G0 X0.0"
Code "F" &CurrentFeed 'restore original feed rate
        Code "(X, Y, and Z axis' are now zeroed)"
        Call ReturnG90G91State()
        Exit Sub
End If

Sub ProbeGrounded()
Code "(Probe plate is grounded, check connection and try again)"
Call ReturnG90G91State()
End Sub

Sub ReturnG90G91State()
If CurrentAbsInc = 0 Then 'if G91 was in effect before then return to it
Code "G91"
End If
If CurrentGMode = 0 Then 'if G0 was in effect before then return to it
Code "G0"
End If
End Sub




23
Thanks! I’ll try this next time I get out there. So even though I hear or see no issues, Z could still be losing steps?  2” worth of steps?

24
The DRO reads .6” but it’s actually more like 2”

Also sometimes when I hit start I see a flicker of what might even be a value of the x or y axis n the z DRO. Could be my imagination. But for sure, somehow, values are getting added to Z after I set it to zero and cycle start.

25
I'm on a Taig Micromill running a custom fusion 360 post processor. When I zero my Z and then hit cycle start, the processor has the Z go up and hit the soft limits for a tool change, then asks to resume, which it usually does so by going down and hovering .6" above the part, then waits for me to cycle start. I am on the latest version of Mach 3 (I hear that an older version works better?) So like 50 percent of the time when the tool goes down to it's .06" hover, it will either stop 2" above the part, seemingly having reset itself to a new Z, or it will try to bury itself into the work.

This issue seems to occur more after I have been working for a while, loading a few different programs, having Mach open for an extended time. If I restart mach, or sometimes the whole PC the Z issue clears up. Also, sometimes after a while when I try to jog my pendant wheel in .001" increments all motion will lock up.

Any ideas? Should I go to the older version of Mach 3?  Also, can I do that if my software is licenced under the person I bought the system from?

Thanks
Ben

Pages: « 1 2 3