Hello Guest it is May 22, 2024, 01:58:22 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

1161
Chris,

check out the field of micro machining, this is a boom industry mainly for space and medical sectors but plenty of money for the ones that can do it.

Don't tell everybody though  ;)

Graham

1162
That is truly amazing, from concept to part how many hours are in something like that?

Graham

1163
G-Code, CAD, and CAM discussions / Re: G code
« on: August 19, 2010, 04:34:45 AM »
This is how I would do it :-

%
O0001 (MAIN PROGRAM)

#1=0      (COUNTER MUST BE ZERO )
#2=50.0 (PITCH OF PATTERN)
#3=3      (NUMBER OF REPEATS)

G21 G40
T1 M6

G52 X0 Y0
G00 G90 X0 Y0
M98 P0002 L[#3] (ENTER L TIMES)
G00 Z25.
M30

O0002(SUB 1)
G52 X[#1*#2]
(stitch code goes below this line)

G01 X50. F100. (STITCH 50MM)

(lines below this one must NOT be removed)
G52 X0
#1=[#1+1]
M99
%

Try this, all you have to do is change the # values and place the stitch code into sub 1

Graham

1164
G-Code, CAD, and CAM discussions / Re: G code
« on: August 18, 2010, 04:50:02 AM »
Larry,

here is some code to try :-

%
O0001 (MAIN PROGRAM)

G21 G40
T1 M6
G52 X0 Y0
G00 X0 Y0
M98 P0002 (ENTER SUB)
G52 X50. (SHIFT DATUM BY 50MM)
M98 P0002 (ENTER SUB)
G52 X100. (SHIFT DATUM BY 100MM)
M98 P0002 (ENTER SUB)
M30

O0002(SUB)
G01 X50. (STITCH 50MM)
G52 X0
M99
%

This should give a line 150mm long made up of 50mm lines all joined up. Ignore what mach3 shows on the screen as it can not show datum shifts as yet.

Regards
Graham

1165
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
 

1166
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

1167
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

1168
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

1169
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

1170
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