r/CNCmachining • • 8d ago

Programming PAMA Speedmill

Post image

Hi everyone, this is my first time programming on this machine

I'm programming a PAMA Speedmill 2000 equipped with a HEIDENHAIN TNC 640 control. I'm currently using the universal milling head with A- and C-axis capability because the other head is down for maintenance.

I'm using the B-axis rotary table to drill a hole and then index the table to the next position.

My issue is that after drilling the first hole and rotating the B-axis, the machine moves the tool along with the table instead of keeping the machine X-axis at 0.

How can I program the B-axis rotation so that the table indexes to the next position while the tool remains at the same machine X coordinate?

Here is the current program:

%TESTABC G70

;POST PROCESSOR: PAMA5XB

;MACHINE: PAMA

;CONTROL: HEIDENHAIN TNC640

;THIS POST IS FOR 5-AXIS PROGRAM

N1 G247 Q339=10

N2 T3 G17 S1000

N3 G00 G40 G90 Z+0 M91

N4 M128

N5 ; TOOL# 3 | T3 = .104 DIA. CARBDIE DRILL, STICK OUT 1.50"

N6 S1500 M3

N7 G0 Y+6 Z+86,2474 A-90 B+0

N8 Y+0,2

N9 G18

N10 G203 UNIVERSAL DRILLING ~

Q200=+0,2 ;SET-UP CLEARANCE ~

Q201=-0,25 ;DEPTH ~

Q206=+10 ;FEED RATE FOR PLNGNG ~

Q202=+0,0197 ;PLUNGING DEPTH ~

Q210=+0 ;DWELL TIME AT TOP ~

Q203=+0 ;SURFACE COORDINATE ~

Q204=+6 ;2ND SET-UP CLEARANCE ~

Q212=+0 ;DECREMENT ~

Q213=+0 ;NR OF BREAKS ~

Q205=+0 ;MIN. PLUNGING DEPTH ~

Q211=+0 ;DWELL TIME AT DEPTH ~

Q208=+1500 ;RETRACTION FEED RATE ~

Q256=+0 ;DIST FOR CHIP BRKNG

N11 M99

N12 B+45 M99

N13 B+90 M99

N14 B+135 M99

N15 B+180 M99

N16 B+225 M99

N17 B+270 M99

N18 B+315 M99

N19 M129

N20 G00 G40 G90 Z+0 M91

N21 M2

; TOOL LIST

; ---------------------------

; TOOL# 3 | T3 = .104 DIA. CARBDIE DRILL, STICK OUT 1.50"

;***********************

;***** INFORMATION *****

;***********************

;MAX X: ,000

;MAX Y: 6,000

;MAX Z: 86,247

;MAX A: -90,00

;MAX C: ,00

;MIN X: ,000

;MIN Y: ,200

;MIN Z: 86,247

;MIN A: -90,00

;MIN C: ,00

;***********************

;( EST. RUN TIME: ,34 HRS )

N99999999 %TESTABC G70

4 Upvotes

7 comments sorted by

1

u/B3AV3R_BLAST3R 8d ago

Plane spatial is one way to do your Polar machining. Or use CAM

1

u/squeedink 8d ago

I'll give this a try after the holiday lol

1

u/RepulsiveBaseball0 8d ago

Create a reltative plane in witch X+Z match your tool plane. This will be the referance to your actual T plane. This is needed for the control to recognize what the Top is VS what the Face is.

Do this for every induvidual B axis face you need to cut on. Do not use the CAM systems pre populated planes. Even if you’re using the exact same Plane creat a duplicate for your program.

1

u/RepulsiveBaseball0 8d ago

After the unwanted X move. Does it then move to the correct location?

The machine params are most likely set to “safe index”.

If that’s not the issue. Inveres your B axis move to travle only 1 direction. All CW moves or all CCW.

1

u/squeedink 8d ago

No, it's following my B0. I tried it with M128 off, but it messes up my offsets. When the canned cycle of the first hole is finished it follows the B0.

1

u/carolynprescott 8d ago

Honestly, you’re killing it for a first try. That’s a beefy setup for a rookie! Gettin thrown in the deep end for real.