Hello Guest it is May 04, 2024, 12:15:06 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

2181
G-Code, CAD, and CAM discussions / Re: Variables
« on: March 02, 2007, 03:41:41 AM »
Hi Lew,

you can do it like this :-

O0001

#1=-9.95 (z depth)
#2= -10.95 (width)

G21 G40 G00 G90 G17

G00 X0 Y0 Z25.
S1000 M3
Z1.
G01 Z#1 F50.
G01 X#2
Y#2
X0
Y0
G00 Z1.
Z1.
G01 Z#2
ETC.....

M30

You can do in line calculations too.

X[[#2*2]+#1]


Graham.


2182
General Mach Discussion / Re: Variables
« on: March 02, 2007, 02:59:14 AM »
Hi Lew,

you can do it like this :-

O0001

#1=-9.95 (z depth)
#2= -10.95 (width)

G21 G40 G00 G90 G17

G00 X0 Y0 Z25.
S1000 M3
Z1.
G01 Z#1 F50.
G01 X#2
Y#2
X0
Y0
G00 Z1.
Z1.
G01 Z#2
ETC.....

M30

You can do in line calculations too.

X[[#2*2]+#1]


Graham.



2183
G-Code, CAD, and CAM discussions / Re: Proper M code Macro?
« on: February 24, 2007, 04:44:56 AM »
Hi Chris,

if you change your macro to check if mach is running it should fix your problem

try something like :-

IF OEMLED(804) THEN ' 804 is the cycle start led
  DeActivateSignal(output4)
ENDIF

Graham.

2184
Hi Chip,

I see your problem.

I don't use Notepad, I use Wordpad and I save with the following settings. It works for me every time.

Graham.

2185
General Mach Discussion / Re: Can't get 5 axes to work
« on: February 23, 2007, 11:35:15 AM »
If you set Mach to offline mode (led will flash) then go to MDI and type G00 B20. dose the DRO move?

Graham.

2186
General Mach Discussion / Re: Can't get 5 axes to work
« on: February 23, 2007, 11:28:44 AM »
Sorry I misunderstood,

Are you running the demo version?

Graham.

2187
General Mach Discussion / Re: Can't get 5 axes to work
« on: February 23, 2007, 11:01:27 AM »
It sounds more like the B axis driver card is not enabled if mach will drive A from eather pin combination.

Graham.

2188
General Mach Discussion / Re: Can't get 5 axes to work
« on: February 23, 2007, 10:12:02 AM »
What pins have you got assisgned to what function/motor/driver?

Graham.

2189
Hi Chip,

this bit works for me.

Graham.

G20 G40

G00 g90 g43 X-1. Y-1.
z1.
M98 (SUBTEST.TAP)
M30

%


2190
G-Code, CAD, and CAM discussions / Re: engraving logo
« on: February 22, 2007, 09:06:10 AM »
Go to the top of this page and select TOOLS, FREE CAD, there you will find lots of free software to do what you want to do.

Graham.