My novamill is running on 2.30 at the mo but will not regognise circular or rectangular pocket machining.

Rgds,
Tim.
Moderators: Martin, Steve, Mr Magoo
Now cut and paste this into RectangularPocketSub.fnc(Rectangular Pocket Cycle
(Define 9001 to be file: RectangularPocketSub.fnc
[SUBPROGRAM 9001 RectangularPocketSub
[BILLET X80 Y80 Z40
O0001
G91 G28 X0 Y0 Z0
G90
M6 T1
M3 S1000
G00 X10 Y15 Z2 (Start Position XYZ
#502=60 (Pocket Width
#503=50 (Pocket Height
#504=-1 (Pocket Depth
#505=120 (Feedrate
#506=3 (Stepover
M98 P9001
G91 G28 X0 Y0 Z0
G90
M30
O9001
(Rectangular Pocket Sub-Cycle)
(External Variables Required...)
(#502 = X Length)
(#503 = Y length)
(#504 = Z depth)
(#505 = feedrate)
(#506 = step over)
(Read starting X,Y position
#500=#4101
#501=#4102
(Internal Variables...)
(#100=x dest per pass)
(#101=y dest per pass)
(#103=y final dest)
(#105=plunge rate (feedrate / 2)
#103 = #501 + #503
#105 = #505 / 2
G00 X#500 Y#501
G01 Z#504 F#105
F#505
#100 = #500
#101 = #501
N9110
#100 = #100 + #502
X#100
#502 = #502 * -1
IF [#101 GE #103] THEN GOTO 9130
#101 = #101 + #506
IF [#101 GE #103] THEN #101 = #103
Y#101
IF [#101 GE #103] THEN GOTO 9130
GOTO 9110
N9130
(Cleanup Pass...)
#100 = #100 + #502
X#100
Y#501
#502 = #502 * -1
#100 = #100 + #502
X#100
Y#101
Z2
M99
CircularPocketSub.FNC(Circular Pocket Cycle
(Define 9002 to be file: CircularPocketSub.fnc
[SUBPROGRAM 9002 CircularPocketSub
[BILLET X80 Y80 Z40
O0001
G91 G28 X0 Y0 Z0
G90
M6 T1
M3 S1000
G00 X40 Y40 Z5 (Start Position XYZ
(Subtract tool radius from desired radius and enter here:
#502=27 (Pocket Radius
#504=-3 (Pocket Depth
#505=120 (Feedrate
#506=3 (Stepover
M98 P9002
M5
G91 G28 X0 Y0 Z0
G90
M30
O9002
(Circular Pocket Sub-Cycle)
(External Variables Required...)
(#502 = Pocket Radius)
(#504 = Z depth)
(#505 = feedrate)
(#506 = step over)
(Read starting X,Y position
#500=#4101
#501=#4102
(Internal Variables...)
(#101=Current X Pos
(#102=Current Rad
(#103=Current Z Height
(#105=plunge rate (feedrate / 2)
#100= #500 + #502
#101= #500
#102= 0
#103= #4103
#105= #505 / 2
(Goto Centre and feed down:
G00 X#101 Y#501
G01 Z#504 F#105
F#505
N9110
(Add stepover to current rad
#102 = #102 + #506
(Check current rad not bigger than target
IF [#102 GT #502] THEN #102 = #502
#101=#500+#102
G01X#101
G02X#101Y#501I-#102J0
(Drop out if this was the right radius
IF [#102 EQ #502] THEN GOTO 9130
GOTO 9110
N9130
G1Z#103
M99