Академический Документы
Профессиональный Документы
Культура Документы
INTRODUCTION TO COMPUTER
AIDED MANUFACTURING
1. WHAT IS COMPUTER AIDED MANUFACTURING?
Most machines need control systems to operate. There are many kinds of control systems, for
example, manual control, automatic control, computer control or remote control. For the
convenience of mass production, machines need to repeat precise, speedy and automatic actions
continuously. These machines may use mechanical, pneumatic and electrical systems to control.
However, some fixed procedures, changing procedures or tools may need a lot of time to restore
the whole system (Fig. 1).
As technology advances, electronic and computer technologies have been applied to a lot of
production machines to reduce the production time and increase both the quality and efficiency.
So, modern factories usually use numerical control machines, simply called NC machines. And
an NC machine that comes along with a computer is called a computer control numerical
machine, simply CNC machine (Fig. 2). A CNC machine uses digital information to control the
movements of tools and parts, for example, the spinning speed, the cutting speed, the moving
direction of tools etc. So, we can change quickly the production procedures simply by modifying
the information or program in the computer.
The production method that requires a computer to control the machines is called a computer
aided manufacturing, simply called CAM. CAM is closely related to the computer-aided design
(CAD) because the output information about the products from the CAD can assist the
composing of production program. Tests and productions can start immediately. This simplifies
the procedures from the designing to manufacturing of the product (Fig. 3).
(i) The computer can design the best tool path, spinning and cutting speeds of tools
according to the information of the product. This can help decrease the cost and time.
(iii) CNC machines can control precisely the tools movement in any axis, so it can cut
some complicated workpiece efficiently.
(iv) With the use of various input devices and the memories of computer, a CNC
machine can download and modify program efficiently, so the production procedures
can be made quickly.
(v) In operating the CNC machine, manual adjustment is not needed. Therefore, the
CNC machine can run at a high speed, and it requires less skillful workers to reduce
the labour cost.
(vi) CNC machine uses various designs to produce feedback, and so it can keep its
high
reliability and quality, this can help decrease the number of disqualified product and
the
cost of inspection.
(i) The cost of the machine is so high that some small factories may not be able to
afford.
(iii) The control system is complicated and sophisticated; therefore, the maintenance
cost is high.
CNC machine needs new designs to suit the needs of automation. Firstly, CNC
machine needs a precise path measuring system, so that the computer can detect
the position of tools and workpieces automatically (Fig. 4a). There are many
designs of path measuring system, for example, using the photoelectric detecting
device to input the electronic signals into the computer directly.
easier. Some machines use a turntable to store the tools allowing the automatic
system to change tools easier. Others use robotic arm to change the tools or
workpiece automatically (Fig. 5).
c) COORDINATE SYSTEM
CNC machine needs a coordinate system to control the tools. For example,
internationally used ISO R841 standardized format is a common standard. Tools
are needed to cut three dimensional workpieces. That means that the tools will
move in a three-dimensional space. Therefore the coordinate system should have
three perpendicular axes. The axes used are called x-axis, y-axis and z-axis
respectively. Their respective position can be shown by making the thumb, index
finger and middle finger of the right hand perpendicular to each other as shown
Fig. 6a, called the right-hand rule.
The rotational axis can be set by the main axes, A, B and C representing the rotational
axes that rotate about X, Y and Z axes respectively. Most of the rotational axes take
clockwise as positive value and anti-clockwise as negative value, as shown in Fig. 6b.
Furthermore, U, V and W are usually used to represent the minor axes that are parallel
to the main axes X, Y and Z; P, Q and R are usually used to represent axes that are far
away but parallel to the main axes X, Y and Z, for example, the axes on the workpiece.
There are various kinds of CNC machines, for examples, CNC drilling machine,
CNC lathe, CNC milling machine, etc.
A CNC drilling machine uses holding device to hold the drill, and then control
the rotational speed of the drill, the depth (Z-axis) of the drilling into the
workpiece and its width. The workpiece is usually clamped on the table that can
move on the surface (X and Y-axis). Because drills have different length,
therefore some CNC drilling machines use a program to compensate for the
depth of the drilling (Fig.7). Some CNC machines have an automatic drill change
system.
CNC LATHE
Most CNC lathes need to control the X and Z-axis (Fig. 8a), but some of them
need to increase the control of w-axis (Fig. 8b). Besides controlling the linear
path, CNC lathe can also control the rotational speed of the rotational axis,
cutting speed and tools exchange, etc.
CNC milling machine can be divided into two kinds, upright and horizontal, they
usually have continuous path controlling function, and they can control motion
that involved 3, 4, 5 or more axes (Fig. 9). More than that, most CNC milling
machines make use of the computer’s calculation function to find the linear or
curve path between two points automatically. That is why they can do cutting of
very complicated shapes.
Welding is a process that uses two electrodes to generate electric current to weld
metals. CNC spot welder is commonly used in automobile industry where
several welders are used to form a welding production line.
Laser cutting machines (Fig. 16) use high energy and focused laser to cut
metallic workpiece precisely. CNC laser cutting can use computer program to
control the 2-dimensional movement of a workpiece precisely, and so it can cut
things into complicated shapes
There are many other functions of CNC machine, for examples, CNC grinding
machine, CNC pipe deformer, CNC hydraulic cutting machine, etc. And because
computer technology is becoming more and more powerful, it is for sure that
more and more CNC machines will be available, for example, many factories
start to use robotic arms to do many processes.
The CNC machinery program will input the geometrical and technical
information into the digital controllers, while the input devices include paper
tape, magnetic tape, external keyboard, etc. After the digital controller has
processed all the information, the moving path of the tools and the suitable
procedures will be available. Lastly, the digital controller will control the whole
machine and its tools to process the materials into a required workpiece. The
composition of machinery program of the CNC machine usually follows the
internationally
recognized ISO R358 standardized format. But the USA or some other nearby
countries may use a similar US format EIA RS244
b) PROGRAMMING
There are many methods to compose a program by using ISO codes. The most
common one is the ISO standardized word and address format. It divides the whole
program into a number of blocks, and alphabets are used to represent different words
within the blocks. The lengths of the block and word depend on the needs of the
design.
Fig. 21 shows the structure of a CNC machinery program. The program is composed
by blocks. Each block uses different steps to control the order of the work. Each block
contains geometrical processing steps, and some of them may contain mechanical
functions. The blocks will be given numbers in order and they are separated by an end
code of $ sign. Each block is composed by one or more word. Every word is
composed of one identify alphabet and a group of numbers that are responsible for the
motion and exchange functions of the machine. A block can include different
commands, as shown on Table 1. For example, alphabet F represents the feeding rate,
so F200 means the feeding rate is 200 mm/min. The identifying alphabet in the front
of every word is called the address.
The words within blocks are usually composed of addresses and numerical values. An
address is represented by an alphabet (for example: G) with corresponding numerical
values behind it. So every address should appear only once in each block.
Furthermore, care should be taken for the decimal place of the numerical value, like
whether the 0 is in front or behind, and the numerical number unit, etc. The following
are some examples of words : N20 means sequence no. 20; G00 means the tools
moving rapidly to the appointed position (with given co-ordinates); F60 means the
tools moving with feeding rate of 60 mm per minute; M06 means change of tool, etc.
Words can be classified into codes that represent different function in more detail, for
example, G and M codes. Table 2 and 3 shows some common G and M codes that are
used in CNC machines. Several words form a block. Table 4 lists some blocks in a
The programmer only needs to make a draft of the working steps and data according to
the engineering drawing, and then uses the application software to input the
procedures. The application software will then analyze the data automatically to
produce the CNC machinery program. Application software have a number of
advantages:
Usually some easy symbolic language is used to represent geometric and technical
data.
Can reduce the time required to describe the workpiece and processing procedures.
Minimize the works like data entry, calculation, etc, so it can reduce the mistakes of
the CNC machinery program.
Some application software can even have a simulation program, so as to help the
programmer to check the mistakes and to modify the program. This can reduce the
time and money wasted when something goes wrong.
4. Use CNC machinery program required by the manufacturer of the CNC machine.
5. Choose a suitable safety device for the CNC machine, as Fig. 24 shown, for
example:
A see-through protecting device
Revolution fluctuation sensing device
Over-sliding safety restriction
Feedback from closed-loop encoder
Electronic locking protection device
Find where the emergency stop button is before operating the CNC machine.
Make sure the operation of CNC machine is totally stopped before entering the
working area of the CNC machine.
Use a clean towel to clean the grease on table and board, and use suitable tools
to remove the waste.
No tools or materials should be put on the top of the machine.
Avoid hitting the control part of the CNC machine.
by Mr. TCHASSI MICHEL 15
INTRODUCTION TO COMPUTER AIDED MANUFACTURING
Make sure there are safety arrangements before operating the CNC machine.
Do not touch any moving parts of the machine.
Do not leave the machine unattended while the machine is operating.
Obviously it would be difficult to write a CNC program in relation to Machine Coordinates.
The home position is
far away from the table, so values in the CNC program would be large and have no easily
recognized relation to
the part model. To make programming and setting up the CNC easier, a programming
origin is established for each CNC program. . The PRZ is the master reference point on which the
program and the setup are based.
Selecting the PRZ location relative to the part’s geometric
features is among the first critical decisions for planning. The WCS is a point selected by the
CNC programmer on the part, its selection requires careful consideration.
The WCS location must be able to be found by mechanical means such as an edge finder,
coaxial indicator
or part probe.
It must be repeatable: parts must be placed in exactly the same position every time.
It should take into account how the part will be rotated and moved as different sides
of the part are
machined.
Geometry Points
Programming Systems
X 1.0000 Y 1.0000
X 9.0000 Y 1.0000
X 9.0000 Y 9.0000
X 1.0000 Y 9.0000
Incremental mode (G91)
X 1.0000 Y 1.0000
X 8.0000
Y 8.0000
X -8.0000
AXIS
A FUNCTION
A true CNC machining center will allow you to control just about all of its functions in a program. There should
be very little or no operator intervention during a CNC machining cycle.
A program function is any letter of the program beyong thes which define dimensions . they are
necessary for good operation of the numerical control machine. The principal functions are those
starting by the following address: G,F,S,T,M and N
According to their mode of action ,we distinguish three types of functions
The preparrtory functions.
Program Structure
A program consists of a number of program blocks which follow a
certain structure, syntax and format rules. Each block consists of a
number of commands. See the figure below:
Command Format
A command consists of address characters (command word) and digital
numbers with characters (e.g. dimension word) or without characters (e.g.
preparatory function character command: G-code). Example: G01 X100
Z-90
Different commands in the program block may have different meaning in
different environments.
A program is executed based on the input order of the blocks, rather than
the order of block numbers. However, when you write a program, it is
recommended to write block numbers in the ascending order.
Start symbol
The symbol "%" (or "O") must be followed by a number (e.g. % 3256).
The program start symbol should be in a separate line, starting at the first
line and first character of the program.
Program end
M02: End the program
PREPARRTORY FUNCTIONS
They may sometime be refer as G-codes or cycle codes . they prepare the
machine for what is coming up in the current command and possibly in the up
coming command . in many cases, they set mode meaning once a G-code is
instated , it will remain in effect untill the mode changes is change or cancel
Modal
There are two kinds of G-codes based on their validity:
Auxiliary function commands consist of the address character "M" and digital numbers. It is used to
control the motion of the programs, various auxiliary switch of the machine, the start and stop of
the spindle, end of the program, etc.
Generally, one program block has only one valid M command. In this system, up to four M
commands can be specified in one block (M commands in the same group cannot be specified in the
same line).
The M commands (M00, M01, M02, M30, and M99) must be in a separate line. In other words, the
program line which contains any of the M commands mentioned above can contain only one M
command, and cannot have other commands such as G commands or T commands. The relationship
between the M commands and their functions depends on the specific settings of the machine
manufacturer.
Modal
Modal Group
Modal M commands are grouped according to different functions. Once the defined modal M
command has been executed, it remains valid until it is canceled by other modal M commands in
the same group.
The Modal M function group contains a default function which is the initial function when the
system is powered on.
The M function can also be divided into pre-M function and post-M function:
- Pre-M function
- Post-M function
press the Restart key under the auto machining sub menu, and press the
Start button on the control panel if you want to re-execute the program.
M02 indicates the non-modal post-M function.
The M04 command starts and rotates the spindle in a counter clockwise
direction at the speed specified in the program.
The M03 and M04 are modal pre-M functions. M05 is a modal post-M
function, which is the default function.
For the machines with armless type ATC, the tool change process is as
follows (e.g. to change the tool 15 on the spindle to tool 01, execute M06
T01.):
1. Move the spindle quickly to the fixed tool change position which
has been defined by the commissioning personnel.
3. Rotate the tool magazine to the position (the position of the tool 15
in Group 0).
4. The cylinder drives the tool magazine, and chucks the tool on the
spindle.
5. The cylinder releases the tool on the spindle, and blows to clean the
spindle.
6. The spindle moves upward, and moves away completely from the
tool.
7. The tool magazine rotates to the tool position of tool 01(the tool
number of Group 0 in the tool magazine changes to 01).
8. The spindle moves downward, and catches the tool.
PATUCULAR FUNCTION
S Commands
The S command is used to control the spindle rotation speed. The
number that follows S indicates the spindle speed in revolution per
minute (r/min).
The S command is a modal command, and the S function is valid only
when the spindle speed is adjustable.
T Commands
T commands are used for tool selection. The value that follows T
indicates the selected tool number. The relationship between T
commands and the tool is defined by the machine manufacturer.
Milling System
machining center to input a code signal or a strobe signal into the
machine, thereby controlling the rotation of the tool magazine to the
selected tool, and then wait until the completion of the tool change with
the M06 command. For armless type ATC, the M06 and T commands
must be written in the same block. During tool change, the tool number
(e.g. 15) of Group 0 must be the position of the tool clamped on the
spindle in the tool magazine. When you change the tool to another, you
need to firstly return the tool to the corresponding tool position in the
tool magazine (that is No. 15). Then there should be no tool in the
position of No.15, otherwise a collision may occur. The tools in the tool
magazine are automatically managed by the system, and cannot be
modified. After the machine starts, tool position(e.g. No. 15) facing to
the spindle must be the same as tool number of Group 0 in the tool
magazine, and there should be no tool in the corresponding tool position
(e.g. No. 15).
Therefore, when installing tools to the tool magazine, it is recommended
to firstly install the tool on the spindle, then in the MDI mode, run the M
and T commands (e.g. M06 T01) to install the tool through the spindle.
REMARK the above functions can be modal(remain active beyond the block in
which they were programmed)or not modal (active only in the block in which
they were programmed).
THE SIGN
It gives the direction of the tool displacement
THE MODULE
It is the numerical character. Example: (M3 3 is the module) ; (S53 53 is the module); (T40 40 is the
module)
This G code is for rapid traverse of the axes of our machine. The human mind thinks point to point,
and as
in the example below, we will move from X-3.0 Y-1.0 to X2.25 Y1.25 and we want to think the
machine
will move strait or “as the crow flies”. The code G00, means “MOVE AS FAST AS POSSIBLE”, which
means
move all axis at full speed. Since all of the axis will move at the same speed, the machine will make a
45
degree move till it achieves the position in one axis (Y in the example below) and finish the other till
the
point is achieved.
The G01 command is used primarily to machine straight surfaces on your workpiece, such as facing, milling a
straight surface, and milling angular surfaces. G01 can command moves on a single axis, or simultaneous
moves of all axes.
The G01 end point location depends on the programming mode in use. If in the absolute mode (G90), the end
point is taken from program. If programming in the incremental mode (G91), the
end point is measured from the tool’s current position prior to the motion command.
Example 1
Example 2
1) Plane selection
2) Arc start position coordinates
3) Rotation direction
4) Arc end position coordinates
5) Arc center coordinates or arc radius.
1 – Plane Selection – The machine is capable of cutting an arc on different axes, basically
meaning which
two ball screws need to turn to achieve the desired arc. If we want a arc cut parallel to the top
of the
table of the machine (using the X & Y ball screws), we use a code called G17 (X&Y Plane
Selection) to do
so. NOTE* G17 is a machine default, and is the most common setting. If we need to cut a arc
along the
left to right of the machine, down towards the table of the machine (using the X & Z ball screws)
then we
use the code G18. If we are going to cut an arc town towards the table along the front to rear of
the
machine (using the Y & Z) then we use G19.
2 – Arc Start Position – This is as simple as the position of the last move prior to the arc.
3 - Arc Direction – This is why we define G02 or G03, Clockwise vs. Counter – Clockwise from
the start
point. This is defined as the way the tool is looking at the arc, not necessarily the way you are
looking at it
on the machine.
4 – Arc End Co-Ordinates – This is where we want the arc to end. We define the end point of
the arc in
either G90 or G91, and we can use up to 3 axis to do so.
5 – Center of Arc Location – I, J, and K method or R method
I,J,K are used to define the distance from our known Start Point of our arc to the center of the
arc. I = the
incremental distance in X, J = the incremental distance in Y, and in the case of G18 and G19, K =
the
incremental distance in Z. All of these values tell the machine our arc “hinges” on a point so far
from the
arc start point.
R method enables the machine to find the location on it’s own. In our arc command line we
define the
end point, then tell the machine to maintain a certain radius between the points. The R method
will work
on arcs from 0 – 359.9999 degrees. If it is a full circle, we use I,J,K
Either system is valid. The R method arrived after machines were smart enough to calculate an
arc.
G02 Circular Interpolation Clockwise Command
The circular interpolation contouring control uses the axis information contained in a block to
move the
tool in a CLOCKWISE arc of a circle up to 360 degrees.
The velocity at which the tool is moved is controlled by the feedrate (F) command.
All circles are defined and machined by programming three pieces of information to the control:
1) START POINT of the arc
2) END POINT of the arc
3) ARC CENTER distance from the start point
The START POINT is defined prior to the G02 line, usually by a G01 linear positioning move.
The END POINT is defined by the “X” and “Y” coordinates within the G02 line when in the
G17 – XY PLANE.
The ARC CENTER is defined in the G02 line by the “I” and “J” values, when in the G17-XY
PLANE, or by a “R” value. Note the above will cut a .500 radius on the part.
To cut a complete circle of 360 degrees, program I, J, or K to define the center of the
circle. You
do not need to specify X, Y, or Z as an ending point. The following line will cut a
complete circle:
G02 I-2.5 (this command will interpolate a 360 degrees, 5.0 diameter circle)
G02 CW Circular Interpolation Using “I”, and “J” for the X & Y Axis
The “I”, “J”, and “K” values are INCREMENTAL distances from where the tool starts cutting the
arc (START
POINT) to the ARC CENTER.
When I, J or K are used to specify the center of the arc, R is not used. Only the I, J or K specific to
the
selected plane (IJ for G17, IK for G18, JK for G19) are allowed. If only one of the I, J K is specified,
the
others are assumed to be zero. The I, J or K is the distance from the starting point to the center
of the
circle. Using I, J, or K is the only way to cut a complete 360 degree arc; in this case, the starting
point is
the same as the ending point and no X, Y, or Z is needed. To cut a complete circle of 360 degrees
(360⁰),
you do not need to specify an ending point X, Y, or Z; just program I, J or K to define the center
of the
circle.
NOTE: This example of G02 circular moves is not using cutter compensation, and so the circular
moves
that are shown here are defined from the center of the cutter around the arc. For 90 degree
corners or
fillets the “I” and “J” values can be defined like you see below.
When
defining an arc less than 360 degrees using the R command, the X, Y, or Z needs to specify an
endpoint
different than the starting point. And R defines the distance from the starting point to the center
of the
circle. With a positive R, the control will generate a radius of 180 degrees or less; to generate a
radius of
over 180 degrees, you need to specify an R command with a negative value.
NOTE: This example of G02 circular moves is not using cutter compensation, and so the circular
moves
that are shown here are defined from the center of the cutter around arc. For 90 degree corners
or fillets
the “R” values can be defined like you see below:
defining
the very center of the cutter.
Coordinate System
Select Coordinate Planes (G17, G18, G19)
The coordinate plane selection command G17/G18/G19 is used to select
machining planes during circular interpolation, cutter radius
compensation (M), rotation transformation (M), etc.
Description
G code Plane
by Mr. TCHASSI MICHEL 43
INTRODUCTION TO COMPUTER AIDED MANUFACTURING
G17 XY plane
G18 ZX plane
G19 YZ plane
Attention
G17, G18, and G19 are modal functions, which can be canceled by each
other.
The motion command has nothing to do with the plane selection. For
example, the Z axis moves even the command G17 G01 Z10 is executed.
1) The mathematical computations for determining a tool path are greatly simplified.
2) The part, and not the tool center, is programmed. Therefore, the same program can be used
for a variety of different cutter diameters.
3) The same program path can be used for roughing, as well as finishing cuts, by using different
cutter offsets.
4) Inside, as well as outside, cuts can be performed.
Some Restrictions with Cutter Compensation
1) A cutter compensation command (G41 or G42) must be on the same block with an X and/or
Y linear move when ramping on to the part using cutter compensation.
2) You can only use cutter compensation in the G17 XY plane.
3) Cancel of cutter compensation command (G40) must be on the same block with an X and/or
Y linear move when ramping off the part using cutter compensation.
When activating cutter compensation, use this type of procedure
1) Position our tool at a X & Y location that is off of our part with enough room to allow us to
move from un-compensated to fully compensated, at least ½ our tool diameter.
2) Bring the “Z” axis down without cutter compensation in effect.
3) From our position in (1) above, program a X & Y location that would put us exactly on the
profile that we are trying to cut. Then include a G41 (LH) or a G42 (RH) compensation
command to tell the machine what side of the profile to keep the tool on. Also include the
D number of your tool. This move has to as large or larger than the amount of offset (radius)
that we are compensating for.
When canceling cutter compensation, care must be taken to:
1) Select a clearance point in “X” and/or “Y” axis off the part.
2) DO NOT cancel cutter compensation on any line that is still cutting the part.
3) Cancel of cutter compensation may be a one or two axis move.
4) Cancel of cutter compensation (G40) may need values entered for both “X” and “Y” axis.
This may need to be done to ensure that both axes will position to the location you want or
remain fixed and not move during the cancel (G40) process. This is a programming
technique that may be a programmer’s preference.
5) Linear move equal to or greater than the amount being compensated for (radius of the tool).
The cutter compensation commands are:
1) Cutter Comp Off (G40)
2) Cutter Comp Left (G41)
3) Cutter Comp Right (G42).
G40 Cutter Compensation Cancel
G40 will cancel the G41 or G42 cutter compensation commands. The tool will change from a
compensated position to an uncompensated position. Programming D00 will also cancel cutter
compensation.
G41 Cutter Compensation Left
G41 will select cutter compensation left; that is, the tool is moved to the left of the programmed
path to
compensate for the radius of the tool. A Dnn must also be programmed to select the correct
tool size
from the Tool Offset Register (D01 = Diameter Offset #1, D2 = #2, etc..)
by Mr. TCHASSI MICHEL 45
INTRODUCTION TO COMPUTER AIDED MANUFACTURING
Format
G17 (or G18/G19) G41 (or G42) G00 (or G01) IP_ D_;
Establish Tool Compensation
G17/G18/G19: Define the compensation plane, XY, YZ, ZX plane
respectively
G41/G42: Tool radius compensation is valid. G41: left compensation.
G42: Right compensation.
D: Define the tool radius compensation number.
DRILLING CYCLE
This command allows the programmer to specify that a hole be drilled to depth in one command. The G81
command makes an excellent command for center drilling and reaming.
Here is how the hole will be machined when under the influence of this cycle:
1) Rapid move to X and Y position in the canned cycle command.
2) The tool will rapid in Z to the R-plane (if not already there).
3) The tool will feed into the hole until the hole depth (Z value) is reached.
4) The tool will rapid out of the hole to the initial plane (unless G99 is specified).
EXAMPLE
Conduct drilling of the holes as shown in the figure below:
%3343
N10 G92 X0 Y0 Z80
N15 M03 S600
N20 G98 G81 G91 X20 Y15 G90 R20 Z-3 L2 F200
N30 G00 X0 Y0 Z80
N40 M30
Format
G82 X_ Y_ Z_ R_ P_ F_ L_;
Paramete
Description
r
The absolute position of the hole for absolute
programming (G90), or the distance from the current
XY tool position to the hole for incremental
programming
(G91).
The absolute position of the hole bottom along Z
axis
for absolute programming (G90), or the distance
Z
from
the hole bottom to the point R for incremental
programming (G91).
The absolute position of the point R for absolute
programming (G90), or the distance from the point
R R
to the initial plane for incremental programming
(G91).
The duration that the tool remains at the hole
P bottom.
Unit: millisecond
F Cutting feed speed.
The repeat count (Generally used for multi-hole
L machining to simplify programming. It is optional
when L=1.)
Operation procedure
1. The tool moves rapidly to the point B over the hole center.
2. Move rapidly to the point R, close to the workpiece.
3. Conduct drilling downward at the speed of F, to the point Z at the
hole bottom.
4. Delay P milliseconds with the rotation of the spindle.
5. Move upward rapidly to the point R
Attention
1. The drilling axis must be the Z axis.
2. If the movement amount of Z is zero, the command is not executed.
3. The G82 command data is saved as modal data.
4. Before using the command of G82, use the corresponding M
command to rotate the spindle.
Here is how the hole will be machined when under the influence of this cycle:
1) Rapid move to X and Y position.
2) The tool will rapid in Z to the R-plane (if not already there).
3) The tool will peck into the hole the amount specified by the “Q” word.
4) The tool will rapid out of the hole to the R-plane (to clear chips).
5) The tool will rapid back into the hole to the peck break distance (see Machine Setup Parameter)
above the previous peck depth.
6) The tool will feed to the incremented peck amount.
7) Steps 3 through 5 will be repeated until the hole depth (commanded by Z) is reached.
8) The tool will rapid out of the hole to the initial plane
Format
G83 X_ Y_ Z_ R_ Q_ K_ F_ L_ P_;
Paramete
Description
r
The absolute position of the hole for absolute
XY programming (G90), or the distance from the current tool
position to the hole for incremental programming (G91).
The absolute position of the hole bottom for absolute
Z programming (G90), or the distance from the hole bottom
to the point R for incremental programming (G91).
R The absolute position of the point R for absolute
Format
G84 X_ Y_ Z_ R_ Q_ P_ F_ L_H_J_;
Paramete
Description
r
The absolute position of the hole for absolute
programming (G90), or the distance from the current
XY tool position to the hole for incremental
programming
(G91).
Z The absolute position of the hole bottom for absolute
Format
G85 X_ Y_ Z_ R_ F_ L_;
Parameter Description
XY The absolute position of the hole for absolute
programming (G90), or the distance from the current
tool position to the hole for incremental programming
Operation procedure
1. The tool moves rapidly to the point B over the hole center.
2. Move rapidly to the point R, close to the workpiece.
3. Conduct boring downward at the
speed of F.
4. Move to the point Z at the hole bottom.
5. Exit upward rapidly to the point R (the spindle remains rotation).
6. Exit upward rapidly to the point B in the G98 mode.
REMARK
1. The boring axis must be the Z axis.
2. The point Z must be lower than the plane of point R; otherwise, an
alarm will be reported.
3. If the motion amount of Z, Q, and K are zero, the cycle is not
executed.
4. The G85 command data is saved as modal data.
5. Before using the command of G85, use the corresponding M
command to rotate the spindle.
Format
G89 X_ Y_ Z_ R_ P_ F_ L;
Parameter Description
The absolute position of the hole for absolute
XY programming (G90), or the distance from the current tool
position to the hole for incremental programming (G91).
The absolute position of the hole bottom for absolute
Z programming (G90), or the distance from the hole bottom
to the point R for incremental programming (G91).
The absolute position of the point R for absolute
R programming (G90), or the distance from the point R to
the initial plane for incremental programming (G91).
The duration that the tool remains at the hole bottom.
P
Unit: millisecond.
F Cutting feed speed.
The repeat count (Generally used for multi-hole
L machining, and therefore X or Y is an incremental
value.)
REMARK
1. The boring axis must be the Z axis.
2. The point Z must be lower than the plane of point R; otherwise, an
alarm will be reported.
3. The G89 command data is saved as modal data.
4. G89 is similar as G86, but with a pause at the hole bottom.
5. If the movement amount of Z is zero, this command is not executed.
6. Before using the command of G89, use the corresponding M
command to rotate the spindle.