Hello Guest it is June 03, 2024, 10:28:52 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 - Graham Waterworth

1041
General Mach Discussion / Re: changing Machine zero
« on: December 27, 2011, 12:54:41 PM »
Have you got a tool offset set, is there a G43 H1 of something like in the program.

Graham

1042
You will need to add the 5" to the formula in the sub routine, add another #nnn to do this.

Graham

1043
General Mach Discussion / Re: gcode for "home"
« on: December 19, 2011, 12:06:06 PM »
Or you can search for home with G28.1 X0 Y0 Z0

Graham

1044
General Mach Discussion / Re: Lathe Turret Macro
« on: December 19, 2011, 10:51:12 AM »
The tool change routine would look something like this :-

Dim new_tool As Integer
Dim old_tool As Integer
Dim move_a As Integer
Dim a_angle As Integer

new_tool=GetSelectedTool()
old_tool=GetCurrentTool()
a_angle=45

If new_tool>0 And new_tool <9 Then
  If old_tool <> new_tool Then
    move_a = 8 - old_tool + new_tool
    move_a = move_a Mod 8
    move_a = move_a * a_angle
    ActivateSignal(OutPut7)
    Sleep 500
    Code "G00 G91 A" & move_a
    While IsMoving()
    Wend
    DeActivateSignal(OutPut7)
    Code "G90"
    SetCurrentTool(new_tool)
  End If
End If



Graham

1045
General Mach Discussion / Re: Lathe Turret Macro
« on: December 18, 2011, 03:57:59 PM »
The problem is you are using absolute g-code for the A axis,  change the g-code to work in incremental moves.


1046
G-Code, CAD, and CAM discussions / Re: Mach3 not Doing what GCode says?
« on: December 08, 2011, 11:44:11 AM »
You need to tune the velocity to the maximum reliable speed it will move along with the fastest acceleration with out skipping steps,  then the cutting speed is controlled with the F command in the g-code.

This way you have maximum rapid moves with the smoothest feed moves as the acceleration is not ramping up and down between moves.

Graham

1047
G-Code, CAD, and CAM discussions / Re: Mach3 not Doing what GCode says?
« on: December 07, 2011, 06:23:41 AM »
Is that the fastest your machine will go, 6.7"/min is very slow looking, I would have expected figures 10 times that for the velocity or have you limited it to this for a reason?

Graham

1048
G-Code, CAD, and CAM discussions / Re: Mach3 not Doing what GCode says?
« on: December 06, 2011, 06:28:04 AM »
It sounds as if the g-code is in small line segments, turn on the constant velocity mode and see if that helps.

Graham

1049
VB and the development of wizards / Re: User Label
« on: October 28, 2011, 03:37:44 AM »
You could hard code it into the Macropump

1050
Is the z axis actually moving .125"?

If yes then the steps per are correct.

If no then reset them so it will move .125".  this in no way affects the problem you have though, even if the steps/per are wrong the axis should still repeat.

Is the start position moving closer to the table?

If yes then its loosing steps when trying to lift the weight of the head, slow things down, reduce acceleration and velocity by half, and/or counter balance the head.

If no more like a breakout board problem or electrical interference, is the router spindle power cable next to the z axis motor wires.