Hello Guest it is May 17, 2024, 09:44:30 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 - Brian Barker

1791
General Mach Discussion / Re: Version R2.0.030 and Z plate problem
« on: December 31, 2006, 01:25:11 PM »
There is a new rev 30 out on the web that should fix the problem. Art did a bit of cleaning to the Is moving and had one line of code in the wrong place.

I will redo the code that you have and post a better one for you :)

Later
Brian

1792
please post the file :)

1793
G-Code, CAD, and CAM discussions / Re: g92 Proper Use Of with M98, M99 ?
« on: December 31, 2006, 09:30:31 AM »
Chip it is very hard to try to follow the path of the something that can change it's zero at will :(

Post an example program and I will see what we can do

Thanks
Brian

1794
General Mach Discussion / Re: Version R2.0.030 and Z plate problem
« on: December 31, 2006, 09:05:24 AM »
Your problem is not the same... you are getting the pos from the Z axis DRO and that is not right. You need to get the position from the Var 2002 because this is telling you where the probe hit. Check out the Wiki, I put some info about this in the Wiki...

Your code should look more like this:
 
CurrentFeed = GetOemDRO(818) 'Get the current feedrate.
PlateThickness = GetUserDRO(1151) 'You could put your z-plate thickness here instead
ProbeFeed = GetUserDRO(1152) 'You could put a probing feedrate here instead.


Code "G90 F" &ProbeFeed

If GetOemLed (825)=0 Then
Code "G4 P5" 'Time to get to the z-plate
Code "G31Z-5 F" &ProbeFeed
While IsMoving()
Wend
Code "G4 P0.25"
While IsMoving()
Wend
ProbePosition = GetVar(2002)
Code "G0 Z" & ProbePosition
While IsMoving()
Wend
Call SetDro (2, PlateThickness)
Code "G4 P0.5" 'Pause for Dro to update.
Code "G0 Z2.0" 'Change the Z retract height here
Code "(Z axis is now zeroed)"
Code "F" & CurrentFeed
Else
Code "(Z-Plate is grounded, check connection and try again)"
Exit Sub
End If

That should help you...

1795
General Mach Discussion / Re: Sound Logic Encoder Interface anyone?
« on: December 31, 2006, 08:55:46 AM »
I could do that but, I would like to start simple and go up from there. Ron needed to have something a bit faster to run with the board that he has... He will mail me back and tell me what more we need to add :) I can't add to much because of how fast I am calling it...

1796
General Mach Discussion / Re: Version R2.0.030 and Z plate problem
« on: December 30, 2006, 10:37:20 PM »
I have sent this thread to Art so he will know about it :)  You may need to put encoders on your system after I get this plugin done for Ron. You set the following error and if there is a problem it will estop the machine. When you restart (From the Estop) the machine it sets the axis to the encoder position ;) 

But we need to get you fixed first...

1797
General Mach Discussion / Re: Sound Logic Encoder Interface anyone?
« on: December 30, 2006, 10:32:58 PM »
Just sent Ron a test build of the plugIn :)
In this rev you can set the Max following error for each axis and if you are over the max error the system will estop. I am thinking that when you reset the system it will set the axis to the encoder position. This would make it so you could just press cycle start and things would be spot on!

1798
General Mach Discussion / Re: Setting different zero.
« on: December 30, 2006, 08:01:11 PM »
If you have fixtures and you would like to keep the Zero's you could use fixture offsets to make this happen. Just type G55 into the MDI line and set it up. Once you do that you will have the location of that fixture (as long as you have home switches) in machine cords,


1799
General Mach Discussion / Re: Version R2.0.030 and Z plate problem
« on: December 30, 2006, 07:57:10 PM »
Could you please test this and tell me if it helps?

CurrentFeed = GetOemDRO(818) 'Get the current feedrate.
PlateThickness = GetUserDRO(1151) 'You could put your z-plate thickness here instead
ProbeFeed = GetUserDRO(1152) 'You could put a probing feedrate here instead.


Code "G90 F" &ProbeFeed

If GetOemLed (825)=0 Then
Code "G4 P5" 'Time to get to the z-plate
Code "G31Z-5 F" &ProbeFeed
While IsMoving()
Wend
Call SetOemDro (802, PlateThickness)
Code "G4 P0.5" 'Pause for Dro to update.
While IsMoving()
Wend
Code "G0 Z2.0" 'Change the Z retract height here
Code "(Z axis is now zeroed)"
Code "F" &CurrentFeed
Else
Code "(Z-Plate is grounded, check connection and try again)"
Exit Sub
End If

1800
VB and the development of wizards / Re: Available serial commands?
« on: December 30, 2006, 05:54:47 PM »
No just that we are done working on new stuff for mach3 and are now working on Quantum. Mach3 is finished other then bug fixes  ;D