Professional Documents
Culture Documents
• No part of this manual may be reproduced in any form.
• All specifications and designs are subject to change without notice.
The export of this product is subject to the authorization of the government of the country
from where the product is exported.
In this manual we have tried as much as possible to describe all the various matters.
However, we cannot describe all the matters which must not be done, or which cannot be
done, because there are so many possibilities.
Therefore, matters which are not especially described as possible in this manual should be
regarded as ”impossible”.
This manual contains the program names or device names of other companies, some of
which are registered trademarks of respective owners. However, these names are not
followed by or in the main body.
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
s–1
SAFETY PRECAUTIONS B–64112EN/01
This manual includes safety precautions for protecting the user and preventing damage to the
machine. Precautions are classified into Warning and Caution according to their bearing on safety.
Also, supplementary information is described as a Note. Read the Warning, Caution, and Note
thoroughly before attempting to use the machine.
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
B–64112EN/01 SAFETY PRECAUTIONS
WARNING
1. 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.
3. 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.
4. 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.
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 operator’s 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.
s–3
SAFETY PRECAUTIONS B–64112EN/01
WARNING
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
1. Do not remove the internal parts, including the ATA card and compact flash card, from within
the CNC.
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–4
B–64112EN/01 SAFETY PRECAUTIONS
This section covers the major safety precautions related to programming. Before attempting to
perform programming, read the supplied operator’s manual and programming manual carefully
such that you are fully familiar with their contents.
WARNING
s–5
SAFETY PRECAUTIONS B–64112EN/01
WARNING
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. Tool post interference check
A tool post interference check is performed based on the tool data specified during automatic
operation. If the tool specification does not match the tool actually being used, the interference
check cannot be made correctly, possibly damaging the tool or the machine itself, or causing
injury to the user.
After switching on the power, or after selecting a tool post manually, always start automatic
operation and specify the tool number of the tool to be used.
8. Absolute/incremental mode
If a program created with absolute values is run in incremental mode, or vice versa, the machine
may behave unexpectedly.
9. 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.
10. 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.
11. Programmable mirror image
Note that programmed operations vary considerably when a programmable mirror image is
enabled.
12. 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–6
B–64112EN/01 SAFETY PRECAUTIONS
This section presents safety precautions related to the handling of machine tools. Before attempting
to operate your machine, read the supplied operator’s manual and programming manual carefully,
such that you are fully familiar with their contents.
WARNING
1. 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.
2. 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.
3. Manual numeric command
When issuing a manual numeric command, determine the current position of the tool and
workpiece, and ensure that the movement axis, direction, and command have been specified
correctly, and that the entered values are valid.
Attempting to operate the machine with an invalid command specified may damage the tool, the
machine itself, the workpiece, or cause injury to the operator.
4. 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.
5. 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.
6. 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–7
SAFETY PRECAUTIONS B–64112EN/01
WARNING
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.
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.
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.
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.
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.
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.
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–8
B–64112EN/01 SAFETY PRECAUTIONS
WARNING
NOTE
The CNC uses batteries to preserve the contents of its memory, because it must retain data such as
programs, offsets, and parameters even while external power is not applied.
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
contents of the CNC’s memory will be lost.
Refer to the maintenance section of the operator’s manual or programming manual for details of the
battery replacement procedure.
s–9
SAFETY PRECAUTIONS B–64112EN/01
WARNING
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 maintenance section of the operator’s manual or programming manual for details of the
battery replacement procedure.
s–10
B–64112EN/01 SAFETY PRECAUTIONS
WARNING
3. Fuse replacement
For some units, the chapter covering daily maintenance in the operator’s manual or programming
manual describes the fuse replacement procedure.
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–11
B–64112E/01 Table of Contents
SAFETY PRECAUTIONS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . s–1
I. GENERAL . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1
1. GENERAL . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3
2. LIST OF SPECIFICATIONS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6
II. NC FUNCTION . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17
PREFACE . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19
1. CONTROLLED AXES . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20
1.1 NUMBER OF THE ALL CONTROLLED AXES . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21
1.2 AXIS NAMES . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21
1.3 INCREMENT SYSTEM . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22
1.3.1 Input Unit (10 Times) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23
1.4 MAXIMUM STROKE . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 24
2. PREPARATORY FUNCTIONS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25
2.1 T SERIES . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 26
2.2 M SERIES . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29
3. INTERPOLATION FUNCTIONS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 32
3.1 POSITIONING (G00) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 33
3.2 SINGLE DIRECTION POSITIONING (G60) (M series) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 34
3.3 LINEAR INTERPOLATION (G01) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 35
3.4 CIRCULAR INTERPOLATION (G02, G03) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 36
3.5 HELICAL INTERPOLATION (G02, G03) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 38
3.6 POLAR COORDINATE INTERPOLATION (G12.1, G13.1) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 39
3.7 CYLINDRICAL INTERPOLATION (G07.1) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 41
4. THREAD CUTTING . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 43
4.1 EQUAL LEAD THREAD CUTTING (G33) (WITH G CODE SYSTEM A: G32) . . . . . . . . . . . . . 44
4.2 MULTIPLE–THREAD CUTTING (G33) (T series) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 45
4.3 VARIABLE LEAD THREAD CUTTING (G34) (T series) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 45
4.4 CONTINUOUS THREAD CUTTING (T series) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 46
5. FEED FUNCTIONS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 47
5.1 RAPID TRAVERSE . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 48
5.2 CUTTING FEED RATE . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 49
5.2.1 Tangential Speed Constant Control . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 49
5.2.2 Cutting Feed Rate Clamp . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 49
5.2.3 Per Minute Feed (G94) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 49
5.2.4 Per Revolution Feed (G95) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 50
5.2.5 One–digit F Code Feed (M series) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 50
c–1
Table of Contents B–64112E/01
5.3 OVERRIDE . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 51
5.3.1 Feed Rate Override . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 51
5.3.2 Rapid Traverse Override . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 51
5.3.3 Override Cancel . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 51
5.3.4 Jog Override . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 51
5.4 AUTOMATIC ACCELERATION/DECELERATION . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 52
5.5 RAPID TRAVERSE BELL–SHAPED ACCELERATION/DECELERATION . . . . . . . . . . . . . . . . . 53
5.6 LINEAR ACCELERATION/DECELERATION AFTER CUTTING
FEED INTERPOLATION . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 54
5.7 BELL–SHAPED ACCELERATION/DECELERATION AFTER CUTTING
FEED INTERPOLATION . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 55
5.8 ERROR DETECTION (T series) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 56
5.9 EXACT STOP (G09) (M series) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 57
5.10 EXACT STOP MODE (G61) (M series) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 57
5.11 CUTTING MODE (G64) (M series) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 57
5.12 TAPPING MODE (G63) (M series) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 57
5.13 AUTOMATIC CORNER OVERRIDE (G62) (M series) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 57
5.14 DWELL (G04) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 58
5.15 RAPID TRAVERSE BLOCK OVERLAP . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 59
6. REFERENCE POSITION . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 60
6.1 MANUAL REFERENCE POSITION RETURN . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 61
6.2 SETTING THE REFERENCE POSITION WITHOUT DOGS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 61
6.3 AUTOMATIC REFERENCE POSITION RETURN (G28, G29) (M series) . . . . . . . . . . . . . . . . . . 62
6.4 REFERENCE POSITION RETURN CHECK (G27) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 63
6.5 2ND, 3RD AND 4TH REFERENCE POSITION RETURN (G30) . . . . . . . . . . . . . . . . . . . . . . . . . . 63
6.6 REFERENCE POSITION SHIFT . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 64
6.7 REFERENCE POSITION SETTING WITH MECHANICAL STOPPER . . . . . . . . . . . . . . . . . . . . 64
6.8 LINEAR SCALE WITH ABSOLUTE ADDRESSING REFERENCE MARKS . . . . . . . . . . . . . . . 65
6.9 LINEAR SCALE EXPANSION FUNCTION WITH ABSOLUTE ADDRESSING
REFERENCE MARKS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 65
7. COORDINATE SYSTEMS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 66
7.1 MACHINE COORDINATE SYSTEM (G53) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 67
7.2 WORKPIECE COORDINATE SYSTEM . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 68
7.2.1 Setting a Workpiece Coordinate System (Using G92) (with G Code System A: G50) . . . . . . . . . . . . . 68
7.2.2 Automatic Coordinate System Setting . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 70
7.2.3 Setting a Workpiece Coordinate System (Using G54 to G59) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 71
7.2.4 Counter Input in a Workpiece Coordinate System . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 72
7.3 LOCAL COORDINATE SYSTEM (G52) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 73
7.4 WORKPIECE ORIGIN OFFSET VALUE CHANGE
(PROGRAMMABLE DATA INPUT) (G10) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 74
7.5 ADDITIONAL WORKPIECE COORDINATE SYSTEMS (M series) . . . . . . . . . . . . . . . . . . . . . . . 75
7.6 WORKPIECE COORDINATE SYSTEM PRESET (G92.1) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 76
7.7 WORKPIECE COORDINATE SYSTEM SHIFT (T series) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 77
7.8 PLANE SELECTION (G17, G18, G19) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 78
c–2
B–64112E/01 Table of Contents
10.TOOL FUNCTIONS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 93
10.1 T CODE OUTPUT . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 94
10.2 TOOL LIFE MANAGEMENT . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 95
10.2.1 Tool Life Management . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 95
10.2.2 Extended Tool Life Management (M series) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 96
11.AUXILIARY FUNCTIONS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 97
11.1 AUXILIARY FUNCTIONS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 98
11.2 1–BLOCK PLURAL M COMMAND . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 98
11.3 SECOND AUXILIARY FUNCTIONS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 98
11.4 HIGH-SPEED M/S/T/B INTERFACE . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 99
c–3
Table of Contents B–64112E/01
c–4
B–64112E/01 Table of Contents
c–5
Table of Contents B–64112E/01
c–6
B–64112E/01 Table of Contents
c–7
Table of Contents B–64112E/01
c–8
B–64112E/01 Table of Contents
c–9
Table of Contents B–64112E/01
c–10
B–64112E/01 Table of Contents
APPENDIX
A. RANGE OF COMMAND VALUE . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 343
A.1 T SERIES . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 344
A.2 M SERIES . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 347
c–11
I. GENERAL
B–64112EN/01 GENERAL 1. GENERAL
1 GENERAL
This manual describes the following models and may use the following
abbreviations.
Model name Abbreviation
3
1. GENERAL GENERAL B–64112EN/01
Related manuals of The following table lists the manuals related to Series 0i–C, Series 0i
Series 0i–C/0i Mate–C Mate–C.
This manual is indicated by an asterisk(*).
Specification
Manual name
number
FANUC Series 0i–MODEL C/0i Mate–MODEL C B–64112EN *
DESCRIPTIONS
PROGRAMMING MANUAL
PMC
Network
4
B–64112EN/01 GENERAL 1. GENERAL
Related manuals of The following table lists the manuals related to SERVO MOTOR
SERVO MOTOR αis/αi/βis αis/αi/βis series
series Specification
Manual name
number
FANUC AC SERVO MOTOR αis/αi series B–65262EN
DESCRIPTIONS
5
2. LIST OF SPECIFICATIONS GENERAL B–64112EN/01
2 LIST OF SPECIFICATIONS
f : Standard fA : Standard of Package A fB : Standard of Package B F : Standard option FA : Standard option of Package A
FB : Standard option of Package B l : Option lA : Option of Package A : : Function included in another option — : Not available
Note) Some combinations of these options are restricted.
Note) In case of CNC Display with Personal Computer function, using CNC Screen Display Function is a premise.
Controlled axis
Controlled path 1 path f f f f f
d axes
axes
4 axes f l f — —
Controlled axis
rolled
(Including Cs axes)
2 axes — f — — f
e cont
6
B–64112EN/01 GENERAL 2. LIST OF SPECIFICATIONS
Operation
Automatic operation (memory) f f f f f
DNC operation Reader/puncher interface is required. f f f f f
DNC operation with Memory Card PCMCIA Card Attachment is required. f f f f f
MDI operation f f f f f
Schedule function f f f f f
Program number search f f f f f
Sequence number search f f f f f
Sequence number comparison and
f f f f f
stop
Program restart f f — f f
Manual intervention and return f f — f f
Retraction for rigid tapping f — — f —
Buffer register f f f f f
Dry run f f f f f
Single block f f f f f
JOG feed f f f f f
Manual reference position return f f f f f
Reference position setting without
f f f f f
DOG
Reference position setting with
f f — f f
mechanical stopper
Reference position shift f — f — —
Manual handle feed MC, PC : Max. 3 units TC : Max. 2 units f f f f f
Manual handle feed rate 1, 10, m, n m: 0 to 127, n: 0 to 1000 f f f f f
Manual handle interruption f f f f f
Manual handle I/F for I/O Link β l l l l l
Incremental feed 1, 10, 100, 1000 f f f f f
Jog and handle simultaneous mode f f f f f
Interpolation functions
Positioning G00 (Linear interpolation type positioning is possible) f f f f f
Single direction positioning G60 f — — f —
Exact stop mode G61 f — f f —
Exact stop G09 f — f f —
Linear interpolation f f f f f
Circular interpolation Multi–quadrant is possible f f f f f
Dwell in seconds and dwell in revolution
Dwell (In case of dwell in revolution for M series, threading, f f f f f
synchronous cutting function is required.)
Polar coordinate interpolation — f — — f
Cylindrical interpolation f f — — f
Circular interpolation plus max. 2 axes linear
Helical interpolation f l f f —
interpolation
Threading, synchronous cutting f f — f f
Multiple threading — f — — f
Threading retract — f — — f
Continuous threading — f — — f
7
2. LIST OF SPECIFICATIONS GENERAL B–64112EN/01
Interpolation functions
Variable lead threading — f — — —
Polygon turning — f — — —
Skip G31 f f f f f
High–speed skip Input signal is 1 point f f f f f
Multi–step skip For grinding machine l l — l l
Torque limit skip — f — — f
Reference position return G28 f f f f f
Reference position return check G27 f f — f f
2nd reference position return f f — f f
3rd/4th reference position return f f — f f
Normal direction control f — f — —
Continuous dressing For grinding machine l — — — —
Infeed control For grinding machine l — — — —
Index table indexing f — — — —
General purpose retract f f — f f
Feed function
Max. 240m/min (1µm) f f f f f
Rapid traverse rate
Max. 100m/min (0.1µm) f f f — —
Rapid traverse override Fo, 25, 50, 100% PC : 25, 50, 75, 100% f f f f f
Feed per minute f f f f f
Feed per revolution f f — f f
Tangential speed constant control f f f f f
Cutting feedrate clamp f f f f f
Rapid traverse: linear
Automatic acceleration/deceleration f f f f f
Cutting feed: exponential
Rapid traverse bell–shaped
f f f f f
acceleration/deceleration
Linear acceleration/deceleration after
f f f f f
cutting feed interpolation
Bell–type acceleration/deceleration
l — — — —
after cutting feed interpolation
Bell–type acceleration/deceleration
lA — — — —
before look ahead interpolation
Feedrate override 0 to 254% f f f f f
One–digit F code feed f — — f —
Inverse time feed f — — — —
Jog override 0 to 655.34% f f f f f
Override cancel f f f f f
Manual per revolution feed — f — — f
Error detection — f — — f
Cutting mode f — f f —
Tapping mode f — — f —
Rapid traverse block overlap f f — f f
External deceleration f f f f f
Advanced preview control — l — — —
AI advanced preview control f — — f —
AI contour control lA — — — —
Rigid tapping bell–shaped
l — — — —
acceleration/deceleration
Program input
Tape code EIA RS244/ISO840 f f f f f
Label skip f f f f f
Parity check Horizontal and vertical parity f f f f f
Control in/out f f f f f
Optional block skip 9 f f f f f
Max. programmable dimension 8–digit f f f f f
Program number O4–digit f f f f f
8
B–64112EN/01 GENERAL 2. LIST OF SPECIFICATIONS
Program input
External memory and sub program
f f f f f
calling function
Sequence number N5–digit f f f f f
Absolute/incremental programming Combined use in the same block f f f f f
Decimal point programming/pocket
calculator type decimal point f f f f f
programming
Input unit 10 time multiply f f f f f
Diameter/radius programming (X axis) — f — — f
Plane selection G17, G18, G19 f f f f f
Rotary axis designation f f f — f
Rotary axis roll–over f f f — f
Polar coordinate command f — — f —
Coordinate system setting f f f f f
Automatic coordinate system setting f f f f f
Coordinate system shift — f — — f
Direct input of coordinate system shift — f — — f
Workpiece coordinate system G52 to G59 f f f f f
Workpiece coordinate system preset f f — f f
Addition of workpiece coordinate
48 pairs f — — f —
system pair
Direct input of workpiece origin offset
f f — f f
value measured
Manual absolute on and off f f f(on) f f
Direct drawing dimension programming — f — — f
G code system A/B/C — f — — f
Chamfering/corner R — f — — f
Optional chamfering/corner R f — — f —
Programmable data input G10 f f f f f
Sub program call 4 folds nested f f f f f
Custom macro B f f f f f
Addition of custom macro common
#100 to #199, #500 to #999 f f f f f
variables
Pattern data input f f — f f
Interruption type custom macro f f f f f
Canned cycles — f — — f
Multiple repetitive cycle — f — — f
Multiple repetitive cycle II Pocket profile — f — — —
Canned cycles for drilling f f — f f
Small–hole peck drilling cycle f — — f —
Canned cycles for grinding For grinding machine l l — — —
Circular interpolation by R programming f f f f f
Mirror image for double turret — f — — —
Automatic corner override f — f f —
Automatic corner deceleration f — f f —
Feedrate clamp based on arc radius f — f f —
Scaling f — f f —
Coordinate system rotation f — f f —
Programmable mirror image f — — f —
Tape format for FANUC Series 10/11 f f — f f
Conversational programming with
Display unit with graphic is required. : : : : :
graphic function
Macro executor l(512KB/2MB/4MB) l(512KB)
MANUAL GUIDE 0i
ISO code part programming l l — l l
Process control information l l — l l
G–code assistance l l — l l
M–code assistance l l — l l
9
2. LIST OF SPECIFICATIONS GENERAL B–64112EN/01
MANUAL GUIDE 0i
Contour programming
Max. figure block
40 40 — 40 40
number
Start point l l — l l
Offset setting G40/G41/G42, No output l l — l l
Figure type Line, Arc CW, Arc CCW, Corner R, Chamfering l l — l l
Figure modification Insert, Delete, Re–calculation l l — l l
Check contour figure Graphical display of entered figures l l — l l
Convert to ISO code
G01/G02/G03 form l l — l l
prog.
Calculation of inputting
+, –, , /, Sin, Cos, Tan, Square root l l — l l
data
Data value unit IS–B, IS–C l l — l l
Contour programming
auxiliary calculation
A point by polar
l l — l l
coordinate
A point by angle and
l l — l l
dist.
A point by rotating a
l l — l l
point
Neighbor point of a line l l — l l
Cross point between 2
l l — l l
lines
Cross point line and
l l — l l
arc
Cross point between 2
l l — l l
arcs
Angle of 2 points line l l — l l
Angle of rectangular
l l — l l
line
Arc with 1 point and
l l — l l
center
Arc with 2 points and
l l — l l
radius
Arc with 3 points l l — l l
Advanced canned cycle for milling
Center, Drilling, Tapping, Reaming, Boring, Fine
Hole machining l — — l —
boring, Back boring
Points, Line(EQ), Line(NE), Grid, Square, Circle,
Hole pattern l — — l —
Arc(EQ), Arc(NE)
Facing (Rough/Finish) Square, Circle (fixed pattern) l — — l —
Pocketing
Square, Circle, Track (fixed pattern) l — — l —
(Rough/Finish)
Pocketing (Drilling) Square, Circle, Track (fixed pattern) l — — l —
Grooving
Radial line (fixed pattern) l — — l —
(Rough/Finish)
Grooving
Radial line (fixed pattern) l — — l —
(Chamfer/Drilling)
Advanced canned cycle for lathe
Lathe drilling Center, Drilling, Tapping, Reaming, Boring — l — — l
Stock removal in
Outer, Inner, Face — l — — l
turning
Finishing Outer, Inner, Face — l — — l
Threading Outer, Inner — l — — l
Threading type General, Metric, Unified, PT, PF — l — — l
Grooving Outer, Face — l — — l
Grooving type Normal, Trapezoidal — l — — l
10
B–64112EN/01 GENERAL 2. LIST OF SPECIFICATIONS
MANUAL GUIDE 0i
Canned grinding cycle for surface
grinding machine
Plunge grinding cycle G75 (under development) l — — l —
Direct constant–
dimension plunge G77 (under development) l — — l —
grinding cycle
Continuous–feed
G78 (under development) l — — l —
surfae grinding cycle
Intermittent–feed
G79 (under development) l — — l —
surface grinding cycle
Canned grinding cycle for cylindrical
grining machine
Traverse grinding
G71 — l — — l
cycle
Traverse direct fixed–
dimension grinding G72 — l — — l
cycle
Oscillation grinding
G73 — l — — l
cycle
Oscillation direct fixed
dimension grinding G74 — l — — l
cycle
Auxiliary/Spindle speed function
Auxiliary function M8–digit f f f f f
2nd auxiliary function B8–digit f f f f f
Auxiliary function lock f f f f f
High–speed M/S/T/B interface f f f f f
Multiple command of auxiliary function 3 f f f f f
Spindle speed function S5–digit, binary output f f — f f
Spindle serial output S5–digit, serial output F F — F F
Spindle analog output S5–digit, analog output F F — F F
Constant surface speed control f f — f f
Spindle override 0 to 254% f f — f f
Actual spindle speed output — f — — f
Spindle speed fluctuation detection — f — — —
1st spindle orientation f f — f f
1st spindle output switching function f f — f f
2nd spindle orientation f f — — —
2nd spindle output switching function f f — — —
Spindle synchronous control f f — — —
Multi spindle control — f — — —
Spindle positioning — f — — f
Rigid tapping f f — f f
11
2. LIST OF SPECIFICATIONS GENERAL B–64112EN/01
Editing operation
320m (128Kbyte) fB fB — — —
Part program storage length *2
640m (256Kbyte) fA fA fA f f
Number of registerable programs 400 f f f f f
Part program editing f f f f f
Program protect f f f f f
Background editing f f f f f
Extended part program editing f f f f f
Playback f f — f f
Password function f f f f f
12
B–64112EN/01 GENERAL 2. LIST OF SPECIFICATIONS
13
2. LIST OF SPECIFICATIONS GENERAL B–64112EN/01
Data input/output
Reader/puncher (Ch.1) interface f f f f f
Reader/puncher interface
Reader/puncher (Ch.2) interface f f f f f
Data server l l l — —
External I/O device control f f f f f
Uploading/downloading a part program,
DNC2 control Reading/writing CNC data, Transfer of PMC data, l l l — —
Memory operation control, etc.
External tool offset f f f f f
External message f f f f f
External machine zero point shift f f f f f
External data input Including above 3 items f f f f f
External key input f f f f f
External program input f f f f f
External workpiece number search 9999 f f f f f
Expanded external workpiece number
f f f f f
search
External program number search 1 to 9999 f f f f f
Memory card input/output f f f f f
Power Mate CNC manager f f f f f
External touch panel I/F SNP protocol l l l l l
Interface function
FAST Ethernet Ethernet board is required. l l l — —
PROFIBUS–DP Master/Slave l l l — —
DeviceNet Master/Slave l l l — —
FL–net — — — — —
Others
NC ready, servo ready, automatic operation,
automatic operation start lamp, feed hold, reset,
Status output signal f f f f f
NC alarm, distribution end, rewinding, inch input,
cutting, inposition, thread cutting, tapping, etc.
7.2 monochrome LCD/
7.2I 1 slot 400(W)200(H)70(D)mm F F F F F
MDI Horizontal type 2 slots 400(W)200(H)120(D)mm F F F — —
8.4 color LCD/MDI
8.4I 1 slot 400(W)200(H)70(D)mm F F F — —
Control unit
incorporated Horizontal type 2 slots 400(W)200(H)120(D)mm F F F — —
display unit 7.2 monochrome LCD/
7.2I 1 slot 260(W)300(H)70(D)mm F F F F F
*1 MDI Virtical type 2 slots 260(W)300(H)120(D)mm F F F — —
8.4 color LCD/MDI
8.4I 1 slot 260(W)300(H)70(D)mm F F F — —
Virtical type 2 slots 260(W)300(H)120(D)mm F F F — —
Basic instruction: 5µ sec/step
PMC–SA1 fB fB — f f
PMC Max. step number ladder: 5000
SYSTEM Basic instruction: 0.033µ sec/step
PMC–SB7 fA fA fA — —
Max. step number ladder: 24000
DI/DO;96/64 60(W)380(H)172(D)mm (with MPG I/F) l l l — —
I/O module for machine I/F (with MPG I/F) l l l — —
I/O module for machine I/F (without MPG I/F) l l l — —
Operator’s panel I/O module (with MPG I/F) l l l — —
Operator’s panel I/O module (without MPG I/F) l l l — —
Machine interface (I/O Link)
DI/DO;1024/1024 points Standard operator’s panel l l l — —
Small operator’s panel l l l — —
Connection panel I/O module (DI/DO module,
l l l — —
2A output module, Analog input module)
I/O Unit–MODEL A l l l — —
Additional peripheral axes (I/O Link β servo) l l l — —
14
B–64112EN/01 GENERAL 2. LIST OF SPECIFICATIONS
Others
DI/DO;96/64 60(W)380(H)172(D)mm (with MPG I/F) — — — l l
I/O module for machine I/F (with MPG I/F) — — — l l
I/O module for machine I/F (without MPG I/F) — — — l l
Operator’s panel I/O module (with MPG I/F) — — — l l
Machine interface (I/O Link) Operator’s panel I/O module (without MPG I/F) — — — l l
DI/DO;240/160 points Standard operator’s panel — — — l l
Small operator’s panel — — — l l
Connection panel I/O module (DI/DO module,
— — — l l
2A output module, Analog input module)
Additional peripheral axes (I/O Link β servo 1axis) — — — l l
Manual pulse generator l l l l l
FANUC AC SERVO MOTOR αis series
F F F — —
Connectable servo motor FANUC AC SERVO MOTOR α (HV)is series
FANUC AC SERVO MOTOR βis series F F F F F
FANUC AC SPINDLE MOTOR αi series
F F — — —
FANUC AC SPINDLE MOTOR α (HV)i series
FANUC AC SPINDLE MOTOR αi P series
Connectable spindle motor
FANUC AC SPINDLE MOTOR αi T series F F — — —
FANUC AC SPINDLE MOTOR αi L series
FANUC AC SPINDLE MOTOR βi series F F — F F
FANUC SERVO AMPLIFIER αi series (PSM,SVM,SPM) F F F — —
FANUC SERVO AMPLIFIER βi series (SVPM) F F F F F
Connectable servo amplifier
FANUC SERVO AMPLIFIER βi series (SVM) F F F F F
Analog spindle I/F l l — l l
Position detector unit for full–closed Pulse coder/optical scale (2–phase pulse interface) l l l l l
control (for full–closed control) Pulse coder/optical scale (serial interface) l l l l l
SERVO GUIDE l l l l l
Input power supply 24VDC10% f f f f f
At operating: 0°C to 58°C
Ambient temperature of unit f f f f f
At nonoperating: –20°C to 60°C
Normally: 75%RH or less
(No dew, nor frost allowed)
Ambient relative humidity f f f f f
Short term (within one month): 95%RH or less
(No dew, nor frost allowed)
At operating: 0.5G or less
Vibration f f f f f
At nonoperating: 1G or less
NOTE
*1 : Control unit is incorporated with disply unit.
*2 : The actual registrable value might changes according to the registered number of programs
and the program sizes.
15
II. NC FUNCTION
B–64112EN/01 NC FUNCTION PREFACE
PREFACE
This part describes the functions that can be performed on all models. For
the functions available with each model, see the list of specifications in
Part I.
19
1. CONTROLLED AXES NC FUNCTION B–64112EN/01
1 CONTROLLED AXES
20
B–64112EN/01 NC FUNCTION 1. CONTROLLED AXES
1.1
NUMBER OF THE ALL
CONTROLLED AXES
0i Mate–TC 0i Mate–MC 0i–TC 0i–MC
Number of controlled 3 3 4 4
axes expanded (all)
Number of simultaneously 3 3 4 4
controlled axes expanded (all)
Cs contour control 1 0 1 1
1.2
AXIS NAMES T series :
The two basic axes are always set to X and Z. Additional axes can be
selected from A, B, C, U, V, W, and Y freely.
NOTE
If U, V, or W is used as an axis name, the G code system
must be either B or C.
M series :
The three basic axes are set to X, Y, and Z. Additional axes can be
selected from A, B, C, U, V, and W freely.
21
1. CONTROLLED AXES NC FUNCTION B–64112EN/01
1.3 There are two increment systems as shown in the tables below. One of the
increment systems can be selected using a parameter.
INCREMENT SYSTEM
NOTE
If IS-C is selected, function “increment system 1/10” is
required.
Least
Least input increment command Abbreviation
increment
Least
Least input increment command Abbreviation
increment
22
B–64112EN/01 NC FUNCTION 1. CONTROLLED AXES
1.3.1 The following least input increments can be set using a parameter:
Input Unit (10 Times) Increment system Least input increment
NOTE
The minimum input increment for inch input is not affected.
23
1. CONTROLLED AXES NC FUNCTION B–64112EN/01
1.4 The following table lists the maximum strokes of machine tools that are
allowed by the control unit:
MAXIMUM STROKE
Maximum stroke = Least command increment 99999999
Increment system Maximum stroke
±99999.999 mm
Millimeter machine
±99999.999 deg
IS–B
±9999.9999 inch
Inch machine
±99999.999 deg
±9999.9999 mm
Millimeter machine
±9999.9999 deg
IS–C
±999.99999 inch
Inch machine
±9999.9999 deg
NOTE
1 The values (in mm or inches) in the table are diameter
values if diameter programming is specified, or radius
values if radius programming is specified.
2 A command that exceeds the maximum stroke is not
allowed.
24
B–64112EN/01 NC FUNCTION 2. PREPARATORY FUNCTIONS
2 PREPARATORY FUNCTIONS
25
2. PREPARATORY FUNCTIONS NC FUNCTION B–64112EN/01
2.1 The following G codes are provided. The G codes are classified into
three: A, B, and C. One of the G code types can be selected using a
T SERIES parameter. In this manual, G code system B is assumed.
26
B–64112EN/01 NC FUNCTION 2. PREPARATORY FUNCTIONS
27
2. PREPARATORY FUNCTIONS NC FUNCTION B–64112EN/01
28
B–64112EN/01 NC FUNCTION 2. PREPARATORY FUNCTIONS
G00 Positioning
29
2. PREPARATORY FUNCTIONS NC FUNCTION B–64112EN/01
30
B–64112EN/01 NC FUNCTION 2. PREPARATORY FUNCTIONS
G92 Setting for work coordinate system or clamp at maximum spindle speed
00
G92.1 Workpiece coordinate system preset
G94 Feed per minute
05
G95 Feed per rotation
G96 Constant surface speed control
13
G97 Constant surface speed control cancel
31
3. INTERPOLATION FUNCTIONS NC FUNCTION B–64112EN/01
3 INTERPOLATION FUNCTIONS
32
B–64112EN/01 NC FUNCTION 3. INTERPOLATION FUNCTIONS
3.1 Positioning is done with each axis separately (Non linear interpolation
type positioning).
POSITIONING (G00) Either of the following tool paths can be selected accroding to bit 1 of
parameter No. 1401.
D Non linear interpolation positioning
The tool is positioned with the rapid traverse rate for each axis
separately. The tool path is normally straight.
D Linear interpolation posioning
The tool path is the same as in linear interpolation (G01). The tool is
positioned within the shortest possible time at a speed that is not more
than the rapid traverse rate for each axis.
When the acceleration/deceleration type is changed from the constant
acceleration (inclination) type to the constant time (time constant)
type, the tool can move along a specified path.
Format
G00 IP _ ;
33
3. INTERPOLATION FUNCTIONS NC FUNCTION B–64112EN/01
3.2 M series It is always controlled to perform positioning to the end point from a
single direction, for better precision in positioning. If direction from start
SINGLE DIRECTION point to end point is different from the predecided direction, it once
POSITIONING (G60) positions to a point past the end point, and the positioning is reperformed
(M series) for that point to the end point.
Even if the direction from start point to end point is the same as predecided
direction, the tool stops once before the end point.
Exceeded
amount
Format
G60 IP _ ;
34
B–64112EN/01 NC FUNCTION 3. INTERPOLATION FUNCTIONS
3.3 Linear interpolation is done with tangential direction feed rate specified
by the F code.
LINEAR
INTERPOLATION
X axis
(G01)
End point
(200, 150)
(Program example)
G01 G90 X200. Z150. F200 ;
Start point
Z axis
Format
G01 IP _ F_ ;
F : Feedrate
35
3. INTERPOLATION FUNCTIONS NC FUNCTION B–64112EN/01
Xp Zp Yp
G17 G18 G19
Feed rate of the tangential direction takes the speed specified by the F
code. Planes to perform circular interpolation is specified by G17, G18,
G19. Circular interpolation can be performed not only on the X, Y, and
Z axis but also on the parallel axes of the X, Y, and Z axes.
G17: Xp-Yp plane
G18: Zp-Xp plane
G19: Yp-Zp plane
where
Xp: X axis or its parallel axis
Yp: Y axis or its parallel axis
Zp: Z axis or its parallel axis
Parameter is set to decide which parallel axis of the X, Y, Z axes to be the
additional axis.
Format
Arc on the Xp-Yp plane
G02 R_
G17 Xp_ Yp_ F_ ;
G03 I_ J_
Arc on the Zp-Xp plane
G02 R_
G18 Zp_ Xp_ F_ ;
G03 K_ I_
Arc on the Yp-Zp plane
G02 R_
G19 Yp_ Zp_ F_ ;
G03 J_ K_
I_. J_, K_:Distance of the X, Y, Z axes from the start point to the center of
the circle
R:Arc radius (For an arc having a central angle of 180° or greater, specify
an R value with a minus sign. A complete circumference cannot be speci-
fied.)
End point End point End point
(x, y) (z, x) (y, z)
Y X Z
X Start Z Start Y Start
i point k point j point
j i k
Center Center Center
36
B–64112EN/01 NC FUNCTION 3. INTERPOLATION FUNCTIONS
The following shows the arc radius range that can be specified.
Input increments
37
3. INTERPOLATION FUNCTIONS NC FUNCTION B–64112EN/01
Tool path
X Y
Format
Arc on the Xp-Yp plane
G02 R_
G17 Xp_ Yp_ α_ (β_) F_ ;
G03 I_ J_
Arc on the Zp-Xp plane
G02 R_
G18 Zp_ Xp_ α_ (β_) F_ ;
G03 K_ I_
Arc on the Yp-Zp plane
G02 R_
G19 Yp_ Zp_ α_ (β_) F_ ;
G03 J_ K_
38
B–64112EN/01 NC FUNCTION 3. INTERPOLATION FUNCTIONS
3.6 The function in which contour control is done in converting the command
programmed in a cartesian coordinate system to the movement of a linear
POLAR COORDINATE axis (movement of a tool) and the movement of a rotary axis (rotation of
INTERPOLATION a workpiece) is the polar coordinate interpolation. It is an effective
(G12.1, G13.1) function when a straight line groove is cut on the outer diameter of a
workpiece or when a cam shaft is ground.
Whether the polar coordinate interpolation is done or not is commanded
by a G code.
These G codes shall be commanded in a single block.
Format
Explanations
D Polar coordinate The axes (linear axis and rotary axis) on which polar coordinate
interpolation mode interpolation is done are set beforehand by parameters.
(G12.1) Change the mode to polar coordinate interpolation mode by commanding
G12.1, and a plane (hereinafter referred to as polar coordinate
interpolation plane) is selected in which linear axis is made to the first
axis of the plane, and virtual axis being a right angle with the linear axis
is made to the second axis of the plane. Polar coordinate interpolation is
carried out on this plane.
In the polar coordinate interpolation made, the command of linear
interpolation (G01) and circular interpolation (G02, G03) is possible.
And both absolute command (G90) and incremental command (G91) are
possible.
For the program command it is possible to apply cutter compensation.
For the path after cutter compensation is done, polar coordinate
interpolation can be made.
As for feedrate, specify the tangential speed (relative speed between the
workpiece and the tool) on the polar coordinate interpolation plane
(cartesian coordinate system) with F.
D Polar coordinate The polar coordinate interpolation cancel mode is obtained by G13.1
interpolation cancel command.
mode (G13.1)
39
3. INTERPOLATION FUNCTIONS NC FUNCTION B–64112EN/01
Examples
D Polar coordinate
interpolation by X axis
(Linear axis) and C axis
(Rotary axis)
C′ (Virtual axis)
N204 N203
N205
N200 X axis
N202 N201
Tool
N208
N206 N207 Z axis
40
B–64112EN/01 NC FUNCTION 3. INTERPOLATION FUNCTIONS
3.7 When the form on the expanded side view of a cylinder (from on the
cylinder coordinate system) is commanded by a program command, the
CYLINDRICAL NC converts the form into a linear axis movement and a rotary axis
INTERPOLATION movement then performs a contour control. This feature is called the
(G07.1) cylindrical interpolation.
Cylindrical interpolation is commanded with G07.1.
Format
G07.1 (Name of rotary axis) Radius value of cylinder ;
Cylindrical interpolation mode
G07.1 (Name of rotary axis) 0 ;
Cancellation mode of cylindrical interpolation
Explanations
D Cylindrical interpolation Cylindrical interpolation is made between the rotary axis specified in the
mode block of G07.1 and the other optional linear axis.
Circle interpolation command is allowed as well as linear interpolation,
during cylindrical interpolation mode. Also, absolute command and
incremental command can be made. Cutter compensation can be added
to the program command. Cylindrical interpolation is made for the path
after cutter compensation.
Feed rate gives the tangential speed on the expanded plane of the cylinder
with F.
41
3. INTERPOLATION FUNCTIONS NC FUNCTION B–64112EN/01
Examples
An example of a program C
O0001 (CYLINDRICAL INTERPOLATION);
N1 G00 G00 Z100.0 C0;
N2 G01 G18 Z0 C0;
N3 G7.1 C57299; Z R
N4 G01 G42 Z120.0 D10 F250;
N5 G40.0;
N6 G03 Z90.0 C60.0 R30.0 ;
N7 G01 Z70.0;
N8 G02 Z60.0 C70.0 R10.0;
N9 G01 C150.0;
N10 G02 Z70.0 C190.0 R75.0;
N11 G01 Z110.0 C230.0;
N12 G03 Z120.0 C270.0 R75.0;
N13 G01 G360.0;
N14 G40 Z100.0;
N15 G07.1 C0;
N16
M30;
mm
N05 N12 N13
120
110 N06
N11
90
N07
70
N08 N09 N10
60
C
0 30 60 70 150 190 230 270 360 deg
42
B–64112EN/01 NC FUNCTION 4. THREAD CUTTING
4 THREAD CUTTING
43
4. THREAD CUTTING NC FUNCTION B–64112EN/01
4.1 By feeding the tool synchronizing with the spindle rotation, thread
cutting of the specified lead is performed. In addition to straight threads,
EQUAL LEAD taper threads and scroll threads can be cut with equal leads.
THREAD CUTTING
(G33) (WITH G CODE L L
SYSTEM A: G32)
Straight thread
L Taper thread
Scroll thread
Format
G33 IP_ F_ :
F_ : Lead along the long axis
(axis having the largest amount of travel)
NOTE
Leads exceeding the maximum cutting feed speed when
converted to per minute feed speed cannot be specified.
44
B–64112EN/01 NC FUNCTION 4. THREAD CUTTING
4.2 T series
MULTIPLE–THREAD
CUTTING (G33) (T
series)
Multiple–thread screws
Format
Constant–lead threading
G33 IP _ F_ Q_ ;
G33 IP_ Q_ ;
IP _ : End point
F_ : Lead in longitudinal direction
Q_ : Threading start angle
4.3 T series Variable lead thread cutting can be done by commanding long axis
direction lead and lead increase/decrease per spindle rotation.
VARIABLE LEAD
THREAD CUTTING
(G34) (T series)
Format
G34 IP_ F_ K_ :
IP _ : End point
F_ : Long axis direction lead at start point
K_ : Lead increase/decrease per spindle rotation
45
4. THREAD CUTTING NC FUNCTION B–64112EN/01
4.4 T series Continuous thread cutting in which thread cutting command block is
continuously commanded is available. As it is controlled so that the
CONTINUOUS spindle synchronism shift (occurred when shifting from one block to
THREAD CUTTING (T another) is kept to a minimum, special threads like threads which leads
series) or shape change during the cycle can also be cut.
G33 G33
G33
46
B–64112EN/01 NC FUNCTION 5. FEED FUNCTIONS
5 FEED FUNCTIONS
47
5. FEED FUNCTIONS NC FUNCTION B–64112EN/01
NOTE
The above feed rates are limits according to the NC’s
interpolation capacity when the high-resolution detection
interface is equipped. When the whole system is
considered, there are also limits according to the servo
system. For details, refer to Appendix A.
48
B–64112EN/01 NC FUNCTION 5. FEED FUNCTIONS
5.2 Feed rates of linear interpolation (G01), and circular interpolation (G02,
G03) are commanded with numbers after the F code.
CUTTING FEED RATE
5.2.2 Cutting feed rate upper limit can be set as parameters. If the actual cutting
Cutting Feed Rate feed rate (feed rate with override) is commanded exceeding the upper
limit, it is clamped to a speed not exceeding the upper limit.
Clamp
5.2.3 With the per minute feed mode G94, tool feed rate per minute is directly
Per Minute Feed (G94) commanded by numerical value after F.
Least command increment Cutting feed rate range
NOTE
The above feed rates are limits according to the NC’s
interpolation capacity. When the whole system is
considered, there are also limits according to the servo
system. For details, see Appendix A.
49
5. FEED FUNCTIONS NC FUNCTION B–64112EN/01
5.2.4 With the per revolution feed mode G95, tool feed rate per revolution of
Per Revolution Feed the spindle is directly commanded by numeral after F. A position coder
must be mounted on the spindle.
(G95) For the T series, however, the feed–per–revolution command can be
enabled by setting the corresponding parameter accordingly, even when
the position coder is not installed (feed per revolution without position
coder).
D M series Least command increment Cutting feed rate range
NOTE
The above feed rates are limits according to the CNC’s
interpolation capacity. When the whole system is
considered there are also limits according to the servo
system. For details, See Appendix A.
5.2.5 M series When a 1-digit number from 1 to 9 is commanded after the F, the preset
One–digit F Code Feed speed corresponding the 1-digit number commanded is set as feed rate.
When F0 is commanded, rapid traverse is set.
(M series) Set the one-digit F code feed rate change input signal on from the machine
side, and rotate the manual pulse generator. Feed rate of the currently
selected speed can be changed.
Feed rate set or changed will be memorized even after power is turned
off.
50
B–64112EN/01 NC FUNCTION 5. FEED FUNCTIONS
5.3
OVERRIDE
5.3.1 The per minute feed (G94) and per rotation feed (G95) can be overrided
Feed Rate Override by:
0 to 254% (per every 1%).
In inverse time, feed rate converted to per minute feed is overridden. Feed
rate override cannot be performed to F1-digit feed.
Feed rate also cannot be performed to functions as thread cutting and
tapping in which override is inhibited.
5.3.3 Feed rate override and the second feed rate override can be clamped to
100% by a signal from the machine side.
Override Cancel
5.3.4 The manual continuous feedrate and incremental feed rate can be
overridden by:
Jog Override
0% to 655.34% (in steps of 0.01%)
51
5. FEED FUNCTIONS NC FUNCTION B–64112EN/01
Rapid traverse
FR : Rapid traverse
FR TR : Acceleration/
deceleration time
constant
0
Time
TR TR
Jog feed
FC : Feed rate
FC TC : Acceleration/
deceleration time
constant
0
Time
TC TC
FL
0
Time
TJ TJ
52
B–64112EN/01 NC FUNCTION 5. FEED FUNCTIONS
Feedrate
Feedrate
0 0
Time Time
Acceleration
Acceleration
0 0
Time Time
53
5. FEED FUNCTIONS NC FUNCTION B–64112EN/01
5.6
LINEAR
ACCELERATION/ Speed
DECELERATION
AFTER CUTTING
FEED
INTERPOLATION
Time
TC TC
54
B–64112EN/01 NC FUNCTION 5. FEED FUNCTIONS
5.7
BELL–SHAPED
Feedrate
ACCELERATION/
B
DECELERATION F
AFTER CUTTING
FEED
INTERPOLATION F/2 A
0 TC/2 Time
TC TC
55
5. FEED FUNCTIONS NC FUNCTION B–64112EN/01
5.8 T series Generally, the CNC does not zero the feedrate at the interface of two
blocks during cutting feed.
ERROR DETECTION Because of this, a corner of a tool path may be rounded.
(T series)
This part causes the corner of the tool
path to be rounded.
Feedrate
Time
Time
NOTE
If the error detect signal is on, a cutting block is not executed
until the acceleration/deceleration of the previous cutting
block has been completed.
This function alone cannot prevent corner rounding due to
delay caused by the servo motor, however.
To prevent corner rounding due to delay caused by the
servo motor, use the in–position check function together
with this function.
After acceleration/
deceleration After servo motor delay
Feedrate
56
B–64112EN/01 NC FUNCTION 5. FEED FUNCTIONS
5.9 M series Move command in blocks commanded with G09 decelerates at the end
point, and in–position check is performed. G09 command is not
EXACT STOP (G09) necessary for deceleration at the end point for positioning (G00) and
(M series) in–position check is also done automatically. This function is used when
sharp edges are required for workpiece corners in cutting feed.
5.10 M series When G61 is commanded, deceleration of cutting feed command at the
end point and in–position check is performed per block thereafter. This
EXACT STOP MODE G61 is valid till G64 (cutting mode), G62 (automatic corner override), or
(G61) (M series) G63 (tapping mode) is commanded.
5.11 M series When G64 is commanded, deceleration at the end point of each block
thereafter is not performed and cutting goes on to the next block. This
CUTTING MODE (G64) command is valid till G61 (exact stop mode), G62 (automatic corner
(M series) override), or G63 (tapping mode) is commanded.
5.12 M series When G63 is commanded, feed rate override is ignored (always regarded
as 100%), and feed hold also becomes invalid. Cutting feed does not
TAPPING MODE (G63) decelerate at the end of block to transfer to the next block. And in-tapping
(M series) signal is issued during tapping operation. This G63 is valid till G61
(exact stop mode), G62 (automatic corner override), or G64 (cutting
mode) is commanded.
5.13 M series When G62 is commanded during cutter compensation, cutting feed rate
is automatically overridden at corner. The cutting quantity per unit time
AUTOMATIC CORNER of the corner is thus controlled not to increase. This G62 is valid till G61
OVERRIDE (G62) (exact stop mode), G64 (cutting mode), or G63 (tapping mode) is
(M series) commanded.
57
5. FEED FUNCTIONS NC FUNCTION B–64112EN/01
5.14 With the G04 command, shifting to the next block can be delayed.
When commanded with a per minute feed mode (G94), shifting to the next
DWELL (G04) block can be delayed for the commanded minutes.
When commanded with a per rotation feed mode (G95), shifting to the
next block can be delayed till the spindle rotates for the commanded
times.
Dwell may always be performed by time irrespective of G94 and G95 by
parameter selection.
Format
Per second dwell
G94 G04 P_ ;
X_
P_ or X_ : Dwell time commanded in seconds (0.001-99999.999 sec)
G95 G04 P_ ;
X_
P_ or X_ : Spindle rotation angle commanded in rev.
(0.001-99999.999 rev)
58
B–64112EN/01 NC FUNCTION 5. FEED FUNCTIONS
5.15 If rapid traverse blocks are specified successively, or if the block next to
a rapid traverse block does not include any tool movements, the execution
RAPID TRAVERSE of the next block can be started when the feedrate of each axis in the rapid
BLOCK OVERLAP traverse block has decreased to the parameter–set deceleration ratio.
Examples
X–axis feedrate
N1 G00 X– – ; N2 G00 X– – ;
NOTE
The parameter No.1722 is effective when parameter
No.1601 #4 (RT0) is set to 1.
59
6. REFERENCE POSITION NC FUNCTION B–64112EN/01
6 REFERENCE POSITION
60
B–64112EN/01 NC FUNCTION 6. REFERENCE POSITION
6.2 This function moves the machine to around the reference position set for
each axis in the manual continuous feed mode. Then it sets the reference
SETTING THE position for the machine in the manual reference position return mode
REFERENCE without the deceleration signal for reference position return. With this
POSITION WITHOUT function, the machine reference position can be set at a given position
DOGS without the deceleration signal for reference position return.
Explanations
D Setting the reference 1 Place the machine in the manual continuous feed mode, and perform
position positioning to a position near but not exceeding the reference position
from reference position return direction (setting by parameter).
2 Enter the manual reference position return mode, then input the feed
axis direction select signal (+) or (–) for the axis.
3 Positioning is made at the grid point located nearest from the current
point to reference position return direction. This point is recorded as
the reference position. If the absolute-position detector is provided,
the set reference position is retained after the power is turned off. In
this case, when the power is turned on again, there is no need for setting
the reference position again.
D Reference position 1 After the reference position is set, when the feed axis select signal (+)
return or (–) is input for the axis in the reference position return mode,
reference position return operation is performed in rapid traverse
regardless of which signal (+) or (–) is input.
61
6. REFERENCE POSITION NC FUNCTION B–64112EN/01
6.3 M series
AUTOMATIC
REFERENCE
POSITION RETURN
(G28, G29) (M series)
D Return to reference With the G28 command, the commanded axis is positioned to the
position (G28) reference position via the commanded point. After positioning, the
reference position return end lamp lights. If G28 was commanded when
reference position return is not performed after power on, reference
position return is done in the same sequence as the manual reference
position return.
G28 IP _ ;
D Return from reference With the G29 command, the commanded axis is positioned to the point
position (G29) commanded by G29, via the intermediate point commanded by G28.
(M series)
G29 IP _ ;
Reference position
Y
The programmer R
need not calculate a Suppose tool change
concrete movement was performed at R.
value between the
intermediate point
and the reference
position. B
Intermediate
A point
C
62
B–64112EN/01 NC FUNCTION 6. REFERENCE POSITION
6.4 This function is used to check whether the reference position return
command was performed correctly.
REFERENCE When G27 is commanded, the commanded axis is positioned to the
POSITION RETURN specified position, reference position return end signal is output if
CHECK (G27) reference position return is performed to the correct position, and alarm
arises it is not positioned correctly to the reference point.
This function is available after power is turned on an reference point
return is performed.
Format
G27 IP _ ;
6.5 With the G30 command, the commanded axis is positioned to the 2nd,
3rd, or the 4th reference position, via the commanded point. 2nd, 3rd, or
2ND, 3RD AND 4TH 4th reference position return end signal is output when positioning ends.
REFERENCE Set the 2nd, 3rd, and 4th reference position position as parameters.
POSITION RETURN This function is available after power is turned on and reference position
return is performed.
(G30)
G29 can be used to return from the 2nd, 3rd, and 4th reference point (same
as reference position return, G28) (M series only).
This function can be used once reference position return has been
performed after power–on.
Format
P2
G30 P3 IP _ ;
P4
P2, P3, P4: Select from 2nd, 3rd, or 4th reference positions.
If not selected, 2nd reference position return is
automatically selected.
63
6. REFERENCE POSITION NC FUNCTION B–64112EN/01
6.6 For reference position return using the grid method, you can shift the
reference position without having to move the deceleration dog, simply
REFERENCE by setting the amount of shift in a parameter.
POSITION SHIFT The time required to adjust the reference position is thus greatly reduced
because the deceleration dog need not be adjusted.
Direction of reference
LDEC LSFT position return
Deceleration dog
Machine
Grid point zero point
LSFT : Reference position shift
LDEC : Distance the tool moves between the deceleration dog being
turned off and the first grid point encountered subsequently
(grid point when the reference position shift is 0)
(LDEC is displayed on the diagnostic screen.)
64
B–64112EN/01 NC FUNCTION 6. REFERENCE POSITION
6.8 The linear scale with absolute addressing reference marks has reference
marks (one–rotation signals) at intervals that change at a constant rate.
LINEAR SCALE WITH By determining the reference mark interval, the corresponding absolute
ABSOLUTE position can be deduced. The CNC makes a small movement along an
ADDRESSING axis to measure the one–rotation signal interval, then calculates the
absolute position. The reference position can be established without
REFERENCE MARKS
performing positioning to the reference position.
ÈÈÈÈÈÈÈÈÈÈÈÈÈÈÈÈÈ
mark 1 mark 2 mark 1 mark 2 mark 1
ÈÈÈÈÈÈÈÈÈÈÈÈÈÈÈÈÈ
10.02 10.04 10.06
20.02
20.00 20.00
Fig. 6.8 Sample linear scale with absolute addressing reference marks
6.9 The linear scale expansion function with absolute addressing reference
marks which is an optional function measures the reference mark interval
LINEAR SCALE automatically to establish a reference position when a G00 command or
EXPANSION a jog–feed movement is specified.
FUNCTION WITH
ABSOLUTE
ADDRESSING
REFERENCE MARKS
65
7. COORDINATE SYSTEMS NC FUNCTION B–64112EN/01
7 COORDINATE SYSTEMS
By teaching the CNC the position the tool is to arrive, the CNC moves
the tool to that position. The position is specified using coordinates on a
certain coordinate system.
There are three types of coordinate systems.
D Machine coordinate system
D Workpiece coordinate system
D Local coordinate system
As necessary, one of the above coordinate systems is used for specifying
coordinates for the target position of the tool.
66
B–64112EN/01 NC FUNCTION 7. COORDINATE SYSTEMS
7.1 Machine coordinate system is a coordinate system set with a zero point
proper to the machine system.
MACHINE A coordinate system in which the reference point becomes the
COORDINATE parameter-preset coordinate value when manual reference point return is
SYSTEM (G53) performed, is set. With G53 command, the machine coordinate system
is selected and the axis is able to be moved in rapid traverse to the position
expressed by the machine coordinates.
Format
G53 IP _ ;
D High–speed G53 function When the function for overlap between rapid traverse blocks is enabled
between a block containing a machine coordinate system selection
command (G53) and a block containing a positioning (rapid traverse)
command (G00), the rapid traverse command (G00) can be executed
before the tool stops through deceleration at the end of the machine
coordinate system selection command (G53). This can speed up
positioning even when the machine coordinate system selection
command (G53) is used.
Format
G53 IP _ P1 ;
G53 : G code for selecting the machine coordinate system (00 group)
IP_ : End point dimension word
P1 : Enables the high–speed G53 function.
67
7. COORDINATE SYSTEMS NC FUNCTION B–64112EN/01
7.2 A coordinate system in which the zero point is set to a fixed point on the
workpiece, to make programming simple.
WORKPIECE A workpiece coordinate system may be set by using the following
COORDINATE methods:
SYSTEM (1) Using G92 (G50 for T series with G code system A)
(2) Automatic setting
(3) Using G54 to G59
When (1) is used, a workpiece coordinate system is established using the
numeric value programmed after G92.
When (2) is used, a workpiece coordinate system is automatically
established upon a manual reference position return, as specified in a
parameter.
When (3) is used, six workpiece coordinate systems must be set from the
MDI panel in advance. The workpiece coordinate system to be used is
selected by specifying a code selected from G54 to G59.
7.2.1
Setting a Workpiece
Coordinate System
(Using G92)
(with G Code System A:
G50)
Format
(G90) G92 IP _ ;
Examples
D Example 1 By using the above command, a workpiece coordinate system can be set
so that the current tool position is at a specified position.
M series T series
Z X
ÅÅ
ÅÅ
23.0
ÅÅ 375.1
φ128.7
Start
point
Z
X
0 25.2
68
B–64112EN/01 NC FUNCTION 7. COORDINATE SYSTEMS
D Example 2 Set the reference position on the tool holder or turret as shown in the figure
below, then specify G92 at the beginning of the program. By specifying
an absolute command in this condition, the reference position is moved
to a specified position. To move the tool tip to a specified position,
compensate the distance between the reference position and the tool tip
by using tool length compensation (for the M system) or tool offset (for
the T system).
M series T series
Reference
position 700.0
ÅÅÅ
1200.0 Start point
ÅÅÅ
= reference
position
φ1200.0
Z
X
0 600.0
Format
(G91) G92 X(u) Z(w) ;
69
7. COORDINATE SYSTEMS NC FUNCTION B–64112EN/01
Examples
ÅÅ
ÅÅ 30.56
10.2
ÅÅ
Z
70
B–64112EN/01 NC FUNCTION 7. COORDINATE SYSTEMS
7.2.3
Setting a Workpiece
Coordinate System
(Using G54 to G59)
Explanations
D Setting a workpiece Set six coordinate systems specific to the machine in advance. Then,
coordinate system select one of the six coordinate systems by using G54 to G59.
Format
Set the distance between the machine zero point and the zero point of each
of the six coordinate systems (offset from the workpiece zero point) in
advance.
There are two setting methods.
D Using the MDI
D Using a program (See Section 7.4.)
Workpiece coordinate systems 1 to 6 are established properly when return
to the reference position is performed after power is turned on.
Immediately after power is turned on, G54 is selected.
D Shift of workpiece The six workpiece coordinate systems can be shifted by a specified
coordinate systems amount (external offset from the workpiece zero point).
ZOFS2
ZOFS3
ZOFS4
ZOFS1
Workpiece
coordinate 5
(G58)
EXOFS ZOFS5
Machine reference position
Workpiece
coordinate 6
ZOFS6 (G59)
EXOFS : External reference offset value
ZOFS1 to ZOFS6 : Workpiece reference position offset value
71
7. COORDINATE SYSTEMS NC FUNCTION B–64112EN/01
7.2.4
Counter Input in a
Workpiece Coordinate
System
Explanations
D Inputting counter values On the workpiece coordinate system screen, when an axis address is
in a workpiece specified, then the [INP.C.] soft key is pressed, the relative coordinate
coordinate system value for the specified axis is set at the cursor position as workpiece
coordinate system data.
Examples When the cursor is positioned on the X–axis of the offset from the
workpiece zero point (G54) with the following relative coordinates:
72
B–64112EN/01 NC FUNCTION 7. COORDINATE SYSTEMS
7.3 With G52 commanded, the local coordinate system with the commanded
position as zero point can be set. Once the local coordinate system is set,
LOCAL COORDINATE values specified in subsequent move commands are regarded as
SYSTEM (G52) coordinate values on that coordinate system. Coordinates once set is
valid till a new G52 is commanded. This is used when, for example,
programming of a part of the workpiece becomes easier if there is a zero
point besides the workpiece coordinates’ zero point.
(Local coordinate
system)
IP
Workpiece coordi-
nate system 1 (G54) (Local coordinate
system)
G55 IP
Workpiece G56
zero point off- G57
set value G58 Workpiece coordi-
nate system 6 (G59)
Format
G52 IP _ ;
73
7. COORDINATE SYSTEMS NC FUNCTION B–64112EN/01
Format
G10 L2 Pp IP _ ;
74
B–64112EN/01 NC FUNCTION 7. COORDINATE SYSTEMS
7.5 M series Forty-eight workpiece coordinate systems can be added when existing
six workpiece coordinate systems (G54 - G59) are not enough for the
ADDITIONAL operation. Make a command as follows for selection of workpiece
WORKPIECE coordinate system.
COORDINATE
SYSTEMS (M series)
Format
G54.1 Pp IP _ ; or G54 Pp IP _ ;
The following are the methods of setting and changing of the workpiece
origin offset value as well as those used for the existing workpiece
coordinate systems of G54 to G59.
D Method via MDI
D Method via program
- G10L20Pp;
- Custom macro
75
7. COORDINATE SYSTEMS NC FUNCTION B–64112EN/01
7.6 The workpiece coordinate system with its zero position away by the
workpiece zero offset amount from the machine coordinate system zero
WORKPIECE position is set by returning the tool to the reference point by a manual
COORDINATE operation. Also, when the absolute position detector is provided, the
SYSTEM PRESET workpiece coordinate system is automatically set by reading the machine
coordinate value from the detector when power on without performing
(G92.1)
manual reference point return operation. The set workpiece coordinate
may shift by any of the following commands or operation:
D When manual interruption is performed with the manual absolute
signal off
D When the travel command is performed by the machine lock
D When axis travel is performed by the handle interrupt or auto/manual
simultaneous operation
D When operation is performed by mirror image
D When the setting of local coordinate system is performed by the G52
or change of workpiece coordinate system is performed by the G82
The workpiece coordinate system shifted by the above operation can be
preset by the G code instruction or MDI operation the same as
conventional manual reference point return.
Explanations
D Workpiece coordinate The workpiece coordinate system can be preset by commanding the
system preset by G code
command
G92.1 IP 0 ;
D Workpiece coordinate The workpiece coordinate system can be preset by the MDI operation
system preset by MDI with soft keys.
operation
76
B–64112EN/01 NC FUNCTION 7. COORDINATE SYSTEMS
7.7 T series When the coordinate system actually set by the G50 command or the
automatic system settingdeviates from the programmed work system,the
WORKPIECE set coordinate system can be shifted.
COORDINATE Set the desired shift amount in the workpiece coordinates system shift
SYSTEM SHIFT (T memory.
series)
X
x X–Z : Coordinate system in programming
x–z : Current set coordinate system with shift amount 0
ÅÅÅ
(coordinate system to be modified by shifting)
ÅÅÅ
ÅÅÅ
O
ÅÅÅ z
Shift
Z
O
Set the shift amount from O to O in the work coordinate system shift memory.
77
7. COORDINATE SYSTEMS NC FUNCTION B–64112EN/01
Explanations One of the existing parallel axes is determined by an axis address that
appears in the block for which G17, G18, or G19 is specified.
D Example 1 When X and U, Y and V, and Z and W are parallel to each other,
respectively
G17 X_ Y_ . . . . XY plane
G17 U_ Y_ . . . . UY plane
G18 X_ W_ . . . WX plane
G18 U_ W_ . . . WU plane
D Example 2 Planes remain unchanged in blocks for which G17, G18, or G19 is not
specified.
G18 X_ Z_ . . . . ZX plane
X_ Y_ . . . . Plane not changed (ZX plane)
D Example 3 If G17, G18, or G19 is specified for a block, and no axis address is
specified in that block, the axis addresses for the basic three axes are
assumed to be omitted.
G17 . . . . . . . . . . XY plane
G17 X_ . . . . . . . . XY plane
G17 U_ . . . . . . . . UY plane
NOTE
A parameter is used to specify which axis, X, Y, or Z the
additional axis is parallel to. The move command functions
regardless of the plane selection.
For example, suppose that the following is specified:
G17 Z_ ;
Axis Z does not exist on the XpYp plane. The XY plane is
just selected, and the Z axis is moved regardless of the
plane.
78
8. COORDINATE VALUE AND
B–64112EN/01 NC FUNCTION DIMENSION
79
8. COORDINATE VALUE AND
DIMENSION NC FUNCTION B–64112EN/01
8.1 There are two ways to command travels to the axes; the absolute
command, and the incremental command. In the absolute command,
ABSOLUTE AND coordinate value of the end point is programmed; in the incremental
INCREMENTAL command, move distance of the axis itself is programmed.
PROGRAMMING G90 and G91 are used to command absolute or incremental command.
G90 : Absolute command
(G90, G91)
G91 : Incremental command
Y
End point
70.0
40.0 100.0
Example
X_ W_ ;
80
8. COORDINATE VALUE AND
B–64112EN/01 NC FUNCTION DIMENSION
8.2 M series The end point coordinate value can be input in polar coordinates (radius
and angle). Use G15, G16 for polar coordinates command.
POLAR COORDINATE
COMMAND (G15, G16) G15 : Polar coordinate system command cancel
(M series) G16 : Polar coordinate system command
150°
30°
270° X
100mm
81
8. COORDINATE VALUE AND
DIMENSION NC FUNCTION B–64112EN/01
8.3 Conversion of inch and metric input can be commanded by the G code
command.
INCH/METRIC G20 : Inch input
CONVERSION G21 : Metric input
(G20, G21) Whether the output is in inch system or metric system is parameter-set
when the machine is installed.
Command G20, G21 at the head of the program. (This specification must
be performed at the reference position.)
Inch/metric conversation can also be done by MDI setting.
The contents of setting data differs depending on whether G20 or G21 is
commanded.
8.4 Numerals can be input with decimal points. Decimal points can be used
basically in numerals with units of distance, speed, and angle. The
DECIMAL POINT position of the decimal point is at the mm, inch, deg position.
INPUT/POCKET There are two types of decimal point notation: calculator–type notation
CALCULATOR TYPE and standard notation.
When calculator–type decimal notation is used, a value without decimal
DECIMAL POINT
point is considered to be specified in millimeters, inch or deg. When
INPUT standard decimal notation is used, such a value is considered to be
specified in least input increments.
Use parameters to select input method; whether to input by pocket
calculator type input, or by the usual decimal point input.
Values can be specified both with and without decimal point in a single
program.
Pocket calculator type
Usual decimal point
Program command decimal point
programming
programming
82
8. COORDINATE VALUE AND
B–64112EN/01 NC FUNCTION DIMENSION
8.5 T series Since the work cross section is usually circular in latches, its dimensions
can be specified in two ways when performing a thing:
DIAMETER AND
RADIUS When the diameter is specified, it is called diameter programming, and
when the radius is specified, it is called radius programming.
PROGRAMMING (T The diameter programming or radius programming can be selected by
series) parameter for each axis.
X axis
A
B R2
R1 Z axis
D1 D2
8.6 A linear axis refers to an axis moving linearly, and for it values are
specified in mm or inches.
LINEAR AXIS AND A rotation axis refers to a rotating axis, and for it values are specified in
ROTATION AXIS degrees.
For rotation axes, note the following:
8.7 The rotation axis roll-over function rounds the absolute coordinate value
and relative coordinate value of a rotation axis to a coordinate value
ROTARY AXIS within one rotation. This prevents coordinate values to overflow.
ROLL-OVER In an incremental command, the specified value is regarded as the amount
FUNCTION of travel.
In an absolute command, the specified value is rounded to within one
rotation. The resulting coordinate value is used as the end point. A
parameter is used to specify whether to determine the move direction by
the sign of the specified value or by the move distance (the shortest move
distance to the end point is selected).
83
9. SPINDLE SPEED FUNCTIONS NC FUNCTION B–64112EN/01
84
B–64112EN/01 NC FUNCTION 9. SPINDLE SPEED FUNCTIONS
9.1 Specify the spindle speed with up to five digits immediately after address
S. The 5-digit numeric value is output to the PMC as a 32-bit binary code.
S CODE OUTPUT The code is maintained until another S is specified. The maximum
number of input digits for S can be specified using a parameter.
9.2 The speed of the analog interface spindle is controlled. Specify the spindle
speed with up to five digits immediately after address S. According to the
SPINDLE SPEED specified spindle speed, a speed command is output to the spindle motor
ANALOG OUTPUT in a form of analog voltage. During constant surface speed control, an
(S ANALOG OUTPUT) analog voltage is output so that it matches the spindle speed reached after
constant surface speed control.
9.4 If a speed command for the spindle motor is input in a form of [sign +
12-bit binary code], the command is output to the spindle motor according
SPINDLE OUTPUT to the input.
CONTROL BY THE
PMC
85
9. SPINDLE SPEED FUNCTIONS NC FUNCTION B–64112EN/01
9.5 Whether to perform constant surface speed control is specified using G96
or G97.
CONSTANT SURFACE G96 : Constant surface speed control mode
SPEED CONTROL G97 : Constant surface speed control cancel mode
If the surface speed is specified with an S code (S followed by a numeric
value) in the constant surface speed control mode, the spindle speed is
controlled so that a constant surface speed can be maintained while the
tool position is changing.
The axis on which the calculation for constant surface speed control is
based can be specified with either a parameter or the following command:
G96 Pα ; P0 : Axis specified with a parameter
Pα : αth axis (α = 1 to 8)
The specifiable range of the S code is as follows:
1 to 99999 m/min or feet/min
In the constant surface speed control cancel mode, the spindle speed is
specified using an S code.
In the constant surface speed control mode, a constant surface speed
control on signal is output.
By specifying the following command, the maximum spindle speed can
be set:
G50 S_ ; (with the G code system A in T series)
or
G92 S_ ; (where, S-- is the maximum spindle speed in min–1)
The spindle speed is clamped when it reaches the specified maximum
spindle speed.
A machine that does not have (or which does not use) a position coder
cannot perform feed per rotation under constant surface speed control.
9.7 T series Actual spindle speed calculated by the return pulses of the position coder
on the spindle is output in 16-bit binary code.
ACTUAL SPINDLE
SPEED OUTPUT (T
series)
86
B–64112EN/01 NC FUNCTION 9. SPINDLE SPEED FUNCTIONS
9.8 T series In turning operation, the spindle connected to the spindle motor rotates
at a certain speed, and the workpiece attached to the spindle is then turned.
SPINDLE The spindle positioning function moves the spindle connected to the
POSITIONING (T spindle motor by a given angle so that the workpiece attached to the
series) spindle is positioned at a desired angle.
With this function, any portion of the workpiece can be drilled.
The spindle position is detected by the position corder attached to the
spindle.
Whether to use the spindle for spindle positioning (spindle positioning
mode) or to use the spindle for spindle rotation (spindle rotation mode)
is command by special M code (set by parameters).
D Move command
When commanded:
G00 C_ ;,
The spindle is positioned to the commanded position by rapid
traverse. Absolute (G90) and incremental (G91) command, as well
as decimal point input is possible.
D Increment system
Least input increment: 0.001 deg.
Detection unit: (360×N)/4096 deg.
N: Combination ratio of position coder and spindle (N=1, 2, 4)
87
9. SPINDLE SPEED FUNCTIONS NC FUNCTION B–64112EN/01
9.9 This function monitor spindle speed, detects a higher level of fluctuation
than the commanded speed and signals an abnormality, if any, to the
SPINDLE SPEED machine side, using an alarm, thereby preventing the spindle from
FLUCTUATION seizure, for example. Whether the spindle speed fluctuation detection is
DETECTION done or not is specified by G code.
G25 : Spindle speed fluctuation detection is off.
(G25, G26)
G26 : Spindle speed fluctuation detection is on.
Format
G26 P_ Q_ R_ ;
P_ : Time from the change of spindle speed to the start of the spindle
speed fluctuation detection (Unit: msec)
Q_ : The ratio of spindle speed to the specified spindle speed
where spindle speed fluctuation detection starts (Unit: %)
R_ : Fluctuation ratio regarded as an alarm (Unit: %)
NOTE
1 The value of P, Q, and R remains after the power off.
2 The actual spindle speed is calculated by the return pulses
generated from the position coder attached to the spindle.
88
B–64112EN/01 NC FUNCTION 9. SPINDLE SPEED FUNCTIONS
D When an alarm is
generated after the
spindle speed becomes Spindle
the commanded speed. speed
r
d
q Specified
q d speed
r
Actual
speed
NO
CHECK CHECK CHECK
Time
Specify Check Alarm
different start
speed
D When an alarm is
generated before the
spindle speed becomes Spindle
the commanded speed. speed
r
q d Specified
q d speed
r
Actual
speed
NO
CHECK CHECK CHECK
Time
Specify Check Alarm
different start
speed
89
9. SPINDLE SPEED FUNCTIONS NC FUNCTION B–64112EN/01
9.10 The serial interface spindle permits positioning and linear interpolation
with another servo axis. Thus, linear interpolation between the spindle
Cs CONTOUR and a servo axis can be specified.
CONTROL
Explanations
D Control mode The serial interface spindle has two modes.
- The spindle rotation control mode controls the speed of the spindle.
(The spindle is rotated according to a speed command.)
- The spindle contour control mode (also called Cs contour control)
controls the position of the spindle. (The spindle is rotated according
to a move command.)
These modes are switched by a signal sent from the PMC.
D Spindle contour control The axis subject to spindle contour control is placed as one of the CNC
axis control axes. Any of the control axes can be selected as the spindle contour
control axis.
D Move command In manual and automatic operation, a move command for the spindle
contour control axis is programmed in the same way as for a servo axis.
Example) Let the name of the spindle contour control axis be C.
G00 C30.0 ; (Positioning)
G01 X100.0 Y100.0 C90.0 F1000.0 ; (Linear interpolation)
D Automatic loop gain - Switching from spindle rotation control to spindle contour control
setting when switching If there is a difference in servo loop gain between the axis subject to
between spindle rotation spindle contour control and the other servo axes, linear interpolation
control and spindle with the spindle contour control axis cannot be performed properly.
contour control is made As soon as spindle rotation control is switched to spindle contour
control, an appropriate spindle contour control servo loop gain for a
selected gear is automatically set for a necessary servo axis. The axis
for which the servo loop gain is to be changed, and the spindle contour
control servo loop gain for this axis must be set in parameters for each
gear beforehand.
- Switching from spindle contour control to spindle rotation control
As soon as spindle contour control is switched to spindle rotation
control, the original servo loop gain is set for the servo axis
automatically.
90
B–64112EN/01 NC FUNCTION 9. SPINDLE SPEED FUNCTIONS
9.11 Up to two spindles can be controlled. The three spindles are called the first
and second spindles. The first and second spindles are made up of serial
MULTI–SPINDLE interface spindles, and the third spindle is of an analog interface spindle.
CONTROL (However, the second and third spindles must be selected.)
A spindle speed is specified with a 5-digit numeric value following S.
This command functions on the spindle selected by spindle selection
signals (SWS1 to SWS3). More than one spindle can be selected so that
they can be rotated at the same time by specifying the same command.
Each spindle holds a specified command (spindle speed). When the
spindle is not selected by the spindle selection signal, the spindle rotates
at the held spindle speed. By using this feature, the spindles can be rotated
at different speeds at the same time. For each spindle, a signal to stop
spindle rotation is provided (*SSTP1 to *SSTP3). With these signals,
unnecessary spindles can be placed in the stopped state.
Feedback pulses from the position coders connected to the first and
second spindles can be input to the CNC to perform threading and feed
per rotation. One of the position coders connected to the first and second
spindles is selected by a signal. The feedback pulse from the selected
coder is then input to the CNC. From the third spindle, no feedback pulse
can be input.
The multi–spindle control functions of the M and T series differ as
follows:
D For the M series, multi–spindle control is possible only when spindle
gear selection type T is specified.
D For the M series, rigid tapping spindle selection signals (RGTSP1,
RGTSP2, and RGTSP3) cannot be used.
SWS1
*SSTP1 1st Position
Hold spindle coder
SWS2
*SSTP2 2nd Position
Hold spindle coder
S
command
SWS3 *SSTP3
3rd
Hold (Analog spindle)
spindle
91
9. SPINDLE SPEED FUNCTIONS NC FUNCTION B–64112EN/01
9.12 In machine tools having two spindles (such as a lathe), the speeds of the
two spindles sometimes have to match. This requires when a workpiece
SPINDLE held on the first spindle is transferred to the second spindle while the
SYNCHRONOUS spindles are rotating, and when acceleration/deceleration is performed
CONTROL while a workpiece is being held by the first and second spindles.
When a workpiece having a different figure is transferred between the
spindles, the rotation phases (rotation angles) of the spindles must also
match.
The serial interface spindle synchronous control function is provided to
provide synchronous control for two spindles.
9.13 You can perform spindle orientation simply by mounting a position coder
on the spindle. Stoppers or pins for physically stopping the spindle at a
SPINDLE specified position are not necessary. A spindle can be instantly oriented,
ORIENTATION even when rotating at high speed, thereby greatly reducing the orientation
time.
9.14 Spindle output switching switches between the two windings, one for low
speed and the other for high speed, incorporated into the special spindle
SPINDLE OUTPUT motors. This ensures that the spindle motor demonstrates stable output
SWITCHING characteristics over a wide range.
92
B–64112EN/01 NC FUNCTION 10. TOOL FUNCTIONS
10 TOOL FUNCTIONS
93
10. TOOL FUNCTIONS NC FUNCTION B–64112EN/01
10.1
T CODE OUTPUT
M series A tool can be selected by specifying a tool number of up to eight digits
immediately after address T. The tool number is output to the PMC in a
32-bit binary code. This code is kept till the next T code is commanded.
Maximum input digits are set by parameters.
T series A tool and offset can be selected by specifying a tool number and offset
number of up to eight digits (in total) immediately after address T. The
offset number is specified with the last one or two digits of the T code.
The tool number is specified with the remaining digits after excluding the
one or two digits used to specify the offset number.
When the last one digit is used to specify the offset number:
T fffffffl
Offset number
Tool number
When the last two digits are used to specify the offset number:
T ffffffll
Offset number
Tool number
The tool number is output in a 32-bit binary code. This code is kept till
the next T code is commanded. Maximum input digits are set by
parameters.
94
B–64112EN/01 NC FUNCTION 10. TOOL FUNCTIONS
10.2
TOOL LIFE
MANAGEMENT
10.2.1
Tool Life Management
Tools are classified into groups, and tool life (hours and times of use) is
set for each group. When use of the tool exceeds the preset hours or times
of use, another tool in the same group which has not yet exceeded the
preset life time is selected. If all the tool in a group exceeds the preset
life time, a signal is output to inform the operator that the tools must be
changed to new tools. With setting the cutter radius compensation
number and the tool length compensation number of the tools,
compensation corresponding to each tool can also be done. (M series)
With use of this function Factory Automation (FA) comes to a reach.
This function has the following features:
D Tool life can be set in hours or times of use.
D New tool select signal output
This signal is output when a new tool is selected in a group. This can
also be used for automatic measurement in compensations of the new
tools.
D Tool change signal
When all the tools of a group has exceeded their life time, this signal
is output to inform the operator.
D Tool skip signal
By inputting this signal, tools still not exceeding their life time, can
also be changed.
D Tool life management data is display/modification
Tool life management data is displayed on the cRT screen, informing
the operator of the condition of the tools at a single view. If necessary,
the counter value of tool life can be modified via the MDI panel.
Number of groups and number of tools per group is selected by
parameter from the following.
M series T series
Number of Number of
Number of tools Number of tools
groups groups
16 16 16 16
32 8 32 8
64 4 64 4
95
10. TOOL FUNCTIONS NC FUNCTION B–64112EN/01
10.2.2 M series The following features are added to the tool life management function for
Extended Tool Life easier handling:
Management (M series) D Setting tool life management data for each tool group by program
Addition, modification, and deletion can be made to only the tool life
management data of a specified group; the tool life management data
of the other groups is left intact.
A tool life is set for each tool group by time or use count.
D Displaying and editing tool life management data
All tool life management data is displayed on the screen, and so the
user can understand the current tool state instantly. The following data
items are displayed:
- Tool group number of the tool currently used
- Tool group number selected next
- Tool life Life, life counter value
management List of tool numbers in the group
data Cutter compensation number and tool
length compensation corresponding to
each tool number
Use state for each tool (for example,
indicating whether tool life is reached)
Tool life management data can be modified at the MDI panel. In
addition, tool numbers can be added, changed, and deleted.
D Life count override
If a tool life is set by time, actual time obtained by multiplying the use
time of a tool by a magnification (override value) can be added to the
life counter. An override value from 0 to 99.9 is specified in steps of
0.1 by a signal sent from the PMC.
Example)
If the override value is 0.1, and the use time of a tool is ten minutes,
the life counter is incremented by one minute.
D Tool life notice signal
When the rest of the tool life (remainder value) until a new tool is
selected is set as a value common to all groups, a signal is output to
the PMC when the value obtained by the subtraction (the life value
(LIFE) minus the counter value (COUNT)) has reached the set
remainder value.
96
B–64112EN/01 NC FUNCTION 11. AUXILIARY FUNCTIONS
11 AUXILIARY FUNCTIONS
97
11. AUXILIARY FUNCTIONS NC FUNCTION B–64112EN/01
NOTE
1 The maximum input value of the first M code is 99999999,
while the maximum input values of the second and third M
codes are 65535.
2 A strobe signal is provided for each of the first to third M
codes (MF, MF2, and MF3).
When all the operations for the first to third M codes are
completed, completion signal FIN is output.
98
B–64112EN/01 NC FUNCTION 11. AUXILIARY FUNCTIONS
M10 M20
M command Mxx
Code signal
Strobe signal MF
M function completion
signal MFIN
M10 M20
M command Mxx
Code signal
Strobe signal MF
99
11. AUXILIARY FUNCTIONS NC FUNCTION B–64112EN/01
NOTE
1 Either the conventional system or the high-speed system
can be selected for communication of strobe signal and
completion signal.
2 In the conventional system, only one completion signal is
available for all functions of M/S/T/B. However, in the high-
speed system, one completion signal is available for each
of M/S/T/B functions.
100
B–64112EN/01 NC FUNCTION 12. PROGRAM CONFIGURATION
12 PROGRAM CONFIGURATION
101
12. PROGRAM CONFIGURATION NC FUNCTION B–64112EN/01
12.2 A program name can be given to the program to distinguish the program
from other programs when displaying all the registered program on a
PROGRAM NAME screen. Register the name between the control-out and the control-in.
Any codes usable in the CNC can be used for the program name.
The program name is displayed with the program number in the directory
display of registered programs. Note that the program name displayed is
within 31 characters.
Example) 01234 (PROGRAM FOR ATC);
12.3 A program is divided into the main program and the sub program. The
CNC normally operates according to the main program, but when a
MAIN PROGRAM command calling a sub program is encountered in the main program,
control is passed to the sub program. When a command indicating to
return to the main program is encountered in the sub program, control is
returned to the main program.
102
B–64112EN/01 NC FUNCTION 12. PROGRAM CONFIGURATION
Main program Sub program Sub program Sub program Sub program
O0001 ; O1000 ; O2000 ; O3000 ; O4000 ;
Format
103
12. PROGRAM CONFIGURATION NC FUNCTION B–64112EN/01
12.5 When memory is used, a program cataloged in the floppy cassette can be
called and executed as a sub program.
EXTERNAL MEMORY A sub program is called from the floppy cassette when the program using
AND SUB PROGRAM the memory executes the following block.
CALLING FUNCTION
Format
Sub program calling
M198 P fff ffff ;
NOTE
1 Whether address P specifies the file number or program
number is selected by a parameter.
2 In the program called by M198, no more sub program can
be called by M198.
12.6 Sequence number can be given in a 5-digit number after the address N at
the head of the program block.
SEQUENCE NUMBER The sequence number of the program under execution is always displayed
on the screen. The sequence number can also be searched in the program
by the sequence number search function.
12.7 Either the EIA or the ISO code can be used as tape code. The input
program code is distinguished with the first end of block code (EIA: CR,
TAPE CODES ISO: LF). See the List of Tape Codes for tape codes used.
104
B–64112EN/01 NC FUNCTION 12. PROGRAM CONFIGURATION
12.8 The following table shows the basic addresses and the range of values to
be specified. The range, however, is that of CNC. Note that the range of
BASIC ADDRESSES the machine is different from this.
AND COMMAND
VALUE RANGE
D Basic Addresses and Function Address Metric input Inch input
Range of Values to Be
Specified (M series) Program number O (Note1) 1–9999 1–9999
M 0–99999999 0–99999999
Miscellaneous func-
tion
B 0–99999999 0–99999999
0–99999.999 0–99999.999
IS–B
(sec or rev) (sec or rev)
Dwell X, P
0–9999.9999 0–9999.9999
IS–C
(sec or rev) (sec or rev)
Program number
P 1–9999 1–9999
specification
Number of subpro-
P 1–999 1–999
gram repetitions
105
12. PROGRAM CONFIGURATION NC FUNCTION B–64112EN/01
Preparatory
G 0–999 0–999
function
M 0–99999999 0–99999999
Miscellaneous func-
tion
B 0–99999999 0–99999999
0–99999.999 0–99999.999
IS–B
(sec or rev) (sec or rev)
Dwell P, X, U
0–9999.9999 0–9999.9999
IS–C
(sec or rev) (sec or rev)
Program number
P 1–9999 1–9999
specification
Number of subpro-
P 1–999 1–999
gram repetitions
Sequence number
P, Q 1–99999 1–99999
specification
NOTE
1 “:” can be used for 0 in ISO Code.
2 Coordinates maximum command value for inch input/metric
output is limited to: ±3937.0078 inch (IS–B)/ ±393.70078
inch (IS–C).
106
B–64112EN/01 NC FUNCTION 12. PROGRAM CONFIGURATION
12.9 The variable block word address format with decimal point is adopted as
tape format. See List of Tape Format in Appendix C for details on tape
TAPE FORMAT formats.
12.10 Label skip function is valid in the following cases, and “LSK” is
displayed on the screen.
LABEL SKIP D When power is put on.
D When the NC is reset.
When label skip function is in valid, all codes to the first encountered end
of block (EOB) code are ignored.
The ignored part is called “Reader part”, and section after the first end of
block (EOB) code, “significant information”.
12.11 Information between the control-in and the control-out are regarded as
notes and are ignored.
CONTROL-IN/ The reset codes (ISO code: %, EIA code: ER) cannot be used in this part.
CONTROL-OUT The ignored part is called “Notes”.
ISO code EIA code
12.12 When a slash and number ( /n) is programmed at the head of a program,
and when the machine is operated with the optional block skip switch n
OPTIONAL BLOCK on the machine operator’s panel on, information in the block commanded
SKIP with the /n corresponding to the switch number n is ignored.
If the optional block skip switch n is turned off, information in the /n
commanded block will not be ignored. The block with /n commanded can
be skipped by the operator’s selection.
I can be used for n. The 1 to /1 can be omitted.
Example) /1 N12345 G00 X100.Z200.;
12.14 A parity check is made on the number of punch holes for each input tape
character. If the parity does not match, an alarm occurs (TH check). A
TAPE HORIZONTAL parity check is made on each input data block. If the number of characters
(TH) PARITY CHECK in one block (from the code next to EOB to another EOB) is odd, an alarm
AND TAPE VERTICAL occurs (TV check). The TH or TV check cannot be made on the area
skipped by the label skip function. The TH check is not made on the
(TV) PARITY CHECK
command field.A parameter can be used to specify whether the characters
constituting comments are to be counted when obtaining the number of
characters for TV check. The TV check function is validated or
invalidated according to the value set on the MDI panel.
107
13. FUNCTIONS TO SIMPLIFY
PROGRAMMING NC FUNCTION B–64112EN/01
108
13. FUNCTIONS TO SIMPLIFY
B–64112EN/01 NC FUNCTION PROGRAMMING
13.1 M series Canned cycle is a function to simplify commands for machining (boring,
drilling, or tapping, etc. The canned cycle has the positioning plane and
CANNED CYCLES the drilling axis. The positioning plane is specified with the plane
(G73, G74, G76, selection of G17, G18, and G19. The drilling axis is the basic axis X, Y
G80-G89, G98, G99) or Z (that does not compose the positioning plane) or its parallel axis.
(M series) G code Positioning plane Drilling axis
The drilling axis address commanded in the same block as the G codes,
G73 - G89, decides whether the drilling axis is the basic axis or its parallel
axis. If the drilling axis address was not commanded, the basic axis
becomes the drilling axis.
Axis other than the drilling axis becomes the positioning axis.
Example)
When U, V, W axes are set as parallel axes for X, Y, Z axes respectively.
G17G81 . . . . Z_ ; Drilling axis is Z axis.
G17G81 . . . . W_ ; Drilling axis is W axis.
G18G81 . . . . Y_ ; Drilling axis is Y axis.
G18G81 . . . . V_ ; Drilling axis is V axis.
G19G81 . . . . X_ ; Drilling axis is X axis.
G19G81 . . . . U_ ; Drilling axis is U axis.
It is not always necessary to command G17, G18, G19 in the same
block as G73 - G89.
NOTE
Z axis can always be appointed the drilling axis by
parameter setting.
Positioning can be commanded with optional axes other than the drilling
axis. The drilling cycle starts after the positioning.
The following explanations are done on the XY plane, and Z axis as the
drilling axis.
The following 13 types of canned cycles are available.
109
13. FUNCTIONS TO SIMPLIFY
PROGRAMMING NC FUNCTION B–64112EN/01
Operation
G code Function
G98 mode G99 mode
Initial level
R point
R point R point level
G73 q d q d High–speed
peck drilling
cycle
q q (Note 1)
d d
q q
Z point Z point
Initial level
Spindle
CCW
Spindle P
Counter
G74 CCW tapping cycle
R point R point R point level
P
Z point
P Z point
P
Spindle CW
Spindle CW
Spindle
CW
Initial
level
Spindle CW
G76 R point R point R point FIne boring
level cycle
P P
OSS Z point OSS q Position
q Z
110
13. FUNCTIONS TO SIMPLIFY
B–64112EN/01 NC FUNCTION PROGRAMMING
Operation
G code Function
G98 mode G99 mode
Initial level
Drilling cycle
G81 (Spot drilling)
R point
Positon R R point level
Z point Z point
Initial level
Drilling cycle
G82 R point (Counter
R point R point level boring)
P Z point P Z point
Initial level
R point
R point R point level
G83 Peck drilling
q d q d cycle
(Note 1)
q d q d
q q
Z point Z point
Initial level
R point R point
d d
111
13. FUNCTIONS TO SIMPLIFY
PROGRAMMING NC FUNCTION B–64112EN/01
Operation
G code Function
G98 mode G99 mode
Initial level
Spindle CW
Spindle CW P Tapping cycle
G84 P
Positon R Positon R R point
level
Z point Z point
P P
Spindle CCW Spindle CCW
Initial level
Boring cycle
G85
R point
Positon R Positon R level
Z point Z point
Spindle CW
Initial level
Spindle CW
Z point Z point
q
OSS
Spindle CW
G87 Not used Back boring
OSS cycle
Z point
P
Spindle CW
R point
112
13. FUNCTIONS TO SIMPLIFY
B–64112EN/01 NC FUNCTION PROGRAMMING
Operation
G code Function
G98 mode G99 mode
Spindle CW
Initial level
Spindle CW Boring cycle
G88
R point R point
level
Z point Z point
P P Dwell
Dwell
Spindle stop Spindle stop
Initial level
Boring cycle
G89
R point R point R point
level
Z point Z point
P P
P Dwell
Z Z point
(Hole bottom position)
Note 1 “d” of G73 and G83 is set by parameters.
113
13. FUNCTIONS TO SIMPLIFY
PROGRAMMING NC FUNCTION B–64112EN/01
When the drilling axis is Z axis, machining data in the canned cycle is
commanded as follows:
Format
Gff X_ Y_ Z_ R_ Q_ P_ K_ F_ ;
Drilling mode Gff ; See previous table.
Drilling position dataX, Y ; Command position of the hole.
Z : Specify hole end position shown in the previous table.
R : Specify R point position shown in the previous table.
Q : Specify cutting quantity with G73, G83, and shift quantity with
G76, G87,
P : Specify dwell time at the hole bottom.
K : Specify how may times to repeat.
When specified K0, drilling data will be set, but no drilling will
be done.
F : Specify feed rate for cutting.
Explanations
D R point level return (G99) By specifying G99, return point in canned cycle is specified to R point.
The drilling starts from the end point of the previous block. If the previous
block has ended in the initial point, it begins from the initial point and
returns to the R point.
Example) When G81 was commanded under G99 mode
Initial level
Cutting feed
Rapid traverse
R point
D Initial level return (G98) By specifying G98, return point in canned cycle is specified to the initial
level. The drilling starts from the end point of the previous block. If the
previous block has ended in the R point, it begins from the R point and
returns to the initial point.
Example) When G81 was commanded under G98 mode
Rapid traverse
R point
114
13. FUNCTIONS TO SIMPLIFY
B–64112EN/01 NC FUNCTION PROGRAMMING
13.2
RIGID TAPPING
13.2.1 In tapping, the feed amount of drilling axis for one rotation of spindle
Rigid Tapping should be equal to the pitch of screw of tapper. Namely, the following
conditions must be satisfied in the best tapping:
P= F/S,
where P : Pitch of screw of tapper (mm)
F : Feed rate of drilling axis (mm/min)
S : Spindle speed (rpm)
The rotation of spindle and feed of Z axis are independently controlled in
the tapping cycle G74/G84 (M series), G84/G88 (T series). Therefore, the
above conditions may not always be satisfied. Especially at the hole
bottom, both the rotation of spindle and feed of drilling axis reduce the
speed and stop. After that, they move in the inverse direction while
increasing the speed. However, the above conditions may not be satisfied
in general since each acceleration/deceleration is performed
independently. Therefore, in general, the feed is compensated by
mounting a spring to the inside of holder of tapper to improve the accuracy
of tap cutting.
The rotation of spindle and feed of drilling axis are controlled so that they
are always synchronous each other in the rigid tapping cycle. Namely, in
other than rigid tapping, control for speed only is performed. In the rigid
tapping however, position control is also performed during the rotation
of spindle, that is, the rotation of spindle and feed of drilling axis are
controlled as linear interpolation of two axes.
This allows the following condition to be satisfied also during
acceleration/deceleration at the hole bottom and a tapping of improved
accuracy to be made.
P = F/S
The pitch of screw tap can be directly specified.
Rigid tapping can be performed by executing any of the following
commands:
M29 Sfffff before tapping command G74/G84 (M series)
or G84/G88 (T series)
M29 Sfffff in the same block as tapping command G74/G84
(M series) or G84/G88 (T series)
G74/G84 (M series) or G84/G88 (T series) as rigid tapping G code
(Whether G74/G84 (G84/G88) is used as rigid tapping G code or
ordinary tapping G code can be selected with a parameter.)
115
13. FUNCTIONS TO SIMPLIFY
PROGRAMMING NC FUNCTION B–64112EN/01
Spindle control
(voltage calculation of
spindle speed rpm)
CMR
Distrib- ×4 Error D/A Spindle Spindle
uted counter converter amplifier motor
pulse
Gear ratio
n:m
DMR
×4 Position Gear ratio Spindle
coder 1:p
Even use of the spindle motor incorporating the position coder enables
rigid tapping. In this case, the gear ratio of the spindle motor and the
spindle is set by the parameter.
In addition, use of the spindle motor incorporating the position coder
enables rigid tapping but disables threading and per revolution dwell.
Pull–out override
D Parameter setting–based Override with a previously set parameter value can be applied to the
method pull–out operation.
Theoretically, it is possible to apply a pull–out override of up to 2000%
(20 times). (Also take machine–imposed restrictions into account.)
If an override result would exceed the maximum permissible spindle
rotation speed (specified in a parameter) for rigid tapping, the actual
spindle speed is clamped at the maximum permissible spindle rotation
speed.
116
13. FUNCTIONS TO SIMPLIFY
B–64112EN/01 NC FUNCTION PROGRAMMING
If the result of conversion made with the above expression does not fall
in a pull–out override range of from 100% to 2000%, the spindle rotation
instruction is disabled for the pull–out operation; the actual spindle
rotation becomes 100%.
If the J instruction value is greater than the maximum permissible spindle
rotation speed (specified in a parameter) for rigid tapping, the actual
spindle rotation speed is clamped at or near the maximum permissible
spindle rotation speed.
Example)
To make a pull–out operation twice faster than a cut–in operation, use
the following instructions:
@
M29 S1000;
G84 Z–1000. F1000 J2000 ;
@
Feedrate override Appropriate parameter setting enables the conventional feedrate override
select signal and override cancel signal even when rigid tapping is under
way.
In this case, the override value selected by the override select signal can
be used for rigid tapping.
D <G012#0–7> is used as the override select signal.
D <G006#4> is used as the override cancel signal.
D The override value can be changed even when rigid tapping is under
way.
D Using an applicable option enables the second feedrate override
function. This function is applied to the second feedrate that is
determined according to the first feedrate override function.
D The spindle override value is fixed at 100% when rigid tapping is
under way. Because the spindle operation is synchronized with the
operation of the tapping axis, the spindle speed is affected indirectly
by the feedrate override value.
D Enabling the feedrate override select signal disables pull–out override
(regardless of whether it is specified by a program instruction or owing
to a rigid tapping return), causing feedrate override to be applied to the
pull–out operation.
117
13. FUNCTIONS TO SIMPLIFY
PROGRAMMING NC FUNCTION B–64112EN/01
Cut–in Pull–out
operation operation
118
13. FUNCTIONS TO SIMPLIFY
B–64112EN/01 NC FUNCTION PROGRAMMING
Maximum per-
missible spindle
rotation speed
T1 Time
T2 T2
2 2
T1 = Time constant of linear acceleration/deceleration for
the spindle and rigid tapping axis
T2 = Time constant for the curved portion of bell–shaped
acceleration/deceleration
T1 + T2 = Time required for acceleration/deceleration
119
13. FUNCTIONS TO SIMPLIFY
PROGRAMMING NC FUNCTION B–64112EN/01
13.3 M series With the above program, external operation signal is output after
positioning. G80 command cancels the external operation function.
EXTERNAL
OPERATION
FUNCTION (G81) (M
series)
Format
G81 IP _ ;
IP : Optional combination of axis address X, Y, Z, U, V, W, A, B, C
120
13. FUNCTIONS TO SIMPLIFY
B–64112EN/01 NC FUNCTION PROGRAMMING
13.4 T series The following three kinds of canned cycle are provided.
CANNED CYCLES
FOR TURNING (T
series)
13.4.1
Cutting Cycle A (G77)
(with G Code System A:
G90)
D Straight cutting cycle. The command below actuates a straight cutting cycle.
X axis
R : Rapid traverse
Z W F : Feed
4(R)
3(F) 1(R) U/2
2(F)
X/2
Z axis
Format
G77 X_ Z_ F_ ;
D Tapered cutting cycle The command below actuates a tapered cutting cycle.
In the figure below, when the direction of route 1 is –X, R is a negative
value. Inverting the sign of R enables reverse taper cutting.
X axis
Z 4(R)
R : Rapid traverse
3(F) 1(R) F : Feed
U/2
2(F)
R
X/2
W
Z axis
Format
G77 X_ Z_ R_ F_ ;
121
13. FUNCTIONS TO SIMPLIFY
PROGRAMMING NC FUNCTION B–64112EN/01
13.4.2
Thread Cutting Cycle
(G78) (with G Code
System A: G92)
D Straight thread cutting The command below actuates a straight thread cutting cycle.
cycle
X axis
Z W
4(R)
3(R)
1(R)
2(F)
X/2
Z axis
L
Detailed
chamfered R : Rapid traverse
thread F : Thread cutting
r : Chamfering amount
(parameter)
Approx.
45°
(The chamfered angle in the
r left figure is 45 degrees or less
because of the delay in the
servo system.)
Format
G78 X_ Z_ F_ ;
122
13. FUNCTIONS TO SIMPLIFY
B–64112EN/01 NC FUNCTION PROGRAMMING
D Tapered thread cutting The command below actuates a tapered thread cutting cycle.
cycle
X axis
Z W
4(R)
U/2 1(R)
3(R
)
2(F)
R
X/2
Z axis
R : Rapid traverse
Detailed F : Thread cutting
chamfered
thread r : Chamfering amount
(parameter)
Approx.
45°
Format
G78 X_ Z_ R_ F_ ;
NOTE
Screw chamfering can be inhibited by entering the
chamfering signal.
123
13. FUNCTIONS TO SIMPLIFY
PROGRAMMING NC FUNCTION B–64112EN/01
13.4.3
Turning Cycle in
Facing (G79)
(with G Code System A:
G94)
D Face cutting cycle The command below actuates a face cutting cycle.
X axis 1(R)
R : Rapid traverse
F : Feed
2(F) 4(R)
U/2
3(F)
X/2 X/2
0 W
Z axis
Z
Format
G79 X_ Z_ F_ ;
D Face tapered cutting The command below actuates a face tapered cutting cycle.
cycle In the following figure, if the direction of the path 1 is negative in Z axis,
the sign of the number following address R is negative.
X axis 1(R
) R : Rapid traverse
F : Feed
2(F) 4(R)
U/2
3(F)
X/ R W
2 Z axis
Z
Format
G79 X_ Z_ R_ F_ ;
124
13. FUNCTIONS TO SIMPLIFY
B–64112EN/01 NC FUNCTION PROGRAMMING
13.5 T series A multiple repetitive cycle is composed of several canned cycles. A tool
path for rough machining, for example, is determined automatically by
MULTIPLE giving the data of the finishing work shape. A thread cutting cycle has
REPETITIVE CYCLES also been prepared.
FOR TURNING
(G70 - G76) (T series)
13.5.1 There are two types of rough cutting cycles for external surfaces, type I
and type II.
Stock Removal in
Turning (G71)
C
B (R)
A
(R) ∆d
(F)
45° e
(F)
Program
command
125
13. FUNCTIONS TO SIMPLIFY
PROGRAMMING NC FUNCTION B–64112EN/01
Format
G71 U(∆d) R(e) ;
G71 P(ns) Q(nf) U(∆u) W(∆w) F(f) S(s) T(t) ; (ns)
N(ns) . . . . .
...........
. . . . . . . F_
. . . . . . . S_ A block between sequence numbers ns and nf
. . . . . . . T_ specifies the target figure between A and B.
N(nf) . . . . . . ;
B A A
U(+)…W(+) U(+)…W(–)
U(–)…W(+) U(–)…W(–)
A A +Z
For the path from A to A’, the block of sequence number ns specifies a
command including G00 or G01. For the path A’ to B, increase or decrease
must be steady in both X-axis and Z-axis directions.
If the command for the path from A to A’ is G00, the cutting along the path
is performed in the G00 mode. If the command for the path from A to A’
is G01, the cutting is performed in the G01 mode.
126
13. FUNCTIONS TO SIMPLIFY
B–64112EN/01 NC FUNCTION PROGRAMMING
10 ......... 3 2 1
The first cutting does not need to be vertical. Any profile is allowed as far
as the change in Z-axis direction is steady.
For clearance after turning, chamfering is performed along the workpiece
profile.
e (setting by parameter)
The following figure shows an example of a cutting path when there are
two pockets.
30
4
3 13 29 1
2 5
12 18 9 24
14 10 6
23 8 25
11 19 15 7
16
17 22 21 20 26
28
27
127
13. FUNCTIONS TO SIMPLIFY
PROGRAMMING NC FUNCTION B–64112EN/01
The offset of tool tip R is not added to the finishing allowance ∆u and ∆w.
It is assumed to be zero for cutting. Generally ∆w=0 is specified.
Otherwise, the tool catches into a side wall. The two axes X(U) and Z(W)
are specified in the first block of the repeat part. If there is no movement
in Z-axis direction, W0 is specified.
This function is effective only in memory mode.
D Use of Types I and II Type I:
Used when only one axis is specified in the first block (ns block) in the
repeat part.
Type II
Used when two axes are specified in the first block in the repeat part.
Example)
Type I Type II
128
13. FUNCTIONS TO SIMPLIFY
B–64112EN/01 NC FUNCTION PROGRAMMING
13.5.2 As shown in the figure below, this cycle is the same as G71 except that
Stock Removal in cutting is made parallel to X-axis.
Facing (G72)
∆d
R : Rapid traverse
A’ C F : Feed
A d : Parameter setting
Tool path
(F)
(R)
e
(R)
45°
(F)
Command ∆u/2
B
∆w
Format
∆d, e, ns, nf, ∆u, ∆w, f, s, and t are the same as those in G71.
For the shape to be cut by G72, the following four patterns are considered.
Any of them is cut by repetition of operation parallel to the X axis of the
tool. The signs of ∆U and ∆W are as follows:
+X
+Z
B B
U(–)…W(+)… U(–)…W(–)…
U(+)…W(+)… U(+)…W(–)…
B B
129
13. FUNCTIONS TO SIMPLIFY
PROGRAMMING NC FUNCTION B–64112EN/01
13.5.3 This function permits cutting a fixed cutting pattern repeatedly with the
Pattern Repeating position being displaced bit by bit. By this cutting cycle, it is possible to
efficiently cut the work whose rough shape has already been made by
(G73) rough machining, forging, or casting, etc.
C ∆u/2
A
(R)
∆u/2
A’
∆w
Format
G73 U(∆i) W(∆k) R(d) ;
G73 P(ns) Q(nf) U(∆u) W(∆w) F(f) S(s) T(t) ;
N(ns) . . . . .
...........
. . . . . . . F_
. . . . . . . S_ The move commands for the target figure from A
. . . . . . . T_ to A’ then to B are specified by blocks between
N(nf) . . . . . . ; sequence numbers ns and nf.
CAUTION
F, S, and T specified by any block between ns and nf are
ignored. Those specified by the block of G73 or before are
effective.
130
13. FUNCTIONS TO SIMPLIFY
B–64112EN/01 NC FUNCTION PROGRAMMING
13.5.4 After rough machining with G71, G72 or G73 the following command
Finishing Cycle (G70) actuates finishing.
Format
G70 P(ns) Q(nf) ;
P : Sequence number of cycle start (ns)
Q : Sequence number of cycle end (nf)
NOTE
F, S, and T codes specified in the block of G71, G72 or G73
are ignored. But F, S, and T codes specified in the blocks
from sequence numbers (ns) to (nf) become effective
131
13. FUNCTIONS TO SIMPLIFY
PROGRAMMING NC FUNCTION B–64112EN/01
13.5.5 The following command permits operation as seen in the figure below.
Peck Drilling in Z-axis Chip breaking is possible in this cycle. Also if both X(U) and P are
omitted, the machining is done only in the Z-axis resulting in peck
(G74) drilling.
∆k’ ∆k ∆k ∆k ∆k
Dd A
[0<∆k’x∆k]
∆i
C (R)
(F)
(F) U/2
(F) (F) (F) (F)
∆i
∆i’
(R) (R) (R) (R)
X
(X_, Z_) B
[0<∆i’x∆i]
W
e R : Rapid traverse
F : Cutting feed
Format
G74 R(e) ;
X_ Z_
G74 X_ Z_ P(∆i) Q(∆k) U(∆d) F(f) ;
U_W_
e : Amount of return
X : X-axis coordinate of point B
U : Increment for A → B (for G code system A)
Z : Z-axis coordinate of point C
W : Increment for A → C (for G code system A)
∆i : Movement amount in X-axis direction (without sign)
∆k : Depth of cut in Z-axis direction (without sign)
∆d : Clearance amount at the cutting bottom
Usually a positive integer is specified. If X(U) and ∆i are
omitted, however, the sign indicating the direction is added.
f : Feedrate
132
13. FUNCTIONS TO SIMPLIFY
B–64112EN/01 NC FUNCTION PROGRAMMING
13.5.6 The following tape command permits operation as seen in the figure
Grooving in X-axis below. This is equivalent to G74 except that X is replaced by Z. Chip
breaking is possible in this cycle. Grooving in the X-axis (in this case,
(G75) Z, W and Q are omitted) is possible.
(R) A
∆i
(F)
(R) e
(F)
(R)
(F)
U/2
(R)
(F)
(R)
(F)
∆d X
∆k
(X_, Z_)
R : Rapid traverse
W F : Cutting feed
Format
G75 R(e) ;
X_ Z_
G75 X_ Z_ P(∆i) Q(∆k) R(∆d) F(f) ;
U_W_
133
13. FUNCTIONS TO SIMPLIFY
PROGRAMMING NC FUNCTION B–64112EN/01
U/2 (R)
(F)
B
∆d
i D k
X r C
Z
W
R : Rapid traverse
F : Cutting feed
Format
G76 P(m)(r)(a) Q(∆d min) R(d) ;
X_ Z_
G76 X_ Z_
U_W_ R(i) P(k) Q(∆d) F(ȏ) ;
134
13. FUNCTIONS TO SIMPLIFY
B–64112EN/01 NC FUNCTION PROGRAMMING
ÔÔÔÔÔÔÔÔÔ
ÔÔÔÔÔÔÔÔÔ
B
ÔÔÔÔÔÔÔÔÔ
α ∆d
∆dǸn
ÔÔÔÔÔÔÔÔÔ
ÔÔÔÔÔÔÔÔÔ
First
Second
Third
k
ÔÔÔÔÔÔÔÔÔ
nth
ÔÔÔÔÔÔÔÔÔ d
NOTE
Thread chamfering can be inhibited by entering the
chamfering signal.
13.6 T series The canned cycles for drilling enable one block including the G function
to specify the machining which is usually specified by several blocks.
CANNED CYCLES Programming is then simplified.
FOR DRILLING The canned cycles for drilling conform to JIS B 6314.
(G80 - G89) (T series) Canned cycles
Operation
Drilling
G code Drilling at hole Clearance Use
axis
bottom
G80 Cancel
Cutting feed
Rapid
G83 Z axis Intermittent Dwell Deep drilling
traverse
feed
Spindle
G84 Z axis Cutting feed Cutting feed Tapping
reverse
Cutting feed
Rapid
G87 X axis Intermittent Dwell Deep drilling
traverse
feed
Spindle
G88 X axis Cutting feed Cutting feed Tapping
reverse
135
13. FUNCTIONS TO SIMPLIFY
PROGRAMMING NC FUNCTION B–64112EN/01
13.7 T series A chamfer or corner are can be inserted between two blocks which
intersect at a right angle as follows. An amount of chamfering or corner
CHAMFERING AND are specifies by address I, K, or R.
CORNER R (T series)
D Chamfering
Z→X
Command Tool movement
D Chamfering
X→Z
Command Tool movement
45° d 45°
–z +z
c c
–k b k
D Corner R
Z→X
Command Tool movement
G01 Z(W) R ±r ; +x
Moves as a→b→c –x
136
13. FUNCTIONS TO SIMPLIFY
B–64112EN/01 NC FUNCTION PROGRAMMING
D Corner R
X→Z
Command Tool movement
–r r
d
–z +z
c b c
CAUTION
If C is not used as an axis name, C can be used for a chamfer
address instead of I or K.
X
530.0 N1 Z270.0 R60.0 ;
N2 X860.0 K–3.0 ;
270.0 N3 Z0 ;
C3
N3
N2
R6
N1
137
13. FUNCTIONS TO SIMPLIFY
PROGRAMMING NC FUNCTION B–64112EN/01
13.8 M series The block for chamfering or corner rounding can be inserted
automatically between two optional linear interpolations, or between the
OPTIONAL ANGLE linear interpolation and circular interpolation, or between two circular
CHAMFERING/ interpolations.
CORNER ROUNDING Specifying “,C_” inserts the block for chamfering, and specifying “,R_”
inserts the block for corner rounding. They must be specified at the end
(M series)
of the block which specifies the linear interpolation (B01) or circular
interpolation (G02 or G03).
The numeric following C specifies the distance between the virtual corner
intersection and the chamfering start or end point. See the figure below.
N1
(0, 0) 10
10
Virtual corner intersection
(30, 0)
R
N1
(0, 0) (30, 0)
138
13. FUNCTIONS TO SIMPLIFY
B–64112EN/01 NC FUNCTION PROGRAMMING
13.9 T series Angles of straight lines, chamfering values, corner rounding values, and
other dimensional values on machining drawings can be programmed by
DIRECT DRAWING directly inputting these values. In addition, the chamfering and corner
DIMENSIONS rounding can be inserted between straight lines having an arbitrary angle.
PROGRAMMING (T The straight line angle, chamfering value, or corner rounding must be
specified with a comma as follows:
series)
,A_
,C_
,R_
NOTE
When A or C is not used as an axis name, the line angle,
chamfering value, or corner rounding can be specified in the
parameter without comma as follows:
A_
C_
R_
Command list
X2_ (Z2_), A_ ; X
(X2 , Z2)
1
A
(X1 , Z1)
Z
X
(X3 , Z3)
A2
, A1_ ;
2 X3_ Z3_, A2_ ;
A1
(X2 , Z2)
(X1 , Z1)
Z
X
(X3 , Z3)
X2_ Z2_, R1_ ;
A2
X3_ Z3_ ; R1
3 or
, A1_, R1_ ; A1
X3_ Z3_, A2_ ; (X2 , Z2)
(X1 , Z1)
Z
139
13. FUNCTIONS TO SIMPLIFY
PROGRAMMING NC FUNCTION B–64112EN/01
X
(X3 , Z3)
X2_ Z2_, C1_ ; A2
X3_ Z3_ ;
4 or
, A1_, C1_ ;
X3_ Z3_, A2_ ; C1 A1
(X2 , Z2)
(X1 , Z1)
Z
X
(X4 , Z4)
(X3 , Z3)
X2_ Z2_, R1_ ;
A2
X3_ Z3_, R2_ ; R2
X4_ Z4_ ;
5 or R1
, A1_, R1_ ;
X3_Z3_, A2_ R2_ ; A1
X4_ Z4_ ; (X2 , Z2)
(X1 , Z1)
Z
X
C2
X2_ Z2_, C1_ ; (X3 , Z3)
(X4 , Z4)
X3_ Z3_, C2_ ;
X4_ Z4_ ; A2
6 or
, A1_, C1_ ;
X3_ Z3_, A2_ C2_ ; (X2 , Z2)
X4_ Z4_ ; C1 A1
(X1 , Z1)
Z
X
C2
X2_ Z2_, R1_ ; (X3 , Z3)
X3_ Z3_, C2_ ; (X4 , Z4)
X4_ Z4_ ; A2
7 or
, A1_, R1_ ; R1
X3_ Z3_ , A2_ C2_ ;
X4_ Z4_ ; A1
(X2 , Z2)
(X1 , Z1)
Z
X
(X4 , Z4)
X2_ Z2_, C1_ ; (X3 , Z3)
X3_ Z3_, R2_ ;
X4_ Z4_ ; A2
8 or R2
, A1_, C1_ ;
X3_ Z3_, A2_ R2_ ; (X2 , Z2)
X4_ Z4_ ; A1
C1
(X1 , Z1)
Z
140
13. FUNCTIONS TO SIMPLIFY
B–64112EN/01 NC FUNCTION PROGRAMMING
13.10 M series Mirror image can be commanded on each axis by programming. Ordinary
mirror image (commanded by remote switch or setting) comes after the
PROGRAMMABLE programmable mirror image is applied.
MIRROR IMAGE D Setting of programmable mirror image
(G50.1, G51.1) (M G51.1 X_ Y_ Z_ ;
series) is commanded and mirror image is commanded to each axis (as if
mirror was set on the axis).
D Programmable mirror image cancel
G50.1 X_ Y_ Z_ ;
is commanded and the programmable mirror image is canceled.
CAUTION
If mirror image is specified only for one axis on the specified
plane, the operation of the commands is as follows:
D Arc command: The rotation direction is reversed.
D Cutter compensation: The offset direction is reversed.
D Coordinate rotation: The rotation angle is reversed.
141
13. FUNCTIONS TO SIMPLIFY
PROGRAMMING NC FUNCTION B–64112EN/01
13.11 M series The index table on the machining center is indexed by using the fourth
axis as an indexing axis.
INDEX TABLE To command for indexing, an indexing angle is only to be specified
INDEXING (M series) following a programmed axis (arbitrary 1 axis of A, B, C as the rotation
axis) assigned for indexing. It is not necessary to command the exclusive
M code in order to clamp or unclamp the table and therefore programming
will become easy.
142
13. FUNCTIONS TO SIMPLIFY
B–64112EN/01 NC FUNCTION PROGRAMMING
13.12 T series The repetitive machining specific to grinding can be specified by one
block. Since four types of canned cycles are provided for grinding,
CANNED CYCLES programming is simplified.
FOR CYLINDRICAL
GRINDING (T series)
Traverse grinding cycle
(G71, G72)
G71 : Dwell G72 : Dwell
Skip signal
Oscillating grinding
cycle (73, G74)
G73 G74
: Dwell : Dwell
Skip signal
143
13. FUNCTIONS TO SIMPLIFY
PROGRAMMING NC FUNCTION B–64112EN/01
13.12.1
Traverse Grinding
Cycle (G71) X W
(I)
A
(K)
U (Dwell) (I)
B
(K) U(Dwell)
G71 A_ B_ W_ U_ I_ K_ H_ ;
A : The first cutting depth
B : The second cutting depth
W : Grinding range
U : Dwell time Maximum command time 9999.999 sec.
I : Feed rate of A and B
K : Feed rate of W
H : Repetition frequency Setting value 1-9999
13.12.2
Traverse Direct Gauge
Grinding Cycle (G72) Skip signal
G72 P_ A_ B_ W_ U_ I_ K_ H_ ;
144
13. FUNCTIONS TO SIMPLIFY
B–64112EN/01 NC FUNCTION PROGRAMMING
13.12.3
Oscillation Grinding
Z
Cycle (G73)
W
(K)
U (Dwell) U (Dwell)
A
(B)
(K)
G73 A_ B_ W_ U_ K_ H_ ;
A : Cutting depth
B : Cutting depth
W: Grinding range
U : Dwell time
K : Feed rate
H : Repetition frequency Setting value 1-9999
13.12.4
Oscillation Direct Skip signal
Gauge Grinding Cycle
(G74)
Skip signal
(Stopping)
(Stopping)
G74 P_ A_ (B_) W_ U_ K_ H_ ;
145
13. FUNCTIONS TO SIMPLIFY
PROGRAMMING NC FUNCTION B–64112EN/01
13.13 M series In the surface grinding canned cycle, repeated cutting peculiar to grinding
machining normally commanded by a number of blocks, is simply
SURFACE GRINDING programmed by commanding one block which includes the G function.
CANNED CYCLE (M There are the following 4 types of grinding canned cycle.
series) D Plunge grinding cycle G75
D Plunge direct grinding cycle G77
D Continuous feed plane grinding cycle G78
D Intermittent feed plane grinding cycle G79
146
13. FUNCTIONS TO SIMPLIFY
B–64112EN/01 NC FUNCTION PROGRAMMING
Format
G75 I_ J_ K_ X(Z)_ R_ F_ P_ L_ ;
Explanations
Y X(Z)
I (R) (F)
J P (R)
(F) P
X(Z)
147
13. FUNCTIONS TO SIMPLIFY
PROGRAMMING NC FUNCTION B–64112EN/01
Grindstone cutting :
Cuts in Y axis direction by cutting feed only the amount specified by
the second cutting depth J. The feed rate becomes the rate specified
by R.
Dwell :
Performs dwell for only the time specified by P.
Grinding (return direction) :
Sent at rate specified by F in the reverse direction only the amount
specified by X (or Z).
In case of single block, the operations from to are performed by one
cycle start. When cutting by 1 or J, in the case where the total cutting
depth is reached, the cycle finishes after the following sequence of
operations (up to ) has been executed. The cutting depth in this case
reaches the total cutting depth position.
K
I
K
I
148
13. FUNCTIONS TO SIMPLIFY
B–64112EN/01 NC FUNCTION PROGRAMMING
13.13.2 The plunge direct grinding cycle is possible by the following command.
Plunge Direct Grinding
Cycle (G77)
Format
G77 I_ J_ K_ X(Z)_ R_ F_ P_ L_ ;
The command method is the same as the G75 case except for the G code.
Further, even for the operation, the same sequence of 6 operations as the
G75 case is repeated.
G77 differs from G75 as follows: Inputting a skip signal during a cycle
can terminate the cycle after stopping (or terminating) the current
operation sequence.
The following shows the operation at skip signal input for each operation
sequence.
Explanations
D Case of during operation Cutting immediately stops and returns to X(Z) coordinate at cycle start.
sequence and
(when I and J shift)
Skip signal
Skip signal
(Stopping)
(Stopping)
D Case of during operation Dwell immediately stops and returns to X(Z) coordinate at cycle start.
sequence and
(during dwell)
D Case of during operation After shift of X(Z) has finished, returns to X(Z) coordinate at cycle start.
sequence and
(when X(Z) shifts)
Skip signal
(Stopping)
Skip signal
(Stopping)
149
13. FUNCTIONS TO SIMPLIFY
PROGRAMMING NC FUNCTION B–64112EN/01
13.13.3 The continuous feed plane grinding cycle is possible by the following
Continuous Feed Plane command.
Grinding Cycle (G78)
Format
G78 I_ (J)_ K_ X_ R_ F_ P_ L_ ;
Z
X
P(Dwell)
(F)
I
I(J) P(Dwell)
(F)
The continuous feed plane grinding cycle is made up from the following
sequence of 4 operations.
The operations from up to are repeated until the grindstone cutting
depth reaches the total cutting depth specified by address K.
Dwell
Grinding
Dwell
Grinding (return direction)
In case of single block, the operation from to are performed by one
cycle start.
NOTE
When J is not commanded, it is regarded as J=1.
Further, the J command effective only at the specified block.
It does not remain as modal information. (Irrespective of “J”
of G75, G77, and G79)
150
13. FUNCTIONS TO SIMPLIFY
B–64112EN/01 NC FUNCTION PROGRAMMING
When cutting by I or J, in the case the total cutting depth is reached, the
cycle finishes after the following sequence of operations (up to 4) has been
executed. The cutting depth in this case reaches the total cutting depth
position.
K
I
K
I
151
13. FUNCTIONS TO SIMPLIFY
PROGRAMMING NC FUNCTION B–64112EN/01
13.13.4 The intermittent feed plane grinding cycle is possible by the following
Intermittent Feed Plane command.
Grinding Cycle (G79)
Format
G79 I_ J_ K_ X_ R_ F_ P_ L_ ;
Z X
I (R) (F)
J P (R)
(F) P
The intermittent feed plane grinding cycle is made up from the following
sequence of 6 operations.
The operations from up to are repeated until the grindstone cutting
depth reaches the total cutting depth specified by address K.
Grindstone cutting :
Cuts in Z axis direction by cutting feed only the amount specified by
the first cutting depth I. The feed rate becomes the rate specified by
R.
Dwell :
Performs dwell for only the time specified by P.
Grinding :
Shifts by cutting feed only the amount specified by X in the X axis
direction. The feed rate becomes the rate specified by F.
Grindstone cutting :
Cuts in Z axis direction by cutting feed only the amount specified by
the second cutting depth J. The feed rate becomes the rate specified
by R.
152
13. FUNCTIONS TO SIMPLIFY
B–64112EN/01 NC FUNCTION PROGRAMMING
Dwell :
Performs dwell for only the time specified by P.
Grinding (return direction) :
Sent at rate specified by F in the reverse direction only the amount
specified by X.
In the case of a single block, the operations from to are performed
by one cycle start.
153
13. FUNCTIONS TO SIMPLIFY
PROGRAMMING NC FUNCTION B–64112EN/01
13.14 M series Controls cutting a certain fixed amount along the programmed figure for
input of external signals at the swing end point.
INFEED CONTROL (M
series)
x
Z
Format
G161 R_ ;
Figure program
G160 ;
154
B–64112EN/01 NC FUNCTION 14. TOOL COMPENSATION FUNCTION
155
14. TOOL COMPENSATION FUNCTION NC FUNCTION B–64112EN/01
14.1 T series
TOOL OFFSET (T
series)
14.1.1 By using this function, shift amount between the reference position
Tool Offset (T Code) assumed when programming and the actual tool position when
machining, can be set as tool offset amount, thus allowing workpiece
machining according to the programmed size without changing the
program.
Reference position
(start point)
X offset amount
Z offset amount
T20
Programmed path
Explanations
D Offset number The offset number is specified in the last one or two digit of the T code.
Use parameters to select offset number digits (one or two).
- When offset number is specified with one digit
T fffffffl
Offset number
Tool number
- When offset number is specified with two digits
T ffffffll
Offset number
Tool number
156
B–64112EN/01 NC FUNCTION 14. TOOL COMPENSATION FUNCTION
14.1.2 The tool geometry compensation function compensates the tool figure or
Tool Geometry tool mounting position. The tool wear compensation function
compensates the wear of a tool tip. These compensation amounts (offset
Compensation and values) can be set separately. There are two types of geometry
Tool Wear compensation: So–called geometry compensation and the second
Compensation geometry compensation that allows the user to specify whether to use the
direction directed by the PMC. The second geometry compensation is
used to compensate for the difference in tool mounting position or
selected position. If distinction between them is not necessary, the total
value of them is set as a tool position offset value.
X-axis
geometry
offset X-axis
value offset
value
X-axis wear
offset value
157
14. TOOL COMPENSATION FUNCTION NC FUNCTION B–64112EN/01
14.2 T series With this function, the programmed tool path can be offset when actually
machining, for value of the tool radius set in the CNC.
TOOL NOSE RADIUS By programming machining pattern using this function (measuring cutter
COMPENSATION radius for actual cutting, and setting the value in the CNC as offset value),
(G40, G41, G42) (T the tool can machine the programmed pattern, via the offset path. There
is not need to change the program even when tool radius changes; just
series)
change the offset value.
Work-
piece
Tool center path Tool
nose
Profile
Cross points of line and line, arc and arc, line and arc is automatically
calculated in the CNC to obtain offset actual tool path. So, Programming
becomes simple, because it is only necessary to program the machining
pattern.
Explanations
D Tool nose radius G40 : Tool nose radius compensation cancel
compensation and its G41 : Tool nose radius compensation left
cancellation (G40, G41, G42 : Tool nose radius compensation right
G42) G41 and G42 are commands for tool nose radius compensation mode.
The tool is offset to the left forward in the tool movement in G42 and right
forward in G42. Tool nose radius compensation is cancelled with G40.
G42 X
Workpiece
Z
G41
158
B–64112EN/01 NC FUNCTION 14. TOOL COMPENSATION FUNCTION
D Imaginary tool nose The tool nose at position A in the following figure does not actually exist.
The imaginary tool nose is required because it is usually more difficult to
set the actual tool nose center to the start point than the imaginary tool
nose. (Note) Also when imaginary tool nose is used, the tool nose radius
need not be considered in programming.
Start point
Start point
When programmed using the tool When programmed using the
nose center imaginary tool nose
The position relationship when the tool is set to the start point is shown
in the following figure. The point of tool nose for start point or reference
point i set in offset memory same as tool nose radius compensation
amount.
7 0 5 7 0 5
3 8 4 3 8 4
2 6 1 2 6 1
7 0 5 7 0 5
3 8 4 3 8 4
D Tool nose radius Tool nose radius compensation amount and imaginary tool nose point can
compensation amount be set in the tool nose radius compensation memory.
and assignment of When the last one or two digits of T code is commanded as offset number,
imaginary tool nose corresponding tool nose radius compensation amount and imaginary tool
point (T code) nose point in the tool compensation memory is applied as the tool nose
radius compensation amount and imaginary tool nose point for cutter
radius compensation.
159
14. TOOL COMPENSATION FUNCTION NC FUNCTION B–64112EN/01
D Plane selection Cutter radius compensation is done on XY, ZX, YZ planes and on parallel
(G17, G18, G19) axes of X, Y, Z axes.
Plane to perform tool nose radius compensation is selected with G17,
G18, G19.
G17 : Xp-Yp plane Xp : X axis or the parallel axis
G18 : Zp-Xp plane Yp : Y axis or the parallel axis
G19 : Yp-Zp plane Zp : Z axis or the parallel axis
Parameters are used to set which parallel axis of the X, Y, Z axes is to be
the additional axis.
D Interference check Tool overcutting is called ’interference’. This function checks whether
interference occurs, if tool nose radius compensation is performed.
Overcutting Overcutting
160
B–64112EN/01 NC FUNCTION 14. TOOL COMPENSATION FUNCTION
14.3 M series By setting the difference between tool length assumed when
programming and the actual tool length as offsets, workpiece can be
TOOL LENGTH machined according to the size commanded by the program, without
COMPENSATION changing the program.
(G43, G44, G49) (M
series)
ÇÇ
ÇÇ ÇÇ
ÇÇ
Reference
ÇÇ ÇÇ
ÇÇ
tool
Difference set as offset value
Explanations
D Tool length G43 : Tool length compensation +
compensation and its G44 : Tool length compensation –
cancellation G49 : Tool length compensation cancel
(G43, G44, G49)
In G43 mode, the tool is offset to the + direction for the preset tool length
offset amount. In G44 mode, it is offset to the - direction for the preset
tool length offset amount. G49 cancels tool length compensation.
D Tool length Tool length compensation can be performed for three types of axes.
compensation axis Compensation for the Z axis is tool length compensation A. That for the
axis vertical to the selected plane is tool length compensation B. That for
the axis specified by the G43 or G44 block is tool length compensation
C. Which compensation to perform can be selected by a parameter.
D Assignment of offset The offset amount can be set in the tool length compensation memory.
amount (H code) By specifying an offset number with the H code, offset amount loaded in
corresponding tool length compensation memory is used as tool length
compensation amount.
Format
Tool length compensation A
G43
G44 H_ ;
G17
G43 H_ ;
G18
G44
G19
Tool length compensation C
G43
G44 α_ H_ ; (α: arbitrary 1 axis)
161
14. TOOL COMPENSATION FUNCTION NC FUNCTION B–64112EN/01
14.4 M series The programmed tool movement can be expanded or reduced for offset
amount preset in the tool length compensation memory, by using this
TOOL OFFSET function.
(G45, G46, G47, G48)
(M series)
Explanations
D G45, G46, G47, G48 G45: Tool offset expansion
G46: Tool offset reduction
G47: Tool offset double expansion
G48: Tool offset double reduction
By commanding G45 - G48, expansion, reduction, double expansion,
double reduction to axis move commanded in the program can be
performed for the offset amount preset in the tool length compensation
memory. The same offset amount is applied to all move command axes
in the same block as G45 - G48.
G45
Start End Start End
point point point point
G46
Start End Start End
point point point point
G47
Start End Start End
point point point point
G48
Start End Start End
point point point point
Movement distance
Tool offset value
Actual movement distance
D Assignment of offset The offset amount can be set in the tool length compensation memory.
amount (D code) By commanding an offset number with the D code, offset amount
corresponding to the number in the tool length compensation memory is
used as tool offset amount.
162
B–64112EN/01 NC FUNCTION 14. TOOL COMPENSATION FUNCTION
14.5 M series
CUTTER
COMPENSATION (M
series)
14.5.1 With this function, the programmed tool path can be offset when actually
Cutter Compensation C machining, for value of the tool radius set in the CNC.
By measuring cutting radius for actual cutting, and setting the value in the
(G40 - G42) NC as offset value, the tool can machine the programmed pattern, via the
offset path. There is no need to change the program even when tool radius
changes; just change the offset value.
Programmed path
Tool center path
Cross point
Cross points of line and line, arc and arc, line and arc is automatically
calculated in the CNC to obtain offset actual tool path. So, programming
becomes simple, because it is only necessary to program the machining
pattern.
D Assignment of offset The offset amount can be set in the cutter radius compensation memory.
amount (D code) When the D code is commanded as an offset number, corresponding offset
amount in the tool compensation memory is applied as the offset amount
for cutter radius compensation.
The offset can be specified with an H code when the parameter is set
accordingly.
163
14. TOOL COMPENSATION FUNCTION NC FUNCTION B–64112EN/01
D Plane selection Cutter radius compensation is done on XY, ZX, YZ planes and on parallel
(G17, G18, G19) axes of X, Y, Z axes.
Plane to perform cutter radius compensation is selected with G17, G18,
G19.
G17 : Xp-Yp plane
G18 : Zp-Xp plane
G19 : Yp-Zp plane
where
Xp : X axis or its parallel axis
Yp : Y axis or its parallel axis
Zp : Z axis or its parallel axis
Parameters are used to set which parallel axis of the X, Y, Z axes is to be
the additional axis.
D Interference check Tool overcutting is called ’interference’. This function checks whether
interference occurs, if cutter radius compensation is performed.
Overcutting Overcutting
164
B–64112EN/01 NC FUNCTION 14. TOOL COMPENSATION FUNCTION
14.6
TOOL
COMPENSATION
MEMORY
Explanations
D Tool compensation Memory for geometry compensation as well as tool wear compensation
memory C is prepared separately in tool compensation memory C. Geometry
compensation and tool wear compensation can thus be set separately.
Separate memories are prepared for cutter radius compensation (for D
code) and for tool length compensation (for H code).
Example
14.6.2 T series Wear compensation memory and geometry compensation memory are
Tool Offset Amount provided as tool compensation amount memory.
Tool offset amount range which can be set is as follows:
Memory (T series)
Tool compensation value
Increment
system
Metric input (mm) Inch input (inch)
165
14. TOOL COMPENSATION FUNCTION NC FUNCTION B–64112EN/01
0 to ±9999.9999 0 to ±999.99999
IS-C
(0 to ±4000.0000) (0 to ±160.00000)
NOTE
The range enclosed in parentheses applies when automatic
inch/metric conversion is enabled.
D Tool geometry/wear Memory for geometry offset and tool wear offset is prepared separately.
compensation Geometry offset and tool wear offset can thus be set separately.
166
B–64112EN/01 NC FUNCTION 14. TOOL COMPENSATION FUNCTION
14.7
NUMBER OF TOOL
OFFSETS
167
14. TOOL COMPENSATION FUNCTION NC FUNCTION B–64112EN/01
14.8 Tool offset amount can be set/changed with the G10 command.
When G10 is commanded in absolute input (G90), the commanded offset
CHANGING OF TOOL amount becomes the new tool offset amount. When G10 is commanded
OFFSET AMOUNT in incremental input (G91), the current tool offset amount plus the
(PROGRAMMABLE commanded offset amount is the new tool offset amount.
DATA INPUT) (G10)
Format (M series)
D Tool compensation
memory C
Setting/changing of geometry offset amount for H code
G10 L10 P_ R_ ;
G10 L12 P_ R_ ;
G10 L11 P_ R_ ;
G10 L13 P_ R_ ;
NOTE
L1 may be used instead of L11 for the compatibility with the
conventional CNC’s format.
168
B–64112EN/01 NC FUNCTION 14. TOOL COMPENSATION FUNCTION
Format (T series)
G10 P_ X_ Z_ R_ Q_ ;
or
G10 P_ U_ W_ C_ Q_ ;
P : Offset number
1–64 :Tool wear offset number
10000+(1–64) : Tool geometry offset number+10000
X : Offset value on X axis (absolute)
Z : Offset value on Z axis (absolute)
U : Offset value on X axis (incremental)
W : Offset value on Z axis (incremental)
R : Tool nose radius offset value (absolute)
R : Tool nose radius offset value (incremental)
Q : Imaginary tool nose number
NOTE
1 Addresses X, Z, U, and W can be specified in the same
block.
2 Use of this command in a program allows the tool to
advance little by little. This command can also be used input
offset values one at a time from a tape by specifying this
command successively instead of inputting these values
one at a time from the MDI unit.
169
14. TOOL COMPENSATION FUNCTION NC FUNCTION B–64112EN/01
14.9 M series The grinding-wheel cutting and dresser cutting are compensated
continuously during grinding in the canned cycles for surface grinding
GRINDING-WHEEL (G75, and G77 to G79). They are compensated according to the amount
WEAR of continuous dressing.
COMPENSATION BY
CONTINUOUS V
DRESSING (M series)
Explanations
D Specification The offset number (grinding-wheel wear compensation number) is
specified by address L in the block for the canned cycles for surface
grinding. The compensation amount set in the offset memory
corresponding to the specified number is the dressing amount.
a : Dressing amount
Dresser
2a
V Y
Grinding
X wheel
X
Workpiece
170
15. ACCURACY COMPENSATION
B–64112EN/01 NC FUNCTION FUNCTION
171
15. ACCURACY COMPENSATION
FUNCTION NC FUNCTION B–64112EN/01
15.1 The errors caused by machine position, as pitch error of the feed screw,
can be compensated. This function is for better machining precision.
STORED PITCH As the offset data are stored in the memory as parameters, compensations
ERROR of dogs and settings can be omitted. Offset intervals are set constant by
COMPENSATION parameters (per axis).
This function can perform compensation as described below.
D Compensation period: Constant period for each axis (parameter
settings (for each axis))
D Compensation points: Total of 1,024 points
Optional distribution to each axis
(parameter settings (for each axis))
D Amount of compensation: The following compensation pulse is
output at each compensation point.
Compensation pulse = (–7 to +7) (compensation magnification)
Unit: Same as the detection unit
–7 to +7: Setting for each compensation point (setting within
the range of –7 to +7)
Compensation magnification: 1 to 100 times
Constant magnification for each axis (parameter
settings (for each axis))
172
15. ACCURACY COMPENSATION
B–64112EN/01 NC FUNCTION FUNCTION
15.3 This function is used to compensate lost motions proper to the machine
system. Offset amounts come in a range of 0 to ±9999 pulses per axis,
BACKLASH and is set as parameters in detection unit.
COMPENSATION
15.4 Since different backlash compensation values can be used for cutting feed
and rapid traverse, the machining precision is improved.
BACKLASH The following table shows backlash amounts according to the feedrate
COMPENSATION and movement direction. In the table, the backlash compensation amount
FOR EACH RAPID for cutting feed is A, and that for rapid traverse is B. A and B are set in
parameters.
TRAVERSE AND
CUTTING FEED Cutting Rapid Rapid Cutting
feed traverse traverse feed
↓ ↓ ↓ ↓
Cutting Rapid Cutting Rapid
feed traverse feed traverse
*1) α=(A–B) / 2
*2) Sings (+ and –) indicate directions.
A
ÙÙÙÙÙÙÙ
ÙÙÙÙÙÙÙ
ÙÙÙÙÙÙÙ
ÙÙÙÙÙÙÙ
Cutting feed
ÙÙÙÙÙÙÙ
ÙÙÙÙÙÙÙ
Stop in rapid traverse
ÙÙÙÙÙÙÙ
α B
ÙÙÙÙÙÙÙ
ÙÙÙÙÙÙÙ
α
173
15. ACCURACY COMPENSATION
FUNCTION NC FUNCTION B–64112EN/01
15.5 Parameters and pitch errors data can be set by programs. Therefore,
following uses can be done example.
PROGRAMMABLE
D Parameter setting such as pitch errors compensation data, etc. When
PARAMETER INPUT the attachment is replaced.
(G10, G11) D Parameters such as max. Cutting speed and cutting feed time constant
can be changed according to the machining conditions.
Format
G10 L50 ;
N_ R_ ; Input of parameters except axis type
N_ P_ R_ ; Input of axis type parameters
:
G11 ;
NOTE
Some parameters cannot be set.
174
16. COORDINATE SYSTEM
B–64112EN/01 NC FUNCTION CONVERSION
175
16. COORDINATE SYSTEM
CONVERSION NC FUNCTION B–64112EN/01
16.1 M series Patterns specified by the program can be rotated. For example, by using
this function, when the attached workpiece comes in a position which is
COORDINATE somewhat rotated from the machine coordinates, the position can be
SYSTEM ROTATION compensated by the rotation instruction.
(G68, G69) (M series) If a pattern is similar to that made by rotating a programmed figure, the
program for the pattern can be created by calling the program for the figure
as a sub program, and rotating the coordinates in the program. This
function reduces the programming time and program length.
Rotation angle
Rotation
center
X
0
Format
M series
G17
G18 G68 α_ β_ R_ ;
G19
176
16. COORDINATE SYSTEM
B–64112EN/01 NC FUNCTION CONVERSION
Y P3
P4
P4’ P3’
P0 : Center of scaling
P1’ P0 P2’
P1 P2
X
0
Scaling
down to 1/2
177
16. COORDINATE SYSTEM
CONVERSION NC FUNCTION B–64112EN/01
A scaling magnification can be set for each axis or for all axes in common.
A parameter can specify whether it should be set for each axis or for all
axes.
Format
Scaling of each axis (Mirror image)
X axis
d Profile after
scaling
0
Y axis
a
b
178
B–64112EN/01 NC FUNCTION 17. MEASUREMENT FUNCTIONS
17 MEASUREMENT FUNCTIONS
179
17. MEASUREMENT FUNCTIONS NC FUNCTION B–64112EN/01
200.0
100.0
Actual movement
With no skip signal input
Coordinate value when skip signal is on, is stored in the system variables
#5061 - #5068 of the customer macro, so this function can also be read
with the customer macro function.
#506n : ntn axis skip signal position (n=1–8)
As the skip function can be used when move amount is not clear, this
function can be used for:
D Constant feed in grinding machines
D Tool measurement with tactile sensor.
180
B–64112EN/01 NC FUNCTION 17. MEASUREMENT FUNCTIONS
17.3 Delay and error of skip signal input is 0–2 msec at the NC side (not
considering those at the PMC side).
HIGH-SPEED SKIP This high-speed skip signal input function keeps this value to 0.1 msec
SIGNAL INPUT or less, thus allowing high precision measurement. This signal is
connected directly to the NC; not via the PMC.
17.4 T series With the motor torque limited (for example, by a torque limit command,
issued through the PMC window), a move command following G31 P99
TORQUE LIMIT SKIP (or G31 P98) can cause the same type of cutting feed as with G01 (linear
(G31 P99, G31 P98) interpolation).
(T series) Skip operation is performed when the motor torque reaches the limit,
when the tool is pushed back for example, during cutting feed.
For details of how to use this function, refer to the manuals supplied by
the machine tool builder.
Format
G31 P99 IP _ F_ ;
G31 P98 IP _ F_ ;
181
17. MEASUREMENT FUNCTIONS NC FUNCTION B–64112EN/01
17.5 M series Difference between the coordinate value of tool when tool end has reached
the measuring position and coordinate value of the measuring position is
TOOL LENGTH automatically measured, calculated, and added to the currently set tool
AUTOMATIC offset amount by CNC system. The machine must be equipped with
MEASUREMENT measuring devices, for example tactile sensor, so that a signal is sent when
the tool end has reached the measuring position.
(G37) (M series)
Measuring position coordinate value is commanded as follows:
Format
G37 α_ ;
ε ε
Start position
S A B M C
Measuring position
The tool is moved from the start position to the deceleration point A in
rapid traverse, tool speed is decelerated to the measurement speed preset
by parameter, and moved on till the measuring position reach signal is
output. In case measuring position reach signal is not output in the
allowable measuring range (from point B to C), and alarm arises.
(New offset amount) = (Old offset amount) + (Measuring position
reach signal detected position) - (measuring position)
182
B–64112EN/01 NC FUNCTION 17. MEASUREMENT FUNCTIONS
17.6 T series Difference between the coordinate value of tool when tool end has reached
the measuring position and coordinate value of the measuring position is
AUTOMATIC TOOL automatically measured, calculated, and added to the currently set tool
OFFSET (G37, G36) (T offset amount by CNC system. The machine must be equipped with
series) measuring devices, for example tactile sensor, so that a signal is sent when
the tool end has reached the measuring position.
Measuring position coordinate value is commanded as follows:
Format
G36 X_ ;
or
G37 Z_ ;
ε ε
Start position
S A B M C
Measuring position
The tool is moved from the start position to the deceleration point A in
rapid traverse, tool speed is decelerated to the measurement speed preset
by parameter, and moved on till the measuring position reach signal is
output. In case measuring position reach signal is not output in the
allowable measuring range (from point B to C), and alarm arises.
(New offset amount) = (Old offset amount) + (Measuring position
reach signal detected position) - (measuring position)
183
17. MEASUREMENT FUNCTIONS NC FUNCTION B–64112EN/01
17.7 M series The value displayed as a relative position can be set in the offset memory
as an offset value by a soft key.
TOOL LENGTH Call offset value display screen. Relative positions are also displayed on
MEASUREMENT (M this screen. Reset the displayed relative position to zero. Set the tool for
series) measurement at the same fixed point on the machine by hand. The relative
position display at this point shows difference between the reference tool
and the tool measured and the relative position display value is then set
as offset amounts.
ÇÇ
ÇÇ ÇÇ
ÇÇ
ÇÇ
Reference tool
ÇÇ
ÇÇ
This difference is set
as offset amount
Fixed point
184
B–64112EN/01 NC FUNCTION 17. MEASUREMENT FUNCTIONS
ÇÇÇÇ
x X X-Z:Coordinate system planned in the program
x-z : Coordinate set actually
ÇÇÇÇ
ÇÇÇÇ
B face
O’ z
Z
O α
A face
Reference point
planned in the program β
185
17. MEASUREMENT FUNCTIONS NC FUNCTION B–64112EN/01
17.9 T series By installing the touch sensor and by manually making the tool contact
the touch sensor, it is possible to set the offset amount of that tool
DIRECT INPUT OF automatically in the tool offset amount memory. It is also possible to set
TOOL OFFSET the work coordinate system shift amount automatically.
VALUE MEASURED B In addition, a tool compensation value measured value direct input B
function for two–spindle lathes is provided so that the tool compensation
(T series)
value measured value direct input B function can be used for both spindles
of a one–turret two–spindle lathe.
Explanations
D Touch sensor As the touch sensor detection mode, either four–contact input mode or
single–contact input mode can be selected.
+MIT1 Contact the (+) contact face of the The two directions
X–axis (Contact in the X+ direction) along each axis is de-
termined automatically.
186
B–64112EN/01 NC FUNCTION 17. MEASUREMENT FUNCTIONS
+X
D Setting method
- Setting of tool compensation value
Previously set the distance from the measurement reference position
(a particular point on the machine) to the measuring position (the touch
sensor contact face) to the parameter as the reference value.
As the tool of which the offset amount is to be measured is selected and
is positioned at the measuring position (contact the touch sensor), the
contact detection signal (tool compensation value write signal) from
the touch sensor is received, and the difference between the machine
coordinate value at that time (= the distance from the measured tool
nose tip position at the machine reference position (machine zero
point) to the measuring position) and the reference value (parameter
value) is set in the tool offset amount memory as the tool geometry
offset amount of that tool. The corresponding tool wear offset amount
becomes zero.
Tool offset Machine coordi- Reference value
nate value when (value of parameter)
amount to = tool compensa- + corresponding to
be set tion value write tool compensation
signal turns “1” value write signal
The tool offset amount to be set depends on how to determine the
measurement reference position.
187
17. MEASUREMENT FUNCTIONS NC FUNCTION B–64112EN/01
NOTE
1 Pulses used for automatic determination are stored while
the tool compensation value writing mode select signal
GOSQM <G039#7> is 1 in manual mode. These pulses are
lost when:
a. A mode other than manual mode is set.
b. The tool compensation value writing mode select signal
GOSOM <G039#7> is driven to 0.
c. The tool compensation value is set upon reception of the
touch detection signal from the touch sensor, or P/S
alarm No. 5195 is generated.
d. The servo off state is entered. In this case, the pulses
stored for the axis for which the servo off state is entered
are lost.
e. Axis movement is performed. In this case, pulses stored
for the other axis along which no movement takes place
are lost.
2 Axis interlock applied in the axis direction determined
automatically and two–axis four–direction interlock applied
due to a P/S alarm are released when a mode other than
manual mode is set or when the tool compensation value
writing mode select signal GOSQM <G039#7> is driven to
0. This type of interlock is not released by a reset operation.
188
B–64112EN/01 NC FUNCTION 17. MEASUREMENT FUNCTIONS
Machine
zero point
+X Zt
OFSZ
–EXOFSZ Measured tool
nose position
+Z at machine ref-
OFSX erence position
Workpiece coordinate
system zero point
(Program zero point)
189
17. MEASUREMENT FUNCTIONS NC FUNCTION B–64112EN/01
17.10 T series By manipulating soft keys, a position value displayed on the relative
position display can be set to the offset memory.
TOOL OFFSET Call offset value display screen on the screen. Relative positions are also
VALUE COUNT INPUT displayed on this screen. Reset the displayed relative position to zero.
(T series) Set the tool for measurement at the same fixed point on the machine by
hand. The relative position display at this point shows difference between
the reference tool and the tool measured and the relative position display
value is then set as offset amounts.
190
B–64112EN/01 NC FUNCTION 18. CUSTOM MACRO
18 CUSTOM MACRO
191
18. CUSTOM MACRO NC FUNCTION B–64112EN/01
Ordinary program
Custom macro body
A group of
instructions
Custom macro instruction for a certain
function
The programmer need not remember all the instructions in the custom
macro body. He needs only to remember the representative, custom
macro instruction.
The greatest feature in custom macro is that variables can be used in the
custom macro body. Operation between the variables can be done, and
actual values can be set in the variables by custom macro instructions.
Variables, #1, #4
Call custom macro body can be used
9011, and set variables instead of unknown
#1=10, #4=5. move amount.
r b
a
192
B–64112EN/01 NC FUNCTION 18. CUSTOM MACRO
Format
G65 Pp Rr Aa Bb Kk ;
With this function, the CNC can be graded up by the user himself. Custom
macro bodies may be offered to the users by the machine tool builder, but
the users still can make custom macro himself.
The following functions can be used for programming the custom macro
body.
Explanations
D Use of Variable Variables: #1 (i=1, 2, 3,.......)
Quotation of variables: F#33 (#33: speed expressed by variables)
D Operation between Various operation can be done between variables and constants.
variables The following operands, and functions can be used:
+ (sum), – (difference), * (product), / (quotient), OR (logical sum), XOR
(exclusive logical sum), AND (logical product), SIN (sine), COS
(cosine), TAN (tangent), ATAN (arc tangent), SQRT (square roots), ABS
(absolute value), BIN (conversion from BCD to binary), BCD
(conversion from binary to BCD), FIX (truncation below decimal point),
FUP (raise fractions below decimal point), ROUND (round)
Example : #5 = SIN [[#2 + #4] : 3.14 + #4] : ABS (#10)
D Control command Program flow in the custom macro body is controlled by the following
command.
- If [<conditional expression>]GOTO n (n = sequence number)
When <conditional expression> is satisfied, the next execution is done
from block with sequence number n.
When <conditional expression> is not satisfied, the next block is
executed.
When the [<IF conditional expression>] is committed, it executes
from block with n unconditionally.
The following <conditional expressions> are available:
#j EQ #k whether #j = #k
#j NE #k whether #j = #k
#j GT #k whether #j > #k
#j LT #k whether #j < #k
#j GE #k whether #j y #k
#j LE #k whether #j x #k
- IF[<conditional expression>]THEN
If the specified conditional expression is satisfied, a predetermined
macro statement is executed. Only a single macro statement is
executed.
193
18. CUSTOM MACRO NC FUNCTION B–64112EN/01
Repeated 10 times.
#120=#120+1 ;
END
D Format of custom macro The format is the same as the sub program.
body
O Macro number ;
M99 ;
D Custom macro
instruction - Simple call
G65 P (macro number) L (times to repeat)
<argument assignment> ;
A value is set to a variable by <argument assignment>.
Write the actual value after the address.
Example A5.0E3.2M13.4
There is a regulation on which address (A - Z) corresponds to which
variable number.
- Modal call A
G66 P (macro number) L (times to repeat)
<argument assignment> ;
Each time a move command is executed, the specified custom macro
body is called. This can be canceled by G67.
This function is useful when drilling cycles are programmed as custom
macro bodies.
194
B–64112EN/01 NC FUNCTION 18. CUSTOM MACRO
195
18. CUSTOM MACRO NC FUNCTION B–64112EN/01
196
B–64112EN/01 NC FUNCTION 18. CUSTOM MACRO
D External output Value of variables or characters can be output to external devices via the
commands reader/puncher interface with custom macro command. Results in
measurement is output using custom macro.
D Limitations
- Usable variables
See “Types of variables”.
- Usable variable values
Maximum : ±1047
Minimum : ±10-29
- Constants usable in <expression>
Maximum : ±99999999
Minimum : ±0.0000001
Decimal point allowed
- Arithmetic precision
8-digit decimal number
- Macro call nesting
Maximum 4 folds.
- Repeated ID numbers
1-3
- ( ) nesting
Maximum 5 folds.
- Sub program call nesting
8 folds (including macro call nesting)
197
18. CUSTOM MACRO NC FUNCTION B–64112EN/01
18.2 The range of common variables can be used to #100 to #199, and #500
to #999.
ADDITION OF
CUSTOM MACRO
COMMON
VARIABLES
198
B–64112EN/01 NC FUNCTION 18. CUSTOM MACRO
18.4 With this function, custom macro interruption signal can be input on
detection of tool break, tool change cycle can be executed by custom
PATTERN DATA macro, and machining is continued.
INPUT This function simplifies program creation for CNC machining. Instead of
programming in the NC format, the program can be created by selecting
a menu and entering data according to the menu displayed on the CRT
screen. A menu is provided for each type of drilling such as boring and
tapping. A programmer can select data necessary for actual machining
from these menus. Machining data such as hole position and hole depth
is also provided in menus. The programmer can create a program simply
by entering data from the menus.
This function is basically executed by the custom macro created by a
machine tool builder. What menus and machining data to prepare totally
depends on a machine tool builder. Therefore, a machine tool builder can
incorporate their own know-how into this function.
1. TAPPING
2. DRILLING
3. BORING
4. POCKET
5. BOLT HOLE
6. LINEANGLE
7. GRID
8. PECK
9.
10.
>_ S 0 T0000
EDIT **** *** *** 15:56:32
[ MACRO ][ MENU ][ OPR ][ ][(OPRT) ]
5 is selected
199
18. CUSTOM MACRO NC FUNCTION B–64112EN/01
18.5 There are two types of NC programs; those which, once created, are
scarcely changed, and those which are changed for each machining type.
MACRO EXECUTOR The former are programs created by the custom macro, and the latter are
FUNCTION machining programs. If programs of these types are executed
simultaneously, a battery may run out or the custom macro may be
destroyed by error operation.
Such problems can be solved by this function. The custom macro created
by a machine tool builder is converted to an execute-form program, be
cataloged in the Flash ROM module, and be executed.
Features
- Since the program is cataloged after converted to an execute-form
program, the execution speed is high. The machining time is then
reduced, and the precision is improved.
- Since the program is cataloged in Flash ROM, there is no problem of
battery extinction or custom macro destruction by error operation. The
reliability is improved.
- Since the cataloged program is not displayed on a program screen, the
know-how of the machine tool builder is protected.
- Since the custom macro is cataloged in Flash ROM, the program edit
memory can be used efficiently.
- The user can call the macro easily without knowing the cataloged
program. A custom macro can be created and executed in the program
edit memory as usual.
- An original screen can be created by using the graphic display or
selecting screens by the soft key. The machine tool builder can extend
the control function by using such functions as machining program
creation and edit control, reader/punch interface control, and PMC
data read/write functions.
NOTE
To use the macro executor function for graphics display, the
graphics function is required.
200
B–64112EN/01 NC FUNCTION 19. SERIES 10/11 TAPE FORMAT
201
19. SERIES 10/11 TAPE FORMAT NC FUNCTION B–64112EN/01
19.1 Memory operation of a program created for the following function in the
Series 10/11 tape format can be performed based on the setting parameter.
SERIES–10/11 TAPE
D Equal–lead threading (G33) (T series) ... (G32 with G code system A)
FORMAT
D Subprogram call (M98)
D Canned cycle (G77, G78, G79) (T series) ... (G90, G92, and G94 with
G code system A)
D Multiple repetitive canned cycle (G71 to G76) (T series)
D Canned cycle for drilling (G80 to G85) (T series)
D Canned cycle (G73, G74, G76, G80 to G89) (M series)
NOTE
Address and value specification range
The restrictions imposed on the Series 0i format are also
imposed on the value specification range for the basic
addresses. When a specified value exceeds the range of
the Series 0i format, a P/S alarm is issued. The use of
addresses may be restricted in some cases.
202
20. FUNCTIONS FOR HIGH SPEED
B–64112EN/01 NC FUNCTION CUTTING
203
20. FUNCTIONS FOR HIGH SPEED
CUTTING NC FUNCTION B–64112EN/01
20.1 T series This function is designed for high–speed precise machining. With this
function, the delay due to acceleration/deceleration and the delay in the
ADVANCED PREVIEW servo system which increase as the feedrate becomes higher can be
CONTROL (G08) suppressed.
The tool can then follow specified values accurately and errors in the
machining profile can be reduced.
This function becomes effective when advanced preview control mode is
entered.
Format
G08 P_ ;
20.2 M series By taking full advantage of high–precision contour control using a RISC
processor, this function enables high–speed high–precision machining
AI ADVANCED without the need for special hardware.
PREVIEW CONTROL
(G05.1) (M series) The function enables look–ahead linear acceleration/deceleration before
interpolation of up to 15 blocks. This results in smooth acceleration/
deceleration over many blocks, as well as high–speed machining.
Format
G05.1 Q_ ;
204
20. FUNCTIONS FOR HIGH SPEED
B–64112EN/01 NC FUNCTION CUTTING
20.3 M series By taking full advantage of high–precision contour control using a RISC
processor, this function enables high–speed high–precision machining
AI CONTOUR without the need for special hardware.
CONTROL (G05.1) (M
series) The function enables look–ahead linear acceleration/deceleration before
interpolation of up to 40 blocks (Series 0i-MC only). This results in
smooth acceleration/deceleration over many blocks, as well as
high–speed machining.
Format
G05.1 Q_ ;
205
21. AXIS CONTROL NC FUNCTION B–64112EN/01
21 AXIS CONTROL
206
B–64112EN/01 NC FUNCTION 21. AXIS CONTROL
21.2 It is possible to move the machine by hand, using the mechanical handle
installed on the machine; not by the NC (servo motor).
MECHANICAL Move distance by the mechanical handle is followed up and actual
HANDLE FEED position in The NC is revised. The mechanical handle feed is done by
inputting the servo off signal of the axis fed. It is necessary, however, to
specify following up of the movement in the servo off status with the
follow up signal.
21.3 Servo on/off control per axis is possible by input signals from PMC. This
function is generally used with the machine clamp.
SERVO OFF
21.5 It is possible to detach or attach rotary tables and attachments with this
function. Switch control axis detach signal according to whether the
CONTROL AXIS rotary tables and attachments are attached or detached. When this signal
DETACH is on, the corresponding axis is excluded from the control axes, so the
servo alarm applied to the axis are ignored. The axis is automatically
regarded as being interlocked. This signal is not only accepted when
power turned is on, so automatic change of attachments is possible any
time with this function.
The same switching as with this signal can also be performed with the
MDI setting.
207
21. AXIS CONTROL NC FUNCTION B–64112EN/01
21.6 An input signal from PMC can be used to select whether simple
synchronization control is performed. During simple synchronization
SIMPLE control, the move command for the master axis is issued to the two motors
SYNCHRONOUS of the master and slave axes for synchronization control of the two axes.
CONTROL However, there are no functions for performing synchronization
compensation so that the positional deviations of the master and slave
axes are equalized by constantly monitoring these positional deviations.
Even during simple synchronization control, pitch error compensation
and backlash compensation for the master axis are performed separately
from those for the slave axis.
The following shows the differences in simple synchronization control
between the M series and the T series.
For M series
D Operation modes that allow simple synchronization control
Automatic operation, Jog feed, Manual handle feed,
Incremental feed, and Manual reference position return
D Number of synchronized pairs
Up to four (depending on the number of control axes)
D Other functions
Synchronization error check (positional deviation/machine
coordinates)
Synchronization (During power–up of the CNC, the departure
generated during power–down of the CNC is automatically
compensated. However, the absolute–position detectors are required
for the master and slave axes.)
Automatic grid positioning
Torque difference alarm
For T series
D Operation modes that allow simple synchronization control
Automatic operation only (disabled during manual operation)
D Number of synchronized pairs
One
D Other functions
None
208
B–64112EN/01 NC FUNCTION 21. AXIS CONTROL
21.7 M series The rotation axis (C axis) can be controlled by commanding the G41.1 or
G42.1 so that the tool constantly faces the direction perpendicular to the
NORMAL DIRECTION advancing direction during cutting.
CONTROL
(G40.1,G41.1,G42.1)
(M series)
Format
G40.1 : Normal direction control cancellation mode
(No normal direction control can be performed.)
G41.1 : Normal direction control left side on
(Control is made to allow facing perpendicular to advancing
direction to the left)
G42.1 : Normal direction control right side on
(Control is made to allow facing perpendicular to advancing
direction to the right)
In the normal direction control, control is made so that the tool may be
perpendicular to the advancing direction on the X-Y plane.
With the angle of C axis, the +X direction is defined to be 0 degrees
viewed from the rotation center of C axis. Then, the +Y direction, –X
direction, and –Y direction are defined to be 90, 180, and 270 degrees,
respectively.
When shifting to the normal direction control mode from the cancellation
mode, the C axis becomes perpendicular to the advancing direction where
the G41.1 or G42.1 is at the starting point of commanded block.
+Y
90°
180° 0° +X
Rotation 270°
center
209
21. AXIS CONTROL NC FUNCTION B–64112EN/01
NOTE
The rotation of C axis during normal direction control is
controlled at short distance so that 180 degrees or less may
result.
210
B–64112EN/01 NC FUNCTION 21. AXIS CONTROL
21.8 T series A polygonal figure can be machined by turning the workpiece and tool
at a certain ratio.
POLYGON TURNING D Rotation ratio of the workpiece and tool
(G50.2, G51.2) D Number of tool teeth
(T series) The polygon can be a quadrilateral or hexagon according to the above
machining conditions.
Compared with the machining performed by using C and X axes with
polar-coordinate compensation, this machining requires shorter time. It,
however, cannot form a precise figure of a polygon. Generally, this
method is used for machining of square or hexagonal bolt heads or
hexagonal nuts.
Example)
Rotation ratio of the workpiece and tool : 1 : 2
Number of teeth : Three at every 120° (for a hexagon)
ÇÇÇÇÇÇ
ÇÇÇÇÇÇ
ÇÇÇÇÇÇ
ÇÇÇÇÇÇ
ÇÇÇÇÇÇ
Tool
ÇÇÇÇÇÇ
ÇÇÇÇÇÇ Workpiece
The rotation of the tool for polygon turning is controlled by the CNC
control axis. Hereafter, the rotation axis of this tool is called B axis.
Command G51.2 controls the B axis so that the ratio of the tool speed to
the speed of the workpiece (specified by the S command beforehand)
attached to the spindle becomes the specified value.
The synchronization between the spindle and B axis is canceled by the
command below.
G50.2 ;
211
21. AXIS CONTROL NC FUNCTION B–64112EN/01
Format
G51.2 P_ Q_ ;
P and Q : Rotation ratio of spindle to B axis
Command range : Integer value of 1 to 9 for both P and Q
When the value of Q is positive, the rotation direction of B
axis is in positive direction.
When the value of Q is negative, the rotation direction of B
axis is in negative direction.
(Example) When the rotation ratio of spindle to B axis is equal to 1 : 2
and the rotation direction of B axis is positive direction
G51.2 P1 Q2 ;
G50.2 ; Cancel
212
B–64112EN/01 NC FUNCTION 21. AXIS CONTROL
21.9 The PMC can directly control any given axis, independently of the CNC.
In other words, moving the tool along axes that are not controlled by the
AXIS CONTROL WITH CNC is possible by entering commands, such as those specifying movimg
PMC distance and feedrate, from the PMC. This enables the control of turrets,
pallets, index tables and other peripheral devices using any given axes of
the CNC.
Whether the CNC or PMC controls an axis is determined by the input
signal provided for that particular axis.
The PMC can directly control the following operations :
(1) Rapid traverse with moving distance specified
(2) Cutting feed–feed per minute, with moving distance specified
(3) Cutting feed–feed per revolution, with moving distance specified
(4) Skip–feed per minute, with moving distance specified
(5) Dwell
(6) Continuons feed
(7) Reference position return
(8) 1st reference position return
(9) 2nd reference position return
(10) 3rd reference position return
(11) 4th reference position return
(12) External pulse synchronization–Main spindle
(13) External pulse synchronization–first manual handle
(14) External pulse synchronization–second manual handle
(15) External pulse synchronization–third manual handle (for M series
only)
(16) Feedrate control
(17) Auxiliary function, Auxliary function 2, Auxliary function 3
(18) Selection of the machine coordinate system
(19) Torque control command
The PMC is provided with four paths to control these operations using
input and output signals.
By issuing commands through these four paths, the PMC can
simultaneously control multiple axes separately. Use parameter to
determine which path controls which axis. Commands may be issued
through one path to two or more axes, thus allowing the PMC to control
multiple axes using one path.
213
21. AXIS CONTROL NC FUNCTION B–64112EN/01
21.10 For T series, even if the X axis is not vertical to the Z axis (for T series,
the Y axis not vertical to the Z axis), they are assumed to form a
ANGULAR AXIS orthogonal coordinate system, simplifying programming. The movement
CONTROL of each axis is automatically controlled according to the slant angle.
Command
Machine movement
X’ X Y’ Y
θ θ
Z Z
For T series For M series
21.11 With arbitrary angular axis control, however, any axes can be specified
as the angular and perpendicular axes, by specifying parameters
ARBITRARY accordingly.
ANGULAR AXIS
CONTROL
21.12 When enough torque for driving a large table cannot be produced by only
one motor, two motors can be used for movement along a single axis.
TANDEM CONTROL Positioning is performed by the main motor only. The sub motor is used
only to produce torque. With this tandem control function, the torque
produced can be doubled.
Main motor
Table
Ball screw
Sub motor
Example of operation
In general, the CNC regards tandem control as being performed for one
axis. However, for servo parameter management and servo alarm
monitoring, tandem control is regarded as being performed for two axes.
214
B–64112EN/01 NC FUNCTION 21. AXIS CONTROL
CNC
Linear scale
Serial pulse coder (incremental)
(absolute position detector)
215
22. MANUAL OPERATION NC FUNCTION B–64112EN/01
22 MANUAL OPERATION
216
B–64112EN/01 NC FUNCTION 22. MANUAL OPERATION
22.1
JOG FEED D Jog feed
Each axis can be moved in the + or - direction for the time the button
is pressed. Feed rate is the parameter set speed with override of:
0 - 655.34%, 0.01% step.
The parameter set speed can be set to each axis.
D Manual rapid feed
Each axis can be fed in a rapid feed to the + or - direction for the time
the button is pressed.
Rapid traverse override is also possible.
22.2 Specified move amount can be positioned to the + or - direction with the
button.
INCREMENTAL FEED Move amount of:
(least command increment) x (magnification)
can be specified. The feed rate is that of manual feed.
The possible magnifications to be specified are as follows.
×1, ×10, ×100, ×1000.
Increment system Metric input Inch input
22.3 By rotating the manual pulse generator, the axis can be moved for the
equivalent distance. Manual handle feed is controlled 1 axis at a time.
MANUAL HANDLE The manual pulse generator generates 100 pulses per rotation. Move
FEED (1ST) amount per pulse can be specified from the following magnifications:
×1, ×10, ×M, ×N.
N is parameter set values of 0 - 1000. M is parameter set values of 1–127.
Move distance is :
(Least command increment) x (magnification)
Increment system Metric input Inch input
22.4 A 2nd, as well as 3rd manual pulse generator can be rotated to move the
axis for the equivalent distance. Manual handle feed of 3 axes (for T
MANUAL HANDLE series, 2 axes) can be done at a time. Multiplier is common to 1st, 2nd
FEED (2ND, 3RD) and 3rd manual pulse generators.
(T SERIES: 2ND)
217
22. MANUAL OPERATION NC FUNCTION B–64112EN/01
22.5 Although manual handle feed is usually enabled only in the manual
handle-feed mode, it can also be performed in the manual continuous-feed
JOG AND HANDLE mode by setting the corresponding parameters. However, manual
SIMULTANEOUS continuous-feed and manual handle-feed cannot be performed
MODE simultaneously. Manual handle-feed can be performed only when manual
continuous-feed is in progress (i.e., an axis is moving).
22.6 T series The feedrates in jog feed and incremental feed can be specified by
inputting either feed distance per minute or feed distance per rotation.
MANUAL
PER–REVOLUTION 1 Specification of feed distance per minute or feed distance
FEED (T series) per rotation is selected by setting the corresponding
parameter.
2 During manual rapid traverse, feed distance per minute is
always specified.
22.7 When tool is moved by manual operation, whether to add the move
distance to the absolute coordinate value in the workpiece coordinate
MANUAL ABSOLUTE system is selected depending on the input signal *ABSM.
ON/OFF When tool is moved by manual operation when *ABSM is set to 0, the
move distance is added to the absolute coordinate value.
When tool is moved by manual operation when *ABSM is set to 1, the
move distance is ignored, and is not added to the absolute coordinate
value. In this case, the work coordinates is shifted for the amount tool was
moved by manual operation.
218
B–64112EN/01 NC FUNCTION 23. AUTOMATIC OPERATION
23 AUTOMATIC OPERATION
219
23. AUTOMATIC OPERATION NC FUNCTION B–64112EN/01
23.1
OPERATION MODE
23.1.1 The part program can be read and executed block by block from the input
DNC Operation device connected to the reader/puncher interface.
23.1.3 Multiple blocks can be input and executed by the MDI unit.
MDI Operation
220
B–64112EN/01 NC FUNCTION 23. AUTOMATIC OPERATION
23.2
SELECTION OF
EXECUTION
PROGRAMS
23.2.1 Program number currently in need can be searched from the programs
Program Number registered in memory operating the MDI.
Search
23.2.2 The sequence number of the program on the currently selected memory
Sequence Number can be searched using the MDI unit.
When executing the program from half-way (not from the head) of the
Search program, specify the sequence number of the half-way program, and the
program can be executed from the half-way block by sequence number
search.
23.2.3 After program execution has ended, the program in the memory or the
tape reader can be reminded to the program head, with this reset & rewind
Rewind
signal on. (When a portable tape reader with reels is in use)
23.2.5 The external workpiece number search function has been expanded. A
Expanded External workpiece number 0001 to 9999 can be specified to select a program
(O0001 to O9999) corresponding to the workpiece number.
Workpiece Number
Search
221
23. AUTOMATIC OPERATION NC FUNCTION B–64112EN/01
23.3
ACTIVATION OF
AUTOMATIC
OPERATION
23.4
EXECUTION OF
AUTOMATIC
OPERATION
23.4.1 Buffer register in CNC equivalent to one block is available for program
Buffer Register read and control of CNC command operation intervals caused by
preprocess time.
222
B–64112EN/01 NC FUNCTION 23. AUTOMATIC OPERATION
23.5
AUTOMATIC
OPERATION STOP
23.5.1 Automatic operation is stopped after executing the M00 (program stop)
commanded block. When the optional stop switch on the operator’s panel
Program Stop
is turned on, the M01 (optional stop) commanded block is executed and
(M00, M01) the automatic operation stops.
The automatic operation can be restarted by the cycle start button.
23.5.2 The CNC is reset after executing the M02 (end of program) or M30 (end
Program End of tape) commanded block.
(M02, M30)
23.5.3 During program operation, when the block with a preset sequence number
Sequence Number appears, operation stops after execution of the block, to a single block stop
status. The sequence number can be set by the operator through the MDI
Comparison and Stop panel. This function is useful for program check, etc., because program
can be stopped at optional block without changing the program.
23.5.4 The CNC can be brought to an automatic operation hold status by pressing
Feed Hold the feed hold button on the operator’s panel. When feed hold is
commanded during motion, it decelerates to a stop.
Automatic operation can be restarted by the cycle start button.
23.5.5 T series When feed hold is commanded during thread cutting cycle by G76 or
Thread Cutting Cycle G78, the tool rapidly relieves to the cycle start point, like in the final
chamfering of the thread cutting cycle. Thread cutting cycle restarts by
Retract (T series) cycle start command.
Without this function, if feed hold is commanded during thread cutting,
it returns and stops at the position where thread cutting circle was started
after thread cutting is ended.
23.5.6 The automatic operation can be ended in a reset status by the reset button
Reset on the MDI panel or by the external reset signal, etc. When reset is
commanded during motion, it decelerates to a stop.
223
23. AUTOMATIC OPERATION NC FUNCTION B–64112EN/01
23.6
RESTART OF
AUTOMATIC
OPERATION
23.6.1 This function allows program restart by specifying the desired sequence
Program Restart number, for example after tool break and change, or when machining is
restarted after holidays. The NC memorizes the modal status from the
beginning of the program to the sequence number.
If there are M codes necessary to be output, output the M code by the MDI,
press the start button, the tool automatically moves to the start position,
and the program execution restarts.
23.6.2 In cases such as when tool movement along an axis is stopped by feed hold
Manual Intervention during automatic operation so that manual intervention can be used to
replace the tool: When automatic operation is restarted, this function
and Return returns the tool to the position where manual intervention was started.
To use the conventional program restart function and tool withdrawal and
return function, the switches on the operator’s panel must be used in
conjunction with the MDI keys. This function does not require such
operations.
23.7
MANUAL
INTERRUPTION
DURING AUTOMATIC
OPERATION
23.7.1 During automatic operation, tool can be adjusted by the manual pulse
Handle Interruption generator without changing the mode. The pulse from the manual pulse
generator is added to the automatic operation command and the tool is
moved for the recommended pulses.
The work coordinate system thereafter is shifted for the pulse commanded
value. Movement commanded by handle interruption can be displayed.
224
B–64112EN/01 NC FUNCTION 23. AUTOMATIC OPERATION
23.8 Any of the files (programs) stored on a FANUC Handy File, a FANUC
Program File Mate, a FANUC FLOPPY CASSETTE can be selected and
SCHEDULING executed.
FUNCTION D A list of the files stored on the Floppy Cassette can be displayed.
D Files can be executed in an arbitrary order and executed an arbitrary
number of times by specifying file numbers in a desired order along
with their repeat counts.
>_
RMT **** *** *** 09:36:48
[ PRGRM ][ ][ DIR ][ SCHDUL ][ (OPRT) ]
225
23. AUTOMATIC OPERATION NC FUNCTION B–64112EN/01
23.9 M series When rigid tapping is stopped, either by an emergency stop or by a reset,
the tap may cut into the workpiece. The tap can subsequently be drawn
RETRACTION FOR out by using a PMC signal. This function automatically stores
RIGID TAPPING (M information relating to the tapping executed most recently. When a tap
series) return signal is input, only the rigid tapping cycle return operation is
executed, based on the stored information. The tap is pulled toward the
R point. When a return value a is set in a corresponding parameter, the
pulling distance can be increased by a.
Initial point
2nd return
completion
α point
L L
Center of
tapping
23.9.1 Instead of signal input, a G30 command can be used to start rigid tapping
Retraction for Rigid return. This is made possible by parameter setting.
Tapping by Specifying
G30
Format
G30 P99 M29 S_ ;
M29 : A parameter–set M code that specifies rigid tapping
S_ : Specify S used when rigid tapping is specified. (Optional)
NOTE
1 When use of G30 is selected, rigid tapping return cannot be
performed by signal input.
2 The rigid tapping return command is a one–shot command.
226
B–64112EN/01 NC FUNCTION 24. PROGRAM TEST FUNCTIONS
227
24. PROGRAM TEST FUNCTIONS NC FUNCTION B–64112EN/01
24.1 In machine lock condition, the machine does not move, but the position
display is updated as if the machine were moving. Machine lock is valid
ALL-AXES MACHINE even in the middle of a block.
LOCK
24.4 In the dry run mode, the tool moves at the speed obtained by multiplying
the dry run speed by the override value for manual feeding, regardless of
DRY RUN the specified cutting federate. The dry run speed is specified in the
corresponding parameter. However, the rapid traverse command (G00)
and rapid traverse override value are effective.
Dry run can also be commanded to rapid feed command (G00) by
parameter setting.
24.5 The program can be executed block by block under automatic operation.
SINGLE BLOCK
228
B–64112EN/01 NC FUNCTION 25. SETTING AND DISPLAY UNIT
229
25. SETTING AND DISPLAY UNIT NC FUNCTION B–64112EN/01
25.1 The setting and display units are shown in Subsections II–25.1.1 to
II–25.1.4.
SETTING AND
DISPLAY UNIT
7.2″ Monochrome LCD/MDI Unit (Horizontal Type) . . II–25.1.1
8.4″ Color LCD/MDI Unit (Horizontal Type) . . . . . . . . . II–25.1.2
7.2″ Monochrome LCD/MDI Unit (Vertical Type) . . . . . II–25.1.3
8.4″ Color LCD/MDI Unit (Vertical Type) . . . . . . . . . . . II–25.1.4
25.1.1
7.2″ Monochrome
LCD/MDI Unit
(Horizontal Type)
NOTE
The MDI varies between the T series and the M series.
230
B–64112EN/01 NC FUNCTION 25. SETTING AND DISPLAY UNIT
25.1.2
8.4″ Color LCD/MDI
Unit (Horizontal Type)
NOTE
The MDI varies between the T series and the M series.
231
25. SETTING AND DISPLAY UNIT NC FUNCTION B–64112EN/01
25.1.3
7.2″ Monochrome
LCD/MDI Unit (Vertical
Type)
NOTE
The MDI varies between the T series and the M series.
232
B–64112EN/01 NC FUNCTION 25. SETTING AND DISPLAY UNIT
25.1.4
8.4″ Color LCD/MDI
Unit (Vertical Type)
NOTE
The MDI varies between the T series and the M series.
233
26. DISPLAYING AND SETTING DATA NC FUNCTION B–64112EN/01
234
B–64112EN/01 NC FUNCTION 26. DISPLAYING AND SETTING DATA
––EMG–– OUTPUT
Status
EDIT STOP MTN FIN ALM hh:mm:ss HEAD1 line
Soft key
line
NOTE
The name of a path can be specified by the corresponding
parameter with a string of up to seven characters. The characters
may be numbers, letters, katakana characters, or symbols.
235
26. DISPLAYING AND SETTING DATA NC FUNCTION B–64112EN/01
D Total position display Relative position, position in the work coordinates, position in the
machine coordinate, and remaining move distance are displayed in one
screen.
D Command value display The following two displays are performed.
- Previously commanded modal value and command value to be
executed (ACTIVE)
- Command value of the next block
D Setting (parameter set by Displays setting value.
the operator) display
D Tool offset amount Displays offset value. Relative position is also displayed at the same time.
display
D Program display - Display of program for editing.
- Display of program currently under execution.
- Display of program list.
A list of program number and program name, of programs stored in
the memory is displayed.
Used memory size and remaining memory size are also displayed.
D Parameter display
D Self diagnosis result
display
D Custom macro variables
display
D External operator
message, external alarm
message display
D Actual speed and actual - Actual feedrate per minute (mm/min or inch/min)
spindle speed Movement along an arbitrary axis can also be excluded from the actual
feedrate indications by parameter setting.
- Actual spindle speed (min–1)
D Program check screen The following are displayed on one screen.
- Program number on execution
- Sequence number on execution
- Program text on execution
- Current position
- Modal G codes
- Modal M codes
- T code
- Actual feedrate and spindle speed
- Status
236
B–64112EN/01 NC FUNCTION 26. DISPLAYING AND SETTING DATA
D Operating monitor The load values (torque values) of spindle motor and servo motor are
display displayed in bar chart.
The most recent sampling values are displayed in bar chart display. Set
the rated load value of motor corresponding to each load meter to
parameters. The load meter displays 100% when the load value is the
rated load value.
The load meter can be displayed up to three servo motor axes and a
parameter can be used to select any one of three axes.
D Displaying the alarm A maximum of 25 of the most recent alarms generated in CNC can be
history recorded. Each alarm record consists of the following items:
- Date and time
- Alarm number
- Alarm message
Any of the records can be deleted from the alarm history.
In addition, the operator message history can be displayed.
D Displaying external The history of external operator messages can be stored. The stored
operator message history can be displayed on the external operator message history screen.
history
237
26. DISPLAYING AND SETTING DATA NC FUNCTION B–64112EN/01
26.4 This function displays the integrated power-on time, the integrated cycle
operation time, the integrated cutting time and timer on the cRT display
RUN TIME & PARTS screen. The integrated cycle operation time, the integrated cutting time
NUMBER DISPLAY and timer can be altered and preset, using the MDI.
In addition to the above, this function displays the count of the total
number of parts machined, the number of parts required and the number
of parts on the screen. Each time M02, M30 or a parameter set M code
is executed, the count of the total in memory is incremented by 1.
If a program is prepared so as to execute M02, M30 or a parameter set M
code each time one part machining is completed, the number of parts
machined can be counted automatically.
If the count of the number of parts reaches the number of parts required,
a signal is output to the PMC side.
It is possible to change and preset the number of parts required and the
number of parts counted, using MDI.
The number of required parts and the number of counted parts can be read
and written using custom macro variables. These values can also be read
using the external data input function.
PARTS TOTAL = 0
PARTS REQUIRED = 25
PARTS COUNT = 10
POWER ON = 0H 0M
OPERATING TIME = 0H 0M 0S
CUTTING TIME = 0H 0M 0S
FREE PURPOSE = 0H 0M 0S
CYCLE TIME = 0H 0M 0S
DATE = 2002/04/10
TIME = 16:20:30
>_
MDI **** *** *** 16:20:30
[ OFFSET ][ SETTING ][ ][ ][ (OPRT) ]
238
B–64112EN/01 NC FUNCTION 26. DISPLAYING AND SETTING DATA
STEP MULT. :
*1 *10 *100
RAPID OVRD. :
100% 50% 25% F0
JOG FEED :1.0%
****************
FEED OVRD. : 140%
******
ACTUAL POSITION (ABSOLUTE)
X 0.000 Z 0.000
S 0 T0000
EDIT **** *** *** 09:36:48
[ MACRO ][ ][ OPR ][ TOOLLF ][ ]
239
26. DISPLAYING AND SETTING DATA NC FUNCTION B–64112EN/01
S 0 T0000
EDIT **** *** *** 09:36:48
[ MACRO ][ ][ OPR ][ TOOLLF ][ ]
240
B–64112EN/01 NC FUNCTION 26. DISPLAYING AND SETTING DATA
26.6 File names in the floppy cassette (FANUC CASSETTE F1) and program
file (FANUC PROGRAM FILE Mate can be listed on the display
DIRECTORY DISPLAY (directory display). Each file name of up to 17 letters can be displayed
OF FLOPPY in directory display.
CASSETTE Files in the floppy cassette are:
Part program, parameter/pitch error compensation data, tool
compensation data, and etc.
When part program in part program memory is written into the floppy
cassette, program number can be given to it as a file name. When NC
parameter is written into the floppy cassette, “PARAMETER” is given
them as a fixed name. When tool compensation data is written into the
floppy cassette, “OFFSET” is given to it as a fixed name.
241
26. DISPLAYING AND SETTING DATA NC FUNCTION B–64112EN/01
26.7
GRAPHIC DISPLAY
FUNCTION
26.7.1 This function allows display of tool path on the screen, making program
Graphic Display check easier. The following functions are offered.
Function D Tool path of the machining program can be displayed. Machining
process can be checked just by viewing the tool path drawing on the
screen.
Program check before machining can be done by displaying the
programmed locus on the screen.
D For M series, display is possible with the XY plane, YZ plane, ZX
plane, or isometric; for T series, with the XZ plane.
D Scaling of the screen is possible.
O0001 N00012
X 0.000
Y 0.000
Z 0.000
S 0 T0000
MEM **** *** *** 09:36:48
[ PARAM ][ GRAPH ][ ][ ][ ]
242
B–64112EN/01 NC FUNCTION 26. DISPLAYING AND SETTING DATA
D Tool path drawing mode Tool paths are drawn with lines so programs can be checked closely.
D Because tool paths are drawn at a high speed, programs can be checked
quickly.
Two-dimensional drawing
S 0 T0000
MDI **** *** *** 09:36:48
[ AUTO ][ START ][ STOP ][REWIND ][ ERASE ]
D With the automatic scaling function, figures can be drawn on the center
of the screen at a desired magnification.
D On a drawing, any part of a figure can be magnified easily by
specifying its center and scale.
Enlarged-view drawing
S 0 T0000
MDI **** *** *** 09:36:48
[ PARAM ][ EXEC ][ SCALE ][ POS ][ (OPRT) ]
243
26. DISPLAYING AND SETTING DATA NC FUNCTION B–64112EN/01
S 0 T0000
MDI **** *** *** 09:36:48
[ AUTO ][ START ][ STOP ][REWIND ][ ERASE ]
D Because the current position of a tool is marked on the drawn tool path,
the progress of machining can be monitored accurately.
Biplanar drawing
S 0 T0000
MDI **** *** *** 09:36:48
[ AUTO ][ START ][ STOP ][REWIND ][ ERASE ]
244
B–64112EN/01 NC FUNCTION 26. DISPLAYING AND SETTING DATA
D Machining profile
drawing mode D The profile of a workpiece that changes as the tool moves can be
simulated and drawn three-dimensionally, making it easier to check
programs visually.
Blank figure
Final figure
245
26. DISPLAYING AND SETTING DATA NC FUNCTION B–64112EN/01
246
B–64112EN/01 NC FUNCTION 26. DISPLAYING AND SETTING DATA
Two-dimensional drawing
Tri-planar drawing
Dynamic graphic display The following two display modes are available.
function (for T series) These functions are provided for conversational automatic programming
function for lathe.
D Tool path drawing mode Movement of the tool tip is drawn with fine lines.
247
26. DISPLAYING AND SETTING DATA NC FUNCTION B–64112EN/01
26.8 The waveforms of servo data items (errors, torques, timing pulses, etc.)
and signals between the CNC and the PMC can be displayed.
SERVO WAVEFORM
FUNCTION
WAVE DIAGNOS. (GRAPHIC)) O0000 N00000
On this screen, the sampling period (6 to 32767 ms) and drawing start
conditions can be specified.
248
B–64112EN/01 NC FUNCTION 26. DISPLAYING AND SETTING DATA
26.9
SCREENS FOR
SERVO DATA AND
SPINDLE DATA
26.9.1 On the servo setting screen, parameters required for standard initialization
Servo Setting Screen of the servo motor are listed. The parameters can also be set.
X AXIS Y AXIS
INITIAL SET BIT 00000011 00000001
MOTOR ID NO. 12 12
AMR 00011111 00011111
CMR 2 2
FEEDGEAR N 3 3
(N/M) M 10 10
DIRECTION SET 111 111
VEROCITY PULSE NO. 8000 8000
POSITION PULSE NO. 8000 8000
REF COUNTER 8000 8000
26.9.2 On the servo adjustment screen, parameters required for basic adjustment
Servo Adjustment of the servo motor and statuses being monitored are listed for each axis.
Screen
SERVO SETTING O1000 N00000
X AXIS
(PARAMETR) (MONITOR)
FUNC.BIT 00110100 ALARM 1 00110100
LOOP GAIN 3000 ALRAM 2 00110100
TUNING ST. 1 ALARM 3 00000000
SET PERIOD 50 ALARM 4 00000000
INT.GAIN 251 LOOP GAIN 3000
PROP.GAIN –2460 POS ERROR 100
FILTER 2450 CURRENT % 50
>_
MEM STAT MTN *** *** 09:36:48
[ SV.SET ][ SV.TUN ][ ][ ][ (OPRT) ]
249
26. DISPLAYING AND SETTING DATA NC FUNCTION B–64112EN/01
GEAR SELECT :1
SPINDLE :S11
(PARAMETER)
GEAR RATIO 50
MAX SPINDLE SPEED 3000
MAX MOTOR SPEED 6000
MAX C AXIS SPEED 100
>_
MDI **** *** *** 09:36:48
[ SP.SET ][ SP.TUN ][ SP.MON ][ ][ (OPRT) ]
>_
MEM STAT MTN *** *** 09:36:48
[ SP.SET ][ SP.TUN ][ SP.MON ][ ][ (OPRT) ]
250
B–64112EN/01 NC FUNCTION 26. DISPLAYING AND SETTING DATA
26.9.5 On the spindle monitor screen, various data items related to the spindle
Spindle Monitor Screen are listed.
>_
MEM **** *** *** 09:36:48
[ SP.SET ][ SP.TUN ][ SP.MON ][ ][ (OPRT) ]
251
26. DISPLAYING AND SETTING DATA NC FUNCTION B–64112EN/01
Slot information
SYSTEM CONFIG O1234 N56789
Slot No.
Module ID
Software ID
Software series
Software edition
Software information
SYSTEM CONFIG(SOFTWARE) O1234 N56789
MEM **** *** *** 19:14:23
[ PARAM ][ DGNOS ][ PMC ][ SYSTEM ][ ]
Software type
Software series
Software edition
Contents of ROM (system ROM only)
252
B–64112EN/01 NC FUNCTION 26. DISPLAYING AND SETTING DATA
Hardware (module) The slot number, board name, modules mounted on the board are
information displayed for each slot.
253
26. DISPLAYING AND SETTING DATA NC FUNCTION B–64112EN/01
26.11 When an alarm occurs, or when the operator is not certain what to do next,
HELP FUNCTION pressing the HELP key on the MDI panel displays detailed alarm
information or instructions for operation.
One of the following three screens can be displayed:
D On the alarm detail screen, detailed information on the alarm currently
activated is displayed. Using this information, the operator can
identify the cause of the alarm and what action to take. Any alarm
information can be displayed on this screen.
D On the operation instruction screen, when the operator is not sure of
what to do next during CNC operation (i.e., program editing and data
input/output) necessary instructions are displayed.
D Parameter numbers are listed on the parameter list screen. When the
number of the parameter to be set or referenced is unknown, bring up
this screen.
NUMBER: 094
M’SAGE: P TYPE NOT ALLOWED (COORD CHG)
FUNCTION: RESTART PROGRAM
ALARM:
WHEN COORDINATE SYSTEM SETTING IS
CONDUCTED AFTER HOLDING
AUTOMATIC OPERATION, P–TYPE (WHEN TOOL IS
DAMAGED) PROGRAM
RESTART CANNOT BE EXECUTED.
S 0 T0000
MEM **** *** *** ALM 09:36:48
[ ALAM ][ OPR ][ PARA ][ ][ (OPRT) ]
S 0 T0000
MEM **** *** *** 09:36:48
[ ALAM ][ OPR ][ PARA ][ ][ (OPRT) ]
254
B–64112EN/01 NC FUNCTION 26. DISPLAYING AND SETTING DATA
>_ S 0 T0000
MEM **** *** *** 09:36:48
[ ALAM ][ OPR ][ PARA ][ ][ (OPRT) ]
255
26. DISPLAYING AND SETTING DATA NC FUNCTION B–64112EN/01
26.12 A data protection key can be installed on the machine side for protection
of various NC data. The following four input signals are offered,
DATA PROTECTION according to type of data to be protected.
KEY D KEY 1
Allows input of tool compensation amount and work zero point offset
amount.
D KEY 2
Allows setting data input and macro variable input.
D KEY 3
Allows part program input and editing.
D KEY 4
Allows PMC data (counter, data table) input.
26.13 This function displays a history of the key and signal operations,
performed by the operator, upon the occurrence of a failure or alarm. The
DISPLAYING history can also be displayed for previously generated alarms.
OPERATION HISTORY The following history data is recorded :
D MDI key/soft key operation sequences
Example : A to Z, <POS>, <PAGE↑>, [SF1]
D On/off status transitions of selected input and output signals
Example : G0000.7↑, SBK↑
D NC alarm information
Example : P/S0010
D Time (date, time) stamp
Example : 02/04/10
09:27:55
The history data can be output to an input/output device, connected via
the reader/punch interface. Previously output history data can be input
from an input/output device.
26.14 The remote diagnosis function allows you to use a commercially available
personal computer as a service terminal and connect it to a CNC via a
REMOTE Ethernet for monitoring the CNC status and modifying CNC data from
DIAGNOSTIC the personal computer.
The machine remote diagnosis package and Ethernet function are
required.
256
B–64112EN/01 NC FUNCTION 26. DISPLAYING AND SETTING DATA
PROGRAM(NUM.) MEMORY’CHAR.)
–USED: 60 3321
–FREE: 2 429
O0020 (GEAR–1000 MAIN)
O0040 (GEAR–1000 SUB–1)
O0200 (GEAR–1000 SUB–2)
O2000 (GEAR–1000 SUB–3)
>
EDIT **** *** *** *** 16:53:25
[ PRGRM ][ DIR ][ ][ ][ (OPRT) ]
26.16 Displaying the same characters in the same positions on the screen causes
a LCD to degrade relatively quickly. To help prevent this, the screen can
ERASE CRT SCREEN be cleared by pressing specific keys. It is also possible to specify the
DISPLAY automatic clearing of the screen if no keys are pressed at specified with
a parameter. (This cannot be performed for 0i with PC functions.)
257
26. DISPLAYING AND SETTING DATA NC FUNCTION B–64112EN/01
26.17 The periodic maintenance screen shows the current statuses of those
consumables that require periodic replacement (backup battery, LCD
PERIODIC backlight, touch pad, etc.). An item whose service life has expired is
MAINTENANCE indicated by the machine run time or the like.
SCREEN
PERIODICAL MAINTENANCE O0001 N12345
(STATUS)
ITEM NAME REMAIN
: 01 BATTERY FOR CONTROLLER 0H
@ 02 BATTERY FOR PULSECODER 5000H
03 LCD BACK LIGHT 10000H
@ 04 COOLANT 720H
05
06
07
08
09
10
>_
EDIT **** *** *** 19:27:05
[ ][MAINTE ][ ][ ][(OPRT) ]
26.18 The history of the maintenance carried out by FANUC service personnel
and machine tool builder can be recorded via the screen. The screen has
MAINTENANCE the following features:
INFORMATION D Alphabetical characters can be input from MDI. (Half–size kana can
SCREEN be input only when Japanese display is selected.)
D The recording screen can be scrolled, line by line.
D Edited maintenance information can be read and punched.
D Data can be stored into flash ROM.
D Full–size (shift JIS) codes can be displayed. (Input codes are read
only.)
258
B–64112EN/01 NC FUNCTION 26. DISPLAYING AND SETTING DATA
26.19 Some operators may find the LCD difficult to read, depending on their eye
level relative to the display. To make a monochrome LCD easier to read,
CONTRAST the contrast can be adjusted.
ADJUSTMENT
SCREEN
SETTING(HANDY)
259
26. DISPLAYING AND SETTING DATA NC FUNCTION B–64112EN/01
26.20
ID INFORMATION
SCREEN
Overview When the αi servo or αi spindle is connected, if each of the units (motor
or amplifier) actually connected it has ID information, the ID information
can be read and displayed on the CNC screen.
26.20.1
Servo Information
Screen
Displaying the servo ID
screen
Editing the servo ID The servo information recorded or stored in flash ROM can also be edited.
screen See Chapter 6 “Digital Servo” in the Maintenance Manual (B–64115EN).
260
B–64112EN/01 NC FUNCTION 26. DISPLAYING AND SETTING DATA
26.20.2
αi Spindle Information
Screen
Displaying the spindle ID
screen
Editing the spindle ID The spindle information recorded or stored in flash ROM can also be
screen edited.
See Chapter 7 “AC Spindle” in the Maintenance Manual (B–64115EN).
261
26. DISPLAYING AND SETTING DATA NC FUNCTION B–64112EN/01
26.21 If the speed–oriented and precision–oriented parameters are set with the
advanced preview control function or AI contour control function and
MACHINING then the precision level is set according to the machining conditions
CONDITION during machining, the parameters appropriate to the conditions can be
SELECTING automatically calculated to perform machining.
FUNCTION
NOTE
This function cannot be used for inch output machines.
26.22 The PARAMETER SET SUPPORTING screen allows you to perform the
following operations, so you can easily start up or adjust the machine.
PARAMETER SET
D Displaying a minimum set of parameters together that must be set
SUPPORTING during startup of the machine
SCREEN D Displaying the servo tuning, spindle tuning, machining parameter
tuning screens
262
27. PART PROGRAM STORAGE
B–64112EN/01 NC FUNCTION AND EDITING
263
27. PART PROGRAM STORAGE
AND EDITING NC FUNCTION B–64112EN/01
27.2 Part program storage and editing can be done during machining. The
same functions as foreground editing can be performed.
BACKGROUND However, it is not possible to delete all programs at one time.
EDITING
264
27. PART PROGRAM STORAGE
B–64112EN/01 NC FUNCTION AND EDITING
265
27. PART PROGRAM STORAGE
AND EDITING NC FUNCTION B–64112EN/01
27.8 The following two screens can be displayed with graphic data for
guidance in programming in the CNC format:
CONVERSATIONAL D G code list
PROGRAMMING D Standard format of a G-code block
WITH GRAPHIC Programs can be created by referring to guidelines and entering necessary
data interactively.
FUNCTION
O0010 N00000
G00 :
G01 :
G02 :
G03 :
G04 :
G10 :
G20 :
G21 :
G25 :
G26 :
G27 :
G28 :
G01 G G G X (X,Z)
X U
Z W
C
F U
M
S
T
; W
Z
27.9 The password function (parameter NE9) can be locked using parameter
PASSWD and parameter KEYWD to protect program Nos. 9000 to 9999.
PASSWORD In the locked state, parameter NE9 cannot be set to 0. In this state,
FUNCTION program Nos. 9000 to 9999 cannot be modified unless the correct
keyword is set.
A locked state means that the value set in the parameter PASSWD differs
from the value set in the parameter KEYWD. The values set in these
parameters are not displayed. The locked state is released when the value
already set in the parameter PASSWD is also set in parameter KEYWD.
When 0 is displayed in parameter PASSWD, parameter PASSWD is not
set.
266
B–64112EN/01 NC FUNCTION 28. DIAGNOSIS FUNCTIONS
28 DIAGNOSIS FUNCTIONS
267
28. DIAGNOSIS FUNCTIONS NC FUNCTION B–64112EN/01
Input/output signals from PMC to CNC, or vice versa, and inner status
of the CNC can be displayed.
28.2 Alarms specific to a machine tool can be added as alarms that can be
diagnosed on the failure diagnosis guidance screen.
MACHINE ALARM The following alarms can be added.
DIAGNOSIS
1. External alarm messages (alarm numbers 1000 to 19999)
2. Macro alarms (#3000) (alarm numbers 3000 to 3200)
268
B–64112EN/01 NC FUNCTION 29. DATA INPUT/OUTPUT
29 DATA INPUT/OUTPUT
269
29. DATA INPUT/OUTPUT NC FUNCTION B–64112EN/01
29.2 The following Input/Output devices are prepared, which are connectable
to the reader/puncher interface.
INPUT/OUTPUT
DEVICES
29.2.1 When the Floppy Cassette is connected to the NC, machining programs
FANUC Floppy stored in the NC can be saved on a Floppy Cassette, and machining
programs saved in the Floppy Cassette can be transferred to the NC.
Cassette
29.2.2 The built-in hard disk enables data to be stored and it can be connected
FANUC Program File to the reader/puncher interface to input data to CNC. This hard disk has
a large storage capacity of approximately 50,000 m of paper tape data, so
Mate it can register maximum 1024 command programs.
It can be connected to the remote buffer to achieve high-speed transfer of
maximum 86.4 kbps.
The hard disk is sealed to be continuously used under the factory
environment.
29.2.3 The FANUC Handy File is a compact multi functional input/ouput floppy
FANUC Handy File disk unit for use with various types of FA equipment. Programs can be
transferred or edited through operations performed directly on the Handy
File or through remote operation from connected equipment.
Compared with media such as paper tape, a 3.5″ floppy disk is both
compact and durable, and eliminates noise during input/output.
Programs with a total capacity of up to 1.44 MB (equivalent to about 3600
m paper tape) can be saved on a single floppy disk.
270
B–64112EN/01 NC FUNCTION 29. DATA INPUT/OUTPUT
29.3 By using the external program input start signal, a program can be loaded
from an input unit into CNC memory.
EXTERNAL When an input unit such as the FANUC Handy File or FANUC Floppy
PROGRAM INPUT Cassette is being used, a file can be searched for using the workpiece
number search signals, after which the program can be loaded into CNC
memory.
29.4 Files on a memory card can be referenced, and different types of data such
as part programs, parameters, and offset data on a memory card can be
DATA INPUT/OUTPUT input and output in text file format.
USING A MEMORY
CARD The major functions are listed below.
D Displaying a directory of stored files
The files stored on a memory card can be displayed on the directory
screen.
D Searching for a file
A search is made for a file on a memory card and, if found, it is
displayed on the directory screen.
D Reading a file
Text–format files can be read from a memory card.
D Writing a file
Data such as part programs can be stored to a memory card in text file
format.
D Deleting a file
A file can be selected and deleted from a memory card.
CNC
Writing a file
Reading a file
Displaying a Memory card
directory
Searching for
a file
Deleting a file
271
29. DATA INPUT/OUTPUT NC FUNCTION B–64112EN/01
Memory card
PC
CNC
Creation of a machining program DNC operation
Command / Response
Personal
CNC
Computer Response / Command
272
B–64112EN/01 NC FUNCTION 29. DATA INPUT/OUTPUT
29.7 When an option board (the Ethernet board or board with data server) is
used, the following Ethernet functions are available:
ETHERNET
FUNCTION When the Ethernet board is used
(OPTION BOARD) – FOCAS1/Ethernet function
Personal
computer
Operation from
personal computer
Hub
Operation from NC
273
29. DATA INPUT/OUTPUT NC FUNCTION B–64112EN/01
NC data transfer The following NC data can be transferred by operation on the personal
computer:
D Data related to controlled axes and spindles
- Absolute position, relative position, machine position
- Remaining travel distance
- Actual feedrate
D NC program
D Directory information in part program storage
D NC file data
- Parameters
- Tool offset values
- Custom macro variables
- Workpiece zero point offset values
- Settings
- P code macro variables
- Pitch error compensation data
D Tool life management data
D History data
- Operation history data
- Alarm history data
D Data related to servo systems and spindles
D Data related to profile diagnosis
D Modal data
D Diagnostic data
D A/D conversion data
D Alarm information
D NC system identification information
D PMC data
- Addresses G, F, Y, X, A, R, T, K, C, D
Remote control The following operations can be performed by operation on the personal
computer:
D Selecting NC programs
D Deleting NC programs
D External reset
274
B–64112EN/01 NC FUNCTION 29. DATA INPUT/OUTPUT
29.7.2 The data server function can perform NC data transfer and DNC operation
Data Server Function by using FTP.
The data server function operates mainly as an FTP client. It also operates
as an FTP server.
The data server function uses the ATA flash card included in (attached to)
the data server board as an NC data storage area. For details, refer to
“FAST Ethernet Board/FAST DATA SERVER Board Operator’s Manual
(B–63644EN).”
NC data transfer By operation on an NC, this function is operated as an FTP client and
(between the personal provides the following services:
computer and the ATA D GET
card on the data server D MGET
board] <FTP client> D PUT
D MPUT
D DIR
D DEL
NC data transfer By operation on the personal computer, the function is operated as an FTP
[between the personal server and provides the following services:
computer and the ATA D GET
card on the data server D MGET
board] <FTP server> D PUT
D MPUT
D DIR
D DEL
275
29. DATA INPUT/OUTPUT NC FUNCTION B–64112EN/01
Operation [between the The following operations can be performed by operation on an NC:
hard disk on the data D DNC operation
server board and part D DNC operation by subprogram call (M198)
program storage]
Operation [between the The following operations can be performed by operation on an NC:
personal computer and D DNC operation
part program storage] D DNC operation by subprogram call (M198)
ATA flash card ATA flash card management can be performed by operation on an NC.
management D ATA flash card formatting
D ATA flash card check
D Display of a list of files on the ATA flash card
276
B–64112EN/01 NC FUNCTION 29. DATA INPUT/OUTPUT
29.8 When the power mate CNC series is used as an additional axis (slave) of
the CNC, the power motion manager allows the slave data to be displayed
POWER MATE CNC and set by the CNC.
MANAGER The power mate CNC manager enables the following display and setting:
(1) Current position display (absolute/machine coordinates)
(2) Parameter display and setting
(3) Diagnosis display
(4) System configuration screen display
(5) Alarm display
The power mate CNC series that can be used as the slave is a β amplifier
with I/O Link.
3.GROUP2 / β 4.GROUP3 / β
277
29. DATA INPUT/OUTPUT NC FUNCTION B–64112EN/01
29.9 The field networks listed below are supported to transfer DI/DO signals
assigned to PMC addresses to other CNCs or other vendors’ devices that
FIELD NETWORKS conform to the same communication standards.
278
B–64112EN/01 NC FUNCTION 30. SAFETY FUNCTIONS
30 SAFETY FUNCTIONS
279
30. SAFETY FUNCTIONS NC FUNCTION B–64112EN/01
30.1 With the emergency stop, all commands stops, and the machine stops
immediately. Connect the “emergency stop” signal both to the control
EMERGENCY STOP unit and to the servo unit side.
When emergency stop is commanded, servo excitation is also reset, and
servo ready signal will also turn off. Move distance of the machine will
still be reflected in the actual position and machine position will not be
lost (Follow up function). After resetting the emergency stop, operation
can thus be continued without need of another reference point return.
To design a safe machine tool, use an emergency stop signal for it
properly.
The emergency stop signal is intended to bring a machine tool to an
emergency stop. It is input to the CNC control unit, servo amplifier, and
spindle amplifier. Generally, the B contact of a pushbutton switch is used
to input the emergency stop signal.
Closing the contact used for the emergency stop signal (*ESP) releases
the CNC unit from an emergency stop state, thus enabling it to control and
operate the servo motor and spindle motor.
Opening the contact used for the emergency stop signal (*ESP) resets the
CNC unit and brings it to an emergency stop. Opening the contact also
decelerates the servo motor and spindle motor to a stop.
Switching off the electric power of the servo amplifier for a servo motor
applies a dynamic brake to the servo motor. If the servo motor is used for
a horizontal axis, however, a load on the horizontal axis may drop to cause
the servo motor to rotate. To avoid this unintended motion, use a servo
motor with a brake or use another appropriate provision.
Switching off the electric power of the servo amplifier for a spindle motor
suddenly allows the spindle motor to keep rotating from force of habit,
which can be dangerous.
Avoiding this danger requires a control function that detects when the
emergency stop signal (*ESP) contact becomes open, and makes sure that
the spindle motor decelerates to a stop, then switches off the electric
power.
The FANUC servo amplifier αi series is designed with considerations on
the behavior mentioned above. Just supply an emergency stop signal to
the power supply module (hereafter called PSM) of the servo amplifier
αi series. The PSM outputs an electric power MCC control signal. This
signal can be used to switch on and off the electric power supplied to the
power supply module.
Basically, this CNC control unit is designed to use a software limit
function to detect overtravel, so an ordinary overtravel detection limit
switch is unnecessary. However, a stroke end limit switch must be
provided and connected to an emergency stop signal so that the
emergency stop signal can cause the machine to stop if the machine goes
over the software limit because of a servo feedback system failure.
The following diagram shows an example of connecting an emergency
stop signal when the CNC control unit and αi series servo amplifier are
used.
280
B–64112EN/01 NC FUNCTION 30. SAFETY FUNCTIONS
Spark killer
SK
EMG
Relay
I/O unit connected to the CNC
emg1 (module)
+24
*ESP
MCCOFF3
MCCOFF4
External
power supply
L1 L2 L3
Spark killer
SK
3φ
Coil
AC200V
L1
L2
L3
CAUTION
When connecting the CNC unit to a spindle motor and
amplifier from a manufacturer other than FANUC, you
should develop a sequence that, if the emergency stop
signal contact becomes open when the spindle motor is
running, decelerates the spindle motor to a stop safely,
according to the respective manuals.
281
30. SAFETY FUNCTIONS NC FUNCTION B–64112EN/01
30.2
OVERTRAVEL
FUNCTIONS
30.2.1 When the movable section has gone beyond the stroke end, a signal is
Overtravel output, the axis decelerates to a stop, and overtravel alarm is displayed.
All directions on all axes has overtravel signals.
ÇÇÇÇÇÇÇÇÇ
ÇÇÇÇÇÇÇÇÇ
(X1, Y1, Z1, ...)
ÇÇÇÇÇÇÇÇÇ
ÇÇÇÇÇÇÇÇÇ
The shaded part is
ÇÇÇÇÇÇÇÇÇ
the inhibition area.
ÇÇÇÇÇÇÇÇÇ
(X2, Y2, Z2, ...)
D Automatic alarm release After an OT alarm is generated, moving the tool along the axis to the
movable range can release the OT alarm without reset operation. Whether
to enable automatic release is specified by parameter setting.
282
B–64112EN/01 NC FUNCTION 30. SAFETY FUNCTIONS
30.2.3 M series An inhibition area can be specified inside or outside an area set by
Stored Stroke Check 2 parameter or by program. Command distance from the machine
coordinates zero point for limit positions. This function is valid after
(G22, G23) (M series) manual reference point return right after the power on. When specifying
the limits with program, limits or axes X, Y, Z can be set.
The inhibition area can be changed according to the workpiece. The
parameter decides whether the inhibition area is outside or inside the
specified area.
D Parameter setting can be made to generate an alarm before the
inhibition area is entered.
ÇÇÇÇÇÇÇÇÇ
ÇÇÇÇÇÇÇÇÇ
(X, Y, Z)
ÇÇÇÇÇÇÇÇ (X, Y, Z)
ÇÇÇÇÇÇÇÇÇ ÇÇÇÇÇÇÇÇ
ÇÇÇÇÇÇÇÇÇ
ÇÇÇÇÇÇÇÇÇ
ÇÇÇÇÇÇÇÇ
ÇÇÇÇÇÇÇÇ
ÇÇÇÇÇÇÇÇÇ
(I, J, K)
Format
G22 X_ Y_ Z_ I_ J_ K_ ;
On/off of stored stroke check 2 is commanded by program as follows:
G22 : Stored stroke check function on
G23 : Stored stroke check function off
283
30. SAFETY FUNCTIONS NC FUNCTION B–64112EN/01
30.2.4 T series
Stored Stroke Checks
2 and 3 (G22, G23)
(T series)
Stored stroke check 2 The designation of the forbidden area can be specified by parameters or
(G22, G23) program.
The forbidden area can be changed for each workpiece. Selection
between inside or outside as the forbidden area is made by parameters.
ÇÇÇÇÇÇÇÇÇ
ÇÇÇÇÇÇÇÇÇ
(X, Z)
ÇÇÇÇÇÇÇÇ
(X, Z)
ÇÇÇÇÇÇÇÇÇ ÇÇÇÇÇÇÇÇ
ÇÇÇÇÇÇÇÇÇ
ÇÇÇÇÇÇÇÇÇ
(I, K)
ÇÇÇÇÇÇÇÇ
ÇÇÇÇÇÇÇÇ
(I, K)
Stored stroke check 3 Inside the area specified by parameters is the forbidden area.
ÇÇÇÇÇÇÇ
ÇÇÇÇÇÇÇ
(X1, Z1,....)
ÇÇÇÇÇÇÇ
This shaded area is the forbidden
ÇÇÇÇÇÇÇ
area.
(X2, Z2,....)
Format
G22 X_ Z_ I_ K_ ;
On/off of stored stroke check 2 is commanded by program as follows:
G22 : Stored stroke check function on
G23 : Stored stroke check function off
284
B–64112EN/01 NC FUNCTION 30. SAFETY FUNCTIONS
30.2.5 This function calculates the movement end point at the start of movement
Stroke Limit Check in a block, during automatic operation, based on the current machine
position and the specified amount of travel, to check whether the end point
Before Move falls within the inhibited area for stored stroke limit 1, 2, or 3. If the end
point falls within an inhibited area, movement for that block is stopped
immediately upon the start of movement and an alarm is issued.
NOTE
This function checks only whether the end point falls within
an inhibited area. It does not check whether the tool passes
through an inhibited area between the start and end points.
However, an alarm is issued upon a tool’s entering an
inhibited area according to stored stroke limit 1, 2, or 3.
Example 1)
End point
Start point
Stops at point a according to stored
stroke limit 1 or 2.
End
point
285
30. SAFETY FUNCTIONS NC FUNCTION B–64112EN/01
Example 2)
End
point
Start point→ Stops immediately upon the start of movement due to stroke
limit check being performed before movement.
30.2.6 When a new tool is mounted, position the tip of the tool on the two corners
of the limit area, and specify the machine coordinates of the corners in the
Stroke Limit Externally
parameters for stroke limit 1. The machine coordinates are stored in the
Setting CNC as the limit positions. Then input signals for setting the stroke limit.
Stroke limit setting signals are provided for each axis and each direction.
Checking of the stroke limit can also be selected by turning on or off the
limit release signal common to all axes.
286
B–64112EN/01 NC FUNCTION 30. SAFETY FUNCTIONS
30.2.7 T series It is used for checking the interference between the chuck and tail stocks
Chuck and Tail Stock and preventing the damage of machines.
Set the area of entry prohibition from the exclusive setting screen
Barrier (T series) according to the shapes of chuck and tail stocks.
When a tool enters the area of entry prohibition during cutting, the
travelling of tool is stopped and an alarm message is displayed. The tool
can be escaped from the prohibition area by moving in the opposite
direction to that on entry. The Yes/No of this function is selected by the
G22 (Stored stroke limit on). G23 (Stored stroke limit off), and signal of
machine side.
Tail stock barrier select
G code Chuck barrier Tail stock barrier
signal
G22 1 Yes No
G23 Irrelevant No No
Explanations
D Dimension definition of
chuck
Outer diameter Inner diameter
ÇÇÇÇÇÇ
ÇÇÇÇÇÇ
L
ÇÇÇÇÇ
ÇÇÇÇÇ
L
ÇÇÇÇÇÇ
ÇÇÇÇÇÇ W
L1
ÇÇÇÇÇ
ÇÇÇÇÇ
W
W1
ÇÇÇÇÇÇ ÇÇÇÇÇ
L1
W1 X X
CZ CZ
Z Z
ÇÇÇÇÇÇ ÇÇÇÇÇ
ÇÇÇÇÇÇ ÇÇÇÇÇ
CX CX
ÇÇÇÇÇÇ
ÇÇÇÇÇÇ ÇÇÇÇÇ
ÇÇÇÇÇ
ÇÇÇÇÇÇ: Workpiece coordinate system origin
ÇÇÇÇÇ
Symbol Description
287
30. SAFETY FUNCTIONS NC FUNCTION B–64112EN/01
D Dimension definition of
tail stock
X
L
L1
TZ
L2
D3 D2 D1 D Z
Symbol Description
NOTE
This function cannot be used together with stored stroke
check 2 or 3.
288
B–64112EN/01 NC FUNCTION 30. SAFETY FUNCTIONS
30.3
INTERLOCK
30.3.1 Axis feed specified to each axis can be stopped separately. If interlock is
specified to any of the moving axis during cutting feed, all axes of the
Interlock for Each Axis
machine movement will decelerate to a stop. When interlock signal is
reset, the moving starts.
30.3.2 Feed of all axes can be inhibited. When all axes interlock is commanded
All Axes Interlock during move, it decelerates and stops. When all axes interlock signal is
reset, the moving restarts.
NOTE
To enable axis direction–specific interlocking for the
automatic operation of the T series, set the DAU parameter
(bit 4 of parameter No. 3003).
30.3.4 T series Feeding of all axes can be inhibited only during automatic operation.
Start Lock When the start lock signal is input while the axes are moving, all axes
decelerate and come to a stop. When the start lock signal is released, the
axes start moving again.
30.3.5 During automatic operation, the start of the next block can be disabled.
A block that has already started is executed as is till its end.
Block Start Interlock
When the block start interlock is released, the execution of the next block
starts.
289
30. SAFETY FUNCTIONS NC FUNCTION B–64112EN/01
30.4 Feed rate can be decelerated by an external deceleration signal from the
machine side. A feed rate after deceleration can be set by parameter.
EXTERNAL External deceleration is prepared every axis and every direction.
DECELERATION When the tool is to be moved in the reverse direction, futile time may not
be wasted since no external deceleration is applied.
By setting the corresponding parameter, whether to make this signal
effective only for rapid traverse mode or for all feed modes can be
specified for each axis and for each direction.
This function allows the maximum of valid strokes and keeps shock to the
machine to a minimum, to stops at stroke end.
30.5 When a cutting tool collides with the machine body or is damaged during
cutting, the load torque applied to the motors is larger than during normal
UNEXPECTED feeding or cutting. The abnormal load detection function calculates the
DISTURBANCE load torque and transfers the value from the CNC to the PMC. If the load
TORQUE DETECTION torque is larger than the value set in a parameter, the function stop the
motor or reverses the motor rotation to retract the tool by the distance set
in a parameter. In this way, damage to the machine is prevented. (The
motor rotation reverse function is available only for the servo motor axes.)
Unexpected disturbance torque detection can be disabled only for a
specific axis.
290
B–64112EN/01 NC FUNCTION 31. STATUS OUTPUT
31 STATUS OUTPUT
291
31. STATUS OUTPUT NC FUNCTION B–64112EN/01
31.1 This signal is sent to the PMC when NC power is on and control becomes
possible. Sending of this signal will be stopped when NC power is turned
NC READY SIGNAL off.
31.2 This signal is sent to the PMC when the servo system becomes operatable.
Axes necessary to be braked must be braked when this signal is not sent.
SERVO READY
SIGNAL
31.3 This signal shows that tape reader or main program in memory is
rewinding.
REWINDING SIGNAL
31.4 This signal is transmitted when the NC comes under an alarm status.
ALARM SIGNAL
31.7 This signal is sent out when automatic operation is being activated.
AUTOMATIC
OPERATION START
SIGNAL
31.8 This signal is sent out when automatic operation is held by feed hold.
FEED HOLD SIGNAL
31.9 This signal is sent out to show that the NC has been reset.
RESET SIGNAL
31.10 This signal shows that an axis is under in–position status. This signal is
output for all axes.
IN–POSITION SIGNAL
31.11 This signal shows that an axis is moving. This signal is sent out for every
axis.
MOVE SIGNAL This move signal can be combined with the interlock signal to
automatically clamp and unclamp the machine, or control on/off of the
lubricating oil.
292
B–64112EN/01 NC FUNCTION 31. STATUS OUTPUT
31.12 This signal is output to show move direction of each axis. This signal is
output for each axis.
AXIS MOVE
DIRECTION SIGNAL
31.13 This signal shows that the move command is done under rapid traverse.
RAPID TRAVERSING
SIGNAL
31.14 This signal is output to show that the machine is under tapping mode (G63
for M series) or tapping cycle (G74, G84 for M series), (G84, G88 for T
TAPPING SIGNAL series) is under operation.
31.15 This signal shows that the machine is under thread cutting mode (G33)
or thread cutting cycle (T series).
THREAD CUTTING
SIGNAL
31.16 This signal shows that the machine is under constant surface speed control
mode (G96).
CONSTANT SURFACE
SPEED CONTROL
SIGNAL
31.17 This signal shows that input is done under inch input mode (G20).
INCH INPUT SIGNAL
31.18 To inform the exterior of the states of software operator’s panel, which are
set via CRT/MDI, and machine operator’s panel, following DI state
DI STATUS OUTPUT output signals are sent.
SIGNAL D Mode-select check signal
D Single-block check signal
D Manual absolute on/off check signal
D Dry-run check signal
D Machine-lock check signal
D Auxiliary-function-lock check signal
D Optional block-skip check signal
D Mirror-image check signal
293
32. EXTERNAL DATA INPUT NC FUNCTION B–64112EN/01
294
B–64112EN/01 NC FUNCTION 32. EXTERNAL DATA INPUT
32.1 The tool compensation value for the offset number specified in the
program can be externally modified.
EXTERNAL TOOL The input signal designates whether the input tool offset amount is:
COMPENSATION D Absolute or incremental
D Geometry offset or tool wear offset
D Cutter radius compensation amount or tool length compensation
amount
It the machine is equipped with automatic measurement devices of tools
and workpiece, error can be input to the NC with this function.
External tool compensation amount range is:
0 to ±7999
in least command increment.
32.2 A program number from 1 - 9999 can be given from outside to the NC to
call the corresponding program from the NC memory.
EXTERNAL In machines with automatic loading function of various workpiece, this
PROGRAM NUMBER function can be used to automatically select and execute program suitable
SEARCH to the workpiece.
With bit 3 (ESC) of parameter No. 6300, the external program number
search function can also be cancelled by a CNC reset operation.
32.3 The work coordinate system can be shifted for the shift amount given
from outside.
EXTERNAL The shift amount specified by an input signal is set as an external offset
WORKPIECE value for workpiece zero points by which the workpiece coordinate
COORDINATE system shifts. The shift amount is an absolute value, not an incremental
value.
SYSTEM SHIFT
The shift amount range is :
0 to ±7999
in least command increment.
295
32. EXTERNAL DATA INPUT NC FUNCTION B–64112EN/01
32.6 Message to the operator is given from outside the NC, and the message
is displayed.
EXTERNAL The message is sent after a message number 0 to 999. Either a message
OPERATOR’S consisting of up to 255 characters or up to four messages each consisting
MESSAGE of up to 63 characters can be displayed at the same time by parameter
setting.
The message numbers 0 to 99 are displayed along with the message.
To distinguish these alarms from other alarms, the CNC displays them by
adding 2000 to each alarm number. When a message from 100 to 999 is
displayed, the message number is not displayed; only its text is displayed.
An external data will clear the operator messages.
32.7 The number of required parts and the number of machined parts can be
preset externally. Values from 0 to 9999 can be preset.
SUBSTITUTION OF
THE NUMBER OF
REQUIRED PARTS
AND NUMBER OF
MACHINED PARTS
296
33. KEY INPUT FROM PMC
B–64112EN/01 NC FUNCTION (EXTERNAL KEY INPUT)
When the PMC inputs the code signal corresponding to a key on the MDI
panel to the CNC, the code signal can be input in the same way as with
actual operation of the key on the MDI panel. For example, this function
is usable in the following case:
After allowing to travel the tool at an arbitrary machining position by
using the playback function (option), when to store its positions as the
program command, X, Y, Z, <INSERT>, etc. must be input via key
operations. However, these operations can be realized simply by
depressing a switch on the operator’s panel at the machine side.
When the switch is pressed, the PMC inputs code signals corresponding
to keys X, Y, Z, and <INSERT> to the CNC. This produces the same
results as with actual key operations.
297
34. FUNCTIONS FOR PUNCH PRESS NC FUNCTION B–64112EN/01
298
B–64112EN/01 NC FUNCTION 34. FUNCTIONS FOR PUNCH PRESS
34.1 The following G codes are provided for Series 0i–PC. The G codes are
classified into two: A and B. One of the G code types can be selected using
PREPARATORY a parameter. In this manual, G code system A is assumed.
FUNCTIONS
G code list (1/2)
System A System B Group Meaning
G00 G00 Positioning (Rapid traverse)
G01 G01 Linear interpolation (Cutting feed)
01
G02 G02 Circular interpolation/Helical interpolation (CW)
G03 G03 Circular interpolation/Helical interpolation (CCW)
G04 G04 Dwell
G08 G08 Advanced preview control
G09 G09 00 Exact stop
G10 G10 Programmable data input
G11 G11 Cancel programmable data input mode
G17 G17 XpYp plane where Xp: X–axis or an axis parallel to it
Yp: Y–axis or an axis paral-
G18 G18 02 ZpXp plane lel to it
Zp: Z–axis or an axis paral-
G19 G19 YpZp plane lel to it
G20 G20 Input in inch
06
G21 G21 Input in mm
G22 G22 Stored stroke limit function on
04
G23 G23 Stored stroke limit function off
G26 G26 Bolt hole circle
G28 G50 Automatic reference point return
G32 G32 Automatic safety zone setting
00
G33 G33 Skip function
G38 G38 Bending compensation X
G39 G39 Bending compensation Y
G40 G40 Cutter compensation cancel
G41 G41 07 Cutter compensation left
G42 G42 Cutter compensation right
G40.1 G40.1
Normal direction control canceled
(G150) (G150)
G41.1 G41.1
19 Left–side normal direction control turned on
(G151) (G151)
G42.1 G42.1
Right–side normal direction control turned on
(G152) (G152)
G50 G34 Scaling off
11
G51 G35 Scaling on
G52 G93 Local coordinate system setting
00
G53 G53 Machine coordinate system selection
299
34. FUNCTIONS FOR PUNCH PRESS NC FUNCTION B–64112EN/01
300
B–64112EN/01 NC FUNCTION 34. FUNCTIONS FOR PUNCH PRESS
34.2
PRESS FUNCTIONS
34.2.1 In blocks which perform positioning (G00) along the X- or Y-axis in rapid
One–cycle Press traverse mode, a press start signal is sent to the press after positioning is
completed, thus enabling punching. Note however that no press start
signal is output in the following cases:
(1) When MDI mode has been selected
(2) When a M-code has been issued
(3) In a block between an M-code to clamp the workpiece and an M-code
to unclamp the workpiece
NOTE
Before positioning is completed, a press start signal may be
output depending on parameter settings.
34.2.2 The term nibbling refers to repeated punching without bringing the press
Continuous Press to a halt. A continuous-press-in-process signal is output in nibbling
blocks.
(Nibbling)
Circular Nibbling (G68) (1) The following command specifies circular nibbling:
And Linear Nibbling G68 I r Jq KDq P d Q p ;
(G69)
d
∆θ r
θ
+X
r : Radius
q : Angle between the line from the origin to the punch start point
and the positive X-axis
D q : Angle between the line from the origin to the punch start point
and the line from the origin to the punch end point
d : Tool diameter
p : Nibbling pitch
301
34. FUNCTIONS FOR PUNCH PRESS NC FUNCTION B–64112EN/01
d
ȏ
+X
Nibbling Mode (M–code) Nibbling can be performed in a block between an M-code for nibbling
(M12) and an M-code for nibbling cancel (M13). These M-codes are
specified by parameters.
Linear nibbling can be done by commanding G01 in the nibbling mode,
while circular nibbling can be done by commanding G02 and G03 in the
nibbling mode.
The tool diameter cannot be offset by G01, G02, G03 commands.
Accordingly, these commands are used together with cutter compensation
commands (G40, G41, G42) when nibbling is done by offsetting a
continuous straight line or circular arc leftwards or rightwards by the tool
diameter.
(1) Straight line
G01X –––– Y –––– Q –––– ;
The end point is designated by address X, Y, while the pitch is
designated by address Q.
(2) Circular arc
G02 X___ Y___ I___J___
Q ;
G03 R___
302
B–64112EN/01 NC FUNCTION 34. FUNCTIONS FOR PUNCH PRESS
N200G00G90X x1 Y y1 ;
N210M12;
N220G41X x2 Y y2 T02D02 ;
N230G01X x 3 Y y 3 Q ;
N240X x4 Y y4 ;
N250G03X x 5 Y y 5 I J ;
N260G01X x6 Y y6 ;
N270X x7 Y y7 ;
N280M13;
N290G40G00X x8 Y y8 T03 ;
N240 N260
N230 N270
N250
(x2’, y2’)
(x7’, y7’)
(x7, y7)
N220
N290
(x8, y8)
(x1, y1)
303
34. FUNCTIONS FOR PUNCH PRESS NC FUNCTION B–64112EN/01
34.2.4 G70 specifies rapid traverse for positioning. A press start signal is not
Positioning and Press output after positioning is completed.
off (G70)
Format
G70IP -- ;
34.2.5 The following parameters can be used to adjust the press start signal
Setting for Press output timing so that punching is smooth.
Start Signal (1) Punching specification for forming mode
(2) Setting up an upper limit to the positioning offset for press start signal
output
(3) Timer setting (early PF) for outputting a press start signal before
positioning is completed
(4) Timer setting for executing the next block before press is completed
34.2.6 It is possible to inhibit the press start signal from being output.
Press Start Lock
34.2.7 It is possible to defer the output of the press start signal until the press is
Press Start Wait ready to respond.
34.2.9 In a block in which press start signal output is specified (except for
External Motion nibbling), an external operation signal, rather than the press start signal,
can be output as required by an external signal. This function can be used
Function for tapping.
304
B–64112EN/01 NC FUNCTION 34. FUNCTIONS FOR PUNCH PRESS
34.3 For rapid traverse, the rapid traverse feedrates, time constants, and servo
loop gains can be switched according to the positioning distance set up
SWITCHING RAPID by a parameter for each axis. Use of this function can improve positioning
TRAVERSE accuracy.
FEEDRATES, TIME X– and Y–axes : Rapid traverse feedrates, time constants, and/or
CONSTANTS, servo loop gains are switched according to the
positioning distance (up to 7 steps).
AND/OR SERVO
Servo loop gains for rapid traverse and cutting
LOOP GAINS feed are switched
ACCORDING TO THE T–axis : Rapid traverse time constant and servo loop gains
POSITIONING are switched according to the positioning angle
DISTANCE (up to 3 steps).
C–axis : Rapid traverse feedrates and time constants are
switched according to the positioning angle (up to
3 steps).
34.4 For automatic rapid traverse, positioning along the X– and Y–axes can be
performed exactly in the specified time regardless of the positioning
POSITIONING TIME distance. Use of this function for nibbling can smooth punching
CONSTANT regardless of what the nibbling pitch is, because positioning can be done
CONTROL exactly in the constant time. (2 steps)
305
34. FUNCTIONS FOR PUNCH PRESS NC FUNCTION B–64112EN/01
CAUTION
M code and pattern function can not be specified in the
same block.
34.5.1
Bolt Hole Circle (G26)
Format
G26I r J θ K n ;
#2 #1
r
θ
#n
34.5.2
Line at Angle (G76)
Format
G76I d J θ K n ;
#n
d
#2
#1
θ
306
B–64112EN/01 NC FUNCTION 34. FUNCTIONS FOR PUNCH PRESS
34.5.3
Arc (G77)
Format
G77I r J θ P ∆θ K n ;
#n
#3
r #2
∆θ
#1
θ
34.5.4
Grid (G78, G79)
Format
G78I dx P nx J dy K ny ;
G79I dx P nx J dy K ny ;
G78 specifies punching from X–axis direction.
G79 specifies punching from X–axis direction.
#ny
#2y
dy
#1y
307
34. FUNCTIONS FOR PUNCH PRESS NC FUNCTION B–64112EN/01
34.5.5
Share Proof (G86)
Format
G86I ȏ J θ P W1 Q W2 ;
W1 ȏ
θ
W2
34.5.6
Square (G87)
Format
G87I ȏ x J ȏ y P W1 Q W2 ;
W1
W2 + +
ȏy
+ +
ȏx
308
B–64112EN/01 NC FUNCTION 34. FUNCTIONS FOR PUNCH PRESS
34.5.7
Radius (G88)
Format
G88I ȏ x J θ K ∆ θ P d Q p ;
r
∆θ
θ
34.5.8
Cut at Angle (G89)
Format
G89I ȏ J θ P d Q p ;
p
ȏ
θ
309
34. FUNCTIONS FOR PUNCH PRESS NC FUNCTION B–64112EN/01
34.6
PATTERN BASE
Program 1
POINT COMMAND G90X100Y100 ;
G70X200Y200 ;
(G72) G26I50JOK4 ;
Program 2
G90X100Y100 ;
G72X200Y200 ;
G26I50J0K4 ;
G72X– Y– ;
An under–mentioned coordinates values can be instructed by an
above–mentioned command.
(1) Center point of Bolt hole circle (G26), Arc (G77), Circular nibblint
(G68), Radius (G88)
(2) Starting point of the line at angle (G76), grid (G78, G79), linear
nibbling (G69), cut at angle (G89), share proof (G86), and square
(G87)
G72 only designates the pattern base point; it does not move a tool.
CAUTION
M code, T code, and S code can not be specified in the same
block as G72.
310
B–64112EN/01 NC FUNCTION 34. FUNCTIONS FOR PUNCH PRESS
34.7
MEMORY AND CALL
D
BY A/B MACRO D
D
G72X100.Y100. ;
A2G26I50.J0K4 ;² Designated for storage after execution
G72X200.Y100. ;
B2 ; ² Recall of pattern A2
G72X250.Y200. ;
B2 ;
G72X150.Y200. ;
B2 ;
D
D
D
When it is desired to repeatedly use a pattern with the same figure among
the pattern functions, it is possible to store the pattern with a number and
access it whenever necessary.
(1) Storage A1 – A5
A pattern function is executed and stored when address A (1 to 5) is
specified before a G code of pattern function.
A2G26I50.J04K; G26I50.J04K is stored in storage A2 of the
patternfunciton.
(2) Call B1 – B5
The pattern function memorized in address A can be called by address
B (1 to 5) command.
B2; – G26I50.J0K4 is called and executed.
Blocks (up to 192 characters per block) can be stored and called except
for the pattern function.
311
34. FUNCTIONS FOR PUNCH PRESS NC FUNCTION B–64112EN/01
34.8
AUTOMATIC Y
REPOSITIONING
(G75) X
Workpiece clamp
Workpiece holder
G75X– ;
A series of the following commands can be given, using G75X_ ;
command.
(1) M10 ; : Workpiece clamp
(2) G70G91YyR ; : Escape of Y axis
(3) G70G91X–X ; : Shift of X axis
(4) G70G91Y–yR ; : Return of Y aixs
(5) M11 ; : Workpiece unclamp
yR, M10, and M11 can be set by parameters. The shift amount of the X
and Y axis in G75 is not added to the absolute coordinate value.
312
B–64112EN/01 NC FUNCTION 34. FUNCTIONS FOR PUNCH PRESS
34.9
U/V/W MACRO
FUNCTION Program
:
:
:
:
:
:
:
:
The macro function can register a plurality of blocks as one macro and call
them whenever necessary.
34.9.1 When 2–digit figures 01 to 89 following address word U are added prior
to the instructions of plural blocks to be stored and the same figure is used
Storage of Macro
for the last figure following address word W, plural blocks instructed for
(U, V Command) that period are stored in memory.
The 2–digit figure following address U or V is called the macro number.
When macro number is 01 – 59, the blocks between U and V are
memorized accompanying the execution of the command.
On the contrary, when the Macro No. is 60 to 89, the command is not
executed and only the storage operation is performed. It is possible to
normally give instructions to all blocks inserted between U and V except
instructions for Macro storage by other Macro Nos.
313
34. FUNCTIONS FOR PUNCH PRESS NC FUNCTION B–64112EN/01
34.9.4 The number of characters which can be stored for each macro having a
Storage Capacity of macro number between 01 to 89 can be specified with a parameter (up to
2700 characters).
Macro
34.9.5 Plural macros can be stored as one macro by using the macro number
Storage and Call of 90–99 and can call it.
The number of macros which can be stored on each of the macro number
Plural Macro (Macro 90–99 is up to 15 or less.
No.90 to 99)
314
B–64112EN/01 NC FUNCTION 34. FUNCTIONS FOR PUNCH PRESS
34.10
MULTI–PIECE
MACHINING
X
Cutting margin
Material
plate
ȏy
Cutting
margin B
ȏx
Fig. 34.10
315
34. FUNCTIONS FOR PUNCH PRESS NC FUNCTION B–64112EN/01
34.10.1 Specify a command prior to the punching command for a single plate.
Base Point Command
of Multi–piece
Machining
Format
G98X xb Y yb I lx J ly P nx K ny ;
CAUTION
Product board (in Fig. 34.10) is not included in the
number.
After a G98 command, specify the punching command for a single plate
at the lower left ( in Fig. 34.10) which performs the multi–piece
machining function operation at grid intervals, using a macro function
(storing a machining command between U and V commands).
D Command method :
G92X_Y_ ;
G98X_Y_I_J_P_K_ ;
316
B–64112EN/01 NC FUNCTION 34. FUNCTIONS FOR PUNCH PRESS
D Command method :
G92X_Y_ ;
G98X_Y_I_J_P_K_ ;
34.10.3 The processing mehtod can be selected by the parameter setting from the
Setting of Processing external signal MDI when the processing command tape of the
multi–piece machining is used for machining.
Method of Multi–piece
Machining Setting 0 : Command tape for the multi–piece machining is not used.
1 : Trial punching of the multi–piece machining
2 : Remainder punching after the trial punching of the multi–piece
machining
3 : All blank punching of multi–piece machining
317
34. FUNCTIONS FOR PUNCH PRESS NC FUNCTION B–64112EN/01
Q3 ³ ² Q4
H G F E
A B C D
Q1 ³ ² Q2
Examples G98X_Y_I_J_P3K1 ;
U90 ;
:
V90 ;
G73W90Q_P5 ;
318
B–64112EN/01 NC FUNCTION 34. FUNCTIONS FOR PUNCH PRESS
34.11 The hole position gap accompanied bending is compensated and the
drilling is performed.
BENDING
COMPENSATION
(G38, G39)
D Program format D Bending compensation for X axis direction
G38I X1 J X2 K X3 P X4 Q X5 R α ;
D Bending compensation for Y axis direction
G39I Y1 J Y2 K Y3 P Y4 Q Y5 R β ;
X2
X3
X4
X5
319
34. FUNCTIONS FOR PUNCH PRESS NC FUNCTION B–64112EN/01
34.12 This is the safety function to set the safety zone for protecting the
workpiece holder that holds the workpiece set on the carriage, and disable
SAFETY ZONE punching in that area or forbid the tool to approach thereinto.
CHECK
Table
#1 #2 #3 #4
This function permits to set tool figure area (#0) and up to four safety
zones (#1 - #4), as shown above.
34.12.1 The safety zone is settable in two types, punch forbidden area and
Punch Forbidden Area approach forbidden area, that are selected by the parameter.
and Approach (1) Punch forbidden area
When the tool figure area goes into the safety zone and the punching
Forbidden Area
is commanded, an alarm is given to disable punching. In the case of
rapid traverse rate when the end point of positioning is in the forbidden
area, an alarm is given without moving the axis. (Previous check)
In the case of move command without punching, the tool figure area
can go into the punch forbidden area, but manual punching is
impossible after going into this area.
#0 Punching is impossible
in this area.
#1
320
B–64112EN/01 NC FUNCTION 34. FUNCTIONS FOR PUNCH PRESS
Move direction
#0
#2
34.12.2 Set the machine coordinate value when the workpiece holder is positioned
Setting the Safety Zone at the tool center (punching position) by the parameters.
34.12.3 The detector on the machine automatically detects the positions of the
Automatic Setting of workpiece holders mounted on the carriage. Values representing the
detected positions are then set in the safety zone parameters.
the Safety Zone
Detector (secured to the machine)
#1 #2 #3 #4
Carriage
Fig. 34.12.3
The signal for detecting the position of the workpiece holders (#1 to #4)
turns on and off as workpiece holders #1 to #4 pass the detector as shown
in Fig. 34.12.3. The safety zone is determined from the signal. Auto
detection can be instructed through the use of G32 or an external signal.
321
34. FUNCTIONS FOR PUNCH PRESS NC FUNCTION B–64112EN/01
34.13
TOOL FUNCTIONS
CAUTION
1 The T–code must be issued in positioning mode (G00).
2 A program must contain this T–code in a block in which
press is specified for the first time or any preceding block.
If a T–code is not issued, a press start signal will not be
output, and therefore the program will not advance to the
next block.
34.13.2 The CNC can control the turret axis (T–axis) for tool indexing as specified
T–axis Control by a parameter. This function selects a tool by issuing a T–code and
positioning the turret at a tool position specified on the tool registration
menu, where up to 136 tools can be registered. The T–code for T–axis
control consists of one to four digits.
Use of this function can reduce the tool replacement time largely, because
it supersedes tool replacement on the machine side by using T–axis
positioning.
322
B–64112EN/01 NC FUNCTION 34. FUNCTIONS FOR PUNCH PRESS
34.13.4 Tool position compensation along the X– and Y–axes can be effected for
Tool Offset tools specified by a code consisting of character T and one to four digits
that follow it. The amount of compensation is specified in the least
Compensation command increment defined on the tool registration menu during
installation. (Up to 136 tools, values: Positive or negative number
consisting of eight digits)
CAUTION
If an inch/metric switch–over option is specified, and the
measurement unit used in the machine is different from that
used in the input system, a maximum possible error is the
sum of half the least input increment and half the least
command increment. This error will not be accumulated.
34.13.5 Set the maximum number of punches for each tool, on the tool registration
screen. When the number of executed punches for the selected tool
Tool Life Management
exceeds the maximum number of punches for that tool, the tool life
reached signal PTLCH is output. This signal is used to issue an alarm on
the PMC or request the operator to change the tool.
The number of executed punches and maximum number of punches can
be set and displayed by using the [TOOL] soft key on the
<OFFSET/SETTING> screen, and the [TOOL LIFE] screen.
323
34. FUNCTIONS FOR PUNCH PRESS NC FUNCTION B–64112EN/01
34.14
C AXIS CONTROL Cxx+∆θx (n–1)
Cxx+∆θ
#2
Cxx
#n
#1
∆θ
θ
The angle position of the die (Tool) can be altered by the command from
tape, memory, and MDI.
In the past, a plurality of dies were required when the location was
different, even when the die shape was the same, but one die is sufficient
by optionally changing the die angle position, and 4 corners of a work can
be chamfered with a single die, thus reducing the die change time. In the
bolt hole circle, arc pattern function, and circular nibbling, the C–axis is
controlled automatically so that one side of a die always faces the center
of the circle at each hole position.
34.14.4 Synchronous C–axis control can be performed for the punch and die by
effecting control using either the same servo motor or separate servo
Controlling the Punch
motors.
and Die
324
B–64112EN/01 NC FUNCTION 34. FUNCTIONS FOR PUNCH PRESS
34.14.6 C–axis backlash compensation can be effected for die–indexable tools for
individual indexes. Changing the backlash compensation value by index
C–axis Backlash
enables high–precision machining. The amount of compensation and the
Compensation for tool number for the die–indexable tool are specified by parameters. (Up
Individual Indexes to 20 tools with tool numbers of 1 to 9999)
34.15 The S code is specified with a 5-digit numeric value following address S.
The 5-digit numeric value is output to the PMC as a 32-bit binary code.
S CODE OUTPUT The code is maintained until another S is specified. The maximum
number of input digits for S can be specified using a parameter.
Format
G08 P_ ;
325
35. INTERFACE WITH THE
POWER MATE CNC NC FUNCTION B–64112EN/01
326
35. INTERFACE WITH THE
B–64112EN/01 NC FUNCTION POWER MATE CNC
35.1 This function allows the use of a manual pulse generator on the host side
to perform manual handle feed for the (β servo unit. The host posts pulses
FANUC SERVO from the manual pulse generator to the (β servo unit via the I/O Link. A
MOTOR (β SERIES I/O magnification can also be applied to the pulse output signal of the manual
LINK OPTION pulse generator by parameter setting. This function can be used only with
the peripheral equipment control interface.
MANUAL HANDLE
INTERFACE
(PERIPHERAL
EQUIPMENT
CONTROL)
327
III. AUTOMATIC PROGRAMMING
FUNCTION
B–64112EN/01 AUTOMATIC PROGRAMMING FUNCTION 1. GENERAL
1 GENERAL
331
2. PROCESS ASSISTANCE AUTOMATIC PROGRAMMING FUNCTION B–64112EN/01
2 PROCESS ASSISTANCE
–– FEED ––– F=
–– SPINDLE –– DIR=
S=
–– COOLANT –– CLT=
–– TOOLING –– NUM=
H=
D=
–– TL COMPG ––LEN=
DIA=
332
B–64112EN/01 AUTOMATIC PROGRAMMING FUNCTION 3. G–CODE ASSISTANCE
3 G–CODE ASSISTANCE
G CODE HELP 1 OF 7
G00 RAPID MOVE
G01 LINEAR MOVE
G02 CW CIRCLE
G03 CCW CIRCLE
G04 DWELL
G08 LOOK AHEAD CONTROL
G09 EXACT STOP
G17 XY PLANE SELECT
G18 XZ PLANE SELECT
[TEXT ][GRAPH. ][ ][ ][ ]
The above screen uses text for explanation, but a figure for explanation
can also be displayed by pressing [GRAPH.]. However, not all G–codes
are shown in this figure.
333
3. G–CODE ASSISTANCE AUTOMATIC PROGRAMMING FUNCTION B–64112EN/01
200
T POS
100
100
NEW ORIGIN
A
OLD ORIGIN
100 200
[TEXT ][GRAPH. ][ ][ ][ ]
334
B–64112EN/01 AUTOMATIC PROGRAMMING FUNCTION 4. M–CODE ASSISTANCE
4 M–CODE ASSISTANCE
M–codes are used by the CNC to ask the executing of the machine
auxiliary process. The M–code assistance function can be used to input
M–codes. To select M–code assistance, press the [M CODE] soft key of
the display unit. A list of M–codes appears.
M CODE HELP 1 OF 3
M00 PROGRAM STOP
M01 OPTIONAL STOP
M02 PROGRAM END
M03 SPINDLW CW
M04 SPINDLE CCW
M05 SPINDLE STOP
M06 TOOL CHANGE
M07 FLOOD COOLANT
M08 MIST COOLANT
[TEXT ][GRAPH. ][ ][ ][ ]
335
5. CANNED CYCLE MACHINING AUTOMATIC PROGRAMMING FUNCTION B–64112EN/01
336
B–64112EN/01 AUTOMATIC PROGRAMMING FUNCTION 5. CANNED CYCLE MACHINING
5.1 The cycle machining function of Manual Guide 0i allows you to input
cycle machining blocks.
CYCLE MACHINING Manual Guide 0i for machining centers (or milling machines) can use the
FOR MACHINING following cycle machining functions.
CENTERS (OR Hole Machining
MILLING MACHINES) G1000 Center drilling
G1001 Drilling
G1002 Tapping
Machining type
G1003 Reaming
block
G1004 Boring
G1005 Fine boring
G1006 Back boring
G1210 Hole pattern – Points
G1211 Hole pattern – Line (EQ)
G1212 Hole pattern – Line (NE)
G1213 Hole pattern – Grid
Figure block
G1214 Hole pattern – Square
G1215 Hole pattern – Circle
G1216 Hole pattern – Arc (EQ)
G1217 Hole pattern – Arc (NE)
Face machining
Machining type G1020 Facing – Rough
block G1021 Facing – Finish
G1220 Fixed figure – Square
Figure block
G1221 Fixed figure – Circle
Pocket machining
G1040 Pocketing – Rough
G1041 Pocketing – Bottom finish
Machining type G1042 Pocketing – Side finish
block G1043 Pocketing – Chamfer
G1044 Pocket – Center drilling
G1045 Pocket – Drilling
G1220 Fixed figure – Square
Figure block G1221 Fixed figure – Circle
G1222 Fixed figure – Track
Groove machining
G1050 Grooving – Rough
G1051 Grooving – Bottom finish
Machining type G1052 Grooving – Side finish
block G1053 Grooving – Chamfer
G1054 Center drilling
G1055 Drilling
Figure block G1223 Fixed figure – Line
337
5. CANNED CYCLE MACHINING AUTOMATIC PROGRAMMING FUNCTION B–64112EN/01
5.2 Manual Guide 0i for lathes can use the following cycle machining
functions.
CYCLE MACHINING
Lathe Drilling
FOR LATHES
G1100 Center drilling
G1101 Drilling
Machining type
G1102 Tapping
block
G1103 Reaming
G1104 Boring
Stock Removal in Turning
G1120 Outer rough
G1121 Inner rough
Machining type G1122 End face rough
block G1123 Outer finish
G1124 Inner finish
G1125 End face finish
G1400 Start point
G1401 Line
Figure block G1402 Arc CW
G1403 Arc CCW
G1406 End of figures
Grooving in Turning
G1130 Outer rough
Machining type G1132 End face rough
block G1133 Outer finish
G1135 End face finish
G1460 Normal form
Figure block
G1461 Trapezoidal form
Threading
Machining type G1140 Outer thread
block G1141 Inner thread
Figure block G1450 Start point and end points
338
6. OPERATIONS OF CONTOUR
B–64112EN/01 AUTOMATIC PROGRAMMING FUNCTION PROGRAMMING
339
6. OPERATIONS OF CONTOUR
PROGRAMMING AUTOMATIC PROGRAMMING FUNCTION B–64112EN/01
1. 2. 3. 4.
5. 6. 7.
340
APPENDIX
B–64112EN/01 APPENDIX A. RANGE OF COMMAND VALUE
343
A. RANGE OF COMMAND VALUE APPENDIX B–64112EN/01
A.1
T SERIES
Linear axis
D In case of metric input,
feed screw is metric
Increment system
IS–B IS–C
Least input increment 0.001 mm 0.0001 mm
Least command increment X : 0.0005 mm (diameter) X : 0.00005 mm (diameter)
Z : 0.001 mm (radius) Z : 0.0001 mm (radius)
Max. programmable dimension ±99999.999 mm ±9999.9999 mm
Max. rapid traverse *1 240000 mm/min 100000 mm/min
Feedrate range *1 Feed per minute : Feed per minute :
1 to 240000 mm/min 1 to 100000 mm/min
Feed per revolution Feed per revolution
0.0001 to 500.0000 mm/rev 0.0001 to 500.0000 mm/rev
Incremental feed 0.001, 0.01, 0.1, 1mm/step 0.0001, 0.001, 0.01, 0.1 mm/step
Tool compensation 0 to ±999.999 mm 0 to ±999.9999 mm
Backlash compensation 0 to ±0.255 mm 0 to ±0.255 mm
Dwell time 0 to 99999.999 sec 0 to 99999.999 sec
344
B–64112EN/01 APPENDIX A. RANGE OF COMMAND VALUE
345
A. RANGE OF COMMAND VALUE APPENDIX B–64112EN/01
Rotation axis
Increment system
IS–B IS–C
Least input increment 0.001 deg 0.0001 deg
Least command increment 0.001 deg 0.0001 deg
Max. programmable dimension ±99999.999 deg ±9999.9999 deg
Max. rapid traverse *1 240000 deg/min 100000 deg/min
Feedrate range *1 1 to 240000 deg/min 1 to 100000 deg/min
Incremental feed 0.001, 0.01, 0.1, 1deg/step 0.0001, 0.001, 0.01, 0.1 deg/step
Backlash compensation 0 to ±0.255 deg 0 to ±0.255 deg
NOTE
*1 The feedrate range shown above are limitations depending
on CNC interpolation capacity.
As a whole system, limitations depending on servo system
must also be considered.
346
B–64112EN/01 APPENDIX A. RANGE OF COMMAND VALUE
A.2
M SERIES
Linear axis
D In case of metric input,
feed screw is metric
Increment system
IS–A IS–B IS–C
Least input increment 0.01 mm 0.001 mm 0.0001 mm
Least command increment 0.01 mm 0.001 mm 0.0001 mm
Max. programmable dimension ±999999.99 mm ±99999.999 mm ±9999.9999 mm
Max. rapid traverse *1 240000 mm/min 240000 mm/min 100000 mm/min
Feedrate range *1 1 to 240000 mm/min 1 to 240000 mm/min 1 to 100000 mm/min
Incremental feed 0.01, 0.1, 1, 10 0.001, 0.01, 0.1, 1 0.0001, 0.001, 0.01, 0.1
mm/step mm/step mm/step
Tool compensation 0 to ±999.99 mm 0 to ±999.999 mm 0 to ±999.9999 mm
Dwell time 0 to 99999.999 sec 0 to 99999.999 sec 0 to 99999.999 sec
347
A. RANGE OF COMMAND VALUE APPENDIX B–64112EN/01
348
B–64112EN/01 APPENDIX A. RANGE OF COMMAND VALUE
Rotation axis
Increment system
IS–B IS–C
Least input increment 0.001 deg 0.0001 deg
Least command increment ±0.001 deg ±0.0001 deg
Max. programmabledimension ±99999.999 deg ±9999.9999 deg
Max. rapid traverse *1 240000 deg/min 100000 deg/min
Feedrate range *1 1 to 240000 deg/min 1 to 100000 deg/min
Incremental feed 0.001, 0.01, 0.1, 1 deg/step 0.0001, 0.001, 0.01, 0.1 deg/step
NOTE
*1 The feedrate range shown above are limitations depending
on CNC interpolation capacity.
As a whole system, limitations depending on servo system
must also be considered.
349
B. FUNCTIONS AND TAPE FORMAT LIST APPENDIX B–64112EN/01
350
B–64112EN/01 APPENDIX B. FUNCTIONS AND TAPE FORMAT LIST
(1/5)
Functions Illustration Tape format
IP
Positioning (G00) G00 IP_ ;
Start point
IP
Linear interpolation (G01) G01 IP_ F_;
Start point
Start point
G02 R_
Circular interpolation G17 X_ Y_ F_ ;
(G02, G03) G03 I_ J_
R G02
I G02 R_
G18 X_ Z_ F_ ;
G03 I_ K_
K (x, z)
G02 R_
(x, z) G03 G19 Y_ Z_ F_ ;
G03 J_ K_
R I
Start
K point
Dwell (G04) X_ ;
G04
P_
351
B. FUNCTIONS AND TAPE FORMAT LIST APPENDIX B–64112EN/01
(2/5)
Functions Illustration Tape format
(I, K)
Skip
Start signal
position
F
Thread cutting (G32) Equal lead thread cutting
G32 IP_ F_;
Measurement
Automatic tool compensation position G36 X xa ;
(G36, G37) G37 Z za ;
Measurement
position arrival
signal
Start
position
Compensation
value
352
B–64112EN/01 APPENDIX B. FUNCTIONS AND TAPE FORMAT LIST
(3/5)
Functions Illustration Tape format
ÇÇÇÇÇÇ
(G40, G41, G42)
G40 : Cancel
ÇÇÇÇÇÇ
ÇÇÇÇÇÇ G40
G42
353
B. FUNCTIONS AND TAPE FORMAT LIST APPENDIX B–64112EN/01
(4/5)
Functions Illustration Tape format
G90
G92 X_ Z_ R_ F_ ;
G94
Canned cycle for drilling See Chapter 13, “Functions to G80 ; Cancel
(G80 to G89) Simplify Programming” in Part II. G83 X(U)_C(H)_Z(W)_R_Q_P_F_M_K_;
G84 X(U)_C(H)_Z(W)_R_P_F_M_K_;
G85 X(U)_C(H)_Z(W)_R_P_F_M_K_;
G87 Z(W)_C(H)_X(U)_R_Q_P_F_M_K_;
G88 Z(W)_C(H)_X(U)_R_P_F_M_K_;
G89 Z(W)_C(H)_X(U)_R_P_F_M_K_;
Chamfering, Corner R k
C(K) "k
X_ ; R_ P_ ;
C(I)"i
i Z_ ; R_ P_ ;
R
354
B–64112EN/01 APPENDIX B. FUNCTIONS AND TAPE FORMAT LIST
(5/5)
Functions Illustration Tape format
Z point
355
B. FUNCTIONS AND TAPE FORMAT LIST APPENDIX B–64112EN/01
(1/6)
Functions Illustration Tape format
IP
Positioning (G00) G00 IP_ ;
Start point
IP
Linear interpolation (G01) G01 IP_ F_;
Start point
Start point
G02 R_
Circular interpolation G17 X_ Y_ F_ ;
(G02, G03) G03 I_ J_
R G02
J
G02 R_
G18 X_ Z_ F_ ;
G03 I_ K_
I (x, y)
(x, y) G03 G02 R_
G19 Y_ Z_ F_ ;
Start point G03 J_ K_
R J
G02 R_
G18 X_ Z_ a_F_ ;
Start G03 I_ K_
point (xyz)
G02 R_
(x, y) G19 Y_ Z_ a_F_ ;
G03 J_ K_
When G03 is specified for
the XY plane a: Any address other than that of
a circular interpolation axis
Dwell (G04) X_ ;
G04
P_
356
B–64112EN/01 APPENDIX B. FUNCTIONS AND TAPE FORMAT LIST
(2/6)
Functions Illustration Tape format
Change of offset
value by program @ Tool offset memory A
(G10) G10 L11 P_ R_ ;
@ Tool offset memory B
G10 L10 P_ R_ ;
(Geometry offset value)
G10 L11 P_ R_ ;
(Wear offset value)
@ Tool offset memory C
G10 L10 P_ R_ ;
(Geometry offset value/H)
G10 L11 P_ R_ ;
(Wear offset value/H)
G10 L12 P_ R_ ;
(Geometry offset value/D)
G10 L13 P_ R_ ;
(Wear offset value/D)
Xp
Workpiece coordinate
system
(IJK)
IP
Reference position return G27 IP_ ;
check (G27)
Start point
357
B. FUNCTIONS AND TAPE FORMAT LIST APPENDIX B–64112EN/01
(3/6)
Functions Illustration Tape format
Intermediateposition IP
IP
Skip function (G31) G31 IP_ F_;
Skip signal
Start point
ÅÅ ÅÅ
F : Lead
ÅÅ ÅÅ
ÅÅ ÇÇÇ
ÅÅ
ÇÇÇ
Cutter compensation C G41 G17 G41
G18 D_ ;
ÇÇÇÇÇÇ
(G40 to G42) G42
G19
ÇÇÇÇÇÇ
ÇÇÇÇÇÇ
D : Tool offset number
G42 G40 : Cancel
G40
G43
Z H_ ;
G44
358
B–64112EN/01 APPENDIX B. FUNCTIONS AND TAPE FORMAT LIST
(4/6)
Functions Illustration Tape format
Compensation value
359
B. FUNCTIONS AND TAPE FORMAT LIST APPENDIX B–64112EN/01
(5/6)
Functions Illustration Tape format
G61
t
360
B–64112EN/01 APPENDIX B. FUNCTIONS AND TAPE FORMAT LIST
(6/6)
Functions Illustration Tape format
Change of workpiece
coordinate system (G92) ÇÇ
ÇÇ IP
G92 IP_ ;
Z point
361
C. LIST OF TAPE CODE APPENDIX B–64112EN/01
Custom
Remarks macro B
Character 8 7 6 5 4 3 2 1 Character 8 7 6 5 4 3 2 1
Not
Used
used
0 f f f 0 f f Number 0
1 f f f f f 1 f f Number 1
2 f f f f f 2 f f Number 2
3 f f f f f 3 f f f f Number 3
4 f f f f f 4 f f Number 4
5 f f f f f 5 f f f f Number 5
6 f f f f f 6 f f f f Number 6
7 f f f f f f f 7 f f f f Number 7
8 f f f f f 8 f f Number 8
9 f f f f f 9 f f f f Number 9
A f f f a f f f f Address A
B f f f b f f f f Address B
C f f f f f c f f f f f f Address C
D f f f d f f f f Address D
E f f f f f e f f f f f f Address E
F f f f f f f f f f f f f Address F
G f f f f f g f f f f f f Address G
H f f f h f f f f Address H
I f f f f f i f f f f f f Address I
J f f f f f j f f f f Address J
K f f f f f k f f f f Address K
L f f f f f l f f f f Address L
M f f f f f m f f f f Address M
N f f f f f n f f f f Address N
O f f f f f f f o f f f f Address O
P f f f p f f f f f f Address P
Q f f f f f q f f f f Address Q
R f f f f f r f f f f Address R
S f f f f f s f f f f Address S
T f f f f f t f f f f Address T
U f f f f f u f f f f Address U
V f f f f f v f f f f Address V
W f f f f f f f w f f f f Address W
X f f f f f x f f f f f f Address X
Y f f f f f y f f f f Address Y
362
B–64112EN/01 APPENDIX C. LIST OF TAPE CODE
Custom
Remarks macro B
Character 8 7 6 5 4 3 2 1 Character 8 7 6 5 4 3 2 1
Not
Used
used
Z f f f f f z f f f f Address Z
Delete
DEL f f f f f f f f f Del f f f f f f f f (deleting a
mispunch)
No. punch.
With EIA
code, this
code cannot
NUL f Blank f
be used in a
significant
information
section.
BS f f f BS f f f f Backspace
HT f f f Tab f f f f f f Tabulator
LF or NL f f f CR or EOB f f End of block
Carriage
CR f f f f f ___ f
return
SP f f f SP f f Space V V
Absolute
% f f f f f ER f f f f
rewind stop
Control out
( f f f (2–4–5) f f f f (start of com-
ment)
Control in
) f f f f f (2–4–7) f f f f (end of
comment)
+ f f f f f + f f f f Plus sign n
– f f f f f – f f Minus sign
Colon
: f f f f f ___ f
(address O)
Optional
/ f f f f f f f / f f f f
block skip
Period
. f f f f f . f f f f f f (decimal
point)
Parameter
# f f f f f f Sharp
(No. 6012)
$ f f f ___ f Dollar sign
& f f f f f & f f f f Ampersand n f
’ f f f f f ___ f Apostrophe n n
Parameter
* f f f f f f Asterisk n
(No. 6010)
, f f f f f , f f f f f f Comma
; f f f f f f f ___ f Semicolon
Left angle
< f f f f f f n n
bracket
363
C. LIST OF TAPE CODE APPENDIX B–64112EN/01
Custom
Remarks macro B
Character 8 7 6 5 4 3 2 1 Character 8 7 6 5 4 3 2 1
Not
Used
used
Parameter
= f f f f f f f f Equal sign n
(No. 6011)
Right angle
> f f f f f f f ___ f n n
bracket
Question
? f f f f f f f ___ f n f
mark
Commercial
@ f f f ___ f n f
at mark
Quotation
” f f ___ f n n
mark
Parameter Left square
[ f f f f f f f f n
(No. 6013) bracket
Parameter Right square
] f f f f f f f f n
(No. 6014) bracket
NOTE
1 The symbols in the Remarks column have the following meanings:
Blank: Registered in memory as significant information. Any invalid use of these
codes in information other than a comment will cause an alarm.
: Not registered in memory (ignored)
n : Registered in memory but ignored during the execution of a program
f : Registered in memory. The use of these codes in information other than
a comment will cause an alarm.
j : Not registered in memory when used in information other than a comment.
Registered in memory when used in a comment.
2 Any code other than those listed in the table is always ignored, provided its parity
is valid.
3 Any code having an invalid parity will cause a TH alarm. Within a comment,
however, such a code is ignored and will not cause a TH alarm.
4 With EIA code, the code with all eight holes punched has special meaning. It is
ignored and does not cause any parity alarm.
364
D. EXTERNAL DIMENSIONS OF
B–64112EN/01 APPENDIX EACH UNIT
365
D. EXTERNAL DIMENSIONS OF
EACH UNIT APPENDIX B–64112EN/01
366
D. EXTERNAL DIMENSIONS OF
B–64112EN/01 APPENDIX EACH UNIT
367
D. EXTERNAL DIMENSIONS OF
EACH UNIT APPENDIX B–64112EN/01
368
D. EXTERNAL DIMENSIONS OF
B–64112EN/01 APPENDIX EACH UNIT
–0582 –0583
Weight: 0.2 kg
Fig.U16 (a) High–speed serial bus interface board type 2 (PC) (ISA bus version)
Specification No. : A20B–8001–0583 (1 CH)
A20B–8001–0582 (2 CH)
0961 0960
Weight: 0.1 kg
Fig.U16 (b) Interface Board for Personal Computer (PCI bus version)
Specification No. : A20B–8001–0960 (2 CH)
A20B–8001–0961 (1 CH)
369
D. EXTERNAL DIMENSIONS OF
EACH UNIT APPENDIX B–64112EN/01
MS connector: MS3102A–20–29P
370
D. EXTERNAL DIMENSIONS OF
B–64112EN/01 APPENDIX EACH UNIT
3–M4
On the f72 circumference
371
D. EXTERNAL DIMENSIONS OF
EACH UNIT APPENDIX B–64112EN/01
90 38.0
25
Y Z X1 X10X100
X 4
M3 screw terminal
140
100.0
39.0
M3 screw terminal
90 38.0
25
Z 4 X1 X10 X100
Y
X 5
M3 screw terminal
140
100.0
39.0
M3 screw terminal
372
D. EXTERNAL DIMENSIONS OF
B–64112EN/01 APPENDIX EACH UNIT
COP10B COP10A
JF101(JF105)
JF102(JF106)
JF103(JF107)
JF104(JF108)
CP11
JA4A
373
D. EXTERNAL DIMENSIONS OF
EACH UNIT APPENDIX B–64112EN/01
Plus terminal
with 3–M3
screw holes
103
93
Minus terminal
with 3–M3
screw holes
FANUC
40
4–f4.3 mounting hole
Arrow view A
14.1
106.3
92.2
13.2
78 78
374
D. EXTERNAL DIMENSIONS OF
B–64112EN/01 APPENDIX EACH UNIT
Main unit
Cover
103
115
M4 tap × 4
70
81 93
145
375
D. EXTERNAL DIMENSIONS OF
EACH UNIT APPENDIX B–64112EN/01
Mounting hole
diagram
376
D. EXTERNAL DIMENSIONS OF
B–64112EN/01 APPENDIX EACH UNIT
377
D. EXTERNAL DIMENSIONS OF
EACH UNIT APPENDIX B–64112EN/01
Earth stud
(M4)
6–φ4
5
60
80
70
5 280 5
5
290
70
270
6–M3
140 140
70
66
274 Unit : mm
Weight : 0.6kg
Panel cut drawing
378
D. EXTERNAL DIMENSIONS OF
B–64112EN/01 APPENDIX EACH UNIT
Earth stud
(M4)
Unit = mm
Weight: 0.6kg Panel cut drawing
379
B–63832EN/01 Index
[Symbols] Automatic Setting of the Safety Zone, 321
Automatic Tool Offset (G37, G36) (T series), 183
αi Spindle Information Screen, 261
Auxiliary Calculation Function, 340
Auxiliary Function Lock, 228
Auxiliary Functions, 97, 98
[Numbers]
Axis Control, 206
1–block Plural M Command, 98
Axis Control with PMC, 213
2nd, 3rd and 4th Reference Position Return (G30), 63
Axis Move Direction Signal, 293
7.2″ Monochrome LCD/MDI Unit (Horizontal Type),
230 Axis Names, 21
7.2″ Monochrome LCD/MDI Unit (Vertical Type),
232
8.4″ Color LCD/MDI Unit (Horizontal Type), 231 [B]
8.4″ Color LCD/MDI Unit (Vertical Type), 233 Background Editing, 264
Backlash Compensation, 173
Backlash Compensation for Each Rapid Traverse and
[A] Cutting Feed, 173
Base Point Command of Multi–piece Machining, 316
Absolute and Incremental Programming (G90, G91),
80 Basic Addresses and Command Value Range, 105
Accuracy Compensation Function, 171 Bell–shaped Acceleration/Deceleration After Cutting
Feed Interpolation, 55
Activation of Automatic Operation, 222
Bending Compensation (G38, G39), 319
Actual Spindle Speed Output (T series), 86
Bi–directional Pitch Error Compensation, 172
Addition of Custom Macro Common Variables, 198
Block Start Interlock, 289
Additional Optional Block Skip, 107
Bolt Hole Circle (G26), 306
Additional Workpiece Coordinate Systems (M series),
75 Buffer Register, 222
Advanced Preview Control (G08), 325
Advanced Preview Control (G08) (T series), 204
[C]
AI Advanced Preview Control (G05.1) (M series), 204
C Axis Control, 324
AI Contour Control (G05.1) (M series), 205
Cs Contour Control, 90
Alarm Signal, 292
C–axis Backlash Compensation for Individual In-
All Axes Interlock, 289 dexes, 325
All–axes Machine Lock, 228 C–axis Position Compensation, 325
Angular Axis Control, 214 Canned Cycle Machining, 336
Arbitrary Angular Axis Control, 214 Canned Cycles (G73, G74, G76, G80–G89, G98, G99)
(M series), 109
Arc (G77), 307
Canned Cycles for Cylindrical Grinding (T series),
Automatic Acceleration/Deceleration, 52 143
Automatic Coordinate System Setting, 70 Canned Cycles for Drilling (G80–G89) (T series), 135
Automatic Corner Override (G62) (M series), 57 Canned Cycles for Turning (T series), 121
Automatic Operation, 219 Chamfering and Corner R ( T series), 136
Automatic Operation Signal, 292 Changeable Nibbling Mode 2 Steps, 304
Automatic Operation Start Signal, 292 Changing of Tool Offset Amount (Programmable Data
Automatic Operation Stop, 223 Input) (G10), 168
Chuck and Tail Stock Barrier (T series), 287
Automatic Reference Position Return (G28, G29) (M
series), 62 Circular Interpolation (G02, G03), 36
Automatic Repositioning (G75), 312 Clock Function, 238
i–1
Index B–63832EN/01
Command to Restart Punching Multiple Products, 318 Diameter and Radius Programming (T series), 83
Constant Surface Speed Control, 86 Direct Drawing Dimensions Programming (T series),
139
Constant Surface Speed Control Signal, 293
Direct Input of Tool Offset Value Measured B (T se-
Continuous Feed Plane Grinding Cycle (G78), 150 ries), 186
Continuous Press (Nibbling), 301 Direct Input of Tool Offset Value Measured/Direct
Continuous Thread Cutting (T series), 46 Input of Workpiece Coordinate System Shift
Amount (T series), 185
Contrast Adjustment Screen, 259
Direct Input of Workpiece Origin Offset Value Mea-
Control Axis Detach, 207 sured, 190
Control–in/Control–out, 107 Directory Display and Punch for Each Group, 257
Controlled Axes, 20 Directory Display of Floppy Cassette, 241
Controlling the Punch and Die, 324 Display, 235
Conversational Programming with Graphic Function, Displaying and Setting Data, 234
266 Displaying Operation History, 256
Coordinate System Conversion, 175 Distribution End Signal, 292
Coordinate System Rotation (G68, G69) (M series), DNC Operation, 220
176
DNC Operation with Memory Card, 272
Coordinate Systems, 66
DNC2 Control, 272
Coordinate Value and Dimension, 79
Dry Run, 228
Counter Input in a Workpiece Coordinate System, 72
Dwell (G04), 58
Custom Macro, 191, 192
Dynamic Graphic Display, 243
Cut at Angle (G89), 309
Cutter Compensation (M series), 163
Cutter Compensation C (G40–G42), 163 [E]
Cutting Block Start Interlock, 289 Emergency Stop, 280
Cutting Cycle A (G77) (with G Code System A: G90), Equal lead thread cutting (G33) (with G code system
121 A: G32), 44
Cutting Feed Rate, 49 Erase CRT Screen Display, 257
Cutting Feed Rate Clamp, 49 Error Detection (T series), 56
Cutting Mode (G64) (M series), 57 Ethernet Function (Option Board), 273
Cycle Machining for Lathes, 338 Exact Stop (G09) (M series), 57
Cycle Machining for Machining Centers (or Milling Exact Stop Mode (G61) (M series), 57
Machines), 337
Execution of Automatic Operation, 222
Cycle Start, 222 Expanded External Workpiece Number Search, 221
Cylindrical Interpolation (G07.1), 41 Extanded Part Program Editing, 265
Extended Tool Life Management (M series), 96
External Alarm Message, 295
[D] External Data Input, 294
Data Input/Output, 269 External Deceleration, 290
Data Input/Output Using a Memory Card, 271 External Dimensions of Each Unit, 365
Data Protection Key, 256 External I/O Device Control, 265
Data Server Function, 275 External Machine Zero Point Shift, 295
Decimal Point Input/Pocket Calculator Type Decimal External Memory and Sub Program Calling Function,
Point Input, 82 104
DI Status Output Signal, 293 External Motion Function, 304
Diagnosis Functions, 267 External Operation Function (G81) (M series), 120
i–2
B–63832EN/01 Index
[G] [K]
G–code Assistance, 333 Key Input from PMC (External Key Input), 297
Graphic Display Function, 242
Grid (G78, G79), 307
Grinding–wheel wear Compensation by Continuous
[L]
Dressing (M series), 170 Label Skip, 107
Grooving in X–axis (G75), 133 Language Selection, 238
Line at Angle (G76), 306
Linear Acceleration/Deceleration After Cutting Feed
[H] Interpolation, 54
Handle Interruption, 224 Linear Axis and Rotation Axis, 83
Helical Interpolation (G02, G03), 38 Linear Interpolation (G01), 35
Help Function, 254 Linear Scale Expansion Function with Absolute Ad-
dressing Reference Marks, 65
High–speed M/S/T/B Interface, 99
Linear Scale with Absolute Addressing Reference
High–speed Skip Signal Input, 181 Marks, 65
i–3
Index B–63832EN/01
i–4
B–63832EN/01 Index
i–5
Index B–63832EN/01
Setting the Reference Position without Dogs, 61 System Configuration Display Function, 252
Setting the Safety Zone, 321
Share Proof (G86), 308
Simple Synchronous Control, 208
[T]
T Code Output, 94, 322
Single Block, 228
T series, 26, 344, 351
Single Direction Positioning (G60) (M series), 34
T–axis Control, 322
Skip Function (G31), 180
Tandem Control, 214
Software Operator’s Panel, 239 Tandem Disturbance Elimination Control, 215
Spindle Adjustment Screen, 250 Tangential Speed Constant Control, 49
Spindle Monitor Screen, 251 Tape Codes, 104
Spindle Orientation, 92 Tape Format, 107
Spindle Output Control by the PMC, 85 Tape Horizontal (TH) Parity Check and Tape Vertical
(TV) Parity Check, 107
Spindle Output Switching, 92
Tapping Mode (G63) (M series), 57
Spindle Override, 86
Tapping Signal, 293
Spindle Positioning (T series), 87
Temporary Absolute Coordinate Setting, 215
Spindle Setting Screen, 250 Thread cutting, 43
Spindle Speed Analog Output (S Analog Output), 85 Thread Cutting Cycle (G76), 134
Spindle Speed Fluctuation Detection (G25, G26), 88 Thread Cutting Cycle (G78) (with G Code System A:
Spindle Speed Functions, 84 G92), 122
Thread Cutting Cycle Retract (T series), 223
Spindle Speed Serial Output (S Serial Output), 85
Thread Cutting Signal, 293
Spindle Synchronous Control, 92
Tool Compensation Function, 155
Square (G87), 308
Tool Compensation Memory, 165
Start Lock, 289
Tool Compensation Memory (M series), 165
Status Output, 291 Tool Functions, 93, 322
Stock Removal in Facing (G72), 129 Tool Geometry Compensation and Tool Wear Com-
Stock Removal in Turning (G71), 125 pensation, 157
Storage and Call of Plural Macro (Macro No.90 to Tool Length Automatic Measurement (G37) (M se-
99), 314 ries), 182
Tool Length Compensation (G43, G44, G49) (M se-
Storage Capacity of Macro, 314 ries), 161
Storage of Macro (U, V Command), 313 Tool Length Measurement (M series), 184
Stored Pitch Error Compensation, 172 Tool Life Management, 95, 323
Stored Stroke Check 1, 282 Tool Nose Radius Compensation (G40, G41, G42) (T
series), 158
Stored Stroke Check 2 (G22, G23) (M series), 283
Tool Offset (G45, G46, G47, G48) (M series), 162
Stored Stroke Checks 2 and 3 (G22, G23) (T series),
284 Tool Offset (T Code), 156
Stroke Limit Check Before Move, 285 Tool Offset (T series), 156
Tool Offset Amount Memory (T series), 165
Stroke Limit Externally Setting, 286
Tool Offset Compensation, 323
Sub Program, 103
Tool Offset Value Count Input (T series) , 190
Substitution of the Number of Required Parts and
Number of Machined Parts, 296 Torque Limit Skip (G31 P99, G31 P98) (T series), 181
Surface Grinding Canned Cycle (M series), 146 Traverse Direct Gauge Grinding Cycle (G72), 144
Traverse Grinding Cycle (G71), 144
Switching Rapid Traverse Feedrates, Time Constants,
AND/OR Servo Loop Gains According to the Posi- Turning Cycle in Facing (G79) (with G Code System
tioning Distance, 305 A: G94), 124
i–6
B–63832EN/01 Index
[U] [W]
U/V/W Macro Function, 313
Workpiece Coordinate System, 68
Unexpected Disturbance Torque Detection, 290
Workpiece Coordinate System Preset (G92.1), 76
Workpiece Coordinate System Shift (T series), 77
[V] Workpiece Origin Offset Value Change (Program-
mable Data Input) (G10), 74
Variable Lead Thread Cutting (G34) (T series), 45
i–7
Revision Record
01 Jun., 2004