The OPERTN/ command in the APT file has the format OPERTN/ n1, n2, n3.
n1 — Operation Type (ie OPRTN/8,1,1)
n2 — Cycle Type (ie OPRTN/8,1,1)
Drill = 0
Peck = 1
Tap = 2
Ream = 3
Bore = 4
Back Bore = 5
Left Tap = 6
Custom1 = 10
Custom2 = 11
Custom3 = 12
Rigid Tap = 13
Rigid Left Tap = 14
Countersink = 15
n3 — Spindle Type for Mill/Turn Operations (ie OPRTN/8,1,1)
Main Spindle = 0
Sub Spindle = 1
Lathe (n1 — Operation Type)
Turn = 1
Face = 2
Face Off = 29
Groove = 3
Thread = 4
Hole Process = 5 (Drill)
Partoff = 30
2 Axis (n1 — Operation Type)
Pocket = 6
Contour = 7
Contour 3D = 14
Hole Process = 8 (Drill,
Pilot hole)
Face Mill = 35
Round Mill= 44
Chamfer Mill = 45
Groove Mill = 48
Rest Material = 7 (Carries the same number of the operation that it is
performed on , in this case the rest operation is performed on a contour
operation - 7 )
Thread Mill = 38
TrueMill = 54
3 Axis (n1 — Operation Type)
Cut = 9
Project* = 10
Z Rough = 11
Plunge Rough = 41
Z Finish = 27
Planar = 13
Steep Shallow = 47
3D Offset = 43
Flat Surface = 46
Contour 3D = 14
Hole Process = 15 (Drill, Pilot Hole)
Auto Rough = 33
Rest Material = Carries the same number as the operation that is it performed
on – Planner(13) or Z Finish(27)
Pencil Cut = 40
SRM = 42
4 Axis (n1 — Operation Type)
Cut = 16
Project* = 18
Swarf = 17
Contour = 19
Trim = 31
Hole Process = 20 ( Drill,
Pilot Hole)
5 Axis (n1 — Operation Type)
Cut = 21
Project* = 23
Swarf = 22
Contour = 24
Trim = 32
Hole Process = 25 ( Drill, Pilot Hole)
EDM (n1 — Operation Type)
2 Axis XY = 28
4 Axis = 26
4 Axis UV = 34
* Project functions will report two OPERTN lines in the APTCL file – the first line will contain the type of operation to be projected. The second line will contain the type of projection to be done.