This document is based on information available at the time of its publication. While efforts
have been made to render accuracy to its content, the information contained herein does
not purport to cover all details or variations in hardware and software, nor to provide every
possible contingency in connection with installation, operation, programming, and
maintenance. Features maybe described herein which are not present in all hardware and
software systems.
Dugard Ltd assumes no obligation of notice to holders of this document with respect to
changes subsequently made.
Dugard Ltd makes no representation or warranty, expressed, implied or statutory with
respect to, and assumes no responsibility for the accuracy, completeness, sufficiency or
usefulness of the information in the manual.
G83 Example of axial front drilling cycle (powered tool)…………………………………….. ..... 57
G87 Example of radial drilling cycle (powered tool)………………………………………………58
G87 Example of radial drilling cycle (using powered tool and Y-axis)………………………….59
G184 Example of axial face tapping cycle (powered tool)………………………………...........60
G188 Example of radial tapping cycle (powered tool)…………………………………………….61
G188 Example of radial tapping cycle (powered tool and Y-axis)……………………………….61
U Drill adaptor installation ...................................................……..………………………………78
PROGRAMMING MANUAL -4-
BASIC CONCEPTS
Machine axes
X-, Z- and B-axis and their respective positive and negative displacement directions are shown on
the above schematic diagram.
Y+ and Y- axis are not shown Y- is towards machine bed and Y+ away from the machine bed,
50mm+,50mm– to give stroke of 100mm. (machine needs to be on Y zero for turning operations).
As you can see, when workpiece zero reference point is located on workpiece end (most common
case), the positive direction is outside the workpiece, while the negative direction is on the
workpiece area to be machined (inside the workpiece).
Commonly, you will operate in the quadrant defined by X+ and Z-.
The machine will enter only in X- area for facing operations.
C-axis would be used to swivel the main spindle head in
order to position the work piece for drilling operations using
a powered tool.
C+ is in clockwise direction and C- is counter clockwise
direction.
Z- B-B+
X+
Z+
X-
C+C-
PROGRAMMING MANUAL -5-
Other axes that could be encountered when programming the
machine are
F: feed axis (related to slides) to be programmed when in operation.
In millimetres x per revolution when the head is rotating (turning)
For example:
G99 F0.3Æ this means “03 millimetres per revolution”.
In millimetres per minute when the head is stopped (MC).
For example:
G98 F80Æ this means “80 millimetres per minute”
T: is turret rotation.
R: is radius programming.
S: are head revolutions (cutting speed) This letter is always related to heads.
G50 S1000 ÆRpm limit.
G97 S1000 Æfixed rpm (for tapping and drilling).
G96 S200 Æcutting speed (m/min) for all turning operations.
Cutting speed formula:
π×D×n
Vc=
,C: Chamfer programming.
,A: Angle programming.
Machines must be at the X home position for turret indexing.
1000
Vc×1000
n=
π×D
Vc= Cutting speed
D= Part standard diameter
n= Rpm limit.
PROGRAMMING MANUAL -6-
Tool offset
The required offset values must be entered each time tool position is changed with respect to the
aforementioned position; if tool position is not changed, entering a offset value will not be
necessary as these values are stored in the memory.
Entering tool offset values
There are two ways for entering tool correction values.
st
1
.) Supplied with presetter.
For machines with presetter, place the presetter in position and preset the tool.
nd
2
.) supplied without presetter.
For machines without presetter, turn the work piece and retract the tool without moving it out the
axis. Then measure the work piece and enter the readings in the geometry table.
To enter a value, go to the geometry table (offset value), enter the required value and press the
intermediate key; by this way the control unit will calculate the offset value.
Workpiece zero reference point
Workpiece zero is the distance that the workpiece protrudes from main chuck face.
We advise you to enter workpiece zero at the beginning of the program.
X and Y can be omitted but for safety it should be included.
Comment::
These are notes included in the program.
These notes are totally optional, and it is up to the programmer to enter them or not.
These notes will be always placed in round brackets () in order to prevent the program
reading them.
T101
Here is shown that the tool to be used is in position 1 and a offset value of 01 is applied.
T0101 could be also entered, as the four mandatory characters are present, however, the
first zero is optional.
Head rotation direction:
M3 head rotation direction forward
M4 head rotation direction reverse
M5 spindle stop
type A.
If instructing the reverse from the forward direction or vice versa, the
spindle must be stopped first.
This is also valid for the sub spindle and live tools.
G0 X150 Z100
Note that tool retraction in this example is to 150 mm on X+ and 100 mm on Z+ from work
piece zero, and not from chuck face, as no order for changing the position is given to
work piece zero, which in this example is maintained in the previous position.
Line number (N10, N20...)
Line numbers are optional, and can be either entered or not.
G0 G40 G99 X45. Z0. M8
As you can see, G codes are first placed and then X, Z and M codes. Codes can be also
entered in the following manner: G0 X45. Z0.G99 G40 M8
Entering codes such as G96 and G50 in the same line is not permitted.
PROGRAMMING MANUAL -9-
Taper turning
O0002 Name of the program
G21 Metric program
G10 L2 P1 X0. Y0. Z-78 Part-zero at 78
N1 G28 U0.V0. Line number and move to X and Y home position
T101 Tool call pos 1 and offset 01
(TURN) Description
G50 S1500 Spindle turning limit: 1500 rpm
G96 S200 M3 Cutting speed (m/min), Spindle fwd direction.
G0 G40 G99 X52.5 Y0. Z2 M8 Rapid feed to point X52.5 Y0. Z2, Cancel tool nose
radius compensation, Feed per rev, Coolant on.
G1 Z-19.9 F0.25 Feed move Z-19.9 (First pass), Feed rate.
G0 X55 Z2 Rapid feed to X55 Z2
X45 Rapid feed to start point of cone in X45 Z2
G1 Z0 Feed move to X45 Z0
X52 Z-20 F.2 Machine the cone to X52 Z-20 (Second pass)
X61 Machine to X61 Z-20
G0 X150 Z100 M9 Rapid to safe position to 100mm in both axes and coolant
off
M30End of program and back to he beginning
Pass
Pass
PROGRAMMING MANUAL -10-
Inside turning:
O0003
G21 Metric input
G10 L2 P1 X0. Y0. Z-85 Part zero at85
N6 G28 U0.V0. Line number and move to X and Y home position
T606 Tool call (pos. 06 and offset 06)
(BORE) Description
G50 S2000 Turning speed limit:2000 r.p.m.
G96 180 M3 Cutting speed=180 mm/rev, Spindle fwd direction.
G0 G40 G99 X44 Y0. Z2 M8 Rapid move Z2 axis to the height of the chamfer 2x45º ,
G1 Z0 F0.2 Feed move toZ0, feedrate 0.2 mm/rev
X40 Z-2 F.15 Machine chamfer with feedrate 0.15 mm/rev
Z-40 F.2 Machine the bore at ø40 with federate 0.2 mm/rev
X35 Face the inside untilø35
G0 Z5 Rapid feed to Z5
X150 Z100 M9 Rapid to safe position to X150 Z100 and coolant off
M30 End of program and back to he beginning
Cancel tool nose radius compensation, Feed per rev,
Coolant on.
PROGRAMMING MANUAL -11-
Circular Interpolation
O0004
G21 Metric input
G10 L2 P1 X0. Y0. Z-110 Part zero at110
N3 G28 U0.V0. Line number and move to X and Y home position
T303 Tool call (pos. 03 and offset 03)
(TURN) Description
G50 S2500
G96 S220 M3
G0 G40 G99 X30 Y0. Z2 M8
G1 Z-22 F0.2 Machine to ø30 and Z-22
G2 X40 Z-27 R5 (CLOCKWISE) 5mm radius clockwise to X40 Z-27
G1 X55 Face to X55
G3 X80 Z-57 R80 (COUNTERCLOCKWISE) 80mm radius counter clockwise to X80 Z-57
G1 Z-62 Machine to Z-60
X86 Face to X86
G0 X100 Z100 M9
M30
In this example we assume that the part is rough machined.
As seen in this example, G2 is used to machine radii in clockwise direction and G3
in counterclockwise direction.
You can also see that G2 or G3 is first entered, then the end point, and finally the
radius,
G3 G2
PROGRAMMING MANUAL -12-
Circular interpolation
O0005
G21
G10 L2 P1 X0. Y0. Z-165
N4 G28 U0.V0.
T404
(TURN)
G50 S2000
G96 S200 M3
G0 G40 G99 X69.282 Y0.Z2 M8 Rapid feed to X69.292 Z2
G1 Z-20 F0.2 Machining to Z-20
G3 X69.282 Z-60 R40 Machine a 40mm radius until point X69.282 Z-
G2 X69.282 Z-100 R40 Machine a40mm radius until point X69.282 Z-
G1 Z-105 Machining to Z-105
G0 X150. Z100. M9
M30
As you can see, for the interpolation, you must know the point from which this
interpolation will take place in order to change radius direction (in this example on
point X69.282 Z-60).
60 counter clockwise direction
100 clockwise direction
PROGRAMMING MANUAL -13-
Incremental commands (U and W)
O0006
G21
G10 L2 P1 X0. Y0. Z-96
N5 G28 U0.V0.
T505
(GROOVE)
G97 S1250 M3
G0 G40 G99 X78 Y0. Z-20 M8 Rapid feed to X78 Z-20
G1 X65 F0.1 Grooving toø65
G4 X1 Dwell (X1=1 second dwell )
G0 X78 Rapid feed to X78
W-10. Incremental move –10mm in Z axis (W=Z)
G1 U-7. Incremental move –7mm in X axis (U=X)
G4 X1 Dwell
G0 U7 Rapid feed 7mm in X axis (U=X)
W-15 Incremental move –15mm in Z axis (W=Z)
G1 U-9 Groove incrementally –9mm in X axis (ø69)
G4 X1 Dwell
G0 U9 Rapid feed incrementally9mm in X axis (ø78)
X150 Z100 M9
M30
Time delays are entered each time a slot is machined in order to improve the
surface finish.
G52 00 LOCAL COORDINATE SYSTEM SETTING
G53 00 MACHINE COORDINATE SYSTEM SETTING
G54 14 WORKPIECE COORDINATE SYSTEM 1 SELECTION
G55 14 WORKPIECE COORDINATE SYSTEM 2 SELECTION
G56 14 WORKPIECE COORDINATE SYSTEM 3 SELECTION
G57 14 WORKPIECE COORDINATE SYSTEM 4 SELECTION
G58 14 WORKPIECE COORDINATE SYSTEM 5 SELECTION
G59 14 WORKPIECE COORDINATE SYSTEM 6 SELECTION
G65 06 MACRO CALL
G66 12 MACRO CALL MODAL
G67 12 MACRO CALL MODAL CANCEL
G70 00 FINISHING CYCLE
G71 00 STOCK REMOVAL IN TURNING
G72 00 STOCK REMOVAL IN FACING
G73 00 PATTERN REPEATING
G74 00 END FACE PECK DRILLING
G75 00 OUTER DIA DRILLING CYCLE/ GROOVING CYCLE
G76 00 MULTIPLE THREADING CYCLE
G80 10 CANNED CYCLE CANCEL
G83 10 CANNED CYCLE FOR FACE DRILLING
G184 10 CANNED CYCLE FOR FACE TAPPING
G85 10 CANNED CYCLE FOR FACE BORING
G87 10 CANNED CYCLE FOR SIDE DRILLING
G188 10 CANNED CYCLE FOR SIDE TAPPING
G89 10 CANNED CYCLE FOR SIDE BORING
G90 01 OUTER DIA/ INTERNAL DIA CUTTING CYCLE
G92 01 THREAD CUTTING CYCLE
G94 01 END FACE TURNING CYCLE
G96 02 CONSTANT SURFACE SPEED
G97 02 CONSTANT SURFACE SPEED CANCEL
G98 05 FEED PER MINUTE
G99 05 FEED PER REVOLUTION
PROGRAMMING MANUAL -18-
M FUNCTIONS
M functions used in machining programs are described in this section, this is a general list for
the NL200Y and some codes may not be active due to the machine specification.
Please refer to the individual manual supplied with the machine.
These codes control functions complementary to those controlled by G codes. For instance,
coolant supply, head rotation direction, etc.
M CODE FUNCTION NOTE
M00 PROGRAM STOP
M01 OPTIONAL STOP
M02 PROGRAM END
M03 SPINDLE FORWARD
M04 SPINDLE REVERSE
M05 SPINDLE STOP
M08 COOLANT ON
M09 COOLANT OFF
M12 TAILSTOCK COOLANT / AIR BLOW ON OPTION
M13 SPINDLE FORWARD AND COOLANT ON
M14 SPINDLE REVERSE COOLANT ON
M17 MAIN SPINDLE LOCK
M18 MAIN SPINDLE UNLOCK
M19 SPINDLE ORIENTATION
M20 QUILL FORWARD
M21 QUILL BACKWARD
M22 SERVO TAILSTOCK BODY 2ND THRUST
M23 SPINDLE AIR BLOW ON
M24 SPINDLE AIR BLOW OFF
M25 BLOCK DELETE ON
M26 BLOCK DELETE OFF AND FINISH M81
M27 SUB SPINDLE LOCK OPTION
M28 SUB SPINDLE UNLOCK OPTION
M29 RIGID TAP
M30 RESET AND REWIND
M32 TURRET INDEX CW DIRECTION
M33 TURRET INDEX BY CCW DIRECTION
M34 CHIP CONVEYOR ON
M35 CHIP CONVEYOR OFF
M36 CHIP DISCARD WATER ON
M37 CHIP DISCARD WATER OFF
M38 G184 ENTRY TAP MODE
M39 G184 CANCEL TAP MODE
M41 LOW GEAR OPTION
M42 HIGH GEAR OPTION
M43 SLAVE SPINDLE SELECT
M44 C AXIS OFF
M45 C AXIS ON
M46 SECOND SPINDLE SELECT
M47 MASTER SPINDLE SELECT
M48 MAIN SPINDLE CHUCK INWARD MODE
M49 MAIN SPINDLE CHUCK OUTWARD MODE
M50 SUB SPINDLE CHUCK INWARD MODE OPTION
M51 SUB SPINDLE CHUCK OUTWARD MODE OPTION
PROGRAMMING MANUAL -19-
M52 TOOL ARM OUT OPTION
M53 TOOL ARM HOME OPTION
M55 AUTO DOOR OPEN OPTION
M56 AUTO DOOR CLOSE OPTION
M57 TURRET UNCLAMP TO FORCE
M58 SUB SPINDLE CHUCK CLOSE OPTION
M59 SUB SPINDLE CHUCK OPEN OPTION
M60 TAILSTOCK BODY CLAMP OPTION
M61 TAILSTOCK BODY UNCLAMP OPTION
M62 SERVO TAILSTOCK BODY FORWARD OPTION
M63 SERVO TAILSTOCK BODY BACKWARD OPTION
M64 SPINDLE HYDRAULIC PRESSURE LOW OPTION
M65 SPINDLE HYDRAULIC PRESSURE HIGH OPTION
M66 SPINDLE RUNNING, M68/M69 CAN EXECUTE
M67 CANCEL M66
M68 MAIN SPINDLE CHUCK OPEN
M69 MAIN SPINDLE CHUCK CLOSE
M70 PARTS CATCHER OUT
M74 PARTS CATCHER HOME
M75 SUB SPINDLE SWITCH TO SPEED CONTROL OPTION
M76
SUB SPINDLE SWITCH TO CONTOUR
CONTROL
OPTION
M77 M4= M3 AND M3=M4
M78 M77 OFF
M79 S1, S2 SYNCHRONISATION ON OPTION
M80 S1, S2 SYNCHRONISATION OFF OPTION
M81 BAR FEED PUSH
M82 BAR END CHECK
M83 BAR END CHECK CANCEL
M85 ERROR DETECT ON
M86 ERROR DETECT OFF
M87 CHAMFERING ON
M88 CHAMFERING OFF
M90 PARTS COUNTER
M98 CALL SUB PROGRAM
M99 END OF SUB PROGRAM
G32 for threading operations, always operate at fixed rpm (G97).
When retapping threads, do not release the work piece, do not change the speed
and do not change the start point.
PROGRAMMING MANUAL -21-
PROGRAMMING MANUAL -22-
CANNED CYCLES
G70 Finishing cycle
G70 P100 Q200
PÆ Block number from which the profile operation begins.
QÆ Block number from which the profile operation ends.
At the end of each cycle sequence the machine is always positioned in the position
at which this cycle sequence was started. The tool will be commonly located in the
position used for rough machining.
The profile allows changing X and Z direction.
G71 Longitudinal roughing cycle parallel to Z-axis
G71 U3 R1
G71 P100 Q200 U0.3 W0.1 F0.25
UÆ Cut depth on radius (mm).
RÆ Retraction in radial direction from diameter to prevent touching the machined diameter
(mm).
PÆ Block number from which the profile operation begins.
QÆ Number of end block of profile.
UÆ Finishing allowance for radius on X-axis (mm).
WÆ Finishing allowance on Z-axis (mm).
FÆ Instantaneous feed (mm/revolution).
At the end of each cycle sequence the machine is always positioned in the position
at which this cycle sequence was started.
The positioning allows changing X- and Z-axis direction.
PROGRAMMING MANUAL -23-
G72 Cross roughing cycle transversal parallel to X-axis
G72 W3 R1
G72 P100 Q200 U0.25 W0.1 F0.3
WÆ Depth of cut on Z-axis (mm).
RÆ Retraction amount.
PÆ Block number from which the profile operation begins.
QÆ Number of end block of profile.
UÆ Finishing allowance for radius on X-axis (mm).
WÆ Finishing allowance on Z-axis (mm).
FÆ Instantaneous feed (mm/revolution).
Same as the above one, excepting for the profile.
G73 Roughing cycle with passes parallel to profile
G73 U9 W9 R3
G73 P100 Q200 U0.4 W0.1 F0.3
UÆ Stock allowance (for radius) unmachined on X-axis (mm).
WÆ Stock allowance on Z-axis (mm).
RÆ Number of roughing passes.
PÆ Block number from which the profile operation begins.
QÆ Number of end block of profile.
UÆ Finishing allowance for radius on X-axis (mm).
WÆ Finishing allowance on Z-axis (mm).
FÆ Instantaneous feed (mm/revolution).
PROGRAMMING MANUAL -24-
G74 Drilling cycle (chip break)
G74 R0.5
G74 Z-100 Q2500 F0.25
RÆ Retract distance (chip break).
ZÆ Final drilling depth (absolute dimensions in mm).
QÆ Cut depth per pass (Microns).
FÆ Feed rate (mm/revolution).
G83 Peck drilling cycle
G0 G80 G99 X0 Y0 Z3
G83 Z-60 Q2000 F0.2
G80
ZÆ Final drilling depth (absolute dimensions in mm).
RÆ Distance from the initial position to the start point (incremental value, not required if
already in position)
QÆ Depth of cut (Microns).
PÆ Dwell time (s) at the bottom of the hole.
FÆ Feed rate (mm/revolution).
G84 Tapping cycle
G97 S500 M3
G0 G80 G99 X0 Y0 Z6
M29S500 (RIGID TAP ON)
G84 Z-10 F1
G80
ZÆ Final tapping depth (absolute dimensions in mm).
PÆ Dwell time (s) at the bottom of the hole.
FÆ Feed rate (mm/revolution).
G74 Front counter boring cycle
G74 R0.5
G74 X50 Z-4 P3000 Q4000 F0.15
RÆ Retraction (mm) to break chips.
X (U)Æ End position on X-axis (mm).
Z (W)Æ End position in slot direction (mm).
PÆ Step over on X-axis for next pass (Microns)
QÆ Cutting depth (Microns)
FÆ Feed rate (mm/revolution).
PROGRAMMING MANUAL -25-
G75 Longitudinal grooving cycle
G75 R0.2
G75 X43 W-7.5 P4000 Q2500 F0.15
RÆ Retraction (mm) to break chips
XÆ Groove bottom diameter (mm).
WÆ Groove end point on Z-axis (mm) if Z is specified in absolute dimensions and W is the
displacement in incremental mode; from left-hand to right-hand (W+) and from right-hand to
left-hand (W-), always subtracting tool width.
PÆ Cutting depth on X-axis (Microns).
QÆ Step over on Z-axis for next pass (Microns).
FÆ Feed rate (mm/revolution).
IMPORTANT: Roughing cycles are without tool radius compensation. Because of
this, higher allowances will be specified for X and Z depending on tool radius.
P03Æ Number of finishingpasses.
P00Æ Thread run out ; distance at which thread outlet is started, in tenths of turn Example: If
thread pitch is 2 and 20 is entered: 2mm x 2 turns = 4 mm (thread runs out 4mm before the
end point).
This is normally set to 00
P60Æ Thread angle in degrees
QÆ Minimum depth of cut (Microns).
RÆ Finishing allowance (mm).
XÆ Core diameter (mm).
ZÆ Thread end point on Z-axis (absolute dimensions in mm).
RÆ Height difference on radius (mm) for taper threads (Microns).
PÆ Thread depth (Microns).
QÆ Cut depth for first pass (Microns).
FÆ Thread pitch (mm).
N7 G28 U0.V0.
T707;
(GROOVE);
G50 S1000;
G96 S110 M3;
G0 G40 G99 X80 Y0 Z-55 M8;
G75 R.5; Grooving with chip breaking
G75 X69 Z-28 P3000 Q2500 F.1; Grooving, penetrate until ø69 and until Z(W)-28,
penetration in X(P) 3mm, movement in Z(Q) 2.5mm.
G0 X150 Z100 M9;
M30;
Groove width or groove end point can be defined with a W code in this example
(W27, that is, 30 – 3 of tool), if tool is positioned on the right-hand would be (W-27).
For either Z or W, tool width must be subtracted.
For control units with capability for machining profiles with X-axis direction
reversal, the first block for defining the profile must state the movement of the two
axes.
PROGRAMMING MANUAL -43-
PROGRAMMING MANUAL -44-
G72 Example of cross roughing cycle parallel to X-axis
The subprogram is called by means of command P followed by a number. This
number consists of four or more characters.
If the number consists of four characters, it indicates the identification number of
subprogram to be called.
If the number consists of more than four characters, the first four characters, from
right to left, indicate the identification number of subprogram to be called. Next
characters indicate the number of repetitions of subprogram to be called.
SUBPROGRAM FOR A SLOT:
O1001 (SUBPROGRAM FOR GROOVING)
W-10
G1 X30 F0.1
G4 X1
G0 X36
M99
As described above, a subprogram or part of a subprogram is repeatedly called by means of a
command P followed by several numerical characters. In this example, the subprogram is
repeatedly called by means of “P21001”.
This command consists of three parts:
“P” Æ calling a subprogram.
“2” Æ number of subprogram repetitions.
“1001”Æ number consisting of four characters and directly referring to the subprogram.
The maximum number of repetitions for a subprogram in a single call is
9999.
PROGRAMMING MANUAL -51-
OTHER EXAMPLE OF SUBPROGRAM EXECUTION REPETITION
PROGRAM:
O0021 (EXAMPLE OF M98)
G21
G10 L2 P1 X0 Y0 Z-130
M98 P30002 (REPEATS 3 TIMES THE SUBPROGRAM 0002)
G0 X150 Z150 M9
The program example below is for reference, some modifications may be required due to variations in the
machine software and customer requirements, also this example assumes that #3708.0=1 spindle arrival
signal is set.
O5000 (BAR FEED DEMO)
G21
G10 L2 P1 X0. Y0 Z-165.
N12 G28 U0.V0.
T1212
(STOP)
M98 P8888
M1
O8888(EAGLE NL200Y SUPER 80) O8889(EAGLE NL200Y SUPER 80 LOAD NEW BAR)
XÆ Final drilling depth (absolute dimensions in mm)
HÆ distance between two holes in degrees.
KÆ number of holes.
QÆ Depth of cut (microns).
FÆ Feed rate (mm/min).
M17Æ brake on (the brake will automatically unclamp before indexing within the
cycle, this is optional).
CÆ C-axis angle
QÆ Dwell at bottom of hole (optional)
XÆ X hole position (optional)
YÆ Y hole position (optional)
ZÆ Final tap depth
FÆ Thread pitch
MÆ Brake (optional)
If the optional dwell is omitted then no dwell is performed within the tapping cycle.
If the X and Y is omitted from the tapping cycle then the X and Y positioning prior
to the tapping cycle is assumed. Also if the brake is not required then this is also
omitted, use of the brake does increase the cycle time.
CÆ C-axis angle
QÆ Dwell at bottom of hole (optional)
XÆ Final tap depth
YÆ Y position (optional)
ZÆ Z position (optional)
FÆ Thread pitch
MÆ Brake (optional)
If the optional dwell is omitted then no dwell is performed within the tapping cycle.
If the Y and Z is omitted from the tapping cycle then the Y and Z positioning prior
to the tapping cycle is assumed. Also if the brake is not required then this is also
omitted, use of the brake does increase the cycle time.
See program example on page 61
PROGRAMMING MANUAL -57-
G83 Example of drilling cycle with Z-axis powered tool
O0022
G21
G10 L2 P1 X0 Y0 Z-100
N6 G28 U0. V0.
T606
(AXIAL 6MM DIA DRILL)
M5
M45
G28 H0
G97 S2500 M3
G0 G80 G98 X90 Y0 Z2 M8
G83 Z-10 K4 H90 F100
G80
M5
M44
G0 X150 Z150 M9
M1
ALTERNATIVE PROGRAM
This fixed drilling cycle can be programmed in the apparently more logic and simple
sequence, ie, 0º - 90º - 180º - 270º. This cycle would be as follows:
O0023
G21
G10 L2 P1 X0 Y0 Z-100
N6 G28 U0. V0.
T606
(AXIAL 6MM DIA DRILL)
M5
M45
G28 H0
G97 S2500 M3
G0 G80 G98 X90.Z2M8
G83 Z-10. Q2000 F100.
C90. Q2000
C180. Q2000
C270. Q2000
G80
M5
M44
G0 X150 Z150 M9
M1
PROGRAMMING MANUAL -58-
G87 Example of radial drilling cycle with X-axis
powered tool
3 HOLES SPACED 120º
O0024
G21
G10 L2 P1 X0 Y0 Z-100
N8 G28 U0 V0.
T808
(RADIAL 4MM DIA DRILL)
M5
M45
G28 H0
G97 S3500 M3
G0 G80 G98 X122. Y0 Z-15. M8
G87 X96.Q3000 F350.
C120.Q1000
C240.Q1000
G80
M5
M44
G0 X150.Z150.M9
M1
PROGRAMMING MANUAL -59-
G87 Example program of radial drilling cycle with X-axis
powered tool and using Y-axis positioning.
Polar coordinate interpolation is used when it is desired to perform milling operations on the
face of the work piece, which require synchronous movement of the spindle and live tooling
mounted on the turret.
When polar coordinate interpolation is commanded by the G112 or G12.1, the control interprets
several pieces of data to determine the direction and speed at which the axes must be moved
to reach the commanded end point.
The drawing below shows the coordinate system used with polar coordinate interpolation.
The programmed end points are laid out as coordinates on this plane.
Note the signs for X and C. The following program examples illustrate the use of this system.
1. The following G codes may be used when G112 is active: G1, G2, G3, G40,
G41, G42, G65, and G98.
2. G0 positioning is not allowed when G112 is active.
3. When using G2 or G3, the arc radius is specified using the R word.
4. M45 C axis mode must be active before commanding polar coordinate
interpolation.
5. The spindle should be oriented to C0 degrees before commanding polar
coordinate interpolation.
6. If machining in the X axis only, do not activate polar coordinate interpolation.
7. The unit of command for the C axis, when polar coordinate interpolation is used,
is MM or inches, not degrees.
8. When using cutter compensation during polar coordinate interpolation, the same
basic TNRC rules apply as with normal lathe programming. However, the
following rules must also be observed:-
PROGRAMMING MANUAL -63-
The tool radius and the quadrant must be loaded into the geometry offset file.
For polar coordinate interpolation, the X tool offset represents the centre of the
cutter and the tool tip location (Quadrant) will be set to 9.
9. The TNRC start up block (G41 or G42 line) must be programmed after the polar
coordinate interpolation command (G112 line) has been activated. For polar
coordinate interpolation, the X axis move must be equal to at least two times
the tool radius entered in the tool offset file. Program the G40 (TNRC cancel)
command before the block containing the G113 or G13.1 (cancel polar
coordinate interpolation).
10. Program restart and block restart are not allowed when G112 is active.
11. Specify the feedrate as millimetres per minute.
12. X values are diameters and C values are radii
PROGRAMMING MANUAL -64-
Tool nose radius compensation with G112 polar coordinate
interpolation
The drawings below show the combination of tool nose radius and circular interpolation codes
used with polar coordinate interpolation.
The shaded area in each drawing represents the finished part contour.
G41 Part right (cutter left) G42 Part left (cutter right)
G2 Clockwise arc G3 Counter-clockwise arc
G42 Part left (cutter right) G41 Part right (cutter left)
G2 Clockwise arc G3 Counter-clockwise arc
PROGRAMMING MANUAL -65-
Example of machining a rectangle with powered tool using C
Axis
Cylindrical interpolation is used to perform contoured milling operations on the outside diameter
of the workpiece. The Z and C words are used to specify the end points of the moves.
When using cylindrical interpolation, the C word is programmed in degrees.
C is also used to specify the radius of the part in the G107 or G7.1 block which activates
cylindrical interpolation.
The X word is used to program the depth of cut.
1. The following G codes may be used when G107 is active: G1, G2, G3, G40, G41,
G42, G65, and G98.
2. G0 positioning is not allowed when G107 is active.
3. When using G2 or G3, the arc radius is specified using the R word.
4. M45 C axis mode must be active before commanding cylindrical interpolation.
5. The spindle should be oriented to C0 degrees before commanding cylindrical
interpolation. The formula for calculating the value of the C word is shown in the
following program example.
6. If machining in the X axis only, do not activate cylindrical interpolation.
7. The H word is used to program incremental C axis moves.
8. Machine lock mode MAY NOT BE USED when G107 is active.
PROGRAMMING MANUAL -70-
9. The unit of command for the C axis, when cylindrical interpolation is used,
degrees, not MM or INCHES.
10. When using cutter compensation during cylindrical interpolation, the same
basic TNRC rules apply as with normal lathe programming. However, the
following rules must also be observed.
The tool radius and the quadrant must be loaded into the geometry offset file.
For cylindrical interpolation, the Z tool offset represents the centre of the cutter
and the tool tip location (Quadrant) will be set to 9.
11. The TNRC start up block (G41 or G42 line) must be programmed after
the cylindrical interpolation command (G107 line) has been activated. For
cylindrical interpolation, the Z axis move must be equal to at least the tool
radius entered in the tool offset file. Program the G40 (TNRC cancel)
command before the block containing the G107 C0 (cancel cylindrical
interpolation).
12. Program restart and block restart are not allowed when G107 is active.
13. Specify the feedrate as millimetres per minute.
PROGRAMMING MANUAL -71-
Tool nose radius compensation and circular interpolation used
with G107 cylindrical interpolation
The drawings below show the combination of tool nose radius and circular interpolation codes
used with cylindrical interpolation.
The part circumference is viewed laying flat with the part face (Z0) at the base.
G41 Part Right (Cutter Left) G42 Part Left (Cutter Right)
G2 Clockwise G3 Counter Clockwise
G42 Part Left (Cutter Right) G41 Part Right (Cutter Left)
G2 Clockwise G3 Counter Clockwise
The tailstock on the NL200Y is servo driven and is the “B” axis. It has the facility to be
positioned and have the desired thrust set using a custom page on the control.
Pressing the “CUSTOM” button on the control panel will bring up this page
The following parameters will need to be set
#1 THRUST
This sets the initial pressure that the tailstock applies.
#2 THRUST
This sets a secondary pressure if required
ERROR
This is a positional tolerance in microns for the “hold coord”
DEC COORD
This is the position where the tailstock will rapid too.
HOLD COORD
This is the position that the tailstock will feed to and apply the required thrust as previously set.
BACK COORD
This is the retraction position for the tailstock. These parameters will need to be set before
using the tailstock. To operate the tailstock you will first need to set your thrust and positional
parameters. Using the curser buttons cursor to the parameter to the parameter to change.
The thrust parameters are set by using the soft keys at the bottom of the screen F2 to F5.
By pressing these buttons you can dial in your required thrusts.
PROGRAMMING MANUAL -77-
Servo tailstock initial setup
•To set the tailstock position initially bring the tailstock up to the job using the hand wheel until
it is a safe distance away from the part then press “DEC COORD”
•Now move the tailstock forward until the centre engages the part then press “HOLD
COORD”
• The “BACK COORD” can then be set to a retract position that will allow the finished part to
be removed.
•To change the other figures you can either input them directly or use F1 Measure. Pressing
F1 Measure will input the position that the tailstock is currently in.
•Once these parameters are set you can then control the tailstock in the program.
M62 will rapid the tailstock to the “DEC COORD” then it will feed to the “HOLD COORD” and
apply the set pressure.
• M22 will set the #2 THRUST (optional)
• M63 will retract the tailstock to the “BACK COORD”
PROGRAMMING MANUAL -78-
U Drill adaptor installation
The NL200Y is equipped with a servo tailstock and is the “B” axis.
It has the facility to be used as a fully programmable driven axis enabling the use of U-drills.
The machine is supplied with two tailstock adaptors one with a morse taper for use with a
centre and one with a parallel shank to suit U-drills. The taper adaptor comes pre-fitted to the
tailstock.
The following instructions are how to fit the adaptor for the U-drill.
Using manual jog or the hand wheel bring the tailstock forward to enable full access to both
ends of the tailstock.
1. Using a 6mm allen key loosen and remove the M8 cap head screws holding the morse taper
adaptor to the tailstock body.
Using two longer M8 bolts insert them into the two threaded ejector holes on the front of the
adaptor plate. Gradually tighten these two screws until the front of the adaptor separates from
the tailstock body. Once this is done you can then remove the adaptor by pulling the adaptor
forwards out of the tailstock body.
2. Now you will need to remove the rear part of the morse taper adaptor. Using a suitable
spanner undo the coolant delivery pipe. Then using an allen key remove the three cap head
screws that secure the rear adaptor plate. You can now remove the rear adaptor plate by
pulling it out gently parallel to the body housing. Now that these two parts have been removed
put them in a safe place for when they are required again.
PROGRAMMING MANUAL -79-
3. The U-drill adaptor consists of three parts, The U-drill holder that goes into the front of the tailstock,
the rear coolant pipe support plate and the coolant pipe. Apply a small amount of grease to the Udrill holder and then insert it into the front of the tailstock body. This needs to be done gently as the
diameters are a precision fit. Do not
When it is in all the way, index the adaptor until the two flats are aligned with the two flats on the
tailstock body. Insert cap screws and tighten. This is the front part complete.
4. The rear plate screws on to the back of the tailstock body using three cap screws.
use a hammer to fit this part!
5. The coolant pipe inserts through the rear coolant pipe support plate. This is then screwed into the
back of the U-drill to provide through tool coolant. The adjuster nut is then tightened up to the
coolant pipe support plate.
PROGRAMMING MANUAL -80-
6. To connect the coolant delivery pipe drive the tailstock all of the way back to home then
remove the rear door to allow access to the pipefitting.
7. The coolant delivery pipe can then be connected to the coolant pipe and tightened with a
suitable spanner.
The installation of the U-drill holder is now complete.
To change back to the morse taper holder is a reversal of these instructions.
Loading...
+ hidden pages
You need points to download manuals.
1 point = 1 manual.
You can buy points or you can get point for every manual you upload.