Hello Guest it is March 28, 2024, 05:34:08 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

1151
G-Code, CAD, and CAM discussions / Re: G code
« on: August 15, 2010, 04:20:05 PM »
I must be misunderstanding what you require, can you do a sketch or a photo of what it is you are trying to achieve.

Graham
 

1152
G-Code, CAD, and CAM discussions / Re: G code
« on: August 15, 2010, 09:00:20 AM »
If you need some help with the format of the code just send me a PM.

Graham

1153
G-Code, CAD, and CAM discussions / Re: G code
« on: August 15, 2010, 07:20:02 AM »
Use a G52 X? Y? to shift the datum the pitch of the pattern at the end of the run put a G52 X0 Y0 in the program

Put the pattern code in a sub program and just call it with a M98 Pnnnn

Graham

1154
General Mach Discussion / Re: program causing pokeys to quit
« on: August 12, 2010, 03:31:57 AM »
OK, so lets try it a different way.

Put this code into the M3.m1s macro in the profile you are using, remove the current dospin() code :-

You can also put this in the M4.m1s too

SetUserLED (1220, 1)
ActivateSignal(Output3) 'turn on chiller
ActivateSignal(Output2) 'turn on spindle

Then put this into the M5.m1s macro as above :-

DeActivateSignal(Output2) 'turn off spindle
DeActivateSignal(Output3) 'turn off chiller
SetUserLED (1220, 0)

Then put this into a sub program in the subs folder of your profile, call it "warmup.tap" :-

(warmup.tap)
S18000
G4 P1200
S27000
G4 P1200
S36000
G4 P1200
M99

Your calling code would look like this :-

M3                         (turn on chiller and spindle)
M98 (warmup.tap)   (call spindle warm up sub)
M4                        (turn off chiller and spindle)
M30

Graham

1155
G-Code, CAD, and CAM discussions / Re: Tapered Pocket
« on: August 12, 2010, 03:07:47 AM »
Sketch what you are wanting, it sounds as if you would need a 4th and or 5th axis if you want to get into compound angles.

Graham

1156
General Mach Discussion / Re: program causing pokeys to quit
« on: August 11, 2010, 03:54:38 AM »
Try this code, not sure it will be better but worth a try

SetUserLED (1220, 1)
ActivateSignal(Output3) 'turn on chiller
Sleep (2000)
ActivateSignal(Output2) 'turn on spindle
Code "S18000"
while ismoving()
  Code "G4 P1200"
wend
Sleep (1000)
Code "S27000"
while ismoving()
  Code "G4 P1200"
wend
Sleep (1000)
Code "S36000"
while ismoving()
  Code "G4 P1200"
wend
Sleep (1000)
DeActivateSignal(Output2) 'turn off spindle
Sleep (1000)
DeActivateSignal(Output3) 'turn off chiller
SetUserLED (1220, 0)

Graham

1157
G-Code, CAD, and CAM discussions / Re: Code help needed
« on: August 07, 2010, 03:31:20 AM »
The % denotes the start and end of a program file when using subs its better to have them in so you know you have a return on the end of the sub program.

Graham

1158
G-Code, CAD, and CAM discussions / Re: Code help needed
« on: August 06, 2010, 06:50:16 PM »
I would do it this way.

%
M6 T1
G43 H1
M03 S2500 
M8
G52 X0
M98 P2
G52 X2.
M98 P2
G52 X4.
M98 P2
G52 X6.
M98 P2
G52 X8.
M98 P2
G52 X10.
M98 P2
G52 X12.
M98 P2
G52 X14.
M98 P2
M9
M5
M30

O0002
G00 Z 1.00
Y -.6875         
X 0.003
Z-.130
G01 Y.6875 F5.0
Z-.130
X-0.003
Y-.6875
G00 Z.100
Y-3.0
Z - 1.0
G00 Z.1
G52 X0
M99
%

Graham

1159
G-Code, CAD, and CAM discussions / Re: Imsi Design Cad Arc Problem
« on: August 05, 2010, 12:43:29 PM »
Hi

I have not used that software but in a lot of cases if the arc becomes an oval or ellipse the dxf outputs is a spline and mach3 can not handle splines, if you look in the tools of the cad program you may find an option to convert splines to line segments or a convert to lines option on the dxf output.

Graham

1160
From my observations of these machines I think the one that can make the part complete in one go with no fiddly support structures will be the winner, creating structures in fresh air has always been the sticking point for most methods, its only been in the last few years that the Zprinter and the like have really got it sorted.

http://www.thinglab.co.uk/printing_product.php?URL_=product_rapid_zcorp_zprinter_650&SubCatID_=66

Graham