Professional Documents
Culture Documents
OPERATOR'S MANUAL
B-64554EN/01
• No part of this manual may be reproduced in any form.
• All specifications and designs are subject to change without notice.
The products in this manual are controlled based on Japan’s “Foreign Exchange and
Foreign Trade Law”. The export from Japan may be subject to an export license by the
government of Japan. Further, re-export to another country may be subject to the license
of the government of the country from where the product is re-exported. Furthermore, the
product may also be controlled by re-export regulations of the United States government.
Should you wish to export or re-export these products, please contact FANUC for advice.
The products in this manual are manufactured under strict quality control. However, when
using any of the products in a facility in which a serious accident or loss is predicted due to
a failure of the product, install a safety device.
In this manual we have tried as much as possible to describe all the various matters.
However, we cannot describe all the matters which must not be done, or which cannot be
done, because there are so many possibilities.
Therefore, matters which are not especially described as possible in this manual should be
regarded as ”impossible”.
This manual contains the program names or device names of other companies, some of
which are registered trademarks of respective owners. However, these names are not
followed by ® or ™ in the main body.
B-64554EN/01 SAFETY PRECAUTIONS
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
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-1
SAFETY PRECAUTIONS B-64554EN/01
CAUTION
1 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.
2 The OPERATOR’S MANUAL and programming manual supplied with a CNC
unit provide an overall description of the machine's functions, including any
optional functions. Note that the optional functions will vary from one machine
model to another. Therefore, some functions described in the manuals may not
actually be available for a particular model. Check the specification of the
machine if in doubt.
s-2
B-64554EN/01 SAFETY PRECAUTIONS
CAUTION
3 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.
4 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.
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.
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 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-3
SAFETY PRECAUTIONS B-64554EN/01
WARNING
5 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.
CAUTION
1 Absolute/incremental mode
If a program created with absolute values is run in incremental mode, or vice
versa, the machine may behave unexpectedly.
2 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.
3 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.
4 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.
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.
s-4
B-64554EN/01 SAFETY PRECAUTIONS
WARNING
3 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.
4 Disabled override
If override is disabled (according to the specification in a macro variable), the
speed cannot be predicted, possibly damaging the tool, the machine itself, the
workpiece, or causing injury to the operator.
5 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.
6 Workpiece coordinate system shift
Manual intervention, machine lock, or mirror imaging may shift the workpiece
coordinate system. Before attempting to operate the machine under the control
of a program, confirm the coordinate system carefully.
If the machine is operated under the control of a program without making
allowances for any shift in the workpiece coordinate system, the machine may
behave unexpectedly, possibly damaging the tool, the machine itself, the
workpiece, or causing injury to the operator.
7 Software operator's panel and menu switches
Using the software operator's panel and menu switches, in combination with the
MDI panel, it is possible to specify operations not supported by the machine
operator's panel, such as mode change, override value change, and jog feed
commands.
Note, however, that if the MDI panel keys are operated inadvertently, the
machine may behave unexpectedly, possibly damaging the tool, the machine
itself, the workpiece, or causing injury to the user.
8 RESET key
Pressing the RESET key stops the currently running program. As a result, the
servo axes are stopped. However, the RESET key may fail to function for
reasons such as an MDI panel problem. So, when the motors must be stopped,
use the emergency stop button instead of the RESET key to ensure security.
CAUTION
1 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
parameters, and absolute/incremental command mode.
2 Feed hold, override, and single block
The feed hold, feedrate override, and single block functions can be disabled
using custom macro system variable #3004. Be careful when operating the
machine in this case.
s-5
SAFETY PRECAUTIONS B-64554EN/01
CAUTION
3 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.
4 Cutter radius compensation in MDI mode
Pay careful attention to a tool path specified by a command in MDI mode,
because cutter radius compensation is not applied. When a command is entered
from the MDI to interrupt in automatic operation in cutter 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.
5 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.
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 “IV. MAINTENANCE - Method of replacing battery” in the
OPERATOR’S MANUAL for details of the battery replacement procedure.
s-6
B-64554EN/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 Section “IV. MAINTENANCE - Method of replacing battery” in the
OPERATOR’S MANUAL for details of the battery replacement procedure.
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-7
B-64554EN/01 TABLE OF CONTENTS
TABLE OF CONTENTS
SAFETY PRECAUTIONS............................................................................s-1
DEFINITION OF WARNING, CAUTION, AND NOTE ............................................. s-1
GENERAL WARNINGS AND CAUTIONS............................................................... s-2
WARNINGS AND CAUTIONS RELATED TO PROGRAMMING ............................ s-3
WARNINGS AND CAUTIONS RELATED TO HANDLING...................................... s-4
WARNINGS RELATED TO DAILY MAINTENANCE ............................................... s-6
I. GENERAL
1 GENERAL ............................................................................................... 3
1.1 NOTES ON READING THIS MANUAL.......................................................... 5
1.2 NOTES ON VARIOUS KINDS OF DATA ...................................................... 5
II. PROGRAMMING
1 GENERAL ............................................................................................... 9
1.1 TOOL MOVEMENT ALONG WORKPIECE PARTS
FIGURE-INTERPOLATION ......................................................................... 10
1.2 FEED-FEED FUNCTION ............................................................................. 12
1.3 PART DRAWING AND TOOL MOVEMENT ................................................ 12
1.3.1 Reference Position (Machine-specific Position) ....................................................12
1.3.2 Coordinate System on Part Drawing and Coordinate System Specified by CNC -
Coordinate System .................................................................................................13
1.3.3 How to Indicate Command Dimensions for Moving the Tool (Absolute and
Incremental Programming).....................................................................................15
1.4 SELECTION OF TOOL USED FOR VARIOUS MACHINING - TOOL
FUNCTION .................................................................................................. 16
1.5 COMMAND FOR MACHINE OPERATIONS - AUXILIARY FUNCTION ...... 16
1.6 PROGRAM CONFIGURATION ................................................................... 17
1.7 TOOL MOVEMENT RANGE - STROKE...................................................... 19
2 CONTROLLED AXES ........................................................................... 20
2.1 NUMBER OF CONTROLLED AXES ........................................................... 20
2.2 NAMES OF AXES ....................................................................................... 20
2.3 INCREMENT SYSTEM................................................................................ 20
2.4 MAXIMUM STROKE.................................................................................... 21
3 PREPARATORY FUNCTION (G FUNCTION) ...................................... 22
3.1 G CODE LIST .............................................................................................. 23
4 INTERPOLATION FUNCTIONS............................................................ 25
4.1 POSITIONING (G00) ................................................................................... 25
4.2 LINEAR INTERPOLATION (G01)................................................................ 26
4.3 CIRCULAR INTERPOLATION (G02, G03).................................................. 28
4.4 HELICAL INTERPOLATION (G02, G03) ..................................................... 32
4.5 SKIP FUNCTION (G33)............................................................................... 33
c-1
TABLE OF CONTENTS B-64554EN/01
c-2
B-64554EN/01 TABLE OF CONTENTS
c-3
TABLE OF CONTENTS B-64554EN/01
c-4
B-64554EN/01 TABLE OF CONTENTS
III. OPERATION
1 GENERAL ........................................................................................... 331
1.1 MANUAL OPERATION.............................................................................. 331
1.2 TOOL MOVEMENT BY PROGRAMING - AUTOMATIC OPERATION ..... 332
1.3 AUTOMATIC OPERATION ....................................................................... 333
1.4 TESTING A PROGRAM ............................................................................ 334
1.4.1 Check by Running the Machine ...........................................................................334
1.4.2 How to View the Position Display Change without Running the Machine .........336
1.5 EDITING A PROGRAM ............................................................................. 336
1.6 DISPLAYING AND SETTING DATA.......................................................... 336
1.7 DISPLAY ................................................................................................... 339
1.7.1 Program Display...................................................................................................339
1.7.2 Current Position Display ......................................................................................340
1.7.3 Alarm Display ......................................................................................................341
1.7.4 Parts Count Display, Run Time Display ..............................................................341
c-6
B-64554EN/01 TABLE OF CONTENTS
3.6.5 Axis Control by PMC...........................................................................................375
3.6.6 Note ......................................................................................................................375
3.7 LINEAR SCALE WITH DISTANCE-CODED REFERENCE MARKS
(SERIAL) ................................................................................................... 376
4 AUTOMATIC OPERATION ................................................................. 380
4.1 MEMORY OPERATION ............................................................................ 380
4.2 MDI OPERATION ...................................................................................... 382
4.3 DNC OPERATION..................................................................................... 385
4.4 SCHEDULE OPERATION ......................................................................... 387
4.5 EXTERNAL SUBPROGRAM CALL (M198)............................................... 391
4.6 MANUAL HANDLE INTERRUPTION ........................................................ 393
4.7 MIRROR IMAGE........................................................................................ 399
5 TEST OPERATION ............................................................................. 401
5.1 MACHINE LOCK AND AUXILIARY FUNCTION LOCK ............................. 401
5.2 FEEDRATE OVERRIDE ............................................................................ 402
5.3 RAPID TRAVERSE OVERRIDE................................................................ 403
5.4 DRY RUN .................................................................................................. 404
5.5 SINGLE BLOCK ........................................................................................ 405
5.6 PUNCH...................................................................................................... 406
5.7 MANUAL PUNCH ...................................................................................... 407
6 SAFETY FUNCTIONS......................................................................... 408
6.1 EMERGENCY STOP................................................................................. 408
6.2 OVERTRAVEL........................................................................................... 408
6.3 STORED STROKE CHECK....................................................................... 409
6.4 STROKE LIMIT CHECK BEFORE MOVE ................................................. 412
6.5 WRONG OPERATION PREVENTION FUNCTIONS ................................ 414
6.5.1 Functions that are Used When Data is Set ...........................................................415
6.5.1.1 Input data range check ..................................................................................... 415
6.5.1.2 Confirmation of incremental input .................................................................. 416
6.5.1.3 Prohibition of the absolute input by the soft key ............................................. 417
6.5.1.4 Confirmation of the deletion of the program ................................................... 417
6.5.1.5 Confirmation of the deletion of all data........................................................... 418
6.5.1.6 Confirmation of a data update during the data setting process ........................ 418
6.5.2 Functions that are Used when the Program is Executed ......................................418
6.5.2.1 Display of updated modal information ............................................................ 419
6.5.2.2 Start check signal............................................................................................. 419
6.5.2.3 Axis status display ........................................................................................... 420
6.5.2.4 Confirmation of the start from a middle block ................................................ 420
6.5.2.5 Data range check ............................................................................................. 421
6.5.2.6 Maximum incremental value check ................................................................. 421
6.5.2.7 Warning display during a reset in program operation ..................................... 422
6.5.3 Setting Screen.......................................................................................................422
6.5.3.1 Operation confirmation function setting screen............................................... 423
6.5.3.2 Tool offset range setting screen ....................................................................... 424
6.5.3.3 Workpiece origin offset range setting screen .................................................. 426
6.6 SAFETY ZONE CHECK ............................................................................ 427
6.6.1 Punch Forbidden Area and Approach Forbidden Area (Type A) ........................428
6.6.2 Punch Forbidden Area and Approach Forbidden Area (Type B).........................429
6.6.3 Setting the Safety Zone ........................................................................................430
c-7
TABLE OF CONTENTS B-64554EN/01
IV. MAINTENANCE
1 ROUTINE MAINTENANCE ................................................................. 657
1.1 ACTION TO BE TAKEN WHEN A PROBLEM OCCURRED ..................... 658
1.2 BACKING UP VARIOUS DATA ITEMS ..................................................... 659
1.3 METHOD OF REPLACING BATTERY ...................................................... 660
1.3.1 Replacing Battery for CNC Control Unit.............................................................660
1.3.2 Battery in the PANEL i (3 VDC) .........................................................................664
1.3.3 Replacing Battery for Absolute Pulsecoders ........................................................665
1.3.3.1 Overview ......................................................................................................... 665
1.3.3.2 Replacing batteries........................................................................................... 666
1.3.3.3 Replacing the batteries in a separate battery case ............................................ 666
1.3.3.4 Replacing the battery built into the servo amplifier......................................... 667
APPENDIX
A PARAMETERS.................................................................................... 671
A.1 DESCRIPTION OF PARAMETERS........................................................... 671
A.2 DATA TYPE............................................................................................... 781
c-11
TABLE OF CONTENTS B-64554EN/01
c-13
TABLE OF CONTENTS B-64554EN/01
c-14
I. GENERAL
B-64554EN/01 GENERAL 1.GENERAL
1 GENERAL
This manual consists of the following parts:
NOTE
1 This manual does not detail the parameters not mentioned in the text. For details
of those parameters, refer to the Parameter Manual (B-64310EN, B-64560EN).
Parameters are used to set functions and operating conditions of a CNC
machine tool, and frequently-used values in advance. Usually, the machine tool
builder factory-sets parameters so that the user can use the machine tool easily.
2 This manual describes not only basic functions but also optional functions. Look
up the options incorporated into your system in the manual written by the
machine tool builder.
Applicable models
This manual describes the model indicated in the table below.
In the text, the abbreviations indicated below may be used.
Special symbols
This manual uses the following symbols:
- IP
Indicates a combination of axes such as X_ Y_ Z_
In the underlined position following each address, a numeric value such as a coordinate value is placed
(used in PROGRAMMING.).
- ;
Indicates the end of a block. It actually corresponds to the ISO code LF or EIA code CR.
-3-
1.GENERAL GENERAL B-64554EN/01
CNCs that are described in this manual can be connected to above servo motors.
This manual mainly assumes that the FANUC SERVO MOTOR αi series of servo motor is used. For
servo motor information, refer to the manuals for the servo motor that are actually connected.
-4-
B-64554EN/01 GENERAL 1.GENERAL
-5-
II. PROGRAMMING
B-64554EN/01 PROGRAMMING 1.GENERAL
1 GENERAL
Chapter 1, "GENERAL", consists of the following sections:
(2) Continuous, repetitive punching can be performed without halting the pressing process after
positioning
.............Nibbling function
Program command
M12 ;
G00 X_ Q_ ;
X_ Y_ ;
:
:
M13 ;
-9-
1.GENERAL PROGRAMMING B-64554EN/01
(3) By giving commands for block, it is possible to perform at multiple positions in a given profile.
.............Pattern function
#(n−1)
d #3 Program command
#2 G76 I_ J_ K_ ;
#1
θ
+X
In case of line at angle (G76)
This CNC supports the eight different patterns that will be used most frequently.
Explanation
The function of moving the tool along straight lines and arcs is called the interpolation.
Program
G01X_Y_T_;
X_;
Tool
Workpiece
Y
- 10 -
B-64554EN/01 PROGRAMMING 1.GENERAL
Program
G03X_Y_R_;
Tool
Workpiece
The term interpolation refers to an operation in which the tool moves along a straight line or arc in the
way described above.
Symbols of the programmed commands G01, G02, ... are called the preparatory function and specify the
type of interpolation conducted in the control unit.
(a) Movement along straight line (b) Movement along arc
G01 Y_ ; G03X_ Y_ R_ ;
X_ Y_ ;
CNC
X axis
Tool
Interpolation movement
Y axis
a)Movement
along straight
line
b)Movement
along arc
NOTE
Some machines move tables instead of tools but this manual assumes that tools
are moved against workpieces.
- 11 -
1.GENERAL PROGRAMMING B-64554EN/01
mm/min Tool
F
Workpiece
For example, to feed the tool at a rate of 150 mm/min (feed per minute), specify the following in the
program:
F150.0
The function of deciding the feed rate is called the feed function (See Chapter, “FEED FUNCTIONS”).
Reference point
Workpiece holder
- 12 -
B-64554EN/01 PROGRAMMING 1.GENERAL
Explanation
The tool can be moved to the reference position in two ways:
1. Manual reference position return (See Section, “MANUAL REFERENCE POSITION RETURN”)
Reference position return is performed by manual button operation.
2. Automatic reference position return (See Section, “REFERENCE POSITION RETURN”)
In general, manual reference position return is performed first after the power is turned on. In order
to move the tool to the reference position for tool change thereafter, the function of automatic
reference position return is used.
Z
Z
Y Program Y
X X
Coordinate system
Part drawing CNC
Tool
Command
Tool
Z
Y
Workpiece
X
Machine tool
Explanation
- Coordinate system
The following two coordinate systems are specified at different locations:
(See Chapter, “ COORDINATE SYSTEM”)
1 Coordinate system on part drawing
The coordinate system is written on the part drawing. As the program data, the coordinate values on
this coordinate system are used.
2. Coordinate system specified by the CNC
The coordinate system is prepared on the actual machine tool table. This can be achieved by
programming the distance from the current position of the tool to the zero point of the coordinate
system to be set.
- 13 -
1.GENERAL PROGRAMMING B-64554EN/01
Concrete programming methods for setting coordinate systems specified by the CNC are explained in
Chapter, “COORDINATE SYSTEM”
The positional relation between these two coordinate systems is determined when a workpiece is set on
the table.
The tool moves on the coordinate system specified by the CNC in accordance with the command program
generated with respect to the coordinate system on the part drawing, and cuts a workpiece into a shape on
the drawing.
Therefore, in order to correctly cut the workpiece as specified on the drawing, the two coordinate systems
must be set at the same position.
Face B
Workpiece X
図1.3.2 (c)
- 14 -
B-64554EN/01 PROGRAMMING 1.GENERAL
Generally, the distance between the reference point and the and locator as well as the distance between
the reference point and the workpiece holders are intrinsically determined according to machines, and
they are separated from each other by a fixed distance.
- Absolute command
The tool moves to a point at "the distance from zero point of the coordinate system" that is to the position
of the coordinate values.
Tool
B(10,30)
A
X
- Incremental command
Specify the distance from the previous tool position to the next tool position.
Tool
Y=-30
X=40 B
X
- 15 -
1.GENERAL PROGRAMMING B-64554EN/01
03
04
02
05
Tool number
01
06
08
07
Turret
Workpiece
Clamper
Workpiece holder
The function of specifying the on–off operations of the components of the machine is called the
miscellaneous function. In general, the function is specified by and M code.
- 16 -
B-64554EN/01 PROGRAMMING 1.GENERAL
Block
Block
Tool movement
sequence
Block
Program Block
:
:
:
:
Block
A group of commands at each step of the sequence is called the block. The program consists of a group of
blocks for a series of machining. The number for discriminating each block is called the sequence number,
and the number for discriminating each program is called the program number (See Chapter,
“PROGRAM CONFIGURATION”).
Explanation
The block and the program have the following configurations.
- Block
1 block
End of block
A block starts with a sequence number to identify the block and ends with an end-of-block code.
This manual indicates the end-of-block code by; (LF in the ISO code and CR in the EIA code).
The contents of the dimension word depend on the preparatory function. In this manual, the portion of the
dimension word may be represent as IP_.
- 17 -
1.GENERAL PROGRAMMING B-64554EN/01
- Program
;
Oxxxxx ; Program number
Block
Block
Block
: :
: :
: :
Normally, a program number is specified after the end-of-block (;) code at the beginning of the program,
and a program end code (M02 or M30) is specified at the end of the program.
: Subprogram #1
:
M98P1001 O1001
:
:
:
M99
M98P1002
:
:
Subprogram #2
M98P1001 O1002
:
:
:
M99
- 18 -
B-64554EN/01 PROGRAMMING 1.GENERAL
Motor
Limit
switch
Stroke area
Besides strokes defined with limit switches, the operator can define an area which the tool cannot enter
using a program or data in memory. This function is called stroke check (See Section, “STORED
STROKE CHECK”).
Motor
Limit
switch
- 19 -
2.CONTROLLED AXES PROGRAMMING B-64554EN/01
2 CONTROLLED AXES
Chapter 2, "CONTROLLED AXES", consists of the following sections:
Explanation
The number of controlled axes used with this NC system is as indicated below.
Series 0i-PD
Controlled paths 1 path
Total number of controlled axes Max. 7 axes
Feed axes Max. 7 axes
Simultaneously controlled axes Max. 4 axes
Axis control by PMC Max. 4 axes at a time
NOTE
1 The maximum number of controlled axes that can be used is limited depending
on the option configuration. Refer to the manual provided by the machine tool
builder for details.
2 The number of simultaneously controllable axes for manual operation (jog feed,
manual reference position return, or manual rapid traverse) is 1 or 3 (1 when bit
0 (JAX) of parameter No. 1002 is set to 0 and 3 when it is set to 1).
NOTE
Axis names are predetermined according to the machine used. Refer to the
manual supplied by the machine tool builder.
- 20 -
B-64554EN/01 PROGRAMMING 2.CONTROLLED AXES
Two types of increment systems are available as indicated in Table 2.3 (a). For each axis, an increment
system can be set using a bit from bit 0 (ISA) of parameter No. 1013.
The least command increment is either metric or inch depending on the machine tool. Set metric or inch
to the bit 0 (INM) of parameter No. 0100.
For selection between metric and inch for the least input increment, G code (G20 or G21) or a setting
parameter selects it.
Combined use of the inch system and the metric system is not allowed. There are functions that cannot be
used between axes with different unit systems (circular interpolation, cutter compensation, etc.). For the
increment system, see the machine tool builder's manual.
NOTE
The actual stroke depends on the machine tool.
- 21 -
3. PREPARATORY FUNCTION
(G FUNCTION) PROGRAMMING B-64554EN/01
Type Meaning
One-shot G code The G code is effective only in the block in which it is specified.
Modal G code The G code is effective until another G code of the same group is specified.
(Example)
G01 and G00 are modal G codes in group 01.
G01 X_ ;
Y_ ; G01 is effective in this range.
X_ ;
G00 Y_ ;
:
Explanation
1. When the clear state (bit 6 (CLR) of parameter No. 3402) is set at power-up or reset, the modal G
codes are placed in the states described below.
(1) The modal G codes are placed in the states marked with as indicated in Table3.1 (a).
(2) G20 and G21 remain unchanged when the clear state is set at power-up or reset.
(3) Which status G22 or G23 at power on is set by bit 7 (G23) of parameter No. 3402. However,
G22 and G23 remain unchanged when the clear state is set at reset.
(4) The user can select G00 or G01 by setting bit 0 (G01) of parameter No. 3402.
(5) The user can select G90 or G91 by setting bit 3 (G91) of parameter No. 3402.
(6) In the machining center system, the user can select G17, G18, or G19 by setting bits 1 (G18)
and 2 (G19) of parameter No. 3401.
2. G codes other than G10 and G11 are one-shot G codes.
3. When a G code not listed in the G code list is specified, or a G code that has no corresponding
option is specified, alarm PS0010 occurs.
4. Multiple G codes can be specified in the same block if each G code belongs to a different group. If
multiple G codes that belong to the same group are specified in the same block, only the last G code
specified is valid.
5. G codes are indicated by group.
6. There are two G code systems in the FANUC Series 0i-PD (Table3.1 (a)). Select a G code system
using bit 6 (GSB) of parameter No. 3401.
- 22 -
3.PREPARATORY FUNCTION
B-64554EN/01 PROGRAMMING (G FUNCTION)
- 23 -
3. PREPARATORY FUNCTION
(G FUNCTION) PROGRAMMING B-64554EN/01
G code system
Group Function
A B
G68 G68 Circular nibbling
G69 G69 Linear nibbling
G70 G70 Positioning & press off
G72 G72 Standard point command
G73 G75 Multi–piece machining command X
G74 G76 00 Multi–piece machining command Y
G75 G27 Automatic repositioning
G76 G28 Line at angle
G77 G29 Arc
G78 G36 GridⅠ
G79 G37 GridⅡ
G84 G84 Coordinate system rotation start
16
G85 G85 Coordinate system rotation cancel
G86 G66 Share proof
G87 G67 Square
00
G88 G78 Radius
G89 G79 Cut at angle
G90 G90 Absolute programming
03
G91 G91 Incremental programming
G91.1 G91.1 Checking the maximum incremental amount specified
G92 G92 Setting for workpiece coordinate system
00
G92.1 G92.1 Workpiece coordinate system preset
G98 G98 Coordinate system setting (Multi–piece machining)
*1: In punching mode, AI Advanced Preview Control I function cannot be used.
- 24 -
B-64554EN/01 PROGRAMMING 4.INTERPOLATION FUNCTIONS
4 INTERPOLATION FUNCTIONS
Interpolation functions specify the way to make an axis movement (in other words, a movement of the
tool with respect to the workpiece or table).
Format
G00 IP_ ;
IP_ : For an absolute programming, the coordinates of an end point, and for an
incremental programming, the distance the tool moves.
Explanation
Either of the following tool paths can be selected according to bit 1 (LRP) of parameter No. 1401.
• Nonlinear interpolation type positioning
The tool is positioned with the rapid traverse rate for each axis separately. The tool path is normally
straight.
• Linear interpolation type positioning
The tool is positioned within the shortest possible time at a speed that is not more than the rapid
traverse rate for each axis.
Linear interpolation type positioning Start position
End position
Non linear interpolation type positioning
The rapid traverse rate in G00 command is set to the parameter No. 1420 for each axis independently by
the machine tool builder. In the positioning mode actuated by G00, the tool is accelerated to a
predetermined speed at the start of a block and is decelerated at the end of a block. Execution proceeds to
the next block after confirming the in-position.
- 25 -
4.INTERPOLATION FUNCTIONS PROGRAMMING B-64554EN/01
"In-position " means that the feed motor is within the specified range.
This range is determined by the machine tool builder by setting to parameter No. 1826.
When G00X_Y_T ; is specified in a machine having a turret axis (T–axis), the X and Y axes move to the
specified positions at rapid traverse rate and also the T–axis moves at the predetermined rapid traverse
rate in such a way as to select a specified tool number.
In a machine provided with a die angle index (C–axis), if “G00X_Y_ ; ” is specified, the X, Y, and C axes
move simultaneously at the predetermined rapid traverse rate.
Refer to “C axis control” for the details.
Since this control system treats the turret punch press as a controlled system, the tool moves to the
commanded position as fast as possible for punching as the basic principle.
Accordingly, the tool is positioned at rapid traverse, punching is done after axis movement in the G00
mode, in principle.
Refer to “Punch function” for details.
CAUTION
For T– or C–axis command blocks, nonlinear interpolation positioning is
performed, even if linear interpolation positioning is specified.
And, for block including G28 or G53 command, nonlinear interpolation
positioning is performed.
Please pay attention for the interference between tool and workpiece.
Format
G01 IP_ F_ ;
IP_ : For an absolute programming, the coordinates of an end point, and for an incremental
programming, the distance the tool moves.
F_ : Speed of tool feed (Feedrate)
Explanation
A tools move along a line to the specified position at the feedrate specified in F.
The feedrate specified in F is effective until a new value is specified. It need not be specified for each
block.
The feedrate commanded by the F code is measured along the tool path. If the F code is not commanded,
the feedrate is regarded as zero.
The feedrate of each axis direction is as follows.
- 26 -
B-64554EN/01 PROGRAMMING 4.INTERPOLATION FUNCTIONS
G01 αα ββ γγ ζζ Ff ;
α
Feed rate of α axis direction : Fα = ×f
L
β
Feed rate of β axis direction : Fβ = ×f
L
γ
Feed rate of γ axis direction : Fγ = ×f
L
ζ
Feed rate of ζ axis direction : Fζ = ×f
L
L = α 2 + β 2 +γ 2 +ζ 2
The feedrate of the rotary axis is commanded in the unit of deg/min (the unit is decimal point position).
When the straight line axis α (such as X, Y, or Z) and the rotating axis β (such as A, B, or C) are linearly
interpolated, the feedrate is that in which the tangential feedrate in the α and β Cartesian coordinate
system is commanded by F (mm/min).
β-axis feedrate is obtained ; at first, the time required for distribution is calculated by using the above
formula, then the β-axis feedrate unit is changed to deg/min.
In simultaneous 3 axes control, the feedrate is calculated the same way as in 2 axes control.
Limitations
• Punching (1–cycle pressing) is not performed in G01 mode. However, when bit 7 (CPF) of
parameter No.16001 is set to 1, punching can be performed on the end point in G01 mode.
• T code can’t be specified in G01 mode. If specified, an alarm (PS 4600) occurs.
However, when T code is specified independently and bit 0 (NMG) of parameter No.16181 is set, an
alarm does not occur.
Example
- Linear interpolation
(G91) G01X200.0Y100.0F200.0;
Y axis
X axis
0 (Start point) 200.0
- 27 -
4.INTERPOLATION FUNCTIONS PROGRAMMING B-64554EN/01
(Start point)
90°
(End point)
Feedrate is 300 deg/min
Format
Arc in the XpYp plane
G02 I_ J_
G17 Xp_ Yp_ F_ ;
G03 R_
Arc in the ZpXp plane
G02 I_ K_
G18 Zp_ Xp_ F_ ;
G03 R_
Arc in the YpZp plane
G02 J_ K_
G19 Yp_ Zp_ F_ ;
G03 R_
Command Description
G17 Specification of arc on XpYp plane
G18 Specification of arc on ZpXp plane
G19 Specification of arc on YpZp plane
G02 Circular Interpolation : Clockwise direction (CW)
G03 Circular Interpolation : Counterclockwise direction (CCW)
Xp_ Command values of X axis or its parallel axis (set by parameter No. 1022)
Yp_ Command values of Y axis or its parallel axis (set by parameter No. 1022)
Zp_ Command values of Z axis or its parallel axis (set by parameter No. 1022)
I_ Xp axis distance from the start point to the center of an arc with sign
J_ Yp axis distance from the start point to the center of an arc with sign
K_ Zp axis distance from the start point to the center of an arc with sign
R_ Arc radius (with sign, radius value for lathe cutting)
F_ Feedrate along the arc
Explanation
- Direction of the circular interpolation
"Clockwise"(G02) and "counterclockwise"(G03) on the XpYp plane (ZpXp plane or YpZp plane) are
defined when the XpYp plane is viewed in the positive-to-negative direction of the Zp axis (Yp axis or
Xp axis, respectively) in the Cartesian coordinate system. See the figure below (Fig. 4.3 (a)).
- 28 -
B-64554EN/01 PROGRAMMING 4.INTERPOLATION FUNCTIONS
Y X Z
y x z
x Start z Start y Start
i k j
point point point
j i k
Center Center Center
- Arc radius
The distance between an arc and the center of a circle that contains the arc can be specified using the
radius, R, of the circle instead of I, J, and K.
In this case, one arc is less than 180°, and the other is more than 180° are considered. When an arc
exceeding 180° is commanded, the radius must be specified with a negative value. If Xp, Yp, and Zp are
all omitted, if the end point is located at the same position as the start point and when R is used, an arc of
0° is programmed
G02R_ ; (The cutter does not move.)
- 29 -
4.INTERPOLATION FUNCTIONS PROGRAMMING B-64554EN/01
End point
<1>
Start point
r=50mm
Y
- Feedrate
The feedrate in circular interpolation is equal to the feedrate specified by the F code, and the feedrate
along the arc (the tangential feedrate of the arc) is controlled to be the specified feedrate.
The error between the specified feedrate and the actual tool feedrate is ±2% or less. However, this
feedrate is measured along the arc after the tool radius compensation is applied
Limitation
- Simultaneously specifying R with I, J, and K
If I, J, K, and R addresses are specified simultaneously, the arc specified by address R takes precedence
and the other are ignored.
- 30 -
B-64554EN/01 PROGRAMMING 4.INTERPOLATION FUNCTIONS
End point
γe
γ(t) ( γ e − γ s) θ(t )
γ (t) = γ s +
θ θ
θ(t)
Start point
γs Center
Radius
Start point
γs
γe End point
Center θ
θ
The arc radius changes linearly with the center angle θ(t). Spiral interpolation is performed using a
circular command that specifies one arc radius for the start point and another arc radius for the end point.
To use spiral interpolation, set a large value in parameter No. 3410, used to specify the limit on the arc
radius error.
- Punching operation
Punching (1–cycle pressing) is not performed in G02 and G03 mode. However, when bit 7 (CPF) of
parameter No.16001 is set to 1, punching can be performed on the end point in G02 or G03 mode.
- T code
If T command is specified in G02 and G03 mode, however, when T code is specified independently and
bit 0 (NMG) of parameter No. 16181 is set, an alarm (PS 4600) doesn’t occur.
Example
Y axis
100
50
60
60
40
X axis
0
90 120 140 200
- 31 -
4.INTERPOLATION FUNCTIONS PROGRAMMING B-64554EN/01
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_
α, β : Any one axis where circular interpolation is not applied.
Up to two other axes can be specified.
Explanation
A tangential velocity of an arc in a specified plane or a tangential velocity about the linear axis can be
specified as the feedrate, depending on the setting of bit 5 (HTG) of parameter No.1403.
An F command specifies a feedrate along a circular arc, when HTG is specified to 0. Therefore, the
feedrate of the linear axis is as follows:
Length of linear axis
F×
Length of circular arc
Determine the feedrate so the linear axis feedrate does not exceed any of the various limit values.
Z
Tool path
X Y
The feedrate along the circumference of two circular interpolated axes is the
specified feedrate.
If HTG is set to 1, specify a feedrate along the tool path about the linear axis. Therefore, the tangential
velocity of the arc is expressed as follows:
- 32 -
B-64554EN/01 PROGRAMMING 4.INTERPOLATION FUNCTIONS
Length of arc
F×
2 2
(Length of arc) + (Length of linear axis)
The velocity along the linear axis is expressed as follows:
Length of linear axis
F×
2 2
(Length of arc) + (Length of linear axis)
Tool path
X Y
Limitation
• Tool radius compensation is applied only for a circular arc.
• T-axis command cannot be specified in a block in which a helical interpolation is commanded.
Format
G33 IP ;
G33 : One-shot G code (If is effective only in the block in which it is specified)
Explanation
The coordinate values when the skip signal is turned on can be used in a custom macro because they are
stored in the custom macro system variable #100151 to #100157, as follows. FS0i-PC compatible system
variables (#5061 to #5067) may also be used.
#100151 (#5061) : First axis coordinate value
#100152 (#5062) : Second axis coordinate value
:
#100157 (#5067) : 7th axis coordinate value
- 33 -
4.INTERPOLATION FUNCTIONS PROGRAMMING B-64554EN/01
CAUTION
Disable feedrate override, dry run, and automatic acceleration/deceleration
(however, these become available by setting bit 7 (SKF) of parameter No.6200
to 1.), allowing for an error in the position of the tool when a skip signal is input.
NOTE
If G33 command is issued while tool radius compensation is applied, an alarm
PS0035 is displayed. Cancel the tool radius compensation with the G40
command before the G33 command is specified.
Example
- The next block to G33 is an incremental programming
G33 G91 X100.0 F100;
Y50.0;
Y
100.0
Actual motion
X
Motion without skip signal
X200.0
Actual motion
Motion without skip signal
Fig. 4.5 (b) The next block is an absolute programming for 1 axis
- 34 -
B-64554EN/01 PROGRAMMING 4.INTERPOLATION FUNCTIONS
Actual motion
Motion without skip signal
X
100 200 300
Fig. 4.5 (c) The next block is an absolute programming for 2 axes
Format
Move command
G33 IP_ F_ P_ ;
IP_ : End point
F_ : Feedrate
P_ : P1 to P4
Dwell
G04X(P)_ (Q_ );
X(P)_ : Dwell time
Q_ : Q1 to Q4
Explanation
Multi-step skip is caused by specifying P1, P2, P3, or P4 in a G33 block. For an explanation of selecting
(P1, P2, P3, or P4), refer to the manual supplied by the machine tool builder.
Specifying Q1, Q2, Q3, or Q4 in G04 (dwell command) enables dwell skip in a similar way to specifying
G33. A skip may occur even if Q is not specified. For an explanation of selecting (Q1, Q2, Q3, or Q4),
refer to the manual supplied by the machine tool builder.
- 35 -
4.INTERPOLATION FUNCTIONS PROGRAMMING B-64554EN/01
CAUTION
Dwell is not skipped when Qn is not specified and bits 0 (DS1) and 7 (DS8)
parameter No.6206 are not set.
Format
G33 IP ;
G33; One-shot G code (If is effective only in the block in which it is specified)
Macro variable
The following are the macro variables that can read the position at the time a skip is made even if the
workpiece coordinate system setting/selection command is executed after the skip command is executed,
by setting bit 7 (SKM) of parameter No. 6007 to 1.
*1 : The torque limit on the servo motor is automatically set to a value conforming to the motor type
setting.
Format
G33 P98 α_ F_
G33 P99 α_ F_
200.0
Error amount
100.0
N1 A B C
- 37 -
4.INTERPOLATION FUNCTIONS PROGRAMMING B-64554EN/01
A torque limit skip presses a specified axis against a previously prepared part or other item while the
torque limit command is being executed on the servo motor, and then performs a skip operation when the
servo motor reaches the torque limit value. A skip operation is performed with the fact that the torque
limit value as detected in the servo motor is reached. It is, therefore, not necessary to input a skip signal
using a separate sensor or other device unlike with normal skip functions.
(1) At point A, the machine comes in contact with the object under measurement and stops. At this time,
because the torque limit value is not reached, no skip operation is performed, move commands are
continuously output, and the current position of the CNC is updated.
(2) Because move commands are output but the machine remains stopped, there occurs a difference
(error amount) between the current position of the CNC and the machine position, and torque is
applied to the servo motor.
(3) When the torque limit value is reached, a skip operation is performed at machine stop position, point
A, and the N2 command is executed. Assuming that the current position of the CNC when the torque
limit is reached is point B, the error amount during the torque limit skip is (A - B).
When no toque limit command is issued, the torque limit override value is either 0% or 100%.
(Program example)
O0012
:
Mxx (Specify a torque limit from the PMC via the window)
:
G33 P99 X200. F100.(Torque limit skip command)
:
G01 X100. F500.(Move command with the torque limit being still effective)
:
Myy (Cancel the torque limit from the PMC)
:
M30
- 38 -
B-64554EN/01 PROGRAMMING 4.INTERPOLATION FUNCTIONS
NOTE
1 Specify only a single axis with the torque limit skip command. If no axis is
specified or an attempt is made to specify more than one, alarm PS0369 is
issued.
2 Do not issue the torque limit skip command in G41 or G42 mode. Otherwise,
alarm PS0035 is issued.
3 A torque limit arrival signal is output regardless of the torque limit skip command.
4 Do not issue the torque limit skip command for an axis being synchronized with
synchronous control.
5 Do not specify the torque limit skip command in a continuous block.
6 The higher the movement speed, the larger the error between the position at
which the machine stops and the position at which a skip is actually detected.
Also, the error increases as the speed is varied during movement. Do not vary
the speed with override and so on.
- 39 -
5.FEED FUNCTIONS PROGRAMMING B-64554EN/01
5 FEED FUNCTIONS
Chapter 5, "FEED FUNCTIONS", consists of the following sections:
5.1 OVERVIEW
The feed functions control the feedrate of the tool. The following two feed functions are available:
- Feed functions
1. Rapid traverse
When the positioning command (G00) is specified, the tool moves at a rapid traverse feedrate set in
the CNC (parameter No. 1420).
2. Cutting feed
The tool moves at a programmed cutting feedrate.
- Override
Override can be applied to a rapid traverse rate or cutting feedrate using the switch on the machine
operator's panel.
- Automatic acceleration/deceleration
To prevent a mechanical shock, acceleration/deceleration is automatically applied when the tool starts and
ends its movement (Fig. 5.1 (a)).
Rapid traverse rate
FR FR : Rapid traverse
rate
TR : Deceleration time
constant for rapid
traverse rate
0 Time
TR TR
Feedrate
FC : Feedrate
FC
TC : Acceleration/
deceleration time
constant for a
cutting feedrate
0 Time
TC TC
- 40 -
B-64554EN/01 PROGRAMMING 5.FEED FUNCTIONS
Y
Programmed path
Actual tool path
0
X
Y Δr : Error
Programmed path
Actual tool path
0 X
The rounded-corner path shown in Fig. 5.1 (b) and the error shown in Fig. 5.1 (c) depend on the feedrate.
So, the feedrate needs to be controlled for the tool to move as programmed.
Explanation
The positioning command (G00) positions the tool by rapid traverse and punching is performed. 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 machine tool builder (in-position check).
A rapid traverse rate is set for each axis by parameter No. 1420, so no rapid traverse feedrate need be
programmed.
The following overrides can be applied to a rapid traverse rate with the switch on the machine operator's
panel: 25, 50, 75, 100 %
(1) The feedrate specified by F code is the each axis rapid traverse rate of X and Y axes.
(2) 4-step rapid traverse override can be applied to the rapid traverse rate designated by F code, using
signals (ROV2, ROV1) from the machine side.
(3) When axial move of rapid traverse (G00) is specified in the DNC, memory and MDI modes, the
rapid traverse rate may not specified by F code or when the speed command is 0, an alarm (PS 0011)
occurs.
(4) In circular nibbling (G68), linear nibbling (G69) and nibbling by M function, the speed to nibbling
pitch after the first punch point corresponds to the rapid traverse rate preset by the parameter (No.
1420).
(5) F1-digit function for programmable rapid traverse override is ineffective.
(6) When the rapid traverse rate designated by F code exceeds the speed preset by a parameter (set by a
machine tool builder), it is clamped to the speed preset by the parameter (No. 1420).
An override can be applied to the rapid traverse rate by the switch on the machine operator’s panel as well
as by F1-digit command in automatic operation.
Either rapid traverse override being set by the switch or the F1-digit command, whichever lower,
becomes effective.
NOTE
F1-digit (Programmable rapid traverse override) cannot be used together with
the Rapid traverse rate by F command.
The feed of FANUC Series 0i-PD is performed at feed per minute always.
Format
Feed per minute
F_ ; Feedrate command (mm/min or inch/min)
- 42 -
B-64554EN/01 PROGRAMMING 5.FEED FUNCTIONS
Explanation
- Direction of the cutting feedrate
Cutting feed is controlled so that the tangential feedrate is always set at a specified feedrate.
Y Y
Start
End point point
F F
Start
point Center End
X X
Linear interpolation Circular interpolation
Tool
ワーク
CAUTION
Cutting feed is invalid for the turret axis (T–axis) and C–axis.
T–axis and C–axis commands, therefore, cannot be specified in linear
interpolation (G01) mode and circular interpolation (G02, G03) mode. However,
when bit 5 (CIP) of parameter No.16360 is set to 1, C–axis can be specified.
Reference
See Appendix D for range of feedrate command value.
- 43 -
5.FEED FUNCTIONS PROGRAMMING B-64554EN/01
NOTE
1 The purpose of in-position check is to check that the servo motor has reached
within a specified range (specified with a parameter by the machine tool builder).
In-position check is not performed when bit 5 (NCI) of parameter No. 1601 is set
to 1.
2 Inner corner angle θ: 2° < θ ≤ α ≤ 178°
(α is a set value)
Workpiece
θ
Tool
Format
Exact stop G09 IP_ ;
Exact stop mode G61 ;
Cutting mode G64 ;
Automatic corner override G62 ;
- 44 -
B-64554EN/01 PROGRAMMING 5.FEED FUNCTIONS
Fig. 5.4.1 (a) Example of tool paths from block (1) to block (2)
CAUTION
The cutting mode (G64 mode) is set at power-on or system clear.
: Tool
1. Straight line-straight line 2. Straight line-arc
: Programmed path
: Tool center path
θ θ
θ
θ
- Override range
When a corner is determined to be an inner corner, the feedrate is overridden before and after the inner
corner. The distances Ls and Le, where the feedrate is overridden, are distances from points on the tool
center path to the corner (Fig. 5.4.2 (b), Fig. 5.4.2 (c), Fig. 5.4.2 (d)). Ls and Le are set with parameters
Nos. 1713 and 1714.
Programmed path
Le Ls
a b
Tool center path
The feedrate is overridden from point a to point b.
When a programmed path consists of two arcs, the feedrate is overridden if the start and end points are in
the same quadrant or in adjacent quadrants (Fig. 5.4.2 (c)).
Programmed path
Regarding program (2) of an arc, the feedrate is overridden from point a to point b and from point c to
point d (Fig. 5.4.2 (d)).
Programmed path
d a
Le Ls Le Ls
c b
(2)
Fig. 5.4.2 (d) Override Range (Straight Line to Arc, Arc to Straight Line)
- Override value
An override value is set with parameter No. 1712. An override value is valid even for dry run.
In the feed per minute mode, the actual feedrate is as follows:
F = (automatic override for inner corners) × (feedrate override)
Limitation
- Acceleration/deceleration before interpolation
Override for inner corners is disabled during acceleration/deceleration before interpolation.
- Start-up/G41, G42
Override for inner corners is disabled if the corner is preceded by a start-up block or followed by a block
including G41 or G42.
- Offset
Override for inner corners is not performed if the offset is zero.
- 46 -
B-64554EN/01 PROGRAMMING 5.FEED FUNCTIONS
It is also valid for the dry run and the one-digit F code feed command.
Programmed
Rc Tool center
Rp path
If Rc is much smaller than Rp, Rc/Rp 0; the tool stops. A minimum deceleration ratio (MDR) is to be
specified with parameter No. 1710. When Rc/Rp≤MDR, the feedrate of the tool is (F×MDR).
If parameter No. 1710 is 0, the minimum deceleration ratio (MDR) is at 100%.
CAUTION
When internal circular cutting must be performed together with override for inner
corners, the feedrate of the tool is as follows:
Rc
F× × (override for the inner corners) × (feedrate override)
Rp
Explanation
- Cutting feedrate
Conventional method
Usually, the feedrate of a rotary axis is set to the rotation feedrate (deg/mm).
ΔX
Feedrate of liner axis(X axis) FX = F × ( mm / min )
L
- 47 -
5.FEED FUNCTIONS PROGRAMMING B-64554EN/01
ΔC
Feedrate of rotary axis(C axis) FC = F × ( deg / min )
L
Synthetic movement distance L = ΔX 2 + ΔY 2 + ΔZ 2 + ΔC 2 ( mm )
L
Movement time T= (min )
F
Imaginary N1 X
radius
Imaginary circle
ΔX
Feedrate of liner axis(X axis) FX = F × ( mm / min )
L′
ΔC
Feedrate of rotary axis(C axis) FC = F × ( deg / min )
L′
⎛ π × lC × ΔC ⎞
2
For the feedrate instruction on imaginary circle for a rotary axis, due to the difference in how to determine
the movement distance, if a particularly small value is set for the imaginary radius, the movement on the
axis will be fast. Pay careful attention to the input to the parameter.
The cutting feedrate is clamped on the basis of the maximum cutting feedrate parameter for each axis
No.1430 and the feedrate of the actual axis (data before this function is converted). It is, therefore,
possible to specify a command with a feedrate greater than the setting of the maximum cutting feedrate by
setting a large value as the imaginary radius parameter No. 1465. By setting a small value as an imaginary
radius, the cutting feedrate is clamped at the feedrate less than the setting of the maximum cutting
feedrate.
The feedrate instruction on imaginary circle for a rotary axis is also effective to a dry run.
- 48 -
B-64554EN/01 PROGRAMMING 5.FEED FUNCTIONS
Examples
When the following block is instructed on IS-B,
G91 G01 C10. F10. ;
′
L = ⎜ ⎟ = ⎜⎜ ⎟⎟ = 1.7453292 ⋅ ⋅ ⋅( mm )
⎝ 180 ⎠ ⎝ 180 ⎠
10 ( deg )
FC = 10 (mm / min ) × = 57.2957795 ⋅ ⋅ ⋅( deg / min )
1.7453292 ⋅ ⋅ ⋅( mm )
L ′ 1.7453292 ⋅ ⋅ ⋅( mm )
T′ = = = 0.17453292 ⋅ ⋅ ⋅ ( min ) = 10.4719755 ⋅ ⋅ ⋅ ( sec )
F 10 ( mm / min )
Therefore, the movement time becomes about 10.472(sec), and the rotation feedrate becomes about
57.296(deg/min). The feedrate on 10.000mm in an imaginary radius becomes 10.000mm/min at
instruction feedrate in Fig. 5.5 (a).
⎛ π × 36 ( mm ) × 10 ( deg ) ⎞
2
⎛ π × l C × ΔB ⎞
2
L′ = ⎜ ⎟ = ⎜⎜ ⎟⎟ = 6.28318530 ⋅ ⋅ ⋅ ( mm )
⎝ 180 ⎠ ⎝ 180 ⎠
10 ( deg )
FC = 10 (mm / min ) × = 15.9154943 ⋅ ⋅ ⋅( deg / min )
6.28318530 ⋅ ⋅ ⋅( mm )
L ′ 6.28318530 ⋅ ⋅ ⋅ ( mm )
T′ = = = 0.628318530 ⋅ ⋅ ⋅ ( min ) = 37.6991118 ⋅ ⋅ ⋅ ( sec )
F 10 ( mm / min )
Therefore, the movement time becomes about 37.700(sec), and the rotation feedrate becomes about
15.915(deg/min). The feedrate on 36.000mm in an imaginary radius becomes 10.000mm/min at
instruction feedrate in Fig. 5.5 (a).
10mm
36mm
- 49 -
5.FEED FUNCTIONS PROGRAMMING B-64554EN/01
Limitation
This function corresponds only the linear interpolation(G01).
However, it doesn't correspond to the following functions.
• Normal direction control
• Axis control by PMC
NOTE
1 When the bit 0 (ROTx) of parameter No. 1006 and the bit 0 (RFDx) of parameter
No. 1408 are 1, this function becomes effective.
2 The bit 0 (RFDx) of parameter No. 1408 and an imaginary radius (parameter
No.1465) of this function can be rewriting by the programmable parameter
input(G10).
3 It moves at the maximum cutting feedrate when this function effectively and sets
0 in an imaginary radius (parameter No.1465) and it instructs only a rotary axis.
4 Note setting bit 0 (RFDx) of parameter No. 1408 and an imaginary radius
(parameter No.1465) enough. Especially, a movement of axis quickens
compared with this function unused when small value is set to an imaginary
radius.
5 In this function, the same value as the parameter value (No.1408, No.1465) of a
master axis is used with a slave axis, when it uses axis synchronous control.
5.6 DWELL
Format
G04 X_; or G04 P_;
X_ : Specify a time (decimal point permitted)
P_ : Specify a time (decimal point not permitted)
Explanation
By specifying a dwell, the execution of the next block is delayed by the specified time. (Dwell per
second)
Table 5.6 (a) Command value range of the dwell time (Command by X)
Increment system Command value range Dwell time unit
IS-A 0.01 to 999999.99
s
IS-B 0.001 to 99999.999
Table 5.6 (b) Command value range of the dwell time (Command by P)
Increment system Command value range Dwell time unit
IS-A 1 to 99999999 0.01 s
IS-B 1 to 99999999 0.001 s
In the case of dwell per second, the specification unit for dwell time specified with P can be fixed at 0.001
second by setting bit 7 (DWT) of parameter No. 1015 to 1.
- 50 -
B-64554EN/01 PROGRAMMING 5.FEED FUNCTIONS
NOTE
1 When X, or P is specified without a decimal point, the specification unit depends
on the increment system of the X-axis, and it does not depend on inch/metric
input.
2 When P is specified, bit 7 (IPR) of parameter No. 1004 exercises no influence.
While dwell is being executed, “1” is set for diagnosis display No. 0002.
Specify dwell also to make an exact check in the cutting mode (G64 mode).
If the specification of P and X is omitted, an exact stop occurs.
Diagnosis display
2 Dwell execution status
- 51 -
6.REFERENCE POSITION PROGRAMMING B-64554EN/01
6 REFERENCE POSITION
A CNC machine tool has a special position where, generally, the tool is exchanged or the coordinate
system is set, as described later. This position is referred to as a reference position.
Chapter 6, "REFERENCE POSITION", consists of the following sections:
Workpiece
Face B
Y
Face A
End locator Workpiece holder
Fase B
- 52 -
B-64554EN/01 PROGRAMMING 6.REFERENCE POSITION
Generally, the distance between the reference position and the end locator as well as the distance between
the reference position and the workpiece holders are intrinsically determined according to machines, and
they are separated from each other by a fixed distance.
Reference position
End locator
Workpiece holder
For example, if the start point is at the reference position and the point located at the left lower side of the
workpiece is presumed as the zero point of the workpiece coordinate system. The tool position at the start
point can be taught to NC as a position in the workpiece coordinate system by giving the following
command at the initial stage of programming.
G92X xR Y yR;
R (Reference position)
- 53 -
6.REFERENCE POSITION PROGRAMMING B-64554EN/01
R (Reference position)
Intermediate
Format
- Return to the reference position without passing through the intermediate
point
G28_; Reference position return
Explanation
- Return to the reference position without passing through the intermediate
point (G28)
Reference positions are performed at the rapid traverse rate of each axis.
Therefore, for safety, the compensation functions, such as the tool radius compensation, should be
cancelled before executing this command.
(Example)
G28 M30 ;
Limitation
- Status the machine lock being turned on
The lamp for indicating the completion of reference position return does not go on when the machine lock
is turned on, even when the tool has automatically returned to the reference position
- First return to the reference position after the power has been turned on
(without an absolute position detector)
When the G28 command is specified when manual return to the reference position has not been
performed after the power has been turned on, the movement from the intermediate point is the same as in
manual return to the reference position.
- 54 -
B-64554EN/01 PROGRAMMING 6.REFERENCE POSITION
In this case, the tool moves in the direction for reference position return specified in parameter ZMIx (bit
5 of No. 1006).
- Lighting the lamp when the programmed position does not coincide with the
reference position
When the machine tool system is an inch system with metric input, the reference position return lamp
may also light up even if the programmed position is shifted from the reference position by 1μ. This is
because the least input increment of the machine tool system is smaller than its least command increment.
Reference item
- Manual reference position return
See III–3.1 MANUAL REFERENCE POSITION RETURN.
- 55 -
7.COORDINATE SYSTEM PROGRAMMING B-64554EN/01
7 COORDINATE SYSTEM
By teaching the CNC a desired tool position, the tool can be moved to the position. Such a tool position is
represented by coordinates in a coordinate system. Coordinates are specified using program axes.
When two program axes, the X-axis and Y-axis are used, coordinates are specified as follows:
X_Y_
This command is referred to as a dimension word.
• Tool position specified by X40.0Y50.0
Tool
Y
50.0
40.0
Format
(G90)G53 IP _ P1;
IP_ : Absolute command dimension word
P1 : Enables the high-speed G53 function.
- 56 -
B-64554EN/01 PROGRAMMING 7.COORDINATE SYSTEM
Explanation
- Selecting a machine coordinate system (G53)
When a command is specified the position on a machine coordinate system, the tool moves to the position
by rapid traverse. G53, which is used to select a machine coordinate system, is a one-shot G code; that is,
it is valid only in the block in which it is specified on a machine coordinate system. Specify an absolute
command for G53. When an incremental command is specified, the G53 command is ignored. When the
tool is to be moved to a machine-specific position such as a tool change position, program the movement
in a machine coordinate system based on G53.
Limitation
- Cancel of the compensation function
When the G53 command is specified, cancel the compensation functions such as the tool radius
compensation beforehand.
Note
NOTE
G53 is a G code for disabling buffering.
Reference
- Setting a machine coordinate system
When manual reference position return is performed after power-on, a machine coordinate system is set
so that the reference position is at the coordinate values of (α, β) set using parameter No.1240.
Reference position
- 57 -
7.COORDINATE SYSTEM PROGRAMMING B-64554EN/01
Format
- Setting a workpiece coordinate system
(G90) G92 IP_
Explanation
A workpiece coordinate system is set so that a point on the tool, such as the tool center, is at specified
coordinates.
Cutter compensation is cancelled temporarily with G92.
- 58 -
B-64554EN/01 PROGRAMMING 7.COORDINATE SYSTEM
Example
Setting the coordinate system by the
G92 X25.2 Y23.0 ; command
23.0
25.2
0 X
When bit 2 (G92) of parameter No. 1202 is set to 1, executing the workpiece coordinate system setting
G92 code command results in the issue of an alarm PS0010. This is designed to prevent the user from
confusing coordinate systems.
Example
G90 G55 G00 X40.0 Y100.0 ;
X
40.0
- 59 -
7.COORDINATE SYSTEM PROGRAMMING B-64554EN/01
ZOFS2 ZOFS3
ZOFS4
ZOFS1
Workpiece coordinate
ZOFS5 system 5 (G58)
EXOFS
Fig. 7.2.3 (a) Changing an external workpiece origin offset value or workpiece origin offset value
Format
- Changing by inputting programmable data
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).
Explanation
- Changing by inputting programmable data
By specifying a programmable data input G code, the workpiece origin offset value can be changed for
each workpiece coordinate system.
CAUTION
When a coordinate system is set with workpiece coordinate system setting G92
code command after an external workpiece origin offset value is set, the
coordinate system is not affected by the external workpiece origin offset value.
When G92X100.0Y80.0; is specified, for example, the coordinate system having
its current tool reference position at X = 100.0 and Y = 80.0 is set.
Example
Y Y’
G54 workpiece coordinate system
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.
Explanation
When manual reference position return operation is performed in the reset state, a workpiece coordinate
system is shifted by the workpiece origin offset value from the machine coordinate system zero point.
Suppose that the manual reference position return operation is performed when a workpiece coordinate
system is selected with G54. In this case, a workpiece coordinate system is automatically set which has its
origin displaced from the machine zero point by the G54 workpiece origin offset value; the distance from
the origin of the workpiece coordinate system to the reference position represents the current position in
the workpiece coordinate system.
- 61 -
7.COORDINATE SYSTEM PROGRAMMING B-64554EN/01
Workpiece origin
G54 workpiece
origin offset value
Reference position
If an absolute position detector is provided, the workpiece coordinate system automatically set at
power-up has its origin displaced from the machine zero point by the G54 workpiece origin offset value.
The machine position at the time of power-up is read from the absolute position detector and the current
position in the workpiece coordinate system is set by subtracting the G54 workpiece origin offset value
from this machine position. The workpiece coordinate system set by these operations is shifted from the
machine coordinate system using the commands and operations listed below.
(a) Move command executed in the machine lock state
(b) Movement by handle interruption
(c) Operation using the mirror image function
(d) Shifting the workpiece coordinate system by setting the local coordinate system or workpiece
coordinate system
In the case of (b) above, the workpiece coordinate system is shifted by the amount of handle interruption.
G54 workpiece Po
coordinate system before
handle interruption Amount of
movement during
WZo handle interruption
Workpiece origin
G54 workpiece
offset value coordinate system after
handle interruption
Pn
Machine zero point
WZn-
In the operation above, a workpiece coordinate system once shifted can be preset using G code (G92.1)
specification or MDI operation to a workpiece coordinate system displaced by a workpiece origin offset
value from the machine zero point.
Bit 3 (PPD) of parameter No. 3104 specifies whether to preset relative coordinates (RELATIVE) as well
as absolute coordinates.
When no workpiece coordinate system option (G54 to G59) is selected, the workpiece coordinate system
is preset to the coordinate system with its origin placed at the reference position.
Limitation
- Tool radius compensation
When using the workpiece coordinate system preset function, cancel compensation modes: Tool radius
compensation. If the function is executed without canceling these modes, compensation vectors are
cancelled.
- Prohibited modes
Do not use the workpiece coordinate system preset function when the scaling, coordinate system rotation
is set.
- 62 -
B-64554EN/01 PROGRAMMING 7.COORDINATE SYSTEM
G92XαYβ;
This function cannot be used, however, when the workpiece coordinate system is applied.
Format
G52 IP_; Setting the local coordinate system
:
G52 IP 0 ; Canceling of the local coordinate system
IP_ : Origin of the local coordinate system
Explanation
By specifying G52 IP_;, a local coordinate system can be set in all the workpiece coordinate systems
(G54 to G59). The origin of each local coordinate system is set at the position specified by IP_ in the
workpiece coordinate system.
Once a local coordinate system is established, the coordinates in the local coordinate system are used in
an axis shift command. The local coordinate system can be changed by specifying the G52 command with
the origin of a new local coordinate system in the workpiece coordinate system.
To cancel the local coordinate system or specify the coordinate value in the workpiece coordinate system,
match the origin of the local coordinate system with that of the workpiece coordinate system.
- 63 -
7.COORDINATE SYSTEM PROGRAMMING B-64554EN/01
Reference position
CAUTION
1 When ZCL (bit 2 of parameter No.1201) is set to 1 and an axis returns to the
reference position by the manual reference position return function, the origin of
the local coordinate system of the axis matches that of the workpiece coordinate
system. The same is true when the following command is issued:
G52α0;
α: Axis which returns to the reference position
2 The local coordinate system setting does not change the workpiece and machine
coordinate systems.
3 Whether the local coordinate system is canceled at reset depends on the
parameter setting. The local coordinate system is canceled when either bit 6
(CLR) of parameter No.3402 or bit 3 (RLC) of parameter No.1202 is set to 1
4 When a workpiece coordinate system is set with the G92 command, the local
coordinate system is canceled. However, the local coordinate system of an axis
for which no coordinate system is specified in a G92 block remains unchanged.
5 G52 cancels the offset temporarily in tool radius compensation.
6 The incremental programming after the G52 block is not regarded as the
incremental distance from the current tool position. This programming is
regarded the incremental distance from origin of the local coordinate system
specified.
However, When the bit 0 (LIP) of parameter No. 16201 is set to 1, the
incremental programming after the G52 block is regarded as the incremental
distance from the current tool position.
- 64 -
B-64554EN/01 PROGRAMMING 7.COORDINATE SYSTEM
Explanation
Table 7.4 (a) Plane selected by G code
G code Selected plane Xp Yp Zp
G17 Xp Yp plane
X-axis or an axis Y-axis or an axis Z-axis or an axis
G18 Zp Xp plane
parallel to it parallel to it parallel to it
G19 Yp Zp plane
Xp, Yp, Zp are determined by the axis address appeared in the block in which G17, G18 or G19 is
commanded.
When an axis address is omitted in G17, G18 or G19 block, it is assumed that the addresses of basic three
axes are omitted.
Parameter No. 1022 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 plane is unchanged in the block in which G17, G18 or G19 is not commanded.
The movement instruction is irrelevant to the plane selection.
When the power is turned on or the CNC is reset, G17 (XY plane), G18 (ZX plane), or G19 (YZ plane) is
selected by bits 1 (G18) and 2 (G19) of parameter No. 3402).
Example
Plane selection when the X-axis is parallel with the U-axis.
G17 X_Y_ ; XY plane,
G17 U_Y_ ; UY plane
G18 X_Z_ ; ZX plane
X_Y_ ; Plane is unchanged (ZX plane)
G17 ; XY plane
G18 ; ZX plane
G17 U_ ; UY plane
G18Y_ ; ZX plane, Y axis moves regardless without any relation to the plane.
- 65 -
8. COORDINATE VALUE AND
DIMENSION PROGRAMMING B-64554EN/01
G90 and G91 are used to programming absolute or incremental programming, respectively.
Format
Absolute programming G90 IP_ ;
Incremental programming G91 IP_ ;
Example
G90 X40.0 Y70.0 ; Absolute programming
Y End point
70.0
X
40.0 100.0
Format
G20 ; Inch input
G21 ; Metric input
This G code must be specified in an independent block before setting the coordinate system at the
beginning of the program. 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 (see Section, “INCREMENT
- 66 -
8.COORDINATE VALUE AND
B-64554EN/01 PROGRAMMING DIMENSION
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.
WARNING
G20 and G21 must not be switched during a program.
NOTE
1 When the least input increment and the least command increment systems are
different, the maximum error is half of the least command increment. This error
is not accumulated.
2 The inch and metric input can also be switched using settings (see Subsection,
“Displaying and Entering Setting Data”).
3 If a function selected using bit 2 (IRF) of parameter No. 14000 or bit 0 (NIM) of
parameter No. 11222 is not used, be sure to perform inch/metric conversion at
the reference position (machine coordinate system origin).
If an attempt is made to perform inch/metric conversion when an axis with this function enabled is not in
the reference position, alarm PS5362, “CONVERT INCH/MM AT REF-POS” is issued to cancel the
attempt.
Before trying to perform inch/metric conversion, be sure to set the axis of interest to the reference
position, using the G28 command, for example.
In addition, if the workpiece coordinate system has been shifted from the machine coordinate system,
using the following commands or operations, bit 1 (CIM) of parameter No. 11222 can be used to select
whether to issue alarm PS1298 or to clear the offset.
• Move command issued with the machine locked
• Move command issued using a handle interrupt
• Mirror image-based operation
• Workpiece coordinate system shift caused by local coordinate system setting (G52) or workpiece
coordinate system setting (G92)
Switching conditions
Performing inch/metric conversion in any position other than the reference position requires satisfying all
of the following conditions. Failing to satisfy any of the conditions results in alarm PS1298, “ILLEGAL
INCH/METRIC CONVERSION” being issued
• Positioning or linear interpolation
• Tool radius compensation cancel
• Normal direction control cancel
- 67 -
8. COORDINATE VALUE AND
DIMENSION PROGRAMMING B-64554EN/01
• Scaling cancel
• Macro modal call cancel
• Coordinate system rotation mode off
In addition, performing inch/metric conversion in any position other than the reference position requires
the following options.
• Inch/metric conversion
• Workpiece coordinate system
Restrictions
When performing the following operations, make sure that the axis of interest is in the reference position
(machine coordinate system origin).
• Inch/metric conversion based on bit 2 (INI) of setting parameter No. 0
• Inch/metric conversion based on programmable parameter input (G10)
• Inch/metric conversion based on custom macro variable No. 3005
In addition, if the workpiece coordinate system has been shifted from the machine coordinate system,
using the following commands or operations, bit 1 (CIM) of parameter No. 11222 can be used to select
whether to issue alarm PS1298 or to clear the offset.
• Move command issued with the machine locked
• Move command issued using a handle interrupt
• Mirror image-based operation
• Workpiece coordinate system shift caused by local coordinate system setting (G52) or workpiece
coordinate system setting (G92)
If an axis is under any of the following controls, however, no automatic coordinate system conversion
based on this function can be carried out for the axis.
• Axis control by PMC
• Axis synchronous control (for slave axes when the master axis is a PMC axis)
Switching conditions
Performing inch/metric conversion in any position other than the reference position requires satisfying all
of the following conditions. Failing to satisfy any of the conditions results in alarm PS1298 being issued.
• Positioning or linear interpolation
• Tool radius compensation cancel
• Normal direction control cancel
• Scaling cancel
• Macro modal call cancel
• Coordinate system rotation mode off
In addition, performing inch/metric conversion in any position other than the reference position requires
the following options.
• Inch/metric conversion
• Workpiece coordinate system
• Workpiece coordinate system preset
- 68 -
8.COORDINATE VALUE AND
B-64554EN/01 PROGRAMMING DIMENSION
Restrictions
When performing the following operations, make sure that the axis of interest is in the reference position
(machine coordinate system origin).
• Inch/metric conversion based on bit 2 (INI) of setting parameter No. 0
• Inch/metric conversion based on programmable parameter input (G10)
• Inch/metric conversion based on custom macro variable No. 3005
X, Y, Z, U, V, W, A, B, C, I, J, K, Q, R, F
Explanation
There are two types of decimal point notation: calculator-type notation and standard notation.
When calculator-type decimal notation is used, a value without decimal point is considered to be
specified in millimeters inch, or deg. When standard decimal notation is used, such a value is considered
to be specified in least input increments. Select either calculator-type or standard decimal notation by
using the bit 0 (DPI) of parameter No.3401.Values can be specified both with and without decimal point
in a single program.
Example
Pocket calculator type decimal Standard type decimal point
Program command
point programming programming
X1000 1000mm 1mm
Command value without decimal point Unit :mm Unit : Least input increment (0.001mm)
X1000.0 1000mm 1000mm
Command value with decimal point Unit :mm Unit :mm
CAUTION
When specifying a dimension word for a command G code in a block, be sure to
place the dimension word after the command G code.
NOTE
1 A specified value less than the minimum unit is treated as described below.
Example 1)
When a value is specified directly at an address (in the case of 1/1000mm
IS-B)
X1.2345 ; Treated as X1.235
X-1.2345 ; Treated as X-1.234
Example 2)
When a value is assigned to a macro variable (in the case of 1/1000mm IS-B)
#100=1.2345;
X#100 ; Treated as X1.235
#100=-1.2345;
X#100 ; Treated as X-1.234
- 69 -
8. COORDINATE VALUE AND
DIMENSION PROGRAMMING B-64554EN/01
NOTE
2 When more than eight digits are specified, an alarm occurs. If a value is entered
with a decimal point, the number of digits is also checked after the value is
converted to an integer according to the least input increment.
Examples:
X1.23456789;
Alarm PS0003, “TOO MANY DIGIT” occurs because more than eight digits
are specified.
X123456.7;
If the least input increment is 0.001 mm, the value is converted to integer
123456700. Because the integer has more than eight digits, an alarm
occurs.
- 70 -
B-64554EN/01 PROGRAMMING 9.PRESS FUNCTION
9 PRESS FUNCTION
Chapter 9, "PRESS FUNCTION", consists of the following sections:
NOTE
This section covers one-cycle punch only. For nibbling (punching by sequential
repeated press motion), refer to “9.3 NIBBLING FUNCTION”.
(1) Block where X-axis or Y-axis is positioned in the positioning mode (G00)
CAUTION
If the same position as the present tool position is commanded by address X or
Y, positioning is not done, but punching is executed. (This is regarded as the
positioning command with movement amount 0)
G00G91X0; . . . Punching is made.
This applies to such a case that punching is done at the same position using a
different tool.
- 71 -
9.PRESS FUNCTION PROGRAMMING B-64554EN/01
Tool 01 profile
Tool 02 profile
CAUTION
Punching is not done in T single block where the X-axis or Y-axis moves for tool
offset.
(2) Block where pattern function G26, G76, G77, G78, G79, G86, G87 or G89 was commanded
Punching is made after positioning to respective points on a pattern.
Punching is not done in the following cases, even if the block corresponds to (1) or (2).
(a) MDI mode is selected.
(b) M code is commanded.
(c) Blocks inserted between M code of workpiece clamp and M code of workpiece unclamp which
are employed for repositioning of workpiece.
(d) Block where positioning & punch off (G70) was commanded.
CAUTION
Punching is not done even in G00 mode if the block is irrespective of positioning
such as coordinate system setting (G92), local coordinate system setting (G52),
standard point command (G72), dwell (G04), etc.
- 72 -
B-64554EN/01 PROGRAMMING 9.PRESS FUNCTION
G70X__Y__;
CAUTION
1 G70 is an one–shot G code.
2 Rapid traverse is made in a G70 block even if in G01, G02 or G03 mode.
Flywheel
Position of tool
Upper dead
Crank mechanism point
workpiece
Lower dead
Tool for point
punching Tp Ti
Position Tt
Tt : One cycle in press motion
Time Tp : Processing time of press motion
Ti : Positioning time for the workpiece
Fig.9.3
The maximum distance (maximum pitch) which can be positioned in time Ti is limited by various
conditions, such as machine, servo motor, and others as well as time Ti.
In this NC, the maximum nibbling pitch determined by these conditions is preset as a parameter. On the
other hand, the nibbling pitch is commanded by a program. If the commanded pitch exceeds the
maximum pitch preset by the parameter, an alarm is produced.
Since this pitch can be specified directly, programming can be done, while taking the scallop into
consideration.
- 73 -
9.PRESS FUNCTION PROGRAMMING B-64554EN/01
Scallop s
p
d
The relation between pitch p and scallop s is as shown below in case of linear
nibbling
p=2 d s − s2
where d: Tool diameter
- 74 -
B-64554EN/01 PROGRAMMING 9.PRESS FUNCTION
Format
G68 I r J θ K Δθ P d Q p
θ : Angle formed between the first punch point and the + X axis
(Valid data range : When the increment system is IS-B, −359999 to 359999)
Unit of data : minimum unit of data (deg)
-The counterclockwise direction is commanded by a positive number.
Δθ : Incremental angle from the first punch point to the least punch point
(Valid data range : −999999999~999999999)
Unit of data : minimum unit of data (deg)
-Counterclockwise nibbling is made when this angle is commanded by a positive
number.
Nibbling is made at pitch p using a tool having diameter d, starting with the point which forms angle θ
with reference to the X-axis on the circumference having radius r, with the preset tool position or the
position specified by G72 being set as the circle center, to the point which forms angle θ + Δθ with
reference to the X-axis.
#(n−1)
#n
#3
r #2
p
Δθ #1
Center of circle θ d
(Pattern base point) +X
- 75 -
9.PRESS FUNCTION PROGRAMMING B-64554EN/01
Example 1
1.000
4.000
#9:(53.031,101.750)
#8:(53.314,101.125)
#7:(53.470,100.457)
N1112
+X
(50.000,100.000)
−60° 90° #6:(53.493,99.771)
#5:(53.381,99.094)
#4:(53.139,98.452)
N1111:(50.000,97.000)
#3:(52.777,97.869)
#2:(52.308,97.369)
- 76 -
B-64554EN/01 PROGRAMMING 9.PRESS FUNCTION
CAUTION
1 G68 is an one-shot G code.
2 The base point of G68 is the center of arc.
3 Pitch specification
The pitch is specified by the arc length.
The pitch is defined as the divided length of the arc having radius r specified in
address I. The pitch does not mean the arc length between the centers of
adjacent punch points, i.e., the divided length of the arc having a radius of r + d/2
(d: tool diameter).
This reason is shown below.
:Path of tool
- 77 -
9.PRESS FUNCTION PROGRAMMING B-64554EN/01
4 Pitch compensation
In punching using the command pitch (p), it is generated a remainder that does
not come up to 1 pitch. When the remainder is the pitch moving the last
punching point, only the last pitch is different from the other pitch. That is why
the pitch automatically corrected by the method of below figure is used as an
actual pitch to keep a constant pitch from first to last. As a result, an actual pitch
becomes the maximum below the instruction pitch and constant an interval.
#(n−1) #2
#n #1
Arc length
r
p (command pitch)
Δθ ↓
p’ (real pitch)
5 If radius is 0, or if the pitch is 0 or more than a specified value, alarm (PS 4523)
is produced.
- 78 -
B-64554EN/01 PROGRAMMING 9.PRESS FUNCTION
Format
G69 I l J θ P d Q p
By the above command, nibbling is made at pitch p using a tool having diameter d along a straight line of
length which forms angle θ with reference to the X-axis, starting with the present tool position or the
position specified by G72 as the start point.
p #2 #3
#1
θ
d +X
Start point
(Pattern base point) #1 to #n:Order of punch motion
- 79 -
9.PRESS FUNCTION PROGRAMMING B-64554EN/01
Example 2
N1211 G90 G00 X84. Y62. Coordinates are expressed by IS-B
N1212 G72 X80. Y60. #1 to #8:Order of punch motion in
N1213 G69 I10. J135. P−2. Q1.5 N1213
: Path of tool
#8:(73.636,67.778)
#7:(74.646,66.768)
#6:(75.656,65.758)
10.000
#5:(76.666,64.748) 1.500
→ Actual pitch = 1.429
#4:(77.677,63.738)
#3:(78.687,62.727)
#2:(79.697,61.717) N1211
(84.000,62.000)
#1:(80.707,60.707)
+X
N1212:(80.000,60.000) 2.000
135°
CAUTION
1 G69 is a one-shot G code.
2 The base point of G69 is the start point.
3 The pitch compensation is the same as in circular nibbling (G68); except that the
circumferential length of an arc in G68 is changed to the linear length (For
details, refer to Note 4 in 9.3.1)
4 If pitch is 0 or more than specified, alarm (PS 4524) is produced.
- 80 -
B-64554EN/01 PROGRAMMING 9.PRESS FUNCTION
6 If feed hold is applied halfway during the movement to the first punch point, the
X and Y axes stop at once. These axes also stop immediately when the feed
hold is applied halfway during the pitch movement from the first point to the last
point. However, this can be changed by bit 2 (NSP) of parameter No. 16181 in
such a way that the X and Y axes stop after pitch movement.
7 In a block just after G68 or G69, the tool does not move by the incremental
amount from the tool position when nibbling ends, but moves from the
programmed end point of the arc or straight line by the incremental amount.
(60.0,120.0)
(−60.0,−10.0)
End point in N1313 Program end
#10:(0.0,110.0) #2
(60.0,50.0) #1
Pattern base point
#1 #2 #8 #9
Tool does not move by the
incremental amount from
end punch point.
(60.0,30.0)
Program end
End point in N1313
#10:(90.0,0.0)
8 Since radius, straight line length in G68 and G69 are not modal data, they must be
commanded correctly in every block.
9 It is possible in certain machines that nibbling is not performed by G68 or G69
command, but one-cycle punching is executed at respective positioning points.
- 81 -
9.PRESS FUNCTION PROGRAMMING B-64554EN/01
In this manual, the M code of nibbling mode is described as M12, while the M code of the nibbling mode
cancel is described as M13. However, since these M codes may be different from those specified above in
certain machine tool builders, you are requested to read these M codes correspondingly according to the
manual prepared by these machine tool builders. Don’t use this nibbling by M function in a different way
other than specified in this manual, since there are certain restriction about its use.
WARNING
Each of the M codes for nibbling mode and nibbling mode cancel must be
commanded in a single block.
(1) The first punch point of nibbling is commanded in the block next to M12. A T code can also be
commanded in this block concurrently.
The first punch point (x2, y2) of nibbling is previously commanded in N120 block, and nibbling
is started when the positioning to (x2, y2) has been completed and the motion corresponding to
the T code has been finished.
The movement amounts along the X-axis and Y-axis in this block are not restricted by the maximum
positioning distances (parameter Nos. 16188, 16184) of the X-axis and Y-axis in the nibbling mode.
(2) In the blocks after the first punch point of nibbling has been commanded, the positioning command
is given to correspond to the pitches by G68 and G69 commands.
If the movement amounts along the X-axis and Y-axis in these blocks exceed the parameter set values
(parameter No. 16188), alarm (PS 4521) results.
- 82 -
B-64554EN/01 PROGRAMMING 9.PRESS FUNCTION
In N130 to N170 blocks, the positioning corresponding to the nibbling pitch is commanded. If
the movement amounts along X-axis x3-x2, x4-x3, x5-x4, x6-x5, x7-x6 or the movement amounts
of Y-axis y3-y2, y4-y3, y5-y4, y6-y5, y7-y6 exceed the parameter set values in each block, alarm
(PS 4521) is issued.
(3) M13 is commanded in the block next to the block where the last punch point of nibbling was
commanded.
The last punch point (x7, y7) of nibbling is commanded in the N170 block and M13 is
commanded in the next block, i.e. in block N180. Punching is done at (xn, yn) and nibbling
terminates.
The G00 command in the nibbling mode is given to execute the positioning to the commanded position,
and the movement amounts along X-axis and Y-axis should not exceed the parameter set values (No.
16188), except for the command to the first punch point of nibbling.
G01 X x Yy Qp
G02 Ii Jj
Xx Yy Qp
G03 Rr
- 83 -
9.PRESS FUNCTION PROGRAMMING B-64554EN/01
Example 4
p=2.730
p=2.745 #9
(132.000,132.000) p=2.827
#6 #7
#20
(123.764,132.000) (148.000,130.472) (155,140)
(130,130)
N1438
#2
(125,130)
p=2.483
N1434
N1431:(120,110) N1440:(160,110)
Fig.9.4.2
Assume that the tool radius (2.0) is preset to offset No. 01.
(1) The first punch point of nibbling and either G41 or G42 to offset the tool leftwards or rightwards as
viewed from the moving direction of the tool are commanded in the block next to M12 block. The
first punch point is commanded by G00.
The first punch point (120.0, 120.0) of nibbling is commanded and also G41 is commanded
in the N1433 block.
Accordingly, positioning is done at rapid traverse to the point (118.211, 120.894) being
offset leftwards to the commanded position by the tool diameter being preset to offset No. 01.
Nibbling is started when the positioning has been completed.
- 84 -
B-64554EN/01 PROGRAMMING 9.PRESS FUNCTION
(2) The straight line is commanded by G01, the circular arc is commanded by G02, G03, and the pitch is
commanded by Q, starting with the block next to the block where the first punch point was
commanded.
Since pitch Q is a modal data, it is no longer needed to designate pitch Q after pitch Q was
designated once.
The axis movement to pitch Q is done at rapid traverse.
The straight line and circular arc along which nibbling is done are commanded in N1434 to
N1438 blocks. The straight line and circular arc obtained by offsetting the commanded
straight line and circular arc leftwards by the tool diameter being preset to offset No. 01, are
divided by pitch Q.
The axis movement to pitch is done at rapid traverse.
(3) M13 is commanded in the block next to the block where the end point of nibbling was commanded.
The end point (160.0, 120.0) of nibbling is commanded in N1438 block, and M13 is
commanded in the N280 block next to the N1439 block. Nibbling is completed after
punching was done at point (161.940, 120.485) being offset leftwards by the tool diameter at
end point (160.0, 120.0).
For G01, G02, and G03 in the nibbling mode, the straight line and circular arc are divided by the pitch
commanded by address Q, and the movement to respective pitches is done at rapid traverse. If the pitch
commanded by address Q exceeds the parameter set value No. 16186: for mm input, No. 16187: for inch
input, alarm (PS 4523) is issued.
Now, the difference of the motion will be described when the program shown in example 4 is presumed
to have been programmed as shown in example 5.
Example 5
N1431 G90 G00 X120. Y110.
N1432 G41 X120. Y120. D01
N1433 M12
N1434 G01 X125. Y130. Q3.
…………………………
…………………………
…………………………
In the program shown in example 4, nibbling is started after the positioning has been completed to
(118.211, 120.894). In case of the program shown in example 5, on the other hand, one-cycle punching
only is done after the positioning has been completed to point (118.211, 120.894), and nibbling is started
after the axis movement by pitch Q along the straight line in N1434 block.
- 85 -
9.PRESS FUNCTION PROGRAMMING B-64554EN/01
Example
M80;
G00X Y T ;
X Y ;
…………………………
………………………… Tapping is made instead of punching.
…………………………
X Y ;
M81
Since this function depends upon the machine tool builders, refer to the machine tool builder’s manual.
- 86 -
B-64554EN/01 PROGRAMMING 10.S FUNCTION
10 S FUNCTION
Chapter 10, "S FUNCTION", consists of the following sections:
- 87 -
11.TOOL FUNCTION (T FUNCTION) PROGRAMMING B-64554EN/01
The selection of either (1) or (2) depends on the machine tool builder’s specifications. Refer to the
manual issued by the machine tool builder for details.
The T command must be given without fail to the block before a block where punching is first made by
press motion in one program or to the same block where punching is first made by press motion.
If the T command is not given to these blocks, the press start signal which instructs “Punch by press
motion”, is not sent to the machine, and machining does not proceed to the next block.
Example
O1000G92……………;
N1G00G90X Y ;
……………
……………
- 88 -
B-64554EN/01 PROGRAMMING 11.TOOL FUNCTION (T FUNCTION)
CAUTION
1 The correspondence between commandable T codes and tools depends upon
machine tool builders.
The commandable T codes are set in tool registering screen before shipment
from factory. If a commanded T code was not registered, alarm (PS 4602) is
produced.
2 No T code is commandable in the following blocks.
(i) G10 (Offset value setting)
(ii) G22 (Stored stroke limit function on)
(iii) G23 (Stored stroke limit function off)
(iv) G92 (Coordinate system setting)
(v) G52 (Local coordinate system setting)
(vi) G72 (Standard point command)
(vii) G75 (Automatic repositioning)
(viii)G98 (Base point command for multi-piece machining)
(ix) G73, G74 (Multi-piece machining command)
3 If DNC operation or memory operation is made in the T command neglect status, the T
command is ignored, and the operation is made as if the T command were not given.
The press start signal is not sent to the machine side in a block to be punched, and
processing does not proceed to the next block. If a program is checked by marking to a
workpiece by using a marking tool, for example, select the marking punch tool by a T
command in the MDI mode in advance, and perform the DNC operation or memory
operation without reset operation in the T command neglect status. Now, punching is
made using the tool selected in the MDI mode.
4 The T command must be given without fail to the block before a block where
punching is first made by press motion in one program or to the same block
where punching is first made by press motion.
If the T command is not given to these blocks, the press start signal which
instructs “Punch by press motion”, is not sent to the machine, and machining
does not proceed to the next block.
5 The press start signal can be sent by setting bit 5 (TCF) of parameter No. 16003 even if
no T command is given to a block before the block where the punching is made or the
block in which punching is made. In this case, the integrated value of the number of
punch times may differ from actual number of punch times about respective tools.
CAUTION
The ignorance of T command is judged when the command is read from an I/O
device or memory into buffer register. Accordingly, the selection of the T
command ignorance switch is not effective for the block that has been read into
the buffer register.
NOTE
By setting bit 5 (TNM) of parameter No. 16260, it is checked that whether the T code be
commandable or not, only in the machine lock status.
- 89 -
11.TOOL FUNCTION (T FUNCTION) PROGRAMMING B-64554EN/01
CAUTION
1 Tool offset compensation applies to tools numbered from 1 to 9999.
2 Tool offset values are set in the tool registering screen in the unit of the least
command increment for each X axis and Y axis before shipment of the machine
from the machine tool builder’s factory.
3 If data are inputted by inch in a millimeter system machine, or if data are inputted
by millimeter in an inch system machine, a tool offset error is produced within the
sum of a half of the least input increment and half of the least command
increment. This error is not accumulated.
NOTE
1 The T-axis can be controlled when TCL, bit 4 of parameter No. 16260, is 1.
2 When T axis control is valid, the T axis should be set as a rotation axis. (bit 0
(ROTx) of parameter No. 1006 is set to 1)
3 Setting the following parameters of T axis allows the CNC to be compatible with
FANUC Series 0i-PC, as follows:
Setting Meaning
Bit 0 (ROTx) of parameter No.1006=1
Rotary axis (A type)
Bit 1 (ROSx) of parameter No.1006=0
Bit 0 (ROAx) of parameter No.1008=1 The rotary axis roll-over is valid.
Bit 1 (RABx) of parameter No.1008=0 The axis rotates in the direction in which the
distance to the target is shorter.
Bit 2 (RRLx) of parameter No.1008=1 Relative coordinates are rounded by the
amount of the shift per one rotation
Tool
Tool holder
Turret
T ○○△△
The T codes used for controlling the indexing of the turret (tool holder) in a CNC are two-digit pot
numbers from 00 to 99, including those for a multiple-tool system as shown above.
The T codes consisting of three or four digits are used to control a multiple-tool system. The first two
digits are the pot numbers of the multiple-tool system and the last two digits are the tool numbers in the
multiple-tool system.
- 91 -
11.TOOL FUNCTION (T FUNCTION) PROGRAMMING B-64554EN/01
NOTE
1 Tool numbers for controlling the turret setting in a CNC system are registered in
tool registering screen. The number of tools is less than or equal to the number
of the tools to be controlled.
2 Assign tool numbers for controlling a turret which is not that for a multiple-tool
system as T codes consisting of one or two digits.
3 Assign tool numbers of a multiple-tool system on the tool registration screen for
multiple tools.
T1101 +
Direction
of rotation
T1101 = 0.00°
T1103 T1102 = 90.00°
T1103 = 180.00°
T1104 = 270.00°
Multiple-tool holder:T11
Fig.11.5 (b) Subtool reference position and angular displacement controlled by indexing
CAUTION
When the angular displacement for the tool reference position is set to 0, the tool that is
selected when the tool holder has been indexed is used.
- 92 -
B-64554EN/01 PROGRAMMING 11.TOOL FUNCTION (T FUNCTION)
the tool holder and each of the tools when the tool is located in the tool reference position in tool
registering screen. The distance is the compensation value in the direction of the Y axis.
Y Punching position
(programmed position)
Subtool reference position
X
Turret
Subtool:T1101
Y–axis compensation
Multiple-tool holder:T11
Explanation
- Number of punches
The number of punches count is incremented by 1 for each tool used punching.
- 93 -
11.TOOL FUNCTION (T FUNCTION) PROGRAMMING B-64554EN/01
Format
G10L30 ; Tool data entry mode setting
N_P7R_ ; tool life management data setting
:
:
G11 ; Tool data entry mode cancel
Explanation
- Types
For tool life management, the type used varies from one machine to another. For details, refer to the
appropriate manual of each machine tool builder.
- 94 -
B-64554EN/01 PROGRAMMING 12.AUXILIARY FUNCTION
12 AUXILIARY FUNCTION
Overview
There are two types of auxiliary functions; auxiliary function (M code) for specifying program end and so
on, and secondary auxiliary function (B code).
When a move command and auxiliary function are specified in the same block, the commands are
executed in one of the following two ways:
(1) Simultaneous execution of the move command and auxiliary function commands.
(2) Executing auxiliary function commands upon completion of move command execution.
The selection of either sequence depends on the machine tool builder's specification. Refer to the manual
issued by the machine tool builder for details.
Explanation
The following M codes have special meanings.
WARNING
M08, M09, M10, M11, M12 and M13 must be commanded without any other
commands in a block.
- 96 -
B-64554EN/01 PROGRAMMING 12.AUXILIARY FUNCTION
CAUTION
1 No punching is made in a block where an M code is commanded. But punching
may be made by some machine tool builder.
2 No M code is commandable in the following blocks.
(i) G10 (Offset amount setting, Programmable parameter input)
(ii) G22 (Stored stroke limit function ON)
(iii) G23 (Stored stroke limit function OFF)
(iv) G26 (Bolt hole circle)
(v) G76 (Line at angle)
(vi) G77 (Arc)
(vii) G78, G79 (Grid)
(viii) G68 (Circular nibbling)
(ix) G69 (Linear nibbling)
(x) G72 (Base point command)
(xi) G75 (Automatic repositioning)
(xii) G86 (Share proofs)
(xiii) G87 (Square)
(xiv) G88 (Radius)
(xv) G89 (Cut at angle)
(xvi) G98 (Base point command of Multi-piece machining)
(xvii) G73, G74 (Multi-piece machining command)
(xviii) G52 (Local coordinate system setting)
NOTE
1 If there is a block following M00, M01, M02, or M30, it is not read into the buffer
storage. Similarly, ten M codes which cause the block following them not to enter
the buffer storage are available by parameter setting (Nos. 3411 to 3421). As for
these M codes, refer to the machine tool builder’s manual.
2 For M98 code and M99 code, their code signals and strobe signals are not
output to the machine.
Explanation
CNC allows up to three M codes to be specified in one block. However, some M codes cannot be
specified at the same time due to mechanical operation restrictions. For detailed information about the
mechanical operation restrictions on simultaneous specification of multiple M codes in one block, refer to
the manual of each machine tool builder.
M00, M01, M02, M30, M98, M99, or M198 must not be specified together with another M code.
Some M codes other than M00, M01, M02, M30, M98, M99, and M198 cannot be specified together with
other M codes; each of those M codes must be specified in a single block.
Such M codes include these which direct the CNC to perform internal operations in addition to sending
the M codes themselves to the machine. To be specified, such M codes are M codes for calling program
numbers 9001 to 9009 and M codes for disabling advance reading (buffering) of subsequent blocks.
- 97 -
12.AUXILIARY FUNCTION PROGRAMMING B-64554EN/01
Meanwhile, multiple of M codes that direct the CNC only to send the M codes themselves (without
performing internal operations) can be specified in a single block.
However, it is possible to specify multiple M codes that are sent to the machine in the same block unless
they direct the CNC to perform internal operations. (Since the processing method depends on the machine,
refer to the manual of the machine tool builder.)
Example
One M command in a single block Multiple M commands in a single block
M40; M40M50M60;
M50; G28G91X0Y0Z0;
M60; :
G28G91X0Y0Z0; :
: :
: :
: :
Explanation
- Range of specification
-99999999 to 99999999
- Output value
The value specified after the address of the second auxiliary function is output on the code signals B00 to
B31. Note the following about a output value.
When the second auxiliary function with no decimal point is specified, the specified value is output
on the code signals as is, regardless of the desktop calculator decimal point setting (bit 0 (DPI) of
parameter No.3401).
Example:
Specified value Output value
B10 10
When the second auxiliary function with a decimal point is specified, alarm PS0007, “ILLEGAL
USE OF DECIMAL POINT” is issued.
When the second auxiliary function is specified with a negative value, alarm PS0006, “ILLEGAL
USE OF MINUS SIGN” is issued.
- 98 -
B-64554EN/01 PROGRAMMING 12.AUXILIARY FUNCTION
2. When a command with a decimal point or a negative command is enabled
(When bit 0 (AUP) of parameter No.3450 is set to 1)
When the desktop calculator decimal point setting is not specified (when bit 0 (DPI) of parameter
No.3401 is set to 0), if the second auxiliary function with no decimal point is specified, the specified
value is output on the code signals as is.
Example:
Specified value Output value
B10 10
When desktop calculator decimal point input is specified (when bit 0 (DPI) of parameter No.3401 is
set to 1), if the second auxiliary function with no decimal point is specified, the specified value
multiplied by a magnification is output on the code signals. (Magnifications are shown in Table 12.3
(a).)
Example:
Specified value Output value
B10 10000 (When metric input is used and the reference axis is IS-B. The
magnification is 1000.)
When the second auxiliary function with a decimal point is specified, the specified value multiplied
by a magnification is output to the code signals. (Magnifications are shown in Table 12.3 (a).)
Example:
Specified value Output value
B10. 10000 (When metric input is used and the reference axis is IS-B. The
magnification is 1000.)
B0.123 1230 (When inch input is used, the reference axis is IS-B, and parameter AUX
is set to 1. The magnification is 10000.)
The magnification is determined as shown below according to the setting unit of the reference axis
(specified by parameter No.1031) and bit 0 (AUX) of parameter No.3405.
Table 12.3 (a) Magnifications for an output value when the second auxiliary function with a decimal point is
specified for desktop calculator decimal point input
Bit 0 (AUX) of parameter Bit 0 (AUX) of parameter
Setting unit
No.3405 = 0 No.3405 = 1
Reference axis: IS-A 100× 100×
Metric input system
Reference axis: IS-B 1000× 1000×
Reference axis: IS-A 100× 1000×
Inch input system
Reference axis: IS-B 1000× 10000×
CAUTION
If a decimal fraction remains after multiplying the specified value with a decimal
point by a magnitude in Table 12.3 (a), the fraction is truncated.
Example:
Specified value Output value
B0.12345 1234
(When inch input is used, the reference axis is IS-B, and parameter AUX is set
to 1. The magnification is 10000.)
- 99 -
12.AUXILIARY FUNCTION PROGRAMMING B-64554EN/01
NOTE
If the number of digits of the specified value exceeds the allowable number of
digits (set by parameter No. 3033), alarm PS0003, “TOO MANY DIGIT” is
issued.
When the specified value is multiplied by a magnitude in Table 12.3 (a), the
allowable number of digits must be set for the resultant value.
Limitation
Addresses used for the second auxiliary functions (addresses specified with B or parameter No. 3460)
cannot be used as the addresses used for controlled axis names.
(Example)
G92X1000. Y800. ;
M40 ;
G72X200. Y200. ; Punch mode
G26I50. J0K10. T101;
M41;
G90G00X100. Y100. ;
G01X300. F300;
Y300. ; Laser mode
X100. ;
Y100. ;
M40 ;
G28M30 ;
WARNING
1 The punch mode and laser mode can be switched only when bit 0 (ALA) of
parameter No. 16242 is set to 1.
Set the M code to the parameter (No. 16244, 16245).
2 The punch mode is entered immediately after the power is turned on or the
system is reset. (Laser mode is entered when bit 5 (RLM) of parameter No.
16240 is set.)
3 The M codes for switching the punch and laser modes must be specified in a
single block.
4 In punch mode, AI Advanced Preview Control function cannot be used.
- 100 -
B-64554EN/01 PROGRAMMING 13.PROGRAM MANAGEMENT
13 PROGRAM MANAGEMENT
Chapter 13, "PROGRAM MANAGEMENT", consists of the following sections:
- 101 -
13.PROGRAM MANAGEMENT PROGRAMMING B-64554EN/01
NOTE
Program O0001 1 The program storage size means the maximum
O0001 ; size of a program if the program is the one and
First page
N1 G01 ; only program registered.
(Area in use) 2 If more than one program is registered, the
total size of registerable programs reduces for
N100 … ; the following reason.
Second page
The Series 0i-PD manages programs in page
(Area in use) units. The unit of program storage is managed
also in page units. When a program is created,
M30 ; Last page
as many pages as necessary to store the
(Area in use) program are secured, and the program is
(Unused area)
stored on these pages. Generally, the last
program storage page has an unused area (left
figure). This unused area cannot be used to
Unusable for any other store any other program. For the sake of
program
program management, it is regarded as an
area in use.
Example of creating program O0001
The Series 0i-PC uses a similar way of
management, but the unit of pages in it differs
from that in the Series 0i-PD. So, if more than
one program is registered in the Series 0i-PD,
the total program size of registerable programs
differs from that in the Series 0i-PC.
- 102 -
B-64554EN/01 PROGRAMMING 14.PROGRAM CONFIGURATION
14 PROGRAM CONFIGURATION
Overview
- Main program and subprogram
There are two program types, main program and subprogram. Normally, the CNC operates according to
the main program. However, when a command calling a subprogram is encountered in the main program,
control is passed to the subprogram. When a command specifying a return to the main program is
encountered in a subprogram, control is returned to the main program.
The CNC memory can hold up to 400 main programs and subprograms (63 as standard). A main program
can be selected from the stored main programs to operate the machine. See Chapter III-9, “CREATING
PROGRAMS” and Chapter III-10, “EDITING PROGRAMS” for the methods of registering and selecting
programs.
- Program components
A program consists of the following components:
- 103 -
14.PROGRAM CONFIGURATION PROGRAMMING B-64554EN/01
Leader section
M30 ;
% Program code end
A block contains information necessary for machining, such as a move command or coolant on/off
command. Specifying a slash (/) at the start of a block disables the execution of some blocks (see
"optional block skip" in II-14.2).
M30 ;
% Program code end
Explanation
- Program code start
The program code start indicates the start of a file that contains NC programs.
- 104 -
B-64554EN/01 PROGRAMMING 14.PROGRAM CONFIGURATION
The mark is not required when programs are entered using ordinary personal computers. The mark is not
displayed on the screen. However, if the file is output, the mark is automatically output at the start of the
file.
- Leader section
Data entered before the programs in a file constitutes a leader section.
When machining is started, the label skip state is usually set by turning on the power or resetting the
system. In the label skip state, all information is ignored until the first end-of-block code is read. When a
file is read into the CNC unit from an I/O device, leader sections are skipped by the label skip function.
A leader section generally contains information such as a file header. When a leader section is skipped,
even a TV parity check is not made. So a leader section can contain any codes except the EOB code.
- Program start
The program start code is to be entered immediately after a leader section, that is, immediately before a
program section.
This code indicates the start of a program, and is always required to disable the label skip function.
With ordinary personal computers, this code can be entered by pressing the return key.
NOTE
If one file contains multiple programs, the EOB code for label skip operation
must not appear before a second or subsequent program number.
- Comment section
Any information enclosed by the control-out and control-in codes is regarded as a comment.
The user can enter a header, comments, directions to the operator, etc. in a comment section.
When a program is read into memory for memory operation, comment sections, if any, are not ignored
but are also read into memory. Note, however, that codes other than those listed in the code table in
Appendix B are ignored, and thus are not read into memory.
When data in memory is output on external I/O device (See Chapter III-8, “DATA INPUT/OUTPUT”),
the comment sections are also output.
When a program is displayed on the screen, its comment sections are also displayed. However, those
codes that were ignored when read into memory are not output or displayed.
During memory operation or DNC operation, all comment sections are ignored.
The TV check function can be used for a comment section by setting bit 1 (CTV) of parameter No. 0100.
- 105 -
14.PROGRAM CONFIGURATION PROGRAMMING B-64554EN/01
CAUTION
If a long comment section appears in the middle of a program section, a move
along an axis may be suspended for a long time because of such a comment
section. So a comment section should be placed where movement suspension
may occur or no movement is involved.
NOTE
1 If only a control-in code is read with no matching control-out code, the read
control-in code is ignored.
2 The following codes cannot be used in the comment section:
- EOB
- % (ER for EIA)
% TITLE ;
O0001 ;
N1 ... ;
Sequence number
M30 ;
% Program end
- Program number
A program number consisting of address O followed by a four-digit number is assigned to each program
at the beginning registered in memory to identify the program. When the 8-digit number function is
selected, the program number consists of eight digits.
In ISO code, the colon ( : ) can be used instead of O.
When no program number is specified at the start of a program, the sequence number (N....) at the start of
the program is regarded as its program number. If a five-digit sequence number is used, the lower four
digits are registered as a program number. If the lower four digits are all 0, the program number registered
- 106 -
B-64554EN/01 PROGRAMMING 14.PROGRAM CONFIGURATION
immediately before added to 1 is registered as a program number. Note, however, that N0 cannot be used
for a program number.
If there is no program number or sequence number at the start of a program, a program number must be
specified using the MDI panel when the program is stored in memory (See Section III-8.2,
“INPUT/OUTPUT ON EACH SCREEN” or Section III-9.1, “CREATING PROGRAMS USING THE
MDI UNIT”)
NOTE
Program numbers 8000 to 9999 may be used by machine tool builders, and the
user may not be able to use these numbers.
At the head of a block, a sequence number consisting of address N followed by a number not longer than
five digits (1 to 99999) can be placed. Sequence numbers can be specified in a random order, and any
numbers can be skipped. Sequence numbers may be specified for all blocks or only for desired blocks of
the program. In general, however, it is convenient to assign sequence numbers in ascending order in phase
with the machining steps (for example, when a new tool is used by tool replacement, and machining
proceeds to a new surface with table indexing.)
NOTE
N0 must not be used for the reason of file compatibility with other CNC systems.
Program number 0 cannot be used. So 0 must not be used for a sequence
number regarded as a program number.
- 107 -
14.PROGRAM CONFIGURATION PROGRAMMING B-64554EN/01
NOTE
(*) In ISO code, the colon ( : ) can also be used as the address of a program
number.
N_ G_ X_ Y_ F_ S_ T_ M_ ;
Sequence number Preparatory Dimension word Feed-function S function Tool function Auxiliary function
function
Fig. 14.2 (c) 1 block (example)
- 108 -
B-64554EN/01 PROGRAMMING 14.PROGRAM CONFIGURATION
*1 In ISO code, the colon ( : ) can also be used as the address of a program number.
*2 For inch input/millimeter machines, the maximum specifiable range of dimension words is as
follows:
Increment system Maximum specifiable range
IS-A ±39370.078 inch
IS-B ±39370.0787 inch
*4 The maximum value of addresses M, T, and B is 99999999, and, the maximum value of address S is
99999.
Note that, however, values longer than the permissible number of digits set in parameter No. 3030 to
3033 cannot be specified. The values and uses for some codes are limited by parameter setting. (For
example, some M codes are not buffered.) For details, refer to the parameter manual.
- 109 -
14.PROGRAM CONFIGURATION PROGRAMMING B-64554EN/01
Example 1)
/2 N123 X100.0 Y200.0 ;
Example 2)
//3 N123 X100.0 Y200.0 ; → Incorrect
/1 /3 N123 X100.0 Y200.0 ; → Correct
NOTE
1 Number 1 for /1 can be omitted. However, when two or more optional block skips
are specified for one block, number 1 for /1 cannot be omitted.
2 Depending on the machine tool, all optional block skip signals (1 to 9) may not
be usable. Refer to manuals of the machine tool builder to find which switches
are usable.
The following shows the relationship between the timing at which optional block skip signals BDT1 to
BDT9 are set to 1 and the range of information to be ignored.
1. When the signal BDTn is set to 1 before the CNC starts reading a block that contains /n, the block is
ignored.
BDTn "1"
"0"
2. When the signal BDTn is set to 1 while the CNC is reading a block that contains /n, the block is not
ignored.
BDTn "1"
"0"
Read by CNC → . . . ; /n N123 X100. Y200. ; N234 . . . .
- 110 -
B-64554EN/01 PROGRAMMING 14.PROGRAM CONFIGURATION
3. When the signal BDTn is set to 0 while the CNC is reading a block that contains /n, the block is
ignored.
BDTn "1"
"0"
4. Two or more optional block skips can be specified in one block. When the signal corresponding to
any of the specified skips is set to 1, the block is ignored.
BDT3 "1"
"0"
NOTE
1 This function is not used when a program is registered in memory. A block
containing / is registered in memory regardless of the statuses of optional block
skip signals. When a program in memory is also output regardless of the
statuses of optional block skip signals.
In addition, the optional block skip function is enabled during a search for a
sequence number.
2 Position of a slash
A block skip slash (/) must be specified at the beginning of a block. Note that if a
slash is placed elsewhere, the information from the slash to immediately before
the EOB code is ignored.
3 TV and TH check
When the optional block skip signal is set to 1, TH and TV checks are made for
the skipped portions in the same way as when the optional block skip signal is
set to 0.
- Program end
The end of a program is indicated by programming one of the following codes at the end of the program:
If one of the program end codes is executed in program execution, the CNC terminates the execution of
the program, and the reset state is set. When the subprogram end code is executed, control returns to the
program that called the subprogram.
CAUTION
A block containing an optional block skip code such as /M02 ; , /M30 ; , or /M99 ;
is not regarded as the end of a program. (see "Optional block skip".)
- 111 -
14.PROGRAM CONFIGURATION PROGRAMMING B-64554EN/01
Format
- Subprogram configuration
One subprogram
Oxxxx ; Subprogram number or subprogram file name (or the colon (:) optionally
: in the case of ISO)
M99; Program end
M99 need not constitute a separate block as indicated below.
Example) X100.0Y100.0M99;
- Subprogram call
- When a subprogram with a 4-digit or shorter program number is called
M98 Pxxxx xxxx ;
Subprogram number
Number of times the subprogram is called repeatedly
or
M98 Pxxxx Lxxxxxxxx ;
NOTE
1 When calling a subprogram of a 4-digit or shorter subprogram number
repeatedly (P8 digit), make the subprogram number 4 digits by prefixing it with
“0” if the subprogram number is shorter than 4 digits.
Example)
P100100: Call subprogram No. 100 ten times.
P50001: Call subprogram No. 1 five times.
2 If the number of times the subprogram is called repeatedly is omitted, the
subprogram is called just once.
In this case, it is not necessary to adjust the subprogram number length to 4
digits as described in Item 1 above.
3 When calling a subprogram repeatedly (P8 digit), do not specify address L in the
same block.
Explanation
When the main program calls a subprogram, it is regarded as a one-level subprogram call. Thus,
subprogram calls can be nested up to ten levels as shown below.
- 112 -
B-64554EN/01 PROGRAMMING 14.PROGRAM CONFIGURATION
A single call command can repeatedly call a subprogram up to 99999999 times. For compatibility with
automatic programming systems, in the first block, Nxxxx can be used instead of a subprogram number
that follows O (or :). A sequence number after N is registered as a subprogram number.
NOTE
1 The M98 and M99 code signal and strobe signal are not output to the machine
tool.
2 If the subprogram number specified by address P cannot be found, an alarm
PS0078, “SEQUENCE NUMBER NOT FOUND” is output.
Example
M98 P51002 ;
This command specifies "Call the subprogram (number 1002) five times in
succession." A subprogram call command (M98P_) can be specified in the same
block as a move command.
Special usage
- Specifying the sequence number for the return destination in the main
program
If P is used to specify a sequence number when a subprogram is terminated, control does not return to the
block after the calling block, but returns to the block with the sequence number specified by P. When P0
is specified, however, P is ignored. In addition, when the main program is operating in a mode other than
memory operation mode, P is ignored.
This method consumes a much longer time than the normal return method to return to the main program.
- 113 -
14.PROGRAM CONFIGURATION PROGRAMMING B-64554EN/01
- 114 -
B-64554EN/01 PROGRAMMING 14.PROGRAM CONFIGURATION
Main program Sub program
N0010…; O1010…;
N0020…; N1020…;
N0030 M98 P1010 Q1030 ; N1030…;
N0040…; N1040…;
N0050…; N1050…;
N0060…; N1060…M99 ;
This function enables a sequence number in the same program to be called for execution as shown below.
This method, however, requests the programmer to be aware of an allowable call nesting level. If an
attempt is made to exceed the allowable nesting level, alarm PS0077, “TOO MANY SUB,MACRO
NESTING” is issued.
O0001 ;
N0010…;
N0020 M98 (P0001) Q0050 ;
N0030…;
N0040…;
N0050…;
N0060…;
N0070…M99;
For a call within the same program, specification of Pxxxx in a block can be omitted when the block
includes M98.
This function is usable only for subprogram calls by M98; it is unusable for non-M98 calls, such as macro
calls or external subprogram calls based on M198.
NOTE
If bit 0 (SQC) of parameter No. 6005 is ”0”, and an M98 Pxxxx Qxxxxx command
is specified, alarm PS0009, "IMPROPER NC-ADDRESS", is issued.
- 115 -
15. FUNCTIONS TO SIMPLIFY
PROGRAMMING PROGRAMMING B-64554EN/01
G26 I r J θ K n
G78 I dx J dy P nx K ny dx nx
G79 I dx J dy P nx K ny
- 116 -
15.FUNCTIONS TO SIMPLIFY
B-64554EN/01 PROGRAMMING PROGRAMMING
G code G code
Pattern function Patterns
system A system B
G86 G66 Share proofs
-Punching straight l
#1 #n
G86 I l J θ P w1 Q w2 w2 θ
w1
G88 I r J θ K Δθ P d Q p
G89 G79 Cut at angle d
-Punching specified times at constant pitch l
#n
(distance) along the straight line that have p
specified distance. θ
#1 #2
G89 I l J θ P d Q p
NOTE
G26, G76, G77, G78, G79, G86, G87, G88 and G89 are one-shot G codes.
Motion 2
(Punching operation)
Motion 1 Repetition
(Movement of the
X and Y axes)
G72X x Y y ;
- 117 -
15. FUNCTIONS TO SIMPLIFY
PROGRAMMING PROGRAMMING B-64554EN/01
The (x, y) point in the work coordinate system is the pattern base point in absolute (G90) programming,
while the point distant from the present position by (x, y) is the reference point in incremental (G91)
programming.
G72 specifies the pattern base point, and the tool does not move.
Example
Program 1 Program 2
(Not use G72) (Use G72)
G90 G00 X50. Y50. G90 G00 X50. Y50.
G90 G00 X150.Y150. G72 X150.Y150.
(50,50) (pattern base point) (pattern base point)
G26 I60. J0 K4 G26 I60. J0 K4
CAUTION
1 None of T code, M code, and F code is commandable in G72 block.
2 G72 is one-shot G code.
Format
G26 I r J θ K n
r : Radius of arc (Valid data range : 1 to 999999999)
Unit of data : Input unit (inch/mm)
-Should be specified by positive number.
θ : Angle between the first punch point and +X axis (Valid data range : When the increment system is IS-B,
−359999 to 359999)
Unit of data : Least input increment (deg)
-The counterclockwise direction is commanded as positive. While, clockwise direction is commanded as
negative.
This G26 punches n pieces of equally divided points on the circumference, starting with the point which
forms angle θ with the reference to X axis on the circumference having radius r with the pattern base
point being set as the circle center.
- 118 -
15.FUNCTIONS TO SIMPLIFY
B-64554EN/01 PROGRAMMING PROGRAMMING
#3
#1
#4 θ #n
+X
Center of Circle
(Pattern base point)
#(n−3) #(n−1)
Example
- When θ<0, n>0, and punching in the pattern base point
#4
#5
(125.981,95.000)
#3
(71.022,87.765)
#6
(100.000,80.000)
N211
+X
N212
(60.000,80.000) #2
−60° 45°
(128.978,72.235)
#7 30.000
(74.019,65.000)
#8 #1
(115.000,54.019)
(92.235,51.022)
If it is desired to punch the center of the circle, omit G72 of block N521.
NOTE
1 If the radius is 0 or the number of punch points is 0, an alarm (No. 4502) is
issued.
2 T and C commands are possible in same block of G26.
- 119 -
15. FUNCTIONS TO SIMPLIFY
PROGRAMMING PROGRAMMING B-64554EN/01
Format
G76 I d J θ K n
d : Punch point interval (Valid data range : −999999999 to 999999999)
Unit of data : Input unit (inch/mm)
-If this value is commanded with positive, punching is made in the θ direction.
-If this value is commanded with negative, punching is made in the θ + 180° direction.
θ : Angle which is formed between the +X axis and the line connecting the start point and punch points (Valid
data range : When the increment system is IS-B, −359999 to 359999)
Unit of data : Least input increment (deg)
-Counterclockwise direction is commanded by a positive number.
-Clockwise direction is commanded by a negative number.
By the above command, punching is made at n pieces of points which lie every intervals of d along the
straight line which forms angle θwith reference to the X axis, starting with the pattern base point as the
start point.
#(n−1)
d #3
#2
#1
θ
+X
Start point
(pattern base point) #1 to #n :Order of punch motion
- 120 -
15.FUNCTIONS TO SIMPLIFY
B-64554EN/01 PROGRAMMING PROGRAMMING
Example
- When d>0, θ>0, and not punching in the pattern base point
#6
(205.885,100.000)
#5
(179.904,85.000)
#4
(153.923,70.000)
(30.000,50.000) #3
(127.942,55.000)
#2
30.000
N311 (101.962,40.000)
#1 (75.981,25.000)
30°
+X
N312:(50.000,10.000)
NOTE
If the number of punch points is 0, alarm (PS4503) is produced.
Format
G77 I r J θ P Δθ K n
r : Radius of arc (Valid data range : 1 to 999999999)
Unit of data : Input unit (inch/mm)
-Should be specified by positive number.
θ : Angle formed between the first punch point and the +X axis (Valid data range : When the increment system is
IS-B, −359999 to 359999)
Unit of data : Minimum unit of data (deg)
-Counterclockwise punching is commanded by a positive number.
-Clockwise punching is commanded by a negative number.
Δθ : Angle formed between adjacent punch points axis (Valid data range : When the increment system is IS-B,
−359999 to 359999)
Unit of data : Minimum unit of data (deg)
-Counterclockwise punching is commanded by a positive number.
-Clockwise punching is commanded by a negative number.
By the above command, punching is made at n pieces of points every incremental Δθ angle, starting with
the point which forms θ angle with reference to the X-axis on the circumference of radius r, with the
pattern base point being set as the circle center.
- 121 -
15. FUNCTIONS TO SIMPLIFY
PROGRAMMING PROGRAMMING B-64554EN/01
#(n−1) #1
r
#n
Δθ
+X
Center
(Pattern base point)
#1 to #n:Order of punch motion
Example
- When θ>0, Δθ<0 and not punching in the pattern base point
(10.000,130.000)
#1 #5
40.000 −22.5° #6
135° (96.955,115.307)
+X
N412:(60.000,100.000)
NOTE
If the radius is 0 or the number of punch points is 0, alarm (PS 4504) is produced.
- 122 -
15.FUNCTIONS TO SIMPLIFY
B-64554EN/01 PROGRAMMING PROGRAMMING
Format
G78 I dx J dy P nx K ny
G79 I dx J dy P nx K ny
dx : Punch point intervals in the X-axis direction (Valid data range : −999999999 to 999999999)
Unit of data : Input unit (inch/mm)
-This is commanded by a positive number when the first punch point in the X-axis direction is located in the
+X direction as viewed from the start point.
-This is commanded by a negative number when the first punch point in the X-axis direction is located in
the -X direction as viewed from the start point.
dy : Punch point intervals in the Y-axis direction (Valid data range : −999999999 to 999999999)
Unit of data : Input unit (inch/mm)
-This is commanded by a positive number when the first punch point in the Y-axis direction is located in the
+Y direction as viewed from the start point.
-This is commanded by a negative number when the first punch point in the Y-axis direction is located in
the -Y direction as viewed from the start point.
nx : Number of punch points in the X-axis direction (Valid data range : 1 to 9999)
-Should be specified by positive number.
-The start point is not included in the number.
ny : Number of punch points in the Y-axis direction (Valid data range : 1 to 9999)
-Should be specified by positive number.
-The start point is not included in the number.
By the above command, punching is made at matrix points consisting of nx pieces at intervals of dx in the
X-axis direction and ny pieces at intervals of dy in the Y-axis direction, starting with the pattern base
point being set as the start point.
#n #(n−1)
ny
#(nx+1)
dy
#1 #(nx−1) #nx
+X
Start point
dx nx
(Pattern base point)
- 123 -
15. FUNCTIONS TO SIMPLIFY
PROGRAMMING PROGRAMMING B-64554EN/01
#ny #(ny+1)
#(ny−1)
ny
#1 #(n−1)
dy
#n
+X
Start point
dx nx
(Pattern base point)
Example
- When dx<0, dy<0 and punching in the pattern base point
20 N511
(120,130)
#4 #3 #2 #1 N512
+X
NOTE
If the number of punch points is 0 in the X-axis or Y-axis direction, alarm (PS
4505) is produced.
- 124 -
15.FUNCTIONS TO SIMPLIFY
B-64554EN/01 PROGRAMMING PROGRAMMING
Format
G86 I l J θ P w1 Q w2
θ : The angle for the X-axis (Valid data range : When the increment system is IS-B, −359999 to 359999)
Unit of data : minimum unit of data (deg)
-The counterclockwise direction corresponds to positive.
-The clockwise direction corresponds to negative.
w1 : Tool width measured in parallel with the direction in which the tool advances
(Valid data range : ±1 to ±999999999)
Unit of data : Input unit (inch/mm)
-For positive and negative, punch the left and right sides in the forward direction, respectively.
w2 : Tool width measured vertically to the direction in which the tool advancess
(Valid data range : ±1 to ±999999999)
Unit of data : Input unit (inch/mm)
-Both w1 and w2 must be designated when either positive or negative.
- For a square tool with w1 = w2, w2 may be omitted.
With the pattern base point as a start point, this function allows to punch length ⏐l⏐ in the direction of
angle θ for the X-axis, using a rectangular tool with w1 as the width and w2 as the length.
#n
#(n−1)
w1
#2 θ
w2 #1
+X
Start point
(Pattern base point) #1 to #n: Order of punch motion
- 125 -
15. FUNCTIONS TO SIMPLIFY
PROGRAMMING PROGRAMMING B-64554EN/01
Example
- When l<0, θ>0, w1<0, and w2<0
N612:(80.000,100.000)
30°
10.000 +X
5.000
60.000
#1:(76.920,95.335)
#2:(69.703,91.168)
N611
#3:(62.486,87.002) (110.000,90.000)
#4:(55.269,82.335)
#5:(48.052,78.668)
#6:(40.835,74.502)
#7:(33.619,70.335)
#1 #2 #(n−1) #n
⏐l⏐−⏐w1⏐
⏐l⏐
(1) 95% of w1 (0.95×w1) is defined as a temporary pitch.
(2) When the number of punching point without first punching point is a, the
number of punching point (a) is shown the following expression.
( In the point, the number of punching point a must be integral number.
However, when the number after the decimal point is cut off, tool does not
arrive at the terminal punching point. So the number after the decimal
point is rounded up. )
l − w1
a= (after the decimal point rounded up.)
0.95 × w1
(3) And the pitch to punch evenly by the number of punching point a rounded
up is defined as an actual pitch p. Therefore, pitch p is calculated by the
following expression.
l − w1
p=
a
- 126 -
15.FUNCTIONS TO SIMPLIFY
B-64554EN/01 PROGRAMMING PROGRAMMING
Format
G87 I lx J ly P w1 Q w2
lx : Length of punching in the X-axis direction (Valid data range : −999999999 to 999999999)
Unit of data : Input unit (inch/mm)
-For positive and negative, the length shall be in the +X and –X directions, respectively.
ly : Length of punching in the Y-axis direction (Valid data range : −999999999 to 999999999)
Unit of data : Input unit (inch/mm)
-For positive and negative, the length shall be in the +Y and –Y directions, respectively.
w1 : With of the tool in the X-axis direction (Valid data range : 1 to 999999999)
Unit of data : Input unit (inch/mm)
-Should be specified by positive number.
w2 : With of the tool in the Y-axis direction (Valid data range : 1 to 999999999)
Unit of data : Input unit (inch/mm)
-Should be specified by positive number.
- For a square tool with w1 = w2, w2 may be omitted.
With the Pattern base point as a starting point, it allows to punch a rectangle with length ⏐lx⏐ in the
X-axis direction and length ⏐ly⏐ in the Y-axis direction, using a tool with w1 as the width and w2 as the
length. The punching operation is performed from the longitudinal direction (i.e.: direction with large
length between ⏐lx⏐ and ⏐ly⏐). If ⏐lx⏐ = ⏐lx⏐, punching operation will be performed in the X-axis
direction.
ly
#(n−1)
#n
w2
#1 #2
Start point
+Y
(Pattern base point) w1 lx
+X
- 127 -
15. FUNCTIONS TO SIMPLIFY
PROGRAMMING PROGRAMMING B-64554EN/01
Example
- When lx<0, ly<0, and ⏐lx⏐<⏐ly⏐
N712:(80.000,100.000)
50.000
15.000 N711
#17 #18
(120.000,110.000)
#1
95.000 #16 10.000
#2
86.667
#15
78.333 #3
#14
#4
70.000 #13 60.000
#5
61.667
#12
53.333 #6
#11
#7
45.000 #10
+Y #9 #8
- 128 -
15.FUNCTIONS TO SIMPLIFY
B-64554EN/01 PROGRAMMING PROGRAMMING
Format
G88 I r J θ K Δθ P d Q p
Δθ : Incremental angle from the first punch point to the last punch point
(Valid data range : −999999999 to 999999999)
Unit of data : Minimum unit of data (deg)
-Counterclockwise punching is commanded by a positive number.
-Clockwise punching is commanded by a negative number.
The punching operation is performed at pitch P between a point having angle θfor the X-axis on the
circumference (diameter r) and a point having angle θ + Δθ for the X-axis with the pattern base point as a
center according to the above, using a tool with diameter d.
#(n−1)
#n
#3
r #2
p
#1
Δθ
Center θ d
(Pattern base point) +X
Radius (G88) is the same as with circular nibbling (G68) except that there is no pitch limit value by
parameter setting (No. 468 and 469), and it stops at each punch point for a single block. Therefore, also
refer to the Circular Nibbling (G68) paragraph given under 9.3.1.
- 129 -
15. FUNCTIONS TO SIMPLIFY
PROGRAMMING PROGRAMMING B-64554EN/01
Format
G89 I l J θ P d Q p
θ : The angle for the X-axis (Valid data range : When the increment system is IS-B, −359999 to 359999)
Unit of data : minimum unit of data (deg)
-The counterclockwise direction corresponds to positive.
-The clockwise direction corresponds to negative.
This function allows to punch a straight line with length l having angle θ to X-axis with the current tool
position or the position designated by G72 as a starting point, at pitch P, using a tool with diameter d.
p #2 #3
#1
θ
d +X
Start point
(Pattern base point) #1 to #n: Order of punch motion
Cut at angle (G89) is the same as with straight line nibbling (G69) except that there is no pitch limit value
by parameter setting (No. 468 and 469) and it stops at each punching point for a single block; therefore,
refer to 9.3.2 “Straight Line Nibbling (G69)” as well.
#2
End point in N3113
#9:(180.0,150.0)
#3 (250.0,150.0)
#1
(80.0,50.0)
Tool does not move by the
incremental amount from end
#4
point of pattern function
(100.0,100.0)
#8:(170.0,100.0)
Pattern base point
End point of the pattern function
#7
#5 #6
Fig.15.1.10 (a) Incremental command just after bolt hole circle (G26)
(50.0,50.0) (150.0,50.0)
Pattern base point End point of program
- 131 -
15. FUNCTIONS TO SIMPLIFY
PROGRAMMING PROGRAMMING B-64554EN/01
(60.0,120.0)
(−60.0,−10.0)
End point of
N3127 の終点 program
#10:(0.0,110.0) #2
#1
(60.0,50.0)
Pattern base point
When the block execution of the bolt hole circle (G26) has been finished, the tool is located at the end
point, in practice.
However, a programmer shall make a program assuming that the tool be located at the base point, i.e., the
center of the pattern.
Thus, programming is simplified in machining, like the following example.
Example
- Concentric bolt hole circles
40.0 70.0
It is not required to command
G90 G72 X100. Y100. ;
#1
between N3116 and N3117.
#7 #8
- 132 -
15.FUNCTIONS TO SIMPLIFY
B-64554EN/01 PROGRAMMING PROGRAMMING
#3 #2 #8 #7 #13 #12
- 133 -
15. FUNCTIONS TO SIMPLIFY
PROGRAMMING PROGRAMMING B-64554EN/01
(1) Memory
When a one-digit numeral from 1 to 5 subsequent to address A is given before the G code of the
pattern function, the pattern function according to the G-code is stored in the memory.
(Example) A2G76I300J3000K5;
(2) Call
By giving a one-digit numeral from 1 to 5 subsequent to address B, it is possible to call the pattern
function stored previously with address A.
(Example) B2;
(3) Example
When bolt hole circles with the same figure having a center in (100, 100), (200, 100), (250, 180),
and (150, 180) are present:
・・・・・・・・
N01G72X100.Y100.; Base point command
N02A2G26I40.J0K4; Bolt hole circle command
N03G72X200.Y100.; Base point command
N04B2; Equal to the block which commanded A2
N05G72X250.Y180.; Base point command
N06B2; Equal to the block which commanded A2
N07G72X150.Y180.; Base point command
N08B2; Equal to the block which commanded A2
・・・・・・・・
(150,180) (250,180)
・ ・
・ ・
(100,100) (200,100)
CAUTION
1 Do not give the same number because the pattern function differs. At this time,
the previous memory is erased.
2 Only a block with up to 192 characters can be stored in memory.
- 134 -
15.FUNCTIONS TO SIMPLIFY
B-64554EN/01 PROGRAMMING PROGRAMMING
Y Workpiece
Workpiece holder
Repositioning of a workpiece is generally done according to the following procedure, assuming that the
workpiece is positioned at a location where the repositioning of the workpiece is executable.
(1) The claw of the workpiece holder is opened, and also the clamper depresses the workpiece
concurrently to fix the workpiece as a general procedure, so that the workpiece is not deviated from
the table.
Clamper
Y
- 135 -
15. FUNCTIONS TO SIMPLIFY
PROGRAMMING PROGRAMMING B-64554EN/01
(2) The workpiece holder moves in the Y–axis direction and separates from the workpiece.
Clamper
Y
(3) The workpiece holder moves in the X–axis direction to relocate the hold position.
Y Workpiece
Workpiece holder
(4) The workpiece holder moves in the Y–axis direction to return to the position where it can hold the
workpiece.
clamper
Y
- 136 -
15.FUNCTIONS TO SIMPLIFY
B-64554EN/01 PROGRAMMING PROGRAMMING
(5) The claw of the workpiece holder is closed to hold the workpiece, and the clamper lifts and separates
from the workpiece concurrently.
Clamper
Y
A series of the above operation can be done by one–block command including G function.
G75 X x
The above command is executed by being divided into the following 5 blocks.
<1> M10 ;
<2> G70G91Y yR ;
<3> G70G91X -x ;
<4> G70G91Y -yR ;
<5> M11 ;
A relief or a return mount yR in the Y-axis direction is preset by parameter (No. 16209).
y
(200.0,100.0)
This position becomes
100.0 (100,100) after executing
G75block.
In other words, the work
coordinate system shifts by
100.0 in the X-axis
x direction.
Workpiece holder
Fig.15.3 (g) The work coordinate system after executing automatic repositioning
- 137 -
15. FUNCTIONS TO SIMPLIFY
PROGRAMMING PROGRAMMING B-64554EN/01
The movement of the X-axis for repositioning changes the workpiece holder position. The tool position
remains unchanged in the work coordinate system, in practice. Accordingly, internal processing is made
in this control system so that the coordinate value of the tool is not changed by the axis movement
performed by repositioning.
Thus, it is not necessary to take the repositioning of a workpiece into consideration in programming.
Now, the following description covers such a case that several workpieces are sequentially machined
according to a program including the repositioning command.
y
Workpiece Reference point
End locator
Workpiece holder
200.0
1000.0
Refer to the above figure as an example. The reference point is assumed as the start point of the tool.
Assume that the distance between the reference point and the end locator is 1000 mm, and the left
workpiece holder is mounted at a place distant from the end locator by 200 mm.
In order to machine the next workpiece by the same program after machining one workpiece, the start
point of the tool must also be the reference point to the next workpiece. Accordingly, programming must
be made to set the end point to the reference point.
G92X1000.0Y . . . ;
..........
..........
..........
..........
G75X300.0 ;
..........
..........
.........
G28M30 ;
“The end point is the reference point.” means that the position of the end point is just the same as the start
point on the machine tool, and the workpiece holder position is the start point, i.e., the position distant
from the end locator by 200 mm. However, the left lower point of the workpiece, i.e., the zero point of the
work coordinate system, does not meet the end locator position, but it is distant from the end locator by
300 mm in the –X direction.
- 138 -
15.FUNCTIONS TO SIMPLIFY
B-64554EN/01 PROGRAMMING PROGRAMMING
y
Workpiece Reference point
End
locator
Workpiece holder
300.0 200.0
1000.0
When a new workpiece is set by attaching it to the end locator after removing the workpiece, the zero
point of the work coordinate system must be positioned at the end locator.
Accordingly, the coordinate system must be set by G92 command at the start of the program without fail.
CAUTION
1 Neither T code nor M code should be commanded in G75 block.
2 The repositioning amount of the workpiece holder is specified by a numerical
value following address X in G75 command. If repositioning is made in the +X
direction of the work coordinate system, specify it by a positive numerical value.
3 Other M codes may be used for M10 and M11 depending upon machine tool
builders.
4 Programming is made, assuming that the workpiece is fixed and a tool moves
along the workpiece. However, the workpiece moves, while the tool is fixed
generally. Accordingly, the movement direction of the workpiece, or, the
movement direction of the workpiece holder, is contrary to the movement
direction of the tool.
This means that, when the workpiece holder moves in the +X and +Y directions
of the work coordinate system, the tool must be regarded to move in the –X and
–Y direction respectively. Accordingly, the command in <2>, <3>, <4> blocks is
opposite to movement direction in the work coordinate system of the workpiece
holder.
- 139 -
15. FUNCTIONS TO SIMPLIFY
PROGRAMMING PROGRAMMING B-64554EN/01
CAUTION
5 In G75 command, the relief quantity of the workpiece holder from the workpiece
is equal to the return quantity of the workpiece holder to the workpiece in the
absolute value of its movement amount.
However, if a workpiece is uneven, the workpiece holder depresses the
workpiece, causing the workpiece to be deviated, assuming that the workpiece
holder returns by the relief quantity as it is. For such a work, change the relief
quantity and return quantity by the following programming.
M10;
G91Y y1 ;
X –x ;
Y –y2 ; y1 differs from y2.
M11;
Even in the above command, internal processing is made in NC so that the tool
position remains unchanged in the work coordinate system, irrespective of the
movement of the X and Y axes.
Accordingly, it is not necessary for programming to take this movement into
consideration in the subsequent commands. However, since the workpiece
cannot be held if such a command is given again, it is necessary to take these
circumstances into consideration when performing repositioning again.
6 It is not recommended for cycle time and machining accuracy to repeatedly
execute repositioning by a program.
7 The single block stop is made after five sequential motion, if G75 is executed by
a single block operation.
- 140 -
15.FUNCTIONS TO SIMPLIFY
B-64554EN/01 PROGRAMMING PROGRAMMING
Example
;
G92X1830.0Y1270.0 ;
………………
………………
U02 ;
G90X100.0Y500.0T32;
G72X150.0Y700.0;
G87I100.0J300.0P10.0;
N100M00 ; Storing while command executing
G72X500.0Y300.0T26;
A03G26I100.0J0K4;
G72X800.0Y300.0;
B03;
V02;
………………
………………
U70 ;
G90X200.0Y100.0T20;
G79I8.0J10.0P3K10; Storing without command executing
G90X1000.0Y50.0T31;
G76I25.0J60.0K6 ;
V70 ;
………………
………………
In the blocks to be sandwiched in between U and V, all commands other than ones for storage of macros
according to other macro numbers (see below Example (limitation)) may be specified. But controller
resetting commands, such as M02, M30, etc., can not be specified. In addition, the part for custom macros
cannot be specified. Address words U and V must be specified in independent blocks except for the
sequence number (a numeric string of 5 digits following N).
Details of macro numbers 90 to 99 will be described later.
- 141 -
15. FUNCTIONS TO SIMPLIFY
PROGRAMMING PROGRAMMING B-64554EN/01
Example (limitation)
………………
………………
U10 ;
G90X10000Y50000T32 ;
G72X15000Y70000 ;
G87I10000J30000P1000 ;
N100M00 ;
U20 ;
G72X50000Y30000T26 ;
A03G26I10000J0K4 ;
G72X80000Y30000 ;
B03 ;
V20 ;
G90X20000Y10000T20 ;
V10 ;
As shown in the above example, another macro cannot be stored while a certain macro is being stored.
Example
………
………
U05 ;
G90X100.0Y500.0T32 ;
G72X150.0Y700.0 ;
G87I100.0J300.0P10.0 ;
M00 ;
V05 ;
………
………
G93G90X500.0Y0 ;
W05 ;
………
Address word W must be specified in a independent block except for the sequence number. But as
regards the commands G73 and G74 for the multi-piece machining function, W can be specified together
with their G codes.
- 142 -
15.FUNCTIONS TO SIMPLIFY
B-64554EN/01 PROGRAMMING PROGRAMMING
Example
U05; ( ): Signifies a block number
………; (1)
………; (2)
V05;
U20;
………; (3)
W05;
………; (4)
V20;
U70;
………; (5)
W20; These are not executed during storage because the macro number is 70.
………; (6)
V70;
W70;
W5 W5
W20
- 143 -
15. FUNCTIONS TO SIMPLIFY
PROGRAMMING PROGRAMMING B-64554EN/01
Example
N100U10 ;
〔G90X10000Y5000T20;
N101A01G26I4000J9000K10;
G91X10000;
N102B01;〕
N105V10;
………
Program codes in brackets 〔 〕 are stored in memory.
Example
U90;
U01;
………
………
V01;
U10;
………
………
V10;
U15;
………
………
V15;
G90X10000Y20000T15; ← This block is not stored.
U02; (such a use is no good)
………
………
V02;
V90;
………
………
W90; ← This command is equivalent to the following set of several commands.
W01 ;
W10 ; =W900
W15 ;
W02 ;
- 144 -
15.FUNCTIONS TO SIMPLIFY
B-64554EN/01 PROGRAMMING PROGRAMMING
When the system is reset, the stored macros can be prevented from deletion by setting of bit 0 (UVC) of
parameter No. 16200.
This function allows so called “trial machining” that performs punching only on a sheet of product from
the machining command tape for “multi-piece machining” by a simple setup method, therefore the
machining command tape can be easily checked before full machining.
Cutting margin
Workpiece
(2) (5) (8)
Catching margin
Base point of multi-piece machining
X
Parts (2) to (9) as shown above have the same punching shape as part (1).
Machining commands to punch on a sheet of material must be specified on the product part at the lower
left (1). The point at the lower left of the set of multi-products (point B shown in Fig.15.5.1 (a); called as
“Base point of multi-piece machining” hereafter) must be specified prior to the machining commands to
punch on a product part by G98 as absolute co-ordinates under the system of co-ordinates specified using
G92 command. In the G98 command, the X-axial and Y-axial lengths of one product and the numbers of
products in the directions of X-axis and Y-axis must be specified.
- 145 -
15. FUNCTIONS TO SIMPLIFY
PROGRAMMING PROGRAMMING B-64554EN/01
Format
G98Xxb Yyb Ilx Jly Pnx Kny;
xb : X–axis coordinate value of the base point of multi–piece machining
yb : Y–axis coordinate value of the base point of multi–piece machining
lx : X axial length of one product part (a positive number)
ly : Y axial length of one product part (a positive number)
nx : The number of products in the X axial direction (Note) (Command range is 0 to
9999)
ny : The number of products in the Y axial direction (Note) (Command range is 0 to
9999)
NOTE
Product part (1) is not counted.
After command of G98, specify machining commands on the lower left product part ((1) in Fig.15.5.1
(a)) using the macro function (specify the machining commands between address word U and V).
In the multi-piece machining function, if a set of machining commands corresponding to a single tool is
executed continuously on the all product parts, the tool change count is decreased so that the time
required for full machining on a material sheet can be considerably decreased. The following illustrates
this.
Workpiece
(2) (5) (8)
Let the following four types of tools be used to punch products for one sheet, as shown in Fig.15.5.1 (c).
T31
T11
T22
T33
Fig.15.5.1 (c) Tools be used to punch products for processing example (Fig.15.5.1 (b))
- 146 -
15.FUNCTIONS TO SIMPLIFY
B-64554EN/01 PROGRAMMING PROGRAMMING
Method 1
In this method, the machining commands to punch on one product part are stored as a single macro.
U01 ;
………T31 ;
……………
……………
………T22 ;
……………
……………
………T33 ;
……………
……………
………T11 ;
……………
……………
V01 ;
This method will run the risk of taking longer time for machining on a sheet of material because tool
change is performed in the order, T31 → T22 → T33 → T11, while the respective product parts from 1 to
6 are machined if macro number 01 is called by the multi-piece machining command. (Tool change
counts: 4×6=24)
Method 2
In this method, each set of machining commands to punch with a single tool is stored as a single macro.
U01 ;
………T31 ;
……………
……………
V01 ;
U02 ;
………T22 ;
……………
……………
V02 ;
U03 ;
………T33 ;
……………
……………
V03 ;
U04 ;
………T11 ;
……………
……………
V04 ;
If macro numbers 01, 02, 03 and 04 are called sequentially by the multi-piece machining command in this
case, machining proceeds as follows.
1) Tool T31 performs full machining on all product parts.
2) Then, T22 performs full machining on all product parts.
3) Then, T33 performs full machining on all product parts.
4) Then, T11 performs full machining on all product parts.
- 147 -
15. FUNCTIONS TO SIMPLIFY
PROGRAMMING PROGRAMMING B-64554EN/01
Thus, its tool change is completed by only four steps so that tool change time is considerably decreased
compared with method 1.
CAUTION
1 The G98 coordinate system is canceled by the G92 command.
2 If bit 6 (CLR) of parameter No. 3402 is set, the G98 coordinate system is
canceled by a reset.
3 When the UV macro contains the G91 command, the tool moves according to
the incremental value from the current position rather than the incremental
position based on the G98 coordinate system.
Format
G73(G74) Wwn Qq ;
wn : A macro number
q: Machining start area specification
G73 goes on punching in the X axial direction, whereas G74 goes on punching in the Y axial direction in
grid parts-line.
In the example shown in Fig.15.5.1 (b) to start machining from area (1) and to punch in the X axial
direction, specify the following commands
for the respective methods:
Method 1:G73W01Q1;
Method 2:G73W01Q1;
G73W02Q1;
G73W03Q1;
G73W04Q1;
- 148 -
15.FUNCTIONS TO SIMPLIFY
B-64554EN/01 PROGRAMMING PROGRAMMING
Let the number of tool required to machine products for one sheet be n, and method 2 requires n times of
commands G73/G74 to be specified. In such a case, several macro numbers can be represented by a single
macro number if machining start area (specified by Q) and machining direction (G73/G74) are both the
same with respect to the corresponding tools. Macro numbers to be provided for this purpose are 90 to 99.
(These are called multiple macro storage numbers hereafter.) To store macro numbers 01, 02 and 04 as a
single macro number 90 in the example shown in Fig.15.5.1 (b), specify as follows.
U90 ;
U01 ;
………T31 ;
……………
V01 ;
U02 ;
………T22 ;
……………
V02 ;
U04 ;
………T11 ;
……………
V04 ;
V90 ;
In this case, the command of “G73 W90 Q1” becomes identical with the following series of commands.
G73W01Q1 ;
G73W02Q1 ;
G73W04Q1 ;
Though multi-piece machining commands (G73/G74) are generally used to punch products of the same
shape arranged at intervals of grid, they can be also performed to punch exclusively in the X or Y axial
direction. In such a case, specify the number of products in the X or Y axial direction (to be specified by
address word P or K) in G98 to 0.
- 149 -
15. FUNCTIONS TO SIMPLIFY
PROGRAMMING PROGRAMMING B-64554EN/01
Multi–piece machining
Machining process when multiple
setting signal
workpieces are taken
MLP1 MLP2
0 0 Multi–piece machining is not used
1 0 Trial punching for multi–piece machining
0 1 Machining on the reset of material punched
1 1 Full machining for multi–piece machining
If trial punching is selected, only the lower-left product part of material ((1) in Fig.15.5.1 (a) and (b)). As
a result, macros except 60 to 89 are executed while storing, and blocks specified in G73/G74 are all
ignored.
Machining on the reset of material punched for trial signifies that after punching on only the lower-left
product part of material, the remaining product parts of material are machined entirely. For this purpose,
no machining is performed during the storage of macros, and the machining on the lower-left product part
is skipped when commands of G73/G74 are executed.
For full machining on a material, no machining is performed during the storage of macros, but machining
over the entire product parts is performed by G73/G74. Set to “0” if NC tape for the multi-piece
machining is not used.
Format
G73(G74) W_ Q_ P_ ;
W_ : UV macro number or subprogram number
Q_ : Machining sequence
P_ : Position from which machining restarts (Valid setting: 1 ≦ P ≦total number of
products to be machined (Max. 99999999))
- Example
Please specify a restart point by a P–code. Fig.15.5.4 (a) shows an example that restarting operation at
point (6). In this case, specify P6.
G73 W_ Q1 P6 ;P6 ;
- 150 -
15.FUNCTIONS TO SIMPLIFY
B-64554EN/01 PROGRAMMING PROGRAMMING
CAUTION
When restarting machining multiple products is specified, the reference position
specified by the G98 command for setting the reference position used in
machining multiple products must be used. Do not change the reference
position.
NOTE
1 A restart command is invalid for trial machining.
2 When machining multiple products is restarted, specify the position from which
machining restarts using address P so that the number of products includes the
number of products to be used for the trial, though they are not machined.
3 If a setting specified with address P is not within the range from 1 to the total
number of products inclusive, alarm (PS 4544) is issued.
- 151 -
15. FUNCTIONS TO SIMPLIFY
PROGRAMMING PROGRAMMING B-64554EN/01
Format
Bending compensation for X axis direction
G38 Ix1 Jx2 Kx3 Px4 Qx5 R_ ;
Bending compensation for Y axis direction
G39 Iy1 Jy2 Ky3 Py4 Qy5 R_ ;
x1 to x5 : Bending position of X axis direction (Input unit)
y1 to y5 : Bending position of X axis direction (Input unit)
R: The compensation amount attendant on a single bending is specified. (Input
unit)
G52X - - - Y - - - ;
In a block after a bending command is sent, it is judged to which area automatically designated the
command value of the move command belongs, thus allowing compensation in accordance with the
bending frequency.
When bending compensation cancel is required.
- 152 -
15.FUNCTIONS TO SIMPLIFY
B-64554EN/01 PROGRAMMING PROGRAMMING
z Bending position
100.0 250.0
x 450.0
650.0
1000.0
Compensation position
(X,Y) = (10.0,10.0) (174.5,10.0) (349.0,10.0) (548.5,10.0)
Standard Compensation Compensation Compensation
point amount -0.5 amount -1.0 amount -1.5
Bending
200.0
150.0
100.0
200.0
350.0
Program:
G52X100.Y0 ; Specifications of standard point
G38I180.J260.K420.R-1. ; Bending compensation command
G90X-50. ; Absolute coordinate (X50.)
X270. ; Absolute coordinate (X269.)
X300. ; Absolute coordinate (X298.)
M02 ; Cancel of bending compensation execution
In the above example, when the negative direction from the standard point, for example, X50. direction
(X-50. since the coordinates system is offset in the program in the coordinates form the origin) is
designated, bending compensation is not performed. At this time, it is regarded as area 1, that is, an area
with no compensation by bending. As described above, when the number of bending is less than 4, it is
possible to omit what is not required among X1-X5 and Y1-Y5 representing the distance from the
standard point which indicates the area boundary.
CAUTION
In one block to which a pattern command, for example, is given during bending
compensation, it is regarded as a move within the area, and no command over
the area can be given.
- 153 -
15. FUNCTIONS TO SIMPLIFY
PROGRAMMING PROGRAMMING B-64554EN/01
Format
G45 X x Y y P w1 Q w2 R r D Δd
( x , y ) : End point (Valid data range : −999999999 to 999999999)
Unit of data : Input unit (inch/mm)
In G90 mode, please specify the position of the end point.
In G91 mode, please specify the amount of movement to the end point.
W1 : Tool width measured in parallel with the direction in which the tool advances (Valid data range :
1 to 999999999)
Unit of data : Input unit (inch/mm)
-Should be specified by positive number.
W2 : Tool width measured vertically to the direction in which the tool advances (Valid data range : 1 to
999999999)
Unit of data : Input unit (inch/mm)
-Should be specified by positive number.
-When this code is omitted, the CNC regards that W2 is same as W1.
r : Direction of tool offset with respect to the direction in which the tool advances (Valid data range :
−1, 0, 1)
Unit of data : None
-Should be specified by positive number for offset to the left of the direction in which the tool
advances.
-Should be specified by negative number for offset to the right of the direction in which the
tool advances.
-Should specify R0 to punch out on programmed line (no offset). When R-code is omitted, the
CNC regard that R0 is specified.
Using above command allows workpiece is punched out along a straight line from the pattern base point
as a start point to the end point (x, y) with a tool having dimensions (w1, w2). Moreover, specifying
microjoint width Δd effects compensation at the punch start and end points.
- 154 -
15.FUNCTIONS TO SIMPLIFY
B-64554EN/01 PROGRAMMING PROGRAMMING
#n Δd
#(n−1)
w1
#2
w2 #1
+Y Δd
Start point
#1 to #n: Order of punch motion
(Pattern base point)
+X
#1 #2 #(n−1) #n
p
l−w1
- 155 -
15. FUNCTIONS TO SIMPLIFY
PROGRAMMING PROGRAMMING B-64554EN/01
Example
・When r<0 and Δd<0
(40.000,100.000)
2.000
#5:(47.100,97.800)
#4:(54.300,92.400)
#3:(61.500,87.000)
10.000
#2:(68.700,81.600)
#1:(75.900,76.200)
5.000
2.000
N1012:(80.000,70.000)
N1011:(65.000,65.000)
NOTE
1 When the amount of movement is 0 or is smaller than 1.5 times of dx value
during G45 block, the alarm (PS4500) is issued.
2 When the Tool width measured in parallel with the direction in which the tool
advances (W1) is not specified, the alarm (PS4510) is issued. Moreover, Tool
width measured vertically to the direction in which the tool advances (W2) is not
specified, the CNC regards the tool shape as regular square.
- 156 -
15.FUNCTIONS TO SIMPLIFY
B-64554EN/01 PROGRAMMING PROGRAMMING
Format
G46 X x Y y R r P d Q p
G47 X x Y y R r P d Q p
Using above command allows workpieces are punched out on a circle with a radius of r in pitches of q,
using a tool with a diameter of d.
#(n−1)
#n
#2 r
#1 p (x, y)
Center of circle
d Start point
(Pattern base point)
Moreover, when the distance between the start point and the end point is larger than a circular arc
diameter (2r), workpiece is punched out with a start point on a circle with a radius of r. In this case ,
therefore, the tool cannot arrive in the end point specified.
- 157 -
15. FUNCTIONS TO SIMPLIFY
PROGRAMMING PROGRAMMING B-64554EN/01
Example
・When r<0 and d<0
#3:(55.969,108.228) #2:(67.236,105.108)
#4:(44.517,105.885)
15.000
#5:(35.382,98.591) →(Actual pitch = 14.159)
N1112:(80.000,100.000)
#6:(30.562,87.942) #1:(75.852,97.207)
10.000
Center of circle
(55.116,83.243)
N1111:(95.000,90.000)
30.000
#7:(31.110,76.264)
#9:(46.685,59.707)
#8:(36.907,66.113)
(45.000,55.000)
NOTE
1 When the start and end points of an arc are the same in a G46 or G47
command, if either the radius of the arc is zero or the interval exceeds the
circumference, alarm (PS4511) is issued.
2 If address R and address Q are not specified, alarm (PS4511) is issued.
- 158 -
15.FUNCTIONS TO SIMPLIFY
B-64554EN/01 PROGRAMMING PROGRAMMING
(Example 1)
Y1525 M30 ;
(Example 2)
Y1525 ;
M30 ;
The work coordinate system is preset to the machine coordinate system to cancel the crack of
repositioning by M30.
Limitation
The cancel M–code must be different from another special meaning M–code.
But M02 and M30 are possible.
- 159 -
16.COMPENSATION FUNCTION PROGRAMMING B-64554EN/01
16 COMPENSATION FUNCTION
Chapter 16, "COMPENSATION FUNCTION", consists of the following sections:
P4
P3
P4’ P3’
P0
P1’ P2’
P1 P2
0 X
P0 : Scaling center
P1 to P4 : Programmed figure
P1’ to P4’ : Scaled figure
Format
Scaling up or down along all axes at the same rate of magnification
(When bit 6 (XSC) of parameter No. 5400 = 0)
Format Meaning of command
G51 IP_P_ ; Scaling start IP_ : Absolute command for center coordinate
Scaling is effective. value of scaling
(Scaling mode) P_ : Scaling magnification
- 160 -
B-64554EN/01 PROGRAMMING 16.COMPENSATION FUNCTION
Scaling up or down along each axes at a different rate of magnification (mirror image)
(When bit 6 (XSC) of parameter No. 5400 = 1)
Format Meaning of command
G51 IP_I_J_K_; Scaling start IP_ : Absolute command for center coordinate
Scaling is effective. value of scaling
(Scaling mode) I_J_K_ : Scaling magnification for basic 3 axes (X, Y,
and Z axes) respectively
G50 ; Scaling cancel
CAUTION
1 Specify G51 in a separate block.
2 After the figure is enlarged or reduced, specify G50 to cancel the scaling mode.
NOTE
1 Entering electronic calculator decimal point input mode (bit 0 (DPI) of parameter
No. 3401 = 1) does not cause the units of the magnification rates P, I, J, and K
to change.
2 Setting the least input increment equal to 10 times the least command increment
(bit 7 (IPR) of parameter No. 1004 = 1) does not cause the units of the
magnification rates P, I, J, and K to change.
3 An attempt to specify 0 as a magnification rate causes alarm PS0142, “ILLEGAL
SCALE RATE” to occur in a G51 block.
Explanation
- Axis for which scaling is to be enabled
For the axis for which scaling is to be enabled, set bit 0 (SCL) of parameter No. 5401 to 1.
- Scaling center
Even in incremental command (G91) mode, the scaling center coordinates IP_ specified in the G51 block
are assumed those of an absolute position.
If the scaling center coordinates are omitted, the position assumed when G51 is specified is assumed the
scaling center.
CAUTION
With the move command subsequent to the G51 block, execute an absolute
(G90 mode) position command.
If no absolute position command is executed after the G51 block, the position
assumed when G51 is specified is assumed the scaling center; once an absolute
position command is executed, the scaling center assumes the coordinates
specified in the G51 block, after that block.
- 161 -
16.COMPENSATION FUNCTION PROGRAMMING B-64554EN/01
A negative value cannot be specified as the magnification P. If a negative value is specified, alarm
PS0006, “ILLEGAL USE OF MINUS SIGN” will occur.
The allowable magnification range is from 0.00001 to 9999.99999.
Programmed figure
d
Scaled figure
c
o
X axis
a
b
CAUTION
Specifying the following commands at the same time causes them to be
executed in the order indicated below:
<1> Scaling (G51) (including a mirror image with a negative magnification)
<2> Mirror image due to the external switch of the CNC or the settings of the
CNC
- 162 -
B-64554EN/01 PROGRAMMING 16.COMPENSATION FUNCTION
Scaled shape
X
(0,0) (100.0) (200.0)
Even for an R-specified arc, scaling is applied to each of I, J, and K after the radius value (R) is converted
into a vector in the center direction of each axis.
If, therefore, the above G02 block contains the following R-specified arc, the operation will be same as
that in which I and J are specified.
G02 X100.0 Y0.0 R100.0 F500 ;
Example
Main program
O1
G90 G00 X20.0 Y10.0 ;
M98 P1000 ;
G51 X20.0 Y10.0 I3000 J2000 ; (×3 in the X direction and ×2 in the Y direction)
M98 P1000 ;
G17 G84 X35.0 Y20.0 R30. ;
M98 P1000 ;
G85 ;
G50 ;
M30 ;
Subprogram
O1000 ;
G01 X20.0 Y10.0 F500 ;
G01 X50.0 ;
G01 Y30.0 ;
G01 X20.0 ;
G01 Y10.0 ;
M99 ;
- 163 -
16.COMPENSATION FUNCTION PROGRAMMING B-64554EN/01
Y
Rotation center
of coordinate
system before
scaling
Rotation center of
coordinate system
after scaling
Original program
Shape after X
coordinate system
Scaling center rotation Scaled shape
Limitation
- Tool compensation
This scaling is not applicable to tool radius compensation values (Fig. 16.1 (e)).
Programmed figure
Scaled figure
- 164 -
B-64554EN/01 PROGRAMMING 16.COMPENSATION FUNCTION
CAUTION
1 If a parameter setting value is employed as a scaling magnification without
specifying P, the setting value at G51 command time is employed as the scaling
magnification, and a change of this value, if any, is not effective.
2 Before specifying the G code for reference position return (G28, etc.) or
coordinate system setting (G52 to G59, G92, etc.), cancel the scaling mode.
3 If scaling results are rounded by counting fractions of 5 and over as a unit and
disregarding the rest, the move amount may become zero. In this case, the
block is regarded as a no movement block, and therefore, it may affect the tool
movement by tool compensation. See the description of tool compensation.
4 Refrain from scaling on a rotation axis for which the rollover function is enabled.
Otherwise, the tool may rotate in a short-cut manner, possibly resulting in
unexpected movement.
NOTE
1 The position display represents the coordinate value after scaling.
2 When a mirror image was applied to one axis of the specified plane, the
following results:
(1) Circular command ......................................... Direction of rotation is reversed.
(2) Tool radius compensation ............................. Offset direction is reversed.
(3) Coordinate system rotation ........................... Rotation angle is reversed.
Example
Sample program of a scaling in each axis
O1;
G51 X20.0 Y10.0 I750 J250; (× 0.75 in the X direction, × 0.25 in the Y direction)
G00 G90 X60.0 Y50.0;
G01 X120.0 F100;
G01 Y90;
G01 X60;
G01 Y50;
G50;
M30;
Y axis
90
Programmed figure
80
30
20
10
Scaling center
X axis
75
100
20 95 120
- 165 -
16.COMPENSATION FUNCTION PROGRAMMING B-64554EN/01
Normal direction
Format
G41.1 (G151) ; Normal direction control, left
G42.1 (G152) ; Normal direction control, right
G40.1 (G150) ; Cancel normal direction control
The normal direction control, left (G41.1) command is used when the workpiece is on the
right side of the tool as viewed while you are looking into the tool’s way.
Once either G41.1 or G42.1 is issued, normal direction control is enabled (normal
direction control mode).
Issuing G40.1 cancels the normal direction control mode.
Explanation
- Angle of the C axis
When viewed from the center of rotation around the C-axis, the angular displacement about the C-axis is
determined as shown in Fig. 16.2 (b). The positive side of the X-axis is assumed to be 0, the positive side
of the Y-axis is 90°, the negative side of the X-axis is 180°, and the negative side of the Y-axis is 270°.
- 166 -
B-64554EN/01 PROGRAMMING 16.COMPENSATION FUNCTION
+Y
90°
180° 0° +X
Fig. 16.2 (c) Point at which a single-block stop occurs in the normal direction control mode
Before circular interpolation is started, the C-axis is rotated so that the C-axis becomes normal to the arc
at the start point. During circular interpolation, the tool is controlled so that the C-axis is always
perpendicular to the tool path determined by circular interpolation.
- 167 -
16.COMPENSATION FUNCTION PROGRAMMING B-64554EN/01
NOTE
During normal direction control, the C axis always rotates through an angle less
than 180 deg. I.e., it rotates in whichever direction provides the shorter route.
- C axis feedrate
Movement of the tool inserted at the beginning of each block is executed at the feedrate set in parameter
5481. If dry run mode is on at that time, the dry run feedrate is applied. If the tool is to be moved along
the X-and Y-axes in rapid traverse (G00) mode, the rapid traverse feedrate is applied.
The feedrate of the C axis during circular interpolation is defined by the following formula.
Amount of movement of the C axis (deg)
F× (deg/min)
Length of arc (mm or inch)
NOTE
If the feedrate of the C axis exceeds the maximum cutting speed of the C axis
specified to parameter No. 1430, the feedrate of each of the other axes is
clamped to keep the feedrate of the C axis below the maximum cutting speed of
the C axis.
- 168 -
B-64554EN/01 PROGRAMMING 16.COMPENSATION FUNCTION
N3
N1
Distance
• Circular movement
When the diameter of block N2, shown below, is smaller than the set value, machining for block N2
is performed using the same normal direction as that for block N1. And control as compensation
along the circular arc is not performed.
Tool center path
N2
N3
Diameter
N1
NOTE
1 Do not specify any command to the C axis during normal direction control. Any
command specified at this time is ignored.
2 Before processing starts, it is necessary to correlate the workpiece coordinate of
the C axis with the actual position of the C axis on the machine using the
coordinate system setting (G92) or the like.
3 Helical cutting cannot be specified in the normal direction control mode.
4 Normal direction control cannot be performed by the G53 move command.
5 The C-axis must be a rotation axis.
Under normal direction control, a punch press shears a sheet while holding the sheet and moving the tool
with interpolation. The cutting of an arc should be programmed as follows: Linear positioning is
- 169 -
16.COMPENSATION FUNCTION PROGRAMMING B-64554EN/01
performed with the C–axis set in the direction normal to the tangential direction at the start point of the
arc; The sheet is held by the PF signal; A C–axis normal–direction movement is made with circular
interpolation. The program should be created so that an arc and a straight line are connected by a tangent
even in the normal direction control mode.
(Example)
G92 X1525 Y1525;
G90;
T201;
G70 X500 Y200; Positioning for creating a tangent at the start point of the arc
G41.1; (G70: Positioning and press off command)
G00 X500 Y500; Positioning to the arc start point with the C–axis set in the
G03 X421.14 Y459.171–50F5000; direction normal to the direction of the arc tangent
G40.1;
Cutter
compensation
cancel
Start-up
- 170 -
B-64554EN/01 PROGRAMMING 16.COMPENSATION FUNCTION
Format
- Start up (tool compensation start)
G00(or G01)G41(or G42) IP_D_;
G41 : Tool compensation left (Group 07)
G42 : Tool compensation right (Group 07)
IP_ : Command for axis movement
D_ : Code for specifying as the tool compensation value (1 to 32) (D code)
Explanation
- Offset cancel mode
At the beginning when power is applied the control is in the cancel mode. In the cancel mode, the vector
is always 0, and the tool center path coincides with the programmed path.
- Start-up
When a tool compensation command (G41 or G42, D code other than 0) is specified in the offset cancel
mode, the CNC enters the offset mode.
Moving the tool with this command is called start-up.
Specify positioning (G00) or linear interpolation (G01) for start-up.
If circular interpolation (G02, G03) is specified, alarm PS0034 occurs.
For the start-up and subsequent blocks, the CNC prereads as many blocks as the number of preread
blocks set in the parameter No. 19625.
- Offset mode
In the offset mode, compensation is accomplished by positioning (G00), linear interpolation (G01), or
circular interpolation (G02, G03).
If three or more blocks that move the tool cannot be read in offset mode, the tool may make either an
excessive or insufficient cut.
If the offset plane is switched in the offset mode, alarm PS0037 occurs and the tool is stopped.
- 171 -
16.COMPENSATION FUNCTION PROGRAMMING B-64554EN/01
Then the control is in the cancel mode, and normally, the block to be executed next will be stored in the
buffer register and the next block is not read into the buffer for tool compensation.
Start up
(G41/G42)
Offset cancel mode Offset mode
Offset mode cancel
(G40/D0)
N7
N6 N8
Programmed path
Programmed path
Fig. 16.3 (d) Tool center paths when positive and negative tool
compensation values are specified
- 172 -
B-64554EN/01 PROGRAMMING 16.COMPENSATION FUNCTION
NOTE
The tool compensation value for which the D code corresponds to 0 always
means 0.
It is not possible to set the tool compensation value corresponding to D0.
The compensation value corresponding to offset No. 0 always means 0. It is not possible to set the
compensation value corresponding to offset No. 0.
- Offset vector
The offset vector is the two dimensional vector that is equal to the tool compensation value assigned by D
code. It is calculated inside the control unit, and its direction is up-dated in accordance with the progress
of the tool in each block.
The offset vector is deleted by reset.
- 173 -
16.COMPENSATION FUNCTION PROGRAMMING B-64554EN/01
Example
250R
N5
C1(700,1300)
P4(500,1150) P5(900,1150)
C3 (-150,1150) C2 (1550,1150)
650R 650R
N4 N6
N3 N7
P2 P3(450,900) P6(950,900) P7
(250,900) (1150,900)
N8
N2
P9(700,650)
P1 P8
(250,550) (1150,550)
N10 N9
Y axis
N1
N11
X axis Unit : mm
Start point
- 174 -
B-64554EN/01 PROGRAMMING 16.COMPENSATION FUNCTION
16.4.1 Overview
The following explanation focuses on the tool compensation.
Programmed path
Workpiece α
Workpiece α
Programmed path
180°≤a 0°≤α<180°
- Cancel mode
The tool compensation enters the cancel mode under the following conditions. (The system may not enter
the cancel mode depending on the machine tool.)
<1> Immediately after the power is turned on
<2> When the key on the MDI panel is pushed
<3> After a program is forced to end by executing M02 or M30
<4> After the tool compensation cancel command (G40) is exercised
- 175 -
16.COMPENSATION FUNCTION PROGRAMMING B-64554EN/01
In the cancel mode, the compensation vector is set to zero, and the path of the center of tool coincides
with the programmed path. A program must end in cancel mode. If it ends in the tool compensation mode,
the tool cannot be positioned at the end point, and the tool stops at a location the compensation vector
length away from the end point.
NOTE
The operation to be performed when a reset operation is performed during tool
compensation differs depending on bit 6 (CLR) of parameter No. 3402.
- If CLR is 0
The system enters the reset state. G41/G42 are retained as the modal code
of group 07, but to perform tool compensation, an offset number (D code)
must be specified again.
- If CLR is 1
The system enters the clear state. The modal code of group 07 is G40, and to
perform tool compensation again, G41/G42 and an offset number (D code)
must be specified.
- Start-up
When a block which satisfies all the following conditions is executed in cancel mode, the CNC enters the
tool compensation mode. Control during this operation is called start-up.
<1> G41 or G42 is contained in the block, or has been specified to place the CNC in the tool
compensation mode.
<2> 0 < compensation number of tool compensation ≤ maximum compensation number
<3> Positioning (G00) or linear interpolation (G01) mode
<4> A compensation plane axis command with a travel distance of 0 (except start-up type C) is specified.
If start-up is specified in circular interpolation (G02, G03) mode, PS0034 will occur.
In a start-up block, workpiece coordinate system switching (G54 to G59) cannot be specified.
As a start-up operation, one of the three types A, B, and C can be selected by setting bit 0 (SUP) of
parameter No. 5003 and bit 1 (SUV) of parameter No. 5003 appropriately. The operation to be performed
if the tool moves around an inner side is of single type only.
G41
Programmed path
N2
N1
Programmed path
G41
N2
N1
- 176 -
B-64554EN/01 PROGRAMMING 16.COMPENSATION FUNCTION
N1
For a block with tool movement, the tool follows the SUP setting: If it
is 0, type A is assumed and if 1, type B is assumed.
As the setting of parameter No. 19625, that is, the number of blocks to read, increases, it is possible to
predict overcutting (interference) for up to more subsequent commands. Increases in blocks to read and
analyze, however, cause reading and analysis to take more time.
- 177 -
16.COMPENSATION FUNCTION PROGRAMMING B-64554EN/01
N1
N2
N2
N1 Cutter center path
Programmed path
NOTE
When an M code (auxiliary function), S code, T code (tool function), or B code
(second auxiliary function) is specified in the N1 block in the figure above, FIN is
not accepted if the tool stops at the stop point in a block created internally
(excluding the single block stop point).
- Meaning of symbols
The following symbols are used in subsequent figures:
• S indicates a position at which a single block is executed once.
• SS indicates a position at which a single block is executed twice.
• SSS indicates a position at which a single block is executed three times.
• L indicates that the tool moves along a straight line.
• C indicates that the tool moves along an arc.
• r indicates the tool radius compensation value.
• An intersection is a position at which the programmed paths of two blocks intersect with each other
after they are shifted by r.
• indicates the center of the tool.
- 178 -
B-64554EN/01 PROGRAMMING 16.COMPENSATION FUNCTION
Explanation
- Tool movement around an inner side of a corner (180°≤ α)
Linear→Linear
α
Workpiece
Programmed path
r
G42
Linear→Circular
α
Work-
G42 r piece
S
C
L
Start point Tool center path Programmed path
- 179 -
16.COMPENSATION FUNCTION PROGRAMMING B-64554EN/01
- Cases in which the start-up block is a block with tool movement and the tool
moves around the outside at an obtuse angle (90°≤ α<180°)
Tool path in start-up has two types A and B, and they are selected by bit 0 (SUP) of parameter No. 5003.
Linear→Linear Start point
G42
α Workpiece
L Programmed path
r
r Work
Work-
piece
piece
S
C
G42
α
Workpiece
L
Programmed path
r
r
L
S Tool center path
Intersection L
Type
Linear→Circular
B (Linear connection type)
Start point
G42
α
r Work-
r piece
S
C
L L
Intersection
Tool center path Programmed path
- 180 -
B-64554EN/01 PROGRAMMING 16.COMPENSATION FUNCTION
L
Programmed path
r
r
Type
B Linear→Circular Start point
(Circular
connection type) G42
α
r Workpiece
r
C S
C
- 181 -
16.COMPENSATION FUNCTION PROGRAMMING B-64554EN/01
- Cases in which the start-up block is a block with tool movement and the tool
moves around the outside at an acute angle (α<90°)
Tool path in start-up has two types A and B, and they are selected by bit 0 (SUP) of parameter No. 5003.
Linear→Linear Start point
G42
L Workpiece
α
Programmed path
r
G42
L
α
r Work-
piece
S C
Linear→Linear
(Linear connection type) Start point
L
G42
Workpiece
r α
L
Programmed path
r
L
G42
r α
L
r
L
Work-
S L C piece
Tool center path
Programmed path
- 182 -
B-64554EN/01 PROGRAMMING 16.COMPENSATION FUNCTION
Programmed path
r
C
r Work-
C piece
S C
- Tool movement around the outside linear → linear at an acute angle less than
1 degree (α<1°)
S Tool center path
L
r L
Programmed path
(G41)
S
N6 N8
r
Tool center path
G40 … ;
N6 X100.0 Y100.0 ; N9
N7 G41 X0 ;
N8 Y-100.0 ;
N9 Y-100.0 X100.0 ;
Programmed path
- 183 -
16.COMPENSATION FUNCTION PROGRAMMING B-64554EN/01
For type C
The tool shifts by the compensation value in the direction vertical to the block with tool movement
subsequent to the start-up block.
Without tool
movement
L
α
S Programmed path
L
Tool center path
S
Intersection
NOTE
The condition necessary for an interference check, described later, differs from
this condition. For details, see the explanation of the interference check.
- 184 -
B-64554EN/01 PROGRAMMING 16.COMPENSATION FUNCTION
Programmed path
Linear→Circular
α
Work-
piece
Intersection
S C
L
Tool center path Programmed path
Circular→Linear
α Workpiece
Programmed path
L
S Tool center path
C Intersection
Circular→Circular α
Work-
Intersection piece
S
C C
- 185 -
16.COMPENSATION FUNCTION PROGRAMMING B-64554EN/01
- Tool movement around the inside (α<1°) with an abnormally long vector,
linear → linear
Intersection
Programmed path
r
r
S
Intersection
Also in case of arc to straight line, straight line to arc and arc to arc, the reader should infer in the same
procedure.
- 186 -
B-64554EN/01 PROGRAMMING 16.COMPENSATION FUNCTION
α Workpiece
L Programmed path
S
Intersection L Tool center path
Linear→Circular
(Linear
connection type)
Work-
L r
piece
S L C
Intersection
Circular→Linear
(Linear connection type)
α Workpiece
r Programmed path
C
L
Intersection S L Tool center path
6
Circular→Circular
(Linear
connection type)
α
Programmed path
r Work-
r piece
C
Tool center L
path S L
Intersection C
- 187 -
16.COMPENSATION FUNCTION PROGRAMMING B-64554EN/01
Linear→Linear
(Circular
connection type)
α Workpiece
L
r Programmed path
r
C L
S Tool center path
Linear→Circular
(Circular
connection type)
r
Work-
L r
piece
C
S C
Circular→Linear
(Circular
connection type)
α Workpiece
Programmed path
r
r
C
C L
S Tool center path
Circular→Circular
(Circular
connection type)
α
Programmed path
r Work-
r piece
C
Tool center path
C
S C
- 188 -
B-64554EN/01 PROGRAMMING 16.COMPENSATION FUNCTION
Workpiece
r α
L
Programmed path
r
L
S L L Tool center path
Linear→Circular
(Linear
connection type) L
r α
L
Work-
r piece
L
S L
C Programmed path
Tool center path
Circular→Linear
(Linear
connection type)
Workpiece
r α
L
Programmed path
r
L
S L L Tool center path
Circular→Circular
(Linear
connection type)
r α
L
Work-
r piece
L
S L C
- 189 -
16.COMPENSATION FUNCTION PROGRAMMING B-64554EN/01
Linear→Linear
(Circular
connection type) L
Workpiece
r α
Programmed path
r
C
Linear→Circular
(Circular
connection type) L
r α
r Work-
piece
C
S
C
Programmed path
Tool center path
Circular→Linear
(Circular
connection type)
Workpiece
r α
Programmed path
r
C
Circular→Circular
(Circular
connection type)
r α
Work-
r piece
C
S
C
- 190 -
B-64554EN/01 PROGRAMMING 16.COMPENSATION FUNCTION
- When it is exceptional
End point for the arc is not on the arc
If the end of a line leading to an arc is not on the arc, the system assumes that the tool compensation has
been executed with respect to an imaginary circle that has the same center as the arc and passes the
specified end point. Based on this assumption, the system creates a vector and carries out compensation.
The same description applies to tool movement between two circular paths.
Imaginary circle
Programmed path
r r
Tool center path
r C L
L
Center of the arc L S
Arc A P Arc B
- 191 -
16.COMPENSATION FUNCTION PROGRAMMING B-64554EN/01
- When the center of the arc is identical with the start point or the end point
If the center of the arc is identical with the start point or end point, PS0041 is displayed, and the tool will
stop at the start point of the preceding block of the arc.
(G41)
N5 G91 G01 X50.0 ;
Tool center path N6 X50.0 ;
N7 G02 X100.0 I0 J0 ;
Alarm is displayed and the
N8 G01 Y-100.0 ;
tool stops
N5 N6 N7
Programmed path
N8
Sign of compensation
+ –
G code
G41 Left side offset Right side offset
G42 Right side offset Left side offset
The offset direction can be changed in the offset mode. If the offset direction is changed in a block, a
vector is generated at the intersection of the tool center path of that block and the tool center path of a
preceding block.
However, the change is not available in the start-up block and the block following it.
- 192 -
B-64554EN/01 PROGRAMMING 16.COMPENSATION FUNCTION
r
Programmed path r
L G41
Linear→Circular
r
Workpiece
G41
G42
Programmed path
r
Workpiece
Intersection
Tool center path L S
Circular→Linear
Workpiece
G42
Programmed path
r
Tool center path
C L
S
Intersection r
G41
Workpiece
Circular→Circular
C
Workpiece
G42
r
Programmed path
r
G41
- 193 -
16.COMPENSATION FUNCTION PROGRAMMING B-64554EN/01
Workpiece r
Programmed path G42 (G42)
G41
A B
L Workpiece
r
Linear→Circular Intersection
S
L
L
Programmed path
Circular→Circular
C
(G42)
r r
C L S L
Center Center
Tool center path
- 194 -
B-64554EN/01 PROGRAMMING 16.COMPENSATION FUNCTION
- The length of tool center path larger than the circumference of a circle
Normally there is almost no possibility of generating this situation. However, when G41 and G42 are
changed, or when a G40 was commanded with address I, J, and K this situation can occur.
The tool compensation is not performed with more than one circle circumference: an arc is formed from
P1 to P2 as shown. Depending on the circumstances, an alarm may be displayed due to the "Interference
Check" described later. To execute a circle with more than one circumference, the circle must be
specified in segments.
N5 N7
P1 P2
(G42)
N5 G01 G91 X500.0 Y-700.0 ;
N6
N6 G41 G02 J-500.0 ;
N7 G42 G01 X500.0 Y700.0 ;
r L
L
Circular→Linear
r
G42 mode L
C
S Intersection
Programmed path
- 195 -
16.COMPENSATION FUNCTION PROGRAMMING B-64554EN/01
L L
L L
Before specifying G28 (reference position return), and G53 (machine coordinate system selection)
commands, cancel offset mode, using G40. If an attempt is made to specify any of the commands in offset
mode, the offset vector temporarily disappears.
Compensation vector
I, J, K
In G42 mode, the direction specified by I, J, and K is assumed an imaginary tool movement direction, and
an offset vector is created vertical to that direction and on the right side.
- 196 -
B-64554EN/01 PROGRAMMING 16.COMPENSATION FUNCTION
I, J, K
Compensation vector
Example
If I and J are specified at the start of compensation (with
tool movement)
N50
N40
(G40) N30
N10 G91 G41 X100.0 Y100.0 N20 N60
I1 D1 ;
N20 G04 X1000 ; D1 Tool center path
N30 G01 F1000 ; N10
N40 S300 ;
N50 M50 ; Programmed path
N60 X150. ;
(G40)
N30
N10 G41 I1 D1 ;
N20 G91 X100. Y100. ; Tool nose radius
N30 X150. ; center path
N20
Note) In N10, a vector is Programmed path
specified with a size
of D1 in the direction
N10
vertical to the X axis,
using I1. D1
- 197 -
16.COMPENSATION FUNCTION PROGRAMMING B-64554EN/01
Programmed path
N30
N40 Tool center
S S path
Start-up/cancel type C
N20
N50
N10 G41 D1 G01 F1000 ; (I, J)
N20 G91 X100. Y100. ;
N30 I10. ; Programmed path
N40 X150. ;
N50 G40 ;
N10
D1
Limitation
If an IJ type vector is specified, tool interference may occur due to that vector alone, depending on the
direction. If this occurs, no interference alarm will occur, or no interference avoidance will be performed.
Overcutting may, therefore, result.
Overcutting
(I, J)
Start-up/cancel
Type C N40
N30
Programmed
N10 G42 D1 F1000 ; path N20
N20 G91 X100. ;
N30 X100. Y-100. I10. ; N10 N50
N40 X100. Y-100. ;
N50 G40 ;
Tool center path
- 198 -
B-64554EN/01 PROGRAMMING 16.COMPENSATION FUNCTION
In offset mode, the number of blocks without movement consecutively specified must not exceed N-2
(where N is the number of blocks to read in offset mode (parameter No. 19625). If commanded, a vector
whose length is equal to the offset value is produced in a normal direction to tool motion in earlier block,
so overcutting may result.
N6 G91 X100.0 Y100.0 ; N7,N8 N9
N7 S21 ; Programmed path
N8 G04 X10.0 ;
N9 X100.0 ;
(No. of blocks to read in N6
offset mode = 3) L Tool center path
SSS
L Blocks N7 and N8 are executed here.
- 199 -
16.COMPENSATION FUNCTION PROGRAMMING B-64554EN/01
(G42) N6
N5 G91 G01 X40.0 Y40.0 ; Programmed path
N6 X40.0 ;
:
: N5
L
Tool center path
S
L Intersection
(G42) N6 N7
Programmed path
N5 G91 G01 X40.0 Y40.0 ;
N6 M50 ;
N7 X40.0 ;
: N5
: L
Tool center path
SS
L Block N6 is executed here.
- Corner movement
When two or more offset vectors are produced at the end of a block, the tool moves linearly from one
vector to another. This movement is called the corner movement.
If these vectors almost coincide with each other (the distance of corner movement between the vectors is
judged short due to the setting of parameter No. 5010), corner movement is not performed. In this case,
the vector to the single block stop point takes precedence and remains, while other vectors are ignored.
This makes it possible to ignore the very small movements arising from performing tool compensation,
thereby preventing velocity changes due to interruption of buffering.
ΔVY
r S
N2
Programmed path
- 200 -
B-64554EN/01 PROGRAMMING 16.COMPENSATION FUNCTION
If the vectors are not judged to almost coincide (therefore, are not erased), movement to turn around the
corner is performed. The corner movement that precedes the single block stop point belongs to the
previous block, while the corner movement that succeeds the single block stop point belongs to the latter
block.
This move belongs to block N6, thus, the feedrate is equal
to that in block N6.
S
This move belongs to block N7, thus, the
feedrate is equal to that in block N7.
N6 N7
However, if the path of the next block is semicircular or more, the above function is not performed.
The reason for this is as follows:
P2 P3 P4 P5
N4 G41 G91 G01 X150.0 Y200.0 ;
N5 X150.0 Y200.0 ;
N6 G02 J-600.0 ;
N7 G01 X150.0 Y-200.0 ; P1 P6
N8 G40 X150.0 Y-200.0 ;
N5 N7
N4 N8
Programmed path N6
- 201 -
16.COMPENSATION FUNCTION PROGRAMMING B-64554EN/01
Programmed path
r
G40
Circular→Linear
α
Work-
piece r
G40
S
C
L
Programmed path Tool center path
- 202 -
B-64554EN/01 PROGRAMMING 16.COMPENSATION FUNCTION
- If the cancel block is a block with tool movement, and the tool moves around
the outside at an obtuse angle (90° ≤ α < 180°)
Tool path has two types A and B, and they are selected by bit 0 (SUP) of parameter No. 5003.
Linear→Linear
G40
Workpiece α
Programmed path L
G40
α
L
Work-
piece r
S
C
Linear→Linear
(Linear
connection type) G40
Workpiece α
L
Programmed path
r
Work- r
piece r
S
C Inter- L
section
L
Programmed path Tool center path
- 203 -
16.COMPENSATION FUNCTION PROGRAMMING B-64554EN/01
Linear→Linear
(Circular
connection type) G40
Workpiece α
L
Programmed path
r
C S
Tool center path
Type
B Circular→Linear
(Circular
connection type) G40
α
Work- r
piece r
C S
C
- 204 -
B-64554EN/01 PROGRAMMING 16.COMPENSATION FUNCTION
- If the cancel block is a block with tool movement, and the tool moves around
the outside at an acute angle (α<90°)
Tool path has two types A and B, and they are selected by bit 0 (SUP) of parameter No. 5003.
Linear→Linear
G40
Workpiece L α
G40
L α
Work- r
piece G42
C S
Linear→Linear
(Linear
connection type) L
Workpiece G40
α r
L
Programmed path
r S
L
Tool center path L L
Type
B
Circular→Linear
(Linear L
connection type)
α r
L
S
Work- r
piece
L
C L
- 205 -
16.COMPENSATION FUNCTION PROGRAMMING B-64554EN/01
Linear→Linear
(Circular
connection type) L
S
Workpiece G40
α r
Programmed path
r C
C
Work- r
piece
C S
- If the cancel block is a block with tool movement, and the tool moves around
the outside at an acute angle of 1 degree or less in a linear → linear manner
(α≤1°)
S Tool center path
L
r L
(G42) Programmed path
1° or less
G40
- 206 -
B-64554EN/01 PROGRAMMING 16.COMPENSATION FUNCTION
For type C
The tool shifts by the compensation value in the direction vertical to the block preceding the cancel
block.
Programmed path
L
S
E(a, b)
(I, J)
G40
N2
P Tool center path
r S N1
r
(G42) Programamed path
Workpiece
In this case, note that the CNC obtains an intersection of the tool path irrespective of whether inner or
outer side machining is specified.
E
G40
P
Tool center path
S
r
Programmed path
(G42)
r
(I, J)
When an intersection is not obtainable, the tool comes to the normal position to the previous block at the
end of the previous block.
- 207 -
16.COMPENSATION FUNCTION PROGRAMMING B-64554EN/01
(I, J)
r
- Length of the tool center path larger than the circumference of a circle
In the Example shown below, the tool does not trace the circle more than once. It moves along the arc
from P1 to P2. The interference check function described below may raise an alarm.
To make the tool trace a circle more than once, program two or more arcs.
P1
Tool center path
P2
Programmed path N7
N5
(I, J) N6
(G41)
N5 G01 G91 X100.0 ;
N6 G02 J-60.0 ;
N7 G40 G01 X50.0 Y50.0 I-10.0 J-10.0 ;
Programmed path
Workpiece
- 208 -
B-64554EN/01 PROGRAMMING 16.COMPENSATION FUNCTION
Programmed path
Fig. 16.4.5 (b) Machining a step larger than the tool radius
Arc center
Workpiece Arc
Fig. 16.4.5 (c) Machining a step smaller than the tool radius
- 209 -
16.COMPENSATION FUNCTION PROGRAMMING B-64554EN/01
N6
N1
In the program example in the Fig. 16.4.5 (d), when executing block N1, blocks N3 and N6 are also
entered into the buffer storage, and by the relationship among them the correct compensation is
performed as in the Fig. 16.4.5 (d).
Then, suppose that the block N3 (move command in Z axis) is divided into N3 and N5 in the Fig. 16.4.5
(e).
N1 G91 G00 G41 X500.0 Y500.0 D1 ;
N3 G01 Z-250.0 ;
N5 G01 Z-50.0 F100 ;
N6 Y1000.0 F200 ;
After compensation
Workpiece
N6
N1
At this time, because the number of blocks to read is 3, blocks up to N5 can be read at the start of N1
compensation, but block N6 cannot be read. As a result, compensation is performed only on the basis of
the information in block N1, and a vertical vector is created at the end of the compensation start block.
Usually, therefore, overcutting will result as shown in the Fig. 16.4.5 (e).
In such a case, it is possible to prevent overcutting by specifying a command with the exactly the same
direction as the advance direction immediately before movement along the Z axis beforehand, after the
tool is moved along the Z axis using the above rule.
- 210 -
B-64554EN/01 PROGRAMMING 16.COMPENSATION FUNCTION
After compensation N6
Workpiece
N2
N1
As the block with sequence N2 has the move command in the same direction as that of the block with
sequence N6, the correct compensation is performed.
Alternatively, it is possible to prevent overcutting in the same way by specifying an IJ type vector with
the same direction as the advance direction in the start-up block, as in N1 G91 G00 G41 X500. Y500. I0
J1 D1;, after the tool has moved along the Z axis.
Explanation
- Condition under which an interference check is possible
To perform an interference check, it is necessary to read at least three blocks with tool movement. If,
therefore, three or more blocks with tool movement cannot be read in offset mode because blocks without
tool movement, such as independent auxiliary function and dwell, are specified in succession, excessive
or insufficient cutting may occur because an interference check fails. Assuming the number of blocks to
read in offset mode, which is determined by parameter No. 19625, to be N and the number of commands
in those N blocks without tool movement that have been read to be M, the condition under which an
interference check is possible is
(N - 3) ≥ M.
For example, if the maximum number of blocks to read in offset mode is 8, an interference check is
possible even if up to five blocks without tool movement are specified. In this case, three adjacent blocks
can be checked for interference, but any subsequent interference that may occur cannot be detected.
- 211 -
16.COMPENSATION FUNCTION PROGRAMMING B-64554EN/01
NOTE
There are no settings for performing a direction check only.
Even if multiple number of compensation vector groups are generated, a check is performed on all pairs.
The judgment method is as follows: For a check on the compensation vector group in (block 1 - block 2)
and those in (block N-1 - block N), the direction vector from the specified (end point of block 1) to the
(end point of block N-1) is compared with the direction vector from the (point resulting from adding the
compensation vector to be checked to the end of block 1) to the (point resulting from adding the
compensation vector to be checked to the end of block N-1), and if the direction is 90o or greater or 270o
or less, they are judged to intersect and interfere. This is called a direction check.
Programmed path
Block 2 Block 7
Block 1 Block 8
Block 3
Block 6
Block 4 Block 5
- 212 -
B-64554EN/01 PROGRAMMING 16.COMPENSATION FUNCTION
Example of interference standard <1>
(If the block 1 end-point vector intersects with the block 2 end-point vector)
Programmed path
Tool center path
Block 1
The directions of
these two paths are
different (180°).
Block 2
Example of <2> (if block 2 is circular and the start point of the post-compensation arc coincide with the
end point)
Block 3
Block 1
Programmed path
Block 2
- 213 -
16.COMPENSATION FUNCTION PROGRAMMING B-64554EN/01
Stopped
A C
B
There is no actual interference, but since the direction programmed in block B is opposite to that of
the path after the tool compensation, the tool stops and an alarm is displayed.
<2> Groove which is smaller than the tool radius compensation value
Programmed
path Tool center path
Stopped
A
B C
Like <1>, an alarm is displayed because of the interference as the direction is reverse in block B.
- 214 -
B-64554EN/01 PROGRAMMING 16.COMPENSATION FUNCTION
Block 2 Block 7
Block 3
Block 6
Block 4 Block 5
V1
V2
V5
V4
V3
Programmed path
If, after vector erasure, the last single vector still interferes, or if there is only one vector at the beginning
and it interferes, an alarm will occur immediately after the start of the previous block (end point for a
single block) and the tool stops. In the Example shown in the Fig. 16.4.6.2 (c), V2 and V3 interfere, but,
even after erasure, an alarm will occur because the final vectors V1 and V4 interfere.
- 215 -
16.COMPENSATION FUNCTION PROGRAMMING B-64554EN/01
Stopped
Tool center path
Programmed path
V4 V1
V3 V2
- 216 -
B-64554EN/01 PROGRAMMING 16.COMPENSATION FUNCTION
Movement o f block 7
Post-compensation
path Gap vector
Block 1
Block 8
Block 2
Block 7
Programmed path
Block 3 Block 6
Block 4 Block 5
In this case, the post-compensation end points of blocks 2 to 6 coincide with the end
point of block 1. Thus, after compensation, blocks 2 to 6 will be blocks without tool
movement.
If the post-compensation intersection vector of (block 1 - gap vector) and the post-compensation
intersection vector of (gap vector - block N) further intersect, vector erasure is first performed in the same
way as in "Interference between adjacent three blocks". If the last vectors that remains still intersects, the
post-compensation intersection vector of (block 1 - block N) is re-calculated.
- 217 -
16.COMPENSATION FUNCTION PROGRAMMING B-64554EN/01
Post-compensation path
Re-calculation
Programmed path
Block 1 Block 8
Block 1 Block 8
Post-compensati
Post-compensation on intersection
Post-compensation vector between
intersection vector
intersection between block 1 and
between block 1
gap vector and block 8 block 8
and gap vector
Block 2 Gap vector
Block 7 Block 2 Block 7
If the tool radius compensation value is greater than the radius of the specified arc as shown in the Fig.
16.4.6.3 (c), and a command is specified which results in compensation with respect to the inside of the
arc, interference is avoided by performing intersection calculation with an arc command being assumed a
linear one. In this case, avoided vectors are connected with linear interpolation.
Post-compensation path
Programmed path
Programmed path
Block 1
Block 3
Block 2
If the circular pocket shown in the Fig. 16.4.6.3 (e) is to be machined, the end-point vector of block 1 and
the end-point vector of block 2 are judged to interfere, and an attempt is made to calculate, as an
interference avoidance vector, the intersection vector of the post-compensation path of block 1 and the
post-compensation path of block 3. In this case, because blocks 1 and 3 are circular, no
post-compensation intersection exists. In this case, an alarm will occur immediately before block 1 and
the tool will stop, as in the previous example.
Stopped
Block 1
Block 3
Block 2
- 219 -
16.COMPENSATION FUNCTION PROGRAMMING B-64554EN/01
Programmed path
Block 1
Block 3
Block 2
Fig. 16.4.6.3 (f)
If a pocket in which the bottom is wider than the top, such as that shown in the Fig. 16.4.6.3 (g), is to be
machined, the end-point vector of block 1 and the end-point vector of block 2 are judged to interfere, and
an attempt is made to calculate, as an interference avoidance vector, the intersection vector of the
post-compensation path of block 1 and the post-compensation path of block 3. In this case, the relation
between blocks 1 and 3 is judged an outer one, the post-avoidance path results in overcutting as compared
with the original command. In such a case, interference avoidance operation is judge dangerous; an alarm
will occur immediately before block 1 and the tool will stop.
Stopped
Tool center path
Programmed path
Block 1 Block 3
Block 2
Post-compensation intersection
of blocks 1 and 3
Block 5
Block 4
Block 1
Block 3
Block 2
NOTE
1 For "If it is judged dangerous to avoid interference" and "If further interference
with an interference avoidance vector occurs", by setting bit 6 (NAA) of
parameter No. 19607 appropriately, it is possible to suppress an alarm to
continue machining. For "If no interference avoidance vector exists", however, it
is not possible to avoid an alarm regardless of the setting of this parameter.
2 If a single block stop occurs during interference avoidance operation, and an
operation is performed which differs from the original movement, such as
manual intervention, MDI intervention, tool radius compensation value change,
intersection calculation is performed with a new path. If such an operation is
performed, therefore, an interference may occur again although interference
avoidance has been performed once.
- 221 -
16.COMPENSATION FUNCTION PROGRAMMING B-64554EN/01
N3
N2 N4
N1
N5
N6
- 222 -
B-64554EN/01 PROGRAMMING 16.COMPENSATION FUNCTION
- MDI intervention
If MDI intervention is performed, that is, if a single block stop is performed to enter the automatic
operation stop state in the middle of memory operation, DNC operation, and the like, and a program
command is specified in MDI mode to make a cycle start, tool compensation does not perform
intersection calculation, retaining the last compensation vector before the intervention.
MEM mode MDI intervention
N2 N3
N4
Program command
Explanation
- Tool compensation memory A
The compensation value for tool compensation (for D code) is to be set in the compensation memory
Setting example
Compensation number Compensation value
001 10.000
002 20.000
003 100.000
: :
- 223 -
16.COMPENSATION FUNCTION PROGRAMMING B-64554EN/01
Format
G10 L11 P_ R_ ;
P_ : Tool compensation number
R_ : Tool compensation value
NOTE
1 Address R follows the increment system for tool offset values.
2 If L is omitted for compatibility with the conventional CNC format, or L1 is
specified, the same operation as when L11 is specified is performed.
Angle of rotation
Center of rotation
X
0
- 224 -
B-64554EN/01 PROGRAMMING 16.COMPENSATION FUNCTION
Format
⎧G17 ⎫
⎪ ⎪ Start rotation of a coordinate system.
⎨G18 ⎬ G84 α_β_ R_ ;
⎪G19 ⎪
⎩ ⎭
: Coordinate system rotation mode
: (The coordinate system is rotated.)
G85 ; Coordinate system rotation cancel command
G17 (G18 or G19) : Select the plane in which contains the figure to be rotated.
α_β_ : Absolute programming for two of the X_, Y_, and Z_ axes that correspond to the
current plane selected by a command (G17, G18, or G19). The command
specifies the coordinates of the center of rotation for the values specified
subsequent to G84
R_ : Angular displacement with a positive value indicates counter clockwise rotation.
Bit 0 (RIN) of parameter No. 5400 selects whether the specified angular
displacement is always considered an absolute value or is considered an
absolute or incremental value depending on the specified G code (G90 or G91).
Least input increment : 0.001 deg
Valid data range : -360,000 to 360,000
(α, β)
X
Fig. 16.6 (b) Coordinate system rotation
NOTE
When a decimal fraction is used to specify angular displacement (R_), the 1's
digit corresponds to degree units.
Explanation
- G code for selecting a plane: G17,G18 or G19
The G code for selecting a plane (G17,G18,or G19) can be specified before the block containing the G
code for coordinate system rotation (G84). G17, G18 or G19 must not be designated in the mode of
coordinate system rotation.
- Center of rotation
When α_β_ is not programmed, the tool position when G84 was programmed is assumed as the center of
rotation.
- 225 -
16.COMPENSATION FUNCTION PROGRAMMING B-64554EN/01
- Angular displacement
When R_ is not specified, the value specified in parameter No. 5410 is assumed as the angular
displacement.
To specify angular displacement (R_) in 0.00001 degrees (one hundred-thousandth), set bit 0 (FRD) of
parameter No. 11630 to 1. In this case, angular displacement R is specified within the range of -36000000
to 36000000.
- Tool compensation
Tool radius compensation, and other compensation operations are executed after the coordinate system is
rotated.
Limitation
- Commands related to reference position return and the coordinate system
In coordinate system rotation mode, G codes related to reference position return (G27, G28, G29, G30,
etc.) and those for changing the coordinate system (G52 to G59, G92, etc.) must not be specified. If any
of these G codes is necessary, specify it only after canceling coordinate system rotation mode.
- Incremental programming
The first move command after the coordinate system rotation cancel command (G85) must be specified
with absolute values. If an incremental move command is specified, correct movement will not be
performed.
(Example)
G90 G0 X0 Y0
G01 X10. Y10. F6000
G84 X0 Y0 R45.... ...... Specifies coordinate system rotation.
Y14.142....................... Specifies one axis ....(1)
G85
- 226 -
B-64554EN/01 PROGRAMMING 16.COMPENSATION FUNCTION
Y
Move position
: X-2.929,Y17.071
Specified position
: X10,Y14.142
●
Coordinates before
Tool path
45° coordinate system rotation is
specified
: X10,Y10
X'
Tool path
Coordinates before coordinate
system rotation is specified
Y' : X10,Y10
● Conversion
Coordinates in rotated coordinate
system
45° : X'14.142,Y'0
X
- 227 -
16.COMPENSATION FUNCTION PROGRAMMING B-64554EN/01
Explanation
- Absolute/Incremental position commands
N1 G92 X-500.0 Y-500.0 G69 G17 ;
N2 G84 X700.0 Y300.0 R60.0 ;
N3 G90 G01 X0 Y0 F200 ;
(G91X500.0Y500.0)
N4 G91 X1000.0 ;
N5 G02 Y1000.0 R1000.0 ;
N6 G03 X-1000.0 I-500.0 J-500.0 ;
N7 G01 Y-1000.0 ;
N8 G85 G90 X-500.0 Y-500.0 M02 ;
Center of rotation
(700.0,300.0)
(0,0)
60º
(-500.0,-500.0)
Tool path after rotation
Programmed shape
after coordinate
system rotation
30°
(0, 0)
Tool path
- 228 -
B-64554EN/01 PROGRAMMING 16.COMPENSATION FUNCTION
1. When the system is not in tool compensation mode, specify the commands in the following order :
G51 ; Scaling mode start
G84 ; Coordinate system rotation mode start
:
G85 ; Coordinate system rotation mode cancel
G50 ; Scaling mode cancel
2. When the system is in tool compensation, specify the commands in the following order (Fig. 16.6
(e)) :
(tool compensation cancel)
G51 ; Scaling mode start
G84 ; Coordinate system rotation start
:
G41 ; Tool compensation mode start
:
G92 X0 Y0 ;
G51 X300.0 Y150.0 P500 ;
G84 X200.0 Y100.0 R45.0 ;
G01 X400.0 Y100.0 ;
Y100.0 ;
X-200.0 ;
Y-100.0 ;
X200.0 ;
Cutting program
100.0
X
0 200.0 400.0
Fig. 16.6 (e) Scaling and coordinate system rotation in tool compensation mode
- 229 -
16.COMPENSATION FUNCTION PROGRAMMING B-64554EN/01
Programmed path
(0, 0)
When offset is
applied
(0, -10.0)
Subprogram
- 230 -
B-64554EN/01 PROGRAMMING 17.CUSTOM MACRO
17 CUSTOM MACRO
Although subprograms are useful for repeating the same operation, the custom macro function also allows
use of variables, arithmetic and logic operations, and conditional branches for easy development of
general programs such as pocketing and user-defined canned cycles.
A machining program can call a custom macro with a simple command, just like a subprogram.
Machining program Custom macro
O0001 ; O9010 ;
: #1=#18/2 ;
: G01 G42 X#1 Y#1 F300 ;
: 02 X#1 Y-#1 R#1 ;
G65 P9010 R50.0 L2 ; :
: :
: :
M30 ; M99 ;
17.1 VARIABLES
An ordinary machining program specifies a G code and the travel distance directly with a numeric value;
examples are G100 X100.0.
With a custom macro, numeric values can be specified directly or using a variable number. When a
variable number is used, the variable value can be changed by a program or using operations on the MDI
panel.
#1=#2+100 ;
G01 X#1 F300 ;
Explanation
- Variable representation
When specifying a variable, specify a number sign (#) followed by a variable number.
#i (i = 1, 2, 3, 4, .....)
[Example] #5
#109
- 231 -
17.CUSTOM MACRO PROGRAMMING B-64554EN/01
#1005
A variable can also be represented as follows using <expression> described in the section about
arithmetic and logic operation commands.
#[<expression>]
[Example] #[#100]
#[#1001-1]
#[#6/2]
Variable #i shown in the following can be replaced with a variable of #[<expression>].
- Types of variables
Variables can be classified as local variables, common variables, and system variables according to the
variable number. Each of those variables has its own usage and characteristics. Read-only system
constants are also provided.
- System variable
A variable whose usage does not vary in the system. The attribute of a system variable is READ only,
WRITE only, or READ/WRITE enabled depending on the nature of a system variable.
- System constant
A system constant can be referenced as with a variable even though its value is fixed. The attribute of a
system constant is READ only.
- Referencing variables
The value following an address can be replaced with a variable. When programming as <address>#i or
<address>-#i, the variable value or the complement of it is used as the specified value of the address.
[Example] F#33 is the same as F1.5 when #33 = 1.5.
Z-#18 is the same as Z-20.0 when #18 = 20.0.
G#130 is the same as G3 when #130 = 3.0.
A variable cannot be referenced using address/, :, or O and N.
[Example] Programming such as O#27 or N#1 is not allowed.
n (n = 1 to 9) in the optional block skip /n cannot be a variable.
A variable number cannot be specified by a direct variable.
[Example] When replacing 5 in #5 with #30, specify #[#30] instead of ##30. No values
exceeding the maximum allowable value for each address can be specified.
[Example] When #140 = 12345.0, G#140 exceeds the maximum allowable value.
When a variable is used as address data, the variable is automatically rounded off
to the number of significant figures of each address or less.
[Example] For a machine with an increment system of 1/1000 mm (IS-B), when #1 = 12.3456,
G00 X#1; becomes G00 X12.346;.
If <expression>, described later, is used, the value following an address can be
replaced with <expression>.
<address>[<expression>] or <address>-[<expression>]
The program code shown above indicates the value of <expression> or the
complement of the value is used as an address value. Note that a constant with no
decimal point, enclosed in brackets ([ ]), is assumed to have a decimal point at the
end.
[Example] X[#24+#18*COS[#1]]
Z-[#18+#26]
- Undefined variable
When the value of a variable is not defined, such a variable is referred to as a "null" variable. Variables
#0 and #3100 are always null variables. They cannot be written to, but they can be read.
(a) Quotation
When an undefined variable is quoted, the address itself is also ignored.
Original command G90 X100 Y#1
Equivalent command when #1 = <null> G90 X100
Equivalent command when #1 = 0 G90 X100 Y0
(c) Comparison
<null> differs from 0 only for EQ and NE.
<null> is equal to 0 for GE, GT, LE, and LT.
• When <null> is assigned to #1
Conditional
#1 EQ #0 #1 NE 0 #1 GE #0 #1 GT 0 #1 LE #0 #1 LT 0
expression
Not Not
Evaluation Established Established Established Established
established established
result (true) (true) (true) (true)
(false) (false)
• When 0 is assigned to #1
Conditional
#1 EQ #0 #1 NE 0 #1 GE #0 #1 GT 0 #1 LE #0 #1 LT 0
expression
Not Not Not Not
Evaluation Established Established
established established established established
result (true) (true)
(false) (false) (false) (false)
- 234 -
B-64554EN/01 PROGRAMMING 17.CUSTOM MACRO
NOTE
1 When the specified variable name is not registered, an alarm PS1098, “NO
VARIABLE NAME” is issued.
2 When a negative or other invalid subscript is specified, an alarm PS1099,
“ILLLEGAL SUFFIX [ ]” is issued.
The names specified by the command can be used in a program. For example, when 10 is assigned to
#510, the expression [#TOOL_NO]=10; can be used instead #510=10;.
NOTE
If the same name was specified for different common variables, only the variable
which has the smaller variable number can be referenced with the specified
name.
- 235 -
17.CUSTOM MACRO PROGRAMMING B-64554EN/01
- Interface signals
System System
variable variable Attribute Description
number name
#1000-#1031 [#_UI[n]] R Interface input signals (BIT), UI000-UI031
NOTE) Subscript n represents a BIT position (0-31).
#1032-#1035 [#_UIL[n]] R Interface input signals (LONG), UI000-UI031/ UI100-UI131/
UI200-UI231/UI300-UI331
NOTE) Subscript n (0-3): 0 = UI000-UI031, 1 = UI100-UI131,
2 = UI200-231, 3 = UI300-UI331
#1100-#1131 [#_UO[n]] R/W Interface output signals (BIT), UO000-UO031
NOTE) Subscript n represents a BIT position (0-31).
#1132-#1135 [#_UOL[n]] R/W Interface output signals (LONG), UO000-UO031/
UO100-UO131/UO200-UO231/UO300-UO331
NOTE) Subscript n (0-3): 0 = UO000-UO031, 1 = UO100-UO131,
2 = UO200-231, 3 = UO300-UO331
- Time
System variable System variable
Attribute Description
number name
#3011 [#_DATE] R Year/Month/Date
#3012 [#_TIME] R Hour/Minute/Second
- Number of parts
System variable System variable
Attribute Description
number name
#3901 [#_PRTSA] R/W Total number of parts
#3902 [#_PRTSN] R/W Number of required parts
- Modal information
System variable System variable
Attribute Description
number name
#4001-#4030 [#_BUFG[n]] R Modal information on blocks that have been specified by last
minute (G code)
Note) Subscript n represents a G code group number.
#4102 [#_BUFB] R Modal information on blocks that have been specified by last
minute (B code)
#4107 [#_BUFD] R Modal information on blocks that have been specified by last
minute (D code)
#4108 [#_BUFE] R Modal information on blocks that have been specified by last
minute (E code)
#4109 [#_BUFF] R Modal information on blocks that have been specified by last
minute (F code)
#4111 [#_BUFH] R Modal information on blocks that have been specified by last
minute (H code)
#4113 [#_BUFM] R Modal information on blocks that have been specified by last
minute (M code)
#4114 [#_BUFN] R Modal information on blocks that have been specified by last
minute (sequence number)
#4115 [#_BUFO] R Modal information on blocks that have been specified by last
minute (program number)
#4119 [#_BUFS] R Modal information on blocks that have been specified by last
minute (S code)
- 237 -
17.CUSTOM MACRO PROGRAMMING B-64554EN/01
- 238 -
B-64554EN/01 PROGRAMMING 17.CUSTOM MACRO
- Position information
System variable System variable
Attribute Description
number name
#5001-#5007 [#_ABSIO[n]] R End point position of the previous block (workpiece
coordinate system)
Note) Subscript n represents an axis number (1 to 7).
#100001-#100007 The numbers to the left can also be used.
Note) Subscript n represents an axis number (1 to 7).
#5021-#5027 [#_ABSMT[n]] R Specified current position (machine coordinate system)
Note) Subscript n represents an axis number (1 to 7).
#100051-#100057 The numbers to the left can also be used.
Note) Subscript n represents an axis number (1 to 7).
#5041-#5047 [#_ABSOT[n]] R Specified current position (workpiece coordinate system)
Note) Subscript n represents an axis number (1 to 7).
#100101-#100107 The numbers to the left can also be used.
Note) Subscript n represents an axis number (1 to 7).
#5061-#5067 [#_ABSKP[n]] R Skip position (workpiece coordinate system)
Note) Subscript n represents an axis number (1 to 7).
#100151-#100157 The numbers to the left can also be used.
Note) Subscript n represents an axis number (1 to 7).
- Distance to go
System variable System variable
Attribute Description
number name
#5181-#5187 [#_DIST[n]] R Distance to go
Note) Subscript n represents an axis number (1 to 7).
#100801-#100807 The numbers to the left can also be used.
Note) Subscript n represents an axis number (1 to 7).
- 239 -
17.CUSTOM MACRO PROGRAMMING B-64554EN/01
- Pattern function
System variable Attribu
System variable name Description
number te
#6251-#6257 [#_MPTREFP[n]] R Coordinate of pattern base point
(NOTE) Subscript n is number of axis (1 to 7).
#154001-#154007 Following number is enabled.
(NOTE) Subscript n is number of axis (1 to 7).
- Automatic repositioning
System variable Attribu
System variable name Description
number te
#6270 [#_MATREP] R Repositioning value
- 240 -
B-64554EN/01 PROGRAMMING 17.CUSTOM MACRO
- System constant
System constant System
Attribute Description
number constant name
#0, #3100 [#_EMPTY] R Null
#3101 [#_PI] R Circular constant π = 3.14159265358979323846
#3102 [#_E] R Base of natural logarithm e = 2.71828182845904523536
Explanation
R, W, and R/W are attributes of a variable and represents read-only, write-only, and read/write enabled,
respectively.
Since the read value is 1.0 or 0.0 regardless of the unit system, the unit system must be considered when a
macro is created.
The input signals at 32 points can be read at a time by reading from system variables #1032 to #1035.
30
#1032 = ∑ # [1000 + i] × 2 −#1031× 2
i =0
i 31
∑ {2 ×V }− 2
30
# [1032 + n] = i
i
31
× V31
i =0
When UIni = 0, Vi = 0.
When UIni = 1, Vi = 1.
n = 0-3
[Output signal]
Interface output signals can be sent by assigning values to system variables #1100 to #1131 for sending
interface signals.
- 242 -
B-64554EN/01 PROGRAMMING 17.CUSTOM MACRO
The output signals at 32 points can be written at a time by writing to system variables #1132 to #1135.
The signals can also be read.
30
#1132 = ∑ # [1000 + i] × 2 −#1131× 2
i =0
i 31
∑ {2 ×V }− 2
30
# [1132 + n] = i
i
31
× V31
i =0
When UIni = 0, Vi = 0.
When UIni = 1, Vi = 1.
n = 0-3
NOTE
1 When a value other than 1.0 or 0.0 is assigned to variables #1100 to #1131, it is
assumed as follows.
<null> is assumed to be 0.
A value other than <null> or 0 is assumed to be 1.
Where, a value less than 0.00000001 is undefined.
2 When any of UI016 to UI031, UI100 to UI131, UI200 to UI231, UI300 to UI331,
UO016 to UO031, UO200 to UO231, and UO300 to UO331 are used, bit 0 (MIF)
of parameter No. 6001 must be set to 1.
- 243 -
17.CUSTOM MACRO PROGRAMMING B-64554EN/01
Example
Structure of DI
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2
2 1 0
Used for other Sign 10 10 10
purposes
Structure of DO
8 7 6 5 4 3 2 1 0
2 2 2 2 2 2 2 2 2
<1> The specified address D value is output to DO and signed BCD 3 digits are read into #100.
<2> Eight types of specified address D values are output to DO and signed BCD 6 digits (3-digit integer
part + 3-digit fractional part) are read into #101.
- 244 -
B-64554EN/01 PROGRAMMING 17.CUSTOM MACRO
Variable
Type Variable name Unit At power-on Count condition
number
Clock 1 #3001 [#_CLOCK1] 1 ms Reset to 0 Anytime
Clock 2 #3002 [#_CLOCK2] 1 hour Same as at power-down When the STL signal is on
The clock accuracy is 16 ms. Clock 1 returns to 0 after a lapse of 2147483648 ms. Clock 2 returns to 0
after a lapse of 9544.37176 hours.
- 245 -
17.CUSTOM MACRO PROGRAMMING B-64554EN/01
[Example]
Timer
Macro calling command
G65 P9101 T (wait time) ms ;
A macro is created as follows.
O9101;
#3001 = 0; Initial setting
WHILE [#3001 LE #20] DO1: Wait for a specified time
END1 ;
M99 ;
- Controlling of single block stop and waiting for the auxiliary function
completion signal #3003 (Attribute: R/W)
Assigning the following values in system variable #3003 allows the specification of whether single block
stop is disabled in the following blocks or whether a wait for the completion signal (FIN) of the auxiliary
function (M, S, T, or B) before going to the next block is enabled. When a wait for completion signal is
disabled, the distribution end signal (DEN) is not sent. Be careful not to specify the next auxiliary
function without waiting for the completion signal.
Variable number and variable name Value Single block stop Auxiliary function completion signal
0 Enabled Waiting
#3003 1 Disabled Waiting
[#_CNTL1] 2 Enabled Not waiting
3 Disabled Not waiting
In addition, the following variable names can be used to enable or disable single block stop and a wait for
the auxiliary function completion signal, individually.
Variable name Value Single block stop Auxiliary function completion
0 Enabled -
[#_M_SBK]
1 Disabled -
0 - Waiting
[#_M_FIN]
1 - Not waiting
[Example]
Punch cycle at corners of rectangle (for incremental programming)
Macro calling command
G65 P9081 Xxx Yyy ;
A custom macro body is created as follows.
O9081 ;
#3003 = 1 ;
G00 X0 Y0 ;
G00 X#24 ;
Disable single block stop.
G00 Y#25 ;
#24 corresponds to X and #25 to Y.
G00 X-#24 ;
#3003 = 0 ;
M99 ;
NOTE
#3003 is cleared by a reset.
- Enabling of feed hold, feedrate override, and exact stop check #3004
(Attribute: R/W)
Assigning the following values in system variable #3004 allows the specification of whether feed hold
and feedrate override are enabled in the following blocks or whether exact stop in G61 mode or by G09
command is disabled.
- 246 -
B-64554EN/01 PROGRAMMING 17.CUSTOM MACRO
Variable number and variable name Value Field hold Feedrate override Exact stop
0 Enabled Enabled Enabled
1 Disabled Enabled Enabled
2 Enabled Disabled Enabled
#3004 3 Disabled Disabled Enabled
[#_CNTL2] 4 Enabled Enabled Disabled
5 Disabled Enabled Disabled
6 Enabled Disabled Disabled
7 Disabled Disabled Disabled
In addition, the following variable names can be used to enable or disable feed hold, feedrate override,
and exact stop in G61 mode or by the G09 command, individually.
Variable number and variable name Value Feed hold Feedrate override Exact stop
0 Enabled - -
[#_M_FHD]
1 Disabled - -
0 - Enabled -
[#_M_OV]
1 - Disabled -
0 - - Enabled
[#_M_EST]
1 - - Disabled
NOTE
1 These system variables are provided to maintain compatibility with conventional
NC programs. It is not recommended to use control of feed hold and feedrate
override. In addition, it is recommended that functions provided by G09, G61,
and G64 is used to enable or disable exact stop.
2 When the feed hold button is pressed during execution of a block for which feed
hold is disabled:
<1> If the feed hold button is kept pressed, operation stops after execution of
the block. When single block stop is disabled, however, operation does not
stop.
<2> If the pressed feed hold button is released, the feed hold lamp lights, but
operation does not stop until the end of the first block that was enabled.
3 #3004 is cleared by a reset.
4 If exact stop is disabled by #3004, the original exact stop position between
cutting feed and positioning block is not affected. #3004 can temporarily disable
exact stop in G61 mode or by the G09 command between cutting feed and
cutting feed.
#3005
- 247 -
17.CUSTOM MACRO PROGRAMMING B-64554EN/01
When the status is indicated in binary, each bit corresponds with an axis as follows.
Bit 31 to 7 6 5 4 3 2 1 0
nth axis - 7 6 5 4 3 2 1
For the 32 bits, 0 indicates that a mirror image is disabled and 1 indicates that a mirror image is enabled.
[Example] When #3007 is 3, a mirror image is enabled for the 1st and 2nd axes.
NOTE
1 When the mirror image function is set for the same axis by the mirror image
signal and setting, the signal value and setting value are ORed and then output.
2 When mirror image signals for axes other than the controlled axes are turned on,
they are not read into system variable #3007.
- Total number of parts and the number of required parts #3901 and #3902
(Attribute: R/W)
The number of required parts and the number of machined parts can be displayed on the screen by using
the operation time and part number displaying function. When the (total) number of machined parts
reaches the number of required parts, a signal indicating the fact is sent to the machine (PMC side).
The system variables can be used to read or write the total number of parts and the number of required
parts.
Variable number Variable name Description
#3901 [#_PRTSA] Total number of parts
#3902 [#_PRTSN] Number of required parts
- 248 -
B-64554EN/01 PROGRAMMING 17.CUSTOM MACRO
NOTE
Only tool compensation memory A can be used by Series 0i-PD.
NOTE
1 The main program number indicates the number of the program that is first
started.
2 When an O number is specified by MDI during execution of the main program or
when the second O number is specified in DNC mode, the value of #4000
changes to the specified O number. In addition, when no programs are
registered or when no O numbers are specified in DNC mode, the value of
#4000 changes to 0.
(Category: <1> Previous block, <2> Running block, <3> Interrupted block)
Category Variable number Variable name Description
<1> #4001 [#_BUFG[1]]
<2> #4201 [#_ACTG[1]] Modal information (G code: group 1)
<3> #4401 [#_INTG[1]]
<1> #4002 [#_BUFG[2]]
<2> #4202 [#_ACTG[2]] Modal information (G code: group 2)
<3> #4402 [#_INTG[2]]
: : : :
<1> #4030 [#_BUFG[30]]
<2> #4230 [#_ACTG[30]] Modal information (G code: group 30)
<3> #4430 [#_INTG[30]]
<1> #4102 [#_BUFB]
<2> #4302 [#_ACTB] Modal information (B code)
<3> #4502 [#_INTB]
<1> #4107 [#_BUFD]
<2> #4307 [#_ACTD] Modal information (D code)
<3> #4507 [#_INTD]
<1> #4108 [#_BUFE]
<2> #4308 [#_ACTE] Modal information (E code)
<3> #4508 [#_INTE]
<1> #4109 [#_BUFF]
<2> #4309 [#_ACTF] Modal information (F code)
<3> #4509 [#_INTF]
- 249 -
17.CUSTOM MACRO PROGRAMMING B-64554EN/01
NOTE
Previous block and running block
Since the CNC reads the block that is ahead of the block currently being
executed by the machining program, the block being retrieved by the CNC is
normally different from that currently being executed. The previous block
indicates the block that is ahead of the block being retrieved by the CNC, that is,
the block that is ahead of the program block in which #4001 to #4120 are
specified.
[Example] O1234 ;
N10 G00 X200. Y200. ;
N20 G01 X1000. Y1000. F10. ;
:
:
N50 G00 X500. Y500. ;
N60 #1 = #4001 ;
Assume that the CNC is currently executing N20. If the CNC retrieved and processed the blocks up to
N60 as shown above, the running block is N20 and the previous block is N50. Therefore, group 1 modal
information in the running block is G01 and group 1 modal information in the previous block is G00.
When N60 #1 = #4201, #1 = 1.
When N60 #1 = #4001, #1 = 0.
- 250 -
B-64554EN/01 PROGRAMMING 17.CUSTOM MACRO
Reading
Tool position
Variable Coordinate operation
Variable name Position information cutter
number system during
compensation
movement
#5001 [#_ABSIO[1]] 1st axis block end point position
#5002 [#_ABSIO[2]] 2nd axis block end point position
: : :
Workpiece
#5007 [#_ABSIO[7]] 7th axis block end point position
coordinate Not included Enabled
#100001 [#_ABSIO[1]] 1st axis block end point position
system
#100002 [#_ABSIO[2]] 2nd axis block end point position
: : :
#100007 [#_ABSIO[7]] 7th axis block end point position
#5021 [#_ABSMT[1]] 1st axis current position
#5022 [#_ABSMT[2]] 2nd axis current position
: : :
Machine
#5027 [#_ABSMT[7]] 7th axis current position
coordinate Included Disabled
#100051 [#_ABSMT[1]] 1st axis current position
system
#100052 [#_ABSMT[2]] 2nd axis current position
: : :
#100057 [#_ABSMT[7]] 7th axis current position
#5041 [#_ABSOT[1]] 1st axis current position
#5042 [#_ABSOT[2]] 2nd axis current position
: : :
Workpiece
#5047 [#_ABSOT[7]] 7th axis current position
coordinate Included Disabled
#100101 [#_ABSOT[1]] 1st axis current position
system
#100102 [#_ABSOT[2]] 2nd axis current position
: : :
#100107 [#_ABSOT[7]] 7th axis current position
#5061 [#_ABSKP[1]] 1st axis skip position
#5062 [#_ABSKP[2]] 2nd axis skip position
: : :
Workpiece
#5067 [#_ABSKP[7]] 7th axis skip position
coordinate Included Enabled
#100151 [#_ABSKP[1]] 1st axis skip position
system
#100152 [#_ABSKP[2]] 2nd axis skip position
: : :
#100157 [#_ABSKP[7]] 7th axis skip position
NOTE
1 When variables exceeding the number of control axes are specified, the alarm
PS0115, “VARIABLE NO. OUT OF RANGE” occurs.
2 The block end point position (ABSIO) of the skip (G33) is the position where the
skip signal is turned on. If the skip signal is not turned on, the position is the end
position of the block.
3 "Read operation during movement is disabled" means that the accurate reading
of values during movement is not guaranteed.
- 251 -
17.CUSTOM MACRO PROGRAMMING B-64554EN/01
NOTE
When variables exceeding the number of control axes are specified, the alarm
PS0115, “VARIABLE NO. OUT OF RANGE” occurs.
- Manual handle interruption #5121-#5127, #100651-#100657 (Attribute: R)
The manual handle interruption for each axis can be obtained by reading system variables #5121 to #5127
or #100651 to #100657.
Variable Read operation
Variable name Position information
number during movement
#5121 [#_MIRTP[1]] 1st axis manual handle interruption
#5122 [#_MIRTP[2]] 2nd axis manual handle interruption
: : :
#5127 [#_MIRTP[7]] 7th axis manual handle interruption
Disabled
#100651 [#_MIRTP[1]] 1st axis manual handle interruption
#100652 [#_MIRTP[2]] 2nd axis manual handle interruption
: : :
#100657 [#_MIRTP[7]] 7th axis manual handle interruption
NOTE
When variables exceeding the number of control axes are specified, the alarm
PS0115, “VARIABLE NO. OUT OF RANGE” occurs.
NOTE
When variables exceeding the number of control axes are specified, the alarm
PS0115, “VARIABLE NO. OUT OF RANGE” occurs.
- 252 -
B-64554EN/01 PROGRAMMING 17.CUSTOM MACRO
Variable Workpiece
Variable name Controlled axis
number coordinate system
#100301 [#_WZCMN[1]] 1st axis external workpiece origin offset value External workpiece
#100302 [#_WZCMN[2]] 2nd axis external workpiece origin offset value origin offset value
: : : (applied to all
#100307 [#_WZCMN[7]] 7th axis external workpiece origin offset value coordinate systems)
#100351 [#_WZG54[1]] 1st axis workpiece origin offset value
#100352 [#_WZG54[2]] 2nd axis workpiece origin offset value
G54
: : :
#100357 [#_WZG54[7]] 7th axis workpiece origin offset value
#100401 [#_WZG55[1]] 1st axis workpiece origin offset value
#100402 [#_WZG55[2]] 2nd axis workpiece origin offset value
G55
: : :
#100407 [#_WZG55[7]] 7th axis workpiece origin offset value
#100451 [#_WZG56[1]] 1st axis workpiece origin offset
#100452 [#_WZG56[2]] 2nd axis workpiece origin offset
G56
: : :
#100457 [#_WZG56[7]] 7th axis workpiece origin offset
#100501 [#_WZG57[1]] 1st axis workpiece origin offset
#100502 [#_WZG57[2]] 2nd axis workpiece origin offset
G57
: : :
#100507 [#_WZG57[7]] 7th axis workpiece origin offset
- 253 -
17.CUSTOM MACRO PROGRAMMING B-64554EN/01
Variable Workpiece
Variable name Controlled axis
number coordinate system
#100551 [#_WZG58[1]] 1st axis workpiece origin offset
#100552 [#_WZG58[2]] 2nd axis workpiece origin offset
G58
: : :
#100557 [#_WZG58[7]] 7th axis workpiece origin offset
#100601 [#_WZG59[1]] 1st axis workpiece origin offset
#100602 [#_WZG59[2]] 2nd axis workpiece origin offset
G59
: : :
#100607 [#_WZG59[7]] 7th axis workpiece origin offset
The following variables can also be used when bit 5 (D15) of parameter No. 6004 is set to 0:
Axis Function Variable number
1st axis External workpiece origin offset value #2500
G54 workpiece origin offset value #2501
G55 workpiece origin offset value #2502
G56 workpiece origin offset value #2503
G57 workpiece origin offset value #2504
G58 workpiece origin offset value #2505
G59 workpiece origin offset value #2506
2nd axis External workpiece origin offset value #2600
G54 workpiece origin offset value #2601
G55 workpiece origin offset value #2602
G56 workpiece origin offset value #2603
G57 workpiece origin offset value #2604
G58 workpiece origin offset value #2605
G59 workpiece origin offset value #2606
3rd axis External workpiece origin offset value #2700
G54 workpiece origin offset value #2701
G55 workpiece origin offset value #2702
G56 workpiece origin offset value #2703
G57 workpiece origin offset value #2704
G58 workpiece origin offset value #2705
G59 workpiece origin offset value #2706
4th axis External workpiece origin offset value #2800
G54 workpiece origin offset value #2801
G55 workpiece origin offset value #2802
G56 workpiece origin offset value #2803
G57 workpiece origin offset value #2804
G58 workpiece origin offset value #2805
G59 workpiece origin offset value #2806
NOTE
1 When variables exceeding the number of control axes are specified, the alarm
PS0115, “VARIABLE NO. OUT OF RANGE” occurs.
2 The variables #2500 to #2806, #5201 to #5327, and #100301 to #100607 are
available when the workpiece coordinate system is applied.
- 254 -
B-64554EN/01 PROGRAMMING 17.CUSTOM MACRO
NOTE
1 When variables exceeding the number of control axes are specified, the alarm
PS0115, “VARIABLE NO. OUT OF RANGE” occurs.
2 To specify these variables, set bit 2 (DSK) of parameter No. 6210 to 1. (If an
attempt is made to specify them when DSK is 0, alarm PS0115 is issued.)
Example
#8570 = 0 ;
#10001 = 123 ; → Writing to system variable #10001 (tool compensation)
#8570 = 1 ;
#10001 = 456 ; → Writing to P-CODE variable #10001 (tool compensation)
NOTE
1 Variable #8570 can be used only when the macro executor function is enabled.
2 System variables (#10000 or later) always correspond to system variables
specified by their variable names even when #8570 is 1.
3 When an attempt is made to access a variable that cannot be used with
P-CODE variables (#10000 or later), an alarm PS0115, “VARIABLE NO. OUT
OF RANGE” occurs.
- 255 -
17.CUSTOM MACRO PROGRAMMING B-64554EN/01
- 256 -
B-64554EN/01 PROGRAMMING 17.CUSTOM MACRO
<Expression>
The expression to the right of the arithmetic and logic operation contains constants and/or variables
combined by a function or operator. Variables #j and #k below can be replaced with a constant. If a
constant used in an expression has no decimal point, it is assumed to end with a decimal point.
Explanation
- Angle units
The units of angles used with the SIN, COS, ASIN, ACOS, TAN, and ATAN functions are degrees. For
example, 90 degrees and 30 minutes is represented as 90.5 degrees.
- ARCSIN #i = ASIN[#j];
• The solution ranges are as indicated below:
When the bit 0 (NAT) of parameter No. 6004 is set to 0: 270° to 90°
When the bit 0 (NAT) of parameter No. 6004 is set to 1: -90° to 90°
• When #j is beyond the range of -1 to 1, an alarm PS0119, “ARGUMENT VALUE OUT OF
RANGE” is issued.
• A constant can be used instead of the #j variable.
- ARCCOS #i = ACOS[#j];
• The solution ranges from 180° to 0°.
- 257 -
17.CUSTOM MACRO PROGRAMMING B-64554EN/01
- ROUND function
• When the ROUND function is included in an arithmetic or logic operation command, IF statement,
or WHILE statement, the ROUND function rounds off at the first decimal place.
Example:
When #1=ROUND[#2]; is executed where #2 holds 1.2345, the value of variable #1 is
1.0.
• When the ROUND function is used in NC statement addresses, the ROUND function rounds off the
specified value according to the least input increment of the address.
Example:
Creation of a drilling program that cuts according to the values of variables #1 and #2,
then returns to the original position
Suppose that the increment system is 1/1000 mm, variable #1 holds 1.2345, and
variable #2 holds 2.3456. Then,
G00 G91 X-#1; Moves 1.235 mm in negative direction.
G01 X-#2 F300; Moves 2.346 mm in negative direction.
- 258 -
B-64554EN/01 PROGRAMMING 17.CUSTOM MACRO
G00 X[#1+#2]; Since 1.2345 + 2.3456 = 3.5801 in positive direction, the travel
distance is 3.580, which does not return the tool to the original position.
This difference comes from whether addition is performed before or after rounding off.
G00X-[ROUND[#1]+ROUND[#2]]; must be specified to return the tool to the original
position.
NOTE
For compatibility among programs, it is recommended that the ADP function be
not used, and decimal points be added in the argument specification for a macro
call.
Example: ROUND → RO
FIX → FI
NOTE
POW cannot be abbreviated.
- Priority of operations
<1> Functions
<2> Operations such as multiplication and division (*, /, AND)
<3> Operations such as addition and subtraction (+, -, OR, XOR)
- 259 -
17.CUSTOM MACRO PROGRAMMING B-64554EN/01
Example) #1=#2+#3*SIN[#4];
<1>
<2>
<1>, <2> and <3> indicate the order of
<3> operations.
- Bracket nesting
Brackets are used to change the order of operations. Brackets can be used to a depth of five levels
including the brackets used to enclose a function. When a depth of five levels is exceeded, an alarm
PS0118, “TOO MANY BRACKET NESTING” occurs.
Example) #1=SIN [ [ [#2+#3] *#4 +#5] *#6];
<1>
<2>
<3>
<4>
<5>
<1> to <5> indicate the order of operations.
Limitation
• Caution concerning decreased precision
When bit 0 (F0C) of parameter No. 6008 is set to 0
• Addition and subtraction
Note that when an absolute value is subtracted from another absolute value in addition or subtraction,
the relative error may become 10-15 or greater.
For example, assume that #1 and #2 have the following true values in the process of operation.
(The following values are examples in the process of operation and cannot actually be specified from
any program.)
#1=9876543210.987654321
#2=9876543210.987657777
You cannot obtain the following result with operation #2-#1:
#2-#1=0.000003456
This is because the precision of custom macro variables is 15 decimal digits. With this precision, the
values of #1 and #2 become:
#1=9876543210.987650000
#2=9876543210.987660000
(Precisely, the actual values are slightly different from the above values because they are internally
processed in binary.) Therefore, the result is:
#2-1=0.000010000
A large error occurs.
• Logical expressions
Be aware of errors that can result from conditional expressions using EQ, NE, GT, LT, GE, and LE
because they are processed basically in the same way as addition and subtraction. For example, if the
following statement is used to decide whether #1 is equal to #2 in the above example, a correct
decision may not be resulted because errors may occur:
IF [#1 EQ #2]
Evaluate the difference between #1 and #2 with:
IF [ABS [#1-#2]LT 0.1]
Then, assume that the values are equal when the difference does not exceed the allowable error
range.
• Trigonometric functions
- 260 -
B-64554EN/01 PROGRAMMING 17.CUSTOM MACRO
The absolute error is guaranteed for trigonometric functions. However, the relative error is 10-15 or
greater. Carefully perform multiplication or division after executing a trigonometric function.
• FIX function
When using the FIX function for the result of an operation, be careful with the precision. For
example, when the following operations are performed, the value of #3 may not always be 2.
N10 #1=0.002;
N20 #2=#1*1000;
N30 #3=FIX[#2];
This is because an error may occur in operation N20 and the result may not be
#2=2.0000000000000000
but a value a little smaller than 2 such as the following:
#2=1.9999999999999997
To prevent this, specify N30 as follows:
N30 #3=FIX[#2+0.001];
Generally, specify the FIX function as follows:
FIX[expression] → FIX[expression ±ε]
(Specify +ε when the value of the expression is positive or -ε when it is negative, and 0.1, 0.01,
0.001, ... for ε as required.)
NOTE
The operation result of exponential function #i=EXP[#j]; overflows when #j
exceeds about 790.
NOTE
1 The relative error depends on the result of the operation.
2 Smaller of the two types of errors is used.
3 The absolute error is constant, regardless of the result of the operation.
4 Function TAN performs SIN/COS.
5 Note that, in the case of natural logarithm #i=LN[#j]; and exponential function
#i=EXP[#j];, the relative error may become 10-8 or greater.
6 The operation result of exponential function #i=EXP[#j]; overflows when #j
exceeds about 110.
• The precision of variable values is about 8 decimal digits. When very large numbers are handled in
an addition or subtraction, the expected results may not be obtained.
Example:
When an attempt is made to assign the following values to variables #1 and #2:
- 261 -
17.CUSTOM MACRO PROGRAMMING B-64554EN/01
#1=9876543210123.456
#2=9876543277777.777
the values of the variables become:
#1=9876543200000.000
#2=9876543300000.000
In this case, when #3=#2-#1; is calculated, #3=100000.000 results. (The actual result
of this calculation is slightly different because it is performed in binary.)
• Also be aware of errors that can result from conditional expressions using EQ, NE, GE, GT, LE, and
LT.
Example:
IF[#1 EQ #2] is effected by errors in both #1 and #2, possibly resulting in an incorrect
decision.
Therefore, instead find the difference between the two variables with IF[ABS[#1-#2] LT
0.001].
Then, assume that the values of the two variables are equal when the difference does
not exceed an allowable limit (0.001 in this case).
• Also, be careful when rounding down a value.
Example:
When #2=#1*1000; is calculated where #1=0.002;, the resulting value of variable #2 is
not exactly 2 but 1.99999997.
Here, when #3=FIX[#2]; is specified, the resulting value of variable #3 is not 2.0 but
1.0.
In this case, round down the value after correcting the error so that the result is greater
than the expected number, or round it off as follows:
#3=FIX[#2+0.001]
#3=ROUND[#2]
- Brackets
Brackets ([ ]) are used to enclose an expression.
Note that parentheses ( ) are used for comments.
- Divisor
When a divisor of zero is specified in a division, an alarm PS0112, “ZERO DIVIDE” occurs.
Explanation
- Reading a parameter
#i=PRM[#j,#k]
#i=PRM[#j,#k]/[#l]
• For #j, enter a parameter number. If the number of a parameter that cannot be read, alarm PS0119,
"ARGUMENT VALUE OUT OF RANGE", is issued.
• To read a bit type parameter, specify, for #k, the bit number of the bit type parameter in the range of
0 to 7. If a bit number is specified, data with the specified bit is read. If none is specified, data with
all bits is read. For parameters other than bit type parameters, the bit number is ignored.
- 262 -
B-64554EN/01 PROGRAMMING 17.CUSTOM MACRO
• For #l, set the axis number of an axis type parameter in the range of 1 to 7. If an axis type parameter
is to be read but #l is not specified, alarm PS0119 is issued. For parameters other than axis type
parameters, #1 may be omitted together with '/'.
Example
1. Reading the value of the third axis of bit 0 (MIR) of bit axis type parameter No. 0012
If parameter No. 0012 (third axis) = 10010001
#2=12 ; Parameter number setting
#3=0 ; Bit number setting
#4=3 ; Axis number setting
If reading data with all bits
#1=PRM[#2]/[#4] ; #1=10010001
If reading data with a specified bit
#1=PRM[#2, #3]/[#4] ; #1=1
2. Reading the value of the fourth axis of axis type parameter No. 1322
#2=1322 ; Parameter number setting
#4=4 ; Axis number setting
#1=PRM[#2]/[#4] ;
Explanation
- Differences from NC statements
• Even when single block mode is on, the machine does not stop. Note, however, that the machine
stops in the single block mode when bit 5 of parameter SBM No. 6000 is 1.
• Macro blocks are not regarded as blocks that involve no movement in the cutter compensation mode.
- 263 -
17.CUSTOM MACRO PROGRAMMING B-64554EN/01
Example: GOTO 1;
GOTO #10;
WARNING
Do not specify multiple blocks with the same sequence number in a single
program. It is very dangerous to specify such blocks because the destination of a
branch from the GOTO statement is undefined.
NOTE
1 A backward branch takes more time as compared with a forward branch.
2 In the destination of GOTOn, that is, the block with sequence number n, the
sequence number must appear at the beginning of the block. If the sequence
number is not at the beginning of the block, a branch cannot be made.
- 264 -
B-64554EN/01 PROGRAMMING 17.CUSTOM MACRO
WARNING
Do not specify multiple blocks with the same sequence number in a single
program.
It is very dangerous to specify the sequence number of the branch destination
before and after the GOTO statement and execute the GOTO statement
because the branch destination changes according to the values of the
parameters as shown below:
When bit 1 (MGO) or 4 (HGO) of parameter No. When both bits 1 (MGO) and 4 (HGO) of
6000 is set to 1 parameter No. 6000 are set to 0
: :
N10; A branch to N10;
N10 before
: : A branch to
the GOTO
GOTO10; statement GOTO10; N10 after the
: occurs. : GOTO
N10; N10; statement
occurs.
Even if bit 1 (MGO) or 4 (HGO) of parameter No. 6000 is set to 1 and the GOTO
statement is executed, the branch to a block before GOTO statement may not
occur, when the destination sequence number is not contained in the data stored
at previous block execution. In this case, a branch to the sequence number in a
block following the GOTO statement occurs (the destination is the same as when
both bits are set to 0).
NOTE
When an external program is read and executed by DNC operation, the
executed sequence numbers are not stored.
When a program registered in memory is executed by a subprogram call, the
sequence numbers are stored.
CAUTION
According to the restrictions on the GOTO statement, no branch to a sequence
number within a DO-END loop cannot be made. If a program in which a branch
to a sequence number within a loop occurs is executed, operation may differ
depending on whether the GOTO statement using stored sequence numbers is
used.
IF[<conditional expression>]GOTOn
If the specified <conditional expression> is satisfied (true), a branch to sequence number n occurs. If the
specified condition is not satisfied, the next block is executed.
If the value of variable #1 is greater than 10, a branch to sequence number N2 occurs.
If the condition is IF [#1 GT 10] GOTO 2 ;
not satisfied
Processing If the condition is satisfied
- 265 -
17.CUSTOM MACRO PROGRAMMING B-64554EN/01
IF[<conditional expression>]THEN
If the specified <conditional expression> is satisfied (true), a macro statement specified after THEN is
executed.
Only a single macro statement is executed.
If the values of #1 and #2 are the same and those of #3 and #4 are also the same, 0 is assigned to #5.
IF[[#1 EQ #2] AND [#3 EQ #4]] THEN#5=0 ;
If the values of #1 and #2 are the same or those of #3 and #4 are the same, 0 is assigned to #5.
IF[[#1 EQ #2] OR [#3 EQ #4]] THEN#5=0 ;
Explanation
- <Conditional expression>
<Conditional expressions> are divided into <simple conditional expressions> and <complex conditional
expressions>. In a <simple conditional expression>, a relational operator described in Fig. 17.6.3 (a) is
specified between two variables or between a variable and constant to be compared. An <expression> can
be used instead of a variable. With a <complex conditional expression>, an AND (logical AND), OR
(logical OR), or XOR (exclusive OR) operation is performed for the results (true or false) of multiple
<simple conditional expressions>.
- Relational operators
Relational operators each consist of two letters and are used to compare two values to determine whether
they are equal or one value is smaller or greater than the other value. Note that the equal sign (=) and
inequality sign (>, <) cannot be used as a relational operator.
Sample program
The sample program below finds the total of numbers 1 to 10.
O9500;
#1=0;................................ Initial value of the variable to hold the sum
#2=1;................................ Initial value of the variable as an addend
N1 IF[#2 GT 10] GOTO 2; ... Branch to N2 when the addend is greater than 10
#1=#1+#2;........................ Calculation to find the sum
#2=#2+1;.......................... Next addend
GOTO 1; .......................... Branch to N1
N2 M30;............................... End of program
Explanation
While the specified condition is satisfied, the program from DO to END after WHILE is executed. If the
specified condition is not satisfied, program execution proceeds to the block after END. The same format
as for the IF statement applies. A number after DO and a number after END are identification numbers
for specifying the range of execution. The numbers 1, 2, and 3 can be used. When a number other than 1,
2, and 3 is used, an alarm PS0126, “ILLEGAL LOOP NUMBER” occurs.
- Nesting
The identification numbers (1 to 3) in a DO-END loop can be used as many times as desired. Note,
however, when a program includes crossing repetition loops (overlapped DO ranges), an alarm PS0124,
“MISSING END STATEMENT” occurs.
1. The identification numbers (1 3. DO loops can be nested to a
to 3) can be used as many maximum depth of three levels.
times as required.
WHILE [ … ] DO 1 ; WHILE [ … ] DO 1 ;
:
Processing WHILE [ … ] DO 2 ;
:
END 1 ;
WHILE [ … ] DO 3 ;
:
WHILE [ … ] DO 1 ; Processing
Processing END 3 ;
:
END 1 ;
END 2 ;
:
:
2. DO ranges cannot END 1 ;
overlap.
4. Control can be transferred
to the outside of a loop.
WHILE [ … ] DO 1 ;
Processing WHILE [ … ] DO 1 ;
WHILE [ … ] DO 2 ; IF [ … ] GOTO n ;
:
END 1 ;
END 1 ;
Nn
Processing
5. Branches cannot be made to a
location within a loop.
END 2 ;
IF [ … ] GOTO n ;
:
WHILE [ … ] DO 1 ;
:
Nn … ;
END 1 ;
Limitation
- Infinite loops
When DO m is specified without specifying the WHILE statement, an infinite loop ranging from DO to
END is produced.
- 267 -
17.CUSTOM MACRO PROGRAMMING B-64554EN/01
- Processing time
When a branch to the sequence number specified in a GOTO statement occurs, the sequence number is
searched for. For this reason, processing in the reverse direction takes a longer time than processing in the
forward direction. Therefore, in the case of processing in the reverse direction, use the WHILE statement
for repetition to reduce processing time.
- Undefined variable
In a conditional expression that uses EQ or NE, a <null> and zero have different effects. In other types of
conditional expressions, a <null> is regarded as zero.
Sample program
The sample program below finds the total of numbers 1 to 10.
O0001;
#1=0;
#2=1;
WHILE[#2 LE 10]DO 1;
#1=#1+#2;
#2=#2+1;
END 1;
M30;
Limitation
- Call nesting
Macro calls can be nested to a depth of up to five levels and subprogram calls can be nested to a depth of
up to ten levels; calls can be nested to a depth of up to 15 levels in total.
- 268 -
B-64554EN/01 PROGRAMMING 17.CUSTOM MACRO
If a subprogram call block contains another NC command (such as G01 X100.0 M98 Pp), the
machine stops in the single block mode.
• With a macro call, the level of local variables changes. With a subprogram call, the level of local
variables does not change. (See "Local variable levels" in Limitation of Subsection, “Simple Call
(G65)”.)
O0001 ; O9010 ;
: #3=#1+#2 ;
G65 P9010 L2 A1.0 B2.0 ; IF [#3 GT 360] GOTO 9 ;
: G00 G91 X#3 ;
M30 ; N9 M99 ;
Explanation
- Call
• After G65, specify at address P the program number of the custom macro to call.
• When a number of repetitions is required, specify a number from 1 to 999999999 after address L.
When L is omitted, 1 is assumed.
• By using argument specification, values are assigned to corresponding local variables.
- Argument specification
Two types of argument specification are available. Argument specification I uses letters other than G, L,
O, N, and P once each. Argument specification II uses A, B, and C once each and also uses I, J, and K up
to ten times. The type of argument specification is determined automatically according to the letters used.
• Argument specification I
Address Variable Address Variable Address Variable
number number number
A #1 I #4 T #20
B #2 J #5 U #21
C #3 K #6 V #22
D #7 M #13 W #23
E #8 Q #17 X #24
F #9 R #18 Y #25
H #11 S #19 Z #26
- 269 -
17.CUSTOM MACRO PROGRAMMING B-64554EN/01
Example
- When bit 7 (IJK) of parameter No. 6008 is 0, I_J_K_ means that I = #4, J = #5,
and K = #6 while K_J_I_ means K = #6, J = #8, and I= #10 because argument
specification II is used.
- When bit 7 (IJK) of parameter No. 6008 is 1, K_J_I_ means that I = #4, J = #5,
and K = #6, which is the same as with I_J_K_, because argument specification I
is used.
• Argument specification II
Argument specification II uses A, B, and C once each and uses I, J, and K up to ten times. Argument
specification II is used to pass values such as 3-dimensional coordinates as arguments.
Address Variable Address Variable Address Variable
number number number
A #1 IK3 #12 J7 #23
B #2 I4 #13 K7 #24
C #3 J4 #14 I8 #25
I1 #4 K4 #15 J8 #26
J1 #5 I5 #16 K8 #27
K1 #6 J5 #17 I9 #28
I2 #7 K5 #18 J9 #29
J2 #8 I6 #19 K9 #30
K2 #9 J6 #20 I10 #31
I3 #10 K6 #21 J10 #32
J3 #11 I7 #22 K10 #33
• Subscripts of I, J, and K for indicating the order of argument specification are not written in the
actual program.
NOTE
When bit 7 (IJK) of parameter No. 6008 is 1, argument II cannot be used.
Limitation
- Format
G65 must be specified before any argument.
(Variables)
#1:1.0
#2:2.0
#3:
#4:-3.0
#5:
#6:
#7:4.0 5.0
When both the I4.0 and D5.0 arguments are commanded for variable #7 in this example, the latter, D5.0,
is valid.
- 270 -
B-64554EN/01 PROGRAMMING 17.CUSTOM MACRO
CAUTION
The value of an argument passed without a decimal point may vary according to
the system configuration of the machine. It is good practice to use decimal points
in macro call arguments to maintain program compatibility.
When a value is specified with no decimal point, the number of decimal places is determined as follows.
Address For a non-axis address For an axis address
D, E, H, M, S, or T 0
Q or R α (NOTE 2)
A, C, I, J, K, X, Y, or Z α (NOTE 2) β (NOTE 3)
B, U, V(NOTE 1), or W 0 β (NOTE 3)
Second auxiliary function γ (NOTE 4)
NOTE
1 When V is used in a call using a specific code, the number of decimal places is
determined according to the setting for the reference axis.
2 α is determined according to the increment system for the reference axis (axis
specified with parameter No. 1031) as listed in the table in NOTE 3.
3 β is determined according to the increment system for the corresponding axis
address as listed in the following table.
Increment
Linear axis (metric input) Linear axis (inch input) Rotation axis
system
IS-A 2 3 2
IS-B 3 4 3
When bit 7 (IPR) of parameter No. 1004 is set to 1, the above values from which
1 is subtracted are used. When the increment system for an axis is IS-A,
however, the setting of bit 7 (IPR) of parameter No. 1004 is not effective.
When calculator-type decimal notation for each axis is used (bit 0 (ADX) of
parameter No. 3455 is set to 1), the number of decimal places is 0. When bit 7
(EAP) of parameter No. 3452 is set to 1, however, calculator-type decimal
notation is not effective and the number of decimal places is determined as listed
in the above table.
4 γ is determined according to the increment system for the reference axis (axis
specified with parameter No. 1031) as listed in the following table. (When bit 7
(BDX) of parameter No. 3450 is set to 1, γ is also determined in the same way.)
AUP(3450#0) = 1
Increment system for AUP (No.3450#0)
AUX (No.3405#0) = 0 AUX (No.3405#0) = 1
the reference axis =0
Metric Inch Metric Inch
IS-A 2 2 3
0
IS-B 3 3 4
5 When calculator-type decimal notation is used (bit 0 (DPI) of parameter No. 3401
is set to 1), the number of decimal places is 0.
- 271 -
17.CUSTOM MACRO PROGRAMMING B-64554EN/01
- Call nesting
Macro calls can be nested to a depth of up to five levels including simple calls (G65) and modal calls
(G66). Subprogram calls can be nested to a depth of up to 15 levels including macro calls.
A macro program can also be called during MDI operation in the same way.
Local variables
(Level 1) (Level 2) (Level 3) (Level 4) (Level 5)
(level 0)
1 2 3 4 #1 5 #1 6
#1 #1 #1 #1
: : : : : : : : : : : :
: : : : : :
#33 #33 #33 #33 #33 #33
Common variables
#100-, #500- Variables that can be read from and written to by macros at different levels
O0001 ; O9100 ;
: :
G66 P9100 L2 A1.0 B2.0 ; G00 Z-#1 ;
G00 G90 X100.0 ; G01 Z-#2 F300 ;
Y200.0 ; :
X150.0 Y300.0 ; :
G67 ; :
: :
M30 ; M99 ;
Explanation
- Call
• After G66, specify at address P a program number subject to a modal call.
• When a number of repetitions is required, a number from 1 to 999999999 can be specified at address
L.
- 272 -
B-64554EN/01 PROGRAMMING 17.CUSTOM MACRO
• As with a simple call (G65), data passed to a macro program is specified in arguments.
• In the G66 mode, a macro or subprogram can be called.
- Cancellation
When a G67 code is specified, modal macro calls are no longer performed in subsequent blocks.
- Call nesting
Macro calls can be nested to a depth of up to five levels including simple calls (G65) and modal calls
(G66). Subprogram calls can be nested to a depth of up to 15 levels including macro calls.
Execution order of the above program (blocks not containing the move command omitted)
Limitation
• G66 and G67 blocks are specified in pairs in the same program. If a G67 code is specified not in the
G66 mode, an alarm PS1100, “CANCEL WITHOUT MODAL CALL” occurs. Bit 0 (G67) of
parameter No. 6000 can be set to 1 to specify that the alarm does not occur in this case.
• In a G66 block, no macros can be called. Local variables (arguments) are set, however.
• G66 needs to be specified before any arguments.
• No macros can be called in a block which contains a code such as a auxiliary function that does not
involve movement along an axis.
• Local variables (arguments) can only be set in G66 blocks. Note that local variables are not set each
time a modal call is performed.
NOTE
If M99 is specified in a block in which a call is performed, it is executed after the
call is performed.
- 273 -
17.CUSTOM MACRO PROGRAMMING B-64554EN/01
O0001 ; O9010 ;
: :
G81 X10.0 Y20.0 Z-10.0 ; :
: :
M30 ; N9 M99 ;
Parameter No.6050=81
Explanation
By setting a G code number from -9999 to 9999 used to call a custom macro program (O9010 to O9019)
in the corresponding parameters Nos.6050 to 6059, the macro program can be called in the same way as
with G65.
- Repetition
As with a simple call, a number of repetitions from 1 to 999999999 can be specified at address L.
- Argument specification
As with a simple call, two types of argument specification are available: Argument specification I and
argument specification II. The type of argument specification is determined automatically according to
the addresses used.
Limitation
- Nesting of calls using G codes
• To call another program in a program called using a G code, only G65, M98, G66, or G66.1 can be
used normally.
• When bit 6 (GMP) of parameter No. 6008 is set to 1, a call using an M code, T code, or specific
code can be performed in a program called using a G code.
- 274 -
B-64554EN/01 PROGRAMMING 17.CUSTOM MACRO
Explanation
As many custom macros as the number specified in parameter No. 6040 can be called using as many G
codes as the number specified in parameter No. 6040. The numeric value set in parameter No. 6038
indicates the starting G code number and the program number set in parameter No. 6039 indicates the
starting program number. To disable this type of call, set 0 in parameter No. 6040.
When a negative G code is set in parameter No. 6038, modal calls are performed.
The number of repetitions and argument specification are set in the same way as with a macro call using a
G code.
[Example]
Set parameter No. 6038 to 900, parameter No. 6039 to 1000, and parameter No. 6040 to
100.
G900 → O1000
G901 → O1001
G902 → O1002
:
G999 → O1099
Custom macro calls (simple calls) for 100 combinations are defined as shown above. When parameter No.
6038 is changed to -900, custom macro calls (modal calls) for the same combinations are defined.
NOTE
1 The calls defined by this setting become all invalid in the following cases:
<1> A value outside the valid data range is set in one of the above parameters.
<2> (No. 6039 + No. 6040 - 1) > 9999
2 Simple and modal calls cannot be mixed in the specification.
3 If the G code set in parameters Nos. 6050 to 6059 to call the corresponding
macro program is within the G code range for calling programs using multiple G
codes, the macro program corresponding to the G code set in parameters Nos.
6050 to 6059 is called.
Explanation
By setting an M code number from 3 to 99999999 used to call custom macro program O9020 to O9029 in
the corresponding parameters Nos. 6080 to 6089, the macro program can be called in the same way as
with G65.
- 275 -
17.CUSTOM MACRO PROGRAMMING B-64554EN/01
Example) When parameter No. 6080 is set to 990, O9020 is called using M990.
- Repetition
As with a simple call, a number of repetitions from 1 to 99999999 can be specified at address L.
- Argument specification
As with a simple call, two types of argument specification are available: Argument specification I and
argument specification II. The type of argument specification is determined automatically according to
the addresses used.
Limitation
• An M code used to call a macro program must be specified at the start of a block.
• To call another program in a program called using an M code, only G65, G66, and M98 can be used
normally.
• When bit 6 (GMP) of parameter No. 6008 is set to 1, a call using a G code can be performed in a
program called using an M code.
Explanation
As many custom macros as the number specified in parameter No. 6049 can be called using as many M
codes as the number specified in parameter No. 6049. The numeric value set in parameter No. 6047
indicates the starting M code number and the program number set in parameter No. 6048 indicates the
starting program number. To disable this type of call, set 0 in parameter No. 6049.
The number of repetitions and argument specification are set in the same way as with a macro call using a
M code.
[Example]
Set parameter No. 6047 to 9000, parameter No. 6048 to 4000, and parameter No. 6049 to
100.
M90000000 → O4000
M90000001 → O4001
M90000002 → O4002
:
M90000099 → O4099
Custom macro calls (simple calls) for 100 combinations are defined as shown above.
- 276 -
B-64554EN/01 PROGRAMMING 17.CUSTOM MACRO
NOTE
1 The calls defined by this setting become all invalid in the following cases:
<1> A value outside the valid data range is set in one of the above parameters.
<2> (No. 6048 + No. 6049 - 1) > 9999
2 If the M code set in parameters Nos. 6080 to 6089 to call the corresponding
macro program is within the M code range for calling programs using multiple M
codes, the macro program corresponding to the M code set in parameters Nos.
6080 to 6089 is called.
O0001 O9001
; ;
: :
M03 ; :
: :
Parameter No.6071=03
Explanation
By setting an M code number from 3 to 99999999 used to call subprogram O9001 to O9009 in the
corresponding parameters Nos. 6071 to 6079, the subprogram can be called in the same way as with M98.
- Repetition
As with a simple call, a number of repetitions from 1 to 99999999 can be specified at address L.
- Argument specification
Argument specification is not allowed.
- M code
An M code in a macro program that has been called is treated as an ordinary M code.
Limitation
• To call another program in a program called using an M code, only G65, G66, and M98 can be used
normally.
• When bit 6 (GMP) of parameter No. 6008 is set to 1, a call using a G code can be performed in a
program called using an M code.
- 277 -
17.CUSTOM MACRO PROGRAMMING B-64554EN/01
Explanation
As many subprograms as the number specified in parameter No. 6046 can be called using as many M
codes as the number specified in parameter No. 6046. The numeric value set in parameter No. 6044
indicates the starting M code number and the numeric value set in parameter No. 6045 indicates the
starting subprogram number. To disable this type of call, set 0 in parameter No. 6046.
[Example]
Set parameter No. 6044 to 80000000, parameter No. 6045 to 30000000, and parameter
No. 6046 to 100.
M80000000 → O3000
M80000001 → O3001
M80000002 → O3002
:
M80000099 → O3099
Subprogram calls for 100 combinations are defined as shown above.
NOTE
1 The calls defined by this setting become all invalid in the following cases:
<1> A value outside the valid data range is set in one of the above parameters.
<2> (No. 6045 + No. 6046 - 1) > 9999
2 If the M code, set in parameters Nos. 6071 to 6079, to call the corresponding
subprogram is within the range for M code multiple definitions of calling
subprograms, the subprogram corresponding to the M code set in parameters
Nos. 6071 to 6079 is called.
O0001 ; O9000 ;
: :
T23 ; :
: :
M30 ; M99 ;
Explanation
- Call
By setting bit 5 (TCS) of parameter No. 6001 to 1, subprogram O9000 can be called each time a T code is
specified in a machining program. A T code specified in a machining program is assigned to common
variable #149.
- Repetition
As with a simple call, a number of repetitions from 1 to 99999999 can be specified at address L.
- 278 -
B-64554EN/01 PROGRAMMING 17.CUSTOM MACRO
- Argument specification
Argument specification is not allowed.
Limitation
• To call another program in a program called using a T code, only G65, G66, and M98 can be used
normally.
• When bit 6 (GMP) of parameter No. 6008 is set to 1, a call using a G code can be performed in a
program called using a T code.
Parameter No.6090=66(B)
Explanation
- Call
By setting the code (ASCII code converted to decimal) corresponding to a specific address in parameter
No. 6090 or No. 6091, the custom macro program, O9004 or O9005, corresponding to each parameter can
be called when the specific address is specified in a machining program. The code value corresponding to
a specific address specified in a machining program is assigned to the common variables (#146, #147).
The table below indicates the addresses that can be set.
NOTE
When address L is set, the number of repetitions cannot be set.
- Repetition
As with a simple call, a number of repetitions from 1 to 99999999 can be specified at address L.
- 279 -
17.CUSTOM MACRO PROGRAMMING B-64554EN/01
- Argument specification
Argument specification is not allowed.
Limitation
• To call another program in a program called using a specific code, only G65, G66, and M98 can be
used normally.
• When bit 6 (GMP) of parameter No. 6008 is set to 1, a call using a G code can be performed in a
program called using a specific code.
Sample program
By using the subprogram call function that uses M codes, the cumulative usage time of each tool is
measured.
Conditions
• The cumulative usage time of each of tools T01 to T05 is measured.
No measurement is made for tools with numbers greater than T05.
• The following variables are used to store the tool numbers and measured times:
• Usage time starts being counted when the M03 command is specified and stops when M05 is
specified. System variable #3002 is used to measure the time during which the cycle start lamp is on.
The time during which the machine is stopped by feed hold and single block stop operation is not
counted, but the time used to change tools and pallets is included.
Operation check
- Parameter setting
Set 3 in parameter No.6071, and set 5 in parameter No.6072.
- 280 -
B-64554EN/01 PROGRAMMING 17.CUSTOM MACRO
stop of the macro statement execution is guaranteed until such M codes or G codes complete its
execution.
Explanation
- When the next block is not buffered (M codes that are not buffered, G33, etc.)
> N1 G31 X100.0 ; N1
N2 #100=1 NC statement
: execution
N2
Macro statement execution
> :Block being executed
Buffer
CAUTION
In case that you need to execute the macro statement after completing the block
just before the macro statement, specify M code or G code that is not buffered
just before the macro statement. Specially, in case of reading/writing the system
variables to control signals, coordinates, offset value, etc., it may different system
variable data by the timing of the NC statement execution. To avoid this
phenomenon, specify such M codes or G codes before the macro statement, if
necessary.
- Buffering the next block in other than cutter compensation mode (G41, G42)
> N1 X100.0 ; N1 N4
NC statement
execution
N2 #1=100 ;
N3 #2=200 ; N2 N3
N4 Y200.0 ; Macro statement
execution
Buffer N4
When N1 is being executed, the next NC statement (N4) is read into the buffer. The macro statements
(N2, N3) between N1 and N4 are processed during execution of N1.
- 282 -
B-64554EN/01 PROGRAMMING 17.CUSTOM MACRO
N2 #1=100 ;
> : Block being executed
N3 Y100.0 ;
: Blocks read into the buffer
N4 #2=200 ;
N5 Y150.0 ;
N6 #3=300 ;
N7 X200.0 ;
N1 N3
NC statement
execution
N2 N4 N6
Macro statement
execution
N3 N5 N7
Buffer
When N1 is being executed, the NC statements in the next three blocks (up to N7) are read into the buffer.
The macro statements (N1, N4, N6) between N1 and N7 are processed during execution of N1.
Diagnosis data
Diagnosis 1493 Number of macro statement blocks executed by custom and execution macros
[Data type] 2-word
[Unit of data] Block
The number of macro statement blocks executed by custom and execution macros per
1024 ms is displayed.
This data provides an indication of the actual macro statement processing speed.
Explanation
- Codes
(1) When the ISO code is used or when bit 4 (ISO) of parameter No. 6008 is set to 0
(The codes are represented in hexadecimal.)
Meaning Code Meaning Code
* 0AAh ? 03Fh
= 0BDh @ 0C0h
# 0A3h & 0A6h
[ 0DBh _ 05Fh
] 0DDh O 0CFh
- 283 -
17.CUSTOM MACRO PROGRAMMING B-64554EN/01
(2) When the EIA code is used or when the ISO code is used with bit 4 (ISO) of parameter No. 6008 set
to 1
Meaning Code Meaning Code
* Code set in parameter No. 6010 ? Code set in parameter No. 6015
= Code set in parameter No. 6011 @ Code set in parameter No. 6016
# Code set in parameter No. 6012 & Code set in parameter No. 6017
[ Code set in parameter No. 6013 _ Code set in parameter No. 6018
] Code set in parameter No. 6014
For O, the same code as for O indicating a program number is used. Set a hole pattern for each of *, =, #,
[, ], ?, @, &, and _ in the ISO or EIA code in the corresponding parameters Nos. 6010 to 6018.
The code 00h cannot be used. The code indicating an alphabetic character can be used for the code
indicating a character listed above, but the code can be no longer used to indicate the original character.
- Reserved words
The following reserved words are used in custom macros:
AND, OR, XOR, MOD, EQ, NE, GT, LT, GE, LE,
SIN, COS, TAN, ASIN, ACOS, ATAN, ATN, SQRT, SQR, ABS, BIN, BCD, ROUND, RND, FIX,
FUP, LN, EXP, POW, ADP, IF, GOTO, WHILE, DO, END, BPRNT, DPRNT, POPEN, PCLOS,
SETVN, PRM
System variable (constant) names and registered common variable names are also used as reserved words.
Explanation
Specify these commands in the following order:
- 284 -
B-64554EN/01 PROGRAMMING 17.CUSTOM MACRO
BPRNT [ a #b [c] … ]
NOTE
1 An asterisk (*) is output by a space code.
2 When using ?, @, &, and/or _, use the ISO code as the output code (setting data
(ISO) = 1).
(ii) All variables are stored with a decimal point. Specify a variable followed by the number of
significant decimal places enclosed in brackets. A variable value is treated as 2-word (32-bit) data,
including the decimal digits. It is output as binary data starting from the highest byte.
(iii) When specified data has been output, an EOB code is output according to the setting code (ISO).
(iv) <Null> variables are regarded as 0.
Example
BPRNT [ C** X#100 [3] Y#101 [3] M#10 [0] ]
Variable value
#100=0.40956
#101=-1638.4
#10=12.34
are output as follows:
C3 A0 A0 D8 00 00 01 9A 59 FF E7 00 00 4D 00 00 00 0C 0A
↓ ↓
C sp sp X0000019A YFFE70000 M0000000C LF
(**) (410) (-1638400) (12) (;)
Variable
Character
The DPRNT command outputs characters and each digit in the value of a variable according to the code
set in the settings (ISO).
(i) For an explanation of the DPRNT command, see Items (i), (iii), and (iv) for the BPRNT command.
(ii) When outputting a variable, specify # followed by the variable number, then specify the number of
digits in the integer part and the number of decimal places enclosed in brackets.
For the value of a variable, as many codes as the specified number of digits are output according to
the settings one by one, starting with the highest digit. The decimal point is also output using the set
code.
- 285 -
17.CUSTOM MACRO PROGRAMMING B-64554EN/01
Each variable must be a numeric value consisting of up to nine digits. When high-order digits are
zeros, these zeros are not output if bit 1 (PRT) of parameter No. 6001 is 1. If parameter PRT is 0, a
space code is output each time a zero is encountered.
When the number of decimal places is not zero, digits in the decimal part are always output. If the
number of decimal places is zero, no decimal point is output.
When bit 1 (PRT) of parameter No. 6001 is 0, a space code is output to indicate a positive number
instead of +; if parameter PRT is 1, no code is output.
Example
DPRNT [ X#2 [53] Y#5 [53] T#30 [20] ]
Variable value
#2=128.47398
#5=-91.2
#30=123.456
are output as follows:
- Required setting
Specify the specification number of an input/output device to be used for the I/O device specification
number.
According to the above settings, set data items (such as the baud rate) for the Reader/Puncher interface.
Never specify the output device FANUC Cassette or Floppy for output.
When specifying a DPRNT command to output data, specify whether leading zeros are output as spaces
(by setting bit 1 (PRT) of parameter No. 6001 to 1 or 0).
To indicate the end of a line of data in ISO code, specify whether to use only an LF (bit 4 (CRO) of
parameter 6001 is 0) or an LF and CR bit 4 (CRO) of parameter 6001 is 1).
NOTE
1 It is not necessary to always specify the open command (POPEN), data output
command (BPRNT, DPRNT), and close command (PCLOS) together. Once an
open command is specified at the beginning of a program, it does not need to be
specified again except after a close command was specified.
2 Be sure to specify open commands and close commands in pairs. Specify the
close command at the end of the program. However, do not specify a close
command if no open command has been specified.
- 286 -
B-64554EN/01 PROGRAMMING 17.CUSTOM MACRO
NOTE
3 When a reset operation is performed while commands are being output by a
data output command, output is stopped and subsequent data is erased.
Therefore, when a reset operation is performed by a code such as M30 at the
end of a program that performs data output, specify a close command at the end
of the program so that processing such as M30 is not performed until all data is
output.
17.12 RESTRICTIONS
- Sequence number search
A custom macro program cannot be searched for a sequence number.
- Single block
Even while a macro program is being executed, blocks can be stopped in the single block mode.
A block containing a macro call command (G66, Ggg, Mmm, or G67) does not stop even when the single
block mode is on.
Whether blocks containing arithmetic and logic operation commands and control commands are stopped
depends on the settings of bits 5 (SBM) and 7 (SBV) of parameter No. 6000 as shown in the following
table.
Note that when a single block stop occurs at a macro statement in cutter compensation mode, the
statement is assumed to be a block that does not involve movement, and proper compensation cannot be
performed in some cases. (Strictly speaking, the block is regarded as specifying a movement with a travel
distance 0.)
- Reset
With a reset operation, local variables and common variables #100 to #199 are cleared to null values.
They can be prevented from clearing by setting bit 6 (CCV) of parameter No.6001 to 1. System variables
#100 to #199 are not cleared.
A reset operation clears any called states of custom macro programs and subprograms, and any DO states,
and returns control to the main program.
- 287 -
17.CUSTOM MACRO PROGRAMMING B-64554EN/01
- Feed hold
When a feed hold is enabled during execution of a macro statement, the machine stops after execution of
the macro statement. The machine also stops when a reset or alarm occurs.
- DNC operation
The control commands (such as GOTO and WHILE-DO) cannot be executed during DNC operation.
However, this restriction is removed when a program registered in program memory is called during DNC
operation.
Format
M96Pxxxx ; 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.
- 288 -
B-64554EN/01 PROGRAMMING 17.CUSTOM MACRO
M96 Pxxxx ;
Interrupt signal
(UINT) O xxxx ;
Interrupt signal
(UINT) **
M99 (Pxxxxx) ;
Nxxxxx ;
- Specification
Generally, the custom macro interrupt function is used by specifying M96 to enable the interrupt signal
(UINT) and M97 to disable the signal.
Once M96 is specified, a custom macro interrupt can be initiated by the input of the interrupt signal
(UINT) until M97 is specified or the CNC is reset. After M97 is specified or the CNC is reset, no custom
macro interrupts are initiated even when the interrupt signal (UINT) is input. The interrupt signal (UINT)
is ignored until another M96 command is specified.
- 289 -
17.CUSTOM MACRO PROGRAMMING B-64554EN/01
1
0
Interrupt signal
(UINT)
Effective interrupt
input signal
When UINT is kept on
The interrupt signal (UINT) becomes valid after M96 is specified. Even when the signal is input in M97
mode, it is ignored. When the signal input in M97 mode is kept on until M96 is specified, a custom macro
interrupt is initiated as soon as M96 is specified (only when the status-triggered scheme is employed);
when the edge-triggered scheme is employed, the custom macro interrupt is not initiated even when M96
is specified.
NOTE
For the status-triggered and edge-triggered schemes, see the Subsection
II-17.13.2, “Details of Functions”.
- 290 -
B-64554EN/01 PROGRAMMING 17.CUSTOM MACRO
Set the M code to enable custom macro interrupts in parameters Nos.6033, and set the M code to disable
custom macro interrupts in parameter 6034.
When specifying that parameter-set M codes are not used, M96 and M97 are used as the custom macro
control M codes regardless of the settings of parameters Nos.6033 and 6034.
The M codes used for custom macro interrupt control are processed internally (they are not output to
external units). However, in terms of program compatibility, it is undesirable to use M codes other than
M96 and M97 to control custom macro interrupts.
CAUTION
For interrupt type I, operation after control is returned differs depending on
whether the interrupt program contains an NC statement.
When the program number block contains EOB (;), it is assumed to contain an
NC statement.
(Program containing an NC statement) (Program containing no NC statement)
O0013; O0013#101=#5041;
#101=#5041; #102=#5042;
#102=#5042; #103=#5043;
#103=#5043; M99;
M99;
Execution in progress
Normal program
CNC command restart;
Interrupt signal when there are no NC statements
(UINT) input in the interrupt program
Execution in progress
When an interrupt signal (UINT) is input, macro statements in the interrupt program are executed
immediately unless an NC statement is encountered in the interrupt program. NC statements are not
executed until the current block is completed.
(ii) If the block being executed consists of several cycle operations, an interrupt is performed as follows:
When the last movement in the cycle operations is started, macro statements in the interrupt program
are executed unless an NC statement is encountered. NC statements are executed after all cycle
operations are completed.
Execution in progress
Normal program
Execution in progress
Fig. 17.13 (c) Custom macro interrupt and NC command (type II)
NOTE
During execution of a program for cycle operations, interrupt type II is performed
regardless of whether bit 2 (MIN) of parameter No. 6003 is set to 0 or 1. Cycle
operations are available for the following functions:
<1> Automatic reference position return
<2> Tool radius ⋅ tool nose radius compensation (generating multiple blocks
using the specified block such as when the tool moves around the outside of
an acute angle)
<3> Canned cycle
<4> Automatic tool length measurement
<5> Optional chamfering/corner R
<6> Exponential interpolation
<7> Normal direction control
<8> Cutting point interpolation for cylindrical interpolation
- Conditions for enabling and disabling the custom macro interrupt signal
The interrupt signal becomes valid after execution starts of a block that contains M96 for enabling custom
macro interrupts. The signal becomes invalid when execution starts of a block that contains M97.
While an interrupt program is being executed, the interrupt signal becomes invalid. The signal become
valid when the execution of the block that immediately follows the interrupted block in the main program
is started after control returns from the interrupt program. In type I, if the interrupt program consists of
only macro statements, the interrupt signal becomes valid when execution of the interrupted block is
started after control returns from the interrupt program.
- 292 -
B-64554EN/01 PROGRAMMING 17.CUSTOM MACRO
When the status-triggered scheme is selected by this parameter, a custom macro interrupt is generated if
the interrupt signal (UINT) is on at the time the signal becomes valid. By keeping the interrupt signal
(UINT) on, the interrupt program can be executed repeatedly.
When the edge-triggered scheme is selected, the interrupt signal (UINT) becomes valid only on its rising
edge. Therefore, the interrupt program is executed only momentarily (in cases when the program consists
of only macro statements). When the status-triggered scheme is inappropriate, or when a custom macro
interrupt is to be performed just once for the entire program (in this case, the interrupt signal may be kept
on), the edge-triggered scheme is useful.
Except for the specific applications mentioned above, use of either scheme results in the same effects. The
time from signal input until a custom macro interrupt is executed does not vary between the two schemes.
In the example shown in Fig. 17.13 (d), an interrupt is executed four times when the status-triggered
scheme is used; when the edge-triggered scheme is used, the interrupt is executed just once.
1
Status-triggered scheme
Interrupt execution
Edge-triggered scheme
NOTE
When an M99 block consists only of address O, N, P, L, or M, this block is
regarded as belonging to the previous block in the program. Therefore, a
single-block stop does not occur for this block. In terms of programming, the
following <1> and <2> are basically the same. (The difference is whether Gxx is
executed before M99 is recognized.)
<1> Gxx Xxxx ;
M99 ;
<2> Gxx Xxxx M99 ;
- 293 -
17.CUSTOM MACRO PROGRAMMING B-64554EN/01
For this reason, even when modal information is modified by the interrupt program, the modal
information before the interrupt is restored when control is returned to the interrupted program by M99.
When control is returned from the interrupt program to the interrupted program by M99 Pxxxxx, however,
modal information can again be controlled by the program. In this case, the new continuous information
modified by the interrupt program is passed to the interrupted program.
{ΔΔΔΔ
(Without P specification)
Modal information remains
unchanged before and after M99 (Pxxxxx) ;
the interrupt.
(With P specification)
Nxxxxx ;
- 294 -
B-64554EN/01 PROGRAMMING 17.CUSTOM MACRO
System variable Modal information which was valid when a custom macro interrupt was generated
#4401 G code (group 01)
: :
#4418 G code (group 18)
#4502 B code
#4507 D code
#4508 E code
#4509 F code
#4511 H code
#4513 M code
#4514 Sequence number
#4515 Program number
#4519 S code
#4520 T code
A’
Offset vector
NOTE
Alarm PS1101, “ILLEGAL CNC STATEMENT IRT.” occurs in the following
cases:
<1> An interrupt is generated in the coordinate system rotation (G84) mode and
another G84 is specified in the interrupt program.
<2> An interrupt is generated in the scaling (G51) mode and another G51 is
specified in the interrupt program.
- 295 -
18. PROGRAMMABLE
PARAMETER INPUT (G10) PROGRAMMING B-64554EN/01
Format
- Parameter entry mode
G10L52 ; Parameter entry mode setting
N_(Q_)R_ ; For parameters other than the axis type
N_P_(Q_)R_ ; For axis type parameters
:
:
G11 ; Parameter entry mode cancel
N_ : Parameter number
R_ : Parameter setting value (Leading zeros can be omitted.)
(Q_) : Bit number 0 to 7 (to be set when a bit type parameter is input)
(Enabled when bit 4 (G1B) of parameter No.3454 = 1.)
P_ : Axis number 1 to maximum controlled axis number (to be specified when an axis
type parameter is specified)
NOTE
G10L52 cannot be used to enter pitch error compensation data.
NOTE
G10L50 cannot be used to enter parameter.
- 296 -
18.PROGRAMMABLE
B-64554EN/01 PROGRAMMING PARAMETER INPUT (G10)
Explanation
- Setting value (R_)
Do not use a decimal point in the setting (R_) of a parameter or pitch error compensation data. To change
a bit type parameter if bit 4 (G1B) of parameter No. 3454 is 1, specify 0 or 1. If a value other than 0 and 1
is specified, alarm PS1144, "G10 FORMAT ERROR", is issued.
As the value of R, a custom macro variable can be used.
When a parameter of real type is used, set an integer value in (R_) according to the increment system of
the parameter.
WARNING
Do not fail to perform reference position return manually after changing the pitch
error compensation data or backlash compensation data. Without this, the
machine position can deviate from the correct position.
CAUTION
Compatibility with the Series 0i-PC:
This model has parameters that are not compatible with the Series 0i-PC. So,
before using this function, make a check according to the Parameter Manual
(B64310EN, B-64560EN) of this model.
NOTE
Other NC statements cannot be specified while in parameter input mode.
Example
1. Set bit 2 (SBP) of bit type parameter No. 3404 (when the bit 4 (G1B) of parameter No. 3454 is set to
0)
G10L52 ; Parameter entry mode
N3404 R 00000100 ; SBP setting
G11 ; Cancel parameter entry mode
2. Set bit 2 (SBP) of bit type parameter No. 3404 (when the bit 4 (G1B) of parameter No. 3454 is set to
1)
G10L52 ; Parameter entry mode
N3404 Q2 R 1 ; SBP setting
G11 ; Cancel parameter entry mode
3. Change the values for the Z-axis (3rd axis) and A-axis (4th axis) in axis type parameter No. 1322
(the coordinates of stored stroke limit 2 in the positive direction for each axis).
(When the increment systems for the 3rd and 4th axes are IS-B and millimeter machine,
respectively)
- 297 -
18. PROGRAMMABLE
PARAMETER INPUT (G10) PROGRAMMING B-64554EN/01
- 298 -
18.PROGRAMMABLE
B-64554EN/01 PROGRAMMING PARAMETER INPUT (G10)
Example
Change the value of tool number for the tool data No. 10.
- 299 -
19. HIGH-SPEED CUTTING
FUNCTIONS PROGRAMMING B-64554EN/01
On the Series 0i-PD, the AI advanced preview control can be used during laser mode only.
The following table shows the functions included in the AI advanced preview control function.
AI APC
Look-ahead block count 20
Look-ahead linear acceleration/deceleration before interpolation ○
Advanced feed forward ○
Acceleration setting for each axis ○
Speed control based on the feedrate difference on each axis ○
Speed control with acceleration in circular interpolation ○
Speed control with the acceleration on each axis ○
Format
・AI advanced preview control
G05.1 Q_ ;
Q1 : AI advanced preview control mode on
Q0 : AI advanced preview control mode off
NOTE
1 Always specify G05.1 in an independent block.
2 The AI advanced preview control mode is also cleared by the reset operation.
- Setting an acceleration
A permissible acceleration for the linear acceleration/deceleration of each axis is set in parameter No.
1660. In the constant acceleration/deceleration state (C), acceleration/deceleration is performed with the
maximum tangential acceleration not exceeding the permissible acceleration of each axis specified in
parameter No. 1660.
- 300 -
19.HIGH-SPEED CUTTING
B-64554EN/01 PROGRAMMING FUNCTIONS
Tangential feedrate
An optimum gradient is
automatically calculated from the
setting made in parameter No.
1660.
(Example)
X-axis permissible acceleration: 1000 mm/sec2
Y-axis permissible acceleration: 1200 mm/sec2
Program:
N1 G01 G91 X20. F6000 ; (Move on the X-axis.)
G04 X0.01 ;
N2 Y20. ; (Move on the Y-axis.)
G04 X0.01 ;
N3 X20. Y20. ; (Move in the XY direction (at 45 degrees).)
Since N3 performs interpolation for the X and Y axes in the 45-degree direction, the acceleration of the Y
axis is controlled according to the X axis to become 1000 mm/s2. Therefore, the combined acceleration
is 1414 mm/s2.
Tangent feedrate
- Acceleration
Acceleration is performed so that the feedrate programmed for a block is attained at the beginning of the
block. When look-ahead acceleration/deceleration before interpolation is valid for multiple blocks,
acceleration can be performed across more than one block.
- 301 -
19. HIGH-SPEED CUTTING
FUNCTIONS PROGRAMMING B-64554EN/01
Time
N1 N2 N3 N4 N5
- Deceleration
Deceleration starts in advance so that the feedrate programmed for a block is attained at the beginning of
the block.
When look-ahead acceleration/deceleration before interpolation is valid for multiple blocks, deceleration
can be performed across more than one block.
Feedrate Speed control by look-ahead
Deceleration acceleration/deceleration before
start point interpolation
Programmed speed
Deceleration
start point
Time
<1> Feedrate changes on each axis at a corner and the permissible feedrate change that has been set
- 302 -
19.HIGH-SPEED CUTTING
B-64554EN/01 PROGRAMMING FUNCTIONS
<2> Expected acceleration on each axis and the permissible acceleration that has been set
- 303 -
19. HIGH-SPEED CUTTING
FUNCTIONS PROGRAMMING B-64554EN/01
(Example)
Program
N1 G01 G91 X100. F5000
N2 Y100.
N2
Y
N1
Parameter No.1783
Time Time
When speed control based on the feedrate difference When speed control based on the feedrate difference is
is invalid valid
The method of deceleration based on the feedrate difference differs depending on the setting made for
parameter FNW (bit 6 of No. 19500).
If "0" is set, the largest feedrate that does not exceed the permissible feedrate difference set for parameter
No. 1783 is assumed to be the deceleration feedrate.
In this case, the deceleration feedrate differs if the travel direction differs, even if the shape is the same.
- 304 -
19.HIGH-SPEED CUTTING
B-64554EN/01 PROGRAMMING FUNCTIONS
(Example)
If parameter FNW (bit 6 of No. 19500) = 0 and the
permissible feedrate difference = 500 mm/min (on all axes)
In the left-side example in the figure above, the X axis is inverted at the corner from the position direction
to the negative direction, and deceleration is performed so that the feedrate difference becomes 500
mm/min. In other words, the feedrate is 250 mm/min both when the axis moves in the position direction
and when it moves in the negative direction. As a result, the tangent direction feedrate becomes 354
mm/min.
X-axis
feedrate
Y-axis
feedrate
250mm/min Time
If "1" is set, the feedrate is determined not only with the condition that
the permissible feedrate difference and permissible acceleration on each axis are not exceeded, but also
that the deceleration feedrate is constant regardless of the travel direction if the shape is the same.
If 1 is set for this parameter, the deceleration feedrate determined with the feedrate difference may be up
to 30% lower than that determined if 0 is set.
- 305 -
19. HIGH-SPEED CUTTING
FUNCTIONS PROGRAMMING B-64554EN/01
(Example)
If parameter FNW (bit 6 of No. 19500) = 1 and
permissible feedrate difference = 500 mm/min (on all axes)
Y
Δr : Error
0 X
1 2 v2 1
Δr = (T1 + T22 ) = (T12 + T22 ) ⋅ a ...................................................................................... (Equation 1)
2 r 2
In actual machining, the permissible error Δr is given as the machining accuracy. Therefore, the
permissible acceleration a (mm/sec2) is determined by equation 1.
When a specified feedrate causes the radial error from an arc having a programmed radius to exceed the
permissible error, speed control with acceleration in circular interpolation automatically clamps the
arc-cutting feedrate by using parameter settings.
Let the permissible acceleration calculated from the permissible acceleration set for each axis be A.
Then, maximum permissible feedrate v with programmed radius r is expressed as follows:
If a specified feedrate exceeds feedrate v obtained from equation 2, the feedrate is clamped at feedrate v
automatically.
The permissible acceleration is specified in parameter No. 1735. If there is a difference in permissible
acceleration between two axes for circular interpolation, the lower acceleration is regarded as the
permissible acceleration.
If the radius of an arc is small, too small value can be calculated as deceleration v. In such a case, the
lower feedrate limit can be set in parameter No. 1732 to prevent the feedrate from being decreased too
much.
- 306 -
19.HIGH-SPEED CUTTING
B-64554EN/01 PROGRAMMING FUNCTIONS
N8
N7 N9
N6
N5
Y
N1
X N4
N3
N2
X-axis
feedrate
Time Time
Y-axis
feedrate
Time Time
Tangent
feedrate
N1 N5 N9 N1 N5 N9
Time Time
When speed control with the acceleration is invalid When speed control with the acceleration is valid
The method of determining the feedrate with the acceleration differs depending on the setting of
parameter FNW (bit 6 of No. 19500).
If "0" is set, the highest feedrate that does not cause the permissible acceleration set for parameter No.
1737 to be exceeded is assumed to be the deceleration feedrate. In this case, the deceleration feedrate
differs depending on the travel direction even if the shape is the same, as shown in the figure below.
- 307 -
19. HIGH-SPEED CUTTING
FUNCTIONS PROGRAMMING B-64554EN/01
Tangent feedrate
F6000
The feedrate is
higher in these
directions.
Time
If "1" is set, the feedrate is determined with not only the condition that the permissible acceleration on
each axis is not exceeded but also the condition that the deceleration feedrate is constant regardless of the
travel direction if the shape is the same.
If 1 is set for this parameter, the deceleration feedrate determined with the feedrate difference or
acceleration may be up to 30% lower than that determined if 0 is set.
Tangent feedrate
F6000
The tangent
feedrate is
constant.
Time
NOTE
In circular interpolation, the tangent feedrate is constant regardless of the setting
of the parameter.
Limitations
- Conditions for temporarily canceling the AI advanced preview control mode
If any of the commands listed below is executed during AI advanced preview control mode, it is
temporarily canceled. Note that the AI advanced preview control mode resumes as soon as it becomes
available.
- 308 -
19.HIGH-SPEED CUTTING
B-64554EN/01 PROGRAMMING FUNCTIONS
NOTE
If the first three conditions (1) to (3) below are all met, the mode is not canceled
even when the rapid traverse command is specified. If all the conditions (1) to
(5) are met, the mode is not canceled even when the G28 or G53 command is
specified.
(1) Bit 1 (LRP) of parameter No. 1401 is set to 1. (Interpolation type positioning
is valid.)
(2) Parameter No. 1671 (maximum acceleration during rapid traverse) is set.
(3) Bit 5 (FRP) of parameter No. 19501 is set to 1 (acceleration/deceleration
before interpolation is valid for rapid traverse).
(4) Bit 4 (ZRL) of parameter No. 1015 is set to 1 (the G28 and G53 commands
are the interpolation type).
(5) Bit 1 (AMP) of parameter No. 11240 is set to 1 (acceleration/deceleration
before interpolation is valid for the G28 and G53 commands in the AI
advanced preview control mode).
- Parameter list
Positioning
Parameter Parameter No.
Positioning type (non-linear (0)/interpolation (1)) 1401#1 LRP
Acceleration/deceleration type (acceleration constant (0)/time constant (1)) 1603#4 PRT
Acceleration/deceleration type (after interpolation (0)/before interpolation (1)) 19501#5 FRP
Time constant of acceleration/deceleration after interpolation in rapid traverse 1620
Time constant of bell-shaped acceleration/deceleration after interpolation in
1621
rapid traverse
Maximum permissible acceleration of acceleration/deceleration after
1671
interpolation in rapid traverse
- 309 -
19. HIGH-SPEED CUTTING
FUNCTIONS PROGRAMMING B-64554EN/01
Others
Parameter Parameter No.
Maximum cutting feedrate during the mode of acceleration/deceleration before
1432
interpolation
Upper-limit feedrate for AI advanced preview control 8465
Upper-limit feedrate for AI advanced preview control (when only the rotation
8466
axis is specified)
- 310 -
B-64554EN/01 PROGRAMMING 20.AXIS CONTROL FUNCTIONS
An axis used as the reference for axis synchronous control is referred to as a master axis (M-axis), and an
axis along which a movement is made in synchronism with the master axis is referred to as a slave axis
(S-axis).
Z
A
(Slave axis)
X
(Master axis)
Fig. 20.1 (a) Example of machine with X and A being synchronous axes
The synchronous establishment function can be used for automatic compensation to eliminate a machine
coordinate error in cases such as emergency stop cancellation.
- 311 -
20.AXIS CONTROL FUNCTIONS PROGRAMMING B-64554EN/01
By setting the axis number of a master axis in the parameter No. 8311 of the slave axis, the axis
configuration for axis synchronous control is determined.
(Example)
Automatic operation when the master axis is the X-axis and the slave axis is the A-axis
In synchronous operation, movements are made along the X-axis and A-axis according to the
programmed command Xxxxx for the master axis.
In normal operation, movements are made along the master axis and slave axis independently of
each other as in the case of normal CNC control. The programmed command Xxxxx makes a
movement along the X-axis. The programmed command Aaaaa makes a movement along the A-axis.
The programmed command Xxxxx Aaaaa makes movements along the X-axis and A-axis at the
same time.
The mode of operation can be switched between synchronous operation and normal operation by an input
signal, or synchronous operation can be performed at all times. Which mode to use can be set using bit 5
(SCA) of parameter No. 8304.
- Restrictions on using the same name for the master axis and slave axis
If the same axis name is assigned to the master axis and slave axis, manual operation only is allowed in
normal operation. Automatic operation cannot be performed.
(Example)
- 312 -
B-64554EN/01 PROGRAMMING 20.AXIS CONTROL FUNCTIONS
In the example below, movements along the X1-axis and X2-axis are made in synchronism with the
XM-axis.
Axis name Subscript
Axis name Controlled Master axis number
Parameter Parameter Operation
indication axis number Parameter No.8311
No. 1020 No. 3131
XM 1 88 77 0
Y 2 89 0 0
A movement is made in
X1 3 88 49 1 synchronism with the
XM-axis.
A movement is made in
X2 4 88 50 1 synchronism with the
XM-axis.
When one master axis has multiple slave axes, synchronous establishment, and synchronous error check
are performed for each slave axis independently.
- 313 -
20.AXIS CONTROL FUNCTIONS PROGRAMMING B-64554EN/01
- 314 -
B-64554EN/01 PROGRAMMING 20.AXIS CONTROL FUNCTIONS
NOTE
When the grid position difference between the master axis and slave axis is
large, a reference position shift can occur, depending on the timing of the *DEC
signal set to 1. In the example below, the shift along the slave axis is so large
that the position shifted one grid point from the actual reference position is
regarded as the reference position.
(Example) When the reference position on the slave axis is shifted one grid point
*DEC
[Operation procedure]
The procedure below is usable when bit 0 (ATE) of parameter No. 8303 is set to 1.
- 315 -
20.AXIS CONTROL FUNCTIONS PROGRAMMING B-64554EN/01
NOTE
1 Parameter setting
When bit 1 (ATS) of parameter No. 8303 is set, bit 4 (APZ) of parameter No.
1815 and parameter No. 8326 for the master axis and slave axis are set to 0.
When the operator sets parameter No. 8326 (MDI, G10L50), bit 0 (ATE) of
parameter No. 8303 is set to 0.
2 This function cannot be used together with the reference position shift function.
- 316 -
B-64554EN/01 PROGRAMMING 20.AXIS CONTROL FUNCTIONS
- 317 -
20.AXIS CONTROL FUNCTIONS PROGRAMMING B-64554EN/01
Slave axis
position feedback
[Method of use]
Specify the threshold parameter No. 2031 according to the procedure below.
1. Set 0 in parameter No. 2031, and disable the torque difference alarm detection function.
2. To check the absolute value of the torque difference between the synchronous axes, set the
parameters below. Set the same value for the two axes placed under axis synchronous control.
Parameter No. 2115 = 0
Parameter No. 2151 = 434
3. Display the diagnostic screen by pressing the function key then the [DGNOS] soft key.
Diagnose No. 0353 indicates the absolute value of the torque difference between the two axes.
4. Read the absolute torque difference value presented when normal operation is being performed. In
the threshold parameter No. 2031, set a value obtained by adding some margin to the read absolute
value.
The absolute torque difference value can be observed with the Servo Guide.
- 318 -
B-64554EN/01 PROGRAMMING 20.AXIS CONTROL FUNCTIONS
When the servo ready signal SA is set to 0, torque difference alarm detection is disabled.
NOTE
The servo axis number combination of the master axis and slave axis
synchronized with each other must be such that an odd servo axis number is
assigned to the master axis and the next servo axis number is assigned to the
slave axis like (1,2) and (3,4).
CAUTION
1 When making a synchronous error check, ensure that the reference position on
the master axis and the reference position on the slave axis must be at the same
position.
2 In manual reference position return operation, the same operation is performed
along the master axis and slave axis until a deceleration operation starts. After a
deceleration operation starts, grid detection is performed for the master axis and
slave axis independently of each other.
3 Pitch error compensation and backlash compensation are performed for the
master axis and slave axis independently of each other.
NOTE
1 During axis synchronous control, a movement based on automatic reference
position return (G28) or machine coordinate system selection (G53) command is
made as described below according to the setting of bit 7 (SRF) of parameter
No. 8304.
<1> When SRF = 0, the same movement as made along the master axis is
made along the slave axis.
<2> When SRF = 1, a movement is made along the slave axis to the specified
position independently of a movement made along the master axis to the
specified position.
2 A command not involving a movement along an axis such as the workpiece
coordinate system setting command (G92) and local coordinate system setting
command (G52) is set with the master axis according to the master axis
programming.
3 During synchronous operation, the axis-by-axis signals such as for external
deceleration, interlock, and machine lock are enabled for the master axis only.
During synchronous operation, those signals for the slave axis are ignored.
4 When switching the synchronization state in a program, be sure to specify M
codes (parameter No. 8337 and No. 8338) for turning synchronization on and
off. By switching between the input signals SYNCx <G138> and SYNCJx
<G140> from the PMC with the M codes, the synchronization state can be
switched in the program.
- 319 -
20.AXIS CONTROL FUNCTIONS PROGRAMMING B-64554EN/01
NOTE
5 When controlled axis removal is performed, the synchronization state is
cancelled. When performing controlled axis removal, perform removal for the
master axis and slave axis at the same time.
6 If a programmed command is specified for the slave axis during synchronous
operation, an alarm PS0213, “ILLEGAL COMMAND IN SYNCHRO-MODE” is
issued. A programmed command can be specified for the slave axis when
switching between synchronous operation and normal operation is set to 0 (with
bit 5 (SCA) of parameter No. 8304 set to 0) to select normal operation.
7 Axis synchronous control and PMC axis control cannot be used at the same
time.
Example
Assume that axis A is the rotary axis and that the amount of movement per rotation is 360.000 (parameter
No. 1260 = 360000). When the following program is executed using the roll-over function of the rotary
axis, the axis moves as shown below.
Absolute coordinate value after
Sequence number Actual movement value
G90 A0 ; movement end
N1 G90 A-150.0 ; N1 -150 210
N2 G90 A540.0 ; N2 -30 180
N3 G90 A-620.0 ; N3 -80 100
N4 G91 A380.0 ; N4 +380 120
N5 G91 A-840.0 ; N5 -840 0
Relative
coordinate value -720° -360° -0° 360°
Absolute -0° -0° -0° -0°
coordinate value
210° (Absolute)
N1
180°
N2
100°
N3
120°
N4
N5
- 320 -
B-64554EN/01 PROGRAMMING 20.AXIS CONTROL FUNCTIONS
Main motor
Table
Ball screw
Sub motor
In general, the NC regards tandem control as being performed for one axis. However, for servo parameter
management and servo alarm monitoring, tandem control is regarded as being performed for two axes.
For details, refer to the relevant manual published by the machine tool builder.
NOTE
1 The punch section and the die section of the die can be controlled by the same
motors or C axis synchronously controlled by the respective servo motors.
2 Set 67(C) in parameter No.1020 as the name of the axis to control the axis under
the C axis control.
3 The C axis should be set as a rotation axis. (bit 0 (ROTx) of parameter No. 1006
is set to 1)
4 Setting the following parameters of C axis allows the CNC to be compatible with
FANUC Series 0i-PC, as follows:
Setting Meaning
Bit 0 (ROTx) of parameter No.1006=1
Rotary axis (A type)
Bit 1 (ROSx) of parameter No.1006=0
Bit 0 (ROAx) of parameter No.1008=1 The rotary axis roll-over is valid.
Bit 1 (RABx) of parameter No.1008=0 The axis rotates in the direction in which the distance to
the target is shorter.
Bit 2 (RRLx) of parameter No.1008=1 Relative coordinates are rounded by the amount of the
shift per one rotation
- 321 -
20.AXIS CONTROL FUNCTIONS PROGRAMMING B-64554EN/01
#1:(50.0,160.0)
N3221:(110.0,160.0)
C-axis = 45.0
C-axis = 0.0
#2:(−10.0,100.0) N3222
(50.0,100.0)
C-axis = 135.0
+X
C-axis moves along with
#4:(110.0,100.0)
X-and Y-axes positioning
C-axis = 315.0
#3:(50.0,40.0)
C-axis = 225.0
There may be some restrictions of functions depending on the machine tools as shown in the following.
Always refer to the manual issued by machine tool builder.
- Inhibition of simultaneous control of T and C axes in the manual mode.
- T axis can move only when C axis is at reference point (fixed position on the machine tool where the
C axis can reach by the C axis manual reference point return.)
- 322 -
B-64554EN/01 PROGRAMMING 20.AXIS CONTROL FUNCTIONS
(3) Pattern function (Including nibbling function) G26, G45, G46, G47,G68, G69, G76, G77, G78, G79,
G86, G87, G88, G89
(Example)
G26I _ J _ K _ C _ ;
- 323 -
20.AXIS CONTROL FUNCTIONS PROGRAMMING B-64554EN/01
Namely,
(b) Signal PF is not sent out when there are no X and Y commands.
In N210 block, T-axis positioning starts simultaneously when the X and Y axes start to move at the
first positioning point. When the positioning of the X, Y and T axes is finished and T-command
completion signal FIN is returned, positioning of the C axis starts.
- 324 -
B-64554EN/01 PROGRAMMING 20.AXIS CONTROL FUNCTIONS
After positioning of the C axis is over, press start signal PF is sent out, and punch operation is
performed at the first positioning point. Thereafter, the X and Y axes are sequentially positioned
following the commanded geometry without positioning of the C axis.
In N210 block, positioning to the first point is conducted in the same way as described in 19.3.10 (1).
Thereafter, X and Y axes are sequentially positioned following the commanded geometry while the
C axis positioning is conducted.
+Y
P1
θn
θ1
+X
Pn
Cn is calculated as follows:
Cn=C1+ (θn–θ1)
In case of G68, and alarm (PS 4522) occurs if the C-axis move value between adjacent positioning points
exceeds the parameter value (No. 16194).
- 325 -
20.AXIS CONTROL FUNCTIONS PROGRAMMING B-64554EN/01
Setting of Interpolation of
Ram Axis Ram Axis Motion
Motion Pattern
Ram Axis
Motion Pattern
- 326 -
B-64554EN/01 PROGRAMMING 20.AXIS CONTROL FUNCTIONS
RAM-axis
Axis of X, Y
Next block
positioning
Table axis movement
- 327 -
III. OPERATION
B-64554EN/01 OPERATION 1.GENERAL
1 GENERAL
Chapter 1, "GENERAL", consists of the following sections:
The tool can be moved to the reference position also with program commands.
This operation is called automatic reference position return. (See Chapter II-6, “REFERENCE
POSITION”.)
- 331 -
1.GENERAL OPERATION B-64554EN/01
Tool
Workpiece
Workpiece
Y
X
Fig. 1.2 (a) Tool Movement by programming
- 332 -
B-64554EN/01 OPERATION 1.GENERAL
Explanation
- Memory operation
After the program is once registered in memory of CNC, the machine can be run according to the
program instructions. This operation is called memory operation.
CNC Machine
Memory
- MDI operation
After the program is entered, as a command group, from the MDI unit, the machine can be run according
to the program. This operation is called MDI operation.
Manual program
input
- DNC operation
In this mode of operation, the program is not registered in the CNC memory. It is read from the external
input/output devices instead. This is called DNC operation.
O1001
G92 Automatic
operation
- 333 -
1.GENERAL OPERATION B-64554EN/01
Stop caused
by program
Program stop
Program end
- Handle interruption
While automatic operation is being executed, tool movement can overlap automatic operation by rotating
the manual handle. (See Section III-4.6, “MANUAL HANDLE INTERRUPTION”.)
Tool position
during automatic
Z
Tool position after operation
handle interruption
Programmed
amount of
movement
Depth of cut
by handle
interruption
X
- 334 -
B-64554EN/01 OPERATION 1.GENERAL
Tool
- Feedrate override
Check the program by changing the feedrate specified in the program. (See Section III-5.2, “FEEDRATE
OVERRIDE”.)
Workpiece
Tool
Workpiece
Y
- 335 -
1.GENERAL OPERATION B-64554EN/01
X
Y
Tool Z
Workpiece
The tool remains stopped, and only the
positional displays of the axes change.
Data setting
Data display
Screen Keys
MDI
CNC memory
- 336 -
B-64554EN/01 OPERATION 1.GENERAL
Explanation
- Offset value
Compensation
Setting
Tool compensation number 1 12.3
Tool compensation number 2 20.0
Tool compensation number 3 ・・・
・・・・・・・ ・・・
Screen Keys Display
MDI
CNC memory
The tool has the tool dimension (diameter). When a workpiece is machined, the tool movement value
depends on the tool dimensions.
By setting tool dimension data in CNC memory beforehand, CNC automatically generates tool routes that
permit any tool to cut the workpiece specified by the program. Tool dimension data is called the offset
value. (See Subsection III-12.3.1, “Setting and Displaying the Tool Compensation Value”.)
- 337 -
1.GENERAL OPERATION B-64554EN/01
Setting data
MDI
CNC Memory
Operational
characteristics
Automatic Movement of
Program operation the machine
Parameter
Rapid traverse rate
Setting
Position control
Reference position return
Backlash compensation data
Pitch error compensation data
Screen Keys Display
:
:
MDI :
CNC memory
Operational
characteristics
Automatic
Program operation Movement of
the machine
- 338 -
B-64554EN/01 OPERATION 1.GENERAL
Data Setting
Screen Keys
Data protection key
MDI
Registration / modification inhibition
Machine
operator's panel
Program
Offset value Data protection key
Parameters Signal
Setting data
CNC memory
1.7 DISPLAY
The programs in the program memory are listed. (See Subsection III-12.2.4, “Program List Screen”.)
- 339 -
1.GENERAL OPERATION B-64554EN/01
Y
X
Workpiece X
coordinate system
Fig. 1.7.2 (a)
- 340 -
B-64554EN/01 OPERATION 1.GENERAL
- 341 -
1.GENERAL OPERATION B-64554EN/01
- 342 -
B-64554EN/01 OPERATION 2.OPERATIONAL DEVICES
2 OPERATIONAL DEVICES
As operational devices, setting and display devices attached to the CNC, and machine operator's panels
are available.
For machine operator's panels, refer to the relevant manual of the machine tool builder.
- 343 -
2.OPERATIONAL DEVICES OPERATION B-64554EN/01
WARNING
Until the positional or alarm screen is displayed at the power on, do not touch a
key on the MDI unit. Some keys are used for the maintenance or special
operation purpose. When they are pressed, unexpected operation may be
caused.
- 344 -
B-64554EN/01 OPERATION 2.OPERATIONAL DEVICES
Soft keys
- 346 -
B-64554EN/01 OPERATION 2.OPERATIONAL DEVICES
Edit keys
INPUT key
Function keys
SHIFT key
HELP key
Page change keys
RESET key
Edit keys
Fig. 2.2.4 (a) 8.4” Small MDI unit (ONG Key, horizontal type)
- 347 -
2.OPERATIONAL DEVICES OPERATION B-64554EN/01
Soft keys
RESET key
Function keys
HELP key
Edit keys
Fig. 2.2.4 (b) Small MDI unit (ONG Key, vertical type)
- 348 -
B-64554EN/01 OPERATION 2.OPERATIONAL DEVICES
HELP key
Press this key to use the help function when uncertain about the operation
2
of an MDI key (help function).
The soft keys have various functions, according to the Applications. The soft key
3 Soft keys
functions are displayed on the display unit.
Address and numeric
keys
4 Press these keys to input alphabetic, numeric, and other characters.
...
SHIFT key Some keys have two characters on their key top. Pressing the <SHIFT> key
5 switches the characters. Special character ^ is displayed on the screen when a
character indicated at the top left corner on the key top can be entered.
When an address or a numerical key is pressed, the data is input to the key input
buffer, and it is displayed on the screen. To copy the data in the key input buffer
INPUT key
6 to the offset register, etc., press the key. This key is equivalent to the
[INPUT] key of the soft keys, and either can be pressed to produce the same
result.
Press this key to delete the last character or symbol input to the key input buffer.
Example) When the key input buffer displays
CANCEL (CAN) key >N001X100Z_
7
and the cancel key is pressed, Z is canceled and
>N001X100_
is displayed.
Press these keys when editing the program.
: ALTER
Edit keys
8 : INSERT
: IDELETE
Function keys
Press theses keys to switch display screens for each function.
9
... See Section III-2.4.2, “Function Keys” for details of the function keys.
- 349 -
2.OPERATIONAL DEVICES OPERATION B-64554EN/01
Example 1)
Operation selection key
2 When one of the chapter selection soft keys is pressed, the screen of the chapter is displayed. If the
soft key of a desired chapter is not displayed, press the continuous menu key.
In a chapter, a further choice may be made from multiple chapters.
3 When the screen of a desired chapter is displayed, press the operation selection key to display
operations to be performed.
Example 2)
Example 3)
Auxiliary menu
- 350 -
B-64554EN/01 OPERATION 2.OPERATIONAL DEVICES
5 To return to the display of chapter selection soft keys, press the return menu key.
Depending on the state, the button images of the soft keys change.
From the button images, which state the soft keys are assuming can be known.
Example 1)
For the 8.4-inch LCD display unit
Chapter selection soft keys
Example 2)
For the 10.4-inch LCD display unit
Chapter selection soft keys
- 351 -
2.OPERATIONAL DEVICES OPERATION B-64554EN/01
Press this key to display the custom screen 1 (conversational macro screen or C Language Executor
screen).
Press this key to display the custom screen 2 (conversational macro screen or C Language Executor
screen).
For the small MDI unit, there is no key that corresponds to this key.
The chapter selection soft keys of each function are described below.
The horizontal four keys on the right-hand side are assigned to chapter selection soft keys. When multiple
pages are used for chapter selection soft keys, [+] is displayed on the continuous menu key (rightmost soft
key). Press the continuous menu key to switch between chapter selection soft keys.
NOTE
1 Press function keys to switch between screens that are used frequently.
2 Some soft keys are not displayed depending on the option configuration.
For the 10.4-inch LCD display unit, when pressing other than function key indicates positional
display on the left side of the screen, the left half of the soft keys are shown below.
- 352 -
B-64554EN/01 OPERATION 2.OPERATIONAL DEVICES
or
As for the soft key [MONITOR], refer to Section III-12.1.7, “Operating Monitor Display”.
Refer to the next page for other soft keys.
MONI (OPRT) +
Page 2
Program screen
The chapter selection soft keys that belong to the function key and the function of each screen are
described below.
- 353 -
2.OPERATIONAL DEVICES OPERATION B-64554EN/01
DIR (OPRT) +
Page 2
DIR (OPRT) +
Page 2
DIR (OPRT) +
Page 2
- 354 -
B-64554EN/01 OPERATION 2.OPERATIONAL DEVICES
Offset/setting screen
The chapter selection soft keys that belong to the function key and the function of each screen are
described below.
- 355 -
2.OPERATIONAL DEVICES OPERATION B-64554EN/01
System screen
The chapter selection soft keys that belong to the function key and the function of each screen are
described below.
(1) (2) (3) (4) (5)
- 356 -
B-64554EN/01 OPERATION 2.OPERATIONAL DEVICES
RMTDIAG (OPRT) +
Page 8
- 357 -
2.OPERATIONAL DEVICES OPERATION B-64554EN/01
Message screen
The chapter selection soft keys that belong to the function key and the function of each screen are
described below.
(1) (2) (3) (4) (5)
- 358 -
B-64554EN/01 OPERATION 2.OPERATIONAL DEVICES
Graphic screen
The chapter selection soft keys that belong to the function key and the function of each screen are
described below.
When the key is pressed, "_" indicating the input position of the next character changes to "∧" and
the upper character can be input. This status is called the shift status.
When a character is input in shift status the shift status is canceled. Furthermore, if the key is
pressed in shift status, the shift status is canceled.
It is possible to input up to 128 characters at a time in the key input buffer.
Press the key to cancel a character or symbol input in the key input buffer.
- 359 -
2.OPERATIONAL DEVICES OPERATION B-64554EN/01
(Example)
When the key input buffer displays
>N001X100Z_
and the cancel key is pressed, Z is canceled and
>N001X100_
is displayed.
After a character or number has been input from the MDI panel, a data check is executed when
key or a soft key is pressed. In the case of incorrect input data or the wrong operation a flashing
warning message will be displayed on the status display line.
- Parameter setting
Before an external input/output device can be used, parameters must be set as follows.
- 360 -
B-64554EN/01 OPERATION 2.OPERATIONAL DEVICES
CNC
Main board
Channel 1 Channel 2
JA56A JA36A
RS-232-C RS-232-C
RS232C RS232C
interface interface
I/O CHANNEL=0 I/O CHANNEL=2
or
I/O CHANNEL=1
This CNC has a total of two channels of RS232C interfaces. It also has memory card interface. The
input/output device to be used is specified by setting the channel (interface) connected to that device in
setting parameter I/O CHANNEL.
The specified data, such as a baud rate and the number of stop bits, of an input/output device connected to
a specific channel must be set in parameters for that channel in advance. (These settings are not required
for the memory card interface.)
For channel 1, two combinations of parameters to specify the input/output device data are provided.
The following shows the interrelation between the RS232C interface parameters for the channels.
0023 :
Background input
I/O CHANNEL=9
The channel setting is the same as
No.0020.
- 361 -
3.MANUAL OPERATION OPERATION B-64554EN/01
3 MANUAL OPERATION
MANUAL OPERATION are twelve kinds as follows :
Tool
Reference position
Deceleration point
The above is an example. Refer to the appropriate manual provided by the machine tool builder for the
actual operations.
- 362 -
B-64554EN/01 OPERATION 3.MANUAL OPERATION
Explanation
- Automatically setting the coordinate system
Bit 0 (ZPR) of parameter No.1201 is used for automatically setting the coordinate system. When ZPR is
set, the coordinate system is automatically determined when manual reference position return is
performed.
When α, β and γ are set in parameter 1250, the workpiece coordinate system is determined so that
reference point on the tool holder or the position of the tip of the reference tool is X= α, Y = β, Z = γ
when reference position return is performed. This has the same effect as specifying the following
command for reference position return:
G92XαYβZγ;
However, when the workpiece coordinate system is used (bit 0 (NWZ) of parameter No. 8136 is 0), it is
not able to use.
Limitation
- Moving the tool again
Once the reference position return completion LED lights at the completion of reference position return,
the tool does not move unless the reference position return switch is turned off.
- 363 -
3.MANUAL OPERATION OPERATION B-64554EN/01
X Workpiece
The above is an example. Refer to the appropriate manual provided by the machine tool builder for the
actual operations.
Limitation
- Acceleration/deceleration for rapid traverse
Feedrate, time constant and method of automatic acceleration/ deceleration for manual rapid traverse are
the same as G00 in programmed command.
- Change of modes
Changing the mode to the jog mode while pressing a feed axis and direction selection switch does not
enable jog feed. To enable jog feed, enter the jog mode at first, then press a feed axis and direction
selection switch.
X Workpiece
- 365 -
3.MANUAL OPERATION OPERATION B-64554EN/01
Tool
X Workpiece
Explanation
- Availability of manual pulse generator in Jog mode (JHD)
When bit 0 (JHD) of parameter No. 7100 is set to 1, both jog feed and manual handle feed can be used in
JOG mode.
When bit 0 (JHD) of parameter No. 7100 is set to 1, both manual handle feed and incremental feed can be
used in HANDLE mode.
- When manual handle feed exceeding the rapid traverse rate is specified
The amount of pulses exceeding the rapid traverse rate can be saved by CNC as B. And amount of
pulses B will be output as pulses C.
Rapid
traverse
rate
A C
t
Fig. 3.4 (b) Amount of pulses output by CNC in Manual Handle Feed
- 366 -
B-64554EN/01 OPERATION 3.MANUAL OPERATION
Amount of pulses B is calculated in 2 cases as following:
Magnification set by manual handle feed selection signals MP1 and MP2 is m, value of parameter
No.7117 is n.
m
A+B=k⋅m
Pulses over (k⋅m) will be ignored
Fig. 3.4 (c) Amount of pulses exceeding the Rapid Traverse Rate (n ≥ m)
NOTE
Due to change of mode, clamping can be performed not as an integral multiple
of the selected magnification.
The distance the tool moves may not match the graduations on the manual
pulse generator.
- 367 -
3.MANUAL OPERATION OPERATION B-64554EN/01
Limitation
WARNING
Rotating the handle quickly with a large magnification such as ×100 moves the
tool too fast. The feedrate is clamped at the rapid traverse feedrate.
NOTE
Rotate the manual pulse generator at a rate of five rotations per second or lower.
If the manual pulse generator is rotated at a rate higher than five rotations per
second, the tool may not stop immediately after the handle is no longer rotated
or the distance the tool moves may not match the graduations on the manual
pulse generator.
Yaxis
Tool
P2 Manual operation
P1
O X axis
The coordinates values change by the
amount of manual operation.
Y2
Y1
P2
P1
O2 X2
O1 X1
The coordinates do not change.
Explanation
The following describes the relation between manual operation and coordinates under the manual
absolute ON state, using a program example.
- 368 -
B-64554EN/01 OPERATION 3.MANUAL OPERATION
(220.0 , 250.0)
(120.0 , 200.0)
Manual
(200.0 , 150.0) absolute ON
Manual
absolute OFF
Manual
(100.0 , 100.0) operation
X
Y
(300.0 , 275.0)
(200.0 , 225.0)
(150.0 , 200.0) (300.0 , 200.0)
Manual
absolute ON
(200.0 , 150.0) Manual
(150.0 , 125.0) absolute OFF
Feed hold stop point Manual
operation
X
- 369 -
3.MANUAL OPERATION OPERATION B-64554EN/01
Y
(300.0 , 275.0)
(200.0 , 225.0)
(150.0 , 200.0) (300.0 , 200.0)
Manual
absolute ON
(200.0 , 150.0) Manual
(150.0 , 125.0) absolute OFF
Feed hold stop point Manual
operation
X
Fig. 3.5 (f) When reset after a manual operation following a feed hold
(200.0 , 150.0)
N3
N2
(200.0 , 100.0)
Manual (100.0 , 100.0)
absolute ON
Manual
N1
absolute OFF
Manual
operation X
Fig. 3.5 (g) When a movement command in the next block is only one axis
- 370 -
B-64554EN/01 OPERATION 3.MANUAL OPERATION
- 371 -
3.MANUAL OPERATION OPERATION B-64554EN/01
NOTE
Only manual absolute ON can be used by Series 0i-PD. Manual absolute on/off
operation cannot be switched.
10.02 10.04
20.02
20.00 20.00
ZRN
+J1
Reference mark
ZRF1
Feedrate
FL rate FL rate FL rate
If any of the following operations is performed during the operation of automatic reference position
return (G28) before a reference position is not established, the operation for establishing a reference
position stops:
• Reset
• Performing feed hold during movement from an intermediate position
If the operation for establishing a reference position is stopped by an operation other than a reset, the
operation for establishing a reference position must be reset and resumed.
- 373 -
3.MANUAL OPERATION OPERATION B-64554EN/01
20.02 20.02
b
9.96
20.02 9.98 19.66
9.94
A
a
9.64
20.00 20.00
20.00
• When the reference point return procedure is executed, the coordinate value are rounded in 0 to 360
degree, even if Machine coordinate values are linear axis type.
• In case of distance coded rotary encoder, only the measurement by three points or four points is
possible. (bit 2 (DC2) of parameter No.1802 is disregarded as 0.)
NOTE
When this function is used with axis synchronization control axes for which the
operation mode is switched between synchronization operation and normal
operation, this function is enabled only if the synchronization select signal
(SYNC1, SYNC2, ...) is 1. (During establishment of a reference position, the
synchronization select signal status must be maintained.)
Scale end
Reference mark
Master axis
Slave axis
NOTE
In case of this function is used with axis synchronization control axes, if the value
of parameters Nos. 1883 and 1884 for both the master and slave axes is 0, the
reference position is not established. Also, the reference position establish signals
ZRF1, ZRF2, ... are set to 0.
Before reference position The reference position is established by detecting two, three or four reference marks.
establishment Movement to the reference position is not performed.
After reference position Positioning at the reference position is performed.
establishment
3.6.6 Note
(1) In the case of the actual interval of reference marks is different from parameter setting value, the
alarm DS1449, “REFERENCE MARKS ARE DIFFERENT FROM PARAMETER” occurs.
- 375 -
3.MANUAL OPERATION OPERATION B-64554EN/01
NOTE
When the detection unit is changed, parameters relating to the detection unit
(such as the effective area and positional deviation limit) must also be changed
accordingly.
(4) In this procedure, the axis does not stop until two, three or four reference marks are detected. If this
procedure is started at the position near the scale end, CNC can not detect three or four reference
marks and the axis does not stop until over travel alarm occurs. Please care to start at the position
that has enough distance from scale end.
Scale end
Reference marks
(5) When the axis used this function, the following function can not be used.
• Absolute position detection (bit 5 (APCx) of parameter No.1815 = 1)
(6) If axial movement is made in the direction opposite to that of reference position return, the
movement is reversed to the direction of reference position return after three or four reference marks
have been detected. Steps (3) to (5) of the basic procedure for establishing a reference position are
carried out to establish the reference position.
Explanation
The linear scale with distance-coded reference marks (serial) is combined the irregular reference marked
linear scale with the High-resolution serial output circuit, it can detect the accurate position.
Reference mark signal
0 20 40 60
The CNC measures the interval of referenced mark by axis moving of short distance and determines the
absolute position, because of the interval of each reference mark is different with regular interval.
It is not necessary that the axis is moved to the reference position for establishment of reference position.
This function enables high-speed high-precision detection by using High-resolution serial output circuit.
It is available that using maximum stroke 30 meters length.
- Connection
It is available under full closed system.
CNC Servo
Amplifier Table
Separate High
Detector Resolution
Interface Serial Output Max. 30m
Unit Circuit C
- 377 -
3.MANUAL OPERATION OPERATION B-64554EN/01
+J1
Reference mark
ZRF1
Feedrate
FL rate
• To the parameters, which relate to this function (except No.1883, No.1884), the same value must be
set for the master axis and for the slave axis.
• The linear scale with distance-coded reference marks (serial) should be applied for the master axis
and the slave axis.
If either of the master axis or the slave axis is not the linear scale with distance-coded reference
marks (serial), alarm DS0018, “SERIAL DCL:MISMATCH(SSYNC CTRL)” occurs when
reference position establishment is tried.
• During operating the establishment of reference position, the state of signal (SYNCn or SYNCJn)
for selecting synchronized axis should be kept.
CAUTION
1 When the Linear scale with distance-coded reference marks (serial) is used,
please set bit 3 (SDCx) of parameter No.1818 to 1.
2 On the Linear scale with distance-coded reference marks (serial), the axis does
not stop until three reference marks are detected. If this procedure is started at
the position near the scale end, CNC can not detect three reference marks and
the axis does not stop until over travel alarm occurs. Please care to start at the
position that has enough distance from scale end.
And if establishment of reference position is failed, the establishment is retried.
Then axis does not stop until still more three reference marks are detected. So
please set the maximum move amount (detection unit : parameter No.14010) not
to reach the scale end.
Scale end
Reference marks
- 379 -
4.AUTOMATIC OPERATION OPERATION B-64554EN/01
4 AUTOMATIC OPERATION
Programmed operation of a CNC machine tool is referred to as automatic operation.
The chapter 4 explains the following types of AUTOMATIC OPERATION:
Memory operation
Procedure
1 Press the MEMORY mode selection switch.
2 Select a program from the registered programs. To do this, follow the steps below.
2-1 Press key to display the program screen.
- 380 -
B-64554EN/01 OPERATION 4.AUTOMATIC OPERATION
a. Stopping memory operation
Press the feed hold switch on the machine operator's panel. The feed hold LED goes on and the
cycle start LED goes off. The machine responds as follows:
(i) When the machine was moving, feed operation decelerates and stops.
(ii) When dwell was being performed, dwell is stopped.
(iii) When M, S, or T was being executed, the operation is stopped after M, S, or T is finished.
When the cycle start switch on the machine operator's panel is pressed while the feed hold LED
is on, machine operation restarts.
b. Terminating memory operation
Press the key on the MDI unit.
Automatic operation is terminated and the reset state is entered.
When a reset is applied during movement, movement decelerates then stops.
Explanation
- Memory operation
After memory operation is started, the following are executed:
(1) A one-block command is read from the specified program.
(2) The block command is decoded.
(3) The command execution is started.
(4) The command in the next block is read.
(5) Buffering is executed. That is, the command is decoded to allow immediate execution.
(6) Immediately after the preceding block is executed, execution of the next block can be started. This is
because buffering has been executed.
(7) Hereafter, memory operation can be executed by repeating the steps (4) to (6).
- Feed hold
When Feed Hold button on the operator's panel is pressed during memory operation, the tool decelerates
to a stop at a time.
- 381 -
4.AUTOMATIC OPERATION OPERATION B-64554EN/01
- Reset
Automatic operation can be stopped and the system can be made to the reset state by using key on
the MDI unit or external reset signal. When reset operation is applied to the system during a tool moving
status, the motion is slowed down then stops.
MDI Operation
Procedure
1 Select the MDI mode.
2 Press the key to select the program screen. The following screen appears:
3 Prepare a program to be executed by an operation similar to normal program editing. M99 specified
in the last block can return control to the beginning of the program after operation ends. Word
insertion, modification, deletion, word search, address search, and program search are available for
programs created in the MDI mode.
4 To entirely erase a program created in MDI mode, use one of the following methods:
a. Enter address key, then press the key.
- 382 -
B-64554EN/01 OPERATION 4.AUTOMATIC OPERATION
b. Alternatively, press the key. In this case, set bit 7 (MCL) of parameter No. 3203 to 1 in
advance.
5 To execute a program, set the cursor on the head of the program.
Push Cycle Start button on the operator's panel. By this action, the prepared program will start.
When the program end (M02, M30) or ER(%) is executed, the prepared program will be
automatically erased and the operation will end.
By command of M99, control returns to the head of the prepared program.
6 To stop or terminate MDI operation in midway through, follow the steps below.
a. Stopping MDI operation
Press the feed hold switch on the machine operator's panel. The feed hold LED goes on and the
cycle start LED goes off. The machine responds as follows:
(i) When the machine was moving, feed operation decelerates and stops.
(ii) When dwell was being performed, dwell is stopped.
(iii) When M, S, or T was being executed, the operation is stopped after M, S, or T is finished.
When the cycle start switch on the machine operator's panel is pressed, machine operation
restarts.
b. Terminating MDI operation
Press the key.
Automatic operation is terminated and the reset state is entered.
When a reset is applied during movement, movement decelerates then stops.
Explanation
The previous explanation of how to execute and stop memory operation also applies to MDI operation,
except that in MDI operation, M30 does not return control to the beginning of the program (M99
performs this function).
- Restart
If a program is not executed even once after the program is input, the program is executed from the
beginning, regardless of where the cursor is placed. However, a program is executed starting at the
beginning of the block where the cursor is place, if the program is stopped for a reason such as single
block operation after restart of an MDI operation then is restarted after an editing operation.
- 383 -
4.AUTOMATIC OPERATION OPERATION B-64554EN/01
CAUTION
When an MDI program is restarted, the program is executed starting at the
beginning of the block where the cursor is placed, regardless of the cursor
position in the block.
(Example)
When the cursor is placed on G90
:
G91 X100.0 G90Y200.0 Z300.0 ;
:
The program is executed starting at the beginning (namely, G91) of this
block. So, the tool moves by 100.0 along the X-axis in the incremental
programming, and moves to 200.0 and 300.0 along the Y-axis and Z-axis,
respectively, in the absolute programming.
- Absolute/incremental command
When bit 4 (MAB) of parameter No. 3401 is set to 1, the absolute/incremental programming of MDI
operation does not depend on G90/G91. In this case, the incremental programming is set when bit 5
(ABS) of parameter No. 3401 is set to 0, and the absolute programming is set when bit 5 (ABS) of
parameter No. 3401 is set to 1.
Limitation
- Program registration
Programs created in MDI mode cannot be registered.
- Subprogram nesting
The subprogram call command (M98) can be described in a program created in MDI mode. That is,
programs that are registered in memory through MDI operation can be called and executed. The level of
subprogram call nesting is the same as in MEM operation.
- Macro call
When the custom macro function is enabled, a macro program can be created and executed even in the
MDI mode. Moreover, a macro program can be called for execution.
- 384 -
B-64554EN/01 OPERATION 4.AUTOMATIC OPERATION
NOTE
The GOTO statement, WHILE statement, and DO statement cannot be executed
in a program created in the MDI mode. An alarm PS0377, “ILLEGAL MODE
FOR GOTO/WHILE/DO” is issued.
When a program including those statements is to be executed, register the
program in the program memory then call the program for execution.
DNC operation
Procedure
1 Press the REMOTE switch on the machine operator's panel to enter the RMT mode.
2 Select the program to be executed.
• Selecting a DNC operation file
Enter the number of the file to be subjected to DNC operation is performed on the memory card
(or floppy cassette) list screen with the keyboard and press soft key [DNC SET] (or [DNC
SET] for the 10.4-inch display unit) to select the file to be subjected to DNC operation. (The
selected file is marked with "D".)
• Releasing a DNC operation file
Press soft key [DNC CLR] (or [DNC CLR] for the 10.4-inch display unit) on the memory card
(or floppy cassette) list screen to release the DNC operation file. (The "D" mark for the file is
removed.)
3 Press the cycle start switch to execute the selected file. For details on the REMOTE switch, refer to
the manual provided by the machine tool builder.
- 385 -
4.AUTOMATIC OPERATION OPERATION B-64554EN/01
4 During DNC operation, executed programs are listed on the program check screen and program
screen.
NOTE
1 Before selecting a DNC operation file, be sure to release all schedule data. DNC
operation and schedule operation cannot be specified at the same time.
2 A DNC operation file cannot be released during DNC operation.
3 To switch between devices when DNC settings are made, release the settings
and then make the settings again.
Explanation
During DNC operation, subprograms and macro programs stored in memory can be called.
- 386 -
B-64554EN/01 OPERATION 4.AUTOMATIC OPERATION
Limitation
- M198 (command for calling a program from within an external input/output
unit)
In DNC operation, M198 cannot be executed. If M198 is executed, alarm PS0210, “CAN NOT
COMMAND M198/M99” is issued.
- Custom macro
In DNC operation, custom macros can be specified, but no repeat instruction and branch instruction can
be programmed. If a repeat instruction or branch instruction is executed, alarm PS0123, “ILLEGAL
MODE FOR GOTO/WHILE/DO” is issued.
- M99
For returning from a subprogram or macro program to the calling program during DNC operation, the
specification of a return command (M99P...) with a sequence number specified is not allowed.
Schedule operation
Procedure
1 Press the REMOTE switch on the machine operator's panel to enter the RMT mode.
2 Select the program to be subjected to schedule operation.
• Selecting a schedule
Select the file to be subjected to schedule operation. After selecting the file, press soft key
[SCHDL] to display the schedule list screen.
[SCHDL]
Lists the settings of schedule data to edit the repetition count or the like (see the next page for
details).
- 387 -
4.AUTOMATIC OPERATION OPERATION B-64554EN/01
[FILE UP] Moves the file at the cursor position up one line and moves the replaced file down
one line.
[FILE DOWN] Moves the file at the cursor position down one line and moves the replaced file up
one line.
[DELETE] Deletes the file at the cursor position and moves the files below the cursor up one
line.
[INSERT] Moves the files below the cursor down one line.
[ALL DELETE] Deletes all records.
- 388 -
B-64554EN/01 OPERATION 4.AUTOMATIC OPERATION
Fig. 4.4 (d) File name screen (schedule list screen) (8.4-inch display unit)
[F-UP] Replaces the file at the cursor position with the file located one line above.
[F-DOWN] Replaces the file at the cursor position with the file located one line below.
[DELETE] Deletes the file at the cursor position and moves the files at the lower positions up one
line.
[INST] Moves the files at the cursor and lower positions down one line.
[ALLDEL] Deletes all records.
[F-NO] Displays the file number screen.
- 389 -
4.AUTOMATIC OPERATION OPERATION B-64554EN/01
The files registered as schedule data are marked with "S" to the left of their file names on the
program list screen.
Fig. 4.4 (g) Program list screen (after setting schedule data) (10.4-inch display unit)
3 Press the cycle start switch to execute the selected files. For details on the REMOTE switch, refer to
the manual provided by the machine tool builder.
NOTE
1 Before setting schedule operation, release DNC operation files in the MDI mode.
DNC operation and schedule operation cannot be specified at the same time.
2 Before starting schedule operation, confirm that schedule data is set correctly on
the schedule list screen.
3 Schedule data cannot be changed or edited during schedule operation. Before
changing schedule data, make a reset to stop operation.
Restrictions
- Repetition count
The maximum repetition count during schedule operation is 9999. When a negative value is specified, an
endless loop (LOOP display) is assumed. The file for which 0 is set is skipped and processing proceeds to
the next file.
- Selectable files
The files to be selected as schedule setting data must be registered in the same directory. (Files in the
different directories cannot be selected.)
- M code
Even if a code other than M02 and M30 in the execution program is executed, the current count on the
schedule execution status screen is not increased.
- 390 -
B-64554EN/01 OPERATION 4.AUTOMATIC OPERATION
Format
M198 Pxxxxxxxx Lyyyyyyyy ;
↑ ↑
Pxxxxxxxx : Program number (or file number)
Lyyyyyyyy : Number of repetitive calls
Explanation
M code M198 specifies an external subprogram call. You can also call an external subprogram using an
M code set in parameter No. 6030. (When an M code other than M198 is set as an M code for calling an
external subprogram, M198 is executed as a normal M code.)
Specify a program number (file number) registered in an external device at address P. If the specified
program number (file number) is not registered in the connected external device, an alarm PS1079,
“PROGRAM FILE NOT FOUND” is issued. (When the memory card is used as external device, alarm
(SR1966) is issued.)
- 391 -
4.AUTOMATIC OPERATION OPERATION B-64554EN/01
Example )
M198 P0123 L3;
This command specifies that the subprogram having external subprogram number
O0123 is to be called three times repeatedly.
The subprogram is called from the main program and executed as follows:
Main program Sub program
1 2 3
N0010 ... ; 0123 ... ;
N0020 ... ; N1020 ... ;
N0030 M198 P0123 L3 ; N1030 ... ;
N0040 ... ; N1040 ... ;
N0050 ; N0050 ... ;
N0060 ... ; N1060 ... M99 ;
NOTE
1 An external subprogram call can be specified during program operation in the
MEM mode or MDI mode. To make an external subprogram call in the MDI
mode, set bit 1 (MDE) of parameter No. 11630 to 1.
2 An external subprogram call is available for the following external devices:
External device name Program number call File number call
Handy File Available Available
FLOPPY CASSTTE Available Available
Memory Card Available Unavailable
Data Server Available Unavailable
3 To perform a subprogram call using a Memory Card as the external device, set
bit 7 (MNC) of parameter No. 138 to 1 and I/O channel (parameter No. 0020) to
4.
A program number call is always enabled regardless of the setting of bit 2 (SBP)
of parameter No. 3404.
4 To perform a file name call using a Handy File or floppy cassette as the external
device, set bit 2 (SBP) of parameter No. 3404 to 1.
5 called using another external device subprogram call. (An alarm PS1080,
“DUPLICATE DEVICE SUB PROGRAM CALL” is issued.)
- 392 -
B-64554EN/01 OPERATION 4.AUTOMATIC OPERATION
NOTE
6 A subprogram registered in internal memory can be called from a subprogram
called using an external device subprogram call. From the called subprogram in
internal memory, another external device subprogram call cannot be performed.
(An alarm (PS1080) is issued.)
Main program Sub program Sub program Sub program
(internal memory) (External (internal (External
device) memory) device)
M198
M98 M198
Can be called. Cannot be called.
Can be called. (Alarm)
7 A call using the external device subprogram call function is counted as one level
of subprogram nesting.
8 In a multi-path system, an external device subprogram call cannot be performed
simultaneously from multiple paths.
When external subprogram calls using the Data Server that are available in
multi-path systems are used, however, external subprogram call commands
using the Data Server can be specified simultaneously from multiple paths.
Programmed
amount of
movement
Depth of cut
by handle
interruption
X
- 393 -
4.AUTOMATIC OPERATION OPERATION B-64554EN/01
WARNING
The travel distance per scale division by manual handle interruption is the least
input increment as with manual handle feed. With a machine of metric input and
inch output, for example, the travel distance per 254 scale divisions is 0.01 inch.
With a machine of inch input and metric output, the travel distance per 100 scale
divisions is 0.254 mm.
Explanation
- Interruption operation
1 When the handle interruption axis selection signal for a handle interruption axis is set to 1 in the
automatic operation mode (manual data input, DNC operation, or memory operation) or in the
memory editing mode, manual handle interruption can be performed by rotating the handle of the
manual pulse generator.
NOTE
Even when the feedrate override signal sets 0%, manual handle interruption can
be accepted.
2 For the method of selecting a manual handle interruption axis, refer to the relevant manual of the
machine tool builder.
3 The feedrate during manual handle interruption is the sum of feedrate used for automatic operation
and the feedrate used for movement by manual handle interruption. However, the feedrate during
manual handle interruption is controlled so that it does not exceed the maximum allowable cutting
feedrate for the axis.
Example
Suppose that the maximum allowable cutting feedrate for an axis is 5 m/min, and
that a movement is made in the + direction at 2 m/min along the axis. In this
case, manual handle interruption can be accepted even when the manual pulse
generator is rotated up to a speed equivalent to 3 m/min. Manual handle
interruption by rotation in one direction can be accepted even when the manual
pulse generator is rotated to a speed equivalent to 7 m/min.
If the manual pulse generator is rotated to a speed beyond the upper limits,
those pulses from the manual pulse generator that correspond to the excess are
lost, resulting in a mismatch between the scale mark of the manual pulse
generator and the actually interrupted travel distance.
4 For a magnifier for manual handle interruption, refer to the relevant manual of the machine tool
builder.
5 If the travel direction is reversed as a result of manual handle interruption, backlash compensation is
performed. Pitch error compensation is performed for the position after interruption.
6 In manual handle interruption, only acceleration/deceleration for cutting feed is enabled. By setting
bit 0 (MNJ) of parameter No. 1606 to 1, acceleration/deceleration for both of cutting feed and jog
feed can be applied to manual handle interruption.
- 394 -
B-64554EN/01 OPERATION 4.AUTOMATIC OPERATION
• Absolute coordinates
→ Remain unchanged by handle interruption.
• Relative coordinates
→ Change by the amount of handle interruption.
• Machine coordinates
→ Change by the amount of handle interruption.
Programmed path
Path after
interruption
2 Even when manual handle interruption is performed, the machine coordinate system remains
unchanged. The absolute command (G53) in the machine coordinate system is not affected by
manual handle interruption.
(G90G54****)
Programmed path
Path after
interruption
Shift by manual handle
interruption
3 In automatic reference position return (G28), the end point (reference position) is not affected by
manual handle interruption. However, the midpoint is in the workpiece coordinate system, so that
the position shifted by the amount of interruption becomes the midpoint.
- 395 -
4.AUTOMATIC OPERATION OPERATION B-64554EN/01
Interruption shifts the workpiece coordinate system from the machine coordinate system.
Position before interruption
Workpiece
coordinate system
before interruption
Workpiece
origin offset
Interruption Position after
interruption
Workpiece
coordinate
system after
(Machine zero point) interruption
By cancellation, the workpiece coordinate system returns to the state present before handle interruption.
Workpiece
coordinate system
Workpiece after cancellation
Interruption amount
origin cancellation
offset Position after
cancellation
Workpiece
coordinate
system before
cancellation
(Machine zero point)
NOTE
When the amount of interruption is cleared using soft keys, only the indication of
the amount of interruption becomes 0, and the workpiece coordinate system
remains unchanged.
To select "Clearing all axes" or "Clearing any axis", follow the procedure below.
- 396 -
B-64554EN/01 OPERATION 4.AUTOMATIC OPERATION
4 To prepare for "Clearing all axes" or "Clearing any axis", press soft key [CANCEL].
To prepare for "Clearing all axes" or "Clearing any axis", perform one of the following.
If an incorrect axis name is entered, a warning message stating "FORMAT ERROR" appears.
- Position display
The following table shows the relation between various position display data and the movement by
handle interruption.
Table 4.6 (b) relation between various position display data and the movement by handle interruption
Signals Relation
Absolute coordinate value Handle interruption does not change absolute coordinates.
Relative coordinates are changed by the travel distance specified by handle
Relative coordinate value
interruption.
Machine coordinates are changed by the travel distance specified by handle
Machine coordinate value
interruption.
- 397 -
4.AUTOMATIC OPERATION OPERATION B-64554EN/01
Note
NOTE
1 In a manual operation mode such as the jog feed mode or manual handle feed
mode, handle interruption cannot be performed.
2 During a machine lock or interlock, handle interruption does not cause
movement.
3 Manual handle interruption is disabled for the axis in any of the following states.
- Follow-up state
- PMC axis control state
4 Manual handle interruption cannot be performed for the axis specified in the G00
mode.
- 398 -
B-64554EN/01 OPERATION 4.AUTOMATIC OPERATION
Programmed tool
path
2-4 Move the cursor to the mirror image setting position, then set the target axis to 1.
3 Enter an automatic operation mode (memory mode or MDI mode), then press the cycle start button
to start automatic operation.
- 399 -
4.AUTOMATIC OPERATION OPERATION B-64554EN/01
Explanation
• The mirror image function can also be turned on and off by setting bit 0 (MIRx) of parameter
No.0012 to 1 or 0.
• For the mirror image switches, refer to the manual supplied by the machine tool builder.
Limitation
The direction of movement during machine coordinate system setting (G53), the direction of movement
during manual operation, the direction of movement from an intermediate point to the reference position
during automatic reference position return (G28) cannot be reversed.
- 400 -
B-64554EN/01 OPERATION 5.TEST OPERATION
5 TEST OPERATION
The following functions are used to check before actual machining whether the machine operates as
specified by the created program.
X
Y
Tool
Z ・・・・・
WARNING
The positional relationship between the workpiece coordinates and machine
coordinates may differ before and after automatic operation using machine lock.
In such a case, specify the workpiece coordinate system by using a coordinate
setting command or by performing manual reference position return.
- 401 -
5.TEST OPERATION OPERATION B-64554EN/01
Limitation
- M, S, T, B command by only machine lock
M, S, T and B commands are executed in the machine lock state.
Workpiece
Feedrate override
Procedure
Set the feedrate override dial to the desired percentage (%) on the machine operator's panel, before or
during automatic operation.
On some machines, the same dial is used for the feedrate override dial and jog feedrate dial. Refer to the
appropriate manual provided by the machine tool builder for feedrate override.
- 402 -
B-64554EN/01 OPERATION 5.TEST OPERATION
Limitation
- Override range
The override that can be specified ranges from 0 to 254%. For individual machines, the range depends on
the specifications of the machine tool builder.
Tool Tool
When the bit (G0F) of parameter No. 16050 is set to 0, the number of one digit from 1 to 4 after F code
stated allows the rapid traverse rate in automatic operation is overridden.
Explanation
The following types of rapid traverse are available. Rapid traverse override can be applied for each of
them.
(1) Rapid traverse by G00
(2) Rapid traverse during using pattern function (G26, G76, G77, G78, or G79)
(3) Rapid traverse during positioning first press point in nibbling mode (G68, G69, or, nibbling by M
code).
(4) Rapid traverse by positioning and no press start (G70)
(5) Rapid traverse during using automatic repositioning (G75).
(6) Rapid traverse during using automatic Reference Position Return (G28).
- 403 -
5.TEST OPERATION OPERATION B-64554EN/01
For the T-axis and C-axis, the feedrate is 100% of the rapid traverse rate when the rapid traverse override
switch is set to 100 or 75, and, the feedrate is 50% of the rapid traverse rate when the switch is set to 50
or 25. However, the override is always set to 100% when bit 1(OVE) of parameter No.16844 is set to 1.
CAUTION
1 For the manual rapid traverse and rapid traverse in manual reference point return, the
rapid traverse override function is ineffective.
2 The rapid traverse rates in manual and automatic operation modes are separately
settable for each axis.
3 For the rapid traverse attained to each pitch from the first punch point to the last punch
point in nibbling function, the rapid traverse override is ineffective, and it is always fixed
to 100%.
4 Since whether the rapid traverse override is effected or not is judged when data are
read from the reader/puncher interface or memory into buffer storage, the traverse rate
in the block being executed or the block already in the buffer storage remain unchanged
even when the rapid traverse override switch has been changed.
5 Rapid traverse rate by F code cannot be used together with rapid traverse override by
F1–digit command
Tool
Dry run
Procedure
Press the dry run switch on the machine operator's panel during automatic operation.
The tool moves at the feedrate specified in a parameter. The rapid traverse switch can also be used for
changing the feedrate.
Refer to the appropriate manual provided by the machine tool builder for dry run.
Explanation
- Dry run feedrate
The dry run feedrate changes as shown in the Table 5.4 (a) according to the rapid traverse switch and
parameters.
- 404 -
B-64554EN/01 OPERATION 5.TEST OPERATION
Table 5.4 (a)
Rapid traverse Program command
switch Rapid traverse Cutting feed
ON Rapid traverse rate Dry run feedrate × Jvmax(*2)
OFF Dry run feedrate × JV, or rapid traverse rate (*1) Dry run feedrate × JV(*2)
Max. cutting feedrate.................................................................... Setting by parameter No.1430
Rapid traverse rate........................................................................ Setting by parameter No.1420
Dry run feedrate ........................................................................... Setting by parameter No.1410
(*1) Dry run feedrate × JV when bit 6 (RDR) of parameter No. 1401 is 1. Rapid traverse rate when
parameter RDR is 0.
JV Jog feedrate override
(*2) Clamped to the maximum cutting feedrate
Jvmax Maximum value of jog feedrate override
Tool
Workpiece
Y
Single block
Procedure
1 Press the single block switch on the machine operator’s panel. The execution of the program is stopped
after the current block is executed.
2 Press the cycle start button to execute the next block. The tool stops after the block is executed.
Refer to the appropriate manual provided by the machine tool builder for single block execution.
- 405 -
5.TEST OPERATION OPERATION B-64554EN/01
Explanation
- Single block during a pattern function
G26 I10.0 J45.0 K8 ; #1, #2,…#8:The order of punching operation
#2
#3
#1
#4 θ #8
+X
Center of circle
(Pattern base point)
#5 #7
#6
5.6 PUNCH
PUNCH
Explanation
This function makes punch (including nibbling) ineffective in a block where punching is made by press
motion during the DNC or memory mode operation.
- 406 -
B-64554EN/01 OPERATION 5.TEST OPERATION
Manual Punch
Explanation
When depressing this button, punching is made by press motion. When depressing this button again after
releasing it once, punching is made again.
Generally, when this button is depressed, while the punch ON/OFF switch in Section 5.6 is being set to
ON, punching executed, while if the switch is set to OFF, punching is not executed.
CAUTION
No punching is executed by depressing this button when the cycle start lamp is
lighting or during manual axis movement. Since effective conditions of this button
depend on the machine tool builders, refer to the machine tool builder’s manual.
- 407 -
6.SAFETY FUNCTIONS OPERATION B-64554EN/01
6 SAFETY FUNCTIONS
To immediately stop the machine for safety, press the Emergency stop button. To prevent the tool from
exceeding the stroke ends, Overtravel check and Stored stroke check are available. This chapter describes
emergency stop, overtravel check, and stored stroke check.
EMERGENCY STOP
Fig. 6.1 (a) Emergency stop
This button is locked when it is pressed. Although it varies with the machine tool builder, the button can
usually be unlocked by twisting it.
Explanation
EMERGENCY STOP interrupts the current to the motor.
Causes of trouble must be removed before the button is released.
6.2 OVERTRAVEL
When the tool reaches the stroke end set by the machine tool limit switch, it decelerates and stops because
of working the limit switch and an OVERTRAVEL alarm is displayed.
Deceleration
and stop Y
Tool
X
Stroke end Limit
switch
- 408 -
B-64554EN/01 OPERATION 6.SAFETY FUNCTIONS
Explanation
- Overtravel during automatic operation
When the tool touches a limit switch along an axis during automatic operation, the tool is decelerated and
stopped along all axes and an overtravel alarm is displayed.
- Releasing overtravel
Press the reset button to reset the alarm after moving the tool to the safety direction by manual operation.
For details on operation, refer to the operator's manual of the machine tool builder.
Alarm
Table6.2 (a)
Alarm No. Message Description
The stroke limit switch in the positive direction was triggered.
This alarm is generated when the machine reaches the stroke end.
+ OVERTRAVEL
OT0506 When this alarm is not generated, feed of all axes is stopped during
( HARD )
automatic operation. During manual operation, only the feed of the axis
on which the alarm occurred is stopped.
The stroke limit switch in the negative direction was triggered.
This alarm is generated when the machine reaches the stroke end.
OT0507 - OVERTRAVEL ( HARD ) When this alarm is not generated, feed of all axes is stopped during
automatic operation. During manual operation, only the feed of the axis
on which the alarm occurred is stopped.
Stored
stroke
check 2
The following shows the areas which the tool cannot enter for each stored stroke check.
• Stored stroke check 1: Outside
• Stored stroke check 2: Outside or inside (switchable)
- 409 -
6.SAFETY FUNCTIONS OPERATION B-64554EN/01
Explanation
- Stored stroke check 1
Parameters (Nos. 1320, 1321 or Nos. 1326, 1327) set boundary. Outside the area of the set limits is a
forbidden area. The machine tool builder usually sets this area as the maximum stroke.
When the tool enters a forbidden area and an alarm is generated, the tool can be moved in the reverse
direction from which the tool came.
At this time, a signal (overtravel alarm signal) can be output to the PMC if bit 6 (OTS) of parameter No.
1301 is set to 1. In addition, when the tool enters the forbidden area during manual operation, the signal
(overtravel alarm signal) can be output to the PMC without generating the alarm by setting bit 1 (NAL) of
parameter No. 1300 to 1. With this parameter setting, the alarm is generated when the tool enters the
forbidden area during automatic operation.
CAUTION
1 If the two points for specifying a forbidden area are identical, all areas are
handled as forbidden areas for stored stroke check 1.
2 The size of a forbidden area must be set carefully. If the size is set incorrectly,
the stroke becomes infinite.
G22 X_Y_I_J_;
(X, Y)
(I, J)
X>I, Y>J
Fig. 6.3 (b) Creating or changing the forbidden area using a program
When setting the area by parameters, points A and B in the Fig. 6.3 (c) must be set.
A(X1, Y1)
B(X2, Y2)
X1>X2, Y1>Y2
Fig. 6.3 (c) Creating or changing the forbidden area using a parameters
- 410 -
B-64554EN/01 OPERATION 6.SAFETY FUNCTIONS
The values X1, Y1, X2, and Y2, which are set by parameters Nos. 1322 and 1323, must be specified by
the distance from the machine coordinate system (machine unit). The values X, Y, I, and J, which are set
by a G22 command, must be specified by the distance in the least input increment (input unit).
Values set by a program are then converted in the machine increment and the values are set as the
parameters.
CAUTION
1 If the two points for specifying a forbidden area are identical, all areas are
handled as movable areas for stored stroke check 2/3.
2 Even if the two points for specifying a forbidden area are erroneously set, the
rectangular parallelepiped having the points as vertices is assumed as a
boundary.
3 Since an axis without the reference position return function has no forbidden
areas, there are no alarms about forbidden areas for the axis.
- 411 -
6.SAFETY FUNCTIONS OPERATION B-64554EN/01
When bit 4 (OF1) of parameter No.1301 is 1, if the axis moves within the movable area after an alarm
occurs in stored stroke check 1, the OT alarm is cleared without a reset (automatic clearance function).
NOTE
In the following cases, the automatic clearance function is disabled. To clear an
alarm, make a reset.
1 An alarm is set to occur before the stored stroke limit is exceeded (bit 7 (BFA)
of parameter No. 1300 is 1).
2 Another over travel alarm (such as stored stroke check 2/3 and interference
check) occurs.
Alarm
Number Message Description
OT0500 + OVERTRAVEL (SOFT 1) A movement in the positive direction exceeded stored stroke check 1.
OT0501 - OVERTRAVEL (SOFT 1) A movement in the negative direction exceeded stored stroke check 1.
OT0502 + OVERTRAVEL (SOFT 2) A movement in the positive direction exceeded stored stroke check 2.
OT0503 - OVERTRAVEL (SOFT 2) A movement in the negative direction exceeded stored stroke check 2.
OT0504 + OVERTRAVEL (SOFT 3) A movement in the positive direction exceeded stored stroke check 3.
OT0505 - OVERTRAVEL (SOFT 3) A movement in the negative direction exceeded stored stroke check 3.
- 412 -
B-64554EN/01 OPERATION 6.SAFETY FUNCTIONS
WARNING
Whether the coordinates of the end point, reached as a result of traversing the
distance specified in each block, are in a forbidden area is checked. In this case,
the path followed by a move command is not checked. However, if the tool
enters the forbidden area defined by stored stroke check 1, 2, or 3, an alarm is
issued. (See the examples below.)
Example 1)
End point
Start point
End point
Example 2)
Explanation
When a stroke limit check before moving is performed, whether to check the movement performed by a
G33 (skip) block can be determined using (bit 2 (NPC) of parameter No. 1301).
- 413 -
6.SAFETY FUNCTIONS OPERATION B-64554EN/01
Limitation
- Machine lock
If machine lock is applied at the start of movement, no stroke limit check made before movement is
performed.
- G23
When stored stroke check 2 is disabled (G23 mode), no check is made to determine whether the tool
enters the forbidden area defined by stored stroke check 2.
Alarm
Table 6.4 (a) Alarm
Number Message Description
The block end point was found in the + side stroke limit
OT0510 + OVERTRAVEL ( PRE-CHECK ) prohibition area during a stroke check before movement.
Modify the program.
The block end point was found in the - side stroke limit
OT0511 - OVERTRAVEL ( PRE-CHECK ) prohibition area during a stroke check before movement.
Modify the program.
• Data check to verify that the offset data is within the effective setting range
• Maximum incremental value check
Set these functions on the operation confirmation function setting screen. For the input data range check,
set a valid input data range, e.g. the upper and lower limits, for each input screen. For the other functions,
specify whether to enable or disable them.
For information about how to display the individual setting screens, how to manipulate them, and other
details, see the item “Operation confirmation setting screen” that describes the operation procedures.
For example, assume that the effective data range for a certain tool offset number is set to -200. to 200,
and that you are going to input 100.[INPUT]. Even if you inadvertently press the 0 key one more time,
resulting in 1000.[INPUT], the input of 1000. is not accepted.
The function detects a setting mistake and prevents the program from running with invalid data.
- Settings
To enable this function, set an effective data range for each input screen on the operation confirmation
function setting screen. For information about how to display the individual setting screens, how to set
data ranges, and other details, see the items that describe the setting of the data ranges.
If the set data range is invalid, no data input is accepted. Correct the data range setting, and then input
data.
• The upper and lower limit values for each offset are identical.
For example, when you set 5.[+INPUT] for 10., the message "15. INPUT OK?" is displayed.
The function prevents improper absolute or incremental input operations.
NOTE
This function cannot be used to input two or more values consecutively by
delimiting them by semicolons (;).
• Parameter
• Pitch error compensation
- Settings
In the operation confirmation function setting screen, check or uncheck the "INCREMENTAL INPUT"
box to enable or disable this function. For information about how to display the setting screen, how to set
the function, and other details, see the item “Operation confirmation setting” that describes the setting of
the operation confirmation function.
- Settings
In the operation confirmation function setting screen, check or uncheck the "DISABLED
SOFTKEY[INPUT] IN" box to enable or disable this function. For information about how to display the
setting screen, how to set the function, and other details, see the item “Operation confirmation setting”
that describes the setting of the operation confirmation function.
- Settings
In the operation confirmation function setting screen, check or uncheck the "PROGRAM DELETE" box
to enable or disable this function. For information about how to display the setting screen, how to set the
function, and other details, see the item “Operation confirmation setting” that describes the setting of the
operation confirmation function.
- 417 -
6.SAFETY FUNCTIONS OPERATION B-64554EN/01
- Settings
In the operation confirmation function setting screen, check or uncheck the "ALL DATA DELETE" box
to enable or disable this function. For information about how to display the setting screen, how to set the
function, and other details, see the item “Operation confirmation setting” that describes the setting of the
operation confirmation function.
If you input data using the [+INPUT] soft key when the confirmation of incremental input is enabled, a
message is displayed to confirm the incremental input.
- Settings
In the operation confirmation function setting screen, check or uncheck the "INPUT IN SETTING" box
to enable or disable this function. For information about how to display the setting screen, how to set the
function, and other details, see the item “Operation confirmation setting” that describes the setting of the
operation confirmation function.
Enable or disable each of the functions on the wrong operation prevention function setting screen.
To enable or disable "Warning indication during a reset in program operation", set bit 0 (MDW) of
parameter No. 10334 instead of the wrong operation prevention function setting screen.
For information about how to display the setting screen, how to manipulate it, and other details, see the
item “Operation confirmation setting screen” that describes the operation procedures.
- Settings
In the operation confirmation function setting screen, check or uncheck the "UPDATE MODAL
HIGHLIGHT DISPLAY" box to enable or disable this function. For information about how to display the
setting screen, how to set the function, and other details, see the item “Operation confirmation setting”
that describes the setting of the operation confirmation function.
- Settings
This function does not require any setting on the operation confirmation function setting screen.
- 419 -
6.SAFETY FUNCTIONS OPERATION B-64554EN/01
By displaying the axis status as shown above, the function prevents improper operations at the time of
execution.
- Settings
In the operation confirmation function setting screen, check or uncheck the "AXIS STATUS DISPLAY"
box to enable or disable this function. For information about how to display the setting screen, how to set
the function, and other details, see the item “Operation confirmation setting” that describes the setting of
the operation confirmation function.
- 420 -
B-64554EN/01 OPERATION 6.SAFETY FUNCTIONS
- Settings
In the operation confirmation function setting screen, check or uncheck the "START FROM MIDDLE
OF PROGRAM" box to enable or disable this function. For information about how to display the setting
screen, how to set the function, and other details, see the item “Operation confirmation setting” that
describes the setting of the operation confirmation function.
NOTE
To use this function, you need to set each effective data range correctly. For
information about how to set the data ranges, see the item “Effective value range
for each data”.
- Format
The format of the NC command used to specify the maximum incremental value is as follows.
G91.1 IP_ ;
IP_ ; Maximum incremental value
(To cancel the maximum incremental value check, set 0.)
- 421 -
6.SAFETY FUNCTIONS OPERATION B-64554EN/01
NOTE
There is no function for acquiring or displaying a warning message in C
Language Executor. Accordingly, this warning cannot be displayed on a screen
created by the machine tool builder.
5 Move the cursor to the check box of the item you want to change the setting, by pressing the ,
, , and keys.
- 423 -
6.SAFETY FUNCTIONS OPERATION B-64554EN/01
Explanation
- Items to be set
The Table 6.5.3.1 (a) shows what is displayed for each item to be set and the corresponding functions.
The items whose column of "Default" is marked by "○" is effective automatically after memory all clear.
Table 6.5.3.1 (a)
Displayed item Default Corresponding function
INCREMENTAL INPUT ○ Confirmation of incremental input
DISABLED SOFTKEY[INPUT] IN Prohibition of the absolute input by the soft key (tool offset, Y-axis
TOOL OFFSET, WORK SHIFT tool offset (lathe system), and work shift (lathe system))
DISABLED SOFTKEY[INPUT] IN Prohibition of the absolute input by the soft key (workpiece origin
WORK COORDINATES offset)
PROGRAM DELETE ○ Confirmation of the deletion of the program
ALL DATA DELETE ○ Confirmation of the deletion of all data
INPUT IN SETTING Confirmation of a data update during the data setting process
UPDATE MODAL HIGHLIGHT ○ Display of updated modal information
DISPLAY
AXIS STATUS DISPLAY ○ Axis status display
START FROM MIDDLE OF ○ Confirmation of the start from a middle block
PROGRAM
- 424 -
B-64554EN/01 OPERATION 6.SAFETY FUNCTIONS
If the set effective data range is invalid for any of the reasons listed below, the input data range check is
not performed normally and the input data is rejected.
• There is a tool offset number overlap.
• The upper and lower limit values are reversed.
• The values are not effective (e.g., more pairs of offset numbers than allowed are set).
• Either of the tool offset numbers is 0.
Also, the input data range check is invalidated in the following cases.
• Both the upper and lower limit values for the tool offset number are 0.
• The upper and lower offset limit values are identical.
Explanation
- What to set with tool offset memory A
With tool offset memory A, an effective data range is specified using the four items in the Table 6.5.3.2
(a).
Table 6.5.3.2 (a)
Displayed item What to set
FROM
RANGE Specify a tool offset number range.
TO
LOW-LIMIT Specify a valid tool offset value range in connection with a specified tool offset
-
UP-LIMIT number range.
In the case of this configuration, all the information needed to set an input data range cannot be displayed
in a single screen page. Set the information while switching pages using the [SWITCH] soft key. The
screen provides an indication that lets you know which part of the information is currently displayed.
- 425 -
6.SAFETY FUNCTIONS OPERATION B-64554EN/01
In this case, the tool offset input screen accepts only offset values from 0.000 to 100.000 for offset
numbers 1 to 20.
If you attempt to input any other value, the warning message "DATA IS OUT OF RANGE" is displayed.
Up to six pairs of values can be specified to identify workpiece coordinate ranges for the workpiece
origin offset, and an effective offset value range can be defined for each of the axes of these six pairs.
As for the external workpiece origin offset, an effective offset value range can be specified for each axis.
Displaying and setting the workpiece origin offset range setting screen
Procedure
1 Press the function key.
2 Press the continuous menu key at the right edge of the screen several times until the [GUARD]
soft key is displayed.
3 Press the [GUARD] soft key. The setting screen that was displayed last with relation to any
operation confirmation function is displayed (the operation confirmation function setting screen is
the first such screen that appears after the system is restarted).
4 If any screen other than the workpiece origin offset range setting screen is displayed, press the
[WORK] soft key. The workpiece origin offset range setting screen is displayed.
- 426 -
B-64554EN/01 OPERATION 6.SAFETY FUNCTIONS
6 Move the cursor to the item you want to set, by using the and keys, or , ,
, and keys.
7 Press the MDI key, enter necessary data, and then press the [INPUT] soft key.
If the set effective data range is invalid for any of the reasons listed below, the input data range check is
not performed normally and the input data is rejected.
• There is a workpiece coordinate overlap.
• The upper and lower limit values are reversed.
• The values are not effective (e.g., an invalid workpiece coordinate system is set).
• The upper limit value is set for the workpiece coordinate system when 0 is set for the lower limit
value.
Also, the input data range check is invalidated in the following cases.
• Both the upper and lower limit values for the workpiece coordinate system are 0.
• The upper and lower limit values for each offset are identical.
Explanation
- What to set for the workpiece origin offset
For the workpiece origin offset, an effective data range is specified using the four items in the Table
6.5.3.3 (a).
- 427 -
6.SAFETY FUNCTIONS OPERATION B-64554EN/01
Workpiece
Tool
Carriage
This function permits to set tool figure area (#0) and up to four safety zones (#1 - #4), as shown above.
Type A and type B of safety zone check are prepared.
Safety zone(#1)
Carriage
- 428 -
B-64554EN/01 OPERATION 6.SAFETY FUNCTIONS
Carriage
Block start
YES
Press activation lock signal (PFL) = “1” ?
NO
NO Punch forbidden area–entered signal
(WDDO) = “1”?
YES
NO
Punch enable signal (WDC) = “1”?
YES
YES
Press activation wait signal (PFW) = “1” ?
NO
Press activation signal (PF) = “1”
Block end
- 429 -
6.SAFETY FUNCTIONS OPERATION B-64554EN/01
CAUTION
1 If the tool enters a punch forbidden area during nibbling, the WDDO signal is set
to 1 one punching position before the tool enters punch forbidden area.
2 With type B, the setting of SZ1 to SZ4 (bits 0 to 3 of parameter No. 16501) is
ignored.
+Ywk +Ymcn
Punching position
X1bmcn X1amcn ( Machine zero point)
+Xmc
Safetyzone n
Y1wk Y1mcn
#1 #2 #3 #4
Regarding #1, the safety zone is specified at both ends (X1amcn, X1bmcn) for the X–axis direction by
parameter No.16505 to 16507, and at the forward end (Y1mcn) of the workpiece holder for the Y–axis
direction by parameter No.16507. Farther, width of workpiece holder along the X–axis is specified by
parameter No.16540.
The specifying method is the same as for #2, #3 and #4.
Punch point
Punch point (Machine zero
(Machine zero point)
point) Tool width measured
along Y-axis direction
The specification of the area of tool figure sets the size in the X direction and Y direction of the tool by
the parameter (No.16517 to 16532 and No.16551 to 16558).
- 430 -
B-64554EN/01 OPERATION 6.SAFETY FUNCTIONS
The setting unit is output unit.
12 kinds of or less tool figure can be set.
Moreover, setting bit 1 (RTZ) of parameter No.16540 to 1 allows to set area of the circle tool figure.
When setting area of the circle tool figure, the size in the X direction should be set to the radius of the
circle tool, and the size in the Y direction should be set to 0.
The tool shape area can be changed by using the programmable parameter input function (G10).
Therefore, when multiple tools are used, it is possible to specify the tool shape area meeting the tool No.
(Txx).
Detector
Workpiece holder(#1 to #4)
Carriage
The signal for detecting the position of the workpiece holders turns on and off as workpiece holders #1 to
#4 pass the detector as shown in Fig.6.6 (g). The safety zone is determined from the signal. The position
on the X axis when the signal goes high is regarded as one end of a workpiece holder, and the position
when the signal goes low is regarded as the other end.
G32X x F f P p Q q ;
G32 is specified to detect the positions of workpiece holders. Before G32 can be specified, the workpiece
holder position detector must be activated.
Before detection is started, the X-axis move command must be specified following address X. Either the
positive or negative move direction is allowed. If a positive move command is specified, the position at
which detection starts must be in the negative side with respect to workpiece holder #1. Sufficient
distance must be kept between the position at which detection starts and workpiece holder #1 to enable
stability of speed before workpiece holder #1 is reached. Workpiece holders #1, #2, #3, and #4 are
detected in that order. If a negative move command is specified, the workpiece holders are detected in the
reverse order starting from #4. The other conditions are the same as those used for a positive move
command.
The feed rate during detection is specified with F, in the same way as for ordinary interpolation. The
position of a workpiece holder is obtained from the machine positions indicated by the rising and falling
edges of the workpiece holder detection signal. There is a difference between the indicated machine
position and actual machine position because of an error such as a lag in the servo system. This error must
be compensated with numeric values following addresses P and Q. The compensating value for the
position on the rising edge of the workpiece holder detection signal is set following address P, and the
compensating value for the position on the falling edge is set following address Q.
The lag in the servo system is obtained from the following equations:
- 431 -
6.SAFETY FUNCTIONS OPERATION B-64554EN/01
where,
The sign of the compensating value is positive when compensation is made in the opposite direction to
the move direction specified by the detection command.
If address P/Q is omitted in the G32 block, the error between coordinates and actual machine position is
calculated by the CNC.
Workpiece holder
P Q
Fig.6.6 (h) Workpiece holder position detector signal SAFZ<X004.1> and compensation of detecting
position
- 432 -
B-64554EN/01 OPERATION 6.SAFETY FUNCTIONS
Screen
- Type A
Fig.6.6 (i) Safety Zone Setting Screen Type A (10.4-inch display unit)
- Type B
Fig.6.6 (j) Safety Zone Setting Screen Type B (10.4-inch display unit)
NOTE
The display items of type B are as follows:
W : Workpiece holder width
X : Workpiece holder central position relative to the tool center
Y : Workpiece holder tip position relative to the tool center
- 433 -
7. ALARM AND SELF-DIAGNOSIS
FUNCTIONS OPERATION B-64554EN/01
Fig. 7.1 (a) Alarm screen (example for the 8.4-inch display unit)
- Display wrapping
If an alarm message does not fit one line, the display is wrapped and the rest of the message begin at the
start position on the next line.
- 434 -
7.ALARM AND SELF-DIAGNOSIS
B-64554EN/01 OPERATION FUNCTIONS
Fig. 7.1 (b) Display wrapping (example for the 8.4-inch display unit)
Fig. 7.1 (c) Parameter screen (example for the 8.4-inch display unit)
In this case, display the alarm screen by following the steps below.
1 Press the function key .
2 Press the soft key [ALARM].
3 You can change pages by using the page key.
- Releasing alarm
The cause of an alarm can be determined from the error code, number, and associated message. To release
the alarm, generally correct the cause, then press the reset key.
- 435 -
7. ALARM AND SELF-DIAGNOSIS
FUNCTIONS OPERATION B-64554EN/01
- Screen scrolling
If alarm information does not fit one screen, the page keys (PageDown and PageUp) can be used to scroll
the alarm information screen by screen.
- Line scrolling
If alarm information does not fit one screen, the cursor keys can be used to scroll the alarm
information alarm by alarm.
Fig. 7.2 (a) Alarm history screen (example for the 8.4-inch display unit)
- 436 -
7.ALARM AND SELF-DIAGNOSIS
B-64554EN/01 OPERATION FUNCTIONS
Fig. 7.3 (a) Diagnostic display (example for the 8.4-inch display unit)
Diagnostic numbers 990 to 998 indicate Press condition. (See Table7.3 (a))
When alarms are cleared or function key is pressed on the alarm screen, the screen displayed
before the alarm screen appears.
To enable this function, set bit 4 (ADC) of parameter No. 11302 is set to 1.
(Example)
Occurrence of
an alarm
Clearing of
alarm
NOTE
Even if alarms are cleared when the alarm screen is not displayed, the current
screen is not changed.
When function key is pressed on the alarm screen, the screen displayed before the alarm screen
appears. Press function key to switch to the alarm screen for checking for alarms and then press
- 438 -
7.ALARM AND SELF-DIAGNOSIS
B-64554EN/01 OPERATION FUNCTIONS
(Example)
Function key
Function key
If function key is pressed when the alarm screen was displayed automatically due to occurrence of
an alarm, the screen displayed before the alarm screen appears again.
Restrictions
• Switching to the custom screen is not performed.
• The screens to which the alarm screen can be switched are only the screen selected by the chapter
selection soft key.
- 439 -
8.DATA INPUT/OUTPUT OPERATION B-64554EN/01
8 DATA INPUT/OUTPUT
Information stored in external I/O devices can be read into the CNC, and information can be written into
external I/O devices.
External I/O devices include memory cards that can be mounted to the memory card interface located on
the left side of the display unit, and personal computers and data servers that can be connected via
embedded Ethernet.
The following types of data in the Table 8 (a) can be input and output.
Table 8 (a)
Data type Default file name Reference item
Program ALL-PROG.TXT 8.2.1
Offset data TOOLOFST.TXT 8.2.3
Parameter CNC-PARA.TXT 8.2.2
Pitch error compensation data PITCH.TXT 8.2.4
Custom macro common variable MACRO.TXT 8.2.5
Workpiece coordinate system data EXT_WKZ.TXT 8.2.6
Operation history data OPRT_HIS.TXT 8.2.7
Tool data TOOLDATA.TXT 8.2.8
Maintenance information MAINTINF.TXT
Periodic maintenance data (periodic maintenance: status screen) MAINTENA.TXT
System configuration data SYS-CONF.TXT
PMC signal protect DIDOENBL.TXT
Servo/spindle information SV_SP_ID.TXT
Machine system name data (periodic maintenance: machine system
MAINTEMC.TXT
screen)
Servo waveform diagnosis WAVE-DGN.TXT
P code variable (macro executor) PCODE.TXT
The above types of data can be input and output on the screens for displaying and setting those types of
data.
If NC data such as programs and parameters is to be written to a memory card, and if a file with the same
name already exists, it is possible to select whether to overwrite the existing file or cancel writing with
appropriate operation.
This function is enabled by setting bit 1 (COW) of parameter No. 11308.
The external I/O device set in NC parameter No. 0020 is selected. See the Table 8 (b) below for details.
Table 8 (b)
Correspondence between settings and input/output units
Setting Description
0,1 RS-232-C serial port 1
2 RS-232-C serial port 2
4 Memory card interface
5 Data server interface
9 Embedded Ethernet interface
- 440 -
B-64554EN/01 OPERATION 8.DATA INPUT/OUTPUT
WARNING
1 Always use ISO codes for input/output except when ASCII code data is to be
input.
ISO code input/output is enabled for memory cards and data servers by setting,
respectively, bit 0 (ISO) of parameter No. 0139 and bit 0 (ISO) of parameter No.
0908 to “1”.
2 ASCII data input/output is risky because ASCII data does not contain parity
information and therefore any data error cannot be detected.
CAUTION
1 This control unit supports the use of a Memory card as an input/output device.
The Flash ATA card is available:
See the order list for details of the supported Memory card types.
2 On a Memory card, only those files that are in the root directory can be accessed
for display, reading, and writing. Those in subdirectories cannot be used.
3 The time required to read or write each data item varies depending on the
Memory card type, the status of use, and other factors.
4 For flash ATA cards, only those recommended by FANUC are available.
5 When formatting a flash ATA card, use the quick formatting method, which
clears the file allocation table and the directory information on the root directory.
An unformatted flash ATA card needs to be formatted in FAT16 with a PC or the
like. (A FAT32-formatted ATA card cannot be recognized.)
NOTE
External I/O devices can handle file names of up to 12 characters each.
- 441 -
8.DATA INPUT/OUTPUT OPERATION B-64554EN/01
Procedure
On the output screen for the desired function, perform the following operation.
1 Press the soft key [F OUTPUT].
2 Press the soft key [EXEC]. If a file with the same name does not exist on the memory card, the file is
output in this step.
3 If a file with the same name exists on the memory card, soft keys [REWRITE] and [CAN] appear.
Pressing the soft key [REWRITE] causes the file to be overwritten.
Pressing the soft key [CAN] causes output to be canceled.
Fig. 8.1 (d) Soft key display after [ALL] or [NON-0] is pressed
CAUTION
If a file to be overwritten has the read-only attribute, the warning message
"OVER WRITE FAILED" appears to cancel output even when the soft key
[REWRITE] is pressed for that file.
If a memory card is pulled out or inserted while a message for confirming
overwriting is displayed, it is likely that the write operation may fail and, at worst,
files on the memory card may be broken.
- 442 -
B-64554EN/01 OPERATION 8.DATA INPUT/OUTPUT
Inputting a program
Procedure
1 Make sure the input device is ready for reading.
2 Press the function key to display the program editing screen or program folder screen.
3 Press the EDIT switch on the machine operator’s panel or enter state emergency stop.
4 Press the soft key [(OPRT)].
5 Press the continuous menu key until soft key [F INPUT] appears.
Press the soft key [F INPUT].
6 Type the name of the file that you want to input.
Press the soft key [F-NAME]. To specify the program number to input, type the program number
- 443 -
8.DATA INPUT/OUTPUT OPERATION B-64554EN/01
The read program is registered in the program memory of the path currently selected.
Outputting a program
Procedure
1 Make sure the output device is ready for output.
2 Press the function key to display the program editing screen or program folder screen.
3 Press the EDIT switch on the machine operator’s panel or enter state emergency stop.
4 Press the soft key [(OPRT)].
5 Press the continuous menu key until soft key [F OUTPUT] appears.
Press the soft key [F OUTPUT].
6 Type the program number to output and press the soft key [O SET]. To specify an output file name,
type the output file name and press the soft key [F-NAME].
If no output file name or output program number is specified here, the main program or the program
being subjected to background editing is output.
For an explanation of the operations to be performed if an output file name [F-NAME] and an output
program name [O SET] are omitted, see the Table 8.2.1.2 (a).
7 Press the soft key [EXEC].
This starts outputting the program, and “OUTPUT” blinks in the lower right part of the screen.
When the write operation ends, the “OUTPUT” indication disappears.
To cancel the output, press the soft key [CAN].
- 444 -
B-64554EN/01 OPERATION 8.DATA INPUT/OUTPUT
Inputting parameters
Procedure
1 Make sure the input device is ready for reading.
2 Press the function key .
3 Press the continuous menu key until soft key [SETTING] appears.
Press the soft key [SETTING].
4 Press the MDI switch on the machine operator’s panel or enter state emergency stop.
5 Enter 1 in response to the prompt for “PARAMETER WRITE” in setting data.
Alarm SW0100 appears.
6 Press the function key .
7 Press the soft key [PARAMETER], then the parameter screen appears.
8 Press the EDIT switch on the machine operator’s panel or enter state emergency stop.
9 Press the soft key [(OPRT)].
10 Press the continuous menu key until soft key [F INPUT] appears.
Press the soft key [F INPUT].
11 Type the name of the file that you want to input.
If the input file name is omitted, default input file name “CNC-PARA.TXT” is assumed.
12 Press the soft key [EXEC].
This starts reading the parameter, and “INPUT” blinks in the lower right part of the screen. When
the read operation ends, the “INPUT” indication disappears.
To cancel the input of the program, press the soft key [CAN].
13 Press the function key .
14 Press the soft key [SETTING].
15 Press the MDI switch on the machine operator’s panel or enter state emergency stop.
16 Enter 0 in response to the prompt for “PARAMETER WRITE” in setting data.
17 Turn the power of the CNC on again.
Outputting parameters
Procedure
1 Make sure the output device is ready for output.
- 445 -
8.DATA INPUT/OUTPUT OPERATION B-64554EN/01
Explanation
- Suppressing output of parameters set to 0
When bit 1 (PRM) of parameter No. 0010 is set to 1, and soft key [EXEC] is pressed, the parameters in
the Table 8.2.2.2 (a) are not output:
- 446 -
B-64554EN/01 OPERATION 8.DATA INPUT/OUTPUT
Explanation
- Output format
Output format is as follows:
• Tool compensation memory A
%
G10 G90 P01 R_ Q_
G10 G90 P02 R_ Q_
...
G10 G90 P_ R_
%
P_ : Tool offset number (1 to the number of tool compensation pairs)
R_ : Tool compensation data. Output with a decimal point in the input unit used at output.
- 447 -
8.DATA INPUT/OUTPUT OPERATION B-64554EN/01
3 Press the continuous menu key until soft key [SETTING] appears.
Press the soft key [SETTING].
4 Press the MDI switch on the machine operator’s panel or enter state emergency stop.
5 Enter 1 in response to the prompt for “PARAMETER WRITE” in setting data.
Alarm SW0100 appears.
6 Press the function key .
7 Press the continuous menu key until soft key [PITCH ERROR] appears.
Press the soft key [PITCH ERROR].
8 Press the EDIT switch on the machine operator’s panel or enter state emergency stop.
9 Press the soft key [(OPRT)].
10 Press the continuous menu key until soft key [F INPUT] appears.
Press the soft key [F INPUT].
11 Type the name of the file that you want to input.
If the input file name is omitted, default input file name “PITCH.TXT” is assumed.
12 Press the soft key [EXEC].
This starts reading the pitch error compensation data, and “INPUT” blinks in the lower right part of
the screen. When the read operation ends, the “INPUT” indication disappears.
To cancel the input of the program, press the soft key [CAN].
13 Press the function key .
14 Press the soft key [SETTING].
15 Press the MDI switch on the machine operator’s panel or enter state emergency stop.
16 Enter 0 in response to the prompt for “PARAMETER WRITE” in setting data.
17 Turn the power of the CNC on again.
- 448 -
B-64554EN/01 OPERATION 8.DATA INPUT/OUTPUT
- Keywords
The following alphabets are used as keywords.
The numeric value following each keyword has the meaning listed below:
- Format
Pitch error compensation data is output in the following format:
N ***** Q0 P **** ;
The 5-digit numeric value following N indicates a pitch error compensation data number to which a value
of 10000 is added.
Q0 indicates pitch error compensation data
The numeric value following P indicates the value (integer value) of pitch error compensation data
between -7 and 7.
The semicolon (;) indicates the end of block (LF in the ISO code or CR in the EIA code).
Example
N10001Q0P5;
Pitch error compensation data number 1
Pitch error compensation data value 5
Example
% ; ................................................................Beginning of record
N10000Q0P1;
N10001Q0P3;
:
N11279Q0P0;
% ..................................................................End of record
When parameters and pitch error compensation data are integrated into one file, % is added to the
beginning and end of the file.
Explanation
- Common variables
The common variables (#500 to 999) can be input and output.
#100 to #199 can be input when bit 3 (PV5) of parameter No. 6001 is set to 1.
Explanation
- Output format
The output format is as follows:
The values of custom macro variables are output in a bit-image hexadecimal representation of
double-precision floating-point type data.
%
G10L85P100(0000000000000000)
G10L85P101(0000000000000000)
G10L85P102(FFFFFFFFFFFFFFFF)
- 450 -
B-64554EN/01 OPERATION 8.DATA INPUT/OUTPUT
:
G10L85P500(4024000000000000)
G10L85P501(4021000000000000)
G10L85P502(0000000000000000)
・
SETVN500[ABC]
SETVN501[DEF]
SETVN502[GHI]
:
M02
%
NOTE
The conventional custom macro statement program format cannot be used for
output.
By setting bit 0 (MCO) of parameter No. 6019, it is possible to output macro variable numbers and
variable data values as comments after normally output data.
The output comments do not affect data input.
- Common variable
The common variables (#500 to #999) can be input and output.
#100 to #199 can be output when bit 3 (PV5) of parameter No. 6001 is set to 1.
- 451 -
8.DATA INPUT/OUTPUT OPERATION B-64554EN/01
of the screen. When the read operation ends, the “INPUT” indication disappears.
To cancel the input of the program, press the soft key [CAN].
- 452 -
B-64554EN/01 OPERATION 8.DATA INPUT/OUTPUT
screen. When the write operation ends, the “OUTPUT” indication disappears.
To cancel the output, press the soft key [CAN].
- 453 -
8.DATA INPUT/OUTPUT OPERATION B-64554EN/01
CAUTION
While an external I/O device is being accessed, do not turn the power to the
CNC off or remove the device, or the device may be damaged.
- 454 -
B-64554EN/01 OPERATION 8.DATA INPUT/OUTPUT
NOTE
The ALL IO screen can be operated only if a memory card is selected as an
external I/O device. Use NC parameter No. 20 to select an external I/O device.
The subsequent steps to select data from the ALL IO screen will be explained for each type of data.
Inputting a program
Procedure
1 Press the soft key [PROGRAM] on the ALL IO screen.
2 Press the EDIT switch on the machine operator’s panel or enter state emergency stop.
3 Press the soft key [(OPRT)].
4 Press the soft key [N INPUT].
5 Set the name of the file that you want to input.
Type a file name, and press the soft key [F NAME].
If the input file name is omitted, default input file name “ALL-PROG.TXT” is assumed.
See the Table 8.3.1 (a) for details.
6 Set the program number to be used after the input.
Type a program number, and press the soft key [P SET].
If no program number is specified here, the program number in the file is adopted as is.
7 Press the soft key [EXEC].
This starts reading the program, and “INPUT” blinks in the lower right part of the screen. When the
read operation ends, the “INPUT” indication disappears.
To cancel the input of the program, press the soft key [CAN].
- 455 -
8.DATA INPUT/OUTPUT OPERATION B-64554EN/01
Outputting a program
Procedure
1 Press the soft key [PROGRAM] on the ALL IO screen.
2 Press the EDIT switch on the machine operator’s panel or enter state emergency stop.
3 Press the soft key [(OPRT)].
4 Press the soft key [F OUTPUT].
5 Set the program that you want to output.
Type a program number, and press the soft key [P SET].
If O-9999 is typed, all programs in the memory are output.
6 Set the file name to be output.
Type a file name, and press the soft key [F NAME].
When no file name is set, the output file name is assumed to be “O-number” if a single program
number is specified; if O-9999 is specified, the output file name is assumed to be
“ALL-PROG.TXT”.
See the Table 8.3.1 (b) for details.
(For an explanation of foreground folders, see II-12.1.3, and for how to change foreground folders,
see III-11.6.)
7 Press the soft key [EXEC].
This starts outputting the program, and “OUTPUT” blinks in the lower right part of the screen.
When the read operation ends, the “OUTPUT” indication disappears.
To cancel the output, press the soft key [CAN].
- 456 -
B-64554EN/01 OPERATION 8.DATA INPUT/OUTPUT
Inputting parameters
Procedure
1 Press the function key .
2 Press the continuous menu key until soft key [SETTING] appears.
Press the soft key [SETTING].
3 Press the MDI switch on the machine operator’s panel or enter state emergency stop.
4 Enter 1 in response to the prompt for “PARAMETER WRITE” in setting data. Alarm SW0100
appears.
5 Press the soft key [PARAMETER] on the ALL IO screen.
6 Press the EDIT switch on the machine operator’s panel or enter state emergency stop.
7 Press the soft key [(OPRT)].
8 Press the soft key [N INPUT].
9 Set the name of the file that you want to input.
Type a file name, and press the soft key [F NAME].
If the input file name is omitted, default input file name “CNC-PARA.TXT” is assumed.
10 Press the soft key [EXEC].
This starts reading the parameter, and “INPUT” blinks in the lower right part of the screen. When
the read operation ends, the “INPUT” indication disappears.
To cancel the input of the program, press the soft key [CAN].
11 Press the function key .
12 Press the soft key [SETTING].
13 Press the MDI switch on the machine operator’s panel or enter state emergency stop.
14 Enter 0 in response to the prompt for “PARAMETER WRITE” in setting data.
15 Turn the power of the CNC on again.
Outputting parameters
Procedure
1 Press the soft key [PARAMETER] on the ALL IO screen.
2 Press the EDIT switch on the machine operator’s panel or enter state emergency stop.
3 Press the soft key [(OPRT)].
4 Press the soft key [F OUTPUT].
5 Set the file name to be output.
Type a file name, and press the soft key [F NAME].
If the file name is omitted, default file name “CNC-PARA.TXT” is assumed.
6 Press the soft key [EXEC].
This starts outputting the parameter, and “OUTPUT” blinks in the lower right part of the screen.
When the read operation ends, the “OUTPUT” indication disappears.
To cancel the output, press the soft key [CAN].
- 457 -
8.DATA INPUT/OUTPUT OPERATION B-64554EN/01
- 458 -
B-64554EN/01 OPERATION 8.DATA INPUT/OUTPUT
- 459 -
8.DATA INPUT/OUTPUT OPERATION B-64554EN/01
Limitation
- Memory card specification
Use memory cards that comply with PCMCIA Ver2.0 or JEIDA Ver4.1.
- Attribute memory
Memory cards that have no attribute memory or contain no device information in the attribute memory
cannot be used.
Display item
DNC OPE FILE
The file name to be subjected to DNC operation is displayed.
REGISTERED PROGRAM
The number of registered files is displayed.
NO.
The file number is displayed.
FILE NAME
The file name is displayed.
COMMENT
The program comment is displayed.
SIZE(KBYTE)
The memory capacity the file takes is displayed.
UPDATE TIME
The update date of the file is displayed.
REFRESH
Display data can be updated.
- 462 -
B-64554EN/01 OPERATION 8.DATA INPUT/OUTPUT
F SRH
A file can be searched for. The file found is displayed at the beginning of the list.
F DEL
A file can be deleted.
DEVICE CHANGE
A device can be selected on the program list screen.
DNC SET
A file to be subjected to DNC operation can be selected.
See Section 4.3, “DNC OPERATION” for details.
DNC CLEAR
The selection of a file to be subjected to DNC operation can be canceled.
See Section 4.3, “DNC OPERATION” for details.
SCHEDULE
The schedule list screen can be displayed.
See Section 4.4, “SCHEDULE OPERATION” for details.
[F SET] [O SET] Input file name Input program Input program number
Continuous program
File for the program number All programs in the program
BLANK INPUT numbers starting at one
specified with [O SET] specified with [O SET]
specified with [O SET]
File name for the file number All programs in the file Program number at the
INPUT BLANK
specified with [F SET] specified with [F SET] time the file is saved
Continuous program
File name for the file number All programs in the file
INPUT INPUT numbers starting at one
specified with [F SET] specified with [F SET]
specified with [O SET]
[F-NAME] [O SET] Input file name Input program Input program number
Continuous program
File for the program number All programs in the program
BLANK INPUT numbers starting at one
specified with [O SET] specified with [O SET]
specified with [O SET]
File name set with All programs in the file Program number at the time
INPUT BLANK
[F-NAME] specified with [F-NAME] the file is saved
Continuous program
File name set with All programs in the file
INPUT INPUT numbers starting at one
[F-NAME] specified with [F-NAME]
specified with [O SET]
Outputting a file
1 Press the EDIT switch on the machine operator’s panel or enter state emergency stop.
2 Press the soft key [(OPRT)].
3 Press the soft key [F OUTPUT].
4 Set the program that you want to output.
Type a program number, and press the soft key [O SET].
If -9999 is typed, all programs in the memory are output.
5 Set the file name to be output.
Type a file name, and press the soft key [F-NAME].
- 464 -
B-64554EN/01 OPERATION 8.DATA INPUT/OUTPUT
When no file name is set, the output file name is assumed to be “O”“number” if a single program
number is specified; if -9999 is specified, the output file name is assumed to be “ALL-PROG.TXT”.
See the table below for details.
6 Press the soft key [EXEC].
This starts outputting the program, and “OUTPUT” blinks in the lower right part of the screen.
When the write operation ends, the “OUTPUT” indication disappears.
To cancel the output, press the soft key [CAN].
Procedure
1 Press the function key .
2 Press the soft key [DIR]. The program list screen appears. (If the soft key does not appear, press the
continuous menu key .)
3 Press the soft key [(OPRT)].
4 Press the soft key [DEVICE CHANGE].
5 Press the soft key [EMB ETHER], and the EMBEDDED ETHERNET HOST FILE LIST screen
appears.
- 465 -
8.DATA INPUT/OUTPUT OPERATION B-64554EN/01
NOTE
1 When using the FTP file transfer function, check that the valid device is the
embedded Ethernet port.
The two conditions below determine a connection destination on the host file list
screen:
(1) Check that the valid device is the embedded Ethernet port. Make a selection
in "DEVICE SELECTION" on the Ethernet setting screen.
(2) A host computer can be selected from connection destinations 1, 2, and 3.
Make a selection according to soft key [HOST CHANGE] described later.
2 File names including 2-bytes characters cannot be displayed correctly.
6 When a list of files is larger than one page, the screen display can be switched using the page keys
.
7 Press the soft key [REFRESH] to update the screen display.
8 Press the soft key [DETAIL OFF] to display the host file list (file names only) screen. Press the soft
key [DETAIL ON] to display the host file list (detail) screen.
9 When selecting a folder with cursor and pressing the MDI key , the selected folder is changed
to the new current folder.
Display item
AVAILABLE DEVICE
"EMBEDDED" or "PCMCIA" is displayed.
CONNECT HOST
The currently selected connection host number and host name are displayed.
REGISTERED PROGRAM
The number of files registered in the work folder of the connected host is displayed. Up to 8 digits can be
displayed.
- 466 -
B-64554EN/01 OPERATION 8.DATA INPUT/OUTPUT
CURRENT FOLDER
The current folder name of the connected host is displayed.
If the folder-path is long compared with the display-item, characters: “…” and only the first and last ten
letters of the folder name are displayed.
FILE LIST
There is no distinction between file names and folder names.
Although the maximum number of displayed characters is 127, characters are displayed as far as they can
be displayed in one line.
Operation list
DETAIL ON, DETAIL OFF
The screen display can be switched between the display of file names only and the display of details.
REFRESH
Display data can be updated.
INPUT
A file can be input from the host computer to the part program storage memory of the CNC. This item is
displayed only when 9 is set as the I/O device number of the CNC.
OUTPUT
A file can be output from the part program storage memory of the CNC to the host computer. This item is
displayed only when 9 is set as the I/O device number of the CNC.
DELETE
A folder or file can be deleted from the host computer.
RENAME
A file or folder on the host computer can be renamed.
CREATE FOLDER
A folder can be created on the host computer.
HOST CHANGE
The connected host can be changed.
NC program input
A file (NC program) stored on the host computer can be input into the part program storage memory of
the CNC.
Procedure
1 Display the EMBEDDED ETHERNET HOST FILE LIST screen.
2 Press the EDIT switch on the machine operator’s panel.
3 Press the soft key [(OPRT)].
4 Press the continuous menu key until soft key [F INPUT] appears.
Press the soft key [F INPUT].
5 Position the cursor on the file to input, and press [F GET] or type the file name to input.
Press the soft key [F SET].
If the input file name is omitted, default input file name “ALL-PROG.TXT” is assumed.
- 467 -
8.DATA INPUT/OUTPUT OPERATION B-64554EN/01
6 Type the program number, and press the soft key [O SET].
For an explanation of the operations to be performed if an input file name [F NAME] and an input
program name [O SET] are omitted, see the Table 8.5.1 (a).
7 Press the soft key [EXEC].
This starts reading the program, and “INPUT” blinks in the lower right part of the screen. When the
read operation ends, the “INPUT” indication disappears.
To cancel the input of the program, press the soft key [CAN].
NC program output
A file (NC program) stored in the part program storage memory of the CNC can be output to the host
computer.
Procedure
1 Display the EMBEDDED ETHERNET HOST FILE LIST screen.
2 Press the EDIT switch on the machine operator’s panel.
3 Press the soft key [(OPRT)].
4 Press the continuous menu key until soft key [F OUTPUT] appears.
Press the soft key [F OUTPUT].
5 Type a program number of which you want to output, and press the soft key [O SET].
To specify an output file name, type a file name, and press the soft key [F-NAME].
For an explanation of the operations to be performed if an output file name [F NAME] and an output
program number [O SET] are omitted, see the Table 8.5.1 (b).
6 Press the soft key [EXEC].
This starts outputting the program, and “OUTPUT” blinks in the lower right part of the screen.
When the read operation ends, the “OUTPUT” indication disappears.
To cancel the output of the program, press the soft key [CAN].
- 468 -
B-64554EN/01 OPERATION 8.DATA INPUT/OUTPUT
Display item
DNC OPE FILE
The file name to be subjected to DNC operation is displayed.
REGISTERED PROGRAM
The number of registered files is displayed.
NO.
The file number is displayed.
FILE NAME
The file name is displayed.
- 469 -
8.DATA INPUT/OUTPUT OPERATION B-64554EN/01
F DEL
A file can be deleted.
DEVICE CHANGE
A device can be selected on the program list screen.
DNC SET
A file to be subjected to DNC operation can be selected.
See Section 4.3, “DNC OPERATION” for details.
DNC CLEAR
The selection of a file to be subjected to DNC operation can be canceled.
See Section 4.3, “DNC OPERATION” for details.
SCHEDULE
The schedule list screen can be displayed.
See Section 4.4, “SCHEDULE OPERATION” for details.
Inputting a file
1 Press the EDIT switch on the machine operator’s panel or enter state emergency stop.
2 Press the soft key [(OPRT)].
3 Press the soft key [F INPUT].
4 Set the file number that you want to input.
Type a file number, and press the soft key [F SET].
See the table below for details.
5 Set the program number to be used after the input.
- 470 -
B-64554EN/01 OPERATION 8.DATA INPUT/OUTPUT
Type a program number, and press the soft key [O SET].
If no program number is specified here, the program number in the file is adopted as is.
6 Press the soft key [EXEC].
This starts reading the program, and “INPUT” blinks in the lower right part of the screen. When the
read operation ends, the “INPUT” indication disappears.
To cancel the input of the program, press the soft key [CAN].
[F SET] [O SET] Input file name Input program Input program number
File for the program number Continuous program
All programs in the program
BLANK INPUT specified with numbers starting at one
specified with [O SET]
[O SET] specified with [O SET]
File name for the file
All programs in the file Program number at the time
INPUT BLANK number specified with
specified with [F SET] the file is saved
[F SET]
File name for the file Continuous program
All programs in the file
INPUT INPUT number specified with numbers starting at one
specified with [F SET]
[F SET] specified with [O SET]
Outputting a file
1 Press the EDIT switch on the machine operator’s panel or enter state emergency stop.
2 Press the soft key [(OPRT)].
3 Press the soft key [F OUTPUT].
4 Set the program that you want to output.
Type a program number, and press the soft key [O SET].
If -9999 is typed, all programs in the memory are output.
5 Set the file name to be output.
Type a file name, and press the soft key [F-NAME].
When no file name is set, the output file name is assumed to be “O”“number” if a single program
number is specified; if -9999 is specified, the output file name is assumed to be “ALL-PROG.TXT”.
See the table below for details.
6 Press the soft key [EXEC].
This starts outputting the program, and “OUTPUT” blinks in the lower right part of the screen.
When the write operation ends, the “OUTPUT” indication disappears.
To cancel the output, press the soft key [CAN].
Explanation
- Start/cancellation methods
The screen hard copy function is started by pressing and holding down key for five seconds. The
Limitation
- Screens whose hard copies cannot be made
Hard copies of the BOOT screen, the IPL screen, and the system alarm screen cannot be made.
- 472 -
B-64554EN/01 OPERATION 9.CREATING PROGRAMS
9 CREATING PROGRAMS
This chapter explains how to create programs by MDI of the CNC.
This chapter also explains automatic insertion of sequence numbers and conversational programming with
graphic function.
Creation/registration
Program creation Creating programs using MDI panel ..................... See III-9.1
Automatic insertion of sequence numbers ............ See III-9.2
Conversational programming
with graphic function ............. See III-9.3
Editing
Management
Output Execution
- 473 -
9.CREATING PROGRAMS OPERATION B-64554EN/01
Explanation
- Comments in a program
Comments can be written in a program using the control in/out codes.
Example) O0001 (TEST PROGRAM) ;
M08 (COOLANT ON) ;
• When the key is pressed after the control-out code "(", comments, and control-in code ")"
have been typed, the typed comments are registered.
• When the key is pressed midway through comments, to enter the rest of comments later, the
data typed before the key is pressed may not be correctly registered (not entered, modified, or
lost) because the data is subject to an entry check which is performed in normal editing.
• Control-out code "(" or Control-in code ")" cannot be registered by itself.
6 Press key.
7 Enter each word of a block.
8 Press key.
9 Press key. The EOB is registered in memory and sequence numbers are automatically
inserted. For example, if the initial value of N is 10 and the parameter for the increment is set to 2,
N12 inserted and displayed below the line where a new block is specified.
- 474 -
B-64554EN/01 OPERATION 9.CREATING PROGRAMS
10 In the example above, if N12 is not necessary in the next block, pressing the key after N12 is
displayed deletes N12.
If wishing to insert N100, not N12, into the next block, type N100 immediately after N12 is
displayed, and press . This causes N100 to be registered and the initial value to be changed to
100.
- 475 -
9.CREATING PROGRAMS OPERATION B-64554EN/01
3 Key in the program number of a program to be registered after keying in address O, then press
key. For example, when a program with program number 10 is to be registered, key in O10 , then
press key. This registers a new program O0010.
4 Press the [C.A.P] soft key. The following G code menu is displayed on the screen. (If the [C.A.P]
soft key is not displayed, hold down the rightmost continuous menu key or the leftmost return
menu key until the [C.A.P] soft key is displayed.)
- 476 -
B-64554EN/01 OPERATION 9.CREATING PROGRAMS
5 Key in the G code corresponding to a function to be programmed. When the positioning function is
desired, for example, the G code menu lists the function with the G code G00. So key in G00. If the
screen does not indicate a function to be programmed, press the page key to display the next G code
menu screen. Repeat this operation until a desired function appears. If a desired function is not a G
code, key in no data.
6 Press the soft key [BLOCK] to display a detailed screen for a keyed in G code. The figure below
shows an example of detailed screen for G00.
- 477 -
9.CREATING PROGRAMS OPERATION B-64554EN/01
7 Move the cursor to the block to be modified on the program screen. If the address where the cursor
is placed on the program side is present on the figure side, the address on the figure side blinks.
8 Enter numeric data by pressing the numeric keys and press the [INPUT] soft key or key. This
completes the input of one data item.
9 By repeating steps 7 and 8 above, enter all data necessary for the G code keyed in step 5 above.
10 Press the key. This completes the registration of data of one block in program memory. On
the screen, the G code menu screen is displayed, allowing the user to enter data for another block.
Repeat the procedure starting with 5 as required.
11 After registering all programs, press the [PRGRM] soft key. The registered programs are converted
to the conversational format and displayed.
12 Press the key to return to the program head.
- 478 -
B-64554EN/01 OPERATION 9.CREATING PROGRAMS
- 479 -
10.EDITING PROGRAMS OPERATION B-64554EN/01
10 EDITING PROGRAMS
This chapter describes how to edit programs registered in the CNC. Editing includes the insertion,
modification, and deletion of words. Editing also includes deletion of the entire program. This chapter
also describes program search, sequence number search, word search, and address search, which are
performed before editing the program.
Creation and
registration
Editing
Management
Output Execution
NOTE
The 8-level data protection function is optional.
- 480 -
B-64554EN/01 OPERATION 10.EDITING PROGRAMS
4 Press the soft key [DIR+] to display a detailed program list.
(Each time the soft key [DIR+] is pressed, the program list display switches between detailed display
and normal display.)
5 Select a program whose edit disable attribute is to be removed.
Move the cursor with the cursor key or to a program whose edit disable attribute is to
be removed.
6 Press the soft key [(OPRT)].
7 Press the soft key [CHANGEATTRIB] (or [ATTRIB] when an 8.4-inch display unit is used).
8 Press the soft key [EDIT ENABLE] (or the soft key [EDT ON] when an 8.4-inch display unit is
used).
9 Press the soft key [END].
CAUTION
1 After completing editing, set the edit disable attribute as necessary.
2 To set the edit disable attribute, follow the same procedure as for removing the
attribute.
In the step 7, press the soft key [EDIT DISABL].
Explanation
- Concept of word and editing unit
A word is an address followed by a number. With a custom macro, the concept of word is ambiguous.
So the editing unit is considered here.
The editing unit is a unit subject to alteration or deletion in one operation. In one scan operation, the
cursor indicates the start of an editing unit.
An insertion is made after an editing unit.
Definition of editing unit
• Program portion from an address to immediately before the next address
• An address is an alphabet, IF, WHILE, GOTO, END, DO=, or ; (EOB).
According to this definition, a word is an editing unit.
The word "word," when used in the description of editing, means an editing unit according to the precise
definition.
- 481 -
10.EDITING PROGRAMS OPERATION B-64554EN/01
WARNING
When a change, insertion, or deletion was performed on data of a program by
pausing machining with the single block stop, feed hold, or other operations
during execution of a program, be sure to return the cursor to the original position
before restarting the program. To execute the program with the cursor positioned
at another position, be sure to make a reset.
Otherwise, the program may not be executed as expected from the program
shown on the screen after machining restarts.
4 The first word of the next block is searched for when the cursor key is pressed.
5 The first word of the previous block is searched for when the cursor key is pressed.
6 Holding down the cursor key or moves the cursor to the head of a block continuously.
7 Pressing the page key displays the next page and searches for the first word of the page.
8 Pressing the page key displays the previous page and searches for the first word of the page.
9 Holding down the page key or displays one page after another.
- 482 -
B-64554EN/01 OPERATION 10.EDITING PROGRAMS
- 483 -
10.EDITING PROGRAMS OPERATION B-64554EN/01
Method 3
1 Select the program screen or program check screen in MEMORY mode.
2 Press soft key [(OPRT)].
3 Press soft key [REWIND].
Method 4
1 Select the program screen in EDIT mode.
2 Press soft key [(OPRT)].
3 Press soft key [LINE SEARCH].
4 Press soft key [TOP].
X100.0 is searched
for/scanned.
2 Key in T 1 5 .
3 Press the key.
T15 is inserted.
- 484 -
B-64554EN/01 OPERATION 10.EDITING PROGRAMS
2 Key in M 1 5 .
3 Press the key.
X100.0 is searched
for/scanned.
- 485 -
10.EDITING PROGRAMS OPERATION B-64554EN/01
X100.0 is deleted.
- 486 -
B-64554EN/01 OPERATION 10.EDITING PROGRAMS
Example of deleting blocks from N01234 to the EOB of a block which is two blocks
ahead
1 Search for or scan N01234.
N01234 is searched
for/scanned.
2 Press .
4 Press soft key [PROGRM SEARCH]. Alternatively, press the cursor key or
.
5 Upon completion of search operation, the program number searched for is displayed in
the upper-right corner of the screen
If the program is not found, alarm PS0071 occurs.
- 487 -
10.EDITING PROGRAMS OPERATION B-64554EN/01
Method 3 This method searches for the program number (0001 to 0031) corresponding to a signal
on the machine tool side to start automatic operation. Refer to the relevant manual
prepared by the machine tool builder for detailed information on operation.
1 Select MEMORY mode.
2 Set the reset state.
• The reset state is the state where the LED for indicating that automatic operation is in
progress is off. (Refer to the relevant manual of the machine tool builder.)
3 Set the program number selection signal on the machine tool side to a number from 01 to
31.
4 Press the cycle start button.
• When the signal on the machine tool side represents 00, program number search
operation is not performed.
• If the program corresponding to a signal on the machine tool side is not registered,
alarm DS0059 is raised.
Method 4 When bit 4 (PGS) of parameter No. 11308 is 1, search for an O number program by
specifying digits only.
1 Select EDIT or MEMORY mode.
2 Press function key to display the program screen.
3 Enter the digits of a program number. Address key need not be pressed before the
digits.
4 Press soft key [PROGRM SEARCH]. Alternatively, press the cursor key or
Example
• When bit 4 (PGS) of parameter No. 11308 is 1
Specify "1000" → Search for program O1000.
Specify "ABC" → Search for program ABC.
• When bit 4 (PGS) of parameter No. 11308 is 0
Specify "1000" → Search for program 1000.
Specify "ABC" → Search for program ABC.
When bit 4 (PGS) of parameter No. 11308 is 1, it is not possible to search for a program
with any name consisting of digits only.
- 488 -
B-64554EN/01 OPERATION 10.EDITING PROGRAMS
PROGRAM
O0001 ;
N01234 X100.0 Y100.0 ;
S12 ;
:
Selected program O0002 ;
This section is searched
N02345 X20.0 Y20.0 ;
starting at the beginning.
N02346 X10.0 Y10.0 ;
Target sequence (Search operation is
:
number is found. performed only within a
O0003 ;
program.)
:
Explanation
- Operation during Search
Those blocks that are skipped do not affect the CNC. This means that the data in the skipped blocks such
as coordinates and M, S, and T codes does not alter the CNC coordinates and modal values.
So, in the first block where execution is to be started or restarted by using a sequence number search
command, be sure to enter required M, S, and T codes and coordinates. A block searched for by sequence
number search usually represents a point of shifting from one process to another. When a block in the
middle of a process must be searched for to restart execution at the block, specify M, S, and T codes, G
codes, coordinates, and so forth as required from the MDI after closely checking the machine tool and NC
states at that point.
Limitation
- Searching in sub-program
During sequence number search operation, M98Pxxxx (subprogram call) is not executed. So an alarm
PS0060 is raised if an attempt is made to search for a sequence number in a subprogram called by the
program currently selected.
- 489 -
10.EDITING PROGRAMS OPERATION B-64554EN/01
- 490 -
B-64554EN/01 OPERATION 10.EDITING PROGRAMS
A A
B B B
C C
In Fig. 10.7.1 (a), program B of program number xxxx is copied and pasted into the program of program
number yyyy. The program of program number xxxx remains unchanged before and after the copy
operation.
3. When the cursor is moved, the range from the copy start position
[CANCEL] [SEL-ALL] [COPY] [CUT] [PASTE] to the current cursor position is selected and displayed in the
same color as the cursor color.
To cancel the selection, press soft key [CANCEL].
4. Press soft key [COPY]. The selected program range is stored in
[CANCEL] [SEL-ALL] [COPY] [CUT] [PASTE] the copy buffer.
If the size of the selected program range exceeds the capacity of
the copy buffer, the selection is terminated with the warning
message "EXCEED THE CAPACITY OF COPY BUFFER".
If soft key [COPY] is pressed with no program range selected,
the warning message "WORDS ARE NOT SELECTED" is
displayed and the copy buffer is cleared. If the program size of
the selected range exceeds the upper limit of the copy buffer, the
warning message "EXCEED THE CAPACITY OF COPY
BUFFER" is displayed. The selected range is not released.
5. Search for a paste target program.
6. Move the cursor to the desired paste position.
[SELECT] [SEL-ALL] [COPY] [CUT] [PASTE] 7. Press soft key [PASTE] then press soft key [BUF-EX]. The
contents copied in step 4 are pasted after the cursor. If [BUF-EX]
is pressed when the copy buffer is empty, the warning message
[BUF-EX] [SPCPRG] [ ][ ][ ] "COPY BUFFER IS EMPTY" is displayed.
- 491 -
10.EDITING PROGRAMS OPERATION B-64554EN/01
3. When the cursor is moved, the range from the copy start position
to the current cursor position is selected and displayed in the
same color as the cursor color. (<3>)
[CANCEL] [SEL-ALL] [COPY] [CUT] [PASTE]
4. Press soft key [COPY]. The selected program range is stored in
the copy buffer.
5. Search for O0002 then move the cursor to the position where the
[SELECT] [SEL-ALL] [COPY] [CUT] [PASTE]
contents copied from O0001 are to be inserted. (<5>)
6. Press soft key [PASTE] then press soft key [BUF-EX]. The
][ ]
contents copied from O0001 are pasted after the cursor. (<6>)
[BUF-EX] [SPCPRG] [ ][
O0001 ; + O0001 ;
<5> <6>
O0002 ; O0002 ;
[PASTE]
N1 G92 X0 Y0; N1 G92 X0 Y0;
+
N2 G91 G17 G00 Y4.0 ; N2 G91 G17 G00 Y4.0 ;
N3 G01 Y25.0 F120 ; N3 G01 Y25.0 F120 ;
N4 G03 X20.0 R20.0 ; G00 X0 Y0 ;
N5 G01 X25.0 ; G01 X100.0 F100 ;
N4 G03 X20.0 R20.0 ;
N5 G01 X25.0 ;
For convenience of explanation, the cursor of <6> is placed at the same position as for <5>.
Actually, the cursor moves to the last word of pasted contents.
- 492 -
B-64554EN/01 OPERATION 10.EDITING PROGRAMS
Example 2) A part of O0001 is copied to create O0003 newly.
1. Display O0001 then move the cursor to a desired copy start
position. (<1>)
[SELECT] [SEL-ALL] [COPY] [CUT] [PASTE]
2. Press soft key [SELECT].
3. When the cursor is moved, the range from the copy start position
to the current cursor position is selected and displayed in the
same color as the cursor color. (<3>)
[CANCEL] [SEL-ALL] [COPY] [CUT] [PASTE]
4. Press soft key [COPY]. The selected program range is stored in
the copy buffer.
5. Key in "O0003" then press editing key to create the new
<1> <3>
[SELECT]
O0001 ; + O0001 ;
G00 X0 Y0 ; Move cursor. G00 X0 Y0 ;
G01 X100.0 F100 ; G01 X100.0 F100 ;
Y-100.0 ; Y-100.0 ;
M30 ; M30 ;
[PASTE]
<5> <6>
+
O0003 [BUF-EX] O0003 ;
G00 X0 Y0 ;
G01 X100.0 F100 ;
For convenience of explanation, the cursor of <6> is placed at the same position as for <5>.
Actually, the cursor moves to the last word of pasted contents.
- 493 -
10.EDITING PROGRAMS OPERATION B-64554EN/01
A
A
B B
C
C
In Fig. 10.7.2 (a), program B of program number xxxx is cut and pasted into the program of program
number yyyy.
[CANCEL] [SEL-ALL] [COPY] [CUT] [PASTE] 3. When the cursor is moved, the range from the cut start position
to the current cursor position is selected and displayed in the
same color as the cursor color.
To cancel the selection, press soft key [CANCEL].
[CANCEL] [SEL-ALL] [COPY] [CUT] [PASTE]
4. Press soft key [CUT]. The selected program range is stored in the
copy buffer. At the same time, the selected program range is cut.
After the cutting, the cursor moves to before the cut range.
If soft key [CUT] is pressed with no program range selected, the
warning message "WORDS ARE NOT SELECTED" is
displayed and the copy buffer is cleared.
If the program size of the selected range exceeds the upper limit
of the copy buffer, the warning message "EXCEED THE
CAPACITY OF COPY BUFFER" is displayed. The selected
range is not released. In this case, no cut operation is performed.
5. Search for a paste target program.
6. Move the cursor to the desired paste position.
[SELECT] [SEL-ALL] [COPY] [CUT] [PASTE] 7. Press soft key [PASTE] then press soft key [BUF-EX]. The
program range cut in step 4 is pasted after the cursor. If
[BUF-EX] is pressed when the copy buffer is empty, the warning
[BUF-EX] [SPCPRG] [ ][ ][ ] message "COPY BUFFER IS EMPTY" is displayed.
- 494 -
B-64554EN/01 OPERATION 10.EDITING PROGRAMS
Example 1) A part of O0001 is moved to O0002.
1. Display O0001 then move the cursor to a desired cut start
position. (<1>)
[SELECT] [SEL-ALL] [COPY] [CUT] [PASTE]
2. Press soft key [SELECT].
3. When the cursor is moved, the range from the cut start position
to the current cursor position is selected and displayed in the
[CANCEL] [SEL-ALL] [COPY] [CUT] [PASTE] same color as the cursor color. (<3>)
4. Press soft key [CUT]. The selected program range is cut. (<4>)
5. Search for O0002 then move the cursor to the position where the
contents cut from O0001 are to be inserted. (<5>)
[SELECT] [SEL-ALL] [COPY] [CUT] [PASTE]
6. Press soft key [PASTE] then press soft key [BUF-EX]. The
contents cut from O0001 are pasted after the cursor. (<6>)
[BUF-EX] [SPCPRG] [ ][ ][ ]
<5> <6>
[PASTE]
O0002 ; + O0002 ;
N1 G92 X0 Y0; [BUF-EX] N1 G92 X0 Y0;
N2 G91 G17 G00 Y4.0 ; N2 G91 G17 G00 Y4.0 ;
N3 G01 Y25.0 F120 ; N3 G01 Y25.0 F120 ;
N4 G03 X20.0 R20.0 ; G00 X0 Y0 ;
N5 G01 X25.0 ; G01 X100.0 F100 ;
N4 G03 X20.0 R20.0 ;
N5 G01 X25.0 ;
For convenience of explanation, the cursor of <6> is placed at the same position as for <5>.
Actually, the cursor moves to the last word of pasted contents.
- 495 -
10.EDITING PROGRAMS OPERATION B-64554EN/01
3. When the cursor is moved, the range from the cut start position
to the current cursor position is selected and displayed in the
[CANCEL] [SEL-ALL] [COPY] [CUT] [PASTE] same color as the cursor color. (<3>)
4. Press soft key [CUT]. The selected program range is cut. (<4>)
For convenience of explanation, the cursor of <6> is placed at the same position as for <5>.
Actually, the cursor moves to the last word of pasted contents.
- 496 -
B-64554EN/01 OPERATION 10.EDITING PROGRAMS
A A A
Insertion
position
In Fig. 10.7.3 (a), the program of program number xxxx is inserted into the program of program number
yyyy. The program of program number xxxx remains unchanged before and after the insertion.
3. Press soft key [COPY]. The entire program is stored in the copy
buffer.
If soft key [COPY] is pressed with no program range selected,
the warning message "WORDS ARE NOT SELECTED" is
displayed and the copy buffer is cleared. If the program size of
the selected range exceeds the upper limit of the copy buffer, the
warning message "EXCEED THE CAPACITY OF COPY
BUFFER" is displayed. The selected range is not released.
4. Search for a paste target program.
[SELECT] [SEL-ALL] [COPY] [CUT] [PASTE]
5. Move the cursor to the desired paste position.
6. Press soft key [PASTE] then press soft key [BUF-EX]. The
contents copied in step 3 are pasted after the cursor. If [BUF-EX]
[BUF-EX] [SPCPRG] [ ][ ][ ]
is pressed when the copy buffer is empty, the warning message
"COPY BUFFER IS EMPTY" is displayed.
- 497 -
10.EDITING PROGRAMS OPERATION B-64554EN/01
[BUF-EX] [SPCPRG] [ ][ ][ ]
<1>
O0001 ;
G00 X0 Y0 ;
G01 X100.0 F100 ;
Y-100.0 ;
M30 ;
<3> <4>
O0002 ; O0002 ;
N1 G92 X0 Y0; [PASTE] N1 G92 X0 Y0;
N2 G91 G17 G00 Y4.0 ; + N2 G91 G17 G00 Y4.0 ;
N3 G01 Y25.0 F120 ; [BUF-EX] N3 G01 Y25.0 F120 ;
N4 G03 X20.0 R20.0 ; G00 X0 Y0 ;
N5 G01 X25.0 ; G01 X100.0 F100 ;
Y-100.0 ;
M30 ;
N4 G03 X20.0 R20.0 ;
N5 G01 X25.0 ;
For convenience of explanation, the cursor of <4> is placed at the same position as for <3>.
Actually, the cursor moves to the last word of pasted contents.
- 498 -
B-64554EN/01 OPERATION 10.EDITING PROGRAMS
A A A
Insertion
position
In Fig. 10.7.4 (a), the program of program number xxxx is inserted into the program of program number
yyyy. The contents of the program of program number xxxx are deleted. However, the deleted program
remains as an empty program.
3. Press soft key [CUT]. The entire program is stored in the copy
buffer. At the same time, the contents of the program are cut.
If soft key [CUT] is pressed with no program range selected, the
warning message "WORDS ARE NOT SELECTED" is
displayed and the copy buffer is cleared. If the program size of
the selected range exceeds the upper limit of the copy buffer, the
warning message "EXCEED THE CAPACITY OF COPY
BUFFER" is displayed. The selected range is not released. In
this case, no cut operation is performed.
4. Search for a paste target program.
[SELECT] [SEL-ALL] [COPY] [CUT] [PASTE] 5. Move the cursor to the desired paste position.
6. Press soft key [PASTE] then press soft key [BUF-EX]. The
program cut in step 3 is pasted after the cursor. If [BUF-EX] is
[BUF-EX] [SPCPRG] [ ][ ][ ]
pressed when the copy buffer is empty, the warning message
"COPY BUFFER IS EMPTY" is displayed.
- 499 -
10.EDITING PROGRAMS OPERATION B-64554EN/01
[BUF-EX] [SPCPRG] [ ][ ][ ]
<1>
O0001 ; O0001
G00 X0 Y0 ; [CUT]
G01 X100.0 F100 ;
Y-100.0 ;
M30 ;
<3> <4>
O0002 ; O0002 ;
N1 G92 X0 Y0; [PASTE] N1 G92 X0 Y0;
N2 G91 G17 G00 Y4.0 ; + N2 G91 G17 G00 Y4.0 ;
N3 G01 Y25.0 F120 ; [BUF-EX] N3 G01 Y25.0 F120 ;
N4 G03 X20.0 R20.0 ; G00 X0 Y0 ;
N5 G01 X25.0 ; G01 X100.0 F100 ;
Y-100.0 ;
M30 ;
N4 G03 X20.0 R20.0 ;
N5 G01 X25.0 ;
For convenience of explanation, the cursor of <4> is placed at the same position as for <3>.
Actually, the cursor moves to the last word of pasted contents.
- 500 -
B-64554EN/01 OPERATION 10.EDITING PROGRAMS
O0001 G00 X0 Y0 ;
G01 X100.0 F100 ;
Y-100.0 ;
M30 ;
<1> <2>
“O0001”
O0002 ; + O0002 ;
N1 G92 X0 Y0; [SPCPRG] N1 G92 X0 Y0;
N2 G91 G17 G00 Y4.0 ; N2 G91 G17 G00 Y4.0 ;
N3 G01 Y25.0 F120 ; N3 G01 Y25.0 F120 ;
N4 G03 X20.0 R20.0 ; G00 X0 Y0 ;
N5 G01 X25.0 ; G01 X100.0 F100 ; Copied from
Y-100.0 ; O0001
M30 ;
N4 G03 X20.0 R20.0 ;
N5 G01 X25.0 ;
For convenience of explanation, the cursor of <2> is placed at the same position as for <1>.
Actually, the cursor moves to the last word of pasted contents.
- 501 -
10.EDITING PROGRAMS OPERATION B-64554EN/01
NOTE
1 When performing a normal copy operation, press soft key [COPY] then press
[COPYBUF].
2 Up to 127 characters can be copied. If [KEYIN] is pressed when more than 127
characters are selected, the warning message "EXCEED THE CAPACITY OF
KEYIN BUFFER" is displayed.
NOTE
1 When performing a normal move operation, press soft key [CUT] then press
[COPYBUF].
2 Up to 127 characters can be moved. If [KEYIN] is pressed when more than 127
characters are selected, the warning message "EXCEED THE CAPACITY OF
KEYIN BUFFER" is displayed.
- 502 -
B-64554EN/01 OPERATION 10.EDITING PROGRAMS
10.8 REPLACING
A string in a program is replaced with a specified string.
Explanation
- Editing unit
When editing a custom macro already entered, the user can move the cursor to each editing unit that starts
with any of the following characters and symbols:
- 503 -
10.EDITING PROGRAMS OPERATION B-64554EN/01
(a) Address
(b) # located at the start of the left side of a substitution statement
(c) /, (,=, and ;
(d) First character of IF, WHILE, GOTO, END, DO, POPEN, BPRNT, DPRNT and PCLOS
On the screen, a blank is placed before each of the above characters and symbols.
Example) Head positions where the cursor is placed
N001 X-#100 ;
#1 =123 ;
N002 /2 X[12/#3] ;
N003 X-SQRT[#3/3*[#4+1]] ;
N004 X-#2 Z#1 ;
N005 #5 =1+2-#10 ;
IF[#1NE0] GOTO10 ;
WHILE[#2LE5] DO1 ;
#[200+#2] =#2*10 ;
#2 =#2+1 ;
END1 ;
Example) Keying in
WH [AB [#2 ] LE RO [#3 ] ] has the same effect as
WHILE [ABS [#2 ] LE ROUND [#3 ] ]
The program is also displayed in this way.
Unlocking
1 Set the MDI mode.
2 Enable parameter writing (III-12.3.1). At this time, alarm SW0100 is issued on the CNC.
3 In parameter No. 3211 (KEYWD), set the same value as set in parameter No. 3210 (PASSWD) for
locking. At this time, the locked state is released.
4 Set bit 4 (NE9) of parameter No.3202 to 0.
5 Disable parameter writing.
6 Press the key to release the alarm state.
7 Subprograms from program Nos. 9000 to 9999 can now be edited.
Explanation
- Setting parameter PASSWD
The locked state is set when a value is set in the parameter PASSWD. However, note that parameter
PASSWD can be set only when the locked state is not set (when PASSWD = 0, or PASSWD = KEYWD).
If an attempt is made to set parameter PASSWD in other cases, a warning is given to indicate that writing
is disabled. When the locked state is set (when PASSWD ≠ 0 and PASSWD ≠ KEYWD), parameter NE9
is automatically set to 1. If an attempt is made to set NE9 to 0, a warning is given to indicate that writing
is disabled.
- Re-locking
After the locked state has been released, it can be set again by setting a different value in parameter
PASSWD, or by turning the power to the NC off then on again to reset parameter KEYWD.
CAUTION
Once the locked state is set, parameter NE9 cannot be set to 0 and parameter
PASSWD cannot be changed until the locked state is released or the memory
all-clear operation is performed. Special care must be taken in setting parameter
PASSWD.
- 505 -
10.EDITING PROGRAMS OPERATION B-64554EN/01
6. When a soft key indicating the character to be input is pressed, the character is input to the key-in
buffer.
Explanation
- Usable characters
The following characters can be entered using soft keys:
Table 10.11 (a) Characters that can be entered using soft keys
( ) ? * &
@ _ < > \
% $ ! ~ :
" ‘ AB/ab(*)
* This soft key causes the input mode of alphabetical characters to alternate between the uppercase
input mode and the lowercase input mode.
The character before the key-in buffer changes to "A" or "a" depending on the input mode.
- Setting that inputting < > \ % $ ! ~ : " ' AB/ab become effective
Soft key input of the characters shown below and switching between the uppercase and lowercase input
modes by a soft key are enabled by setting 1 in bit 4 (SI1) of parameter No.13115.
- 506 -
B-64554EN/01 OPERATION 10.EDITING PROGRAMS
<>\%$!~:"'
()?*&@_
- 507 -
11.PROGRAM MANAGEMENT OPERATION B-64554EN/01
11 PROGRAM MANAGEMENT
Program management functions are classified into the following two types:
• Functions for devices
• Functions for programs
Editing
Management
Output Execution
NOTE
A FAT16-formatted memory card containing the program storage file
FANUCPRG.BIN is recognized as a program storage memory card.
- 509 -
11.PROGRAM MANAGEMENT OPERATION B-64554EN/01
NOTE
1 The soft key [UMOUNT] is displayed after the device selected by the CNC is
recognized as a "program storage memory card" as the result of device change
operation.
2 This operation is enabled only in EDIT mode or MEM mode.
3 When the default folder is a folder in a program storage file stored on the
memory card, it is changed to "//CNC_MEM/" by a removal operation.
4 When the main program is a memory card program, the main program enters
the unselected state by a removal operation.
Explanation
- About operation
A memory card program can be selected as a main program to perform memory operation.
Memory operation has the following features:
• Subprogram call nesting is allowed.
• Macro program call nesting is allowed.
• In a custom macro, a control command using a GOTO statement/WHILE statement can be specified.
NOTE
For a memory card program, subprogram call using M code/T code/particular
addresses or macro call using G code/M code can be specified. However, a
program on the CNC_MEM device (CNC program storage memory) is called.
- 510 -
B-64554EN/01 OPERATION 11.PROGRAM MANAGEMENT
NOTE
If a program on another device is set as the main program, executing a main
program search causes automatic switching to the device.
Limitation
For a memory card program, M198 cannot be specified. Moreover, no memory card program can be
called from a program on the CNC_MEM device (CNC program storage memory) by specifying M198.
When a setting is made to enable an external device subprogram call from a memory card (M198) or
DNC operation from a memory card (bit 7 (MNC) of parameter No. 0138 = 1), the content of program
storage file cannot be displayed during automatic operation.
When a program storage memory card is selected, the memory card cannot be used for the ordinary
purposes listed below. To use a memory card in such a case, perform a "removal" operation to cancel the
recognition of the program storage memory card.
• ALL I/O screen
Display of the contents of a memory card, and input/output data to and from a memory card
• PMC data I/O screen
Display of the contents of a memory card, and input/output to and from a memory card
• Program directory screen
Input/output program data to and from a memory card
• External device subprogram call (M198) operation
Subprogram call (M198) with a memory card set as an external device
• DNC operation
DNC operation from a memory card
CAUTION
1 Do not remove the memory card when a program that specifies a write to the
memory card is being edited. The data can be destructed.
2 If an editing operation is completed, the results of editing are preserved even
when the power to the CNC is turned off.
3 When removing the memory card, be sure to perform a "removal" operation. If the
memory card is removed without performing a "removal" operation and an
attempt is made to access the memory card, the alarm (SR1964) or alarm
(IO1030) is issued.
If the card is removed inadvertently, insert the card again and perform a "removal"
operation.
When an alarm is issued, perform the following operation:
- When the alarm (SR1964) is issued
Reset the alarm after performing a "removal" operation.
- When the alarm (IO1030) is issued
The alarm can be reset only by turning off the power to the CNC.
- 511 -
11.PROGRAM MANAGEMENT OPERATION B-64554EN/01
CAUTION
4 There are cases in which when a memory card is replaced with another, the CNC
cannot detect the replacement. Thus, it is risky to replace a memory card without
performing a "removal" operation, and this should never be attempted.
Limitation
- Floppy disk directory display during schedule operation
During schedule operation, directories in a floppy disk cannot be displayed in a background edit.
Item Usable
Deletion of a block Unusable
Program search Usable
Sequence number search Unusable
Deletion of a program Usable
Editing a custom macro Unusable
Password function Unusable
Selecting a device Usable
Selecting a main program Unusable
Making a program compact Unusable
Input/output of program Usable
When the 8-level data protection function is used, the cursor appears on the program list.
In this case, select a program not with step 4 above but with the cursor key or .
NOTE
1 Depending on the operation status and protection status, a file cannot
sometimes be deleted.
2 The 8-level data protection function is optional.
7 Press the soft key ['CHANGEATTRIB] (or [ATTRIB] when an 8.4-inch display unit is used).
8 Press the continuous menu key until the desired soft key (step 8 below) appears.
9 • To disable editing, press the soft key [EDIT DISABL] (or [EDT OFF] when an 8.4-inch display
unit is used).
• To enable editing, press the soft key [EDIT ENABLE] (or [EDT ON] when an 8.4-inch display
unit is used).
• To disable editing and display, press the soft key [DISP DISABL] (or [DSP OFF] when an
8.4-inch display unit is used).
• To enable editing and display, press the soft key [DISP ENABLE] (or [DSP ON] when an
8.4-inch display unit is used).
• To change the change protection level, type a change protection level, then press the soft key
[CHANGELEVEL] (or [CHG LEV] when an 8.4-inch display unit is used).
• To change the output protection level, type an output protection level, then press soft key [OUT
LEVEL] (or [OUT LEV] when an 8.4-inch display unit is used).
10 Press the soft key [END].
NOTE
1 Depending on the operation status and protection status, a file cannot
sometimes be deleted.
2 Depending on the settings of the following parameters, the settable items vary:
• Program protection (parameter No. 3210 and No. 3211)
• Eight-level data protection (Optional function)
NOTE
1 Depending on the operation status and protection status, the main program
cannot sometimes be selected.
2 The 8-level data protection function is optional.
When the 8-level data protection function is used, the cursor appears on the program list.
In this case, select a program not with step 4 above but with the cursor key or .
NOTE
1 Depending on the operation status and protection status, a program cannot
sometimes be made compact.
2 Only programs on the CNC_MEM device can be made compact.
3 The 8-level data protection function is optional.
- 515 -
12.SETTING AND DISPLAYING DATA OPERATION B-64554EN/01
Explanation
- Screen transition chart
The screen transition for when each function key on the MDI unit is pressed is shown below. The
subsections referenced for each screen are also shown. See the appropriate subsection for details of each
screen and the setting procedure on the screen. See other chapters for screens not described in this
chapter.
See Chapter 7 for the screen that appears when function key is pressed. In general, function key
or is prepared by the machine tool builder and used for macros. Refer to the manual issued
by the machine tool builder for the screen that appears when function key or is pressed.
- 516 -
B-64554EN/01 OPERATION 12.SETTING AND DISPLAYING DATA
Ø Ø Ø Ø
Position Position Position Manual
display in display in display in handle
the the the interruption
workpiece workpiece workpiece ⇒ See III-4.6
coordinate coordinate coordinate
system system system
⇒ See III-12.1.1 ⇒ See III-12.1.1 ⇒ See III-12.1.1
MONITO (OPRT) +
Page 2 (10.4")
R
Ø
Operating
monitor
display
⇒ See III-12.1.7
- 517 -
12.SETTING AND DISPLAYING DATA OPERATION B-64554EN/01
Ø Ø Ø Ø
Editing Program Current block Next block
programs check screen display display
⇒See III-10 ⇒See III-12.2.6 screen screen
⇒See III-12.2.7 ⇒See III-12.2.5
DIR (OPRT) +
Page 2 (10.4")
Ø
Program list
screen
⇒See III-12.2.4
Ø Ø Ø Ø
Editing Program Current block Next block
programs screen for display display
⇒See III-10 MDI operation screen screen
⇒See III-12.2.3 ⇒See III-12.2.7 ⇒See III-12.2.5
DIR (OPRT) +
Page 2 (10.4")
Ø
Program list
screen
⇒See III-12.2.4
- 518 -
B-64554EN/01 OPERATION 12.SETTING AND DISPLAYING DATA
Ø Ø Ø
Editing Program list Graphical
programs screen conversational
⇒See III-10 ⇒See III-12.2.4 programming
screen
⇒See III-12.2.8
Ø Ø Ø
Editing Current block Next block
programs display display
⇒See III-10 screen screen
⇒See III-12.2.7 ⇒See III-12.2.5
DIR (OPRT) +
Page 2 (10.4")
Ø
Program list
screen
⇒See III-12.2.4
- 519 -
12.SETTING AND DISPLAYING DATA OPERATION B-64554EN/01
Ø Ø Ø
Setting and Displaying Displaying
displaying the and entering and setting
tool offset setting data the workpiece
value ⇒See III-12.3.2 origin offset
⇒See III-12.3.1 value
⇒See III-12.3.5
Ø Ø
Displaying Displaying
and setting and setting
custom macro the software
common operator’s
variables panel
⇒See III-12.3.7 ⇒See III-12.3.8
Ø Ø Ø
Displaying Displaying Displaying
and setting and setting and setting
items on the items on the items on the
tool tool safety zone
registration registration setting screen
screens screen for ⇒See III-12.3.13
- 520 -
B-64554EN/01 OPERATION 12.SETTING AND DISPLAYING DATA
Ø Ø Ø
Displaying Protection of Wrong
and switching data at eight operation
the display levels prevention
language ⇒See III-12.3.10 functions
⇒See III-12.3.9 ⇒See III-6.5
- 521 -
12.SETTING AND DISPLAYING DATA OPERATION B-64554EN/01
Ø Ø Ø
Displaying Checking by System
and setting diagnostic configuration
parameters display screen
⇒See III-12.4.1 ⇒See III-7.3 ⇒See III-12.4.8
Ø Ø
Displaying Servo setting
and setting ⇒See III-12.4.3
pitch error
compensation
data
⇒See III-12.4.2
Ø Ø Ø
Waveform Input/output Overview of
diagnosis on the the history
display ALL/IO function
⇒Maintenance screen ⇒See III-12.4.9
B-64305EN
- 522 -
B-64554EN/01 OPERATION 12.SETTING AND DISPLAYING DATA
Ø Ø Ø Ø
PMC Ladder PMC Power Mate
diagnosis and diagram configuration CNC manager
maintenance monitor and data setting functions
screens editor screens screens ⇒Maintenance
B-64393EN B-64393EN
Ø Ø Ø
Color setting Periodic Maintenance
screen maintenance information
⇒See III-12.4.5 screen screen
⇒See III-12.4.7 ⇒Maintenance
manual
B-64305EN
Ø Ø
FSSB display Parameter
and setting setting
screen support
⇒Maintenance screen
manual ⇒See III-12.4.6
B-64305EN
- 523 -
12.SETTING AND DISPLAYING DATA OPERATION B-64554EN/01
Ø Ø Ø Ø
Embedded Embedded Ethernet FL-net
Ethernet Ethernet functions functions
functions functions ⇒Fast ⇒FL-net Board
B-64414EN
REMOTE (OPRT) +
Page 8 (10.4")
DIAG
Ø
Machine
remote
diagnosis
⇒Fast
Ethernet/Fast Data
Server operator’s
manual
B-64414EN
⇒Machine remote
diagnosis package
operator’s manual
B-63734EN
Ø
Displaying the
memory
contents
⇒Maintenance
manual
B-64305EN
- 524 -
B-64554EN/01 OPERATION 12.SETTING AND DISPLAYING DATA
Ø Ø Ø Ø
PROFIBUS-DP PROFIBUS-DP DeviceNet DeviceNet
master slave master slave
functions functions functions functions
⇒PROFIBUS-DP ⇒PROFIBUS-DP ⇒DeviceNet Board ⇒DeviceNet Board
B-64403EN B-64403EN
- 525 -
12.SETTING AND DISPLAYING DATA OPERATION B-64554EN/01
Section 12.1, "SCREENS DISPLAYED BY FUNCTION KEY ", consists of the following
subsections:
Function key can also be used to display the screen for displaying the distance moved by handle
interruption. See Section III-4.6, “MANUAL HANDLE INTERRUPTION” for details on this screen.
On any of the position display screens, the status (such as D, I, L, S, *, or M) of an axis is indicated on
the left of the axis name to prevent wrong operations. See III-6.5.2.3, "Axis status display" in III-6.5,
"WRONG OPERATION PREVENTION FUNCTIONS" for details.
Display procedure for the current position screen in the workpiece coordinate
Procedure
1 Press function key .
2 Press soft key [ABSOLUTE].
3 Press soft key [ABSOLUTE] again. The sixth and subsequent axes are displayed.
- 526 -
B-64554EN/01 OPERATION 12.SETTING AND DISPLAYING DATA
Fig. 12.1.1 (a) Current position (absolute) screen (10.4-inch display unit)
Explanation
- Presetting the workpiece coordinate system
A workpiece coordinate system shifted by manual intervention or other operations can be preset by MDI
operation to a workpiece coordinate system that is offset by a workpiece origin offset from the machine
zero point before shifting.
For the procedure, see Subsection III-12.1.4, "Workpiece Coordinate System Preset".
Display procedure for the current position screen with the relative coordinate
system
Procedure
1 Press function key .
2 Press soft key [RELATIVE].
3 Press soft key [RELATIVE] again. The sixth and subsequent axes are displayed.
- 527 -
12.SETTING AND DISPLAYING DATA OPERATION B-64554EN/01
Fig. 12.1.2 (a) Current position (relative) screen (10.4-inch display unit)
Explanation
- Setting the relative coordinates
The current position of the tool in the relative coordinate system can be reset to 0 or preset to a specified
value as follows:
5 Input the axis name with keys (the axis name blinks) and press soft key [EXEC].
- 528 -
B-64554EN/01 OPERATION 12.SETTING AND DISPLAYING DATA
At this time, the current position of the specified axis represented in relative coordinates are reset to
0.
4 Input the axis name. At this time, the axis name blinks.
5 Input the coordinates, and press soft key [PRESET].
At this time, the current position of all axes represented in relative coordinates are set to specified
value.
If parameter bit PPD is set to 0, by setting bit 5 (PWR) of parameter No. 11277 to 1, it is possible to
preset the relative coordinates at power-on in the machine coordinate system.
- 529 -
12.SETTING AND DISPLAYING DATA OPERATION B-64554EN/01
Fig. 12.1.3 (a) Current position (overall) screen (10.4-inch display unit)
Explanation
- Coordinate display
The current positions of the tool in the following coordinate systems are displayed at the same time:
• Current position in the relative coordinate system (relative coordinate)
• Current position in the workpiece coordinate system (absolute coordinate)
• Current position in the machine coordinate system (machine coordinate)
• Distance to go (distance to go)
- Distance to go
The distance remaining is displayed in the MEMORY or MDI mode.
The distance the tool is yet to be moved in the current block is displayed.
- 530 -
B-64554EN/01 OPERATION 12.SETTING AND DISPLAYING DATA
Explanation
- Operation mode
This function can be executed when the reset state or automatic operation stop state is entered, regardless
of the operation mode.
Display procedure for the actual feedrate on the current position display screen
Procedure
1 Press the function key to display a current position display screen. At the location indicated
by , an actual feedrate is displayed.
- 531 -
12.SETTING AND DISPLAYING DATA OPERATION B-64554EN/01
Fig. 12.1.5 (a) Current position (absolute) screen (10.4-inch display unit)
The actual feedrate is displayed in units of millimeter/min or inch/min (depending on the specified least
input increment) under the display of the current position.
Explanation
- Actual feedrate value
The actual rate is calculated by the following expression:
n n : Number of axes
Fact= ∑ (fi) 2
fi : Cutting feed rate in the tangential direction of each axis or rapid traverse rate
i =1 Fact : Actual feedrate displayed
The display unit:
mm/min (metric input).
inch/min (Inch input)
- 532 -
B-64554EN/01 OPERATION 12.SETTING AND DISPLAYING DATA
Procedure for displaying run time and parts count on the current position display
screen
Procedure
1 Press the function key to display a current position display screen. "PARTS COUNT", "RUN
TIME", and "CYCLE TIME" are displayed in the area enclosed by .
Fig. 12.1.6 (a) Current position (absolute) screen (10.4-inch display unit)
Explanation
- PART COUNT
Indicates the number of machined parts. The number is incremented each time M02, M30, or an M code
specified by parameter No. 6710 is executed.
- RUN TIME
Indicates the total run time during automatic operation, excluding the stop and feed hold time.
- CYCLE TIME
Indicates the run time of one automatic operation, excluding the stop and feed hold time. This is
automatically preset to 0 when a cycle start is performed at reset state. It is preset to 0 even when power is
removed.
- Parameter setting
The number of machined parts and run time cannot be set on current position display screens.
The number of machined parts and run time cannot be set on current position display screens. They can
be set by parameters Nos. 6711, 6751, and 6752 or on the setting screen.
Explanation
- Display of the servo axes
Servo axis load meters as many as the maximum number of controlled axes of the path can be displayed.
One screen displays load meters for up to five axes at a time. By pressing the soft key [MONITOR], load
meters for the 6th axis and up are displayed.
- Unit of graph
The bar graph for the load meter shows load up to 200% (only a value is displayed for load exceeding
200%).
- Load meter
The reading on the load meter depends on servo parameter No. 2086.
- 534 -
B-64554EN/01 OPERATION 12.SETTING AND DISPLAYING DATA
- Color of graph
If the value of a load meter exceeds 100%, the bar graph turns purple.
Section 12.2, "SCREENS DISPLAYED BY FUNCTION KEY ", consists of the following
subsections:
This section describes the screens displayed by pressing function key . The screens include a
program editing screen, program list display screen, and screens for displaying the command states of the
program currently being executed.
1. Program screen
2. Program list screen
3. Next block display screen
4. Program check screen
On the program screen, you edit the program that is currently selected, and display the block that is
currently executed during program operation. In MDI mode, you also edit an MDI operation program,
and display the block that is currently executed.
- 535 -
12.SETTING AND DISPLAYING DATA OPERATION B-64554EN/01
Fig. 12.2.1 (a) Screen for displaying the program being executed (full screen display) (10.4-inch)
For the 10.4-inch display unit, if soft key [PROGRAM] is pressed again to switch screen display to full
screen display or small screen display.
In small screen display, position display and modal display are allowed at the same time.
In full screen display, much information about a program can be displayed at a time.
Fig.12.2.1 (b) Screen for displaying the program being executed (small screen display) (10.4-inch)
- 536 -
B-64554EN/01 OPERATION 12.SETTING AND DISPLAYING DATA
Editing operations such as text insertion, modification, and deletion, and cursor movements are performed
on a word-by-word basis.
Fig. 12.2.2 (a) Program editing screen (quarter screen display) (10.4-inch)
For the 10.4-inch display unit, if soft key [PROGRAM] is pressed again during editing to switch screen
display to full screen display or small screen display.
In small screen display, position display and modal display are allowed at the same time.
In full screen display, much information about a program can be displayed at a time.
Fig. 12.2.2 (b) Program editing screen (small screen display) (10.4-inch)
- 537 -
12.SETTING AND DISPLAYING DATA OPERATION B-64554EN/01
In case of the 8.4-inch display unit, when bit 7 (MDL) of parameter No.3107 is set 1, the modal
information can be displayed in the screen.
- 538 -
B-64554EN/01 OPERATION 12.SETTING AND DISPLAYING DATA
- 539 -
12.SETTING AND DISPLAYING DATA OPERATION B-64554EN/01
NOTE
1 If a reset is made during execution of a program, the display of the current block
and next block is cleared.
2 When the feed hold state (HOLD) is caused between the block and the block
during the program execution, the next block display is cleared.
Explanation
- Program display
Up to four blocks from the beginning of the block being executed in the program currently being
executed are displayed.
The block being executed is displayed in reverse video.
- Modal G codes
Up to 12 modal G codes are displayed.
- 540 -
B-64554EN/01 OPERATION 12.SETTING AND DISPLAYING DATA
12.2.7 Current Block Display Screen (Only for the 8.4-Inch Display
Unit)
The block currently being executed and modal specification value are displayed in the MEM mode and
MDI mode.
Fig. 12.2.8 (a) Graphical conversational programming screen (G code menu screen) (10.4-inch)
Fig. 12.2.8 (b) Graphical conversational programming screen (G code detail screen) (10.4-inch)
The G code menu screen and G code detail screen are present on the graphical conversational
programming screen.
To display the G code detail screen, press soft key [BLOCK]. To display the G code menu screen, press
soft key [G. MENU].
- 542 -
B-64554EN/01 OPERATION 12.SETTING AND DISPLAYING DATA
Function
- Editable programs
The editable programs for each device are shown below.
- Screen display
When background editing starts, the normal editing screen is switched to the background editing screen.
The program name and "BG: EDIT", which indicates that background editing is in progress, appear in the
program status line above the program.
When background editing is performed in the reference mode, "BG: READ ONLY" appears in the
program status line. The characters are displayed in green when the program is displayed in the color
mode.
Fig. 12.2.9 (a) Screen being edited in the background (editing mode) (10.4inch)
- 543 -
12.SETTING AND DISPLAYING DATA OPERATION B-64554EN/01
Fig. 12.2.9 (b) Screen being edited in the background (reference mode) (10.4inch)
- Editing status
The following items are displayed on the program status line and program editing area according to the
background editing status.
- 544 -
B-64554EN/01 OPERATION 12.SETTING AND DISPLAYING DATA
Procedure
Method 1 When background editing is performed in the editing mode
1 Display a screen on which background editing can be started.
2 Press soft key [(OPRT)].
3 Press soft key [BG EDIT].
4 Enter the number of the program to be opened in the editing mode into the key-in
buffer.
5 Press soft key [EDIT EXEC] ([EDIT] for the 8.4-inch display unit).
The program with the entered number is opened during background editing in the
editing mode. If the program with the entered number is not present, a new
program is created and the program is opened during background editing.
5 Enter the number of the program to be opened in the reference mode into the key-in
buffer.
- 545 -
12.SETTING AND DISPLAYING DATA OPERATION B-64554EN/01
6 Press soft key [REF EXEC] ([REF EXE] for the 8.4-inch display unit).
The program with the entered number is opened during background editing in the
reference mode. If the program with the entered number is not present, a warning
message “SPECIFIED PROGRAM NOT FOUND” appears
NOTE
1 A program in the place where the main program is present can be specified for
background editing (or a program in the CNC built-in memory if no main program
is present) can be specified for background editing. On the program list screen,
however, the program of the displayed device can be opened for background
editing. When editing a program not in the place where the main program is
present in the background, select the program on the program list screen.
2 When opening an O-number program for background editing, address O can be
omitted.
3 The mode selected at the start of background editing is kept until it is finished.
To switch between the editing mode and the reference mode, finish background
editing and then start background editing in the desired mode again.
4 Even when background editing is performed in the editing mode, if either of the
following programs is specified, the program is opened temporarily in the
reference mode.
- Program being operated
- Main program
5 The device for which a new program is created at the start of background editing
is only the CNC built-in memory. For the MEMCARD or data server device,
specify an existing program because no program is created.
Procedure
1 Press function key .
2 Press soft key [DIR].
(When [LIST] is not displayed, press continuous menu key .)
3 Press soft key [(OPRT)].
4 Change the device being displayed to the MEMCARD or data server.
For changing a device, see III-11.1.
5 Move the cursor to the program to be opened for the background editing.
6 Press soft key [BG EDIT].
7 Press [EDIT EXEC] ([EDIT EXE] for the 8.4-inch display unit) or [REF EXEC] ([REF EXE] for the
8.4-inch display unit) to start background editing.
Background editing is ended and this screen is switched to the screen in the program function last
displayed in the current CNC mode before background editing.
Press function key to display or set tool compensation values and other data.
This section describes how to display or set the following data:
1. Tool Compensation Value
2. Settings
3. Sequence number comparison and stop
4. Run time and part count
5. Workpiece origin offset value
6. Custom macro common variables
7. Software operator’s panel
8. Display language switching
9. Protection of data at eight levels
10. Tool data
11. Safety zone
The software operator’s panel, and display language switching depend on the specifications of the
machine tool builder. See the manual issued by the machine tool builder for details.
2 Press chapter selection soft key [OFFSET] or press function key several times until the tool
compensation screen is displayed.
- 547 -
12.SETTING AND DISPLAYING DATA OPERATION B-64554EN/01
3 Move the cursor to the compensation value to be set or changed using page keys and cursor keys, or
enter the compensation number for the compensation value to be set or changed and press soft key
[NO.SRH].
4 To set a compensation value, enter a value and press soft key [INPUT].
To change the compensation value, enter a value to add to the current value (a negative value to
reduce the current value) and press soft key [+INPUT]. Or, enter a new value and press soft key
[INPUT].
Explanation
- Decimal point input
A decimal point can be used when entering a compensation value.
- 549 -
12.SETTING AND DISPLAYING DATA OPERATION B-64554EN/01
Fig. 12.3.2 (b) SETTING (MIRROR IMAGE) screen (10.4-inch display unit)
Explanation
- PARAMETER WRITE
Setting whether parameter writing is enabled or disabled.
0 : Disabled
1 : Enabled
- TV CHECK
Setting to perform TV check.
0 : No TV check
1 : Perform TV check
- OUTPUT CODE
Setting code when data is output through Reader/Puncher interface.
0 : EIA code output
1 : ISO code output
- INPUT UNIT
Setting a program input unit, inch or metric system
0 : Metric
1 : Inch
- I/O CHANNEL
Using channel of Reader/Puncher interface.
0 : Channel 0 (RS232-C port 1)
1 : Channel 1 (RS232-C port 1)
2 : Channel 2 (RS232-C port 2)
4 : Memory card interface
5 : Data Server interface
9 : Embeded ethernet interface
- 550 -
B-64554EN/01 OPERATION 12.SETTING AND DISPLAYING DATA
- SEQUENCE NO.
Setting of whether to perform automatic insertion of the sequence number or not at program edit in the
EDIT mode.
0 : Does not perform automatic sequence number insertion.
1 : Perform automatic sequence number insertion.
- PROGRAM FORMAT
This data is not available.
- SEQUENCE STOP
Setting the sequence number with which the operation stops for the sequence number comparison and
stop function and the number of the program to which the sequence number belongs
- MIRROR IMAGE
Setting of mirror image ON/OFF for each axes.
0 : Mirror image off
1 : Mirror image on
- Others
Page key or can also be pressed to display the SETTING (TIMER) screen. See III-12.3.4,
“Displaying and Setting Run Time, Parts Count, and Time” for this screen.
- 551 -
12.SETTING AND DISPLAYING DATA OPERATION B-64554EN/01
5 Enter in (PROGRAM NO.) for SEQUENCE STOP the number (1 to 9999) of the program
containing the sequence number with which operation stops.
6 Enter in (SEQUENCE NO.) for SEQUENCE STOP (with five or less digits) the sequence number
with which operation is stopped.
7 When the set program is selected and automatic operation is started, the operation makes a single
block stop at the block with the set sequence number.
Explanation
- Sequence number after the program is executed
After the specified sequence number is found during the execution of the program, the sequence number
setting for sequence number compensation and stop becomes “-1”.
- Exceptional blocks
If the predetermined sequence number is found in a block in which all commands are those to be
processed within the CNC control unit, the execution does not stop at that block.
[Example] N1 #1=1 ;
N2 IF[#1 EQ 1]GOTO 08 ;
N3 GOTO 09 ;
N4 M98 P1000 ;
N5 M99 ;
In the example shown above, if the predetermined sequence number is found, the execution of the
program does not stop.
- When the same sequence number is found several times in the program
If the predetermined sequence number appears twice or more in a program, the execution of the program
stops after the block in which the predetermined sequence number is found for the first time is executed.
- 552 -
B-64554EN/01 OPERATION 12.SETTING AND DISPLAYING DATA
12.3.4 Displaying and Setting Run Time, Parts Count, and Time
Various run times, the total number of machined parts, number of parts required, and number of machined
parts can be displayed.
This data can be set by parameters or on this screen (except for the total number of machined parts and
the time during which the power is on, which can be set only by parameters).
This screen can also display the clock time. The time can be set on the screen.
Procedure for Displaying and Setting Run Time, Parts Count and Time
Procedure
1 Select the MDI mode.
2 Press function key .
3 Press chapter selection soft key [SETTING].
4 Press page key or several times until the following screen is displayed.
5 To set the number of parts required, move the cursor to PARTS REQUIRED and enter the number
of parts to be machined.
6 To set the clock, move the cursor to DATE or TIME, enter a new date or time, then press soft key
[INPUT].
Explanation
- PARTS TOTAL
This value is incremented by one when M02, M30, or an M code specified by parameter No. 6710 is
executed. This value cannot be set on this screen. Set the value in parameter No. 6712.
- PARTS REQUIRED
It is used for setting the number of machined parts required.
When the “0” is set to it, there is no limitation to the number of parts.
Also, its setting can be made by the parameter No 6713.
- 553 -
12.SETTING AND DISPLAYING DATA OPERATION B-64554EN/01
- PARTS COUNT
This value is incremented by one when M02, M30, or an M code specified by parameter No. 6710 is
executed. The value can also be set by parameter No. 6711. In general, this value is reset when it reaches
the number of parts required. Refer to the manual issued by the machine tool builder for details.
- POWER ON
Displays the total time which the power is on. This value cannot be set on this screen but can be preset in
parameter No. 6750.
- RUN TIME
Indicates the total run time during automatic operation, excluding the stop and feed hold time.
This value can be preset in parameter No. 6751 or No. 6752.
- CUTTING TIME
Displays the total time taken by cutting that involves cutting feed such as linear interpolation (G01) and
circular interpolation (G02 or G03). This value can be preset in parameter No. 6753 or No. 6754.
- FREE PURPOSE
This value can be used, for example, as the total time during which coolant flows. Refer to the manual
issued by the machine tool builder for details.
- CYCLE TIME
Indicates the run time of one automatic operation, excluding the stop and feed hold time. This is
automatically preset to 0 when a cycle start is performed at reset state. It is preset to 0 even when power is
removed.
- Usage
When the command of M02 or M30 is executed, the total number of machined parts and the number of
machined parts are incremented by one. Therefore, create the program so that M02 or M30 is executed
every time the processing of one part is completed. Furthermore, if an M code set to the parameter No.
6710 is executed, counting is made in the similar manner. Also, it is possible to disable counting even if
M02 or M30 is executed (bit 0 (PCM) of parameter No. 6700 is set to 1). For details, see the manual
issued by machine tool builders.
Limitation
- Run time and part count settings
Negative value cannot be set. Also, the setting of “M” and “S” of run time is valid from 0 to 59.
Negative value may not be set to the total number of machined parts.
- Time settings
Neither negative value nor the value exceeding the value in the following table can be set.
Table 12.3.4 (a)
Item Maximum value Item Maximum value
Year 2096 Hour 23
Month 12 Minute 59
Day 31 Second 59
- 554 -
B-64554EN/01 OPERATION 12.SETTING AND DISPLAYING DATA
Procedure for displaying and setting the workpiece origin offset value
Procedure
1 Press function key .
2 Press chapter selection soft key [WORK].
The workpiece coordinate system setting screen is displayed.
3 The screen for displaying the workpiece origin offset values consists of two or more pages.
Display a desired page in either of the following two ways:
• Press the page key or .
• Enter the workpiece coordinate system number (0 : external workpiece origin offset, 1 to 6:
workpiece coordinate systems G54 to G59) and press operation selection soft key [NO.SRH].
4 Turn off the data protection key to enable writing.
5 Move the cursor to the workpiece origin offset to be changed.
6 Enter a desired value by pressing numeric keys, then press soft key [INPUT]. The entered value is
specified in the workpiece origin offset value. Or, by entering a desired value with numeric keys and
pressing soft key [+INPUT], the entered value can be added to the previous offset value.
7 When performing counter input, enter the axis name in the key-in buffer and press soft key [C
INPUT] to set the relative coordinates of the specified axis.
8 Repeat steps 5 and 6 to change other offset values.
9 Turn on the data protection key to disable writing.
Selecting the new coordinate system matches the programmed coordinate system with the actual
coordinate system.
Surface A
Programmed workpiece
origin α
Surface B
O'
X
New offset
x
O β
Origin
Previous offset
1 When the workpiece is shaped as shown above, position the reference tool manually until it touches
surface A of the workpiece.
2 Retract the tool without changing the Y coordinate.
3 Measure distance α between surface A and the programmed origin of the workpiece coordinate
system as shown above.
4 Press function key .
5 To display the WORK COORDINATES screen, press the chapter selection soft key [WORK].
- 556 -
B-64554EN/01 OPERATION 12.SETTING AND DISPLAYING DATA
8 Enter the measured value (α) then press soft key [MEASUR].
9 Move the reference tool manually until it touches surface B of the workpiece.
10 Retract the tool without changing the X coordinate.
11 Enter the measured value of distance (β) to surface B as an X value as with steps 7 and 8.
Limitation
- Consecutive input
Offsets for two or more axes cannot be input at the same time.
3 Move the cursor to the variable number to set using either of the following methods:
• Enter the variable number and press soft key [NO.SRH].
• Move the cursor to the variable number to set by pressing page keys and/or and
- 557 -
12.SETTING AND DISPLAYING DATA OPERATION B-64554EN/01
4 Enter data with numeric keys and press soft key [INPUT].
5 To set a relative coordinate in a variable, press address key , , or , then press soft
key [INP.C.].
6 To set a blank in a variable, just press soft key [INPUT]. The value field for the variable becomes
blank.
Explanation
If the value of a variable produced by an operation is not displayable, an indication below is provided.
When the significant number of digits is 12 (with bit 0 (F16) of parameter No. 6008 set to 0):
Variable value range Variable value indication
0 < Variable value < +0.00000000001 +Underflow
0 > Variable value > -0.00000000001 -Underflow
Variable value > 999999999999 +Overflow
Variable value < -999999999999 -Overflow
When the significant number of digits is 8 (with bit 0 (F16) of parameter No. 6008 set to 1):
Variable value range Variable value indication
0 < Variable value < +0.0000001 +Underflow
0 > Variable value > -0.0000001 -Underflow
Variable value > 99999999 +Overflow
Variable value < -99999999 -Overflow
- 558 -
B-64554EN/01 OPERATION 12.SETTING AND DISPLAYING DATA
Fig. 12.3.8 (a) Page 1 of Software Operator’s Panel screen (without the manual handle feed function)
(10.4-inch display unit)
Fig. 12.3.8 (b) Page 1 of Software Operator’s Panel screen (with the manual handle feed function)
(10.4-inch display unit)
- 559 -
12.SETTING AND DISPLAYING DATA OPERATION B-64554EN/01
Fig. 12.3.8 (c) Page 2 of Software Operator’s Panel screen (10.4-inch display unit)
5 Push the cursor key or to match the mark to an arbitrary position and set the
desired condition.
6 Press one of the following arrow keys to perform jog feed. Press the key together with an
arrow key to perform jog rapid traverse.
Explanation
- Valid operations
The valid operations on the software operator’s panel are shown below. Whether to use each group can be
chosen using parameter No. 7200. Those groups that are not used are not displayed on the software
operator’s panel.
Group1 : Mode selection
Group2 : Selection of jog feed axis, Manual rapid traverse
Group3 : Selection of manual pulse generator feed axis, selection of manual pulse magnification
Group4 : Jog federate, federate override, rapid traverse override
Group5 : Optional block skip, single block, machine lock, dry run
Group6 : Protect key
Group7 : Feed hold
- 560 -
B-64554EN/01 OPERATION 12.SETTING AND DISPLAYING DATA
4 Press page key or , then press cursor keys , to move the cursor to a
desired display language.
5 Press operation soft key [APPLY]. The display language is switched to the selected language. The
language specified on this screen continues to be used if the power is turned off then back on.
- 561 -
12.SETTING AND DISPLAYING DATA OPERATION B-64554EN/01
Explanation
- Language switching
The language screen can be displayed if bit 0 (NLC) of parameter No. 3280 is set to 0.
- Selectable languages
The display languages selectable on this screen are as follows:
1. English
2. Japanese
3. German
4. French
5. Chinese (Traditional)
6. Chinese (Simplified)
7. Italian
8. Korean
9. Spanish
10. Dutch
11. Danish
12. Portuguese
13. Polish
14. Hungarian
15. Swedish
16. Czech
17. Russian
18. Turkish
19. Bulgarian
20. Rumanian
Among the languages listed above, English and other usable languages are displayed on the screen as a
list of switchable languages.
Limitation
- Language parameter modification on the parameter screen
Which language to use for display is specified with parameter No. 3281. This parameter can be modified
using the parameter screen as well. However, if a modification is made on the parameter screen, the new
setting is not reflected until “APPLY” operation is performed on the language screen or the power is
turned on again. If an invalid value is set in parameter No. 3281 on the parameter screen, the screen is
displayed in English after the power is turned on again.
NOTE
The 8-level data protection function is optional.
- 562 -
B-64554EN/01 OPERATION 12.SETTING AND DISPLAYING DATA
Fig. 12.3.10.1 (a) Operation level setting screen (10.4-inch display unit)
4 Key in the password for an operation level to be set/modified, then press soft key [INPUT
PASSWD] ([INPUT]) for the 8.4-inch display unit).
5 To return the operation level to 0, 1, 2, or 3, press soft key [CANCEL PASSWD] ([CANCEL] for
the 8.4-inch display unit).
Explanation
- Operation level setting
To select operation level 0 to 3, use the corresponding memory protection key signal.
To select operation level 4 to 7, use the corresponding password.
When operation level 4 to 7 is set, the operation level remains unchanged until the password is cleared.
(The operation level also remains unchanged if the power is turned off.)
Operation level 7 is reserved for CNC and PMC maintenance.
- 563 -
12.SETTING AND DISPLAYING DATA OPERATION B-64554EN/01
NOTE
When a password is being entered, an asterisk (*) is displayed instead of each
entered character.
5 Key in an operation level whose password is to be modified, then press soft key [INPUT].
6 Key in the current password for the operation level whose password is to be modified, then press
soft key [INPUT].
7 Key in a new password, then press soft key [INPUT].
8 Key in the new password again for confirmation, then press soft key [INPUT].
9 Press soft key [PASSWDCHANGE] ([CHANGE] for the 8.4-inch display unit).
10 To clear the password, press soft key [PASSWDCLEAR] ([CLEAR] for the 8.4-inch display unit).
Explanation
Up to eight characters (only uppercase alphabetic characters and numeric characters) can be input.
- 564 -
B-64554EN/01 OPERATION 12.SETTING AND DISPLAYING DATA
NOTE
1 For a password, consisting of three to eight characters, the following characters
are available:
• Uppercase alphabetic characters
• Numeric characters
2 When a password is being entered, an asterisk (*) is displayed instead of each
entered character.
3 Whether a password can be changed at the current operation level is
determined as follows:
• Password of an operation level higher than the current operation level
Cannot be changed.
• Password of the current operation level
Can be changed.
• Password of an operation level lower than the current operation level
Can be changed (only to the initial password).
4 The set password is not displayed.
Be careful not to forget the password.
- 565 -
12.SETTING AND DISPLAYING DATA OPERATION B-64554EN/01
Fig. 12.3.10.3 (a) Protection level change screen (10.4-inch display unit)
5 Move the cursor to the change level or output level of a desired data item.
6 Key in a new desired level, then press soft key [INPUT].
Explanation
When the protection level of a data item is higher than the current operation level, the protection level of
the data item cannot be changed.
The protection level of a data item cannot be changed to a protection level higher than the current
operation level.
For each of the following types of data, you can set a data protection level. There are the following two
types of data protection levels:
• Change protection level
Sets the protection level used when data is changed.
• Output protection level
Sets the protection level used when data is output to an external unit.
As a protection level, you can set a value of 0 (low) to 7 (high).
- 566 -
B-64554EN/01 OPERATION 12.SETTING AND DISPLAYING DATA
NOTE
1 For some types of data, the output function is not provided.
2 When the protection level of data is higher than the current operation level, the
protection level cannot be changed.
3 The protection level of data cannot be changed to a level higher than the current
operation level.
4 Settable types of data increase or decrease, depending on the option
configuration.
5 For details on the protection level of PMC data, refer to “PMC Programming
Manual (B-64393EN)”.
6 To change the protection level for each part program, do so on the PROGRAM
FOLDER screen rather than on the PROTECT LEVEL screen.
7 Part program editing includes program editing for the MDI mode.
8 Presetting absolute coordinates causes preset workpiece coordinate system
values to be protected.
- 567 -
12.SETTING AND DISPLAYING DATA OPERATION B-64554EN/01
6 Type the number of the tool management data you wan to set or modify, and press soft key [INPUT].
To modify the data, type the data to increase or decrease, then press soft key [+INPUT].
Alternatively, type the data to modify, then press soft key [+INPUT].
Explanation
- Number of tools to be used
Specify the total number of tools to be used.
This data corresponds to parameter No. 16265.
- 568 -
B-64554EN/01 OPERATION 12.SETTING AND DISPLAYING DATA
NOTE
If the memory protect signal KEY1<Gn046.3> is set to “1”, the number of punch
operations is writable although parameter writing is disabled (bit 0 (PWE) of
parameter No.8900 is set to 0).
keys .
7 To move the cursor to the tool number to be changed, press the cursor keys .
8 Type the data you wan to set or modify, and press soft key [INPUT].
To modify the data, type the data to increase or decrease, then press soft key [+INPUT].
Alternatively, type the data to modify, then press soft key [+INPUT].
Fig.12.3.11 (b) Tool number registration screen 1/2 (10.4-inch display unit)
- 569 -
12.SETTING AND DISPLAYING DATA OPERATION B-64554EN/01
Fig.12.3.11 (c) Tool number registration screen 2/2 (10.4-inch display unit)
Explanation
- Number
Tool registration number. This number is a serial number corresponding to the registered tool.
- Tool number
Specify the numbers of tools to be used.
- Turret position
When T-axis control is specified (TCL, bit 4 of parameter No. 16260, is set to 1), specify the positions at
which the turret is indexed for tools.
- X-axis offset
When the tool position compensation function is used (TOF, bit 2 of parameter No. 16263 is set to 1),
specify X-axis offset for tool positions.
- Y-axis offset
When the tool position compensation function is used (TOF, bit 2 of parameter No. 16263 is set to 1),
specify Y-axis offset for tool positions in the machine coordinate system.
12.3.11.3 Displaying and setting items on the screen for the number of
press operations
Procedure
1 Select the MDI mode.
2 Press function key .
3 Press the continuous menu key until soft key [TOOL] appears.
- 570 -
B-64554EN/01 OPERATION 12.SETTING AND DISPLAYING DATA
4 Press the [TOOL] soft key to display the initial tool registration screen the initial tool registration
screen.
5 Press the menu key . Then press the [PUNCH COUNT] soft key to display the screen for the
number of press operations.
6 Move the cursor to the tool number to be changed.
• Enter the registration number of the tool for which data is to be changed, then press the
[NO.SRH] soft key.
• Move the cursor to the tool number to be changed with the page keys and cursor
keys .
7 To move the cursor to the tool number to be changed, press the cursor keys .
8 Type the data you wan to set or modify, and press soft key [INPUT].
To modify the data, type the data to increase or decrease, then press soft key [+INPUT].
Alternatively, type the data to modify, then press soft key [+INPUT].
Fig.12.3.11 (d) Screen for the Number of Punch Operations(10.4-inch display unit)
Explanation
- Number
Tool registration number. This number is a serial number corresponding to the registered tool.
- Tool life
Specify the maximum number of punch operation by each tool registered on the tool registration screens.
NOTE
If the memory protect signal KEY1<Gn046.3> is set to “1”, the punch count
number and the tool life are writable although parameter writing is disabled (bit 0
(PWE) of parameter No.8900 is set to 0).
- 571 -
12.SETTING AND DISPLAYING DATA OPERATION B-64554EN/01
keys .
7 To move the cursor to the tool number to be changed, press the cursor keys .
8 Type the data you wan to set or modify, and press soft key [INPUT].
To modify the data, type the data to increase or decrease, then press soft key [+INPUT].
Alternatively, type the data to modify, then press soft key [+INPUT].
Fig.12.3.11 (e) Tool figure registration screen 1/2 (10.4-inch display unit)
- 572 -
B-64554EN/01 OPERATION 12.SETTING AND DISPLAYING DATA
Fig.12.3.11 (f) Tool figure registration screen 2/2 (10.4-inch display unit)
Explanation
- Number
Tool registration number. This number is a serial number corresponding to the registered tool.
- Tool shape
Specify the tool shape for graphic operation.
The upper digit of the tool figure specifies the color of a line drawing and the lower digit specifies the
figure.
Upper digit Lower digit
0: Green 0: Asterisk
1: Red 1: Circle (line drawing)
2: Green 2: Quadrangle (line drawing)
3: Yellow 3: ellipse (line drawing)
4: Blue 4: Circle (filled–in drawing)
5: Pink 5: Quadrangle (filled–in drawing)
6: Sky blue 6: ellipse (filled–in drawing)
7: White
8: Gray
- Tool size(J)
Specify the tool size for graphic operation.
For details, refer toTable12.3.11 (a).
- Tool angle(K)
Specify the tool size for graphic operation.
For details, refer toTable12.3.11 (a).
- 573 -
12.SETTING AND DISPLAYING DATA OPERATION B-64554EN/01
I
01
Circle I : 0~999999.999
04
(Input unit:When the
increment system is IS-B)
I : 0~999999.999
I J : 0~999999.999
Square, 02 J
K : 0~399.999
rectangle 05
K (Input unit:When the
increment system is IS-B)
I : 0~999999.999
I J : 0~999999.999
Elongated 03 J
K : 0~399.999
hole 06
K (Input unit:When the
increment system is IS-B)
I I : 25.4mm(1inch)
Others 00
Fixed value
- 574 -
B-64554EN/01 OPERATION 12.SETTING AND DISPLAYING DATA
Fig.12.3.12 (a) Tool Number Registration Screen for Multiple Tools (10.4-inch display unit)
Explanation
- Number
Sub-tool registration number for multiple tools. This number is a serial number corresponding to the
registered sub-tool.
- Sub-tool number
Specify sub-tool numbers used for controlling multiple tools.
- Angle
Specify angles used for indexing the turret for sub-tools.
- Y-axis offset
When the tool position compensation function is used (TOF, bit 2 of parameter No. 16263 is set to 1),
specify tool position compensation for sub-tools along the Y-axis in the machine coordinate system.
keys .
- 575 -
12.SETTING AND DISPLAYING DATA OPERATION B-64554EN/01
7 To move the cursor to the tool data to be changed, press the cursor keys .
8 Type the data you wan to set or modify, and press soft key [INPUT].
To modify the data, type the data to increase or decrease, then press soft key [+INPUT].
Alternatively, type the data to modify, then press soft key [+INPUT].
Fig.12.3.12 (b) Tool figure registration screen for multiple tools 1/2 (10.4-inch display unit)
Fig.12.3.12 (c) Tool figure registration screen for multiple tools 2/2 (10.4-inch display unit)
Explanation
- Number
Sub-tool registration number for multiple tools. This number is a serial number corresponding to the
registered sub-tool.
- Tool shape
Specify the sub-tool shape for graphic operation.
- 576 -
B-64554EN/01 OPERATION 12.SETTING AND DISPLAYING DATA
The upper digit of the tool shape specifies the color of a line drawing and the lower digit specifies the
shape.
- Tool size(J)
Specify the sub-tool size for graphic operation.
For details, refer toTable12.3.12 (a).
- Tool angle(K)
Specify the sub-tool size for graphic operation.
For details, refer to Table12.3.12 (a).
I
01
Circle I : 0~999999.999
04
(Input unit:When the
increment system is IS-B)
I : 0~999999.999
I J : 0~999999.999
Square, 02 J
K : 0~399.999
rectangle 05
K (Input unit:When the
increment system is IS-B)
I : 0~999999.999
I J : 0~999999.999
Elongated 03 J
K : 0~399.999
hole 06
K (Input unit:When the
increment system is IS-B)
I I : 25.4mm(1inch)
Others 00
Fixed value
- 577 -
12.SETTING AND DISPLAYING DATA OPERATION B-64554EN/01
Displaying and Setting Items on the Safety Zone Setting Screen (Type A)
Procedure
1 Select the MDI mode.
2 Press function key .
3 Press the continuous menu key until soft key [SAFTY ZONE] appears.
4 Press the [SAFTY ZONE] soft key to display the safety zone setting screen.
5 The safety zone is displayed in the absolute coordinate system. By setting MDP, bit 0 of parameter
No. 16502, the zone can be displayed in the machine coordinate system.
6 Usually, setting data is not enabled on the safety zone setting screen. However, Setting bit 4 (SZI) of
parameter No.16502 allows setting data.
7 To move the cursor to the data of safety zone to be changed, press the page keys and the
cursor keys .
8 Type the data you wan to set or modify, and press soft key [INPUT].
To modify the data, type the data to increase or decrease, then press soft key [+INPUT].
Alternatively, type the data to modify, then press soft key [+INPUT].
Fig.12.3.13 (a) Safety Zone Setting Screen (Type A), Absolute position display (10.4-inch display unit)
- 578 -
B-64554EN/01 OPERATION 12.SETTING AND DISPLAYING DATA
Fig.12.3.13 (b) Safety Zone Setting Screen (Type A), Machine position display (10.4-inch display unit)
NOTE
1 The tool position that is selected by selection signals for tool area of safety zone
STZS0 - STZS3<Gn232.0 to .3>, is displayed.
2 Please set unnecessary safety zone to the tool coordinates used for reference
position return.
- At displaying in absolute coordinate :
Setting value = Coordinate by automatic coordinate system setting (parameter
No.1250) - workpiece coordinate system offset amount
- At displaying in machine coordinate : Setting 0.
Explanation
- Safety zone #n (n: 1 to 4)
X1
Specify the coordinate of safety zone along the positive X direction.
X2
Specify the coordinate of safety zone along the minus X direction
Y
Specify the coordinate of safety zone along the Y direction
- Tool position
X
Specify the dimensions of a tool along the X-axes. If the circle tool area is set, please set radius
of the tool area.
Y
Specify the dimensions of a tool along the Y-axes. If the circle tool area is set, please set 0.
- Zone number
Specified the number of safety zone detected when automatic safety-zone setting by external signal.
- 579 -
12.SETTING AND DISPLAYING DATA OPERATION B-64554EN/01
Displaying and Setting Items on the Safety Zone Setting Screen (Type B)
Procedure
1 Select the MDI mode.
2 Press function key .
3 Press the continuous menu key until soft key [SAFTY ZONE] appears.
4 Press the [SAFTY ZONE] soft key to display the safety zone setting screen.
5 The safety zone is displayed in the absolute coordinate system. By setting MDP, bit 0 of parameter
No. 16502, the zone can be displayed in the machine coordinate system.
6 Usually, setting data is not enabled on the safety zone setting screen. However, Setting bit 4 (SZI) of
parameter No.16502 allows setting data.
7 To move the cursor to the data of safety zone to be changed, press the page keys and the
cursor keys .
8 Type the data you wan to set or modify, and press soft key [INPUT].
To modify the data, type the data to increase or decrease, then press soft key [+INPUT].
Alternatively, type the data to modify, then press soft key [+INPUT].
Fig.12.3.13 (c) Safety Zone Setting Screen (Type B), Machine position display (10.4-inch display unit)
- 580 -
B-64554EN/01 OPERATION 12.SETTING AND DISPLAYING DATA
Fig.12.3.13 (d) Safety Zone Setting Screen (Type B), Machine position display (10.4-inch display unit)
NOTE
1 The tool position that is selected by selection signals for tool area of safety zone
STZS0 - STZS3<Gn232.0 to .3>, is displayed.
2 Please set unnecessary safety zone to the tool coordinates used for reference
position return.
- At displaying in absolute coordinate :
W is set to 0.
Setting value for X, Y = Coordinate by automatic coordinate system setting
(parameter No.1250) - workpiece coordinate system offset amount
- At displaying in machine coordinate : Setting 0.
Explanation
- Safety zone (#1 - #4)
W
Specify the width of the safety zone along the X-axes.
X
Specify the center coordinate of the safety zone along the X-axes.
Y
Specify the coordinate of the safety zone along the Y-axes.
- Tool position
X
Specify the dimensions of a tool along the X-axes. If the circle tool area is set, please set radius
of the tool area.
Y
Specify the dimensions of a tool along the Y-axes. If the circle tool area is set, please set 0.
- Zone number
Specified the number of safety zone detected when automatic safety-zone setting by external signal.
- 581 -
12.SETTING AND DISPLAYING DATA OPERATION B-64554EN/01
- 582 -
B-64554EN/01 OPERATION 12.SETTING AND DISPLAYING DATA
4 Move the cursor to the parameter number to be set or displayed in either of the following ways:
• Enter the parameter number and press soft key [NO.SRH] .
• Move the cursor to the parameter number using the page keys, and , and cursor
keys, , , , and .
5 To set the parameter, enter a new value with numeric keys and press soft key [INPUT]. The
parameter is set to the entered value and the value is displayed.
6 Set 0 for PARAMETER WRITE to disable writing.
- 583 -
12.SETTING AND DISPLAYING DATA OPERATION B-64554EN/01
Explanation
- Setting parameters with external input/output devices
See Chapter, “DATA INPUT/OUTPUT” for setting parameters with external input/output devices such as
the memory card.
- Parameter list
Refer to the Parameter Manual (B-64310EN, B-64560EN) for the parameter list.
- Setting data
Some parameters can be set on the setting screen if the parameter list indicates "Setting entry is
acceptable". Setting 1 for PARAMETER WRITE is not necessary when these parameters are set on the
setting screen.
The pitch error compensation data is set according to the characteristics of the machine connected to the
NC. The content of this data varies according to the machine model. If it is changed, the machine
accuracy is reduced. In principle, the end user must not alter this data.
Pitch error compensation data can be set with external devices such as the memory card (see Chapter III-8,
“DATA INPUT/OUTPUT”). Compensation data can also be written directly with the MDI unit.
The following parameters must be set for pitch error compensation. Set the pitch error compensation
value for each pitch error compensation point number set by these parameters.
In the following example, 33 is set for the pitch error compensation point at the reference position.
31 32 33 34 35 36 37
Reference position
-1
Compensation magnification
parameter (No. 3623)
-2
Compensation number parameter for Compensation
the compensation point having the interval parameter
smallest value (No. 3621) (No. 3624)
Compensation
position number 31 3 3 3 3 3 3
Compensation
value to be set -3 +1 +1 +1 +2 -1 -3
• Number of the pitch error compensation point at the reference position : Parameter No. 3620
(for each axis)
• Number of the pitch error compensation point having the smallest value : Parameter No. 3621
(for each axis)
• Number of the pitch error compensation point having the largest value : Parameter No. 3622
(for each axis)
• Pitch error compensation magnification (for each axis) : Parameter No. 3623
• Interval of the pitch error compensation points (for each axis) : Parameter No. 3624
• Travel distance per revolution of pitch error compensation of the rotary : Parameter No. 3625
axis type (for each axis)
• Pitch error compensation in the reference position when moving to the : Parameter No. 3627
reference position from opposite to the reference position return direction
(for each axis)
Procedure for displaying and setting the pitch error compensation data
Procedure
1 Set the following parameters:
• Number of the pitch error compensation point at the reference : Parameter No. 3620
position (for each axis)
• Number of the pitch error compensation point having the smallest : Parameter No. 3621
value (for each axis)
• Number of the pitch error compensation point having the largest : Parameter No. 3622
value (for each axis)
• Pitch error compensation magnification (for each axis) : Parameter No. 3623
• Interval of the pitch error compensation points (for each axis) : Parameter No. 3624
• Travel distance per revolution of pitch error compensation of the : Parameter No. 3625
rotary axis type (for each axis)
When using bi-directional pitch error compensation (setting bit 0 (BDPx) of parameter No. 3605 to
1), specify the following parameters in addition to the pitch error compensation parameter.
• Number of the pitch error compensation point at the negative end : Parameter No. 3621
(for travel in the positive direction, for each axis)
• Number of the pitch error compensation point at the positive end : Parameter No. 3622
(for travel in the positive direction, for each axis)
• Number of the pitch error compensation point at the negative end : Parameter No. 3626
(for travel in the negative direction, for each axis)
• Pitch error compensation in the reference position when moving to : Parameter No. 3627
the reference position from opposite to the reference position return
direction (for each axis)
2 Press function key .
3 Press the continuous menu key , then press chapter selection soft key [PITCH ERROR]. The
following screen is displayed:
Fig. 12.4.2 (a) PITCH ERROR COMPENSATION screen (10.4-inch display unit)
- 586 -
B-64554EN/01 OPERATION 12.SETTING AND DISPLAYING DATA
4 Move the cursor to the compensation point number to be set in either of the following ways:
• Enter the compensation point number and press the soft key [NO.SRH].
• Move the cursor to the compensation point number using the page keys, and , and
If bit 5 (PAD) of parameter No. 11350 is 1, an axis name is displayed next to the compensation point
number set in parameter No. 3621 for determining the most negative pitch error compensation point
number.
If the bi-directional pitch error compensation function is enabled, "+ axis name" is displayed next to the
compensation point number set in parameter No. 3621 for setting the compensation point during
movement in the positive direction. And, "- axis name" is displayed next to the compensation point
number set in parameter No. 3626 for setting the compensation point during movement in the negative
direction.
NOTE
1 If the setting of the pitch error compensation parameter is not correct, the axis
name of that axis is not displayed.
2 For a rotation axis, an axis name is displayed next to the pitch error
compensation point number of the reference position set in parameter No. 3620.
- 587 -
12.SETTING AND DISPLAYING DATA OPERATION B-64554EN/01
4 Press soft key [AXIS] and select the axis to be set or changed.
5 Move the cursor to the data to be set or changed using the page keys and cursor keys.
6 Key in a setting and press soft key [INPUT] or MDI key [INPUT].
7 Set all items and press soft key [SET].
When data is set successfully, soft key [SET] is hidden. When data is changed, soft key [SET]
appears again.
- 588 -
B-64554EN/01 OPERATION 12.SETTING AND DISPLAYING DATA
NOTE
1 The DIRECTION SET item becomes blank " " if its corresponding parameter is
set to an undefined value.
2 It is also possible to input data with numeric keys and then press soft key
[INPUT] or MDI key [INPUT].
The soft keys to be displayed and their values are shown below.
- CW: 1, CCW: 0
- ON: 1, OFF: 0
Setting data
When all items are set and soft key [SET] is pressed, the CNC sets the CNC parameters to the calculated
results.
Fig. 12.4.3 (d) Soft keys for selection of a detection unit (10.4-inch)
- 589 -
12.SETTING AND DISPLAYING DATA OPERATION B-64554EN/01
NOTE
1 When the detection unit setting is 0, the detection unit is set to 1.0000 or 0.1000.
If bit 1 (ISC) of parameter No. 1013 is 1, the detection unit is 0.1000.
2 For an axis for which bit 3 (DIA, direct specification) of parameter No. 1006 is set
to 1, the detection unit is set to half the setting value (detection unit of a radius).
(Only for the T series)
Fig. 12.4.3 (e) Servo setting screen for inputting parameters (10.4-inch)
To display the servo setting screen for inputting machine constants again, press soft key [CHANGE] in
the same procedure. At this time, the servo setting screen for inputting machine constants is displayed
with the axis selected by the cursor on the servo setting screen for inputting parameters specified as the
target axis.
To prevent the servo setting screen for inputting machine constants from being displayed, set bit 2 (SVO)
of parameter No. 13117 to 1.
5 With the page keys and cursor keys, move the cursor to the position of data to be set or modified.
6 Key in a desired value then press soft key [INPUT].
- 591 -
12.SETTING AND DISPLAYING DATA OPERATION B-64554EN/01
2 Move the cursor to a color number whose color palette values are to be modified.
The current color palette value set for each primary color is displayed.
3 Select a primary color whose setting is to be modified, with the corresponding operation soft key
[RED], [GREEN], or [BLUE].
More than one primary color can be selected at the same time.
Each time operation soft key [RED], [GREEN], or [BLUE] is pressed, the operation soft key toggles
between selection and deselection.
(When operation soft keys [RED], [GREEN], and [BLUE] are not displayed, press the rightmost soft
key to display the operation soft keys.)
4 Select operation soft key [BRIGHT] or [DARK] to modify the brightness of the selected prime
color(s).
3 Pressing operation soft key [EXEC] stores the current color palette settings in the selected area.
Pressing operation soft key [CAN] or the leftmost key does not store the current color palette
settings in the selected area.
- 592 -
B-64554EN/01 OPERATION 12.SETTING AND DISPLAYING DATA
2 Press operation soft key [RECALL]. The operation soft key display switches to the following:
3 Pressing operation soft key [EXEC] calls the color palette values from the selected area to enable the
color to be modified. This operation is invalid if no color palette values are stored.
Pressing operation soft key [CAN] or the leftmost key does not call the color palette values from the
selected area.
NOTE
1 Immediately after the power is turned on, the settings of COLOR1 (parameters)
are used for display. If nothing is stored for COLOR1, the default colors are used
for display.
2 Do not modify the color setting data parameters directly by MDI key input. When
modifying the standard color data, be sure to perform a storage operation on the
color setting screen.
[TUNING]
• SERVO TUNING
On the parameter setting support menu screen, one of the displayed items can be selected to display the
corresponding screen. From each setting screen, you can return to the menu screen by performing a soft
key operation.
- 593 -
12.SETTING AND DISPLAYING DATA OPERATION B-64554EN/01
NOTE
Some items may not be displayed, depending on the system configuration.
Fig. 12.4.6.1 (a) Menu screen for parameter setting support (10.4-inch)
- 594 -
B-64554EN/01 OPERATION 12.SETTING AND DISPLAYING DATA
NOTE
Some setting screens can also be displayed by a chapter selection soft key. If a
screen is selected using a chapter selection soft key, however, you cannot return
to the parameter setting support menu screen.
Explanation
- Items displayed with [START UP]
The items of [START UP] indicate the screens for setting the minimum required parameters for starting
up the machine.
- 595 -
12.SETTING AND DISPLAYING DATA OPERATION B-64554EN/01
NOTE
Some items may not be displayed, depending on the system configuration.
Fig. 12.4.6.2 (a) Parameter setting support screen (axis setting) (10.4-inch)
- 596 -
B-64554EN/01 OPERATION 12.SETTING AND DISPLAYING DATA
3 Move the cursor to a parameter number to be set or displayed, according to one of the methods
below.
• Enter the parameter number and press soft key [NO.SRH] .
• Move the cursor to the desired parameter number by pressing page key or , and
NOTE
1 If the cursor is placed on a parameter that has no standard value assigned, no
standard value is input even when [INIT] is pressed.
2 When the cursor is placed on multiple bits for bit parameters, the multiple bits
can be input simultaneously. When [INIT] is pressed in this state, the key input
buffer displays the standard values for the bits where the cursor is placed. If a bit
has no standard value assigned, "*" is displayed for the bit, and no value is input
for the bit.
3 When [GROUP INIT]([G_INIT] for the 8.4-inch display unit) is pressed, those
parameters that have no standard values assigned are not initialized.
- 597 -
12.SETTING AND DISPLAYING DATA OPERATION B-64554EN/01
- 598 -
B-64554EN/01 OPERATION 12.SETTING AND DISPLAYING DATA
- 599 -
12.SETTING AND DISPLAYING DATA OPERATION B-64554EN/01
Screen display is switched between display for each axis and display for each item each time soft key
[CHANGE] is pressed. To display soft key [CHANGE], follow the procedure below.
1. Display the servo parameter screen.
2. Press continuous menu key to display soft key [CHANGE].
Fig. 12.4.6.6 (b) Servo parameter screen (display for each axis) (10.4-inch)
- 600 -
B-64554EN/01 OPERATION 12.SETTING AND DISPLAYING DATA
Fig. 12.4.6.6 (c) Servo parameter screen (display for each item) (10.4-inch)
The parameters can be initialized to their default values (FANUC recommended values). (For this
procedure, see this subsection or "Parameter setting support screen (axis setting)".)
There are two types of screen display for the servo gain tuning screen.
On the automatic tuning screen, servo software calculates the optimum servo loop gain of all axes or a
selected axis and automatically sets VELOCITY GAIN, CUT OVR, and H. SP HRV.
On the manual tuning screen, VELOCITY GAIN, CUT OVR, and H. SP HRV of the desired axis can be
set directly with MDI keys.
- 601 -
12.SETTING AND DISPLAYING DATA OPERATION B-64554EN/01
Fig. 12.4.6.7 (a) Servo gain tuning screen (automatic tuning screen) (10.4-inch)
Fig. 12.4.6.7 (b) Servo gain tuning screen (manual tuning screen) (10.4-inch)
Display item
VELOCITY GAIN
The value calculated by the CNC with the following expression on the basis of parameter No. 2021 is
displayed.
(Expression):
VELOCITY GAIN = (256 + No. 2021) / 256 × 100
CUT OVR
The setting of parameter No. 2107 is displayed.
H. SP HRV
The setting of parameter No. 2335 is displayed.
- 602 -
B-64554EN/01 OPERATION 12.SETTING AND DISPLAYING DATA
- 603 -
12.SETTING AND DISPLAYING DATA OPERATION B-64554EN/01
Fig. 12.4.6.7 (d) Automatic tuning screen (all axis tuning) (10.4-inch)
NOTE
1 The axis for which TUN. FINISH or INIT. ERR is indicated under VEL. GAIN
TUN. STATUS is not subjected to automatic tuning.
2 If the screen is switched to another during all axis batch tuning, all axis batch
tuning is aborted.
- 604 -
B-64554EN/01 OPERATION 12.SETTING AND DISPLAYING DATA
For example, in the conditions shown in the above figure, automatic tuning starts with the X-axis and,
when the X-axis is completed, the cursor moves to the T-axis; then automatic tuning stops. If soft key
[ONE AX TUNING] is pressed again at this time, the T-axis is subjected to automatic tuning.
The cursor keys are disabled when any axis is being subjected to automatic tuning and, if automatic
tuning is completed, the cursor keys are enabled. When automatic tuning of all axes is completed, the
cursor returns to the first axis.
NOTE
Even when the cursor positions at other than the first axis, automatic tuning
starts with the first axis.
- 605 -
12.SETTING AND DISPLAYING DATA OPERATION B-64554EN/01
Cleared
NOTE
A clear operation in the tuning completion state does not clear the VEL. GAIN
TUN. STATUS indication of the axis in the INIT. ERR state.
To clear the INIT. ERR state, change the setting of VELOCITY GAIN, CUT DVR,
or H. SP HRV on the manual tuning screen.
- 606 -
B-64554EN/01 OPERATION 12.SETTING AND DISPLAYING DATA
Fig. 12.4.6.7 (e) Automatic tuning screen (select axis tuning) (10.4-inch)
- 607 -
12.SETTING AND DISPLAYING DATA OPERATION B-64554EN/01
Cleared
NOTE
A clear operation in the tuning completion state does not clear the VEL. GAIN
TUN. STATUS indication of the axis in the INIT. ERR state.
To clear the INIT. ERR state, change the setting of VELOCITY GAIN, CUT DVR,
or H. SP HRV on the manual tuning screen.
- 608 -
B-64554EN/01 OPERATION 12.SETTING AND DISPLAYING DATA
When soft key [TUNING STOP] is pressed at this time, automatic tuning is forcibly stopped even during
automatic tuning. It is also possible to forcibly stop automatic tuning by pressing the RESET key or set
the CNC in the emergency stop state.
The VELOCITY GAIN, CUT DVR, and H. SP HRV settings of the axis for which automatic tuning was
stopped midway are returned to the settings before automatic tuning. For all axis tuning, the
VELOCITY GAIN, CUT DVR, and H. SP HRV settings of the axis for which automatic tuning was
completed remain at the values set during automatic tuning.
However, automatic tuning is stopped midway, so the indication of VEL. GAIN TUN. STATUS becomes
blank (incompletion).
NOTE
Automatic tuning can be stopped regardless of the cursor position.
- 609 -
12.SETTING AND DISPLAYING DATA OPERATION B-64554EN/01
Fig. 12.4.6.7 (h) Servo gain tuning screen (manual tuning screen) (10.4-inch)
NOTE
If any axis is being subjected to automatic tuning, [MANUAL TUNING] is not
displayed on the automatic tuning screen. Accordingly, the manual tuning
screen cannot be displayed during automatic tuning.
- Setting parameters
Move the cursor to the desired item of the desired axis and enter a value directly with MDI keys.
When soft key [+INPUT], soft key [INPUT], or MDI key [INPUT] is pressed, the value is set.
NOTE
During input with soft key [INPUT], if a value preceded by the + symbol such as
"+1" is input, a warning saying "FORMAT ERROR" is issued.
If a value falling outside the set range is input, the value is changed so as to fall
within the range.
- 610 -
B-64554EN/01 OPERATION 12.SETTING AND DISPLAYING DATA
- Caution
Reset
If the RESET key is pressed or external reset signal ERS<Gn008.7> or reset & rewind signal
RRW<Gn008.6> is input during automatic tuning, automatic tuning is stopped.
Changing parameters
If the setting of VELOCITY GAIN, CUT OVR, or H.SP HRV of the axis being subjected to automatic
tuning is changed on the parameter screen or by an external application, automatic tuning is stopped. At
this time, automatic tuning is incomplete and VEL. GAIN TUN. STATUS becomes blank.
Servo alarm
If the positional deviation exceeds the positional deviation limit, servo alarm SV0411 is issued. Set the
parameter No. 1828 (positional deviation limit during movement) again.
- 611 -
12.SETTING AND DISPLAYING DATA OPERATION B-64554EN/01
Fig. 12.4.6.8 (a) High-precision setting screen (display for each axis) (10.4-inch)
Fig. 12.4.6.8 (b) High-precision setting screen (display for each item) (10.4-inch)
Screen display is switched between display for each axis and display for each item each time soft key
[CHANGE] is pressed. (For the switching method, see "Parameter setting support screen (servo
parameter)" earlier.)
- 612 -
B-64554EN/01 OPERATION 12.SETTING AND DISPLAYING DATA
- 613 -
12.SETTING AND DISPLAYING DATA OPERATION B-64554EN/01
Explanation
- Parameters displayed for parameter setting support
Table 12.4.6.10 (a) Parameters displayed for parameter setting support (1)
Parameter
Menu Group Name Brief description
No.
AXIS BASIC 1001#0 INM Least command increment on linear axes:
SETTING 0:Metric (millimeter machine) 1:Inch (inch machine)
1005#0 ZRNx When an automatic operation (other than G28) is executed before
reference position return:
0:Alarm is issued (PS0224) 1:No alarm is issued.
1005#1 DLZx Reference position return without dogs:
0:Disabled 1:Enabled
1006#0 ROTx Setting of linear axes or rotary axis:
0:Linear axis 1:Rotation axis
1006#3 DIAx Setting of the amount of travel:
0:Radius specification 1: Diameter specification
1006#5 ZMIx Reference position return direction:
0:Plus direction 1:Minus direction
1008#0 ROAx Rotation axis roll-over function:
0:Disabled 1:Enabled
1008#2 RRLx With the amount of travel per revolution, relative coordinates are:
0:Not rounded 1:Rounded
1013#1 ISCx Sets the least input increment and least command increment:
0:IS-B 1:IS-C
1020 Program name
1022 Sets each axis in the basic coordinate system.
1023 Servo axis number
1815#1 OPTx A separate pulse coder is:
0:Not used 1:Used
1815#4 APZx The correspondence between machine positions and
absolute-position detector positions is:
0:Not established 1:Established
1815#5 APCx The position detector used is:
0:Other than an absolute-position detector 1:Absolute-position
detector
1825 Servo loop gain
1826 In-position width
1828 Positional deviation limit during travel
1829 Positional deviation limit during stop
- 614 -
B-64554EN/01 OPERATION 12.SETTING AND DISPLAYING DATA
Table 12.4.6.10 (b) Parameters displayed for parameter setting support (2)
Parameter
Menu Group Name Brief description
No.
AXIS SPINDLE 3716#0 A/S (Not used)
SETTING 3717
COORDI- 1240 Machine coordinate of the first reference position
NATE
1241 Machine coordinate of the second reference position
1260 Amount of travel per revolution of a rotary axis
1320 Positive direction border coordinates of stored stroke check 1
1321 Negative direction border coordinates of stored stroke check 1
FEED 1401#6 RDR For a rapid traverse command, dry run is:
RATE 0:Disabled 1:Enabled
1410 Dry run feedrate
1420 Rapid traverse rate
1421 Rapid traverse override F0 rate
1423 Jog feedrate
1424 Manual rapid traverse rate
1425 FL feedrate for reference position return
1428 Reference position return feedrate
1430 Maximum cutting feedrate
ACC./DEC 1610#0 CTL Acceleration/deceleration for cutting feed is:
. 0:Exponential acceleration/deceleration
1:Linear acceleration/deceleration after interpolation
1610#4 JGL Acceleration/deceleration for jog feed is:
0:Exponential acceleration/deceleration
1:Same as acceleration/deceleration for cutting feed (The settings
of bit 1 (CTBx) and bit 0 (CTLx) of parameter No. 1610 are
followed.)
1620 Time constant for linear acceleration/deceleration for rapid
traverse
1622 Time constant for acceleration/deceleration for cutting feed
1623 FL feedrate for acceleration/deceleration after interpolation for
cutting feed
1624 Time constant for acceleration/deceleration for jog feed
1625 FL feedrate for exponential acceleration/deceleration for jog feed
MISCELLA MISC 981 Sets 0.
-NY 982 Sets 0.
3017 Output time of reset signal
3030 Allowable number of digits of an M code
3716#0 A/Ss (Not used)
3717
Explanation
There are four periodic maintenance screens: the status screen, the setting screen, the machine menu
screen, and the NC menu screen.
- 615 -
12.SETTING AND DISPLAYING DATA OPERATION B-64554EN/01
Status screen : Item names, remaining times, and count statuses are displayed, and item names
are set.
Setting screen : Life times, remaining times, and count types (count-down method) are set.
Machine menu screen : The names of consumables in the machine can be registered.
NC menu screen : The names of consumables in the NC are already registered.
Status screen
When soft key [STATUS] is pressed, the status screen is displayed. The status screen shows the item
names, count statuses, and remaining times of managed consumables.
- 616 -
B-64554EN/01 OPERATION 12.SETTING AND DISPLAYING DATA
- Item name
As the item name, set the name of a consumable to be managed by periodic maintenance. To set an item
name, select a name from the machine menu screen or NC menu screen, or directly enter the name using
the MDI keys.
Initially, there is no item name set on the machine menu screen, so item names must be registered in
advance. For the registration method, see the description of the procedure for registering item names on
the machine menu screen.
When soft key [+INPUT] is pressed instead of soft key [INPUT], the entered characters can be added to
an existing item name.
When typing 2-byte characters, type "*" before and after the character codes. The 2-byte character codes
must conform to FANUC codes. (See Appendix, "FANUC 2-BYTE CHARACTER CODE TABLE".)
An item name to be registered must be up to 24 characters long if it consists of alphanumeric characters
only; or it must be up to 12 characters long if it consists of 2-byte characters only.
Example: To register "LCD バックライト", enter the following:
>LCD*110E10F410CC114010B610FE*_
- 617 -
12.SETTING AND DISPLAYING DATA OPERATION B-64554EN/01
NOTE
1 An asterisk "*" is used as a control code, so it cannot be used in item names. In
addition, characters "[", "]", "(", and ")" cannot be used in item names.
2 When an item name consisting of both alphanumeric characters and 2-byte
characters is registered, the warning "DATA OUT OF RANGE" may be output.
- Remaining time
As the remaining time, the period of time left until the time for replacement is reached by count down
operation is displayed.
If the percentage of the remaining time to the life time has reached to the value (%) specified by
parameter No. 8911, or smaller, the remaining time is displayed in red.
Even after the life time has expired, count down operation continues.
NOTE
On the status screen, the remaining time and life time cannot be set.
These items must be set on the setting screen.
- Count status
The count status is indicated on the left side of the item number as follows:
Setting screen
On the setting screen, the life time, remaining time, and count type of a managed consumable are set.
- 618 -
B-64554EN/01 OPERATION 12.SETTING AND DISPLAYING DATA
Display procedure
1 When the status screen is displayed, press soft key [(OPRT)].
2 Press soft key [CHANGE].
- Life time
Set the life time of a consumable.
Move the cursor to an existing item, type a life time, then press soft key [INPUT] (or the key). The
life time is then set, and the same value is set also as the remaining time.
At this time, "------" is indicated in the count type field.
When soft key [+INPUT] is pressed, the entered value can be added to the life time already set. The same
value as the added value is added also to the remaining time.
A value ranging from 0 to 65535 (in hours) can be set.
NOTE
1 If a setting operation is attempted when the item name is not registered, the
warning "EDIT REJECTED" is issued.
2 If a value exceeding the valid range is entered, the warning "DATA IS OUT OF
RANGE" is issued.
3 If soft key [ERASE] or [TYPE] is pressed, the warning "EDIT REJECTED" is
issued.
- Remaining time
The period of time left until the time for replacement is reached by count down operation is indicated.
If the percentage of the remaining time to the life time has reached the value (%) specified by parameter
No. 8911, or smaller, the remaining time is displayed in red.
Even after the life time has expired, count down operation continues.
Move the cursor to the remaining time of a target registered number, type a remaining time, then press
soft key [INPUT] (or the key). The remaining time is then set.
When soft key [+INPUT] is pressed, the entered value can be added to the remaining time already set.
A value ranging from 0 to (life time) can be set.
When soft key [ERASE] then soft key [EXEC] are pressed, the same value as the life time is set.
- 619 -
12.SETTING AND DISPLAYING DATA OPERATION B-64554EN/01
NOTE
1 If a setting operation is attempted when the item name or life time is not
registered, the warning “EDIT REJECTED” is issued.
2 When a value exceeding the valid range is entered, the warning “DATA IS OUT
OF RANGE” is issued.
3 If horizontal soft key [TYPE] is pressed, the warning “EDIT REJECTED” is
issued.
- Count type
As the count type, select the way of counting.
Place the cursor on the count type of a target registration number, then press soft key [TYPE]. Count
types are displayed as soft keys as shown below. Select one of these soft keys, then press soft key
[EXEC].
NOTE
1 If a setting operation is attempted when the item name or life time is not
registered, the warning “EDIT REJECTED” is issued.
2 Soft keys [INPUT] and [+INPUT] have no effect.
3 When counting is performed at all times, a 24-hour error is generated in leap
year.
4 If soft key [ERASE] is pressed, the warning “EDIT REJECTED” is issued.
- 620 -
B-64554EN/01 OPERATION 12.SETTING AND DISPLAYING DATA
On the machine menu screen, item names can be registered using one of the following two methods:
• Registration from a program
• Registration using the MDI keys
Format
G10 L61 Px [n]
X… Registration number
n… Item name,
format: [alphanumeric-characters*2-byte-characters*alphanumeric-characters]
When soft key [+INPUT] is pressed, the typed characters can be added to an already registered item
name.
Format
Alphanumeric-characters*2-byte-characters*alphanumeric-characters
Two-byte character codes must conform to FANUC codes. (See Appendix, "FANUC 2-BYTE
CHARACTER CODE TABLE".)
When typing 2-byte characters, type an asterisk "*" before and after the character codes. An item name to
be registered must be up to 24 characters long if it consists of alphanumeric characters only; or it must be
up to 12 characters long if it consists of 2-byte characters only.
Example:
To register "LCD バックライト", enter the following:
Registration with a program
G10 L61 P1 [LCD*110E10F410CC114010B610FE*]
Registration with MDI keys
>LCD*110E10F410CC114010B610FE*_
NOTE
1 An asterisk "*" is used as a control code, so it cannot be used in item names. In
addition, characters "[", "]", "(", and ")" cannot be used in item names.
2 When an item name consisting of both alphanumeric characters and 2-byte
characters is registered, the warning “DATA IS OUT OF RANGE” may be output.
3 When a blank item name is selected on the machine screen, the warning “EDIT
REJECTED” is issued.
- 621 -
12.SETTING AND DISPLAYING DATA OPERATION B-64554EN/01
To delete a registered item name, move the cursor to the item name, press soft key [ERASE], then press
soft key [EXEC].
NC menu screen
On the NC menu screen, the names of NC consumables are registered. From this screen, an item name
can be registered on the status screen. For the method of registration to the status screen, see the
description of the status screen.
NOTE
On the NC menu screen, the registration, deletion, and I/O of item names cannot
be performed.
When a blank item name is selected, a blank is set.
There are two types of system configuration screens: the hardware configuration screen and the software
configuration screen. The screen display can switch between these screens by using and .
When soft key [SERVO INFO] or [SPINDLE INFO] is pressed, information about the connected servo
system or spindles is displayed.
- 622 -
B-64554EN/01 OPERATION 12.SETTING AND DISPLAYING DATA
- 623 -
12.SETTING AND DISPLAYING DATA OPERATION B-64554EN/01
Data output
All history data stored can be output to external input/output devices. (See Subsection 12.4.15.5,
"Outputting all history data".)
NOTE
1 All history data remains even after the power is turned off.
Clearing memory also deletes these history data items.
2 Set the time and date correctly on the setting screen.
- 624 -
B-64554EN/01 OPERATION 12.SETTING AND DISPLAYING DATA
This function displays a history of the operator's key operations and signal operations made when a
failure occurred or an alarm was issued, and also information about alarms.
The following data is recorded:
a Operation history
i MDI key operations made by the operator
ii I/O signal (X,Y,G,F) on/off switching
b Alarm history
i Alarms issued
ii Modal information in a block executed and coordinates observed when an alarm was issued
(Not displayed on the screen)
c Data modification history
i Modification of tool offset data
(When bit 0 (HTO) of parameter No. 3196 is set to 1)
ii Modification of workpiece offset data/extended workpiece offset data/workpiece shift (T
series)
(When bit 1 (HWO) of parameter No. 3196 is set to 1)
iii Modification of parameters
(When bit 2 (HPM) of parameter No. 3196 is set to 1)
iv Modification of custom macro common variable data
(When bit 3 (HMV) of parameter No. 3196 is set to 1)
d External operator message history and macro message history
(When bit 6 (HOM) of parameter No. 3196 is set to 0)
e Time stamp (time and date)
With some exceptions, history data of the operation history and alarm history can be viewed on the
operation history screen. (The data modification history, external operator message history, and alarm
messages are not displayed.)
All recorded history data can be output to external input/output devices.
NOTE
Up to about 8000 items of history data can be recorded if the data includes
history data of MDI key operations only. However, because history data varies in
size, the maximum number of history data items that can be recorded is not
fixed.
Screen display
To display the operation history screen, set bit 4 (OPH) of parameter No. 3106 to 1.
Procedure
1 Press function key .
2 Press continuous menu key several times until soft key [OPERAT HISTRY] ([OPEHIS] for
the 8.4-inch display unit) is displayed.
3 Press soft key [OPERAT HISTRY], then press newly displayed soft key [OPERAT HISTRY]. The
operation history screen is then displayed.
4 To display the previous page and next page of the operation history, use page keys and .
To display a part across two pages, use the cursor keys and . The screen display is
shifted by half page.
(With the 8.4-inch display devices, the screen display is shifted by one column.)
By pressing soft key [(OPRT)] on the operation history screen, it becomes possible to perform the
following soft key operations:
- 625 -
12.SETTING AND DISPLAYING DATA OPERATION B-64554EN/01
Displayed information
1 Serial number and display start history number/total number of history data items
A serial number is indicated on the left side of each recorded history data item. A smaller serial
number indicates an older data item.
In the upper right part of the screen, the display start history number and the total number of history
data items are indicated. The total number of history data items does not include history data items
not displayed on the screen.
2 Data
• MDI key
When bit 5 (HKE) of parameter No. 3195 is set to 0, key operations are recorded.
A key operation is indicated following a path number (for example, "1_[LEFT F]", and
"2_[LEFT F]"). (When only one path is used, the path number is not indicated.)
P_ used in "P_[LEFT F]", for example, indicates a key operation made from the outside.
i Address keys and numeric keys
Characters such as A to Z, 0 to 9, ;, +, and - are indicated directly.
These characters are displayed in black.
ii Function menu keys, operation menu keys, and soft keys
These keys are enclosed in brackets [] (for example, "[LEFT F]", "[SOFT 1]" to "[SOFT
10]", and "[RIGHT F]"). These keys are displayed with green characters.
iii Function keys, page keys, cursor keys, and so on
These keys are enclosed in angle brackets <> (for example, "<POS>", "<SYSTEM>",
"<PAGE ↑>", "<CUR →>", "<RESET>", and "<INPUT>"). These keys are displayed
with green characters.
iv Power-on key
This key is displayed with white characters in the green background.
- 626 -
B-64554EN/01 OPERATION 12.SETTING AND DISPLAYING DATA
• I/O signals
When bit 6 (HDE) of parameter No. 3195 is set to 0, I/O signals specified on the operation
history signal selection screen are recorded. Recorded signals are indicated on a bit-by-bit
basis with information about the signal address and a change in bit. These signals are displayed
with purple characters.
G000.2 ↓
Change from 0 to 1 is indicated by ↑.
Change from 1 to 0 is indicated by ↓.
Indicates a bit.
NOTE
1 When more than one bit at the same address changes at the same time, the
changes of these bits are treated as one history data item.
2 A signal fluctuation for less than 8 msec is not recorded as history data.
• Alarms
Alarm numbers and the issuance times are displayed on the operation history screen.
This alarm information is displayed with white characters in the red background.
Indicates the path number.
Indicates the alarm number.
For the servo axis type, indicates the servo axis name.
1_OT0506 (XA1)
2008/01/11 Indicates the date and time of issuance in two lines.
11:22:33
When a path name, axis name, or spindle name was changed after the issuance of an alarm, the
alarm is indicated with a newly assigned name.
NOTE
1 For item iv (recording time at regular intervals) above, if there is no operation to
be recorded within a certain period, the time is not recorded. For item iii (date
on which the date changed) above, however, it is assumed that there is a data
item to be recorded and item iv (recording time at regular intervals) above is also
recorded.
2 When the date and time in the CNC system are changed, the date and time at
which the change is made may be recorded as the date and time in iii or iv
above.
- 627 -
12.SETTING AND DISPLAYING DATA OPERATION B-64554EN/01
NOTE
To record as many items as possible instead of recording detailed data at alarm
issuance, set bit 7 (HAL) of parameter No. 3196 to 1.
NOTE
To record also external alarm and macro alarm messages as history data, set bit
3 (EAH) of parameter No. 3112 to 1, and at the same time set bit 7 (HAL) of
parameter No. 3196 to 0.
5 Modification of parameters
If bit 2 (HPM) of parameter No. 3196 is set to 1, when a parameter is modified, the number and type
(axis type, spindle type, path type, or machine group type) of the parameter are recorded as well as
the parameter data before modification, the parameter data after modification, and the time of
modification.
NOTE
Modifications made at power-on and modifications of passwords and keys are not
recorded as history data.
- 628 -
B-64554EN/01 OPERATION 12.SETTING AND DISPLAYING DATA
Procedure
1 Display the operation history screen.
2 Press soft key [(OPRT)].
3 Press soft key [ALL CLEAR].
4 Press soft key [EXEC]. Operation history data is erased.
Setting data
1 Press function key .
2 Press continuous menu key several times until soft key [OPERAT HISTRY] is displayed.
3 Press soft key [OPERAT HISTRY].
4 Press soft key [SIGNAL SELECT] to display the operation history signal selection screen.
5 Press soft key [(OPRT)].
6 Move the cursor to a desired position by using cursor keys and .
NOTE
1 While the operation history signal selection screen is being displayed, recording
of history data is not performed.
2 Only X, Y, G, and F can be set for I/O signals.
For data not set, "********" is displayed.
3 Even when an address is set, history data is not recorded if all bits are set to 0.
4 When the ON/OFF width of an input signal is less than 8 msec, recording of
history data is not performed. Also, there are some signals that are not recorded.
5 When many signals are selected, the processing speed may lower.
Procedure
1 Make an output device ready for output.
2 Set the EDIT mode.
3 Press function key .
4 Press continuous menu key several times until soft key [OPERAT HISTRY] ([OPEHIS] for
the 8.4-inch display unit) is displayed.
- 630 -
B-64554EN/01 OPERATION 12.SETTING AND DISPLAYING DATA
5 Press soft key [OPERAT HISTRY], then press newly displayed soft key [OPERAT HISTRY]. The
operation history screen is displayed.
6 Press soft key [(OPRT)].
7 Press soft key [F OUTPUT].
8 Enter a file name, and press soft key [EXEC].
When soft key [EXEC] is pressed without entering a file name, the output file name is assumed to be
OPRT_HIS.TXT.
Output format
History data is output as an ASCII file in the following format:
1 MDI keys
After "MDI", "path-number_", "key-data", and "input-time" are output in this order.
(Key data input at power-on is indicated as "Power on MDI".)
<Example>
MDI 01_A 12:23:34
MDI 02_<CAN> 12:23:34
MDI 02_[SOFT HF1] 12:23:35
MDI P_<RESET> 12:34:56
Power on MDI 01_<RESET> 12:34:56
2 I/O signals
After "DI/DO", "PMC-number_", "signal-address_bit-status", and "time-of-change" are output in
this order.
<Example>
DI/DO 1_F0002.2_on 12:34:56
DI/DO 1_ G0043.0_off G0043.1_off 12:35:00 (For multiple bits at the same address)
3 Alarms
After "Alarm", "path-number_", "type", "alarm-number", "G-code-modal-data",
"modal-data-other-than-G-code", "absolute-coordinate-value" and "machine-coordinate-value" for
each axis, and "date-and-time-of-alarm-issuance" are output in this order.
An asterisk "*" is output before the modal data that was specified in a block executed when the
alarm was issued.
<Example>
• Alarm 01_SR01973
*G0 G17 G90 G22 G94 G21 G40 G50 G67 G54 B0. D0. E0. *F100. H0. M10. *N123. O123
S0. T10. X ABS 197.999 MCN 197.999 Y ABS -199806.00 MCN -199806.00 C ABS 297.009
MCN 0.123 at 2007/09/01 19:03:28
• Alarm 02_ OT00506(Y)
*G0 G17 G90 G22 G94 G21 G40 G50 G67 G54 B0. *D12. E0. *F100. H0. M0. *N123. O123
S0. T0. X ABS 123.999 MCN 234.000 Y ABS -123.00 MCN -234.00 C ABS 1234.567 MCN
–1234.567 at 2007/09/01 12:34:56
• When additional information is not to be recorded when an alarm is issued (bit 7 (HAL) of
parameter No. 3196 is set to 1), only "path-number_", "alarm-number", and
"date-and-time-of-alarm-issuance" are output.
Alarm 01_OT00506(X) at 2007/09/01 22:08:32
Alarm 02_SW00100 at 2007/09/01 19:07:52
• When external alarm/macro alarm messages are to be recorded (bit 7 (HAL) of parameter No.
3196 is set to 0) and bit 3 (EAH) of parameter No. 3112 is set to 1, the messages are also
output.
Alarm 01_MC00001 Message ATC ALARM
G0 G17 G90 G22 G94 G21 G40 G50 G67 G54 B0. D0. E0. F0. H0. M0. N0. O9999 S0. T0.
- 631 -
12.SETTING AND DISPLAYING DATA OPERATION B-64554EN/01
X ABS 10.000 MCN 0.000 Y ABS 123.000 MCN 0.000 C ABS 0.000 MCN 0.000 at
2007/09/01 10:06:43
7 Modification of parameters
After "Parameter", "type", "parameter-number", "parameter-before-modification", "parameter-after-
modification", and "time-of-modification" are output in this order.
The following types are provided:
Path type : L is added before the path number.
Axis type : A is added before the axis number.
Machine group type : Indicated as the machine type. T is added before the machine group number.
Others : No type is output.
<Example>
Parameter N03112 00000100 → 00001100 at 11:18:40
Parameter Path type N01410 L01 0.000 → 1000.000 at 18:58:48
Parameter Axis type N01423 A04(B) 0.000 → 10000.000 at 18:58:48
Parameter Machine type N06310 T01 0 → -32768 at 19:21:13
- 632 -
B-64554EN/01 OPERATION 12.SETTING AND DISPLAYING DATA
By pressing the function key , data such as alarms, alarm history, and operator messages can be
displayed.
For details, see Sections, “ALARM DISPLAY” and “ALARM HISTORY DISPLAY”.
For operator messages, refer to the manual provided by the machine tool builder.
Fig. 12.6.1 (a) Program number and sequence number (10.4-inch display unit)
In the EDIT mode, the number of the program currently edited in the foreground is indicated.
- 633 -
12.SETTING AND DISPLAYING DATA OPERATION B-64554EN/01
Explanation
- Description of each display
(1)
(5) :
(5) is displayed in the
area for (3) and (4).
- 634 -
B-64554EN/01 OPERATION 12.SETTING AND DISPLAYING DATA
NOTE
When the FAN in the αi servo amplifier or the αi spindle amplifier falls into the
warning state or the number of rotations of the FAN built into the stand-alone
type control unit decreases, FAN is displayed blinking.
Refer to "Chapter of αi SERVO WARNING INTERFACE in MAINTENANCE
MANUAL(B-64305EN)" or "Chapter of SERVO WARNING INTERFACE in
CONNECTION MANUAL(FUNCTION) (B-64303EN-1)" for details and measures
concerning the warning state of FAN in the αi servo amplifier.
Refer to "Chapter of WARNING INTERFACE in MAINTENANCE MANUAL
(B-64305EN)" or " Chapter of SPINDLE WARNING INTERFACE in
CONNECTION MANUAL(FUNCTION) (B-64303EN-1)" for details and measures
concerning the warning state of FAN in the αi spindle amplifier.
When not corresponding to the above, it is thought that the number of rotations
of the FAN built into the stand-alone type control unit decreased.
Therefore, replace the FAN according to "Chapter of REPLACING A FAN UNIT
in MAINTENANCE MANUAL(B-64305EN)".
- 635 -
12.SETTING AND DISPLAYING DATA OPERATION B-64554EN/01
Example 1)
When a parameter is entered
Example 2)
When a parameter is entered
Example 3)
When a parameter is output to an external input/output device
function key (such as or ) at the same time. The CNC screen can be displayed again by
pressing any function key.
Parameter
3123 Time required before a screen saver is activated
NOTE
1 Setting 0 disables automatic screen erasure.
2 This function cannot be used together with manual screen erasure. If 1 or a
larger value is set in this parameter, manual screen erasure is disabled.
- 637 -
13.GRAPHIC FUNCTION OPERATION B-64554EN/01
13 GRAPHIC FUNCTION
Chapter 13, "GRAPHIC FUNCTION", consists of the following sections:
When programming is completed, the graphic function can be used to check whether machining will be
performed as desired without operating the machine by drawing the programmed tool path and machining
profile on the graphic display screen. After checking the profile, perform machining.
The function has the following features to simplify locating an error in the machining program:
(ii) Can draw the figure of a tool used at the position where punching is performed.
A circle, a rectangle, and a capsule can be used for drawing the tool figure. The figures of other tools
are drawn using asterisks.
- 638 -
B-64554EN/01 OPERATION 13.GRAPHIC FUNCTION
13.1 OPERATION
The following flowchart shows an example of drawing a programmed figure on the screen. Refer to the
flowchart if you forget the procedure.
Start
Correct Correct
program?
Start actual machining.
Explanation
Procedure
1 Press the function key . The graphic parameter setting screen appears. If it does not appear,
press the soft key [PARAMETER].
Screen
- 640 -
B-64554EN/01 OPERATION 13.GRAPHIC FUNCTION
2 Move the cursor to the parameter to be changed by pressing the cursor keys.
Y X X Y
Y Y X
X
(c) Magnification
This parameter specifies the screen magnification. The magnification refers to the
magnification to the center of the screen.
Specifying the drawing range in (b) automatically determines the effective magnification. To
magnify part of a figure, specify another magnification based on the automatically specified
value.
- 641 -
13.GRAPHIC FUNCTION OPERATION B-64554EN/01
Screen
- 642 -
B-64554EN/01 OPERATION 13.GRAPHIC FUNCTION
Screen
Workpiece
coordinate
system
(X , Y) = (0, 0)
X1
X2
X
Workpiece
coordinate
system Y
(X , Y) = (0, 0)
NOTE
When a safety zone check function is provided, data items (j) and (k) for the workpiece
holder cannot be specified. Specifying the safety zone displays the figure of the
workpiece holder (That is set for #1 to #4.).
- 643 -
13.GRAPHIC FUNCTION OPERATION B-64554EN/01
Screen
Be selecting this screen, tool paths and holes figures are drawable for checking NC programs.
(2) Ruler
The ruler is displayed at the lower right part of the screen. The value below shows the
length to the line (Input unit).
Drawing operation
(1) Select either MEMORY mode.
(This is the preparation for automatic operation, such as heading of a program, etc.)
- 644 -
B-64554EN/01 OPERATION 13.GRAPHIC FUNCTION
Screen
Since drawing is done under such a condition as MACHINE LOCK, the modal information, absolute
coordinate value, etc. are updated.
- 645 -
13.GRAPHIC FUNCTION OPERATION B-64554EN/01
When the mode is switched from the machining operation mode to the drawing mode, the following
information is stored.
After drawing, the stored information is restored as before, and the mode is switched to the machining
operation mode after heading of the drawn program.
NOTE
1 The dwell (G04) is not executed.
2 M, S, T codes signals and the press start signal are not output to the machine.
NOTE
1 Output signals OP, STL, SPL, AL are sent to the machine tool even during
drawing in the same way as in normal machining operation.
2 Input signals ERS, *SP, *ESP, ST, etc. of the machine tool are effective even
during drawing. Don’t operate these switches, accordingly. (The single block
switch SBK is ineffective.)
3 If manual reference point return function is provided, the stored stroke limit 1 is
checked even during drawing. Thus, the machine tool position must coincide
with actual machining start position before drawing start.
4 The tool profile is drawn at the end point in a block where positioning is done
even in the punch off mode using M function or under the turned-on condition of
the punch off switch on the machine tool side.
5 If the tool profile code of the designated T code is 00, mark (*) is drawn.
6 Machining operation is not executed in the drawing mode. Drawing is not
attempted halfway during machining operation.
7 It is impossible to draw a helically interpolated figure.
- 646 -
B-64554EN/01 OPERATION 13.GRAPHIC FUNCTION
13.5 EXAMPLE
Set drawing parameters for drawing the following NC program as follows.
650 mm
1100 mm
:O00002;(NC program)
- 647 -
13.GRAPHIC FUNCTION OPERATION B-64554EN/01
Screen
- 648 -
B-64554EN/01 OPERATION 13.GRAPHIC FUNCTION
Screen
- 649 -
14.VIRTUAL MDI KEY FUNCTION OPERATION B-64554EN/01
Screen on which a CNC screen is displayed in the upper left 1/4 area
Explanation
A CNC screen equivalent to that displayed on 8.4-inch display unit is displayed in the upper left area of
the screen, and the keyboard is displayed in the remaining area.
Fig. 14.1 (a) Screen on which a CNC screen is displayed in the upper left area
Operation
- Input key
The display "INPUT" on the virtual MDI keyboard is equivalent to the input key.
- Cancel key
The displays "BACK SPACE" and "CAN" on the virtual MDI keyboard are equivalent to the cancel key.
- Shift key
The display "SHIFT" ↑ on the virtual MDI keyboard is equivalent to the shift key.
Pressing the "SHIFT" key once places the system in the shift state, and pressing the "SHIFT" key again or
another key releases the system from the state.
Pressing a key in the shift state causes the character indicated in the upper left corner of the key to be
entered.
- 650 -
B-64554EN/01 OPERATION 14.VIRTUAL MDI KEY FUNCTION
NOTE
1 In SPCL mode, other keys are disabled until the "SPCL" or "INPUT" key is
pressed.
2 Pressing the "SPCL" key in "SPCL" mode causes all keys pressed in SPCL
mode to be disabled. The system is released from SPCL mode, and the SPCL
key, which has been held down, returns to the normal state.
Fig. 14.1 (b) Screen on which a CNC screen is displayed in the entire area
- 651 -
14.VIRTUAL MDI KEY FUNCTION OPERATION B-64554EN/01
Operation
- Function key page switching
Pressing "MENU" located near the lower right corner of the screen switches the screen to page 1, page 2,
page 3, and back to page 1 in this order.
- Input key
The display "INPUT" on the virtual MDI keyboard is equivalent to the input key.
- Cancel key
The displays "BS" and "CAN" on the virtual MDI keyboard are equivalent to the cancel key.
- Shift key
The display "SHIFT" on the virtual MDI keyboard is equivalent to the shift key.
The characters on the key tops change to those that can be entered in the shift state.
- 652 -
B-64554EN/01 OPERATION 14.VIRTUAL MDI KEY FUNCTION
NOTE
1 In SPCL mode, other keys are disabled until the "SPCL" or "INPUT" key is
pressed.
2 Pressing the "SPCL" key in "SPCL" mode causes all keys pressed in SPCL
mode to be disabled. The system is released from SPCL mode, and the SPCL
key, which has been held down, returns to the normal state.
14.1.1 Limitations
- Display of VGA windows on the C Language Executor
This function uses one VGA window, so that the number of VGA windows that can be used on the C
Language Executor is reduced by one.
- Display unit
Display unit on which this function can be used are 10.4 display unit with a touch panel.
- 653 -
IV. MAINTENANCE
B-64554EN/01 MAINTENANCE 1.ROUTINE MAINTENANCE
1 ROUTINE MAINTENANCE
This chapter describes routine maintenance work that the operator can perform when using the CNC.
WARNING
Only those persons who have been educated for maintenance and safety may
perform maintenance work not described in this chapter.
- 657 -
1.ROUTINE MAINTENANCE MAINTENANCE B-64554EN/01
Problem!
Dangerous? Dangerous
Danger to you and others Take action to avoid danger.
- Stop machine immediately.
- Refuge to safe place immediately.
Recovery work
- Action by you or machine tool builder
- Check operation after recovery.
For details of investigation and action on problems arising from the CNC, refer to
"TROUBLESHOOTING" in the Maintenance Manual (B-64305EN) issued by FANUC.
- 658 -
B-64554EN/01 MAINTENANCE 1.ROUTINE MAINTENANCE
It is recommended that recording media (such as floppy disks and memory cards) daily used with the
machine be used to store data. Stored data should be managed properly so that the data can be restored
quickly if a problem occurs.
WARNING
After inputting stored data, do not start an operation immediately. Instead, check
that the data is input correctly and that settings are made to meet a desired
operation.
If an operation is executed without making this check, the machine and
workpiece can be damaged and personal injury can occur due to an unexpected
machine movement. Use sufficient care.
- 659 -
1.ROUTINE MAINTENANCE MAINTENANCE B-64554EN/01
CAUTION
Before recovery of the following data items, consult with the machine tool builder
of the machine used:
• System parameters
• PMC data
• Macro programs and custom macro variables
• Pitch error compensation values
NOTE
The method of recovery described in this section is intended just to restore the
state of the backed up data, and does not guarantee recovery of the state that
was present when the data was lost.
NOTE
A lithium battery is installed as standard at the factory.
- 660 -
B-64554EN/01 MAINTENANCE 1.ROUTINE MAINTENANCE
(3) Mount the new battery unit. (Push the battery unit in until the claw is latched into the case.) Ensure
that the latch is engaged securely.
WARNING
Using other than the recommended battery may result in the battery exploding.
Replace the battery only with the specified battery (A02B-0309-K102).
- 661 -
1.ROUTINE MAINTENANCE MAINTENANCE B-64554EN/01
CAUTION
Steps (1) to (3) should be completed within 30 minutes. Do not leave the
control unit without a battery for any longer than the specified period. Otherwise,
the contents of memory may be lost.
If steps (1) to (3) may not be completed within 30 minutes, save all contents of
the SRAM memory to the memory card beforehand. Thus, if the contents of the
SRAM memory are lost, the contents can be restored easily.
See Chapter 5, "INPUT AND OUTPUT OF DATA" or Appendix C, "BOOT
SYSTEM" of maintenance manual (B-64305EN) for explanations about how to
save the contents of the SRAM memory.
NOTE
When discarding a battery, observe the applicable ordinances or other rules of
your local government. In addition, cover the exposed pins with tape or other
insulation materials to prevent a short circuit before discarding the battery.
Battery case
Lithium battery
A02B-0200-K102
Connector
WARNING
The incorrect mounting of the battery may cause an explosion. Avoid using any
battery other than the one specified here (A02B-0200-K102).
- 662 -
B-64554EN/01 MAINTENANCE 1.ROUTINE MAINTENANCE
CAUTION
Complete steps (1) to (3) within 30 minutes.
If the battery is left removed for a long time, the SRAM would lose the contents.
If there is a danger that the replacement cannot be completed within 30 minutes,
save the whole contents of the SRAM to a memory card. The contents of the
memory can be easily restored with the memory card in case the memory loses
the contents.
See Chapter 5, "INPUT AND OUTPUT OF DATA" or Appendix F,
"MAINTENANCE OF OPEN CNC (BOOT-UP AND IPL)" of maintenance manual
(B-64305EN) for explanations about how to save the contents of the SRAM
memory.
NOTE
When discarding a battery, observe the applicable ordinances or other rules of
your local government. In addition, cover the exposed pins with tape or other
insulation materials to prevent a short circuit before discarding the battery.
CAUTION
To replace the battery when the power is off, follow the same procedure as that
for the replacement of a lithium battery, described above.
2 dry cells
Cover
Connection terminal
on the back 4 mounting
holes
Case
NOTE
When discarding a battery, observe the applicable ordinances or other rules of
your local government. In addition, cover the exposed pins with tape or other
insulation materials to prevent a short circuit before discarding the battery.
- 663 -
1.ROUTINE MAINTENANCE MAINTENANCE B-64554EN/01
Between removing an old battery and inserting new battery, no more than five minutes must be allowed
to elapse.
NOTE
When discarding a battery, observe the applicable ordinances or other rules of
your local government. In addition, cover the exposed pins with tape or other
insulation materials to prevent a short circuit before discarding the battery.
- 664 -
B-64554EN/01 MAINTENANCE 1.ROUTINE MAINTENANCE
Connector
(BAT1)
Lithium battery
A02B-0200-K102
- 665 -
1.ROUTINE MAINTENANCE MAINTENANCE B-64554EN/01
NOTE
The above values indicate the estimated service life of batteries used with
FANUC absolute Pulsecoders. The actual battery service life depends on the
machine configuration based on, for example, detector types. For details, contact
the machine tool builder.
WARNING
• The absolute Pulsecoder of each of the αi/αi S series servo motors and the βi S
series servo motors (βi S0.4 to βi S22) has a built-in backup capacitor.
Therefore, even when the power to the servo amplifier is off and the batteries
are replaced, reference position return is not required if the replacement
completes within less than 10 minutes. Turn the power on and replace the
batteries if the replacement will take 10 minutes or more.
• To prevent electric shock, be careful not to touch metal parts in the power
magnetics cabinet when replacing the batteries.
• Because the servo amplifier uses a large-capacitance electrolytic capacitor
internally, the servo amplifier remains charged for a while even after the power is
turned off. Before touching the servo amplifier for maintenance or other
purposes, ensure your safety by measuring the residual voltage in the DC link
with a tester and confirming that the charge indication LED (red) is off.
• Be sure to replace the batteries with specified ones. Pay attention to the battery
polarity. If a wrong type of battery is used or a battery is installed with incorrect
polarity, the battery may overheat, blow out, or catch fire, or the absolute
position information in the absolute Pulsecoders may be lost.
• Ensure that the battery connector is inserted in the correct position.
NOTE
When discarding a battery, observe the applicable ordinances or other rules of
your local government. In addition, cover the exposed pins with tape or other
insulation materials to prevent a short circuit before discarding the battery.
- 666 -
B-64554EN/01 MAINTENANCE 1.ROUTINE MAINTENANCE
Battery case (with a cover)
A06B-6050-K060
Batteries
Four A06B-6050-K061 batteries or
D-size alkaline dry cells
CAUTION
• Four D-size alkaline dry cells (LR20) that are commercially available can be
used as batteries. A set of four A06B-6050-K061 batteries is optionally available
from FANUC.
• Replace all the four batteries with new ones. If old and new batteries are mixed,
the absolute position information in the absolute Pulsecoders may be lost.
CAUTION
• Purchase the battery from FANUC because it is not commercially available. It is
therefore recommended that you have a backup battery.
• When the built-in battery is used, do not connect BATL (B3) of connector
CXA2A/CXA2B. Also, do not connect two or more batteries to the same BATL
(B3) line. These connections are dangerous because battery output voltages
may be short-circuited, causing the batteries to overheat.
• Install the battery in the servo amplifier in a direction that allows slack in the
cable. If the battery cable is under tension, a bad connection may occur.
• If the +6 V pin and 0 V pin are short-circuited, the battery may overheat, blow
out, or catch fire, or the absolute position information in the absolute
Pulsecoders may be lost.
• When inserting the connector, align it to the connector pins.
- 667 -
1.ROUTINE MAINTENANCE MAINTENANCE B-64554EN/01
CX5X CX5X
Battery
+6 V Battery case +6 V
0V Battery 0V
Battery case
NOTE
When an old type BR-CCF2TH battery is used, order a battery case that
accommodates battery A06B-6114-K504.
- 668 -
APPENDIX
B-64554EN/01 APPENDIX A.PARAMETERS
A PARAMETERS
This manual describes all parameters indicated in this manual.
For those parameters that are not indicated in this manual and other parameters, refer to the parameter
manual.
#0 TVC TV check
0: Not performed
1: Performed
NOTE
1 The I/O setting of a memory card is made by bit 0 (ISO) of
parameter No. 0139.
2 The I/O setting of a data server is made by bit 0 (ISO) of parameter
No. 0908.
#7 #6 #5 #4 #3 #2 #1 #0
0010 PRM
#7 #6 #5 #4 #3 #2 #1 #0
0012 MIRx
- 671 -
A.PARAMETERS APPENDIX B-64554EN/01
0020 I/O CHANNEL : Input/output device selection, or interface number for a foreground input device
#7 #6 #5 #4 #3 #2 #1 #0
0100 NCR CTV
#7 #6 #5 #4 #3 #2 #1 #0
0138 MNC
#7 MNC DNC operation from the memory card and external device subprogram call from the
memory card are:
0: Not performed.
1: Performed.
- 672 -
B-64554EN/01 APPENDIX A.PARAMETERS
NOTE
When this parameter is set, the power must be turned off before
operation is continued.
NOTE
If this parameter is set to 0, a setting of 1 is assumed.
NOTE
When this parameter is set, the power must be turned off before
operation is continued.
NOTE
1 When 0 is set for all axes, the parameter is automatically set
according to the number of controlled axes of each path.
2 When the setting falls outside the range, the axis is assumed to
belong to the first path.
NOTE
When this parameter is set, the power must be turned off before
operation is continued.
NOTE
In the Series 0i-PD, this parameter is automatically set to 1.
#7 #6 #5 #4 #3 #2 #1 #0
1001 INM
NOTE
When this parameter is set, the power must be turned off before
operation is continued.
#7 #6 #5 #4 #3 #2 #1 #0
1002 IDG XIK AZR JAX
#0 JAX Number of axes controlled simultaneously in jog feed, manual rapid traverse and manual
reference position return
0: 1 axis
1: 3 axes
NOTE
When reference position return without dogs is specified, (when bit 1
(DLZ) of parameter No. 1005 is set to 1) the G28 command specified
before a reference position is set causes an alarm PS0304 to be
issued, regardless of the setting of AZR.
#4 XIK When bit 1 (LRP) of parameter No. 1401 is set to 0, namely, when positioning is
performed using non-linear type positioning, if an interlock is applied to the machine
along one of axes in positioning,
0: The machine stops moving along the axis for which the interlock is applied and
continues to move along the other axes.
1: The machine stops moving along all the axes.
#7 IDG When the reference position is set without dogs, automatic setting of the bit 0 (IDGx) of
parameter No. 1012 to prevent the reference position from being set again is:
0: Not performed.
1: Performed.
NOTE
When this parameter is set to 0, bit 0 (IDGx) of parameter No. 1012
is invalid.
#7 #6 #5 #4 #3 #2 #1 #0
1004 IPR
#7 IPR When a number with no decimal point is specified, in the metric input with increment
systems of IS-B, the least input increment of each axis is:
0: Not 10 times greater than the least command increment
1: 10 times greater than the least command increment
NOTE
When the increment system is IS-A, and bit 0 (DPI) of parameter
No. 3401 is set to 1 (pocket calculator type decimal point
programming), the least input increment cannot be 10 times greater
than the least command increment.
#7 #6 #5 #4 #3 #2 #1 #0
1005 EDMx EDPx ZRNx
#0 ZRNx If a move command other than G28 is specified by automatic operation when no
reference position return is performed yet after the power is turned on:
0: The alarm PS0224, "PERFORM REFERENCE POSITION RETURN." is issued.
1: Operation is performed without issuing an alarm.
NOTE
1 The state in which a reference position has not been established
refers to the following state:
- When an absolute position detector is not used and reference
position return has not been performed even once after power-up
- When an absolute position detector is used and the association of
the machine position with the position detected with the absolute
position detector has not been completed (See the description of
bit 4 (APZx) of parameter No. 1815.)
#4 EDPx In cutting feed, an external deceleration signal in the + direction for each axis is:
0: Invalid
1: Valid
#5 EDMx In cutting feed, an external deceleration signal in the - direction for each axis is:
0: Invalid
1: Valid
#7 #6 #5 #4 #3 #2 #1 #0
1006 ZMIx ROSx ROTx
NOTE
When at least one of these parameters is set, the power must be
turned off before operation is continued.
#7 #6 #5 #4 #3 #2 #1 #0
1008 RRLx RABx ROAx
NOTE
When at least one of these parameters is set, the power must be
turned off before operation is continued.
NOTE
ROAx specifies the function only for a rotary axis (for which bit 0
(ROTx) of parameter No. 1006 is set to 1)
- 676 -
B-64554EN/01 APPENDIX A.PARAMETERS
NOTE
RABx is valid only when ROAx is 1.
NOTE
1 RRLx is valid only when ROAx is 1.
2 Assign the amount of the shift per one rotation in parameter No.
1260.
#7 #6 #5 #4 #3 #2 #1 #0
1013 ISAx
NOTE
When at least one of these parameters is set, the power must be
turned off before operation is continued.
#7 #6 #5 #4 #3 #2 #1 #0
1015 DWT
#7 DWT When time for dwell per second is specified by P, the increment system:
0: Depends on the increment system
1: Does not depend on the increment system (1 ms)
- 677 -
A.PARAMETERS APPENDIX B-64554EN/01
NOTE
1 If the system supports the function for machining multiple
workpieces, addresses U, V, and W cannot be used for the names
of the axes controlled by the CNC.
2 If macro functions A, B, U, V, and W for a punch press are used,
addresses A, B, U, V, and W cannot be used for the names of the
axes controlled by the CNC.
3 When the second auxiliary function is provided (when bit 2 (BCD)
of parameter No. 8132 is 1), if the address (parameter No. 3460)
that specifies the second auxiliary function is used as an axis
name, the second auxiliary function is disabled.
In general, the increment system of an axis set as a parallel axis are to be set in the same
way as for the basic three axes.
NOTE
When this parameter is set, the power must be turned off before
operation is continued.
#7 #6 #5 #4 #3 #2 #1 #0
1201 ZCL ZPR
#0 ZPR Automatic setting of a coordinate system when the manual reference position return is
performed
0: Not set automatically
1: Set automatically
NOTE
ZPR is valid when the workpiece coordinate system is not used
(when bit 0 (NWZ) of parameter No. 8136 is 1). When the
workpiece coordinate system is used, the workpiece coordinate
system is established based on the workpiece origin offset
(parameters No. 1220 to 1226) during a manual reference position
return, regardless of the setting of this parameter.
#2 ZCL Local coordinate system when the manual reference position return is performed
0: The local coordinate system is not canceled.
1: The local coordinate system is canceled.
NOTE
ZCL is valid when the workpiece coordinate system is used (when
bit 0 (NWZ) of parameter No. 8136 is 0). To use the local
coordinate system (G52), set bit 0 (NWZ) of parameter No. 8136 to
0.
#7 #6 #5 #4 #3 #2 #1 #0
1202 G92
- 679 -
A.PARAMETERS APPENDIX B-64554EN/01
#2 G92 When the workpiece coordinate system is used (when bit 0 (NWZ) of parameter No. 8136
is 0), if the G code (M series: G92, T series: G50) for coordinate system setting is
specified:
0: G command is executed and no alarm is issued.
1: G command is not executed and an alarm PS0010, “IMPROPER G-CODE” is
issued.
1240 Coordinate value of the reference position in the machine coordinate system
NOTE
When this parameter is set, the power must be turned off before
operation is continued.
1241 Coordinate value of the second reference position in the machine coordinate system
1242 Coordinate value of the third reference position in the machine coordinate system
1243 Coordinate value of the fourth reference position in the machine coordinate system
Coordinate system of the reference position used when automatic coordinate system setting is
1250
performed
NOTE
When this parameter is set, the power must be turned off before
operation is continued.
#7 #6 #5 #4 #3 #2 #1 #0
1300 BFA NAL OUT
#0 OUT The area inside or outside of the stored stroke check 2 is set as an inhibition area
0: Inside
1: Outside
#1 NAL If the tool enters the inhibition area of stored stroke limit 1 during manual operation:
0: An alarm is issued and the tool is stopped.
1: An alarm is not issued, the stroke limit reach signal is output to the PMC, and the
tool is stopped.
NOTE
When the tool enters the inhibition area of stored stroke limit 1 due
to the move command issued during automatic operation, even if
this parameter is set to 1, an alarm is issued and the tool is
stopped. Even in this case, the stroke limit reach signal is output
to the PMC.
#7 #6 #5 #4 #3 #2 #1 #0
1301 OTS NPC
#2 NPC As part of the stroke limit check performed before movement, the movement specified in
G33 (skip) blocks is:
0: Checked
1: Not checked
1320 Coordinate value I of stored stroke check 1 in the positive direction on each axis
1321 Coordinate value I of stored stroke check 1 in the negative direction on each axis
- 681 -
A.PARAMETERS APPENDIX B-64554EN/01
NOTE
The area outside the area set by parameters Nos. 1320 and 1321
is a prohibited area.
1322 Coordinate value of stored stroke check 2 in the positive direction on each axis
1323 Coordinate value of stored stroke check 2 in the negative direction on each axis
NOTE
Whether the inside area or outside area is a prohibited area is set
using bit 0 (OUT) of parameter No. 1300.
1324 Coordinate value of stored stroke check 3 in the positive direction on each axis
1325 Coordinate value of stored stroke check 3 in the negative direction on each axis
NOTE
The area inside the area set by parameters Nos. 1324 and 1325 is
a prohibited area.
1326 Coordinate value II of stored stroke check 1 in the positive direction on each axis
1327 Coordinate value II of stored stroke check 1 in the negative direction on each axis
- 682 -
B-64554EN/01 APPENDIX A.PARAMETERS
[Valid data range] 9 digit of minimum unit of data (refer to standard parameter setting table (A))
(When the increment system is IS-B, -999999.999 to +999999.999)
Set the coordinate value of stored stroke check 1 on each axis in the + or - direction in the
machine coordinate system.
When the stored stroke check switch signal EXLM is set to 1, or the stored stroke check
switch signal for each axis direction +EXLx is set to 1, parameter No. 1326 and No. 1327
are used for stroke check instead of parameter No.1320 and No. 1321.
NOTE
1 The area outside the area set by parameter No. 1326 and No. 1327
is a prohibited area.
2 The EXLM signal is valid only when bit 2 (LMS) of parameter No.
1300 is set to 1.
3 The +EXLx signal is valid only when bit 0 (DLM) of parameter No.
1301 is set to 1.
#7 #6 #5 #4 #3 #2 #1 #0
1401 RF0 LRP RPD
#0 RPD Manual rapid traverse during the period from power-on time to the completion of the
reference position return.
0: Disabled (Jog feed is performed.)
1: Enabled
#7 #6 #5 #4 #3 #2 #1 #0
1402 JRV
NOTE
1 Specify a feedrate in parameter No. 1423.
2 This bit must be set 0 with FANUC Series 0i-PD.
- 683 -
A.PARAMETERS APPENDIX B-64554EN/01
#7 #6 #5 #4 #3 #2 #1 #0
1403 HTG
#7 #6 #5 #4 #3 #2 #1 #0
1404 FC0
#7 FC0 Specifies the behavior of the machine tool when a block (G01, G02, G03, etc.) containing
a feedrate command (F command) that is 0 is issued during automatic operation, as
follows:
0: An alarm PS0011, “FEED ZERO (COMMAND)” occurs.
1: An alarm PS0011 does not occur, and the block is executed.
NOTE
This parameter is set from 1 to 0, if a bit 6 (CLR) of parameter No.
3402 is 1, reset the CNC. Or if CLR is 0, turn off and on the CNC.
#7 #6 #5 #4 #3 #2 #1 #0
1405 EDR
#5 EDR As the external deceleration rate for positioning of linear interpolation type:
0: The external deceleration rate for cutting feed is used.
1: The external deceleration rate in rapid traverse for the first axis of path 1 is used.
Let us use external deceleration 1 as an example.
When this parameter bit is set to 0, the value of parameter No. 1426 is used as the
external deceleration rate for external deceleration 1.
When this parameter bit is set to 1, the value of axis 1 of parameter No. 1427 is used as
the external deceleration rate for external deceleration 1.
NOTE
Be sure to set "1" to bit 4 (EDPx) of parameter
No. 1005 and bit 5 (EDMx) of parameter No. 1005
if this parameter is set to 0 when positioning linear interpolation type
is used.
#7 #6 #5 #4 #3 #2 #1 #0
1408 RFDx
- 684 -
B-64554EN/01 APPENDIX A.PARAMETERS
#0 RFDx Feedrate control on a rotary axis is exercised using:
0: Conventional method
1: Method that specifies a feedrate on the virtual circle of the rotary axis
NOTE
When this parameter is set, the power must be turned off before
operation is continued.
1423 Feedrate in manual continuous feed (jog feed) for each axis
NOTE
This parameter is clamped to the axis-by-axis manual rapid traverse
rate (parameter No. 1424).
NOTE
1 If 0 is set, the rate set in parameter No. 1420 (rapid traverse rate for
each axis) is assumed.
2 When manual rapid traverse is selected (bit 0 (RPD) of parameter
No. 1401 is set to 1), manual feed is performed at the feedrate set in
this parameter.
- 686 -
B-64554EN/01 APPENDIX A.PARAMETERS
[Data type] Real axis
[Unit of data] mm/min, inch/min, degree/min (machine unit)
[Min. unit of data] Depend on the increment system of the applied axis
[Valid data range] Refer to the standard parameter setting table (C)
(When the increment system is IS-B, 0.0 to +999000.0)
This parameter sets a rapid traverse rate for reference position return operation using
deceleration dogs, or for reference position return operation before a reference position is
set.
This parameter is also used to set a feedrate for the rapid traverse command (G00) in
automatic operation before a reference position is set.
NOTE
1 To this feedrate setting 100%, a rapid traverse override (F0, 25, 50, or
100%) is applicable.
2 For automatic return after completion of reference position return and
machine coordinate system establishment, the normal rapid traverse rate is
used.
3 As a manual rapid traverse rate before machine coordinate system
establishment by reference position return, the jog feedrate or manual rapid
traverse rate can be selected with bit 0 (RPD) of parameter No. 1401.
Before coordinate After coordinate
system establishment system establishment
Automatic reference position return (G28) No. 1428 No. 1420
Automatic rapid traverse (G00) No. 1428 No. 1420
Manual reference position return *1 No. 1428 No. 1428 *3
Manual rapid traverse No. 1423 *2 No. 1424
4 When parameter No. 1428 is set to 0, the following parameter-set
feedrates are applied.
Before coordinate After coordinate
system establishment system establishment
Automatic reference position return (G28) No. 1420 No. 1420
Automatic rapid traverse (G00) No. 1420 No. 1420
Manual reference position return *1 No. 1424 No. 1424 *3
Manual rapid traverse No. 1423 *2 No. 1424
No. 1420: Rapid traverse rate
No. 1423: Jog feedrate
No. 1424: Manual rapid traverse rate
*1 : By using bit 2 (JZR) of parameter No. 1401, the jog feedrate can be
used for manual reference position return at all times.
*2 : When bit 0 (RPD) of parameter No. 1401 is set to 1, the setting of
parameter No. 1424 is used.
*3 : When rapid traverse is used for reference position return without dogs
or manual reference position return after reference position
establishment, regardless of the deceleration dog, the feedrate for
manual reference position return based on these functions is used (the
setting of bit 1 (DLF) of parameter No. 1404 is followed).
[Valid data range] Refer to the standard parameter setting table (C)
(When the increment system is IS-B, 0.0 to +999000.0)
Specify the maximum cutting feedrate for each axis.
1432 Maximum cutting feedrate for all axes in the acceleration/deceleration before interpolation
1441 External deceleration rate setting 2 for each axis in rapid traverse
1444 External deceleration rate setting 3 for each axis in rapid traverse
1465 Radius of a virtual circle when a feedrate is specified on the virtual circle of a rotary axis
- 688 -
B-64554EN/01 APPENDIX A.PARAMETERS
[Valid data range] Refer to the standard parameter setting table (B)
Set the radius of a virtual circle when a feedrate on the virtual circle of a rotary axis is
specified.
If 0 is set for a rotary axis, the axis is excluded from feedrate calculation.
If the input unit is the inch, enter a value in inches.
The data is then converted to a millimeter value and displayed.
#7 #6 #5 #4 #3 #2 #1 #0
1601 NCI
#7 #6 #5 #4 #3 #2 #1 #0
1606 MNJx
#7 #6 #5 #4 #3 #2 #1 #0
1610 CTLx
- 689 -
A.PARAMETERS APPENDIX B-64554EN/01
[Example]
For linear acceleration/deceleration
Speed
Rapid traverse rate
(Parameter No. 1420)
T T
Time
T : Setting of parameter No. 1620
T2 T2 T2 T2
Time
T1 T1
- 690 -
B-64554EN/01 APPENDIX A.PARAMETERS
Minimum deceleration ratio (MDR) for inner circular cutting feedrate change by automatic corner
1710
override
In the case of circular cutting offset inward, the actual feedrate is determined by a
specified feedrate (F) as follows:
Rc
F× Rc: Radius of tool center path
Rp Rp: Programmed radius
Thus, the feedrate along the programmed path satisfies the specified value of F.
Programmed path
Rc
Tool center path
Rp
However, if Rc is too small when compared with Rp, Rc/Rp 0 results to stop the tool.
So, a minimum deceleration ratio (MDR) is set, and the feedrate of the tool is set to
F×(MDR) when Rc/Rp ≤ MDR.
When this parameter is 0, the minimum deceleration ratio (MDR) is 100%.
[Min. unit of data] Depend on the increment system of the reference axis
[Valid data range] 9 digit of minimum unit of data (refer to standard parameter setting table (A))
(When the increment system is IS-B, -999999.999 to +999999.999)
Set a start distance for inner corner override in automatic corner overriding.
When θ ≤ θp, an inner corner is assumed. (Parameter No. 1711 is used to set θp.)
When a corner is determined to be an inner corner, an override is applied to the feedrate
in the range of Le in the previous block from the intersection of the corner and in the
range of Ls in the next block from the intersection of the corner.
Distances Le and Ls represent linear distances from the intersection of a corner to points
on the tool center path.
Le and Ls are set in parameters Nos. 1713 and 1714.
Programmed path
Minimum allowable feedrate for the deceleration function based on acceleration in circular
1732
interpolation
Maximum allowable acceleration rate for the deceleration function based on acceleration in circular
1735
interpolation for each axis
- 692 -
B-64554EN/01 APPENDIX A.PARAMETERS
[Unit of data] mm/sec2, inch/sec2, degree/sec2 (machine unit)
[Min. unit of data] Depend on the increment system of the applied axis
[Valid data range] Refer to the standard parameter setting table (D)
(When the machine system is metric system, 0.0 to +100000.0. When the machine system
is inch system, machine, 0.0 to +10000.0.)
Set a maximum allowable acceleration rate for the deceleration function based on
acceleration in circular interpolation.
Feedrate is controlled so that acceleration produced by changing the move direction in
circular interpolation does not exceed the value specified in this parameter.
For an axis with 0 set in this parameter, the deceleration function based on acceleration is
disabled.
If a different value is set in this parameter for each axis, a feedrate is determined from the
smaller of the acceleration rates specified for the two circular axes.
1783 Maximum allowable feedrate difference for feedrate determination based on corner feedrate difference
#7 #6 #5 #4 #3 #2 #1 #0
1802 DC2x DC4x
#1 DC4x When the reference position is established on the linear scale with reference marks:
0: An absolute position is established by detecting three reference marks.
1: An absolute position is established by detecting four reference marks.
#2 DC2x Reference position establishment operation for a linear scale with reference marks is
performed as follows:
0: The setting of bit 1 (DC4) of parameter No. 1802 is followed.
1: An absolute position is established by detecting two reference marks.
NOTE
1 When this parameter is set to 1, specify the direction of the scale
zero point by setting bit 4 (SCP) of parameter No. 1817.
2 When a rotary encoder with absolute address reference marks is
used, this parameter is invalid. Even when this parameter is set to
1, the setting of bit 1 (DC4) of parameter No. 1802 is followed.
#7 #6 #5 #4 #3 #2 #1 #0
1815 APCx APZx DCRx OPTx
NOTE
When at least one of these parameters is set, the power must be
turned off before operation is continued.
NOTE
Set this parameter to 1 when using a linear scale with reference
marks or a linear scale with an absolute address zero point
(full-closed system).
NOTE
When using a rotary encoder with absolute address reference
marks, set also bit 2 (DCLx) of parameter No. 1815 to 1.
#4 APZx Machine position and position on absolute position detector when the absolute position
detector is used
0: Not corresponding
1: Corresponding
When an absolute position detector is used, after primary adjustment is performed or after
the absolute position detector is replaced, this parameter must be set to 0, power must be
turned off and on, then manual reference position return must be performed. This
completes the positional correspondence between the machine position and the position
on the absolute position detector, and sets this parameter to 1 automatically.
#7 #6 #5 #4 #3 #2 #1 #0
1817 TANx SCPx
NOTE
When this parameter is set, the power must be turned off before
operation is continued.
#4 SCPx For two-point measurement (when bit 2 (DC2) of parameter No. 1802 is set to 1), the
scale zero point direction is:
0: On the minus side. (The reference position is located in the plus direction when
viewed from the scale zero point.)
1: On the plus side. (The reference position is located in the minus direction when
viewed from the scale zero point.)
- 694 -
B-64554EN/01 APPENDIX A.PARAMETERS
NOTE
1 This parameter is valid when bit 2 (DC2) of parameter No. 1802 is
set to 1.
2 If this parameter is set to an incorrect value, an incorrect coordinate
system is established. In such a case, reverse the setting then
perform reference position establishment operation again.
NOTE
Set this parameter to both master axis and slave axis.
#7 #6 #5 #4 #3 #2 #1 #0
1818 SDC RF2x RFSx
#0 RFSx If G28 is specified for an axis for which a reference position is not established (ZRF
<Fn120>= “0”) when a linear scale with an absolute address zero point or a linear scale
with absolute address reference marks is used:
0: A movement is made to the reference position after reference position establishment
operation.
1: No movement is made after reference position establishment operation, but the
operation is completed.
NOTE
This parameter disables movement based on the G28 command to
a reference position. So, use this parameter only in special cases.
#1 RF2x If G28 is specified for an axis for which a reference position is not established (reference
position establishment signal ZRF = 0) when a linear scale with an absolute address zero
point or a linear scale with absolute address reference marks is used:
0: A movement is made to the reference position.
1: No movement is made to the intermediate position and reference position, but the
operation is completed.
NOTE
This parameter disables movement based on the G28 command to
a reference position. So, use this parameter only in special cases.
- 695 -
A.PARAMETERS APPENDIX B-64554EN/01
NOTE
1 After setting parameter SDCx, be sure to turn the power off and
back on again. Note that the power-off alarm (PW0000) is not
issued.
2 For the full-closed system, set bit 1 (OPTx) of parameter No. 1815
to 1.
#7 #6 #5 #4 #3 #2 #1 #0
1819 DATx
#2 DATx When a linear scale with an absolute address zero point or a linear scale with absolute
address reference marks is used, the automatic setting of parameters Nos. 1883 and 1884
at manual reference position return time is:
0: Not performed.
1: Performed.
NOTE
When this parameter is set, the power must be turned off before
operation is continued.
Relationship between the increment system and the least command increment
Setting command multiply (CMR), detection multiply (DMR), and the capacity of the
reference counter
- 696 -
B-64554EN/01 APPENDIX A.PARAMETERS
Command pulse
+ DA To
×CMR Error counter
Converter
least velocity
command - control
increment
Position
Reference counter ×DMR detector
Detection Feedback
unit pulse
Set CMR and DMR so that the pulse weight of + input (command from the CNC) into the
error counter matches the pulse weight of -input (feedback from the position detector).
[Least command increment]/CMR = [Detection unit]
= [Feedback pulse unit]/DMR
[Least command increment]
Minimum unit of commands issued from the CNC to the machine
[Detection unit]
Minimum unit for machine position detection
As the size of the reference counter, specify the grid interval for the reference position
return in the grid method.
[Size of the reference counter]=[Grid interval]/[Detection unit]
[Grid interval]=[Amount of travel per rotation of the Pulsecoder]
NOTE
If a feedrate exceeding the feedrate found by the expression below
is used, an incorrect travel amount may result or a servo alarm may
be issued. Be sure to use a feedrate not exceeding the feedrate
found by the following expression:
Fmax[mm/min] = 196602 × 104 × least command increment / CMR
NOTE
When this parameter is set, the power must be turned off before
operation is continued.
- 697 -
A.PARAMETERS APPENDIX B-64554EN/01
1829 Positioning deviation limit for each axis in the stopped state
1838 Position deviation limit for each axis in moving during safety check
NOTE
When this parameter is set, the power must be turned off before
operation is continued.
- 698 -
B-64554EN/01 APPENDIX A.PARAMETERS
Position deviation limit of each axis in moving state during other than Dual Check Safety monitoring
1841
(for Dual Check Safety Function)
NOTE
When this parameter is set, the power must be turned off before
operation is continued.
1882 Interval of mark 2 of a linear scale with absolute address reference marks
NOTE
When this parameter is set, the power must be turned off before
operation is continued.
Distance 1 from the scale zero point to reference position (linear scale with absolute address reference
1883 marks) or distance 1 from the base point to reference position (linear scale with an absolute address
zero point)
NOTE
When this parameter is set, the power must be turned off before
operation is continued.
- 699 -
A.PARAMETERS APPENDIX B-64554EN/01
Distance 2 from the scale zero point to reference position (linear scale with absolute address reference
1884 marks) or distance 2 from the base point to reference position (linear scale with an absolute address
zero point)
NOTE
When this parameter is set, the power must be turned off before
operation is continued.
……..
PRM.1821
PRM.1882
- 700 -
B-64554EN/01 APPENDIX A.PARAMETERS
[Example of parameter settings]
When an encoder as shown Fig. A.1 (b) is used with an IS-B, millimeter machine:
Scale zero point + direction Reference position - direction
A B
Mark 1 = mark 2 Mark 1 Mark 2 Mark 1 Mark 1 Mark 2 Mark 1 Mark 2 Mark 1 Mark 2 Mark 1
5.000 20.000mm
Parameters
No.1821 (interval of mark 1) = 20000
No.1882 (interval of mark 2) = 20020
No.1883 (reference position) = position of point A + 5.000
= distance between A and B/(mark 2 − mark 1) × mark 1 + 5000
= 9960/(20020-20000) × 20000 + 5000
= 9965000
= -9965000 (the reference position is on the negative side)
Fig. A.1 (b)
When a linear scale with an absolute address zero point is used, set the distance from the
base point to the reference position in parameter Nos. 1883 and 1884. The base point is a
point at a scale end as shown Fig. A.1 (c).
- 701 -
A.PARAMETERS APPENDIX B-64554EN/01
20.000
20.020
If the reference position is located in the positive direction when viewed from the base
point, set a positive value; if the reference position is located in the negative direction, set
a negative value. Set the value by following the steps explained below.
<1> Set bit 1 (OPT) of parameter No. 1815 , bit 2 (DCL) of parameter No. 1815, and bit
3 (SDC) of parameter No. 1818 to enable this function.
Set 0 in parameter No. 1240.
Set 0 in parameter Nos. 1883 and 1884.
<2> At an appropriate position, establish a reference position.
(Consequently, the machine coordinate value indicates the distance from the base
point to current position.)
<3> By jog feed or handle feed, place the machine at the accurate reference position.
<4> In parameters Nos. 1883 and 1884, set the machine coordinate of that time converted
to the detection unit (machine coordinate × CMR).
If necessary, set parameter No. 1240.
NOTE
1 Set parameter Nos. 1883 and 1884 so that the distance from the
scale zero point (for a linear scale with absolute address reference
marks) or the base point (for a linear scale with an absolute
address zero point) to the reference position is within the range
from -999,999,999,999 to +999,999,999,999. If a value beyond this
range is set, an alarm DS0016 or DS1448 is issued.
2 The scale area on the scale cannot be extended across the scale
zero point or base point. Make parameter settings not to cause the
scale area to extend beyond the scale zero point or base point.
#7 #6 #5 #4 #3 #2 #1 #0
1902 ASE FMD
NOTE
When at least one of these parameters is set, the power must be
turned off before operation is continued.
- 702 -
B-64554EN/01 APPENDIX A.PARAMETERS
(When bit 0 (DFS) of parameter No. 14476 is 0:
If the relationship between the axis and the amplifier and the like are defined on the
FSSB setting screen, parameters No. 1023, No. 1905, Nos. 1936 and 1937, Nos.
14340 to 14357, and Nos. 14376 to 14391 are automatically set.)
(When bit 0 (DFS) of parameter No. 14476 is 1:
If the relationship between the axis and the amplifier and the like are defined on the
FSSB setting screen, parameters No. 1023, No. 1905, Nos. 1910 to 1919, and Nos.
1936 and 1937 are automatically set.)
1: Manual setting 2 mode.
(When bit 0 (DFS) of parameter No. 14476 is 0:
Manually set parameters No.1023, No.1905, Nos.1936 and 1937, Nos.14340 to
14357, and Nos.14376 to 14391.)
(When bit 0 (DFS) of parameter No. 14476 is 1:
Manually set parameters No.1023, No.1905, Nos.1910 to 1919, and Nos. 1936 and
1937.)
#1 ASE When automatic setting mode is selected for FSSB setting (when the bit 0 (FMD)
parameter No. 1902 is set to 0), automatic setting is:
0: Not completed.
1: Completed.
This bit is automatically set to 1 upon the completion of automatic setting.
#7 #6 #5 #4 #3 #2 #1 #0
1905 PM2x PM1x
NOTE
When at least one of these parameters is set, the power must be
turned off before operation is continued.
NOTE
When automatic setting mode is selected for FSSB setting (when
the parameter FMD (No.1902#0) is set to 0), this parameter is
automatically set when input is performed with the FSSB setting
screen. When manual setting 2 mode is selected for FSSB setting
(when the parameter FMD (No.1902#0) is set to 1), this parameter
must be set directly. When a separate detector interface unit is
used, a connector number must be set in the corresponding
parameter (No.1936 or No.1937).
- 703 -
A.PARAMETERS APPENDIX B-64554EN/01
NOTE
When these parameters are set, the power must be turned off before
operation is continued.
Example)
Connector Connector
number for the number for the
Controlled PM2x, PM1x
first separate second separate No.1936 No.1937
axis (No.1905#7, #6)
detector detector
interface unit interface unit
X 1 Not used 0 0 0, 1
Y Not used 2 0 1 1, 0
Z Not used 1 0 0 1, 0
A Not used Not used 0 0 0, 0
NOTE
When automatic setting mode is selected for FSSB setting (when the
parameter FMD (No.1902#0) is set to 0), these parameters are
automatically set when input is performed with the FSSB setting
screen. When manual setting 2 mode is selected for FSSB setting
(when the parameter FMD (No.1902#0) is set to 1), these
parameters must be set directly.
Parameters Nos. 2000 to 2999 are for digital servo, The following parameters are not explained in this
manual. Refer to “FANUC AC SERVO MOTOR αi series, FANUC AC SERVO MOTOR βi series,
FANUC LINEAR MOTOR LiS series, FANUC SYNCHRONOUS BUILT-IN SERVO MOTOR DiS
series PARAMETER MANUAL (B-65270EN)”.
- 704 -
B-64554EN/01 APPENDIX A.PARAMETERS
#7 #6 #5 #4 #3 #2 #1 #0
3008 XSG
NOTE
When this parameter is set, the power must be turned off before
operation is continued.
NOTE
When this parameter is set to 1, set parameter No. 3013, No. 3014,
No. 3012, and No. 3019. If parameter No. 3013 and No. 3014 are
not set, the deceleration signal for reference position return is
assigned to bit 0 of <X0000>. If parameter No. 3012 and No. 3019
are not set, the skip signal, and the PMC axis control skip signal
are assigned to <X0000>.
NOTE
When this parameter is set, the power must be turned off before
operation is continued.
NOTE
This parameter is valid when bit 2 (XSG) of parameter No. 3008 is
set to 1.
Depending on the option configuration of the I/O Link, the actually
usable X addresses are:
<X0000 to X0127>, <X0200 to X0327>
3013 X address to which the deceleration signal for reference position return is assigned
NOTE
When this parameter is set, the power must be turned off before
operation is continued.
- 705 -
A.PARAMETERS APPENDIX B-64554EN/01
NOTE
This parameter is valid when bit 2 (XSG) of parameter No. 3008 is
set to 1.
Depending on the option configuration of the I/O Link, the actually
usable X addresses are:
<X0000 to X0127>, <X0200 to X0327>
3019 Address to which the PMC axis control skip signal is assigned
NOTE
When this parameter is set, the power must be turned off before
operation is continued.
Example 1. When parameter No. 3012 is set to 5 and parameter No. 3019 is set to 6
When bit 2 (XSG) of parameter No. 3008 is 1, the PMC axis control skip signal is
allocated to X0006 and the skip signal is allocated to X0005.
#7 #6 #5 #4 #3 #2 #1 #0
X0005 SKIP SKIP6 SKIP5 SKIP4 SKIP3 SKIP2 SKIP8 SKIP7
#7 #6 #5 #4 #3 #2 #1 #0
X0006 ESKIP
Example 2. When parameter No. 3012 is set to 5 and parameter No. 3019 is set to 5
When bit 2 (XSG) of parameter No. 3008 is 1, the PMC axis control skip signal, and skip
signal are allocated to X0005.
#7 #6 #5 #4 #3 #2 #1 #0
X0005 ESKIP
SKIP SKIP5 SKIP4 SKIP3 SKIP2 SKIP8 SKIP7
SKIP6
NOTE
This parameter is valid when bit 2 (XSG) of parameter No. 3008 is
set to 1.
Depending on the option configuration of the I/O Link, the actually
usable X addresses are:
<X0000 to X0127>, <X0200 to X0327>
- 706 -
B-64554EN/01 APPENDIX A.PARAMETERS
NOTE
Up to 5 digits can be specified in the S code.
3033 Allowable number of digits for the B code (second auxiliary function)
#7 #6 #5 #4 #3 #2 #1 #0
3104 DAC DRC PPD MCN
NOTE
If any of the following is executed when PPD is set to 1, the relative
position display is preset to the same value as the absolute position
display:
(1) Manual reference position return
(2) Coordinate system setting based on G92
(3) Workpiece coordinate system presetting based on G92.1
- 707 -
A.PARAMETERS APPENDIX B-64554EN/01
#7 #6 #5 #4 #3 #2 #1 #0
3106 OPH
#7 #6 #5 #4 #3 #2 #1 #0
3107 MDL
#7 MDL The modal state on the program(MDI) screen of the 8.4 inch screen is:
0: Not displayed.
1: Displayed.
#7 #6 #5 #4 #3 #2 #1 #0
3111 OPM SVS
#7 #6 #5 #4 #3 #2 #1 #0
3112 EAH OMH
NOTE
This parameter is valid when bit 7 (HAL) of parameter No. 3196 is
set to 0.
- 708 -
B-64554EN/01 APPENDIX A.PARAMETERS
#7 #6 #5 #4 #3 #2 #1 #0
3113 MS1 MS0 HMC
#6 MS0
#7 MS1 Set the combination of the number of characters and the number of messages to be
preserved in the external operator message history.
NOTE
1 Although up to 255 characters can be specified for each external
operator message, you can use the combination of bits 6 (MS0)
and 7 (MS1) of parameter No. 3113 to limit the number of
characters and select the number of messages to be preserved in
the external operator message history.
2 The settings of bits 6 (MS0) and 7 (MS1) of parameter No. 3113
take effect the next time the power is turned on. The external
operator message history is erased at that time.
3 Even though you change the settings of bits 6 (MS0) and 7 (MS1)
of parameter No. 3113, the alarm PW0000, "POWER MUST BE
OFF" is not issued. You must however turn on the power again
before the new settings can take effect.
4 If text (such as single-byte katakana or kanji characters) is entered
in character code, the number of characters recorded in the
external operator message history may be smaller than the
maximum number of characters set by bits 6 (MS0) and 7 (MS1) of
parameter No. 3113.
#7 #6 #5 #4 #3 #2 #1 #0
3115 NDAx NDPx
#1 NDAx The current position and the amount of the movement to be made in absolute and relative
coordinates are:
0: Displayed.
1: Not displayed.
- 709 -
A.PARAMETERS APPENDIX B-64554EN/01
#7 #6 #5 #4 #3 #2 #1 #0
3195 EKE HDE HKE
#7 #6 #5 #4 #3 #2 #1 #0
3196 HAL HOM HMV HPM HWO HTO
#7 HAL When an alarm is issued, additional information (modal data, absolute coordinates, and
machine coordinates present at the issuance of the alarm) is:
0: Recorded in the operation history and alarm history.
1: Not recorded in the operation history and alarm history.
To record as many alarm history items as possible, rather than detailed alarm information,
set 1.
#7 #6 #5 #4 #3 #2 #1 #0
3201 NPE
#6 NPE With an M02, M30, or M99 block, program registration is assumed to be:
0: Completed
1: Not completed
#7 #6 #5 #4 #3 #2 #1 #0
3202 NE9 OSR NE8
NOTE
This parameter setting does not affect the following programs:
(1) Programs on the Data Server
(2) Programs for running and editing memory card programs on a
memory card
#3 OSR Pressing the [O SEARCH] soft key without entering a program number with keys in a
program number search:
0: Searches for the next program number (order of registration).
1: Disables the search.
NOTE
This parameter setting does not affect the following programs:
(1) Programs on the Data Server
(2) Programs for running and editing memory card programs on a
memory card
#7 #6 #5 #4 #3 #2 #1 #0
3203 MCL MER MZE
#5 MZE After MDI operation is started, program editing during operation is:
0: Enabled
1: Disabled
#6 MER When the last block of a program has been executed at single block operation in the MDI
mode, the executed block is:
0: Not deleted
1: Deleted
NOTE
When MER is set to 0, the program is deleted if the end-of-record
mark (%) is read and executed. (The mark % is automatically
inserted at the end of a program.)
- 712 -
B-64554EN/01 APPENDIX A.PARAMETERS
#7 MCL Whether a program prepared in the MDI mode is cleared by reset
0: Not deleted
1: Deleted
#7 #6 #5 #4 #3 #2 #1 #0
3204 MKP
#6 MKP When M02, M30, or EOR(%) is executed during MDI operation, the created MDI
program is:
0: Erased automatically.
1: Not erased automatically.
NOTE
If the bit 6 (MER) of parameter No. 3203 is set to 1, executing the
last block provides a choice of whether to automatically erase a
created program.
#7 #6 #5 #4 #3 #2 #1 #0
3205 PNS TOK
#3 PNS On the program screen, a search with the cursor keys is:
0: Performed.
1: Not performed.
#7 #6 #5 #4 #3 #2 #1 #0
3207 VRN
#5 VRN On the custom macro variable screen, the variable names of common variables #500 to
#549 are:
0: Not displayed.
1: Displayed.
- 713 -
A.PARAMETERS APPENDIX B-64554EN/01
This parameter sets a password for protecting program Nos. 9000 to 9999. When a value
other than zero is set in this parameter and this value differs from the keyword set in
parameter No. 3211, bit 4 (NE9) of parameter No. 3202 for protecting program Nos. 9000
to 9999 is automatically set to 1.
This disables the editing of program Nos. 9000 to 9999. Until the value set as the
password is set as a keyword, NE9 cannot be set to 0 and the password cannot be
modified.
NOTE
1 The state where password ≠ 0 and password ≠ keyword is referred
to as the locked state. When an attempt is made to modify the
password by MDI input operation in this state, the warning
message "WRITE PROTECTED" is displayed to indicate that the
password cannot be modified. When an attempt is made to modify
the password with G10 (programmable parameter input), alarm
PS0231, “ILLEGAL FORMAT IN G10 L52” is issued.
2 When the value of the password is not 0, the parameter screen
does not display the password. Care must be taken in setting a
password.
NOTE
The value set in this parameter is not displayed. When the power is
turned off, this parameter is set to 0.
#7 #6 #5 #4 #3 #2 #1 #0
3280 NLC
#7 #6 #5 #4 #3 #2 #1 #0
3401 ABS MAB DPI
#0 DPI When a decimal point is omitted in an address that can include a decimal point
0: The least input increment is assumed. (Normal decimal point input)
1: The unit of mm, inches, degree, or second is assumed. (Pocket calculator type
decimal point input)
#4 MAB Switching between the absolute and incremental programming in MDI operation
0: Performed by G90 or G91
1: Depending on the setting of bit 5 (ABS) of parameter No. 3401
NOTE
When G code system A of the lathe system is used, this parameter
is invalid.
NOTE
ABS is valid when bit 4 (MAB) of parameter No. 3401 is set to 1.
When G code system A of the lathe system is used, this parameter
is invalid.
#7 #6 #5 #4 #3 #2 #1 #0
3402 G23 CLR G91 G19 G18 G01
#0 G01 G01 Mode entered when the power is turned on or when the control is cleared
0: G00 mode (positioning)
1: G01 mode (linear interpolation)
#1 G18 Plane selected when power is turned on or when the control is cleared
0: G17 mode (plane XY)
1: G18 mode (plane ZX)
#2 G19 Plane selected when power is turned on or when the control is cleared
0: The setting of bit 1 (G18) of parameter No. 3402 is followed.
1: G19 mode (plane YZ)
When this bit is set to 1, set bit 1 (G18) of parameter No. 3402 to 0.
#6 CLR key on the MDI panel, external reset signal, reset and rewind signal, and
emergency stop signal
0: Cause reset state.
1: Cause clear state.
For the reset and clear states, refer to Appendix in the OPERATOR’S MANUAL.
#7 #6 #5 #4 #3 #2 #1 #0
3403 ADB
#6 ADB When the same address two or more times are specified in one block:
0: The address specified last is valid.
1: It is treated as a program error and the alarm PS5074, "ADDRESS DUPLICATION
ERROR" is issued.
- 716 -
B-64554EN/01 APPENDIX A.PARAMETERS
NOTE
The following notes apply when this parameter is set to 1:
1 When two or more M codes are acceptable to one block, up to
three M codes can be specified in the same block. Specifying
more than three results in the alarm PS5074.
2 You can specify any number of G codes in the same block as
long as they belong to different groups. Specifying G codes
belonging to the same group causes the alarm PS5074. You
can however specify any number of G90 and G91 codes in the
same block as they cause no alarm.
3 The alarm is not caused by blocks which call a custom macro or
execution macro.
#7 #6 #5 #4 #3 #2 #1 #0
3404 M3B M02 M30 SBP
#2 SBP In an external device subprogram call, the address P format is based on:
0: File number specification
1: Program number specification
NOTE
In memory card operation, the program number specification
format is used, regardless of the setting of this parameter.
#7 #6 #5 #4 #3 #2 #1 #0
3405 AUX
- 717 -
A.PARAMETERS APPENDIX B-64554EN/01
#0 AUX When the second auxiliary function is specified in the calculator-type decimal point input
format or with a decimal point, the multiplication factor for a value output (onto the code
signal) relative to a specified value is such that:
0: The same multiplication factor is used for both of metric input and inch input.
1: A multiplication factor used for inch input is 10 times greater than that used for
metric input.
When the second auxiliary function is specified in the calculator-type decimal point input
format or with a decimal point, the value output onto the code signal is a specified value
multiplied by a value indicated below.
Increment system Parameter AUX=0 Parameter AUX=1
Metric input IS-A for reference axis 100 times 100 times
system IS-B for reference axis 1000 times 1000 times
Inch input IS-A for reference axis 100 times 1000 times
system IS-B for reference axis 1000 times 10000 times
#7 #6 #5 #4 #3 #2 #1 #0
3406 C07 C06 C05 C04 C03 C02 C01
#7 #6 #5 #4 #3 #2 #1 #0
3407 C15 C14 C13 C12 C11 C10 C09 C08
#7 #6 #5 #4 #3 #2 #1 #0
3408 C23 C22 C20 C19 C18 C17 C16
#7 #6 #5 #4 #3 #2 #1 #0
3409 C30 C29 C28 C27 C26 C25 C24
C01 to C30 If bit 6 (CLR) of parameter No. 3402 is set to 1, set a group of G codes to be placed in the
cleared state when the CNC is reset by the key of the MDI panel, the external reset
signal, the reset and rewind signal, or the emergency stop signal.
The table below indicates the correspondence between bits and G code groups
The setting of a bit has the following meaning:
0: Places the G code group in the cleared state.
1: Does not place G code group in the cleared state.
- 718 -
B-64554EN/01 APPENDIX A.PARAMETERS
3411 M code preventing buffering 1
3421 Range specification 1 of M codes that do not perform buffering (lower limit)
3422 Range specification 1 of M codes that do not perform buffering (upper limit)
3423 Range specification 2 of M codes that do not perform buffering (lower limit)
3424 Range specification 2 of M codes that do not perform buffering (upper limit)
3425 Range specification 3 of M codes that do not perform buffering (lower limit)
3426 Range specification 3 of M codes that do not perform buffering (upper limit)
3427 Range specification 4 of M codes that do not perform buffering (lower limit)
3428 Range specification 4 of M codes that do not perform buffering (upper limit)
3429 Range specification 5 of M codes that do not perform buffering (lower limit)
3430 Range specification 5 of M codes that do not perform buffering (upper limit)
3431 Range specification 6 of M codes that do not perform buffering (lower limit)
3432 Range specification 6 of M codes that do not perform buffering (upper limit)
NOTE
1 M00, M01, M02, and M30 are M codes that do not perform
buffering, regardless of parameter setting.
M98, M99, M codes for calling subprograms, and M codes for
calling custom macros are M codes that performs buffering,
regardless of parameter setting.
2 If the minimum value is greater than the maximum value, the
setting is invalid.
3 If there is only one data item, the minimum value must be equal to
the maximum value.
- 719 -
A.PARAMETERS APPENDIX B-64554EN/01
#7 #6 #5 #4 #3 #2 #1 #0
3450 BDX AUP
#0 AUP The second auxiliary function specified in the calculator-type decimal point input format,
with a decimal point, or with a negative value is:
0: Disabled.
1: Enabled.
If the second auxiliary function is specified after setting this bit to 0, the following
operation results:
1. When a value is specified without a decimal point
A specified value is output onto the code signal without modification, regardless of
the setting of the calculator-type decimal point input format (with bit 0 (DPI) of
parameter No. 3401).
2. When a value is specified with a decimal point
The alarm PS0007, “ILLEGAL USE OF DECIMAL POINT” is issued.
3. When a negative value is specified
The alarm PS0006, “ILLEGAL USE OF MINUS SIGN” is issued.
#7 BDX This parameter prevents the unit of the argument from depending on the setting of bit 2
(BCD) of parameter No. 8132 when a subprogram call by an ASCII code is performed
with the address (specified by parameter No. 3460) of the second auxiliary function.
0: When bit 0 (AUP) of parameter No. 3450 is 1, the unit of the argument depends on
the setting of bit 2 (BCD) of parameter No. 3450.
1: The same unit of the argument is used. The unit when bit 2 (BCD) of parameter
No. 8132 is 1 is specified.
[Example]
A setting is made so that address B is used to call O9004, and the program O1 below
is executed with parameter No. 3460 = 66.
O1 O9004
B2 #500 = #146
M30 M99
When the increment system is IS-B, and metric input is used, #500 assumes a value
indicated in the table below.
#7 #6 #5 #4 #3 #2 #1 #0
3452 EAP
#7 EAP When bit 0 (ADX) of parameter No. 3455 is set to 1, calculator-type decimal point input
at a macro calling argument address is:
0: Enabled.
- 720 -
B-64554EN/01 APPENDIX A.PARAMETERS
1: Disabled.
NOTE
This parameter is valid when bit 0 (DPI) of parameter No. 3401 is
set to 0.
#7 #6 #5 #4 #3 #2 #1 #0
3454 G1B
#4 G1B In programmable parameter input, specifying a change to a specific bit parameter is:
0: Disabled.
1: Enabled. (A bit number is specified with Q_.)
#7 #6 #5 #4 #3 #2 #1 #0
3455 AXDx
#0 AXDx If a decimal point is omitted for an axis address with which a decimal point can be used,
the value is determined:
0: In accordance with the least input increment. (Normal decimal point input)
1: In millimeters, inches, degrees, or seconds. (calculator-type decimal point input)
NOTE
This parameter specifies the calculator-type decimal point input
function for each axis.
For the same axis name, be sure to make the same setting.
#7 #6 #5 #4 #3 #2 #1 #0
3605 BDPx
- 721 -
A.PARAMETERS APPENDIX B-64554EN/01
NOTE
When this parameter is set, the power must be turned off before
operation is continued.
3620 Number of the pitch error compensation position for the reference position for each axis
NOTE
When this parameter is set, the power must be turned off before
operation is continued.
3621 Number of the pitch error compensation position at extremely negative position for each axis
NOTE
When this parameter is set, the power must be turned off before
operation is continued.
3622 Number of the pitch error compensation position at extremely positive position for each axis
NOTE
When this parameter is set, the power must be turned off before
operation is continued.
NOTE
When this parameter is set, the power must be turned off before
operation is continued.
3624 Interval between pitch error compensation positions for each axis
NOTE
When this parameter is set, the power must be turned off before
operation is continued.
[Input type]
Parameter input
[Data type]
Real axis
[Unit of data]
mm, inch, degree (machine unit)
[Min. unit of data]
Depend on the increment system of the applied axis
[Valid data range]
See the description below.
The pitch error compensation positions are arranged with equal spacing. The space
between two adjacent positions is set for each axis. The minimum interval between pitch
error compensation positions is limited and obtained from the following equation:
Minimum interval between pitch error compensation positions = maximum feedrate/7500
Unit : mm, inch, deg or mm/min, inch/min, deg/min
[Example] When the maximum feedrate is 15000 mm/min, the minimum interval between pitch error
compensation positions is 2 mm.
3625 Travel distance per revolution in pitch error compensation of rotation axis type
NOTE
When this parameter is set, the power must be turned off before
operation is continued.
NOTE
If 0 is set, the travel distance per revolution becomes 360 degrees.
- 723 -
A.PARAMETERS APPENDIX B-64554EN/01
Number of the both-direction pitch error compensation position at extremely negative position (for
3626
movement in the negative direction)
NOTE
When this parameter is set, the power must be turned off before
operation is continued.
NOTE
1 For a movement in the positive direction, set the compensation point
number at the farthest end in the negative direction in parameter No.
3621.
2 A set of compensation data items for a single axis should not be set
to lie astride 1023 to 3000.
Pitch error compensation at reference position when a movement to the reference position is made
3627
from the direction opposite to the direction of reference position return
NOTE
When this parameter is set, the power must be turned off before
operation is continued.
#7 #6 #5 #4 #3 #2 #1 #0
5003 SUV SUP
#0 SUP
#1 SUV These bits are used to specify the type of startup/cancellation of tool radius compensation.
- 724 -
B-64554EN/01 APPENDIX A.PARAMETERS
N1
1 0 Type When the startup block or cancellation block specifies no movement operation,
1 C the tool is shifted by the cutter compensation amount in a direction
perpendicular to the block next to the startup or the block before cancellation
block.
Intersection point Tool center path
Programmed path
N3
Shift
G41 N2
When the block specifies movement operation, the type is set according to the
SUP setting; if SUP is 0, type A is set, and if SUP is 1, type B is set.
#7 #6 #5 #4 #3 #2 #1 #0
5004 ODI
#7 #6 #5 #4 #3 #2 #1 #0
5008 MCR
#4 MCR If G41/G42 (tool radius - tool nose radius compensation) is specified in the MDI mode,
an alarm is:
0: Not raised.
1: Raised. (alarm PS5257, “G41/G42 NOT ALLOWED IN MDI MODE”)
- 725 -
A.PARAMETERS APPENDIX B-64554EN/01
#7 #6 #5 #4 #3 #2 #1 #0
5042 OFE OFD OFC OFA
NOTE
When at least one of these parameters is set, the power must be
turned off before operation is continued.
#0 OFA These bits are used to specify the increment system and valid data range of a tool offset
value.
For metric input
OFA Unit Valid data range
1 0.01mm ±9999.99mm
0 0.001mm ±9999.999mm
#7 #6 #5 #4 #3 #2 #1 #0
5400 SCR XSC
#7 #6 #5 #4 #3 #2 #1 #0
5401 SCLx
- 726 -
B-64554EN/01 APPENDIX A.PARAMETERS
This parameter sets a scaling magnification when axis-by-axis scaling is disabled (with
bit 6 (XSC) of parameter No. 5400 set to 0). If no scaling magnification (P) is specified in
the program, the setting of this parameter is used as a scaling magnification.
NOTE
When bit 7 (SCR) of parameter No. 5400 is set to 1, the valid data
range is 1 to 9999999.
NOTE
When bit 7 (SCR) of parameter No. 5400 is set to 1, the valid data
ranges are -9999999 to -1 and 1 to 9999999.
5481
Feedrate of rotation of the normal direction controlled axis
5483 Limit value of movement that is executed at the normal direction angle of a preceding block
- 727 -
A.PARAMETERS APPENDIX B-64554EN/01
Travel
distance
Programmed path
N2 For arc
Tool center path When the arc diameter of N2 in the figure on
Programmed path the left does not exceed the setting, arc N2
is machined with the tool being normal to
N3 block N1. A normal direction axis is not
controlled to move in the normal direction
according to the arc movement.
N1
Diameter
#7 #6 #5 #4 #3 #2 #1 #0
6000 SBM HGO MGO G67
#0 G67 If the macro modal call cancel command (G67) is specified when the macro modal call
mode (G66/G66.1) is not set:
0: Alarm PS1100, “CANCEL WITHOUT MODAL CALL” is issued.
1: The specification of G67 is ignored.
#1 MGO When a GOTO statement for specifying custom macro control is executed, a high-speed
branch to 20 sequence numbers executed from the start of the program is:
0: A high-speed branch is not caused to n sequence numbers from the start of the
executed program.
1: A high-speed branch is caused to n sequence numbers from the start of the program.
#4 HGO When a GOTO statement for specifying custom macro control is executed, a branch to 30
sequence numbers just before the GOTO statement or to up to 10 sequence numbers
saved by a sequence number search previously made with a GOTO statement is:
0: Not made at high speed.
1: Made at high speed.
#7 #6 #5 #4 #3 #2 #1 #0
6001 CCV TCS CRO PV5 PRT MIF
#7 #6 #5 #4 #3 #2 #1 #0
6003 MSB MPR TSE MIN
NOTE
When at least one of these parameters is set, the power must be
turned off before operation is continued.
#7 #6 #5 #4 #3 #2 #1 #0
6004 NAT
#0 NAT The results of the custom macro functions ATAN (with 2 arguments) and ASIN are
specified as follows:
0: The result of ATAN is 0 to 360.0.
The result of ASIN is 270.0 to 0 to 90.0.
1: The result of ATAN is -180.0 to 0 to 180.0.
The result of ASIN is -90.0 to 0 to 90.0.
#7 #6 #5 #4 #3 #2 #1 #0
6005 SQC
#0 SQC In the subprogram call function, a subprogram sequence number call is:
0: Not used.
1: Used.
#7 #6 #5 #4 #3 #2 #1 #0
6007 CVA
NOTE
External operations are the same unless the ADP function is used.
#7 #6 #5 #4 #3 #2 #1 #0
6008 IJK GMP ISO MCA F16
#1 MCA A macro alarm specification based on system variable #3000 is selected as follows:
- 730 -
B-64554EN/01 APPENDIX A.PARAMETERS
0: An alarm number obtained by adding 3000 to a value assigned to variable #3000 and
the corresponding message are displayed. (A value from 0 to 200 can be assigned to
variable #3000.)
1: A value assigned to variable #3000 and the corresponding message are displayed. (A
value from 0 to 4095 can be assigned to variable #3000.)
[Example]
Execution of #3000=1 (ALARM MESSAGE);
When bit 1 (MCA) of parameter No. 6008 is set to 0:
The alarm screen displays "MC 3001 ALARM MESSAGE".
When bit 1 (MCA) of parameter No. 6008 is set to 1:
The alarm screen displays "MC0001 ALARM MESSAGE".
#4 ISO 0: When the EIA code is used, the bit patterns of codes specified instead of [, ], #, *,
=, ?, @, &, and _ are set in parameter No. 6010 to No. 6018.
1: When the ISO/ASCII code is used, the bit patters of codes specified instead of [, ], #,
*, =, ?, @, &, and _ are set in parameter No. 6010 to No. 6018.
#6 GMP The calling of M, S, T, a second auxiliary function code, or a particular code during the
calling of a G code, and the calling of a G code during the calling of M, S, T, a second
auxiliary function code, or particular code are:
0: Not allowed. (They are executed as an ordinary G, M, S, T, second auxiliary
function code, and NC address.)
1: Allowed.
Example
When K_J_I_ is specified:
• When this parameter is set to 0:
Argument specification II is used and K=#6, J=#8, and I=#10
are specified.
• When this parameter is set to1:
Argument specification I is used and I=#4, J=#5, and K=#6 are
specified regardless of the specification order.
(Argument specification II cannot be used.)
- 731 -
A.PARAMETERS APPENDIX B-64554EN/01
#7 #6 #5 #4 #3 #2 #1 #0
6010 *7 *6 *5 *4 *3 *2 *1 *0
#7 #6 #5 #4 #3 #2 #1 #0
6011 =7 =6 =5 =4 =3 =2 =1 =0
#7 #6 #5 #4 #3 #2 #1 #0
6012 #7 #6 #5 #4 #3 #2 #1 #0
#7 #6 #5 #4 #3 #2 #1 #0
6013 [7 [6 [5 [4 [3 [2 [1 [0
#7 #6 #5 #4 #3 #2 #1 #0
6014 ]7 ]6 ]5 ]4 ]3 ]2 ]1 ]0
#7 #6 #5 #4 #3 #2 #1 #0
6015 ?7 ?6 ?5 ?4 ?3 ?2 ?1 ?0
#7 #6 #5 #4 #3 #2 #1 #0
6016 @7 @6 @5 @4 @3 @2 @1 @0
#7 #6 #5 #4 #3 #2 #1 #0
6017 &7 &6 &5 &4 &3 &2 &1 &0
#7 #6 #5 #4 #3 #2 #1 #0
6018 _7 _6 _5 _4 _3 _2 _1 _0
#7 #6 #5 #4 #3 #2 #1 #0
6019 MCO
#0 MCO When data is output, the decimal number value of the macro variable data is
0: Not output as a comment.
1: Output at the same time as a comment.
After the number, data, and the variable name of the macro variable are output when data
output operation is performed the variable number and the value of the macro variable
data in decimal number are output as a comment.
NOTE
1 Output data by this parameter is "Comment", and this is ignored at
the time of reading.
- 732 -
B-64554EN/01 APPENDIX A.PARAMETERS
NOTE
2 Accuracy of the output data of the comment is up to 15 digits. The
range of output data are nine digits above decimal point and eight
digits below decimal point. "± OVER FLOW" is output instead of a
value when the total digits number is more than 16 and the digit
number above the decimal point is ten or more. When the number
of digits below the decimal point becomes nine digits or more, the
ninth place of the decimal point is rounded off and output.
Moreover, the seventh place or the eighth place of the decimal
point is rounded off and output when the total digits number is more
than 16 and the digit number above decimal point is nine or eight.
3 The output becomes "EMPTY" when displayed, the macro variable
data is "DATA EMPTY".
6031 Start number of common variables to be protected among the common variables (#500 to #999)
6032 End number of common variables to be protected among the common variables (#500 to #999)
NOTE
Set 0 in both parameter No. 6031 and No. 6032 not to protect
common variables.
- 733 -
A.PARAMETERS APPENDIX B-64554EN/01
NOTE
1 When the following conditions are satisfied, all calls using these
parameters are disabled:
1) When a value not within the specifiable range is set in each
parameter
2) (Value of parameter No. 6039 + value of parameter No. 6040 -
1) > 9999
2 The specification of a mixture of simple calls and modal calls is not
allowed.
3 If a range of G codes set by these parameters duplicate G codes
specified in parameters Nos. 6050 to 6059, the calls specified by
parameters Nos. 6050 to 6059 are made preferentially.
6046 Number of M codes used to call subprograms (number of subprograms called by M codes)
NOTE
1 When the following conditions are satisfied, all calls using these
parameters are disabled:
1) When a value not within the specifiable range is set in each
parameter
2) (Value of parameter No. 6045 + value of parameter No. 6046 -
1) > 9999
2 If a range of M codes set by these parameters duplicate M codes
specified in parameter No. 6071 to No. 6079, the calls specified by
parameter No. 6071 to 6079 are made preferentially.
6049 Number of M codes used to call custom macros (number of custom macros called by M codes)
- 735 -
A.PARAMETERS APPENDIX B-64554EN/01
[Example] When parameter No. 6047 = 90000000, parameter No. 6048 = 4000, and parameter No.
6049 = 100 are set, a set of 100 custom macro calls (simple calls) is defined as follows:
M90000000 → O4000
M90000001 → O4001
M90000002 → O4002
:
M90000099 → O4099
NOTE
1 When the following conditions are satisfied, all calls using these
parameters are disabled:
1) When a value not within the specifiable range is set in each
parameter
2) (Value of parameter No. 6048 + value of parameter No. 6049 -
1) > 9999
2 If a range of M codes set by these parameters duplicate M codes
specified in parameter No. 6080 through No. 6089, the calls
specified by parameter No. 6080 through 6089 are made
preferentially.
6050 G code that calls the custom macro of program number 9010
6051 G code that calls the custom macro of program number 9011
6052 G code that calls the custom macro of program number 9012
6053 G code that calls the custom macro of program number 9013
6054 G code that calls the custom macro of program number 9014
6055 G code that calls the custom macro of program number 9015
6056 G code that calls the custom macro of program number 9016
6057 G code that calls the custom macro of program number 9017
6058 G code that calls the custom macro of program number 9018
6059 G code that calls the custom macro of program number 9019
- 736 -
B-64554EN/01 APPENDIX A.PARAMETERS
6077 M code used to call the subprogram of program number 9007
NOTE
If the same M code is set in these parameters, the younger number
is called preferentially. For example, if 100 is set in parameter No.
6071 and 6072, and programs O9001 and O9002 both exist,
O9001 is called when M100 is specified.
6080 M code used to call the custom macro of program number 9020
6081 M code used to call the custom macro of program number 9021
6082 M code used to call the custom macro of program number 9022
6083 M code used to call the custom macro of program number 9023
6084 M code used to call the custom macro of program number 9024
6085 M code used to call the custom macro of program number 9025
6086 M code used to call the custom macro of program number 9026
6087 M code used to call the custom macro of program number 9027
6088 M code used to call the custom macro of program number 9028
6089 M code used to call the custom macro of program number 9029
NOTE
1 If the same M code is set in these parameters, the younger number
is called preferentially. For example, if 200 is set in parameter No.
6081 and No. 6082, and programs O9021 and O9022 both exist,
O9021 is called when M200 is specified.
2 If the same M code is set in a parameters Nos. 6071 to 6079 used
to call subprograms and in a parameters Nos. 6080 to 6089 used
to call custom macros, a custom macro is called preferentially. For
example, if 300 is set in parameters Nos. 6071 and 6081, and
programs O9001 and O9021 both exist, O9021 is called when
M300 is specified.
- 737 -
A.PARAMETERS APPENDIX B-64554EN/01
6090 ASCII code that calls the subprogram of program number 9004
6091 ASCII code that calls the subprogram of program number 9005
NOTE
1 When address L is set, the number of repeats cannot be specified.
2 Set 0 when no subprogram is called.
#7 #6 #5 #4 #3 #2 #1 #0
6200 SKF SRE SLS HSS SK0 GSK
#1 SK0 This parameter specifies whether the skip signal is made valid under the state of the skip
signal SKIP and the multistage skip signals SKIP2 to SKIP8.
0: Skip signal is valid when these signals are 1.
1: Skip signal is valid when these signals are 0.
#4 HSS 0: The skip function does not use high-speed skip signals while skip signals are input.
(The conventional skip signal is used.)
1: The step skip function uses high-speed skip signals while skip signals are input.
- 738 -
B-64554EN/01 APPENDIX A.PARAMETERS
#5 SLS 0: The multi-step skip function does not use high-speed skip signals while skip signals
are input. (The conventional skip signal is used.)
1: The multi-step skip function uses high-speed skip signals while skip signals are
input.
NOTE
The skip signals (SKIP and SKIP2 to SKIP8) are valid regardless of
the setting of this parameter. They can also be disabled using bit 4
(IGX) of parameter No. 6201.
#6 SRE When a high-speed skip signal or high-speed measurement position arrival signal is used:
0: The signal is assumed to be input on the rising edge (contact open → close).
1: The signal is assumed to be input on the falling edge (contact close → open).
#7 SKF Dry run, override, and automatic acceleration/deceleration for G33 skip command
0: Disabled
1: Enabled
#7 #6 #5 #4 #3 #2 #1 #0
6201 SPE IGX TSE SEB
#1 SEB When a skip signal goes on while the skip function is used, the accumulated pulses and
positional deviation due to acceleration/deceleration are:
0: Ignored.
1: Considered and compensated.
The accumulated pulses and positional deviation due to actual acceleration/deceleration
when the skip signal goes on are considered to obtain the position at which the signal is
input.
#2 TSE When the torque limit skip function (G33 P98/99) is used, the skip position held in a
system variable (#5061 to #5080 (#100151 to #100182 when 21-axes-or-more-system is
used)) is:
0: Position that is offset considering the delay (positional deviation) incurred by the
servo system.
1: Position that does not reflect the delay incurred by the servo system.
Position during skip operation
#4 IGX When the high-speed skip function is used, SKIP, SKIPP, and SKIP2 to SKIP8 are:
0: Enabled as skip signals.
- 739 -
A.PARAMETERS APPENDIX B-64554EN/01
#7 SPE For the skip function (G33), the skip signal SKIP is:
0: Enabled.
1: Disabled.
Bit 4 (IGX) of parameter No. 6201 is valid for the skip function using high-speed skip
signals (when bit 4 (HSS) of parameter No. 6200 is set to 1) or for the multistage skip
function using high-speed skip signals (when bit 5 (SLS) of parameter No. 6200 is set to
1).
To use multistage skip signals, the multistage skip function option is required.
#7 #6 #5 #4 #3 #2 #1 #0
6202 1S8 1S7 1S6 1S5 1S4 1S3 1S2 1S1
1S1 to 1S8 These parameters specify whether to enable or disable each high-speed skip signal when
the G33 skip command is issued.
The following table shows the correspondence between the bits, input signals, and
commands.
The settings of the bits have the following meaning :
0: The high-speed skip signal corresponding to a bit is disabled.
1: The high-speed skip signal corresponding to a bit is enabled.
Parameter High-speed skip signals Parameter High-speed skip signals
1S1 HDI0 1S5 HDI4
1S2 HDI1 1S6 HDI5
1S3 HDI2 1S7 HDI6
1S4 HDI3 1S8 HDI7
#7 #6 #5 #4 #3 #2 #1 #0
6203 2S8 2S7 2S6 2S5 2S4 2S3 2S2 2S1
#7 #6 #5 #4 #3 #2 #1 #0
6204 3S8 3S7 3S6 3S5 3S4 3S3 3S2 3S1
#7 #6 #5 #4 #3 #2 #1 #0
6205 4S8 4S7 4S6 4S5 4S4 4S3 4S2 4S1
#7 #6 #5 #4 #3 #2 #1 #0
6206 DS8 DS7 DS6 DS5 DS4 DS3 DS2 DS1
When bit 0 (GSK) of parameter No. 6200 is set to 1, commands to be skipped can be
selected by setting the following parameter:
#7 #6 #5 #4 #3 #2 #1 #0
6207 SFN SFP
#1 SFP The feedrate used when the skip function (G33) is being executed is:
0: Feedrate of a programmed F code.
1: Feedrate set in parameter No. 6281.
NOTE
For the multi-stage skip function and high-speed skip, see the
description of bit 2 (SFN) of parameter No. 6207.
#2 SFN The feedrate used when the skip function based on high-speed skip signals (with bit 4
(HSS) of parameter No. 6200 set to 1) or the multi-skip function is being executed is:
0: Feedrate of a programmed F code.
1: Feedrate set in a parameter from parameter No. 6282 to No. 6285.
- 741 -
A.PARAMETERS APPENDIX B-64554EN/01
NOTE
For not the multistage skip function, but the skip function using no
high-speed skip signals (when bit 4 (HSS) of parameter No. 6200 is
set to 0), see the description of bit 1 (SFP) of parameter No. 6207.
6221 Torque limit dead zone time for a torque limit skip command
NOTE
For the multi-stage skip function and high-speed skip, see the
description of parameter No. 6282 to No. 6285.
#7 #6 #5 #4 #3 #2 #1 #0
6700 PCM
#0 PCM M code that counts the total number of machined parts and the number of machined parts
0: M02, or M30, or an M code specified by parameter No. 6710
1: Only M code specified by parameter No. 6710
NOTE
The setting of 0 is invalid (no count operation is performed with
M00.) Moreover, M98, M99, M198 (external device subprogram
calling), and M codes used for subprogram calling and macro
calling cannot be set as M codes for count-up operation. (Even
when such an M code is set, count-up operation is not performed,
ignoring the M code.)
- 743 -
A.PARAMETERS APPENDIX B-64554EN/01
The number of machined parts is counted (+1) together with the total number of
machined parts when the M02, M30, or a M code specified by parameter No. 6710 is
executed.
NOTE
The number of parts is not counted for M02, M30 when bit 0 (PCM)
of parameter No. 6700 is set to 1.
NOTE
The number of parts is not counted for M02, M30, when bit 0
(PCM) of parameter No. 6700 is set to 1.
- 744 -
B-64554EN/01 APPENDIX A.PARAMETERS
This parameter displays the integrated value of time during automatic operation (neither
stop nor hold time included).
The actual time accumulated during operation is the sum of this parameters Nos. 6751
and 6752.
- 745 -
A.PARAMETERS APPENDIX B-6455EN/01
#7 #6 #5 #4 #3 #2 #1 #0
7100 HCL JHD
#0 JHD Manual handle feed in JOG feed mode or incremental feed in the manual handle feed is:
0: Invalid.
1: Valid.
#3 HCL The clearing of handle interruption amount display by soft key [CAN] operation is:
0: Disabled.
1: Enabled.
#7 #6 #5 #4 #3 #2 #1 #0
7102 HNGx
#0 HNGx Axis movement direction for rotation direction of manual pulse generator
0: Same in direction
1: Reverse in direction
#7 #6 #5 #4 #3 #2 #1 #0
7103 HIT HNT RTH
#1 RTH By a reset or emergency stop, the amount of manual handle interruption is:
0: Not canceled.
1: Canceled.
#2 HNT When compared with the travel distance magnification selected by the manual handle
feed travel distance selection signals (incremental feed signals) (MP1, MP2 <Gn019.4,
Gn019.5>), the travel distance magnification for incremental feed/manual handle feed is:
0: Same.
1: 10 times greater.
#3 HIT When compared with the travel distance magnification selected by the manual handle
feed travel distance selection signals (incremental feed signals (MP1, MP2 <Gn019.4,
Gn019.5>), the travel distance magnification for manual handle interrupt is:
0: Same.
1: 10 times greater.
7117 Allowable number of pulses that can be accumulated during manual handle feed
The amount of pulses exceeding the rapid traverse rate can be saved by CNC as B. And
amount of pulses B will be exported as pulses C.
In case of
1) Parameter No.7117 = 0
The feedrate is clamped at the Rapid Traverse Rate and generated pulses exceeding
the Rapid Traverse Rate are ignored (B=0)
In case of
2) Parameter No.7117 > 0
The feedrate is clamped as the Rapid Traverse Rate, but the pulses exceeding the
Rapid Traverse Rate is not ignored. Amount of pulses accumulated in CNC is
calculated as following. (Although stopping the rotation of manual pulse generator,
if there is pulses accumulated in CNC, it will be exported and the tool will move as
long as amount of it.)
m
A+B=k⋅m
pulses over (k⋅m) will be ignored
- 747 -
A.PARAMETERS APPENDIX B-6455EN/01
NOTE
Due to change of mode, clamping can be performed not as an
integral multiple of the selected magnification.
The distance the tool moves may not match the graduations on the
manual pulse generator.
#7 #6 #5 #4 #3 #2 #1 #0
7200 OP7 OP6 OP5 OP4 OP3 OP2 OP1
NOTE
When at least one of these parameters is set, the power must be
turned off before operation is continued.
#1 OP2 JOG feed axis select and manual rapid traverse select on software operator's panel
0: Not performed
1: Performed
#2 OP3 Manual pulse generator's axis select and manual pulse generator's magnification select on
software operator's panel
0: Not performed
1: Performed
#3 OP4 JOG feedrate override select, feedrate override select, and rapid traverse override select
on software operator's panel
0: Not performed
1: Performed
#4 OP5 Optional block skip select, single block select, machine lock select, and dry run select on
software operator's panel
0: Not performed
1: Performed
7210 Jog-movement axis and its direction on software operator's panel “↑”
7211 Jog-movement axis and its direction on software operator's panel “↓”
7212 Jog-movement axis and its direction on software operator's panel “→”
7213 Jog-movement axis and its direction on software operator's panel “←”
- 748 -
B-64554EN/01 APPENDIX A.PARAMETERS
7214 Jog-movement axis and its direction on software operator's panel “ ”
[Example] Under X, Y, and Z axis configuration, to set arrow keys to feed the axes in the direction
specified as follows, set the parameters to the values given below. <8↑> to the positive
direction of the Z axis, <2↓> to the negative direction of the Z axis, <6→> to the positive
direction of the X axis <4←> to the negative direction of the X axis, <1 > to the
positive direction of the Y axis, <9 > to the negative direction of the Y axis
Parameter No.7210 = 5 (Z axis, positive direction)
Parameter No.7211 = 6 (Z axis, negative direction)
Parameter No.7212 = 1 (X axis, positive direction)
Parameter No.7213 = 2 (X axis, negative direction)
Parameter No.7214 = 3 (Y axis, positive direction)
Parameter No.7215 = 4 (Y axis, negative direction)
Parameter No.7216 = 0 (Not used)
Parameter No.7217 = 0 (Not used)
#7 #6 #5 #4 #3 #2 #1 #0
8001 RDE OVE MLE
#0 MLE Whether all axis machine lock signal MLK <Gn108> is valid for PMC-controlled axes
0: Valid
1: Invalid
The axis-by-axis machine lock signal MLKx depends on the setting of bit 1 of parameter
No. 8006.
#2 OVE Signals related to dry run and override used in PMC axis control
0: Same signals as those used for the CNC
1: Signals specific to the PMC
- 749 -
A.PARAMETERS APPENDIX B-6455EN/01
The signals used depend on the settings of these parameter bits as indicated below.
#3 RDE Whether dry run is valid for rapid traverse in PMC axis control
0: Invalid
1: Valid
#7 #6 #5 #4 #3 #2 #1 #0
8002 PF2 PF1 F10 RPD
#3 F10 Least increment for the feedrate for cutting feed (per minute) in PMC axis control
The following settings are applied when bit 4 (PF1) of parameter No. 8002 is set to 0 and
bit 5 (PF2) of parameter No. 8002 is set to 0.
F10 IS-A IS-B
Millimeter input 0 10 1
(mm/min) 1 100 10
Inch input 0 0.1 0.01
(inch/min) 1 1 0.1
#4 PF1
#5 PF2 Set the feedrate unit of cutting feedrate (feed per minute) for an axis controlled by the
PMC.
Bit 5 (PF2) of parameter No. Bit 4 (PF1) of parameter No.
Feedrate unit
8002 8002
0 0 1/1
0 1 1 / 10
1 0 1 / 100
1 1 1 / 1000
#7 #6 #5 #4 #3 #2 #1 #0
8004 NCI
- 750 -
B-64554EN/01 APPENDIX A.PARAMETERS
#6 NCI In axis control by the PMC, a position check at the time of deceleration is:
0: Performed.
1: Not performed.
#7 #6 #5 #4 #3 #2 #1 #0
8005 EDC
#7 #6 #5 #4 #3 #2 #1 #0
8006 EZR EFD MLS
#1 MLS When bit 0 (MLE) of parameter No. 8001 is set to 1 (to disable the all axis machine lock
signal) in PMC axis control, axis-by-axis machine lock is:
0: Disabled.
1: Enabled.
#4 EFD When cutting feed (feed per minute) is used in PMC axis control, the specification unit of
feedrate data is:
0: Unchanged (1 times).
1: 100 times greater.
NOTE
When this parameter is set to 1, bit 3 (F10) of parameter No. 8002
is invalid.
#6 EZR In PMC axis control, bit 0 (ZRNx) of parameter No. 1005 is:
0: Invalid.
With a PMC controlled axis, the alarm PS0224, “ZERO RETURN NOT
FINISHED” is not issued.
1: Valid.
A reference position return state check is made on a PMC controlled axis as with an
NC axis according to the setting of bit 0 (ZRNx) of parameter No. 1005.
#7 #6 #5 #4 #3 #2 #1 #0
8008 EMRx
#0 EMRx When a PMC axis control command is issued in mirror image state, the mirror image is:
0: Not considered.
1: Considered.
This parameter is valid in the mirror image mode set with the mirror image signals MI1 to
MI8 <G106.0 to .7> set to “1” or bit 0 (MIRx) of parameter No. 12 set to 1.
- 751 -
A.PARAMETERS APPENDIX B-6455EN/01
If a movement is made along the same axis by doubly specifying a command with the
CNC and PMC axis control when this parameter is set to 0, and the mirror image mode is
set, a coordinate shift can occur afterwards. So, do not attempt to make such a movement.
8010 Selection of the DI/DO group for each axis controlled by the PMC
P8010 Description
1 Uses path 1 DI/DO group A (G142 to G153)
2 Uses path 1 DI/DO group B (G154 to G165)
3 Uses path 1 DI/DO group C (G166 to G177)
4 Uses path 1 DI/DO group D (G178 to G189)
NOTE
When a value other than the above is set, the axis is not controlled
by the PMC.
Time constant for exponential acceleration/deceleration in cutting feed or continuous feed under PMC
8030
axis control
NOTE
When 0 is set in this parameter, the value set in parameter No.
1622 is used.
The value set in parameter No. 1622 is used also for linear
acceleration/deceleration after cutting interpolation.
NOTE
When this parameter is set, the power must be turned off before
operation is continued.
#7 #6 #5 #4 #3 #2 #1 #0
8131 AOV EDC HPG
- 752 -
B-64554EN/01 APPENDIX A.PARAMETERS
NOTE
When at least one of these parameters is set, the power must be
turned off before operation is continued.
#7 #6 #5 #4 #3 #2 #1 #0
8132 SCL BCD
NOTE
When at least one of these parameters is set, the power must be
turned off before operation is continued.
#7 #6 #5 #4 #3 #2 #1 #0
8134 NCT NBG NGR BAR IAP
NOTE
When at least one of these parameters is set, the power must be
turned off before operation is continued.
1: Not Used.
#7 #6 #5 #4 #3 #2 #1 #0
8135 NCV NMC NHI NPE
NOTE
When at least one of these parameters is set, the power must be
turned off before operation is continued.
#7 #6 #5 #4 #3 #2 #1 #0
8136 NOW NOP NWC NWZ
NOTE
When at least one of these parameters is set, the power must be
turned off before operation is continued.
- 754 -
B-64554EN/01 APPENDIX A.PARAMETERS
#1 NWC Workpiece coordinate system preset is:
0: Used.
1: Not Used.
#7 #6 #5 #4 #3 #2 #1 #0
8301 SYA
#4 SYA In the servo-off state in axis synchronous control, the limit of the difference between the
positioning deviation of the master axis and that of the slave axis is:
0: Checked.
1: Not checked.
#7 #6 #5 #4 #3 #2 #1 #0
8302 SMA
NOTE
When this parameter is set, the power must be turned off before
operation is continued.
#7 SMA When an absolute position detector is attached, and bit 4 (APZ) of parameter No. 1815
for an axis in synchronous operation is set to 0, APZ of the pairing axis in synchronous
operation is:
0: Not set to OFF.
1: Set to OFF.
#7 #6 #5 #4 #3 #2 #1 #0
8303 SOFx SAFx ATSx ATEx
NOTE
When at least one of these parameters is set, the power must be
turned off before operation is continued.
#0 ATEx In axis synchronous control, automatic setting for grid positioning is:
0: Disabled
1: Enabled
Set this parameter with a slave axis.
- 755 -
A.PARAMETERS APPENDIX B-6455EN/01
#1 ATSx In axis synchronous control, automatic setting for grid positioning is:
0: Not started
1: Started
Set this parameter with a slave axis.
NOTE
When starting automatic setting for grid positioning, set ATS to 1.
Upon the completion of setting, ATS is automatically set to 0.
#7 #6 #5 #4 #3 #2 #1 #0
8304 SYEx SCAx MVBx ADJx SSAx
#0 SSAx When the one-direction synchronization establishment function under axis synchronous
control is used:
0: The axis with a larger machine coordinate is used as the reference.
1: The axis with a smaller machine coordinate is used as the reference.
NOTE
1 When at least one of these parameters is set, the power must be
turned off before operation is continued.
2 Set this parameter (SSA) to the same value for both the master
and slave axes.
#2 ADJx In axis synchronous control, this parameter specifies an axis along which a movement is
made in the modification mode.
0: A movement is not made in the modification mode along the axis.
1: A movement is made in the modification mode along the axis.
When this parameter is set to 1, the modification mode is set.
Along an axis with this parameter set to 1, a movement is made by a move command for
the master axis.
Set this parameter for one of the master and slave axes.
When there are multiple slave axes for one master axis, set this parameter to 1 for an axis
with which a synchronization error excessive alarm is issued for recovery. If an alarm is
issued with multiple axes, modify this parameter after recovery of one axis to recover
another axis.
- 756 -
B-64554EN/01 APPENDIX A.PARAMETERS
#4 MVBx In the modification mode, a move command in a direction that increases a
synchronization error is:
0: Ignored.
1: Valid.
When there are multiple slave axes for one master axis, an attempt to reduce the
synchronous error of a slave axis by a movement along the master axis can increase the
synchronization error of another slave axis. If this parameter is set to 0 in such a case, a
movement can be made in neither direction along the master axis. In this case, set bit 2
(ADJ) of parameter No. 8304 to make a movement along a slave axis to perform a
corrective operation.
#7 SYEx When external machine coordinate system shift is specified by external data input/output
for the master axis in synchronous control, the slave axis is:
0: Not shifted.
1: Shifted by the same amount as specified for the master axis.
Set this parameter for the slave axis.
This function is disabled during normal operation.
#7 #6 #5 #4 #3 #2 #1 #0
8305 SSE SSO
#1 SSE After emergency stop, the uni-directional synchronization function in axis synchronous
control is:
0: Enabled.
1: Disabled.
NOTE
When this parameter is set, the power must be turned off before
operation is continued.
NOTE
In synchronous operation with mirror image applied,
synchronization establishment, synchronization error checking, and
modification mode cannot be used.
8314 Maximum allowable error in synchronization error check based on machine coordinates
NOTE
Set 0 in this parameter when a synchronization error check is not
made.
- 758 -
B-64554EN/01 APPENDIX A.PARAMETERS
8323 Limit in positional deviation check in axis synchronous control
8326 Difference between master axis and slave axis reference counters
- 759 -
A.PARAMETERS APPENDIX B-6455EN/01
#7 #6 #5 #4 #3 #2 #1 #0
8900 PWE
#0 PWE The setting, from an external device and MDI panel, of those parameters that cannot be
set by setting input is:
0: Disabled.
1: Enabled.
10461 RGB value of color palette 1 for text for color set 3
10462 RGB value of color palette 2 for text for color set 3
to to
10475 RGB value of color palette 15 for text for color set 3
#7 #6 #5 #4 #3 #2 #1 #0
11222 IMG CIM NIM
#1 CIM When an inch/metric conversion command (G20 or G21) is specified, if the workpiece
coordinate system is shifted by the shift amount as described below:
0: An alarm PS1298, “ILLEGAL INCH/METRIC CONVERSION” is issued.
1: Clearing is performed.
This parameter is valid when bit 0 (NIM) of parameter No. 11222 is 1 or bit 2 (IRF) of
parameter No. 14000 is 1 and clears the following items.:
• Issuance of a move command with the machine locked
• Movement by handle interrupt
• Operation with a mirror image
• Shifting of a workpiece coordinate system when a local coordinate system or
workpiece coordinate system is set up
NOTE
If bit 2 of parameter No. 11222 is 1 (inch/metric changeover with
G20/G21 is disabled), only bit 2 of parameter No. 0 can be used to
perform inch/metric changeover. If bit 2 of parameter No.0 = 0, the
metric system is used. If bit 2 of parameter No.0 = 1, the inch
system is used.
NOTE
When this parameter is set, the power must be turned off before
operation is continued.
Display sequence of
coordinates 1 2 3 4
Setting
Relative Absolute Machine Remaining
0 coordinates coordinates coordinates travel distance
Relative Machine Absolute Remaining
1 coordinates coordinates coordinates travel distance
Relative Remaining Absolute Machine
2 coordinates travel distance coordinates coordinates
Absolute Machine Relative Remaining
3 coordinates coordinates coordinates travel distance
Absolute Remaining Relative Machine
4 coordinates travel distance coordinates coordinates
Machine Remaining Relative Absolute
5 coordinates travel distance coordinates coordinates
#7 #6 #5 #4 #3 #2 #1 #0
11353 SEK
#0 SEK When the power is turned on, or when the clear state is present, sequence numbers are:
0: Not maintained.
1: Maintained.
NOTE
During a subprogram call, the sequence number of the subprogram
is maintained.
#7 #6 #5 #4 #3 #2 #1 #0
11630 FRD
#0 FRD The minimum command unit of the rotation angles of coordinate rotation is:
0: 0.001 degree.
1: 0.00001 degree. (1/100,000)
12990 (1st) G code modal group to be recorded in the history when an alarm is issued
12991 (2nd) G code modal group to be recorded in the history when an alarm is issued
12992 (3rd) G code modal group to be recorded in the history when an alarm is issued
12993 (4th) G code modal group to be recorded in the history when an alarm is issued
- 762 -
B-64554EN/01 APPENDIX A.PARAMETERS
12994 (5th) G code modal group to be recorded in the history when an alarm is issued
12995 (6th) G code modal group to be recorded in the history when an alarm is issued
12996 (7th) G code modal group to be recorded in the history when an alarm is issued
12997 (8th) G code modal group to be recorded in the history when an alarm is issued
12998 (9th) G code modal group to be recorded in the history when an alarm is issued
12999 (10th) G code modal group to be recorded in the history when an alarm is issued
#7 #6 #5 #4 #3 #2 #1 #0
14000 IRFx
#2 IRFx An inch-metric switch command (G20, G21) at the reference position is:
0: Disabled.
1: Enabled.
When this function is enabled for an axis, if an attempt to switch between the inch and
metric unit is made although the tool is not at the reference position on that axis, an alarm
(PS5362) is issued, and switching between the inch and metric unit is canceled.
Be sure to move the tool to the reference position by, for example, specifying G28 before
switching between the inch and metric unit.
NOTE
1 This function enables the inch/metric switching commands (G20
and G21) at the reference position. It does not enable the
switching of the setting input unit (bit 2 (INI) of parameter No.
0000).
2 Switching between inch and metric by setting the setting input unit
(bit 2 (INI) of parameter No. 0000) is enabled only when the
machine coordinate of the first reference position is 0 (parameter
No. 1240 is 0) and presence on the first reference position is
assumed.
For a system in which the machine coordinate of the first reference
position is not 0, set this parameter to 1 and specify G20/G21 in the
first reference position to switch between inch and metric.
Maximum allowable travel distance when the reference position is established for a linear scale with an
14010
absolute address reference position
NOTE
To establish the reference position with axis synchronous control,
set the parameter for both master and slave axes.
NOTE
When these parameters are set, the power must be turned off before
operation is continued.
NOTE
When the FSSB is set to the automatic setting mode (when the
parameter FMD (No.1902#0) is set to 0), parameter Nos. 14340 to
14357 are automatically set as data is input on the FSSB setting
screen. When the manual setting 2 mode is set (when the
parameter FMD (No.1902#0) is set to 1), be sure to directly set
values in parameter Nos. 14340 to 14357.
- 764 -
B-64554EN/01 APPENDIX A.PARAMETERS
2 Y 3 Two-axis 2 1 A
amplifier
3 Z 4 3 2 Y
4 A 2 Two-axis 4 3 Z
amplifier
5 B 5 5 4 B
M1 6 64 (M1)
M2 7 -56 (M2)
8 to 18 -96 (None)
CNC
Slave ATR
Controll Program Servo number No.14340 Axis
ed axis axis name axis to 14357
number No.1020 No.1023
Single-axis
1 X 1 amplifier 1 0 X
2 Y 3 Two-axis 2 2 Y
amplifier
3 Z 4 3 3 Z
4 A 2 Two-axis 4 1 A
amplifier
5 B 5 5 4 B
M1 6 64 (M1)
M2 7 -56 (M2)
8 to 18 -96 (None)
14376 ATR value corresponding to connector 1 on the first separate detector interface unit
to to
14383 ATR value corresponding to connector 8 on the first separate detector interface unit
14384 ATR value corresponding to connector 1 on the second separate detector interface unit
to to
14391 ATR value corresponding to connector 8 on the third separate detector interface unit
- 765 -
A.PARAMETERS APPENDIX B-6455EN/01
NOTE
When these parameters are set, the power must be turned off before
operation is continued.
NOTE
When the FSSB is set to the automatic setting mode (when the
parameter FMD (No.1902#0) is set to 0), parameter Nos. 14376 to
14391 are automatically set as data is input on the FSSB setting
screen. When the manual setting 2 mode is set (when the
parameter FMD (No.1902#0) is set to 1), be sure to directly set
values in parameter Nos. 14376 to 14391.
#7 #6 #5 #4 #3 #2 #1 #0
14476 DFS
#7 #6 #5 #4 #3 #2 #1 #0
16001 CPF
#7 CPF At the end of the 01 group containing the G01, G02, or G03 code, the PF signal to start
pressing is:
0: Not set to “1”.
1: Set to “1”.
#7 #6 #5 #4 #3 #2 #1 #0
16003 TCF
#5 TCF After the OP signal indicating that automatic operation is in progress is set from “0” to
“1”, the PF signal to start pressing is set to “1”:
- 766 -
B-64554EN/01 APPENDIX A.PARAMETERS
0: Only when a T command is found.
This status is the same as the status in which the PFW signal to wait for the start of
pressing is set to “1”.
1: Even if no T commands are found.
16032 Time interval by which setting of PF to “1” follows positioning in the forming mode
Time interval by which the start of the next block follows setting of *PFIN to
16033
“0” in the forming mode
Time set in
parameter
16032
PF
Time set in
parameter
16033
*PFIN
#7 #6 #5 #4 #3 #2 #1 #0
16050 G0F
- 767 -
A.PARAMETERS APPENDIX B-6455EN/01
NOTE
When this parameter is set, the power must be turned off before
operation is continued.
#0 G0F For a rapid traverse command (G00), the X–axis or Y–axis rapid traverse feedrate is set to
the value:
0: Specified in the parameter.
1: Specified by the F code.
The maximum feedrate of the F command is limited to the rapid traverse feedrate in the
parameter. OADx(No.6131, #0) and ILG(No.6132, #0) are valid.
#7 #6 #5 #4 #3 #2 #1 #0
16181 NSP NMG
#0 NMG When the M code for canceling the nibbling mode (No. 16184) is specified, the G code in
the 01 group is:
0: Not changed.
1: Changed to G00 (rapid traverse).
#2 NSP When the *SP signal to halt automatic operation is set to “0” in nibbling, automatic
operation is:
0: Decelerated and halted immediately.
1: Halted after positioning for a nibbling pitch completes.
Maximum pitch that can be specified with G01, G02, or G03 for nibbling
16186
by G68 or G69 or by an M code
- 768 -
B-64554EN/01 APPENDIX A.PARAMETERS
Parameter No. 16186 specifies the maximum pitch that can be specified with G01, G02,
or G03 for nibbling by G68 or G69 or by an M code.
16188 Maximum pitch of the G00 command for nibbling by the M code
#7 #6 #5 #4 #3 #2 #1 #0
16200 UVC
NOTE
When this parameter is set, the power must be turned off before
operation is continued.
#0 UVC In the reset status, the macro stored under a U or V macro number is:
0: Deleted.
1: Not deleted.
#7 #6 #5 #4 #3 #2 #1 #0
16202 AIP
#7 #6 #5 #4 #3 #2 #1 #0
16205 SZR
16209 Clearance and amount of return for the Y axis in automatic repositioning
#7 #6 #5 #4 #3 #2 #1 #0
16240 RLM
NOTE
When this parameter is set, the power must be turned off before
operation is continued.
#5 RLM When the power is turned on or in the clear status, the machine is set in the:
0: Punch mode.
1: Laser mode.
#7 #6 #5 #4 #3 #2 #1 #0
16242 ALA
NOTE
When this parameter is set, the power must be turned off before
operation is continued.
#0 ALA Switching between the punch mode and laser mode is:
0: Invalidated.
1: Validated.
#7 #6 #5 #4 #3 #2 #1 #0
16260 TNM TCL
NOTE
When this parameter is set, the power must be turned off before
operation is continued.
NOTE
1 When this parameter is set to 1, the T axis should be set as a
rotation axis. (bit 0 (ROTx) of parameter No. 1006 is set to 1)
2 When this parameter is set to 1, setting the following parameters
allows the CNC to be compatible with FANUC Series 0i-PD, as
follows:
Setting Meaning
Bit 0 (ROTx) of parameter No.1006=1
Rotary axis (A type)
Bit 1 (ROSx) of parameter No.1006=0
Bit 0 (ROAx) of parameter No.1008=1 The rotary axis roll-over is valid.
Bit 1 (RABx) of parameter No.1008=0 The axis rotates in the direction in which
the distance to the target is shorter.
Bit 2 (RRLx) of parameter No.1008=1 Relative coordinates are rounded by the
amount of the shift per one rotation
#5 TNM When machine lock signal MLK and the TNG signal for ignoring a T command are on,
whether the number following address T is cataloged as a tool number is:
0: Not checked.
1: Checked.
NOTE
Generally, the tool number is not checked when the TNG signal is
set to “1”.
#7 #6 #5 #4 #3 #2 #1 #0
16263 NDA TOF
- 771 -
A.PARAMETERS APPENDIX B-6455EN/01
NOTE
This parameter is valid when the TCL bit (bit 4 of parameter No.
16260) is set to 1.
NOTE
This parameter is valid when the TCL bit (bit 4 of parameter No.
16260) is set to 1.
#7 #6 #5 #4 #3 #2 #1 #0
16360 CIP
- 772 -
B-64554EN/01 APPENDIX A.PARAMETERS
NOTE
When this parameter is set, the power must be turned off before
operation is continued.
#7 #6 #5 #4 #3 #2 #1 #0
16362 CRM
#7 #6 #5 #4 #3 #2 #1 #0
16363 G91
- 773 -
A.PARAMETERS APPENDIX B-6455EN/01
- 774 -
B-64554EN/01 APPENDIX A.PARAMETERS
16405 C-axis backlash 16
NOTE
The parameters are valid when the CBR bit (bit 7 of parameter
16360) is set to 1. When these parameters are valid, the C–axis
backlash specified in parameter 1852 is invalid.
- 775 -
A.PARAMETERS APPENDIX B-6455EN/01
NOTE
The values validated when parameter MAI (No. 16360, #2) is set to
1.
#7 #6 #5 #4 #3 #2 #1 #0
16500 SF0
NOTE
When this parameter is set, the power must be turned off before
operation is continued.
NOTE
When type B is used, punching is inhibited in punch mode and entry
is inhibited in laser mode.
#7 #6 #5 #4 #3 #2 #1 #0
16501 SZ4 SZ3 SZ2 SZ1
- 776 -
B-64554EN/01 APPENDIX A.PARAMETERS
NOTE
When type B of safety zone check is used, this parameter is
disabled.
#7 #6 #5 #4 #3 #2 #1 #0
16502 SZI MDP
#7 #6 #5 #4 #3 #2 #1 #0
16504 RTZ
#1 RTZ In the safety zone check, setting area of the circle tool figure is:
0: Disabled.
1: Enabled.
NOTE
1 Set four safety zones to be arranged sequentially in the order of #1,
#2, #3 and #4 from the origin to positive of the X–axis.
2 Zeros must be specified for zones which need not be specified.
In the safety zone check, each set of the parameters specify tool area 1, 2, 3, 4, 5, 6, 7,or
8.
- 778 -
B-64554EN/01 APPENDIX A.PARAMETERS
Tool area 9, 10, 11, or 12 are specified by setting each set of the parameters among
Nos.16551 to 16558.
NOTE
A tool area is selected by signals SZTS0 to SZTS3 input from a
PMC machine.
16540 Width of workpiece holder 1 along the X–axis for automatic setting of a safety zone
16541 Width of workpiece holder 2 along the X–axis for automatic setting of a safety zone
16542 Width of workpiece holder 3 along the X–axis for automatic setting of a safety zone
16543 Width of workpiece holder 4 along the X–axis for automatic setting of a safety zone
Each of the parameters specifies the width of a workpiece holder along the X–axis for the
automatic setting of a safety zone by an external signal.
The parameter values correspond to safety zones 1 to 4, specified in parameter Nos.
16505 to 16516, respectively.
NOTE
When automatic setting is executed, these parameters must be set.
In the safety zone check, each set of the parameters specifies tool area 9, 10, 11, or 12.
Tool area 1, 2, 3, 4, 5, 6, 7,or 8 are specified by setting each set of the parameters among
Nos.16517 to 16532.
NOTE
A tool area is selected by signals SZTS0 to SZTS3 input from a PMC
machine.
#7 #6 #5 #4 #3 #2 #1 #0
16844 OVE
#7 #6 #5 #4 #3 #2 #1 #0
19500 FNW
#6 FNW When the feedrate is determined according to the feedrate difference and acceleration in
AI advanced preview control:
0: The maximum feedrate at which the allowable feedrate difference and acceleration
for each axis are not exceeded is used.
1: A feedrate is determined to satisfy the condition that the allowable feedrate
difference and allowable acceleration rate of each axis are not exceeded, and also to
ensure that a constant deceleration rate is applied to the same figure regardless of the
direction of movement.
#7 #6 #5 #4 #3 #2 #1 #0
19501 FRP
- 780 -
B-64554EN/01 APPENDIX A.PARAMETERS
[Input type] Parameter input
[Data type] Bit path
#5 FRP linear-shaped rapid traverse in the AI advance preview control mode is:
0: Acceleration/deceleration after interpolation
1: Acceleration/deceleration before interpolation
Set a maximum allowable acceleration rate for each axis in parameter No. 1671.
NOTE
To enable blinking display and signal output indicating the AI
advance preview control mode even when rapid traverse command
is specified, set bit 1 (AIR) of parameter No. 1612 to 1 in addition to
the above settings.
#7 #6 #5 #4 #3 #2 #1 #0
19607 CAV
- 781 -
A.PARAMETERS APPENDIX B-6455EN/01
NOTE
1 Each of the parameters of the bit, bit machine group, bit path, and bit axis types
consists of 8 bits for one data number (parameters with eight different
meanings).
2 For machine group types, parameters corresponding to the maximum number of
machine groups are present, so that independent data can be set for each
machine group.
In the FANUC Series 0i-PD, the maximum number of machine group is 1.
3 For path types, parameters corresponding to the maximum number of paths are
present, so that independent data can be set for each path.
In the FANUC Series 0i-PD, the maximum number of controlled path is 1.
4 For axis types, parameters corresponding to the maximum number of control
axes are present, so that independent data can be set for each control axis.
5 The valid data range for each data type indicates a general range. The range
varies according to the parameters. For the valid data range of a specific
parameter, see the explanation of the parameter.
- 782 -
B-64554EN/01 APPENDIX A.PARAMETERS
NOTE
1 Values are rounded up or down to the nearest multiples of the minimum data
unit.
2 A valid data range means data input limits, and may differ from values
representing actual performance.
3 For information on the ranges of commands to the CNC, refer to Appendix D,
"Range of Command Value."
- 783 -
B.PROGRAM CODE LIST APPENDIX B-64554EN/01
- 784 -
B-64554EN/01 APPENDIX B.PROGRAM CODE LIST
ISO code EIA code Custom macro
Character name Code Code without
Character Character with custom
(hexadecimal) (hexadecimal) custom
macro
macro
Colon (address O) : 3A
Optional block skip / AF / 31
Period (decimal point) . 2E . 6B
Sharp # A3 Parameter (No.6012)
Dollar sign $ 24
Ampersand & A6 & 0E
Apostrophe ’ 27
Asterisk * AA Parameter (No.6010)
Comma , AC , 3B
Semicolon ; FB
Left angle bracket < 2C
Equal sign = BD Parameter (No.6011)
Right angle bracket > BE
Question mark ? 3F
Commercial at mark @ C0
Quotation mark “ 22
Left square bracket [ DB Parameter (No.6013)
Right square bracket ] DD Parameter (No.6014)
Underscore _ 6F Parameter (No.6018)
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 Codes not in this table are ignored if their parity is correct.
3 Codes with incorrect parity cause the TH alarm. But they are ignored without
generating the TH alarm when they are in the comment section.
- 785 -
C. LIST OF FUNCTIONS AND
PROGRAM FORMAT APPENDIX B-64554EN/01
G02 R_
R G02 G18 X_ Z_ F_ ;
J G03 I_ K_
I
(x, y) G02 R_
G19 Y_ Z_ F_ ;
G03 G03 J_ K_
(x, y)
R
J
I
Start point
Helical interpolation z G02 R_
(G02, G03) G17 X_ Y_ α_ F_ ;
G03 I_ J_
G02 R_
G18 X_ Z_ α_ F_ ;
G03 I_ K_
Start
point (xyz)
G02 R_
G19 Y_ Z_ α_ F_ ;
(x, y) G03 J_ K_
- 786 -
C. LIST OF FUNCTIONS AND
B-64554EN/01 APPENDIX PROGRAM FORMAT
(IJK)
Reference position return Reference position(G28) G28 ; :
(G28) Return to the reference position without passing
Intermediate point through the intermediate point
IP G28 IP_ ; :
Start point
Return to the reference position via the
intermediate point
Automatic setting of the safety Please refer to the chapter Workpiece holder detection command:
zone "Automatic Setting of the Safety G32 X_ F_ P_ Q_ ;
(G32) Zone".
Skip function IP G33 IP_ F_ ;
(G33)
Start point Skip signal
Bending compensation Please refer to the chapter G38 I_ J_ K_ P_ Q_ R_ ; :
(G38,G39) "BENDING COMPENSATION (G38, Bending compensation for X axis direction:
G39)". G39 I_ J_ K_ P_ Q_ R_ ; :
Bending compensation for Y axis direction
Tool radius compensation G41 G17
G18 G41 D_ ;
(G40 to G42) G42
G19
D : Tool compensation number
G42 G40 : Cancel
G40
Normal direction control G41.1(G151); Normal direction control on: left
(G40.1, G41.1, G42.1) G42.1(G152); Normal direction control on: right
(G150, G151, G152) G40.1(G150); Normal direction control cancel
Linear punching command Please refer to the chapter "LINEAR G45 X_ Y_ P_ Q_ R_ D_ ;
(G45) PUNCHING COMMAND (G45) ".
- 787 -
C. LIST OF FUNCTIONS AND
PROGRAM FORMAT APPENDIX B-64554EN/01
- 788 -
C. LIST OF FUNCTIONS AND
B-64554EN/01 APPENDIX PROGRAM FORMAT
Start point
(X,Y)
- 789 -
C. LIST OF FUNCTIONS AND
PROGRAM FORMAT APPENDIX B-64554EN/01
- 790 -
B-64554EN/01 APPENDIX D.RANGE OF COMMAND VALUE
- 791 -
D.RANGE OF COMMAND VALUE APPENDIX B-64554EN/01
- Rotary axis
Increment system
IS-A IS-B
Least input increment (deg) 0.01 0.001
Least command increment (deg) 0.01 0.001
Max. programmable dimension (deg) ±999,999.99 ±999,999.999
Max. rapid traverse (deg/min)*1 999,000 999,000
Feedrate range (deg/min)*1 0.01 to 999,000 0.001 to 999,000
0.01 0.001
0.1 0.01
Incremental feed (deg/step)
1.0 0.1
10.0 1.0
Tool compensation amount (deg)*2 0 to ±9,999.99 0 to ±9,999.999
Backlash compensation amount (pulses)*3 0 to ±9,999 0 to ±9,999
Dwell (sec)*4 0 to 999,999.99 0 to 999,999.999
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 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.
- 792 -
B-64554EN/01 APPENDIX E.NOMOGRAPHS
E NOMOGRAPHS
Appendix E, "NOMOGRAPHS", consists of the following sections:
θ
V2
Programmed path
Tool path
V1
Fig. E.1 (a) Slight deviation between the tool path and the programmed path
Explanation
- Analysis
The tool path shown in Fig. E.1 (b) is analyzed based on the following conditions:
• Feedrate is constant at both blocks before and after cornering.
• The controller has a buffer register. (The error differs with the reading speed of the tape reader,
number of characters of the next block, etc.)
- 793 -
E.NOMOGRAPHS APPENDIX B-64554EN/01
V
VY2 φ2
VX2
θ
V
Z
VY1
φ2
VX1 0 X
Y0
V
X0
The initial value when cornering begins, that is, the X and Y coordinates at the end of command
distribution by the controller, is determined by the feedrate and the positioning system time constant of
the servo motor.
- 794 -
B-64554EN/01 APPENDIX E.NOMOGRAPHS
X 0 = VX1( T1 + T2 )
Y0 = VY1( T1 + T2 )
VX1 t t
= VX 2 [1 − { T1 exp( − ) − T2 exp( − )}]
T1 − T2 T1 T2
(t) VY 1 − VY 2 t t
VY = { T1 exp( − ) − T2 exp( − )} + VY 2
T1 − T2 T1 T2
Therefore, the coordinates of the tool path at time t are calculated from the following equations:
X( t ) = ∫ VX ( t )dt − X 0
1
VX 2 − VX1 t t
= { T1 exp( − ) − T2 exp( − )} − VX 2 ( T1 + T2 − t )
2 2
T1 − T2 T1 T2
∫
1
Y( t ) = VY ( t )dt − Y0
0
V Y 2 − V Y1 t t
= { T1 exp( − ) − T2 exp( − )} − VY 2 ( T1 + T2 − t )
2 2
T1 − T2 T1 T2
- 795 -
E.NOMOGRAPHS APPENDIX B-64554EN/01
Y Δr
Command path
Actual path
1 2 V2
Δr = (T1 + T2 2 (1 - α 2 )) . . . . . (1)
2 r
Δr : Maximum radius error (mm)
v : Feedrate (mm/sec)
r : Circle radius (mm)
T1 : Exponential acceleration/deceleration time constantat cutting (sec) (T=0)
T2 : Time constant of positoning system (sec)
(Inverse of positon loop gain)
α: Feed forward coefficient (%)
In the case of bell-shaped acceleration/deceleration and linear acceleration/deceleration after cutting feed
interpolation, an approximation of this radius error can be obtained with the following expression:
Since the machining radius r (mm) and allowable error Δr (mm) of the workpiece is given in actual
machining, the allowable limit feedrate v (mm /sec) is determined by equation (1).
Since the acceleration/deceleration time constant at cutting which is set by this equipment varies with the
machine tool, refer to the manual issued by the machine tool builder.
- 796 -
F. SETTINGS AT POWER-ON, IN
THE CLEAR STATE, OR IN THE
B-64554EN/01 APPENDIX RESET STATE
- 797 -
F. SETTINGS AT POWER-ON,
IN THE CLEAR STATE, OR
IN THE RESET STATE APPENDIX B-64554EN/01
NOTE
1 When the beginning position is found, the main program number is displayed.
2 If a reset is made during execution of a block, the states of the modal G code
and modal address (such as N, F, S, T, or M) specified in the block are not
reflected. The modal information specified in the previous and preceding blocks
is kept.
3 The initial value of the modal G code depends on the following parameters. For
details, refer to the parameter manual (B-64310EN, B-64560EN).
- Bit 0 (G01) of parameter No. 3402
- Bit 1 (G18) of parameter No. 3402
- Bit 2 (G19) of parameter No. 3402
- Bit 3 (G91) of parameter No. 3402
- Bit 7 (G23) of parameter No. 3402
- Parameters No. 3406 to 3409
4 For detection of an absolute position, the value is generated from machine
coordinates and a workpiece origin offset.
5 When a reset is made during execution of a subprogram, a return to the main
program is performed. Execution at a midpoint in the subprogram is
impossible.
6 When bit 0 (SEK) of parameter No. 11353 is set to 1, sequence number N can
be held even at power-on or in the clear state.
- 798 -
G. CHARACTER-TO-CODES
B-64554EN/01 APPENDIX CORRESPONDENCE TABLE
G CHARACTER-TO-CODES
CORRESPONDENCE TABLE
Appendix G, "CHARACTER-TO-CODES CORRESPONDENCE TABLE", consists of the following
sections:
- 799 -
G. CHARACTER-TO-CODES
CORRESPONDENCE APPENDIX B-64554EN/01
- 800 -
G. CHARACTER-TO-CODES
B-64554EN/01 APPENDIX CORRESPONDENCE TABLE
- 801 -
G. CHARACTER-TO-CODES
CORRESPONDENCE APPENDIX B-64554EN/01
- 802 -
G. CHARACTER-TO-CODES
B-64554EN/01 APPENDIX CORRESPONDENCE TABLE
- 803 -
G. CHARACTER-TO-CODES
CORRESPONDENCE APPENDIX B-64554EN/01
- 804 -
G. CHARACTER-TO-CODES
B-64554EN/01 APPENDIX CORRESPONDENCE TABLE
- 805 -
H.ALARM LIST APPENDIX B-64554EN/01
H ALARM LIST
Appendix H, "ALARM LIST", consists of the following items:
- 806 -
B-64554EN/01 APPENDIX H.ALARM LIST
- 807 -
H.ALARM LIST APPENDIX B-64554EN/01
- 808 -
B-64554EN/01 APPENDIX H.ALARM LIST
- 810 -
B-64554EN/01 APPENDIX H.ALARM LIST
- 811 -
H.ALARM LIST APPENDIX B-64554EN/01
- 813 -
H.ALARM LIST APPENDIX B-64554EN/01
- 814 -
B-64554EN/01 APPENDIX H.ALARM LIST
- 816 -
B-64554EN/01 APPENDIX H.ALARM LIST
- 817 -
H.ALARM LIST APPENDIX B-64554EN/01
- 818 -
B-64554EN/01 APPENDIX H.ALARM LIST
- 819 -
H.ALARM LIST APPENDIX B-64554EN/01
- 820 -
B-64554EN/01 APPENDIX H.ALARM LIST
- 821 -
H.ALARM LIST APPENDIX B-64554EN/01
- 822 -
B-64554EN/01 APPENDIX H.ALARM LIST
- 823 -
H.ALARM LIST APPENDIX B-64554EN/01
- 824 -
B-64554EN/01 APPENDIX H.ALARM LIST
PW0007 X-ADDRESS(SKIP) IS NOT The X address of PMC could not be assigned correctly.
ASSIGNED Possible causes are:
- During the set of parameter No. 3012, the skip signal of
the X address was not assigned correctly.
- During the set of parameter No. 3019, the address other
than the skip signal of the X address was not assigned
correctly.
PW1102 ILLEGAL PARAMETER (I-COMP.) The parameter for setting slope compensation is incorrect.
This alarm occurs in the following cases:
- When the number of pitch error compensation points on
the axis on which slope compensation is executed
exceeds 128 between the most negative side and most
positive side
- When the size relationship between the slope
compensation point Nos. is incorrect
- When the slope compensation point is not located
between the most negative side and most positive side of
pitch error compensation
- When the compensation per compensation point is too
small or too great.
PW4549 ILLEGAL TOOL DATA FORMAT The size of the registered tool data patterns has exceeded the
upper limit of 32KB.
- 825 -
H.ALARM LIST APPENDIX B-64554EN/01
- 826 -
B-64554EN/01 APPENDIX H.ALARM LIST
- 827 -
H.ALARM LIST APPENDIX B-64554EN/01
- 828 -
B-64554EN/01 APPENDIX H.ALARM LIST
- 829 -
H.ALARM LIST APPENDIX B-64554EN/01
- 830 -
I.PC TOOL FOR MEMORY CARD
B-64554EN/01 APPENDIX PROGRAM OPERATION/EDITING
<1>
<3>
<2>
<4>
<5>
When this PC tool starts up, the Option dialogue window is displayed. Please select "Open an existing
file" or "Create a new file".
- 832 -
I.PC TOOL FOR MEMORY CARD
B-64554EN/01 APPENDIX PROGRAM OPERATION/EDITING
When the new the memory card program file is created, the following items need to be selected:
• Folder/Program Numbers
• Program Size
"Folder/Program Numbers" can be selected among 63 / 500 / 1000. The default value is 63.
To create the file for the Series 0i-PD, select 63.
"Program Size" can be selected among 2Mbyte, 4Mbyte, 8Mbyte, and Customize. The default value is
2Mbyte.
NOTE
1 When "Customize" size is selected, it is available to cover the range from
2Mbyte to 2048Mbyte.
2 Though the maximum size is 2048Mbyte, a slight loss exists by system use.
3 The number of "Folders" in the status bar includes number of program file and
folder.
- 833 -
I. PC TOOL FOR MEMORY CARD
PROGRAM OPERATION/EDITING APPENDIX B-64554EN/01
During creating of the memory card program file, the progress bar is being displayed. The progress bar is
also displayed during drag-in or drag-out.
If you push [Cancel] button, the execution is stopped.
- Menu
File menu
[New]
Create a new memory card program file.
[Open...]
Open the existing memory card program file.
[Exit]
Terminate this PC tool.
Edit menu
[New Folder]
Create new folder. It is available during Tree view selected.
Up to seven hierarchical levels starting from the user root folder (/USER) are permitted.
/USER/PATH1/Aaa/Bbb/Ccc/Ddd/O123
1 2 3 4 5 6 7(not folder)
[Delete]
Delete program files or folders.
If you delete a folder, all folders and program files in the folder will be deleted.
- 834 -
I.PC TOOL FOR MEMORY CARD
B-64554EN/01 APPENDIX PROGRAM OPERATION/EDITING
[Rename]
Rename a folder or file.
NOTE
For naming folder and program file, characters which can be used are limited.
See "NAMING RULES" below.
Option menu
When the [Hide Confirm Message] in menu bar is checked, the Confirm Message is not
displayed and the operation advances at once. The default setting is the Confirm Message
displayed.
- 835 -
I. PC TOOL FOR MEMORY CARD
PROGRAM OPERATION/EDITING APPENDIX B-64554EN/01
When you select this option, you can set a work folder. By default, the [temp] folder is created
in the folder that contains the executable file (FANUCPRG.exe), and [temp] is used as the work
folder.
During drag-out, a program file is moved from the memory card program file to the specified
destination via the work folder. If there is not enough free space on the hard disk that contains
the work folder, drag-out cannot be performed successfully.
To work around this problem, you can specify another work folder.
When you start this PC tool, and then try to specify a new work folder for the first time, the
work folder provided by the system has been set. The text box in the dialogue is therefore blank.
When you change the work folder, the following warning message is popped up.
If the work folder has been changed before, the following warning message is popped up.
WARNING
1 At this PC tool terminated, all files in the work folder are deleted.
2 During this PC tool executing, do not access the files in the work folder. If the
access is done, there is no assurance of normal operation.
Help menu
- 836 -
I.PC TOOL FOR MEMORY CARD
B-64554EN/01 APPENDIX PROGRAM OPERATION/EDITING
[About...]
Version number of this PC tool is displayed.
- Mouse Operation
[Drag-in and Drag-out]
• Drag-in from the Explorer
You can add NC programs by dragging in files.
The NC program names and update time are generated based on the files that have been dragged in.
If "Oxxxxxxxx" or "<xxxx>" exists at the top of files, These "Oxxxxxxxx" and "<xxxx>" become
NC program name. If not exist, each file name becomes NC program name.
Examples
Name of external file Top of external file Name of internal file Program number
O1234 N10G00 O1234 1234
O123N10G00 N10G00 O123N10G00 Not an O number program
test.txt O1234N10G00 O1234 1234
test.txt <O1234> O1234 1234
test.txt <O1234N10> O1234N10 Not an O number program
O1234 <O1234N10> O1234N10 Not an O number program
O001234 N10G00 O1234 1234
O001234N10G00 N10G00 O001234N10G00 Not an O number program
test.txt O001234 O1234 1234
test.txt <O001234> O1234 1234
test.txt <O001234N10G00> O001234N10G00 Not an O number program
NOTE
1 For an explanation of program file names, see "Naming Rules of Program File "
below.
2 For an explanation of characters that can be used in program files, see "RULES
OF CHARACTERS IN PROGRAM FILE" below.
3 The updating time of program file is available from 1997 to 2037.
4 The program numbers allowed in the Series 0i-PD are 1 to 9999. The Series
0i-PD cannot therefore handle a file having a program number that is out of the
range of 1 to 9999.
- 837 -
I. PC TOOL FOR MEMORY CARD
PROGRAM OPERATION/EDITING APPENDIX B-64554EN/01
Based on the description in "RULES OF CHARACTERS IN PROGRAM FILE" below, this PC tool
checks the characters in a file that has been dragged in. However, this PC tool does not check
grammar of NC program.
The program file can only have one NC program. Therefore, the NC program output from CNC
cannot be dragged in directly.
Example of Program
O1 <O1> % O1
G91 X10. Y10. G91 X10. Y10. O1 G91 X10. Y10.
M30 M30 G91 X10. Y10. M30
M30
% O10
G91 X10. Y10.
M30
NOTE
1 If another program having the same name already exists, drag-in cannot be
performed.
2 If the memory card program file does not have enough free space, drag-in
cannot be performed.
3 If an NC program name does not conform to the rules described in "Naming
Rules of Program File" below, drag-in cannot be performed.
If the File name acts as Program number, "O" is displayed on the first row of list view.
CAUTION
Do not drag out a file from the work folder. If you do this, there is no guarantee of
proper operation.
- Pop-up menu
Pop-up menu is displayed by clicking the right mouse button.
- 838 -
I.PC TOOL FOR MEMORY CARD
B-64554EN/01 APPENDIX PROGRAM OPERATION/EDITING
When a new memory card program file is created, two reserved folder are also created. Therefore, the
number of used folder is two. However it does not show that number of unused folder is reduced.
The status bar display is updated as you create a new folder, delete a folder, drag in a program file from
the Explorer or any other similar tool to this PC tool, or delete a program file.
- 839 -
I. PC TOOL FOR MEMORY CARD
PROGRAM OPERATION/EDITING APPENDIX B-64554EN/01
Click
Example)
File name that can be used as a program number
"O123" Program number 123
"O1" Program number 1
"O3000" Program number 3000
"O0123" Program number 123
File name that does not prevent drag-in but is invalid
"O99999999" Program number 99999999
(The program numbers allowed in the Series 0i-PD are 1 to 9999.)
File name that does not prevent drag-in but cannot be used as a program number
"ABC" Top of character is not upper case letter of "O".
"o123" Top of character is not upper case letter of "O".
"O0123XY" Characters following the "O" contains alphabet.
File name that prevents drag-in
"O123456789" Numeric characters exceed 8 digits.
- 840 -
I.PC TOOL FOR MEMORY CARD
B-64554EN/01 APPENDIX PROGRAM OPERATION/EDITING
NOTE
1 Program file name cannot be repeated in a Folder.
2 If program file name starts with "O" and the next eight characters are all numeric
characters, the "0" (zero) after the "O" will be deleted.
NOTE
Folder name cannot be repeated in a Folder.
NOTE
1 When a program file is dragged in, space code (0x20 SPC) , tab code (0x09
HT) , carriage return code(0x0d CR) and percent code(0x25 %) is deleted. If "%"
is found in Control-in, characters between "%" and next "LF" (0x0a) is deleted.
2 The front of program number ":" is changed to "O"(O as in Oscar) while the
program file dragged in.
3 The program file can only have one NC program.
- 841 -
I. PC TOOL FOR MEMORY CARD
PROGRAM OPERATION/EDITING APPENDIX B-64554EN/01
NOTE
In the Control-in, "O", ":", and "<" can not be used at top of the line except for the
1st line.
- 842 -
I.PC TOOL FOR MEMORY CARD
B-64554EN/01 APPENDIX PROGRAM OPERATION/EDITING
Message Remarks
Failed to open the file you specified. The memory card program file cannot be opened. When you retry
and the failure recurs, the file may be corrupt.
Failed to read or write to the specified file. An attempt to read from or write to the memory card program file has
failed.
There is insufficient disk space. There is not enough disk space for the work folder to create a
memory card program file or drag out a program file. Allocate
sufficient disk space, and then create a file.
See an explanation of [Change Work Folder] in "Explanation of
Operations".
File name is not correct. The name cannot be used as a program file name. See "NAMING
RULES".
Input name is already exists. The entered name is already used. Enter another name.
File name is already exists. The added program file name already exists. Change the name.
Input name is not correct. The entered name cannot be used. See "NAMING RULES".
Please input an integer between 2 and A memory card program file cannot be created with the specified
2048 size. Enter a numeric value in the range of 2 to 2048.
An illegal character is included in the An invalid character is included in the program file. See "RULES OF
specified file. CHARACTERS IN PROGRAM FILE".
Last update time of the specified file is The update time of the program file is beyond the range of years
unsupported. (1997 to 2037) that can be supported by this PC tool. Create a new
file or change the update time.
The memory card program file you The format of the memory card program file is not the format
specified cannot be identified. supported by this PC tool. The file may be rewritten with some other
tool.
There is insufficient free folder. A folder cannot be added. Delete unnecessary folders and program
files.
There is insufficient free program space. A program file cannot be added. Delete unnecessary program files.
Folder deeper than 7 cannot be created. An attempt was made to create a folder deeper than the 7th level.
Folders cannot be created deeper than the 7th level.
Root folder cannot be deleted. An attempt was made to delete the root folder.
Root folder cannot be renamed. An attempt was made to rename the root folder.
Failed to create work folder. An attempt to create [temp] to be used as the work folder has failed.
Drag-out cannot be performed. Check whether the [temp] folder can
be created in the folder that contains the executable file
(FANUCPRG.exe).
Process has been cancelled. Processing has been discontinued.
The specified work folder is not found. The folder specified in the path is not found. Drag-out cannot be
performed. Exit this PC tool, and set the work folder again.
Only one instance of this application can be More than one instance of this PC tool cannot be run.
executed.
- 843 -
I. PC TOOL FOR MEMORY CARD
PROGRAM OPERATION/EDITING APPENDIX B-64554EN/01
I.4.2 Note
- Folder and Program Numbers
This PC tool allows you to select the number of folders or programs that can be stored in a memory card
program file; you can select 63, 500, or 1000. The number of folders or programs that can be used with
the Series 0i-PD is 63, however.
If you select 500 or 1000 as the number of folders or programs when you create a memory card program
file, the Series 0i-PD cannot use that memory card program file.
- 844 -
B-64554EN/01 APPENDIXJ.ISO/ASCII CODE CONVERSION TOOL
Example
C:¥>ISO_CONV.EXE /c /i=ALL-PROG.TXT /o=ALL-PROG.ISO
- 845 -
J.ISO/ASCII CODE CONVERSION TOOLAPPENDIX B-64554EN/01
GUI
When you double-click the icon, the following screen appears, allowing you to select and convert a file.
Conversion procedure
1. Step 1
In [Target File], specify a file you want to convert.
When you click the [Select...▼] button, a file selection dialogue appears, allowing you to select a
file.
2. Step 2
After you specify the file name in step 1, you can determine the code of the specified file by clicking
the [File Check] button. When you select the file by clicking the [Select...▼] button, the code is
automatically determined.
The file is determined as an ASCII file, ISO file, or ASCII/ISO-mixed file, or is indeterminable. In
[Message], an additional message appears depending on the determination result.
If the file is determined as an ASCII/ISO-mixed file, it cannot be converted, so you cannot proceed
to the next step. The [File Convert] button is disabled and you cannot click it. If file contains only
characters represented by the code values common to ASCII and ISO, the code of the file is
indeterminable. This file need not be converted, so the [File Convert] button is disabled and you
cannot click it.
- 846 -
B-64554EN/01 APPENDIXJ.ISO/ASCII CODE CONVERSION TOOL
3. Step 3
When you specify the name of a converted file and click the [File Convert] button, the converted file
is created. When the original file is an ASCII file, an ISO file is created; when the original is an ISO
file, an ASCII file is created.
You can also click the [Select...▼] button and specify the name of the converted file from a file
selection dialogue.
Other
When you click the [Version] button, the software version information is displayed as shown below.
- 847 -
K. DIFFERENCES FROM SERIES 0i-PC APPENDIX B-64554EN/01
- 848 -
B-64554EN/01 APPENDIX K. DIFFERENCES FROM SERIES 0i-PC
point.
Center θ
θ
- 849 -
K. DIFFERENCES FROM SERIES 0i-PC APPENDIX B-64554EN/01
Length of arc
F×
(Length of arc)2+(Length of linear axis)2
- 850 -
B-64554EN/01 APPENDIX K. DIFFERENCES FROM SERIES 0i-PC
Target of acceleration / - Compensation is performed for the - Compensation is performed for the
deceleration and servo skip coordinates obtained when the skip coordinates obtained when the
system delay high-speed skip signal is set to "1". skip or high-speed skip signal is set
compensation to "1".
Method of acceleration / - There are two ways to perform - Bit 0 (SEA) of parameter No. 6201 is
deceleration and servo compensation, as follows. not available.
system delay [Compensating the value calculated There is only one way to perform
compensation from the cutting constant and servo compensation, as follows.
constant] [Compensating the accumulated
Set 1 in bit 0 (SEA) of parameter No. pulses and positional deviation due to
6201. acceleration/deceleration]
[Compensating the accumulated Set 1 in bit 1 (SEB) of parameter No.
pulses and positional deviation due to 6201.
acceleration/deceleration]
Set 1 in bit 1 (SEB) of parameter No.
6201.
Skip cutting feedrate - Feedrate specified by the F code in - Depends on bit 1 (SFP) of parameter
(normal skip) the program No. 6207. When 0 is set, the
processing is the same as Series
0i-PC.
- 851 -
K. DIFFERENCES FROM SERIES 0i-PC APPENDIX B-64554EN/01
- 852 -
B-64554EN/01 APPENDIX K. DIFFERENCES FROM SERIES 0i-PC
- 853 -
K. DIFFERENCES FROM SERIES 0i-PC APPENDIX B-64554EN/01
- 854 -
B-64554EN/01 APPENDIX K. DIFFERENCES FROM SERIES 0i-PC
- 855 -
K. DIFFERENCES FROM SERIES 0i-PC APPENDIX B-64554EN/01
- 856 -
B-64554EN/01 APPENDIX K. DIFFERENCES FROM SERIES 0i-PC
Metric input
OFA Unit Range
1 0.01mm ±9999.99mm
0 0.001mm ±9999.999mm
Inch input
OFA Unit Range
1 0.001inch ±999.999inch
0 0.0001inch ±999.9999inch
- 857 -
K. DIFFERENCES FROM SERIES 0i-PC APPENDIX B-64554EN/01
- 858 -
B-64554EN/01 APPENDIX K. DIFFERENCES FROM SERIES 0i-PC
- 859 -
K. DIFFERENCES FROM SERIES 0i-PC APPENDIX B-64554EN/01
Local variable clear - Make a selection using bit 7 (CLV) of - Bit 7 (CLV) of parameter No. 6001 is
operation by reset parameter No. 6001. not available.
Local variables are always cleared to
Bit 7 (CLV) of parameter No. 6001 <null> when reset.
When reset, the local variables in the
custom macro are:
0: Cleared to <null>.
1: Not cleared.
K.8.3 Miscellaneous
Series 0i-PD allows you to customize the specifications related to the maximum and minimum variable
values and accuracy by using bit 0 (F0C) of parameter No. 6008. When 1 is set in bit 0 (F0C) of
parameter No. 6008, the specifications are the same as Series 0i-PC. For details, refer to Chapter II-17,
"CUSTOM MACRO", in "OPERATOR’S MANUAL" (B-64554EN).
- 860 -
B-64554EN/01 APPENDIX K. DIFFERENCES FROM SERIES 0i-PC
- 861 -
K. DIFFERENCES FROM SERIES 0i-PC APPENDIX B-64554EN/01
- 863 -
K. DIFFERENCES FROM SERIES 0i-PC APPENDIX B-64554EN/01
- The data range of parameter No. 8314 - The data range of parameter No. 8314
is as follows: is as follows:
[Data range] [Data range]
0 to 32767 0 or positive 9 digits of the minimum
unit of data. (For IS-B, 0.0 to
+999999.999)
Setting of - Synchronization establishment is - Synchronization establishment is
synchronization enabled by setting 1 in bit 7 (SOF) of enabled by setting 1 in bit 7 (SOF) of
establishment parameter No. 8301 when the number parameter No. 8303 for the slave axis.
of synchronized axis pairs is one or by (Bit 7 (SOF) of parameter No. 8301 is
setting 1 in bit 7 (SOF) of parameter not available. Regardless of the
No. 8303 for the master axis when the number of pairs, set 1 in bit 7 (SOF) of
number of synchronized axis pairs is parameter No. 8303.)
two.
Timing of - Synchronization establishment is - Synchronization establishment is
synchronization performed when: performed when:
establishment 1. Power is turned on when the absolute 1. Power is turned on when the absolute
position detector is used. position detector is used.
2. Emergency stop is canceled. 2. Manual reference position return
operation is performed.
3. The state of servo position control is
changed from off to on.
(This occurs when emergency stop, servo
alarm, servo off, etc. is canceled. Note,
however, that synchronization
establishment is not performed at the time
of axis removal cancellation.)
Maximum - Set the value in parameter No. 8315 - Set the value in parameter No. 8325
compensation for when the number of synchronized axis for the slave axis.
synchronization pairs is one or in parameter No. 8325 If the compensation amount exceeds
for the master axis when the number of the values set in this parameter, alarm
synchronized axis pairs is two. SV0001 occurs.
If the compensation amount exceeds (Parameter No. 8315 is not available.
the values set in the relevant Regardless of the number of pairs, set
parameter, alarm SV0410 occurs. the value in parameter No. 8325.)
- The data unit and data range of - The data unit and data range of
parameter Nos. 8315 and 8325 are as parameter No. 8325 are as follows:
follows: [Data unit]
[Data unit] Machine unit
Detection unit [Data range]
[Data range] 0 or positive 9 digits of the minimum
0 to 32767 unit of data. (For IS-B, 0.0 to
+999999.999)
- 864 -
B-64554EN/01 APPENDIX K. DIFFERENCES FROM SERIES 0i-PC
- 865 -
K. DIFFERENCES FROM SERIES 0i-PC APPENDIX B-64554EN/01
- 866 -
B-64554EN/01 APPENDIX K. DIFFERENCES FROM SERIES 0i-PC
- 867 -
K. DIFFERENCES FROM SERIES 0i-PC APPENDIX B-64554EN/01
- 868 -
B-64554EN/01 APPENDIX K. DIFFERENCES FROM SERIES 0i-PC
Maximum feedrate for - When an override of 254% is applied - When an override of 254% is
IS-B IS-C
continuous feed (06h) Metric input Inch input Metric input Inch input applied
166458 1664.58 16645 166.45 IS-B IS-C
1 time
mm/min inch/min mm/min inch/min
1664589 16645.89 166458 1664.58 Metric input Inch input Metric input Inch input
10 times
mm/min inch/min 0mm/min inch/min
(mm/min) (inch/min) (mm/min) (inch/min)
Minimum unit of feedrate The minimum unit of feedrate is given by the expressions shown below. The value
for the speed command must be specified as an integer. No finer value may be specified.
(10h) A calculation is made according to IS-B.
Fmin: Minimum feedrate unit
P: Number of pulses per revolution of a detector for speed feedback
- Fmin = P ÷ 7500 (mm/min) - Fmin = P ÷ 1000 (mm/min)
Speed specification in A speed is specified according to the expressions shown below.
the speed command A calculation is made according to IS-B.
(10h) F: Speed command (integer)
N: Servo motor speed (min-1)
P: Number of pulses per revolution of a detector for speed feedback
- 869 -
K. DIFFERENCES FROM SERIES 0i-PC APPENDIX B-64554EN/01
O0001 ;
N10 G94 G90 G01 X20. Y30. F3000 ;
N20 M55 ; → Executes PMC axis control for the Y axis.
N30 X70. ;
N40 Y50. ;
N50 M30 ;
- 870 -
B-64554EN/01 APPENDIX K. DIFFERENCES FROM SERIES 0i-PC
- 871 -
K. DIFFERENCES FROM SERIES 0i-PC APPENDIX B-64554EN/01
command value
1: Specified by the sign of command value. movement to be made
WARNING
Be sure to avoid writing two or more identical sequence numbers in a program.
Doing so may cause the search to find unintended blocks.
- 874 -
B-64554EN/01 APPENDIX K. DIFFERENCES FROM SERIES 0i-PC
- 875 -
K. DIFFERENCES FROM SERIES 0i-PC APPENDIX B-64554EN/01
(62) (67)
(+)
90.0 270.0
(63) (66)
(64) (65)
135.0 225.0
Compensation values are output at
180.0 the positions indicated by ○.
- 876 -
B-64554EN/01 APPENDIX K. DIFFERENCES FROM SERIES 0i-PC
- 877 -
K. DIFFERENCES FROM SERIES 0i-PC APPENDIX B-64554EN/01
- 878 -
B-64554EN/01 APPENDIX K. DIFFERENCES FROM SERIES 0i-PC
programmed path
Fig. 2
[Length of a message]
Up to 32 characters
- 879 -
K. DIFFERENCES FROM SERIES 0i-PC APPENDIX B-64554EN/01
- 880 -
B-64554EN/01 APPENDIX K. DIFFERENCES FROM SERIES 0i-PC
- 881 -
K. DIFFERENCES FROM SERIES 0i-PC APPENDIX B-64554EN/01
Workpiece
r α
L
Programmed path
r
L Tool center path
L L
Series 0i-PD single block stop
Series 0i-PC single block stop
- 882 -
B-64554EN/01 APPENDIX K. DIFFERENCES FROM SERIES 0i-PC
N1
Tool center path
P1
P2
Programmed path
Workpiece N2
P3
N3
Cutting as
programmed causes
overcutting.
[When single block stop occurs in the preceding block in Series 0i-PC]
Since the tool moves until it reaches the end point of the block (P3 in the figure),
overcutting may result.
[When single block stop does not occur in the preceding block in Series 0i-PC]
The tool stops immediately after executing the block (P2 in the figure).
[In the case of Series 0i-PD]
Since the tool stops at the start point of the block (P1 in the figure), regardless of the
single block state, overcutting can be prevented.
Single block stop in a - Not available. - Depends on bit 0 (SBK) of parameter
block created No. 5000.
internally for cutter
compensation Bit 0 (SBK) of parameter No. 5000
In a block created internally for cutter
compensation, single block stop is:
0: Not performed.
1: Performed.
This parameter is used to check a program
including cutter compensation.
- 883 -
K. DIFFERENCES FROM SERIES 0i-PC APPENDIX B-64554EN/01
Programmed path
V4 V1
V3 V2
Programmed path
VA VB
V4 V1
V3 V2
- 884 -
B-64554EN/01 APPENDIX K. DIFFERENCES FROM SERIES 0i-PC
Intermediate
point
S G28 S S G01
G00 r
S
Reference position
(G42 G01)
Intermediate
point
S G28 S S G01
r
G00
S
Reference position
(G42 G01)
- 885 -
K. DIFFERENCES FROM SERIES 0i-PC APPENDIX B-64554EN/01
If the end point is on side A when viewed If the end point is on side A of line L
from the start point, the travel distance is connecting the start point and center, the
small. If it is on side B, C, or D, the tool travel distance is small. If it is on side B,
has traveled almost one round. the tool has traveled almost one round.
Compensation vector - Connected by linear interpolation. - Depends on bit 2 (CCC) of parameter
connection method No. 19607.
when the tool travels [When CCC = 0 or for Series 0i-C] [When CCC = 1]
around an external Connect vectors by linear Connect vectors by circular
corner during the interpolation interpolation
cutter compensation
mode
- 886 -
B-64554EN/01 APPENDIX K. DIFFERENCES FROM SERIES 0i-PC
- 887 -
K. DIFFERENCES FROM SERIES 0i-PC APPENDIX B-64554EN/01
- 888 -
B-64554EN/01 APPENDIX K. DIFFERENCES FROM SERIES 0i-PC
- 889 -
B-64554EN/01 INDEX
INDEX
C–axis Command in Nibbling Mode............................325
<Number> CHANGING PROGRAM ATTRIBUTES...................513
10.4" LCD ....................................................................346 Changing Workpiece Coordinate System ......................60
8.4" LCD/MDI .............................................................345 CHARACTER-TO-CODES CORRESPONDENCE
TABLE.....................................................................799
<A> Check by Running the Machine...................................334
ABSOLUTE AND INCREMENTAL CHECKING BY DIAGNOSTIC DISPLAY................437
PROGRAMMING (G90, G91)...................................66 CIRCULAR INTERPOLATION .................................849
ACTION TO BE TAKEN WHEN A PROBLEM CIRCULAR INTERPOLATION (G02, G03)................28
OCCURRED ............................................................658 Circular Nibbling (G68).................................................75
Actual Feedrate Display ...............................................531 Circular Punch Commands (G46 and G47)..................157
AI ADVANCED PREVIEW CONTROL ....................861 CODES AND RESERVED WORDS USED IN
AI ADVANCED PREVIEW CONTROL (G05.1).......300 CUSTOM MACROS................................................283
ALARM AND SELF-DIAGNOSIS FUNCTIONS......434 Color Setting Screen ....................................................591
Alarm Display .......................................................341,434 COMMAND FOR MACHINE OPERATIONS -
ALARM HISTORY DISPLAY ...................................436 AUXILIARY FUNCTION.........................................16
ALARM LIST..............................................................806 Command for Restarting Machining Multiple Products150
Altering a Word ...........................................................485 COMPACT-TYPE MDI KEY INPUT.........................505
Arc (G77) .....................................................................121 Compensating Backlash Along the C–axis for Each
ARITHMETIC AND LOGIC OPERATION ...............256 Tool Group ...............................................................326
Automatic Acceleration/Deceleration ..........................322 Compensating the Position of the C–axis.....................326
Automatic Coordinate System Setting ...........................63 COMPENSATION FUNCTION .................................160
Automatic Corner Override............................................45 Conditional Branch (IF Statement) ..............................265
AUTOMATIC INSERTION OF SEQUENCE Confirmation of a data update during the data setting
NUMBERS...............................................................474 process......................................................................418
AUTOMATIC OPERATION ...............................333,380 Confirmation of incremental input...............................416
Automatic override for inner corners (G62)...................45 Confirmation of the deletion of all data .......................418
AUTOMATIC REPOSITIONING (G75) ....................135 Confirmation of the deletion of the program................417
Automatic Setting for Grid Position Matching.............315 Confirmation of the start from a middle block.............420
Automatic Setting of the Safety Zone ..........................431 CONSTANT CONTROL OF POSITIONING TIME ..888
AUXILIARY FUNCTION.............................................95 CONTROLLED AXES..................................................20
AUXILIARY FUNCTION (M FUNCTION).................95 Controlling the C–axis .................................................158
Axis Configuration for Axis Synchronous Control ......311 CONTROLLING THE TURRET-AXIS (T-AXIS) .......90
Axis Control by PMC...................................................375 CONVERSATIONAL PROGRAMMING WITH
AXIS CONTROL FUNCTIONS .................................311 GRAPHIC FUNCTION ...........................................475
Axis status display .......................................................420 COORDINATE SYSTEM .............................................56
Axis Synchronization Control ......................................374 Coordinate System on Part Drawing and Coordinate
AXIS SYNCHRONOUS CONTROL ...................311,862 System Specified by CNC - Coordinate System ........13
Axis Synchronous Control Torque Difference Alarm..318 COORDINATE SYSTEM ROTATION (G84, G85)...224
COORDINATE VALUE AND DIMENSION...............66
<B> Copy Specifying a Program Number ...........................501
Background Editing .....................................................543 Copying a Part of a Program........................................491
BACKING UP VARIOUS DATA ITEMS ..................659 Copying an Entire Program..........................................497
Base Point Command (G72).........................................117 COPYING/MOVING PROGRAMS............................491
Base Point Command of Multi-Piece Machining (G98)145 Copying/Moving to the Key-in Buffer.........................502
Battery in the PANEL i (3 VDC) .................................664 CREATING PROGRAMS...........................................473
BENDING COMPENSATION (G38, G39).................152 CREATING PROGRAMS USING THE MDI
Block in which Punching is Made..................................71 PANEL.....................................................................473
Blocks Where C–axis Command is Possible................323 Current Block Display Screen (Only for the 8.4-Inch
Bolt Hole Circle (G26).................................................118 Display Unit)............................................................541
BRANCH AND REPETITION....................................264 Current Position Display ..............................................340
CUSTOM MACRO .............................................. 231,858
<C> Cut at Angle (G89).......................................................130
C AXIS CONTROL (DIE ANGLE INDEXING) ........321
CUTTER COMPENSATION ......................................882
C–axis Command and its Operation.............................323
CUTTING FEED ...........................................................42
i-1
INDEX B-64554EN/01
CUTTING FEEDRATE CONTROL .............................43 Displaying and setting the FSSB amplifier setting
screen .......................................................................597
<D> Displaying and setting the FSSB axis setting screen....598
DATA INPUT/OUTPUT .............................................440 Displaying and setting the high-precision setting
Data range check..........................................................421 screen .......................................................................611
DATA SERVER FUNCTION .....................................881 Displaying and setting the miscellaneous setting
DATA TYPE................................................................781 screen .......................................................................613
DECIMAL POINT PROGRAMMING..........................69 Displaying and setting the servo gain tuning screen ....601
DEFINITION OF WARNING, CAUTION, AND Displaying and setting the servo setting screen............599
NOTE ........................................................................s-1 Displaying and setting the servo tuning screen ............613
Deleting a Block...........................................................486 Displaying and Setting the Software Operator’s Panel 558
DELETING A PROGRAM..........................................513 Displaying and Setting the Workpiece Origin Offset
Deleting a Word ...........................................................485 Value ........................................................................555
Deleting All Programs..................................................490 Displaying and Switching the Display Language ........561
DELETING BLOCKS .................................................486 Displaying the Floppy Cassette Screen........................469
Deleting Multiple Blocks .............................................486 Displaying the Memory Card Screen ...........................461
Deleting One Program..................................................490 Displaying the menu screen and selecting a menu item593
DELETING PROGRAMS ...........................................490 Displaying the Program Number, and Sequence Number
Deletion of Stored Macros ...........................................145 ..................................................................................633
DESCRIPTION OF PARAMETERS...........................671 DISPLAYING THE PROGRAM NUMBER,
Details of Functions .....................................................290 SEQUENCE NUMBER, AND STATUS, AND
DETAILS OF TOOL RADIUS COMPENSATION....175 WARNING MESSAGES FOR DATA SETTING OR
DIFFERENCES FROM SERIES 0i-PC.......................848 INPUT/OUTPUT OPERATION ..............................633
Direct Input of Workpiece Origin Offset Value Displaying the Safety Zones and Tool Zone ................432
Measured ..................................................................555 Displaying the Status and Warning for Data Setting or
DISPLAY.....................................................................339 Input/Output Operation ............................................634
Display of Run Time and Parts Count..........................533 DISTANCE CODED LINEAR SCALE INTERFACE372
Display of updated modal information.........................419 Distance Coded Rotary Encoder ..................................374
Displaying and Entering Setting Data ..........................549 DNC OPERATION......................................................385
Displaying and Operating the File List .................462,469 DRY RUN....................................................................404
Displaying and Setting Custom Macro Common DWELL .........................................................................50
Variables...................................................................557
DISPLAYING AND SETTING DATA.......................336 <E>
Displaying and setting items on the initial tool EDIT DISABLE ATTRIBUTE....................................480
registration screen.....................................................567 EDITING A PROGRAM ...................................... 336,536
Displaying and Setting Items on the Safety Zone Setting EDITING OF CUSTOM MACROS ............................503
Screen .......................................................................578 EDITING PROGRAMS...............................................480
Displaying and setting items on the screen for the EMBEDDED ETHERNET OPERATIONS ................465
number of press operations.......................................570 EMERGENCY STOP ..................................................408
Displaying and setting items on the tool figure ERROR MESSAGE AND NOTE................................843
registration screen (for drawing figures) ..................572 Exact Stop (G09, G61), Cutting Mode (G64) ................44
Displaying and setting items on the tool figure EXAMPLE...................................................................647
registration screen for multiple tools (for drawing Explanation of Operations............................................832
figures) .....................................................................575 EXPLANATION OF THE MDI UNIT........................349
Displaying and setting items on the tool number EXTERNAL DATA INPUT........................................879
registration screen.....................................................569 EXTERNAL I/O DEVICES.........................................360
Displaying and setting items on the tool number EXTERNAL MOTION FUNCTION.............................86
registration screen for multiple tools ........................574 EXTERNAL OUTPUT COMMANDS........................284
Displaying and Setting Items on the Tool Registration EXTERNAL SUBPROGRAM CALL (M198) ..... 391,872
Screen for Multiple Tools.........................................574
Displaying and Setting Items on the Tool Registration <F>
Screens .....................................................................567 F1-digit (Programmable Rapid Traverse Override) .......42
Displaying and Setting Parameters...............................582 FANUC DOUBLE-BYTE CHARACTER CODE
Displaying and Setting Pitch Error Compensation TABLE.....................................................................800
Data ..........................................................................584 FEED FUNCTIONS ......................................................40
Displaying and Setting Run Time, Parts Count, and FEED-FEED FUNCTION .............................................12
Time .........................................................................553 FEEDRATE INSTRUCTION ON IMAGINARY
Displaying and setting the axis setting screen..............596 CIRCLE FOR A ROTARY AXIS..............................47
i-2
B-64554EN/01 INDEX
FEEDRATE OVERRIDE ............................................402 Inputting pitch error compensation data.......................447
File Format...................................................................461 Inputting tool data ........................................................453
FLOPPY CASSETTE SCREEN ..................................469 Inputting workpiece coordinate system data ................451
FTP File Transfer Function ..........................................465 Inputting/Outputting a File.................................... 463,470
Function Keys ..............................................................351 Inputting/Outputting a Program ...................................455
FUNCTION KEYS AND SOFT KEYS.......................350 Inputting/Outputting Custom Macro Common Variables
Functions that are Used When Data is Set ...................415 ..................................................................................459
Functions that are Used when the Program is Executed418 Inputting/Outputting Pitch Error Compensation Data..458
FUNCTIONS TO SIMPLIFY PROGRAMMING .......116 Inserting a Word ..........................................................484
INSERTING, ALTERING AND DELETING A
<G> WORD......................................................................481
G CODE LIST ...............................................................23 Interference Check .......................................................211
G00 Command in Nibbling Mode..................................82 Interference check alarm function................................215
G01, G02, and G03 Commands in Nibbling Mode ........83 Interference check avoidance function.........................216
GENERAL .............................................................3,9,331 Internal circular cutting feedrate change........................47
General Screen Operations...........................................350 INTERPOLATION FUNCTIONS.................................25
GENERAL WARNINGS AND CAUTIONS ...............s-2 INTERRUPTION TYPE CUSTOM MACRO...... 288,860
GOTO Statement Using Stored Sequence Numbers ....264 ISO/ASCII CODE CONVERSION TOOL..................845
GRAPHIC DISPLAY SCREEN AND DRAWING.....644
GRAPHIC FUNCTION ...............................................638 <J>
Graphical Conversational Programming Screen ..........541 JOG FEED (JOG) ........................................................363
Grid (G78, G79) ...........................................................122
<K>
<H> Key Input and Input Buffer ..........................................359
Heading a Program.......................................................483
HELICAL INTERPOLATION ....................................850 <L>
HELICAL INTERPOLATION (G02, G03) ...................32 Limitations ...................................................................653
HIGH-SPEED CUTTING FUNCTIONS.....................300 Line at Angle (G76) .....................................................120
HIGH-SPEED SKIP SIGNAL (G33).............................36 LINEAR AND CIRCULAR PUNCH COMMAND ....154
How to Indicate Command Dimensions for Moving the LINEAR INTERPOLATION (G01) ..............................26
Tool (Absolute and Incremental Programming) .........15 Linear Nibbling (G69) ...................................................79
How to View the Position Display Change without Linear Punch Command (G45) ....................................154
Running the Machine ...............................................336 LINEAR SCALE WITH DISTANCE-CODED
REFERENCE MARKS (SERIAL)...........................376
<I> List of Error Message...................................................843
INCH/METRIC CONVERSION (G20, G21) ................66 LIST OF FUNCTIONS AND PROGRAM FORMAT 786
INCREMENT SYSTEM.........................................20,322 List of Functions of PC Tool........................................831
Incremental Command Just After Pattern Function .....130 LOCAL COORDINATE SYSTEM ........................63,856
INCREMENTAL FEED ..............................................364
Input data range check .................................................415 <M>
Input/output format of pitch error compensation data..448 M COMMAND FOR SWITCHING THE PUNCH
INPUT/OUTPUT ON EACH SCREEN.......................443 AND LASER MODE ...............................................100
INPUT/OUTPUT ON THE ALL IO SCREEN............454 MACHINE COORDINATE SYSTEM..........................56
Inputting a program......................................................443 MACHINE LOCK AND AUXILIARY FUNCTION
Inputting and Outputting a Program.............................443 LOCK.......................................................................401
Inputting and Outputting Custom Macro Common Macro Call ............................................................ 142,268
Variables...................................................................449 Macro Call Using a G Code .........................................273
Inputting and Outputting Offset Data....................446,457 Macro Call Using a G Code (Specification of Multiple
Inputting and Outputting Operation History Data.452,460 Definitions) ..............................................................275
Inputting and Outputting Parameters.....................445,456 Macro Call Using an M Code ......................................275
Inputting and Outputting Pitch Error Compensation Macro Call Using an M Code (Specification of Multiple
Data ..........................................................................447 Definitions) ..............................................................276
Inputting and Outputting Workpiece Coordinates MACRO STATEMENTS AND NC STATEMENTS..263
System Data.......................................................451,460 Macro Storage Capacity...............................................144
Inputting custom macro common variables..................449 MAKING A PROGRAM COMPACT.........................514
Inputting offset data .....................................................446 MANUAL ABSOLUTE ON................................. 368,878
Inputting Outputting Tool Data....................................453 Manual Continuous Feed, Incremental Feed, Manual
Inputting parameters.....................................................445 Reference Point Return ............................................322
i-3
INDEX B-64554EN/01
i-4
B-64554EN/01 INDEX
Program List Screen .....................................................538 SAFETY ZONE CHECK ............................................427
PROGRAM MANAGEMENT .............................101,508 SCALING (G50, G51) .................................................160
Program Screen for MDI Operation .............................538 SCHEDULE OPERATION .........................................387
PROGRAM SEARCH .................................................487 SCREEN ERASURE FUNCTION AND
PROGRAM SECTION CONFIGURATION...............106 AUTOMATIC SCREEN ERASURE
PROGRAMMABLE PARAMETER INPUT...............296 FUNCTION....................................................... 636,877
PROGRAMMABLE PARAMETER INPUT (G10)296,860 SCREEN HARD COPY FUNCTION..........................471
Prohibition of the absolute input by the soft key..........417 SCREENS DISPLAYED BY FUNCTION KEY 526
Protection level setting.................................................565
SCREENS DISPLAYED BY FUNCTION KEY 535
Protection of Data at Eight Levels ...............................562
PUNCH ........................................................................406 SCREENS DISPLAYED BY FUNCTION KEY 547
Punch Forbidden Area and Approach Forbidden Area
SCREENS DISPLAYED BY FUNCTION KEY 582
(Type A) ...................................................................428
Punch Forbidden Area and Approach Forbidden Area SCREENS DISPLAYED BY FUNCTION KEY 633
(Type B) ...................................................................429 SECOND AUXILIARY FUNCTIONS (B CODES) .....98
PUNCH FUNCTION (1-CYCLE PRESSING)..............71 SELECTING A DEVICE ............................................508
Selecting a From Cassette as a Device.........................512
<R> SELECTING A MAIN PROGRAM ............................514
Radius (G88) ................................................................129 Selecting a Memory Card Program as a Device...........509
RADIUS DIRECTION ERROR AT CIRCLE Selecting a Workpiece Coordinate System ....................59
CUTTING ................................................................796 Selecting operation history signals...............................629
RAM-AXIS CONTROL ..............................................326 SELECTION OF TOOL USED FOR VARIOUS
RAM-axis Up Motion ..................................................327 MACHINING - TOOL FUNCTION..........................16
RANGE OF COMMAND VALUE .............................791 Sequence Number Comparison and Stop .....................551
RAPID TRAVERSE ......................................................41 SEQUENCE NUMBER SEARCH ....................... 488,873
RAPID TRAVERSE OVERRIDE ........................403,887 Servo Setting................................................................587
Rapid Traverse Rate by F Command .............................41 Servo Tuning................................................................590
READING PARAMETERS.........................................262 Setting a Workpiece Coordinate System........................58
REFERENCE POSITION..............................................52 SETTING AND DISPLAY UNITS .............................344
Reference Position (Machine-specific Position) ............12 SETTING AND DISPLAYING DATA.......................516
REFERENCE POSITION RETURN ......................52,373 Setting and Displaying the Tool Compensation Value 547
Register and Change of Tool Life Management Data ....93 Setting of Machining Method for Multi–Piece
REGISTERING CUSTOM MACRO PROGRAMS ....283 Machining ................................................................149
REGISTERING THE TOOL FIGURE ........................639 Setting RAM-axis Motion Pattern................................326
RELATED PARAMETERS ........................................101 Setting Screen ..............................................................422
Relationship between the Multiple–Tool System and the Setting the Safety Zone ................................................430
C Axis.........................................................................92 Setting the Tool Shape Area ........................................430
Relationship with Absolute/Incremental Command SETTINGS AT POWER-ON, IN THE CLEAR STATE,
(G90/G91) ................................................................323 OR IN THE RESET STATE....................................797
Repetition (WHILE Statement)....................................266 Share Proofs (G86).......................................................125
REPLACING ...............................................................503 Simple Call (G65) ........................................................269
Replacing batteries .......................................................666 Simultaneously Controlled Axes..................................322
Replacing Battery for Absolute Pulsecoders................665 SINGLE BLOCK.........................................................405
Replacing Battery for CNC Control Unit.....................660 SKIP FUNCTION........................................................851
Replacing the batteries in a separate battery case ........666 SKIP FUNCTION (G33) ...............................................33
Replacing the battery built into the servo amplifier .....667 SKIP POSITION MACRO VARIABLE
RESET AND REWIND ...............................................878 IMPROVEMENT.......................................................36
RESTRICTIONS..........................................................287 Small MDI Unit (ONG Key)........................................347
RETURN FROM THE ALARM SCREEN .................438 Soft Keys......................................................................352
ROTARY AXIS ROLL-OVER....................................320 Specification Method ...................................................289
ROUTINE MAINTENANCE ......................................657 SPECIFYING DRAWING PARAMETERS ...............640
RULES OF CHARACTERS IN PROGRAM FILE.....841 SPECIFYING THE S CODE WITH A BINARY CODE
RUN HOUR AND PARTS COUNT DISPLAY ..........867 ....................................................................................87
Square (G87)................................................................127
<S> Standard MDI Unit (ONG Key)...................................347
S FUNCTION ................................................................87 STANDARD PARAMETER SETTING TABLES......783
SAFETY FUNCTIONS ...............................................408 Start check signal .........................................................419
SAFETY PRECAUTIONS ...........................................s-1
i-5
INDEX B-64554EN/01
<U>
U/V/W MACRO FUNCTION .....................................141
Unconditional Branch (GOTO Statement) ...................264
Usable Characters in Program File...............................841
Usage Notes .................................................................831
i-6
B-64554EN/01 REVISION RECORD
REVISION RECORD
Edition Date Contents
01 Feb., 2011
r-1