FANUC Machining Center
FANUC Machining Center
FANUC Machining Center
USERS MANUAL
B-64304EN-2/01
SAFETY PRECAUTIONS
B-64304EN-2/01
SAFETY PRECAUTIONS
This section describes the safety precautions related to the use of CNC
units.
It is essential that these precautions be observed by users to ensure the
safe operation of machines equipped with a CNC unit (all descriptions
in this section assume this configuration). Note that some precautions
are related only to specific functions, and thus may not be applicable
to certain CNC units.
Users must also observe the safety precautions related to the machine,
as described in the relevant manual supplied by the machine tool
builder. Before attempting to operate the machine or create a program
to control the operation of the machine, the operator must become
fully familiar with the contents of this manual and relevant manual
supplied by the machine tool builder.
CONTENTS
DEFINITION OF WARNING, CAUTION, AND NOTE ................s-2
GENERAL WARNINGS AND CAUTIONS....................................s-3
WARNINGS AND CAUTIONS RELATED TO
PROGRAMMING .............................................................................s-6
WARNINGS AND CAUTIONS RELATED TO HANDLING........s-8
WARNINGS RELATED TO DAILY MAINTENANCE ...............s-11
s-1
SAFETY PRECAUTIONS
B-64304EN-2/01
WARNING
Applied when there is a danger of the user being
injured or when there is a danger of both the user
being injured and the equipment being damaged if
the approved procedure is not observed.
CAUTION
Applied when there is a danger of the equipment
being damaged, if the approved procedure is not
observed.
NOTE
The Note is used to indicate supplementary
information other than Warning and Caution.
s-2
SAFETY PRECAUTIONS
B-64304EN-2/01
WARNING
Never attempt to machine a workpiece without first
checking the operation of the machine. Before
starting a production run, ensure that the machine
is operating correctly by performing a trial run
using, for example, the single block, feedrate
override, or machine lock function or by operating
the machine with neither a tool nor workpiece
mounted. Failure to confirm the correct operation
of the machine may result in the machine behaving
unexpectedly, possibly causing damage to the
workpiece and/or machine itself, or injury to the
user.
Before operating the machine, thoroughly check
the entered data.
Operating the machine with incorrectly specified
data may result in the machine behaving
unexpectedly, possibly causing damage to the
workpiece and/or machine itself, or injury to the
user.
Ensure that the specified feedrate is appropriate
for the intended operation. Generally, for each
machine, there is a maximum allowable feedrate.
The appropriate feedrate varies with the intended
operation. Refer to the manual provided with the
machine to determine the maximum allowable
feedrate.
If a machine is run at other than the correct speed,
it may behave unexpectedly, possibly causing
damage to the workpiece and/or machine itself, or
injury to the user.
When using a tool compensation function,
thoroughly check the direction and amount of
compensation.
Operating the machine with incorrectly specified
data may result in the machine behaving
unexpectedly, possibly causing damage to the
workpiece and/or machine itself, or injury to the
user.
s-3
SAFETY PRECAUTIONS
B-64304EN-2/01
WARNING
5 The parameters for the CNC and PMC are
factory-set. Usually, there is not need to change
them. When, however, there is not alternative other
than to change a parameter, ensure that you fully
understand the function of the parameter before
making any change.
Failure to set a parameter correctly may result in
the machine behaving unexpectedly, possibly
causing damage to the workpiece and/or machine
itself, or injury to the user.
6 Immediately after switching on the power, do not
touch any of the keys on the MDI panel until the
position display or alarm screen appears on the
CNC unit.
Some of the keys on the MDI panel are dedicated
to maintenance or other special operations.
Pressing any of these keys may place the CNC
unit in other than its normal state. Starting the
machine in this state may cause it to behave
unexpectedly.
7 The Users Manual and programming manual
supplied with a CNC unit provide an overall
description of the machine's functions, including
any optional functions. Note that the optional
functions will vary from one machine model to
another. Therefore, some functions described in
the manuals may not actually be available for a
particular model. Check the specification of the
machine if in doubt.
8 Some functions may have been implemented at
the request of the machine-tool builder. When
using such functions, refer to the manual supplied
by the machine-tool builder for details of their use
and any related cautions.
CAUTION
The liquid-crystal display is manufactured with very
precise fabrication technology. Some pixels may
not be turned on or may remain on. This
phenomenon is a common attribute of LCDs and is
not a defect.
s-4
SAFETY PRECAUTIONS
B-64304EN-2/01
NOTE
Programs, parameters, and macro variables are
stored in nonvolatile memory in the CNC unit.
Usually, they are retained even if the power is
turned off.
Such data may be deleted inadvertently, however,
or it may prove necessary to delete all data from
nonvolatile memory as part of error recovery.
To guard against the occurrence of the above, and
assure quick restoration of deleted data, backup all
vital data, and keep the backup copy in a safe
place.
s-5
SAFETY PRECAUTIONS
B-64304EN-2/01
WARNING
Coordinate system setting
If a coordinate system is established incorrectly,
the machine may behave unexpectedly as a result
of the program issuing an otherwise valid move
command. Such an unexpected operation may
damage the tool, the machine itself, the workpiece,
or cause injury to the user.
Positioning by nonlinear interpolation
When performing positioning by nonlinear
interpolation (positioning by nonlinear movement
between the start and end points), the tool path
must be carefully confirmed before performing
programming. Positioning involves rapid traverse. If
the tool collides with the workpiece, it may damage
the tool, the machine itself, the workpiece, or
cause injury to the user.
Function involving a rotation axis
When programming normal-direction
(perpendicular) control, pay careful attention to the
speed of the rotation axis. Incorrect programming
may result in the rotation axis speed becoming
excessively high, such that centrifugal force causes
the chuck to lose its grip on the workpiece if the
latter is not mounted securely. Such mishap is
likely to damage the tool, the machine itself, the
workpiece, or cause injury to the user.
Inch/metric conversion
Switching between inch and metric inputs does not
convert the measurement units of data such as the
workpiece origin offset, parameter, and current
position. Before starting the machine, therefore,
determine which measurement units are being
used. Attempting to perform an operation with
invalid data specified may damage the tool, the
machine itself, the workpiece, or cause injury to the
user.
s-6
SAFETY PRECAUTIONS
B-64304EN-2/01
WARNING
5 Constant surface speed control
When an axis subject to constant surface speed
control approaches the origin of the workpiece
coordinate system, the spindle speed may become
excessively high. Therefore, it is necessary to
specify a maximum allowable speed. Specifying
the maximum allowable speed incorrectly may
damage the tool, the machine itself, the workpiece,
or cause injury to the user.
6 Stroke check
After switching on the power, perform a manual
reference position return as required. Stroke check
is not possible before manual reference position
return is performed. Note that when stroke check is
disabled, an alarm is not issued even if a stroke
limit is exceeded, possibly damaging the tool, the
machine itself, the workpiece, or causing injury to
the user.
7 Absolute/incremental mode
If a program created with absolute values is run in
incremental mode, or vice versa, the machine may
behave unexpectedly.
8 Plane selection
If an incorrect plane is specified for circular
interpolation, helical interpolation, or a canned
cycle, the machine may behave unexpectedly.
Refer to the descriptions of the respective
functions for details.
9 Torque limit skip
Before attempting a torque limit skip, apply the
torque limit. If a torque limit skip is specified
without the torque limit actually being applied, a
move command will be executed without
performing a skip.
10 Programmable mirror image
Note that programmed operations vary
considerably when a programmable mirror image is
enabled.
11 Compensation function
If a command based on the machine coordinate
system or a reference position return command is
issued in compensation function mode,
compensation is temporarily canceled, resulting in
the unexpected behavior of the machine.
Before issuing any of the above commands,
therefore, always cancel compensation function
mode.
s-7
SAFETY PRECAUTIONS
B-64304EN-2/01
WARNING
Manual operation
When operating the machine manually, determine
the current position of the tool and workpiece, and
ensure that the movement axis, direction, and
feedrate have been specified correctly. Incorrect
operation of the machine may damage the tool, the
machine itself, the workpiece, or cause injury to the
operator.
Manual reference position return
After switching on the power, perform manual
reference position return as required.
If the machine is operated without first performing
manual reference position return, it may behave
unexpectedly. Stroke check is not possible before
manual reference position return is performed.
An unexpected operation of the machine may
damage the tool, the machine itself, the workpiece,
or cause injury to the user.
Manual handle feed
In manual handle feed, rotating the handle with a
large scale factor, such as 100, applied causes the
tool and table to move rapidly. Careless handling
may damage the tool and/or machine, or cause
injury to the user.
Disabled override
If override is disabled (according to the
specification in a macro variable) during threading,
rigid tapping, or other tapping, the speed cannot be
predicted, possibly damaging the tool, the machine
itself, the workpiece, or causing injury to the
operator.
Origin/preset operation
Basically, never attempt an origin/preset operation
when the machine is operating under the control of
a program. Otherwise, the machine may behave
unexpectedly, possibly damaging the tool, the
machine itself, the tool, or causing injury to the
user.
s-8
SAFETY PRECAUTIONS
B-64304EN-2/01
WARNING
6 Workpiece coordinate system shift
Manual intervention, machine lock, or mirror
imaging may shift the workpiece coordinate
system. Before attempting to operate the machine
under the control of a program, confirm the
coordinate system carefully.
If the machine is operated under the control of a
program without making allowances for any shift in
the workpiece coordinate system, the machine
may behave unexpectedly, possibly damaging the
tool, the machine itself, the workpiece, or causing
injury to the operator.
7 Software operator's panel and menu switches
Using the software operator's panel and menu
switches, in combination with the MDI panel, it is
possible to specify operations not supported by the
machine operator's panel, such as mode change,
override value change, and jog feed commands.
Note, however, that if the MDI panel keys are
operated inadvertently, the machine may behave
unexpectedly, possibly damaging the tool, the
machine itself, the workpiece, or causing injury to
the user.
8 RESET key
Pressing the RESET key stops the currently
running program. As a result, the servo axes are
stopped. However, the RESET key may fail to
function for reasons such as an MDI panel
problem. So, when the motors must be stopped,
use the emergency stop button instead of the
RESET key to ensure security.
9 Manual intervention
If manual intervention is performed during
programmed operation of the machine, the tool
path may vary when the machine is restarted.
Before restarting the machine after manual
intervention, therefore, confirm the settings of the
manual absolute switches, parameters, and
absolute/incremental command mode.
10 Feed hold, override, and single block
The feed hold, feedrate override, and single block
functions can be disabled using custom macro
system variable #3004. Be careful when operating
the machine in this case.
s-9
SAFETY PRECAUTIONS
B-64304EN-2/01
WARNING
11 Dry run
Usually, a dry run is used to confirm the operation
of the machine. During a dry run, the machine
operates at dry run speed, which differs from the
corresponding programmed feedrate. Note that the
dry run speed may sometimes be higher than the
programmed feed rate.
12 Cutter and tool nose radius compensation in
MDI mode
Pay careful attention to a tool path specified by a
command in MDI mode, because cutter or tool
nose radius compensation is not applied. When a
command is entered from the MDI to interrupt in
automatic operation in cutter or tool nose radius
compensation mode, pay particular attention to the
tool path when automatic operation is subsequently
resumed. Refer to the descriptions of the
corresponding functions for details.
13 Program editing
If the machine is stopped, after which the
machining program is edited (modification,
insertion, or deletion), the machine may behave
unexpectedly if machining is resumed under the
control of that program. Basically, do not modify,
insert, or delete commands from a machining
program while it is in use.
s-10
SAFETY PRECAUTIONS
B-64304EN-2/01
s-11
SAFETY PRECAUTIONS
B-64304EN-2/01
WARNING
2 Absolute pulse coder battery replacement
When replacing the memory backup batteries,
keep the power to the machine (CNC) turned on,
and apply an emergency stop to the machine.
Because this work is performed with the power on
and the cabinet open, only those personnel who
have received approved safety and maintenance
training may perform this work.
When replacing the batteries, be careful not to
and
touch the high-voltage circuits (marked
fitted with an insulating cover).
Touching the uncovered high-voltage circuits
presents an extremely dangerous electric shock
hazard.
NOTE
The absolute pulse coder uses batteries to
preserve its absolute position.
If the battery voltage drops, a low battery voltage
alarm is displayed on the machine operator's panel
or screen.
When a low battery voltage alarm is displayed,
replace the batteries within a week. Otherwise, the
absolute position data held by the pulse coder will
be lost.
Refer to the FANUC SERVO MOTOR i series
Maintenance Manual for details of the battery
replacement procedure.
s-12
SAFETY PRECAUTIONS
B-64304EN-2/01
WARNING
3 Fuse replacement
Before replacing a blown fuse, however, it is
necessary to locate and remove the cause of the
blown fuse.
For this reason, only those personnel who have
received approved safety and maintenance training
may perform this work.
When replacing a fuse with the cabinet open, be
careful not to touch the high-voltage circuits
(marked
and fitted with an insulating cover).
Touching an uncovered high-voltage circuit
presents an extremely dangerous electric shock
hazard.
s-13
TABLE OF CONTENTS
B-64304EN-2/01
TABLE OF CONTENTS
SAFETY PRECAUTIONS............................................................................s-1
DEFINITION OF WARNING, CAUTION, AND NOTE ............................................. s-2
GENERAL WARNINGS AND CAUTIONS............................................................... s-3
WARNINGS AND CAUTIONS RELATED TO PROGRAMMING ............................ s-6
WARNINGS AND CAUTIONS RELATED TO HANDLING...................................... s-8
WARNINGS RELATED TO DAILY MAINTENANCE ............................................. s-11
I. GENERAL
1
GENERAL ............................................................................................... 3
1.1
1.2
1.3
II. PROGRAMMING
1
GENERAL ............................................................................................. 11
1.1
5.2
TABLE OF CONTENTS
5.2.2
5.2.3
5.2.4
5.2.5
5.3
5.4
5.5
5.6
Extraction override....................................................................................... 87
Override signal............................................................................................. 89
B-64304EN-2/01
6.2
6.3
6.4
6.5
6.6
Overview ..............................................................................................................119
G53, G28, and G30 Commands in Tool Length Compensation Mode ................125
Overview ..............................................................................................................153
Tool Movement in Start-up ..................................................................................157
Tool Movement in Offset Mode...........................................................................163
Tool Movement in Offset Mode Cancel...............................................................184
Prevention of Overcutting Due to Cutter Compensation......................................192
Interference Check ...............................................................................................196
6.6.6.1
6.6.6.2
6.6.6.3
6.6.7
6.7
6.8
6.9
6.10
6.11
6.12
c-2
TABLE OF CONTENTS
B-64304EN-2/01
III. OPERATION
1
................................... 254
APPENDIX
A
PARAMETERS.................................................................................... 263
A.1
A.2
A.3
B.2
B.3
Differences in Specifications................................................................................328
Differences in Diagnosis Display .........................................................................328
B.11
Differences in Specifications................................................................................326
Differences in Diagnosis Display .........................................................................327
B.10
Differences in Specifications................................................................................325
Differences in Diagnosis Display .........................................................................325
B.9
Differences in Specifications................................................................................322
Differences in Diagnosis Display .........................................................................324
B.8
Differences in Specifications................................................................................320
Differences in Diagnosis Display .........................................................................321
B.7
Differences in Specifications................................................................................319
Differences in Diagnosis Display .........................................................................319
B.6
Differences in Specifications................................................................................318
Differences in Diagnosis Display .........................................................................318
B.5
Differences in Specifications................................................................................316
Differences in Diagnosis Display .........................................................................317
B.4
Differences in Specifications................................................................................315
Differences in Diagnosis Display .........................................................................315
Differences in Specifications................................................................................329
Differences in Diagnosis Display .........................................................................329
Differences in Specifications................................................................................330
Differences in Diagnosis Display .........................................................................330
c-3
TABLE OF CONTENTS
B.12
B.13
Differences in Specifications................................................................................356
Differences in Diagnosis Display .........................................................................356
B.27
Differences in Specifications................................................................................355
Differences in Diagnosis Display .........................................................................355
B.26
Differences in Specifications................................................................................350
Differences in Diagnosis Display .........................................................................354
B.25
Differences in Specifications................................................................................349
Differences in Diagnosis Display .........................................................................349
B.24
Differences in Specifications................................................................................348
Differences in Diagnosis Display .........................................................................348
B.23
Differences in Specifications................................................................................347
Differences in Diagnosis Display .........................................................................347
B.22
Differences in Specifications................................................................................342
Differences in Diagnosis Display .........................................................................346
B.21
Differences in Specifications................................................................................341
Differences in Diagnosis Display .........................................................................341
B.20
Differences in Specifications................................................................................338
Differences in Diagnosis Display .........................................................................340
B.19
Differences in Specifications................................................................................337
Differences in Diagnosis Display .........................................................................337
B.18
Differences in Specifications................................................................................336
Differences in Diagnosis Display .........................................................................336
B.17
Differences in Specifications................................................................................333
Differences in Diagnosis Display .........................................................................334
Miscellaneous.......................................................................................................335
B.16
Differences in Specifications................................................................................332
Differences in Diagnosis Display .........................................................................332
B.15
Differences in Specifications................................................................................331
Differences in Diagnosis Display .........................................................................331
B.14
B-64304EN-2/01
Differences in Specifications................................................................................357
Differences in Diagnosis Display .........................................................................358
Differences in Specifications................................................................................359
Differences in Diagnosis Display .........................................................................359
c-4
TABLE OF CONTENTS
B-64304EN-2/01
B.28
B.29
B.30
Differences in Specifications................................................................................375
Differences in Diagnosis Display .........................................................................375
B.38
Differences in Specifications................................................................................373
Differences in Diagnosis Display .........................................................................374
B.37
Differences in Specifications................................................................................367
Differences in Diagnosis Display .........................................................................372
B.36
Differences in Specifications................................................................................366
Differences in Diagnosis Display .........................................................................366
B.35
Differences in Specifications................................................................................365
Differences in Diagnosis Display .........................................................................365
B.34
Differences in Specifications................................................................................363
Differences in Diagnosis Display .........................................................................364
B.33
Differences in Specifications................................................................................362
Differences in Diagnosis Display .........................................................................362
B.32
Differences in Specifications................................................................................361
Differences in Diagnosis Display .........................................................................361
B.31
Differences in Specifications................................................................................360
Differences in Diagnosis Display .........................................................................360
Differences in Specifications................................................................................376
Differences in Diagnosis Display .........................................................................376
Differences in Specifications................................................................................377
Differences in Diagnosis Display .........................................................................377
c-5
I. GENERAL
GENERAL
B-64304EN-2/01
1.GENERAL
GENERAL
This manual consists of the following parts:
GENERAL
Describes chapter organization, applicable models, related
manuals, and notes for reading this manual.
II.
PROGRAMMING
Describes each function: Format used to program functions in the
NC language, characteristics, and restrictions.
III. OPERATION
Describes the manual operation and automatic operation of a
machine, procedures for inputting and outputting data, and
procedures for editing a program.
APPENDIX
Lists parameters, valid data ranges, and alarms.
NOTE
1 This manual describes the functions that can
operate in the M series path control type. For
other functions not specific to the M series , refer to
the User's Manual (Common to Lathe
System/Machining Center System) (B-64304EN).
2 Some functions described in this manual may not
be applied to some products. For detail, refer to the
DESCRIPTIONS manual (B-64302EN).
3 This manual does not detail the parameters not
mentioned in the text. For details of those
parameters, refer to the parameter manual
(B-64310EN).
Parameters are used to set functions and
operating conditions of a CNC machine tool, and
frequently-used values in advance. Usually, the
machine tool builder factory-sets parameters so
that the user can use the machine tool easily.
4 This manual describes not only basic functions but
also optional functions. Look up the options
incorporated into your system in the manual written
by the machine tool builder.
-3-
1.GENERAL
GENERAL
B-64304EN-2/01
Applicable models
The models covered by this manual, and their abbreviations are :
Model name
Abbreviation
0i-MD
Series 0i-MD
0i Mate-MD
Series 0i Mate-MD
Special symbols
This manual uses the following symbols:
- IP
Indicates a combination of axes such as X_ Y_ Z_
In the underlined position following each address, a numeric value
such as a coordinate value is placed (used in PROGRAMMING.).
-;
Indicates the end of a block. It actually corresponds to the ISO code
LF or EIA code CR.
-4-
B-64304EN-2/01
1.GENERAL
GENERAL
-5-
Specification
number
B-64302EN
B-64303EN
B-64303EN-1
B-64304EN
B-64304EN-1
B-64304EN-2
B-64305EN
B-64310EN
B-64304EN-3
B-64303EN-2
B-64304EN-5
B-64303EN-3
B-64393EN
B-64404EN
B-64414EN
B-63874EN
B-63874EN-2
B-63874EN-1
B-64434EN
B-64254EN
1.GENERAL
GENERAL
B-64304EN-2/01
Specification
number
B-65262EN
B-65272EN
B-65302EN
B-65312EN
B-65282EN
B-65322EN
B-65285EN
B-65325EN
B-65270EN
B-65280EN
-6-
1.1
1.GENERAL
GENERAL
B-64304EN-2/01
Part
drawing
CNC
PART II, "PROGRAMMING"
Machine Tool
Before the actual programming, make the machining plan for how to
machine the part.
Machining plan
1. Determination of workpieces machining range
2. Method of mounting workpieces on the machine tool
3. Machining sequence in every cutting process
4. Cutting tools and cutting conditions
Decide the cutting method in every cutting process.
Cutting process
Cutting procedure
1. Cutting method :
Rough
Semi
Finish
2. Cutting tools
3. Cutting conditions :
Feedrate
Cutting depth
4. Tool path
-7-
1
End face
cutting
2
Outer
diameter
cutting
3
Grooving
1.GENERAL
1.2
GENERAL
B-64304EN-2/01
1.3
-8-
II. PROGRAMMING
PROGRAMMING
B-64304EN-2/01
1.GENERAL
GENERAL
Chapter 1, "GENERAL", consists of the following sections:
1.1 TOOL FIGURE AND TOOL MOTION BY PROGRAM .........12
- 11 -
1.GENERAL
1.1
PROGRAMMING
B-64304EN-2/01
Explanation
- Machining using the end of cutter - Tool length compensation function
Usually, several tools are used for machining one workpiece. The
tools have different tool length. It is very troublesome to change the
program in accordance with the tools.
Therefore, the length of each tool used should be measured in advance.
By setting the difference between the length of the standard tool and
the length of each tool in the CNC (See Chapter Setting and
Displaying Data in Users Manual (Common to Lathe System /
Machining Center System)), machining can be performed without
altering the program even when the tool is changed. This function is
called tool length compensation (See Chapter, Compensation
Function in this manual).
H1
H3
H2
H4
Standard
tool
Workpiece
Workpiece
Tool
Because a cutter has a radius, the center of the cutter path goes around
the workpiece with the cutter radius deviated.
If radius of cutters are stored in the CNC (See Chapter Setting and
Displaying Data in Users Manual (Common to Lathe System /
Machining Center System)), the tool can be moved by cutter radius
apart from the machining part figure. This function is called cutter
compensation (See Chapter, Compensation Function in this
manual).
- 12 -
B-64304EN-2/01
PROGRAMMING
2.PREPARATORY FUNCTION
(G FUNCTION)
PREPARATORY FUNCTION
(G FUNCTION)
A number following address G determines the meaning of the
command for the concerned block.
G codes are divided into the following two types.
Type
One-shot G code
Modal G code
Meaning
The G code is effective only in the block in which it
is specified.
The G code is effective until another G code of the
same group is specified.
(Example)
G01 and G00 are modal G codes in group 01.
G01 X_ ;
Z_ ; G01 is effective in this range.
X_ ;
G00 Z_ ; G00 is effective in this range.
X_ ;
G01 X_ ;
:
- 13 -
2. PREPARATORY FUNCTION
(G FUNCTION)
PROGRAMMING
B-64304EN-2/01
Explanation
1.
2.
3.
4.
5.
6.
7.
- 14 -
PROGRAMMING
B-64304EN-2/01
2.PREPARATORY FUNCTION
(G FUNCTION)
Group
01
00
17
02
06
04
00
01
00
07
19
08
00
08
11
22
00
Function
Positioning (rapid traverse)
Linear interpolation (cutting feed)
Circular interpolation CW or helical interpolation CW
Circular interpolation CCW or helical interpolation CCW
Dwell, Exact stop
AI advanced preview control / AI contour control
HRV3 on/off
Cylindrical interpolation
Exact stop
Programmable data input
Programmable data input mode cancel
Polar coordinates command cancel
Polar coordinates command
Xp: X axis or its parallel axis
XpYp plane selection
Yp: Y axis or its parallel axis
ZpXp plane selection
Zp: Z axis or its parallel axis
YpZp plane selection
Input in inch
Input in mm
Stored stroke check function on
Stored stroke check function off
Reference position return check
Automatic return to reference position
Movement from reference position
2nd, 3rd and 4th reference position return
Skip function
Threading
Automatic tool length measurement
Cutter compensation : corner circular interpolation
Cutter compensation : cancel
Cutter compensation : left
Cutter compensation : right
Normal direction control cancel mode
Normal direction control on : left
Normal direction control on : right
Tool length compensation +
Tool length compensation Tool offset : increase
Tool offset : decrease
Tool offset : double increase
Tool offset : double decrease
Tool length compensation cancel
Scaling cancel
Scaling
Programmable mirror image cancel
Programmable mirror image
Local coordinate system setting
Machine coordinate system setting
- 15 -
2. PREPARATORY FUNCTION
(G FUNCTION)
PROGRAMMING
B-64304EN-2/01
Group
14
00
15
00
12
16
09
01
09
01
09
34
09
03
00
05
13
Function
Workpiece coordinate system 1 selection
Additional workpiece coordinate system selection
Workpiece coordinate system 2 selection
Workpiece coordinate system 3 selection
Workpiece coordinate system 4 selection
Workpiece coordinate system 5 selection
Workpiece coordinate system 6 selection
Single direction positioning
Exact stop mode
Automatic corner override
Tapping mode
Cutting mode
Macro call
Macro modal call
Macro modal call cancel
Coordinate system rotation mode on
Coordinate system rotation mode off
Peck drilling cycle
Left-handed tapping cycle
Plunge grinding cycle (for grinding machine)
Fine boring cycle
Plunge direct sizing/grinding cycle (for grinding machine)
Continuous-feed surface grinding cycle (for grinding machine)
Intermittent-feed surface grinding cycle (for grinding machine)
Canned cycle cancel
Electronic gear box : synchronization cancellation
Electronic gear box : synchronization cancellation
Electronic gear box : synchronization start
Drilling cycle or spot boring cycle
Electronic gear box : synchronization start
Drilling cycle or counter boring cycle
Peck drilling cycle
Tapping cycle
Rigid tapping cycle (FS10/11 format)
Left-handed rigid tapping cycle (FS10/11 format)
Boring cycle
Boring cycle
Back boring cycle
Boring cycle
Boring cycle
Absolute programming
Incremental programming
Checking the maximum incremental amount specified
Setting for workpiece coordinate system or clamp at maximum spindle speed
Workpiece coordinate system preset
Inverse time feed
Feed per minute
Feed per revolution
Constant surface speed control
Constant surface speed control cancel
- 16 -
2.PREPARATORY FUNCTION
(G FUNCTION)
PROGRAMMING
B-64304EN-2/01
Group
10
20
Function
Canned cycle : return to initial level
Canned cycle : return to R point level
In-feed control cancel (for grinding machine)
In-feed control (for grinding machine)
- 17 -
3.INTERPOLATION FUNCTION
PROGRAMMING
B-64304EN-2/01
INTERPOLATION FUNCTION
Chapter 3, "INTERPOLATION FUNCTION", consists of the
following sections:
3.1 SINGLE DIRECTION POSITIONING (G60) ...........................19
3.2 THREADING (G33)...................................................................22
- 18 -
B-64304EN-2/01
3.1
3.INTERPOLATION FUNCTION
PROGRAMMING
Start point
Start point
End point
Temporary stop
Format
G60 IP_ ;
IP_ : For an absolute programming, the coordinates of an
end point, and for an incremental programming, the
distance the tool moves.
Explanation
An overrun and a positioning direction are set by the parameter No.
5440. Even when a commanded positioning direction coincides with
that set by the parameter, the tool stops once before the end point.
G60, which is a one-shot G-code, can be used as a modal G-code in
group 01 by setting 1 to the bit 0 (MDL) of parameter No. 5431.
This setting can eliminate specifying a G60 command for every block.
Other specifications are the same as those for a one-shot G60
command. When a one-shot G code is specified in the single direction
positioning mode, the one-shot G command is effective like G codes
in group 01.
(Example)
When one-shot G60 commands are used.
G90;
G60 X0Y0;
Single direction positioning
G60 X100;
G60 Y100;
G04 X10;
G00 X0Y0;
When modal G60 command is used.
Single direction positioning mode start
G90G60;
X0Y0;
Single direction positioning
X100;
Y100;
G04X10;
Single direction positioning mode cancel
G00X0 Y0;
- 19 -
3.INTERPOLATION FUNCTION
PROGRAMMING
B-64304EN-2/01
- Overview of operation
Limitation
PROGRAMMING
B-64304EN-2/01
3.INTERPOLATION FUNCTION
- 21 -
3.INTERPOLATION FUNCTION
3.2
PROGRAMMING
B-64304EN-2/01
THREADING (G33)
Straight threads with a constant lead can be cut. The position coder
mounted on the spindle reads the spindle speed in real-time. The read
spindle speed is converted to the feedrate per minute to feed the tool.
Format
Z
G33IP_ F_ ;
F : Long axis direction lead
Workpiece
X
Explanation
In general, threading is repeated along the same tool path in rough
cutting through finish cutting for a screw. Since threading starts
when the position coder mounted on the spindle outputs a 1-turn
signal, threading is started at a fixed point and the tool path on the
workpiece is unchanged for repeated threading. Note that the spindle
speed must remain constant from rough cutting through finish cutting.
If not, incorrect thread lead will occur.
In general, the lag of the servo system, etc. will produce somewhat
incorrect leads at the starting and ending points of a thread cut. To
compensate for this, a threading length somewhat longer than required
should be specified.
Table 3.2 (a) lists the ranges for specifying the thread lead.
Table 3.2 (a) Ranges of lead sizes that can be specified
Least
command
Command value range of the lead
increment
Metric input
Inch input
0.001 mm
0.0001 mm
0.0001 inch
0.00001 inch
- 22 -
B-64304EN-2/01
PROGRAMMING
3.INTERPOLATION FUNCTION
NOTE
1 The spindle speed is limited as follows :
1 spindle speed (Maximum feedrate) / (Thread
lead)
Spindle speed : min-1
Thread lead : mm or inch
Maximum feedrate : mm/min or inch/min ; maximum
command-specified feedrate for feed-per-minute
mode or maximum feedrate that is determined
based on mechanical restrictions including those
related to motors, whichever is smaller
2 Cutting feedrate override is not applied to the
converted feedrate in all machining process from
rough cutting to finish cutting. The feedrate is fixed
at 100%
3 The converted feedrate is limited by the upper
feedrate specified.
4 Feed hold is disabled during threading. Pressing the
feed hold key during threading causes the machine
to stop at the end point of the next block after
threading (that is, after the G33 mode is terminated)
Example
Threading at a pitch of 1.5mm
G33 Z10. F1.5;
- 23 -
PROGRAMMING
B-64304EN-2/01
- 24 -
B-64304EN-2/01
4.1
PROGRAMMING
Format
Gxx Gyy G16;
G00 IP_ ;
:
:
G15;
- 25 -
PROGRAMMING
B-64304EN-2/01
- Setting the origin of the workpiece coordinate system as the origin of the polar
coordinate system
Specify the radius (the distance between the origin and the point) to be
programmed with an absolute programming. The origin of the
workpiece coordinate system is set as the origin of the polar
coordinate system.
When a local coordinate system (G52) is used, the origin of the local
coordinate system becomes the center of the polar coordinates.
Command position
Command position
Radius
Angle
Actual position
Radius
Actual position
Angle
- Setting the current position as the origin of the polar coordinate system
Specify the radius (the distance between the current position and the
point) to be programmed with an incremental programming. The
current position is set as the origin of the polar coordinate system.
Command position
Command position
Angle
Radius
Radius Angle
Actual position
Actual position
When the angle is specified with an
absolute command
Example
Bolt hole circle
Y
- The origin of the workpiece coordinate
system is set as the origin of the polar
coordinate system.
- The XY plane is selected.
150
30
270
100mm
- 26 -
B-64304EN-2/01
PROGRAMMING
Limitation
- Specifying a radius in the polar coordinate mode
In the polar coordinate mode, specify a radius for circular
interpolation or helical interpolation (G02, G03) with R.
- Axes that are not considered part of a polar coordinate command in the polar
coordinate mode
Axes specified for the following commands are not considered part of
the polar coordinate command:
Dwell (G04)
Programmable data input (G10)
Local coordinate system setting (G52)
Workpiece coordinate system setting (G92)
Machine coordinate system setting (G53)
Stored stroke check (G22)
Coordinate system rotation (G68)
Scaling (G51)
5. FUNCTIONS TO SIMPLIFY
PROGRAMMING
PROGRAMMING
B-64304EN-2/01
FUNCTIONS TO SIMPLIFY
PROGRAMMING
Chapter 5, "FUNCTIONS TO SIMPLIFY PROGRAMMING",
consists of the following sections:
5.1
5.2
5.3
5.4
5.5
5.6
- 28 -
PROGRAMMING
B-64304EN-2/01
5.1
5.FUNCTIONS TO SIMPLIFY
PROGRAMMING
Overview
Canned cycles for drilling make it easier for the programmer to create
programs. With a canned cycle, a frequently-used machining
operation can be specified in a single block with a G function; without
canned cycles, normally more than one block is required. In addition,
the use of canned cycles can shorten the program to save memory.
Table 5.1 (a) lists canned cycles for drilling.
Table 5.1 (a) Canned cycles for drilling
Drilling
Operation at the
Retraction
G code
(-Z direction) bottom of a hole (+Z direction)
G73
Intermittent
feed
G74
Feed
G76
Feed
G80
G81
Feed
G82
Feed
G83
Intermittent
feed
G84
Feed
G85
G86
Feed
Feed
G87
Feed
G88
Feed
G89
Feed
Application
High-speed
Rapid traverse peck drilling
cycle
Dwell
Left-hand
Feed
Spindle CW
tapping cycle
Oriented spindle
Fine boring
Rapid traverse
stop
cycle
Cancel
Drilling cycle,
Rapid traverse spot drilling
cycle
Drilling cycle,
Dwell
Rapid traverse counter boring
cycle
Peck drilling
Rapid traverse
cycle
Dwell
Feed
Tapping cycle
Spindle CCW
Feed
Boring cycle
Spindle stop
Rapid traverse Boring cycle
Back boring
Spindle CW
Rapid traverse
cycle
Dwell
Manual
Boring cycle
Spindle stop
Dwell
Feed
Boring cycle
-
Explanation
A canned cycle for drilling consists of a sequence of six operations.
Operation 1 .........Positioning of axes X and Y (including also
another axis)
Operation 2 .........Rapid traverse up to point R level
Operation 3 .........Hole machining
Operation 4 .........Operation at the bottom of a hole
Operation 5 ...........Retraction to point R level
Operation 6 ...........Rapid traverse up to the initial point
- 29 -
5. FUNCTIONS TO SIMPLIFY
PROGRAMMING
PROGRAMMING
B-64304EN-2/01
Operation 1
Initial level
Operation 2
Operation 6
Point R level
Operation 5
Operation 3
Operation 4
Rapid traverse
Feed
- Positioning plane
The positioning plane is determined by plane selection code G17, G18,
or G19.
The positioning axis is an axis other than the drilling axis.
- Drilling axis
Although canned cycles for drilling include tapping and boring cycles
as well as drilling cycles, in this chapter, only the term drilling will be
used to refer to operations implemented with canned cycles.
The drilling axis is a basic axis (X, Y, or Z) not used to define the
positioning plane, or any axis parallel to that basic axis.
The axis (basic axis or parallel axis) used as the drilling axis is
determined according to the axis address for the drilling axis specified
in the same block as G codes G73 to G89.
If no axis address is specified for the drilling axis, the basic axis is
assumed to be the drilling axis.
Table 5.1 (b)
G code
G17
G18
G19
- 30 -
Zp
Yp
Xp
B-64304EN-2/01
5.FUNCTIONS TO SIMPLIFY
PROGRAMMING
PROGRAMMING
Example
Assume that the U, V and W axes be parallel to the X, Y, and Z axes
respectively. This condition is specified by parameter No. 1022.
G17 G81 Z_ _ : The Z axis is used for drilling.
G17 G81 W_ _ : The W axis is used for drilling.
G18 G81 Y_ _ : The Y axis is used for drilling.
G18 G81 V_ _ : The V axis is used for drilling.
G19 G81 X_ _ : The X axis is used for drilling.
G19 G81 U_ _ : The U axis is used for drilling.
G17 to G19 may be specified in a block in which any of G73 to
G89 is not specified.
CAUTION
Switch the drilling axis after canceling a canned
cycle for drilling.
NOTE
A parameter FXY (No. 5101 #0) can be set to the Z
axis always used as the drilling axis. When
FXY=0, the Z axis is always the drilling axis.
- Travel distance along the drilling axis G90/G91
The travel distance along the drilling axis varies for G90 and G91 as
follows:
G90 (Absolute programming)
Point R
Z=0
Point Z
Point R
Z
Point Z
- Drilling mode
G73, G74, G76, and G81 to G89 are modal G codes and remain in
effect until canceled. When in effect, the current state is the drilling
mode.
Once drilling data is specified in the drilling mode, the data is retained
until modified or canceled.
Specify all necessary drilling data at the beginning of canned cycles;
when canned cycles are being performed, specify data modifications
only.
- 31 -
5. FUNCTIONS TO SIMPLIFY
PROGRAMMING
PROGRAMMING
B-64304EN-2/01
Initial level
Point R level
- Repeat
To repeat drilling for equally-spaced holes, specify the number of
repeats in K_.
K is effective only within the block where it is specified.
Specify the first hole position in incremental programming (G91).
If it is specified in absolute programming (G90), drilling is repeated at
the same position.
Number of repeats K
NOTE
For K, specify an integer of 0 or 1 to 9999.
- Single block
If a drilling cycle is performed in a single block, the control unit stops
at each of the end points of operations 1, 2, and 6 in Figure 5.1 (a).
This means that three starts are made to make a single hole. At the end
points of operations 1 and 2, the feed hold lamp turns on and the
control unit stops. If the repetitive count is not exhausted at the end
point of operation 6, the control unit stops in the feed hold mode, and
otherwise, stops in the single block stop mode. Note that G87 does not
cause a stop at point R in G87. G88 causes a stop at point Z after a
dwell.
- 32 -
PROGRAMMING
B-64304EN-2/01
5.FUNCTIONS TO SIMPLIFY
PROGRAMMING
- Cancel
To cancel a canned cycle, use G80 or a group 01 G code.
Group 01 G codes
G00 : Positioning (rapid traverse)
G01 : Linear interpolation
G02 : Circular interpolation or helical interpolation (CW)
G03 : Circular interpolation or helical interpolation (CCW)
G60 : Single directional positioning (if bit 0 (MDL) of parameter No.
5431 is "1")
- Symbols in figures+
Subsequent sections explain the individual canned cycles. Figures in
these Explanation use the following symbols:
OSS
- 33 -
5. FUNCTIONS TO SIMPLIFY
PROGRAMMING
5.1.1
PROGRAMMING
B-64304EN-2/01
Format
G73 X_ Y_ Z_ R_ Q_ F_ K_ ;
X_ Y_
Z_
R_
Q_
F_
K_
:
:
:
:
:
:
G73 (G99)
Initial level
Point R
Point R
Point Z
Point R level
Point Z
Explanation
- Operations
The high-speed peck drilling cycle performs intermittent feeding
along the Z-axis. When this cycle is used, chips can be removed
from the hole easily, and a smaller value can be set for retraction.
This allows, drilling to be performed efficiently. Set the clearance, d,
in parameter 5114.
The tool is retracted in rapid traverse.
- Spindle rotation
Before specifying G73, rotate the spindle using an auxiliary function
(M code).
- 34 -
B-64304EN-2/01
PROGRAMMING
5.FUNCTIONS TO SIMPLIFY
PROGRAMMING
- Auxiliary function
When the G73 code and an M code are specified in the same block,
the M code is executed at the time of the first positioning operation.
When K is used to specify the number of repeats, the M code is
executed for the first hole only; for the second and subsequent holes,
the M code is not executed.
Limitation
- Axis switching
Before the drilling axis can be changed, the canned cycle for drilling
must be canceled.
- Drilling
In a block that does not contain X, Y, Z, R, or any other axes, drilling
is not performed.
-Q
Specify Q in blocks that perform drilling. If they are specified in a
block that does not perform drilling, they cannot be stored as modal
data.
- Cancel
Do not specify a G code of the 01 group (G00 to G03) and G73 in a
single block. Otherwise, G73 will be canceled.
- Tool offset
In the canned cycle mode for drilling, tool offsets are ignored.
Example
M3 S2000 ;
Cause the spindle to start rotating.
G90 G99 G73 X300. Y-250. Z-150. R-100. Q15. F120. ;
Position, drill hole 1, then return to point R.
Y-550. ;
Position, drill hole 2, then return to point R.
Y-750. ;
Position, drill hole 3, then return to point R.
X1000. ;
Position, drill hole 4, then return to point R.
Y-550. ;
Position, drill hole 5, then return to point R.
G98 Y-750. ;
Position, drill hole 6, then return to the initial level.
G80 G28 G91 X0 Y0 Z0 ; Return to the reference position
M5 ;
Cause the spindle to stop rotating.
- 35 -
5. FUNCTIONS TO SIMPLIFY
PROGRAMMING
5.1.2
PROGRAMMING
B-64304EN-2/01
Format
G74 X_ Y_ Z_ R_ P_ Q_ F_ K_ ;
X_ Y_
Z_
R_
P_
Q_
F_
K_
:
:
:
:
:
G74 (G99)
Initial level
Point R
Spindle
CCW
Point Z
Spindle CW
Point R
Spindle
CCW
P
Point R level
Point Z
Spindle CW
Explanation
- Operations
Tapping is performed by turning the spindle counterclockwise.
When the bottom of the hole has been reached, the spindle is rotated
clockwise for retraction. This creates a reverse thread.
CAUTION
Feedrate overrides are ignored during left-handed
tapping. A feed hold does not stop the machine
until the return operation is completed.
- 36 -
B-64304EN-2/01
PROGRAMMING
5.FUNCTIONS TO SIMPLIFY
PROGRAMMING
- Spindle rotation
Before specifying G74, use an auxiliary function (M code) to rotate
the spindle counterclockwise.
If drilling is continuously performed with a small value specified for
the distance between the hole position and point R level or between
the initial level and point R level, the normal spindle speed may not be
reached at the start of hole cutting operation. In this case, insert a
dwell before each drilling operation with G04 to delay the operation,
without specifying the number of repeats for K. For some machines,
the above note may not be considered. Refer to the manual provided
by the machine tool builder.
- Q command
After setting bit 6 (PCT) of parameter No. 5104 to 1, add address Q to
the ordinary tapping cycle command format and specify the depth of
cut for each tapping.
In the peck tapping cycle, the tool is retracted to point R for each
tapping. In the high-speed peck tapping cycle, the tool is retracted
by the retraction distance specified for parameter No. 5213 in advance.
Which operation is to be performed can be selected by setting bit 5
(PCP) of parameter No. 5200.
Operation
First, ordinary tapping cycle operation is explained as basic operation.
Before specifying a tapping cycle, rotate the spindle using an auxiliary
function.
1. When a command to position the tool to a hole position,
positioning is performed.
2. When point R is specified, positioning to point R is performed.
3. Tapping is performed to the bottom of the hole in cutting feed.
4. When a dwell time (P) is specified, the tool dwells.
5. Auxiliary function M05 (spindle stop) is output and the machine
enters the FIN wait state.
6. When FIN is returned, auxiliary function M04 (reverse spindle
rotation) is output and the machine enters the FIN wait state.
7. When FIN is returned, the tap is removed until point R is reached
in cutting feed.
8. When a dwell time (P) is specified, the tool dwells.
9. Auxiliary function M05 (spindle stop) is output and the machine
enters the FIN wait state.
10. When FIN is returned, auxiliary function M03 (forward spindle
rotation) is output, and the machine enters the FIN wait state.
11. When FIN is returned, the tool returns to the initial point in rapid
traverse when return to the initial level is specified.
When the repetitive count is specified, operation is repeated from step
1.
- 37 -
5. FUNCTIONS TO SIMPLIFY
PROGRAMMING
PROGRAMMING
B-64304EN-2/01
Tapping
<1> Positioning to a hole
<2> Positioning to point R
<8> Dwell
<3> Tapping to the bottom of the hole
<4> Dwell
Workpiece
- 38 -
5.FUNCTIONS TO SIMPLIFY
PROGRAMMING
PROGRAMMING
B-64304EN-2/01
q:
Depth of cut
d:
Clearance
<1> Tapping
Point R level
<4> Retraction
d
<1> Tapping
q
d
<1> Tapping
5. FUNCTIONS TO SIMPLIFY
PROGRAMMING
PROGRAMMING
B-64304EN-2/01
When a dwell time (P) is specified, the tool dwells only when it
reaches at the bottom of the hole and reaches point R.
q:
Depth of cut
d:
Retraction distance
Point R level
<1> Tapping
<4> Retraction
<1> Tapping
<4> Retraction
<1> Tapping
Notes
1.
- 40 -
PROGRAMMING
B-64304EN-2/01
5.FUNCTIONS TO SIMPLIFY
PROGRAMMING
Example 3
N10 G83 X100. Y150. Z-100. Q20. ;
N15 G80 ; The canned cycle mode is canceled.
N20 G84 Z-100. ;
N30 G80 ;
Example 4
N10 G83 X100. Y150. Z-100. Q20. ;
N20 G84 Z-100. Q0 ; Q0 is added.
N30 G80 ;
2.
The unit for the reference axis that is set by parameter No. 1031,
not the unit for the drilling axis is used as the unit of Q. Any
sign is ignored.
- Auxiliary function
When the G74 command and an M code are specified in the same
block, the M code is executed at the time of the first positioning
operation. When K is used to specify the number of repeats, the M
code is executed for the first hole only; for the second and subsequent
holes, the M code is not executed.
Limitation
- Axis switching
Before the drilling axis can be changed, the canned cycle for drilling
must be canceled.
- Drilling
In a block that does not contain X, Y, Z, R, or any other axes, drilling
is not performed.
-P
Specify P in blocks that perform drilling. If it is specified in a block
that does not perform drilling, it cannot be stored as modal data.
- Cancel
Do not specify a G code of the 01 group (G00 to G03) and G74 in a
single block. Otherwise, G74 will be canceled.
- Tool offset
In the canned cycle mode for drilling, tool offsets are ignored.
- 41 -
5. FUNCTIONS TO SIMPLIFY
PROGRAMMING
PROGRAMMING
B-64304EN-2/01
Example
M4 S100 ;
Cause the spindle to start rotating.
G90 G99 G74 X300. Y-250. Z-150. R-120. F120. ;
Position, tapping hole 1, then return to point R.
Y-550. ;
Position, tapping hole 2, then return to point R.
Y-750. ;
Position, tapping hole 3, then return to point R.
X1000. ;
Position, tapping hole 4, then return to point R.
Y-550. ;
Position, tapping hole 5, then return to point R.
G98 Y-750. ;
Position, tapping hole 6, then return to the initial
level.
G80 G28 G91 X0 Y0 Z0 ; Return to the reference position
M5 ;
Cause the spindle to stop rotating.
- 42 -
PROGRAMMING
B-64304EN-2/01
5.1.3
5.FUNCTIONS TO SIMPLIFY
PROGRAMMING
Format
G76 X_ Y_ Z_ R_ Q_ P_ F_ K_ ;
X_ Y_
Z_
R_
Q_
P_
F_
K_
:
:
:
:
:
:
:
G76 (G99)
Spindle CW
Initial level
Spindle orientation
Tool
Spindle CW
Point R
P
OSS
Point R level
Point R
Point Z
P
OSS
Point Z
Shift amount q
Explanation
- Operations
When the bottom of the hole has been reached, the spindle is stopped
at the fixed rotation position, and the tool is moved in the direction
opposite to the tool nose and retracted. This ensures that the
machined surface is not damaged and enables precise and efficient
boring to be performed.
- Spindle rotation
Before specifying G76, use a Auxiliary function (M code) to rotate the
spindle.
- Auxiliary function
When the G76 command and an M code are specified in the same
block, the M code is executed at the time of the first positioning
operation. When K is used to specify the number of repeats, the M
code is executed for the first hole only; for the second and subsequent
holes, the M code is not executed.
- 43 -
5. FUNCTIONS TO SIMPLIFY
PROGRAMMING
PROGRAMMING
B-64304EN-2/01
Limitation
- Axis switching
Before the drilling axis can be changed, the canned cycle for drilling
must be canceled.
- Drilling
In a block that does not contain X, Y, Z, R, or any additional axes,
drilling is not performed.
- P/Q
Be sure to specify a positive value in Q. If Q is specified with a
negative value, the sign is ignored. Set the direction of shift in the
parameter (No.5148).
Specify P and Q in a block that performs drilling. If they are
specified in a block that does not perform drilling, they are not stored
as modal data.
CAUTION
Q (shift at the bottom of a hole) is a modal value
retained within canned cycles for drilling. It must
be specified carefully because it is also used as the
depth of cut for G73 and G83.
- Cancel
Do not specify a G code of the 01 group (G00 to G03) and G76 in a
single block. Otherwise, G76 will be canceled.
- Tool offset
In the canned cycle mode for drilling, tool offsets are ignored.
Example
M3 S500 ;
Cause the spindle to start rotating.
G90 G99 G76 X300. Y-250.
Position, bore hole 1, then return to point R.
Z-150. R-120. Q5.
Orient at the bottom of the hole, then shift by 5
mm.
P1000 F120. ;
Stop at the bottom of the hole for 1 s.
Y-550. ;
Position, drill hole 2, then return to point R.
Y-750. ;
Position, drill hole 3, then return to point R.
X1000. ;
Position, drill hole 4, then return to point R.
Y-550. ;
Position, drill hole 5, then return to point R.
G98 Y-750. ;
Position, drill hole 6, then return to the initial level.
G80 G28 G91 X0 Y0 Z0 ; Return to the reference position
M5 ;
Cause the spindle to stop rotating.
- 44 -
PROGRAMMING
B-64304EN-2/01
5.1.4
5.FUNCTIONS TO SIMPLIFY
PROGRAMMING
Format
G81 X_ Y_ Z_ R_ F_ K_ ;
X_ Y_
Z_
R_
F_
K_
:
:
:
:
:
G81 (G99)
Initial level
Point R
Point R
Point Z
Point R level
Point Z
Explanation
- Operations
After positioning along the X- and Y-axes, rapid traverse is performed
to point R.
Drilling is performed from point R to point Z.
The tool is then retracted in rapid traverse.
- Spindle rotation
Before specifying G81, use an auxiliary function (M code) to rotate
the spindle.
- Auxiliary function
When the G81 command and an M code are specified in the same
block, the M code is executed at the time of the first positioning
operation. When K is used to specify the number of repeats, the M
code is performed for the first hole only; for the second and
subsequent holes, the M code is not executed.
- 45 -
5. FUNCTIONS TO SIMPLIFY
PROGRAMMING
PROGRAMMING
B-64304EN-2/01
Limitation
- Axis switching
Before the drilling axis can be changed, the canned cycle for drilling
must be canceled.
- Drilling
In a block that does not contain X, Y, Z, R, or any other axes, drilling
is not performed.
- Cancel
Do not specify a G code of the 01 group (G00 to G03) and G81 in a
single block. Otherwise, G81 will be canceled.
- Tool offset
In the canned cycle mode for drilling, tool offsets are ignored.
Example
M3 S2000 ;
Cause the spindle to start rotating.
G90 G99 G81 X300. Y-250. Z-150. R-100. F120. ;
Position, drill hole 1, then return to point R.
Y-550. ;
Position, drill hole 2, then return to point R.
Y-750. ;
Position, drill hole 3, then return to point R.
X1000. ;
Position, drill hole 4, then return to point R.
Y-550. ;
Position, drill hole 5, then return to point R.
G98 Y-750. ;
Position, drill hole 6, then return to the initial level.
G80 G28 G91 X0 Y0 Z0 ; Return to the reference position
M5 ;
Cause the spindle to stop rotating.
- 46 -
PROGRAMMING
B-64304EN-2/01
5.1.5
5.FUNCTIONS TO SIMPLIFY
PROGRAMMING
Format
G82 X_ Y_ Z_ R_ P_ F_ K_ ;
X_ Y_
Z_
R_
P_
F_
K_
:
:
:
:
:
:
G82 (G99)
Initial level
Point R
Point R
Point Z
Point R level
Point Z
Explanation
- Operations
After positioning along the X- and Y-axes, rapid traverse is performed
to point R.
Drilling is then performed from point R to point Z.
When the bottom of the hole has been reached, a dwell is performed.
The tool is then retracted in rapid traverse.
- Spindle rotation
Before specifying G82, use an auxiliary function (M code) to rotate
the spindle.
- Auxiliary function
When the G82 command and an M code are specified in the same
block, the M code is executed at the time of the first positioning
operation. When K is used to specify the number of repeats, the M
code is executed for the first hole only; for the second and subsequent
holes, the M code is not executed.
- 47 -
5. FUNCTIONS TO SIMPLIFY
PROGRAMMING
PROGRAMMING
B-64304EN-2/01
Limitation
- Axis switching
Before the drilling axis can be changed, the canned cycle for drilling
must be canceled.
- Drilling
In a block that does not contain X, Y, Z, R, or any other axes, drilling
is not performed.
-P
Specify P in blocks that perform drilling. If it is specified in a block
that does not perform drilling, it cannot be stored as modal data.
- Cancel
Do not specify a G code of the 01 group (G00 to G03) and G82 in a
single block. Otherwise, G82 will be canceled.
- Tool offset
In the canned cycle mode for drilling, tool offsets are ignored.
Example
M3 S2000 ;
Cause the spindle to start rotating.
G90 G99 G82 X300. Y-250. Z-150. R-100. P1000 F120. ;
Position, drill hole 1, and dwell for 1 s at the
bottom of the hole, then return to point R.
Y-550. ;
Position, drill hole 2, then return to point R.
Y-750. ;
Position, drill hole 3, then return to point R.
X1000. ;
Position, drill hole 4, then return to point R.
Y-550. ;
Position, drill hole 5, then return to point R.
G98 Y-750. ;
Position, drill hole 6, then return to the initial level.
G80 G28 G91 X0 Y0 Z0 ; Return to the reference position
M5 ;
Cause the spindle to stop rotating.
- 48 -
PROGRAMMING
B-64304EN-2/01
5.1.6
5.FUNCTIONS TO SIMPLIFY
PROGRAMMING
Format
G83 X_ Y_ Z_ R_ Q_ F_ K_ ;
X_ Y_
Z_
R_
Q_
F_
K_
:
:
:
:
:
:
G83 (G99)
Initial level
Point R
Point R
q
d
q
d
q
Point Z
Point R level
q
d
q
q
d
Point Z
Explanation
- Operations
Q represents the depth of cut for each cutting feed. It must always be
specified as an incremental value.
In the second and subsequent cutting feeds, rapid traverse is
performed up to a d point just before where the last drilling ended, and
cutting feed is performed again. d is set in parameter (No.5115).
Be sure to specify a positive value in Q. Negative values are
ignored.
- Spindle rotation
Before specifying G83, use an auxiliary function (M code) to rotate
the spindle.
- Auxiliary function
When the G83 command and an M code are specified in the same
block, the M code is executed at the time of the first positioning
operation. When K is used to specify the number of repeats, the M
code is executed for the first hole only; for the second and subsequent
holes, the M code is not executed.
- 49 -
5. FUNCTIONS TO SIMPLIFY
PROGRAMMING
PROGRAMMING
B-64304EN-2/01
Limitation
- Axis switching
Before the drilling axis can be changed, the canned cycle for drilling
must be canceled.
- Drilling
In a block that does not contain X, Y, Z, R, or any other axes, drilling
is not performed.
-Q
Specify Q in blocks that perform drilling. If they are specified in a
block that does not perform drilling, they cannot be stored as modal
data.
- Cancel
Do not specify a G code of the 01 group (G00 to G03) and G83 in a
single block. Otherwise, G83 will be canceled.
- Tool offset
In the canned cycle mode for drilling, tool offsets are ignored.
Example
M3 S2000 ;
Cause the spindle to start rotating.
G90 G99 G83 X300. Y-250. Z-150. R-100. Q15. F120. ;
Position, drill hole 1, then return to point R.
Y-550. ;
Position, drill hole 2, then return to point R.
Y-750. ;
Position, drill hole 3, then return to point R.
X1000. ;
Position, drill hole 4, then return to point R.
Y-550. ;
Position, drill hole 5, then return to point R.
G98 Y-750. ;
Position, drill hole 6, then return to the initial level.
G80 G28 G91 X0 Y0 Z0 ; Return to the reference position
M5 ;
Cause the spindle to stop rotating.
- 50 -
B-64304EN-2/01
5.1.7
PROGRAMMING
5.FUNCTIONS TO SIMPLIFY
PROGRAMMING
NOTE
When using the small-hole peck drilling cycle, set
bit 4 (SPK) of parameter No. 8132 to "1".
- 51 -
5. FUNCTIONS TO SIMPLIFY
PROGRAMMING
PROGRAMMING
B-64304EN-2/01
Format
G83 X_ Y_ Z_ R_ Q_ F_ I_ K_ P_ ;
X_ Y_
Z_
R_
Q_
F_
I_
K_
P_
:
:
:
:
:
:
G83 (G99)
Initial level
Point R
Point R level
Point R
Overload torque
Point Z
Dwell
q:
Overload torque
Point Z
Dwell
Initial clearance when the tool is retracted to point R and the clearance from the
bottom of the hole in the second or subsequent drilling (parameter 5174)
Depth of each cut
Path along which the tool travels at the rapid traverse rate
Path along which the tool travels at the programmed cutting
feedrate
Path along which the tool travels at the forward or backward rate during the
) cycle specified with parameters
- 52 -
PROGRAMMING
B-64304EN-2/01
5.FUNCTIONS TO SIMPLIFY
PROGRAMMING
Explanations
- Component operations of the cycle
*
*
*
Repeated until
point Z is reached
*
*
- Specifying an M code
When the M code in parameter 5163 is specified, the system enters the
mode for the smallhole peck drilling cycle.
This M code does not wait for FIN. Care must be taken when this M
code is specified with another M code in the same block.
(Example) M03 M
; Waits for FIN.
M
M03 ; Does not wait for FIN.
- Specifying a G code
When G83 is specified in the mode for the small-hole peck drilling
cycle, the cycle is started.
This continuousstate G code remains unchanged until another canned
cycle is specified or until the G code for canceling the canned cycle is
specified. This eliminates the need for specifying drilling data in each
block when identical drilling is repeated.
- 53 -
5. FUNCTIONS TO SIMPLIFY
PROGRAMMING
PROGRAMMING
B-64304EN-2/01
NOTE
When receiving overload torque detect signal while the
tool is advancing, the tool will be retracted (clearance
and to the point R), then advanced to the same target
point as previous advancing.
- 54 -
PROGRAMMING
B-64304EN-2/01
5.FUNCTIONS TO SIMPLIFY
PROGRAMMING
- Specifying address I
The forward or backward traveling speed can be specified with
address I in the same format as address F, as shown below:
G83 I1000 ; (without decimal point)
G83 I1000. ; (with decimal point)
Both commands indicate a speed of 1000 mm/min.
Address I specified with G83 in the continuous-state mode continues
to be valid until G80 is specified or until a reset occurs.
NOTE
If address I is not specified and parameter No.5172 (for
backward) or No.5173 (for forward) is set to 0, the
forward or backward travel speed is same as the cutting
feedrate specified by F.
Dry run
Feed hold
- Single block
When single-block operation is enabled, drilling is stopped after each
retraction. Also, a single block stop is performed by setting parameter
SBC (No.5105 bit 0)
- 55 -
5. FUNCTIONS TO SIMPLIFY
PROGRAMMING
PROGRAMMING
B-64304EN-2/01
- Feedrate override
The feedrate override function works during cutting, retraction, and
advancing in the cycle.
NOTE
The numbers of retraction output to common
variables are cleared by G83 while small-hole peck
drilling cycle mode.
Limitation
- Subprogram call
In the canned cycle mode, specify the subprogram call command
M98P_ in an independent block.
Example
M03 S_ ; Cause the spindle to start rotating.
M
;
Specifies the small-hole peck drilling cycle mode.
G83 X_ Y_ Z_ R_ Q_ F_ I_ K_ P_ ;
Specifies the small-hole peck drilling cycle.
X_ Y_ ; Drills at another position.
:
:
G80 ;
Cancels the small-hole peck drilling cycle mode.
- 56 -
PROGRAMMING
B-64304EN-2/01
5.1.8
5.FUNCTIONS TO SIMPLIFY
PROGRAMMING
Format
G84 X_ Y_ Z_ R_ P_ Q_ F_ K_ ;
X_ Y_
Z_
R_
P_
Q_
F_
K_
:
:
:
:
:
G84 (G99)
Initial level
Spindle
CW
Point R
Point R
Point Z
Spindle CCW
Spindle
CW
P
Point R level
Point Z
Spindle CCW
Explanation
- Operations
Tapping is performed by rotating the spindle clockwise. When the
bottom of the hole has been reached, the spindle is rotated in the
reverse direction for retraction. This operation creates threads.
CAUTION
Feedrate overrides are ignored during tapping. A
feed hold does not stop the machine until the return
operation is completed.
- 57 -
5. FUNCTIONS TO SIMPLIFY
PROGRAMMING
PROGRAMMING
B-64304EN-2/01
- Spindle rotation
Before specifying G84, use an auxiliary function (M code) to rotate
the spindle.
If drilling is continuously performed with a small value specified for
the distance between the hole position and point R level or between
the initial level and point R level, the normal spindle speed may not be
reached at the start of hole cutting operation. In this case, insert a
dwell before each drilling operation with G04 to delay the operation,
without specifying the number of repeats for K. For some machines,
the above note may not be considered. Refer to the manual provided
by the machine tool builder.
- Q command
See Left-Handed Tapping Cycle (G74) above.
- Auxiliary function
When the G84 command and an M code are specified in the same
block, the M code is executed at the time of the first positioning
operation. When the K is used to specify number of repeats, the M
code is executed for the first hole only; for the second and subsequent
holes, the M code is not executed.
Limitation
- Axis switching
Before the drilling axis can be changed, the canned cycle for drilling
must be canceled.
- Drilling
In a block that does not contain X, Y, Z, R, or any other axes, drilling
is not performed.
-P
Specify P in blocks that perform drilling. If it is specified in a block
that does not perform drilling, it cannot be stored as modal data.
- Cancel
Do not specify a G code of the 01 group (G00 to G03) and G84 in a
single block. Otherwise, G84 will be canceled.
- 58 -
B-64304EN-2/01
PROGRAMMING
5.FUNCTIONS TO SIMPLIFY
PROGRAMMING
Example
M3 S100 ;
Cause the spindle to start rotating.
G90 G99 G84 X300. Y-250. Z-150. R-120. P300 F120. ;
Position, drill hole 1, then return to point R.
Y-550. ;
Position, drill hole 2, then return to point R.
Y-750. ;
Position, drill hole 3, then return to point R.
X1000. ;
Position, drill hole 4, then return to point R.
Y-550. ;
Position, drill hole 5, then return to point R.
G98 Y-750. ;
Position, drill hole 6, then return to the initial
level.
G80 G28 G91 X0 Y0 Z0 ; Return to the reference position
M5 ;
Cause the spindle to stop rotating.
- 59 -
5. FUNCTIONS TO SIMPLIFY
PROGRAMMING
5.1.9
PROGRAMMING
B-64304EN-2/01
Format
G85 X_ Y_ Z_ R_ F_ K_ ;
X_ Y_
Z_
R_
F_
K_
:
:
:
:
:
G85 (G99)
Initial level
Point R
Point R
Point Z
Point R level
Point Z
Explanation
- Operations
After positioning along the X- and Y- axes, rapid traverse is
performed to point R.
Drilling is performed from point R to point Z.
When point Z has been reached, cutting feed is performed to return to
point R.
- Spindle rotation
Before specifying G85, use an auxiliary function (M code) to rotate
the spindle.
- Auxiliary function
When the G85 command and an M code are specified in the same
block, the M code is executed at the time of the first positioning
operation. When K is used to specify the number of repeats, the M
code is executed for the first hole only; for the second and subsequent
holes, the M code is not executed.
- 60 -
B-64304EN-2/01
PROGRAMMING
5.FUNCTIONS TO SIMPLIFY
PROGRAMMING
Limitation
- Axis switching
Before the drilling axis can be changed, the canned cycle for drilling
must be canceled.
- Drilling
In a block that does not contain X, Y, Z, R, or any other axes, drilling
is not performed.
- Cancel
Do not specify a G code of the 01 group (G00 to G03) and G85 in a
single block. Otherwise, G85 will be canceled.
- Tool offset
In the canned cycle mode for drilling, tool offsets are ignored.
Example
M3 S100 ;
Cause the spindle to start rotating.
G90 G99 G85 X300. Y-250. Z-150. R-120. F120. ;
Position, drill hole 1, then return to point R.
Y-550. ;
Position, drill hole 2, then return to point R.
Y-750. ;
Position, drill hole 3, then return to point R.
X1000. ;
Position, drill hole 4, then return to point R.
Y-550. ;
Position, drill hole 5, then return to point R.
G98 Y-750. ;
Position, drill hole 6, then return to the
initial level.
G80 G28 G91 X0 Y0 Z0 ; Return to the reference position
M5 ;
Cause the spindle to stop rotating.
- 61 -
5. FUNCTIONS TO SIMPLIFY
PROGRAMMING
5.1.10
PROGRAMMING
B-64304EN-2/01
Format
G86 X_ Y_ Z_ R_ F_ K_ ;
X_ Y_
Z_
R_
F_
K_
:
:
:
:
:
G86 (G99)
Spindle CW
Initial level
Spindle CW
Point R
Point R
Point Z
Spindle stop
Point R level
Point Z
Spindle stop
Explanation
- Operations
After positioning along the X- and Y-axes, rapid traverse is performed
to point R.
Drilling is performed from point R to point Z.
When the spindle is stopped at the bottom of the hole, the tool is
retracted in rapid traverse.
- Spindle rotation
Before specifying G86, use an auxiliary function (M code) to rotate
the spindle.
If drilling is continuously performed with a small value specified for
the distance between the hole position and point R level or between
the initial level and point R level, the normal spindle speed may not be
reached at the start of hole cutting operation. In this case, insert a
dwell before each drilling operation with G04 to delay the operation,
without specifying the number of repeats for K. For some machines,
the above note may not be considered. Refer to the manual provided
by the machine tool builder.
- 62 -
B-64304EN-2/01
PROGRAMMING
5.FUNCTIONS TO SIMPLIFY
PROGRAMMING
- Auxiliary function
When the G86 command and an M code are specified in the same
block, the M code is executed at the time of the first positioning
operation. When K is used to specify the number of repeats, the M
code is executed for the first hole only; for the second and subsequent
holes, the M code is not executed.
Limitation
- Axis switching
Before the drilling axis can be changed, the canned cycle for drilling
must be canceled.
- Drilling
In a block that does not contain X, Y, Z, R, or any other axes, drilling
is not performed.
- Cancel
Do not specify a G code of the 01 group (G00 to G03) and G86 in a
single block. Otherwise, G86 will be canceled.
- Tool offset
In the canned cycle mode for drilling, tool offsets are ignored.
Example
M3 S2000 ;
Cause the spindle to start rotating.
G90 G99 G86 X300. Y-250. Z-150. R-100. F120. ;
Position, drill hole 1, then return to point R.
Y-550. ;
Position, drill hole 2, then return to point R.
Y-750. ;
Position, drill hole 3, then return to point R.
X1000. ;
Position, drill hole 4, then return to point R.
Y-550. ;
Position, drill hole 5, then return to point R.
G98 Y-750. ;
Position, drill hole 6, then return to the initial
level.
G80 G28 G91 X0 Y0 Z0 ; Return to the reference position
M5 ;
Cause the spindle to stop rotating.
- 63 -
5. FUNCTIONS TO SIMPLIFY
PROGRAMMING
5.1.11
PROGRAMMING
B-64304EN-2/01
Format
G87 X_ Y_ Z_ R_ Q_ P_ F_ K_ ;
X_ Y_
Z_
R_
Q_
P_
F_
K_
:
:
:
:
:
:
:
Spindle orientation
Tool
G87 (G99)
q
OSS
Spindle CW
Initial
level
Not used
OSS
Point Z
P
Spindle CW
Shift amount q
Point R
Explanation
After positioning along the X- and Y-axes, the spindle is stopped at
the fixed rotation position. The tool is moved in the direction
opposite to the tool nose, positioning (rapid traverse) is performed to
the bottom of the hole (point R).
The tool is then shifted in the direction of the tool nose and the spindle
is rotated clockwise. Boring is performed in the positive direction
along the Z-axis until point Z is reached.
At point Z, the spindle is stopped at the fixed rotation position again,
the tool is shifted in the direction opposite to the tool nose, then the
tool is returned to the initial level. The tool is then shifted in the
direction of the tool nose and the spindle is rotated clockwise to
proceed to the next block operation.
- Spindle rotation
Before specifying G87, use an auxiliary function (M code) to rotate
the spindle.
If drilling is continuously performed with a small value specified for
the distance between the hole position and point R level or between
the initial level and point R level, the normal spindle speed may not be
reached at the start of hole cutting operation. In this case, insert a
dwell before each drilling operation with G04 to delay the operation,
without specifying the number of repeats for K. For some machines,
the above note may not be considered. Refer to the manual provided
by the machine tool builder.
- 64 -
B-64304EN-2/01
PROGRAMMING
5.FUNCTIONS TO SIMPLIFY
PROGRAMMING
- Auxiliary function
When the G87 command and an M code are specified in the same
block, the M code is executed at the time of the first positioning
operation. When K is used to specify the number of repeats, the M
code is executed for the first hole only; for the second and subsequent
holes, the M code is not executed.
Limitation
- Axis switching
Before the drilling axis can be changed, the canned cycle for drilling
must be canceled.
- Drilling
In a block that does not contain X, Y, Z, R, or any additional axes,
drilling is not performed.
- P/Q
Be sure to specify a positive value in Q. If Q is specified with a
negative value, the sign is ignored. Set the direction of shift in the
parameter (No. 5148).
Specify P and Q in a block that performs drilling. If they are
specified in a block that does not perform drilling, they are not stored
as modal data.
CAUTION
Q (shift at the bottom of a hole) is a modal value
retained in canned cycles for drilling. It must be
specified carefully because it is also used as the
depth of cut for G73 and G83.
- Cancel
Do not specify a G code of the 01 group (G00 to G03) and G87 in a
single block. Otherwise, G87 will be canceled.
- Tool offset
In the canned cycle mode for drilling, tool offsets are ignored.
- 65 -
5. FUNCTIONS TO SIMPLIFY
PROGRAMMING
PROGRAMMING
B-64304EN-2/01
Example
M3 S500 ;
G90 G87 X300. Y-250.
Z-150. R-120. Q5.
P1000 F120. ;
Y-550. ;
Y-750. ;
X1000. ;
Y-550. ;
Y-750. ;
G80 G28 G91 X0 Y0 Z0 ;
M5 ;
- 66 -
PROGRAMMING
B-64304EN-2/01
5.1.12
5.FUNCTIONS TO SIMPLIFY
PROGRAMMING
Format
G88 X_ Y_ Z_ R_ P_ F_ K_ ;
X_ Y_
Z_
R_
P_
F_
K_
:
:
:
:
:
:
G88 (G99)
Spindle CW
Initial level
Spindle CW
Point R
Point R
Point Z
Point R level
Point Z
P
Spindle stop
after dwell
Spindle stop
after dwell
Explanation
- Operations
After positioning along the X- and Y-axes, rapid traverse is performed
to point R. Boring is performed from point R to point Z.
When boring is completed, a dwell is performed at the bottom of the
hole, then the spindle is stopped and enters the hold state. At this
time, you can switch to the manual mode and move the tool manually.
Any manual operations are available; it is desirable to finally retract
the tool from the hole for safety, though.
At the restart of machining in the DNC operation or memory mode,
the tool returns to the initial level or point R level according to G98 or
G99 and the spindle rotates clockwise. Then, operation is restarted
according to the programmed commands in the next block.
- Spindle rotation
Before specifying G88, use an auxiliary function (M code) to rotate
the spindle.
- 67 -
5. FUNCTIONS TO SIMPLIFY
PROGRAMMING
PROGRAMMING
B-64304EN-2/01
- Auxiliary function
When the G88 command and an M code are specified in the same
block, the M code is executed at the time of the first positioning
operation. When K is used to specify the number of repeats, the M
code is executed for the first hole only; for the second and subsequent
holes, the M code is not executed.
Limitation
- Axis switching
Before the drilling axis can be changed, the canned cycle for drilling
must be canceled.
- Drilling
In a block that does not contain X, Y, Z, R, or any other axes, drilling
is not performed.
-P
Specify P in blocks that perform drilling. If it is specified in a block
that does not perform drilling, it cannot be stored as modal data.
- Cancel
Do not specify a G code of the 01 group (G00 to G03) and G88 in a
single block. Otherwise, G88 will be canceled.
- Tool offset
In the canned cycle mode for drilling, tool offsets are ignored.
Example
M3 S2000 ;
Cause the spindle to start rotating.
G90 G99 G88 X300. Y-250. Z-150. R-100. P1000 F120. ;
Position, drill hole 1, return to point R then stop
at the bottom of the hole for 1 s.
Y-550. ;
Position, drill hole 2, then return to point R.
Y-750. ;
Position, drill hole 3, then return to point R.
X1000. ;
Position, drill hole 4, then return to point R.
Y-550. ;
Position, drill hole 5, then return to point R.
G98 Y-750. ;
Position, drill hole 6, then return to the initial
level.
G80 G28 G91 X0 Y0 Z0 ; Return to the reference position
M5 ;
Cause the spindle to stop rotating.
- 68 -
PROGRAMMING
B-64304EN-2/01
5.1.13
5.FUNCTIONS TO SIMPLIFY
PROGRAMMING
Format
G89 X_ Y_ Z_ R_ P_ F_ K_ ;
X_ Y_
Z_
R_
P_
F_
K_
:
:
:
:
:
:
G89 (G99)
Initial level
Point R
Point R
Point Z
Point R level
Point Z
Explanation
- Operations
This cycle is almost the same as G85. The difference is that this
cycle performs a dwell at the bottom of the hole.
- Spindle rotation
Before specifying G89, use an auxiliary function (M code) to rotate
the spindle.
- Auxiliary function
When the G89 command and an M code are specified in the same
block, the M code is executed at the time of the first positioning
operation. When K is used to specify the number of repeats, the M
code is executed for the first hole only; for the second and subsequent
holes, the M code is not executed.
- 69 -
5. FUNCTIONS TO SIMPLIFY
PROGRAMMING
PROGRAMMING
B-64304EN-2/01
Limitation
- Axis switching
Before the drilling axis can be changed, the canned cycle for drilling
must be canceled.
- Drilling
In a block that does not contain X, Y, Z, R, or any other axes, drilling
is not performed.
-P
Specify P in blocks that perform drilling. If it is specified in a block
that does not perform drilling, it cannot be stored as modal data.
- Cancel
Do not specify a G code of the 01 group (G00 to G03) and G89 in a
single block. Otherwise, G89 will be canceled.
- Tool offset
In the canned cycle mode for drilling, tool offsets are ignored.
Example
M3 S100 ;
Cause the spindle to start rotating.
G90 G99 G89 X300. Y-250. Z-150. R-120. P1000 F120. ;
Position, drill hole 1, return to point R then stop
at the bottom of the hole for 1 s.
Y-550. ;
Position, drill hole 2, then return to point R.
Y-750. ;
Position, drill hole 3, then return to point R.
X1000. ;
Position, drill hole 4, then return to point R.
Y-550. ;
Position, drill hole 5, then return to point R.
G98 Y-750. ;
Position, drill hole 6, then return to the initial
level.
G80 G28 G91 X0 Y0 Z0 ; Return to the reference position
M5 ;
Cause the spindle to stop rotating.
- 70 -
B-64304EN-2/01
5.1.14
PROGRAMMING
5.FUNCTIONS TO SIMPLIFY
PROGRAMMING
Format
G80 ;
Explanation
All canned cycles for drilling are canceled to perform normal
operation. Point R and point Z are cleared.
Other drilling data is also canceled (cleared).
Example
M3 S100 ;
Cause the spindle to start rotating.
G90 G99 G88 X300. Y-250. Z-150. R-120. F120. ;
Position, drill hole 1, then return to point R.
Y-550. ;
Position, drill hole 2, then return to point R.
Y-750. ;
Position, drill hole 3, then return to point R.
X1000. ;
Position, drill hole 4, then return to point R.
Y-550. ;
Position, drill hole 5, then return to point R.
G98 Y-750. ;
Position, drill hole 6, then return to the initial
level.
G80 G28 G91 X0 Y0 Z0 ; Return to the reference position, canned cycle
cancel
M5 ;
Cause the spindle to stop rotating.
- 71 -
5. FUNCTIONS TO SIMPLIFY
PROGRAMMING
5.1.15
PROGRAMMING
B-64304EN-2/01
Offset value +200.0 is set in offset No.11, +190.0 is set in offset No.15, and +150.0 is set in offset No.31
Program example
;
N001
G92 X0 Y0 Z0;
N002
G90 G00 Z250.0 T11 M6;
N003
G43 Z0 H11;
N004
S30 M3;
N005
G99 G81 X400.0 Y-350.0 Z-153.0 R-97.0 F120;
N006
Y-550.0;
N007
G98 Y-750.0;
N008
G99 X1200.0;
N009
Y-550.0;
N010
G98 Y-350.0;
N011
G00 X0 Y0 M5;
N012
G49 Z250.0 T15 M6;
N013
G43 Z0 H15;
N014
S20 M3;
N015
G99 G82 X550.0 Y-450.0 Z-130.0 R-97.0 P300 F70;
N016
G98 Y-650.0;
N017
G99 X1050.0;
N018
G98 Y-450.0;
N019
G00 X0 Y0 M5;
N020
G49 Z250.0 T31 M6;
N021
G43 Z0 H31;
N022
S10 M3;
N023
G85 G99 X800.0 Y-350.0 Z-153.0 R47.0 F50;
N024
G91 Y-200.0 K2;
N025
G28 X0 Y0 M5;
N026
G49 Z0;
N027
M0;
- 72 -
5.FUNCTIONS TO SIMPLIFY
PROGRAMMING
PROGRAMMING
B-64304EN-2/01
350
#1
100
#10
#7 200
100
#12
#2
100
#8
#6
#11
#5
#9
200
100
#13
#3
#4
X
400
150
#1 to 6
#7 to 10
#11 to 13
Z
250
250
150
Retract position
250
Initial level
X
50
50
30
20
T 11
200
T 15
190
T 31
150
- 73 -
5. FUNCTIONS TO SIMPLIFY
PROGRAMMING
5.2
PROGRAMMING
B-64304EN-2/01
RIGID TAPPING
The tapping cycle (G84) and left-handed tapping cycle (G74) may be
performed in standard mode or rigid tapping mode.
In standard mode, the spindle is rotated and stopped along with a
movement along the tapping axis using auxiliary functions M03
(rotating the spindle clockwise), M04 (rotating the spindle
counterclockwise), and M05 (stopping the spindle) to perform
tapping.
In rigid mode, tapping is performed by controlling the spindle motor
as if it were a servo motor and by interpolating between the tapping
axis and spindle.
When tapping is performed in rigid mode, the spindle rotates one turn
every time a certain feed (thread lead) which takes place along the
tapping axis. This operation does not vary even during acceleration
or deceleration.
Rigid mode eliminates the need to use a floating tap required in the
standard tapping mode, thus allowing faster and more precise tapping.
- 74 -
PROGRAMMING
B-64304EN-2/01
5.2.1
5.FUNCTIONS TO SIMPLIFY
PROGRAMMING
Format
G84 X_ Y_ Z_ R_ P_ F_ K_ ;
X_ Y_ : Hole position data
Z_
: The distance from point R to the bottom of the hole and the
position of the bottom of the hole
R_
: The distance from the initial level to point R level
P_
: Dwell time at the bottom of the hole and at point R when a return
is made
F_
: Cutting feedrate
K_
: Number of repeats (if required)
G84.2 X_ Y_ Z_ R_ P_ F_ L_ ;
(Series 10/11 format)
L_
G84 (G99)
Spindle stop
Spindle stop
Initial level
Operation 1
Operation 6
Spindle
P
stop
Point R level
Operation 2
Spindle CW
Point R
Operation 3
Spindle CW
P
Point R
Point R level
Operation 5
P
Spindle stop
Spindle stop
Point Z
Operation 4
Spindle CCW
P
Spindle stop
Point Z
Spindle CCW
Explanation
After positioning along the X- and Y-axes, rapid traverse is performed
to point R.
Tapping is performed from point R to point Z. When tapping is
completed, the spindle is stopped and a dwell is performed. The
spindle is then rotated in the reverse direction, the tool is retracted to
point R, then the spindle is stopped. Rapid traverse to initial level is
then performed.
While tapping is being performed, the feedrate override and spindle
override are assumed to be 100%. Feedrate override can be enabled
by setting, however.
- 75 -
5. FUNCTIONS TO SIMPLIFY
PROGRAMMING
PROGRAMMING
B-64304EN-2/01
- Rigid mode
Rigid mode can be specified using any of the following methods:
Specify M29 S***** before a tapping command.
Specify M29 S***** in a block which contains a tapping command.
Specify G84 for rigid tapping (parameter G84 No. 5200 #0 set to 1).
- Thread lead
In feed-per-minute mode, the thread lead is obtained from the
expression, feedrate spindle speed. In feed-per-revolution mode,
the thread lead equals the feedrate speed.
- Override
Various types of override functions are invalid. The following
override functions can be enabled by setting corresponding
parameters:
Extraction override
Override signal
See Override during Rigid Tapping below for details.
- Dry run
Dry run can be executed also in G84 (G74). When dry run is
executed at the feedrate for the drilling axis in G84 (G74), tapping is
performed according to the feedrate. Note that the spindle speed
becomes faster at a higher dry run feedrate.
- Machine lock
Machine lock can be executed also in G84 (G74).
When G84 (G74) is executed in the machine lock state, the tool does
not move along the drilling axis. Therefore, the spindle does not also
rotate.
- 76 -
B-64304EN-2/01
PROGRAMMING
5.FUNCTIONS TO SIMPLIFY
PROGRAMMING
- Reset
When a reset is performed during rigid tapping, the rigid tapping
mode is canceled and the spindle motor enters the normal mode.
Note that the G84 (G74) mode is not canceled in this case when bit 6
(CLR) of parameter No. 3402 is set.
- Interlock
Interlock can also be applied in G84 (G74).
- Backlash compensation
In the rigid tapping mode, backlash compensation is applied to
compensate the lost motion when the spindle rotates clockwise or
counterclockwise. Set the amount of backlash in parameters Nos.
5321 to 5324.
Along the drilling axis, backlash compensation has been applied.
Limitation
- Axis switching
Before the drilling axis can be changed, the canned cycle must be
canceled. If the drilling axis is changed in rigid mode, alarm PS0206
is issued.
- S command
If a speed higher than the maximum speed for the gear being used
is specified, alarm PS0200 is issued.
When the rigid tapping canned cycle is cancelled, the S command
used for rigid tapping is cleared to S0.
- F command
If a value exceeding the upper limit of cutting feedrate is specified,
alarm PS0011 is issued.
- 77 -
5. FUNCTIONS TO SIMPLIFY
PROGRAMMING
PROGRAMMING
B-64304EN-2/01
- Unit of F command
Metric input
G94
1 mm/min
G95
0.01 mm/rev
Inch input
Remarks
- M29
If an S command and axis movement are specified between M29 and
G84, alarm PS0203 is issued. If M29 is specified in a tapping cycle,
alarm PS0204 is issued.
-P
Specify P in a block that performs drilling. If P is specified in a
non-drilling block, it is not stored as modal data.
- Cancel
Do not specify a G code of the 01 group (G00 to G03) and G74 in a
single block. Otherwise, G74 will be canceled.
- Tool offset
In the canned cycle mode, tool offsets are ignored.
- Program restart
A program cannot be restarted during rigid tapping.
- Subprogram call
In the canned cycle mode, specify the subprogram call command
M98P_ in an independent block.
Example
Z-axis feedrate 1000 mm/min
Spindle speed
1000 min-1
Thread lead
1.0 mm
<Programming of feed per minute>
G94;
G00 X120.0 Y100.0 ;
M29 S1000 ;
G84 Z-100.0 R-20.0 F1000 ;
- 78 -
PROGRAMMING
B-64304EN-2/01
5.2.2
5.FUNCTIONS TO SIMPLIFY
PROGRAMMING
Format
G74 X_ Y_ Z_ R_ P_ F_ K_ ;
X_ Y_ : Hole position data
Z_
: The distance from point R to the bottom of the hole and the
position of the bottom of the hole
R_
: The distance from the initial level to point R level
P_
: Dwell time at the bottom of the hole and at point R when return is
made.
F_
: Cutting feedrate
K_
: Number of repeats (if required)
G84.3 X_ Y_ Z_ R_ P_ F_ L_ ;
(Series 10/11 format)
L_
G74 (G99)
Spindle stop
Spindle stop
Initial level
Operation 1
Operation 2
Spindle CCW
Operation 6
Spindle
P
stop
Point R level
Point R
P
Point R
Point R level
Operation 5
Operation 3
P
Spindle stop
Spindle stop
Spindle CCW
Point Z
Operation 4
Spindle CW
P
Spindle stop
Point Z
Spindle CW
Explanation
After positioning along the X- and Y-axes, rapid traverse is performed
to point R.
Tapping is performed from point R to point Z. When tapping is
completed, the spindle is stopped and a dwell is performed. The
spindle is then rotated in the normal direction, the tool is retracted to
point R, then the spindle is stopped. Rapid traverse to initial level is
then performed.
While tapping is being performed, the feedrate override and spindle
override are assumed to be 100%. Feedrate override can be enabled
by setting, however.
- 79 -
5. FUNCTIONS TO SIMPLIFY
PROGRAMMING
PROGRAMMING
B-64304EN-2/01
- Rigid mode
Rigid mode can be specified using any of the following methods:
Specify G74 for rigid tapping. (parameter G84 (No. 5200#0) set
to1).
- Thread lead
In feed-per-minute mode, the thread lead is obtained from the
expression, feedrate spindle speed. In feed-per-revolution mode,
the thread lead equals the feedrate.
- Override
Various types of override functions are invalid. The following
override functions can be enabled by setting corresponding
parameters:
Extraction override
Override signal
See Override during Rigid Tapping below for details.
- Dry run
Dry run can be executed also in G84 (G74). When dry run is
executed at the feedrate for the drilling axis in G84 (G74), tapping is
performed according to the feedrate. Note that the spindle speed
becomes faster at a higher dry run feedrate.
- Machine lock
Machine lock can be executed also in G84 (G74).
When G84 (G74) is executed in the machine lock state, the tool does
not move along the drilling axis. Therefore, the spindle does not also
rotate.
- 80 -
PROGRAMMING
B-64304EN-2/01
5.FUNCTIONS TO SIMPLIFY
PROGRAMMING
- Reset
When a reset is performed during rigid tapping, the rigid tapping
mode is canceled and the spindle motor enters the normal mode.
Note that the G84 (G74) mode is not canceled in this case when bit 6
(CLR) of parameter No. 3402 is set.
- Interlock
Interlock can also be applied in G84 (G74).
- Backlash compensation
In the rigid tapping mode, backlash compensation is applied to
compensate the lost motion when the spindle rotates clockwise or
counterclockwise. Set the amount of backlash in parameters Nos.
5321 to 5324.
Along the drilling axis, backlash compensation has been applied.
Limitation
- Axis switching
Before the drilling axis can be changed, the canned cycle must be
canceled. If the drilling axis is changed in rigid mode, alarm PS0206
is issued.
- S command
Specifying a rotation speed exceeding the maximum speed for the
gear used causes alarm PS0200.
When the rigid tapping canned cycle is cancelled, the S command
used for rigid tapping is cleared to S0.
- F command
Specifying a value that exceeds the upper limit of cutting feedrate
causes alarm PS0011.
- Unit of F command
Metric input
G94
G95
1 mm/min
0.01 mm/rev
- 81 -
Inch input
Remarks
5. FUNCTIONS TO SIMPLIFY
PROGRAMMING
PROGRAMMING
B-64304EN-2/01
- M29
Specifying an S command or axis movement between M29 and G84
causes alarm PS0203.
Then, specifying M29 in the tapping cycle causes alarm PS0204.
-P
Specify P in a block that performs drilling. If P is specified in a
non-drilling block, it is not stored as modal data.
- Cancel
Do not specify a G code of the 01 group (G00 to G03) and G74 in a
single block. Otherwise, G74 will be canceled.
- Tool offset
In the canned cycle mode, tool offsets are ignored.
- Subprogram call
In the canned cycle mode, specify the subprogram call command
M98P_ in an independent block.
Example
Z-axis feedrate 1000 mm/min
Spindle speed
1000 min-1
Thread lead
1.0 mm
<Programming for feed per minute>
G94 ;
G00 X120.0 Y100.0 ;
M29 S1000 ;
G74 Z-100.0 R-20.0 F1000 ;
- 82 -
PROGRAMMING
B-64304EN-2/01
5.2.3
5.FUNCTIONS TO SIMPLIFY
PROGRAMMING
Format
G84 (or G74) X_ Y_ Z_ R_ P_ Q_ F_ K_ ;
X_ Y_ : Hole position data
Z_
: The distance from point R to the bottom of the hole and
the position of the bottom of the hole
R_
: The distance from the initial level to point R level
P_
: Dwell time at the bottom of the hole and at point R when
a return is made
Q_
: Depth of cut for each cutting feed
F_
: The cutting feedrate
K_
: Number of repeats (if required)
d = retraction distance
Initial level
Point R
q
Point R level
<1>
<2>
Point R level
Point R
<1>
Point Z
<2>
Point Z
<1>
Point R level
<3>
Point R
q
<2> d
<1>
Point R level
<3>
<2> d
d
Point Z
- 83 -
Point Z
5. FUNCTIONS TO SIMPLIFY
PROGRAMMING
PROGRAMMING
B-64304EN-2/01
Explanation
- High-speed peck tapping cycle
After positioning along the X- and Y-axes, rapid traverse is performed
to point R. From point R, cutting is performed with depth Q (depth
of cut for each cutting feed), then the tool is retracted by distance d.
The DOV bit (bit 4) of parameter 5200 specifies whether retraction
can be overridden or not. When point Z has been reached, the
spindle is stopped, then rotated in the reverse direction for retraction.
Set the retraction distance, d, in parameter 5213.
- Override
Various types of override functions are invalid. The following
override functions can be enabled by setting corresponding
parameters:
Extraction override
Override signal
See Override during Rigid Tapping below for details.
- Dry run
Dry run can be executed also in G84 (G74). When dry run is
executed at the feedrate for the drilling axis in G84 (G74), tapping is
performed according to the feedrate. Note that the spindle speed
becomes faster at a higher dry run feedrate.
- Machine lock
Machine lock can be executed also in G84 (G74).
When G84 (G74) is executed in the machine lock state, the tool does
not move along the drilling axis. Therefore, the spindle does not also
rotate.
- 84 -
5.FUNCTIONS TO SIMPLIFY
PROGRAMMING
PROGRAMMING
B-64304EN-2/01
- Reset
When a reset is performed during rigid tapping, the rigid tapping
mode is canceled and the spindle motor enters the normal mode.
Note that the G84 (G74) mode is not canceled in this case when bit 6
(CLR) of parameter No. 3402 is set.
- Interlock
Interlock can also be applied in G84 (G74).
- Backlash compensation
In the rigid tapping mode, backlash compensation is applied to
compensate the lost motion when the spindle rotates clockwise or
counterclockwise. Set the amount of backlash in parameters Nos.
5321 to 5324.
Along the drilling axis, backlash compensation has been applied.
Limitation
- Axis switching
Before the drilling axis can be changed, the canned cycle must be
canceled. If the drilling axis is changed in rigid mode, alarm PS0206
is issued.
- S command
Specifying a rotation speed exceeding the maximum speed for the
gear used causes alarm PS0200.
When the rigid tapping canned cycle is cancelled, the S command
used for rigid tapping is cleared to S0.
- F command
Specifying a value that exceeds the upper limit of cutting feedrate
causes alarm PS0011.
- Unit of F command
Metric input
G94
G95
1 mm/min
0.01 mm/rev
- 85 -
Inch input
Remarks
5. FUNCTIONS TO SIMPLIFY
PROGRAMMING
PROGRAMMING
B-64304EN-2/01
- M29
Specifying an S command or axis movement between M29 and G84
causes alarm PS0203.
Then, specifying M29 in the tapping cycle causes alarm PS0204.
- P/Q
Specify P and Q in a block that performs drilling. If they are
specified in a block that does not perform drilling, they are not stored
as modal data.
When Q0 is specified, the peck rigid tapping cycle is not performed.
- Cancel
Do not specify a group 01 G code (G00 to G03) and G84 in the same
block. If they are specified together, G84 is canceled.
- Tool offset
In the canned cycle mode, tool offsets are ignored.
- Subprogram call
In the canned cycle mode, specify the subprogram call command
M98P_ in an independent block.
- d (parameter No.5213)
Perform operation in the peck tapping cycle within point R. That is,
set a value which does not exceed point R for d (parameter No. 5213).
5.2.4
NOTE
When the rigid tapping canned cycle is cancelled,
the S value used for rigid tapping is also cleared
(as if S0 is specified).
Accordingly, the S command specified for rigid
tapping cannot be used in a subsequent part of the
program after the cancellation of the rigid tapping
canned cycle.
After canceling the rigid tapping canned cycle,
specify a new S command as required.
- 86 -
PROGRAMMING
B-64304EN-2/01
5.2.5
5.FUNCTIONS TO SIMPLIFY
PROGRAMMING
Extraction override
Override signal
5.2.5.1
Extraction override
For extraction override, the fixed override set in the parameter or
override specified in a program can be enabled at extraction (including
retraction during peck drilling/high-speed peck drilling).
Explanation
- Specifying the override in the parameter
Set bit 4 (DOV) of parameter No. 5200 to 1 and set the override in
parameter No. 5211.
An override from 0% to 200% in 1% steps can be set. Bit 3 (OVU)
of parameter No. 5201 can be set to 1 to set an override from 0% to
2000% in 10% steps.
100
- 87 -
5. FUNCTIONS TO SIMPLIFY
PROGRAMMING
PROGRAMMING
B-64304EN-2/01
DOV = 1
OV3 = 1
OV3 = 0
Parameter
No. 5211
DOV = 0
100%
DOV = 1
OV3 = 1
OV3 = 0
Parameter
No. 5211
DOV = 0
100%
NOTE
1 Do not use a decimal point in the value specified at address "J".
If a decimal point is used, the value is assumed as follows:
Example) When the increment system for the reference axis is IS-B
When pocket calculator type decimal point programming is not used
The specified value is converted to the value for which the least
input increment is considered.
"J200." is assumed to be 200000 min-1.
When pocket calculator type decimal point programming is used
The specified value is converted to the value obtained by rounding
down to an integer.
"J200." is assumed to be 200 min-1.
2 Do not use a minus sign in the value specified at address "J".
If a minus sign is used, a value outside the range is assumed to be
specified.
3 The maximum override is obtained using the following equation so that
the spindle speed to which override at extraction is applied do not
exceed the maximum used gear speed (specified in parameters Nos.
5241 to 5243). For this reason, the obtained value is not the same as
the maximum spindle speed depending on the override.
Maximum override (%) =
100
4 When a value is specified at address "J" for specifying the spindle speed
at extraction in the rigid tapping mode, it is valid until the canned cycle is
canceled.
- 88 -
PROGRAMMING
B-64304EN-2/01
5.2.5.2
5.FUNCTIONS TO SIMPLIFY
PROGRAMMING
Override signal
By setting bit 4 (OVS) of parameter No. 5203 to 1, override can be
applied to cutting/extraction operation during rigid tapping as follows:
At cutting
When the override cancel signal is set to 0
Value specified by the override signal
When the override cancel signal is set to 1
100%
At extraction
When the override cancel signal is set to 0
Value specified by the override signal
When the override cancel signal is set to 1 and extraction
override is disabled
100%
When the override cancel signal is set to 1 and extraction
override is enabled
Value specified for extraction override
NOTE
1 The maximum override is obtained using the following equation so
that the spindle speed to which override is applied do not exceed the
maximum used gear speed (specified in parameters Nos. 5241 to
5243). For this reason, the obtained value is not the same as the
maximum spindle speed depending on the override.
Maximum override (%) =
100
- 89 -
5. FUNCTIONS TO SIMPLIFY
PROGRAMMING
5.3
PROGRAMMING
B-64304EN-2/01
Overview
Chamfering and corner R blocks can be inserted automatically
between the following:
Format
, C_
, R_
Chamfering
Corner R
Explanation
When the above specification is added to the end of a block that
specifies linear interpolation (G01) or circular interpolation (G02 or
G03), a chamfering or corner R block is inserted.
Blocks specifying chamfering and corner R can be specified
consecutively.
- Chamfering
After C, specify the distance from the hypothetical corner intersection
to the start and end points. The hypothetical corner point is the
corner point that would exist if chamfering were not performed.
<1>
<2>
C
Hypothetical corner intersection
- Corner R
After R, specify the radius for corner R.
<1>
<2>
- 90 -
Inserted corner R
block
5.FUNCTIONS TO SIMPLIFY
PROGRAMMING
PROGRAMMING
B-64304EN-2/01
Example
N001 G92 G90 X0 Y0 ;
N002 G00 X10.0 Y10.0 ;
N003 G01 X50.0 F10.0 ,C5.0 ;
N004 Y25.0 ,R8.0 ;
N005 G03 X80.0 Y50.0 R30.0 ,R8.0 ;
N006 G01 X50.0 ,R8.0 ;
N007 Y70.0 ,C5.0 ;
N008 X10.0 ,C5.0 ;
N009 Y10.0 ;
N010 G00 X0 Y0 ;
N011 M0;
Y
N008
70.0
N007
60.0
N006
50.0
40.0
N009
N005
30.0
20.0
N004
10.0
N010
N011
N003
N002
0 N001
10.0
20.0
30.0
40.0
50.0
60.0
70.0
80.0
Limitation
- Invalid specification
Chamfering (,C) or corner R (,R) specified in a block other than a
linear interpolation (G01) or circular interpolation (G02 or G03) block
is ignored.
- Next block
A block specifying chamfering or corner R must be followed by a
block that specifies a move command using linear interpolation (G01)
or circular interpolation (G02 or G03). If the next block does not
contain these specifications, alarm PS0051 is issued.
Between these blocks, however, only one block specifying G04
(dwell) can be inserted. The dwell is executed after execution of the
inserted chamfering or corner R block.
- 91 -
5. FUNCTIONS TO SIMPLIFY
PROGRAMMING
PROGRAMMING
B-64304EN-2/01
- Plane selection
A chamfering or corner R block is inserted only for a command to
move the tool within the same plane.
Example:
When the U-axis is set as an axis parallel to the basic X-axis (by
setting parameter No. 1022 to 5), the following program
performs chamfering between cutting feed along the U-axis and
that along the Y-axis:
G17 U0 Y0
G00 U100.0 Y100.0
G01 U200.0 F100 ,C30.0
Y200.0
The following program causes alarm PS0055, however.
(Because chamfering is specified in the block to move the tool
along the X-axis, which is not on the selected plane)
G17 U0 Y0
G00 U100.0 Y100.0
G01 X200.0 F100 ,C30.0
Y200.0
The following program also causes alarm PS0055. (Because
the block next to the chamfering command moves the tool along
the X-axis, which is not on the selected plane)
G17 U0 Y0
G00 U100.0 Y100.0
G01 Y200.0 F100 ,C30.0
X200.0
If a plane selection command (G17, G18, or G19) is specified in the
block next to the block in which chamfering or corner R is specified,
alarm PS0051 is issued.
- 92 -
B-64304EN-2/01
PROGRAMMING
5.FUNCTIONS TO SIMPLIFY
PROGRAMMING
- Travel distance 0
When two linear interpolation operations are performed, the
chamfering or corner R block is regarded as having a travel distance
of zero if the angle between the two straight lines is within 1.
When linear interpolation and circular interpolation operations are
performed, the corner R block is regarded as having a travel distance
of zero if the angle between the straight line and the tangent to the arc
at the intersection is within 1. When two circular interpolation
operations are performed, the corner R block is regarded as having a
travel distance of zero if the angle between the tangents to the arcs at
the intersection is within 1.
- Unusable G codes
The following G codes are unusable in the same block as for
chamfering or corner R commands or with a block for chamfering or
corner R inputs that define continuous figures.
G codes (except G04) in group 00
G68 in group 16
- Threading
If ,C or ,R is specified in a threading command block, the alarm
PS0050 is issued.
NOTE
When ",C" and ",R" are specified in the same
block, the address specified last is valid.
- 93 -
5. FUNCTIONS TO SIMPLIFY
PROGRAMMING
5.4
PROGRAMMING
B-64304EN-2/01
NOTE
To enable the index table indexing function, reset
bit 0 (ITI) of parameter No. 5501 to "0" and set bit 3
(IXC) of parameter No. 8132 to "1".
Explanation
- Indexing position
Specify an indexing position with address A, B, or C (set to bit 0 of
parameter ROTx No.1006).
The indexing position is specified by either of the following
(depending on bit 4 of parameter G90 No.5500):
1. Absolute value only (Bit 4 (G90) of parameter No.5500 =1)
2. Absolute or incremental value depending on the specified G
code: G90 or G91 (Bit 4 (G90) of parameter No.5500 =0)
A positive value indicates an indexing position in the
counterclockwise direction. A negative value indicates an indexing
position in the clockwise direction.
The minimum indexing angle of the index table is the value set to
parameter 5512. Only multiples of the least input increment can be
specified as the indexing angle. If any value that is not a multiple is
specified, an alarm PS1561 occurs. Decimal fractions can also be
entered. When a decimal fraction is entered, the 1's digit corresponds
to degree units.
+60
0
-45
B
- 94 -
PROGRAMMING
B-64304EN-2/01
5.FUNCTIONS TO SIMPLIFY
PROGRAMMING
- Feedrate
The table is always rotated around the indexing axis in the rapid
traverse mode.
Dry runs cannot be executed for the indexing axis.
WARNING
If a reset is made during indexing of the index
table, a reference position return must be made
before each time the index table is indexed
subsequently.
- 95 -
5. FUNCTIONS TO SIMPLIFY
PROGRAMMING
PROGRAMMING
B-64304EN-2/01
NOTE
1 If an index table indexing axis and another
controlled axis are specified in the same block
either alarm PS1564 is issued or the command is
executed, depending on bit 6 (SIM) of parameter
No. 5500 and bit 0 (IXS) of parameter No. 5502.
2 The waiting state which waits for completion of
clamping or unclamping of the index table is
indicated on diagnosis display No.12.
3 The auxiliary function specifying a negative
direction is processed in the CNC.
The relevant M code signal and completion signal
are sent between the CNC and the machine.
4 If a reset is made while waiting for completion of
clamping or unclamping, the clamp or unclamp
signal is cleared and the CNC exits the completion
wait state.
- Indexing function and other functions
Table 5.4 (a)
Item
Relative position display
Absolute position display
Movement in the machine
coordinate system (G53)
Single direction positioning
2nd auxiliary function (B code)
Operations while moving the
indexing axis
This value is rounded down when bit 1 of parameter REL No.5500 specifies this option.
This value is rounded down when bit 2 of parameter ABS No.5500 specifies this option.
Impossible to move
Impossible to specify
Possible with any address other than B that of the indexing axis.
Unless otherwise processed by the machine, feed hold, interlock and emergency stop
can be executed. Machine lock can be executed after indexing is completed.
Disabled
SERVO OFF signal
The indexing axis is usually in the servo-off state.
Incremental commands for
The workpiece coordinate system and machine coordinate system must always agree
indexing the index table
with each other on the indexing axis (the workpiece zero point offset value is zero.).
Manual operation is disabled in the JOG, INC, or HANDLE mode.
A manual reference position return can be made. If the axis selection signal is set to
Operations for indexing the
zero during manual reference position return, movement is stopped and the clamp
index table
command is not executed.
This function cannot be used on an axis on which the pole position detection function is
Pole position detection function
used.
- 96 -
B-64304EN-2/01
5.5
5.FUNCTIONS TO SIMPLIFY
PROGRAMMING
PROGRAMMING
Overview
Each time the switch on the machine operator's panel is input when
the machine is at a table swing end point, the machine makes a cut by
a constant amount along the programmed profile on the specified YZ
plane. This makes it possible to perform grinding and cutting in a
timely manner and facilitating the grinding of a workpiece with a
profile.
X=a
External
signal input
(2)
(3)
A
(1)B(4)
D
Y
X
X=0
Sensor placement
5. FUNCTIONS TO SIMPLIFY
PROGRAMMING
PROGRAMMING
B-64304EN-2/01
NOTE
In-feed control function is optional function.
Format
G161 R_ ;
Profile program
G160 ;
Explanation
- G161 R_
This specifies an operation mode and the start of a profile program.
A dept of cut can be specified with R.
- Profile program
Program the profile of a workpiece on the YZ plane, using linear
interpolation (G01) or circular interpolation (G02, G03).
Multiple-block commands are possible.
When a profile program is started, the machine is placed in the state in
which it waits for the input of the switch on the machine operator's
panel. When the switch on the machine operator's panel is input in this
state, the machine makes a cut by the amount of cut specified with R.
Later, until the end point of the program, the machine makes a cut
each time the switch on the machine operator's panel is input. If the
final depth of cut is less than R, the remaining travel distance is
assumed the depth of cut.
The feedrate is the one specified in the program with an F code. As in
normal linear interpolation (G01) or circular interpolation (G02, G03),
override can be applied.
- G160
This specifies the cancellation of an operation mode (end of a profile
program).
Limitation
- G161 R_
If no value is specified with R or if the value specified with R is
negative, alarm PS0230 is issued.
- Profile program
In a profile program, do not issue move commands other than those
for linear interpolation (G01) and circular interpolation (G02, G03).
- 98 -
PROGRAMMING
B-64304EN-2/01
5.FUNCTIONS TO SIMPLIFY
PROGRAMMING
CAUTION
If a move command other than those for linear
interpolation (G01) and circular interpolation (G02,
G03) is issued in a profile program, an unexpected
movement may result.
- Grinding operation
In this operation mode, a grinding operation that causes the machine
to move to and from the grinding wheel cannot be specified in an NC
program. Perform such an operation in another way.
- Block overlap
In this operation mode, block overlap is disabled.
Example
O0001 ;
:
N0 G161 R10.0 ;
N1 G91 G01 Z-70.0 F100 ;
N2 G19 G02 Z-80.0 R67.0 ;
N3 G01 Z-70.0 ;
N4 G160 ;
:
70.0
80.0
70.0
N2
N1
N3
Y
R=67.000
The program above causes the machine to move by 10.000 along the
machining profile in the figure above each time the switch on the
machine operator's panel is input.
= Travel distance at each input of the switch on the machine
operator's panel.
The feedrate is the one specified in the program with an F code.
- 99 -
5. FUNCTIONS TO SIMPLIFY
PROGRAMMING
PROGRAMMING
B-64304EN-2/01
Note
NOTE
If manual intervention is performed during in-feed
control, the tool path after the manual intervention
can be switched by setting the manual absolute
switch to on or off as in normal linear/circular
interpolation. When the manual absolute switch is
on, the machine returns to the programmed path
for an absolute command or for an incremental
command with bit 1 (ABS) of parameter No. 7001
being 1.
- 100 -
PROGRAMMING
B-64304EN-2/01
5.6
5.FUNCTIONS TO SIMPLIFY
PROGRAMMING
- 101 -
5. FUNCTIONS TO SIMPLIFY
PROGRAMMING
PROGRAMMING
B-64304EN-2/01
WARNING
The G codes for canned grinding cycles G75, G77,
G78, and G79 are G codes of group 01. A G code
for cancellation such as G80 used for a canned
cycle for drilling is unavailable. By specifying a G
code of group 00 other than G04, modal information
such as a depth of cut is cleared but no canned
grinding cycle can be canceled. To cancel a canned
grinding cycle, a G code of group 01 other than
G75, G77, G78, and G79 needs to be specified. So,
when switching to another axis move command
from canned grinding cycles, for example, be sure
to specify a G code of group 01 such as G00 or G01
to cancel the canned grinding cycle. If another axis
move command is specified without canceling the
canned grinding cycle, an unpredictable operation
can result because of continued cycle operation.
NOTE
1 If the G code for a canned grinding cycle (G75,
G77, G78, or G79) is specified, the canned grinding
cycle is executed according to the values of I, J, K,
, R, F, and P preserved as modal data while the
cycle is valid, even if a block specified later
specifies none of G75, G77, G78, and G79.
Example:
G75 I_ J_ K_ _ R_ F_ P_ ;
; The canned grinding cycle is executed even
if an empty block is specified.
%
2 When switching from a canned cycle for drilling to a
canned grinding cycle, specify G80 to cancel the
canned cycle for drilling.
3 When switching from a canned grinding cycle to
another axis move command, cancel the canned
cycle according to the warning above.
- 102 -
PROGRAMMING
B-64304EN-2/01
5.6.1
5.FUNCTIONS TO SIMPLIFY
PROGRAMMING
Format
G75 I_ J_ K_ _ R_ F_ P_ L_ ;
I_
J_
K_
_
R_
F_
P_
L_
:
:
:
:
:
:
:
:
I
J
<1> (R)
<3> (F)
<2> P
<4> (R)
<6> (F)
<5> P
NOTE
is an arbitrary axis address on the grinding axis
as determined with parameter No. 5176.
- 103 -
5. FUNCTIONS TO SIMPLIFY
PROGRAMMING
PROGRAMMING
B-64304EN-2/01
Explanation
A plunge grinding cycle consists of a sequence of six operations.
Operations <1> to <6> are repeated until the depth of cut reaches the
total depth of cut specified with address K. For a single block,
operations <1> to <6> are executed with a single cycle start.
<2> Dwell
Performs a dwell for the time specified with P.
<3> Grinding
Causes the machine to move with cutting feed by the amount specified
with . The grinding axis is specified with parameter No. 5176. The
feedrate is the one specified with F. If L is specified when the
continuous dressing function is enabled, dressing is performed with
the cutting axis and the dressing axis. The dressing axis is specified
with parameter No. 5180.
<5> Dwell
Performs a dwell for the time specified with P.
- Continuous dressing
If the continuous dressing function is enabled, the grinding-wheel cut
and the dresser cut are continuously compensated for according to the
dressing amount specified with L during the execution of grinding.
That is, continuous dressing is performed in each grinding operation
in the sequence of operations in the cycle, resulting in simultaneous
3-axis interpolation with compensation in the cutting axis direction
and compensation in the dressing axis direction simultaneous with
movement along the grinding axis. At this time, the travel distance
(compensation) along the cutting axis is equal to the specified dressing
amount, and the travel distance along the dressing axis is equal to
double the specified dressing amount (diameter).
For the dressing amount, specify an offset number (grinding-wheel
wear compensation number) with address L. Up to 400 offset numbers
(L1 to L400) can be specified. Establish correspondence between
compensation amounts and offset numbers, and set it in offset memory
in advance, using the MDI panel.
- 104 -
B-64304EN-2/01
5.FUNCTIONS TO SIMPLIFY
PROGRAMMING
PROGRAMMING
a: Amount of dressing
Dresser
Cutting axis
2a
Grinding wheel
a
Grinding axis
Workpiece
NOTE
Continuous dressing function is optional function.
Limitations
- Cutting axis
The cutting axis is the second controlled axis. By setting bit 0 (FXY)
of parameter No. 5101 to 1, the axis can be switched with a plane
selection command (G17, G18, or G19).
- Grinding axis
To specify a grinding axis, set its axis number, which must be other
than that of the cutting axis, in parameter No. 5176.
- Dressing axis
To specify a dressing axis, set its axis number, which must be other
than those of the cutting axis and the grinding axis, in parameter No.
5180.
- ,I,J,K
, I, J, and K commands are all incremental ones.
Spark-out (execution of movement in the grinding direction only)
occurs in the following cases:
I or J is not specified or I = J = 0
K is not specified or K = 0
If I or J is not specified or if I = J = 0 is true, and K is not equal to 0, a
grinding operation is performed infinitely.
- Clearing
The data items I, J, K, , R, F, and P in a canned cycle are modal
information common to G75, G77, G78, and G79, so that once
specified, they remain effective until specified anew. The data is
cleared when a G code of group 00 other than G04 or a G code of
group 01 other than G75, G77, G78, and G79 is specified. L is
effective only in the block in which it is specified.
- 105 -
5. FUNCTIONS TO SIMPLIFY
PROGRAMMING
PROGRAMMING
B-64304EN-2/01
<1>
<3>
<2>
<4>
<6>
<5>
K
I
<1>
<2>
<3>
<5>
<6>
<1>
<3>
<2>
<6>
<4>
<5>
K
<1>
I <2>
<3>
<6>
<5>
NOTE
1 If I, J, and K have different signs, alarm PS0455 is issued.
2 If G75 is specified, but a grinding axis is not specified,
alarm PS0455 is issued.
3 If any two of the cutting axis number, the grinding axis
number, and the dressing axis number are the same, alarm
PS0456 is issued.
4 While this cycle is effective, even if G90 (absolute
command) is executed, the , I, J, and K commands are
incremental ones.
- 106 -
PROGRAMMING
B-64304EN-2/01
5.6.2
5.FUNCTIONS TO SIMPLIFY
PROGRAMMING
Format
G77 I_ J_ K_ _ R_ F_ P_ L_ ;
I_ : First depth of cut (The cutting direction depends on the
sign.)
J_ : Second depth of cut (The cutting direction depends on
the sign.)
K_ : Total depth of cut (The cutting direction depends on the
sign.)
_ : Grinding range (The grinding direction depends on the
sign.)
R_: Feedrate for I and J
F_ : Feedrate for
P_ : Dwell time
L_ : Grinding-wheel wear compensation number (during
continuous dressing only)
G77
I
J
<1> (R)
<3> (F)
<4> (R)
<2> P
<6> (F)
<5> P
NOTE
is an arbitrary axis address on the grinding axis
as determined with parameter No. 5177.
- 107 -
5. FUNCTIONS TO SIMPLIFY
PROGRAMMING
PROGRAMMING
B-64304EN-2/01
Explanation
A direct constant-dimension plunge grinding cycle consists of a
sequence of six operations.
Operations <1> to <6> are repeated until the depth of cut reaches the
total depth of cut specified with address K. For a single block,
operations <1> to <6> are executed with a single cycle start.
<2> Dwell
Performs a dwell for the time specified with P.
<3> Grinding
Causes the machine to move with cutting feed by the amount specified
with . The grinding axis is specified with parameter No. 5177. The
feedrate is the one specified with F. If L is specified when the
continuous dressing function is enabled, dressing is performed with
the cutting axis and the dressing axis. The dressing axis is specified
with parameter No. 5181.
<5> Dwell
Performs a dwell for the time specified with P.
- Continuous dressing
If the continuous dressing function is enabled, the grinding-wheel cut
and the dresser cut are continuously compensated for according to the
dressing amount specified with L during the execution of grinding.
For details, see Explanation of G75.
- 108 -
PROGRAMMING
B-64304EN-2/01
5.FUNCTIONS TO SIMPLIFY
PROGRAMMING
Skip signal
(End)
(End)
Skip signal
(End)
Limitations
- Cutting axis
The cutting axis is the second controlled axis. By setting bit 0 (FXY)
of parameter No. 5101 to 1, the axis can be switched with a plane
selection command (G17, G18, or G19).
- Grinding axis
To specify a grinding axis, set its axis number, which must be other
than that of the cutting axis, in parameter No. 5177.
- Dressing axis
To specify a dressing axis, set its axis number, which must be other
than those of the cutting axis and the grinding axis, in parameter No.
5181.
- 109 -
5. FUNCTIONS TO SIMPLIFY
PROGRAMMING
PROGRAMMING
B-64304EN-2/01
- ,I,J,K
, I, J, and K commands are all incremental ones.
Spark-out (execution of movement in the grinding direction only)
occurs in the following cases:
I or J is not specified or I = J = 0
K is not specified or K = 0
If I or J is not specified or if I = J = 0 is true, and K is not equal to 0, a
grinding operation is performed infinitely.
- Clearing
The data items I, J, K, , R, F, and P in a canned cycle are modal
information common to G75, G77, G78, and G79, so that once
specified, they remain effective until specified anew. The data is
cleared when a G code of group 00 other than G04 or a G code of
group 01 other than G75, G77, G78, and G79 is specified. L is
effective only in the block in which it is specified.
NOTE
1 If I, J, and K have different signs, alarm PS0455 is
issued.
2 If G77 is specified, but a grinding axis is not
specified, alarm PS0455 is issued.
3 If any two of the cutting axis number, the grinding
axis number, and the dressing axis number are the
same, alarm PS0456 is issued.
4 While this cycle is effective, even if G90 (absolute
command) is executed, the , I, J, and K
commands are incremental ones.
- 110 -
PROGRAMMING
B-64304EN-2/01
5.6.3
5.FUNCTIONS TO SIMPLIFY
PROGRAMMING
Format
G78 I_ (J_) K_ _ F_P_ L_ ;
I_ : First depth of cut (The cutting direction depends on the
sign.)
J_ : Second depth of cut (The cutting direction depends on
the sign.)
K_ : Total depth of cut (The cutting direction depends on the
sign.)
_ : Grinding range (The grinding direction depends on the
sign.)
F_ : Feedrate for
P_ : Dwell time
L_ : Grinding-wheel wear compensation number (during
continuous dressing only)
G78
<1> P
I
I(J)
<2> (F)
<3> P
<4> (F)
NOTE
is an arbitrary axis address on the grinding axis
as determined with parameter No. 5178.
- 111 -
5. FUNCTIONS TO SIMPLIFY
PROGRAMMING
PROGRAMMING
B-64304EN-2/01
Explanation
A continuous-feed surface grinding cycle consists of a sequence of
four operations.
Operations <1> to <4> are repeated until the depth of cut reaches the
total depth of cut specified with address K. For a single block,
operations <1> to <4> are executed with a single cycle start.
<3> Dwell
Performs a dwell for the time specified with P.
- Continuous dressing
If the continuous dressing function is enabled, the grinding-wheel cut
and the dresser cut are continuously compensated for according to the
dressing amount specified with L during the execution of grinding.
For details, see Explanation of G75.
- 112 -
B-64304EN-2/01
PROGRAMMING
5.FUNCTIONS TO SIMPLIFY
PROGRAMMING
Limitations
- Cutting axis
The cutting axis is the third controlled axis. By setting bit 0 (FXY) of
parameter No. 5101, the axis can be switched with a plane selection
command (G17, G18, or G19).
- Grinding axis
To specify a grinding axis, set its axis number, which must be other
than that of the cutting axis, in parameter No. 5178.
- Dressing axis
To specify a dressing axis, set its axis number, which must be other
than those of the cutting axis and the grinding axis, in parameter No.
5182.
-J
If J is not specified, J is regarded as being equal to I.
The J command is effective only in the block in which it is specified.
- ,I,J,K
, I, J, and K commands are all incremental ones.
Spark-out (execution of movement in the grinding direction only)
occurs in the following cases:
I or J is not specified or I = J = 0
K is not specified or K = 0
If I or J is not specified or if I = J = 0 is true, and K is not equal to 0, a
grinding operation is performed infinitely.
- Clearing
The data items I, K, , R, F, and P in a canned cycle are modal
information common to G75, G77, G78, and G79, so that once
specified, they remain effective until specified anew. The data is
cleared when a G code of group 00 other than G04 or a G code of
group 01 other than G75, G77, G78, and G79 is specified. J, L is
effective only in the block in which it is specified.
- 113 -
5. FUNCTIONS TO SIMPLIFY
PROGRAMMING
PROGRAMMING
B-64304EN-2/01
<1>
<2>
<3>
<4>
<1>
<2>
<3>
<4>
<1>
<2>
<3>
<4>
<1>
I
<2>
<4>
<3>
NOTE
1 If I, J, and K have different signs, alarm PS0455 is issued.
2 If G78 is specified, but a grinding axis is not specified,
alarm PS0455 is issued.
3 If any two of the cutting axis number, the grinding axis
number, and the dressing axis number are the same, alarm
PS0456 is issued.
4 While this cycle is effective, even if G90 (absolute
command) is executed, the , I, J, and K commands are
incremental ones.
- 114 -
PROGRAMMING
B-64304EN-2/01
5.6.4
5.FUNCTIONS TO SIMPLIFY
PROGRAMMING
Format
G79 I_ J_ K_ _ R_ F_ P_ L_ ;
I_
J_
K_
_
R_
F_
P_
L_
:
:
:
:
:
:
:
:
I
J
<1> (R)
<3> (F)
<2> P
<4> (R)
<6> (F)
<5> P
NOTE
is an arbitrary axis address on the grinding axis
as determined with parameter No. 5179.
- 115 -
5. FUNCTIONS TO SIMPLIFY
PROGRAMMING
PROGRAMMING
B-64304EN-2/01
Explanation
An intermittent-feed surface grinding cycle consists of a sequence of
six operations.
Operations <1> to <6> are repeated until the depth of cut reaches the
total depth of cut specified with address K. For a single block,
operations <1> to <6> are executed with a single cycle start.
<2> Dwell
Performs a dwell for the time specified with P.
<3> Grinding
Causes the machine to move with cutting feed by the amount specified
with . The grinding axis is specified with parameter No. 5179. The
feedrate is the one specified with F. If L is specified when the
continuous dressing function is enabled, dressing is performed with
the cutting axis and the dressing axis. The dressing axis is specified
with parameter No. 5183.
<5> Dwell
Performs a dwell for the time specified with P.
- Continuous dressing
If the continuous dressing function is enabled, the grinding-wheel cut
and the dresser cut are continuously compensated for according to the
dressing amount specified with L during the execution of grinding.
For details, see Explanation of G75.
Limitations
- Cutting axis
The cutting axis is the third controlled axis. By setting bit 0 (FXY) of
parameter No. 5101 to 1, the axis can be switched with a plane
selection command (G17, G18, or G19).
- Grinding axis
To specify a grinding axis, set its axis number, which must be other
than that of the cutting axis, in parameter No. 5179.
- 116 -
B-64304EN-2/01
PROGRAMMING
5.FUNCTIONS TO SIMPLIFY
PROGRAMMING
- Dressing axis
To specify a dressing axis, set its axis number, which must be other
than those of the cutting axis and the grinding axis, in parameter No.
5183.
- ,I,J,K
, I, J, and K commands are all incremental ones.
Spark-out (execution of movement in the grinding direction only)
occurs in the following cases:
I or J is not specified or I = J = 0
K is not specified or K = 0
If I or J is not specified or if I = J = 0 is true, and K is not equal to 0, a
grinding operation is performed infinitely.
- Clearing
The data items I, J, K, , R, F, and P in a canned cycle are modal
information common to G75, G77, G78, and G79, so that once
specified, they remain effective until specified anew. The data is
cleared when a G code of group 00 other than G04 or a G code of
group 01 other than G75, G77, G78, and G79 is specified. L is
effective only in the block in which it is specified.
NOTE
1 If I, J, and K have different signs, alarm PS0455 is
issued.
2 If G79 is specified, but a grinding axis is not
specified, alarm PS0455 is issued.
3 If any two of the cutting axis number, the grinding
axis number, and the dressing axis number are the
same, alarm PS0456 is issued.
4 While this cycle is effective, even if G90 (absolute
command) is executed, the , I, J, and K
commands are incremental ones.
- 117 -
6.COMPENSATION FUNCTION
PROGRAMMING
B-64304EN-2/01
COMPENSATION FUNCTION
Chapter 6, "COMPENSATION FUNCTION", consists of the
following sections:
6.1
6.2
6.3
6.4
6.5
6.6
6.7
6.8
- 118 -
PROGRAMMING
B-64304EN-2/01
6.1
6.COMPENSATION FUNCTION
Actual tool
6.1.1
Overview
The following three methods of tool length compensation can be used,
depending on the axis along which tool length compensation can be
made.
- Tool length compensation A
Compensates for the difference in tool length along the basic Z-axis.
- Tool length compensation B
Compensates for the difference in tool length in the direction normal
to a selected plane.
- Tool length compensation C
Compensates for the difference in tool length along a specified axis.
Format
Type
Format
G43 Z_ H_ ;
G44 Z_ H_ ;
G17 G43 Z_ H_ ;
G17 G44 Z_ H_ ;
G18 G43 Y_ H_ ;
G18 G44 Y_ H_ ;
G19 G43 X_ H_ ;
G19 G44 X_ H_ ;
G43 _H_ ;
G44 _H_ ;
G49 ; or H0 ;
- 119 -
Description
G43
G44
G17
G18
G19
: Positive offset
: Negative offset
: XY plane selection
: ZX plane selection
: YZ plane selection
: Address of a specified axis
: Address for specifying the
tool length compensation
value
X, Y, Z : Offset move command
6.COMPENSATION FUNCTION
PROGRAMMING
B-64304EN-2/01
Explanation
- Selection of tool length compensation
Select tool length compensation A, B, or C, by setting bits 1 (TLB)
and 0 (TLC) of parameter No.5001 .
Parameter No.5001
Bit 1 (TLB)
Bit 0 (TLC)
0
1
0/1
0
0
1
Type
Tool length compensation A
Tool length compensation B
Tool length compensation C
- 120 -
B-64304EN-2/01
PROGRAMMING
6.COMPENSATION FUNCTION
Example
:
H1 ;
The offset value of offset number 1 is
selected.
:
G43 Z_ ; Offset is applied according to the offset
value of offset number 1.
:
H2 ;
Offset is applied according to the offset
value of offset number 2.
:
H0 ;
Offset is applied according to the offset
value 0.
:
H3 ;
Offset is applied according to the offset
value of offset number 3.
:
G49 ;
Offset is canceled.
:
H4 ;
The offset value of offset number 4 is
selected.
:
A tool length compensation value is to be set in the offset memory
corresponding to an offset number.
WARNING
When another offset number is specified, the tool
length compensation value just changes to a new
value. The new tool length compensation value
is not added to the old tool length compensation
value.
H1 : Tool length compensation value 20.0
H2 : Tool length compensation value 30.0
G90 G43 Z100.0 H1 ; Z will move to 120.0
G90 G43 Z100.0 H2 ; Z will move to 130.0
NOTE
The tool length compensation value corresponding
to offset No. 0, that is, H0 always means 0. It is
impossible to set any other tool length
compensation value to H0.
- 121 -
6.COMPENSATION FUNCTION
PROGRAMMING
B-64304EN-2/01
Example 1
When tool length compensation B is executed
along the X-axis and Y-axis
G19 G43 H_ ;
Offset in X axis
G18 G43 H_ ;
Offset in Y axis
Example 2
When tool length compensation C is executed
along the X-axis and Y-axis
G43 X_ H_ ;
Offset in X axis
G43 Y_ H_ ;
Offset in Y axis
Example 3
When an alarm is issued with tool length
compensation C
G43 X_ Y_ H_ ;
An alarm (PS0336) occurs
- Tool length compensation cancel
To cancel tool length compensation, specify G49 or H0. After G49 or
H0 is specified, the system immediately cancels the offset mode.
NOTE
1 If offset is executed along two or more axes, offset
along all axes is canceled by specifying G49. If H0
is used to specify cancellation, offset along only the
axis normal to a selected plane is canceled in the
case of tool length compensation B, or offset along
only the last axis specified by G43 or G44 is canceled
in the case of tool length compensation C.
2 If offset is executed along three or more axes, and
offset along all axes is canceled using G49, the alarm
PS0015 (TOO MANY SIMULTANEOUS AXES) may
be issued. By using H0 together, for example,
cancel offset so that the number of simultaneously
controlled axes (the number of axes along which
movements are made simultaneously) does not
exceed the allowable range of the system.
3 When H is specified as an address for setting a
compensation number in cutter compensation
(G40, G41, or G42) (bit 2 (OFH) of parameter
No.5001 = 1), G49 (tool length compensation
cancel) is performed in the block if G49 (tool length
compensation cancel) is specified in the same block
as for G40 (cutter compensation cancel).
- 122 -
6.COMPENSATION FUNCTION
PROGRAMMING
B-64304EN-2/01
Example
Tool length compensation (in boring holes #1, #2, and #3)
#1
#3
20
30
(6)
(13)
+Y
(9)
(1)
#2
30
+X
30
120
Actual position
Offset value
=4mm
Programmed
position
50
+Z
(2)
35
(12)
18 (3) (5) (7)
(8)
(4)
30
(10)
8
22
(11)
Program
H1=-4.0 (Tool length compensation value)
N1 G91 G00 X120.0 Y80.0 ;........................................................... (1)
N2 G43 Z-32.0 H1 ; ....................................................................... (2)
N3 G01 Z-21.0 F1000 ; ................................................................. (3)
N4 G04 P2000 ; ............................................................................... (4)
N5 G00 Z21.0 ;................................................................................ (5)
N6 X30.0 Y-50.0 ; ........................................................................... (6)
N7 G01 Z-41.0 ; .............................................................................. (7)
N8 G00 Z41.0 ;................................................................................ (8)
N9 X50.0 Y30.0 ; ............................................................................ (9)
N10 G01 Z-25.0 ; ............................................................................ (10)
N11 G04 P2000 ; ........................................................................... (11)
N12 G00 Z57.0 H0 ; ...................................................................... (12)
N13 X-200.0 Y-60.0 ;...................................................................... (13)
N14 M2 ;
- 123 -
6.COMPENSATION FUNCTION
PROGRAMMING
B-64304EN-2/01
Notes
- Command for setting a workpiece coordinate system in the tool length
compensation mode
Executing a workpiece coordinate system setting G code command
(G92) presets a coordinate system in such a way that the specified
position will be a pre-compensation position.
However, this G code cannot be used together with a block where tool
length compensation vectors vary. Refer to Notes in "Work
Coordinate System Setting" of the User's Manual (Common) for
details.
- 124 -
B-64304EN-2/01
6.1.2
PROGRAMMING
6.COMPENSATION FUNCTION
Explanation
- Tool length compensation vector cancellation
When G53, G28, or G30 is specified in tool length compensation
mode, tool length compensation vectors are canceled as described
below. However, the previously specified modal G code remains
displayed; modal code display is not switched to G49.
(1) When G53 is specified
Command
G53 IP_
Specified axis
Tool length
compensation axis
Other than tool length
compensation axis
Tool length
compensation axis
Other than tool length
compensation axis
Operation
Canceled upon movement being
performed
Not canceled
Canceled upon movement being
performed
Canceled
CAUTION
If tool length compensation is applied along
multiple axes, the offset vector along the axis
specified by G53 is canceled.
(2) When G28 or G30 is specified
Command
Specified axis
Tool length
compensation axis
G28 IP_
Tool length
compensation axis
Other than tool length
compensation axis
- 125 -
Operation
Not canceled at an intermediate
point.
Canceled at the reference
position.
Not canceled at an intermediate
point.
Canceled at the reference
position.
Canceled when a movement is
made to an intermediate point.
Canceled when a movement is
made to an intermediate point.
6.COMPENSATION FUNCTION
PROGRAMMING
B-64304EN-2/01
CAUTION
If tool length compensation is applied along
multiple axes, the offset vector along the axis on
which a reference position return operation has
been performed is canceled.
- Tool length compensation vector restoration
Tool length compensation vectors, canceled by specifying G53, G28,
or G30 in tool length compensation mode, are restored as described
below.
Type
Parameter EVO
(No.5001#6)
0
A/B
1
C
Restoration condition
The H command or G43 (G44) is
specified.
Restored by the next buffered block.
The H command or G43 (G44) IP_ is
specified.
CAUTION
If a tool length compensation vector is restored
only with H_, G43, or G44 when tool length
compensation is applied along multiple axes, the
tool length compensation vector along only the
axis normal to a selected plane is restored in the
case of tool length compensation B, or the tool
length compensation vector along only the last axis
for which tool length compensation is specified is
restored in the case of tool length compensation C.
The tool length compensation vector along any
other axes is not restored.
NOTE
In a block in which G40, G41, or G42 is specified,
no tool length compensation vector is restored.
- 126 -
PROGRAMMING
B-64304EN-2/01
6.2
6.COMPENSATION FUNCTION
Overview
A tool length compensation operation can be performed by shifting
the program coordinate system: The coordinate system containing
the axis subject to tool length compensation is shifted by the tool
length compensation value. A tool length compensation shift type
can be selected with parameter TOS (parameter No. 5006#6). If no
move command is specified together with the G43, G44, or G49
command, the tool will not move along the axis. If a move command
is specified together with the G43, G44, or G49 command, the
coordinate system will be shifted first, then the tool will move along
the axis.
One of the following three methods is available, depending on the
type of axis that can be subject to tool length compensation:
Format
- Tool length compensation A
G43 Z_H_;
Shifts the coordinate system along the Z axis by the
compensation value, to the + side.
G44 Z_H_;
Shifts the coordinate system along the Z axis by the
compensation value, to the - side.
G43 (or G44) : + (or -) side offset at which to start tool
length compensation
H_
: Address specifying the tool length
compensation value
- 127 -
6.COMPENSATION FUNCTION
PROGRAMMING
B-64304EN-2/01
G44 _H_;
Shifts the coordinate system along a specified axis by the
compensation value, to the - side.
G43 (or G44) : + (or -) side offset at which to start tool
length compensation
_
: Address of any one axis
H_
: Address specifying the tool length
compensation value
- 128 -
B-64304EN-2/01
PROGRAMMING
6.COMPENSATION FUNCTION
Explanation
- Offset direction
If the tool length compensation value specified with an H code (and
stored in offset memory) is G43, the coordinate system is shifted to
the + side; if G44, to the - side. If the sign of the tool length
compensation value is -, the coordinate system is shifted to the - side
if G43 and to the + side if G44. G43 and G44 are modal G codes;
they remain valid until another G code in the same group is used.
- Compensation axis
Specify one of tool length compensation types A, B, and C, using
parameters TLC and TLB (No. 5001#0, #1).
- 129 -
6.COMPENSATION FUNCTION
PROGRAMMING
B-64304EN-2/01
Limitation
- Operation to be performed at the start and cancellation of tool length
compensation
When a tool length compensation shift type is used (bit 6 (TOS) of
parameter No. 5006 = 1), and if the start or cancellation (G43, G44,
G49, or H0) of a tool length compensation is specified in cutter
compensation mode (G41,G42), look-ahead of the subsequent blocks
is not performed until the end of the block in which the start or
cancellation is specified. Thus, the operation is as described below.
- 130 -
B-64304EN-2/01
PROGRAMMING
6.COMPENSATION FUNCTION
Tool
- 131 -
6.COMPENSATION FUNCTION
PROGRAMMING
B-64304EN-2/01
- 132 -
B-64304EN-2/01
PROGRAMMING
6.COMPENSATION FUNCTION
- 133 -
6.COMPENSATION FUNCTION
PROGRAMMING
B-64304EN-2/01
- 134 -
PROGRAMMING
B-64304EN-2/01
2
3
4
5
6
6.COMPENSATION FUNCTION
CAUTION
Specifying tool length compensation (a shift type)
first and then executing an incremental
programming causes the tool length compensation
value to be reflected in the coordinates only, not in
the travel distance of the machine; executing an
absolute programming causes the tool length
compensation value to be reflected in both the
movement of the machine and the coordinates.
If a programmable mirror image is effective, the tool
length compensation is applied in the specified
direction.
No scaling magnification is applied to the tool length
compensation value.
No coordinate system rotation is applied to the tool
length compensation value. Tool length
compensation is effective in the direction in which
the offset is applied.
With the WINDOW command, changing parameter
TOS during automatic operation does not cause the
tool length compensation type to be changed.
If offset has been performed on two or more axes
with tool length compensation B, a G49 command
causes the offset to be canceled on all axes; H0
causes the offset to be canceled only on the axis
vertical to the specified plane.
If the tool length compensation value is changed by
changing the offset number, this simply means that
the value is replaced by a new tool length
compensation value; it does not mean that a new
tool length compensation value is added to the old
tool length compensation.
- 135 -
6.COMPENSATION FUNCTION
PROGRAMMING
10
11
B-64304EN-2/01
CAUTION
If reference position return (G28 or G30) has been
specified, tool length compensation is canceled for
the axis specified at the time of positioning on the
reference point; however, tool length compensation
is not canceled for an un-specified axis. If
reference position return has been specified in the
same block as that containing tool length
compensation cancel (G49), tool length
compensation is canceled for both the specified and
un-specified axes at the time of positioning on the
mid-point.
With a machine coordinate system command
(G53), tool length compensation is canceled for the
axis specified at the time of positioning on the
specified point.
The tool length compensation vector canceled by
specifying G53, G28, or G30 during tool length
compensation is restored as described below:
For tool length compensation types A and B, if
parameter EVO (No. 5001#6) is 1, the vector is
restored in the block buffered next; for all of tool
length compensation types A, B, and C, it is
restored in a block containing an H, G43, or G44
command if parameter is 0.
When a tool length compensation shift type is used,
if the start or cancellation of a tool length
compensation or other command is specified cutter
compensation mode, look-ahead is not performed.
As a result, overcutting or undercutting may occur
before or after the block in which the start or
cancellation is specified. Thus, specify the start and
cancellation of tool length compensation before the
entry to cutter compensation mode or at a location
where machining is not affected.
- 136 -
B-64304EN-2/01
6.3
PROGRAMMING
6.COMPENSATION FUNCTION
Rapid
traverse
A (Start point)
Measurement position is commanded
with G37
B (Deceleration position)
Measurement
feedrate
C (Measurement position)
The tool stops when the approach end
signal goes on.
X
Format
G92 IP_ ;
Explanation
- Setting the workpiece coordinate system
Set the workpiece coordinate system so that a measurement can be
made after moving the tool to the measurement position. The
coordinate system must be the same as the workpiece coordinate
system for programming.
- 137 -
6.COMPENSATION FUNCTION
PROGRAMMING
B-64304EN-2/01
- Specifying G37
Specify the absolute coordinates of the correct measurement position.
Execution of this command moves the tool at the rapid traverse rate
toward the measurement position, reduces the federate halfway, then
continuous to move it until the approach end signal from the
measuring instrument is issued. When the tool nose reaches the
measurement position, the measuring instrument sends an approach
end signal to the CNC which stops the tool.
- Alarm
When automatic tool length measurement is executed, the tool moves
as shown in Fig. 6.2 (b). If the approach end signal goes on while the
tool is traveling from point B to point C, an alarm occurs. Unless the
approach end signal goes on before the tool reaches point F, the same
alarm occurs. The alarm number is PS0080.
Rapid
traverse
Start
point
Deceleration
feedrate
(measurement
feedrate)
B
F
Position commanded
by G37
CAUTION
When a manual movement is inserted into a
movement at a measurement federate, return the
tool to the position before the inserted manual
movement for restart.
- 138 -
B-64304EN-2/01
PROGRAMMING
6.COMPENSATION FUNCTION
NOTE
1 When an H code is specified in the same block as
G37, an alarm is generated. Specify H code before
the block of G37.
2 The measurement speed (FP), , and are set as
parameters (FP: No. 6241, : No. 6251, : No.
6254) by the machine tool builder. Make settings
so that e are always positive and are always
greater than .
3 When tool offset memory A is used, the offset
value is changed. When tool offset memory C is
used, the tool wear compensation value for the H
code is changed.
4 A delay or variation in detection of the
measurement position arrival signal is 0 to 2 msec
on the CNC side excluding the PMC side.
Therefore, the measurement error is the sum of 2
msec and a delay or variation (including a delay or
variation on the receiver side) in propagation of the
skip signal on the PMC side, multiplied by the
feedrate set in parameter No. 6241.
5 A delay or variation in time after detection of the
measurement position arrival signal until a feed
stops is 0 to 8 msec. To calculate the amount of
overrun, further consider a delay in
acceleration/deceleration, servo delay, and delay
on the PMC side.
- 139 -
6.COMPENSATION FUNCTION
PROGRAMMING
B-64304EN-2/01
Example
G92 Z760.0 X1100.0 ; Sets a workpiece coordinate system with
respect to the programmed absolute zero
point.
G00 G90 X850.0 ;
Moves the tool to X850.0.
That is the tool is moved to a position that is a
specified distance from the measurement
position along the Z-axis.
H01 ;
Specifies offset number 1.
G37 Z200.0 ;
Moves the tool to the measurement position.
G00 Z204.0 ;
Retracts the tool a small distance along the
Z-axis.
For example, if the tool reaches the measurement position with
Z198.0;, the compensation value must be corrected. Because the
correct measurement position is at a distance of 200 mm, the
compensation value is lessened by 2.0 mm (198.0 - 200.0 = -2.0).
Z
760
200
Measurement
position along Z axis
0
850
- 140 -
1100
B-64304EN-2/01
6.4
PROGRAMMING
6.COMPENSATION FUNCTION
Workpiece
Tool
Programmed path
Format
G45 IP_ D_ ; Increase the travel distance by the tool
offset value
G46 IP_ D_ ; Decrease the travel distance by the tool
offset value
G47 IP_ D_ ; Increase the travel distance by twice the
tool offset value
G48 IP_ D_ ; Decrease the travel distance by twice the
tool offset value
G45 to 48 : One-shot G code for increasing or decreasing
the travel distance
IP_
: Command for moving the tool
D_
Code for specifying the tool offset value
* If bit 2 (OFH) of parameter No. 5001 ="0", setting bit 5
(TPH) of parameter No. 5001 to "1" enables address H to
be used as a code for specifying a tool position offset
value.
- 141 -
6.COMPENSATION FUNCTION
PROGRAMMING
B-64304EN-2/01
Explanation
- Increase and decrease
As shown in Table 6.4 (a), the travel distance of the tool is increased
or decreased by the specified tool offset value.
In the absolute mode, the travel distance is increased or decreased as
the tool is moved from the end point of the previous block to the
position specified by the block containing G45 to G48.
Table 6.4 (a) Increase and decrease of the tool travel distance
G code
Start point
End point
Start point
Start point
End point
Start point
End point
Start point
End point
Start point
End point
Start point
End point
Start point
End point
End point
G45
G46
G47
G48
- 142 -
B-64304EN-2/01
PROGRAMMING
6.COMPENSATION FUNCTION
CAUTION
1 When G45 to G48 is specified to n axes (n=1-4)
simultaneously in a motion block, offset is applied to
all n axes.
When the cutter is offset only for cutter radius or
diameter in taper cutting, overcutting or undercutting
occurs.
Therefore, use cutter compensation (G40 - G42)
shown in II-6.4 or 6.6.
Shape actually cut
Desired
shape
Y axis
Overcutting
X axis
G01 X_ F_ ;
G47 X_ Y_ D_ ;
Y_ ;
Desired shape
Undercutting
X axis
- 143 -
6.COMPENSATION FUNCTION
PROGRAMMING
B-64304EN-2/01
NOTE
1 When the specified direction is reversed by
decrease as shown in the figure below, the tool
moves in the opposite direction.
Movement of the
Program command
End
position
Start
position
Equivalent command
X-1.20 ;
N3
Program
N1 G46 G00 X_ Y_ D_ ;
N2 G45 G01 Y_ F_ ;
N3 G45 G03 X_ Y_ I_ ;
N4 G01 X_ ;
N2
- 144 -
PROGRAMMING
B-64304EN-2/01
6.COMPENSATION FUNCTION
Example
Program using tool offset
N12
N11
30R
N9
N10
40
N13
N8
30R
N4
40
N3
N1
Y axis
N5
N2
N6
N7
50
N14
X
Origin
Tool diameter
Offset No.
Tool offset value
80
50
40
30
30
: 20
: 01
: +10.0
Program
N1 G91 G46 G00 X80.0 Y50.0 D01 ;
N2 G47 G01 X50.0 F120.0 ;
N3 Y40.0 ;
N4 G48 X40.0 ;
N5 Y-40.0 ;
N6 G45 X30.0 ;
N7 G45 G03 X30.0 Y30.0 J30.0 ;
N8 G45 G01 Y20.0 ;
N9 G46 X0 ; (Decreases toward the positive direction for movement
amount "0". The tool moves in the -X direction by the
offset value.)
N10 G46 G02 X-30.0 Y30.0 J30.0 ;
N11 G45 G01 Y0 ; (Increase toward the positive direction for
movement amount "0". The tool moves in the +Y
direction by the offset value.)
N12 G47 X-120.0 ;
N13 G47 Y-80.0 ;
N14 G46 G00 X-80.0 Y-50.0 ;
- 145 -
6.COMPENSATION FUNCTION
6.5
PROGRAMMING
B-64304EN-2/01
Cutter
compensation
cancel
Start-up
- 146 -
PROGRAMMING
B-64304EN-2/01
6.COMPENSATION FUNCTION
Format
- Start up (cutter compensation start)
G00(or G01)G41(or G42) IP_D_;
G41
G42
IP_
D_
:
:
:
:
IP_
XpYp
ZpXp
YpZp
G17 ;
G18 ;
G19 ;
Xp_Yp_
Xp_Zp_
Yp_Zp_
Explanation
- Offset cancel mode
At the beginning when power is applied the control is in the cancel
mode. In the cancel mode, the vector is always 0, and the tool center
path coincides with the programmed path.
- Start-up
When a cutter compensation command (G41 or G42, nonzero
dimension word in the offset plane and command 0 in a non-D0 D
code) is specified in the offset cancel mode, the CNC enters the offset
mode.
Moving the tool with this command is called start-up.
Specify positioning (G00) or linear interpolation (G01) for start-up.
If circular interpolation (G02, G03) is specified, alarm PS0034 occurs.
For the start-up and subsequent blocks, the CNC prereads as many
blocks as the number of preread blocks set in the parameter (No.
19625).
- 147 -
6.COMPENSATION FUNCTION
PROGRAMMING
B-64304EN-2/01
- Offset mode
In the offset mode, compensation is accomplished by positioning
(G00), linear interpolation (G01), or circular interpolation (G02, G03).
If three or more blocks that move the tool cannot be read in offset
mode, the tool may make either an excessive or insufficient cut.
If the offset plane is switched in the offset mode, alarm PS0037 occurs
and the tool is stopped.
Offset mode
(G40/D0)
N7
N6
N8
Programmed path
- 148 -
PROGRAMMING
B-64304EN-2/01
6.COMPENSATION FUNCTION
<1>
Programmed path
NOTE
The cutter compensation value for which the D
code corresponds to 0 always means 0.
It is not possible to set the cutter compensation
value corresponding to D0.
- 149 -
6.COMPENSATION FUNCTION
PROGRAMMING
B-64304EN-2/01
0
0
1
9999.99mm
9999.999mm
9999.9999mm
1
0
0
0
0
1
999.999inch
999.9999inch
999.99999inch
1
0
0
- Offset vector
The offset vector is the two dimensional vector that is equal to the
cutter compensation value assigned by D code. It is calculated inside
the control unit, and its direction is up-dated in accordance with the
progress of the tool in each block.
The offset vector is deleted by reset.
- 150 -
6.COMPENSATION FUNCTION
PROGRAMMING
B-64304EN-2/01
Example
250R
N5
C1(700,1300)
P4(500,1150)
C3
P5(900,1150)
(-150,1150)
C2 (1550,1150)
650R
650R
N6
N4
N7
N3
P2
P6(950,900)
P3(450,900)
P7
(250,900)
(1150,900)
N8
N2
P9(700,650)
P1
(250,550)
P8
(1150,550)
N10
N9
Y axis
N1
N11
X axis
Start point
- 151 -
Unit : mm
6.COMPENSATION FUNCTION
PROGRAMMING
B-64304EN-2/01
N2
N3
N4
N5
N6
N7
N8
N9
N10
N11
absolute coordinates.
The tool is positioned at the start point (X0, Y0, Z0).
G90 G17 G00 G41 D07 X250.0 Y550.0 ; .............. Starts cutter compensation (start-up).
The tool is shifted to the left of the programmed path by
the distance specified in D07.
In other words the tool path is shifted by the radius of
the tool (offset mode) because D07 is set to 15
beforehand (the radius of the tool is 15 mm).
G01 Y900.0 F150 ; ............................................. Specifies machining from P1 to P2.
X450.0 ; ............................................................ Specifies machining from P2 to P3.
G03 X500.0 Y1150.0 R650.0 ; ............................. Specifies machining from P3 to P4.
G02 X900.0 R-250.0 ; ......................................... Specifies machining from P4 to P5.
G03 X950.0 Y900.0 R650.0 ; ............................... Specifies machining from P5 to P6.
G01 X1150.0 ;.................................................... Specifies machining from P6 to P7.
Y550.0 ; ............................................................ Specifies machining from P7 to P8.
X700.0 Y650.0 ; ................................................. Specifies machining from P8 to P9.
X250.0 Y550.0 ; ................................................. Specifies machining from P9 to P1.
G00 G40 X0 Y0 ; ................................................ Cancels the offset mode.
The tool is returned to the start point (X0, Y0, Z0).
Notes
- Bit 2 (OFH) of parameter No.5001
If bit 2 (OFH) of parameter No. 5001 is set, cutter compensation takes
precedence over tool length compensation. Concrete explanations
follow:
If OFH = "0":
Processing is carried out properly according to a selected modal
state (G43, G44, or G49).
If OFH = "1":
In a block where G40, G41, or G42 is specified, tool length
compensation is disabled.
In the G40 mode, processing is carried out properly according to
a selected modal state (G43, G44, or G49).
In the G41 and G42 modes, tool length compensation is enabled
only in a block in which G43, G44, or G49 is specified. No
compensation amount is updated only with the H code.
G49 is enabled if G49 is specified in the same block as for G40,
however.
- 152 -
6.COMPENSATION FUNCTION
PROGRAMMING
B-64304EN-2/01
6.6
6.6.1
Overview
Outer side
Programmed path
Workpiece
Workpiece
Programmed path
0<180
180
- 153 -
6.COMPENSATION FUNCTION
PROGRAMMING
B-64304EN-2/01
- Cancel mode
The cutter compensation enters the cancel mode under the following
conditions. (The system may not enter the cancel mode depending
on the machine tool.)
<1> Immediately after the power is turned on
<2> When the
NOTE
The operation to be performed when a reset operation
is performed during cutter compensation differs
depending on bit 6 (CLR) of parameter No. 3402.
- If CLR is 0
The system enters the reset state. G41/G42 are
retained as the modal code of group 07, but to
perform cutter compensation, an offset number (D
code) must be specified again.
- If CLR is 1
The system enters the clear state. The modal code
of group 07 is G40, and to perform cutter
compensation again, G41/G42 and an offset
number (D code) must be specified.
- Start-up
When a block which satisfies all the following conditions is executed
in cancel mode, the CNC enters the cutter compensation mode.
Control during this operation is called start-up.
<1> G41 or G42 is contained in the block, or has been specified to
place the CNC in the cutter compensation mode.
<2> 0 < compensation number of cutter compensation maximum
compensation number
<3> Positioning (G00) or linear interpolation (G01) mode
<4> A compensation plane axis command with a travel distance of 0
(except start-up type C) is specified.
If start-up is specified in circular interpolation (G02, G03) mode,
PS0034 will occur.
As a start-up operation, one of the three types A, B, and C can be
selected by setting parameter SUP (No. 5003#0) and parameter SUV
(No. 5003#1) appropriately. The operation to be performed if the
tool moves around an inner side is of single type only.
- 154 -
6.COMPENSATION FUNCTION
PROGRAMMING
B-64304EN-2/01
SUV
SUP
Type A
G41
Programmed path
N2
N1
Type B
Programmed path
G41
N2
N1
0
1
Type C
Programmed
path
N3
Programmed path
N2
G41
N1
- 155 -
6.COMPENSATION FUNCTION
PROGRAMMING
B-64304EN-2/01
As the setting of parameter (No. 19625), that is, the number of blocks
to read, increases, it is possible to predict overcutting (interference)
for up to more subsequent commands. Increases in blocks to read
and analyze, however, cause reading and analysis to take more time.
- Meaning of symbols
The following symbols are used in subsequent figures:
S indicates a position at which a single block is executed once.
SS indicates a position at which a single block is executed twice.
SSS indicates a position at which a single block is executed three
times.
L indicates that the tool moves along a straight line.
C indicates that the tool moves along an arc.
r indicates the cutter compensation value.
An intersection is a position at which the programmed paths of two
blocks intersect with each other after they are shifted by r.
- 156 -
B-64304EN-2/01
6.6.2
6.COMPENSATION FUNCTION
PROGRAMMING
Explanation
- Tool movement around an inner side of a corner (180 )
LinearLinear
Workpiece
Programmed path
r
G42
L
Start point
LinearCircular
S
L
Start point
- 157 -
Workpiece
G42
6.COMPENSATION FUNCTION
PROGRAMMING
B-64304EN-2/01
- Cases in which the start-up block is a block with tool movement and the tool
moves around the outside at an obtuse angle (90 <180)
Tool path in start-up has two types A and B, and they are selected by
parameter SUP (No.5003#0).
Start point
LinearLinear
G42
Workpiece
Programmed path
r
L
S
Type
A
LinearCircular
Start point
G42
Work
Workpiece
piece
r
S
Start point
G42
Workpiece
Programmed path
r
L
Type
B
Intersection
LinearCircular
(Linear connection type)
Programmed path
Start point
G42
L
r
S
L
Intersection
- 158 -
Workpiece
C
L
Tool center path
Programmed path
B-64304EN-2/01
6.COMPENSATION FUNCTION
PROGRAMMING
LinearLinear
(Circular
connection type)
Start point
G42
Workpiece
L
Programmed path
r
C
Type
B
LinearCircular
Start point
(Circular
connection type)
G42
L
r
Workpiece
r
C
S
C
Tool center path
- 159 -
Programmed path
6.COMPENSATION FUNCTION
PROGRAMMING
B-64304EN-2/01
- Cases in which the start-up block is a block with tool movement and the tool
moves around the outside at an acute angle (<90)
Tool path in start-up has two types A and B, and they are selected by
parameter SUP (No.5003#0).
LinearLinear
Start point
G42
Workpiece
Programmed path
Type
A
S
LinearCircular
Start point
G42
Workpiece
S C
Start point
L
G42
Workpiece
Programmed path
r
L
Type
B
S
LinearCircular
(Linear connection type)
Start point
L
G42
r
L
L
Workpiece
- 160 -
6.COMPENSATION FUNCTION
PROGRAMMING
B-64304EN-2/01
LinearLinear
(Circular
connection type)
Start point
L
r
G42
Workpiece
Programmed path
Type
B
Start point
LinearCircular
(Circular
connection type)
L
r
G42
Workpiece
S C
Tool center path
Programmed path
- Tool movement around the outside linear linear at an acute angle less than 1
degree (<1)
S
L
r
L
(G41)
G41 Less than 1 deg
- 161 -
Programmed path
Start point
6.COMPENSATION FUNCTION
PROGRAMMING
B-64304EN-2/01
SS
S
N6
N8
r
G40 ;
N9
N6 X100.0 Y100.0 ;
N7 G41 X0 ;
N8 Y-100.0 ;
N9 Y-100.0 X100.0 ;
Programmed path
For type C
The tool shifts by the compensation value in the direction vertical
to the block with tool movement subsequent to the start-up block.
Without tool
movement
L
Programmed path
S
L
S
Intersection
- 162 -
B-64304EN-2/01
6.6.3
PROGRAMMING
6.COMPENSATION FUNCTION
NOTE
The condition necessary for an interference check,
described later, differs from this condition. For
details, see the explanation of the item,
interference check.
If a G or M code in which buffering is suppressed is specified, no
subsequent commands can be read before that block is executed,
regardless of the setting of parameter (No. 19625). Excessive or
insufficient cutting may, therefore, occur because of an intersection
calculation failure.
- 163 -
6.COMPENSATION FUNCTION
PROGRAMMING
B-64304EN-2/01
Workpiece
Programmed path
S
Intersection
LinearCircular
Workpiece
Intersection
S
L
Programmed path
CircularLinear
Workpiece
Programmed path
L
C
CircularCircular
S
Intersection
Intersection
C
Workpiece
Tool center
path
- 164 -
Programmed path
B-64304EN-2/01
PROGRAMMING
6.COMPENSATION FUNCTION
- Tool movement around the inside (<1) with an abnormally long vector, linear
linear
Intersection
r
r
S
Intersection
Also in case of arc to straight line, straight line to arc and arc to arc,
the reader should infer in the same procedure.
- 165 -
6.COMPENSATION FUNCTION
PROGRAMMING
B-64304EN-2/01
Programmed path
S
Intersection
LinearCircular
(Linear
connection type)
Workpiece
L
S L
Intersection
C
Tool center path
Programmed path
CircularLinear
(Linear connection type)
Workpiece
Programmed path
r
C
L
Intersection S
L
6
CircularCircular
(Linear
connection type)
Programmed path
Tool center
path
- 166 -
r
C
Workpiece
S L
Intersection
B-64304EN-2/01
6.COMPENSATION FUNCTION
PROGRAMMING
LinearLinear
(Circular
connection type)
Workpiece
Programmed path
r
LinearCircular
(Circular
connection type)
r
L
Workpiece
r
C
Programmed path
Workpiece
Programmed path
C
C
CircularCircular
(Circular
connection type)
Programmed path
C
Tool center path
- 167 -
Workpiece
6.COMPENSATION FUNCTION
PROGRAMMING
B-64304EN-2/01
Workpiece
Programmed path
r
L
S
LinearCircular
(Linear
connection type)
Workpiece
r
L
S
C
Tool center path
Programmed path
CircularLinear
(Linear
connection type)
Workpiece
Programmed path
r
L
S
CircularCircular
(Linear
connection type)
Workpiece
r
L
S
C
Tool center path
- 168 -
Programmed path
B-64304EN-2/01
6.COMPENSATION FUNCTION
PROGRAMMING
LinearLinear
(Circular
connection type)
L
Workpiece
Programmed path
r
C
S
LinearCircular
(Circular
connection type)
Workpiece
r
C
S
Programmed path
C
Workpiece
Programmed path
r
CircularCircular
(Circular
connection type)
Workpiece
C
S
- 169 -
Programmed path
6.COMPENSATION FUNCTION
PROGRAMMING
B-64304EN-2/01
- When it is exceptional
End point for the arc is not on the arc
If the end of a line leading to an arc is not on the arc as illustrated
below, the system assumes that the cutter compensation has been
executed with respect to an imaginary circle that has the same center
as the arc and passes the specified end point. Based on this
assumption, the system creates a vector and carries out compensation.
The same description applies to tool movement between two circular
paths.
End the arc
Workpiece
Imaginary circle
Programmed path
L S
Arc A
- 170 -
Arc B
B-64304EN-2/01
6.COMPENSATION FUNCTION
PROGRAMMING
- When the center of the arc is identical with the start point or the end point
If the center of the arc is identical with the start point or end point,
PS0041 is displayed, and the tool will stop at the start point of the
preceding block of the arc.
(G41)
N5 G91 G01 X50.0 ;
N6 X50.0 ;
N7 G02 X100.0 I0 J0 ;
N8 G01 Y-100.0 ;
N6
N7
Programmed path
N8
G code
G41
G42
The offset direction can be changed in the offset mode. If the offset
direction is changed in a block, a vector is generated at the
intersection of the tool center path of that block and the tool center
path of a preceding block.
However, the change is not available in the start-up block and the
block following it.
- 171 -
6.COMPENSATION FUNCTION
PROGRAMMING
B-64304EN-2/01
Workpiece
G42
Intersection
r
Programmed path
r
G41
Workpiece
LinearCircular
C
r
Workpiece
G41
G42
Programmed path
r
Workpiece
L
Intersection
CircularLinear
Workpiece
G42
Programmed path
r
Tool center path
C
S
Intersection
r
G41
Workpiece
CircularCircular
Workpiece
G42
Programmed path
r
r
G41
C
Tool center path
- 172 -
S
Intersection
Workpiece
B-64304EN-2/01
6.COMPENSATION FUNCTION
PROGRAMMING
Workpiece
(G42)
G42
Programmed path
r
Tool center path
G41
B
Workpiece
S
G42
Programmed path
G41
L
LinearCircular
Intersection
S
L
L
A
(G41)
G42
Programmed path
S
CircularCircular
C
S
r
G41
(G42)
Programmed path
(G42)
r
C
r
L S L
- 173 -
Center
Center
6.COMPENSATION FUNCTION
PROGRAMMING
B-64304EN-2/01
- The length of tool center path larger than the circumference of a circle
Normally there is almost no possibility of generating this situation.
However, when G41 and G42 are changed, or when a G40 was
commanded with address I, J, and K this situation can occur.
In this case of the figure, the cutter compensation is not performed
with more than one circle circumference: an arc is formed from P1 to
P2 as shown. Depending on the circumstances, an alarm may be
displayed due to the item, "Interference Check" described later. To
execute a circle with more than one circumference, the circle must be
specified in segments.
Tool center path Programmed path
N5
N7
P1
(G42)
N5 G01 G91 X500.0 Y-700.0 ;
N6 G41 G02 J-500.0 ;
N7 G42 G01 X500.0 Y700.0 ;
- 174 -
P2
N6
B-64304EN-2/01
6.COMPENSATION FUNCTION
PROGRAMMING
G42 mode
L
S
Intersection
CircularLinear
G42 mode
C
S Intersection
Programmed path
- 175 -
6.COMPENSATION FUNCTION
PROGRAMMING
B-64304EN-2/01
S
L
L
L
Tool center path
N5
Programmed path
(G41)
N5 G01 X700.0 Y300.0 ;
N6 X600.0 Y-300.0 ;
N7 G92 X200.0 Y100.0 ;
N8 G01 X800.0 Y400.0 ;
N6
L
S
N8
N7
G92 block
- 176 -
B-64304EN-2/01
6.COMPENSATION FUNCTION
PROGRAMMING
Compensation vector
I, J, K
I, J, K
Compensation vector
- 177 -
6.COMPENSATION FUNCTION
PROGRAMMING
B-64304EN-2/01
Example
If I and J are specified at the start of compensation (with
tool movement)
N50
N40
N30
N20
(G40)
N10 G91 G41 X100.0 Y100.0
I1 D1 ;
N20 G04 X1000 ;
N30 G01 F1000 ;
N40 S300 ;
N50 M50 ;
N60 X150. ;
D1
N60
Tool center path
N10
Programmed path
(G40)
N10 G41 I1 D1 ;
N20 G91 X100. Y100. ;
N30 X150. ;
Note) In N10, a vector is
specified with a size
of D1 in the direction
vertical to the X axis,
using I1.
N30
Tool nose radius
center path
N20
Programmed path
N10
D1
(I,J)
<2>
N20
<1>
<2>
- 178 -
6.COMPENSATION FUNCTION
PROGRAMMING
B-64304EN-2/01
N30
S S
Start-up/cancel type C
N40
Tool center
path
N20
N50
(I, J)
Programmed path
N10
D1
Limitation
If an IJ type vector is specified, tool interference may occur due to that
vector alone, depending on the direction. If this occurs, no
interference alarm will occur, or no interference avoidance will be
performed. Overcutting may, therefore, result.
Overcutting
(I, J)
Start-up/cancel
Type C
N10 G42 D1 F1000 ;
N20 G91 X100. ;
N30 X100. Y-100. I10. ;
N40 X100. Y-100. ;
N50 G40 ;
Programmed
N20
path
N10
N30
N40
N50
- 179 -
:
:
:
:
:
:
:
:
M code output
S code output
Dwell
Machining area setting
Cutter compensation value setting/changing
Move command not included in the offset plane.
G, O, and N codes only
Move distance is zero.
6.COMPENSATION FUNCTION
PROGRAMMING
B-64304EN-2/01
N8
N6
Programmed path
SS
Block N7 is executed here.
For an axis command for which the move distance is zero, however, a
vector with a size equal to the compensation value will be created
vertical to the movement direction in the previous block, even if the
number of block is 1. Note that specifying such a command may
result in overcutting.
N7
N8
N6
Programed path
SS
L
N7,N8
N6
L
L
- 180 -
N9
Programmed path
SSS
Blocks N7 and N8 are executed here.
B-64304EN-2/01
6.COMPENSATION FUNCTION
PROGRAMMING
N6
N5
L
L
Programmed path
S
Intersection
N6
N7
N5
Programmed path
SS
L
- 181 -
6.COMPENSATION FUNCTION
PROGRAMMING
B-64304EN-2/01
- Corner movement
When two or more offset vectors are produced at the end of a block,
the tool moves linearly from one vector to another. This movement
is called the corner movement.
If these vectors almost coincide with each other (the distance of corner
movement between the vectors is judged short due to the setting of
parameter (No. 5010)), corner movement is not performed. In this
case, the vector to the single block stop point takes precedence and
remains, while other vectors are ignored. This makes it possible to
ignore the very small movements arising from performing cutter
compensation, thereby preventing velocity changes due to interruption
of buffering.
V X
r
Tool center path
N1
N1
V Y
N2
Programmed path
Vlimit is determined with the setting of parameter (No. 5010).
If the vectors are not judged to almost coincide (therefore, are not
erased), movement to turn around the corner is performed. The
corner movement that precedes the single block stop point belongs to
the previous block, while the corner movement that succeeds the
single block stop point belongs to the latter block.
This move belongs to block N6, thus, the feedrate is equal
to that in block N6.
S
This move belongs to block N7, thus, the
feedrate is equal to that in block N7.
N6
N7
PROGRAMMING
B-64304EN-2/01
6.COMPENSATION FUNCTION
P2 P3 P4 P5
P6
P1
N5 N7
N4
Programmed path
N8
N6
- 183 -
6.COMPENSATION FUNCTION
6.6.4
PROGRAMMING
B-64304EN-2/01
Explanation
- If the cancel block is a block with tool movement, and the tool moves around the
inside (180 )
LinearLinear
Workpiece
Programmed path
r
Tool center path
G40
S
L
CircularLinear
Workpiece
C
Programmed path
- 184 -
G40
S
6.COMPENSATION FUNCTION
PROGRAMMING
B-64304EN-2/01
- If the cancel block is a block with tool movement, and the tool moves around the
outside at an obtuse angle (90 < 180)
Tool path has two types A and B, and they are selected by parameter
SUP (No.5003#0).
LinearLinear
G40
Workpiece
Programmed path
r
L
CircularLinear
G40
L
Workpiece
r
S
C
Programmed path
LinearLinear
(Linear
connection type)
G40
Workpiece
Programmed path
r
Intersection
CircularLinear
(Linear
connection type)
G40
L
Workpiece
C
Programmed path
- 185 -
L
Tool center path
r
S
Inter- L
section
6.COMPENSATION FUNCTION
PROGRAMMING
B-64304EN-2/01
LinearLinear
(Circular
connection type)
G40
Workpiece
Programmed path
r
C
CircularLinear
(Circular
connection type)
G40
L
Workpiece
r
C
C
Programmed path
- 186 -
6.COMPENSATION FUNCTION
PROGRAMMING
B-64304EN-2/01
- If the cancel block is a block with tool movement, and the tool moves around the
outside at an acute angle (<90)
Tool path has two types A and B, and they are selected by parameter
SUP (No.5003#0).
LinearLinear
Workpiece
Programmed path
G40
G42
r
CircularLinear
G40
Workpiece
G42
C
LinearLinear
(Linear
connection type)
L
G40
Workpiece
Programmed path
r
L
Type
B
CircularLinear
(Linear
connection type)
Workpiece
r
L
C
- 187 -
6.COMPENSATION FUNCTION
PROGRAMMING
B-64304EN-2/01
LinearLinear
(Circular
connection type)
L
S
G40
Workpiece
Programmed path
r
Tool center path
Type
B
CircularLinear
(Circular
connection type)
L
S
Workpiece
r
C
- If the cancel block is a block with tool movement, and the tool moves around the
outside at an acute angle of 1 degree or less in a linear linear manner (1)
S
L
r
L
Programmed path
(G42)
G40
- 188 -
1 or less
B-64304EN-2/01
6.COMPENSATION FUNCTION
PROGRAMMING
N8
N6
Programmed path
SS
L
Tool center path
For type C
The tool shifts by the compensation value in the direction vertical
to the block preceding the cancel block.
Programmed path
G40 (without
movement)
L
L
S
- 189 -
6.COMPENSATION FUNCTION
PROGRAMMING
B-64304EN-2/01
(I, J)
G40
N2
P
N1
(G42)
Programamed path
Workpiece
In this case, note that the CNC obtains an intersection of the tool path
irrespective of whether inner or outer side machining is specified.
E
G40
P
S
r
Programmed path
(G42)
r
(I, J)
G40
S
r
(G42) Programmed path
(I, J)
r
- 190 -
B-64304EN-2/01
PROGRAMMING
6.COMPENSATION FUNCTION
- Length of the tool center path larger than the circumference of a circle
In the Example shown below, the tool does not trace the circle more
than once. It moves along the arc from P1 to P2. The interference
check function described below may raise an alarm.
To make the tool trace a circle more than once, program two or more
arcs.
P1
N7
Programmed path
P2
N5
(I, J)
(G41)
N5 G01 G91 X100.0 ;
N6 G02 J-60.0 ;
N7 G40 G01 X50.0 Y50.0 I-10.0 J-10.0 ;
- 191 -
N6
6.COMPENSATION FUNCTION
6.6.5
PROGRAMMING
B-64304EN-2/01
Explanation
- Machining a groove smaller than the diameter of the tool
Since the cutter compensation forces the tool center path to move in
the reverse of the programmed direction, overcutting will result. In
this case an alarm is displayed and the CNC stops at the start of the
block.
An alarm is displayed and
the operation stops
Fig. 6.6.5 (a) Machining a groove smaller than the diameter of the tool
- 192 -
B-64304EN-2/01
PROGRAMMING
6.COMPENSATION FUNCTION
Arc center
Workpiece
Fig. 6.6.5 (b) Machining a step larger than the tool radius
Programmed path
Workpiece
Arc
Arc center
Fig. 6.6.5 (c) Machining a step smaller than the tool radius
- 193 -
6.COMPENSATION FUNCTION
PROGRAMMING
B-64304EN-2/01
After compensation
Workpiece
N6
- 194 -
B-64304EN-2/01
6.COMPENSATION FUNCTION
PROGRAMMING
N6
Workpiece
N1
As the block with sequence N2 has the move command in the same
direction as that of the block with sequence N6, the correct
compensation is performed.
Alternatively, it is possible to prevent overcutting in the same way by
specifying an IJ type vector with the same direction as the advance
direction in the start-up block, as in N1 G91 G00 G41 X500. Y500. I0
J1 D1;, after the tool has moved along the Z axis.
- 195 -
6.COMPENSATION FUNCTION
6.6.6
PROGRAMMING
B-64304EN-2/01
Interference Check
Tool overcutting is called interference. The interference check
function checks for tool overcutting in advance. However, all
interference cannot be checked by this function. The interference
check is performed even if overcutting does not occur.
Explanation
- Condition under which an interference check is possible
To perform an interference check, it is necessary to read at least three
blocks with tool movement. If, therefore, three or more blocks with
tool movement cannot be read in offset mode because blocks without
tool movement, such as independent auxiliary function and dwell, are
specified in succession, excessive or insufficient cutting may occur
because an interference check fails. Assuming the number of blocks
to read in offset mode, which is determined by parameter (No. 19625),
to be N and the number of commands in those N blocks without tool
movement that have been read to be M, the condition under which an
interference check is possible is
(N - 3) M.
For example, if the maximum number of blocks to read in offset mode
is 8, an interference check is possible even if up to five blocks without
tool movement are specified. In this case, three adjacent blocks can
be checked for interference, but any subsequent interference that may
occur cannot be detected.
Parameter
CNC
Operation
NOTE
There are no settings for performing a direction
check only.
- 196 -
PROGRAMMING
B-64304EN-2/01
6.COMPENSATION FUNCTION
Programmed path
Block 2
Block 7
Block 8
Block 1
Block 3
Block 6
Block 4
- 197 -
Block 5
6.COMPENSATION FUNCTION
PROGRAMMING
B-64304EN-2/01
Programmed path
Block 1
The directions of
these two paths are
different (180).
Block 2
Programmed path
Block 3
Block 1
Programmed path
Block 2
- 198 -
B-64304EN-2/01
6.COMPENSATION FUNCTION
PROGRAMMING
Stopped
C
B
Stopped
- 199 -
6.COMPENSATION FUNCTION
6.6.6.1
PROGRAMMING
B-64304EN-2/01
6.6.6.2
Parameter
CAV
Function
Interference check
alarm function
Interference check
avoidance function
Operation
Block 7
Block 3
Block 6
Block 4
- 200 -
Block 5
B-64304EN-2/01
PROGRAMMING
6.COMPENSATION FUNCTION
V4
Programmed path
If, after vector erasure, the last single vector still interferes, or if there
is only one vector at the beginning and it interferes, an alarm will
occur immediately after the start of the previous block (end point for a
single block) and the tool stops. In the Example shown in the figure
below, V2 and V3 interfere, but, even after erasure, an alarm will occur
because the final vectors V1 and V4 interfere.
Tool center path
Stopped
Programmed path
V4
V3
- 201 -
V1
V2
6.COMPENSATION FUNCTION
6.6.6.3
PROGRAMMING
B-64304EN-2/01
Overview
If a command is specified which satisfies the condition under which
the interference check alarm function generates an interference alarm,
this function suppresses the generation of the interference alarm, but
causes a new compensation vector to be calculated as a path for
avoiding interference, thereby continuing machining. For the path
for avoiding interference, insufficient cutting occurs in comparison
with the programmed path. In addition, depending on the specified
figure, no path for avoiding interference can be determined or the path
for avoiding interference may be judged dangerous. In such a case,
an alarm stop will occur. For this reason, it is not always possible to
avoid interference for all commands.
Movement o f block 7
Post-compensation
path
Block 1
Gap vector
Block 8
Block 2
Block 7
Programmed path
Block 3
Block 4
Block 6
Block 5
In this case, the post-compensation end points of blocks 2 to 6 coincide with the end
point of block 1. Thus, after compensation, blocks 2 to 6 will be blocks without tool
movement.
- 202 -
6.COMPENSATION FUNCTION
PROGRAMMING
B-64304EN-2/01
Programmed path
Block 8
Block 1
Block 1
Post-compensation
intersection vector
between block 1 and
gap vector
Block 2
Post-compensation
intersection between
gap vector and block 8
Gap vector
Block 7
Block 3
Block 6
Block 4
Block 2
Block 8
Postcompensation
intersection
vector between
block 1 and
block 8
Block 7
Block 3
Block 6
Block 4
Block 5
Block 5
- 203 -
6.COMPENSATION FUNCTION
PROGRAMMING
B-64304EN-2/01
Post-compensation path
Programmed path
- 204 -
B-64304EN-2/01
PROGRAMMING
6.COMPENSATION FUNCTION
Programmed path
Block 1
Block 3
Block 2
Programmed path
Stopped
Block 1
Block 3
Block 2
- 205 -
6.COMPENSATION FUNCTION
PROGRAMMING
B-64304EN-2/01
Stopped
Programmed path
Block 1
Block 3
Block 2
If a pocket in which the bottom is wider than the top, such as that
shown in the figure, is to be machined, the end-point vector of block 1
and the end-point vector of block 2 are judged to interfere, and an
attempt is made to calculate, as an interference avoidance vector, the
intersection vector of the post-compensation path of block 1 and the
post-compensation path of block 3. In this case, the relation between
blocks 1 and 3 is judged an outer one, the post-avoidance path results
in overcutting as compared with the original command. In such a
case, interference avoidance operation is judge dangerous; an alarm
will occur immediately before block 1 and the tool will stop.
Tool center path
Stopped
Programmed path
Block 1
Block 3
Block 2
Post-compensation intersection
of blocks 1 and 3
- 206 -
B-64304EN-2/01
PROGRAMMING
6.COMPENSATION FUNCTION
Sropped
Programmed path
Block 5
Block 4
Block 1
Block 3
Block 2
NOTE
1 For "If it is judged dangerous to avoid interference"
and "If further interference with an interference
avoidance vector occurs", by setting parameter
NAA (No. 19607#6) appropriately, it is possible to
suppress an alarm to continue machining. For "If
no interference avoidance vector exists", however,
it is not possible to avoid an alarm regardless of the
setting of this parameter.
2 If a single block stop occurs during interference
avoidance operation, and an operation is performed
which differs from the original movement, such as
manual intervention, MDI intervention, cutter
compensation value change, intersection
calculation is performed with a new path. If such
an operation is performed, therefore, an
interference may occur again although interference
avoidance has been performed once.
- 207 -
6.COMPENSATION FUNCTION
6.6.7
PROGRAMMING
B-64304EN-2/01
Explanation
- MDI operation
During MDI operation, that is, if a program command is specified in
MDI mode in the reset state to make a cycle start, intersection
calculation is performed for compensation in the same way as in
memory operation/DNC operation. Compensation is performed in
the same way if a subprogram is called from program memory due to
MDI operation.
Subprogram in program memory
MDI command
G90 G00 X0 Y0 ;
M98 P9000 ;
M02 ;
O9000 ;
N1 G41 G17 G91 G01 X10. Y10.
D1 ;
N2 Y15. ;
N3 X15. ;
N4 Y-15. ;
N5 X-15. ;
N6 G40 X-10. Y-10. ;
M99 ;
N3
N2
N4
N1
N5
N6
- 208 -
B-64304EN-2/01
PROGRAMMING
6.COMPENSATION FUNCTION
- MDI intervention
If MDI intervention is performed, that is, if a single block stop is
performed to enter the automatic operation stop state in the middle of
memory operation, DNC operation, and the like, and a program
command is specified in MDI mode to make a cycle start, cutter
compensation does not perform intersection calculation, retaining the
last compensation vector before the intervention.
MDI intervention
MEM mode
G91 X30. ;
X20. Y20. ;
X20. Y-20. ;
(G41)
N2 G91 X10. Y30. ;
N3 X10. Y-30. ;
N4 X40. ;
MDI intervention
N2
N3
- 209 -
N4
Program command
6.COMPENSATION FUNCTION
6.7
PROGRAMMING
B-64304EN-2/01
Format
In offset mode
G39 ;
or
I_ J_
G39 I_ K_ ;
J_ K_
Explanation
- Corner circular interpolation
When the command indicated above is specified, corner circular
interpolation in which the radius equals compensation value can be
performed. G41 or G42 preceding the command determines whether
the arc is clockwise or counterclockwise. G39 is a one-shot G code.
- G39 without I, J, or K
When G39 is programmed, the arc at the corner is formed so that the
vector at the end point of the arc is perpendicular to the start point of
the next block.
Limitation
- Move command
In a block containing G39, no move command can be specified.
Otherwise, an alarm will occur.
- Inner corner
In an inner corner block, G39 cannot be specified.
overcutting will occur.
Otherwise,
B-64304EN-2/01
6.COMPENSATION FUNCTION
PROGRAMMING
Example
- G39 without I, J, or K
:
:
(In offset mode)
(G90)
N1 X10.0 ;
N2 G39 ;
N3 Y-10.0 ;
:
:
Y axis
X axis
Block N1
Offset vector
Block N2 (Corner arc)
(10.0, 0.0)
Block N3
Programmed path
Tool center path
(10.0, -10.0)
Y axis
Block N1
X axis
Offset vector
Block N2 (Corner
arc)
(10.0, 0.0)
Programmed
path
Block N3
(I=-1.0, J=3.0)
(0.0, -10.0)
- 211 -
6.COMPENSATION FUNCTION
6.8
PROGRAMMING
B-64304EN-2/01
OFSG
OFSW
OFSG : Geometry compensation value
OFSW : Wear compensation value
Tool compensation values can be entered into CNC memory from the
MDI panel (see section III-1.1.1) or from a program.
A tool compensation value is selected from the CNC memory when
the corresponding code is specified after address H or D in a program.
The value is used for tool length compensation, cutter compensation,
or the tool offset.
Two types of tool compensation memories are available according to
the compensation value configuration: tool compensation memory A
and C. One of the types can be selected (bit 6 (NGW) of parameter
No.8136).
Explanation
- Tool compensation memory A (bit 6 (NGW) of parameter No.8136 = 1)
In tool compensation memory A, memory for geometry compensation
and memory for wear compensation are not distinguished from each
other. So, the sum of geometry compensation and wear compensation
values is to be set in the compensation memory. Moreover, no
distinction is made between memory for cutter compensation (for D
code) and memory for tool length compensation (for H code).
Compensation
number
001
002
003
:
Setting example
Compensation value
Common to D code/H code
(geometry+wear)
10.000
20.000
100.000
:
- 212 -
For D code
For D code
For H code
:
6.COMPENSATION FUNCTION
PROGRAMMING
B-64304EN-2/01
Compensation
number
001
002
:
10.000
20.000
:
0.100
0.200
:
100.000
200.000
:
0.100
0.300
:
0
0
1
1
0
0
0.01mm
0.001mm
0.0001mm
9999.99mm
9999.999mm
9999.9999mm
0
0
1
1
0
0
0.001inch
0.0001inch
0.00001inch
999.999inch
999.9999inch
999.99999inch
- 213 -
6.COMPENSATION FUNCTION
PROGRAMMING
B-64304EN-2/01
Format
The format for programming depends on the type of tool
compensation memory.
For tool compensation memory A
G10 L11 P_ R_ Q_ ;
P_ : Tool compensation number
R_ : Tool compensation value
Q_ : Imaginary tool nose number
For tool compensation memory C
G10 L_ P_ R_ Q_ ;
L_ : Type of compensation memory
L10 : Geometry compensation value
corresponding to an H code
L11 : Wear compensation value
corresponding to an H code
L12 : Geometry compensation value
corresponding to a D code
L13 : Wear compensation corresponding
to a D code
P_ : Tool compensation number
R_ : Tool compensation value
Q_ : Imaginary tool nose number
By specifying G10, a tool compensation value can be set or modified.
When G10 is specified by absolute input (G90), the specified value is
used as the new tool compensation value.
When incremental input (G91) is used, a specified value added to the
tool compensation value currently set is used as the new tool
compensation value.
NOTE
1 Address R follows the increment system for tool
offset values.
2 If L is omitted for compatibility with the conventional
CNC format, or L1 is specified, the same operation
as when L11 is specified is performed.
- 214 -
6.9
6.COMPENSATION FUNCTION
PROGRAMMING
B-64304EN-2/01
Overview
A programmed figure can be magnified or reduced (scaling).
Two types of scaling are available, one in which the same
magnification rate is applied to each axis and the other in which
different magnification rates are applied to different axes.
The magnification rate can be specified in the program.
Unless specified in the program, the magnification rate specified in the
parameter is applied.
Y
P4
P3
P4
P0
P2
P1
P3
P2
P1
X
P0
P1 to P4
P1 to P4
: Scaling center
: Programmed figure
: Scaled figure
Scaling
NOTE
To enable scaling, set bit 5 (SCL) of parameter No.
8132 to "1".
Format
Scaling up or down along all axes at the same rate of magnification
(When parameter XSC (No. 5400#6) = 0)
Format
Meaning of command
G51 IP_P_ ;
Scaling start
IP_
: Absolute command for center coordinate
value of scaling
Scaling is effective.
P_
:
Scaling
magnification
(Scaling mode)
G50 ;
Scaling cancel
Scaling up or down along each axes at a different rate of magnification (mirror image)
(When parameter XSC (No. 5400#6) = 1)
Format
Meaning of command
G51 IP_I_J_K_; Scaling start
IP_
: Absolute command for center coordinate
value of scaling
Scaling is effective.
I_J_K_ : Scaling magnification for basic 3 axes (X, Y,
(Scaling mode)
and Z axes) respectively
G50 ;
Scaling cancel
- 215 -
6.COMPENSATION FUNCTION
PROGRAMMING
B-64304EN-2/01
CAUTION
1 Specify G51 in a separate block.
2 After the figure is enlarged or reduced, specify G50
to cancel the scaling mode.
NOTE
1 Entering electronic calculator decimal point input
mode (bit 0 (DPI) of parameter No. 3401 = 1) does
not cause the units of the magnification rates P, I, J,
and K to change.
2 Setting the least input increment equal to 10 times
the least command increment (bit 7 (IPR) of
parameter No. 1004 = 1) does not cause the units
of the magnification rates P, I, J, and K to change.
3 An attempt to specify 0 as a magnification rate
causes alarm PS0142 to occur in a G51 block.
Explanation
- Axis for which scaling is to be enabled
For the axis for which scaling is to be enabled, set bit 0 (SCL) of
parameter No. 5401 to 1.
- Scaling center
Even in incremental command (G91) mode, the scaling center
coordinates IP_ specified in the G51 block are assumed those of an
absolute position.
If the scaling center coordinates are omitted, the position assumed
when G51 is specified is assumed the scaling center.
CAUTION
With the move command subsequent to the G51
block, execute an absolute (G90 mode) position
command.
If no absolute position command is executed after
the G51 block, the position assumed when G51 is
specified is assumed the scaling center; once an
absolute position command is executed, the scaling
center assumes the coordinates specified in the
G51 block, after that block.
- 216 -
B-64304EN-2/01
6.COMPENSATION FUNCTION
PROGRAMMING
Y axis
Programmed figure
Scaled figure
c
o
a
b
- 217 -
X axis
6.COMPENSATION FUNCTION
PROGRAMMING
B-64304EN-2/01
CAUTION
Specifying the following commands at the same
time causes them to be executed in the order
indicated below:
<1> Programmable mirror image (G51.1)
<2> Scaling (G51) (including a mirror image with a
negative magnification)
<3> Mirror image due to the external switch of the
CNC or the settings of the CNC
In this case, the programmable mirror image is
effective to the scaling center and magnification as
well.
To specify G51.1 and G51 at the same time,
specify them in this order; to cancel them, specify
them in the reverse order.
- 218 -
6.COMPENSATION FUNCTION
PROGRAMMING
B-64304EN-2/01
X
(0,0)
(100.0)
(200.0)
- 219 -
6.COMPENSATION FUNCTION
PROGRAMMING
B-64304EN-2/01
Rotation center
of coordinate
system before
scaling
Rotation center of
coordinate system
after scaling
Original program
Scaling center
- 220 -
Shape after
coordinate system
rotation
X
Scaled shape
B-64304EN-2/01
PROGRAMMING
6.COMPENSATION FUNCTION
Scaling
x 2 in the X direction
x 1 in the Y direction
Corner R
Scaling
x 2 in the X direction
x 1 in the Y direction
If different magnifications are applied to the individual axes, corner R results in
a spiral, not an arc, because scaling is applied to the end point and radius of
the arc.
Limitation
- Tool compensation
This scaling is not applicable to cutter compensation values, tool
length compensation values, and tool offset values (Fig. 6.9 (f) ).
Programmed figure
Scaled figure
- 221 -
6.COMPENSATION FUNCTION
PROGRAMMING
B-64304EN-2/01
- Invalid scaling
Scaling is not applied to the travel distance during canned cycle
shown below.
Cut-in value Q and retraction value d of peck drilling cycle (G83,
G73).
Fine boring cycle (G76)
Shift value Q of X and Y axes in back boring cycle (G87).
In manual operation, the travel distance cannot be increased or
decreased using the scaling.
CAUTION
If a parameter setting value is employed as a
scaling magnification without specifying P, the
setting value at G51 command time is employed as
the scaling magnification, and a change of this
value, if any, is not effective.
Before specifying the G code for reference position
return (G27, G28, G29, G30, etc.) or coordinate
system setting (G52 to G59, G92, etc.), cancel the
scaling mode. If it is specified without canceling
scaling, the alarm PS0412 is issued.
If scaling results are rounded by counting fractions
of 5 and over as a unit and disregarding the rest,
the move amount may become zero. In this case,
the block is regarded as a no movement block, and
therefore, it may affect the tool movement by cutter
compensation. See the description of cutter
compensation.
Refrain from scaling on a rotation axis for which the
rollover function is enabled. Otherwise, the tool
may rotate in a short-cut manner, possibly resulting
in unexpected movement.
NOTE
1 The position display represents the coordinate
value after scaling.
2 When a mirror image was applied to one axis of the
specified plane, the following results:
(1) Circular command
......................... Direction of rotation is reversed.
(2) Tool radius tool nose radius compensation
................................ Offset direction is reversed.
(3) Coordinate system rotation
................................. Rotation angle is reversed.
- 222 -
B-64304EN-2/01
6.COMPENSATION FUNCTION
PROGRAMMING
Example
Sample program of a scaling in each axis
O1;
G51 X20.0 Y10.0 I750 J250; ( 0.75 in the X direction, 0.25 in
the Y direction)
G00 G90 X60.0 Y50.0;
G01 X120.0 F100;
G01 Y90;
G01 X60;
G01 Y50;
G50;
M30;
Y axis
90
Programmed figure
80
Scaled figure
(60,50)
30
20
10
Scaling center
X axis
75
100
20
95
120
- 223 -
6.COMPENSATION FUNCTION
6.10
PROGRAMMING
B-64304EN-2/01
Angle of rotation
Center of rotation
X
Format
Format
G17
G18 G68 __ R_ ;
G19
- 224 -
B-64304EN-2/01
PROGRAMMING
6.COMPENSATION FUNCTION
(, )
NOTE
When a decimal fraction is used to specify angular
displacement (R_), the 1's digit corresponds to
degree units.
Explanation
- G code for selecting a plane: G17,G18 or G19
The G code for selecting a plane (G17,G18,or G19) can be specified
before the block containing the G code for coordinate system rotation
(G68). G17, G18 or G19 must not be designated in the mode of
coordinate system rotation.
- Center of rotation
When __ is not programmed, the tool position when G68 was
programmed is assumed as the center of rotation.
- Angular displacement
When R_ is not specified, the value specified in parameter No. 5410 is
assumed as the angular displacement.
To specify angular displacement (R_) in 0.00001 degrees (one
hundred-thousandth), set parameter FRD (No. 11630#0) to 1. In this
case, angular displacement R is specified within the range of
-36000000 to 36000000.
- Tool compensation
Cutter compensation, tool length compensation, tool offset, and other
compensation operations are executed after the coordinate system is
rotated.
- 225 -
6.COMPENSATION FUNCTION
PROGRAMMING
B-64304EN-2/01
Limitation
- Commands related to reference position return and the coordinate system
In coordinate system rotation mode, G codes related to reference
position return (G27, G28, G29, G30, etc.) and those for changing the
coordinate system (G52 to G59, G92, etc.) must not be specified. If
any of these G codes is necessary, specify it only after canceling
coordinate system rotation mode. If it is specified without canceling
scaling, the alarm PS0412 is issued.
- Incremental programming
The first move command after the coordinate system rotation cancel
command (G69) must be specified with absolute values. If an
incremental move command is specified, correct movement will not
be performed.
- 226 -
6.COMPENSATION FUNCTION
PROGRAMMING
B-64304EN-2/01
Move position
: X-2.929,Y17.071
Specified position
: X10,Y14.142
Tool path
45
Coordinates before
coordinate system rotation is
specified
: X10,Y10
X
Specified position
: X'14.142,Y'14.142
Move position
: X0,Y20
Tool path
Y'
45
X'
Coordinates before coordinate
system rotation is specified
: X10,Y10
Conversion
Coordinates in rotated coordinate
system
: X'14.142,Y'0
X
- 227 -
6.COMPENSATION FUNCTION
PROGRAMMING
B-64304EN-2/01
Explanation
- Absolute/Incremental position commands
N1 G92 X-500.0 Y-500.0 G69 G17 ;
N2 G68 X700.0 Y300.0 R60.0 ;
N3 G90 G01 X0 Y0 F200 ;
(G91X500.0Y500.0)
N4 G91 X1000.0 ;
N5 G02 Y1000.0 R1000.0 ;
N6 G03 X-1000.0 I-500.0 J-500.0 ;
N7 G01 Y-1000.0 ;
N8 G69 G90 X-500.0 Y-500.0 M02 ;
Tool path when the incremental
command is designated in the N3
block (in parenthesis)
Originally programmed tool path
Center of rotation
(700.0,300.0)
(0,0)
60
(-500.0,-500.0)
Tool path after rotation
Programmed shape
after coordinate
system rotation
3
(0, 0)
Tool path
- 228 -
PROGRAMMING
B-64304EN-2/01
6.COMPENSATION FUNCTION
2.
200.0
Cutting program
100.0
200.0
400.0
- 229 -
6.COMPENSATION FUNCTION
PROGRAMMING
B-64304EN-2/01
Programmed path
(0, 0)
(0, -10.0)
When offset is
applied
Subprogram
- 230 -
6.11
6.COMPENSATION FUNCTION
PROGRAMMING
B-64304EN-2/01
Overview
When a tool with a rotation axis (C-axis) is moved in the XY plane
during cutting, the normal direction control function can control the
tool so that the C-axis is always perpendicular to the tool path (Fig.
6.11 (a)).
Programmed tool path
C-axis
C-axis
Tool
Tool
Format
G41.1 ; Normal direction control, left
G42.1 ; Normal direction control, right
G40.1 ; Cancel normal direction control
The normal direction control, left (G41.1) command is
used when the workpiece is on the right side of the tool as
viewed while you are looking into the tools way.
Once either G41.1 or G42.1 is issued, normal direction
control is enabled (normal direction control mode).
Issuing G40.1 cancels the normal direction control mode.
- 231 -
6.COMPENSATION FUNCTION
PROGRAMMING
B-64304EN-2/01
Explanation
- Angle of the C axis
When viewed from the center of rotation around the C-axis, the
angular displacement about the C-axis is determined as shown in Fig.
6.11 (d). The positive side of the X-axis is assumed to be 0, the
positive side of the Y-axis is 90, the negative side of the X-axis is
180, and the negative side of the Y-axis is 270.
+Y
90
180
Center of rotation
+X
270
- 232 -
B-64304EN-2/01
PROGRAMMING
6.COMPENSATION FUNCTION
SS
N1
S : Single block stop point
N2
S
N3
S
Fig. 6.11 (e) Point at which a single-block stop occurs in the normal
direction control mode
NOTE
During normal direction control, the C axis always
rotates through an angle less than 180 deg. I.e., it
rotates in whichever direction provides the shorter
route.
- 233 -
6.COMPENSATION FUNCTION
PROGRAMMING
B-64304EN-2/01
- C axis feedrate
Movement of the tool inserted at the beginning of each block is
executed at the feedrate set in parameter 5481. If dry run mode is on at
that time, the dry run feedrate is applied. If the tool is to be moved
along the X-and Y-axes in rapid traverse (G00) mode, the rapid
traverse feedrate is applied.
The feedrate of the C axis during circular interpolation is defined by
the following formula.
F
(deg/min)
NOTE
If the feedrate of the C axis exceeds the maximum
cutting speed of the C axis specified to parameter
No. 1430, the feedrate of each of the other axes is
clamped to keep the feedrate of the C axis below
the maximum cutting speed of the C axis.
- Normal direction control axis
A C-axis to which normal-direction control is applied can be assigned
to any axis with parameter No. 5480.
- 234 -
6.COMPENSATION FUNCTION
PROGRAMMING
B-64304EN-2/01
Linear movement
When distance N2, shown below, is smaller than the set value,
machining for block N2 is performed using the same direction as
that for block N1.
Tool center path
N2
N3
N1
Distance
Circular movement
When the diameter of block N2, shown below, is smaller than the
set value, machining for block N2 is performed using the same
normal direction as that for block N1. And control as
compensation along the circular arc is not performed.
Tool center path
N2
N3
Diameter
Programmed tool path
N1
NOTE
1 Do not specify any command to the C axis during
normal direction control. Any command specified at
this time is ignored.
2 Before processing starts, it is necessary to
correlate the workpiece coordinate of the C axis
with the actual position of the C axis on the
machine using the coordinate system setting (G92)
or the like.
3 The helical cutting option is required to use this
function. Helical cutting cannot be specified in the
normal direction control mode.
4 Normal direction control cannot be performed by
the G53 move command.
5 The C-axis must be a rotation axis.
- 235 -
6.COMPENSATION FUNCTION
6.12
PROGRAMMING
B-64304EN-2/01
(1)
100
60
Axis of symmetry
(Y=50)
50
40
(4)
(3)
0
40
50
60
100
Format
G51.1 IP_ ;
:
:
:
:
G50.1 IP_ ;
- 236 -
B-64304EN-2/01
PROGRAMMING
6.COMPENSATION FUNCTION
Explanation
- Mirror image by setting
If the programmable mirror image function is specified when the
command for producing a mirror image is also selected by a CNC
external switch or CNC setting (see III-4.8 in Users Manual
(Common to T/M series.)), the programmable mirror image function is
executed first.
Explanation
Circular command
Cutter compensation
Limitation
- Scaling and coordinate system rotation
Processing proceeds from program mirror image to scaling and
coordinate system rotation in the stated order. The commands should
be specified in this order, and, for cancellation, in the reverse order.
Do not specify G50.1 or G51.1 during scaling or coordinate system
rotation mode.
- 237 -
PROGRAMMING
B-64304EN-2/01
Overview
Memory operation of the program registered in Series 10/11 program
format is possible by setting the setting parameter FCV (No. 0001#1)
to 1.
Explanation
Data formats for tool radius compensation, subprogram call, and
canned cycles are different between the Series 0i and Series 10/11.
The Series 10/11 program formats can be processed for memory
operation.
Other data formats must comply with the Series 0i. When a value out
of the specified range for the Series 0i is registered, an alarm occurs.
Functions not available in the Series 0i cannot be used for memory
operation.
- Address for the tool radius compensation offset number
Offset numbers are specified by address D in the Series 10/11.
When an offset number is specified by address D, the modal value
specified by address H is replaced with the offset number specified by
address D.
- Subprogram call
If a subprogram number of more than four digits is specified, the four
low-order digits are regarded as the subprogram number.
If no repeat count is specified, 1 is assumed.
Table 7 (a)
CNC
Series 10/11
Series 0i
Repetition count
(1 to 9999)
Subprogram number
L
K
- 238 -
B-64304EN-2/01
PROGRAMMING
- 239 -
PROGRAMMING
B-64304EN-2/01
8.1
8.1.1
Overview
This function synchronizes the revolutions of the workpiece axis
connected to the servo motor with the revolutions of the tool axis
(grinding stone/hob) connected to the spindle motor so as to machine
(grind/cut) gears as in the hobbing machine function.
The
synchronization ratio can be specified by a program.
Synchronization of the tool axis and the workpiece axis by this
function is directly controlled by a digital servo, so the workpiece axis
can track changes in the speed of the tool axis with no error, thereby
achieving high-precision machining of gears. In the following
descriptions, the electric gear box is called the EGB. For details on
the conditions that need be met to set the workpiece axis and tool axis,
refer to the manual provided by the machine tool builder.
NOTE
Electronic gear box is optional function.
- Example of controlled axis configuration
Spindle
1st axis
2nd axis
3rd axis
4th axis
:
:
:
:
:
CNC
Spindle (master axis)
Spindle amp.
Motor
Tool axis
FFG
-
Detector
Position control
Velocity/current control
Servo amp.
Motor
Sync switch
Follow-up +
C axis
Workpiece axis
4th axis
dummy axis
Spindle Detector
K1
Separate detector
Error counter
- 240 -
PROGRAMMING
B-64304EN-2/01
Format
Start of
synchronization
Cancellation of
synchronization
Parameter EFX
(No.7731#0)=0
Parameter EFX
(No.7731#0)=1
G81 T ( L )
( Q P ) ;
G80 ;
G81.4 T ( L )
( Q P ) ;
G80.4 ;
Explanation
- Master axis, slave axis, and dummy axis
The synchronization reference axis is called the master axis, while the
axis along which movement is performed in synchronization with the
master axis is called the slave axis. For example, if the workpiece
moves in synchronization with the rotating tool as in a hobbing
machine, the tool axis is the master axis and the workpiece axis is the
slave axis.
Which axes to become the master and slave axes depends on the
configuration of the machine. For details, refer to the manual issued
by the machine tool builder.
A single servo axis is used exclusively so that digital servo can
directly read the rotation position of the master axis. (This axis is
called the EGB dummy axis.)
- 241 -
PROGRAMMING
B-64304EN-2/01
- Synchronous control
(1) Start of synchronization
If G81 is issued so that the machine enters synchronization mode,
the synch switch of the EGB function is closed, and the
synchronization of the tool and workpiece axes is started.
During synchronization, the rotation about the tool and
workpiece axes is controlled so that the relationship between T
(number of teeth) and L (number of hob threads) is maintained.
During synchronization, the synchronization relationship is
maintained regardless of whether the operation is automatic or
manual.
Specify P and Q to use helical gear compensation.
If only either P or Q is issued, alarm PS1594 is generated.
If, during synchronization, G81 is issued again without
synchronization cancellation, alarm PS1595 is generated if ECN,
bit 3 of parameter No. 7731, is 0. If ECN, bit 3 of parameter No.
7731, is 1, helical gear compensation is conducted with the
synchronization coefficient being changed to the one newly
specified with T and L commands if T and L commands are
issued, and if T and L commands are not issued and only P and Q
commands are issued, helical gear compensation is conducted
with the synchronization coefficient kept intact. This allows
consecutive fabrication of helical gears and super gears.
(2) Start of tool axis rotation
When the rotation of the tool axis starts, the rotation of the
workpiece axis starts so that the synchronous relationship
specified in the G81 block can be maintained.
The rotation direction of the workpiece axis depends on the
rotation direction of the tool axis. That is, when the rotation
direction of the tool axis is positive, the rotation direction of the
workpiece axis is also positive; when the rotation direction of the
tool axis is negative, the rotation direction of the workpiece axis
is also negative. However, by specifying a negative value for L,
the rotation direction of the workpiece axis can be made opposite
to the rotation direction of the tool axis.
During synchronization, the machine coordinates of the
workpiece axis and EGB axis are updated as synchronous motion
proceeds. On the other hand, a synchronous move command
has no effect on the absolute and relative coordinates.
(3) Termination of tool axis rotation
In synchronism with gradual stop of the tool axis, the workpiece
axis is decelerated and stopped. By specifying the command
below after the spindle stops, synchronization is canceled, and
the EGB synchronization switch is opened.
- 242 -
B-64304EN-2/01
PROGRAMMING
CAUTION
1 Feed hold, interlock, and machine lock are invalid
to a slave axis in EGB synchronization.
2 Even if an OT alarm is issued for a slave axis in
EGB synchronization, synchronization will not be
canceled.
3 During synchronization, it is possible to execute a
move command for a slave axis and other axes,
using a program. The move command for a slave
command must be an incremental one.
- 243 -
PROGRAMMING
B-64304EN-2/01
NOTE
1 If bit 0 (HBR) of parameter No. 7700 is set to 1,
EGB synchronization will not be canceled due to a
reset. Usually, set this parameter bit to 1.
2 In synchronous mode, it is not possible to specify
G27, G28, G29, G30, and G53 for a slave axis.
3 It is not possible to use controlled axis detach for a
slave axis.
4 During synchronization, manual handle interruption
can be performed on the slave and other axes.
5 In synchronization mode, no inch/metric conversion
commands (G20 and G21) cannot be issued.
6 In synchronous mode, only the machine
coordinates on a slave axis are updated.
7 If bit 0 (EFX) of parameter No. 7731 is 0, no
canned cycle for drilling can be used. To use a
canned cycle for drilling, set bit 0 (EFX) of
parameter No. 7731 to 1 and use G81.4 instead of
G81 and G80.4 instead of G80.
8 If TDP, bit 0 of parameter No. 7702, is 1, the
permissible range of T is 0.1 to 100 (1/10 of the
specified value).
9 If, at the start of EGB synchronization (G81), L is
specified as 0, synchronization starts with L
assumed to be 1 if bit 3 (LZR) of parameter
No.7701, is 0; if bit 3 (LZR) of parameter No.7701,
is 1, synchronization is not started with L assumed
to be 0. At this time, helical gear compensation is
performed.
10 Feed per revolution is performed on the feedback
pulses on the spindle. By setting ERV, bit 0 of
parameter No. 7703, to 1, feed per revolution can
be performed based on the speed on the
synchronous slave axis.
11 Actual cutting feedrate display does not take
synchronization pulses into consideration.
12 In EGB synchronization mode, AI contour control
mode is temporarily canceled.
- 244 -
B-64304EN-2/01
PROGRAMMING
Z sin(P)
T Q
Compensation angle =
Z Q sin(P)
T
where
Compensation angle: Signed absolute value (deg)
Z :Amount of travel on the Z-axis after the specification of G81
P : Signed gear helix angle (deg)
: Circular constant
T : Number of teeth
Q : Module (mm) or diametral pitch (inch-1)
Use P, T, and Q specified in the G81 block.
In helical compensation, the machine coordinates on the workpiece
axis and the absolute coordinates are updated with helical
compensation.
- 245 -
PROGRAMMING
B-64304EN-2/01
+Z
-Z
+Z
-Z
(a)
(c)
(b)
+C
(d)
+C
+C
+C
Compensation direction : +
Compensation direction : -
Compensation direction : -
Compensation direction : +
(e)
(f)
(h)
(g)
Compensation direction : -
Compensation direction : +
Compensation direction : +
Compensation direction : -
When HDR is set to 0. (In (a), (b), (c), and (d), the same as that if HDR is 1)
+Z
-Z
(e)
(h)
(g)
(f)
C
Compensation direction : +
Compensation direction : -
Compensation direction : -
Compensation direction : +
- Synchronization coefficient
A synchronization coefficient is internally represented using a fraction
(Kn/Kd) to eliminate an error. The formula below is used for
calculation.
Synchronization coefficient =
Kn L
=
Kd T
where
L : Number of hob threads
T : Number of teeth
: Number of pulses of the position detector per rotation about the
master axis (parameter No. 7772)
: Number of pulses of the position detector per rotation about the
slave axis (parameter No. 7773)
Kn / Kd is a value resulting from reducing the right side of the above
formula, but the result of reduction is subject to the following
restrictions:
-2147483648Kn2147483647
1Kd65535
When this restriction is not satisfied, the alarm (PS1596) is issued
when G81 is specified.
- 246 -
B-64304EN-2/01
PROGRAMMING
Example
O1000 ;
N0010 M19 ;
N0020 G28 G91 C0 ;
N0030 G81 T20 L1 ;
- 247 -
PROGRAMMING
B-64304EN-2/01
- Retract function
(1) Retract function with an external signal
When the retract switch on the machine operators panel is
turned on, retraction is performed with the retract amount set in
parameter No. 7741 and the feedrate set in parameter No. 7740.
No movement is performed along an axis for which 0 is set as the
retract amount.
For the retract switch, refer to the relevant manual provided by
the machine tool builder.
(2) Retract function with an alarm
If, during EGB synchronization or automatic operation, a CNC
alarm is issued, retraction is performed with the retract amount
set in parameter No. 7741 and the speed set in parameter No.
7740.
This can prevent the tool and the object being machined from
damage if a servo alarm is generated.
No movement is performed along an axis for which 0 is set as the
retract amount.
For the retract switch, refer to the relevant manual provided by
the machine tool builder.
Conditions under the retract function with an alarm
The conditions under which the retract function with a servo or
spindle alarm can be changed using the settings of ARE, bit 1 of
parameter No. 7703, and bit 2 (ARO) of parameter No. 7703.
The table below lists parameter settings and corresponding
conditions.
ARE
ARO
0
0
0
1
Condition
EGB synchronization is in progress.
Both EGB synchronization and
automatic operation are in progress.
Either EGB synchronization or
automatic operation is in progress.
CAUTION
1 Retraction is performed at the speed specified in
parameter No. 7740.
2 Feed hold is not effective to movement during
retraction.
3 Feedrate override is not effective to movement
during retraction.
- 248 -
B-64304EN-2/01
PROGRAMMING
NOTE
1 During a retract operation, an interlock is effective
to the retract axis.
2 During a retract operation, a machine lock is
effective to the retract axis.
3 The retraction direction depends on the movement
direction of the machine, regardless of whether an
mirror image (signal and setting) is enabled or
disabled. (No mirror image can be applied to the
updating of absolute coordinates.)
4 If retraction is performed during automatic
operation, automatic operation is halted
simultaneously with a retract operation, but it is at
the end of the retract operation that the operation
state switches to the automatic operation halt state.
5 It is not possible to perform automatic operation
during retraction.
6 The acceleration/deceleration of a retract operation
is in the acceleration/deceleration state at the start
of retraction.
7 Retract movement is performed with non-linear
type positioning.
8 If, during a retract operation, a reset or an
emergency stop is made, the operation is
interrupted.
9 If, during a retract operation on multiple axes, an
OT alarm or a malfunction prevention alarm is
issued for a retract axis, the operation stops only
on the axis for which the alarm is issued if bit 4
(RTS) of parameter No. 7731 is 0. If bit 4 (RTS) of
parameter No. 7731 is 1, the retract operation is
interrupted on all axes. If a servo alarm or non-axis
malfunction prevention alarm is issued, the retract
operation is interrupted on all axes regardless of
the setting of bit 4 (RTS) of parameter No. 7731.
10 To enable the retract function with an alarm, bit 3
(ART) of parameter No.7702, must be set.
11 The retract function with an alarm does not perform
a retract operation on the retract axis if an overtravel
alarm or a servo alarm is generated on the retract
axis.
12 If a new alarm is issued during retraction with the
retract function with an alarm, a retract operation is
not performed.
- 249 -
III. OPERATION
B-64304EN-2/01
OPERATION
.........254
- 253 -
1.1
B-64304EN-2/01
- 254 -
OPERATION
B-64304EN-2/01
1.1.1
Procedure
1
- 255 -
B-64304EN-2/01
Explanation
- Decimal point input
A decimal point can be used when entering a compensation value.
- 256 -
OPERATION
B-64304EN-2/01
- 257 -
1.1.2
B-64304EN-2/01
Procedure
1
- 258 -
OPERATION
B-64304EN-2/01
. If either
or
key is
depressed instead of
Reference
tool
The difference is set as a tool
length offset value
A prefixed position
- 259 -
APPENDIX
B-64304EN-2/01
APPENDIX
A.PARAMETERS
PARAMETERS
This manual describes all parameters indicated in this manual.
For those parameters that are not indicated in this manual and other
parameters, refer to the parameter manual.
Appendix A, "PARAMETERS", consists of the following sections:
A.1 DESCRIPTION OF PARAMETERS .......................................264
A.2 DATA TYPE.............................................................................311
A.3 STANDARD PARAMETER SETTING TABLES ..................312
- 263 -
A.PARAMETERS
A.1
APPENDIX
B-64304EN-2/01
DESCRIPTION OF PARAMETERS
#7
#6
#5
#4
#3
#2
0001
[Input type]
[Data type]
#1
FCV
#1
#0
FCV
Setting input
Bit path
Program format
0: Series 0 standard format
(This format is compliant with the Series 0i-C.)
1: Series 10/11 format
NOTE
1 Programs created in the Series 10/11 program
format can be used for operation on the following
functions:
1 Subprogram call M98,M198
2 Drilling canned cycle
G80 to G89 (T series)
G73, G74, G76, G80 to G89(M series)
2 When the program format used in the Series 10/11
is used for this CNC, some limits may add. Refer to
the Users Manual.
#7
1004
[Input type]
[Data type]
#7
IPR
#6
#5
#4
#3
#2
#1
#0
IPR
Parameter input
Bit path
When a number with no decimal point is specified, the least input
increment of each axis is:
0: Not 10 times greater than the least command increment
1: 10 times greater than the least command increment
When the increment system is IS-A, and bit 0 (DPI) of parameter No.
3401 is set to 1 (pocket calculator type decimal point programming),
the least input increment cannot be 10 times greater than the least
command increment.
- 264 -
A.PARAMETERS
APPENDIX
B-64304EN-2/01
#7
#6
#5
#4
#3
#2
1013
[Input type]
[Data type]
#1
#0
ISCx
ISAx
Parameter input
Bit axis
NOTE
When at least one of these parameters is set, the
power must be turned off before operation is
continued.
#0
#1
ISA
ISC
#1 ISCx
#0 ISAx
IS-A
IS-B
IS-C
0
0
1
1
0
0
1020
[Input type]
[Data type]
[Valid data range]
Parameter input
Byte axis
65 to 67,85 to 90
An axis name (parameter No. 1020) can be arbitrarily selected from
'A', 'B', 'C', 'U', 'V', 'W', 'X', 'Y', and 'Z'.
(Tip) ASCII code
Axis name
Setting
X
88
Y
89
Z
90
A
65
B
66
C
67
U
85
V
86
W
87
NOTE
1 The same axis name cannot be set for multiple
axes.
2 When the 2nd auxiliary function is provided (when
bit 2 (BCD) of parameter No. 8132 is 1), if the
address (parameter No. 3460) that specifies the
2nd auxiliary function is used as an axis name, the
2nd auxiliary function is disabled.
- 265 -
A.PARAMETERS
APPENDIX
1022
[Input type]
[Data type]
[Valid data range]
B-64304EN-2/01
Parameter input
Byte axis
0 to 7
To determine a plane for circular interpolation, tool radius/tool nose
radius compensation, and so forth (G17: Xp-Yp plane, G18: Zp-Xp
plane, G19: Yp-Zp plane), specify which of the basic three axes (X, Y,
and Z) is used for each control axis, or a parallel axis of which basic
axis is used for each control axis.
A basic axis (X, Y, or Z) can be specified only for one control axis.
Two or more control axes can be set as parallel axes for the same basic
axis.
Setting
Meaning
0
1
2
3
5
6
7
Rotation axis (Neither the basic three axes nor a parallel axis )
X axis of the basic three axes
Y axis of the basic three axes
Z axis of the basic three axes
Axis parallel to the X axis
Axis parallel to the Y axis
Axis parallel to the Z axis
NOTE
When this parameter is set, the power must be
turned off before operation is continued.
[Input type]
[Data type]
[Valid data range]
Parameter input
Byte axis
0 to Number of controlled axes
Set the servo axis for each control axis.
Usually set to same number as the control axis number.
The control axis number is the order number that is used for setting
the axis-type parameters or axis-type machine signals
A.PARAMETERS
APPENDIX
B-64304EN-2/01
EGB axis:
For a slave axis, set an odd (1, 3, 5, 7, ...) servo axis number. For
a dummy axis to be paired, set a value obtained by adding 1 to
the value set for the slave axis.
1031
[Input type]
[Data type]
[Valid data range]
Reference axis
Parameter input
Byte path
1 to Number of controlled axes
The unit of some parameters common to all axes such as those for dry
run feedrate and one-digit F code feed may vary according to the
increment system. An increment system can be selected by a
parameter on an axis-by-axis basis. So, the unit of those parameters is
to match the increment system of a reference axis. Set which axis to
use as a reference axis.
Among the basic three axes, the axis with the finest increment system
is generally selected as a reference axis.
#7
#6
#5
1401
[Input type]
[Data type]
#4
#3
RF0
#2
#1
#0
LRP
Parameter input
Bit path
#1
LRP
Positioning (G00)
0: Positioning is performed with non-linear type positioning so that
the tool moves along each axis independently at rapid traverse.
1: Positioning is performed with linear interpolation so that the tool
moves in a straight line.
#4
RF0
1410
[Input type]
[Data type]
[Unit of data]
[Minimum unit of data]
[Valid data range]
Parameter input
Real path
mm/min, inch/min, degree/min (machine unit)
Depend on the increment system of the reference axis
Refer to the standard parameter setting table (C)
(When the increment system is IS-B, 0.0 to +999000.0)
Set the dry run rate at the 100% position on the jog feedrate
specification dial. The unit of data depends on the increment system of
the reference axis.
- 267 -
A.PARAMETERS
APPENDIX
1411
B-64304EN-2/01
Cutting feedrate
NOTE
When this parameter is set, the power must be
turned off before operation is continued.
[Input type]
[Data type]
[Unit of data]
[Minimum unit of data]
[Valid data range]
Setting input
Real path
mm/min, inch/min, degree/min (input unit)
Depend on the increment system of the reference axis
Refer to the standard parameter setting table (C)
(When the increment system is IS-B, 0.0 to +999000.0)
When the machine doesnt need to change cutting feedrate frequently
during cutting, a cutting feedrate can be specified in the parameter.
This eliminates the need to specify a cutting feedrate (F command) in
the NC program.
The feedrate set in this parameter is valid from when the CNC enters
the clear state (when bit 6 (CLR) of parameter No. 3402 is 1) due to
power-on or a reset to when the feedrate is specified by a program
command (F command). After the feedrate is specified by a program
command (F command), the feedrate is valid. For details on the clear
state, refer to Appendix in the User's Manual (B-64304EN).
1420
[Input type]
[Data type]
[Unit of data]
[Minimum unit of data]
[Valid data range]
1430
[Input type]
[Data type]
[Unit of data]
[Minimum unit of data]
[Valid data range]
Parameter input
Real axis
mm/min, inch/min, degree/min (machine unit)
Depend on the increment system of the applied axis
Refer to the standard parameter setting table (C)
(When the increment system is IS-B, 0.0 to +999000.0)
Set the rapid traverse rate when the rapid traverse override is 100% for
each axis.
Maximum cutting feedrate for each axis
Parameter input
Real axis
mm/min, inch/min, degree/min (machine unit)
Depend on the increment system of the applied axis
Refer to the standard parameter setting table (C)
(When the increment system is IS-B, 0.0 to +999000.0)
Specify the maximum cutting feedrate for each axis.
- 268 -
A.PARAMETERS
APPENDIX
B-64304EN-2/01
#7
#6
#5
1601
[Input type]
[Data type]
#5
NCI
CTLx
#2
#1
#0
An in-position check:
0: Confirms that the specified feedrate becomes 0 (the
acceleration/deceleration delay becomes 0) at deceleration time
and that the machine position has reached a specified position
(the servo positional deviation is within the in-position width set
by parameter No. 1826).
1: Confirms only that the specified feedrate becomes 0 (the
acceleration/deceleration delay becomes 0) at deceleration time.
#7
#0
#3
Parameter input
Bit path
#6
#5
1610
[Input type]
[Data type]
#4
NCI
#4
JGLx
#3
#2
#1
#0
CTBx
CTLx
Parameter input
Bit axis
Acceleration/deceleration in cutting feed or dry run
0: Exponential acceleration/deceleration is applied.
1: Linear acceleration/deceleration after interpolation is applied.
NOTE
When using bell-shaped acceleration/deceleration after
interpolation, set this parameter to 0 and set bit 1
(CTBx) of parameter No. 1610 to select bell-shaped
acceleration/deceleration after interpolation.
Parameter
CTBx CTLx
Acceleration/deceleration
- 269 -
A.PARAMETERS
#1
APPENDIX
CTBx
B-64304EN-2/01
NOTE
This parameter is valid only when the bell-shaped
acceleration/deceleration after cutting feed
interpolation function is used. When this function
is not used, the acceleration/deceleration is
determined according to bit 0 (CTLx) of parameter
No. 1610 regardless of the setting of this
parameter.
#4
JGLx
1732
[Input type]
[Data type]
[Unit of data]
[Minimum unit of data]
[Valid data range]
Parameter input
Real path
mm/min, inch/min, degree/min (machine unit)
Depend on the increment system of the reference axis
Refer to the standard parameter setting table (C)
(When the increment system is IS-B, 0.0 to +999000.0)
With the deceleration function based on acceleration in circular
interpolation, an optimum feedrate is automatically calculated so that
acceleration produced by changing the move direction in circular
interpolation does not exceed the maximum allowable acceleration
rate specified in parameter No. 1735.
If the radius of an arc is very small, a calculated feedrate may become
too low.
In such a case, the feedrate is prevented from decreasing below the
value specified in this parameter.
- 270 -
A.PARAMETERS
APPENDIX
B-64304EN-2/01
1735
[Input type]
[Data type]
[Unit of data]
[Minimum unit of data]
[Valid data range]
Parameter input
Real axis
mm/sec2, inch/sec2, degree/sec2 (machine unit)
Depend on the increment system of the applied axis
Refer to the standard parameter setting table (D)
(When the machine system is metric system, 0.0 to +100000.0. When
the machine system is inch system, machine, 0.0 to +10000.0.)
Set a maximum allowable acceleration rate for the deceleration
function based on acceleration in circular interpolation.
Feedrate is controlled so that acceleration produced by changing the
move direction in circular interpolation does not exceed the value
specified in this parameter.
For an axis with 0 set in this parameter, the deceleration function
based on acceleration is disabled.
If a different value is set in this parameter for each axis, a feedrate is
determined from the smaller of the acceleration rates specified for the
two circular axes.
1826
[Input type]
[Data type]
[Unit of data]
[Valid data range]
Parameter input
2-word axis
Detection unit
0 to 99999999
The in-position width is set for each axis.
When the deviation of the machine position from the specified
position (the absolute value of the positioning deviation) is smaller
than the in-position width, the machine is assumed to have reached the
specified position. (The machine is in the in-position state.)
#7
#6
#5
3115
[Input type]
[Data type]
#3
NDFx
#4
#3
#2
#1
#0
NDFx
Parameter input
Bit axis
In calculation for actual cutting feedrate display, the feedrate of a
selected axis is:
0: Considered.
1: Not considered.
- 271 -
A.PARAMETERS
APPENDIX
3131
[Input type]
[Data type]
[Valid data range]
B-64304EN-2/01
Parameter input
Byte axis
0 to 9, 32, 65 to 90
In order to distinguish axes under parallel operation, synchronization
control, and tandem control, specify a subscript for each axis name.
Setting value
0
1 to 9
65 to 90
Meaning
Each axis is set as an axis other than a synchronization
control axis and tandem control axis.
A set value is used as a subscript.
A set letter (ASCII code) is used as a subscript.
Example)
When the axis name is X, a subscript is added as indicated
below.
Axis name displayed on a screen such as the
position display screen
X
X1
XM
XS
Setting value
0
1
77
83
#6
#5
3290
[Input type]
[Data type]
#0
WOF
#4
#3
#2
#1
#0
GOF
WOF
Parameter input
Bit path
Setting the tool offset value (tool wear offset) by MDI key input is:
0: Not disabled.
1: Disabled. (With parameter No.3294 and No.3295, set the offset
number range in which updating the setting is to be disabled.)
NOTE
When tool offset memory A is selected, the tool
offset set in the parameter WOF is followed even if
geometric compensation.
#1
GOF
Setting the tool geometry offset value by MDI key input is:
0: Not disabled.
1: Disabled. (With parameter No.3294 and No.3295, set the offset
number range in which updating the setting is to be disabled.)
- 272 -
APPENDIX
B-64304EN-2/01
A.PARAMETERS
3294
3295
Number of tool offset values (from the start number) whose input by MDI is
disabled
[Input type]
[Data type]
[Valid data range]
Parameter input
Word path
0 to Tool compensation count - 1
When the modification of tool offset values by MDI key input is to be
disabled using bit 0 (WOF) of parameter No.3290 and bit 1 (GOF) of
parameter No.3290, parameter Nos.3294 and 3295 are used to set the
range where such modification is disabled. In parameter No.3294, set
the offset number of the start of tool offset values whose modification
is disabled. In parameter No.3295, set the number of such values. In
the following cases, however, none of the tool offset values may be
modified:
When a value greater than the maximum tool offset number is set
in parameter No.3294
In the following case, a modification to the values ranging from the
value set in parameter No.3294 to the maximum tool offset number is
disabled:
When the value of parameter No.3294 added to the value of
parameter No.3295 exceeds the maximum tool offset number
When the offset value of a prohibited number is input through the
MDI panel, the warning "WRITE PROTECT" is issued.
[Example]
When the following parameter settings are made, modifications to
both of the tool geometry offset values and tool wear offset values
corresponding to offset numbers 51 to 60 are disabled:
Parameter No.3294 = 51
Parameter No.3295 = 10
If the setting of bit 0 (WOF) of parameter No.3290 is set to 0 without
modifying the other parameter settings above, tool geometry offset
value modification only is disabled, and tool wear offset value
modification is enabled.
- 273 -
A.PARAMETERS
APPENDIX
#7
#6
#5
B-64304EN-2/01
#4
#3
#2
#1
3401
[Input type]
[Data type]
#0
DPI
3402
[Input type]
[Data type]
#0
DPI
Parameter input
Bit path
When a decimal point is omitted in an address that can include a
decimal point
0: The least input increment is assumed. (Normal decimal point
input)
1: The unit of mm, inches, degree, or second is assumed. (Pocket
calculator type decimal point input)
#7
#6
G23
CLR
#5
#4
#3
#2
#1
#0
G91
G19
G18
G01
Parameter input
Bit path
#0
G01
G01 Mode entered when the power is turned on or when the control is
cleared
0: G00 mode (positioning)
1: G01 mode (linear interpolation)
#1
G18
#2
G19
#3
G91
#6
CLR
G19
G18
0
0
1
0
1
0
- 274 -
A.PARAMETERS
APPENDIX
B-64304EN-2/01
#7
G23
3408
[Input type]
[Data type]
C23
#6
#5
#4
#3
#2
#1
#0
C23
Parameter input
Bit
If bit 6 (CLR) of parameter No.3402 is set to 1, set a group of G codes
to be placed in the cleared state when the CNC is reset by the
key of the MDI panel, the external reset signal, the reset & rewind
signal, or the emergency stop signal.
The setting of a bit has the following meaning:
0: Places the G code group in the cleared state.
1: Does not place G code group in the cleared state.
3410
[Input type]
[Data type]
[Unit of data]
[Minimum unit of data]
[Valid data range]
Setting input
Real path
mm, inch (input unit)
Depend on the increment system of the reference axis
0 or positive 9 digit of minimum unit of data (refer to the standard
parameter setting table (B))
(When the increment system is IS-B, 0.0 to +999999.999)
When a circular interpolation command is executed, the tolerance for
the radius between the start point and the end point is set.
NOTE
When the setting is 0, the difference between the
arc radius values is not checked.
#7
#6
#5
5000
[Input type]
[Data type]
#1
MOF
#4
#3
#2
#1
#0
MOF
Setting input
Bit path
When the tool length compensation shift type (bit 6 (TOS) of
parameter No. 5006 is set to 1) is used, if the tool length compensation
amount is changed(NOTE 2) in the tool length compensation mode when
look-ahead blocks are present(NOTE 1):
0: Compensation is performed for the change in compensation
amount as the movement type.
1: Compensation is not performed for the change until a tool length
compensation command (offset number) and an absolute
command for the compensation axis are specified.
- 275 -
A.PARAMETERS
APPENDIX
B-64304EN-2/01
NOTE
1 "When look-ahead blocks are present" means as follows:
The modal G code of the G codes (such as tool nose
radius compensation) of group 07 is other than G40.
One look-ahead block during automatic operation and
multiple look-ahead blocks in the AI advanced preview
control/AI contour control mode are not included in the
state "when look-ahead blocks are present".
2 Changes in tool length compensation amount are as
follows:
When the tool length compensation number is changed
by H code
When G43 or G44 is specified to change the direction of
tool length compensation
When the tool length compensation amount is changed
using the offset screen, G10 command, system variable,
PMC window, and so forth during automatic operation if
bit 1 (EVO) of parameter No. 5001 is set to 1.
When a tool length compensation vector canceled
temporarily during tool length compensation by G53,
G28, or G30 is recovered
#7
5001
[Input type]
[Data type]
#0
#1
TLC
TLB
#6
#5
#4
#3
#2
#1
#0
EVO
TPH
EVR
TAL
OFH
TLB
TLC
Parameter input
Bit path
These bits are used to select a tool length compensation type.
Type
Tool length compensation A
Tool length compensation B
Tool length compensation C
TLB
0
1
-
TLC
0
0
1
- 276 -
APPENDIX
B-64304EN-2/01
#2
OFH
A.PARAMETERS
NOTE
When this parameter is 1, if tool length
compensation and cutter compensation are
specified in the same block, cutter compensation is
prioritized.
#3
TAL
#4
EVR
#5
TPH
In tool offsets (G45, G46, G47, or G48), the address used to specify a
compensation number is:
0: Address D.
1: Address H.
NOTE
This parameter is valid when bit 2 (OFH) of
parameter No. 5001 is 0.
#6
EVO
- 277 -
A.PARAMETERS
APPENDIX
#7
#6
#5
B-64304EN-2/01
#4
#3
5003
[Input type]
[Data type]
#0
#1
SUV
SUP
SUP
SUV
#2
#1
#0
SUV
SUP
Parameter input
Bit path
These bits are used to specify the type of startup/cancellation of cutter
compensation or tool nose radius compensation.
Type
Operation
Type A A compensation vector perpendicular to the block next to the startup block or the block preceding
the cancellation block is output.
Tool nose radius center path /
Tool center path
G41
Programmed path
N2
N1
0
Type B A compensation vector perpendicular to the startup block or cancellation block and an
intersection vector are output.
Intersection point
G41
N2
N1
0
1
Type C When the startup block or cancellation block specifies no movement operation, the tool is shifted
by the cutter compensation amount in a direction perpendicular to the block next to the startup or
the block before cancellation block.
Intersection point
Tool nose radius center path /
Tool center path
G41
Shift
Programmed path
N3
N2
N1block specifies movement operation, the type is set according to the SUP setting; if
When the
SUP is 0, type A is set, and if SUP is 1, type B is set.
NOTE
When SUV,SUP = 0,1 (type B), an operation
equivalent to that of FS0i-TC is performed.
- 278 -
A.PARAMETERS
APPENDIX
B-64304EN-2/01
#7
#6
#5
5005
[Input type]
[Data type]
#5
QNI
TOS
#6
#5
CNC
CNV
#0
#4
#3
#2
#1
#0
Parameter input
Bit
Set a tool length compensation operation.
0: Tool length compensation is performed by an axis movement.
1: Tool length compensation is performed by shifting the coordinate
system.
#6
#5
5008
#1
#3
#1
TOS
#7
[Input type]
[Data type]
#2
#6
#3
Parameter input
Bit path
5006
[Input type]
[Data type]
#4
QNI
#4
#3
#2
CNV
#1
#0
CNC
Parameter input
Bit path
These bits are used to select an interference check method in the cutter
compensation or tool nose radius compensation mode.
CNV
CNC
0
1
1
-
Operation
Interference check is enabled. The direction and the angle of an
arc are checked.
Interference check is enabled. Only the angle of an arc is checked.
Interference check is disabled.
For the operation taken when the interference check shows the
occurrence of an reference (overcutting) , see the description of bit 5
(CAV) of parameter No. 19607.
NOTE
Checking of only the direction cannot be set.
- 279 -
A.PARAMETERS
APPENDIX
5010
[Input type]
[Data type]
[Unit of data]
[Minimum unit of data]
[Valid data range]
B-64304EN-2/01
Limit for ignoring the small movement resulting from cutter or tool nose
radius compensation
Setting input
Real path
mm, inch (input unit)
Depend on the increment system of the reference axis
9 digit of minimum unit of data (refer to standard parameter setting
table (A))
(When the increment system is IS-B, -999999.999 to +999999.999)
When the tool moves around a corner in cutter compensation or tool
nose radius compensation mode, the limit for ignoring the small travel
amount resulting from compensation is set. This limit eliminates the
interruption of buffering caused by the small travel amount generated
at the corner and any change in feedrate due to the interruption.
Vx
V Y
N2
#7
#6
#5
#4
5042
[Input type]
[Data type]
#3
#2
#1
#0
OFC
OFA
Parameter input
Bit path
NOTE
When at least one of these parameters is set, the power
must be turned off before operation is continued.
#0
#1
OFA
OFC
These bits are used to specify the increment system and valid data
range of a tool offset value.
For metric input
OFC
OFA
0
0
1
1
0
0
- 280 -
Unit
0.01mm
0.001mm
0.0001mm
A.PARAMETERS
APPENDIX
B-64304EN-2/01
Unit
1
0
0
#6
0.001inch
0.0001inch
0.00001inch
#5
#4
#3
#2
#1
5101
[Input type]
[Data type]
#0
FXY
Parameter input
Bit path
The drilling axis in the drilling canned cycle, or cutting axis in the
grinding canned cycle is:
0: In case of the Drilling canned cycle:
Z-axis at all times.
In case of the Grinding canned cycle:
G75,G77 command :Y-axis
G78,G79 command :Z-axis
1: Axis selected by the program
#7
#6
#5
5105
[Input type]
[Data type]
#0
SBC
#0
FXY
#4
#3
#2
#1
#0
SBC
Parameter input
Bit path
In each of a drilling canned cycle, chamfering/corner rounding cycle,
0: A single block stop is not carried out.
1: A single block stop is carried out.
- 281 -
A.PARAMETERS
APPENDIX
5114
[Input type]
[Data type]
[Unit of data]
[Minimum unit of data]
[Valid data range]
B-64304EN-2/01
Parameter input
Real path
mm, inch (input unit)
Depend on the increment system of the reference axis
9 digit of minimum unit of data (refer to standard parameter setting
table (A))
(When the increment system is IS-B, -999999.999 to +999999.999)
This parameter sets the return value in high-speed peck drilling cycle.
G73
q : Depth of cut
d : Return value
R point
q
q
Z point
5115
[Input type]
[Data type]
[Unit of data]
[Minimum unit of data]
[Valid data range]
Parameter input
Real path
mm, inch (input unit)
Depend on the increment system of the reference axis
9 digit of minimum unit of data (refer to standard parameter setting
table (A))
(When the increment system is IS-B, -999999.999 to +999999.999)
This parameter sets a clearance value in a peck drilling cycle.
G83
q : Depth of cut
d : Clearance value
R point
q
q
d
d
q
Z point
- 282 -
A.PARAMETERS
APPENDIX
B-64304EN-2/01
5148
[Input type]
[Data type]
[Valid data range]
Parameter input
Byte axis
-5 to 5
This parameter sets an axis and direction for tool retraction after
spindle orientation in a fine boring cycle or back boring cycle. For
each boring axis, an axis and direction for tool retraction after
orientation can be set. Set a signed axis number.
Example)
Suppose that:
When the boring axis is the X-axis, the tool retraction direction after
orientation is -Y.
When the boring axis is the Y-axis, the tool retraction direction after
orientation is +Z.
When the boring axis is the Z-axis, the tool retraction direction after
orientation is -X.
Then, set the following (assuming that the first, second, and third axes
are the X-axis, Y-axis, and Z-axis, respectively):
Set -2 in the parameter for the first axis. (The tool retraction direction
is -Y.)
Set 3 in the parameter for the second axis. (The tool retraction
direction is +Z.)
Set -1 in the parameter for the third axis. (The tool retraction direction
is -X.)
Set 0 for other axes.
#7
#6
#5
5160
[Input type]
[Data type]
#4
#3
#2
#1
NOL
OLS
#0
Parameter input
Bit path
#1
OLS
#2
NOL
- 283 -
A.PARAMETERS
APPENDIX
5163
[Input type]
[Data type]
[Valid data range]
5164
[Input type]
[Data type]
[Unit of data]
[Valid data range]
B-64304EN-2/01
M code that specifies the peck drilling cycle mode of a small diameter
Parameter input
2-word path
1 to 99999999
This parameter sets an M code that specifies the peck drilling cycle
mode of a small diameter.
Percentage of the spindle speed to be changed at the start of the next
advancing after an overload torque detection signal is received
Parameter input
Word path
%
1 to 255
This parameter sets the percentage of the spindle speed to be changed
at the start of the next advancing after the tool is retracted because the
overload torque detection signal is received.
S2 = S1 d1 100
S1: Spindle speed to be changed
S2: Spindle speed changed
Set d1 as a percentage.
NOTE
When 0 is set, the spindle speed is not changed.
5165
[Input type]
[Data type]
[Unit of data]
[Valid data range]
Parameter input
Word path
%
1 to 255
This parameter sets the percentage of the spindle speed to be changed
at the start of the next advancing after the tool is retracted without the
overload torque detection signal received.
S2 = S1 d2 100
S1: Spindle speed to be changed
S2: Spindle speed changed
Set d2 as a percentage.
NOTE
When 0 is set, the spindle speed is not changed.
- 284 -
APPENDIX
B-64304EN-2/01
5166
[Input type]
[Data type]
[Unit of data]
[Valid data range]
A.PARAMETERS
Parameter input
Word path
%
1 to 255
This parameter sets the percentage of the cutting feedrate to be
changed at the start of cutting after the tool is retracted and advances
because the overload torque detection signal is received.
F2 = F1 b1 100
F1: Cutting feedrate to be changed
F2: Cutting feedrate changed
Set b1 as a percentage.
NOTE
When 0 is set, the cutting feedrate is not changed.
5167
[Input type]
[Data type]
[Unit of data]
[Valid data range]
Parameter input
Word path
%
1 to 255
This parameter sets the percentage of the cutting feedrate to be
changed at the start of cutting after the tool is retracted and advances
without the overload torque detection signal received.
F2 = F1 b2 100
F1: Cutting feedrate to be changed
F2: Cutting feedrate changed
Set b2 as a percentage.
NOTE
When 0 is set, the cutting feedrate is not changed.
5168
[Input type]
[Data type]
[Unit of data]
[Valid data range]
Lower limit of the percentage of the cutting feedrate in a peck drilling cycle of
a small diameter
Parameter input
Byte path
%
1 to 255
This parameter sets the lower limit of the percentage of the cutting
feedrate changed repeatedly to the specified cutting feedrate.
FL = F b3 100
F: Specified cutting feedrate
FL: Changed cutting feedrate
Set b3 as a percentage.
- 285 -
A.PARAMETERS
APPENDIX
5170
[Input type]
[Data type]
[Valid data range]
5171
[Input type]
[Data type]
[Valid data range]
5172
[Input type]
[Data type]
[Unit of data]
[Minimum unit of data]
[Valid data range]
5173
[Input type]
[Data type]
[Unit of data]
[Minimum unit of data]
[Valid data range]
B-64304EN-2/01
Parameter input
Word path
100 to 149
This parameter sets the number of the custom macro common variable
to which to output the total number of times the tool is retracted
during cutting. The total number cannot be output to common
variables #500 to #599.
Number of the macro variable to which to output the total number of
retractions because of the reception of an overload torque detection signal
Parameter input
Word path
100 to 149
This parameter sets the number of the custom macro common variable
to which to output the total number of times the tool is retracted after
the overload torque detection signal is received during cutting. The
total number cannot be output to common variables #500 to #599.
Feedrate of retraction to point R when no address I is specified
Parameter input
Real path
mm/min, inch/min (input unit)
Depend on the increment system of the reference axis
Refer to the standard parameter setting table (C)
(When the increment system is IS-B, 0.0 to +999000.0)
This parameter sets the feedrate of retraction to point R when no
address I is specified.
Feedrate of advancing to the position just before the bottom of a hole when
no address I is specified
Parameter input
Real path
mm/min, inch/min (input unit)
Depend on the increment system of the reference axis
Refer to the standard parameter setting table (C)
(When the increment system is IS-B, 0.0 to +999000.0)
This parameter sets the feedrate of advancing to the position just
before the bottom of a previously machined hole when no address I is
specified.
- 286 -
APPENDIX
B-64304EN-2/01
5174
[Input type]
[Data type]
[Unit of data]
[Minimum unit of data]
[Valid data range]
5176
[Input type]
[Data type]
[Valid data range]
A.PARAMETERS
Parameter input
Real path
mm, inch (input unit)
Depend on the increment system of the reference axis
9 digit of minimum unit of data (refer to standard parameter setting
table (A))
(When the increment system is IS-B, -999999.999 to +999999.999)
This parameter sets the clearance in a peck drilling cycle of a small
diameter.
Grinding axis number in Plunge Grinding Cycle(G75)
Parameter input
Byte path
0 to Number of controlled axes
Set the Grinding axis number of Plunge Grinding Cycle(G75).
NOTE
The axis number except for the cutting axis can be
specified. When the axis number which is same to
cutting axis is specified, PS0456 alarm is issued at
the time of execution. The Grinding Cycle is
executed when this parameter value is 0, PS0456
alarm is also issued.
5177
[Input type]
[Data type]
[Valid data range]
Parameter input
Byte path
0 to Number of controlled axes
Set the Grinding axis number of Direct Constant Dimension
Plunge Grinding Cycle (G77).
NOTE
The axis number except for the cutting axis can be
specified. When the axis number which is same to
cutting axis is specified, PS0456 alarm is issued at
the time of execution. The Grinding Cycle is
executed when this parameter value is 0, PS0456
alarm is also issued.
- 287 -
A.PARAMETERS
APPENDIX
5178
[Input type]
[Data type]
[Valid data range]
B-64304EN-2/01
Parameter input
Byte path
0 to Number of controlled axes
Set the Grinding axis number of Continuous feed surface
grinding cycle(G78).
NOTE
The axis number except for the cutting axis can be
specified. When the axis number which is same to
cutting axis is specified, PS0456 alarm is issued at
the time of execution. The Grinding Cycle is
executed when this parameter value is 0, PS0456
alarm is also issued.
5179
[Input type]
[Data type]
[Valid data range]
Parameter input
Byte path
0 to Number of controlled axes
Set the Grinding axis number of Intermittent feed surface
grinding cycle(G79).
NOTE
The axis number except for the cutting axis can be
specified. When the axis number which is same to
cutting axis is specified, PS0456 alarm is issued at
the time of execution. The Grinding Cycle is
executed when this parameter value is 0, PS0456
alarm is also issued.
5180
[Input type]
[Data type]
[Valid data range]
Parameter input
Byte path
0 to Number of controlled axes
Set the axis number of dressing axis in Plunge grinding cycle(G75).
NOTE
The axis number except for the cutting axis or
grinding axis can be specified. When the axis
number which is same to cutting axis or grinding
axis is specified, PS0456 alarm is issued at the
time of execution. The Grinding Cycle is executed
when this parameter value is 0 and address "L" is
specified in NC program, the PS0456 alarm is also
issued.
- 288 -
APPENDIX
B-64304EN-2/01
5181
[Input type]
[Data type]
[Valid data range]
A.PARAMETERS
Parameter input
Byte path
0 to Number of controlled axes
Set the axis number of dressing axis in Direct constant dimension
plunge grinding cycle(G77).
NOTE
The axis number except for the cutting axis or
grinding axis can be specified. When the axis
number which is same to cutting axis or grinding
axis is specified, PS0456 alarm is issued at the
time of execution. The Grinding Cycle is executed
when this parameter value is 0 and address "L" is
specified in NC program, the PS0456 alarm is also
issued.
5182
[Input type]
[Data type]
[Valid data range]
Parameter input
Byte path
0 to Number of controlled axes
Set the axis number of dressing axis in Continuous feed surface
grinding cycle(G78).
NOTE
The axis number except for the cutting axis or
grinding axis can be specified. When the axis
number which is same to cutting axis or grinding
axis is specified, PS0456 alarm is issued at the
time of execution. The Grinding Cycle is executed
when this parameter value is 0 and address "L" is
specified in NC program, the PS0456 alarm is also
issued.
- 289 -
A.PARAMETERS
APPENDIX
5183
[Input type]
[Data type]
[Valid data range]
B-64304EN-2/01
Parameter input
Byte path
0 to Number of controlled axes
Set the axis number of dressing axis in Intermittent feed surface
grinding cycle(G79).
NOTE
The axis number except for the cutting axis or
grinding axis can be specified. When the axis
number which is same to cutting axis or grinding
axis is specified, PS0456 alarm is issued at the
time of execution. The Grinding Cycle is executed
when this parameter value is 0 and address "L" is
specified in NC program, the PS0456 alarm is also
issued.
#7
5200
[Input type]
[Data type]
#6
#5
#4
FHD
PCP
DOV
#3
#2
#1
#0
G84
Parameter input
Bit path
#0
G84
#4
DOV
#5
PCP
NOTE
In a tapping cycle, this parameter is valid when bit
6 (PCT) of parameter No. 5104 is 1. When bit 6
(PCT) of parameter No. 5104 is 0, a (high-speed)
peck tapping cycle is not assumed.
- 290 -
A.PARAMETERS
APPENDIX
B-64304EN-2/01
#6
FHD
#7
#6
#5
5201
[Input type]
[Data type]
#4
#3
OV3
OVU
#2
#1
#0
Parameter input
Bit path
#3
OVU
The increment unit of the override parameter (No.5211) for tool rigid
tapping extraction is:
0: 1%
1: 10%
#4
OV3
5202
[Input type]
[Data type]
#6
#5
#4
#3
#2
#1
#0
OVE
Parameter input
Bit path
NOTE
When at least one of these parameters is set, the
power must be turned off before operation is
continued.
#6
OVE
NOTE
1 To enable the extraction override command
(address J) by program specification, set bit 4
(OV3) of parameter No.5201 to 1.
2 When this parameter is set to 1, the operation
equivalent to that of the FS0i-C is assumed.
- 291 -
A.PARAMETERS
APPENDIX
#7
#6
#5
5203
[Input type]
[Data type]
#4
OVS
5211
[Input type]
[Data type]
[Unit of data]
[Valid data range]
B-64304EN-2/01
#4
#3
#2
#1
#0
OVS
Parameter input
Bit path
In rigid tapping, override by the feedrate override select signal and
cancellation of override by the override cancel signal is:
0: Disabled.
1: Enabled.
When feedrate override is enabled, extraction override is disabled.
The spindle override is clamped to 100% during rigid tapping,
regardless of the setting of this parameter.
Override value during rigid tapping extraction
Parameter input
Word path
1% or 10%
0 to 200
The parameter sets the override value during rigid tapping extraction.
NOTE
The override value is valid when bit 4 (DOV) of
parameter No.5200 is set to 1. When bit 3 (OVU) of
parameter No.5201 is set to 1, the unit of set data is
10%. An override of up to 200% can be applied to
extraction.
- 292 -
A.PARAMETERS
APPENDIX
B-64304EN-2/01
5213
[Input type]
[Data type]
[Unit of data]
[Minimum unit of data]
[Valid data range]
Setting input
Real path
mm, inch (input unit)
Depend on the increment system of the drilling axis
0 or positive 9 digit of minimum unit of data (refer to the standard
parameter setting table (B))
(When the increment system is IS-B, 0.0 to +999999.999)
This parameter sets the escape value of a high-speed peck tapping
cycle or the clearance value of a peck tapping cycle.
q : Depth of cut
d : Return value
R point
R point
q
q
d
d
Z point
Z point
NOTE
1 In a tapping cycle, this parameter is valid when bit
6 (PCT) of parameter No. 5104 is 1.
2 For the diameter axis, set this parameter using the
diameter value.
- 293 -
A.PARAMETERS
APPENDIX
B-64304EN-2/01
5241
5242
5243
[Input type]
[Data type]
[Unit of data]
[Valid data range]
Parameter input
2-word spindle
min-1
0 to 9999
Spindle position coder gear ratio
1 : 1 0 to 7400
1 : 2 0 to 9999
1 : 4 0 to 9999
1 : 8 0 to 9999
Each of these parameters is used to set a maximum spindle speed for
each gear in rigid tapping.
Set the same value for both parameter No.5241 and parameter
No.5243 for a one-stage gear system. For a two-stage gear system, set
the same value as set in parameter No. 5242 in parameter No. 5243.
Otherwise, alarm PS0200 will be issued.
5321
5322
5323
[Input type]
[Data type]
[Unit of data]
[Valid data range]
5400
[Input type]
[Data type]
Parameter input
Word spindle
Detection unit
-9999 to 9999
Each of these parameters is used to set a spindle backlash.
#7
#6
SCR
XSC
#5
#4
#3
#2
#1
#0
RIN
Parameter input
Bit path
#0
RIN
#6
XSC
- 294 -
A.PARAMETERS
APPENDIX
B-64304EN-2/01
#7
SCR
#6
#5
#4
#3
#2
5401
[Input type]
[Data type]
#0
SCLx
5410
[Input type]
[Data type]
[Unit of data]
[Valid data range]
#0
SCLx
Parameter input
Bit axis
Scaling on this axis:
0: Invalidated
1: Validated
Angular displacement used when no angular displacement is specified for
coordinate system rotation
Setting input
2-word path
0.001 degree
-360000 to 360000
This parameter sets the angular displacement for coordinate system
rotation. When the angular displacement for coordinate system
rotation is not specified with address R in the block where G68 is
specified, the setting of this parameter is used as the angular
displacement for coordinate system rotation.
5411
[Input type]
[Data type]
[Unit of data]
#1
Setting input
2-word path
0.001 or 0.00001 times (Selected using SCR, #7 of parameter
No.5400)
1 to 999999999
This parameter sets a scaling magnification when axis-by-axis scaling
is disabled (with bit 6 (XSC) of parameter No. 5400 set to 0). If no
scaling magnification (P) is specified in the program, the setting of
this parameter is used as a scaling magnification.
NOTE
When bit 7 (SCR) of parameter No.5400 is set to 1,
the valid data range is 1 to 9999999.
- 295 -
A.PARAMETERS
APPENDIX
5421
[Input type]
[Data type]
[Unit of data]
[Valid data range]
B-64304EN-2/01
Setting input
2-word axis
0.001 or 0.00001 times (Selected using SCR, #7 of parameter
No.5400)
-999999999 to 1, 1 to 999999999
This parameter sets a scaling magnification for each axis when
axis-by-axis scaling is enabled (with bit 6 (XSC) of parameter No.
5400 set to 1). For the first spindle to the third spindle (X-axis to
Z-axis), the setting of this parameter is used as a scaling magnification
if scaling magnifications (I, J, K) are not specified in the program.
NOTE
When bit 7 (SCR) of parameter No.5400 is set to 1,
the valid data ranges are -9999999 to -1 and 1 to
9999999.
#7
#6
#5
#4
#3
#2
5431
[Input type]
[Data type]
#1
#0
MDL
Parameter input
Bit path
NOTE
When at least one of these parameters is set, the
power must be turned off before operation is
continued.
#0
MDL
5440
[Input type]
[Data type]
[Unit of data]
[Minimum unit of data]
[Valid data range]
Parameter input
Real axis
mm, inch, degree (machine unit)
Depend on the increment system of the applied axis
9 digit of minimum unit of data (refer to standard parameter setting
table (A))
(When the increment system is IS-B, -999999.999 to +999999.999)
This parameter sets the positioning direction and overrun distance in
single directional positioning (G60) for each axis. The positioning
direction is specified using a setting data sign, and the overrun
distance using a value set here.
Overrun distance>0: The positioning direction is positive (+).
Overrun distance<0: The positioning direction is negative (-).
Overrun distance=0: Single directional positioning is not performed.
- 296 -
A.PARAMETERS
APPENDIX
B-64304EN-2/01
5480
[Input type]
[Data type]
[Valid data range]
Parameter input
Byte path
1 to the maximum controlled axis number
This parameter sets the controlled axis number of the axis for
controlling the normal direction.
5481
[Input type]
[Data type]
[Unit of data]
[Minimum unit of data]
[Valid data range]
5482
[Input type]
[Data type]
[Unit of data]
[Minimum unit of data]
[Valid data range]
Parameter input
Real axis
deg/min
Depend on the increment system of the applied axis
Refer to the standard parameter setting table (C)
This parameter sets the feedrate of the movement along the normal
direction controlled axis that is inserted at the start point of a block
during normal direction control.
Limit value used to determine whether to ignore the rotation insertion of the
normal direction controlled axis
Parameter input
Real path
Degree
Depend on the increment system of the reference axis
0 or positive 9 digit of minimum unit of data (refer to the standard
parameter setting table (B))
The rotation block of the normal direction controlled axis is not
inserted when the rotation insertion angle calculated during normal
direction control does not exceed this setting.
The ignored rotation angle is added to the next rotation insertion angle,
and the block insertion is then judged.
NOTE
1 No rotation block is inserted when 360 or more
degrees are set.
2 If 180 or more degrees are set, a rotation block is
inserted only when the circular interpolation setting
is 180 or more degrees.
#7
5500
[Input type]
[Data type]
#1
REL
#6
#5
SIM
#4
#3
#2
#1
G90
INC
ABS
REL
#0
Parameter input
Bit path
The position display of the index table indexing axis in the relative
coordinate system is:
0: Not rounded by one rotation.
1: Rounded by one rotation.
- 297 -
A.PARAMETERS
APPENDIX
B-64304EN-2/01
#2
ABS
The position display of the index table indexing axis in the absolute
coordinate system is:
0: Not rounded by one rotation.
1: Rounded by one rotation.
#3
INC
#4
G90
#6
SIM
When the same block includes a command for the index table
indexing axis and a command for another controlled axis:
0: The setting of bit 0 (IXS) of parameter No.5502 is followed.
1: The commands are executed.
NOTE
Even when this parameter is set to 1, an alarm
(PS1564) is issued if the block is neither G00, G28,
nor G30 (or the G00 mode).
#7
#6
#5
#4
#3
#2
#1
5501
[Input type]
[Data type]
#0
#0
ITI
ITI
Parameter input
Bit path
The index table indexing function is:
0: Enabled.
1: Disabled.
NOTE
To enable the index table indexing function, set bit
3 (IXC) of parameter No. 8132 to 1 in addition to
this parameter. The index table indexing function
is enabled only when both ITI and IXC are enabled.
#7
#6
#5
5502
[Input type]
[Data type]
#4
#3
#2
#1
#0
IXSx
Parameter input
Bit axis
- 298 -
APPENDIX
B-64304EN-2/01
#0
IXSx
A.PARAMETERS
NOTE
Even when this parameter is set to 1, an alarm
(PS1564) is issued if the block is neither G00, G28,
nor G30 (or the G00 mode).
5511
[Input type]
[Data type]
[Valid data range]
M code that specifies rotation in the negative direction for index table
indexing
Parameter input
2-word path
0 to 99999999
0: The rotation direction for the index table indexing axis is
determined according to the setting of bit 3 (INC) of parameter
No.5500 and a command.
1 to 99999999:
The rotation for the index table indexing axis is always
performed in the positive direction. Rotation in the negative
direction is performed only when the M code set in this
parameter is specified together with a movement command.
NOTE
Be sure to set bit 2 (ABS) of parameter No.5500 to 1.
- 299 -
A.PARAMETERS
APPENDIX
5512
[Input type]
[Data type]
[Unit of data]
[Minimum unit of data]
[Valid data range]
B-64304EN-2/01
Parameter input
Real path
deg
Depend on the increment system of the reference axis
9 digit of minimum unit of data (refer to standard parameter setting
table (A))
(When the increment system is IS-B, -999999.999 to +999999.999)
This parameter sets the minimum positioning angle (travel distance)
for the index table indexing axis. The travel distance specified in the
positioning command must always be an integer multiple of this
setting. When 0 is set, the travel distance is not checked.
The minimum positioning angle is checked not only for the command,
but also for the coordinate system setting and workpiece origin offset.
NOTE
When the setting is 0, specification can be
performed regardless of the minimum angle.
#7
#6
#5
6000
[Input type]
[Data type]
#4
#3
#2
HGO
#1
#0
MGO
Parameter input
Bit path
#1
MGO
#4
HGO
6210
[Input type]
[Data type]
#6
MDC
#6
#5
#4
#3
#2
#1
#0
MDC
Parameter input
Bit path
The measurement result of automatic tool length measurement is:
0: Added to the current offset.
1: Subtracted from the current offset.
- 300 -
APPENDIX
B-64304EN-2/01
A.PARAMETERS
6241
6242
6243
[Input type]
[Data type]
[Unit of data]
[Minimum unit of data]
[Valid data range]
Parameter input
Real path
mm/min, inch/min, deg/min (machine unit)
Depend on the increment system of the applied axis
Refer to the standard parameter setting table (C)
(When the increment system is IS-B, 0.0 to +999000.0)
These parameters set the relevant feedrate during measurement of
automatic tool length measurement.
NOTE
When the setting of parameter No. 6242 or 6243 is
0, the setting of parameter No. 6241 is used.
6251
6252
6253
[Input type]
[Data type]
[Unit of data]
[Minimum unit of data]
[Valid data range]
Parameter input
2-word path
mm, inch, deg (machine unit)
Depend on the increment system of the applied axis
9 digit of minimum unit of data (refer to standard parameter setting
table (A))
(When the increment system is IS-B, -999999.999 to +999999.999)
These parameters set the relevant value during automatic tool length
measurement.
NOTE
1 For the M series, when the setting of parameter
No. 6252 or 6253 is 0, the setting of parameter No.
6251 is used.
2 Set a radius value regardless of whether diameter
or radius programming is specified.
- 301 -
A.PARAMETERS
APPENDIX
B-64304EN-2/01
6255
6256
[Input type]
[Data type]
[Unit of data]
[Minimum unit of data]
[Valid data range]
Parameter input
2-word path
mm, inch, deg (machine unit)
Depend on the increment system of the applied axis
9 digit of minimum unit of data (refer to standard parameter setting
table (A))
(When the increment system is IS-B, -999999.999 to +999999.999)
These parameters set the relevant value during automatic tool length
measurement.
NOTE
1 For the M series, when the setting of
parameter No. 6252 or 6253 is 0, the setting
of parameter No. 6251 is used.
2 Set a radius value regardless of whether
diameter or radius programming is specified.
#7
#6
#5
#4
#3
#2
7001
[Input type]
[Data type]
#1
ABS
#0
HBR
#0
Parameter input
Bit path
#6
#5
7700
[Input type]
[Data type]
#1
ABS
#4
#3
#2
HDR
#1
#0
HBR
Parameter input
Bit path
When the electronic gear box (EGB) function is used, performing a
reset:
0: Cancels the synchronous mode (G81).
1: Does not cancel the synchronous mode. The mode is canceled
only by the G80 command.
- 302 -
A.PARAMETERS
APPENDIX
B-64304EN-2/01
#2
HDR
When HDR = 1
+Z
-Z
+Z
-Z
(a)
C : +, Z : +, P : +
Compensation direction:+
+C
+C
C : +, Z : +, P : Compensation direction:-
(e)
(f)
C : +, Z : -, P : +
Compensation direction:-
+C
C : +, Z : -, P : Compensation direction:+
(h)
(g)
-C
-C
C : -, Z : +, P : +
C : Compensation direction:-
(d)
(c)
(b)
+C
-C
-C
C : -, Z : +, P : Compensation direction:+
C : -, Z : -, P : +
Compensation direction:+
C : -, Z : -, P : Compensation direction:-
When HDR = 0 ((a), (b), (c), and (d) are the same as when HDR = 1)
+Z
(e)
C : -, Z : +, P : +
-Z Compensation direction:+
#7
C : -, Z : +, P : Compensation direction:-
#5
7701
[Input type]
[Data type]
#3
LZR
-C
-C
-C
#6
(h)
(g)
(f)
-C
#4
C : -, Z : -, P : +
Compensation direction:-
#3
#2
C : -, Z : -, P : Compensation direction:+
#1
#0
LZR
Parameter input
Bit path
When L (number of hob threads) = 0 is specified at the start of EGB
synchronization (G81):
0: Synchronization is started, assuming that L = 1 is specified.
1: Synchronization is not started, assuming that L = 0 is specified.
However, helical gear compensation is performed.
- 303 -
A.PARAMETERS
APPENDIX
#7
#6
#5
B-64304EN-2/01
#4
7702
[Input type]
[Data type]
#0
TDP
#3
#2
#1
ART
#0
TDP
Parameter input
Bit path
The specifiable number of teeth, T, of the electronic gear box (G81)
is:
0: 1 to 1000
1: 0.1 to 100 (1/10 of a specified value)
NOTE
In either case, a value from 1 to 1000 can be
specified.
#3
ART
NOTE
If a servo alarm is issued for other than the axis
along which a retract operation is performed, the
servo activating current is maintained until the
retract operation is completed.
#7
#6
#5
7703
[Input type]
[Data type]
#4
#3
#2
#1
#0
ARO
ARE
ERV
Parameter input
Bit path
#0
ERV
#1
ARE
- 304 -
A.PARAMETERS
APPENDIX
B-64304EN-2/01
#2
ARO
The retract function executed when an alarm is issued retracts the tool
during:
0: EGB synchronization.
1: EGB synchronization and automatic operation (automatic
operation signal OP = 1).
NOTE
This parameter is valid when bit 1 (ARE) of
parameter No. 7703 is set to 1.
The following table lists the parameter settings and corresponding
operation.
ARE
1
1
0
0
ARO
0
1
0
1
Operation
During EGB synchronization
During EGB synchronization and automatic operation
During EGB synchronization or automatic operation
NOTE
Parameters ARE and ARO are valid when bit 3
(ART) of parameter No. 7702 is set to 1 (when the
retract function executed when an alarm is
issued ).
#7
#6
#5
7731
[Input type]
[Data type]
#0
EFX
#4
#3
RTS
ECN
#2
#1
#0
EHF
EFX
Parameter input
Bit path
As the EGB command:
0: G80 and G81 are used.
1: G80.4 and G81.4 are used.
NOTE
When this parameter is set to 0, no drilling canned
cycle can be used.
#1
EHF
Feed-forward control for the axial feed axis for helical compensation
is:
0: Enabled only during cutting.
1: Always enabled in the G81 synchronous mode.
Usually, set 0.
Feed-forward control is usually enabled in the cutting feed mode.
When this parameter is set to 1, feed-forward control is always
enabled for the axial feed axis for helical compensation during
synchronization by the command (G81) for a hobbing machine.
When bit 3 (FFR) of parameter No. 1800 is set to 1, feed-forward
control is always enabled regardless of the setting of this parameter.
- 305 -
A.PARAMETERS
APPENDIX
B-64304EN-2/01
#3
ECN
#4
RTS
7740
[Input type]
[Data type]
[Unit of data]
[Minimum unit of data]
[Valid data range]
Parameter input
Real axis
mm/min, inch/min, degree/min (machine unit)
Depend on the increment system of the applied axis
Refer to the standard parameter setting table (C)
(When the increment system is IS-B, 0.0 to +999000.0)
This parameter sets the feedrate during retraction for each axis.
7741
[Input type]
[Data type]
[Unit of data]
[Minimum unit of data]
[Valid data range]
7772
[Input type]
[Data type]
[Valid data range]
Retracted distance
Parameter input
Real axis
mm, inch, degree (machine unit)
Depend on the increment system of the applied axis
9 digit of minimum unit of data (refer to standard parameter setting
table (A))
(When the increment system is IS-B, -999999.999 to +999999.999)
This parameter sets the retracted distance for each axis.
Number of position detector pulses per rotation about the tool axis
Parameter input
2-word path
1 to 999999999
This parameter sets the number of pulses per rotation about the tool
axis (on the spindle side), for the position detector.
For an A/B phase detector, set this parameter with four pulses
equaling one A/B phase cycle.
NOTE
Specify the number of feedback pulses per rotation
about the tool axis for the position detector,
considering the gear ratio with respect to the
position coder.
- 306 -
A.PARAMETERS
APPENDIX
B-64304EN-2/01
7773
Number of position detector pulses per rotation about the workpiece axis
[Input type]
[Data type]
[Valid data range]
Parameter input
2-word path
1 to 999999999
This parameter sets the number of pulses per rotation about the
workpiece axis (on the slave side), for the position detector.
Set the number of pulses output by the detection unit.
Set parameters Nos. 7772 and 7773 when using the G81 EGB
synchronization command.
[Example 1]
When the EGB master axis is the spindle and the EGB slave axis is
the C-axis
CNC
Slave axis
Command
pulses
FFG
n/m
CMR
Dummy axis
Follow-up
Error counter
Speed/current control
Detection unit
Synchronization
switch
CMR
p/rev
Detector
Motor
Gear
ratio B
Synchronization
factor
FFG
N/M
Gear ratio
A
Spindle C-axis
Detector
p/rev
Error counter
- 307 -
A.PARAMETERS
APPENDIX
[Example 2]
B-64304EN-2/01
When the gear ratio of the spindle to the detector B is 2/3 for the
above example (When the detector rotates twice for three spindle
rotations)
In this case, the number of pulses per spindle rotation is:
80000
2 160000
=
3
3
Therefore, set 160000 for parameter No. 7772 and 1080000 for
parameter No. 7773.
As described above, all the settings of parameters Nos. 7772 and 7773
have to do is to indicate the ratio correctly. So, you can reduce the
fraction indicated by the settings. For example, you may set 16 for
parameter No. 7772 and 108 for parameter No. 7773 for this case.
#7
#6
8132
[Input type]
[Data type]
#3
IXC
#5
#4
#3
SCL
SPK
IXC
#2
#1
#0
Parameter input
Bit
Index table indexing is:
0: Not Used.
1: Used.
NOTE
When enabling the index table indexing function,
set bit 0 (ITI) of parameter No. 5501 to 0 in addition
to this parameter. The index table indexing
function is enabled only when both ITI and IXC are
enabled.
#4
SPK
#5
SCL
Scaling is:
0: Not Used.
1: Used.
NOTE
A small-hole peck drilling cycle and scaling cannot
be used at the same time.
- 308 -
A.PARAMETERS
APPENDIX
B-64304EN-2/01
#7
8136
#6
#5
#4
#3
#2
#1
#0
NGW
NOTE
When at least one of these parameters is set, the
power must be turned off before operation is
continued.
[Input type]
[Data type]
#6
NGW
Parameter input
Bit
Tool offset memory C (M series) or tool geometry/wear compensation
(T series) is:
0: Used.
1: Not Used.
#7
#6
#5
11600
[Input type]
[Data type]
#5
AX1
#4
#3
#2
#1
Parameter input
Bit path
When coordinate rotation mode is in effect, if one axis is commanded
in absolute mode:
0: A commanded position is calculated in the coordinate system
before it is rotated.
1: The coordinate system is rotated and then a shift to a commanded
position occurs on the rotated coordinate system.
(Parameter to have compatibility with FS0i-C)
#7
#6
#5
#4
#3
#2
#1
11630
[Input type]
[Data type]
#0
FRD
[Input type]
[Data type]
#2
CCC
#0
FRD
Parameter input
Bit path
The minimum command unit of the rotation angles of coordinate
rotation is:
0: 0.001 degree.
1: 0.00001 degree. (1/100,000)
#7
19607
#0
AX1
#6
#5
NAA
CAV
#4
#3
#2
#1
#0
CCC
Parameter input
Bit path
In the cutter compensation/tool nose radius compensation mode, the
outer corner connection method is based on:
0: Linear connection type.
1: Circular connection type.
- 309 -
A.PARAMETERS
APPENDIX
B-64304EN-2/01
#5
CAV
#6
NAA
CAUTION
When this parameter is set to 1, the path may be
shifted largely. Therefore, set this parameter to 0
unless special reasons are present.
19625
[Input type]
[Data type]
[Valid data range]
Setting input
Byte path
3 to 8
This parameter sets the number of blocks to be read in the cutter
compensation/tool nose radius compensation mode. When a value less
than 3 is set, the specification of 3 is assumed. When a value greater
than 8 is set, the specification of 8 is assumed. As a greater number of
blocks are read, an overcutting (interference) forecast can be made
with a command farther ahead. However, the number of blocks read
and analyzed increases, so that a longer block processing time
becomes necessary.
Even if the setting of this parameter is modified in the MDI mode by
stopping in the cutter compensation/tool nose radius compensation
mode, the setting does not become valid immediately. Before the new
setting of this parameter can become valid, the cutter compensation
mode must be canceled, then the mode must be entered again.
- 310 -
A.2
A.PARAMETERS
APPENDIX
B-64304EN-2/01
DATA TYPE
Parameters are classified by data type as follows:
Data type
Bit
Bit machine group
Bit path
Bit axis
Bit spindle
Byte
Byte machine group
Byte path
Byte axis
Byte spindle
Word
Word machine group
Word path
Word axis
Word spindle
2-word
2-word machine group
2-word path
2-word axis
2-word spindle
Real
Real machine group
Real path
Real axis
Real spindle
Remarks
0 or 1
-128 to 127
0 to 255
-32768 to 32767
0 to 65535
0 to 999999999
NOTE
1 Each of the parameters of the bit, bit machine group, bit path, bit axis, and bit
spindle types consists of 8 bits for one data number (parameters with eight different
meanings).
2 For machine group types, parameters corresponding to the maximum number of
machine groups are present, so that independent data can be set for each machine
group. For the 0i -D/0i Mate-D, the maximum number of machine groups is always
1.
3 For path types, parameters corresponding to the maximum number of paths are
present, so that independent data can be set for each path.
4 For axis types, parameters corresponding to the maximum number of control axes
are present, so that independent data can be set for each control axis.
5 For spindle types, parameters corresponding to the maximum number of spindles
are present, so that independent data can be set for each spindle axis.
6 The valid data range for each data type indicates a general range. The range varies
according to the parameters. For the valid data range of a specific parameter, see
the explanation of the parameter.
- 311 -
A.PARAMETERS
A.3
APPENDIX
B-64304EN-2/01
NOTE
1 Values are rounded up or down to the nearest
multiples of the minimum data unit.
2 A valid data range means data input limits, and
may differ from values representing actual
performance.
3 For information on the ranges of commands to the
CNC, refer to Appendix D, "Range of Command
Value" in the USERS MANUAL (B-64304EN).
(A) Length and angle parameters (type 1)
Unit of data
Increment
system
Minimum
data unit
mm
deg.
IS-A
IS-B
IS-C
0.01
0.001
0.0001
inch
IS-A
IS-B
IS-C
0.001
0.0001
0.00001
to +999999.99
to +999999.999
to +99999.9999
to +99999.999
to +99999.9999
to +9999.99999
Increment
system
Minimum
data unit
mm
deg.
IS-A
IS-B
IS-C
0.01
0.001
0.0001
0.00
0.000
0.0000
to +999999.99
to +999999.999
to +99999.9999
inch
IS-A
IS-B
IS-C
0.001
0.0001
0.00001
0.000
0.0000
0.00000
to +99999.999
to +99999.9999
to +9999.99999
- 312 -
A.PARAMETERS
APPENDIX
B-64304EN-2/01
Increment
system
Minimum
data unit
mm/min
degree/min
IS-A
IS-B
IS-C
0.01
0.001
0.0001
0.0 to +999000.00
0.0 to +999000.000
0.0 to +99999.9999
inch/min
IS-A
IS-B
IS-C
0.001
0.0001
0.00001
0.0 to +96000.000
0.0 to +9600.0000
0.0 to +4000.00000
If bit 7 (IESP) of parameter No. 1013 is set to 1, the valid data ranges
for IS-C are extended as follows:
Unit of data
Increment
system
Minimum
data unit
mm/min
degree/min
IS-C
0.001
0.000 to +999000.000
inch/min
IS-C
0.0001
0.0000 to +9600.0000
Increment
system
Minimum
data unit
mm/sec2
deg./sec2
IS-A
IS-B
IS-C
0.01
0.001
0.0001
0.00
0.000
0.0000
to +999999.99
to +999999.999
to +99999.9999
inch/sec2
IS-A
IS-B
IS-C
0.001
0.0001
0.00001
0.000
0.0000
0.00000
to +99999.999
to +99999.9999
to +9999.99999
If bit 7 (IESP) of parameter No. 1013 is set to 1, the valid data ranges
for IS-C are extended as follows:
Unit of data
Increment
system
mm/min
degree/min
IS-C
inch/min
IS-C
Minimum
data unit
0.001
0.000 to +999999.999
0.0001
0.0000 to +99999.9999
- 313 -
B-64304EN-2/01
B-64304EN-2/01
B.1
SETTING UNIT
B.1.1
Differences in Specifications
Function
Diameter/radius
specification in the
move command for
each axis
Explanation
-
B.1.2
- 315 -
B.2
B.2.1
Differences in Specifications
Series 0i-C
Function
Operation of the
current offset for the
measurement result
B-64304EN-2/01
- 316 -
Series 0i-D
-
B-64304EN-2/01
Series 0i-C
Function
Setting of the value
B.2.2
- 317 -
Series 0i-D
-
B.3
CIRCULAR INTERPOLATION
B.3.1
Differences in Specifications
Function
Interpolation method
when the arc end
point is not on the arc
B-64304EN-2/01
Series 0i-C
Series 0i-D
If the difference between the radius values of the start point and end point of an arc is
greater than the value set in parameter No. 3410, alarm PS0020 is issued. If the
difference is smaller (the end point is not on the arc), circular interpolation is performed
as follows.
- Circular interpolation is performed using - Helical interpolation is performed as
shown in the figure below.
the radius value of the start point and,
End point
when an axis reaches the end point, it is
moved linearly.
e
(t)
Start
(t)
(t) = s +
( e s) (t )
point
s
Radius
s
e
Start point
End point
Center
B.3.2
- 318 -
B-64304EN-2/01
B.4
HELICAL INTERPOLATION
B.4.1
Differences in Specifications
Series 0i-C
Function
Specification of the
feedrate
Series 0i-D
-
F
(Length of arc)2(Length of linear axis)2
The velocity along the linear axis is expressed
as follows:
Length of linear axis
F
(Length of arc)2(Length of linear axis)2
Helical cutting
feedrate clamp
B.4.2
- 319 -
B.5
SKIP FUNCTION
B.5.1
Differences in Specifications
Series 0i-C
Function
Setting to enable the
high-speed skip signal
for normal skip (G31)
when the multi-stage
skip function is enabled
B-64304EN-2/01
Series 0i-D
Command
G31 (normal skip)
HSS
HSS
SLS
HSS
SLS
SLS
Target of
acceleration/deceleration
and servo system delay
compensation
Method of
acceleration/deceleration
and servo system delay
compensation
- 320 -
B-64304EN-2/01
Series 0i-C
Function
Skip cutting feedrate
(skip using the
high-speed skip signal or
multi-step skip)
B.5.2
Series 0i-D
-
- 321 -
B-64304EN-2/01
B.6
B.6.1
Differences in Specifications
Function
Conditions for
performing manual
reference position
return during feed
hold
When inch/metric
switch is done
Reference position
setting without dogs
for all axes
Function that
performs reference
position setting
without dogs two or
more times when the
reference position is
not established in
absolute position
detection
Series 0i-C
Series 0i-D
Manual reference position return is performed when automatic operation is halted (feed
hold) and when any of the following conditions is met:
<Conditions>
(1) Travel distance is remaining.
(2) An auxiliary function (M, S, T, or B function) is being executed.
(3) A dwell, canned cycle, or other cycle is in progress.
- Bit 2 (OZR) of parameter No. 1800 is
- Depends on bit 2 (OZR) of parameter
not available.
No. 1800.
Alarm PS0091 occurs, and manual
[When OZR = 0]
reference position return is not
Alarm PS0091 occurs, and manual
performed.
reference position return is not
performed.
[When OZR = 1]
Manual reference position return is
performed without issuing an alarm.
- The reference position is not lost.
- The reference position is lost.
(The reference position remains
(The reference position is not
established.)
established.)
- Set 1 in bit 1 (DLZ) of parameter No.
- Bit 1 (DLZ) of parameter No. 1002 is
1002.
not available.
Reference position setting without dogs
(bit 1 (DLZx) of parameter No. 1005) is
set for all axes.
- Not available.
- Depends on bit 4 (GRD) of parameter
No. 1007.
Bit 4 (GRD) of parameter No. 1007
For the axis on which absolute values are
detected, when correspondence between
the machine position and the position by
the absolute position detector is not
completed, the reference position setting
without dogs is:
0: Not performed two or more times.
1: Performed two or more times.
- 322 -
B-64304EN-2/01
Series 0i-C
Function
Series 0i-D
Behavior when
manual reference
position return is
started on a rotation
axis with the
deceleration dog
pressed before a
reference position is
established
Reference position
shift function setting
Setting of whether to
preset the coordinate
system upon
high-speed manual
reference position
return
Not available.
The coordinate system is not preset.
- 323 -
Series 0i-C
Function
G28/G30 command in
the coordinate system
rotation, scaling, or
programmable mirror
image mode
B-64304EN-2/01
Not available.
Cancel the mode before executing the
command.
Series 0i-D
-
<Conditions>
[Conditions required before specifying the
command]
(1) An absolute command is specified for
the target axis of coordinate system
rotation, scaling, or programmable
mirror image.
(2) Tool length compensation has not been
performed for the target axis of
coordinate system rotation, scaling, or
programmable mirror image when it is
moved by reference position return.
(3) Tool length compensation has been
canceled.
[Conditions required when specifying the
command]
(4) In an incremental command, the travel
distance of the middle point is 0.
[Conditions required after specifying the
command]
(5) The first move command specified for
the target axis of coordinate system
rotation, scaling, or programmable
mirror image is an absolute command.
B.6.2
- 324 -
B-64304EN-2/01
B.7
B.7.1
Differences in Specifications
Series 0i-C
Function
Change in absolute
position display when
the workpiece zero
point offset value is
changed
B.7.2
- 325 -
Series 0i-D
-
B-64304EN-2/01
B.8
B.8.1
Differences in Specifications
Series 0i-C
Function
Clearing of the local
coordinate system
after servo alarm
cancellation
Series 0i-D
The processing is
determined by the settings
of bit 5 (SNC) and bit 3
(RLC) of parameter No.
1202.
- 326 -
B-64304EN-2/01
Series 0i-C
Function
Operation with the
local coordinate
system setting (G52)
B.8.2
- 327 -
Series 0i-D
-
B.9
Cs CONTOUR CONTROL
B.9.1
Differences in Specifications
Series 0i-C
Function
In-position check
when the Cs contour
control mode is off
B-64304EN-2/01
Series 0i-D
-
B.9.2
Series 0i-C
For the first spindle, diagnosis display No.
418 is used.
For the second spindle, diagnosis display
No. 420 is used.
- 328 -
Series 0i-D
For both the first and second spindles,
diagnosis display No. 418 (spindle) is used.
B-64304EN-2/01
B.10
B.10.1
Differences in Specifications
Series 0i-C
Function
Spindle number of the
analog spindle
B.10.2
Series 0i-D
When one serial spindle and one analog spindle are simultaneously controlled in one
path (serial/analog spindle control), the spindle number of the analog spindle is as
follows.
Third spindle
Second spindle
For details about the parameters and other
settings, refer to "SERIAL/ANALOG
SPINDLE CNOTROL" in "CONNECTION
MANUAL (FUNCTION)" (B-64303EN-1).
- 329 -
B-64304EN-2/01
B.11
B.11.1
Differences in Specifications
Series 0i-C
Function
Constant surface
speed control with no
position coder
B.11.2
Series 0i-D
- 330 -
B-64304EN-2/01
B.12
TOOL FUNCTIONS
B.12.1
Differences in Specifications
Series 0i-C
Function
Specification of a G
code of the 00 group
and a T code in the
same block
Behavior when G49
and G40 are specified
in the same block
Specification of the
tool length
compensation amount
(Select the
compensation amount
number with H code.)
B.12.2
Series 0i-D
Not allowed.
Not allowed.
Specifying a G code in this way causes
alarm PS0245.
- 331 -
B-64304EN-2/01
B.13
B.13.1
Differences in Specifications
Series 0i-C
Function
Unit and range of tool
compensation values
Series 0i-D
1
0
0.001mm
9999.999mm
0.0001mm
9999.9999mm
B.13.2
- 332 -
Unit
Range
0.001inch
999.999inch
0.0001inch
999.9999inch
0.00001inch
999.99999inch
Range
9999.99mm
Inch input
OFC OFA
Automatic conversion
of tool compensation
values upon
inch/metric switch
Unit
0.01mm
B-64304EN-2/01
B.14
CUSTOM MACRO
B.14.1
Differences in Specifications
Series 0i-C
Function
Series 0i-D
Keep-type common
variable
(#500 to #999)
System variable to
read machine
coordinates
#5021 to #5025
Logical operations in
an if statement
G65 P9001 ;
- 333 -
B-64304EN-2/01
Series 0i-C
Series 0i-D
- When the machine is run under the conditions and program described below:
[Conditions]
- Subprogram call by T code is enabled (bit 5 (TCS) of parameter No. 6001 is set
to 1).
- The M code that calls subprogram No. 9001 is M06 (parameter No. 6071 is set to
6).
[Program]
O0001;
T100;
(1)
M06 T200;
(2)
T300 M06;
(3)
M30;
%
In FS0i-D, blocks (1) to (3) of the program
In FS0i-C, blocks (1) to (3) of the program
causes the machine to behave as follows:
causes the machine to behave as follows:
1) Calls and executes O9000.
1) Calls and executes O9000.
2) Issues alarm PS1091.
2) Outputs T200 and waits for FIN.
3) Issues alarm PS1091 (when the
Upon receipt of the FIN signal, the
program is run with block (2) deleted).
machine calls and executes O9001.
3) Outputs T300 and waits for FIN.
Upon receipt of the FIN signal, the
machine calls and executes O9001.
- Bit 4 (NPS) of parameter No. 3450 is
- Bit 4 (NPS) of parameter No. 3450 is
not available. The block is always
not available. The block is always
treated as a macro statement. (Single
treated as a macro statement. (Single
block stop is not performed.)
block stop is not performed.)
* For details about macro and NC statements, refer to Section 16.4, "MACRO AND NC
STATEMENTS", in "USER'S MANUAL" (B-64304EN).
- The call nesting level differs as follows.
Series 0i-C
Model
Independent
Call method
nesting level
Macro call
(G65/G66)
Subprogram
call (M98)
4 in all
Independent
Total
nesting level
(G65/G66/M98)
8 in all
B.14.2
Series 0i-D
- 334 -
5 in all
10
Total
(G65/G66/M98)
15 in all
B-64304EN-2/01
B.14.3
Miscellaneous
Series 0i-D allows you to customize the specifications related to the
maximum and minimum variable values and accuracy by using bit 0
(F0C) of parameter No. 6008. When 1 is set in bit 0 (F0C) of
parameter No. 6008, the specifications are the same as Series 0i-C.
For details, refer to Section 16, "CUSTOM MACRO", in "USER'S
MANUAL" (B-64304EN).
- 335 -
B-64304EN-2/01
B.15
B.15.1
Differences in Specifications
Series 0i-C
Function
Interruption type
custom macro in DNC
operation
Program restart
B.15.2
Not available.
Series 0i-D
-
Available.
When an interruption type custom macro is executed during return operation in dry
run after search operation invoked by program restart:
The interruption type custom macro is
Alarm DS0024 is issued.
executed after all axes have restarted.
- 336 -
B-64304EN-2/01
B.16
B.16.1
Differences in Specifications
Series 0i-C
Function
Parameter input mode
setting
B.16.2
Series 0i-D
-
- 337 -
B-64304EN-2/01
B.17
B.17.1
Differences in Specifications
Series 0i-C
Function
Function name
Setting to enable
bell-shaped
acceleration/deceleration
in rapid traverse
Series 0i-D
Selection of
acceleration/deceleration
before interpolation in
rapid traverse or
acceleration/deceleration
after interpolation in
rapid traverse
Setting of acceleration
for look-ahead linear
acceleration/deceleration
before interpolation
- 338 -
B-64304EN-2/01
Series 0i-C
Function
Series 0i-D
Permissible speed
difference common to all
axes for automatic
corner deceleration
based on angle
difference (speed control
based on the feedrate
difference on each axis)
Setting of arc
radius-based feedrate
clamp (speed control
with acceleration in
circular interpolation)
Setting of the maximum
cutting feedrate common
to all axes
Rapid traverse block
overlap
Function name
Setting of
acceleration-based
feedrate clamp (speed
control with the
acceleration on each
axis)
- 339 -
B-64304EN-2/01
Function
Series 0i-D
Time constant of
acceleration/deceleration
in rapid traverse in the AI
contour control mode
Setting to enable
look-ahead bell-shaped
acceleration/deceleration
before interpolation
B.17.2
- 340 -
B-64304EN-2/01
B.18
B.18.1
Differences in Specifications
Series 0i-C
Function
Parameters set by
"acceleration/deceleration
before interpolation"
(machining parameter
adjustment screen)
Parameter 1 set by
"permissible acceleration"
(machining parameter
adjustment screen)
Parameter 2 set by
"permissible acceleration"
(machining parameter
adjustment screen)
B.18.2
Series 0i-D
- 341 -
B.19
B.19.1
Differences in Specifications
Series 0i-C
Function
Function name
Setting to perform
synchronous
operation all the time
B-64304EN-2/01
Setting to move
multiple slave axes in
synchronism with the
master axis
Setting of the same
name for the master
and slave axes
Not available.
- 342 -
Series 0i-D
-
B-64304EN-2/01
Series 0i-C
Function
Synchronization error
check based on
positional difference
Series 0i-D
-
Setting of
synchronization
establishment
Synchronization establishment is
enabled by setting 1 in bit 7 (SOF) of
parameter No. 8301 when the number
of synchronized axis pairs is one or by
setting 1 in bit 7 (SOF) of parameter
No. 8303 for the master axis when the
number of synchronized axis pairs is
two.
Timing of
synchronization
establishment
Synchronization establishment is
performed when:
1. Power is turned on when the absolute
position detector is used.
2. Emergency stop is canceled.
Synchronization error
check based on
machine coordinates
- 343 -
Synchronization establishment is
performed when:
1. Power is turned on when the absolute
position detector is used.
2. Manual reference position return
operation is performed.
3. The state of servo position control is
changed from off to on.
(This occurs when emergency stop,
servo alarm, servo off, etc. is canceled.
Note, however, that synchronization
establishment is not performed at the
time of axis removal cancellation.)
Function
Maximum
compensation for
synchronization
Difference between
the master axis
reference counter and
slave axis reference
counter obtained
through automatic
setting for grid
positioning
Time from the servo
preparation
completion signal SA
<F000.6> being set to
1 until torque
difference alarm
detection is started
B-64304EN-2/01
Series 0i-D
- 344 -
B-64304EN-2/01
Series 0i-C
Function
Series 0i-D
Setting to prevent
slave axis movement
from being added to
the actual feedrate
display
Change of the
synchronization state
during a program
command
- 345 -
Function
Setting to cancel the
check of positional
difference between
the master and slave
axes during
synchronization
establishment
B.19.2
B-64304EN-2/01
Series 0i-D
-
Not available.
Therefore, bit 5 (SYE) of parameter No.
8301 is not available.
Since the positional difference is
always checked, parameter No. 8318 is
not available, either.
Item
Positional difference
between the master
and slave axes
- 346 -
Series 0i-D
-
B-64304EN-2/01
B.20
B.20.1
Differences in Specifications
Series 0i-C
Function
Angular and
perpendicular axes
when an invalid value
is set in parameter
No. 8211 or 8212
Series 0i-C
Angular
axis
M
series
Reference position
return completion
signal ZP for the
perpendicular axis
moved with the
angular axis
<Fn094, Fn096,
Fn098, Fn100>
When an angular axis
is specified
individually in machine
coordinate system
selection (G53) during
arbitrary angular axis
control
G30 command during
arbitrary angular axis
control
B.20.2
Series 0i-D
Y axis
(2nd axis)
Series 0i-D
Perpendicular
axis
Z axis (3rd
axis)
Angular axis
Y-axis of the basic
three axes (axis with
2 set in parameter
No. 1022)
Perpendicular axis
Z-axis of the basic
three axes (axis with
3 set in parameter
No. 1022)
- 347 -
B-64304EN-2/01
B.21
B.21.1
Differences in Specifications
Function
Data range of the M
code that counts the
number of machined
parts
Data range of the
number of parts
required
Data range of the
number and total
number of parts
machined
Data range of the
power-on period, time
during automatic
operation, cutting
time, input signal
TMRON on time, and
one automatic
operation time
B.21.2
Series 0i-C
Series 0i-D
- 0 to 999999999 (9 digits)
Parameter No. 6712
Total number of parts machined
- 348 -
0 to 999999999 (9 digits)
B-64304EN-2/01
B.22
B.22.1
Differences in Specifications
Series 0i-C
Function
Handle pulses
exceeding the rapid
traverse rate
Permissible amount of
pulses for manual
handle feed
Number of manual
pulse generators used
Value range of the
magnification
parameter for manual
handle feed
B.22.2
Series 0i-D
If manual handle feed exceeding the rapid traverse rate is specified, whether to ignore or
accumulate handle pulses exceeding the rapid traverse feedrate can be set as follows.
- Bit 4 (HPF) of parameter No. 7100 is
- Depends on bit 4 (HPF) of parameter
not available. Whether to ignore or
No. 7100. The amount of pulses to be
accumulate excess handle pulses is
accumulated is set in parameter No.
determined by the amount to be
7117.
accumulated that is set in parameter
No. 7117.
[When parameter No. 7117 = 0]
Ignored.
[When parameter No. 7117 > 0]
Accumulated in the CNC without being
ignored.
- The value range of parameter No. 7117 - The value range of parameter No. 7117
is 0 to 99999999 (8 digits).
is 0 to 999999999 (9 digits).
-
- 349 -
B.23
B.23.1
Differences in Specifications
B-64304EN-2/01
Series 0i-C
Function
Series 0i-D
Relationship with
synchronous control
(synchronous control of
synchronous/composite
control)
Relationship with the
feed-forward and
advanced preview
feed-forward functions
Linear axis
30 to 4800
30 to 12000
IS-B
IS-C
99999.999
9999.9999
9999.9999
999.99999
mm/min
Unit
mm
deg
inch
Metric machine
Inch machine
Data unit
IS-A to IS-C
1
0.1
mm/min
inch/min
deg/min
Unit
IS-B,IS-C
M i n im u m
d a ta u n it
IS - A
IS - B
IS - C
0 .0 1
0 .0 0 1
0 .0 0 0 1
1 to 65535
Unit of
data
1 to 100000
0.1 to 12000.0
mm/min
0.01 to 4000.00
1 to 100000
0.01 to 480.000
0.1 to 12000.0
inch/min
deg/min
Not available.
Linear
axis
Rotation
axis
inch/min
deg/min
1 to 65535
The specified feedrate must be within the
range shown in the table below.
Linear axis
30 to 6000
30 to 15000
30 to 12000
30 to 15000
Unit of
data
- 350 -
Bit 2 (JFM)
of No. 8004
0
1
0
1
Millimeter
input
(mm/min)
1
200
0.1
20
Inch input
(inch/min)
0.01
2.00
0.001
0.200
Rotation
axis
(min-1)
0.00023
0.046
0.000023
0.0046
B-64304EN-2/01
Series 0i-C
Function
Maximum feedrate for
continuous feed (06h)
10 times
Speed specification in
the speed command
(10h)
IS-C
Metric input
Inch input
16645
166.45
mm/min
inch/min
166458
1664.58
0mm/min
inch/min
IS-B
Metric input
Inch input
65535
655.35
mm/min
inch/min
655350
6553.50
mm/min
inch/min
IS-C
Metric input
Inch input
6553
65.53
mm/min
inch/min
65535
655.35
mm/min
inch/min
IS-B
Metric input
Inch input
166458
1664.58
mm/min
inch/min
1664589
16645.89
mm/min
inch/min
Series 0i-D
IS-C
Metric input
Inch input
Metric input
Inch input
(mm/min)
(inch/min)
(mm/min)
(inch/min)
1 time
166458
1664.58
16645
166.46
10 times
999000
16645.89
99900
1664.58
200 times
999000
39330.0
99900
3933.0
IS-C
Metric input
Inch input
Metric input
Inch input
(mm/min)
(inch/min)
(mm/min)
(inch/min)
1 time
65535
655.35
6553
65.53
10 times
655350
6553.5
65535
655.35
200 times
999000
39330.0
999000
3933.0
The minimum unit of feedrate is given by the expressions shown below. The value must
be specified as an integer. No finer value may be specified.
A calculation is made according to IS-B.
Fmin: Minimum feedrate unit
P: Number of pulses per revolution of a detector for speed feedback
- Fmin = P 7500 (mm/min)
- Fmin = P 1000 (mm/min)
A speed is specified according to the expressions shown below.
A calculation is made according to IS-B.
F: Speed command (integer)
N: Servo motor speed (min-1)
P: Number of pulses per revolution of a detector for speed feedback
- F = N P 7500 (mm/min)
- F = N P 1000 (mm/min)
- The setting range is as follows.
- The setting range is as follows.
Valid data range
-99999999 to +99999999
Unit
0.0000 1 Nm
Unit
0.0000 1 Nm
- 351 -
Function
Acceleration/deceleration
control for an axis
synchronized with
external pulses using
external pulse
synchronization (0Bh,
0Dh to 0Fh)
Inch/metric conversion
for a linear axis
controlled only by PMC
axis control
B-64304EN-2/01
- 352 -
Series 0i-D
-
B-64304EN-2/01
Series 0i-C
Function
Setting of
diameter/radius
specification for the
amount of travel and
feedrate when diameter
programming is specified
for a PMC-controlled axis
- 353 -
Series 0i-D
-
Function
No in-position check
signal for a
PMC-controlled axis and
no in-position check
signals for individual
axes
B.23.2
B-64304EN-2/01
- 354 -
Series 0i-D
-
B-64304EN-2/01
B.24
B.24.1
Differences in Specifications
Series 0i-C
Function
Address P format
when calling a
subprogram on the
memory card (file
number
specification/program
number specification)
Multiple call alarm
External subprogram
call in MDI mode
Series 0i-D
-
B.24.2
- 355 -
B.25
B.25.1
Differences in Specifications
Series 0i-C
Function
Return from a
subprogram to the
calling program's
block that has a
specified sequence
number
Sequence number
search when (M99
Pxxxxx) is executed
B-64304EN-2/01
Example)
Main program
O0001 ;
N100 ; (1)
N100 ; (2)
M98 P9001 ;
N100 ; (3)
N100 ; (4)
M30 ;
[For Series 0i-C]
Control is returned to block (1).
Series 0i-D
-
WARNING
Be sure to avoid writing two or more identical sequence numbers in a program.
Doing so may cause the search to find unintended blocks.
B.25.2
- 356 -
B-64304EN-2/01
B.26
B.26.1
Differences in Specifications
Series 0i-C
Function
Stored stroke check
immediately following
powering on
Overtravel alarm
Series 0i-D
-
- 357 -
Function
Operation
continuation after
automatic alarm
cancellation when a
soft OT1 alarm is
issued during the
execution of an
absolute command in
automatic operation
Block that judges the
distance to the stored
stroke limit in AI
advanced preview
control or AI contour
control mode
B.26.2
B-64304EN-2/01
Series 0i-D
- 358 -
B-64304EN-2/01
B.27
B.27.1
Differences in Specifications
Function
Value of parameter
No. 3621 for the
setting of a rotary axis
(type A)
Explanation
Reference position
45.0
0.0
(61)
315.0
(68)
(60)
(62)
(67)
(+)
90.0
270.0
(63)
135.0
(66)
(64)
(65)
180.0
225.0
Compensation values are output at
the positions indicated by .
Series 0i-D
B.27.2
- 359 -
B-64304EN-2/01
B.28
B.28.1
Differences in Specifications
Series 0i-C
Function
Behavior of the
manual screen
erasure function
("<CAN> + function
key") when an alarm
is issued
Redisplay of the
screen upon mode
switching
Function key input
when the screen is
erased or displayed
B.28.2
Series 0i-D
When an alarm is issued (including one - When an alarm is issued (including one
associated with the other path), the
associated with the other path), the
manual screen erasure function is
manual screen erasure function is
disabled.
enabled.
("<CAN> + function key" does not
("<CAN> + function key" erases the
erase the screen.)
screen.)
When the operation mode is switched while the screen is erased:
- 360 -
B-64304EN-2/01
B.29
B.29.1
Differences in Specifications
Series 0i-C
Function
Modal data when
reset during the
execution of a block
Series 0i-D
If reset occurs during the execution of a block, the states of the modal G codes and
modal addresses (N, F, S, T, M, etc.) specified in that block are handled as follows.
Maintained.
Not maintained. The states return to
those of the modal data specified in the
preceding blocks.
(The modal data is updated after the
specified block is fully executed.)
Example) If reset occurs before
positioning is completed in the N2 block in
the program shown below, the T code and
offset return to the data of the preceding
tool (T0101) data.
Information in a block
that is pre-read when
a reset is made during
an automatic
operation (contents of
the buffer)
B.29.2
- 361 -
B.30
B.30.1
Differences in Specifications
Series 0i-C
Function
Absolute coordinates
during automatic tool
compensation change
B.30.2
B-64304EN-2/01
Series 0i-D
- 362 -
B-64304EN-2/01
B.31
B.31.1
Differences in Specifications
Series 0i-C
Function
Number of external
alarm messages and
message length
Series 0i-D
-
Display format of
external alarm
messages
Number of external
operator messages
and message length
- 363 -
[Length of a message]
Up to 32 characters
- Depends on bit 0 (EXA) of parameter
No. 6301.
Bit 0 (EXA) of parameter No. 6301
Select the external alarm message
specification.
0: The alarm numbers that can be sent
range from 0 to 999. The CNC
displays an alarm number, with 1000
added to the number following the
character string "EX".
1: The alarm numbers that can be sent
range from 0 to 4095. The CNC
displays an alarm number, with the
character string "EX" added in front of
it.
- Bit 0 (OM4) of parameter No. 3207 is
not available.
[Number of messages that can be set
at a time]
Depends on bit 1 (M16) of parameter
No. 11931. Select either up to 4 or 16
messages.
[Length of a message]
256 characters or less
Function
Display format of
external operator
messages
B.31.2
B-64304EN-2/01
Series 0i-D
-
0 to 1000
An alarm is not issued; the search is not
done, either.
0 to 4096
Alarm DS0059 is issued.
- 364 -
B-64304EN-2/01
B.32
B.32.1
Differences in Specifications
Series 0i-C
Function
Memory operation
mode
Series 0i-D
-
B.32.2
- 365 -
B.33
B.33.1
Differences in Specifications
Series 0i-C
Function
4-slave display
function
B.33.2
B-64304EN-2/01
- 366 -
Series 0i-D
-
B-64304EN-2/01
B.34
B.34.1
Differences in Specifications
Series 0i-C
Function
Series 0i-D
Cutter
compensation/tool
nose radius
compensation
Corner circular
interpolation (G39)
Cutter
compensation/tool
nose radius
compensation in MDI
operation
Single block stop
position during the
cutter
compensation/tool
nose radius
compensation mode
Available.
It is included in cutter
compensation/tool nose radius
compensation.
Since corner circular interpolation
(G39) is always enabled, bit 2 (G39) of
parameter No. 5008 is not available.
Cutter compensation/tool nose radius
compensation is also available in MDI
operation.
Workpiece
Programmed path
Cutter/tool nose radius
center path
r
L
L
L
Series 0i-D single block stop
Series 0i-C single block stop
Function to change
the compensation
direction intentionally
(IJ type vector, KI type
vector, and JK type
vector)
Not available.
- 367 -
B-64304EN-2/01
Series 0i-C
-
Series 0i-D
If the specified radius value for circular interpolation is smaller than that for cutter
compensation/tool nose radius compensation, as in the example below, performing
compensation inwardly through cutter compensation/tool nose radius compensation
causes overcutting, generating an alarm and stopping the tool. The stop position
differs.
N1
P1
P2
Programmed path
Workpiece
N2
P3
N3
Cutting as
programmed causes
[When single block stop occurs in the preceding block in Series 0i-C]
Since the tool moves until it reaches the end point of the block (P3 in the figure),
overcutting may result.
[When single block stop does not occur in the preceding block in Series 0i-C]
The tool stops immediately after executing the block (P2 in the figure).
[In the case of Series 0i-D]
Since the tool stops at the start point of the block (P1 in the figure), regardless of the
single block state, overcutting can be prevented.
- Not available.
- Depends on bit 0 (SBK) of parameter
No. 5000.
Bit 0 (SBK) of parameter No. 5000
In a block created internally for cutter
compensation/tool nose radius
compensation, single block stop is:
0: Not performed.
1: Performed.
This parameter is used to check a program
including cutter compensation/tool nose
radius compensation.
- 368 -
B-64304EN-2/01
Function
Setting to disable
interference checking
and to delete
interfering vectors
Series 0i-C
-
Series 0i-D
Not available.
(Bit 0 (CNI) of parameter No. 5008 is
not available.)
To prevent overcutting, the interference
check avoidance function (bit 5 (CAV)
of parameter No. 19607) is used.
In the example below, interference
occurs between V1 and V4 and between
V2 and V3. Therefore, vectors VA and
VB are created. The tool center path
is from VA to VB.
V1
V4
V3
V2
VB
VA
V1
V4
V3
- 369 -
V2
B-64304EN-2/01
Series 0i-C
Function
Series 0i-D
Number of blocks to
be read in the cutter
compensation/tool
nose radius
compensation mode
Always 3 blocks
When circular
interpolation is
specified that causes
the center to coincide
with the start or end
point during the cutter
compensation/tool
nose radius
compensation mode
- 370 -
B-64304EN-2/01
Series 0i-C
Function
Behavior when
automatic reference
position return is
specified during the
cutter
compensation/tool
nose radius
compensation mode
Series 0i-D
[When CCN = 0]
The offset vector is canceled when the tool moves to the middle point.
Also, the start-up operation is performed from the reference position.
Intermediate
point
S
G28
G01
r
G00
S
Reference position
(G42 G01)
Intermediate
point
S
G28
G00
G01
r
S
Reference position
(G42 G01)
- 371 -
Series 0i-C
Function
Travel distance
judgment method for
circular interpolation in
cutter
compensation/tool
nose radius
compensation
Series 0i-D
[When QCR = 0]
B
End
point
L
Start point
Center
B.34.2
Start point
D
Compensation vector
connection method
when the tool travels
around an external
corner during the
cutter
compensation/tool
nose radius
compensation mode
B-64304EN-2/01
End
point
Center
[When CCC = 1]
Connect vectors by circular
interpolation
- 372 -
B-64304EN-2/01
B.35
B.35.1
Differences in Specifications
Series 0i-C
Function
M05 output in a
tapping cycle
Behavior when K0 is
specified for the
number of repetitions
K
Forward/retraction
feedrate for the
small-hole peck
drilling cycle (G83)
Tool retraction
direction in a fine
boring cycle (G76) or
back boring cycle
(G87)
Series 0i-D
-
- 373 -
Function
Address Q command
in a high-speed peck
drilling cycle (G73),
peck drilling cycle
(G83), or small-hole
peck drilling cycle
(G83)
Tool length
compensation (G43 or
G44) in a canned
cycle when tool length
compensation type C
is selected (1 is set in
bit 0 (TLC) of
parameter No. 5001)
B.35.2
B-64304EN-2/01
Series 0i-D
In a high-speed peck drilling cycle (G73), peck drilling cycle (G83), and small-hole
peck drilling cycle (G83), when the address Q (amount of each-time cutting)
command is not specified or Q0 is specified:
Select the operation using bit 1 (QZA) of
Bit 1 (QZA) of parameter No. 5103 is not
parameter No. 5103.
available.
The tool always behaves as when 1 is set
Bit 1 (QZA) of parameter No. 5103
in bit 1 (QZA) of parameter No. 5103.
(Alarm PS0045 is issued.)
0: The tool repeats the upward and
downward movement at the same
position without cutting.
1: P/S alarm No. 045 is issued.
- Select the axis for which to enable tool
- Bit 4 (TCE) of parameter No. 5006 is
length compensation, by using bit 4
not available.
(TCE) of parameter No. 5006.
The tool always behaves as when 1 is
set in bit 4 (TCE) of parameter No.
Bit 4 (TCE) of parameter No. 5006
5006.
When tool length compensation (G43 or
G44) is specified in a canned cycle, tool
length compensation is enabled for:
0: Axis selected according to tool length
compensation type C.
1: Drilling axis.
- 374 -
B-64304EN-2/01
B.36
B.36.1
Differences in Specifications
Series 0i-C
Function
Series 0i-D
Grinding axis
specification
Dressing axis
specification
B.36.2
- 375 -
B.37
B.37.1
Differences in Specifications
Function
Behavior when linear
interpolation type
positioning is used
with mirror image
B.37.2
Series 0i-C
B-64304EN-2/01
Series 0i-D
If positioning of linear interpolation type is used (1 is set in bit 1 (LRP) of parameter No.
1401), and if the state of mirror image when a single direction positioning block is looked
ahead differs from the state of mirror image when the execution of the block is started,
the following alarms are issued, respectively.
- Alarm PS5254
- Alarm DS0025
- 376 -
B-64304EN-2/01
B.38
B.38.1
Differences in Specifications
Function
Optional angle
chamfering and corner
rounding commands
for a plane including a
parallel axis
Single block operation
Negative value
specified in a ,C_
or ,R_ command
Number of dwells to
be inserted between
two blocks for which
to perform optional
angle chamfering or
corner rounding
DNC operation
B.38.2
Series 0i-C
Not available.
Alarm PS0212 is issued.
Series 0i-D
-
Available.
Not limited.
- 377 -
INDEX
B-64304EN-2/01
INDEX
DETAILS OF CUTTER COMPENSATION................153
<A>
(G77) .............................................................................107
<E>
<B>
Extraction override..........................................................87
<F>
<C>
<G>
GENERAL ...................................................................3,11
MACHINE)................................................................... 101
MACHINE TOOL.............................................................7
<H>
<I>
COMPENSATION........................................................ 367
<D>
<L>
i-1
INDEX
B-64304EN-2/01
RIGID TAPPING............................................................74
<M>
<S>
Miscellaneous................................................................ 335
............................................................................254
<N>
SETTING UNIT............................................................315
SINGLE DIRECTION POSITIONING ........................376
<O>
to occur.......................................................................... 200
<T>
(G40-G42)..................................................................... 146
<P>
PROGRAM .....................................................................12
TOOL FUNCTIONS.....................................................331
G49) ..............................................................................119
Compensation................................................................ 192
<R>
RESET AND REWIND ................................................ 361
i-2
INDEX
B-64304EN-2/01
<W>
WARNINGS AND CAUTIONS RELATED TO
HANDLING................................................................... s-8
WARNINGS AND CAUTIONS RELATED TO
PROGRAMMING ......................................................... s-6
WARNINGS RELATED TO DAILY
MAINTENANCE ........................................................ s-11
WORKPIECE COORDINATE SYSTEM .................... 325
i-3
Jun., 2008
Date
01
Edition
Contents
Edition
Date
Contents
FANUC Series 0i-MODEL D/Series 0i Mate-MODEL D USERS MANUAL (For Machining Center System)
(B-64304EN-2)
Revision Record