Hello Guest it is April 25, 2024, 01:52:50 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

1301
General Mach Discussion / Re: Servos are herky-jery/very loud w/ mach3 ??
« on: November 24, 2009, 10:43:24 AM »
What have you got set in mach's motor tuning, your counts per should be 2048 for each rev of the motor, if this is set way too low the motor will be hunting all the time.

Graham

1302
Have you a picture showing the problem?

Graham

1303
General Mach Discussion / Re: 12 ATC Initialization MACRO HELP
« on: November 19, 2009, 12:22:17 PM »
Why not do a G28.1 and let mach do a normal find home position.

You can have a 'home off position' set for the C axis which will then allow you to do a rapid move to the required starting position.

That's how I do mine.

Or am I way off what you are trying to do.

Graham

1304
General Mach Discussion / Re: Has anyone retrofitted a 4 axis lathe?
« on: November 19, 2009, 12:08:10 PM »
The main problem you will have with a 4 axis lathe is that mach blends all axis motion together, you need to be able to run each turret separate, this is not possible at the moment so one turret can not be in rapid and one cutting so you loose the benefit of the 2 turrets.

Graham


1305
General Mach Discussion / Re: Viewing Parameters
« on: November 14, 2009, 08:13:35 PM »
Now I have read your whole topic I think I get what you want.

What you need to do is create a macro like this :-

Enter the following lines into notepad and save them as M1800.m1s in the macro folder inside the profile folder you are using e.g. C:\Mach3\Macros\Mach3Mill making sure the last line has a return on the end.

SetVar(100,GetoemDRO(83))
SetVar(101,GetoemDRO(84))
SetVar(102,GetoemDRO(85))

Now in your g-code program when ever you want the current position of the machine relative to the home position command M1800

Then #100 will be equal to the x position #101= to y and #102 = to z

So your program would look like this

G00 X0 Y0 Z10.
M1800
(Do calculations here)
#100=[#100/2]
#101=[#101/2]
#102=[#102/2]
G00 X#100 Y#101 Z#102
M1800
Etc.

Graham

1306
Have a look here, mach3 is based on the Fanuc 6 system type a16, i.e. it has no conditional commands or loops and no I/O commands

http://www.machinetoolhelp.com/Applications/macro/macro_variables.html

Graham

1307
General Mach Discussion / Re: Viewing Parameters
« on: November 14, 2009, 04:24:49 PM »
If you only want to keep the values for calculations then you can store them in DRO's

Mach3 allows you to use DRO 1000 onward for this, if you have a value stored in a variable called 'x_pos' within VB then all you have to do is command SetUserDRO(1000,x_pos) and the value is stored.

To read the value back into a variable its var=GetUserDRO(1000)

I hope this is what you wanted.

Graham

1308
G-Code, CAD, and CAM discussions / Re: meshcam
« on: November 14, 2009, 04:13:20 PM »
I don't know what system you are using but I use the emboss command to do that type of thing, I pick an area, paste an image into it, then emboss the image.

May give you some clues, it may not

Graham

1309
General Mach Discussion / Re: Boxford tcl125
« on: November 13, 2009, 11:23:43 AM »
Have a look here :-

http://www.cncdoctor.co.uk/15.html

Graham

1310
General Mach Discussion / Re: Keeping informed on Vis Basic
« on: November 13, 2009, 09:51:49 AM »
Hi Jim,

you can have something like this in a macro

Graham

Dim a As Integer
For a = 1 To 100
  message("line " & Str(a))
  code "g01 g91 x10. f100."
  While ismoving()
  Wend
Next