GFZ-63942EN01, 30i 300i 300is-A - Descriptions
GFZ-63942EN01, 30i 300i 300is-A - Descriptions
Series 30i-Model A
Series 300i-Model A
Series 300is-Model A
Descriptions Manual
Warning
Warning notices are used in this publication to emphasize that hazardous voltages, currents,
temperatures, or other conditions that could cause personal injury exist in this equipment or
may be associated with its use.
In situations where inattention could cause either personal injury or damage to equipment, a
Warning notice is used.
Caution
Caution notices are used where equipment might be damaged if care is not taken.
Note
Notes merely call attention to information that is especially significant to understanding and
operating the equipment.
This document is based on information available at the time of its publication. While efforts
have been made to be accurate, the information contained herein does not purport to cover all
details or variations in hardware or software, nor to provide for every possible contingency in
connection with installation, operation, or maintenance. Features may be described herein
which are not present in all hardware and software systems. GE Fanuc Automation assumes
no obligation of notice to holders of this document with respect to changes subsequently made.
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-63942EN/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-63942EN/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.
2 Before operating the machine, thoroughly check
the entered data.
Operating the machine with incorrectly specified
data may result in the machine behaving
unexpectedly, possibly causing damage to the
workpiece and/or machine itself, or injury to the
user.
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.
s-3
SAFETY PRECAUTIONS B-63942EN/01
WARNING
5 The parameters for the CNC and PMC are factory-
set. Usually, there is not need to change them.
When, however, there is not alternative other than
to change a parameter, ensure that you fully
understand the function of the parameter before
making any change.
Failure to set a parameter correctly may result in
the machine behaving unexpectedly, possibly
causing damage to the workpiece and/or machine
itself, or injury to the user.
6 Immediately after switching on the power, do not
touch any of the keys on the MDI panel until the
position display or alarm screen appears on the
CNC unit.
Some of the keys on the MDI panel are dedicated
to maintenance or other special operations.
Pressing any of these keys may place the CNC unit
in other than its normal state. Starting the machine
in this state may cause it to behave unexpectedly.
7 The User’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.
8 Some functions may have been implemented at the
request of the machine-tool builder. When using
such functions, refer to the manual supplied by the
machine-tool builder for details of their use and any
related cautions.
CAUTION
The liquid-crystal display is manufactured with very
precise fabrication technology. Some pixels may
not be turned on or may remain on. This
phenomenon is a common attribute of LCDs and is
not a defect.
s-4
B-63942EN/01 SAFETY PRECAUTIONS
NOTE
Programs, parameters, and macro variables are
stored in nonvolatile memory in the CNC unit.
Usually, they are retained even if the power is
turned off.
Such data may be deleted inadvertently, however,
or it may prove necessary to delete all data from
nonvolatile memory as part of error recovery.
To guard against the occurrence of the above, and
assure quick restoration of deleted data, backup all
vital data, and keep the backup copy in a safe
place.
s-5
SAFETY PRECAUTIONS B-63942EN/01
WARNING
1 Coordinate system setting
If a coordinate system is established incorrectly,
the machine may behave unexpectedly as a result
of the program issuing an otherwise valid move
command. Such an unexpected operation may
damage the tool, the machine itself, the workpiece,
or cause injury to the user.
2 Positioning by nonlinear interpolation
When performing positioning by nonlinear
interpolation (positioning by nonlinear movement
between the start and end points), the tool path
must be carefully confirmed before performing
programming. Positioning involves rapid traverse. If
the tool collides with the workpiece, it may damage
the tool, the machine itself, the workpiece, or cause
injury to the user.
3 Function involving a rotation axis
When programming polar coordinate interpolation
or normal-direction (perpendicular) control, pay
careful attention to the speed of the rotation axis.
Incorrect programming may result in the rotation
axis speed becoming excessively high, such that
centrifugal force causes the chuck to lose its grip
on the workpiece if the latter is not mounted
securely. Such mishap is likely to damage the tool,
the machine itself, the workpiece, or cause injury to
the user.
4 Inch/metric conversion
Switching between inch and metric inputs does not
convert the measurement units of data such as the
workpiece origin offset, parameter, and current
position. Before starting the machine, therefore,
determine which measurement units are being
used. Attempting to perform an operation with
invalid data specified may damage the tool, the
machine itself, the workpiece, or cause injury to the
user.
s-6
B-63942EN/01 SAFETY PRECAUTIONS
WARNING
5 Constant surface speed control
When an axis subject to constant surface speed
control approaches the origin of the workpiece
coordinate system, the spindle speed may become
excessively high. Therefore, it is necessary to
specify a maximum allowable speed. Specifying
the maximum allowable speed incorrectly may
damage the tool, the machine itself, the workpiece,
or cause injury to the user.
6 Stroke check
After switching on the power, perform a manual
reference position return as required. Stroke check
is not possible before manual reference position
return is performed. Note that when stroke check is
disabled, an alarm is not issued even if a stroke
limit is exceeded, possibly damaging the tool, the
machine itself, the workpiece, or causing injury to
the user.
7 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.
s-7
SAFETY PRECAUTIONS B-63942EN/01
WARNING
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-8
B-63942EN/01 SAFETY PRECAUTIONS
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.
s-9
SAFETY PRECAUTIONS B-63942EN/01
WARNING
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.
7 Workpiece coordinate system shift
Manual intervention, machine lock, or mirror
imaging may shift the workpiece coordinate
system. Before attempting to operate the machine
under the control of a program, confirm the
coordinate system carefully.
If the machine is operated under the control of a
program without making allowances for any shift in
the workpiece coordinate system, the machine may
behave unexpectedly, possibly damaging the tool,
the machine itself, the workpiece, or causing injury
to the operator.
8 Software operator's panel and menu switches
Using the software operator's panel and menu
switches, in combination with the MDI panel, it is
possible to specify operations not supported by the
machine operator's panel, such as mode change,
override value change, and jog feed commands.
Note, however, that if the MDI panel keys are
operated inadvertently, the machine may behave
unexpectedly, possibly damaging the tool, the
machine itself, the workpiece, or causing injury to
the user.
9 RESET key
Pressing the RESET key stops the currently
running program. As a result, the servo axes are
stopped. However, the RESET key may fail to
function for reasons such as an MDI panel
problem. So, when the motors must be stopped,
use the emergency stop button instead of the
RESET key to ensure security.
s-10
B-63942EN/01 SAFETY PRECAUTIONS
WARNING
10 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.
11 Feed hold, override, and single block
The feed hold, feedrate override, and single block
functions can be disabled using custom macro
system variable #3004. Be careful when operating
the machine in this case.
12 Dry run
Usually, a dry run is used to confirm the operation
of the machine. During a dry run, the machine
operates at dry run speed, which differs from the
corresponding programmed feedrate. Note that the
dry run speed may sometimes be higher than the
programmed feed rate.
13 Cutter and tool nose radius compensation in
MDI mode
Pay careful attention to a tool path specified by a
command in MDI mode, because cutter or tool
nose radius compensation is not applied. When a
command is entered from the MDI to interrupt in
automatic operation in cutter or tool nose radius
compensation mode, pay particular attention to the
tool path when automatic operation is subsequently
resumed. Refer to the descriptions of the
corresponding functions for details.
14 Program editing
If the machine is stopped, after which the
machining program is edited (modification,
insertion, or deletion), the machine may behave
unexpectedly if machining is resumed under the
control of that program. Basically, do not modify,
insert, or delete commands from a machining
program while it is in use.
s-11
SAFETY PRECAUTIONS B-63942EN/01
WARNING
1 Memory backup battery replacement
When replacing the memory backup batteries,
keep the power to the machine (CNC) turned on,
and apply an emergency stop to the machine.
Because this work is performed with the power on
and the cabinet open, only those personnel who
have received approved safety and maintenance
training may perform this work.
When replacing the batteries, be careful not to
touch the high-voltage circuits (marked and
fitted with an insulating cover).
Touching the uncovered high-voltage circuits
presents an extremely dangerous electric shock
hazard.
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 Section “Method of replacing battery”
in the User’s Manual (Common to T/M series) for
details of the battery replacement procedure.
s-12
B-63942EN/01 SAFETY PRECAUTIONS
WARNING
2 Absolute pulse coder battery replacement
When replacing the memory backup batteries,
keep the power to the machine (CNC) turned on,
and apply an emergency stop to the machine.
Because this work is performed with the power on
and the cabinet open, only those personnel who
have received approved safety and maintenance
training may perform this work.
When replacing the batteries, be careful not to
touch the high-voltage circuits (marked and
fitted with an insulating cover).
Touching the uncovered high-voltage circuits
presents an extremely dangerous electric shock
hazard.
NOTE
The absolute pulse coder uses batteries to
preserve its absolute position.
If the battery voltage drops, a low battery voltage
alarm is displayed on the machine operator's panel
or screen.
When a low battery voltage alarm is displayed,
replace the batteries within a week. Otherwise, the
absolute position data held by the pulse coder will
be lost.
Refer to the FANUC SERVO MOTOR αi series
Maintenance Manual for details of the battery
replacement procedure.
s-13
SAFETY PRECAUTIONS B-63942EN/01
WARNING
3 Fuse replacement
Before replacing a blown fuse, however, it is
necessary to locate and remove the cause of the
blown fuse.
For this reason, only those personnel who have
received approved safety and maintenance training
may perform this work.
When replacing a fuse with the cabinet open, be
careful not to touch the high-voltage circuits
(marked and fitted with an insulating cover).
Touching an uncovered high-voltage circuit
presents an extremely dangerous electric shock
hazard.
s-14
B-63942EN/01 TABLE OF CONTENTS
TABLE OF CONTENTS
I. GENERAL
1 GENERAL ..............................................................................................3
2 LIST OF SPECIFICATION .....................................................................6
II. NC FUNCTION
1 CONTROLLED AXIS............................................................................19
1.1 MULTI-PATH CONTROL.............................................................................20
1.2 MACHINE GROUP / CONTROLLED PATH / CONTROLLED AXIS............20
1.2.1 Number of Machine Groups .................................................................................. 20
1.2.2 Number of Controlled Paths .................................................................................. 20
1.2.3 Number of Controlled Axes .................................................................................. 21
1.2.4 Number of Controlled Paths and Axes for Loader ................................................ 21
1.3 AXIS CONTROL BY PMC ...........................................................................22
1.4 Cs CONTOURING CONTROL.....................................................................23
1.5 LOADER CONTROL....................................................................................23
1.6 NAMES OF AXES........................................................................................24
1.6.1 Names of Axes....................................................................................................... 24
1.6.2 Axis Name Expansion ........................................................................................... 25
1.7 ARBITRARY AXIS NAME SETTING ...........................................................26
1.7.1 Arbitrary Axis Name ............................................................................................. 26
1.7.2 AXNUM Function................................................................................................. 27
1.8 SPINDLE NAME EXPANSION ....................................................................28
1.9 SYNCHRONOUS / MIXTURE CONTROL ...................................................29
1.10 SUPERIMPOSED CONTROL .....................................................................32
1.11 AXIS SYNCHRONOUS CONTROL .............................................................34
1.12 ANGULAR AXIS CONTROL ........................................................................35
1.13 INCLINED ROTARY AXIS CONTROL.........................................................36
1.14 TANDEM CONTROL ...................................................................................39
1.15 TANDEM DISTURBANCE ELIMINATION CONTROL.................................40
1.16 TORQUE CONTROL ...................................................................................41
1.17 POLE POSITION DETECTION FUNCTION ................................................41
1.18 CONTROL AXIS DETACH ..........................................................................41
c-1
TABLE OF CONTENTS B-63942EN/01
c-2
B-63942EN/01 TABLE OF CONTENTS
2 OPERATION ........................................................................................59
2.1 OPERATION MODE ....................................................................................60
2.1.1 Automatic Operation (Memory Operation)........................................................... 60
2.1.2 MDI Operation ...................................................................................................... 60
2.1.3 DNC Operation...................................................................................................... 60
2.1.4 DNC Operation with Memory Card ...................................................................... 60
2.2 PROGRAM SEARCH ..................................................................................60
2.3 SEQUENCE NUMBER SEARCH ................................................................60
2.4 SEQUENCE NUMBER COMPARISON AND STOP....................................61
2.5 MALFUNCTION PREVENT FUNCTIONS ...................................................61
2.6 WRONG OPERATION PREVENTION FUNCTION.....................................62
2.7 RETRACTION FOR RIGID TAPPING .........................................................63
2.8 BUFFER REGISTER ...................................................................................63
2.9 DRY RUN.....................................................................................................63
2.10 SINGLE BLOCK...........................................................................................64
2.11 JOG FEED ...................................................................................................64
2.12 MANUAL REFERENCE POSITION RETURN.............................................64
2.13 REFERENCE POSITION SETTING WITHOUT DOG .................................65
2.14 REFERENCE POSITION SETTING WITH MECHANICAL STOPPER .......66
2.15 REFERENCE POSITION RETURN FEEDRATE SETTING ........................66
2.16 REFERENCE POSITION SHIFT .................................................................67
2.17 MANUAL HANDLE FEED............................................................................68
2.17.1 Manual Handle Feed (1st) ..................................................................................... 68
2.17.2 Manual Handle Feed (2nd and 3rd)....................................................................... 68
2.17.3 Manual Handle Feed Magnification...................................................................... 68
2.18 MANUAL FEED FOR 5-AXIS MACHINING .................................................69
2.18.1 Tool Axis Direction Handle Feed / Tool Axis Direction Jog Feed /
Tool Axis Direction Incremental Feed .................................................................. 70
2.18.2 Tool Axis Right-Angle Direction Handle Feed / Tool Axis Right-Angle
Direction Jog Feed / Tool Axis Right-Angle Direction Incremental Feed............ 71
2.18.3 Tool Tip Center Rotation Handle Feed / Tool Tip Center Rotation Jog Feed /
Tool Tip Center Rotation Incremental Feed.......................................................... 72
2.18.4 Table Vertical Direction Handle Feed / Table Vertical Direction Jog Feed /
Table Vertical Direction Incremental Feed ........................................................... 73
2.18.5 Table Horizontal Direction Handle Feed / Table Horizontal Direction Jog
Feed / Table Horizontal Direction Incremental Feed ............................................ 73
2.19 MANUAL HANDLE INTERRUPTION...........................................................74
c-3
TABLE OF CONTENTS B-63942EN/01
c-6
B-63942EN/01 TABLE OF CONTENTS
c-7
TABLE OF CONTENTS B-63942EN/01
c-9
TABLE OF CONTENTS B-63942EN/01
c-10
B-63942EN/01 TABLE OF CONTENTS
c-11
TABLE OF CONTENTS B-63942EN/01
14 OTHERS.............................................................................................339
14.1 STATUS OUTPUT SIGNAL.......................................................................340
14.1.1 NC Ready Signal ................................................................................................. 340
14.1.2 Servo Ready Signal.............................................................................................. 340
14.1.3 Automatic Operation Signal ................................................................................ 340
14.1.4 Automatic Operation Start Lamp Signal ............................................................. 340
14.1.5 Feed Hold Signal ................................................................................................. 340
14.1.6 Reset Signal ......................................................................................................... 340
14.1.7 NC Alarm Signal ................................................................................................. 340
14.1.8 Distribution End Signal ....................................................................................... 341
14.1.9 Rewinding Signal ................................................................................................ 341
14.1.10 Inch Input Signal.................................................................................................. 341
14.1.11 Cutting Signal ...................................................................................................... 341
14.1.12 In-position Signal................................................................................................. 341
14.1.13 Threading Signal.................................................................................................. 341
14.1.14 Tapping Signal..................................................................................................... 341
14.1.15 Axis Moving Signal............................................................................................. 341
14.1.16 Axis Moving Direction Signal............................................................................. 342
14.1.17 Rapid Traverse Signal ......................................................................................... 342
14.1.18 Constant Surface Speed Signal............................................................................ 342
14.1.19 DI Status Output Signal ....................................................................................... 342
APPENDIX
A RANGE OF COMMAND VALUE ........................................................345
B LIST OF FUNCTIONS AND PROGRAM FORMAT ............................348
C PROGRAM CODE LIST .....................................................................359
D EXTERNAL DIMENSIONS OF BASIC UNIT......................................362
E PRINTED CIRCUIT BOARD...............................................................365
F EXTERNAL DIMENSIONS OF MDI UNIT ..........................................379
G EXTERNAL DIMENSIONS OF EACH UNIT.......................................382
c-12
I. GENERAL
B-63942EN/01 GENERAL 1.GENERAL
1 GENERAL
The FANUC Series 30i/300i/300is-MODEL A is the highest-end
CNC of FANUC, which can control up to 10 paths, 32 axes, and 8
spindles.
The features are as follows:
• The performance of the CNC is remarkably enhanced by
employing cutting-edge hardware such as an ultra high-speed
processor, higher-speed bus internal to the CNC, and optical
cable enabling high-speed data transfer.
• High-speed, high-precision, and high-quality machining is
achieved with the CNC, servo system, and detector for exercising
nanometer control. Similar control is exercised not only on
milling for metal dies but also on turning.
• The CNC is applicable to a 5-axis machine tool that can be
configured in various ways. The CNC has many functions for
programming complicated figures easily and for facilitating setup
work.
• With a 15" large liquid-crystal display panel for displaying much
more information and vertical soft keys provided on the side of
the screen, the operability of the CNC is much improved. A
large CNC program memory is provided to enable file
management and editing as is possible on the personal computer.
• A management system connected with a personal computer via
Ethernet can be built easily. Various field networks are
supported.
• The FANUC Series 300i is an Open CNC that incorporates the
personal computer functions compatible with Microsoft
Windows NT/2000/XP and enables the use of Windows-
compatible software and development environments. The
FANUC Series 300is is an Open CNC that supports Microsoft
Windows CE.NET, which is an O/S not requiring hard disk.
* Microsoft and Windows are registered trademarks of the
Microsoft Corporation of the United States of America.
Applicable models
Model name Abbreviation
FANUC Series 30i-MODEL A 30i-A Series 30i
FANUC Series 300i-MODEL A 300i-A Series 300i
FANUC Series 300is-MODEL A 300is-A Series 300is
-3-
1.GENERAL GENERAL B-63942EN/01
Either of the above servo motors and the corresponding spindle can be
connected to the CNC covered in this manual.
This manual mainly assumes that the FANUC SERVO MOTOR αi
series of servo motor is used. For servo motor and spindle information,
refer to the manuals for the servo motor and spindle that are actually
connected.
-4-
B-63942EN/01 GENERAL 1.GENERAL
Special symbols
This manual uses the following symbols:
- M
Indicates a description or function that is valid only for the machine
center system (M series) set as system control type.
The term "M series" used in the text means "machining center system
type".
- T
Indicates a description or function that is valid only for the lathe
system (T series) set as system control type.
The term "T series" in the text means "lathe system type".
-
Indicates the end of a description of a system control type.
- IP
Indicates a combination of axes such as X_ Y_ Z_
(Used for descriptions of command formats)
- ;
Indicates the end of a block. It actually corresponds to the ISO code
LF or EIA code CR.
(Used for descriptions of command formats)
-5-
2.LIST OF SPECIFICATION GENERAL B-63942EN/01
2 LIST OF SPECIFICATION
: Standard : Standard option
: Option : Function included in another option
: Not Available
Note) Some combinations of these options are restricted.
Machining
Lathe
Item Specifications center
system
system
Controlled axis
Max. controlled axes
(Machine controlled axes + Loader controlled
axes) Max. 32 axes
(Machine controlled axes are including Cs
axes and PMC axes.)
Machine groups 1 group
Machine groups Max. 3 groups
Controlled path 1 path
Controlled path Max. 10 paths
Controlled axis (each path) 2 axes
Controlled axis (each path) 3 axes
Simultaneously controlled axes (each path) Simultaneous 2 axes
Max. 32 axes
Controlled axes expansion (total)
(including Cs axes and PMC axes)
Simultaneously controlled axes expansion
Max. 24 axes
(each path)
Axis control by PMC Max. 32 axes (not available on Cs axis)
Designation of spindle axes (each path / total) Max. 4 axes / 8 axes
Cs contouring control (each path / total) Max. 4 axes / 8 axes
Controlled path for Loader Max. 8 paths
Controlled axes for Loader (each path) Max. 4 axes
Simultaneously controlled axes for Loader
Max. 4 axes
(each path)
Axis control by PMC for Loader (each path) Max. 4 axes
Basic three axes are X, Y and Z, additional
Axis name (machining center system)
axes are optional from U, V, W, A, B, and C.
In case of G code system A, basic 2 axes are
Axis name (lathe system with G code system
X and Z, additional axes are optional from Y,
A)
A, B, and C.
In case of G code system B/C, basic 2 axes
Axis name (lathe system with G code system
are X and Z, additional axes are optional from
B/C)
Y, U, V, W, A, B, and C.
Axis name expansion Max 3 characters
Arbitrary axis name setting Included in custom macro function
Max. 3 characters, Included in Multi-spindle
Spindle name expansion
function
Synchronous / mixture control
-6-
B-63942EN/01 GENERAL 2.LIST OF SPECIFICATION
Machining
Lathe
Item Specifications center
system
system
Superimposed control
Axis synchronous control Max. 12 pairs
Angular axis control
Inclined rotary axis control
Tandem control
Tandem disturbance elimination control Axis synchronous control is required.
Torque control Included in PMC axis control
Pole position detection function
Control axis detach
Increment system IS-A, IS-B
Increment system C 0.0001mm, 0.0001deg, 0.00001inch
Increment system D 0.00001mm, 0.00001deg, 0.000001inch
Increment system E 0.000001mm, 0.000001deg, 0.0000001inch
Flexible feed gear Optional DMR
Arbitrary command multiply 1/9999 to 9999 times
Dual position feedback
HRV control
Inch/metric conversion
All axes / each axis / each direction /
Interlock
block start / cutting block start
Machine lock All axes / each axis
Emergency stop
Overtravel
Stored stroke check 1
Stroke limit external setting
Stored stroke check 2, 3
Stroke limit check before move
Chuck and tail stock barrier
Mirror image Each axis
Follow-up
Servo off / mechanical handle feed
Chamfering on/off
Interference check for each path Only for more than 2-path control
Unexpected disturbance torque detection
function
Rotary axis control
Position switch
High-speed position switch
Direction-dependent type high-speed position
switch
Linear scale interface with absolute address
reference mark
Linear scale with absolute address reference
mark expansion
Operation
Automatic operation (memory)
MDI operation
DNC operation Reader/puncher interface is required.
CF card and PCMCIA Card Attachment is
DNC operation with Memory Card
required.
-7-
2.LIST OF SPECIFICATION GENERAL B-63942EN/01
Machining
Lathe
Item Specifications center
system
system
Program search
Sequence number search
Sequence number comparison and stop
Malfunction prevent functions
Wrong operation prevention
Retraction for rigid tapping
Buffer register
Dry run
Single block
Jog feed
Manual reference position return
Reference position setting without DOG
Reference position setting with mechanical
stopper
Reference position return feedrate setting
Reference position shift
Manual handle feed 1-unit 1 unit/each path
Manual handle feed 2/3-units 2 units or 3 units
×1, ×10, ×m , ×n
Manual handle feed rate
m : 0 to 2000, n : 0 to 2000
Manual feed for 5-axis machining
Manual handle interruption
Incremental feed ×1, ×10, ×100, ×1000, ×10000
Jog and handle simultaneous mode
Manual numerical command
Interpolation functions
Nano interpolation
G00 (Linear interpolation type positioning is
Positioning
possible)
Exact stop mode G61
Tapping mode G63
Cutting mode G64
Exact stop G09
Linear interpolation
Circular interpolation
Exponential interpolation
Dwell in seconds and dwell in revolution (In
case of dwell in revolution for machining
Dwell
center system, threading, synchronous cutting
option is required.)
Polar coordinate interpolation
Cylindrical interpolation
Circular interpolation plus max. 2 axes linear
Helical interpolation
interpolation
Circular interpolation plus max. 4 axes linear
Helical interpolation B
interpolation
Involute interpolation
Hypothetical axis interpolation
Conical / spiral interpolation
Smooth interpolation AI contour control I or II is required.
-8-
B-63942EN/01 GENERAL 2.LIST OF SPECIFICATION
Machining
Lathe
Item Specifications center
system
system
Nano Smoothing AI contour control I or II is required.
Threading, synchronous cutting Spindle serial output is required.
Multiple threading
Threading retract
Continuous threading
Variable lead threading
Circular threading
Polygon turning
Polygon machining with two spindles
Skip G31
Multi-step skip
High-speed skip Input signal is 8 points
Torque limit skip
Reference position return G28
Reference position return check G27
2nd reference position return
3rd/4th reference position return
Floating reference position return
Normal direction control
NURBS interpolation AI contour control I or II is required.
Three-dimensional circular interpolation
Balance cutting Only for more than 2-path control
Index table indexing
Feed function
Rapid traverse rate (increment system B) Max. 999.999m/min (1 µm)
Rapid traverse rate (increment system C) Max. 99.9999m/min (0.1 µm)
Rapid traverse rate (increment system D) Max. 9.99999m/min (0.01 µm)
Rapid traverse rate (increment system E) Max. 0.999999m/min (0.001 µm)
Rapid traverse override F0, 25, 50, 100 % or 0 to 100 % (1 % step)
Feed per minute
For machining center system, threading,
Feed per revolution
synchronous cutting option is required.
Without position coder feed per revolution Included in constant surface speed control
Without position coder constant surface speed
Included in constant surface speed control
control
Tangential speed constant control
Cutting feedrate clamp
Rapid traverse: linear
Automatic acceleration/deceleration
Cutting feed: exponential, linear
Rapid traverse bell-shaped
acceleration/deceleration
Optimum torque acceleration/deceleration
Bell-shaped acceleration/deceleration after
cutting feed interpolation
Linear acceleration/deceleration before cutting
Included in AI contour control I or II
feed interpolation
Feedrate override 0 to 254 %
Second feedrate override 0 to 254 %
One-digit F code feed
Inverse time feed
-9-
2.LIST OF SPECIFICATION GENERAL B-63942EN/01
Machining
Lathe
Item Specifications center
system
system
Jog override 0 to 655.34 %
Override cancel
Manual per revolution feed
External deceleration
Feed stop
Linear acceleration/deceleration after cutting
feed interpolation
AI contour control I Look-ahead block no. is Max. 30.
AI contour control II Look-ahead block no. is Max. 200.
Look-ahead block no. is Max. 600.
High-speed processing
AI contour control II is required.
Look-ahead block no. is Max. 1000.
Look-ahead blocks expansion AI contour control II and high-speed
processing are required.
Bell-shaped acceleration/deceleration before
Included in AI contour control I or II
look-ahead interpolation
Jerk control AI contour control II is required.
Rigid tapping bell-shaped
Rigid tapping is required.
acceleration/deceleration
Program input
Program code EIA RS244/ISO840
Label skip
Parity check Horizontal and vertical parity
Control in/out
Optional block skip 1
Optional block skip 9
Max. programmable dimension ±9 digit (R,I,J and K is ±12digit.)
Program file name 32 characters
Sequence number N8-digit
Absolute/incremental programming Combined use in the same block
Decimal point programming / pocket
calculator type decimal point programming
Input unit 10 time multiply
Diameter/radius programming
Diameter/radius dynamic switching
Plane selection G17, G18, G19
Rotary axis designation
Rotary axis roll-over
Polar coordinate command
Coordinate system setting
Automatic coordinate system setting
Workpiece coordinate system G52 to G59
Workpiece coordinate system preset
Addition of workpiece coordinate system 48
48 pairs
pairs
Addition of workpiece coordinate system 300
300 pairs
pairs
Direct input of workpiece origin offset value
Included in workpiece coordinate system
measured
Manual absolute on and off
- 10 -
B-63942EN/01 GENERAL 2.LIST OF SPECIFICATION
Machining
Lathe
Item Specifications center
system
system
Direct drawing dimension programming
G code system A
G code system B/C
Chamfering / corner R
Optional chamfering / corner R
Programmable data input G10
Programmable parameter input
Sub program call 10 folds nested
Custom macro
Addition of custom macro common variables #100 to #199, #500 to #999
Custom macro common variables between
Only for more than 2-path control
each path
Interruption type custom macro
Canned cycles
Multiple repetitive cycle
Multiple repetitive cycle II Pocket profile
Canned cycles for drilling
Circular interpolation by R programming
Mirror image for double turret
Automatic corner override
Scaling
Coordinate system rotation
Three-dimensional coordinate conversion
Tilted working plane command
Programmable mirror image
Figure copy
FANUC Series 15 program format
Macro executor
C language executor
Custom software size 256KB
Custom software size 512KB
Custom software size 1MB
Total size for all paths.
Custom software size 2MB
Specify a size of 1MB or greater when using
Custom software size 3MB
the C language executor.
Custom software size 4MB
Custom software size 5MB
Custom software size 6MB
Auxiliary function / Spindle speed function
Auxiliary function M8-digit
2nd auxiliary function B8-digit
Auxiliary function lock
High-speed M/S/T/B interface
Waiting function Only for more than 2-path control
Multiple command of auxiliary function 3
Spindle speed function S5-digit, binary output
Spindle serial output S5-digit, serial output (max. 8 spindles)
Constant surface speed control
Spindle override 0 to 254 %
Actual spindle speed output
Spindle orientation Max. 8 spindles
- 11 -
2.LIST OF SPECIFICATION GENERAL B-63942EN/01
Machining
Lathe
Item Specifications center
system
system
Spindle output switching function Max. 8 spindles
Spindle synchronous control
Spindle simple synchronous control
Multi spindle control
Spindle positioning
Rigid tapping
Rigid tapping by manual handle
Arbitrary position reference setting for Cs axis
function
Tool function / Tool compensation function
Tool function T7+1/T6+2/T5+3-digit
Tool function T8-digit
32
(Note)
Tool offset pairs
Specify total of tool offset pairs of each path.
Max. digit of tool offset is 9.
Tool offset pairs 64
Tool offset pairs 99
Tool offset pairs 200
Tool offset pairs 400
Tool offset pairs 499
Tool offset pairs 999
Tool offset pairs 2000
Tool offset memory B Geometry/wear memory
Distinction between geometry and wear, or
Tool offset memory C
between cutter and tool length compensation.
Common offset memory between each path Only for more than 2-path control
Tool length compensation
Tool offset
Tool center point control for 5-axis machining
Y-axis offset
Cutter or tool nose radius compensation
Three-dimensional cutter compensation
Cutting point interpolation for cylindrical
interpolation
Tool geometry/wear compensation
Tool geometry/wear compensation is
2nd geometry tool offset
required.
Tool management function: 64 pairs 64 tools
Tool management function: 240 pairs 240 tools
Tool management function: 1000pairs 1000 tools
Tool management function:
Customized data expansion (5 to 20)
Tool management function:
Customized data expansion (5 to 40)
Tool offset value counter input
Tool length measurement
Automatic tool length measurement
Tool length/workpiece origin measurement
Automatic tool offset
- 12 -
B-63942EN/01 GENERAL 2.LIST OF SPECIFICATION
Machining
Lathe
Item Specifications center
system
system
Direct input of tool offset value measured
Direct input of tool offset value measured B
Rotary table dynamic fixture offset
Changing active offset value with manual
move
Accuracy compensation function
Backlash compensation
Backlash compensation for each rapid
traverse and cutting feed
Smooth backlash compensation
Stored pitch error compensation
Interpolation type pitch error compensation Stored pitch error compensation is required.
Bi-directional pitch error compensation Stored pitch error compensation is required.
Stored pitch error compensation and bi-
Extended bi-directional pitch error
directional pitch error compensation are
compensation
required.
Periodical secondary pitch error
Stored pitch error compensation is required.
compensation
Inclination compensation
Straightness compensation
Included in interpolation type straightness
Straightness compensation 128 points
compensation
Interpolation type straightness compensation Stored pitch error compensation is required.
Three-dimensional error compensation Stored pitch error compensation is required.
Thermal growth compensation along tool
vector
Editing operation
Part program storage size (Specify total of
64Kbyte
part program storage size of each path.)
Part program storage size (Specify total of
128Kbyte
part program storage size of each path.)
Part program storage size (Specify total of
256Kbyte
part program storage size of each path.)
Part program storage size (Specify total of
512Kbyte
part program storage size of each path.)
Part program storage size (Specify total of
1Mbyte
part program storage size of each path.)
Part program storage size (Specify total of
2Mbyte
part program storage size of each path.)
Part program storage size (Specify total of
4Mbyte
part program storage size of each path.)
Part program storage size (Specify total of
8Mbyte
part program storage size of each path.)
Number of registerable programs 63
Number of registerable programs expansion 1 Max. 1000 programs
Number of registerable programs expansion 2 Max. 4000 programs
Part program editing
Program protect
Key and program encryption
Extended part program editing
- 13 -
2.LIST OF SPECIFICATION GENERAL B-63942EN/01
Machining
Lathe
Item Specifications center
system
system
Setting and display
Status display
Clock function
Current position display
Program display Program name 31 characters
Parameter setting and display
Alarm display
Alarm history display
External message or external data input is
Operator message history display
required.
Operation history display
Run hour and parts count display
Actual cutting feedrate display
Display of spindle speed and T code at all
screens
Directory display of floppy cassette
Optional path name display Only for more than 2-path control
Operating monitor screen Load meter etc.
Servo setting screen
Spindle setting screen Only for αi/α series
Servo waveform display
Maintenance information screen
Software operator's panel
Software operator's panel general purpose
Software operator's panel is required.
switch
Software operator's panel general purpose Software operator's panel general purpose
switch expansion switch is required.
Multi-language display English
Multi-language display Japanese
Data protection key 4 types
Protection of data at eight levels
Erase CRT screen display Manual or Automatic
Parameter set supporting screen
Machining condition selecting screen AI contour control I or II is required.
Data input/output
Reader/puncher interface Reader/puncher (Ch.1) interface
Reader/puncher interface Reader/puncher (Ch.2) interface
Fast data server only for 1-path control
External message
External data input Including external message
External key input
External workpiece number search 9999
External program number search 1 to 9999
Memory card input/output
Screen hard copy
Power Mate CNC manager
Interface function
Embedded Ethernet
Fast Ethernet Fast Ethernet board is required.
- 14 -
B-63942EN/01 GENERAL 2.LIST OF SPECIFICATION
Machining
Lathe
Item Specifications center
system
system
PMC
Basic instruction: 25nsec/step
1st PMC path
Max. step number ladder: 64000
Basic instruction: 25nsec/step
2nd PMC path
Max. step number ladder: 64000
Basic instruction: 25nsec/step
3rd PMC path
Max. step number ladder: 64000
I/O Link expansion 2nd channel DI/DO points: addition 1024/1024 points
I/O Link expansion 3rd channel DI/DO points: addition 1024/1024 points
I/O Link expansion 4th channel DI/DO points: addition 1024/1024 points
Nonvolatile PMC extra relay function
Others
NC ready, servo ready, automatic operation,
automatic operation start lamp, feed hold,
Status output signal reset, NC alarm, distribution end, rewinding,
inch input, cutting, in-position, threading,
tapping, etc.
Control unit incorporated type display unit 10.4" color LCD
(Not available in 300i) 15" color LCD
Without option slots
(depth 60mm except 10.4"LCD)
Option 2 slots
Control unit dimensions for LCD unit mounted (depth 110mm except 10.4"LCD)
type (depth) Without option slots
(depth 70mm except 15"LCD)
Option 2 slots
(depth 120mm except 15"LCD)
Separate MDI
(standard size, vertical type, symbol and
caption in English on keys) (*1)
MDI unit
Separate MDI
(Qwerty key, vertical type, symbol and caption
in English on keys)
Standard operator's panel
I/O Unit-MODEL A
Machine interface (I/O Link) I/O Unit-MODEL B
Max. DI/DO points: 1024/1024 points Operator's panel I/O module
Extendable up to 4096/4096 points with the Power magnetics control I/O module
I/O Link point extension option Connection panel I/O module (DI/DO module,
2A output module, analog input module)
I/O Link - AS-i converter
Manual pulse generator
Pendant type manual pulse generator With axis selection and magnification switches
Handy machine operator’s panel
FANUC AC SERVO MOTOR
Connectable servo motor αiS series, αi series, α series,
βiS series, β series
FANUC SERVO AMPLIFIER
Connectable servo amplifier
αi series, α series, βi series, β series
- 15 -
2.LIST OF SPECIFICATION GENERAL B-63942EN/01
Machining
Lathe
Item Specifications center
system
system
Pulsecoder/optical scale (2-phase pulse
Separate detector interface unit for full-closed
interface)
control
Pulse coder/optical scale (serial interface)
FANUC AC SPINDLE MOTOR
Connectable spindle motor
αi series, α series, etc.
FANUC SERVO AMPLIFIER
Connectable spindle amplifier
αi series, α series
Input power supply 24VDC±10%
LCD-mounted type control unit
At operating: 0 to 58°C
Ambient temperature of unit (*2)
At non-operating: -20 to 60°C
Temperature change : Max. 0.3°C/minute
Normally: 75%RH or less
(No dew, nor frost allowed)
Ambient relative humidity
Short term (within one month): 95%RH or
less(No dew, nor frost allowed)
0.5G or less
FANUC evaluation tests are conducted under
the following condition:
Vibration
10 to 58Hz : 0.075mm (amplitude)
58 to 500Hz : 1G
Tests conforming to IEC68-2-6 are conducted.
(Note)
*1 : There are some limitations in case of 300i/300is.
*2 : If the CNC is installed at a location higher than 1000 m above the sea level, a restriction is imposed on the
maximum allowable ambient temperature of the CNC inside the cabinet. For each 100-m increase in height from
1000 m above the sea level, decrease the maximum allowable ambient temperature of the CNC inside the cabinet
by 1.0°C.
Example) The maximum allowable ambient temperature of the CNC inside the cabinet installed at a height of
1750 m above the sea level is:
55°C - 1750/100 × 1.0°C = 47.5°C
Therefore, the maximum allowable ambient temperature is 0°C to 47.5°C.
When hard disk is used, the following restriction is imposed on the height of installation:
Height above the sea level at operating time: -60 to 3000 m
Height above the sea level at non-operating time: -60 to 12000 m
- 16 -
II. NC FUNCTION
B-63942EN/01 NC FUNCTION 1.CONTROLLED AXIS
1 CONTROLLED AXIS
- 19 -
1.CONTROLLED AXIS NC FUNCTION B-63942EN/01
- 20 -
B-63942EN/01 NC FUNCTION 1.CONTROLLED AXIS
Item Specifications
*1
Maximum controlled axes Maximum 32 axes
Controlled axes (each path) M series : 3 axes T series : 2 axes
Simultaneously controlled axes
2 axes
(each path)
Controllable axes expansion *2 (total) Maximum 32 axes
Simultaneously controlled axes expansion
Maximum 24 axes
(total)
Axis control by PMC *3 Maximum 32 axes
Designation of spindle axes (each path) Maximum 4 spindle axes
Designation of spindle axes (total) Maximum 8 spindle axes
Cs contouring control (each path) Maximum 4 spindle axes
Cs contouring control (total) Maximum 8 spindle axes
*1: Sum of the number of machine controlled axes (including Cs
axes and PMC axes) and the number of loader controlled axes
*2: Including PMC axes and Cs axes
*3: Cs axes are not to be included.
Item Specifications
Controlled path Maximum 8 paths
Controlled axes (each path) Maximum 4 axes
Controlled axes (total) Maximum 4 axes
Axis control by PMC Maximum 4 axes
- 21 -
1.CONTROLLED AXIS NC FUNCTION B-63942EN/01
- 22 -
B-63942EN/01 NC FUNCTION 1.CONTROLLED AXIS
- 23 -
1.CONTROLLED AXIS NC FUNCTION B-63942EN/01
NOTE
1 The same name must not be set for multiple axes.
(However, an axis name used in a path may be
used in another path.)
2 When G code system A is used with a lathe
system, U, V, and W must not be used as axis
names. Only when G code system B or C is used,
U, V, and W can be used as axis names.
3 When a multiple repetitive cycle for turning is used,
use X, Y, or Z as the address of a target axis.
- 24 -
B-63942EN/01 NC FUNCTION 1.CONTROLLED AXIS
NOTE
1 If the second axis name is not set for an axis, the
specification of the third axis name is invalid.
2 If a character from '0' to '9' is set as the second
axis name, do not set a character from 'A' to 'Z' as
the third axis name.
3 If an axis name ends with a number, '=' is required
between the axis name and a command value.
4 In a macro call, no axis name expansion can be
used as an argument.
5 If an axis name expansion is used for at least one
axis within a path, the axis name subscript cannot
be used within the path.
6 When G code system A is used for a lathe system,
X, Y, Z, or C may be used for the first axis name
character of an axis. In this case, when a
command containing U, V, W, or H as the first axis
name character is specified, it is used as the
incremental command for the corresponding axis.
7 In a multi-path system, when no axis name
expansion is used within a path and the axis name
subscript is not set, the path number is
automatically used as the axis name subscript.
When you do not want to display the axis name
subscript, set a blank (32) in ASCII code for the
axis name subscript parameter.
The usable names and their allowed combinations are indicated below.
First axis name Second axis Third axis
character name character name character
A, B, C, 0 to 9 0 to 9
Setting U, V, W, 0 to 9
A to Z
X, Y, Z A to Z
Correct example <1> X 1 1
Correct example <2> X A 1
Correct example <3> X A B
Incorrect example X 1 A
- 25 -
1.CONTROLLED AXIS NC FUNCTION B-63942EN/01
- 26 -
B-63942EN/01 NC FUNCTION 1.CONTROLLED AXIS
Format
AXNUM[ (Axis name) ];
Explanation
If an invalid (Axis name) is specified, an alarm is issued.
Example)
Suppose that there are three controlled axes and that the first axis
name is "X", the second axis name is "Y", and the third axis
name is "Z".
1. #500=AXNUM[X];
In #500, 1 is stored.
2. #501=AXNUM[Y];
In #501, 2 is stored.
3. #502=AXNUM[Z];
In #502, 3 is stored.
4. #503=AXNUM[A];
An alarm occurs.
Example
Sample program where the first axis name is "X", the second axis
name is "Y", and the third axis name is "Z1"
- 27 -
1.CONTROLLED AXIS NC FUNCTION B-63942EN/01
The usable names and their allowed combinations are indicated below.
First spindle Second Third spindle
name (fixed) spindle name name
0 to 9 0 to 9
Setting S 0 to 9
A to Z
A to Z
Correct example
S 1 1
<1>
Correct example
S A 1
<2>
Correct example
S A B
<3>
Incorrect example S 1 A
- 28 -
B-63942EN/01 NC FUNCTION 1.CONTROLLED AXIS
Explanation
- Independent control in each path
Movements on the axes (X1, Z1, and so on) of path 1 are made
according to a move command for path 1, and movements on the axes
(X2, Z2, and so on) of path 2 are made according to a move command
for path 2.
Machining according to
X1 Turret 1
Z1 a program for path 2
Workpiece 2
Workpiece 1
X2 Z2
Machining according to Turret 2
a program for path 1
- Mixture control
By applying a move command for an axis (master axis) to a different
arbitrary axis (slave axis), the movements on the two axes can be
synchronized with each other. Whether to synchronize the movement
on a slave axis with the move command for the master axis or make a
movement on a slave according to the command for the slave can be
chosen using the signal (synchronous control selection signal) from
the PMC.
- 29 -
1.CONTROLLED AXIS NC FUNCTION B-63942EN/01
CAUTION
1 Synchronization mentioned above means that a
move command for the master axis is also
specified for a slave axis at the same time.
Synchronization loss compensation, which detects
the positional deviation between the master axis
and slave axis and compensates for the deviation,
is not performed. However, the positional deviation
is detected at all times, and if the positional
deviation exceeds a certain parameter-set value,
the movement on each axis is stopped with an
alarm.
2 The master axis and slave axis may belong to the
same path, or the master axis may belong to one
axis and the slave axis may belong to another.
Moreover, multiple slave axes can be specified for
one master axis.
Example 1)
The Z2 axis of path 2 is synchronized with the Z1 axis of path 1.
Turret 1
X1
Workpiece
Z1 Z2 (Synchronized with
movement along the Z1 axis)
Example 2)
The B1 axis of path 1 is synchronized with the Z1 axis of path 1.
Turret 1
X1
Tail stock
Workpiece
B1
Z1
(Synchronized with
movement along the Z1 axis)
- 30 -
B-63942EN/01 NC FUNCTION 1.CONTROLLED AXIS
- Mixture control
A move command for an arbitrary axis of one path and a move
command for an arbitrary axis of another path can be exchanged with
each other to make a movement on each axis.
Example)
A move command for the X1 axis of path 1 and a command for
the X2 axis of path 2 are exchanged with each other.
The program for path 1 makes movements along the X2 axis and
Z1 axis.
The program for path 2 makes movements along the X1 axis and
Z2 axis.
Machining according to
a program for path 1
X1 Turret 1
Z1
Workpiece 1
Workpiece 2
Z2
Turret 2 X2
Machining according to
a program for path 2
- 31 -
1.CONTROLLED AXIS NC FUNCTION B-63942EN/01
Explanation
- Independent control in each path
Movements on the axes (X1, Z1, and so on) of path 1 are made
according to a move command for path 1, and movements on the axes
(X2, Z2, and so on) of path 2 are made according to a move command
for path 2.
Machining according to
X1 Turret 1
a program for path 2
Z1
Workpiece 2
Workpiece 1
X2 Z2
Machining according to Turret 2
a program for path 1
- 32 -
B-63942EN/01 NC FUNCTION 1.CONTROLLED AXIS
- Superimposed Control
To the travel distance on an axis (slave axis) for which an ordinary
move command is executed, the travel distance on the axis (master
axis) of another path is added. Superimposed control resembles
synchronous control. In superimposed control, however, a movement
on the slave axis can be specified with a command for the path to
which the slave axis belongs.
The master axis and slave axis may belong to the same path, or the
master axis may belong to one axis and the slave axis may belong to
another. Moreover, multiple slave axes can be specified for one
master axis. By parameter setting, the move directions on the master
axis and slave axis can be reversed from each other.
Example)
A move command for the Z1 axis of path 1 is superimposed on
the travel distance on the Z2 axis of path 2.
Machining according to
a program for path 1
X1 Turret 1
Workpiece
Z1 Turret 2
X2
Machining according to
Z2 a program for path 2
- 33 -
1.CONTROLLED AXIS NC FUNCTION B-63942EN/01
When a movement is made along one axis by using two servo motors
as in the case of a large gantry machine, a command for one axis can
drive the two motors by synchronizing one motor with the other.
Moreover, by using a feedback signal from each motor, a positional
difference (synchronous error) between the two motors is detected to
compensate for the synchronous error. When a synchronous error
exceeding a set value occurs, a synchronous error check can be made
to issue an alarm and stop a movement along the axis.
Z
A
(Slave axis)
X
(Master axis)
- 34 -
B-63942EN/01 NC FUNCTION 1.CONTROLLED AXIS
When the angular axis installed makes an angle other than 90° with
the perpendicular axis, the angular axis control function controls the
distance traveled along each axis according to the inclination angle as
in the case where the angular axis makes 90° with the perpendicular
axis.
Arbitrary axes can be specified as a set of an angular axis and
perpendicular axis by parameter setting.
The actual distance traveled is controlled according to an inclination
angle. However, a program, when created, assumes that the angular
axis and perpendicular axis intersect at right angles.
+Y'(Angular axis)
+X
+X(Perpendicular axis)
- 35 -
1.CONTROLLED AXIS NC FUNCTION B-63942EN/01
Z
Z Y
C
C
B B
X Y
Z Y
X
C
Y
C
A
A X
B
Z
Y
C
X
B
Y
C
- 36 -
B-63942EN/01 NC FUNCTION 1.CONTROLLED AXIS
The machine shown in following figure has rotary axis B (master) that
turns around the Y-axis and rotary axis C (slave) whose Y-axis is
inclined at an angle of 45 degrees on the Y-Z plane.
The tilted working plane command / tool center point control function
for 5-axis machining / cutter compensation for 5-axis machining /
manual handle feed for 5-axis machining can be used even for the
machine configuration shown in following figure
Z
X
Y
B
Fig. 1.13 (b) Example of tool rotation type machine
Z
X
C
B B
- 37 -
1.CONTROLLED AXIS NC FUNCTION B-63942EN/01
The machine shown in following figure has tool rotation axis B whose
Y-axis is inclined at an angle of 45 degrees on the Y-Z plane and table
rotation axis C that turns around the Z-axis.
The tilted working plane command / tool center point control function
for 5-axis machining / cutter compensation for 5-axis machining /
manual handle feed for 5-axis machining can be used even for the
machine configuration shown in following figure.
Mixed-type machine
B
Z
X
Z
X
C
C
Y
- 38 -
B-63942EN/01 NC FUNCTION 1.CONTROLLED AXIS
Main motor
Table
Ball screw
Sub motor
- 39 -
1.CONTROLLED AXIS NC FUNCTION B-63942EN/01
Disturbance
Servo
NC command + + + +
Position Velocity fbm
Velocity Kt/Jm⋅s
control control
- +
Main motor
Main axis
Velocity fbm
Tandem Disturbance
Velocity fbs
Elimination control
Sub axis
Sub motor
- -
Position Velocity Kt/Jm⋅s
control + control + + Velocity fbs
+
Disturbance
- 40 -
B-63942EN/01 NC FUNCTION 1.CONTROLLED AXIS
NOTE
1 This function cannot be used with a vertical axis to
which force is applied at all times.
2 This function cannot be used with an axis when the
axis is completely locked.
- 41 -
1.CONTROLLED AXIS NC FUNCTION B-63942EN/01
NOTE
When the increment system is IS-A or pocket
calculator type decimal point programming is used,
a least input increment 10 times greater than a
least command increment cannot be set.
- 42 -
B-63942EN/01 NC FUNCTION 1.CONTROLLED AXIS
Position Separate
ER1 gain Motor detector
MCMD + + ER + Velocity
Σ Kp control Amplifier
- + -
Velocity feedback
Conversion
coefficient
Position feedback (from motor)
ER2
+ -
Σ Primary delay time
constant
- +
- 43 -
1.CONTROLLED AXIS NC FUNCTION B-63942EN/01
Current feedback
Velocity feedback
Motor
- 44 -
B-63942EN/01 NC FUNCTION 1.CONTROLLED AXIS
Format
G20 ; Inch input
G21 ; Metric input
Explanation
This G code must be specified in an independent block before setting
the coordinate system at the beginning of the program. Do not specify
this G code in the middle of a program.
Moreover, inch/metric conversion is possible in setting data setting.
After the G code for inch/metric conversion is specified, the unit of
input data is switched to the least inch or metric input increment of
increment system. The unit of data input for degrees remains
unchanged. The unit systems for the following values are changed
after inch/metric conversion:
• Feedrate commanded by F code
• Positional command
• Workpiece origin offset value
• Tool compensation value
• Unit of scale for manual pulse generator
• Movement distance in incremental feed
• Some parameters
When the power is turned on, the G code is the same as that held
before the power was turned off.
- 45 -
1.CONTROLLED AXIS NC FUNCTION B-63942EN/01
1.25 INTERLOCK
- 46 -
B-63942EN/01 NC FUNCTION 1.CONTROLLED AXIS
1.28 OVERTRAVEL
When the tool tries to move beyond the stroke end set by the machine
tool limit switch, the tool decelerates and stops because of working the
limit switch and an OVER TRAVEL alarm is displayed.
An overtravel signal is provided for each direction on each axis.
- 47 -
1.CONTROLLED AXIS NC FUNCTION B-63942EN/01
When a tool is changed, the tool tip is aligned with the end of the limit
area and signals are input. This operation sets the machine position
(machine coordinates) at that time as the limit position in stored stroke
check parameters. A setting signal is provided for each direction of
each axis.
- 48 -
B-63942EN/01 NC FUNCTION 1.CONTROLLED AXIS
(I,J,K)
(I,J,K)
When the outside of the When the inside of the
specified area is defined as specified area is defined as
the forbidden area. the forbidden area.
Format
G22 X_ Y_ Z_ I_ J_ K_ ; Stored stroke check 2 on
X, Y, Z : Coordinates in the + direction of stored stroke check 2
I, J, K : Coordinates in the - direction of stored stroke check 2
The address is X, Y, Z, I, J, or K. X and I, Y and J, and Z and K
specify a forbidden area for the X-axis, Y-axis, and Z-axis of the
basic three axes, respectively. If an address is omitted, a stroke
check is make according to the parameter settings.
G23 ; Stored stroke check 2 off
(X2,Y2,Z2)
- 49 -
1.CONTROLLED AXIS NC FUNCTION B-63942EN/01
- 50 -
B-63942EN/01 NC FUNCTION 1.CONTROLLED AXIS
T
The chuck and tail stock barrier function prevents damage to the
machine by checking whether the tool tip interferes with either the
chuck or tail stock.
Specify an area into which the tool may not enter (entry-prohibition
area). This is done using the special setting screen, according to the
shapes of the chuck and tail stock. If the tool tip should enter the set
area during a machining operation, this function stops the tool and
outputs an alarm message.
The tool can be removed from the prohibited area only by retracting it
in the direction from which the tool entered the area.
This function can be enabled or disabled by G22 (stored stroke check
2 on), G23 (stored stroke check 2 off), and a machine-side signal.
Tail stock barrier
G code Tail stock barrier Chuck barrier
signal
0 Valid Valid
G22
1 Invalid Valid
0 Invalid Invalid
G23
1 Invalid Invalid
Explanation
- Chuck figure definition
- Chuck holding the - Chuck holding the
outer face of a tool inner face of a tool
L X L X
A A
L1 W1
W W
CX CX
W1 L1
Z Z
CZ
CZ
Workpiece coordinate
system origin
Workpiece coordinate
system origin
- 51 -
1.CONTROLLED AXIS NC FUNCTION B-63942EN/01
Symbol Description
Chuck-shape selection (0: Holding the inner face of a
TY
tool, 1: Holding the outer face of a tool)
CX Chuck position (along X-axis)
CZ Chuck position (along Z-axis)
L Length of chuck jaws
W Depth of chuck jaws (radius)
L1 Holding length of chuck jaws
W1 Holding depth of chuck jaws (radius)
TZ L1
L2
Workpiece
B
D3 D2 D1 D
Z
Workpiece
coordinate system
origin
Symbol Description
TZ Tail stock position (along the Z-axis)
L Tail stock length
D Tail stock diameter
L1 Tail stock length (1)
D1 Tail stock diameter (1)
L2 Tail stock length (2)
D2 Tail stock diameter (2)
D3 Tail stock hole diameter (3)
- 52 -
B-63942EN/01 NC FUNCTION 1.CONTROLLED AXIS
A
B’
Z
0
Mirror image ON relative to X-axis at point A
1.36 FOLLOW-UP
- 53 -
1.CONTROLLED AXIS NC FUNCTION B-63942EN/01
T
In the threading cycle (G76), which is a multiple repetitive cycle for
turning, and in the threading cycle (G92), which is a canned cycle,
threading can be selected with the chamfering signal.
Approx.
Approx.
45°
45°
r r
r : Threading amount
- 54 -
B-63942EN/01 NC FUNCTION 1.CONTROLLED AXIS
T
When tool posts on individual paths machine the same workpiece
simultaneously, the tool posts can approach each other very closely.
If the tool posts interfere with each other due to a program error or any
other setting error, a serious damage such as a tool or machine
destruction can occur.
If such a command that causes tool posts of paths to interfere with
each other is specified, this function gradually stops the tool posts
before the tool posts actually interfere with each other.
The contours and shapes of the tool posts on individual paths are
checked to determine whether or not an interference occurs.
This function enables an interference check between two paths or
interference check among multiple paths. Which check to make can
be determined by parameter setting.
Tool post 2
Tool post 1
- 55 -
1.CONTROLLED AXIS NC FUNCTION B-63942EN/01
- 56 -
B-63942EN/01 NC FUNCTION 1.CONTROLLED AXIS
- 57 -
1.CONTROLLED AXIS NC FUNCTION B-63942EN/01
20.02 20.02
- 58 -
B-63942EN/01 NC FUNCTION 2.OPERATION
2 OPERATION
- 59 -
2.OPERATION NC FUNCTION B-63942EN/01
- 60 -
B-63942EN/01 NC FUNCTION 2.OPERATION
- 61 -
2.OPERATION NC FUNCTION B-63942EN/01
- 62 -
B-63942EN/01 NC FUNCTION 2.OPERATION
Initial point
2nd return
completion
α point
1st return
Retract completion
completion α point
R point point
L L
Tapping stop
point
- 63 -
2.OPERATION NC FUNCTION B-63942EN/01
- Jog feed
Each axis can be moved in the + or - direction for the time the button
is pressed. Feedrate is the parameter set speed with override of:
0 to 655.34%, 0.01% step.
The parameter set feedrate can be set to each axis.
- 64 -
B-63942EN/01 NC FUNCTION 2.OPERATION
- 65 -
2.OPERATION NC FUNCTION B-63942EN/01
- 66 -
B-63942EN/01 NC FUNCTION 2.OPERATION
Reference position
return direction
LDEC LSFT
Deceleration dog
Machine
Grid point zero point
LDEC : Distance from the turning-off of the deceleration dog to the first grid
point (grid point when the reference position shift amount is 0)
LSFT : Reference position shift amount
- 67 -
2.OPERATION NC FUNCTION B-63942EN/01
- 68 -
B-63942EN/01 NC FUNCTION 2.OPERATION
NOTE
1 To execute 5-axis machining handle feed requires
the manual handle feed option. Also, to generate
5-axis machining handle interrupts requires the
manual handle interrupt option.
2 A 5-axis machining handle interrupt must not be
generated when a rotation axis command is being
executed during automatic operation.
3 Manual feed for 5-axis machining is disabled when
the manual reference position return mode is
selected.
- 69 -
2.OPERATION NC FUNCTION B-63942EN/01
2.18.1 Tool Axis Direction Handle Feed / Tool Axis Direction Jog
Feed / Tool Axis Direction Incremental Feed
This function moves the tool or table in the tool axis direction of the
tool inclined by the rotation of the rotation axis, by the specified
amount of travel by handle feed/jog feed/incremental feed.
As the rotation axes for controlling the tool rotate, the tool axis
direction changes according to the rotation axis angle.
B
C
Tool axis direction
Z
Workpiece C
B
Y
- 70 -
B-63942EN/01 NC FUNCTION 2.OPERATION
B
Tool axis right- C
angle direction
Workpiece
Tool axis Z
direction C
B
Y
- 71 -
2.OPERATION NC FUNCTION B-63942EN/01
2.18.3 Tool Tip Center Rotation Handle Feed / Tool Tip Center
Rotation Jog Feed / Tool Tip Center Rotation Incremental
Feed
This function makes a movement along the linear axes (X-axis, Y-axis,
Z-axis) by the specified amount of travel by handle feed/jog
feed/incremental feed so that when a rotation axis is rotated, its
rotation does not change the relative relationship between the tool tip
position and workpiece (table).
Workpiece
Table
Z
B B
B Y
- 72 -
B-63942EN/01 NC FUNCTION 2.OPERATION
Z
Y
B
B
X
Z
Y
B
B
X
- 73 -
2.OPERATION NC FUNCTION B-63942EN/01
CAUTION
For an axis with its diameter specified in
incremental feed, the travel distance is based on
the diameter value.
- 74 -
B-63942EN/01 NC FUNCTION 2.OPERATION
- 75 -
3.INTERPOLATION FUNCTION NC FUNCTION B-63942EN/01
3 INTERPOLATION FUNCTION
- 76 -
B-63942EN/01 NC FUNCTION 3.INTERPOLATION FUNCTION
NOTE
This function is most effective if the resolution of a
detector is finer than the detection unit. Even if the
resolution of a detector is the same as the
detection unit (as in the case of a closed loop), this
function is effective when the feed-forward function
is used.
- 77 -
3.INTERPOLATION FUNCTION NC FUNCTION B-63942EN/01
3.2 POSITIONING
This command moves a tool to the position in the workpiece
coordinate system specified with an absolute or an incremental
command at a rapid traverse rate.
In the absolute command, coordinate value of the end point is
programmed.
In the incremental command the distance the tool moves is
programmed.
End point
Nonlinear interpolation type positioning
Format
G00 IP_ ;
IP_ : For an absolute command, the coordinates of an end
point, and for an incremental command, the distance
the tool moves.
- 78 -
B-63942EN/01 NC FUNCTION 3.INTERPOLATION FUNCTION
- 79 -
3.INTERPOLATION FUNCTION NC FUNCTION B-63942EN/01
Start point
Z axis
Format
G01 IP_ F_ ;
IP_ : For an absolute command, the coordinates of an end
point, and for an incremental command, the distance
the tool moves.
F_ : Speed of tool feed (Feedrate)
- 80 -
B-63942EN/01 NC FUNCTION 3.INTERPOLATION FUNCTION
Format
Arc in the XpYp plane
G02 I_ J_
G17 Xp_ Yp_ F_ ;
G03 R_
Arc in the ZpXp plane
G02 K_ I_
G18 Zp_ Xp_ F_ ;
G03 R_
Arc in the YpZp plane
G02 J_ K_
G19 Yp_ Zp_ F_ ;
G03 R_
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 specified.)
End point (x,y) End point (z,x) End point (y,z)
y x z
x Start z Start y Start
i k j
point point point
j i k
Center Center Center
- 81 -
3.INTERPOLATION FUNCTION NC FUNCTION B-63942EN/01
X
β3 β2 β1
A
Helix angle β 1 = β2 = β3
A
(Rotary axis)
∆A
∆X X (Linear axis)
- 82 -
B-63942EN/01 NC FUNCTION 3.INTERPOLATION FUNCTION
Format
Positive rotation (ω = 0)
G02. 3 X_ Y_ Z_ I_ J_ K_ R_ F_ Q_ ;
Negative rotation (ω = 1)
G03. 3 X_ Y_ Z_ I_ J_ K_ R_ F_ Q_ ;
X_ :
Specifies an end point with an absolute or incremental value.
Y_ :
Specifies an end point with an absolute or incremental value.
Z_ :
Specifies an end point with an absolute or incremental value.
I_ Specifies angle I (from ±1 to ±89 deg in units of 0.001 deg).
:
J_ Specifies angle J (from ±1 to ±89 deg in units of 0.001 deg).
:
K_ :
Specifies the amount to divide the linear axis for exponential
interpolation (span value). The specification unit depends on
the reference axis. Specify a positive value.
R_ : Specifies constant R for exponential interpolation.
F_ : Specifies the initial feedrate.
Specified in the same way as an ordinary F code. Specify a
composite feedrate including a feedrate on the rotary axis.
Q_ : Specifies the feedrate at the end point.
The same unit used for F is used. The CNC internally
performs interpolation between the initial feedrate (F) and
final feedrate (Q), depending on the travel distance on the
linear axis.
3.10 DWELL
Format
M
G04 X_; or G04 P_ ;
X_ : Specify a time or spindle speed (decimal point permitted)
P_ : Specify a time or spindle speed (decimal point not permitted)
T
G04 X_ ; or G04 U_ ; or G04 P_ ;
X_ : Specify a time or spindle speed (decimal point permitted)
U_ :Specify a time or spindle speed (decimal point permitted)
P_ : Specify a time or spindle speed (decimal point not permitted)
- 83 -
3.INTERPOLATION FUNCTION NC FUNCTION B-63942EN/01
Format
G12.1; Starts polar coordinate interpolation mode
(enables polar coordinate interpolation)
Specify linear or circular interpolation using
coordinates in a Cartesian coordinate system
consisting of a linear axis and rotary axis
(hypothetical axis).
G13.1 ; Polar coordinate interpolation mode is cancelled
(for not performing polar coordinate interpolation)
Specify G12.1 and G13.1 in Separate Blocks.
Explanation
- Polar coordinate interpolation mode (G12.1)
The axes of polar coordinate interpolation (linear axis and rotary axis)
should be specified in advance, with corresponding parameters.
Specifying G12.1 places the system in the polar coordinate
interpolation mode, and selects a plane (called the polar coordinate
interpolation plane) formed by one linear axis and a hypothetical axis
intersecting the linear axis at right angles. The linear axis is called the
first axis of the plane, and the hypothetical axis is called the second
axis of the plane. Polar coordinate interpolation is performed in this
plane.
In the polar coordinate interpolation mode, both linear interpolation
and circular interpolation can be specified by absolute or incremental
programming.
Cutter compensation can also be performed. The polar coordinate
interpolation is performed for a path obtained after cutter
compensation.
The tangential velocity in the polar coordinate interpolation plane
(Cartesian coordinate system) is specified as the feedrate, using F.
- 84 -
B-63942EN/01 NC FUNCTION 3.INTERPOLATION FUNCTION
Example
- Polar coordinate interpolation in a Cartesian coordinate system consisting of the
X axis (a linear axis) and a hypothetical axis
Hypothetical axis
Program path
N204 N203
N205
N202 N201 N200
X axis
Tool
N208
N206
N207
Z axis
O001 ;
.
N0010 T0101
.
N0100 G90 G00 X60.0 C0 Z_ ; Positioning to start point
N0200 G12.1 ; Start of polar coordinate interpolation
N0201 G42 G01 X20.0F_ ;
N0202 C10.0 ;
N0203 G03 X10.0 C20.0 R10.0 ;
N0204 G01 X-20.0 ; Geometry program
N0205 C-10.0 ; (program based on cartesian
N0206 G03 X-10.0 C-20.0 I10.0 J0 ; coordinates on X axis-
N0207 G01 X20.0 ; hypothetical axis plane)
N0208 C0 ;
N0209 G40 X60.0 ;
N0210 G13.1 ; Cancellation of polar coordinate
N0300 Z_ ; interpolation
N0400 X_ C_ ;
.
N0900M30 ;
- 85 -
3.INTERPOLATION FUNCTION NC FUNCTION B-63942EN/01
Format
G07.1 IP r ; Starts the cylindrical interpolation mode
(enables cylindrical interpolation).
:
G07.1 IP 0 ; The cylindrical interpolation mode is cancelled.
IP : An address for the rotary axis
r : The radius of the workpiece
Specify G07.1 IPr ; and G07.1 IP0; in separate blocks.
Example
Example of a cylindrical interpolation programs C
O0001 (CYLINDRICAL INTERPOLATION);
N01 G00 G90 Z100.0 C0 ;
N02 G01 G91 G18 Z0 C0 ;
N03 G07.1 C57299 ; Z R
N04 G90 G01 G42 Z120.0 D01 F250 ;
N05 C30.0 ;
N06 G03 Z90.0 C60.0 R30.0 ;
N07 G01 Z70.0 ;
N08 G02 Z60.0 C70.0 R10.0 ;
N09 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 C360.0 ;
N14 G40 Z100.0 ;
N15 G07.1 C0 ;
N16 M30 ;
Note) Sample program where the C axis is parallel to the X-axis.
Z
mm
N05 N12 N13
120
110 N06
N11
90
N07
70 N08
60 N09 N10
C
0 30 60 70 150 190 230 270 360 deg
- 86 -
B-63942EN/01 NC FUNCTION 3.INTERPOLATION FUNCTION
Determine the feedrate so the linear axis feedrate does not exceed any
of the various limit values.
Tool path
X Y
- 87 -
3.INTERPOLATION FUNCTION NC FUNCTION B-63942EN/01
- When a feedrate along the tool path including a linear axis is specified
Therefore, the tangential velocity of the arc is expressed as follows:
Length of arc
F×
(Length of arc)2 + (Length of linear axis)2
Tool path
X Y
Format
Arc of XpYp plane
G02 I_ J_
G17 Xp_ Yp_ β_) F_ ;
α_ (β
G03 R_
Arc of ZpXp plane
G02 K_ I_
G18 Zp_ Xp_ α_ (β
β _) F_ ;
G03 R_
Arc of YpZp plane
G02 J_ K_
G19 Yp_ Zp_ β _) F_ ;
α_ (β
G03 R_
α, β : Any one axis where circular interpolation is not
applied.
- 88 -
B-63942EN/01 NC FUNCTION 3.INTERPOLATION FUNCTION
Format
Arc of XpYp plane
G02 I_ J_
G17
G03
Xp_ Yp_ α_ β_ γ_ δ_ F_ ;
R_
Arc of ZpXp plane
G02 K_ I_
G18 Zp_ Xp_ α_ β_ γ_ δ_ F_ ;
G03 R_
Arc of YpZp plane
G02 J_ K_
G19 Yp_ Zp_ α_ β_ γ_ δ_ F_ ;
G03 R_
α, β, γ, δ : Any axis to which circular interpolation is not
applied. Up to four axes can be specified.
- 89 -
3.INTERPOLATION FUNCTION NC FUNCTION B-63942EN/01
Yp Yp
Start point
Po Ps
R I
End point
Start 0 J
point Pe
I
Ps Po
J
0 R
Base circle
Pe End point Xp
Xp
Ro End point
R Pe
Start point
End I 0
Ps
point
Pe Po
J
0 R J
I
Ps Start point
Xp Xp
Counterclockwise involute interpolation (G03.2)
- 90 -
B-63942EN/01 NC FUNCTION 3.INTERPOLATION FUNCTION
Format
Involute interpolation on the Xp-Yp plane
G02.2
G17 Xp_ Yp_ I_ J_ R_ F_ ;
G03.2
Involute interpolation on the Zp-Xp plane
G02.2
G18 Zp_ Xp_ K_ I_ R_ F_ ;
G03.2
Involute interpolation on the Yp-Zp plane
G02.2
G19 Yp_ Zp_ J_ K_ R_ F_ ;
G03.2
- 91 -
3.INTERPOLATION FUNCTION NC FUNCTION B-63942EN/01
2π
π
O Z
π
2
Format
G07 α0 ; : Hypothetical axis setting
:
G07 α1 ; : Hypothetical axis cancel
Where, α is any one of the addresses of the controlled axes.
- 92 -
B-63942EN/01 NC FUNCTION 3.INTERPOLATION FUNCTION
- Spiral interpolation
+Y
+X
- Conical interpolation
+Z
+Y
+X
- 93 -
3.INTERPOLATION FUNCTION NC FUNCTION B-63942EN/01
Format
- Spiral interpolation
XpYp plane
G02
G17 X_ Y_ I_ J_ Q_ L_ F_ ;
G03
ZpXp plane
G02
G18 Z_ X_ K_ I_ Q_ L_ F_ ;
G03
YpZp plane
G02
G19 Y_ Z_ J_ K_ Q_ L_ F_ ;
G03
- 94 -
B-63942EN/01 NC FUNCTION 3.INTERPOLATION FUNCTION
- Conical interpolation
XpYp plane
G02
G17 X_ Y_ I_ J_ Z_ Q_ L_ F_ ;
G03
ZpXp plane
G02
G18 Z_ X_ K_ I_ Y_ Q_ L_ F_ ;
G03
YpZp plane
G02
G19 Y_ Z_ J_ K_ X_ Q_ L_ F_ ;
G03
(*1) One of the height increment/decrement (I, J, K), radius increment/decrement (Q), and
the number of revolutions (L) must be specified. The other two items can be omitted.
- Sample command for the XpYp plane
K_
G02
G17 X_Y_I_J_ Q_ F_ ;
G03
L_
If both L and Q are specified, but their values contradict, Q takes precedence. If both L
and a height increment or decrement are specified, but their values contradict, the
height increment or decrement takes precedence. If both Q and a height increment or
decrement are specified, but their values contradict, Q takes precedence. The L value
must be a positive value without a decimal point. To specify four revolutions plus 90 ,
for example, round the number of revolutions up to five and specify L5.
(*2) The increment system for Q depends on the reference axis.
- 95 -
3.INTERPOLATION FUNCTION NC FUNCTION B-63942EN/01
N17
N16
N15 N14 N13 N12
N11
N1
N2 N10
N3 N4 N5 N6 N7
N8 N9
Linear interpolation
N17
N16
N15 N14 N13 N12
N1 N11
N2 N10
N3 N4 N5 N6 N7
N8 N9
Format
G05.1Q2X0Y0Z0 ; Starting of smooth interpolation mode
:
G05.1Q0 ; Cancellation of smooth interpolation mode
- 96 -
B-63942EN/01 NC FUNCTION 3.INTERPOLATION FUNCTION
Format
G5.1 Q3 Xp0 Yp0 Zp0 ; Nano smoothing mode on
G5.1 Q0 ; Nano smoothing mode off
Xp: X-axis or an axis parallel to the X-axis
Yp: Y-axis or an axis parallel to the Y-axis
Zp: Z-axis or an axis parallel to the Z-axis
NOTE
1 Specify G5.1 alone in a block. (Avoid specifying
any other G code in the same block.)
2 Specify position 0 for the axis programmed in the
nano smoothing mode on block. The specified axis
is subjected to nano smoothing, but no movement
is made even in the absolute programming mode.
- 97 -
3.INTERPOLATION FUNCTION NC FUNCTION B-63942EN/01
3.20 THREADING
By feeding the tool synchronizing with the spindle rotation, threading
of the specified lead is performed. In addition to straight threads, taper
threads and scroll threads can be cut with equal leads.
L
L: Lead
L L
Format
G33 IP_ F_ ;
F_ : Lead along the long axis
(G32 when G code system A with lathe system)
Explanation
To form a single thread, threading is generally performed several
times from rough machining to finish machining along the same path.
Threading starts in synchronism with a one-rotation signal from the
position coder attached to the spindle. So, the tool path and cutting
start point on the periphery of a workpiece remain unchanged,
regardless of the number of threading operations performed. In this
case, however, the shaft must rotate at a constant speed during
operations from rough machining to finish machining. If the spindle
speed changes, an accurate thread may not be produced.
The following shows the specifiable lead range:
Least command increment Specifiable lead range
0.01 mm 0.001 to 5000.0000 mm/rev
0.001 mm 0.00001 to 500.00000 mm/rev
Metric
0.0001 mm 0.000001 to 50.000000 mm/rev
input
0.00001 mm 0.0000001 to 5.0000000 mm/rev
0.000001 mm 0.00000001 to 0.50000000 mm/rev
0.001 inch 0.00001 to 500.00000 inch/rev
Inch 0.0001 inch 0.000001 to 50.000000 inch/rev
input 0.00001 inch 0.0000001 to 5.0000000 inch/rev
0.000001 inch 0.00000001 to 0.50000000 inch/rev
NOTE
Leads exceeding the maximum cutting feed speed
when converted to per minute feed speed cannot
be specified.
- 98 -
B-63942EN/01 NC FUNCTION 3.INTERPOLATION FUNCTION
L : Lead
Format
(Constant lead threading)
G32 IP _ F_ Q_ ;
IP : End point
F_ : Lead in longitudinal direction
G32 IP _ Q_ ;
Q_ : Threading start angle
Explanation
- Available threading commands
G32: Constant lead threading
G34: Variable lead threading
G76: Combined threading cycle
G92: Threading cycle
- 99 -
3.INTERPOLATION FUNCTION NC FUNCTION B-63942EN/01
R apid traverse
C utting feed
R apid traverse
C utting feed
- 100 -
B-63942EN/01 NC FUNCTION 3.INTERPOLATION FUNCTION
G32 G32
G32
- 101 -
3.INTERPOLATION FUNCTION NC FUNCTION B-63942EN/01
Format
G34 IP_ F_ K_ Q_ ;
IP_ : End point
F_ : Lead in longitudinal axis direction at the start point
K_ : Increment and decrement of lead per spindle revolution
Q_ : Shift amount of starting angle of thread cutting
Explanation
Address other than K are the same as in straight/taper threading with
G32.
The K value depends on the increment system of the reference axis, as
indicated in following table.
increment
system of
the Metric input (mm/rev) Inch input(inch/rev)
reference
axis
IS-A ±0.001 to ±500.000 ±0.00001 to ±50.00000
IS-B ±0.0001 to ±500.0000 ±0.000001 to ±50.000000
IS-C ±0.00001 to ±50.00000 ±0.0000001 to ±5.0000000
IS-D ±0.000001 to ±5.000000 ±0.00000001 to ±0.50000000
IS-E ±0.0000001 to ±0.5000000 ±0.000000001 to ±0.050000000
- 102 -
B-63942EN/01 NC FUNCTION 3.INTERPOLATION FUNCTION
L : Lead
Format
A sample format for the G18 plane (Z-X plane) is indicated below.
When using the format for the G17 plane (X-Y plane), change the
addresses Z, X, K, and I to X, Y, I, and J respectively. When using
the format for the G19 plane (Y-Z plane), change the addresses Z, X,
K, and I to Y, Z, J, and K respectively.
G35 I_ K_
X(U)_ Z(W) _ F_ Q_ ;
G36 R_
G35 : Clockwise circular threading command
G36 : Counterclockwise circular threading
command
X(U), Z(W) : Specify the arc end point (in the same way
as for G02, G03).
I,K : Specify the arc center relative to the start
point, using relative coordinates (in the same
way as for G02, G03).
R : Specify the arc radius.
F : Specify the lead in the direction of the major
axis.
Q : Specify the shift of the threading start angle
(0° to 360°, with least input increment of
0.001) (The value cannot be programmed
with a decimal point.)
Note) U and W can be used only with the lathe system.
- 103 -
3.INTERPOLATION FUNCTION NC FUNCTION B-63942EN/01
Tool
Workpiece
Format
G51.2P_ Q_ ;
P,Q : Rotation ratio of spindle and Y-axis
Specify range:
P : Integer from 1 to 999
Q : Integer from -999 to -1 or from 1 to 999
When Q is a positive value, Y-axis makes positive
rotation.
When Q is a negative value, Y-axis makes negative
rotation.
G51.2P_ Q_ ; Polygon turning cancel
NOTE
Specify G50.2 and G51.2 in a single block.
- 104 -
B-63942EN/01 NC FUNCTION 3.INTERPOLATION FUNCTION
Explanation
A CNC controlled axis (servo axis) is assigned to the tool rotation axis.
This rotary axis of tool is called Y-axis in the following description.
As the workpiece axis (spindle), either a serial spindle or analog
spindle can be used.
The Y-axis is controlled by the G51.2 command, so that the ratio of
the rotation speeds of the spindle (previously specified by S-
command) and the tool becomes the specified ratio.
When simultaneous start is specified by G51.2, the one-rotation signal
sent from the position codes set on the spindle is detected. After one-
rotation signal detection, the Y-axis is controlled using the rotation
ratio of the spindle and Y-axis specified by P and Q. So, a position
coder needs to be attached to the spindle. This control will be
maintained until the polygon turning cancel command is executed
(G50.2).
- 105 -
3.INTERPOLATION FUNCTION NC FUNCTION B-63942EN/01
Format
This is the same as the program command format for polygon turning
except for the following points.
1) The command position (R) can be used.
2) Repeated specification in polygon synchronization mode is
allowed.
G51.2 Pp Qq Rr ; Polygon synchronization mode start
The command above starts the polygon synchronization mode or
modifies specified values (P, Q, R) in the polygon synchronization
mode.
P : Master axis rotation ratio
Specifiable range: Integer from 1 to 999
(The rotation direction of the master axis is determined by an
ordinary command [such as M03/M04] used for spindle control.)
Q : Polygon synchronization axis rotation ratio
Specifiable range: Integer from 1 to 999 or from -1 to -999
(The rotation direction of a polygon synchronization axis is
determined by the sign of a Q command value. Depending on the
parameter, however, the rotation direction of the first axis is
followed. In this case, no negative value may be specified for Q.)
R : Specification of phase between the master axis and polygon
synchronization axis (Specify a relative value.)
Valid specifiable range: 0 ≤ phase angle < 360 deg
The increment system is the same as for the reference axis.
However, the least command increment is 360/4096 (deg), and a
specified value smaller than the least command increment is
rounded for use.
(R is omissible. If R is not specified even once after the start of the
polygon synchronization mode, phase 0 (deg) is used.)
If phase control is disabled by parameter setting, the specification
of R is ignored. No particular alarm is issued.)
G50.2 ; Polygon turning cancel
- 106 -
B-63942EN/01 NC FUNCTION 3.INTERPOLATION FUNCTION
Format
G31 IP_ ;
G31 : One-shot G code (If is effective only in the block in
which it is specified)
Y
100.0
Actual motion
X
Motion without skip signal
Actual motion
Motion without skip signal
X
100 200 300
- 107 -
3.INTERPOLATION FUNCTION NC FUNCTION B-63942EN/01
Format
Move command
G31 P_ IP_ F_ ;
P_ : P1 to P4
IP_ : End point
F_ : Feedrate
Dwell
G04X(U,P) (Q ) ;
X(U,P)_ : Dwell time
Q_ : Q1 to Q4
Explanation
Parameters can be used to specify whether the 4-point or 8-point skip
signal is used (when a high-speed skip signal is used). Specification is
not limited to one-to-one correspondence. It is possible to specify that
one skip signal correspond to two or more G codes. The multi-skip
function can also be set to skip dwell.
Format
G31 IP ;
G31; One-shot G code (If is effective only in the block in
which it is specified)
- 108 -
B-63942EN/01 NC FUNCTION 3.INTERPOLATION FUNCTION
Format
G31 P98 Q_ α_ F_ ;
G31 P99 Q_ α_ F_ ;
G31 : Skip command (One–shot G code)
P98 : Skip operation is performed only when the servo
motor torque reaches the limit
P99 : Skip operation is performed when the servo motor
torque reaches the limit or the skip signal is input.
Q : Torque limit override value
Specifiable value range: 1 to 99 (%)
The Q command is omissible. When omitting the Q
command, specify a torque limit in the PMC window
beforehand. If a torque limit override value is not set
in advance when the R command is omitted, an
alarm is issued. An alarm is issued also when a
value beyond the specifiable value range is specified.
A specified override value is valid only in the block
that specifies the override value. At the end of skip
operation, the override value returns to the value
applied immediately before the specification of G31.
α : Address of an arbitrary axis
F : Feedrate
- 109 -
3.INTERPOLATION FUNCTION NC FUNCTION B-63942EN/01
Reference position
Nonlinear interpolation type positioning
Nonlinear interpolation
type positioning
Intermediate point
Format
G28 IP_ ;
IP_ : Specify the intermediate position in the absolute
coordinate system.
(absolute/incremental programming)
There is no need to calculate an actual travel distance
between the intermediate position and the reference
position.
- 110 -
B-63942EN/01 NC FUNCTION 3.INTERPOLATION FUNCTION
B (Intermediate
point)
Format
G29 IP_ ;
IP : Specify the destination of return from the reference
position in the absolute coordinate system.
(absolute/incremental programming)
The intermediate point is determined by G28, G30, or
G30.1 specified immediately before this command.
Format
G27 IP_ ;
IP : Specify positioning to the reference position in the
absolute coordinate system so as to return to the
reference position. (absolute/incremental programming)
- 111 -
3.INTERPOLATION FUNCTION NC FUNCTION B-63942EN/01
Format
G30 P2 IP_ ; 2nd reference position return (P2 can be
omitted.)
G30 P3 IP_ ; 3rd reference position return
G30 P4 IP_ ; 4th reference position return
IP_ : Specify the intermediate point in the absolute
coordinate system.
(absolute/incremental programming)
There is no need to calculate an actual travel distance
between the intermediate point and the reference
position.
- 112 -
B-63942EN/01 NC FUNCTION 3.INTERPOLATION FUNCTION
Format
G30.1 IP_ ;
IP_ : Specify the intermediate point to the floating reference
position in the absolute coordinate system.
(absolute/incremental programming)
Explanation
It is possible to return the tool to the floating reference position by
commanding the G30.1.
The floating reference position is located on the machine and can be a
reference position for some sort of machine operation. It is not always
a fixed position and may vary in some cases. The floating reference
position can be set using the soft keys of MDI and can be memorized
even after power is turned off.
Generally, the position where the tools can be changed on machining
center or milling machine is at a set position, the tools cannot be
replaced at any just position. Normally the tool change position can be
at any of the No. 1 to No. 4 reference positions. The tool can be
moved to these positions easily by G30 command. However,
depending on the machine, the tools can be replaced at any position as
long as it does not contact the workpiece.
For machinery such as these, in order to reduce the cycle time, it is
advantageous to replace tools at a position as close as possible to the
workpiece. For this purpose, change position should be moved for
each workpiece which this feature can be easily performed. The tool
change position which is suitable for workpieces can be memorized as
the floating reference position and it is possible to return to the tool
change position by commanding the G30.1.
Floating reference position return can be used after the reference
position has been established.
Example
Y G30.1 G90 X50.0 Y40.0 ;
Intermediate Floating reference
point (50, 40) position
Workpiece
- 113 -
3.INTERPOLATION FUNCTION NC FUNCTION B-63942EN/01
M
The rotary 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 advancing direction during cutting.
Format
G41.1 ; Normal direction control left side on
G42.1 ; Normal direction control right side on
G40.1 ; Normal direction control cancellation mode
When the workpiece is on the right-hand side of the tool as
viewed in the tool advancing direction, normal direction
control left side (G41.1) is specified.
Once G41.1 or G42.1 is specified, normal direction control
is enabled (the normal direction control mode is set).
When G40.1 is specified, the normal direction control mode
is canceled.
Explanation
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.
+Y
90°
180° 0° +X
Rotation
center 270°
- 114 -
B-63942EN/01 NC FUNCTION 3.INTERPOLATION FUNCTION
NOTE
The rotation of C axis during normal direction
control is controlled at short distance so that 180
degrees or less may result.
- 115 -
3.INTERPOLATION FUNCTION NC FUNCTION B-63942EN/01
- 116 -
B-63942EN/01 NC FUNCTION 3.INTERPOLATION FUNCTION
Format
G06.2[P_ ] K_ X_ Y_ Z_ [R_ ] [F_ ] ;
K_ X_ Y_ Z_ [R_ ] ;
K_ X_ Y_ Z_ [R_ ] ;
K_ X_ Y_ Z_ [R_ ] ;
...
K_ X_ Y_ Z_ [R_ ] ;
K_ ;
...
K_ ;
G01 . . .
- 117 -
3.INTERPOLATION FUNCTION NC FUNCTION B-63942EN/01
End point
Start point (X2,Y2,Z2)
Format
G02.4 XX1 YY1 ZZ1 αα1 ββ1 ; First block (mid-point of the arc)
XX2 YY2 ZZ2 αα2 ββ2 ; Second block (end point of the arc)
or
G03.4 XX1 YY1 ZZ1 αα1 ββ1 ; First block (mid-point of the arc)
XX2 YY2 ZZ2 αα2 ββ2 ; Second block (end point of the arc)
- 118 -
B-63942EN/01 NC FUNCTION 3.INTERPOLATION FUNCTION
T
When a thin workpiece is to be machined as shown below, a precision
machining can be achieved by machining each side of the workpiece
with a tool simultaneously; this function can prevent the workpiece
from warpage that can result when only one side is machined at a time
(see the figure below). When both sides are machined at the same
time, the movement of one tool must be in phase with that of the other
tool. Otherwise, the workpiece can vibrate, resulting in poor
machining. With this function, the movement of one tool post can be
easily synchronized with that of the other tool post.
Tool post 2
Tool post 1
Format
G68 (P_) ; Balance cutting mode on
P_: Number which specifies a balance cutting combination
(1) In the binary value specification mode, specify the
sum of the binary values corresponding to the
numbers of paths which require balance cutting.
(2) In the path number specification mode, specify the
numbers of all paths that require balance cutting in
combination.
(3) When address P is not specified, balance cutting is
performed for paths 1 and 2.
G69 ; Balance cutting mode cancel
Specifying G68, which turns balance cutting mode on, causes balance
cutting to be performed with the tool post of path 1 and that of path 2.
Alternatively, specifying address P in the same block as that
containing the G68 command causes balance cutting to be performed
between any tool posts.
One of two types of values, binary value or path number, can be set
with address P to be specified in a block including G68 for balance
cutting mode on. A selection can be made by parameter setting.
NOTE
When the "mirror image for double turrets" function is
selected, the balance cutting function cannot be used.
- 119 -
3.INTERPOLATION FUNCTION NC FUNCTION B-63942EN/01
M
By specifying indexing positions (angles) for the indexing axis (one
rotary axis, A, B, or C), the index table of the machining center can be
indexed.
Before and after indexing, the index table is automatically unclamped
or clamped .
- 120 -
B-63942EN/01 NC FUNCTION 4.FEED FUNCTION
4 FEED FUNCTION
- 121 -
4.FEED FUNCTION NC FUNCTION B-63942EN/01
Format
G00 IP_ ;
G00 : G code (group 01) for positioning (rapid traverse)
IP_ : Dimension word for the end point
In rapid traverse, the next block is executed after the specified feedrate
becomes 0 and the servo motor reaches a certain range set by the
parameter (in-position check).
A rapid traverse rate is set for each axis by parameter, so no rapid
traverse feedrate need be programmed.
An override can be applied to the rapid traverse rate.
An override of four steps (F0, 25%, 50%, and 100%) can be applied to
the rapid traverse rate. F0 is set by a parameter .
Also, 1% rapid traverse override select signal allows rapid traverse
override every 1% in the range of 0 to 100%.
- 122 -
B-63942EN/01 NC FUNCTION 4.FEED FUNCTION
Tool
Workpiece
Table
[Lathe system]
Format
M
G94 ; G code for feed per minute (Group 05)
F_ ; Feedrate (mm/min or inch/min)
T
G98 ; G code for feed per minute (Group 05)
F_ ; Feedrate (mm/min or inch/min)
- 123 -
4.FEED FUNCTION NC FUNCTION B-63942EN/01
F
Feed amount per spindle revolution
(mm/rev or inch/rev)
[Lathe system]
Format
M
G95 ; G code for feed per revolution (Group 05)
F_ ; Feedrate (mm/min or inch/min)
T
G99 ; G code for feed per revolution (Group 05)
F_ ; Feedrate (mm/min or inch/min)
- 124 -
B-63942EN/01 NC FUNCTION 4.FEED FUNCTION
Y Y
F F
End point
Start point Center
X X
- 125 -
4.FEED FUNCTION NC FUNCTION B-63942EN/01
M
A maximum allowable cutting feedrate can be set on an axis-by-axis
basis with a parameter. This capability, however, is applicable only to
linear interpolation and circular interpolation. The cutting feedrate is
clamped to such a maximum feedrate that the result of interpolation
does not exceed the maximum allowable feedrate on a specified axis.
- 126 -
B-63942EN/01 NC FUNCTION 4.FEED FUNCTION
FR : Rapid traverse
FR rate
TR : Acceleration/
deceleration
time constant
for rapid
traverse rate
0 Time
TR TR
Cutting feedrate
FC : Cutting feedrate
FC TC : Acceleration/
deceleration time
constant for a cutting
feedrate
0 Time
TC TC
FL
0 Time
TJ TJ
- 127 -
4.FEED FUNCTION NC FUNCTION B-63942EN/01
Speed Speed
0 0
Time Time
Acceleration Acceleration
0 0
Time Time
- 128 -
B-63942EN/01 NC FUNCTION 4.FEED FUNCTION
Speed
A c c e l e r a t io n D e c e l e r a ti o n
T im e
and and
+ m ove + m ove
A c c e l e r a t io n D e c e le ra tio n
A c c e le r a t i o n and and
- m ove - m ove
T im e
A c c / D e c p a t t e r n i s t h e s a m e w a y i n e a c h c o n d it io n .
Speed
A c c e l e r a ti o n D e c e l e ra tio n T im e
and and
+ m ov e + m ov e
A c c e l e r a ti o n D e c e le r a ti o n
and and
A c c e le r a tio n - m ov e - m ov e
T im e
A c c / D e c p a t t e r n c a n b e c h a n g e d in e a c h c o n d it io n .
- 129 -
4.FEED FUNCTION NC FUNCTION B-63942EN/01
Cutting feed:
Bell-shaped acceleration/deceleration (constant acceleration
time)
Specify the acceleration/deceleration time constant for each axis
in parameter.
Jog feed:
Exponential or bell-shaped acceleration/deceleration (constant
acceleration time)
Specify the acceleration/deceleration time constant for each axis
in parameter.
Speed Speed
Bell-shaped acceleration/deceleration
Acceleration/
deceleration function
Time Time
T T
T : Time constant
The time constants for cutting feed and for jog feed for each axis are
specified in parameters respectively, in the same way as exponential
acceleration/deceleration. The values specified for the FL feedrate for
cutting feed and the FL feedrate for jog feed are ignored (always
assumed to be 0).
- 130 -
B-63942EN/01 NC FUNCTION 4.FEED FUNCTION
The cutting feedrate (per minute feed (G94) and per rotation feed
(G95)) can be overrided by :
0 to 254% (in steps of 1%).
In inverse time (G93), feedrate converted to per minute feed is
overridden. Feedrate override cannot be performed to One-digit F
code feed.
Feedrate also cannot be performed to functions as threading and
tapping in which override is inhibited.
- 131 -
4.FEED FUNCTION NC FUNCTION B-63942EN/01
M
If a one-digit number from 1 to 9 is specified after F, the parameter-set
feedrate corresponding to the specified number is set.
When F0 is commanded, rapid traverse rate is set.
If the manual pulse generator is rotated with the one-digit F code feed
selection signal set to 1, the feedrate corresponding to the currently
selected number is increased or decreased.
A set or modified feedrate is preserved while the power is turned off.
The current feedrate is displayed on the screen.
- 132 -
B-63942EN/01 NC FUNCTION 4.FEED FUNCTION
M
Feedrate of the tool can be specified by the move distance of the block
and inverse time (FRN). When F0 is specified, an alarm is issued.
T
Jog feedrate can be specified by feed per revolution.
- 133 -
4.FEED FUNCTION NC FUNCTION B-63942EN/01
During axis motion, the feed stop function checks a position deviation
amount at all times. When the amount exceeds the "feed stop position
deviation amount" set by the parameter, the function suspends pulse
distribution and acceleration/deceleration control during such a period
of time, and terminates the move command for the positioning control
circuit. Thus the function can minimize an overshoot that may occur
with a large servo motor in rapid traverse acceleration operation.
Specified speed
Speed Actual speed
Time
Feed stop
- 134 -
B-63942EN/01 NC FUNCTION 4.FEED FUNCTION
Time
TC TC
Specified path
∆r : Maximum radius error (mm)
Actual path v : Feedrate (mm/sec)
r : Radius of arc (mm)
T1 : acceleration/deceleration
r
time constant (sec) at cutting
(T=0)
T2 : Time constant of servo motor
Z (s)
- 135 -
4.FEED FUNCTION NC FUNCTION B-63942EN/01
Format
G05.1 Q_ ;
Q1 : AI contour control mode on
Q0 : AI contour control mode off
NOTE
1 Always specify G05.1 in an independent block.
2 The AI contour control mode is also canceled by a
reset.
3 The AI contour control mode can be turned on at
the start of automatic operation by setting
parameter.
The AI contour control mode can be controlled also with the formats
that have been used for the conventional advanced preview control,
high-precision contour control, and AI high-precision contour control
functions.
G08 P_ ;
P1 : AI contour control mode on
P0 : AI contour control mode off
G05 P_ ;
P10000 : AI contour control mode on
P0 : AI contour control mode off
- 136 -
B-63942EN/01 NC FUNCTION 4.FEED FUNCTION
NOTE
1 Always specify G08 and G05 in an independent
block.
2 G05 can be specified only for AI contour control II.
3 The AI contour control mode is also canceled by a
reset.
4 Valid functions are limited depending on the
command format. For details, see the description
of "Valid functions".
Valid functions
The functions listed below are valid in the AI contour control mode.
Valid functions are limited depending on the command format and
whether AI contour control I or II is used.
- 137 -
4.FEED FUNCTION NC FUNCTION B-63942EN/01
Speed Speed
0 0
Time Time
- 138 -
B-63942EN/01 NC FUNCTION 4.FEED FUNCTION
NOTE
To use this function, the options for jerk control and
AI contour control II are required.
Y N1 N1
N2 N2
X
Vibration due to change
of acceleration
Feedrate Feedrate
Tangential
feedrate
Time Time
Time Time
Y-axis
acceleration
Acceleration Acceleration
- 139 -
4.FEED FUNCTION NC FUNCTION B-63942EN/01
<1>
msec
T2 T2
T1
Set time constants T1 and T2 in parameters.
(From the maximum speed and setting of T1, the
acceleration of linear portion <1> is constant.)
NOTE
In three-dimensional rigid tapping, bell-shaped
acceleration/deceleration is disabled, and linear
acceleration/deceleration is applied.
- 140 -
B-63942EN/01 NC FUNCTION 5.PROGRAM INPUT
5 PROGRAM INPUT
- 141 -
5.PROGRAM INPUT NC FUNCTION B-63942EN/01
- 142 -
B-63942EN/01 NC FUNCTION 5.PROGRAM INPUT
- 143 -
5.PROGRAM INPUT NC FUNCTION B-63942EN/01
- 144 -
B-63942EN/01 NC FUNCTION 5.PROGRAM INPUT
- 145 -
5.PROGRAM INPUT NC FUNCTION B-63942EN/01
Example)
File names that can be treated as program numbers
O123 Program number 123
O1 Program number 1
O3000 Program number 3000
O99999999 Program number 99999999
File names that cannot be treated as program numbers
ABC
o123
O123.4
NOTE
1 File names must each be unique in the same
folder.
2 When the file name of a program is not treated as a
program number, the program is restricted as
follows:
• The program cannot be specified by program
number.
• Information output by program number is
impossible..
- 146 -
B-63942EN/01 NC FUNCTION 5.PROGRAM INPUT
Format
G90 IP_ ; Absolute programming
G91 IP_ ; Incremental programming
T
When G code system A is used on the lathe system, an
absolute/incremental programming is not identified by a G90/G91
command but by an address word.
Absolute Incremental
Move command axis
programming programming
X axis X U
Z axis Z W
Y axis Y V
C axis C H
A axis A None
B axis B None
- 147 -
5.PROGRAM INPUT NC FUNCTION B-63942EN/01
- 148 -
B-63942EN/01 NC FUNCTION 5.PROGRAM INPUT
Table 5.12 (a) Least input increments 10 times greater than least
command increments
Increment system Least input increment Least command increment
0.01 mm 0.001 mm
IS-B 0.001 inch 0.0001 inch
0.01 deg 0.001 deg
0.001 mm 0.0001 mm
IS-C 0.0001 inch 0.00001 inch
0.001 deg 0.0001 deg
0.0001 mm 0.00001 mm
IS-D 0.00001 inch 0.000001 inch
0.0001 deg 0.00001 deg
0.00001 mm 0.000001 mm
IS-E 0.000001 inch 0.0000001 inch
0.00001 deg 0.000001 deg
NOTE
When the increment system is IS-A or pocket
calculator type decimal point input is used, a least
input increment 10 times greater than a least
command increment cannot be set.
- 149 -
5.PROGRAM INPUT NC FUNCTION B-63942EN/01
X axis
A
B R2
D1 D2 R1
Z axis
D1 , D2 : Diameter programming
R1 , R2 : Radius programming
- 150 -
B-63942EN/01 NC FUNCTION 5.PROGRAM INPUT
Xp, Yp, Zp are determined by the axis address appeared in the block
in which G17, G18 or G19 is commanded.
Parameter is used to specify that an optional axis be parallel to the
each axis of the X-, Y-, and Z-axes as the basic three axes.
The movement instruction is irrelevant to the plane selection.
Example
- Example 1
When X and U are axes parallel to each other, Y and V are axes
parallel to each other, and Z and W are axes parallel to each other
G17 X_ Y_ .................XY plane
G17 U_ Y_ .................UY plane
G18 X_ W_ ................WX plane
G18 U_ W_ ................WU plane
- Example 2
In a block where none of G17, G18, and G19 is specified, the plane
remains unchanged.
G18 X_ Z_ ................ZX plane
X_ Y_...........................The plane remains unchanged (ZX plane).
- Example 3
If a block specifies G17, G18, or G19 but has no axis address
specified, the omission of the addresses of three basic axes is assumed.
G17 ............................XY plane
G17 X_.......................XY plane
G17 U_.......................UY plane
- 151 -
5.PROGRAM INPUT NC FUNCTION B-63942EN/01
- 152 -
B-63942EN/01 NC FUNCTION 5.PROGRAM INPUT
M
The end point coordinate value can be input in polar coordinates
(radius and angle). Use G15, G16 for polar coordinates command.
Format
G16; Polar coordinate system command starts
G15; Polar coordinate system command cancel
Explanation
Plane selection of the polar coordinates is done same as plane
selection in circular interpolation, using G17, G18, G19.
Command radius in the first axis of the selected plane, and angle in
the second axis. For example, when the X-Y plane is selected,
command radius with address X, and angle with address Y. The plus
direction of the angle is counter clockwise direction of the selected
plane first axis + direction, and the minus direction the clockwise
direction.
Both radius and angle can be commanded in either absolute or
incremental programming (G90, G91).
If a radius value is specified in the absolute mode, the polar coordinate
center is the origin of the workpiece coordinate system (or the origin
of a local coordinate system if set.) If a radius value is specified in the
incremental mode, the polar coordinate center is the current position.
Example
Both hole cycle
Y
- The polar coordinate center is the origin
of the workpiece coordinate system.
- The plane is the X-Y plane.
150°
30°
270° X
100mm
- 153 -
5.PROGRAM INPUT NC FUNCTION B-63942EN/01
As required, specify the position that the tool must reach, by using
coordinates in a coordinate system.
Format
G53 IP_ ;
- 154 -
B-63942EN/01 NC FUNCTION 5.PROGRAM INPUT
Format
G92 IP_ ;
(G50 when G code system A is used on the lathe system)
Example
- Example 1
As shown below, place the tool tip at the start point of the program,
and specify G92 at the start of the program.
For milling machining For lathe turning
X
Z
375.1
Start
23.0 point
φ128.7
Z
X
0 25.2 Origin
- 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 programming 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 milling machining For lathe turning
Reference
Z position X
700.0
X
0 600.0
G92 X1200.0 Z700.0 ;
G92 X60.0 Z1200.0 ; (diameter programming)
Setting the start point at a given Setting the start position at a given
reference position on the tool holder reference position on the turret
- 155 -
5.PROGRAM INPUT NC FUNCTION B-63942EN/01
- 156 -
B-63942EN/01 NC FUNCTION 5.PROGRAM INPUT
With a command from G54 to G59, one of six coordinate systems can
be selected.
Workpiece coordinate systems 1 to 6 are established correctly when a
reference position return operation has been performed after power-up.
G54 is selected after the power is turned on.
ZOFS2 ZOFS3
ZOFS4
ZOFS1
Workpiece coordinate
ZOFS5 system 5 (G58)
EXOFS
Format
G54 G54 Workpiece coordinate system 1
G55 G55 Workpiece coordinate system 2
G56 G56 Workpiece coordinate system 3
IP_ ;
G57 G57 Workpiece coordinate system 4
G58 G58 Workpiece coordinate system 5
G59 G59 Workpiece coordinate system 6
- 157 -
5.PROGRAM INPUT NC FUNCTION B-63942EN/01
Reference position
Format
G52 IP_ ; Setting the local coordinate system
G52 IP 0 ; Canceling of the local coordinate system
Explanation
When local coordinate system is set, local coordinate systems 1 to 6,
corresponding to workpiece coordinate systems 1 to 6 is set. Distance
between zero points are all the same preset value.
- 158 -
B-63942EN/01 NC FUNCTION 5.PROGRAM INPUT
Format
G92.1 IP 0;
IP 0 : Specifies axis addresses subject to the workpiece
coordinate system preset operation. Axes that are not
specified are not subject to the preset operation.
- 159 -
5.PROGRAM INPUT NC FUNCTION B-63942EN/01
Format
G54.1 Pn ;
n = 1 to 48 or 1 to 300 (number of the additional workpiece
coordinate system)
T
When the coordinate system actually set by the G50 command or the
automatic system setting deviates from the programmed workpiece
system, the set coordinate system can be shifted.
Set the desired shift amount in the workpiece coordinate system shift
memory.
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 workpiece coordinate system shift memory.
- 160 -
B-63942EN/01 NC FUNCTION 5.PROGRAM INPUT
- 161 -
5.PROGRAM INPUT NC FUNCTION B-63942EN/01
T
Angles of straight lines, chamfering values, corner R values, and other
dimensional values on machining drawings can be programmed by
directly inputting these values. In addition, the chamfering and corner R
can be inserted between straight lines having an arbitrary angle.
Format
The straight line angle, chamfering value, or corner R must be
specified with a comma as follows:
,A_ : Angle
,C_ : Chamfering
,R_ : Corner R
NOTE
When A or C is not used as an axis name, the line
angle, chamfering value, or corner R can be
specified in the parameter without comma as
follows:
A_
C_
R_
- 162 -
B-63942EN/01 NC FUNCTION 5.PROGRAM INPUT
T
With the CNC for the lathe system, the G codes listed below are
available. Three types of G code systems are usable: A, B, and C. A G
code system can be selected by parameter setting.
In this manual, G code system B is used for the descriptions of the
preparatory functions below.
- 163 -
5.PROGRAM INPUT NC FUNCTION B-63942EN/01
- 164 -
B-63942EN/01 NC FUNCTION 5.PROGRAM INPUT
- 165 -
5.PROGRAM INPUT NC FUNCTION B-63942EN/01
- 166 -
B-63942EN/01 NC FUNCTION 5.PROGRAM INPUT
M
With the CNC for the machining center system, the G codes listed
below are available.
Table 5.26.2 G code list
G code Group Function
G00 Positioning (rapid traverse)
G01 Linear interpolation (cutting feed)
G02 Circular interpolation CW or helical interpolation CW
G03 01 Circular interpolation CCW or helical interpolation CCW
G02.2, G03.2 Involute interpolation CW/CCW
G02.3, G03.3 Exponential interpolation CW/CCW
G02.4, G03.4 Three-dimensional coordinate conversion CW/CCW
G04 Dwell
G05 AI contour control (high-precision contour control compatible command)
00
G05.1 AI contour control / Nano smoothing / Smooth interpolation
G05.4 HRV3 on/off
G06.2 01 NURBS interpolation
G07 Hypothetical axis interpolation
G07.1 (G107) Cylindrical interpolation
G08 AI contour control (advanced preview control compatible command)
00
G09 Exact stop
G10 Programmable data input
G11 Programmable data input mode cancel
G12.1 Polar coordinate interpolation mode
21
G13.1 Polar coordinate interpolation cancel mode
G15 Polar coordinates command cancel
17
G16 Polar coordinates command
G17 XpYp plane selection Xp: X axis or its parallel axis
G18 02 ZpXp plane selection Yp: Y axis or its parallel axis
G19 YpZp plane selection Zp: Z axis or its parallel axis
G20 (G70) Input in inch
06
G21 (G71) Input in mm
G22 Stored stroke check function on
04
G23 Stored stroke check function off
G27 Reference position return check
G28 Automatic return to reference position
G29 Movement from reference position
00
G30 2nd, 3rd and 4th reference position return
G30.1 Floating reference position return
G31 Skip function
G33 Threading
G34 Variable lead threading
01
G35 Circular threading CW
G36 Circular threading CCW
G37 Automatic tool length measurement
G38 00 Cutter or tool nose radius compensation : preserve vector
G39 Cutter or tool nose radius compensation : corner circular interpolation
- 167 -
5.PROGRAM INPUT NC FUNCTION B-63942EN/01
- 168 -
B-63942EN/01 NC FUNCTION 5.PROGRAM INPUT
- 169 -
5.PROGRAM INPUT NC FUNCTION B-63942EN/01
T
A chamfer or corner R are can be inserted between two blocks which
intersect at a right angle as follows.
Format
- Chamfering
Plane selection 1st axis → Plane selection 2nd axis
(G17 plane : XP → YP, G18 plane : ZP → XP, G19 plane : YP → ZP)
Format
±j ;
G17 plane : G01 XP(U) J(C)±
±i ;
G18 plane : G01 ZP(W) I(C)±
±k ;
G19 plane : G01 YP(V) K(C)±
Description of symbols Tool movement
XP(U)_ Specifies movement from
Plane selection 2nd axis +
direction
YP(V)_ point a to point b with an c
ZP(W)_
)
absolute or incremental
programming in the figure a i,j,k
d 45°
on the right. b
)
45°
Start
XP is the X-axis (basic i,j,k
point
axis) or its parallel axis, c
YP is the Y-axis (basic Plane selection 2nd
axis - direction
axis) or its parallel axis,
and ZP is the Z-axis
(basic axis) or its parallel Movements are made from a to d
axis. to c.
(In the plane selection 2nd axis +
±i
I(C)± Specify the distance direction if the I, J, K, or C
between points b and c command specifies +, or in the
±j
J(C)± in the right-hand figure plane selection 2nd axis - direction
K(C)±±k with address J, J, K, or if I, J, K, or C command specifies -)
C followed by a sign.
(When bit 4 (CCR) of
parameter No. 3405 is
set to 0, use I, J, or K.
When the bit is set to1,
use C.)
- 170 -
B-63942EN/01 NC FUNCTION 5.PROGRAM INPUT
- Chamfering
Plane selection 2nd axis → Plane selection 1st axis
(G17 plane : YP → XP, G18 plane : XP → ZP, G19 plane : ZP → YP)
Format
±i ;
G17 plane : G01 YP(V) I(C)±
G18 plane : G01 XP(U) K(C)±±k ;
G19 plane : G01 ZP(W) J(C)±±j ;
Description of symbols Tool movement
±i
I(C)± Specify the distance 45° 45°
between points b and c
±j
J(C)± in the right-hand figure Plane Plane
)
)
c b c
K(C)±±k with address J, J, K, or selection i,j,k i,j,k selection
1st axis - 1st axis +
C followed by a sign. direction direction
(When bit 4 (CCR) of
parameter No. 3405 is
set to 0, use I, J, or K.
When the bit is set to1,
use C.)
- 171 -
5.PROGRAM INPUT NC FUNCTION B-63942EN/01
- Corner R
Plane selection 1st axis → Plane selection 2nd axis
(G17 plane : XP → YP, G18 plane : ZP → XP, G19 plane : YP → ZP)
Format
±r ;
G17 plane : G01 XP(U) R±
±r ;
G18 plane : G01 ZP(W) R±
±r ;
G19 plane : G01 YP(V) R±
Description of symbols Tool movement
- 172 -
B-63942EN/01 NC FUNCTION 5.PROGRAM INPUT
- Corner R
Plane selection 2nd axis → Plane selection 1st axis
(G17 plane : YP → XP, G18 plane : XP → ZP, G19 plane : ZP → YP)
Format
±r ;
G17 plane : G01 YP(V) R±
±r ;
G18 plane : G01 XP(U) R±
±r ;
G19 plane : G01 ZP(W) R±
Description of symbols Tool movement
±r
R± Specify the radius of an
arc connecting points d Plane c b c Plane
and c in the right-hand selection selection
1st axis - 1st axis +
figure with address R direction direction
followed by a sign.
- 173 -
5.PROGRAM INPUT NC FUNCTION B-63942EN/01
M
Chamfering and corner R blocks can be inserted automatically
between the following:
• Between linear interpolation and linear interpolation blocks
• Between linear interpolation and circular interpolation blocks
• Between circular interpolation and linear interpolation blocks
• Between circular interpolation and circular interpolation blocks
- Chamfering
When the above specification is added to the end of a block that
specifies linear interpolation (G01) or circular interpolation (G02 or
G03), a chamfering block is inserted.
,C_
After C, specify the distance from the hypothetical corner intersection
to the start and end points. The hypothetical corner point is the corner
point that would exist if chamfering were not performed.
C
Hypothetical corner intersection
- Corner R
When the above specification is added to the end of a block that
specifies linear interpolation (G01) or circular interpolation (G02 or
G03), a corner R block is inserted.
,R_
After R, specify the radius for corner R.
R Inserted corner R
block
- 174 -
B-63942EN/01 NC FUNCTION 5.PROGRAM INPUT
Data Format
Pitch error compensation G10 L50
Workpiece origin offset value G10 L2
Tool compensation value (M series) G10 L10/L11/L12/L13
Tool compensation value (T series) G10 L10/L11
Tool management data G10 L75
Cartridge management table G10 L76
Customize data G10 L77 P1
Name of tool life status G10 L77 P2
Data input mode cancel G11
Format
G10L50 ; Pitch error compensation data entry mode
setting
N_R_ ; Pitch error compensation data entry
N_P_R_ ; For axis type parameters
:
G11 ; Pitch error compensation data entry mode
cancel
N_ : Compensation position number for pitch errors
compensation +10,000
R_ : Pitch error compensation data
- 175 -
5.PROGRAM INPUT NC FUNCTION B-63942EN/01
Format
G10 L2 Pp IP_ ;
p=0 : External workpiece origin offset value
p=1 to 6 : Workpiece origin offset value correspond to
workpiece coordinate system 1 to 6
IP_ : For an absolute command, workpiece origin offset for
each axis.
For an incremental command, value to be added to
the set workpiece origin offset for each axis (the result
of addition becomes the new workpiece origin offset).
- 176 -
B-63942EN/01 NC FUNCTION 5.PROGRAM INPUT
M
By specifying a G10 command, a tool compensation value
setting/modification can be made.
When G10 is specified in the absolute mode (G90), a specified value
becomes a new tool compensation value.
When G10 is specified in the incremental mode (G91), a specified
value added to the currently set tool compensation value becomes a
new tool compensation value.
Format
• For tool compensation memory A
G10 L11 P_ R_ Q_ ;
P_ : Tool compensation number
R_ : Tool compensation value
Q_ : Imaginary tool nose number
- 177 -
5.PROGRAM INPUT NC FUNCTION B-63942EN/01
NOTE
1 Address R follows the increment system for tool
offset values.
2 If L is omitted for compatibility with the conventional
CNC format, or L1 is specified, the same operation
as when L11 is specified is performed.
3 Set a imaginary tool nose number when the cutter
compensation function is specified and a imaginary
tool nose direction is used. The cutter
compensation function is an optional function.
- 178 -
B-63942EN/01 NC FUNCTION 5.PROGRAM INPUT
T
By specifying a G10 command, a tool compensation value
setting/modification can be made.
If G code system B or C is used, a specified value becomes a new tool
compensation value when G10 is specified in the absolute mode (G90).
When G10 is specified in the incremental mode (G91), a specified
value added to the currently set tool compensation value becomes a
new tool compensation value. However, address R is handled as an
absolute command, and address C is handled as an incremental
command, regardless of the setting of G90/G91.
Format
• For G code system A
G10 P_ X_ Z_ R_ Q_ Y_ ;
or
G10 P_ U_ W_ C_ Q_ V_ ;
P_ : Tool compensation number
0 : Workpiece coordinate system shift command
Offset number : Tool compensation value or tool wear
compensation value command
10000 + offset number : Tool geometry compensation value
command
20000 + offset number : Second geometry tool
compensation value command
X_ : X axis compensation value (absolute value)
U_ : X axis compensation value (incremental value)
Z_ : Z axis compensation value (absolute value)
W_ : Z axis compensation value (incremental value)
R_ : Tool nose radius compensation value (absolute value)
C_ : Tool nose radius compensation value (incremental
value)
Y_ : Y axis compensation value (absolute value)
V_ : Y axis compensation value (incremental value)
Q_ : Imaginary tool nose number
- 179 -
5.PROGRAM INPUT NC FUNCTION B-63942EN/01
When the Series 15 program format is valid, the following format can
be used in addition to the formats above:
G10 L_ P_ X_ Z_ R_ Q_ Y_ ; (G code system A/B/C)
or
G10 L_ P_ U_ W_ C_ Q_ V_ ; (G code system A)
L_ : Type of tool compensation memory
L10 : Geometry compensation value
L11 : Wear compensation value
P_ : Tool compensation number
NOTE
1 Addresses X, Z, R, Y, U, W, C, and V follow the
increment system of tool offset values.
When a second tool geometry compensation value
is specified, addresses R, C, and Q cannot be
specified.
2 Address C used for a tool nose radius
compensation value is valid only when an axis
named C is used.
3 Set a tool nose radius compensation value or
imaginary tool nose number when the cutter
compensation function or the tool nose radius
compensation function is used.
Cutter or tool nose radius compensation function is
optional function.
4 Set a Y axis compensation value when the Y-axis
offset function is used.
Y-axis offset function is optional function.
5 Set a tool geometry compensation value when the
tool geometry/wear compensation function is used.
Tool geometry/wear compensation function is
optional function.
6 Set a second geometry tool compensation value
when the second geometry tool compensation
function is used.
Second geometry tool compensation function is
optional function.
7 For compatibility with the conventional models,
addresses U, W, and V are handled as incremental
commands for X, Z, and Y axis compensation
values, respectively, when G code system B or C is
used.
- 180 -
B-63942EN/01 NC FUNCTION 5.PROGRAM INPUT
Format
G10 L75 P1;
N_ ; Tool management data number specification
T_ C_ L_ I_ B_ Q_ H_ D_ S_ F_ J_ K_ ;
P0 R_ ; Customization data 0
P1 R_ ; Customization data 1
P2 R_ ; Customization data 2
P3 R_ ; Customization data 3
P4 R_ ; Customization data 4
N_ ; Tool management data number
:
G11;
P (customization-number) R (value)
Use the bit format only when specifying the customization data 0 (P0).
Specify other data in the binary format. The specification of
customization data that need not be set may be omitted.
- 181 -
5.PROGRAM INPUT NC FUNCTION B-63942EN/01
Format
G10 L75 P2 ;
N_ ;
T_ C_ L_ I_ B_ Q_ H_ D_ S_ F_ J_ K_ ;
P_ R_ ;
N_ ;
:
G11 ;
Format
G10 L75 P3 ;
N_ ;
N_ ;
:
N_ ;
G11 ;
- 182 -
B-63942EN/01 NC FUNCTION 5.PROGRAM INPUT
Format
G10 L76 P1 ;
N cartridge-number P pot-number R tool-management-data-number ;
N cartridge-number P pot-number R tool-management-data-number ;
N cartridge-number P pot-number R tool-management-data-number ;
N cartridge-number P pot-number R tool-management-data-number ;
G11 ;
For a spindle position table and standby position table, only cartridge
number data is specified.
Format
G10 L76 P2 ;
N cartridge-number P pot-number R tool-management-data-number ;
N cartridge-number P pot-number R tool-management-data-number ;
N cartridge-number P pot-number R tool-management-data-number ;
N cartridge-number P pot-number R tool-management-data-number ;
G11 ;
For a spindle position table and standby position table, only cartridge
number data is specified.
- 183 -
5.PROGRAM INPUT NC FUNCTION B-63942EN/01
Format
G10 L76 P3 ;
N cartridge-number P pot-number ;
N cartridge-number P pot-number ;
N cartridge-number P pot-number ;
N cartridge-number P pot-number ;
G11 ;
For a spindle position table and standby position table, only cartridge
number data is specified.
Format
G10 L77 P1 ;
N_ ;
P_ R_ ;
P_ R_ ;
;
N_ ;
P_ R_ ;
P_ R_ ;
G11 ;
- 184 -
B-63942EN/01 NC FUNCTION 5.PROGRAM INPUT
Format
G10 L77 P2 ;
N_ ;
P_ R_ ;
P_ R_ ;
N_ ;
P_ R_ ;
P_ R_ ;
G11 ;
- 185 -
5.PROGRAM INPUT NC FUNCTION B-63942EN/01
Format
G10L52 ; Parameter entry mode setting
N_R_ ; For parameters other than the axis type
N_P_R_ ; For axis type parameters
:
G11 ; Parameter entry mode cancel
N_ : Parameter number
R_ : Parameter setting value (Leading zeros can be
omitted.)
P_ : Axis number 1 to maximum controlled axis number (to
be specified when an axis type parameter or spindle
type parameter is specified)
NOTE
Some parameters cannot be set, when this
command is used.
- 186 -
B-63942EN/01 NC FUNCTION 5.PROGRAM INPUT
Format
- Sub program configuration
One sub program
Example) X100.0Y100.0M99;
- 187 -
5.PROGRAM INPUT NC FUNCTION B-63942EN/01
NOTE
1 When a sub program with a sub program number shorter
than 4 digits is called, the length of the sub program number
must be adjusted to 4 digits by adding 0(s) to the beginning
of the program number.
Example)
P100100: Call sub program No. 100 ten times.
P50001: Call sub program No. 1 five times.
2 If the number of times the sub program is called repeatedly
is omitted when a sub program with a 4-digit or shorter
program number is called, the sub program is called just
once.
In this case, it is not necessary to adjust the sub program
number length to 4 digits as described in Item 1 above.
3 When calling a sub program with a 4-digit or shorter program
number, do not specify address L in the same block.
4 When calling a sub program with a 5-digit or longer program
number, do not omit the specification of the number of
repeats.
5 When calling a sub program by file name, be sure to specify
the file name immediately after M98.
- 188 -
B-63942EN/01 NC FUNCTION 5.PROGRAM INPUT
Ordinary program
Custom macro body
A group of
Custom macro instruction instructions 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
instead of unknown
9011, and set variables move amount.
#1=10, #4=5.
- 189 -
5.PROGRAM INPUT NC FUNCTION B-63942EN/01
Example
r b
a
- Format
G65 Pp Rr Aa Bb Kk ;
p : Macro number of the bolt hole circle
r : Radius
a : Initial angle
b : Angle between holes
k : Number of holes
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.
Explanation
- Use of Variable
Variables : #i (i=1, 2, 3, . . . )
Quotation of variables : F#33 (#33: speed expressed by variables)
- 190 -
B-63942EN/01 NC FUNCTION 5.PROGRAM INPUT
- Control command
Program flow in the custom macro body is controlled by the following
command.
Repeated 10 times.
#120=#120+1 ;
END
- 191 -
5.PROGRAM INPUT NC FUNCTION B-63942EN/01
M99
- 192 -
B-63942EN/01 NC FUNCTION 5.PROGRAM INPUT
- 193 -
5.PROGRAM INPUT NC FUNCTION B-63942EN/01
- Types of variables
Variables are divided into local variables, common variables, and
system variables, according to their variable numbers. Each type has
different use and nature.
NOTE
With the option for custom macro common variable
addition, the common variables can be extended to
#100 to #199 and #500 to #999.
In this case, common variables #100 to #199 are
cleared when the power is turned off. The values
of common variables #500 to #999 are preserved
even when the power is turned off.
- 194 -
B-63942EN/01 NC FUNCTION 5.PROGRAM INPUT
• System variables
A variable with a certain variable number has a certain value. If
the variable number is changed, the certain value is also changed.
The certain value are the following:
- 128 DI points (for read only)
- 128 DO points (for output only)
- Tool compensation value, workpiece origin offset value,
and workpiece coordinate system value
- Position information (current position, skip position, block
end position, etc.)
- Modal information (F code, G code for each group, etc.)
- Alarm message (Set alarm number and alarm message, and
the CNC is set in an alarm status. The alarm number and
message is displayed.)
- A date (year, month, day) and time (hour, minute, second)
are indicated.
- Clock (Time can be known. A time can also be preset.)
- Single block stop, auxiliary function end wait hold
- Feed hold, Feedrate override, Exact stop inhibition
- The number of machining parts is indicated. It can be preset.
- Limitation
• Usable variables
See "Types of variables".
• Usable variable values
Maximum : ±10308
Minimum : ±10-308
• Constants usable in <expression>
Maximum : ±999999999999
Minimum : ±0.00000000001
Decimal point allowed
• Arithmetic precision
15-digit decimal number
• Macro call nesting
Maximum 5 folds.
• Repeated ID numbers
1 to 3
• [ ] nesting
Maximum 5 folds.
• Sub program call nesting
15 folds (including macro call nesting)
- 195 -
5.PROGRAM INPUT NC FUNCTION B-63942EN/01
Example)
When macro variable numbers 100 to 119 are made common to
path 1 and path 2
- 196 -
B-63942EN/01 NC FUNCTION 5.PROGRAM INPUT
Format
M96 Pxxxxxxxx ; Enables custom macro interrupt
M97 ; Disables custom macro interrupt
Explanation
Use of the interruption type custom macro function allows the user to
call a program during execution of an arbitrary block of another
program. This allows programs to be operated to match situations
which vary from time to time.
(1) When a tool abnormality is detected, processing to handle the
abnormality is started by an external signal.
(2) A sequence of machining operations is interrupted by another
machining operation without the cancellation of the current
operation.
(3) At regular intervals, information on current machining is read.
Listed above are examples like adaptive control applications of
the interruption type custom macro function.
Example)
When M96 Pxxxx is specified in a program, subsequent program
operation can be interrupted by an interrupt signal (UINT) input
to execute the program specified by Pxxxx in following figure.
When the interrupt signal (UINT, marked with an asterisk (*) in
figure) is input during execution of the interrupt program or after
M97, it is ignored.
M96 Pxxxxxxxx;
Interrupt signal
(UINT) * O xxxxxxxx;
Interrupt signal
(UINT) **
M99 (Pxxxxxxxx) ;
Nxxxxxxxx ;
- 197 -
5.PROGRAM INPUT NC FUNCTION B-63942EN/01
T
There are three canned cycles : the outer diameter/internal diameter
cutting canned cycle (G90), the threading canned cycle (G92), and the
end face turning canned cycle (G94).
Format
- Straight cutting cycle
X axis
(R)....Rapid traverse
Z (F) ....Cutting feed
W
4(R)
A
3(F) 2(F) 1(R) U/2
A’
X/2
Z axis
- 198 -
B-63942EN/01 NC FUNCTION 5.PROGRAM INPUT
- 199 -
5.PROGRAM INPUT NC FUNCTION B-63942EN/01
Format
- Straight threading cycle
X axis
Z W
3(R) 4(R) A
2(F) 1(R) U/2
A’
X/2
Z axis
(R) ... Rapid traverse
(F).... Cutting feed
Approx.
(The chamfered angle in the left figure is 45
45°
degrees or less because of the delay in the
r servo system.)
- 200 -
B-63942EN/01 NC FUNCTION 5.PROGRAM INPUT
Z W
A
4(R)
U/2 (R) ....Rapid traverse
3(R) 1(R) (F) ....Cutting feed
A’
2(F)
R
X/2
Z axis
- 201 -
5.PROGRAM INPUT NC FUNCTION B-63942EN/01
Format
- Face cutting cycle
X a xis
1 (R ) (R ) .... R a p id tra ve rs e
A (F ) .... C u ttin g fe e d
2 (F ) 4 (R )
U /2
A’ 3 (F )
X /2 W
Z axis
- 202 -
B-63942EN/01 NC FUNCTION 5.PROGRAM INPUT
X axis
1(R)
A
(R) ... Rapid traverse
2(F) 4(R) (F) ... Cutting feed
U/2
A’ 3(F)
X/2 R W
Z axis
Z
- 203 -
5.PROGRAM INPUT NC FUNCTION B-63942EN/01
T
This function is canned cycles to make CNC programming easy. For
instance, the data of the target figure (finishing shape). describes the
tool path for rough machining. And also, a canned cycles for the
threading is available.
Format
ZpXp plane
G71 U(∆ ∆d) R(e) ;
G71 P(ns) Q(nf) U(∆ ∆u) W(∆ ∆w) F(f ) S(s ) T(t ) ;
N (ns) ;
The move command between A and B is specified in the
... blocks from sequence number ns to nf.
N (nf) ;
∆d : Depth of cut
The cutting direction depends on the direction AA'.
e : Escaping amount
ns : Sequence number of the first block for the program of
target figure (finishing shape)
nf : Sequence number of the last block for the program of
target figure (finishing shape)
∆u : Distance of the finishing allowance in the direction of
the second axis on the plane (X-axis for the ZX plane)
∆w : Distance of the finishing allowance in the direction of
the first axis on the plane (Z-axis for the ZX plane)
f,s,t : Any F , S, or T function contained in blocks ns to nf in
the cycle is ignored, and the F, S, or T function in this
G71 block is effective.
- 204 -
B-63942EN/01 NC FUNCTION 5.PROGRAM INPUT
Explanation
- Type I
(R) C
B
A
(R) ∆d
(F)
45° e
(F)
Target figure
∆u/2
A’
+X
- Type II
(R)
(F) C
(R) A
B ∆d
(R)
(F)
∆d
(F)
- 205 -
5.PROGRAM INPUT NC FUNCTION B-63942EN/01
- Selection of type I or II
When the target figure has pockets, be sure to use type II.
A’
Escaping operation after rough cutting in the direction of the first axis
on the plane (Z-axis for the ZX plane) differs between types I and II.
With type I, the tool escapes to the direction of 45 degrees. With type
II, the tool cuts the workpiece along the target figure. When the target
figure has no pockets, determine the desired escaping operation and
select type I or II.
- Selecting type I or II
In the start block for the target figure (sequence number ns), select
type I or II.
(1) When type I is selected
Specify the second axis on the plane (X-axis for the ZX plane).
Do not specify the first axis on the plane (Z-axis for the ZX
plane).
(2) When type II is selected
Specify the second axis on the plane (X-axis for the ZX plane)
and first axis on the plane (Z-axis for the ZX plane).
When you want to use type II without moving the tool along the
first axis on the plane (Z-axis for the ZX plane), specify the
incremental programming with travel distance 0 (W0 for the ZX
plane).
Example)
Type I Type II
G71 10.0 R5.0 ; G71 10.0 R5.0 ;
G71 P100 Q200....; G71 P100 Q200....;
N100 X(U)_ ; N100 X(U)_ Z(W)_;
: :
: :
N200..............; N200..............;
- 206 -
B-63942EN/01 NC FUNCTION 5.PROGRAM INPUT
Format
ZpXp plane
G72 W(∆ ∆d) R(e) ;
G72 P(ns) Q(nf) U(∆ ∆u) W(∆ ∆w) F(f ) S(s ) T(t ) ;
N (ns) ;
The move command between A and B is specified in the
...
blocks from sequence number ns to nf.
N (nf) ;
∆d : Depth of cut
The cutting direction depends on the direction AA'.
e : Escaping amount
ns : Sequence number of the first block for the program of
target figure (finishing shape)
nf : Sequence number of the last block for the program of
target figure (finishing shape)
∆u : Distance of the finishing allowance in the direction of the
second axis on the plane (X-axis for the ZX plane)
∆w : Distance of the finishing allowance in the direction of the
first axis on the plane (Z-axis for the ZX plane)
f,s,t : Any F , S, or T function contained in blocks ns to nf in
the cycle is ignored, and the F, S, or T function in this
G72 block is effective.
Explanation
∆d
(F): Cutting feed
C (R): Rapid traverse
A'
A
Tool path
(F)
e (R)
(R) 45°
Target figure
(F)
+X ∆u/2
B
+Z ∆w
- 207 -
5.PROGRAM INPUT NC FUNCTION B-63942EN/01
- Selection of type I or II
For G72, there are types I and II.
When the target figure has pockets, be sure to use type II.
Escaping operation after rough cutting in the direction of the second
axis on the plane (X-axis for the ZX plane) differs between types I and
II. With type I, the tool escapes to the direction of 45 degrees. With
type II, the tool cuts the workpiece along the target figure. When the
target figure has no pockets, determine the desired escaping operation
and select type I or II.
- Selecting type I or II
In the start block for the target figure (sequence number ns), select
type I or II.
(1) When type I is selected
Specify the first axis on the plane (Z-axis for the ZX plane). Do
not specify the second axis on the plane (X-axis for the ZX
plane).
(2) When type II is selected
Specify the second axis on the plane (X-axis for the ZX plane)
and first axis on the plane (Z-axis for the ZX plane).
When you want to use type II without moving the tool along the
second axis on the plane (X-axis for the ZX plane), specify the
incremental programming with travel distance 0 (U0 for the ZX
plane).
Example)
Type I Type II
G72 10.0 R5.0 ; G72 10.0 R5.0 ;
G72 P100 Q200....; G72 P100 Q200....;
N100 Z(W)_ ; N100 X(U)_ Z(W)_;
:
:
N200..............; N200..............;
- 208 -
B-63942EN/01 NC FUNCTION 5.PROGRAM INPUT
- 209 -
5.PROGRAM INPUT NC FUNCTION B-63942EN/01
Format
ZpXp plane
G73 W(∆ ∆k) U(∆
∆i) R(d) ;
G73 P(ns) Q(nf) U(∆ ∆u) W(∆ ∆w) F(f ) S(s ) T(t ) ;
N (ns) ;
The move command between A and B is specified in the
...
blocks from sequence number ns to nf.
N (nf) ;
- 210 -
B-63942EN/01 NC FUNCTION 5.PROGRAM INPUT
Explanation
∆k+∆w
D
∆w
∆i+∆u/2
C ∆u/2
A
(R)
(R)
B
(F)
∆u/2
A'
+X ∆w
Target figure (F): Cutting feed
(R): Rapid traverse
+Z
- 211 -
5.PROGRAM INPUT NC FUNCTION B-63942EN/01
Format
G70 P(ns) Q(nf) ;
ns : Sequence number of the first block for the
program of target figure (finishing shape)
nf : Sequence number of the last block for the
program of target figure (finishing shape)
Explanation
The blocks with sequence numbers ns to nf in the program for a target
figure are executed for finishing. The F, S, T, M, and second auxiliary
functions specified in the G71, G72, or G73 block are ignored and the
F, S, T, M, and second auxiliary functions specified in the blocks with
sequence numbers ns to nf are effective.
When cycle operation terminates, the tool is returned to the start point
in rapid traverse and the next G70 cycle block is read.
- 212 -
B-63942EN/01 NC FUNCTION 5.PROGRAM INPUT
Format
∆k' ∆k ∆k ∆k ∆k [0 < ∆k’ ≤ ∆k]
∆d A
∆i
C
(R) (R)
(F) (F) (F)
(F) (F) U/2
(R) (R) (R) (R) ∆i
X
Z W B
+X
(R) ... Rapid traverse
e (F) ... Cutting feed
+Z
G74R (e) ;
∆i) Q(∆
G74X(U)_ Z(W)_ P(∆ ∆k) R(∆
∆d) F (f ) ;
e : Return amount
X_,Z_ : Coordinate of the second axis on the plane (X-axis
for the ZX plane) at point B and
Coordinate of the first axis on the plane (Z-axis for
the ZX plane) at point C
U_,W_ : Travel distance along the second axis on the plane
(U for the ZX plane) from point A to B
Travel distance along the first axis on the plane (W
for the ZX plane) from point A to C
∆i : Travel distance in the direction of the second axis on
the plane (X-axis for the ZX plane)
∆k : Depth of cut in the direction of the first axis on the
plane (Z-axis for the ZX plane)
∆d : Escaping amount of the tool at the cutting bottom
f : Feedrate
- 213 -
5.PROGRAM INPUT NC FUNCTION B-63942EN/01
(F) ∆i
(R) e
(F)
∆i
(R)
U/2
(F) ∆i
(R)
(F)
∆i
(R)
(F) ∆i’
B
∆d
∆k
+X X
Z W
(R) ... Rapid traverse
+Z (F) ... Cutting feed
G75R (e) ;
∆i) Q(∆
G75X(U)_ Z(W)_ P(∆ ∆k) R(∆
∆d) F (f ) ;
e : Return amount
X_,Y_,Z_ : Coordinate of the second axis on the plane (X-
axis for the ZX plane) at point B and
Coordinate of the first axis on the plane (Z-axis
for the ZX plane) at point C
(U_,V_,W_) : Travel distance along the second axis on the
plane (U for the ZX plane) from point A to B
Travel distance along the first axis on the plane
(W for the ZX plane) from point A to C
∆i : Depth of cut in the direction of the second axis on
the plane (X-axis for the ZX plane)
∆k : Travel distance in the direction of the first axis on
the plane (Z-axis for the ZX plane)
∆d : Escaping amount of the tool at the cutting bottom
f : Feedrate
- 214 -
B-63942EN/01 NC FUNCTION 5.PROGRAM INPUT
Format
E (R) A
(R) (R)
U/2
B
(F)
∆d
D
X i k
r C
Z W
+X
+Z
∆dmin) R(d ) ;
G76 P(m) (r) (a) Q(∆
∆d) F (L ) ;
G76 X(U)_ Z(W)_ R(i ) P(k ) Q(∆
m : Repetitive count in finishing (1 to 99)
r : Chamfering amount (0 to 99)
a : Angle of tool nose
One of six kinds of angle, 80°, 60°, 55°, 30°, 29°, and 0°,
can be selected, and specified by 2-digit number.
m, r, and a are specified by address P at the same time.
(Example) When m=2, r=1.2L, a=60°, specify as shown below
(L is lead of thread).
P 02 12 60
a
r
m
∆dmin : Minimum cutting depth
d : Finishing allowance
X_, Z_ : Coordinates of the cutting end point (point D in the
figure) in the direction of the length
U_, W_ : Travel distance to the cutting end point (point D in
the figure) in the direction of the length
i : Taper amount (If i = 0, ordinary straight threading
can be made.)
k : Height of thread
∆d : Depth of cut in 1st cut
L : Lead of thread
- 215 -
5.PROGRAM INPUT NC FUNCTION B-63942EN/01
Tool nose
a ∆d
∆d√n
1st
2nd k
3rd
nth
- 216 -
B-63942EN/01 NC FUNCTION 5.PROGRAM INPUT
M
The canned cycles for drilling are functions for performing machining
operations such as boring, drilling, and tapping with a more simplified
command.
- 217 -
5.PROGRAM INPUT NC FUNCTION B-63942EN/01
T
When the canned cycles for drilling are used, a machining operation
specified using several blocks can be specified using a single block
including a G function, making programming much simpler.
- 218 -
B-63942EN/01 NC FUNCTION 5.PROGRAM INPUT
Example)
For arc <1> (less than 180°)
G91 G02 X60.0 Y55.0 R50.0 F300.0 ;
For arc <2> (greater than 180°)
G91 G02 X60.0 Y55.0 R-50.0 F300.0 ;
<2>
r=50mm
End point
<1>
Start point
r=50mm
Y
- 219 -
5.PROGRAM INPUT NC FUNCTION B-63942EN/01
T
By applying mirror image to the X-axis with a G code, a machining
program for the opposite tool post can be created for symmetric
cutting as if the program were created in the coordinate system on the
same side.
Format
G68 : Double turret mirror image on
G69 : Mirror image cancel
Explanation
When G68 is designated, the coordinate system is shifted to the
double turret side, and the X-axis sign is reversed from the
programmed command to perform symmetrical cutting.
To use this function, set the distance between the two tool posts to a
parameter.
Example
X
60
120
<1> Z
φ80 φ40
180
φ120
<2> 120
Tool post B
NOTE
A diameter value is specified for the X-axis.
- 220 -
B-63942EN/01 NC FUNCTION 5.PROGRAM INPUT
- 221 -
5.PROGRAM INPUT NC FUNCTION B-63942EN/01
5.42 SCALING
A programmed figure can be magnified or reduced (scaling).
The magnification rate can be specified in the program.
Unless specified in the program, the magnification rate specified in
the parameter is applied.
Two types of scaling are available, one in which the same
magnification rate is applied to each axis and the other in which
different magnification rates are applied to different axes. Which type
to use is determined by parameter setting.
Format
- Scaling up or down along all axes at the same rate of magnification
G51 IP_ P_ ;Scaling start
: Scaling is effective.
: (Scaling mode)
G50 ; Scaling cancel
IP_ : Absolute programming for center coordinate value of
scaling
P_ : Scaling magnification
CAUTION
1 Specify G51 in a separate block.
2 After the figure is enlarged or reduced, specify G50
to cancel the scaling mode.
NOTE
This function is available when the G code system
B or C is set.
- 222 -
B-63942EN/01 NC FUNCTION 5.PROGRAM INPUT
Explanation
- Scaling along each axis at the same rate of magnification
A move command in the scaling mode is scaled by the magnification
specified by P_, with the point specified by X_Y_Z_ used as the
center.
P4
P3
P4’ P3’
P0
P1’ P2’
P1 P2
0 X
P0 : Scaling center
P1 to P4 : Programmed figure
P1’ to P4’ : Scaled figure
Programmed figure
d
Scaled figure
c
O
a X axis
- 223 -
5.PROGRAM INPUT NC FUNCTION B-63942EN/01
- Scaling center
Even in incremental command (G91) mode, the scaling center
coordinates IP_ specified in the G51 block are assumed those of an
absolute position.
If the scaling center coordinates are omitted, the position assumed
when G51 is specified is assumed the scaling center.
- 224 -
B-63942EN/01 NC FUNCTION 5.PROGRAM INPUT
Angle of rotation
Center of rotation
X
0
Format
For M series
G17
G18 G68 α_ β_ R_ ; Start rotation of a coordinate system.
G19
: Coordinate system rotation mode
G69 ; Coordinate system rotation cancel command
For T series
G17
G18 G68.1 α_ β_ R_ ; Start rotation of a coordinate system.
G19
: Coordinate system rotation mode
G69.1 ; Coordinate system rotation cancel command
G17 (G18 or G19) : Select the plane in which contains the figure to be rotated.
α, β : Specify two coordinates (from among X, Y, and Z) of the rotation center that
match G17, G18, and G19. The values specified as the coordinates of the
rotation center must always be absolute values.
R : Specifies the rotation angle as an absolute value. Counterclockwise rotation
is assumed to be positive. However, setting parameter enables the use of
an incremental value.
Unit : 0.001 deg
Valid data range : -360,000 to +360,000
- 225 -
5.PROGRAM INPUT NC FUNCTION B-63942EN/01
Explanation
Once this function is specified, a subsequent command is rotated
about the center specified by α_ β_ by the angle specified by R_.
The rotation plane (G17, G18, G19) selected when G68 (G68.1) was
specified is used. G17, G18, or G19 may not be specified in the block
including G68 (G68.1), but must not be specified in the coordinate
system rotation mode.
If α_ β_ is omitted, the position where G68 (G68.1) was specified
becomes the center of rotation.
- 226 -
B-63942EN/01 NC FUNCTION 5.PROGRAM INPUT
Z Y
Example)
Three-dimensional coordinate conversion can be executed twice.
N1 G68 Xp x1 Yp y1 Zp z1 I i1 J j1 K k1 R α ;
N2 G68 Xp x2 Yp y2 Zp z2 I i2 J j2 K k2 R β ;
:
Nn G69 ;
- 227 -
5.PROGRAM INPUT NC FUNCTION B-63942EN/01
Feature coordinate
system (G68.2)
Format
- Feature coordinate system setting
α Jβ
G68.2 Xx0 Yy0 Zz0 Iα β Kγγ ; Feature coordinate
: system setting
G69 ; Cancels the feature
coordinate system setting.
X, Y, Z : Feature coordinate system origin
I, J, K : Euler's angle for determining the orientation of the
feature coordinate system
- 228 -
B-63942EN/01 NC FUNCTION 5.PROGRAM INPUT
- 229 -
5.PROGRAM INPUT NC FUNCTION B-63942EN/01
Format
- Setting of programmable mirror image
Following format is commanded and mirror image is commanded to
each axis (as if mirror was set on the axis).
G51.1 IP_;
CAUTION
If mirror image is specified only for one axis on the
specified plane, the operation of the commands is
as follows:
• Arc command:
The rotation direction is reversed.
• Cutter compensation:
The offset direction is reversed.
• Coordinate system rotation:
The rotation angle is reversed.
Axis of symmetry
Main program
Y (X=50) N10 G00 G90 ;
(2) (1) N20 M98 P9000 ;
100 N30 G51.1 X50.0 ;
N40 M98 P9000 ;
N50 G51.1 Y50.0 ;
N60 M98 P9000 ;
N70 G50.1 X0 ;
60
Axis of symmetry (Y=50) (Cancel only X axis)
50 N80 M98 P9000 ;
40 N90 G50.1 Y0 ;
Sub program
O9000 ;
G00 G90 X60.0 Y60.0 ;
0 G01 X100.0 F100 ;
(3) (4) G01 Y100.0 ;
0 40 50 60 100 X G01 X60.0 Y60.0 ;
M99 ;
- 230 -
B-63942EN/01 NC FUNCTION 5.PROGRAM INPUT
Format
- Rotational copy
P4 P3
Start point
P5 P2
P0
P6 12 P1
X
- 231 -
5.PROGRAM INPUT NC FUNCTION B-63942EN/01
- Linear copy
Xp-Yp plane (specified by G17) :
G72.2 P_ L_ I_ J_ ;
Zp-Xp plane (specified by G18) :
G72.2 P_ L_ K_ I_ ;
Yp-Zp plane (specified by G19) :
G72.2 P_ L_ J_ K_;
P :Sub program number
L :Number of times the operation is repeated
I :Shift along the Xp axis
J :Shift along the Yp axis
K :Shift along the Zp axis
Specify a plane selection command (G17, G18, or G19) to
select the plane on which the linear copy is made.
P4 P5
Start P2
P6 P7
point P1
P3
X
P0 70 70 70 P8
NOTE
In a sub program for rotational copy, rotational
copy cannot be specified again. Similarly, in a sub
program for linear copy, linear copy cannot be
specified again.
However, in a sub program for rotational copy,
linear copy can be specified. Similarly, in a sub
program for linear copy, rotational copy can be
specified.
- 232 -
B-63942EN/01 NC FUNCTION 5.PROGRAM INPUT
M
• Sub program call (M98)
• Canned cycle for drilling (G73, G74, G76, G80 to G89)
T
• Sub program call (M98)
• Canned cycle (G77, G78, G79)
(G90, G92, G94 with G code system A)
• Multiple repetitive canned cycle (G71 to G76)
• Canned cycle for drilling (G80 to G85)
NOTE
Address and specifiable value range
The ordinary program format restriction is imposed
on the specifiable value range for basic addresses
used. If a value beyond the allowable range is
specified, an alarm is issued. Moreover, the usable
addresses may be limited.
- 233 -
5.PROGRAM INPUT NC FUNCTION B-63942EN/01
Features
• The execution speed is high because a custom macro program is
loaded after converted to an executable so that the machining
time can be reduced and the machining precision can be
improved.
• Any custom macro is not destroyed because it is loaded into F-
ROM so that reliability is improved.
• A program converted to execution format is not displayed on the
program screen, so that the know-how possessed by each
machine tool builder can be protected.
• An execution format macro program is registered in the F-ROM,
so that the program storage space can be efficiently used.
• The user can call the execution format macro program with an
easy call procedure without being conscious of the registered
program.
• 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/puncher interface
control, and PMC data read/write functions.
- 234 -
B-63942EN/01 NC FUNCTION 5.PROGRAM INPUT
Features
- Low-cost customization
No special additional hardware is needed to run the C language
executor and application programs (*). All available display units are
supported. User applications can be included in the current CNC
system.
NOTE
(*) To execute the C language executor and
application programs, the size of the flash
ROM/DRAM may need to be increased.
- 235 -
5.PROGRAM INPUT NC FUNCTION B-63942EN/01
When a multi-path system is used, the total size required for all paths
needs to be selected.
- 236 -
B-63942EN/01 NC FUNCTION 6.AUXILIARY FUNCTION / SPINDLE SPEED FUNCTION
- 237 -
6.AUXILIARY FUNCTION / SPINDLE SPEED FUNCTION NC FUNCTION B-63942EN/01
NOTE
In lathe systems, addresses U, V, and W can be
used only with G code system B or C.
- 238 -
B-63942EN/01 NC FUNCTION 6.AUXILIARY FUNCTION / SPINDLE SPEED FUNCTION
- 239 -
6.AUXILIARY FUNCTION / SPINDLE SPEED FUNCTION NC FUNCTION B-63942EN/01
- 240 -
B-63942EN/01 NC FUNCTION 6.AUXILIARY FUNCTION / SPINDLE SPEED FUNCTION
The Fig. 6.4 (a) below shows the timing chart of these signals with the
new system. For comparison, Fig. 6.4 (b) shows the timing chart of
the conventional system.
Next block
Code signals
Mxx Myy
Strobe signal MF
Auxiliary function
completion signal MFIN
Fig. 6.4 (a) Timing chart of the high-speed system
Next block
Code signals
Mxx Myy
Strobe signal MF
NOTE
1 Which system, the usual system or high-speed
system, is to be used for transferring the strobe
signal and completion signal can be specified by
parameter setting.
2 The usual system used just one completion signal
(FIN), which is common to the M, S, T, and B
functions. In the high-speed system, a separate
completion signal is provided for each of the M, S,
T, and B functions.
- 241 -
6.AUXILIARY FUNCTION / SPINDLE SPEED FUNCTION NC FUNCTION B-63942EN/01
Control based on M codes is used to cause one path to wait for the
other during machining. When an M code for waiting is specified in a
block for one path during automatic operation, the other path waits for
the same M code to be specified before staring the execution of the
next block.
A range of M codes used as M codes for waiting is to be set in the
parameters beforehand. Waiting can be ignored using a signal.
Example)
When M codes for waiting are set to M101 to M103
CAUTION
1 Be sure to specify a waiting M code in an independent block.
2 Unlike other M codes, waiting M codes are not output to PMCs.
3 If you want to independently operate one path only, you need not delete that
waiting M code. Using the waiting invalidation signal, you can invalidate the waiting
M code specified in the machining program. For details, refer to the manual issued
by the machine tool builder.
- 242 -
B-63942EN/01 NC FUNCTION 6.AUXILIARY FUNCTION / SPINDLE SPEED FUNCTION
(Example)
Multiple M commands in a single
One M command in a single block
block
M40; M40M50M60;
M50; G28G91X0Y0Z0;
M60; :
G28G91X0Y0Z0; :
: :
- 243 -
6.AUXILIARY FUNCTION / SPINDLE SPEED FUNCTION NC FUNCTION B-63942EN/01
- 244 -
B-63942EN/01 NC FUNCTION 6.AUXILIARY FUNCTION / SPINDLE SPEED FUNCTION
Format
G96 S_ : Constant surface speed control mode
S_ : Surface speed (m/min or feet/min)
G97 S_ : Constant surface speed control cancel mode
S_ : Spindle speed (min-1)
The axis on which the calculation for constant surface speed control is
based can be set with a parameter or by using the following command:
G96 P_ ;
P0 : Axis set in the parameter
P1 : 1st axis to Pn : n-th axis (n is the axis number in the path.)
The maximum spindle speed can also be set by using the following
command:
G92 S_ ;
S_ : Maximum spindle speed (min-1)
- 245 -
6.AUXILIARY FUNCTION / SPINDLE SPEED FUNCTION NC FUNCTION B-63942EN/01
Spindle output switching switches between the two windings, one for
low speed and the other for high speed, incorporated into the special
spindle motors. This ensures that the spindle motor demonstrates
stable output characteristics over a wide range.
- 246 -
B-63942EN/01 NC FUNCTION 6.AUXILIARY FUNCTION / SPINDLE SPEED FUNCTION
Spindle simple
Spindle synchronous
Function synchronous
control
control
O(Synchronization /
Spindle ∆(Same speed
phase matching is
rotation control command is used.)
Combination possible.)
with other Cs contour
O X
spindle control
functions Rigid tapping O X
Spindle
O X
positioning
Synchronization of multiple
O O
combinations
Synchronization of multiple
O O
slave spindles
Parking function O X
- 247 -
6.AUXILIARY FUNCTION / SPINDLE SPEED FUNCTION NC FUNCTION B-63942EN/01
There are three types of multi spindle control methods: a method that
can use the SIND (spindle motor speed control by the PMC) function
only for the first spindle (TYPE-A), a method that can use the SIND
function for the four spindles independently (TYPE-B), and a method
that is equivalent to TYPE-B and can use address P to select the
spindle to be controlled by the S command.
These methods can be selected by parameter setting.
S command Spindle 1
Spindle 2
Spindle 3
Spindle 4
- 248 -
B-63942EN/01 NC FUNCTION 6.AUXILIARY FUNCTION / SPINDLE SPEED FUNCTION
Keep 1 Spindle 1
Keep 2 Spindle 2
S command
Keep 3 Spindle 3
Keep 4 Spindle 4
Keep 1 Spindle 1
Keep 2 Spindle 2
S command
Keep 3 Spindle 3
Keep 4 Spindle 4
- 249 -
6.AUXILIARY FUNCTION / SPINDLE SPEED FUNCTION NC FUNCTION B-63942EN/01
P command
Keep 1 Spindle 1
Keep 2 Spindle 2
S command
Keep 3 Spindle 3
Keep 4 Spindle 4
- 250 -
B-63942EN/01 NC FUNCTION 6.AUXILIARY FUNCTION / SPINDLE SPEED FUNCTION
- Movement command
G00 C_ ; (C_ is an arbitrary axis address.)
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.
- Increment system
Least input increment : 0.001deg
360 × N
Detection unit : deg
4096
N represents the gear ratio of the spindle to position coder. (1, 2, 4,
8, . . . )
- 251 -
6.AUXILIARY FUNCTION / SPINDLE SPEED FUNCTION NC FUNCTION B-63942EN/01
P=F/S
where P : Pitch of screw of tapper (mm)
F : Feed rate of drilling axis (mm/min)
S : Spindle speed (min-1)
- 252 -
B-63942EN/01 NC FUNCTION 6.AUXILIARY FUNCTION / SPINDLE SPEED FUNCTION
- 253 -
7.TOOL FUNCTION / TOOL COMPENSATION FUNCTION NC FUNCTION B-63942EN/01
- 254 -
B-63942EN/01 NC FUNCTION 7.TOOL FUNCTION / TOOL COMPENSATION FUNCTION
T
In lathe systems, part of the numeric following the T code is used also
as a tool offset number specifying a value such as a tool offset value.
An offset number may be specified by the lowest one digit, lowest two
digits, or lowest three digits of the numeric following the T code as
shown below.
The number of the digits of the offset number can be selected by
parameter setting.
- 255 -
7.TOOL FUNCTION / TOOL COMPENSATION FUNCTION NC FUNCTION B-63942EN/01
- 256 -
B-63942EN/01 NC FUNCTION 7.TOOL FUNCTION / TOOL COMPENSATION FUNCTION
M
One of the tool compensation memory A/B/C can be selected
according to the configuration of offset amount.
Explanation
- Tool compensation memory A
There is no difference between geometry compensation memory and
wear compensation memory in tool compensation memory A.
Therefore, amount of geometry offset and wear offset together is set
as the offset memory. There is also no differences between cutter
compensation (D code) and tool length compensation (H code).
Setting example of tool compensation memory A
Compensation value Common to D and H
Offset number
(geometry + wear) codes
001 10.000 For D code
002 20.000 For D code
003 100.000 For H code
: : :
- 257 -
7.TOOL FUNCTION / TOOL COMPENSATION FUNCTION NC FUNCTION B-63942EN/01
- Tool offset
When the tool offset function is used, data that can be set in tool
compensation memory is the compensation values for the X- and Z-
axes.
- Y-axis offset
When Y-axis offset is provided, the Y-axis offset setting screen is
added. Data that can be set in Y-axis offset memory is the
compensation value for the Y-axis.
- 258 -
B-63942EN/01 NC FUNCTION 7.TOOL FUNCTION / TOOL COMPENSATION FUNCTION
Example)
Sharing tool compensation numbers 1 to 20 between path 1 and
path 2
Machining center Lathe system tool
system tool compensation for path 2
compensation for path 1
Tool
compensation
number 1
- 259 -
7.TOOL FUNCTION / TOOL COMPENSATION FUNCTION NC FUNCTION B-63942EN/01
M
When the difference between the tool length assumed at the time of
programming and the tool length of the tool actually used for
machining is set in offset memory, the difference in tool length can be
corrected without modifying the program.
G43 and G44 specify the offset direction, and a number following the
tool length compensation specification address (H code) specifies the
tool length compensation amount set in the offset memory.
Format
- 260 -
B-63942EN/01 NC FUNCTION 7.TOOL FUNCTION / TOOL COMPENSATION FUNCTION
Explanation
One of the following three methods is available, depending on the
type of axis that can be subject to tool length compensation:
• Tool length compensation A
Compensates for the difference in tool length along the basic Z-
axis.
• Tool length compensation B
Compensates for the difference in tool length in the direction
normal to a selected plane.
• Tool length compensation C
Compensates for the difference in tool length along a specified
axis.
One of the above methods can be selected by parameter setting.
- 261 -
7.TOOL FUNCTION / TOOL COMPENSATION FUNCTION NC FUNCTION B-63942EN/01
M
The programmed travel distance of the tool can be increased or
decreased by a specified tool offset value or by twice the offset value.
The tool offset function can also be applied to an additional axis.
Workpiece
Format
G45 IP_ D_ ; Increase the travel distance by the tool
offset value
G46 IP_ D_ ; Decrease the travel distance by the tool
offset value
G47 IP_ D_ ; Increase the travel distance by twice the
tool offset value
G48 IP_ D_ ; Decrease the travel distance by twice the
tool offset value
G45 to 48 : One-shot G code for increasing or decreasing
the travel distance
IP_ : Command for moving the tool
D Code for specifying the tool offset value
- 262 -
B-63942EN/01 NC FUNCTION 7.TOOL FUNCTION / TOOL COMPENSATION FUNCTION
T
Tool offset is used to compensate for the difference when the tool
actually used differs from the imagined tool used in programming
(usually, standard tool).
Standard tool
Actual tool
Offset amount
on X axis
Offset amount
on Z axis
- 263 -
7.TOOL FUNCTION / TOOL COMPENSATION FUNCTION NC FUNCTION B-63942EN/01
Control
Tool length
point
vector
Tool center
Program-specified
point
path
- 264 -
B-63942EN/01 NC FUNCTION 7.TOOL FUNCTION / TOOL COMPENSATION FUNCTION
Programmed path
Tool vector (path before compensation)
Reference
tool
Programmed
Cutter path
compensation Cutter compensation
vector amount
- 265 -
7.TOOL FUNCTION / TOOL COMPENSATION FUNCTION NC FUNCTION B-63942EN/01
T
When the Y axis, one of the basic three axes, is used with a lathe
system, this function performs Y axis offset.
If the tool geometry / wear offset options are provided, both tool
geometry offset and tool wear offset are effective to Y axis offset.
NOTE
1 When Y-axis offset is used, the Y-axis must always
be a linear axis.
2 Y-axis offset does not allow direct input of tool
offset values.
- 266 -
B-63942EN/01 NC FUNCTION 7.TOOL FUNCTION / TOOL COMPENSATION FUNCTION
- Cutter compensation
Use of this function can offset a programmed tool path by the tool
radius set in the CNC when machining is performed.
When the radius of the tool to be used for machining is measured and
set as the offset value in the CNC, the tool moves along the offset path
to cut a programmed profile. Therefore, even when the tool diameter
changes, you must only change the offset value and need not modify
the program.
Programmed
path Tool center path
Workpiece
Machining profile
To obtain the actual offset tool path, the CNC internally calculates
intersections of a straight line and a straight line, an arc and an arc,
and a straight line and an arc automatically. The programmer only has
to program a machining profile, therefore the programming can be
done very easily.
- 267 -
7.TOOL FUNCTION / TOOL COMPENSATION FUNCTION NC FUNCTION B-63942EN/01
Format
G40 : Cutter or tool nose radius compensation cancel
G41 : Cutter or tool nose radius compensation : left
G42 : Cutter or tool nose radius compensation : right
Explanation
- Cutter or tool nose radius compensation cancel
G41 and G42 are commands to place the system in cutter or tool nose
radius compensation mode. G41 causes offset on the left side of the
tool advance direction, and G42 causes offset on the right side of the
tool advance direction. G40 cancels cutter or tool nose radius
compensation.
G42 X
Workpiece
G41 Z
A
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 following figure.
- 268 -
B-63942EN/01 NC FUNCTION 7.TOOL FUNCTION / TOOL COMPENSATION FUNCTION
The start point or reference position in the tool nose can be set in
offset memory in the same way as the tool nose radius compensation
value.
7 0 5 7 0 5
3 3 8 4
2 6 2 6 1
5 7 0 5
3 8 4 3 8 4
- 269 -
7.TOOL FUNCTION / TOOL COMPENSATION FUNCTION NC FUNCTION B-63942EN/01
- Interference check
A state in which the tool cuts a workpiece excessively is called
"interference". A check is made to see whether interference occurs as
a result of cutter or tool nose radius compensation.
Cut Cut
excessively excessively
- 270 -
B-63942EN/01 NC FUNCTION 7.TOOL FUNCTION / TOOL COMPENSATION FUNCTION
M
In cutter compensation, two-dimensional offsetting is performed for a
selected plane. In three-dimensional cutter compensation, the tool can
be shifted three-dimensionally when a three-dimensional offset
direction is programmed.
Format
- Start up (Starting three-dimensional cutter compensation)
When the following command is executed in the cutter
compensation cancel mode, the three-dimensional cutter
compensation mode is set:
G41 Xp_Yp_Zp_ I_ J_ K_D_ ;
Xp : X-axis or a parallel axis
Yp : Y-axis or a parallel axis
Zp : Z-axis or a parallel axis
I
J See "Explanation".
K
D : Code for specifying as the cutter compensation value
(1-3 digits) (D code)
- 271 -
7.TOOL FUNCTION / TOOL COMPENSATION FUNCTION NC FUNCTION B-63942EN/01
- 272 -
B-63942EN/01 NC FUNCTION 7.TOOL FUNCTION / TOOL COMPENSATION FUNCTION
Explanation
- Three-dimensional cutter compensation vector
In three-dimensional cutter compensation mode, the following three-
dimensional cutter compensation vector is generated at the end of each
block:
Programmed path
Path after three-dimensional cutter compensation
Three-dimensional cutter compensation
vector
G40
G41
- Specifying I, J, and K
Addresses I, J, and K must all be specified to start three-dimensional
cutter compensation. When even one of the three addresses is omitted,
two-dimensional cutter compensation C is activated. When a block
specified in three-dimensional cutter compensation mode contains
none of addresses I, J, and K, the same vector as the vector generated
in the previous block is generated at the end of the block.
- 273 -
7.TOOL FUNCTION / TOOL COMPENSATION FUNCTION NC FUNCTION B-63942EN/01
Format
This command is specified in the same way as for the
conventional cylindrical interpolation function.
G07.1 IPr ; Circular interpolation mode on start
(enabling cylindrical interpolation)
:
G07.1 IP0 ; Circular interpolation mode cancel
IP : One rotary axis address
r : Cylinder radius of rotary axis
Specify each of G07.1 IPr; and G07.1 IP0; singly in a block.
G107 can also be specified.
Explanation
- Comparison with conventional circular interpolation
As shown in following figure, the tool is controlled in the offset axis
(Y-axis) direction that is perpendicular to the tool center and
workpiece rotation center.
Rotation Rotation
center Workpiece center
Tool
Y-axis Y-axis
Center of tool
- 274 -
B-63942EN/01 NC FUNCTION 7.TOOL FUNCTION / TOOL COMPENSATION FUNCTION
T
Tool geometry offset and tool wear offset are possible to divide the
tool offset to the tool geometry offset for compensating the tool shape
or tool mounting position and the tool wear offset for compensating
the tool nose wear. The tool geometry offset value and tool wear
offset value can be set individually. When these values are not
distinguished from each other, the total of the values is set as the tool
offset value.
Imaginary tool
X axis
geometry Offset
offset amount
value on X axis
X axis
wear
offset
value
Z axis Z axis
wear geometry Offset
offset offset amount
value value on Z axis
If tool geometry offset and tool If tool geometry offset and tool
wear offset are distinguished wear offset are not
from each other distinguished from each other
- 275 -
7.TOOL FUNCTION / TOOL COMPENSATION FUNCTION NC FUNCTION B-63942EN/01
T
This function allows use of second geometry tool offset in addition to
tool offset in order to compensate for the difference in tool mounting
position or in selected position. Data that can be set for second
geometry tool offset is the X-, Z-, and Y-axis compensation values.
In contrast to this offset, the ordinary tool geometry offset is called the
first geometry tool offset.
It is possible to apply a tool offset value (tool wear offset + tool
geometry offset) in the reverse direction, using an appropriate signal.
This function may be used if the offset value differs even with a single
tool for a mechanical reason depending on the mounting position
(inside/outside) or the selected position (right/left).
NOTE
1 To use the second geometry tool offset, the
geometry and wear offset options are required.
2 To use the second geometry tool offset for the Y
axis, the Y axis offset option is required.
Format
- When assigning the same number as the tool selection number
to the geometry offset number
M (M code that enables second geometry tool offset) ;
T ;
- 276 -
B-63942EN/01 NC FUNCTION 7.TOOL FUNCTION / TOOL COMPENSATION FUNCTION
A tool type number is specified with a T code. The tool type number
is any number the user can define freely. With tool type numbers,
tools can be grouped by various conditions such as life, compensation
value, and cutting conditions. When each type is assumed to have a
single tool, tool type numbers are equivalent to unique tool numbers.
NOTE
1 There are three options for this function: options
for up to 64 pairs, for 240 pairs, and for 1000 pairs.
Select one of the options according to the number
of tool management data pairs used.
2 Although customize data 0 to 4 are normally used,
expanded customize data 5 to 20 or 5 to 40 are
made available by using an option.
- 277 -
7.TOOL FUNCTION / TOOL COMPENSATION FUNCTION NC FUNCTION B-63942EN/01
T
A value displayed as a relative coordinate position can be set as an
offset value in tool compensation memory by using a soft key.
First, display the offset value screen. This screen also displays the
relative coordinate position. Next, select a reference tool, and
manually set it at the fixed point on the machine. Reset the relative
coordinates displayed on the screen to zero. Then, manually set the
tool to be measured at the same fixed point on the machine. At this
time, the relative coordinate position shows the difference between the
reference tool and the tool to be measured, and this value can be set as
the offset value.
M
The value displayed as a relative position can be set in the offset
memory as an offset value by a soft key.
Switch to the offset value display screen on the screen. Relative
positions are also displayed on this screen. Then select the reference
tool and set it at the fixed point on the machine by manual operation.
Reset the displayed relative position to zero. Set the tool for
measurement at the same fixed point on the machine by manual
operation. 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
Fixed point
- 278 -
B-63942EN/01 NC FUNCTION 7.TOOL FUNCTION / TOOL COMPENSATION FUNCTION
M
Difference between the coordinate value of tool when tool end has
reached the measuring position and coordinate value of the measuring
position is automatically measured, calculated, and added to the
currently set tool offset amount by CNC system. The machine must be
equipped with measuring devices, for example touch sensor, so that a
signal is sent when the tool end has reached the measuring position.
Format
G92 IP_ ; Sets the workpiece coordinate system.
(It can be set with G54 to G59.)
Hxx ; Specifies an offset number for tool length
compensation.
G90 G37 IP_ ; Absolute programming
G37 is valid only in the block in which it is specified.
IP_ indicates the X-, Y-, Z-, or fourth axis.
Explanation
A (Start point)
Rapid traverse Measurement position is commanded with G37
B (Deceleration position)
Measurement feedrate
C (Measurement position)
The tool stops when the approach end signal goe
0 X
When G37 is specified, the tool moves from the start point to
deceleration position by rapid traverse, then from the deceleration
position the tool decelerates to a parameter-set measurement federate
and moves until the approach end signal is issued from the measuring
device. That is, the tool movement stops when the tool tip has reached
the measurement position.
The difference between the coordinate value of the tool when it
reaches the measurement position and the coordinate value specified
in G37 is added to the tool length compensation value currently used.
- 279 -
7.TOOL FUNCTION / TOOL COMPENSATION FUNCTION NC FUNCTION B-63942EN/01
M
Two functions have been provided to measure the tool length:
The automatic tool length measurement function automatically
measures the tool length at a programmed command (G37); The tool
length measurement function measures the tool length after the target
tool is manually moved until it touches the workpiece top surface or
other reference position. In addition to the two conventional functions,
tool length/workpiece zero point measurement has been provided to
simplify the procedure of tool length measurement. This function
facilitates the machining setup, resulting in a reduced machining setup
time. The function also makes it easy to measure the workpiece origin
offset.
With this function, the operator can program a T/M code or reference
position return by specifying a manual numerical command on the
tool length offset measurement screen.
- 280 -
B-63942EN/01 NC FUNCTION 7.TOOL FUNCTION / TOOL COMPENSATION FUNCTION
T
Difference between the coordinate value of tool when tool end has
reached the measuring position and coordinate value of the measuring
position is automatically measured, calculated, and added to the
currently set tool offset amount by CNC system. The machine must be
equipped with measuring devices, for example touch sensor, so that a
signal is sent when the tool end has reached the measuring position.
Format
G36 X_ ; or G37 Z_ ;
G36 and G37 are effective only in the block in which these
commands are specified.
X_, Z_ : Absolute programming
Explanation
Execution of above command moves the tool at the rapid traverse rate
toward the measurement position, lowers the feedrate halfway, then
continues to move it until the approach end signal from the measuring
instrument is issued.
When the tool tip reaches the measurement position, the measuring
instrument outputs the measurement position reach signal to the CNC
which stops the tool.
The difference between the coordinate value of the tool when the
measurement position is reached and the coordinate value specified by
G36 or G37 is added to the currently used tool offset value.
- 281 -
7.TOOL FUNCTION / TOOL COMPENSATION FUNCTION NC FUNCTION B-63942EN/01
T
This is a function of setting an offset value by key-inputting a
workpiece diameter manually cut and measured from the MDI
keyboard.
First the workpiece is cut in the longitudinal or in the cross direction
manually. When a button on the machine operator’s panel is pressed
upon completion of the cutting, the workpiece coordinate value at that
time is recorded. Then, withdraw the tool, stop the spindle, and
measure the diameter if the cutting was on the longitudinal direction
or distance from the standard face if it was on the facing. (The
standard face is made as Z = 0.) When the measured value is entered
into the offset number desired plus 100, NC inputs the difference
between the input measured value and the coordinate value recorded
in NC, as the offset value of the offset number.
The workpiece coordinate system can be shifted using the technique
of directly inputting the measured value for offset. This technique is
used when the coordinate system planned in the program does not
match with the coordinate system set by the G92 command or by the
automatic coordinate system setting.
The procedures are the same as those for direct input for offset, except
a difference of using the standard tool.
T
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 automatically in the tool offset amount memory. It is also possible
to set the workpiece coordinate system shift amount automatically.
- 282 -
B-63942EN/01 NC FUNCTION 7.TOOL FUNCTION / TOOL COMPENSATION FUNCTION
M
The rotary table dynamic fixture offset function saves the operator the
trouble of re-setting the workpiece coordinate system when the rotary
table rotates before cutting is started. With this function the operator
simply sets the position of a workpiece placed at a certain position on
the rotary table as a reference fixture offset. If the rotary table rotates,
the system automatically obtains a current fixture offset from the
angular displacement of the rotary table and creates a suitable
workpiece coordinate system. After the reference fixture offset is set,
the workpiece coordinate system is prepared dynamically, wherever
the rotary table is located.
The origin of the workpiece coordinate system is obtained by adding
the fixture offset to the offset from the workpiece reference point.
Y
Y
Y
X
X
F0
F
θ
θ0
X
Center of
rotary axis
C
Z
W
Format
G54.2 Pn ;
n: Reference fixture offset value number (1 to 8)
When n = 0 is specified, fixture offset is canceled.
- 283 -
7.TOOL FUNCTION / TOOL COMPENSATION FUNCTION NC FUNCTION B-63942EN/01
When, for example, the tip of a tool is broken, so the tool has to be
replaced with another one, these tools are different in length. In this
case, by performing a manual feed over a certain distance, the tool
compensation value is automatically added to adjust the tool length.
- 284 -
B-63942EN/01 NC FUNCTION 8.ACCURACY COMPENSASION FUNCTION
8 ACCURACY COMPENSASION
FUNCTION
- 285 -
8.ACCURACY COMPENSASION FUNCTION NC FUNCTION B-63942EN/01
Change in feed
Cutting feed Rapid traverse Rapid traverse Cutting feed
↓ ↓ ↓ ↓
Cutting feed Rapid traverse Cutting feed Rapid traverse
Change in
movement direction
Movement in same direction 0 0 ±α ±(-α)
Movement in opposite directions ±A ±B ±(B+α) ±(B+α)
• α= (A-B) / 2
• Signs (+ and –) indicate directions.
A →
Cutting
feed
α α
B →
Cutting
feed
- 286 -
B-63942EN/01 NC FUNCTION 8.ACCURACY COMPENSASION FUNCTION
Backlash
compensation
value
0
Travel distance after inversion of direction
B2
B1
0
L1 L2
Travel distance after inversion of direction
- 287 -
8.ACCURACY COMPENSASION FUNCTION NC FUNCTION B-63942EN/01
- 288 -
B-63942EN/01 NC FUNCTION 8.ACCURACY COMPENSASION FUNCTION
ε1
ε3
ε2
ε1 ε2 ε3
- 289 -
8.ACCURACY COMPENSASION FUNCTION NC FUNCTION B-63942EN/01
- 290 -
B-63942EN/01 NC FUNCTION 8.ACCURACY COMPENSASION FUNCTION
c
a
γ
α
... ...
β ε
c
a
γ
α
... ...
ε
β
d
b
Output timing of stored pitch error compensation of moving axis and output compensation pulses
a , b , c , d: Compensation position numbers of the moving axis (This number is originally a pitch error compensation
position number.)
α, β, γ, ε : Compensation amount for the compensation position number (Amount of compensation for compensation
axis)
From the current position of the moving axis, the compensation
amount for the corresponding compensation axis is calculated.
Compensation for the compensation axis is performed at the timing of
the output of pitch error compensation of the moving axis.
In the above figure, while the moving axis moves from compensation
point a to compensation point b, the compensation amount (β-α)/(b-a)
is output for the compensation axis at the output timing of pitch error
compensation of the moving axis.
NOTE
1 The straightness compensation function can be used after a moving axis and its
compensation axis have returned to the reference position.
2 To add the straightness compensation function option, the stored pitch error
compensation option is needed.
3 Straightness compensation data is superposed on stored pitch error compensation
data and output. Straightness compensation is performed at pitch error
compensation intervals.
4 Straightness compensation does not allow the moving axis to be used as a
compensation axis. To implement such compensation, use inclination
compensation.
- 292 -
B-63942EN/01 NC FUNCTION 8.ACCURACY COMPENSASION FUNCTION
NOTE
To add the interpolation type straightness
compensation option, the stored pitch error
compensation option is also required.
- 293 -
8.ACCURACY COMPENSASION FUNCTION NC FUNCTION B-63942EN/01
- Compensation calculation
P8 P7
P
P5 P6
P4 P3
P1
x P2
Let three compensation axes be X, Y, and Z (basic three axes), and the
coordinates of the current position be P(Px,Py,Pz).
Suppose a compensation space (rectangular parallelepiped) of which
vertexes are P1, P2, …, and P8. Also, let the compensation values for
the axes at each vertex be Cnx, Cny, and Cnz (n: 1 to 8).
Here, let the internal ratio of the X-, Y-, and Z-axes at P be x,y,z.
Cx, which is the compensation amount for the X-axis at P, is then
obtained for compensation as follows:
Cx = C1x ⋅ (1 − x )(1 − y )(1 − z ) + C 2 x ⋅ x (1 − y )(1 − z )
+ C 3x ⋅ xy (1 − z ) + C 4 x ⋅ (1 − x ) y (1 − z )
+ C 5 x ⋅ (1 − x )(1 − y ) z + C 6 x ⋅ x (1 − y ) z
+ C 7 x ⋅ xyz + C 8 x ⋅ (1 − x ) yz
Similarly, the compensation amounts for the Y-axis and Z-axis, which
are Cy and Cz, are also obtained for compensation.
- 294 -
B-63942EN/01 NC FUNCTION 8.ACCURACY COMPENSASION FUNCTION
Thermal
distribution
A
A
After thermal
shrinkage
Before
thermal C C
shrinkage Z
C
A
Y
X
- 295 -
9.EDITING OPERATION NC FUNCTION B-63942EN/01
9 EDITING OPERATION
- 296 -
B-63942EN/01 NC FUNCTION 9.EDITING OPERATION
Number of Number of
Part Number of
registerable registerable
program registerable
programs programs
storage size programs
expansion 1 expansion 2
64Kbyte
63 120 120
(160m)
128Kbyte
63 250 250
(320m)
256Kbyte
63 500 500
(640m)
512Kbyte
63 1000 1000
(1280m)
1Mbyte
63 1000 2000
(2560m)
2Mbyte
63 1000 4000
(5120m)
4Mbyte
63 1000 4000
(10240m)
8Mbyte
63 1000 4000
(20480m)
NOTE
The number of registerable programs includes the
number of folders.
- 297 -
9.EDITING OPERATION NC FUNCTION B-63942EN/01
2 Deleting programs
• Deleting one program
• Deleting specified programs at a time
• Deleting all programs in a folder at a time
4 Editing a word
• Inserting a word or block
• Overwriting a word
• Replacing a word or address
• Deleting a word or block
• Copying, deleting, and pasting a specified range
Editing characters
• Inserting characters
• Overwriting characters
• Replacing a character string
• Deleting characters
• Copying, deleting, and pasting a specified range
6 Search
• Searching for a program
• Searching for a word or address
• Repeating search
- 298 -
B-63942EN/01 NC FUNCTION 9.EDITING OPERATION
2 Protection by parameter
By using a password parameter and a keyword parameter, this
function provides a lock for a parameter that protects programs
with program Nos. O9000 to O9999, and programs and folders
with the edit or display disable attribute.
When locked (the password ≠ the keyword), the parameter for
protection cannot be set to 0. In this case, program protection for
programs with program Nos. O9000 to O9999, and programs and
folders with the edit or display disable attribute cannot be
released unless the keyword is set correctly.
The values set in both the password and keyword parameters are
not indicated. The lock is released by setting the keyword
parameter to the same value as the value set in advance in the
password parameter. When 0 is indicated in the password
parameter, the password parameter is not yet set.
- 299 -
9.EDITING OPERATION NC FUNCTION B-63942EN/01
- 300 -
B-63942EN/01 NC FUNCTION 10.SETTING AND DISPLAY
- 301 -
10.SETTING AND DISPLAY NC FUNCTION B-63942EN/01
Explanation
(1)
(5) : (10) :
(5) is displayed in the (10) is displayed at the
area for (3) and (4). position where (8) is
now displayed.
Fig. 10.1 (a) Positions of status display items
- 302 -
B-63942EN/01 NC FUNCTION 10.SETTING AND DISPLAY
- 303 -
10.SETTING AND DISPLAY NC FUNCTION B-63942EN/01
- 304 -
B-63942EN/01 NC FUNCTION 10.SETTING AND DISPLAY
- 305 -
10.SETTING AND DISPLAY NC FUNCTION B-63942EN/01
- 306 -
B-63942EN/01 NC FUNCTION 10.SETTING AND DISPLAY
- 307 -
10.SETTING AND DISPLAY NC FUNCTION B-63942EN/01
- 308 -
B-63942EN/01 NC FUNCTION 10.SETTING AND DISPLAY
- 309 -
10.SETTING AND DISPLAY NC FUNCTION B-63942EN/01
- 310 -
B-63942EN/01 NC FUNCTION 10.SETTING AND DISPLAY
- 311 -
10.SETTING AND DISPLAY NC FUNCTION B-63942EN/01
NOTE
For a machining center system, the threading and
synchronous cutting options are required to display
the actual spindle speed.
- 312 -
B-63942EN/01 NC FUNCTION 10.SETTING AND DISPLAY
- 313 -
10.SETTING AND DISPLAY NC FUNCTION B-63942EN/01
- 314 -
B-63942EN/01 NC FUNCTION 10.SETTING AND DISPLAY
- 315 -
10.SETTING AND DISPLAY NC FUNCTION B-63942EN/01
- 316 -
B-63942EN/01 NC FUNCTION 10.SETTING AND DISPLAY
- 317 -
10.SETTING AND DISPLAY NC FUNCTION B-63942EN/01
- 318 -
B-63942EN/01 NC FUNCTION 10.SETTING AND DISPLAY
- 319 -
10.SETTING AND DISPLAY NC FUNCTION B-63942EN/01
- 320 -
B-63942EN/01 NC FUNCTION 10.SETTING AND DISPLAY
- 321 -
10.SETTING AND DISPLAY NC FUNCTION B-63942EN/01
To protect various types of data in the CNC, data protection keys can
be provided for the machine. Depending on the type of the data to be
protected, the following four input signals are provided:
• KEY1
Enables input of tool offset values and workpiece origin offset
values.
• KEY2
Enables input of settings.
• KEY3
Enables program registration and editing.
• KEY4
Enables input of PMC data.
- 322 -
B-63942EN/01 NC FUNCTION 10.SETTING AND DISPLAY
- 323 -
10.SETTING AND DISPLAY NC FUNCTION B-63942EN/01
Support of tuning
• Servo tuning
• Spindle tuning
• AICC tuning
- 324 -
B-63942EN/01 NC FUNCTION 10.SETTING AND DISPLAY
- 325 -
11.DATA INPUT/OUTPUT NC FUNCTION B-63942EN/01
11 DATA INPUT/OUTPUT
- 326 -
B-63942EN/01 NC FUNCTION 11.DATA INPUT/OUTPUT
• Program
• Tool compensation value
• Parameter
• Pitch error compensation data
• Custom macro common variable
• Workpiece coordinate system setting data
• Operation history data (output only)
• Tool management data
- 327 -
11.DATA INPUT/OUTPUT NC FUNCTION B-63942EN/01
- 328 -
B-63942EN/01 NC FUNCTION 11.DATA INPUT/OUTPUT
- 329 -
11.DATA INPUT/OUTPUT NC FUNCTION B-63942EN/01
- 330 -
B-63942EN/01 NC FUNCTION 11.DATA INPUT/OUTPUT
- 331 -
11.DATA INPUT/OUTPUT NC FUNCTION B-63942EN/01
- 332 -
B-63942EN/01 NC FUNCTION 12.INTERFACE FUNCTION
12 INTERFACE FUNCTION
- 333 -
12.INTERFACE FUNCTION NC FUNCTION B-63942EN/01
- 334 -
B-63942EN/01 NC FUNCTION 13.PMC
13 PMC
- 335 -
13.PMC NC FUNCTION B-63942EN/01
NOTE
The first path PMC function is the basic option
function.
The second and third path PMC functions are
option functions.
- 336 -
B-63942EN/01 NC FUNCTION 13.PMC
CNC PMC
NOTE
The maximum number of DI/DO points per
channel is 1024 points/1024 points.
- 337 -
13.PMC NC FUNCTION B-63942EN/01
NOTE
The values of the E addresses of the PMC for the
dual check safety function are not preserved.
- 338 -
B-63942EN/01 NC FUNCTION 14.OTHERS
14 OTHERS
- 339 -
14.OTHERS NC FUNCTION B-63942EN/01
- 340 -
B-63942EN/01 NC FUNCTION 14.OTHERS
- 341 -
14.OTHERS NC FUNCTION B-63942EN/01
- 342 -
APPENDIX
B-63942EN/01 APPENDIX A.RANGE OF COMMAND VALUE
A
Linear axis
RANGE OF COMMAND VALUE
- 345 -
A.RANGE OF COMMAND VALUE APPENDIX B-63942EN/01
- 346 -
B-63942EN/01 APPENDIX A.RANGE OF COMMAND VALUE
- Rotary axis
Increment system
IS-A IS-B IS-C IS-D IS-E
Least input increment (deg) 0.01 0.001 0.0001 0.00001 0.000001
Least command increment (deg) 0.01 0.001 0.0001 0.00001 0.000001
Max. programmable dimension
±999,999.99 ±999,999.999 ±99,999.9999 ±9,999.99999 ±999.999999
(deg)
Max. rapid traverse (deg/min)*1 999,000 999,000 100,000 10,000 1,000
*1
Feedrate range (deg/min) 0.01 to 999,000 0.001 to 999,000 0.0001 to 100,000 0.00001 to 10,000 0.000001 to 1,000
0.01 0.001 0.0001 0.00001 0.000001
0.1 0.01 0.001 0.0001 0.00001
Incremental feed (deg/step)
1.0 0.1 0.01 0.001 0.0001
10.0 1.0 0.1 0.01 0.001
Tool compensation amount
0 to ±9,999.99 0 to ±9,999.999 0 to ±9,999.9999 0 to ±9,999.99999 0 to ±999.999999
(deg)*2
Backlash compensation amount
0 to ±9,999 0 to ±9,999 0 to ±9,999 0 to ±9,999 0 to ±9,999
(pulses)*3
Dwell (sec)*4 0 to 999,999.99 0 to 999,999.999 0 to 99,999.9999 0 to 9,999.99999 0 to 999.999999
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.
*2 Value applied when the offset extension function is
used.
If the mode of input is switched between inch input
and metric input, the maximum compensation value
that can be set at inch input time is (maximum
compensation value) × 1/25.4. If a value exceeding
this value is specified at inch input time, the
compensation value is not converted to a metric
value correctly when the mode of input is switched
to metric input.
*3 The unit is the detection unit.
*4 Depends on the increment system of the axis at in
address X.
- 347 -
B.LIST OF FUNCTIONS AND PROGRAM FORMAT APPENDIX B-63942EN/01
- 348 -
B-63942EN/01 APPENDIX B.LIST OF FUNCTIONS AND PROGRAM FORMAT
(1/10)
Functions Illustration Program format
Positioning IP G00 IP_ ;
(G00)
Start point
Linear interpolation IP G01 IP_ F_;
(G01)
Start point
Circular interpolation • For machining center system
(G02, G03) Start point
G02 R_
G17 X_ Y_ F_ ;
G03 I_ J_
R G02
J G02 R_
G18 X_ Z_ F_ ;
G03 I_ K_
I
(x, y)
G03 G02 R_
(x, y) G19 Y_ Z_ F_ ;
G03 J_ K_
G02 R_
G18 X_ Z_ α_ F_ ;
G03 I_ K_
Start
point (xyz)
G02 R_
G19 Y_ Z_ α_ F_ ;
(x, y) G03 J_ K_
X (Linear axis)
∆X
- 349 -
B.LIST OF FUNCTIONS AND PROGRAM FORMAT APPENDIX B-63942EN/01
(2/10)
Functions Illustration Program format
Three-dimensional circular Intermediate point G02.4 XX1 YY1 ZZ1 αα1 ββ1 ;
interpolation X (X1,Y1,Z1)
First block (mid-point of the arc)
(G02.4, G03.4)
Y XX2 YY2 ZZ2 αα2 ββ2 ;
Z
Start Second block (end point of the arc)
point End point (X2,Y2,Z2) α, β : Arbitrary axes other than the 3-
dimensional circular interpolation axis (up
to two axes)
G03.4 can also be specified instead of G02.4.
Dwell X_
G04 ;
(G04) P_
AI contour control G05 P10000 ; AI contour control start
(G05) G05 P0 ; AI contour control end
AI contour control G05.1 Q1 ; AI contour control mode on
(G05.1) G05.1 Q0 ; AI contour control mode off
Nano smoothing G05.1 Q3 IP0 ; Nano smoothing mode on
(G05.1) G05.1 Q0 ; Nano smoothing mode off
Smooth interpolation G05.1 Q2 ; Smooth interpolation mode on
(G05.1) G05.1 Q0 ; Smooth interpolation mode off
NURBS interpolation G06.2[P_] K_ IP_ [R_] [F_];
(G06.2) NURBS interpolation mode on
P : Rank of NURBS curve
IP : Control point
R : Weight
K : Knot
F : Feedrate
Hypothetical axis interpolation G07 IP0 ; Hypothetical axis setting
(G07) G07 IP1 ; Hypothetical axis cancel
Cylindrical interpolation G07 IP_ r_; Cylindrical interpolation mode
(G07.1) r : Cylinder radius
G07 IP 0; Cylindrical interpolation mode cancel
AI contour control (Advanced
G08 P1 ; AI contour control mode on
preview control)
G08 P0 ; AI contour control mode off
(G08)
Exact stop Speed
(G09) G01
G09 G02 IP_ ;
Time G03
In-position check
- 350 -
B-63942EN/01 APPENDIX B.LIST OF FUNCTIONS AND PROGRAM FORMAT
(3/10)
Functions Illustration Program format
Programmable data input • For machining center system
(G10) Tool compensation memory A
G10 L01 P_ R_ ;
Tool compensation memory B
G10 L10 P_ R_ ; (Geometry offset amount)
G10 L11 P_ R_ ; (Wear offset amount)
Tool compensation memory C
G10 L10 P_ R_ ; (Geometry offset amount/H)
G10 L11 P_ R_ ; (Wear offset amount/H)
G10 L12 P_ R_ ; (Geometry offset amount/D)
G10 L13 P_ R_ ; (Wear offset amount/D)
• For lathe system
Geometry offset amount
G10 P_ X_ Z_ R_ Q_ ;
P = 10000 + Geometry offset number
Wear offset amount
G10 P_ X_ Z_ C_ Q_ ;
P = Wear offset number
Polar coordinate interpolation G12.1 ; Polar coordinate interpolation mode on
(G12.1, G13.1) G13.1 ; Polar coordinate interpolation cancel
Polar coordinate command Local coordinate system G17 G16 Xp_ Yp_ . . . ;
(G15, G16) Yp G18 G16 Zp_ Xp_ . . . ;
Xp
G19 G16 Yp_ Zp_ . . . ;
Yp G15 ; Cancel
Xp
Workpiece coordinate system
Plane selection G17 ; Xp Yp-plane selection
(G17, G18, G19) G18 ; Zp Xp-plane selection
G19 ; Yp Zp-plane selection
Inch/metric conversion Inch input G20 ;
(G20, G21) Metric input G21 ;
Stored stroke check (XYZ) G22 X_ Y_ Z_ I_ J_ K_ ;
(G22, 23) G23 ; Cancel
(IJK)
Reference position return check IP G27 IP_ ;
(G27)
Start point
Reference position return Reference position (G28) G28 IP_ ;
(G28)
2nd Reference position return Intermediate point G30 IP_ ;
(G30) IP
Start point
- 351 -
B.LIST OF FUNCTIONS AND PROGRAM FORMAT APPENDIX B-63942EN/01
(4/10)
Functions Illustration Program format
Movement from reference Reference position G29 IP_ ;
position
(G29)
IP
Intermediate point
Floating reference position Floating reference position G30.1 IP_ ;
return
Intermediate point
(G30.1)
IP Start
point
(G41.2, G42.2) Tool center path G40 IP_ ; Cancellation of cutter compensation
(path after
compensation)
Z
Y
Compensatio Cutter compensation X
n plane amount
Programmed
Cutter path
compensatio Χυττερ χοµπενσατιο
n vector ν αµουντ
- 352 -
B-63942EN/01 APPENDIX B.LIST OF FUNCTIONS AND PROGRAM FORMAT
(5/10)
Functions Illustration Program format
Tool length compensation
G43
(G43, G44, G49) Z_ H_ ;
G44
Compensation
G43
H_ ;
Z G44
Z
Workpiece C
B
Y
- 353 -
B.LIST OF FUNCTIONS AND PROGRAM FORMAT APPENDIX B-63942EN/01
(6/10)
Functions Illustration Program format
Tool offset G 45 Increase • For machining center system
(G45 to G48) IP G45
G 46 Decrease
G46 IP_ D_ ;
G 47 Double increase G47
G48
G 48 IP Double decrease
D : Tool offset number
Offset amount
Scaling • For machining center system
(G50, G51) P4 P3
G51 X_ Y_ Z_ P_
P4' P3' I_ J_ K_ ;
IP
P, I, J, K : Scaling magnification
X, Y, Z : Control position of scaling
P1' P2' G50 : Cancel
P1 P2 • For lathe system only
Enabled when G code system B/C is used
Programmable mirror image Mirror • For machining center system
(G50.1, G51.1) G51.1 IP_ ;
G50.1 ; . . . Cancel
IP
Coordinate system setting X • For lathe system only
Maximum spindle speed clamp G50 IP_ ; (Coordinate system setting)
(G50)
G50 S_ ; (Maximum spindle speed clamp)
Z
Local coordinate system setting Local coordinate G52 IP_ ;
(G52) system
x
IP Workpiece
y coordinate system
- 354 -
B-63942EN/01 APPENDIX B.LIST OF FUNCTIONS AND PROGRAM FORMAT
(7/10)
Functions Illustration Program format
Rotary table dynamic fixture Y • For machining center system
Y
offset Y
G54.2 P_ ; Fixture offset
X
(G54.2) F0
X P : Reference fixture offset value number
F
θ θ0
G54.2 P0 ; Offset cancel
X
Rotation axis
center
C
Z
W
W : Workpiece origin offset value
θ0 : Reference angle
F0 : Reference fixture offset value
Machine coordinate θ : Rotation axis angle
system origin F : Fixture offset value
- 355 -
B.LIST OF FUNCTIONS AND PROGRAM FORMAT APPENDIX B-63942EN/01
(8/10)
Functions Illustration Program format
Feature coordinate system G68.2 X_ Y_ Z_ I_ J_ K_ ;
selection Feature coordinate system setting
(G68.2) G69 ; Feature coordinate system setting cancel
X, Y, Z : Feature coordinate system origin
I, J, K : Euler angles for determining the
orientation of the feature coordinate
system
Y
Figure copy P1
Rotational copy
(G72.1, G72.2) P0
(G17) X_ Y_
Start point
60° (G18) G72.1 P_ L_ Z_ X_ R_ ;
(G19) Y_ Z_
Linear copy
Y
(G17) I_ J_
(G18) G72.2 P_ L_ K_ I_ ;
P1 (G19) J_ K_
Start point P0 X
Canned cycle for drilling • For machining center system
(G73, G74, G80 to G89) G80 ; Cancel
G73
G74
G76 X_Y_Z_P_Q_R_F_K_ ;
G81
:
G89
Canned cycle • For lathe system only
(G71 to G76) N G70P Q ;
(G90, G92, G94) G71U R ;
G71P Q U W F S T ;
G72W R ;
G72P Q U W F S T ;
G73U W R ;
G73P Q U W F S T ;
G74R ;
G74X(u) Z(w) P Q R F ;
G75R ;
G75X(u) Z(w ) P Q R F ;
G76P Q R ;
G76X(u) Z(w) P Q R F ;
G90
X_ Z_ I_ F_ ;
G92
G94X Z K F ;
- 356 -
B-63942EN/01 APPENDIX B.LIST OF FUNCTIONS AND PROGRAM FORMAT
(9/10)
Functions Illustration Program format
Absolute programming / • For machining center system
incremental programming G90_ ; Absolute programming
(G90/G91) G91_ ; Incremental programming
:
G90_ G91_ ; Programming in both modes
Constant surface speed control Surface speed (m/min or feet/min) G96 S_ ; Constant surface speed control on
(G96, G97) (surface speed specification)
Spindle G97 S_ ; Constant surface speed control off
speed (spindle speed specification)
N(min-1)
Z point
- 357 -
B.LIST OF FUNCTIONS AND PROGRAM FORMAT APPENDIX B-63942EN/01
(10/10)
Functions Illustration Program format
Optional chamfering/corner R • For machining center system
K ,C_ : Chamfering
,R_ : Corner R
I
X_ ; C±K P_ ;
R R
Z_ ; C±K P_ ;
R
- 358 -
B-63942EN/01 APPENDIX C.PROGRAM CODE LIST
- 359 -
C.PROGRAM CODE LIST APPENDIX B-63942EN/01
- 360 -
B-63942EN/01 APPENDIX C.PROGRAM CODE LIST
NOTE
1 The symbols used in the "Custom macro" column
have the following meanings.
(Space) :The character will be registered in
memory and has a specific meaning. It is
used incorrectly in a statement other than
a comment, an alarm occurs.
: The character will not be registered in
memory and will be ignored.
: The character will be registered in
memory, but will be ignored during
program execution.
: The character will be registered in
memory. If it is used in a statement other
than a comment, an alarm occurs.
: If it is used in a statement other than a
comment, the character will not be
registered in memory. If it is used in a
comment, it will be registered in memory.
2 The symbol used in the column "Usable as file
name" has the following meaning:
*: Capable of being coded between "<" and ">" as
a file name.
3 Codes not in this table are ignored if their parity is
correct.
4 Codes with incorrect parity cause the TH alarm.
But they are ignored without generating the TH
alarm when they are in the comment section.
- 361 -
D.EXTERNAL DIMENSIONS OF BASIC UNIT APPENDIX B-63942EN/01
- 362 -
B-63942EN/01 APPENDIX D.EXTERNAL DIMENSIONS OF BASIC UNIT
No slot 2 slots
- 363 -
D.EXTERNAL DIMENSIONS OF BASIC UNIT APPENDIX B-63942EN/01
No slot 2 slots
- 364 -
B-63942EN/01 APPENDIX E.PRINTED CIRCUIT BOARD
- 365 -
E.PRINTED CIRCUIT BOARD APPENDIX B-63942EN/01
Battery
Rear of unit
COP10A-1 COP10A-2
(COP10A is a connector installed on the servo card.)
CA69A
CA55 JD56A JA40 JA41
CD38A
CK20A
CK21A CP1
JD36A JD51A
CA79A
JGM CA87A
CA88A
Main board
CA69A
CA55 JD56A JA40 JA41
CD38A
CK20A
CK21A CPD16A
JD36A JD51A
- 366 -
B-63942EN/01 APPENDIX E.PRINTED CIRCUIT BOARD
Connector
Connector
Connector
- 367 -
E.PRINTED CIRCUIT BOARD APPENDIX B-63942EN/01
DIMM DIMM
module module
socket socket
- 368 -
B-63942EN/01 APPENDIX E.PRINTED CIRCUIT BOARD
Battery
Rear view
Rear of unit
CA55 (FUSE)
JD56A JA40 JA41 Power supply
module
COP
CD38S
JD54 JD51A CA75 CA69A
CPD16A
CA88A
Main board
TP2
CA55 (FUSE)
JD56A JA40 JA41 Power supply
CPD12 module
CK20A
JD54 JD51A CA75 CA69A
CK21A
CP16A
- 369 -
E.PRINTED CIRCUIT BOARD APPENDIX B-63942EN/01
- 370 -
B-63942EN/01 APPENDIX E.PRINTED CIRCUIT BOARD
Connector
Connector
- 371 -
E.PRINTED CIRCUIT BOARD APPENDIX B-63942EN/01
Battery
Rear view
Rear of unit
CA55 (FUSE)
JD56A JA40 JA41
Power
COP supply unit
CD38S
JD54 JD51A CA75 CA69A
CPD16A
CA98
JNA CA78A CN79A
CA88A
Main board
TP2 CD46L
CA55 (FUSE)
JD56A JA40 JA41
Power
CPD12
supply unit
CK20A
JD54 JD51A CA75
CK21A
CP16A
- 372 -
B-63942EN/01 APPENDIX E.PRINTED CIRCUIT BOARD
- 373 -
E.PRINTED CIRCUIT BOARD APPENDIX B-63942EN/01
Connector
Connector
Main board
- 374 -
B-63942EN/01 APPENDIX E.PRINTED CIRCUIT BOARD
Inverter
Connector unit
Battery
Rear of unit
- 375 -
E.PRINTED CIRCUIT BOARD APPENDIX B-63942EN/01
Rear view
Rear of unit
COP10A-1
Power supply
module
COP
Two types of connectors are provided on the inverter PCB. Plug into a matching connector.
Each of the two cables from the LCD backlight section may be connected to either of the two
cables from the inverter.
- 376 -
B-63942EN/01 APPENDIX E.PRINTED CIRCUIT BOARD
JG2
S-BUS back-plane connector
CNH6
CD38R
- 377 -
E.PRINTED CIRCUIT BOARD APPENDIX B-63942EN/01
JGP
JD1A
COP10A
CA69A
JGP
JA41L
- 378 -
B-63942EN/01 APPENDIX F.EXTERNAL DIMENSIONS OF MDI UNIT
- 379 -
MDI unit Mounting panel hole drilling
(The unit is screwed to the outside of the cabinet,
and a cap is attached onto the unit.)
30i/300is
F.EXTERNAL DIMENSIONS OF MDI UNIT
- 380 -
APPENDIX
- 381 -
At the rear of the metal panel, the area
within 8 mm of the outside edge is left
unpainted.
Fig. 2 External dimensions of MDI unit (QWERTY key) for Series
F.EXTERNAL DIMENSIONS OF MDI UNIT
G.EXTERNAL DIMENSIONS OF EACH UNIT APPENDIX B-63942EN/01
- 382 -
B-63942EN/01 APPENDIX G.EXTERNAL DIMENSIONS OF EACH UNIT
3–M4
On the φ72 circumference
- 383 -
G.EXTERNAL DIMENSIONS OF EACH UNIT APPENDIX B-63942EN/01
- 384 -
B-63942EN/01 APPENDIX G.EXTERNAL DIMENSIONS OF EACH UNIT
- 385 -
G.EXTERNAL DIMENSIONS OF EACH UNIT APPENDIX B-63942EN/01
4–φ4.3 mounting
hole
Arrow view A
- 386 -
B-63942EN/01 APPENDIX G.EXTERNAL DIMENSIONS OF EACH UNIT
Main unit
Cover
- 387 -
G.EXTERNAL DIMENSIONS OF EACH UNIT APPENDIX B-63942EN/01
At the rear of the metal panel, the area within 8 mm of the outside edge is left unpainted.
- 388 -
B-63942EN/01 APPENDIX G.EXTERNAL DIMENSIONS OF EACH UNIT
The following is the panel cut layout drawing of this punch panel.
- 389 -
G.EXTERNAL DIMENSIONS OF EACH UNIT APPENDIX B-63942EN/01
Note)
When a screw-lock case of
low-rear type (FI-20-CV7)
manufactured by Hirose
Electric is used, the depth is 60
mm.
When a conventional case is
used, the depth is 80 mm.
- 390 -
B-63942EN/01 APPENDIX G.EXTERNAL DIMENSIONS OF EACH UNIT
- 391 -
G.EXTERNAL DIMENSIONS OF EACH UNIT APPENDIX B-63942EN/01
Unit : mm
- 392 -
B-63942EN/01 INDEX
INDEX
AXNUM Function.......................................................... 27
<A>
ABSOLUTE PROGRAMMING / INCREMENTAL <B>
PROGRAMMING........................................................ 147 BACKLASH COMPENSATION ................................. 286
ACCURACY COMPENSASION FUNCTION ........... 285 BACKLASH COMPENSATION FOR EACH RAPID
ACTUAL CUTTING FEEDRATE DISPLAY ............. 311 TRAVERSE AND CUTTING FEED ........................... 286
ACTUAL SPINDLE SPEED OUTPUT ....................... 246 BALANCE CUTTING ................................................. 119
ADDITION OF CUSTOM MACRO COMMON BELL-SHAPED ACCELERATION/DECELERATION
VARIABLES................................................................ 196 AFTER CUTTING FEED INTERPOLATION ............ 130
ADDITION OF WORKPIECE COORDINATE BELL-SHAPED ACCELERATION/DECELERATION
SYSTEM PAIR ............................................................ 160 BEFORE LOOK-AHEAD INTERPOLATION............ 138
AI CONTOUR CONTROL I / BI-DIRECTIONAL PITCH ERROR
AI CONTOUR CONTROL II....................................... 136 COMPENSATION ....................................................... 290
ALARM DISPLAY ...................................................... 307 Block Start Interlock....................................................... 46
ALARM HISTORY DISPLAY .................................... 308 BUFFER REGISTER ..................................................... 63
All-axis Interlock............................................................ 46
<C>
All-axis Machine Lock ................................................... 47
C LANGUAGE EXECUTOR....................................... 235
ANGULAR AXIS CONTROL ....................................... 35
CANNED CYCLE........................................................ 198
Arbitrary Axis Name....................................................... 26
CANNED CYCLE FOR DRILLING............................ 217
ARBITRARY AXIS NAME SETTING ......................... 26
CHAMFERING AND CORNER R.............................. 170
ARBITRARY COMMAND MULTIPLY ...................... 43
CHAMFERING ON/OFF............................................... 54
ARBITRARY POSITION REFERENCE SETTING
CHANGING ACTIVE OFFSET VALUE WITH
FOR Cs AXIS FUNCTION.......................................... 253
MANUAL MOVE ........................................................ 284
Assignment Of Required Parts Count And Machined
CHUCK AND TAIL STOCK BARRIER....................... 51
Parts Count ................................................................... 331
CIRCULAR INTERPOLATION.................................... 81
AUTOMATIC ACCELERATION/DECELERATION 127
CIRCULAR INTERPOLATION BY R P
Automatic Coordinate System Setting .......................... 156
ROGRAMMING .......................................................... 219
AUTOMATIC CORNER OVERRIDE ........................ 221
CIRCULAR THREADING .......................................... 103
Automatic Operation (Memory Operation) .................... 60
CLOCK FUNCTION.................................................... 302
Automatic Operation Signal ......................................... 340
COMMON COMPENSATION MEMORY
Automatic Operation Start Lamp Signal....................... 340
BETWEEN EACH PATH ............................................ 259
Automatic Reference Position Return .......................... 110
CONSTANT SURFACE SPEED CONTROL.............. 245
AUTOMATIC TOOL LENGTH MEASUREMENT ... 279
Constant Surface Speed Signal ..................................... 342
AUTOMATIC TOOL OFFSET.................................... 281
CONTINUOUS THREADING..................................... 101
AUXILIARY FUNCTION ........................................... 238
CONTROL AXIS DETACH .......................................... 41
AUXILIARY FUNCTION / SPINDLE SPEED
CONTROL-IN / CONTROL-OUT............................... 143
FUNCTION .................................................................. 237
CONTROLLED AXIS.................................................... 19
AUXILIARY FUNCTION LOCK ............................... 239
COORDINATE SYSTEM............................................ 154
AXIS CONTROL BY PMC ........................................... 22
COORDINATE SYSTEM ROTATION....................... 225
Axis Moving Direction Signal...................................... 342
Cs CONTOURING CONTROL ..................................... 23
Axis Moving Signal...................................................... 341
CURRENT POSITION DISPLAY ............................... 303
Axis Name Expansion .................................................... 25
CUSTOM MACRO ...................................................... 189
AXIS SYNCHRONOUS CONTROL............................. 34
i-1
INDEX B-63942EN/01
i-2
B-63942EN/01 INDEX
<G> <K>
G Code for Lathe System.............................................. 163 KEY AND PROGRM ENCRYPTION......................... 299
G CODE SYSTEM....................................................... 163
<L>
G Code System for Machining Center .......................... 167
LABEL SKIP................................................................ 142
<H> LINEAR ACCELERATION/DECELERATION
HELICAL INTERPOLATION....................................... 87 AFTER CUTTING FEED INTERPOLATION ............ 135
HELICAL INTERPOLATION B ................................... 89 LINEAR ACCELERATION/DECELERATION
HIGH-SPEED M/S/T/B INTERFACE......................... 240 BEFORE CUTTING FEED INTERPOLATION.......... 131
HIGH-SPEED POSITION SWITCH.............................. 57 LINEAR INTERPOLATION ......................................... 80
HIGH-SPEED PROCESSING ..................................... 138 Linear Scale Interface with Absolute Address Reference
High-speed Skip ........................................................... 108 Mark ............................................................................... 58
HRV CONTROL............................................................ 44 LINEAR SCALE WITH ABSOLUTE ADDRESS
HYPOTHETICAL AXIS INTERPOLATION................ 92 REFERENCE MARK..................................................... 58
Linear Scale with Absolute Address Reference Mark
<I>
Expansion ....................................................................... 58
I/O Link EXPANSION SECOND/THIRD/FOURTH
LIST OF FUNCTIONS AND PROGRAM FORMAT . 348
CHANNEL ................................................................... 337
LIST OF SPECIFICATION ............................................. 6
Inch Input Signal .......................................................... 341
LOADER CONTROL..................................................... 23
INCH/METRIC CONVERSION.................................... 45
Local Coordinate System.............................................. 158
INCLINATION COMPENSATION ............................ 291
LOOK-AHEAD BLOCKS EXPANSION .................... 138
INCLINED ROTARY AXIS CONTROL ...................... 36
INCREMENT SYSTEM ................................................ 42 <M>
INCREMENTAL FEED................................................. 74 Machine Coordinate System ......................................... 154
INDEX TABLE INDEXING........................................ 120 MACHINE GROUP / CONTROLLED PATH /
In-position Signal ......................................................... 341 CONTROLLED AXIS.................................................... 20
INPUT UNIT 10 TIME MULTIPLY ........................... 149 MACHINE LOCK.......................................................... 47
INTERFACE FUNCTION ........................................... 333 MACHINING CONDITION SELECTING
INTERFERENCE CHECK FOR EACH PATH............. 55 FUNCTION .................................................................. 325
INTERLOCK.................................................................. 46 MACRO EXECUTOR ................................................. 234
INTERPOLATION FUNCTION.................................... 76 MAINTENANCE INFORMATION SCREEN ............ 319
INTERPOLATION TYPE PITCH ERROR MALFUNCTION PREVENT FUNCTIONS ................. 61
COMPENSATION ....................................................... 289 MANUAL ABSOLUTE ON AND OFF....................... 161
INTERPOLATION TYPE STRAIGHTNESS MANUAL FEED FOR 5-AXIS MACHINING.............. 69
COMPENSATION ....................................................... 293 MANUAL HANDLE FEED........................................... 68
Interpolation Type Straightness Compensation ............ 293 Manual Handle Feed (1st) .............................................. 68
INTERRUPTION TYPE CUSTOM MACRO ............. 197 Manual Handle Feed (2nd and 3rd) ................................ 68
INVERSE TIME FEED................................................ 133 Manual Handle Feed Magnification ............................... 68
INVOLUTE INTERPOLATION.................................... 90 MANUAL HANDLE INTERRUPTION ........................ 74
MANUAL NUMERICAL COMMAND ........................ 75
<J>
MANUAL PER REVOLUTION FEED ....................... 133
JERK CONTROL......................................................... 139
MANUAL REFERENCE POSITION RETURN ........... 64
JOG AND HANDLE SIMULTANEOUS MODE.......... 75
MAXIMUM COMMAND VALUES ........................... 144
JOG FEED...................................................................... 64
MDI Operation ............................................................... 60
JOG OVERRIDE.......................................................... 133
MEMORY CARD INPUT/OUTPUT ........................... 332
i-3
INDEX B-63942EN/01
i-4
B-63942EN/01 INDEX
i-5
INDEX B-63942EN/01
TILTED WORKING PLANE COMMAND................. 228 WRONG OPERATION PREVENTION FUNCTION ... 62
i-6
Revision Record
FANUC Series 30i/300i/300is-MODEL A DESCRIPTIONS (B-63942EN)
01 Aug., 2003