POST Sample Libraries 

The POST sample libraries below are included as samples of the POSTFORM file. These files are included in the SURFCAM\POSTLIB\MPOST folder. The list below indicates the post processors and filenames that can be appended in the POSTFORM.M, POSTFORM.L, or POSTFORM.E files. The filename extension indicates the type of post processor.

M2

2 Axis Mill

M3

3 Axis Mill

M4

4 Axis Mill

M5

5 Axis Mill

L2

Lathe

E2

2 Axis Wire EDM

E4

4 Axis Wire EDM

See the figure Post Processors and File Names.

Milling Posts

Filename

Milling Posts

Filename

Aciera

aciera.m3

Bridgeport w/BOSS 8

bos8.m3

ACL

acl.m3

Bridgeport w/BOSS 9

boss.m3

Acroloc GN-6M

acr6.m3

Bridgeport w/BOSS 10

boss.m3

Acroloc GN-6M w/rotary table

acr6.m4

Bridgeport Heidenhain TNC 151

bri151.m3

Allen Bradley 4500

ab4500.m3

Bostomatic

bostomat.m3

Allen Bradley 8400

ab8400.m3

Centurion 4

cnt4.m3

Anilam Crusader Series M EIA

anilam-e.m3

Centurion 5

cnt5.m3

Anilam Crusader Series M Event

anilam-c.m3

Cincinnati Milacron 850M

cin850.m3

APTCL 2 and 3 Axis

aptcl.m3

Cincinnati Milacron 950M

cin950.m3

APTCL 5 Axis

aptcl.m5

Cincinnati Milacron Tab Seq

cin-tab.m3

Bandit 1

ban1.m3

Cintimatic AC-8

cnt8.m3

Bandit 2

ban2.m3

Compact II 2 and 3 Axis support

compact2.m3

Bandit 3

ban3.m3

Deckel

deckel.m3

Bandit 4

ban4.m3

Deckel Dialog 4 G17

dlg4g17.m3

Bridgeport w/BOSS 4

bos4.m3

Deckel Dialog 4 G18

dlg4g18.m3

Bridgeport w/BOSS 5

bos5.m3

Devlieg

devlieg.m3

Dyna Myte 2400

dmt2400.m3

Fanuc 16M

fan16.m3

Dyna Myte 2400 w/rotary table

dmt2400.m4

Fanuc 16M w/preselect

fan16p.m3

Dyna Myte Conversational

dmt2400c.m3

GE Mark Century w/Monarch

monarch.m3

Dyna Myte 4400

dmt4400.m3

General Electric 550

ge550.m3

Dyna Myte 4400 w/rotary table

dmt4400.m4

General Electric 1050

ge1050.m3

Dynapath 20 EIA format

dyn20e.m3

General Electric 2000

ge2000.m3

Dynapath 20 Conv. Style

dyn20c.m3

Haas

haas.m3

Dynapath 30 Conv. Style

dyn30c.m3

Haas w/rotary table

haas.m4

Fadal Format 1

fadal.m3

Heidenhain TNC 151 ISO

hei151.m3

Fadal Format 1 w/rotary table

fadal.m4

Heidenhain TNC 151 Conv.

Hei151c.m3

Fadal Format 1 w/sub programs

fadals.m3

Heidenhain TNC 151 w/sub

hei151s.m3

Fagor

fagor.m3

Heidenhain TNC 155 ISO

hei155.m3

Fanuc 3000

fan3000.m3

Heidenhain TNC 155 Conv.

Hei155c.m3

Fanuc 0M

fan0.m3

Heidenhain TNC 155 w/sub

hei155s.m3

Fanuc 6M

fan6.m3

Heidenhain TNC 355 Conv.

Hei355c.m3

Fanuc 10M

fan10.m3

Heidenhain TNC 355 w/sub

hei355s.m3

Fanuc 10M w/Incr. Output

fan10i.m3

Heidenhain TNC 415 Conv.

Hei355c.m3

Fanuc 10M w/rotary table

fan10.m4

Heidenhain TNC 415 w/sub

hei355s.m3

Fanuc 10M w/preselect

fan10p.m3

Hurco

hurco.m3

Fanuc 10M w/sub programs G54

fan10s54.m3

Hurco BX

maxbx.m3

Fanuc 10M w/sub programs G92

fan10s92.m3

Hurco Ultimax 1

ult1.m3

Fanuc 11M

fan11.m3

Hurco Ultimax 2

ult2.m3

Fanuc 11M w/preselect

fan11p.m3

Hurco Ultimax 2 ver 8

ult2v8.m3

Fanuc 15M

fan15.m3

Hurco Ultimax 3

ult3.m3

Fanuc 15M w/preselect

fan15p.m3

Hurco Ultimax 3 ver 8

ult3v8.m3

K & T 600MM

k&t600.m3

OKK w/Fanuc

okkfan.m3

K & T 600MM w/rotary table

k&t600.m4

OKK w/Fanuc rotary

okkfan.m4

Kitamura MC-86

kit86.m3

Okuma w/Bandit 2

okuban2.m3

Kitamura MC-86 w/rotary table

kit86.m4

Okuma OSP5000

osp5000.m3

LeBlond Makino w/Fanuc

leblond.m3

Okuma OSP5020

osp5020.m3

Maho G17 mode

mah-g17.m3

Pratt & Whitney Tapematic

p&wtap.m3

Maho G17 mode w/rotary

mah-g17.m4

ProtoTrak

prototrk.m3

Maho G18 mode

mah-g18.m3

Roland CAMM-3

roland.m3

Maho G18 mode w/rotary

mah-g18.m4

Servo

ser2.m3

Makino w/Fanuc 15M

makfan15.m3

Sharnoa Tiger 4

tig4.m3

Mazak M2

mzk2.m3

Sharnoa Tiger 5

tig5.m3

Mazak M2 w/tool preselect

mzk2p.m3

Shizuoka 13-5V

shi13.m3

Mazak M2 w/rotary table

mzk2.m4

Siemens 6M

sie6.m3

Mazak M2 horiz. w/tombstone

mzk2h.m3

Siemens 810M

sie810.m3

Mazak M32 ISO

mzk32.m3

SURFCAM Digitize Format

digitiz.m3

Mazak M32 w/vertical bridge

mzk32v.m3

Thermwood Model 70

thr70.m3

Mitsubishi M0

mit0.m3

Tree w/Dynapath 20

tredy20.m3

Monarch 45B w/Dynapath 20

mondy20.m3

Yasnac MX-3

yas3.m3

Mycenter

mycentr.m3

Yasnac 2000G

yas2000.m3

Mycenter w/rotary table

mycentr.m4

 

 

Cincinnati

cincinat.12

Charmilles 2 Axis wire EDM

charmill.e2

Citizen F10 Screw Machine

citizen.12

Charmilles 4 Axis wire EDM

charmill.e4

Fanuc OT

fan0.12

Elox 4 Axis wire EDM

elox.e4

Fanuc 5T

fan5.12

Japax 2 Axis wire EDM

japax.e2

Fanuc 6T

fan6.12

Japax 4 Axis wire EDM

japax.e4

Fanuc 10T

fan10.12

Mitsubishi 2 Axis wire EDM

mitsub.e2

General Electric 550 Absolute

ge550.12

Sodick 2 Axis wire EDM

sodick.e2

General Electric 550 Incremental

ge550i.12

 

 

Generic 2 axis

generic.12

 

 

Ikegai 5T

ike5.12

 

 

Mitsubishi L0

mit0.12

 

 

Mori-Seiki

moriseik.12

 

 

Yasnac 2000B

yas2000.12

 

 

Post Processors and File Names (Continued)

The sample POSTFORM files in The Generic 3 Axis Mill Postform file figure, The Generic Lathe Postform file figure, and The Generic EDM Postform file figure are the Generic POSTFORM files that are included.

Generic.M3

name Generic 3 Axis Mill

 

% 00

 

! 00

 

O 4

 

N >4

 

G 2

 

g 2 G

 

X ->3.>4

 

Y ->3.>4

 

Z ->3.>4

 

I ->3.>4

 

J ->3.>4

 

R ->3.>4

 

Q ->3.>4

 

F >3.1

 

H 2

 

D 2

 

T 2

 

M 2

 

S >4

 

 

 

ModalLetters X Y Z F R

# List of letters that are modal

 

 

ModalGs 0 1 2 3 73 74 76 80 81 82 83 84 85

# List of g codes that are modal

 

 

Sequence#s N 1 1 1

# Char, freq, incr & start

First#? N

# Y or N 'Output 1st sequence no.

Last#? N

# Y or N 'Output last sequence no.

 

 

HCode X

# X or X U 'Horizontal char.

VCode Y

# Y or Y V 'Vertical char.

Dcode Z

# Depth char.

FeedCode F

# Feed rate char.

 

 

Comment ( )

# Begin End comment char.

 

 

Spindle 3 4 5

# Cw, ccw & stop m codes

Coolant 8 9 7

# On, Off & Mist m codes

DComp 41 42 40

# Left, Right & Cancel m codes

LComp 43 49

# On & Off codes

 

 

Feed G1

# Linear move

Rapid G0

# Rapid positioning word

Cw G2

# Circular move clockwise

Ccw G3

# Circular move counter clockwise

 

 

Inc/Abs G 91 90

# Inc & Abs char. & values

Inch/MM 70 71

# Inch & Metric g codes

 

 

CtrCode I J

# I J or R or I J K L

CtrIncremental? Y

# Y or N 'Inc or abs I & J

ByQuadrants? N

# Y or N 'Break arcs at quadrants

 

 

Spaces? Y

# Y or N 'Spaces between words

Incremental? N

# Y or N 'Inc or abs output

 

 

Work G

# Work offset register

 

 

UppercaseComments? Y

# Y or N 'Require uppercase comments

 

 

StartCode

# Start of the program

%0

 

!0 O[Program#]

 

End

 

 

 

1stToolChange

# First tool change

G0 G90 G80 G40 G17

 

T[Tool] M6

 

M[Direct] S[Speed]

 

G0 G[Work] X[H] Y[V]

 

G43 Z[D] H[Lcomp]

 

M[Cool]

 

End

 

 

 

Infeed

# Enable cutter comp

G[Side] X[H] Y[V] D[DComp] F[FRate]

 

end

 

 

 

Outfeed

# Disable cutter comp

G1 G40 X[H] Y[V]

 

end

 

 

 

ToolChange

# Secondary tool changes

M[CoolantOff]

 

T[Tool] M6

 

M[Direct] S[Speed]

 

G0 X[H] Y[V]

 

G43 Z[D] H[Lcomp]

 

M[Cool]

 

End

 

 

 

EndCode

# End of the program

G0 G91 G28 Z0

 

M30

 

%0

 

End

 

 

 

#LineCode

 

#G1 X[H] Y[V] Z[D] F[FRate]

 

#End

 

 

 

#RapidCode

 

#G0 X[H] Y[V] Z[D]

 

#End

 

 

 

#CwCode

 

#G2 X[H] Y[V] I[IVal] J[JVal] F[FRate]

 

#End

 

 

 

#CcwCode

 

#G3 X[H] Y[V] I[IVal] J[JVal] F[FRate]

 

#End

 

 

 

Drill

# Drilling canned/manual cycle

G81 X[H] Y[V] Z[D] R[Vclear] F[FRate]

 

end cancel

 

 

 

Peck

# Pecking canned/manual cycle

G83 X[H] Y[V] Z[D] Q[VBite] R[Vclear] F[FRate]

 

end cancel

 

 

 

Tap

# Tapping canned/manual cycle

G84 X[H] Y[V] Z[D] R[Vclear] F[FRate]

 

end cancel

 

 

 

LTap

# Left handed tapping cycle

G74 X[H] Y[V] Z[D] R[Vclear] F[FRate]

 

end cancel

 

 

 

Ream

# Reaming canned/manual cycle

G85 X[H] Y[V] Z[D] R[Vclear] F[FRate]

 

end cancel

 

 

 

Bore

# Boring canned/manual cycle

G86 X[H] Y[V] Z[D] R[Vclear] F[FRate]

 

end cancel

 

 

 

Back

# Back boring canned/manual cycle

G87 X[H] Y[V] Z[D] R[Vclear] F[FRate]

 

end cancel

 

 

 

#Custom1

 

#G81 X[H] Y[V] Z[D] R[Vclear] F[FRate]

 

#end cancel

 

 

 

#Custom2

 

#G81 X[H] Y[V] Z[D] R[Vclear] F[FRate]

 

#end cancel

 

 

 

#Custom3

 

#G81 X[H] Y[V] Z[D] R[Vclear] F[FRate]

 

#end cancel

 

 

 

Cancel

# Cancel a canned/manual cycle

G80

 

end

 

 

 

#SubStart

 

#O[Sub]

 

#End

 

 

 

#SubEnd

 

#M99

 

#End

 

 

 

#SubCall

 

#G[Work] P[Sub] M98

 

#End

 

 

 

#Between

 

#M9

 

#G91 G80 G30 Y0 Z0

 

#G0 G40 G80 G90

 

#M30

 

#End

 

 

 

#Index X

 

#G0 G28 G91 Z0

 

#G90 G[Work] X[H] Y[V] A[RotAngle]

 

#G43 H[Lcomp] Z[D]

 

#End

 

 

 

#UnWind

 

#G0 G28 G91 Z0

 

#A0

 

#G43 Z[D] H[Lcomp] M[Cool]

 

#X[LastH] Y[LastV] A[LastRotAng]

 

#G1 Z[LastD]

 

#End

 

 

 

#Upon RPlane

 

#Ask "Val1" " Enter 98 or 99 for canned cycles" "98"

 

#End

 

The Generic 3 Axis Mill Postform file (Continued)

Generic.L

name Generic lathe

 

% 00

 

! 00

 

O 4

 

N 3

 

G 2

 

X ->3.>4

 

x ->3.>4 X

 

Z ->3.>4

 

D 2

 

I ->3.>4

 

K ->3.>4

 

U ->3.>4

 

W ->3.>4

 

P ->3.>4

 

A 60 P

 

Q ->3.>4

 

q ->3.>4 Q

 

R ->3.>4

 

F >3.>3

 

T 2

 

t 2

 

S >4

 

M 2

 

 

 

ModalLetters X Z F

# List of letters that are modal

 

 

ModalGs 0 1 2 3 73 76 80 81 82 83 84 85 # List of g codes that are modal

 

 

 

Sequence#s N 0 1 1

# Char, freq, incr & start

First#? N

# Y or N 'Output 1st sequence no.

Last#? N

# Y or N 'Output last sequence no.

 

 

Comment ( )

# Begin End comment char.

 

 

HCode Z

# X or X U 'Horizontal char.

VCode X

# Y or Y V 'Vertical char.

FeedCode F

# Feed rate char.

 

 

Spindle 3 4 5

# Cw, ccw & stop m codes

Coolant 8 9 7

# On, Off & Mist m codes

DComp 41 42 40

# Left, Right & Cancel m codes

LComp 43 49

# On & Off codes

 

 

SpeedType 97 96

# CSS and RPM g codes

FeedType 95 94

# IPR & IPM g codes

 

 

ByDiameter? Y

# Y or N 'Output X val. by diameter

CtrIncremental? Y

# Y or N 'Inc or abs I & J

ByQuadrants? N

# Y or N 'Break arcs at quadrants

CtrCode R

# I J or R or I J K L

 

 

Inc/Abs G 91 90

# Inc & Abs char. & values

Inch/MM 20 21

# Inch & Metric g codes

 

 

Spaces? Y

# Y or N 'Spaces between words

Incremental? N

# Y or N 'Inc or abs output

 

 

Feed G1

# Linear move

Rapid G0

# Rapid positioning word

Cw G2

# Circular move clockwise

Ccw G3

# Circular move counter clockwise

 

 

RevSigns X x

# List of letters to reverse signs

 

 

UppercaseComments? Y # Y or N 'Require uppercase comments

 

 

 

StartCode

# Start of the program

%0

 

!0 O[Program#]

 

end

 

 

 

1stToolChange

# First tool change

G50 x[ToolH] Z[ToolV]

 

G0 T[Tool] t[Tool] M42

 

G[SpeedType] S[Speed] M[Direct]

 

X[V] Z[H] M[Cool]

 

End

 

 

 

Infeed

# Enable cutter comp

G1 G[Side] X[V] Z[H] D[Dcomp] F[FRate]

 

end

 

 

 

Outfeed

# Disable cutter comp

G1 G40 X[V] Z[H] F[FRate]

 

end

 

 

 

ToolChange

# Secondary tool changes

M[CoolantOff]

 

T[LastTool] t0

 

G50 x[ToolH] Z[ToolV]

 

G0 T[Tool] t[Tool] M42

 

G[SpeedType] S[Speed] M[Direct]

 

X[V] Z[H] M[Cool]

 

End

 

 

 

EndCode

# End of the program

G0 x[ToolV] Z[ToolH] M[CoolantOff]

 

T[Tool] t0 M5

 

M2

 

End

 

 

 

#LineCode

 

#G1 X[V] Z[H] F[Frate]

 

#End

 

 

 

#RapidCode

 

#G0 X[V] Z[H]

 

#End

 

 

 

#CcwCode

 

#G3 X[V] Z[H] R[ArcRad]

 

#End

 

 

 

#CwCode

 

#G2 X[V] Z[H] R[ArcRad]

 

#End

 

 

 

Drill

# Drilling canned/manual cycle

G74 Z[Depth] F[Frate]

 

end

 

 

 

Peck

# Pecking canned/manual cycle

G74 Z[Depth] K[VBite] F[Frate]

 

end

 

 

 

#Tap

 

#G78 Z[H] F[FRate]

 

#end cancel

 

 

 

#LTap

 

#G78 Z[H] F[FRate]

 

#end cancel

 

 

 

AutoThread

# Automatic thread canned cycle

G76 A[TParams] Q[VBite] R0

 

G76 X[V] Z[H] R[StartAng] P[Depth] q[Peck1] F[Frate]

 

end

 

 

 

Ream

# Reaming canned/manual cycle

G1 Z[H] F[FRate]

 

G1 Z[VClear]

 

end

 

 

 

Bore

# Boring canned/manual cycle

G1 Z[H] F[FRate]

 

G1 Z[VClear]

 

end

 

 

 

Back

# Back boring canned/manual cycle

G1 Z[H] F[FRate]

 

G1 Z[VClear]

 

end

 

 

 

#Custom1

 

#End

 

 

 

#Custom2

 

#End

 

 

 

#Custom3

 

#End

 

 

 

Cancel

# Cancel a canned/manual cycle

G80

 

end

 

 

 

#Upon Turret

 

#M13

 

#End

 

 

 

Replace " t" with ""

 

The Generic Lathe Postform file (Continued)

Generic.E

name Generic EDM

 

% 00

 

! 00

 

O 4

 

N >4

 

G 2

 

X ->3.>4

 

Y ->3.>4

 

I ->3.>4

 

J ->3.>4

 

F >3.2

 

D 2

 

M 2

 

 

 

ModalLetters X Y Z F R # List of letters that are modal

 

 

 

ModalGs 0 1 2 3

# List of g codes that are modal

 

 

Sequence#s N 0 1 1

# Char, freq, incr & start

First#? N

# Y or N 'Output 1st sequence no.

Last#? N

# Y or N 'Output last sequence no.

 

 

HCode X

# X or X U 'Horizontal char.

VCode Y

# Y