0i - MC Operators manual Page 507

Operators manual
OPERATION
B–64124EN/01
4. AUTOMATIC OPERATION
483
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).
Programs prepared in the
MDI mode will be erased in the following cases:
S In MDI operation, if M02, M30 or ER(%) is executed.
(If bit 6 (MER) of parameter No. 3203 is set to 1, however, the
program is erased when execution of the last block of the program
is completed by single–block operation.)
S In
MEMORY mode, if memory operation is performed.
S In
EDIT mode, if any editing is performed.
S Background editing is performed.
S When the
O
and
DELETE
keys were pressed.
S Upon reset when bit 7 (MCL) of parameter No. 3203 is set to 1
After the editing operation during the stop of MDI operation was done,
operation starts from the current cursor position.
A program can be edited during MDI operation. The editing of a program,
however, is disabled until the CNC is reset, when bit 5 (MIE) of parameter
No. 3203 is set accordingly.
Programs created in MDI mode cannot be registered.
A program can have as many lines as can fit on one page of the screen.
A program consisting of up to six lines can be created. When parameter
MDL (No. 3107 #7) is set to 0 to specify a mode that suppresses the
display of continuous–state information, a program of up to 10 lines can
be created.
If the created program exceeds the specified number of lines, % (ER) is
deleted (prevents insertion and modification).
Calls to subprograms (M98) can be specified in a program created in the
MDI mode. This means that a program registered in memory can be
called and executed during MDI operation. In addition to the main
program executed by automatic operation, up to four levels of
subprogram nesting are allowed.
Main program
Subprogram
One–level nesting Two–level nesting
O0000;
M98P 1000;
M30;
O1000; O2000;
M98P M98P2000; 3000;
M99; M99;
Subprogram
Fig. 4.2 Nesting level of subprograms called from the MDI program
Explanation
D Erasing the program
D Restart
D Editing a program during
MDI operation
Limitations
D Program registration
D Number of lines in a
program
D Subprogram nesting

Contents Summary of 0i - MC Operators manual

  • Page 1* FANUC Series 0 -MC OPERATOR’S MANUAL B-64124EN/01
  • Page 2Ȧ No part of this manual may be reproduced in any form. Ȧ All specifications and designs are subject to change without notice. The export of this product is subject to the authorization of the government of the country from where the product is exported. In this manual we have tried as much as possi
  • Page 3SAFETY 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
  • Page 4SAFETY PRECAUTIONS B–64124EN/01 1 DEFINITION OF WARNING, CAUTION, AND NOTE This manual includes safety precautions for protecting the user and preventing damage to the machine. Precautions are classified into Warning and Caution according to their bearing on safety. Also, supplementary information i
  • Page 5B–64124EN/01 SAFETY PRECAUTIONS 2 GENERAL WARNINGS AND CAUTIONS WARNING 1. Never attempt to machine a workpiece without first checking the operation of the machine. Before starting a production run, ensure that the machine is operating correctly by performing a trial run using, for example, the sing
  • Page 6SAFETY PRECAUTIONS B–64124EN/01 WARNING 8. Some functions may have been implemented at the request of the machine–tool builder. When using such functions, refer to the manual supplied by the machine–tool builder for details of their use and any related cautions. NOTE Programs, parameters, and macro
  • Page 7B–64124EN/01 SAFETY PRECAUTIONS 3 WARNINGS AND CAUTIONS RELATED TO PROGRAMMING This section covers the major safety precautions related to programming. Before attempting to perform programming, read the supplied operator’s manual and programming manual carefully such that you are fully familiar with
  • Page 8SAFETY PRECAUTIONS B–64124EN/01 WARNING 6. Stroke check After switching on the power, perform a manual reference position return as required. Stroke check is not possible before manual reference position return is performed. Note that when stroke check is disabled, an alarm is not issued even if a s
  • Page 9B–64124EN/01 SAFETY PRECAUTIONS 4 WARNINGS AND CAUTIONS RELATED TO HANDLING This section presents safety precautions related to the handling of machine tools. Before attempting to operate your machine, read the supplied operator’s manual and programming manual carefully, such that you are fully fami
  • Page 10SAFETY PRECAUTIONS B–64124EN/01 WARNING 7. Workpiece coordinate system shift Manual intervention, machine lock, or mirror imaging may shift the workpiece coordinate system. Before attempting to operate the machine under the control of a program, confirm the coordinate system carefully. If the machin
  • Page 11B–64124EN/01 SAFETY PRECAUTIONS 5 WARNINGS RELATED TO DAILY MAINTENANCE WARNING 1. Memory backup battery replacement 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
  • Page 12SAFETY PRECAUTIONS B–64124EN/01 WARNING 2. Absolute pulse coder battery replacement 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 insula
  • Page 13B–64124EN/01 SAFETY PRECAUTIONS 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
  • Page 14
  • Page 15B–64124EN/01 Table of Contents SAFETY PRECAUTIONS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . s–1 I. GENERAL 1. GENERAL . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3 1.
  • Page 16Table of Contents B–64124EN/01 4.11 TORQUE LIMIT SKIP (G31 P99) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 57 5. FEED FUNCTIONS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 59 5.1
  • Page 17B–64124EN/01 Table of Contents 10.2.4 Tool Life . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 120 11.AUXILIARY FUNCTION . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
  • Page 18Table of Contents B–64124EN/01 14.3 TOOL OFFSET (G45–G48) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 218 14.4 OVERVIEW OF CUTTER COMPENSATION C (G40–G42) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 223 14.5 DETAILS OF C
  • Page 19B–64124EN/01 Table of Contents 16.3 CHARACTERS AND CODES TO BE USED FOR THE PATTERN DATA INPUT FUNCTION . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 371 17.PROGRAMMABLE PARAMETER ENTRY (G10) . . . . . . . . . . . . . . .
  • Page 20Table of Contents B–64124EN/01 2.3.1 General Screen Operations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 437 2.3.2 Function Keys . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
  • Page 21B–64124EN/01 Table of Contents 6.2 OVERTRAVEL . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 523 6.3 STORED STROKE CHECK . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
  • Page 22Table of Contents B–64124EN/01 9.2 DELETING BLOCKS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 603 9.2.1 Deleting a Block . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
  • Page 23B–64124EN/01 Table of Contents 11.4.2 Tool Length Measurement . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 668 11.4.3 Displaying and Entering Setting Data . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
  • Page 24Table of Contents B–64124EN/01 1.5.1 Operations of Contour Programming . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 776 1.5.2 Detail of Contour Figure Data . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
  • Page 25I. GENERA
  • Page 26
  • Page 27B–64124EN/01 GENERAL 1. GENERAL 1 GENERAL This manual consists of the following parts: About this manual I. GENERAL Describes chapter organization, applicable models, related manuals, and notes for reading this manual. II. PROGRAMMING Describes each function: Format used to program functions in the
  • Page 281. GENERAL GENERAL B–64124EN/01 Special symbols This manual uses the following symbols: D IP_ Indicates a combination of axes such as X__ Y__ Z (used in PROGRAMMING.). D ; Indicates the end of a block. It actually corresponds to the ISO code LF or EIA code CR. Related manuals of The following table
  • Page 29B–64124EN/01 GENERAL 1. GENERAL Related manuals of The following table lists the manuals related to Servo Motor αis/αi/βis Servo Motor αis/αi/βis series. series Specification Manual name number FANUC AC SERVO MOTOR αis/αi series B–65262EN DESCRIPTIONS FANUC AC SERVO MOTOR βis series DESCRIPTIONS B–6
  • Page 301. GENERAL GENERAL B–64124EN/01 1.1 When machining the part using the CNC machine tool, first prepare the program, then operate the CNC machine by using the program. GENERAL FLOW OF OPERATION OF 1) First, prepare the program from a part drawing to operate the CNC machine tool. CNC MACHINE How to pre
  • Page 31B–64124EN/01 GENERAL 1. GENERAL Tool Side cutting Face cutting Hole machining Prepare the program of the tool path and machining condition according to the workpiece figure, for each machining. 7
  • Page 321. GENERAL GENERAL B–64124EN/01 1.2 CAUTIONS ON CAUTION READING THIS 1 The function of an CNC machine tool system depends not MANUAL only on the CNC, but on the combination of the machine tool, its magnetic cabinet, the servo system, the CNC, the operator’s panels, etc. It is too difficult to descri
  • Page 33II. PROGRAMMIN
  • Page 34
  • Page 35B–64124EN/01 PROGRAMMING 1. GENERAL 1 GENERAL 11
  • Page 361. GENERAL PROGRAMMING B–64124EN/01 1.1 The tool moves along straight lines and arcs constituting the workpiece parts figure (See II–4). TOOL MOVEMENT ALONG WORKPIECE PARTS FIGURE– INTERPOLATION Explanations The function of moving the tool along straight lines and arcs is called the interpolation. D
  • Page 37B–64124EN/01 PROGRAMMING 1. GENERAL 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– – – –; Control unit X a
  • Page 381. GENERAL PROGRAMMING B–64124EN/01 1.2 Movement of the tool at a specified speed for cutting a workpiece is called the feed. FEED–FEED FUNCTION mm/min Tool F Workpiece Table Fig. 1.2 Feed function Feedrates can be specified by using actual numerics. For example, to feed the tool at a rate of 150 mm
  • Page 39B–64124EN/01 PROGRAMMING 1. GENERAL 1.3 PART DRAWING AND TOOL MOVEMENT 1.3.1 A CNC machine tool is provided with a fixed position. Normally, tool Reference Position change and programming of absolute zero point as described later are performed at this position. This position is called the reference
  • Page 401. GENERAL PROGRAMMING B–64124EN/01 1.3.2 Coordinate System on Part Drawing and Z Coordinate System Z Specified by CNC – Program Y Y Coordinate System X X Coordinate system Part drawing CNC Command Tool Z Y Workpiece X Machine tool Fig. 1.3.2 (a) Coordinate system Explanations D Coordinate system Th
  • Page 41B–64124EN/01 PROGRAMMING 1. GENERAL The positional relation between these two coordinate systems is determined when a workpiece is set on the table. Coordinate system on part drawing established on the workpiece Coordinate system spe- cified by the CNC estab- lished on the table Y Y Workpiece X X Ta
  • Page 421. GENERAL PROGRAMMING B–64124EN/01 (2) Mounting a workpiece directly against the jig Program zero point Jig Meet the tool center to the reference position. And set the coordinate system specified by CNC at this position. (Jig shall be mounted on the predetermined point from the reference position.)
  • Page 43B–64124EN/01 PROGRAMMING 1. GENERAL 1.3.3 How to Indicate Command Dimensions for Moving the Tool – Absolute, Incremental Commands Explanations Command for moving the tool can be indicated by absolute command or incremental command (See II–8.1). D Absolute command The tool moves to a point at “the di
  • Page 441. GENERAL PROGRAMMING B–64124EN/01 1.4 The speed of the tool with respect to the workpiece when the workpiece is cut is called the cutting speed. CUTTING SPEED – As for the CNC, the cutting speed can be specified by the spindle speed SPINDLE SPEED in min-1 unit. FUNCTION Tool Tool diameter Spindle
  • Page 45B–64124EN/01 PROGRAMMING 1. GENERAL 1.5 When drilling, tapping, boring, milling or the like, is performed, it is necessary to select a suitable tool. When a number is assigned to each tool SELECTION OF TOOL and the number is specified in the program, the corresponding tool is USED FOR VARIOUS select
  • Page 461. GENERAL PROGRAMMING B–64124EN/01 1.6 When machining is actually started, it is necessary to rotate the spindle, and feed coolant. For this purpose, on–off operations of spindle motor and COMMAND FOR coolant valve should be controlled. MACHINE OPERATIONS – MISCELLANEOUS Tool FUNCTION Coolant Workp
  • Page 47B–64124EN/01 PROGRAMMING 1. GENERAL 1.7 A group of commands given to the CNC for operating the machine is called the program. By specifying the commands, the tool is moved along PROGRAM a straight line or an arc, or the spindle motor is turned on and off. CONFIGURATION In the program, specify the co
  • Page 481. GENERAL PROGRAMMING B–64124EN/01 Explanations The block and the program have the following configurations. D Block 1 block N ffff G ff Xff.f Yfff.f M ff S ff T ff ; Sequence Preparatory Dimension word Miscel- Spindle Tool number function laneous function func- function tion End of block Fig. 1.7
  • Page 49B–64124EN/01 PROGRAMMING 1. GENERAL D Main program and When machining of the same pattern appears at many portions of a subprogram program, a program for the pattern is created. This is called the subprogram. On the other hand, the original program is called the main program. When a subprogram execu
  • Page 501. GENERAL PROGRAMMING B–64124EN/01 1.8 TOOL FIGURE AND TOOL MOTION BY PROGRAM Explanations D Machining using the end Usually, several tools are used for machining one workpiece. The tools of cutter – Tool length have different tool length. It is very troublesome to change the program compensation f
  • Page 51B–64124EN/01 PROGRAMMING 1. GENERAL 1.9 Limit switches are installed at the ends of each axis on the machine to prevent tools from moving beyond the ends. The range in which tools can TOOL MOVEMENT move is called the stroke. RANGE – STROKE Table Motor Limit switch Machine zero point Specify these di
  • Page 522. CONTROLLED AXES PROGRAMMING B–64124EN/01 2 CONTROLLED AXES 28
  • Page 53B–64124EN/01 PROGRAMMING 2. CONTROLLED AXES 2.1 CONTROLLED AXES Item 0i–MC No. of basic controlled axes 3 axes Controlled axes expansion (total) Max. 4 axes (included in Cs axis) Basic simultaneously controlled axes 3 axes Simultaneously controlled axes Max. 4 axes expansion (total) NOTE The number
  • Page 542. CONTROLLED AXES PROGRAMMING B–64124EN/01 2.3 The increment system consists of the least input increment (for input) and least command increment (for output). The least input increment is the INCREMENT SYSTEM least increment for programming the travel distance. The least command increment is the l
  • Page 553. PREPARATORY FUNCTION B–64124EN/01 PROGRAMMING (G FUNCTION) 3 PREPARATORY FUNCTION (G FUNCTION) A number following address G determines the meaning of the command for the concerned block. G codes are divided into the following two types. Type Meaning One–shot G code The G code is effective only in
  • Page 563. PREPARATORY FUNCTION (G FUNCTION) PROGRAMMING B–64124EN/01 Explanations 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 T
  • Page 573. PREPARATORY FUNCTION B–64124EN/01 PROGRAMMING (G FUNCTION) Table 3 G code list (1/3) G code Group Function G00 Positioning G01 Linear interpolation 01 G02 Circular interpolation/Helical interpolation CW G03 Circular interpolation/Helical interpolation CCW G04 Dwell, Exact stop G05.1 AI advanced c
  • Page 583. PREPARATORY FUNCTION (G FUNCTION) PROGRAMMING B–64124EN/01 Table 3 G code list (2/3) G code Group Function G49 08 Tool length compensation cancel G50 Scaling cancel 11 G51 Scaling G50.1 Programmable mirror image cancel 22 G51.1 Programmable mirror image G52 Local coordinate system setting 00 G53
  • Page 593. PREPARATORY FUNCTION B–64124EN/01 PROGRAMMING (G FUNCTION) Table 3 G code list (3/3) G code Group Function G90 Absolute command 03 G91 Increment command G92 Setting for work coordinate system or clamp at maximum spindle speed 00 G92.1 Workpiece coordinate system preset G94 Feed per minute 05 G95
  • Page 604. INTERPOLATION FUNCTIONS PROGRAMMING B–64124EN/01 4 INTERPOLATION FUNCTIONS 36
  • Page 61B–64124EN/01 PROGRAMMING 4. INTERPOLATION FUNCTIONS 4.1 The G00 command moves a tool to the position in the workpiece system specified with an absolute or an incremental command at a rapid traverse POSITIONING rate. (G00) In the absolute command, coordinate value of the end point is programmed. In t
  • Page 624. INTERPOLATION FUNCTIONS PROGRAMMING B–64124EN/01 Limitations The rapid traverse rate cannot be specified in the address F. Even if linear interpolation positioning is specified, nonlinear interpolation positioning is used in the following cases. Therefore, be careful to ensure that the tool does
  • Page 63B–64124EN/01 PROGRAMMING 4. INTERPOLATION FUNCTIONS 4.2 For accurate positioning without play of the machine (backlash), final positioning from one direction is available. SINGLE DIRECTION POSITIONING (G60) Overrun Start position Start position Temporary stop End position Format G60IP_; IP_ : For an
  • Page 644. INTERPOLATION FUNCTIONS PROGRAMMING B–64124EN/01 Restrictions D During canned cycle for drilling, no single direction positioning is effected in Z axis. D No single direction positioning is effected in an axis for which no overrun has been set by the parameter. D When the move distance 0 is comma
  • Page 65B–64124EN/01 PROGRAMMING 4. INTERPOLATION FUNCTIONS 4.3 Tools can move along a line LINEAR INTERPOLATION (G01) Format G01 IP_F_; IP_:For an absolute command, the coordinates of an end point , and for an incremental commnad, the distance the tool moves. F_:Speed of tool feed (Feedrate) Explanations A
  • Page 664. INTERPOLATION FUNCTIONS PROGRAMMING B–64124EN/01 A calcula;tion example is as follows. G91 G01 X20.0B40.0 F300.0 ; This changes the unit of the C axis from 40.0 deg to 40mm with metric input. The time required for distribution is calculated as follows: Ǹ20 2 ) 40 2 8 0.14907 (min) 300 The feed ra
  • Page 67B–64124EN/01 PROGRAMMING 4. INTERPOLATION FUNCTIONS 4.4 The command below will move a tool along a circular arc. CIRCULAR INTERPOLATION (G02,G03) Format Arc in the XpYp plane G02 I_ J_ G17 Xp_Yp_ F_ ; G03 R_ Arc in the ZpXp plane G02 I_ K_ G18 Xp_ p_ F_ G03 R_ Arc in the YpZp plane G19 G02 J_ K_ F_
  • Page 684. INTERPOLATION FUNCTIONS PROGRAMMING B–64124EN/01 Explanations D Direction of the circular “Clockwise”(G02) and “counterclockwise”(G03) on the XpYp plane interpolation (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
  • Page 69B–64124EN/01 PROGRAMMING 4. INTERPOLATION FUNCTIONS D 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 consi
  • Page 704. INTERPOLATION FUNCTIONS PROGRAMMING B–64124EN/01 Examples Y axis 100 50R 60 60R 40 0 X axis 90 120 140 200 The above tool path can be programmed as follows ; (1) In absolute programming G92X200.0 Y40.0 Z0 ; G90 G03 X140.0 Y100.0R60.0 F300.; G02 X120.0 Y60.0R50.0 ; or G92X200.0 Y40.0Z0 ; G90 G03 X
  • Page 71B–64124EN/01 PROGRAMMING 4. INTERPOLATION FUNCTIONS 4.5 Helical interpolation which moved helically is enabled by specifying up HELICAL to two other axes which move synchronously with the circular INTERPOLATION interpolation by circular commands. (G02,G03) Format Synchronously with arc of XpYp plane
  • Page 724. INTERPOLATION FUNCTIONS PROGRAMMING B–64124EN/01 4.6 The amount of travel of a rotary axis specified by an angle is once internally converted to a distance of a linear axis along the outer surface CYLINDRICAL so that linear interpolation or circular interpolation can be performed with INTERPOLATI
  • Page 73B–64124EN/01 PROGRAMMING 4. INTERPOLATION FUNCTIONS D Tool offset To perform tool offset in the cylindrical interpolation mode, cancel any ongoing cutter compensation mode before entering the cylindrical interpolation mode. Then, start and terminate tool offset within the cylindrical interpolation m
  • Page 744. INTERPOLATION FUNCTIONS PROGRAMMING B–64124EN/01 Examples Example of a Cylindrical Interpolation Program C O0001 (CYLINDRICAL INTERPOLATION ); N01 G00 G90 Z100.0 C0 ; N02 G01 G91 G18 Z0 C0 ; Z R N03 G07.1 C57299 ; N04 G90 G01 G42 Z120.0 D01 F250 ; N05 C30.0 ; N06 G03 Z90.0 C60.0 R30.0 ; N07 G01 Z
  • Page 75B–64124EN/01 PROGRAMMING 4. INTERPOLATION FUNCTIONS 4.7 Straight threads with a constant lead can be cut. The position coder mounted on the spindle reads the spindle speed in real–time. The read THREAD CUTTING spindle speed is converted to the feedrate per minute to feed the tool. (G33) Format Z G33
  • Page 764. INTERPOLATION FUNCTIONS PROGRAMMING B–64124EN/01 NOTE 1 The spindle speed is limited as follows : Maximum feedrate 1 x spindle speed x Thread lead Spindle speed : min-1 Thread lead : mm or inch Maximum feedrate : mm/min or inch/min ; maximum command–specified feedrate for feed–per–minute mode or
  • Page 77B–64124EN/01 PROGRAMMING 4. INTERPOLATION FUNCTIONS 4.8 Linear interpolation can be commanded by specifying axial move following the G31 command, like G01. If an external skip signal is input SKIP during the execution of this command, execution of the command is FUNCTION(G31) interrupted and the nex
  • Page 784. INTERPOLATION FUNCTIONS PROGRAMMING B–64124EN/01 Examples D The next block to G31 is an incremental command G31 G91X100.0 F100; Y50.0; Skip signal is input here 50.0 Y 100.0 Actual motion X Motion without skip signal Fig. 4.8 (a) The next block is an incremental command D The next block to G31 is
  • Page 79B–64124EN/01 PROGRAMMING 4. INTERPOLATION FUNCTIONS 4.9 The skip function operates based on a high–speed skip signal (connected directly to the NC; not via the PMC) instead of an ordinary skip signal. HIGH SPEED SKIP In this case, up to eight signals can be input. SIGNAL (G31) Delay and error of ski
  • Page 804. INTERPOLATION FUNCTIONS PROGRAMMING B–64124EN/01 4.10 In a block specifying P1 to P4 after G31, the multistage skip function stores coordinates in a custom macro variable when a skip signal (4–point MULTISTAGE SKIP or 8–point ; 8–point when a high–speed skip signal is used) is turned on. (G31) Pa
  • Page 81B–64124EN/01 PROGRAMMING 4. INTERPOLATION FUNCTIONS 4.11 With the motor torque limited (for example, by a torque limit command, issued through the PMC window), a move command following G31 P99 TORQUE LIMIT SKIP (or G31 P98) can cause the same type of cutting feed as with G01 (linear (G31 P99) interp
  • Page 824. INTERPOLATION FUNCTIONS PROGRAMMING B–64124EN/01 D Simplified G31 P99/98 cannot be used for axes subject to simplified synchronization synchronization and or the X–axis or Z–axis when under slanted axis control. slanted axis control D Speed control Bit 7 (SKF) of parameter No. 6200 must be set to
  • Page 83B–64124EN/01 PROGRAMMING 5. FEED FUNCTIONS 5 FEED FUNCTIONS 59
  • Page 845. FEED FUNCTIONS PROGRAMMING B–64124EN/01 5.1 The feed functions control the feedrate of the tool. The following two feed functions are available: GENERAL D Feed functions 1. Rapid traverse When the positioning command (G00) is specified, the tool moves at a rapid traverse feedrate set in the CNC (
  • Page 85B–64124EN/01 PROGRAMMING 5. FEED FUNCTIONS D Tool path in a cutting If the direction of movement changes between specified blocks during feed cutting feed, a rounded–corner path may result (Fig. 5.1 (b)). Y Programmed path Actual tool path 0 X Fig. 5.1 (b) Example of tool path between two blocks In
  • Page 865. FEED FUNCTIONS PROGRAMMING B–64124EN/01 5.2 RAPID TRAVERSE Format G00 IP_IP ; G00 : G code (group 01) for positioning (rapid traverse) IP_ ; Dimension word for the end point IP Explanations The positioning command (G00) positions the tool by rapid traverse. In rapid traverse, the next block is ex
  • Page 87B–64124EN/01 PROGRAMMING 5. FEED FUNCTIONS 5.3 Feedrate of linear interpolation (G01), circular interpolation (G02, G03), etc. are commanded with numbers after the F code. CUTTING FEED In cutting feed, the next block is executed so that the feedrate change from the previous block is minimized. Four
  • Page 885. FEED FUNCTIONS PROGRAMMING B–64124EN/01 D Feed per minute (G94) After specifying G94 (in the feed per minute mode), the amount of feed of the tool per minute is to be directly specified by setting a number after F. G94 is a modal code. Once a G94 is specified, it is valid until G95 (feed per revo
  • Page 89B–64124EN/01 PROGRAMMING 5. FEED FUNCTIONS D Inverse time feed (G93) When G93 is specified, the inverse time specification mode (G93 mode) is set. Specify the inverse time (FRN) with an F code. A value from 0.001 to 9999.999 can be specified as FRN, regardless of whether the input mode is inches or
  • Page 905. FEED FUNCTIONS PROGRAMMING B–64124EN/01 G93 is a modal G code and belongs to group 05 (includes G95 (feed per revolution) and G94 (feed per minute)). When an F value is specified in G93 mode and the feedrate exceeds the maximum cutting feedrate, the feedrate is clamped to the maximum cutting feed
  • Page 91B–64124EN/01 PROGRAMMING 5. FEED FUNCTIONS D One–digit F code feed When a one–digit number from 1 to 9 is specified after F, the feedrate set for that number in a parameter (Nos. 1451 to 1459) is used. When F0 is specified, the rapid traverse rate is applied. The feedrate corresponding to the number
  • Page 925. FEED FUNCTIONS PROGRAMMING B–64124EN/01 5.4 Cutting feedrate can be controlled, as indicated in Table 5.4. CUTTING FEEDRATE CONTROL Table 5.4 Cutting Feedrate Control Function name G code Validity of G code Description Exact stop This function is valid for specified The tool is decelerated at the
  • Page 93B–64124EN/01 PROGRAMMING 5. FEED FUNCTIONS Format Exact stop G09 IP_ IP ; Exact stop mode G61 ; Cutting mode G64 ; Tapping mode G63 ; Automatic corner override G62 ; 5.4.1 Exact Stop (G09, G61) Cutting Mode (G64) Tapping Mode (G63) Explanations The inter–block paths followed by the tool in the exact
  • Page 945. FEED FUNCTIONS PROGRAMMING B–64124EN/01 5.4.2 When cutter compensation is performed, the movement of the tool is Automatic Corner automatically decelerated at an inner corner and internal circular area. This reduces the load on the cutter and produces a smoothly machined Override surface. 5.4.2.1
  • Page 95B–64124EN/01 PROGRAMMING 5. FEED FUNCTIONS 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 cutter center path to the corner (Fig
  • Page 965. FEED FUNCTIONS PROGRAMMING B–64124EN/01 Override value An override value is set with parameter No. 1712. An override value is valid even for dry run and F1–digit specification. In the feed per minute mode, the actual feedrate is as follows: F × (automatic override for inner corners) × (feedrate o
  • Page 97B–64124EN/01 PROGRAMMING 5. FEED FUNCTIONS 5.4.3 This function automatically controls the feedrate at a corner according to Automatic Corner the corner angle between the machining blocks or the feedrate difference between the blocks along each axis. Deceleration This function is effective when ACD,
  • Page 985. FEED FUNCTIONS PROGRAMMING B–64124EN/01 D Feedrate and time When the corner angle is smaller than the angle specified in the parameter, the relationship between the feedrate and time is as shown below. Although accumulated pulses equivalent to the hatched area remain at time t, the next block is
  • Page 99B–64124EN/01 PROGRAMMING 5. FEED FUNCTIONS 5.4.3.2 This function decelerates the feedrate when the difference between the Corner Deceleration feedrates at the end point of block A and the start point of block B along each axis is larger than the value specified in parameter No. 1781. The According t
  • Page 1005. FEED FUNCTIONS PROGRAMMING B–64124EN/01 D Setting the allowable The allowable feedrate difference can be specified for each axis in feedrate difference along parameter No. 1783. each axis D Checking the feedrate The feedrate difference is also checked during dry–run operation or difference during
  • Page 101B–64124EN/01 PROGRAMMING 5. FEED FUNCTIONS 5.5 DWELL (G04) Format Dwell G04 X_ ; or G04 P_ ; X_ : Specify a time (decimal point permitted) P_ : Specify a time (decimal point not permitted) Explanations By specifying a dwell, the execution of the next block is delayed by the specified time. In additi
  • Page 1026. REFERENCE POSITION PROGRAMMING B–64124EN/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. 78
  • Page 103B–64124EN/01 PROGRAMMING 6. REFERENCE POSITION 6.1 REFERENCE POSITION RETURN General D Reference position The reference position is a fixed position on a machine tool to which the tool can easily be moved by the reference position return function. For example, the reference position is used as a pos
  • Page 1046. REFERENCE POSITION PROGRAMMING B–64124EN/01 D Reference position Tools are automatically moved to the reference position via an return and movement intermediate position along a specified axis. Or, tools are automatically from the reference moved from the reference position to a specified positio
  • Page 105B–64124EN/01 PROGRAMMING 6. REFERENCE POSITION Explanations D Reference position Positioning to the intermediate or reference positions are performed at the return (G28) rapid traverse rate of each axis. Therefore, for safety, the cutter compensation, and tool length compensation should be cancelled
  • Page 1066. REFERENCE POSITION PROGRAMMING B–64124EN/01 NOTE 1 To this feedrate, a rapid traverse override (F0,25,50,100%) is applied, for which the setting is 100%. 2 After a machine coordinate system has been established upon the completion of reference position return, the automatic reference position ret
  • Page 107B–64124EN/01 PROGRAMMING 6. REFERENCE POSITION Restrictions D Status the machine lock The lamp for indicating the completion of return does not go on when the being turned on machine lock is turned on, even when the tool has automatically returned to the reference position. In this case, it is not c
  • Page 1087. COORDINATE SYSTEM PROGRAMMING B–64124EN/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 three program axes, the
  • Page 109B–64124EN/01 PROGRAMMING 7. COORDINATE SYSTEM 7.1 The point that is specific to a machine and serves as the reference of the machine is referred to as the machine zero point. A machine tool builder MACHINE sets a machine zero point for each machine. COORDINATE A coordinate system with a machine zero
  • Page 1107. COORDINATE SYSTEM PROGRAMMING B–64124EN/01 7.2 A coordinate system used for machining a workpiece is referred to as a workpiece coordinate system. A workpiece coordinate system is to be set WORKPIECE with the CNC beforehand (setting a workpiece coordinate system). COORDINATE A machining program s
  • Page 111B–64124EN/01 PROGRAMMING 7. COORDINATE SYSTEM 7.2.2 The user can choose from set workpiece coordinate systems as described below. (For information about the methods of setting, see II– 7.2.1.) Selecting a Workpiece (1) Once a workpiece coordinate system is selected by G92 or automatic Coordinate Sys
  • Page 1127. COORDINATE SYSTEM PROGRAMMING B–64124EN/01 7.2.3 The six workpiece coordinate systems specified with G54 to G59 can be changed by changing an external workpiece zero point offset value Changing Workpiece or workpiece zero point offset value. Coordinate System Three methods are available to change
  • Page 113B–64124EN/01 PROGRAMMING 7. COORDINATE SYSTEM Explanations D Changing by G10 With the G10 command, each workpiece coordinate system can be changed separately. D Changing by G92 By specifying G92IP_;, a workpiece coordinate system (selected with a code from G54 to G59) is shifted to set a new workpie
  • Page 1147. COORDINATE SYSTEM PROGRAMMING B–64124EN/01 Examples Y YȀ G54 workpiece coordinate system If G92X100Y100; is commanded when the tool 100 is positioned at (200, 160) in G54 mode, work- 160 Tool position piece coordinate system 1 (X’ – Y’) shifted by vector A is created. 60 A XȀ New workpiece coordi
  • Page 115B–64124EN/01 PROGRAMMING 7. COORDINATE SYSTEM 7.2.4 The workpiece coordinate system preset function presets a workpiece coordinate system shifted by manual intervention to the pre–shift Workpiece coordinate workpiece coordinate system. The latter system is displaced from the system preset (G92.1) ma
  • Page 1167. COORDINATE SYSTEM PROGRAMMING B–64124EN/01 (a) Manual intervention performed when the manual absolute signal is off (b) Move command executed in the machine lock state (c) Movement by handle interrupt (d) Operation using the mirror image function (e) Setting the local coordinate system using G52,
  • Page 117B–64124EN/01 PROGRAMMING 7. COORDINATE SYSTEM 7.2.5 Besides the six workpiece coordinate systems (standard workpiece coordinate systems) selectable with G54 to G59, 48 additional workpiece Adding Workpiece coordinate systems (additional workpiece coordinate systems) can be Coordinate Systems used. A
  • Page 1187. COORDINATE SYSTEM PROGRAMMING B–64124EN/01 D Setting the workpiece When an absolute workpiece zero point offset value is specified, the zero point offset value in specified value becomes a new offset value. When an incremental the additional workpiece workpiece zero point offset value is specifie
  • Page 119B–64124EN/01 PROGRAMMING 7. COORDINATE SYSTEM 7.3 When a program is created in a workpiece coordinate system, a child workpiece coordinate system can be set for easier programming. Such a LOCAL COORDINATE child coordinate system is referred to as a local coordinate system. SYSTEM Format G52 IPIP _;
  • Page 1207. COORDINATE SYSTEM PROGRAMMING B–64124EN/01 WARNING 1 When an axis returns to the reference point by the manual reference point return function,the zero point of the local coordinate system of the axis matches that of the work coordinate system. The same is true when the following command is issue
  • Page 121B–64124EN/01 PROGRAMMING 7. COORDINATE SYSTEM 7.4 Select the planes for circular interpolation, cutter compensation, and drilling by G–code. PLANE The following table lists G–codes and the planes selected by them. SELECTION Explanations Table 7.4 Plane selected by G code Selected G code Xp Yp Zp pla
  • Page 1228. COORDINATE VALUE AND DIMENSION PROGRAMMING B–64124EN/01 8 COORDINATE VALUE AND DIMENSION This chapter contains the following topics. 8.1 ABSOLUTE AND INCREMENTAL PROGRAMMING (G90, G91) 8.2 POLAR COORDINATE COMMAND (G15, G16) 8.3 INCH/METRIC CONVERSION (G20, G21) 8.4 DECIMAL POINT PROGRAMMING 98
  • Page 1238. COORDINATE VALUE B–64124EN/01 PROGRAMMING AND DIMENSION 8.1 There are two ways to command travels of the tool; the absolute command, and the incremental command. In the absolute command, ABSOLUTE AND coordinate value of the end position is programmed; in the incremental INCREMENTAL command, move
  • Page 1248. COORDINATE VALUE AND DIMENSION PROGRAMMING B–64124EN/01 8.2 The end point coordinate value can be input in polar coordinates (radius and angle). POLAR COORDINATE The plus direction of the angle is counterclockwise of the selected plane COMMAND first axis + direction, and the minus direction is cl
  • Page 1258. COORDINATE VALUE B–64124EN/01 PROGRAMMING AND DIMENSION D Setting the current Specify the radius (the distance between the current position and the position as the origin of point) to be programmed with an incremental command. The current the polar coordinate position is set as the origin of the
  • Page 1268. COORDINATE VALUE AND DIMENSION PROGRAMMING B–64124EN/01 N5 G15 G80 ; Canceling the polar coordinate command Limitations D Specifying a radius in In the polar coordinate mode, specify a radius for circular interpolation the polar coordinate or helical cutting (G02, G03) with R. mode D Axes that ar
  • Page 1278. COORDINATE VALUE B–64124EN/01 PROGRAMMING AND DIMENSION 8.3 Either inch or metric input can be selected by G code. INCH/METRIC CONVERSION (G20,G21) Format G20 ; Inch input G21 ; mm input This G code must be specified in an independent block before setting the coordinate system at the beginning of
  • Page 1288. COORDINATE VALUE AND DIMENSION PROGRAMMING B–64124EN/01 8.4 Numerical values can be entered with a decimal point. A decimal point can be used when entering a distance, time, or speed. Decimal points can DECIMAL POINT be specified with the following addresses: PROGRAMMING X, Y, Z, U, V, W, A, B, C
  • Page 1299. SPINDLE SPEED FUNCTION B–64124EN/01 PROGRAMMING (S FUNCTION) 9 SPINDLE SPEED FUNCTION (S FUNCTION) The spindle speed can be controlled by specifying a value following address S. This chapter contains the following topics. 9.1 SPECIFYING THE SPINDLE SPEED WITH A CODE 9.2 SPECIFYING THE SPINDLE SPE
  • Page 1309. SPINDLE SPEED FUNCTION (S FUNCTION) PROGRAMMING B–64124EN/01 9.1 When a value is specified after address S, the code signal and strobe signal are sent to the machine to control the spindle rotation speed. SPECIFYING THE A block can contain only one S code. Refer to the appropriate manual SPINDLE
  • Page 1319. SPINDLE SPEED FUNCTION B–64124EN/01 PROGRAMMING (S FUNCTION) 9.3 Specify the surface speed (relative speed between the tool and workpiece) following S. The spindle is rotated so that the surface speed is constant CONSTANT regardless of the position of the tool. SURFACE SPEED CONTROL (G96, G97) Fo
  • Page 1329. SPINDLE SPEED FUNCTION (S FUNCTION) PROGRAMMING B–64124EN/01 Explanations D Constant surface speed G96 (constant surface speed control command) is a modal G code. After control command (G96) a G96 command is specified, the program enters the constant surface speed control mode (G96 mode) and spec
  • Page 1339. SPINDLE SPEED FUNCTION B–64124EN/01 PROGRAMMING (S FUNCTION) D Surface speed specified in the G96 mode G96 mode G97 mode Specify the surface speed in m/min (or feet/min) G97 command Store the surface speed in m/min (or feet/min) Specified Command for The specified the spindle spindle speed speed
  • Page 13410. TOOL FUNCTION (T FUNCTION) PROGRAMMING B–64124EN/01 10 TOOL FUNCTION (T FUNCTION) General Two tool functions are available. One is the tool selection function, and the other is the tool life management function. 110
  • Page 13510. TOOL FUNCTION B–64124EN/01 PROGRAMMING (T FUNCTION) 10.1 By specifying an up to 8–digit numerical value following address T, tools can be selected on the machine. TOOL SELECTION One T code can be commanded in a block. Refer to the machine tool FUNCTION builder’s manual for the number of digits c
  • Page 13610. TOOL FUNCTION (T FUNCTION) PROGRAMMING B–64124EN/01 10.2 Tools are classified into various groups, with the tool life (time or frequency of use) for each group being specified. The function of TOOL LIFE accumulating the tool life of each group in use and selecting and using MANAGEMENT the next t
  • Page 13710. TOOL FUNCTION B–64124EN/01 PROGRAMMING (T FUNCTION) 10.2.1 Tool life management data consists of tool group numbers, tool numbers, Tool Life Management codes specifying tool compensation values, and tool life value. Data Explanations D Tool group number The Max. number of groups and the number o
  • Page 13810. TOOL FUNCTION (T FUNCTION) PROGRAMMING B–64124EN/01 10.2.2 In a program, tool life management data can be registered in the CNC unit, Register, Change and and registered tool life management data can be changed or deleted. Delete of Tool Life Management Data Explanations A different program form
  • Page 13910. TOOL FUNCTION B–64124EN/01 PROGRAMMING (T FUNCTION) Format D Register with deleting Format Meaning of command all groups G10L3 ; G10L3 :Register with deleting all groups PL ; P :Group number T HD ; L :Life value T HD ; T :Tool number H :Code specifying tool offset value (H code) PL ; D :Code spe
  • Page 14010. TOOL FUNCTION (T FUNCTION) PROGRAMMING B–64124EN/01 D Setting a tool life cout Format Meaning of command type for groups G10L3 Q_ : Life count type (1:Frequency, 2:Time) or G10L3P1); PL Q ; T HD ; T H⋅ D ; ⋅ PL Q ; T HD ; T HD ; G11 ; M02 (M30) ; CAUTION 1 When the Q command is omitted, the valu
  • Page 14110. TOOL FUNCTION B–64124EN/01 PROGRAMMING (T FUNCTION) 10.2.3 Tool Life Management Command in a Machining Program Explanations D Command The following command is used for tool life management: Toooo; Specifies a tool group number. The tool life management function selects, from a specified group, a
  • Page 14210. TOOL FUNCTION (T FUNCTION) PROGRAMMING B–64124EN/01 D Types For tool life management, the four tool change types indicated below are available. The type used varies from one machine to another. For details, refer to the appropriate manual of each machinde tool builder. Table 10.2.3 Tool Change T
  • Page 14310. TOOL FUNCTION B–64124EN/01 PROGRAMMING (T FUNCTION) D Tool change type B and C Suppose that the tool life management ignore number is 100. T101; A tool whose life has not expired is selected from group 1. (Suppose that tool number 010 is selected.) M06T102;Tool life counting is performed for the
  • Page 14410. TOOL FUNCTION (T FUNCTION) PROGRAMMING B–64124EN/01 10.2.4 The life of a tool is specified by a usage frequency (count) or usage time Tool Life (in minutes). Explanations D Usage count The usage count is incremented by 1 for each tool used in a program. In other words, the usage count is increme
  • Page 145B–64124EN/01 PROGRAMMING 11. AUXILIARY FUNCTION 11 AUXILIARY FUNCTION General There are two types of auxiliary functions ; miscellaneous function (M code) for specifying spindle start, spindle stop program end, and so on, and secondary auxiliary function (B code) for specifying index table positioni
  • Page 14611. AUXILIARY FUNCTION PROGRAMMING B–64124EN/01 11.1 When a numeral is specified following address M, code signal and a strobe signal are sent to the machine. The machine uses these signals to AUXILIARY turn on or off its functions. FUNCTION Usually, only one M code can be specified in one block. In
  • Page 147B–64124EN/01 PROGRAMMING 11. AUXILIARY FUNCTION 11.2 In general, only one M code can be specified in a block. However, up to three M codes can be specified at once in a block by setting bit 7 (M3B) MULTIPLE M of parameter No. 3404 to 1. Up to three M codes specified in a block are COMMANDS simultane
  • Page 14811. AUXILIARY FUNCTION PROGRAMMING B–64124EN/01 11.3 When a value is specified after address B, the code signal and strobe signal are output. The code is retained until a B code is specified next. THE SECOND The functions are used for machine side operations such as indexing for AUXILIARY the rotati
  • Page 149B–64124EN/01 PROGRAMMING 12. PROGRAM CONFIGURATION 12 PROGRAM CONFIGURATION General D Main program and There are two program types, main program and subprogram. Normally, subprogram the CNC operates according to the main program. However, when a command calling a subprogram is encountered in the mai
  • Page 15012. PROGRAM CONFIGURATION PROGRAMMING B–64124EN/01 D Program components A program consists of the following components: Table 12 Program components Components Descriptions Tape start Symbol indicating the start of a program file Leader section Used for the title of a program file, etc. Program start
  • Page 151B–64124EN/01 PROGRAMMING 12. PROGRAM CONFIGURATION 12.1 This section describes program components other than program sections. See II–12.2 for a program section. PROGRAM COMPONENTS Leader section OTHER THAN Tape start % TITLE ; Program start PROGRAM O0001 ; SECTIONS Program section (COMMENT) Comment
  • Page 15212. PROGRAM CONFIGURATION PROGRAMMING B–64124EN/01 NOTE If one file contains multiple programs, the EOB code for label skip operation must not appear before a second or subsequent program number. D Comment section Any information enclosed by the control–out and control–in codes is regarded as a comm
  • Page 153B–64124EN/01 PROGRAMMING 12. PROGRAM CONFIGURATION D Tape end A tape end is to be placed at the end of a file containing NC programs. If programs are entered using the automatic programming system, the mark need not be entered. The mark is not displayed on the screen. However, when a file is output,
  • Page 15412. PROGRAM CONFIGURATION PROGRAMMING B–64124EN/01 12.2 This section describes elements of a program section. See II–12.1 for program components other than program sections. PROGRAM SECTION CONFIGURATION % TITLE; Program number O0001 ; N1 … ; Sequence number (COMMENT) Comment section Program section
  • Page 155B–64124EN/01 PROGRAMMING 12. PROGRAM CONFIGURATION D Sequence number and A program consists of several commands. One command unit is called a block block. One block is separated from another with an EOB of end of block code. Table 12.2 (a) EOB code Name ISO EIA Notation in this code code manual End
  • Page 15612. PROGRAM CONFIGURATION PROGRAMMING B–64124EN/01 D Block configuration A block consists of one or more words. A word consists of an address (word and address) followed by a number some digits long. (The plus sign (+) or minus sign (–) may be prefixed to a number.) Word = Address + number (Example
  • Page 157B–64124EN/01 PROGRAMMING 12. PROGRAM CONFIGURATION D Major addresses and Major addresses and the ranges of values specified for the addresses are ranges of command shown below. Note that these figures represent limits on the CNC side, values which are totally different from limits on the machine too
  • Page 15812. PROGRAM CONFIGURATION PROGRAMMING B–64124EN/01 D Optional block skip When a slash followed by a number (/n (n=1 to 9)) is specified at the head of a block, and optional block skip switch n on the machine operator panel is set to on, the information contained in the block for which /n correspondi
  • Page 159B–64124EN/01 PROGRAMMING 12. PROGRAM CONFIGURATION D Program end The end of a program is indicated by programming one of the following codes at the end of the program: Table 12.2 (d) Code of a program end Code Meaning usage M02 For main program M30 M99 For subprogram If one of the program end codes
  • Page 16012. PROGRAM CONFIGURATION PROGRAMMING B–64124EN/01 12.3 If a program contains a fixed sequence or frequently repeated pattern, such a sequence or pattern can be stored as a subprogram in memory to simplify SUBPROGRAM the program. (M98, M99) A subprogram can be called from the main program. A called
  • Page 161B–64124EN/01 PROGRAMMING 12. PROGRAM CONFIGURATION 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 (No. 078) is output. Examples l M98 P51002 ; This command specifies “Call the subpro
  • Page 16212. PROGRAM CONFIGURATION PROGRAMMING B–64124EN/01 Special Usage D Specifying the sequence If P is used to specify a sequence number when a subprogram is number for the return terminated, control does not return to the block after the calling block, but destination in the main returns to the block w
  • Page 163B–64124EN/01 PROGRAMMING 12. PROGRAM CONFIGURATION D Using a subprogram only A subprogram can be executed just like a main program by searching for the start of the subprogram with the MDI. (See III–9.3 for information about search operation.) In this case, if a block containing M99 is executed, con
  • Page 16413. FUNCTIONS TO SIMPLIFY PROGRAMMING PROGRAMMING B–64124EN/01 13 FUNCTIONS TO SIMPLIFY PROGRAMMING General This chapter explains the following items: 13.1 CANNED CYCLE 13.2 RIGID TAPPING 13.3 CANNED GRINDING CYCLE (FOR GRINDING MACHINE) 13.4 GRINDING–WHEEL WEAR COMPENSATION BY CONTINUOUS DRESSING (
  • Page 16513. FUNCTIONS TO SIMPLIFY B–64124EN/01 PROGRAMMING PROGRAMMING 13.1 Canned cycles make it easier for the programmer to create programs. With a canned cycle, a frequently–used machining operation can be CANNED CYCLE specified in a single block with a G function; without canned cycles, normally more t
  • Page 16613. FUNCTIONS TO SIMPLIFY PROGRAMMING PROGRAMMING B–64124EN/01 Explanations A canned cycle consists of a sequence of six operations (Fig. 13.1 (a)) Operation 1 Positioning of axes X and Y (including also another axis) Operation 2 Rapid traverse up to point R level Operation 3 Hole machining Operatio
  • Page 16713. FUNCTIONS TO SIMPLIFY B–64124EN/01 PROGRAMMING PROGRAMMING Examples Assume that the U, V and W axes be parallel to the X, Y, and Z axes respectively. This condition is specified by parameter No. 1022. G17 G81 ………Z _ _ : The Z axis is used for drilling. G17 G81 ………W _ _ : The W axis is used for d
  • Page 16813. FUNCTIONS TO SIMPLIFY PROGRAMMING PROGRAMMING B–64124EN/01 D Return point level When the tool reaches the bottom of a hole, the tool may be returned to G98/G99 point R or to the initial level. These operations are specified with G98 and G99. The following illustrates how the tool moves when G98
  • Page 16913. FUNCTIONS TO SIMPLIFY B–64124EN/01 PROGRAMMING PROGRAMMING 13.1.1 This cycle performs high–speed peck drilling. It performs intermittent cutting feed to the bottom of a hole while removing chips from the hole. High–speed Peck Drilling Cycle (G73) Format G73 X_ Y_ Z_ R_ Q_ F_ K_ ; X_ Y_ : Hole po
  • Page 17013. FUNCTIONS TO SIMPLIFY PROGRAMMING PROGRAMMING B–64124EN/01 Explanations The high–speed peck drilling cycle performs intermittent feeding along the Z–axis. When this cycle is used, chips can be removed from the hole easily, and a smaller value can be set for retraction. This allows, drilling to b
  • Page 17113. FUNCTIONS TO SIMPLIFY B–64124EN/01 PROGRAMMING PROGRAMMING 13.1.2 This cycle performs left–handed tapping. In the left–handed tapping cycle, when the bottom of the hole has been reached, the spindle rotates Left–handed clockwise. Tapping Cycle (G74) Format G74 X_ Y_ Z_ R_P_ F_ K_ ; X_ Y_ : Hole
  • Page 17213. FUNCTIONS TO SIMPLIFY PROGRAMMING PROGRAMMING B–64124EN/01 Limitations D Axis switching Before the drilling axis can be changed, the canned cycle must be canceled. D Drilling In a block that does not contain X, Y, Z, R, or any other axes, drilling is not performed. D P Specify P in blocks that p
  • Page 17313. FUNCTIONS TO SIMPLIFY B–64124EN/01 PROGRAMMING PROGRAMMING 13.1.3 The fine boring cycle bores a hole precisely. When the bottom of the hole has been reached, the spindle stops, and the tool is moved away from the Fine Boring Cycle machined surface of the workpiece and retracted. (G76) Format G76
  • Page 17413. FUNCTIONS TO SIMPLIFY PROGRAMMING PROGRAMMING B–64124EN/01 Explanations When the bottom of the hole has been reached, the spindle is stopped at the fixed rotation position, and the tool is moved in the direction opposite to the tool tip and retracted. This ensures that the machined surface is no
  • Page 17513. FUNCTIONS TO SIMPLIFY B–64124EN/01 PROGRAMMING PROGRAMMING 13.1.4 This cycle is used for normal drilling. Cutting feed is performed to the bottom of the hole. The tool is then retracted from the bottom of the hole Drilling Cycle, Spot in rapid traverse. Drilling (G81) Format G81 X_ Y_ Z_ R_ F_ K
  • Page 17613. FUNCTIONS TO SIMPLIFY PROGRAMMING PROGRAMMING B–64124EN/01 Restrictions D Axis switching Before the drilling axis can be changed, the canned cycle must be canceled. D Drilling In a block that does not contain X, Y, Z, R, or any other axes, drilling is not performed. D Cancel Do not specify a G c
  • Page 17713. FUNCTIONS TO SIMPLIFY B–64124EN/01 PROGRAMMING PROGRAMMING 13.1.5 This cycle is used for normal drilling. Cutting feed is performed to the bottom of the hole. At the bottom, a dwell Drilling Cycle Counter is performed, then the tool is retracted in rapid traverse. Boring Cycle This cycle is used
  • Page 17813. FUNCTIONS TO SIMPLIFY PROGRAMMING PROGRAMMING B–64124EN/01 Restrictions D Axis switching Before the drilling axis can be changed, the canned cycle must be canceled. D Drilling In a block that does not contain X, Y, Z, R, or any other axes, drilling is not performed. D P Specify P in blocks that
  • Page 17913. FUNCTIONS TO SIMPLIFY B–64124EN/01 PROGRAMMING PROGRAMMING 13.1.6 This cycle performs peck drilling. It performs intermittent cutting feed to the bottom of a hole while Peck Drilling Cycle removing shavings from the hole. (G83) Format G83 X_ Y_ Z_ R_ Q_ F_ K_ ; X_ Y_ : Hole position data Z_ : Th
  • Page 18013. FUNCTIONS TO SIMPLIFY PROGRAMMING PROGRAMMING B–64124EN/01 Limitations D Axis switching Before the drilling axis can be changed, the canned cycle must be canceled. D Drilling In a block that does not contain X, Y, Z, R, or any other axes, drilling is not performed. D Q Specify Q in blocks that p
  • Page 18113. FUNCTIONS TO SIMPLIFY B–64124EN/01 PROGRAMMING PROGRAMMING 13.1.7 An arbor with the overload torque detection function is used to retract the Small–hole peck tool when the overload torque detection signal (skip signal) is detected during drilling. Drilling is resumed after the spindle speed and
  • Page 18213. FUNCTIONS TO SIMPLIFY PROGRAMMING PROGRAMMING B–64124EN/01 Explanations D Component operations of the cycle *Positioning along the X–axis and Y–axis *Positioning at point R along the Z–axis *Drilling along the Z–axis (first drilling, depth of cut Q, incremental) Retraction (bottom of the hole →
  • Page 18313. FUNCTIONS TO SIMPLIFY B–64124EN/01 PROGRAMMING PROGRAMMING D Changing the drilling In a single G83 cycle, drilling conditions are changed for each drilling conditions operation (advance → drilling → retraction). Bits 1 and 2 of parameter OLS, NOL No. 5160 can be specified to suppress the change
  • Page 18413. FUNCTIONS TO SIMPLIFY PROGRAMMING PROGRAMMING B–64124EN/01 D Specifying address I The forward or backward traveling speed can be specified with address I in the same format as address F, as shown below: G83 I1000 ; (without decimal point) G83 I1000. ; (with decimal point) Both commands indicate
  • Page 18513. FUNCTIONS TO SIMPLIFY B–64124EN/01 PROGRAMMING PROGRAMMING Examples N01M03 S___ ; N02Mjj ; N03G83 X_ Y_ Z_ R_ Q_ F_ I_ K_ P_ ; N04X_ Y_ ; : : N10G80 ; N01: Specifies forward spindle rotation and spindle speed. N02: Specifies the M code to execute G83 as the small–hole
  • Page 18613. FUNCTIONS TO SIMPLIFY PROGRAMMING PROGRAMMING B–64124EN/01 Explanations Tapping is performed by rotating the spindle clockwise. When the bottom of the hole has been reached, the spindle is rotated in the reverse direction for retraction. This operation creates threads. Feedrate overrides are ign
  • Page 18713. FUNCTIONS TO SIMPLIFY B–64124EN/01 PROGRAMMING PROGRAMMING 13.1.9 This cycle is used to bore a hole. Boring Cycle (G85) Format G85 X_ Y_ Z_ R_ F_ K_ ; X_ Y_ : Hole position data Z_ : The distance from point R to the bottom of the hole R_ : The distance from the initial level to point R level F_
  • Page 18813. FUNCTIONS TO SIMPLIFY PROGRAMMING PROGRAMMING B–64124EN/01 Limitations D Axis switching Before the drilling axis can be changed, the canned cycle must be canceled. D Drilling In a block that does not contain X, Y, Z, R, or any other axes, drilling is not performed. D Cancel Do not specify a G co
  • Page 18913. FUNCTIONS TO SIMPLIFY B–64124EN/01 PROGRAMMING PROGRAMMING 13.1.10 This cycle is used to bore a hole. Boring Cycle (G86) Format G86 X_ Y_ Z_ R_ F_ K_ ; X_ Y_ : Hole position data Z_ : The distance from point R to the bottom of the hole R_ : The distance from the initial level to point R level F_
  • Page 19013. FUNCTIONS TO SIMPLIFY PROGRAMMING PROGRAMMING B–64124EN/01 Limitations D Axis switching Before the drilling axis can be changed, the canned cycle must be canceled. D Drilling In a block that does not contain X, Y, Z, R, or any other axes, drilling is not performed. D Cancel Do not specify a G co
  • Page 19113. FUNCTIONS TO SIMPLIFY B–64124EN/01 PROGRAMMING PROGRAMMING 13.1.11 This cycle performs accurate boring. Back Boring Cycle (G87) Format G87 X_ Y_ Z_ R_ Q_ P_ F_ K_ ; X_ Y_ : Hole position data Z_ : The distance from the bottom of the hole to point Z R_ : The distance from the initial level to poi
  • Page 19213. FUNCTIONS TO SIMPLIFY PROGRAMMING PROGRAMMING B–64124EN/01 Explanations After positioning along the X– and Y–axes, the spindle is stopped at the fixed rotation position. The tool is moved in the direction opposite to the tool tip, positioning (rapid traverse) is performed to the bottom of the ho
  • Page 19313. FUNCTIONS TO SIMPLIFY B–64124EN/01 PROGRAMMING PROGRAMMING 13.1.12 This cycle is used to bore a hole. Boring Cycle (G88) Format G88 X_ Y_ Z_ R_ P_ F_ K_ ; X_ Y_ : Hole position data Z_ : The distance from point R to the bottom of the hole R_ : The distance from the initial level to point R level
  • Page 19413. FUNCTIONS TO SIMPLIFY PROGRAMMING PROGRAMMING B–64124EN/01 Limitations D Axis switching Before the drilling axis can be changed, the canned cycle must be canceled. D Drilling In a block that does not contain X, Y, Z, R, or any other axes, drilling is not performed. D P Specify P in blocks that p
  • Page 19513. FUNCTIONS TO SIMPLIFY B–64124EN/01 PROGRAMMING PROGRAMMING 13.1.13 This cycle is used to bore a hole. Boring Cycle (G89) Format G89 X_ Y_ Z_ R_ P_ F_ K_ ; X_ Y_ : Hole position data Z_ : The distance from point R to the bottom of the hole R_ : The distance from the initial level to point R level
  • Page 19613. FUNCTIONS TO SIMPLIFY PROGRAMMING PROGRAMMING B–64124EN/01 Limitations D Axis switching Before the drilling axis can be changed, the canned cycle must be canceled. D Drilling In a block that does not contain X, Y, Z, R, or any other axes, drilling is not performed. D P Specify P in blocks that p
  • Page 19713. FUNCTIONS TO SIMPLIFY B–64124EN/01 PROGRAMMING PROGRAMMING 13.1.14 G80 cancels canned cycles. Canned Cycle Cancel (G80) Format G80 ; Explanations All canned cycles are canceled to perform normal operation. Point R and point Z are cleared. This means that R = 0 and Z = 0 in incremental mode. Othe
  • Page 19813. FUNCTIONS TO SIMPLIFY PROGRAMMING PROGRAMMING B–64124EN/01 Program example using tool length offset and canned cycles Reference position 350 #1 #11 #6 100 #7 #10 100 #2 #12 #5 100 Y #8 #9 200 100 #3 #13 #4 X 400 150 250 250 150 # 11 to 16 Drilling of a 10mm diameter hole # 17 to 10 Drilling of a
  • Page 19913. FUNCTIONS TO SIMPLIFY B–64124EN/01 PROGRAMMING PROGRAMMING Offset value +200.0 is set in offset No.11, +190.0 is set in offset No.15, and +150.0 is set in offset No.31 Program example ; N001 G92X0Y0Z0; Coordinate setting at reference position N002 G90 G00 Z250.0 T11 M6; Tool change N003 G43 Z0 H
  • Page 20013. FUNCTIONS TO SIMPLIFY PROGRAMMING PROGRAMMING B–64124EN/01 13.2 The tapping cycle (G84) and left–handed tapping cycle (G74) may be performed in standard mode or rigid tapping mode. RIGID TAPPING In standard mode, the spindle is rotated and stopped along with a movement along the tapping axis usi
  • Page 20113. FUNCTIONS TO SIMPLIFY B–64124EN/01 PROGRAMMING PROGRAMMING 13.2.1 When the spindle motor is controlled in rigid mode as if it were a servo motor, a tapping cycle can be sped up. Rigid Tapping (G84) Format G84 X_ Y_ Z_ R_ P_ F_ K_ ; X_ Y_ : Hole position data Z_ : The distance from point R to the
  • Page 20213. FUNCTIONS TO SIMPLIFY PROGRAMMING PROGRAMMING B–64124EN/01 D Thread lead In feed–per–minute mode, the thread lead is obtained from the expression, feedrate × spindle speed. In feed–per–revolution mode, the thread lead equals the feedrate speed. D Tool length If a tool length compensation (G43, G
  • Page 20313. FUNCTIONS TO SIMPLIFY B–64124EN/01 PROGRAMMING PROGRAMMING D Program restart Any program cannot be resumed during rigid tapping. Examples Z–axis feedrate 1000 mm/min Spindle speed 1000 min-1 Thread lead 1.0 mm G94 ; Specify a feed–per–minute command. G00 X120.0 Y
  • Page 20413. FUNCTIONS TO SIMPLIFY PROGRAMMING PROGRAMMING B–64124EN/01 13.2.2 When the spindle motor is controlled in rigid mode as if it were a servo motor, tapping cycles can be sped up. Left–handed Rigid Tapping Cycle (G74) Format G74 X_ Y_ Z_ R_ P_ F_ K_ ; X_ Y_ : Hole position data Z_ : The distance fr
  • Page 20513. FUNCTIONS TO SIMPLIFY B–64124EN/01 PROGRAMMING PROGRAMMING D Thread lead In feed–per–minute mode, the thread lead is obtained from the expression, feedrate × spindle speed. In feed–per–revolution mode, the thread lead equals the feedrate. D Tool length If a tool length offset (G43, G44, or G49)
  • Page 20613. FUNCTIONS TO SIMPLIFY PROGRAMMING PROGRAMMING B–64124EN/01 Examples Z–axis feedrate 1000 mm/min Spindle speed 1000 min-1 Thread lead 1.0 mm G94 ; Specify a feed–per–minute command. G00 X120.0 Y100.0 ; Positioning M29 S1000 ; Rigid mode specification G84 Z–100.0
  • Page 20713. FUNCTIONS TO SIMPLIFY B–64124EN/01 PROGRAMMING PROGRAMMING 13.2.3 Tapping a deep hole in rigid tapping mode may be difficult due to chips sticking to the tool or increased cutting resistance. In such cases, the peck Peck Rigid Tapping rigid tapping cycle is useful. Cycle (G84 or G74) In this cyc
  • Page 20813. FUNCTIONS TO SIMPLIFY PROGRAMMING PROGRAMMING B–64124EN/01 Explanations D High–speed peck After positioning along the X– and Y–axes, rapid traverse is performed tapping cycle to point R. From point R, cutting is performed with depth Q (depth of cut for each cutting feed), then the tool is retrac
  • Page 20913. FUNCTIONS TO SIMPLIFY B–64124EN/01 PROGRAMMING PROGRAMMING D P/Q Specify P and Q in a block that performs drilling. If they are specified in a block that does not perform drilling, they are not stored as modal data. When Q0 is specified, the peck rigid tapping cycle is not performed. D Cancel Do
  • Page 21013. FUNCTIONS TO SIMPLIFY PROGRAMMING PROGRAMMING B–64124EN/01 13.3 Canned grinding cycles make it easier for the programmer to create programs that include grinding. With a canned grinding cycle, repetitive CANNED GRINDING operation peculiar to grinding can be specified in a single block with a G C
  • Page 21113. FUNCTIONS TO SIMPLIFY B–64124EN/01 PROGRAMMING PROGRAMMING 13.3.1 A plunge grinding cycle is performed. Plunge Grinding Cycle (G75) Format G75 I_ J_ K_ X(Z)_ R_ F_ P_ L_ ; I_: Depth–of–cut 1 (A sign in the command specifies the direction of cutting.) J_ : Depth–of–cut 2 (A sign in the command sp
  • Page 21213. FUNCTIONS TO SIMPLIFY PROGRAMMING PROGRAMMING B–64124EN/01 Limitations D X(Z), I, J, K X, (Z), I, J, and K must all be specified in incremental mode. D Clear I, J, X, and Z in canned cycles are modal data common to G75, G77, G78, and G79. They remain valid until new data is specified. They are c
  • Page 21313. FUNCTIONS TO SIMPLIFY B–64124EN/01 PROGRAMMING PROGRAMMING 13.3.2 A direct constant–dimension plunge grinding cycle is performed. Direct Constant–Dimension Plunge Grinding Cycle (G77) Format G77 I_ J_ K_ X(Z)_ R_ F_ P_ L_ ; I_: Depth–of–cut 1 (A sign in the command specifies the direction of cut
  • Page 21413. FUNCTIONS TO SIMPLIFY PROGRAMMING PROGRAMMING B–64124EN/01 D Skip signal When the cycle is performed using G77, a skip signal can be input to terminate the cycle. When a skip signal is input, the current operation sequence is interrupted or completed, then the cycle is terminated. The following
  • Page 21513. FUNCTIONS TO SIMPLIFY B–64124EN/01 PROGRAMMING PROGRAMMING 13.3.3 A continuous–feed surface grinding cycle is performed. Continuous–Feed Surface Grinding Cycle (G78) Format G78 I_ (J_) K_ X_ F_ P_ L_ ; I_ : Depth–of–cut 1 (A sign in the command specifies the direction of cutting.) J_ : Depth–of–
  • Page 21613. FUNCTIONS TO SIMPLIFY PROGRAMMING PROGRAMMING B–64124EN/01 Restrictions D J When J is omitted, it is assumed to be 1. J is valid only in the block where it is specified. D I, J, K, X X, (Z), I, J, and K must all be specified in incremental mode. D Clear I, J, X, and Z in canned cycles are modal
  • Page 21713. FUNCTIONS TO SIMPLIFY B–64124EN/01 PROGRAMMING PROGRAMMING 13.3.4 An intermittent–feed surface grinding cycle is performed. Intermittent–Feed Surface Grinding Cycle (G79) Format G79 I_ J_ K_ X_ R_ F_ P_ L_ ; I_: Depth–of–cut 1 (A sign in the command specifies the direction of cutting.) J_ : Dept
  • Page 21813. FUNCTIONS TO SIMPLIFY PROGRAMMING PROGRAMMING B–64124EN/01 Restrictions D X, I, J, K X, (Z), I, J, and K must all be specified in incremental mode. D Clear I, J, X, and Z in canned cycles are modal data common to G75, G77, G78, and G79. They remain valid until new data is specified. They are cle
  • Page 21913. FUNCTIONS TO SIMPLIFY B–64124EN/01 PROGRAMMING PROGRAMMING 13.4 This function enables continuous dressing. When G75, G77, G78, or G79 is specified, grinding wheel cutting and GRINDING–WHEEL dresser cutting are compensated continuously according to the amount of WEAR continuous dressing during gr
  • Page 22013. FUNCTIONS TO SIMPLIFY PROGRAMMING PROGRAMMING B–64124EN/01 Checking the Minimum Compensation amounts set in offset memory can be modified by using the Grinding Wheel Diameter external tool compensation function or programming (by changing (For Grinding Machine) offsets using custom macro variabl
  • Page 22113. FUNCTIONS TO SIMPLIFY B–64124EN/01 PROGRAMMING PROGRAMMING 13.5 Every time an external signal is input, cutting is performed by a fixed amount according to the programmed profile in the specified Y–Z plane. IN–FEED GRINDING ALONG THE Y AND Z AXES AT THE END OF TABLE SWING (FOR GRINDING MACHINE)
  • Page 22213. FUNCTIONS TO SIMPLIFY PROGRAMMING PROGRAMMING B–64124EN/01 13.6 Chamfering and corner rounding blocks can be inserted automatically between the following: OPTIONAL ANGLE ⋅Between linear interpolation and linear interpolation blocks CHAMFERING AND ⋅Between linear interpolation and circular interp
  • Page 22313. FUNCTIONS TO SIMPLIFY B–64124EN/01 PROGRAMMING PROGRAMMING Examples N001 G92 G90 X0 Y0 ; N002 G00 X10.0 Y10.0 ; N003 G01 X50.0 F10.0 ,C5.0 ; N004 Y25.0 ,R8.0 ; N005 G03 X80.0 Y50.0 R30.0 ,R8.0 ; N006 G01 X50.0 ,R8.0 ; N007 Y70.0 ,C5.0 ; N008 X10.0 ,C5.0 ; N009 Y10.0 ; N010 G00 X0 Y0 ; N011 M0 ;
  • Page 22413. FUNCTIONS TO SIMPLIFY PROGRAMMING PROGRAMMING B–64124EN/01 Restrictions D Plane selection Chamfering and corner rounding can be performed only in the plane specified by plane selection (G17, G18, or G19). These functions cannot be performed for parallel axes. D Next block A block specifying cham
  • Page 22513. FUNCTIONS TO SIMPLIFY B–64124EN/01 PROGRAMMING PROGRAMMING 13.7 Upon completion of positioning in each block in the program, an external operation function signal can be output to allow the machine to perform EXTERNAL MOTION specific operation. FUNCTION (G81) Concerning this operation, refer to
  • Page 22613. FUNCTIONS TO SIMPLIFY PROGRAMMING PROGRAMMING B–64124EN/01 13.8 By specifying indexing positions (angles) for the indexing axis (one rotation axis, A, B, or C), the index table of the machining center can be INDEX TABLE indexed. INDEXING FUNCTION Before and after indexing, the index table is aut
  • Page 22713. FUNCTIONS TO SIMPLIFY B–64124EN/01 PROGRAMMING PROGRAMMING 2. Using no miscellaneous functions By setting to bits 2, 3, and 4 of parameter ABS, INC,G90 No.5500, operation can be selected from the following two options. Select the operation by referring to the manual written by the machine tool b
  • Page 22813. FUNCTIONS TO SIMPLIFY PROGRAMMING PROGRAMMING B–64124EN/01 D Indexing function and other functions Table 13.8 Index indexing function and other functions Item Explanation This value is rounded down when bit 1 of parameter REL No. 5500 Relative position display specifies this option. This value i
  • Page 229B–64124EN/01 PROGRAMMING 14. COMPENSATION FUNCTION 14 COMPENSATION FUNCTION General This chapter describes the following compensation functions: 14.1 TOOL LENGTH OFFSET (G43, G44, G49) 14.2 AUTOMATIC TOOL LENGTH MEASUREMENT (G37) 14.3 TOOL OFFSET (G45–G48) 14.4 OVERVIEW OF CUTTER COMPENSATION C (G40
  • Page 23014. COMPENSATION FUNCTION PROGRAMMING B–64124EN/01 14.1 This function can be used by setting the difference between the tool length assumed during programming and the actual tool length of the tool used TOOL LENGTH into the offset memory. It is possible to compensate the difference without OFFSET (G
  • Page 231B–64124EN/01 PROGRAMMING 14. COMPENSATION FUNCTION Explanations D Selection of tool length Select tool length offset A, B, or C, by setting bits 0 and 1 of parameter offset TLC,TLB No. 5001. D Direction of the offset When G43 is specified, the tool length offset value (stored in offset memory) speci
  • Page 23214. COMPENSATION FUNCTION PROGRAMMING B–64124EN/01 (2) Cutter compensation C When the offset numbers for cutter compensation C are specified or modified, the offset number validation order varies, depending on the condition, as described below. D When OFH (bit 2 of parameter No. 5001) = 0 O××××; H01
  • Page 233B–64124EN/01 PROGRAMMING 14. COMPENSATION FUNCTION NOTE The tool length offset value corresponding to offset No. 0, that is, H0 always means 0. It is impossible to set any other tool length offset value to H0. D Performing tool length Tool length offset B can be executed along two or more axes when
  • Page 23414. COMPENSATION FUNCTION PROGRAMMING B–64124EN/01 Examples Tool length offset (in boring holes No.1, 2, and 3) t1 t3 20 30 (6) +Y (13) (9) (1) t2 30 +X 120 30 50 +Z Actual position (2) Programmed 35 3 (12) position (3) (5) (10) 18 (7) (8) 22 offset 30 value (4) (11) ε=4mm 8 ⋅Program H1=–4.0 (Tool l
  • Page 235B–64124EN/01 PROGRAMMING 14. COMPENSATION FUNCTION 14.1.2 This section describes the tool length offset cancellation and restoration G53, G28, and G30 performed when G53, G28, or G30 is specified in tool length offset mode. Also described is the timing of tool length offset. Commands in Tool Length
  • Page 23614. COMPENSATION FUNCTION PROGRAMMING B–64124EN/01 NOTE When tool length offset is applied to multiple axes, all specified axes involved in reference position return are subject to cancellation. When tool length offset cancellation is specified at the same time, tool length offset vector cancellatio
  • Page 237B–64124EN/01 PROGRAMMING 14. COMPENSATION FUNCTION In tool length offset mode Type EVO (bit 6 of pa- Restoration block rameter No. 5001) 1 Block containing a G43/G44 block A/B 0 Block containing an H command and G43/44 command Ignored Block containing a C G43P_H_/G44P_H_ command WARNING When tool le
  • Page 23814. COMPENSATION FUNCTION PROGRAMMING B–64124EN/01 14.2 By issuing G37 the tool starts moving to the measurement position and keeps on moving till the approach end signal from the measurement AUTOMATIC TOOL device is output. Movement of the tool is stopped when the tool tip LENGTH reaches the measur
  • Page 239B–64124EN/01 PROGRAMMING 14. COMPENSATION FUNCTION D Changing the offset The difference between the coordinates of the position at which the tool value reaches for measurement and the coordinates specified by G37 is added to the current tool length offset value. Offset value = (Current compensation
  • Page 24014. COMPENSATION FUNCTION PROGRAMMING B–64124EN/01 WARNING When a manual movement is inserted into a movement at a measurement federate, return the tool to the!position before the inserted manual movement for restart. NOTE 1 When an H code is specified in the same block as G37, an alarm is generated
  • Page 241B–64124EN/01 PROGRAMMING 14. COMPENSATION FUNCTION Examples G92 Z760.0 X1100.0 ; Sets a workpiece coordinate system with respect to the programmed absolute zero point. G00 G90 X850.0 ; Moves the tool to X850.0. That is the tool is moved to a position that is a specified distance from the measurement
  • Page 24214. COMPENSATION FUNCTION PROGRAMMING B–64124EN/01 14.3 The programmed travel distance of the tool can be increased or decreased by a specified tool offset value or by twice the offset value. TOOL OFFSET The tool offset function can also be applied to an additional axis. (G45–G48) Workpiece ÇÇÇ ÇÇÇ
  • Page 243B–64124EN/01 PROGRAMMING 14. COMPENSATION FUNCTION Explanations D Increase and decrease As shown in Table 14.3 (a), the travel distance of the tool is increased or decreased by the specified tool offset value. In the absolute mode, the travel distance is increased or decreased as the tool is moved f
  • Page 24414. COMPENSATION FUNCTION PROGRAMMING B–64124EN/01 WARNING 1 When G45 to G48 is specified to n axes (n=1–6) simultaneously in a motion block, offset is applied to all n axes. When the cutter is offset only for cutter radius or diameter in taper cutting, overcutting or undercutting occurs. Therefore,
  • Page 245B–64124EN/01 PROGRAMMING 14. COMPENSATION FUNCTION NOTE 1 When the specified direction is reversed by decrease as shown in the figure below, the tool moves in the opposite direction. Movement of the tool Program command Start Example position End G46 X2.50 ; position Tool offset value Equivalent com
  • Page 24614. COMPENSATION FUNCTION PROGRAMMING B–64124EN/01 Examples Program using tool offset N12 N11 30R N9 40 N10 N13 N8 N4 30R 40 N3 N5 N1 N2 N6 N7 ÇÇÇ 50 ÇÇÇ ÇÇÇ N14 80 50 40 30 30 Origin Y axis Tool diameter : 20φ Offset No. : 01 Tool offset value : +10.0 X axis Program N1 G91 G46 G00 X80.0 Y50.0 D01 ;
  • Page 247B–64124EN/01 PROGRAMMING 14. COMPENSATION FUNCTION 14.4 When the tool is moved, the tool path can be shifted by the radius of the tool (Fig. 14.4 (a)). OVERVIEW OF To make an offset as large as the radius of the tool, CNC first creates an CUTTER offset vector with a length equal to the radius of the
  • Page 24814. COMPENSATION FUNCTION PROGRAMMING B–64124EN/01 Format D Start up G00(or G01)G41(or G42) IPP_ D_ ; (Tool compensation start) G41 : Cutter compensation left (Group07) G42 : Cutter compensation right (Group07) IPP_ : Command for axis movement D_ : Code for specifying as the cutter compensation valu
  • Page 249B–64124EN/01 PROGRAMMING 14. COMPENSATION FUNCTION D Offset mode cancel In the offset mode, when a block which satisfies any one of the following conditions is executed, the CNC enters the offset cancel mode, and the action of this block is called the offset cancel. 1. G40 has been commanded. 2. 0 h
  • Page 25014. COMPENSATION FUNCTION PROGRAMMING B–64124EN/01 D Positive/negative cutter If the offset amount is negative (–), distribution is made for a figure in compensation value and which G41’s and G42’s are all replaced with each other on the program. tool center path Consequently, if the tool center is
  • Page 251B–64124EN/01 PROGRAMMING 14. COMPENSATION FUNCTION D Plane selection and Offset calculation is carried out in the plane determined by G17, G18 and vector G19, (G codes for plane selection). This plane is called the offset plane. Compensation is not executed for the coordinate of a position which is
  • Page 25214. COMPENSATION FUNCTION PROGRAMMING B–64124EN/01 Examples N5 250R C1(700,1300) C3 (–150,1150) P4(500,1150) P5(900,1150) C2 (1550,1550) 650R 650R N4 N6 N3 N7 P3(450,900) P2 P6(950,900) P7 (250,900) (1150,900) N8 N2 P9(700,650) P1 P8 (250,550) (1150,550) N10 N9 N1 Y axis N11 ÇÇÇ ÇÇÇ Start position X
  • Page 253B–64124EN/01 PROGRAMMING 14. COMPENSATION FUNCTION 14.5 This section provides a detailed explanation of the movement of the tool for cutter compensation C outlined in Section 14.4. DETAILS OF CUTTER This section consists of the following subsections: COMPENSATION C 14.5.1 General 14.5.2 Tool Movemen
  • Page 25414. COMPENSATION FUNCTION PROGRAMMING B–64124EN/01 14.5.2 When the offset cancel mode is changed to offset mode, the tool moves Tool Movement in as illustrated below (start–up): Start–up Explanations D Tool movement around an inner side of a corner Linear→Linear (180°xα) α Workpiece Programmed path
  • Page 255B–64124EN/01 PROGRAMMING 14. COMPENSATION FUNCTION D Tool movement around Tool path in start–up has two types A and B, and they are selected by the outside of a corner at parameter SUP (No. 5003#0). an obtuse angle (90°xα<180°) Linear→Linear Start position G42 α Workpiece L Programmed path r S L Too
  • Page 25614. COMPENSATION FUNCTION PROGRAMMING B–64124EN/01 D Tool movement around Tool path in start–up has two types A and B, and they are selected by the outside of an acute parameter SUP (No.5003#0). angle (α<90°) Linear→Linear Start position G42 L Workpiece α Programmed path r S L Tool center path Type
  • Page 257B–64124EN/01 PROGRAMMING 14. COMPENSATION FUNCTION D A block without tool If the command is specified at start–up, the offset vector is not created. movement specified at start–up G91 G40 … ; : N6 X100.0 Y100.0 ; N7 G41 X0 ; N8 Y–100.0 ; N9 Y–100.0 X100.0 ; SS N7 N6 N8 S r Tool center path N9 Progra
  • Page 25814. COMPENSATION FUNCTION PROGRAMMING B–64124EN/01 14.5.3 In the offset mode, the tool moves as illustrated below: Tool Movement in Offset Mode Explanations D Tool movement around the inside of a corner Linear→Linear (180°xα) α Workpiece Programmed path S L Tool center path Intersection L Linear→Cir
  • Page 259B–64124EN/01 PROGRAMMING 14. COMPENSATION FUNCTION D Tool movement around the inside (α<1°) with an Intersection abnormally long vector, linear → linear r Tool center path 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
  • Page 26014. COMPENSATION FUNCTION PROGRAMMING B–64124EN/01 D Tool movement around the outside corner at an Linear→Linear obtuse angle (90°xα<180°) α Workpiece L Programmed path S Intersection L Tool center path Linear→Circular α L r Work- piece S L C Intersection Tool center path Programmed path Circular→Li
  • Page 261B–64124EN/01 PROGRAMMING 14. COMPENSATION FUNCTION D Tool movement around the outside corner at an acute angle Linear→Linear (α<90°) L Workpiece r α L Programmed path S r L Tool center path L L Linear→Circular L r α L S r Work- L piece L C Tool center path Programmed path Circular→Linear C S α Workp
  • Page 26214. COMPENSATION FUNCTION PROGRAMMING B–64124EN/01 D When it is exceptional End position for the arc is not If the end of a line leading to an arc is programmed as the end of the arc on the arc by mistake as illustrated below, the system assumes that cutter compensation has been executed with respec
  • Page 263B–64124EN/01 PROGRAMMING 14. COMPENSATION FUNCTION The center of the arc is identiĆ If the center of the arc is identical with the start position or end point, P/S cal with the start position or alarm (No. 038) is displayed, and the tool will stop at the end position of the end position the precedin
  • Page 26414. COMPENSATION FUNCTION PROGRAMMING B–64124EN/01 Tool center path with an inter- section Linear→Linear S Workpiece G42 L r r Programmed path L G41 Tool center path Workpiece Linear→Circular C Workpiece r G41 G42 Programmed path r Workpiece Tool center path L S Circular→Linear Workpiece G42 Program
  • Page 265B–64124EN/01 PROGRAMMING 14. COMPENSATION FUNCTION Tool center path without an in- When changing the offset direction in block A to block B using G41 and tersection G42, if intersection with the offset path is not required, the vector normal to block B is created at the start point of block B. Linea
  • Page 26614. COMPENSATION FUNCTION PROGRAMMING B–64124EN/01 The length of tool center path Normally there is almost no possibility of generating this situation. larger than the circumference However, when G41 and G42 are changed, or when a G40 was of a circle commanded with address I, J, and K this situation
  • Page 267B–64124EN/01 PROGRAMMING 14. COMPENSATION FUNCTION D Temporary cutter If the following command is specified in the offset mode, the offset mode compensation cancel is temporarily canceled then automatically restored. The offset mode can be canceled and started as described in II–14.5.2 and 14.5.4. S
  • Page 26814. COMPENSATION FUNCTION PROGRAMMING B–64124EN/01 D Cutter compensation G The offset vector can be set to form a right angle to the moving direction code in the offset mode in the previous block, irrespective of machining inner or outer side, by commanding the cutter compensation G code (G41, G42)
  • Page 269B–64124EN/01 PROGRAMMING 14. COMPENSATION FUNCTION D A block without tool The following blocks have no tool movement. In these blocks, the tool movement will not move even if cutter compensation is effected. M05 ; . M code output S21 ; . S code output G04 X10.0 ; Dwell Commands (1) G10 L11 P01 R10.0
  • Page 27014. COMPENSATION FUNCTION PROGRAMMING B–64124EN/01 D Corner movement When two or more 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 corner movement isn
  • Page 271B–64124EN/01 PROGRAMMING 14. COMPENSATION FUNCTION N4 G41 G91 G01 X150.0 Y200.‘0 ; P2 P3 P4 P5 N5 X150.0 Y200.0 ; N6 G02 J–600.0 ; N7 G01 X150.0 Y–200.0 ; N8 G40 X150.0 Y–200.0 ; P1 P6 N5 N7 N4 N8 Programmed path Tool center path N6 If the vector is not ignored, the tool path is as follows: P1 → P2
  • Page 27214. COMPENSATION FUNCTION PROGRAMMING B–64124EN/01 14.5.4 Tool Movement in Offset Mode Cancel Explanations D Tool movement around an inside corner Linear→Linear (180°xα) Workpiece α Programmed path r G40 Tool center path L S L Circular→Linear α r G40 Work- piece S C L Programmed path Tool center pat
  • Page 273B–64124EN/01 PROGRAMMING 14. COMPENSATION FUNCTION D Tool movement around Tool path has two types, A and B; and they are selected by parameter SUP an outside corner at an (No. 5003#0). obtuse angle (90°xα<180°) Linear→Linear G40 α Workpiece Programmed path L r Tool center path L S Type A Circular→Li
  • Page 27414. COMPENSATION FUNCTION PROGRAMMING B–64124EN/01 D Tool movement around Tool path has two types, A and B : and they are selected by parameter SUP an outside corner at an (No. 5003#0) acute angle (α<90°) Linear→Linear G40 Workpiece L α Programmed path G42 r Tool center path L S Type A Circular→Line
  • Page 275B–64124EN/01 PROGRAMMING 14. COMPENSATION FUNCTION D Tool movement around the outside linear→linear S Tool center path at an acute angle less L than 1 degree (α<1°) r L (G42) Programmed path 1°or less G40 Start position D A block without tool When a block without tool movement is commanded together
  • Page 27614. COMPENSATION FUNCTION PROGRAMMING B–64124EN/01 D Block containing G40 and I_J_K_ The previous block contains If a G41 or G42 block precedes a block in which G40 and I_, J_, K_ are G41 or G42 specified, the system assumes that the path is programmed as a path from the end position determined by t
  • Page 277B–64124EN/01 PROGRAMMING 14. COMPENSATION FUNCTION The length of the tool center In the example shown below, the tool does not trace the circle more than path larger than the circumfer- once. It moves along the arc from P1 to P2. The interference check ence of a circle function described in II–14.5.
  • Page 27814. COMPENSATION FUNCTION PROGRAMMING B–64124EN/01 14.5.5 Tool overcutting is called interference. The interference check function Interference Check checks for tool overcutting in advance. However, all interference cannot be checked by this function. The interference check is performed even if over
  • Page 279B–64124EN/01 PROGRAMMING 14. COMPENSATION FUNCTION (2) In addition to the condition (1), the angle between the start point and end point on the tool center path is quite different from that between the start point and end point on the programmed path in circular machining(more than 180 degrees). r2
  • Page 28014. COMPENSATION FUNCTION PROGRAMMING B–64124EN/01 D Correction of (1) Removal of the vector causing the interference interference in advance When cutter compensation is performed for blocks A, B and C and vectors V1, V2, V3 and V4 between blocks A and B, and V5, V6, V7 and V8 between B and C are pr
  • Page 281B–64124EN/01 PROGRAMMING 14. COMPENSATION FUNCTION (Example 2) The tool moves linearly from V1, V2, V7, to V8 V2 V7 V1 V8 Tool center path C V6 V3 C r r A C V5 V4 Programmed path B V4, V5 : Interference V3, V6 : Interference O1 O2 V2, V7 : No Interference (2) If the interference occurs after correct
  • Page 28214. COMPENSATION FUNCTION PROGRAMMING B–64124EN/01 D When interference is assumed although actual interference does not (1) Depression which is smaller than the cutter compensation value occur Programmed path Tool center path Stopped A C B There is no actual interference, but since the direction pro
  • Page 283B–64124EN/01 PROGRAMMING 14. COMPENSATION FUNCTION 14.5.6 Overcutting by Cutter Compensation Explanations D Machining an inside When the radius of a corner is smaller than the cutter radius, because the corner at a radius inner offsetting of the cutter will result in overcuttings, an alarm is smalle
  • Page 28414. COMPENSATION FUNCTION PROGRAMMING B–64124EN/01 D Machining a step smaller When machining of the step is commanded by circular machining in the than the tool radius case of a program containing a step smaller than the tool radius, the path of the center of tool with the ordinary offset becomes re
  • Page 285B–64124EN/01 PROGRAMMING 14. COMPENSATION FUNCTION The above example should be modified as follows: N1 G91 G00 G41 X500.0 Y500.0 D1 ; N3 G01 Z–250.0 ; N5 G01 Z–50.0 F100 ; N6 Y1000.0 F200 ; Workpiece After compensation ÊÊÊÊÊ N6 ÊÊÊÊÊ ÊÊÊÊÊ ÊÊÊÊÊ N3, N5:Move command for the Z axis (500, 500) N1 The m
  • Page 28614. COMPENSATION FUNCTION PROGRAMMING B–64124EN/01 14.5.7 Cutter compensation C is not performed for commands input from the Input Command from MDI. However, when automatic operation using the absolute commands is MDI temporarily stopped by the single block function, MDI operation is performed, then
  • Page 287B–64124EN/01 PROGRAMMING 14. COMPENSATION FUNCTION 14.5.8 A function has been added which performs positioning by automatically G53,G28,G30 and G29 canceling a cutter compensation vector when G53 is specified in cutter compensation C mode, then automatically restoring that cutter Commands in Cutter
  • Page 28814. COMPENSATION FUNCTION PROGRAMMING B–64124EN/01 (1) G53 specified in offset mode When CCN (bit 2 of parameter No.5003)=0 Oxxxx; [Type A] Start–up G90G41_ _; r r G53X_Y_; (G41G00) s s G00 G53 G00 s [Type B] Start–up r r s s G00 G53 G00 s When CCN (bit 2 of parameter No.5003)=1 [FS15 Type] r (G41G0
  • Page 289B–64124EN/01 PROGRAMMING 14. COMPENSATION FUNCTION When CCN (bit2 of parameter No.5003)=1 [FS15 Type] r s G00 (G91G41G00) s G53 G90G00 (3) G53 specified in offset mode with no movement specified When CCN (bit2 of parameter No.5003)=0 Oxxxx; [Type A] G90G41_ _; r Start–up s G00 G00X20.Y20. ; G00 r G5
  • Page 29014. COMPENSATION FUNCTION PROGRAMMING B–64124EN/01 WARNING 1 When cutter compensation C mode is set and all–axis machine lock is applied, the G53 command does not perform positioning along the axes to which machine lock is applied. The vector, however, is preserved. When CCN (bit 2 of parameter No.
  • Page 291B–64124EN/01 PROGRAMMING 14. COMPENSATION FUNCTION NOTE 1 When a G53 command specifies an axis that is not in the cutter compensation C plane, a perpendicular vector is generated at the end point of the previous block, and the tool does not move. In the next block, offset mode is automatically resum
  • Page 29214. COMPENSATION FUNCTION PROGRAMMING B–64124EN/01 D G28 or G30 command in When G28 or G30 is specified in cutter compensation C mode, an cutter compensation C operation of FS15 type is performed if CCN (bit 2 of parameter No. 5003) mode is set to 1. This means that an intersection vector is generat
  • Page 293B–64124EN/01 PROGRAMMING 14. COMPENSATION FUNCTION (b) For return by G00 When CCN (bit 2 of parameter No. 5003) = 0 Oxxxx; [Type A] G91G41_ _ _; Intermediateposition G28/30 s s s G01 G28X40.Y0 ; r r G00 (G42G01) s Reference position [Type B] Intermediateposition G28/30 s s s G01 r G00 r (G42G01) s R
  • Page 29414. COMPENSATION FUNCTION PROGRAMMING B–64124EN/01 When CCN (bit 2 of parameter No. 5003) = 1 [FS15 Type] Intermediate position = return position (G42G01) s G01 s r G01 G28/30 G29 Reference position s (b) For return by G00 When CCN (bit 2 of parameter No.5003)=0 Oxxxx; G91G41_ _ _; [Type A] Start–up
  • Page 295B–64124EN/01 PROGRAMMING 14. COMPENSATION FUNCTION (3) G28 or G30, specified in offset mode (with movement to a reference position not performed) (a) For return by G29 When CCN (bit 2 of parameter No.5003)=0 Oxxxx; [Type A] G91G41_ _ _; Return position (G42G01) s s G01 r G28/30 r G28X40.Y–40.; G29 G
  • Page 29614. COMPENSATION FUNCTION PROGRAMMING B–64124EN/01 (4) G28 or G30 specified in offset mode (with no movement performed) (a) For return by G29 When CCN (bit 2 of parameter No.5003)=0 O××××; G91G41_ _ _; [Type A] G28/30/G29 Intersection vector G28X0Y0; (G41G01) r G29X0Y0; s G01 G01 Reference position
  • Page 297B–64124EN/01 PROGRAMMING 14. COMPENSATION FUNCTION When CCN (bit 2 of parameter No.5003)=1 [FS15 Type] G28/30 (G41G01) r s G00 Reference position G01 =Intermediateposition WARNING 1 When a G28 or G30 command is specified during all–axis machine lock, a perpendicular offset vector is applied at the i
  • Page 29814. COMPENSATION FUNCTION PROGRAMMING B–64124EN/01 NOTE 1 When a G28 or G30 command specifies an axis that is not in the cutter compensation C plane, a perpendicular vector is generated at the end point of the previous block, and the tool does not move. In the next block, offset mode is automaticall
  • Page 299B–64124EN/01 PROGRAMMING 14. COMPENSATION FUNCTION D G29 command in cutter When G29 is specified in cutter compensation C mode, an operation of compensation C mode FS15 type is performed if CCN (bit 2 of parameter No. 5003) is set to 1. This means that an intersection vector is generated in the prev
  • Page 30014. COMPENSATION FUNCTION PROGRAMMING B–64124EN/01 (b) For specification made other than immediately after automatic reference position return When CCN (bit 2 of parameter No.5003)=0 O××××; G91G41_ _ _; [Type A] Return position s G01 (G42G01) G29X40.Y40.; Intermediate r position s G29 s Start–up r [
  • Page 301B–64124EN/01 PROGRAMMING 14. COMPENSATION FUNCTION When CCN (bit 2 of parameter No.5003)=1 [FS15 Type] Return position (G42G01) s s G01 G28/30 G29 s Reference position r =Intermediateposition (b) For specification made other than immediately after automatic reference position return When CCN (bit 2
  • Page 30214. COMPENSATION FUNCTION PROGRAMMING B–64124EN/01 (3) G29 specified in offset mode (with movement to a reference position not performed) (a) For specification made immediately after automatic reference position return When CCN (bit 2 of parameter No.5003)=0 O××××; G91G41_ _ _; [Type A] Intermediate
  • Page 303B–64124EN/01 PROGRAMMING 14. COMPENSATION FUNCTION (b) For specification made other than immediately after automatic reference position return O××××; G91G41_ _ _; [Type A] (G42G01) s s G01 G29X0Y0; r G29 G01 s Intermediateposition =Return position [Type B] (G42G01) s s G01 G29 G01 s Intermediate pos
  • Page 30414. COMPENSATION FUNCTION PROGRAMMING B–64124EN/01 (4) G29 specified in offset mode (with movement to an intermediate position and reference position not performed) (a) For specification made immediately after automatic reference position return When CCN (bit 2 of parameter No.5003)=0 O××××; G91G41_
  • Page 305B–64124EN/01 PROGRAMMING 14. COMPENSATION FUNCTION (b) For specification made other than immediately after automatic reference position return When CCN (bit 2 of parameter No.5003)=0 O××××; G91G41_ _ _; [Type A] G29 s G29X0Y0; G01 (G41G01) r G01 s Intermediate position=return position [Type B] G29 s
  • Page 30614. COMPENSATION FUNCTION PROGRAMMING B–64124EN/01 14.5.9 By specifying G39 in offset mode during cutter compensation C, corner Corner Circular circular interpolation can be performed. The radius of the corner circular interpolation equals the compensation value. Interpolation (G39) Format In offset
  • Page 307B–64124EN/01 PROGRAMMING 14. COMPENSATION FUNCTION Examples D G39 without I, J, or K . . X axis . . (In offset mode) N1 Y10.0 ; N2 G39 ; Y axis N3 X-10.0 ; . . . . Block N1 Offset vector Block N2 (0.0, 10.0) Block N3 Programmed path Tool center path (–10.0, 10.0) D G39 with I, J, and K . . X axis .
  • Page 30814. COMPENSATION FUNCTION PROGRAMMING B–64124EN/01 14.6 Tool compensation values include tool geometry compensation values and tool wear compensation (Fig. 14.6 (a)). TOOL COMPENSA– TION VALUES, NUMBER OF ÇÇ Reference position COMPENSATION VALUES, AND ÇÇ OFSG ÇÇ ÇÇ ENTERING VALUES FROM THE OFSW OFSG
  • Page 309B–64124EN/01 PROGRAMMING 14. COMPENSATION FUNCTION D Tool compensation Tool compensation memory C can be used. memory and the tool The tool compensation values are as following that are entered (set) (Table compensation value to 14.6 (b)). be entered Table 14.6 (b) Setting contents tool compensation
  • Page 31014. COMPENSATION FUNCTION PROGRAMMING B–64124EN/01 14.7 A programmed figure can be magnified or reduced (scaling). The dimensions specified with X_, Y_, and Z_ can each be scaled up or SCALING down with the same or different rates of magnification. (G50, G51) The magnification rate can be specified
  • Page 311B–64124EN/01 PROGRAMMING 14. COMPENSATION FUNCTION Explanations D Scaling up or down Least input increment of scaling magnification is: 0.001 or 0.00001 It is along all axes at the depended on parameter SCR (No. 5400#7) which value is selected. Then, same rate of set parameter SCLx (No.5401#0) that
  • Page 31214. COMPENSATION FUNCTION PROGRAMMING B–64124EN/01 D Scaling of circular Even if different magnifications are applie to each axis in circular interpolation interpolation, the tool will not trace an ellipse. When different magnifications are applied to axes and a circular interpolation is specified w
  • Page 313B–64124EN/01 PROGRAMMING 14. COMPENSATION FUNCTION D Tool compensation This scaling is not applicable to cutter compensation values, tool length offset values, and tool offset values (Fig. 14.7 (e)). Programmed figure Scaled figure Cutter compensation values are not scaled. Fig. 14.7 (e) Scaling dur
  • Page 31414. COMPENSATION FUNCTION PROGRAMMING B–64124EN/01 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)Cutter compensation C .
  • Page 315B–64124EN/01 PROGRAMMING 14. COMPENSATION FUNCTION 14.8 A programmed shape can be rotated. By using this function it becomes possible, for example, to modify a program using a rotation command COORDINATE when a workpiece has been placed with some angle rotated from the SYSTEM ROTATION programmed pos
  • Page 31614. COMPENSATION FUNCTION PROGRAMMING B–64124EN/01 X Angle of rotation R (incremental value) Center of Angle of rotation (absolute value) rotation (α, β) Z Fig. 14.8 (b) Coordinate system rotation NOTE When a decimal fraction is used to specify angular displacement (R_), the 1’s digit corresponds to
  • Page 317B–64124EN/01 PROGRAMMING 14. COMPENSATION FUNCTION Limitations D Commands related to In coordinate system rotation mode, G codes related to reference position reference position return return (G27, G28, G29, G30, etc.) and those for changing the coordinate and the coordinate system (G52 to G59, G92,
  • Page 31814. COMPENSATION FUNCTION PROGRAMMING B–64124EN/01 Examples D Cutter compensation C and coordinate system rotation It is possible to specify G68 and G69 in cutter compensation C mode. The rotation plane must coincide with the plane of cutter compensa- tion C. N1 G92 X0 Y0 G69 G01 ; N2 G42 G90 X1000
  • Page 319B–64124EN/01 PROGRAMMING 14. COMPENSATION FUNCTION 2. When the system is in cutter compensation model C, specify the commands in the following order (Fig. 14.8 (e)) : (cutter compensation C cancel) G51 ; scaling mode start G68 ; coordinate system rotation start : G41 ; cutter compensation C mode sta
  • Page 32014. COMPENSATION FUNCTION PROGRAMMING B–64124EN/01 D Repetitive commands for It is possible to store one program as a subprogram and recall subprogram coordinate system by changing the angle. rotation Sample program for when the RIN bit (bit 0 of parameter 5400) is set to 1. The specified angular di
  • Page 321B–64124EN/01 PROGRAMMING 14. COMPENSATION FUNCTION 14.9 When a tool with a rotation axis (C–axis) is moved in the XY plane during cutting, the normal direction control function can control the tool so that NORMAL DIRECTION the C–axis is always perpendicular to the tool path (Fig. 14.9 (a)). CONTROL
  • Page 32214. COMPENSATION FUNCTION PROGRAMMING B–64124EN/01 Cutter center path Cutter center path Programmed path Center of the arc Programmed path Fig. 14.9 (b) Normal direction control left (G41.1) Fig. 14.9 (c) Normal direction control right (G42.1) Explanations D Angle of the C axis When viewed from the
  • Page 323B–64124EN/01 PROGRAMMING 14. COMPENSATION FUNCTION Cutter center path S N1 S : Single block stop point Programmed path N2 S N3 S Fig. 14.9 (e) 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–
  • Page 32414. COMPENSATION FUNCTION PROGRAMMING B–64124EN/01 D 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
  • Page 325B–64124EN/01 PROGRAMMING 14. COMPENSATION FUNCTION D Movement for which arc Specify the maximum distance for which machining is performed with insertion is ignored the same normal direction as that of the preceding block. D Linear movement When distance N2, shown below, is smaller than the set value
  • Page 32614. COMPENSATION FUNCTION PROGRAMMING B–64124EN/01 14.10 A mirror image of a programmed command can be produced with respect to a programmed axis of symmetry (Fig. 14.10). PROGRAMMABLE MIRROR IMAGE Y Axis of symmetry (X=50) (G50.1, G51.1) (2) (1) 100 60 Axis of symmetry 50 (Y=50) 40 0 (3) (4) 0 40 5
  • Page 327B–64124EN/01 PROGRAMMING 14. COMPENSATION FUNCTION Explanations D Mirror image by setting If the programmable mirror image function is specified when the command for producing a mirror image is also selected by a CNC external switch or CNC setting (see III–4.8), the programmable mirror image functio
  • Page 32815. CUSTOM MACRO PROGRAMMING B–64124EN/01 15 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
  • Page 329B–64124EN/01 PROGRAMMING 15. CUSTOM MACRO 15.1 An ordinary machining program specifies a G code and the travel distance directly with a numeric value; examples are G00 and X100.0. VARIABLES With a custom macro, numeric values can be specified directly or using a variable number. When a variable numb
  • Page 33015. CUSTOM MACRO PROGRAMMING B–64124EN/01 D Omission of the decimal When a variable value is defined in a program, the decimal point can be point omitted. Example: When #1=123; is defined, the actual value of variable #1 is 123.000. D Referencing variables To reference the value of a variable in a p
  • Page 331B–64124EN/01 PROGRAMMING 15. CUSTOM MACRO (c) Conditional expressions < vacant > differs from 0 only for EQ and NE. When #1 = < vacant > When #1 = 0 #1 EQ #0 #1 EQ #0 # # Established Not established #1 NE 0 #1 NE 0 # # Established Not established #1 GE #0 #1 GE #0 # # Established Established #1 GT 0
  • Page 33215. CUSTOM MACRO PROGRAMMING B–64124EN/01 15.2 System variables can be used to read and write internal NC data such as tool compensation values and current position data. Note, however, that SYSTEM VARIABLES some system variables can only be read. System variables are essential for automation and ge
  • Page 333B–64124EN/01 PROGRAMMING 15. CUSTOM MACRO D Tool compensation Tool compensation values can be read and written using system variables. values Usable variable numbers depend on the number of compensation pairs, whether a distinction is made between geometric compensation and wear compensation, and wh
  • Page 33415. CUSTOM MACRO PROGRAMMING B–64124EN/01 D Time information Time information can be read and written. Table 15.2 (d) System variables for time information Variable Function number #3001 This variable functions as a timer that counts in 1–millisecond in- crements at all times. When the power is turn
  • Page 335B–64124EN/01 PROGRAMMING 15. CUSTOM MACRO Table 15.2 (f) System variable (#3004) for automatic operation control #3004 Feed hold Feedrate Override Exact stop 0 Enabled Enabled Enabled 1 Disabled Enabled Enabled 2 Enabled Disabled Enabled 3 Disabled Disabled Enabled 4 Enabled Enabled Disabled 5 Disab
  • Page 33615. CUSTOM MACRO PROGRAMMING B–64124EN/01 D Settings Settings can be read and written. Binary values are converted to decimals. #3005 #15 #14 #13 #12 #11 #10 #9 #8 Setting FCV #7 #6 #5 #4 #3 #2 #1 #0 Setting SEQ INI ISO TVC #9 (FCV) : Whether to use the FS15 tape format conversion capability #5 (SEQ
  • Page 337B–64124EN/01 PROGRAMMING 15. CUSTOM MACRO NOTE Do not substitute a negative value. D Modal information Modal information specified in blocks up to the immediately preceding block can be read. Table 15.2 (h) System variables for modal information Variable number Function #4001 G00, G01, G02, G03, G33
  • Page 33815. CUSTOM MACRO PROGRAMMING B–64124EN/01 D Current position Position information cannot be written but can be read. Table 15.2 (i) System variables for position information Variable Position Coordinate Tool com- Read number information system pensation operation value during movement #5001–#5004 Bl
  • Page 339B–64124EN/01 PROGRAMMING 15. CUSTOM MACRO D Workpiece coordinate Workpiece zero point offset values can be read and written. system compensation Table 15.2 (j) System variables for workpiece zero point offset values values (workpiece zero point offset values) Variable Function number #5201 First–axi
  • Page 34015. CUSTOM MACRO PROGRAMMING B–64124EN/01 The following variables can also be used: Axis Function Variable number First axis External workpiece zero point offset #2500 #5201 G54 workpiece zero point offset #2501 #5221 G55 workpiece zero point offset #2502 #5241 G56 workpiece zero point offset #2503
  • Page 341B–64124EN/01 PROGRAMMING 15. CUSTOM MACRO 15.3 The operations listed in Table 15.3 (a) can be performed on variables. The expression to the right of the operator can contain constants and/or ARITHMETIC AND variables combined by a function or operator. Variables #j and #K in an LOGIC OPERATION expres
  • Page 34215. CUSTOM MACRO PROGRAMMING B–64124EN/01 D ARCTAN #i = S Specify the lengths of two sides, separated by a slash (/). ATAN[#j]/[#k]; S The solution ranges are as follows: When the NAT bit (bit 0 of parameter 6004) is set to 0: 0o to 360_ [Example] When #1 = ATAN[–1]/[–1]; is specified, #1 is 225.0.
  • Page 343B–64124EN/01 PROGRAMMING 15. CUSTOM MACRO D Rounding up and down With CNC, when the absolute value of the integer produced by an to an integer operation on a number is greater than the absolute value of the original number, such an operation is referred to as rounding up to an integer. Conversely, w
  • Page 34415. CUSTOM MACRO PROGRAMMING B–64124EN/01 Limitations D Brackets Brackets ([, ]) are used to enclose an expression. Note that parentheses are used for comments. D Operation error Errors may occur when operations are performed. Table 15.3 (b) Errors involved in operations Operation Average Maximum Ty
  • Page 345B–64124EN/01 PROGRAMMING 15. CUSTOM MACRO S 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 betwee
  • Page 34615. CUSTOM MACRO PROGRAMMING B–64124EN/01 15.4 The following blocks are referred to as macro statements: S Blocks containing an arithmetic or logic operation (=) MACRO S Blocks containing a control statement (such as GOTO, DO, END) STATEMENTS AND S Blocks containing a macro call command (such as mac
  • Page 347B–64124EN/01 PROGRAMMING 15. CUSTOM MACRO 15.5 In a program, the flow of control can be changed using the GOTO statement and IF statement. Three types of branch and repetition BRANCH AND operations are used: REPETITION Branch and repetition GOTO statement (unconditional branch) IF statement (conditi
  • Page 34815. CUSTOM MACRO PROGRAMMING B–64124EN/01 15.5.2 Specify a conditional expression after IF. Conditional Branch (IF Statement) IF[]GOTOn number n occurs. If the specified condition is not satisfied, the
  • Page 349B–64124EN/01 PROGRAMMING 15. CUSTOM MACRO 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 adden
  • Page 35015. CUSTOM MACRO PROGRAMMING B–64124EN/01 D 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), P/S alarm No. 124 occurs. 1. The identification numbers 3. DO loops
  • Page 351B–64124EN/01 PROGRAMMING 15. CUSTOM MACRO 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; 327
  • Page 35215. CUSTOM MACRO PROGRAMMING B–64124EN/01 15.6 A macro program can be called using the following methods: MACRO CALL Macro call Simple call (G65) modal call (G66, G67) Macro call with G code Macro call with M code Subprogram call with M code Subprogram call with T code Limitations D Differences betw
  • Page 353B–64124EN/01 PROGRAMMING 15. CUSTOM MACRO 15.6.1 When G65 is specified, the custom macro specified at address P is called. Simple Call (G65) Data (argument) can be passed to the custom macro program. G65 P p L ȏ ; P : Number of the program to call ȏ : Repetition count (1 by
  • Page 35415. CUSTOM MACRO PROGRAMMING B–64124EN/01 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 three–dimensional coordinates as arguments. Address Variable Address Variable Addres
  • Page 355B–64124EN/01 PROGRAMMING 15. CUSTOM MACRO S The level of the main program is 0. S Each time a macro is called (with G65 or G66), the local variable level is incremented by one. The values of the local variables at the previous level are saved in the CNC. S When M99 is executed in a macro program, co
  • Page 35615. CUSTOM MACRO PROGRAMMING B–64124EN/01 D Calling format G65 P9100 X x Y y Z z R r F f I i A a B b H h ; X: X coordinate of the center of the circle (absolute or incremental specification) . . . . . . . . . . . . . . . . . (#24) Y: Y coordinate of the center of the circle (absolute or incremental
  • Page 357B–64124EN/01 PROGRAMMING 15. CUSTOM MACRO 15.6.2 Once G66 is issued to specify a modal call a macro is called after a block Modal Call (G66) specifying movement along axes is executed. This continues until G67 is issued to cancel a modal call. G66 P p L ȏ ; P : Number of the
  • Page 35815. CUSTOM MACRO PROGRAMMING B–64124EN/01 Sample program The same operation as the drilling canned cycle G81 is created using a custom macro and the machining program makes a modal macro call. For program simplicity, all drilling data is specified using absolute values. The canned cycle consists of
  • Page 359B–64124EN/01 PROGRAMMING 15. CUSTOM MACRO 15.6.3 By setting a G code number used to call a macro program in a parameter, Macro Call Using the macro program can be called in the same way as for a simple call (G65). G Code O0001 ; O9010 ; : : G81 X10.0 Y20.0 Z–10.0 ; : : : M30 ; N9 M99 ; Parameter No.
  • Page 36015. CUSTOM MACRO PROGRAMMING B–64124EN/01 15.6.4 By setting an M code number used to call a macro program in a parameter, Macro Call Using the macro program can be called in the same way as with a simple call (G65). an M Code O0001 ; O9020 ; : : M50 A1.0 B2.0 ; : : : M30 ; M99 ; Parameter No.6080 =
  • Page 361B–64124EN/01 PROGRAMMING 15. CUSTOM MACRO 15.6.5 By setting an M code number used to call a subprogram (macro program) Subprogram Call in a parameter, the macro program can be called in the same way as with a subprogram call (M98). Using an M Code O0001 ; O9001 ; : : M03 ; : : : M30 ; M99 ; Paramete
  • Page 36215. CUSTOM MACRO PROGRAMMING B–64124EN/01 15.6.6 By enabling subprograms (macro program) to be called with a T code in Subprogram Calls a parameter, a macro program can be called each time the T code is specified in the machining program. Using a T Code O0001 ; O9000 ; : : T23 ; : : : M30 ; M99 ; Bi
  • Page 363B–64124EN/01 PROGRAMMING 15. CUSTOM MACRO 15.6.7 By using the subprogram call function that uses M codes, the cumulative Sample Program usage time of each tool is measured. Conditions S The cumulative usage time of each of tools T01 to T05 is measured. No measurement is made for tools with numbers g
  • Page 36415. CUSTOM MACRO PROGRAMMING B–64124EN/01 Macro program O9001(M03); . . . . . . . . . . . . . . . . . . . . . . . . . . Macro to start counting (program called) M01; IF[#4120 EQ 0]GOTO 9; . . . . . . . . . . . . . . . . . . . . . No tool specified IF[#4120 GT 5]GOTO 9; . . . . . . . . . . . . . Out–
  • Page 365B–64124EN/01 PROGRAMMING 15. CUSTOM MACRO 15.7 For smooth machining, the CNC prereads the NC statement to be performed next. This operation is referred to as buffering. During AI PROCESSING advanced preview control mode, the CNC prereads not only the next MACRO block but also the multiple blocks. An
  • Page 36615. CUSTOM MACRO PROGRAMMING B–64124EN/01 D Buffering the next block in other than cutter > N1 X100.0 ; N1 N4 compensation mode NC statement (G41, G42) (normally N2 #1=100 ; execution N3 #2=200 ; prereading one block) N4 Y200.0 ; N2 N3 : Macro statement execution N4 Buffer > : Block being executed j
  • Page 367B–64124EN/01 PROGRAMMING 15. CUSTOM MACRO D When the next block involves no movement in > N1 G01 G41 X100.0 G100 Dd ; cutter compensation C (G41, G42) mode N2 #1=100 ; > : Block being executed N3 Y100.0 ; j : Blocks read into the buffer N4 #2=200 ; N5 M08 ; N6 #3=300 ; N7 X200.0 ; : N1 N3 NC stateme
  • Page 36815. CUSTOM MACRO PROGRAMMING B–64124EN/01 Table 15.7.2 Meaning Read Number of Note Write Variable (In case not to command M code preventing buffering or G53 block.) Program stop Write #3006 Program stops at with maximum 2 blocks message before a macro program. Time informa- Read #3001,#3002 The data
  • Page 369B–64124EN/01 PROGRAMMING 15. CUSTOM MACRO Example) O0001 O2000 N1 X10.Y10.; (Mxx ;) Specify preventing buffering M code or G53 N2 M98P2000; N100 #1=#5041; (Reading X axis current position) N3 Y200.0; N101 #2=#5042; (Reading Y axis current position) : : M99; In above case, the buffering of N2 block i
  • Page 37015. CUSTOM MACRO PROGRAMMING B–64124EN/01 15.8 Custom macro programs are similar to subprograms. They can be registered and edited in the same way as subprograms. The storage REGISTERING capacity is determined by the total length of tape used to store both custom CUSTOM MACRO macros and subprograms.
  • Page 371B–64124EN/01 PROGRAMMING 15. CUSTOM MACRO 15.9 LIMITATIONS D MDI operation The macro call command can be specified in MDI mode. During automatic operation, however, it is impossible to switch to the MDI mode for a macro program call. D Sequence number A custom macro program cannot be searched for a
  • Page 37215. CUSTOM MACRO PROGRAMMING B–64124EN/01 15.10 In addition to the standard custom macro commands, the following macro commands are available. They are referred to as external output EXTERNAL OUTPUT commands. COMMANDS – BPRNT – DPRNT – POPEN – PCLOS These commands are provided to output variable val
  • Page 373B–64124EN/01 PROGRAMMING 15. CUSTOM MACRO Example ) BPRNT [ C** X#100 [3] Y#101 [3] M#10 [0] ] Variable value #100=0.40956 #101=–1638.4 #10=12.34 LF 12 (0000000C) M –1638400(FFE70000) Y 410 (0000019A) X Space C D Data output command DPRNT DPRNT [ a #b [cd] …] Number of significant decimal places Num
  • Page 37415. CUSTOM MACRO PROGRAMMING B–64124EN/01 Example ) DPRNT [ X#2 [53] Y#5 [53] T#30 [20] ] Variable value #2=128.47398 #5=–91.2 #30=123.456 (1) Parameter PRT(No.6001#1)=0 LF T sp 23 Y – sp sp sp 91200 X sp sp sp 128474 (2) Parameter PRT(No.6001#1)=0 LF T23 Y–91.200 X128.474 D Close command PCLOS PCLO
  • Page 375B–64124EN/01 PROGRAMMING 15. CUSTOM MACRO 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 afte
  • Page 37615. CUSTOM MACRO PROGRAMMING B–64124EN/01 15.11 When a program is being executed, another program can be called by inputting an interrupt signal (UINT) from the machine. This function is INTERRUPTION TYPE referred to as an interruption type custom macro function. Program an CUSTOM MACRO interrupt co
  • Page 377B–64124EN/01 PROGRAMMING 15. CUSTOM MACRO CAUTION When the interrupt signal (UINT, marked by * in Fig. 15.11) is input after M97 is specified, it is ignored. And the interrupt signal must not be input during execution of the interrupt program. 15.11.1 Specification Method Explanations D Interrupt co
  • Page 37815. CUSTOM MACRO PROGRAMMING B–64124EN/01 NOTE For the status–triggered and edge–triggered schemes, see Item “Custom macro interrupt signal (UINT)” of II– 15.11.2. 15.11.2 Details of Functions Explanations D Subprogram–type There are two types of custom macro interrupts: Subprogram–type interrupt an
  • Page 379B–64124EN/01 PROGRAMMING 15. CUSTOM MACRO Type I (i) When the interrupt signal (UINT) is input, any movement or dwell (when an interrupt is being performed is stopped immediately and the interrupt program performed even in the is executed. middle of a block) (ii) If there are NC statements in the in
  • Page 38015. CUSTOM MACRO PROGRAMMING B–64124EN/01 D Conditions for enabling The interrupt signal becomes valid after execution starts of a block that and disabling the custom contains M96 for enabling custom macro interrupts. The signal becomes macro interrupt signal invalid when execution starts of a block
  • Page 381B–64124EN/01 PROGRAMMING 15. CUSTOM MACRO D Custom macro interrupt There are two schemes for custom macro interrupt signal (UINT) input: signal (UINT) The status–triggered scheme and edge– triggered scheme. When the status–triggered scheme is used, the signal is valid when it is on. When the edge tr
  • Page 38215. CUSTOM MACRO PROGRAMMING B–64124EN/01 D Return from a custom To return control from a custom macro interrupt to the interrupted macro interrupt program, specify M99. A sequence number in the interrupted program can also be specified using address P. If this is specified, the program is searched
  • Page 383B–64124EN/01 PROGRAMMING 15. CUSTOM MACRO 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  and  are basic
  • Page 38415. CUSTOM MACRO PROGRAMMING B–64124EN/01 (2) After control is returned to the interrupted program, modal information is specified again as necessary. O∆∆∆∆ M96Pxxx Oxxx; Interrupt signal (UINT) Modify modal information (Without P specification) Modal information remains M99(Pffff); unchanged before
  • Page 385B–64124EN/01 PROGRAMMING 15. CUSTOM MACRO D Custom macro interrupt When the interrupt signal (UINT) is input and an interrupt program is and custom macro called, the custom macro modal call is canceled (G67). However, when modal call G66 is specified in the interrupt program, the custom macro modal
  • Page 38616. PATTERN DATA INPUT FUNCTION PROGRAMMING B–64124EN/01 16 PATTERN DATA INPUT FUNCTION This function enables users to perform programming simply by extracting numeric data (pattern data) from a drawing and specifying the numerical values from the MDI panel. This eliminates the need for programming
  • Page 38716. PATTERN DATA INPUT B–64124EN/01 PROGRAMMING FUNCTION 16.1 Pressing the OFFSET SETTING key and [MENU] is displayed on the following DISPLAYING THE pattern menu screen. PATTERN MENU MENU : HOLE PATTERN O0000 N00000 1. BOLT HOLE 2. GRID 3. LINE ANGLE 4. TAPPING 5. DRILLING 6. BORING 7. POCKET 8. PE
  • Page 38816. PATTERN DATA INPUT FUNCTION PROGRAMMING B–64124EN/01 D Macro commands Menu title : C1 C2 C3 C4 C5 C6 C7 C8 C9C10 C11 C12 specifying the menu C1,C2, ,C12 : Characters in the menu title (12 characters) title Macro instruction G65 H90 Pp Qq Rr Ii Jj Kk : H90:Specifies the menu title p : Assume a1 a
  • Page 38916. PATTERN DATA INPUT B–64124EN/01 PROGRAMMING FUNCTION D Macro instruction Pattern name: C1 C2 C3 C4 C5 C6 C7 C8 C9C10 describing the pattern C1, C2, ,C10: Characters in the pattern name (10 characters) name Macro instruction G65 H91 Pn Qq Rr Ii Jj Kk ; H91: Specifies the menu title n : Specifies
  • Page 39016. PATTERN DATA INPUT FUNCTION PROGRAMMING B–64124EN/01 Example Custom macros for the menu title and hole pattern names. MENU : HOLE PATTERN O0000 N00000 1. BOLT HOLE 2. GRID 3. LINE ANGLE 4. TAPPING 5. DRILLING 6. BORING 7. POCKET 8. PECK 9. TEST PATRN 10. BACK > _ MDI **** *** *** 16:05:59 [ MACR
  • Page 39116. PATTERN DATA INPUT B–64124EN/01 PROGRAMMING FUNCTION 16.2 When a pattern menu is selected, the necessary pattern data is displayed. PATTERN DATA DISPLAY VAR. : BOLT HOLE O0001 N00000 NO. NAME DATA COMMENT 500 TOOL 0.000 501 STANDARD X 0.000 *BOLT HOLE 502 STANDARD Y 0.000 CIRCLE* 503 RADIUS 0.00
  • Page 39216. PATTERN DATA INPUT FUNCTION PROGRAMMING B–64124EN/01 Macro instruction Menu title : C1 C2 C3 C4 C5 C6 C7 C8 C9C10C11C12 specifying the pattern C1 ,C2, , C12 : Characters in the menu title (12 characters) … data title Macro instruction (the menu title) G65 H92 Pp Qq Rr Ii Jj Kk ; H92 : Specifies
  • Page 39316. PATTERN DATA INPUT B–64124EN/01 PROGRAMMING FUNCTION D Macro instruction to One comment line: C1 C2 C3 C4 C5 C6 C7 C8 C9 C10 C11 C12 describe a comment C1, C2,…, C12 : Character string in one comment line (12 characters) Macro instruction G65 H94 Pp Qq Rr Ii Jj Kk ; H94 : Specifies the comment p
  • Page 39416. PATTERN DATA INPUT FUNCTION PROGRAMMING B–64124EN/01 Examples Macro instruction to describe a parameter title , the variable name, and a comment. VAR. : BOLT HOLE O0001 N00000 NO. NAME DATA COMMENT 500 TOOL 0.000 501 STANDARD X 0.000 *BOLT HOLE 502 STANDARD Y 0.000 CIRCLE* 503 RADIUS 0.000 SET P
  • Page 39516. PATTERN DATA INPUT B–64124EN/01 PROGRAMMING FUNCTION 16.3 CHARACTERS AND Table. 16.3 (a) Characters and codes to be used for the pattern data input function CODES TO BE USED Char- Char- Code Comment Code Comment FOR THE PATTERN acter acter A 065 6 054 DATA INPUT B 066 7 055 FUNCTION C 067 8 056
  • Page 39616. PATTERN DATA INPUT FUNCTION PROGRAMMING B–64124EN/01 Table 16.3 (b) Numbers of subprograms employed in the pattern data input function Subprogram No. Function O9500 Specifies character strings displayed on the pattern data menu. O9501 Specifies a character string of the pattern data correspondin
  • Page 39717. PROGRAMMABLE PARAMETER B–64124EN/01 PROGRAMMING ENTRY (G10) 17 PROGRAMMABLE PARAMETER ENTRY (G10) General The values of parameters can be entered in a lprogram. This function is used for setting pitch error compensation data when attachments are changed or the maximum cutting feedrate or cutting
  • Page 39817. PROGRAMMABLE PARAMETER ENTRY (G10) PROGRAMMING B–64124EN/01 Examples 1. Set bit 2 (SBP) of bit type parameter No. 3404 G10L50 ; Parameter entry mode N3404 R 00000100 ; SBP setting G11 ; cancel parameter entry mode 2. Change the values for the Z–axis (3rd axis) and A–axis (4th axis) in axis type
  • Page 39918. MEMORY OPERATION USING B–64124EN/01 PROGRAMMING FS10/11 TAPE FORMAT 18 MEMORY OPERATION USING FS10/11 TAPE FORMAT General Memory operation of the program registered by FS10/11 tape format is possible with setting of the setting parameter (No. 0001#1). Explanations Data formats for cutter compens
  • Page 40019. HIGH SPEED CUTTING FUNCTIONS PROGRAMMING B–64124EN/01 19 HIGH SPEED CUTTING FUNCTIONS 376
  • Page 40119. HIGH SPEED CUTTING B–64124EN/01 PROGRAMMING FUNCTIONS 19.1 When an arc is cut at a high speed in circular interpolation, a radial error exists between the actual tool path and the programmed arc. An FEEDRATE approximation of this error can be obtained from the following CLAMPING BY ARC expressio
  • Page 40219. HIGH SPEED CUTTING FUNCTIONS PROGRAMMING B–64124EN/01 19.2 This function is designed for high–speed precise machining. With this function, the delay due to acceleration/deceleration and the delay in the ADVANCED PREVIEW servo system which increase as the feedrate becomes higher can be CONTROL (G
  • Page 40319. HIGH SPEED CUTTING B–64124EN/01 PROGRAMMING FUNCTIONS ⋅ Program restart ⋅ External deceleration ⋅ Simple synchronous control ⋅ Sequence number comparison and stop ⋅ Position switch (Bit 3 (PSF) of parameter No. 6901 can be set to also use this function in the advanced preview control mode. Setti
  • Page 40419. HIGH SPEED CUTTING FUNCTIONS PROGRAMMING B–64124EN/01 19.3 AI ADVANCED PREVIEW CONTROL FUNCTION/ AI CONTOUR CONTROL FUNCTION Overview The AI advanced preview control/AI contour control function is provided for high–speed, high–precision machining. This function enables suppression of acceleratio
  • Page 40519. HIGH SPEED CUTTING B–64124EN/01 PROGRAMMING FUNCTIONS D Functions valid in the AI The functions listed below are valid in the AI advanced preview advanced preview control/AI contour control mode: control/AI contour control mode ⋅ Look–ahead linear acceleration/deceleration before interpolation ⋅
  • Page 40619. HIGH SPEED CUTTING FUNCTIONS PROGRAMMING B–64124EN/01 (Example of deceleration) Deceleration is started in a prior block so that the feedrate specified for the target block is reached at the execution. Feedrate Specified feedrate Point1 Feedrate determined by F3 acceleration/deceleration beforei
  • Page 40719. HIGH SPEED CUTTING B–64124EN/01 PROGRAMMING FUNCTIONS D Look–ahead bell–shaped Linear acceleration/deceleration before interpolation for cutting feed in acceleration/deceleration the AI advanced preview control/AI contour control mode can be changed before interpolation to bell–shaped accelerati
  • Page 40819. HIGH SPEED CUTTING FUNCTIONS PROGRAMMING B–64124EN/01 When the feedrate is changed, deceleration and acceleration are performed as follows: For deceleration: Bell–shaped deceleration is started in the preceding block so that deceleration terminates by the beginning of the block in which the feed
  • Page 40919. HIGH SPEED CUTTING B–64124EN/01 PROGRAMMING FUNCTIONS N1 G01 G91 X100. F1000 ; N2 Y100. ; N2 Tool path when deceleration is not performed at the corner Tool path when deceleration is performed at the corner N1 Feedrate When deceleration is not performed Feedrate along the X–axis F1000 at the cor
  • Page 41019. HIGH SPEED CUTTING FUNCTIONS PROGRAMMING B–64124EN/01 D Feedrate clamping by When continuous minute straight lines form curves as shown in the acceleration example in the figure below, the feedrate difference for each axis at each corner is not so large. For this reason, deceleration according t
  • Page 41119. HIGH SPEED CUTTING B–64124EN/01 PROGRAMMING FUNCTIONS N1 N5 N9 N1 N5 N9 D Feedrate clamping by The maximum allowable feedrate v for an arc of radius r specified in a arc radius program is calculated using the arc radius R and maximum allowable feedrate V (setting of a parameter) for the radius a
  • Page 41219. HIGH SPEED CUTTING FUNCTIONS PROGRAMMING B–64124EN/01 D Rapid traverse By setting the corresponding parameter, the linear or non–linear interpolation type can be selected. (In the AI nano contour control mode, the non–linear interpolation type cannot be selected.) When the linear interpolation t
  • Page 41319. HIGH SPEED CUTTING B–64124EN/01 PROGRAMMING FUNCTIONS Feedrate Linear acceleration/ deceleration Bell–shapedacceleration/ deceleration ta Depends on the linear acceleration. tb Time constant for bell–shaped acceleration/deceleration tc Bell–shapedacceleration/ deceleration time tc = ta + tb The
  • Page 41419. HIGH SPEED CUTTING FUNCTIONS PROGRAMMING B–64124EN/01 When the non–linear interpolation type is selected, movement is performed at the feedrate set in parameter No. 1420 with acceleration/deceleration set in parameter No. 1620. The corresponding value can be set in parameter No. 1621 to select b
  • Page 41519. HIGH SPEED CUTTING B–64124EN/01 PROGRAMMING FUNCTIONS (4) Parameters related to feedrate clamping by arc radius Parameter number Ad- Parameter vanced AI Normal preview contour control Arc radius corresponding to the upper fee- 1731 drate limit Upper feedrate limit at arc radius R 1730 Lower clam
  • Page 41619. HIGH SPEED CUTTING FUNCTIONS PROGRAMMING B–64124EN/01 Alarms Num- Message Description ber 5110 IMPROPER G CODE An unspecifiable G code was specified in (G05.1 Q1 MODE) the AI advanced preview control/AI con- tour control mode. 5111 IMPROPER MODAL An unavailable modal G code was found G CODE when
  • Page 41719. HIGH SPEED CUTTING B–64124EN/01 PROGRAMMING FUNCTIONS D Specifications Axis control f : Can be specified. : Cannot be specified. Name Function Number of controlled axes 3 to 4 Number of simultaneously con- Up to 4 trolled axes Axis name The basic three axes are fixed to X, Y, and Z. Other axes a
  • Page 41819. HIGH SPEED CUTTING FUNCTIONS PROGRAMMING B–64124EN/01 Name Function Dwell (G04) f (Dwell with the time in seconds or speed speci- fied) For dwell with the speed specified, anoth- er option is required. Cylindrical interpolation (G07.1) Helical interpolation (G02, G03) f (Circular interpolation +
  • Page 41919. HIGH SPEED CUTTING B–64124EN/01 PROGRAMMING FUNCTIONS Name Function External deceleration f Look–ahead bell–shaped accel- f eration/deceleration before inter- polation Program input f : Can be specified. : Cannot be specified. Name Function Control in/control out command () f Optional block skip
  • Page 42019. HIGH SPEED CUTTING FUNCTIONS PROGRAMMING B–64124EN/01 Auxiliary functions/spindle–speed functions f : Can be specified. : Cannot be specified. Name Function Miscellaneous function (Mxxxx) f The function code and function strobe signals are output only. Second auxiliary function (Bxxxx) f The fun
  • Page 42119. HIGH SPEED CUTTING B–64124EN/01 PROGRAMMING FUNCTIONS D Conditions for setting the When G05.1 Q1 is specified, the modal G codes must be set as listed AI advanced preview below. If one of these conditions is satisfied, a PS5111 alarm occurs. control/AI contour control mode G code(s) Description
  • Page 42219. HIGH SPEED CUTTING FUNCTIONS PROGRAMMING B–64124EN/01 19.4 LOOK–AHEAD BELL–SHAPED ACCELERATION/DEC ELERATION BEFORE INTERPOLATION TIME CONSTANT CHANGE FUNCTION General In Look–ahead bell–shaped acceleration/deceleration before interpolation, the speed during acceleration/deceleration is as shown
  • Page 42319. HIGH SPEED CUTTING B–64124EN/01 PROGRAMMING FUNCTIONS Linear acceleration/deceleration not reaching specified acceleration/deceleration Speed Specified speed Time T1 T1 T2 Fig.19.4 (b) If linear acceleration/deceleration not reaching the specified acceleration occurs in AI contour control mode a
  • Page 42419. HIGH SPEED CUTTING FUNCTIONS PROGRAMMING B–64124EN/01 Description D Methods of specifying the The acceleration/deceleration reference speed is the feedrate used as the acceleration/deceleration reference for calculating optimum acceleration. In Fig.19.4 (c), it is reference speed equivalent to t
  • Page 42519. HIGH SPEED CUTTING B–64124EN/01 PROGRAMMING FUNCTIONS (2) Setting the speed on the acceleration/deceleration reference speed is set in parameter No. the Parameter 7066. Because these parameters must be set in input unit, when the input unit is changed, these parameters must be changed. This meth
  • Page 42619. HIGH SPEED CUTTING FUNCTIONS PROGRAMMING B–64124EN/01 (2) A proper acceleration is determined under the condition that the acceleration change must be about the same as the setting so that parameter changes do not cause considerable shock to the machine, that is: Acceleration after change Accele
  • Page 427B–64124EN/01 PROGRAMMING 20. AXIS CONTROL FUNCTIONS 20 AXIS CONTROL FUNCTIONS 403
  • Page 42820. AXIS CONTROL FUNCTIONS PROGRAMMING B–64124EN/01 20.1 It is possible to change the operating mode for two or more specified axes to either synchronous operation or normal operation by an input signal SIMPLE from the machine. SYNCHRONOUS Synchronous control can be performed for up to four pairs of
  • Page 429B–64124EN/01 PROGRAMMING 20. AXIS CONTROL FUNCTIONS D Normal operation This operating mode is used for machining different workpieces on each table. The operation is the same as in ordinary CNC control, where the movement of the master axis and slave axis is controlled by the independent axis addres
  • Page 43020. AXIS CONTROL FUNCTIONS PROGRAMMING B–64124EN/01 Limitations D Setting a coordinate In synchronous axis control, commands that require no axis motion, such system as the workpiece coordinate system setup command (G92) and the local coordinate system setup command (G52), are set to the Y axis by p
  • Page 431B–64124EN/01 PROGRAMMING 20. AXIS CONTROL FUNCTIONS 20.2 The roll–over function prevents coordinates for the rotation axis from overflowing. The roll–over function is enabled by setting bit 0 of ROTARY AXIS parameter ROAx 1008 to 1. ROLL–OVER Explanations For an incremental command, the tool moves t
  • Page 43220. AXIS CONTROL FUNCTIONS PROGRAMMING B–64124EN/01 20.3 When the angular axis makes an angle other than 90° with the perpendicular axis, the angular axis control function controls the distance ANGULAR AXIS traveled along each axis according to the inclination angle. A program, CONTROL when created,
  • Page 433B–64124EN/01 PROGRAMMING 20. AXIS CONTROL FUNCTIONS D Machine position display A machine position indication is provided in the machine coordinate system where an actual movement is taking place according to an inclination angle. However, when inch/metric conversion is performed, a position is indic
  • Page 43420. AXIS CONTROL FUNCTIONS PROGRAMMING B–64124EN/01 20.4 When enough torque for driving a large table cannot be produced by only one motor, two motors can be used for movement along a single axis. TANDEM CONTROL Positioning is performed by the main motor only. The submotor is used only to produce to
  • Page 435III. OPERATIO
  • Page 436
  • Page 437B–64124EN/01 OPERATION 1. GENERAL 1 GENERAL 413
  • Page 4381. GENERAL OPERATION B–64124EN/01 1.1 MANUAL OPERATION Explanations D Manual reference The CNC machine tool has a position used to determine the machine position return position. (See Section III–3.1) This position is called the reference position, where the tool is replaced or the coordinate are se
  • Page 439B–64124EN/01 OPERATION 1. GENERAL D The tool movement by Using machine operator’s panel switches, pushbuttons, or the manual manual operation handle, the tool can be moved along each axis. Machine operator’s panel Manual pulse generator Tool Workpiece Fig. 1.1 (b) The tool movement by manual operati
  • Page 4401. GENERAL OPERATION B–64124EN/01 1.2 Automatic operation is to operate the machine according to the created program. It includes memory, MDI and DNC operations. (See Section TOOL MOVEMENT III–4). BY PROGRAMMING– AUTOMATIC Program 01000 ; OPERATION M_S_T ; G92_X_ ; Tool G00... ; G01...... ; . . . .
  • Page 441B–64124EN/01 OPERATION 1. GENERAL 1.3 AUTOMATIC OPERATION Explanations D Program selection Select the program used for the workpiece. Ordinarily, one program is prepared for one workpiece. If two or more programs are in memory, select the program to be used, by searching the program number (Section
  • Page 4421. GENERAL OPERATION B–64124EN/01 D Handle interruption While automatic operation is being executed, tool movement can overlap (See Section III–4.7) automatic operation by rotating the manual handle. Tool position during Z automatic operation Tool position after handle interruption Programmed depth
  • Page 443B–64124EN/01 OPERATION 1. GENERAL 1.4 Before machining is started, the automatic running check can be executed. It checks whether the created program can operate the machine TESTING A as desired. This check can be accomplished by running the machine PROGRAM actually or viewing the position display c
  • Page 4441. GENERAL OPERATION B–64124EN/01 D Single block When the cycle start pushbutton is pressed, the tool executes one (See Section III–5.5) operation then stops. By pressing the cycle start again, the tool executes the next operation then stops. The program is checked in this manner. Cycle start Cycle
  • Page 445B–64124EN/01 OPERATION 1. GENERAL 1.5 After a created program is once registered in memory, it can be corrected or modified from the MDI panel (See Section III–9). EDITING A PART This operation can be executed using the part program storage/edit PROGRAM function. Program registration Program correct
  • Page 4461. GENERAL OPERATION B–64124EN/01 1.6 The operator can display or change a value stored in CNC internal memory by key operation on the MDI screen (See III–11). DISPLAYING AND SETTING DATA Data setting Data display Screen Keys MDI CNC memory Fig. 1.6 (a) Displaying and setting data Explanations D Off
  • Page 447B–64124EN/01 OPERATION 1. GENERAL 1st tool path Machined shape 2nd tool path Offset value of the 1st tool Offset value of the 2nd tool Fig. 1.6 (c) Offset value D Displaying and setting Apart from parameters, there is data that is set by the operator in operator’s setting data operation. This data c
  • Page 4481. GENERAL OPERATION B–64124EN/01 D Displaying and setting The CNC functions have versatility in order to take action in parameters characteristics of various machines. For example, CNC can specify the following: S Rapid traverse rate of each axis S Whether increment system is based on metric system
  • Page 449B–64124EN/01 OPERATION 1. GENERAL 1.7 DISPLAY 1.7.1 The contents of the currently active program are displayed. In addition, Program Display the programs scheduled next and the program list are displayed. (See Section III–11.2.1) Active sequence number Active program number PROGRAM 1100 00005 N1 G90
  • Page 4501. GENERAL OPERATION B–64124EN/01 1.7.2 The current position of the tool is displayed with the coordinate values. Current Position The distance from the current position to the target position can also be displayed. (See Section III–11.1.1 to 11.1.3) Display Y x y X Workpiece coordinate system ACTUA
  • Page 451B–64124EN/01 OPERATION 1. GENERAL 1.7.4 Run time and number of parts are displayed on the screen. (See Section Parts Count Display, lll–11.4.5) Run Time Display ACTUAL POSITION (ABSOLUTE) O0003 N00003 X 150.000 Y 300.000 Z 100.000 PART COUNT 18 RUN TIME 0H16M CYCLE TIME 0H 1M 0S MEM STRT * * * * FIN
  • Page 4521. GENERAL OPERATION B–64124EN/01 1.8 Programs, offset values, parameters, etc. input in CNC memory can be output to paper tape, cassette, or a floppy disk for saving. After once DATA INPUT / output to a medium, the data can be input into CNC memory. OUTPUT Portable tape reader FANUC PPR Memory Pape
  • Page 453B–64124EN/01 OPERATION 2. OPERATIONAL DEVICES 2 OPERATIONAL DEVICES The available operational devices include the setting and display unit attached to the CNC, the machine operator’s panel, and external input/output devices such as a Handy File. 429
  • Page 4542. OPERATIONAL DEVICES OPERATION B–64124EN/01 2.1 The setting and display units are shown in Subsections 2.1.1 to 2.1.4 of Part III. SETTING AND DISPLAY UNITS 7.2″ monochrome / 8.4″ color LCD/MDI unit (horizontal type) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . III–2.1.1 7.2″ mono
  • Page 455B–64124EN/01 OPERATION 2. OPERATIONAL DEVICES 2.1.1 7.2″ Monochrome/ 8.4″ Color LCD/MDI Unit (Horizontal Type) 431
  • Page 4562. OPERATIONAL DEVICES OPERATION B–64124EN/01 2.1.2 7.2″ Monochrome/ 8.4″ Color LCD/MDI Unit (Vertical Type) 432
  • Page 457B–64124EN/01 OPERATION 2. OPERATIONAL DEVICES 2.1.3 Key Location of MDI (Horizontal Type LCD/MDI Unit) Address/numeric keys Function keys Shift key Cancel (CAN) key Input key Edit keys Help key Reset key Cursor keys Page change keys 433
  • Page 4582. OPERATIONAL DEVICES OPERATION B–64124EN/01 2.1.4 Key Location of MDI (Vertical Type LCD/MDI Unit) Cancel (CAN) key Help key Reset key Edit keys Function keys Shift key Cursor keys Page change keys Address/numeric keys Input key 434
  • Page 459B–64124EN/01 OPERATION 2. OPERATIONAL DEVICES 2.2 EXPLANATION OF THE KEYBOARD Table 2.2 Explanation of the MDI keyboard Number Name Explanation 1 RESET key Press this key to reset the CNC, to cancel an alarm, etc. RESET 2 HELP key Press this key to display how to operate the machine tool, such as MD
  • Page 4602. OPERATIONAL DEVICES OPERATION B–64124EN/01 Table 2.2 Explanation of the MDI keyboard Number Name Explanation 10 Cursor move keys There are four different cursor move keys. : This key is used to move the cursor to the right or in the forward direction. The cursor is moved in short units in the for
  • Page 461B–64124EN/01 OPERATION 2. OPERATIONAL DEVICES 2.3 The function keys are used to select the type of screen (function) to be displayed. When a soft key (section select soft key) is pressed FUNCTION KEYS AND immediately after a function key, the screen (section) corresponding to the SOFT KEYS selected
  • Page 4622. OPERATIONAL DEVICES OPERATION B–64124EN/01 2.3.2 Function keys are provided to select the type of screen to be displayed. Function Keys The following function keys are provided on the MDI panel: Press this key to display the position screen. POS Press this key to display the program screen. PROG
  • Page 463B–64124EN/01 OPERATION 2. OPERATIONAL DEVICES 2.3.3 To display a more detailed screen, press a function key followed by a soft Soft Keys key. Soft keys are also used for actual operations. The following illustrates how soft key displays are changed by pressing each function key. The symbols in the f
  • Page 4642. OPERATIONAL DEVICES OPERATION B–64124EN/01 POSITION SCREEN Soft key transition triggered by the function key POS POS Absolute coordinate display [ABS] [(OPRT)] [PTSPRE] [EXEC] [RUNPRE] [EXEC] [WRK–CD] [ALLEXE] (Axis name, 0) [EXEC] Relative coordinate display [REL] [(OPRT)] (Axis or numeral) [PRE
  • Page 465B–64124EN/01 OPERATION 2. OPERATIONAL DEVICES Soft key transition triggered by the function key PROGRAM SCREEN in the MEM mode PROG 1/2 PROG Program display screen [PRGRM] [(OPRT)] [BG–EDT] See “When the soft key [BG–EDT] is pressed” (O number) [O SRH] (1) (N number) [N SRH] [REWIND] [P TYPE] [Q TYP
  • Page 4662. OPERATIONAL DEVICES OPERATION B–64124EN/01 2/2 (2) Program directory screen [DIR] [(OPRT)] [BG–EDT] SeeWhen the soft key [BG-EDT] is pressed" (O number) [O SRH] Return to the program [FL.SDL] [PRGRM] Return to (1) (Program display) File directory display screen [DIR] [(OPRT)] [SELECT] (File No.
  • Page 467B–64124EN/01 OPERATION 2. OPERATIONAL DEVICES Soft key transition triggered by the function key PROGRAM SCREEN in the EDIT mode PROG 1/2 PROG Program display [PRGRM] [(OPRT)] [BG–EDT] See"When the soft key [BG-EDT] is pressed" (O number) [O SRH] (Address) [SRH↓] (Address) [SRH↑] [REWIND] [F SRH] [CA
  • Page 4682. OPERATIONAL DEVICES OPERATION B–64124EN/01 2/2 (1) Program directory display [DIR] [(OPRT)] [BG–EDT] See"When the soft key [BG-EDT] is pressed" (O number) [O SRH] Return to the program [READ] [CHAIN] [STOP] [CAN] (O number) [EXEC] [PUNCH] [STOP] [CAN] (O number) [EXEC] Graphic Conversational Prog
  • Page 469B–64124EN/01 OPERATION 2. OPERATIONAL DEVICES Soft key transition triggered by the function key PROGRAM SCREEN in the MDI mode PROG PROG Program display [PRGRM] [(OPRT)] [BG–EDT] See “When the soft key [BG–EDT] is pressed” Program input screen [MDI] [(OPRT)] [BG–EDT] See “When the soft key [BG–EDT]
  • Page 4702. OPERATIONAL DEVICES OPERATION B–64124EN/01 Soft key transition triggered by the function key PROGRAM SCREEN in the HNDL, JOG, or REF mode PROG PROG Program display [PRGRM] [(OPRT)] [BG–EDT] See “When the soft key [BG–EDT] is pressed” Current block display screen [CURRNT] [(OPRT)] [BG–EDT] See “Wh
  • Page 471B–64124EN/01 OPERATION 2. OPERATIONAL DEVICES PROGRAM SCREEN Soft key transition triggered by the function key PROG (When the soft key [BG-EDT] is pressed in all modes) 1/2 PROG Program display [PRGRM] [(OPRT)] [BG–END] (O number) [O SRH] (Address) [SRH↓] (Address) [SRH↑] [REWIND] [F SRH] [CAN] (N n
  • Page 4722. OPERATIONAL DEVICES OPERATION B–64124EN/01 2/2 (1) Program directory display [DIR] [(OPRT)] [BG–EDT] (O number) [O SRH] Return to the program [READ] [CHAIN] [STOP] [CAN] (O number) [EXEC] [PUNCH] [STOP] [CAN] (O number) [EXEC] Graphic Conversational Programming [C.A.P.] [PRGRM] Return to the prog
  • Page 473B–64124EN/01 OPERATION 2. OPERATIONAL DEVICES OFFSET/SETTING SCREEN Soft key transition triggered by the function key OFS/SET 1/2 OFS/SET Tool offset screen [OFFSET] [(OPRT)] (Number) [NO SRH] (Axis name) [INP.C.] (Numeral) [+INPUT] (Numeral) [INPUT] [CLEAR] [ALL] [WEAR] [GEOM] [READ] [CAN] [WEAR] [
  • Page 4742. OPERATIONAL DEVICES OPERATION B–64124EN/01 2/2 (1) Pattern data input screen [MENU] [(OPRT)] (Number) [SELECT] Software operator’s panel screen [OPR] Tool life management setting screen [TOOLLF] [(OPRT)] (Number) [NO SRH] [CLEAR] [CAN] [EXEC] (Numeral) [INPUT] 450
  • Page 475B–64124EN/01 OPERATION 2. OPERATIONAL DEVICES SYSTEM SCREEN Soft key transition triggered by the function key SYSTEM 1/2 SYSTEM Parameter screen [PARAM] [(OPRT)] (Number) [NO SRH] [ON:1] [OFF:0] (Numeral) [+INPUT] (Numeral) [INPUT] [READ] [CAN] [EXEC] [PUNCH] [CAN] Note) Search for the start of the
  • Page 4762. OPERATIONAL DEVICES OPERATION B–64124EN/01 (4) 2/2 Pitch error compensation screen [PITCH] [(OPRT)] (No.) [NO SRH] [ON:1] [OFF:0] (Numeral) [+INPUT] (Numeral) [INPUT] [READ] [CAN] [EXEC] [PUNCH] [CAN] [EXEC] Servo parameter screen [SV.PRM] [SV.SET] [ON:1] [(OPRT)] [SV.TUN] [OFF:0] (Numeral) [INPU
  • Page 477B–64124EN/01 OPERATION 2. OPERATIONAL DEVICES MESSAGE SCREEN Soft key transition triggered by the function key MESSAGE MESSAGE Alarm display screen [ALARM] Message display screen [MSG] Alarm history screen [HISTRY] [(OPRT)] [CLEAR] HELP SCREEN Soft key transition triggered by the function key HELP H
  • Page 4782. OPERATIONAL DEVICES OPERATION B–64124EN/01 GRAPHIC SCREEN Soft key transition triggered by the function key CSTM/GR Tool path graphics CSTM/GR Tool path graphics [PARAM] [EXEC] [(OPRT)] [AUTO] [STSRT] [STOP] [REWIND] [CLEAR] [ZOOM] [(OPRT)] [EXEC] [←] [→] [POS] [↑] [↓] Soft key transition trigger
  • Page 479B–64124EN/01 OPERATION 2. OPERATIONAL DEVICES 2.3.4 When an address and a numerical key are pressed, the character Key Input and Input corresponding to that key is input once into the key input buffer. The contents of the key input buffer is displayed at the bottom of the screen. Buffer In order to
  • Page 4802. OPERATIONAL DEVICES OPERATION B–64124EN/01 2.3.5 After a character or number has been input from the MDI panel, a data Warning Messages check is executed when INPUT key or a soft key is pressed. In the case of incorrect input data or the wrong operation a flashing warning message will be displaye
  • Page 481B–64124EN/01 OPERATION 2. OPERATIONAL DEVICES 2.4 Handy File of external input/output device is available. For detail on Handy File, refer to the corresponding manual listed below. EXTERNAL I/O DEVICES Table 2.4 External I/O device Device name Usage Max. Reference storage manual capacity FANUC Handy
  • Page 4822. OPERATIONAL DEVICES OPERATION B–64124EN/01 Parameter Before an external input/output device can be used, parameters must be set as follows. CNC MAIN CPU BOARD Channel 1 Channel 2 JD36A JD36B RS–232–C RS–232–C Reader/ Reader/ puncher puncher I/O CHANNEL=0 I/O CHANNEL=2 or I/O CHANNEL=1 CNC has two
  • Page 483B–64124EN/01 OPERATION 2. OPERATIONAL DEVICES 2.4.1 The Handy File is an easy–to–use, multi function floppy disk FANUC Handy File input/output device designed for FA equipment. By operating the Handy File directly or remotely from a unit connected to the Handy File, programs can be transferred and e
  • Page 4842. OPERATIONAL DEVICES OPERATION B–64124EN/01 2.5 POWER ON/OFF 2.5.1 Turning on the Power Procedure of turning on the power Procedure 1 Check that the appearance of the CNC machine tool is normal. (For example, check that front door and rear door are closed.) 2 Turn on the power according to the man
  • Page 485B–64124EN/01 OPERATION 2. OPERATIONAL DEVICES 2.5.2 If a hardware failure or installation error occurs, the system displays one Screen Displayed at of the following three types of screens then stops. Information such as the type of printed circuit board installed in each slot Power–on is indicated.
  • Page 4862. OPERATIONAL DEVICES OPERATION B–64124EN/01 Screen indicating module setting status D4B1 – 01 SLOT 01 (3046) : END END: Setting completed SLOT 02 (3050) : Blank: Setting not completed Module ID Slot number Display of software configuration D4B1 – 01 CNC control software OMM : yyyy–yy Order–made ma
  • Page 487B–64124EN/01 OPERATION 3. MANUAL OPERATION 3 MANUAL OPERATION MANUAL OPERATION are six kinds as follows : 3.1 MANUAL REFERENCE POSITION RETURN 3.2 JOG FEED 3.3 INCREMENTAL FEED 3.4 MANUAL HANDLE FEED 3.5 MANUAL ABSOLUTE ON AND OFF 463
  • Page 4883. MANUAL OPERATION OPERATION B–64124EN/01 3.1 The tool is returned to the reference position as follows : The tool is moved in the direction specified in parameter ZMI (bit 5 of No. MANUAL 1006) for each axis with the reference position return switch on the REFERENCE machine operator’s panel. The t
  • Page 489B–64124EN/01 OPERATION 3. MANUAL OPERATION Explanations D Automatically setting the The coordinate system is automatically determined when manual coordinate system reference position return is performed. When a, b and g are set in workpiece zero point offset values, the workpiece coordinate system i
  • Page 4903. MANUAL OPERATION OPERATION B–64124EN/01 3.2 In the jog mode, pressing a feed axis and direction selection switch on the JOG FEED machine operator’s panel continuously moves the tool along the selected axis in the selected direction. The jog feedrate is specified in a parameter (No.1423) The jog f
  • Page 491B–64124EN/01 OPERATION 3. MANUAL OPERATION Limitations D Acceleration/decelera- Feedrate, time constant and method of automatic acceleration/ tion for rapid traverse deceleration for manual rapid traverse are the same as G00 in programmed command. D Change of modes Changing the mode to the jog mode
  • Page 4923. MANUAL OPERATION OPERATION B–64124EN/01 3.3 In the incremental (INC) mode, pressing a feed axis and direction selection switch on the machine operator’s panel moves the tool one step INCREMENTAL FEED along the selected axis in the selected direction. The minimum distance the tool is moved is the
  • Page 493B–64124EN/01 OPERATION 3. MANUAL OPERATION 3.4 In the handle mode, the tool can be minutely moved by rotating the manual pulse generator on the machine operator’s panel. Select the axis MANUAL HANDLE along which the tool is to be moved with the handle feed axis selection FEED switches. The minimum d
  • Page 4943. MANUAL OPERATION OPERATION B–64124EN/01 Explanations D Availability of manual Parameter JHD (bit 0 of No. 7100) enables or disables the manual handle pulse generator in Jog feed in the JOG mode. mode (JHD) When the parameter JHD( bit 0 of No. 7100) is set 1,both manual handle feed and incremental
  • Page 495B–64124EN/01 OPERATION 3. MANUAL OPERATION Restrictions D Number of MPGs Up to three manual pulse generators can be connected, one for each axis. The three manual pulse generators can be simultaneously operated. WARNING Rotating the handle quickly with a large magnification such as x100 moves the to
  • Page 4963. MANUAL OPERATION OPERATION B–64124EN/01 3.5 Whether the distance the tool is moved by manual operation is added to the coordinates can be selected by turning the manual absolute switch on MANUAL ABSOLUTE or off on the machine operator’s panel. When the switch is turned on, the ON AND OFF distance
  • Page 497B–64124EN/01 OPERATION 3. MANUAL OPERATION Explanation The following describes the relation between manual operation and coordinates when the manual absolute switch is turned on or off, using a program example. G01G90 X100.0Y100.0F010 ;  X200.0Y150.0 ;  X300.0Y200.0 ;  The subsequent figures use
  • Page 4983. MANUAL OPERATION OPERATION B–64124EN/01 D When reset after a Coordinates when the feed hold button is pressed while block  is being manual operation executed, manual operation (Y–axis +75.0) is performed, the control unit following a feed hold is reset with the RESET button, and block  is read
  • Page 499B–64124EN/01 OPERATION 3. MANUAL OPERATION When the switch is ON during cutter compensation Operation of the machine upon return to automatic operation after manual intervention with the switch is ON during execution with an absolute command program in the cutter compensation mode will be described.
  • Page 5003. MANUAL OPERATION OPERATION B–64124EN/01 Manual operation during cornering This is an example when manual operation is performed during cornering. VA2’, VB1’, and VB2’ are vectors moved in parallel with VA2, VB1 and VB2 by the amount of manual movement. The new vectors are calculated from VC1 and
  • Page 501B–64124EN/01 OPERATION 4. AUTOMATIC OPERATION 4 AUTOMATIC OPERATION Programmed operation of a CNC machine tool is referred to as automatic operation. This chapter explains the following types of automatic operation: • MEMORY OPERATION Operation by executing a program registered in CNC memory • MDI O
  • Page 5024. AUTOMATIC OPERATION OPERATION B–64124EN/01 4.1 Programs are registered in memory in advance. When one of these programs is selected and the cycle start switch on the machine operator’s MEMORY panel is pressed, automatic operation starts, and the cycle start LED goes OPERATION on. When the feed ho
  • Page 503B–64124EN/01 OPERATION 4. AUTOMATIC OPERATION b. Terminating memory operation Press the RESET key on the MDI panel. 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 op
  • Page 5044. AUTOMATIC OPERATION OPERATION B–64124EN/01 D Optional block skip When the optional block skip switch on the machine operator’s panel is turned on, blocks containing a slash (/) are ignored. Calling a subprogram A file (subprogram) in an external input/output device such as a Floppy stored in an e
  • Page 505B–64124EN/01 OPERATION 4. AUTOMATIC OPERATION 4.2 In the MDI mode, a program consisting of up to 10 lines can be created in the same format as normal programs and executed from the MDI panel. MDI OPERATION MDI operation is used for simple test operations. The following procedure is given as an examp
  • Page 5064. AUTOMATIC OPERATION OPERATION B–64124EN/01 5 To execute a program, set the cursor on the head of the program. (Start from an intermediate point is possible.) 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(%)
  • Page 507B–64124EN/01 OPERATION 4. AUTOMATIC OPERATION 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). D Erasing the program
  • Page 5084. AUTOMATIC OPERATION OPERATION B–64124EN/01 D Macro call Macro programs can also be created, called, and executed in the MDI mode. However, macro call commands cannot be executed when the mode is changed to MDI mode after memory operation is stopped during execution of a subprogram. D Memory area
  • Page 509B–64124EN/01 OPERATION 4. AUTOMATIC OPERATION 4.3 By activating automatic operation during the DNC operation mode (RMT), it is possible to perform machining (DNC operation) while a DNC OPERATION program is being read in via reader/puncher interface, or remote buffer. It is possible to select files (
  • Page 5104. AUTOMATIC OPERATION OPERATION B–64124EN/01 During DNC operation, the program currently being executed is displayed on the program check screen and program screen. The number of displayed program blocks depends on the program being executed. Any comment enclosed between a control–out mark “(” and
  • Page 511B–64124EN/01 OPERATION 4. AUTOMATIC OPERATION 4.4 This function specifies Sequence No. of a block to be restarted when a tool PROGRAM is broken down or when it is desired to restart machining operation after RESTART a day off, and restarts the machining operation from that block. It can also be used
  • Page 5124. AUTOMATIC OPERATION OPERATION B–64124EN/01 Procedure for Program Restart by Specifying a Sequence Number Procedure 1 [ P TYPE ] 1 Retract the tool and replace it with a new one. When necessary, change the offset. (Go to step 2.) [ Q TYPE ] 1 When power is turned ON or emergency stop is released,
  • Page 513B–64124EN/01 OPERATION 4. AUTOMATIC OPERATION 5 The sequence number is searched for, and the program restart screen appears on the CRT display. PROGRAM RESTART O0002 N01000 DESTINATION M 1 2 X 57. 096 1 2 Y 56. 877 1 2 Z 56. 943 1 2 1 2 1 ******** DISTANCE TO GO * * * * * * * ** * * * * * * * 1 X 1.
  • Page 5144. AUTOMATIC OPERATION OPERATION B–64124EN/01 Procedure for Program Restart by Specifying a Block Number Procedure 1 [ P TYPE ] 1 Retract the tool and replace it with a new one. When necessary, change the offset. (Go to step 2.) [ Q TYPE ] 1 When power is turned ON or emergency stop is released, per
  • Page 515B–64124EN/01 OPERATION 4. AUTOMATIC OPERATION The coordinates and amount of travel for restarting the program can be displayed for up to five axes. If your system supports six or more axes, pressing the [RSTR] soft key again displays the data for the sixth and subsequent axes. (The program restart s
  • Page 5164. AUTOMATIC OPERATION OPERATION B–64124EN/01 < Example 2 > CNC Program Number of blocks O 0001 ; 1 G90 G92 X0 Y0 Z0 ; 2 G90 G00 Z100. ; 3 G81 X100. Y0. Z–120. R–80. F50. ; 4 #1 = #1 + 1 ; 4 #2 = #2 + 1 ; 4 #3 = #3 + 1 ; 4 G00 X0 Z0 ; 5 M30 ; 6 Macro statements are not counted as blocks. D Storing /
  • Page 517B–64124EN/01 OPERATION 4. AUTOMATIC OPERATION D Single block When single block operation is ON during movement to the restart position, operation stops every time the tool completes movement along an axis. When operation is stopped in the single block mode, MDI intervention cannot be performed. D Ma
  • Page 5184. AUTOMATIC OPERATION OPERATION B–64124EN/01 4.5 The schedule function allows the operator to select files (programs) SCHEDULING registered on a floppy–disk in an external input/output device (such as FUNCTION Handy File) and specify the execution order and number of repetitions (scheduling) for pe
  • Page 519B–64124EN/01 OPERATION 4. AUTOMATIC OPERATION Procedure for Scheduling Function Procedure D Procedure for executing 1 Press the MEMORY switch on the machine operator’s panel, then one file press the PROG function key on the MDI panel. 2 Press the rightmost soft key (continuous menu key), then press
  • Page 5204. AUTOMATIC OPERATION OPERATION B–64124EN/01 4 Press the REMOTE switch on the machine operator’s panel to enter the RMT mode, then press the cycle start switch. The selected file is executed. For details on the REMOTE switch, refer to the manual supplied by the machine tool builder. The selected fi
  • Page 521B–64124EN/01 OPERATION 4. AUTOMATIC OPERATION Move the cursor and enter the file numbers and number of repetitions in the order in which to execute the files. At this time, the current number of repetitions “CUR.REP” is 0. 5 Press the REMOTE switch on the machine operator’s panel to enter the RMT mo
  • Page 5224. AUTOMATIC OPERATION OPERATION B–64124EN/01 D Displaying the floppy During the execution of file, the floppy directory display of background disk directory during file editing cannot be referenced. execution D Restarting automatic To resume automatic operation after it is suspended for scheduled o
  • Page 523B–64124EN/01 OPERATION 4. AUTOMATIC OPERATION 4.6 The subprogram call function is provided to call and execute subprogram SUBPROGRAM files stored in an external input/output device(Handy File, FLOPPY CALL FUNCTION CASSETTE, FA Card)during memory operation. When the following block in a program in CN
  • Page 5244. AUTOMATIC OPERATION OPERATION B–64124EN/01 Restrictions NOTE 1 When M198 in the program of the file saved in a floppy cassette is executed, a P/S alarm (No.210) is given. When a program in the memory of CNC is called and M198 is executed during execution of a program of the file saved in a floppy
  • Page 525B–64124EN/01 OPERATION 4. AUTOMATIC OPERATION 4.7 The movement by manual handle operation can be done by overlapping it with the movement by automatic operation in the automatic operation MANUAL HANDLE mode. INTERRUPTION Tool position during Z automatic operation Tool position after handle interrupt
  • Page 5264. AUTOMATIC OPERATION OPERATION B–64124EN/01 Explanations D Relation with other The following table indicates the relation between other functions and the functions movement by handle interrupt. Display Relation Machine lock Machine lock is effective. The tool does not move even when this signal tu
  • Page 527B–64124EN/01 OPERATION 4. AUTOMATIC OPERATION (a) INPUT UNIT : Handle interrupt move amount in input unit system Indicates the travel distance specified by handle interruption according to the least input increment. (b) OUTPUT UNI : Handle interrupt move amount in output unit system Indicates the tr
  • Page 5284. AUTOMATIC OPERATION OPERATION B–64124EN/01 4.8 During automatic operation, the mirror image function can be used for MIRROR IMAGE movement along an axis. To use this function, set the mirror image switch to ON on the machine operator’s panel, or set the mirror image setting to ON from the MDI pan
  • Page 529B–64124EN/01 OPERATION 4. AUTOMATIC OPERATION 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. Explanations D The mirror image functi
  • Page 5304. AUTOMATIC OPERATION OPERATION B–64124EN/01 4.9 In cases such as when tool movement along an axis is stopped by feed hold during automatic operation so that manual intervention can be used to MANUAL replace the tool: When automatic operation is restarted, this function INTERVENTION AND returns the
  • Page 531B–64124EN/01 OPERATION 4. AUTOMATIC OPERATION Example 1. The N1 block cuts a workpiece Tool N2 Block start point N1 2. The tool is stopped by pressing the feed hold switch in the middle of the N1 block (point A). N2 N1 Point A 3. After retracting the tool manually to point B, tool movement is restar
  • Page 5324. AUTOMATIC OPERATION OPERATION B–64124EN/01 4.10 DNC OPERATION WITH MEMORY CARD 4.10.1 “DNC operation with Memory Card” is a function that it is possible to Specification perform machining with executing the program in the memory card, which is assembled to the memory card interface, where is the
  • Page 533B–64124EN/01 OPERATION 4. AUTOMATIC OPERATION NOTE To use this function, it is necessary to set the parameter of No.20 to 4 by setting screen. No.20 [I/O CHANEL: Setting to select an input/output unit] Setting value is 4.: It means using the memory card interface. 4.10.2 Operations 4.10.2.1 DNC Oper
  • Page 5344. AUTOMATIC OPERATION OPERATION B–64124EN/01 4.10.2.2 When the following block in a program in CNC memory is executed, a Subprogram Call (M198) subprogram file in memory card is called. Format 1. Normal format M198 Pffff ∆∆∆∆ ; File number for a file in the memory card Number of repetition Memory c
  • Page 535B–64124EN/01 OPERATION 4. AUTOMATIC OPERATION 4.10.3 (1) The memory card can not be accessed, such as display of memory card Limitation and Notes list and so on, during the DNC operation with memory card. (2) The selection of DNC operation file that is set at DNC OPERATION screen is cleared by the p
  • Page 5364. AUTOMATIC OPERATION OPERATION B–64124EN/01 2. Inserting the card into the PCMCIA port. Loosen the screw of the fixing bracket and insert the memory card into the PCMCIA port with the claw of the fixing bracket raised. Align the claw with the groove. Align the claw of the fixing bracket with the g
  • Page 537B–64124EN/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. 5.1 MACHINE LOCK AND AUXILIARY FUNCTION LOCK 5.2 FEEDRATE OVERRIDE 5.3 RAPID TRAVERSE OVERRIDE 5.4 DRY RUN 5.5
  • Page 5385. TEST OPERATION OPERATION B–64124EN/01 5.1 To display the change in the position without moving the tool, use machine lock. MACHINE LOCK AND There are two types of machine lock: all–axis machine lock, which stops AUXILIARY the movement along all axes, and specified–axis machine lock, which FUNCTIO
  • Page 539B–64124EN/01 OPERATION 5. TEST OPERATION Restrictions D M, S, T, B command by M, S, T and B commands are executed in the machine lock state. only machine lock D Reference position When a G27, G28, or G30 command is issued in the machine lock state, return under Machine the command is accepted but th
  • Page 5405. TEST OPERATION OPERATION B–64124EN/01 5.2 A programmed feedrate can be reduced or increased by a percentage (%) selected by the override dial.This feature is used to check a program. FEEDRATE For example, when a feedrate of 100 mm/min is specified in the program, OVERRIDE setting the override dia
  • Page 541B–64124EN/01 OPERATION 5. TEST OPERATION 5.3 An override of four steps (F0, 25%, 50%, and 100%) can be applied to the rapid traverse rate. F0 is set by a parameter (No. 1421). RAPID TRAVERSE OVERRIDE ÇÇ ÇÇ ÇÇ ÇÇ ÇÇ Rapid traverse Override ÇÇ 5m/min rate10m/min 50% Fig. 5.3 Rapid traverse override Ra
  • Page 5425. TEST OPERATION OPERATION B–64124EN/01 5.4 The tool is moved at the feedrate specified by a parameter regardless of the feedrate specified in the program. This function is used for checking DRY RUN the movement of the tool under the state taht the workpiece is removed from the table. Tool Table Fi
  • Page 543B–64124EN/01 OPERATION 5. TEST OPERATION 5.5 Pressing the single block switch starts the single block mode. When the cycle start button is pressed in the single block mode, the tool stops after SINGLE BLOCK a single block in the program is executed. Check the program in the single block mode by exec
  • Page 5445. TEST OPERATION OPERATION B–64124EN/01 Explanation D Reference position If G28 to G30 are issued, the single block function is effective at the return and single block intermediate point. D Single block during a In a canned cycle, the single block stop points are the end of , , and canned cycle
  • Page 545B–64124EN/01 OPERATION 6. SAFETY FUNCTIONS 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 Stroke check are available. This chapter describes emergency stop., overtravel check, an
  • Page 5466. SAFETY FUNCTIONS OPERATION B–64124EN/01 6.1 If you press Emergency Stop button on the machine operator’s panel, the machine movement stops in a moment. EMERGENCY STOP Red EMERGENCY STOP Fig. 6.1 Emergency stop This button is locked when it is pressed. Although it varies with the machine tool buil
  • Page 547B–64124EN/01 OPERATION 6. SAFETY FUNCTIONS 6.2 When the tool tries to move beyond the stroke end set by the machine tool limit switch, the tool decelerates and stops because of working the limit OVERTRAVEL switch and an OVER TRAVEL is displayed. Deceleration and stop Y X Stroke end Limit switch Fig.
  • Page 5486. SAFETY FUNCTIONS OPERATION B–64124EN/01 6.3 Three areas which the tool cannot enter can be specified with stored stroke check 1, stored stroke check 2, and stored stroke check 3. STORED STROKE CHECK ÇÇÇÇÇÇÇÇÇ Ç (X,Y,Z) ÇÇÇÇÇÇÇÇÇ ÇÇÇÇÇÇÇÇÇ ÇÇÇÇÇÇÇ ÇÇÇÇÇÇÇÇÇ ÇÇ ÇÇÇÇÇÇÇ (I,J,K) ÇÇÇÇÇÇÇÇÇÇÇÇÇÇ (1)For
  • Page 549B–64124EN/01 OPERATION 6. SAFETY FUNCTIONS G 22X_Y_Z_I_J_K_; ÇÇÇÇÇÇÇÇ (X,Y,Z) ÇÇÇÇÇÇÇÇ ÇÇÇÇÇÇÇÇ (I,J,K) ÇÇÇÇÇÇÇÇ X>I, Y>J, Z>K X–I >ζ (In least command increment) Y–J >ζ (In least command increment) Z–K >ζ ((In least command increment) F ζ (mm)= 7500 F=Rapid traverse speed (mm/min) Fig. 6.3 (b) Crea
  • Page 5506. SAFETY FUNCTIONS OPERATION B–64124EN/01 B The position of the tool after reference position return b A a ÇÇÇÇÇÇÇÇÇÇÇÇÇÇ Area boundary ÇÇÇÇÇÇÇÇÇÇÇÇÇÇ Fig. 6.3 (d) Setting the forbidden area D Forbidden area Area can be set in piles. ÇÇÇÇÇÇÇÇÇÇ over lapping ÇÇÇÇÇÇÇÇÇÇ ÇÇÇÇÇÇ ÇÇÇÇÇÇÇÇÇÇ ÇÇÇÇÇÇÇÇÇÇ Ç
  • Page 551B–64124EN/01 OPERATION 6. SAFETY FUNCTIONS D Change from G23 to When G23 is switched to G22 in the forbidden area, the following results. G22 in a forbidden area (1) When the forbidden area is inside, an alarm is informed in the next move. (2) When the forbidden area is outside, an alarm is informed
  • Page 5526. SAFETY FUNCTIONS OPERATION B–64124EN/01 6.4 During automatic operation, before the movement specified by a given block is started, whether the tool enters the inhibited area defined by STROKE LIMIT stored stroke limit 1 or 2 is checked by determining the position of the end CHECK PRIOR TO point f
  • Page 553B–64124EN/01 OPERATION 6. SAFETY FUNCTIONS Example 2) End point Inhibited area defined by stored stroke limit 2 a The tool is stopped at point a according Start point to stored stroke limit 1 or 2. Inhibited area defined by stored stroke limit 2 End point Immediately upon movement commencing from th
  • Page 5546. SAFETY FUNCTIONS OPERATION B–64124EN/01 D Cyrindrical interpolation In cylindrical interpolation mode, no check is made. mode D Angular axis control When the angulalr axis control option is selected, no check is made. D Simple synchronous In simple synchronous control, only the master axis is che
  • Page 5557. ALARM AND SELF–DIAGNOSIS B–64124EN/01 OPERATION FUNCTIONS 7 ALARM AND SELF–DIAGNOSIS FUNCTIONS When an alarm occurs, the corresponding alarm screen appears to indicate the cause of the alarm. The causes of alarms are classified by alarm numbers. Up to 50 previous alarms can be stored and displaye
  • Page 5567. ALARM AND SELF–DIAGNOSIS FUNCTIONS OPERATION B–64124EN/01 7.1 ALARM DISPLAY Explanations D Alarm screen When an alarm occurs, the alarm screen appears. ALARM MESSAGE 0000 00000 100 PARAMETER WRITE ENABLE 510 OVER TR1AVEL :+X 417 SERVO ALARM :X AXIS DGTL PARAM 417 SERVO ALARM :X AXIS DGTL PARAM S
  • Page 5577. ALARM AND SELF–DIAGNOSIS B–64124EN/01 OPERATION FUNCTIONS D Reset of the alarm Alarm numbers and messages indicate the cause of an alarm. To recover from an alarm, eliminate the cause and press the reset key. D Alarm numbers The error codes are classified as follows: No. 000 to 255 : P/S alarm (P
  • Page 5587. ALARM AND SELF–DIAGNOSIS FUNCTIONS OPERATION B–64124EN/01 7.2 Up to 50 of the most recent CNC alarms are stored and displayed on the screen. ALARM HISTORY Display the alarm history as follows: DISPLAY Procedure for Alarm History Display Procedure 1 Press the function key MESSAGE . 2 Press the cha
  • Page 5597. ALARM AND SELF–DIAGNOSIS B–64124EN/01 OPERATION FUNCTIONS 7.3 The system may sometimes seem to be at a halt, although no alarm has occurred. In this case, the system may be performing some processing. CHECKING BY The state of the system can be checked by displaying the self–diagnostic SELF–DIAGNO
  • Page 5607. ALARM AND SELF–DIAGNOSIS FUNCTIONS OPERATION B–64124EN/01 Explanations Diagnostic numbers 000 to 015 indicate states when a command is being specified but appears as if it were not being executed. The table below lists the internal states when 1 is displayed at the right end of each line on the s
  • Page 5617. ALARM AND SELF–DIAGNOSIS B–64124EN/01 OPERATION FUNCTIONS The table below shows the signals and states which are enabled when each diagnostic data item is 1. Each combination of the values of the diagnostic data indicates a unique state. 020 CUT SPEED UP/DOWN 1 0 0 0 1 0 0 021 RESET BUTTON ON 0 0
  • Page 5628. DATA INPUT/OUTPUT OPERATION B–64124EN/01 8 DATA INPUT/OUTPUT NC data is transferred between the NC and external input/output devices such as the Handy File. The memory card interface located to the left of the display can be used to read information on a memory card in the CNC or write it to the
  • Page 563B–64124EN/01 OPERATION 8. DATA INPUT/OUTPUT 8.1 Of the external input/output devices, the FANUC Handy File use floppy disks as their input/output medium. FILES In this manual, these input/output medium is generally referred to as a floppy. Unlike an NC tape, a floppy allows the user to freely choose
  • Page 5648. DATA INPUT/OUTPUT OPERATION B–64124EN/01 D Protect switch The floppy is provided with the write protect switch. Set the switch to the write enable state. Then, start output operation. Write protect switch of a cassette (1) Write–protected (2) Write–enabled (Only reading is (Reading, writing, poss
  • Page 565B–64124EN/01 OPERATION 8. DATA INPUT/OUTPUT 8.2 When the program is input from the floppy, the file to be input first must be searched. FILE SEARCH For this purpose, proceed as follows: File 1 File 2 File 3 File n Blank File searching of the file n File heading Procedure 1 Press the EDIT or MEMORY s
  • Page 5668. DATA INPUT/OUTPUT OPERATION B–64124EN/01 Alarm Alarm No. Description The ready signal (DR) of an input/output device is off. An alarm is not immediately indicated in the CNC even when an alarm occurs during head searching (when a file is not found, or 86 the like). An alarm is given when the inpu
  • Page 567B–64124EN/01 OPERATION 8. DATA INPUT/OUTPUT 8.3 Files stored on a floppy can be deleted file by file as required. FILE DELETION File deletion Procedure 1 Insert the floppy into the input/output device so that it is ready for writing. 2 Press the EDIT switch on the machine operator’s panel. 3 Press f
  • Page 5688. DATA INPUT/OUTPUT OPERATION B–64124EN/01 8.4 PROGRAM INPUT/OUTPUT 8.4.1 This section describes how to load a program into the CNC from a floppy Inputting a Program or NC tape. Inputting a program Procedure 1 Make sure the input device is ready for reading. 2 Press the EDIT switch on the machine o
  • Page 569B–64124EN/01 OPERATION 8. DATA INPUT/OUTPUT D Program numbers on a • When a program is entered without specifying a program number. NC tape ⋅ The O–number of the program on the NC tape is assigned to the program. If the program has no O–number, the N–number in the first block is assigned to the prog
  • Page 5708. DATA INPUT/OUTPUT OPERATION B–64124EN/01 S Pressing the [CHAIN] soft key positions the cursor to the end of the registered program. Once a program has been input, the cursor is positioned to the start of the new program. S Additional input is possible only when a program has already been register
  • Page 571B–64124EN/01 OPERATION 8. DATA INPUT/OUTPUT 8.4.2 A program stored in the memory of the CNC unit is output to a floppy or Outputting a Program NC tape. Outputting a program Procedure 1 Make sure the output device is ready for output. 2 To output to an NC tape, specify the punch code system (ISO or E
  • Page 5728. DATA INPUT/OUTPUT OPERATION B–64124EN/01 D Punching programs in Punch operation can be performed in the same way as in the foreground. the background This function alone can punch out a program selected for foreground operation. (Program No.) [PUNCH] [EXEC]: Punches out a specified program. <
  • Page 573B–64124EN/01 OPERATION 8. DATA INPUT/OUTPUT 8.5 OFFSET DATA INPUT AND OUTPUT 8.5.1 Offset data is loaded into the memory of the CNC from a floppy or NC Inputting Offset Data tape. The input format is the same as for offset value output. See III– 8.5.2. When an offset value is loaded which has the sa
  • Page 5748. DATA INPUT/OUTPUT OPERATION B–64124EN/01 8.5.2 All offset data is output in a output format from the memory of the CNC Outputting Offset Data to a floppy or NC tape. Outputting offset data Procedure 1 Make sure the output device is ready for output. 2 Specify the punch code system (ISO or EIA) us
  • Page 575B–64124EN/01 OPERATION 8. DATA INPUT/OUTPUT 8.6 Parameters and pitch error compensation data are input and output from different screens, respectively. This chapter describes how to enter them. INPUTTING AND OUTPUTTING PARAMETERS AND PITCH ERROR COMPENSATION DATA 8.6.1 Parameters are loaded into the
  • Page 5768. DATA INPUT/OUTPUT OPERATION B–64124EN/01 15 Turn the power to the CNC back on. 16 Release the EMERGENCY STOP button on the machine operator’s panel. 8.6.2 All parameters are output in the defined format from the memory of the CNC to a floppy or NC tape. Outputting Parameters Outputting parameters
  • Page 577B–64124EN/01 OPERATION 8. DATA INPUT/OUTPUT 8.6.3 Pitch error compensation data are loaded into the memory of the CNC Inputting Pitch Error from a floppy or NC tape. The input format is the same as the output format. See III–8.6.4. When a pitch error compensation data is loaded Compensation Data whi
  • Page 5788. DATA INPUT/OUTPUT OPERATION B–64124EN/01 8.6.4 All pitch error compensation data are output in the defined format from Outputting Pitch Error the memory of the CNC to a floppy or NC tape. Compensation Data Outputting Pitch Error Compensation Data Procedure 1 Make sure the output device is ready f
  • Page 579B–64124EN/01 OPERATION 8. DATA INPUT/OUTPUT 8.7 INPUTTING/OUTPUT- TING CUSTOM MACRO COMMON VARIABLES 8.7.1 The value of a custom macro common variable (#500 to #999) is loaded into the memory of the CNC from a floppy or NC tape. The same format Inputting Custom Macro used to output custom macro comm
  • Page 5808. DATA INPUT/OUTPUT OPERATION B–64124EN/01 8.7.2 Custom macro common variables (#500 to #999) stored in the memory Outputting Custom of the CNC can be output in the defined output format to a floppy or NC tape. Macro Common Variable Outputting custom macro common variable Procedure 1 Make sure the
  • Page 581B–64124EN/01 OPERATION 8. DATA INPUT/OUTPUT 8.8 On the floppy directory display screen, in a directory of the files stored in an external input/output device (such as FANUC Handy File) in floppy DISPLAYING format, files can be input, output, and deleted. DIRECTORY OF FLOPPY CASSETTE DIRECTORY (FLOPP
  • Page 5828. DATA INPUT/OUTPUT OPERATION B–64124EN/01 8.8.1 Displaying the Directory Displaying the directory of floppy cassette files Procedure 1 Use the following procedure to display a directory of all the files stored in a floppy: 1 Press the EDIT switch on the machine operator’s panel. 2 Press function k
  • Page 583B–64124EN/01 OPERATION 8. DATA INPUT/OUTPUT Procedure 2 Use the following procedure to display a directory of files starting with a specified file number : 1 Press the EDIT switch on the machine operator’s panel. 2 Press function key PROG . 3 Press the rightmost soft key (next–menu key). 4 Press sof
  • Page 5848. DATA INPUT/OUTPUT OPERATION B–64124EN/01 Explanations D Screen fields and their NO :Displays the file number meanings FILE NAME: Displays the file name. (METER) : Converts and prints out the file capacity to paper tape length.You can also produce H (FEET) I by setting the INPUT UNIT to INCH of th
  • Page 585B–64124EN/01 OPERATION 8. DATA INPUT/OUTPUT 8.8.2 The contents of the specified file number are read to the memory of NC. Reading Files Reading files Procedure 1 Press the EDIT switch on the machine operator’s panel. 2 Press function key PROG . 3 Press the rightmost soft key (next–menu key). 4 Press
  • Page 5868. DATA INPUT/OUTPUT OPERATION B–64124EN/01 8.8.3 Any program in the memory of the CNC unit can be output to a floppy Outputting Programs as a file. Outputting programs Procedure 1 Press the EDIT switch on the machine operator’s panel. 2 Press function key PROG . 3 Press the rightmost soft key (next
  • Page 587B–64124EN/01 OPERATION 8. DATA INPUT/OUTPUT 8.8.4 The file with the specified file number is deleted. Deleting Files Deleting files Procedure 1 Press the EDIT switch on the machine operator’s panel. 2 Press function key PROG . 3 Press the rightmost soft key (next–menu key). 4 Press soft key [FLOPPY]
  • Page 5888. DATA INPUT/OUTPUT OPERATION B–64124EN/01 Restrictions D Inputting file numbers If [F SET] or [O SET] is pressed without key inputting file number and and program numbers program number, file number or program number shows blank. When with keys 0 is entered for file numbers or program numbers, 1 i
  • Page 589B–64124EN/01 OPERATION 8. DATA INPUT/OUTPUT 8.9 CNC programs stored in memory can be grouped according to their names, thus enabling the output of CNC programs in group units. Section OUTPUTTING A III–11.3.2 explains the display of a program listing for a specified group. PROGRAM LIST FOR A SPECIFIE
  • Page 5908. DATA INPUT/OUTPUT OPERATION B–64124EN/01 8.10 To input/output a particular type of data, the corresponding screen is usually selected. For example, the parameter screen is used for parameter DATA INPUT/OUTPUT input from or output to an external input/output unit, while the program ON THE ALL IO s
  • Page 591B–64124EN/01 OPERATION 8. DATA INPUT/OUTPUT 8.10.1 Input/output–related parameters can be set on the ALL IO screen. Setting Parameters can be set, regardless of the mode. Input/Output–Related Parameters Setting input/output–related parameters Procedure 1 Press function key SYSTEM . 2 Press the right
  • Page 5928. DATA INPUT/OUTPUT OPERATION B–64124EN/01 8.10.2 A program can be input and output using the ALL IO screen. Inputting and When entering a program using a cassette, the user must specify the input file containing the program (file search). Outputting Programs File search Procedure 1 Press soft key
  • Page 593B–64124EN/01 OPERATION 8. DATA INPUT/OUTPUT 6 Press soft keys [F SRH] and [EXEC]. CAN EXEC The specified file is found. Explanations D Difference between N0 When a file already exists in a cassette, specifying N0 or N1 has the same and N1 effect. If N1 is specified when there is no file on the casse
  • Page 5948. DATA INPUT/OUTPUT OPERATION B–64124EN/01 Inputting a program Procedure 1 Press soft key [PRGRM] on the ALL IO screen, described in Section III–8.10.1. 2 Select EDIT mode. A program directory is displayed. 3 Press soft key [(OPRT)] . The screen and soft keys change as shown below. ⋅ A program dire
  • Page 595B–64124EN/01 OPERATION 8. DATA INPUT/OUTPUT Outputting programs Procedure 1 Press soft key [PRGRM] on the ALL IO screen, described in Section III–8.10.1. 2 Select EDIT mode. A program directory is displayed. 3 Press soft key [(OPRT)] . The screen and soft keys change as shown below. ⋅ A program dire
  • Page 5968. DATA INPUT/OUTPUT OPERATION B–64124EN/01 Deleting files Procedure 1 Press soft key [PRGRM] on the ALL IO screen, described in Section III–8.10.1. 2 Select EDIT mode. A program directory is displayed. 3 Press soft key [(OPRT)] . The screen and soft keys change as shown below. ⋅ A program directory
  • Page 597B–64124EN/01 OPERATION 8. DATA INPUT/OUTPUT 8.10.3 Parameters can be input and output using the ALL IO screen. Inputting and Outputting Parameters Inputting parameters Procedure 1 Press soft key [PARAM] on the ALL IO screen, described in Section III–8.10.1. 2 Select EDIT mode. 3 Press soft key [(OPR
  • Page 5988. DATA INPUT/OUTPUT OPERATION B–64124EN/01 Outputting parameters Procedure 1 Press soft key [PARAM] on the ALL IO screen, described in Section III–8.10.1. 2 Select EDIT mode. 3 Press soft key [(OPRT)] . The screen and soft keys change as shown below. READ/PUNCH (PARAMETER) O1234 N12345 I/O CHANNEL
  • Page 599B–64124EN/01 OPERATION 8. DATA INPUT/OUTPUT 8.10.4 Offset data can be input and output using the ALL IO screen. Inputting and Outputting Offset Data Inputting offset data Procedure 1 Press soft key [OFFSET] on the ALL IO screen, described in Section III–8.10.1. 2 Select EDIT mode. 3 Press soft key [
  • Page 6008. DATA INPUT/OUTPUT OPERATION B–64124EN/01 Outputting offset data Procedure 1 Press soft key [OFFSET] on the ALL IO screen, described in Section III–8.10.1. 2 Select EDIT mode. 3 Press soft key [(OPRT)] . The screen and soft keys change as shown below. READ/PUNCH (OFFSET) O1234 N12345 I/O CHANNEL 1
  • Page 601B–64124EN/01 OPERATION 8. DATA INPUT/OUTPUT 8.10.5 Custom macro common variables can be output using the ALL IO screen. Outputting Custom Macro Common Variables Outputting custom macro common variables Procedure 1 Press soft key [MACRO] on the ALL IO screen, described in Section III–8.10.1. 2 Select
  • Page 6028. DATA INPUT/OUTPUT OPERATION B–64124EN/01 8.10.6 The ALL IO screen supports the display of a directory of floppy files, as Inputting and well as the input and output of floppy files. Outputting Floppy Files Displaying a file directory Procedure 1 Press the rightmost soft key (next–menu key) on the
  • Page 603B–64124EN/01 OPERATION 8. DATA INPUT/OUTPUT READ/PUNCH (FLOPPY) O1234 N12345 No. FILE NAME (Meter) VOL 0001 PARAMETER 46.1 0002 ALL.PROGRAM 12.3 0003 O0001 11.9 0004 O0002 11.9 0005 O0003 11.9 0006 O0004 0007 O0005 11.9 0008 O0010 11.9 0009 O0020 11.9 11.9 F SRH File No.=2 >2_ EDIT * * * * * * * * *
  • Page 6048. DATA INPUT/OUTPUT OPERATION B–64124EN/01 Inputting a file Procedure 1 Press the rightmost soft key (next–menu key) on the ALL IO screen, described in Section III–8.10.1. 2 Press soft key [FLOPPY] . 3 Select EDIT mode. The floppy screen is displayed. 4 Press soft key [(OPRT)] . The screen and soft
  • Page 605B–64124EN/01 OPERATION 8. DATA INPUT/OUTPUT Outputting a file Procedure 1 Press the rightmost soft key (next–menu key) on the ALL IO screen, described in Section III–8.10.1. 2 Press soft key [FLOPPY] . 3 Select EDIT mode. The floppy screen is displayed. 4 Press soft key [(OPRT)] . The screen and sof
  • Page 6068. DATA INPUT/OUTPUT OPERATION B–64124EN/01 Deleting a file Procedure 1 Press the rightmost soft key (next–menu key) on the ALL IO screen, described in Section III–8.10.1. 2 Press soft key [FLOPPY] . 3 Select EDIT mode. The floppy screen is displayed. 4 Press soft key [(OPRT)] . The screen and soft
  • Page 607B–64124EN/01 OPERATION 8. DATA INPUT/OUTPUT 8.11 By setting the I/O channel (parameter No. 0020) to 4, files on a memory card inserted into the memory card interface located to the left of the DATA INPUT/OUTPUT display can be referenced. Different types of data such as part programs, USING A MEMORY
  • Page 6088. DATA INPUT/OUTPUT OPERATION B–64124EN/01 Displaying a directory of stored files Procedure 1 Press the EDIT switch on the machine operator’s panel. 2 Press function key PROG . 3 Press the rightmost soft key (next–menu key). 4 Press soft key [CARD]. The screen shown below is displayed. Using page k
  • Page 609B–64124EN/01 OPERATION 8. DATA INPUT/OUTPUT Searching for a file Procedure 1 Press the EDIT switch on the machine operator’s panel. 2 Press function key PROG . 3 Press the rightmost soft key (next–menu key). 4 Press soft key [CARD]. The screen shown below is displayed. DIRECTORY (M–CARD) O0034 N0004
  • Page 6108. DATA INPUT/OUTPUT OPERATION B–64124EN/01 Reading a file Procedure 1 Press the EDIT switch on the machine operator’s panel. 2 Press function key PROG. 3 Press the rightmost soft key (next–menu key). 4 Press soft key [CARD]. Then, the screen shown below is displayed. DIRECTORY (M–CARD) O0034 N00045
  • Page 611B–64124EN/01 OPERATION 8. DATA INPUT/OUTPUT 8 To specify a file with its file name, press soft key [N READ] in step 6 above. The screen shown below is displayed. DIRECTORY (M–CARD) O0001 N00010 No. FILE NAME COMMENT 0012 O0050 (MAIN PROGRAM) 0013 TESTPRO (SUB PROGRAM–1) 0014 O0060 (MACRO PROGRAM) ~
  • Page 6128. DATA INPUT/OUTPUT OPERATION B–64124EN/01 Writing a file Procedure 1 Press the EDIT switch on the machine operator’s panel. 2 Press function key PROG . 3 Press the rightmost soft key (next–menu key). 4 Press soft key [CARD]. The screen shown below is displayed. DIRECTORY (M–CARD) O0034 N00045 No.
  • Page 613B–64124EN/01 OPERATION 8. DATA INPUT/OUTPUT Explanations D Registering the same file When a file is output to the memory card, another file having the same name name may already exist in the memory card. Bit 6 (OWM) of parameter No. 0138 can be used to select whether to overwrite the existing file u
  • Page 6148. DATA INPUT/OUTPUT OPERATION B–64124EN/01 Deleting a file Procedure 1 Press the EDIT switch on the machine operator’s panel. 2 Press function key PROG . 3 Press the rightmost soft key (next–menu key). 4 Press soft key [CARD]. The screen shown below is displayed. DIRECTORY (M–CARD) O0034 N00045 No.
  • Page 615B–64124EN/01 OPERATION 8. DATA INPUT/OUTPUT Batch input/output with a memory card On the ALL IO screen, different types of data including part programs, parameters, offset data, pitch error data, custom macros, and workpiece coordinate system data can be input and output using a memory card; the scr
  • Page 6168. DATA INPUT/OUTPUT OPERATION B–64124EN/01 Explanations D Each data item When this screen is displayed, the program data item is selected. Select other items by pressing the soft keys that appear when the user presses next–menu key . MACRO PITCH WORK (OPRT) When a data item other than program is se
  • Page 617B–64124EN/01 OPERATION 8. DATA INPUT/OUTPUT File format and error messages Format All files that are read from and written to a memory card are of text format. The format is described below. A file starts with % or LF, followed by the actual data. A file always ends with %. In a read operation, data
  • Page 6188. DATA INPUT/OUTPUT OPERATION B–64124EN/01 Memory Card Error Codes Code Meaning 99 A part preceding the FAT area on the memory card is destroyed. 102 The memory card does not have sufficient free space. 105 No memory card is mounted. 106 A memory card is already mounted. 110 The specified directory
  • Page 619B–64124EN/01 OPERATION 9. EDITING PROGRAMS 9 EDITING PROGRAMS General This chapter describes how to edit programs registered in the CNC. Editing includes the insertion, modification, deletion, and replacement of words. Editing also includes deletion of the entire program and automatic insertion of s
  • Page 6209. EDITING PROGRAMS OPERATION B–64124EN/01 9.1 This section outlines the procedure for inserting, modifying, and deleting a word in a program registered in memory. INSERTING, ALTERING AND DELETING A WORD Procedure for inserting, altering and deleting a word 1 Select EDIT mode. 2 Press PROG . 3 Selec
  • Page 621B–64124EN/01 OPERATION 9. EDITING PROGRAMS 9.1.1 A word can be searched for by merely moving the cursor through the text Word Search (scanning), by word search, or by address search. Procedure for scanning a program 1 Press the cursor key . The cursor moves forward word by word on the screen; the cu
  • Page 6229. EDITING PROGRAMS OPERATION B–64124EN/01 Procedure for searching a word Example) of Searching for S12 PROGRAM O0050 N01234 N01234 is being O0050 ; searched for/ N01234 X100.0 Z1250.0 ; scanned currently. S12 ; S12 is searched N56789 M03 ; for. M02 ; % 1 Key in address S . 2 Key in 1 2 . ⋅ S12 cann
  • Page 623B–64124EN/01 OPERATION 9. EDITING PROGRAMS 9.1.2 The cursor can be jumped to the top of a program. This function is called Heading a Program heading the program pointer. This section describes the three methods for heading the program pointer. Procedure for Heading a Program Method 1 1 Press RESET w
  • Page 6249. EDITING PROGRAMS OPERATION B–64124EN/01 9.1.3 Inserting a Word Procedure for inserting a word 1 Search for or scan the word immediately before a word to be inserted. 2 Key in an address to be inserted. 3 Key in data. 4 Press the INSERT key. Example of Inserting T15 Procedure 1 Search for or scan
  • Page 625B–64124EN/01 OPERATION 9. EDITING PROGRAMS 9.1.4 Altering a Word Procedure for altering a word 1 Search for or scan a word to be altered. 2 Key in an address to be inserted. 3 Key in data. 4 Press the ALTER key. Example of changing T15 to M15 Procedure 1 Search for or scan T15. Program O0050 N01234
  • Page 6269. EDITING PROGRAMS OPERATION B–64124EN/01 9.1.5 Deleting a Word Procedure for deleting a word 1 Search for or scan a word to be deleted. 2 Press the DELETE key. Example of deleting X100.0 Procedure 1 Search for or scan X100.0. Program O0050 N01234 O0050 ; X100.0 is N01234 X100.0 Z1250.0 M15 ; searc
  • Page 627B–64124EN/01 OPERATION 9. EDITING PROGRAMS 9.2 A block or blocks can be deleted in a program. DELETING BLOCKS 9.2.1 The procedure below deletes a block up to its EOB code; the cursor Deleting a Block advances to the next word. Procedure for deleting a block 1 Search for or scan address N for a block
  • Page 6289. EDITING PROGRAMS OPERATION B–64124EN/01 9.2.2 The blocks from the currently displayed word to the block with a specified Deleting Multiple sequence number can be deleted. Blocks Procedure for deleting multiple blocks 1 Search for or scan a word in the first block of a portion to be deleted. 2 Key
  • Page 629B–64124EN/01 OPERATION 9. EDITING PROGRAMS 9.3 When memory holds multiple programs, a program can be searched for. There are three methods as follows. PROGRAM NUMBER SEARCH Procedure for program number search Method 1 1 Select EDIT or MEMORY mode. 2 Press PROG to display the program screen. 3 Key in
  • Page 6309. EDITING PROGRAMS OPERATION B–64124EN/01 9.4 Sequence number search operation is usually used to search for a sequence number in the middle of a program so that execution can be SEQUENCE started or restarted at the block of the sequence number. NUMBER SEARCH Example) Sequence number 02346 in a pro
  • Page 631B–64124EN/01 OPERATION 9. EDITING PROGRAMS Explanations D 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
  • Page 6329. EDITING PROGRAMS OPERATION B–64124EN/01 9.5 Programs registered in memory can be deleted,either one program by one program or all at once. Also, More than one program can be deleted by DELETING specifying a range. PROGRAMS 9.5.1 A program registered in memory can be deleted. Deleting One Program
  • Page 633B–64124EN/01 OPERATION 9. EDITING PROGRAMS 9.5.3 Programs within a specified range in memory are deleted. Deleting More Than One Program by Specifying a Range Procedure for deleting more than one program by specifying a range 1 Select the EDIT mode. 2 Press PROG to display the program screen. 3 Ente
  • Page 6349. EDITING PROGRAMS OPERATION B–64124EN/01 9.6 With the extended part program editing function, the operations described below can be performed using soft keys for programs that have been EXTENDED PART registered in memory. PROGRAM EDITING Following editing operations are available : FUNCTION ⋅ All
  • Page 635B–64124EN/01 OPERATION 9. EDITING PROGRAMS 9.6.1 A new program can be created by copying a program. Copying an Entire Program Before copy After copy Oxxxx Oxxxx Oyyyy A Copy A A Fig. 9.6.1 Copying an entire program In Fig. 9.6.1, the program with program number xxxx is copied to a newly created prog
  • Page 6369. EDITING PROGRAMS OPERATION B–64124EN/01 9.6.2 A new program can be created by copying part of a program. Copying Part Before copy After copy of a Program Oxxxx Oxxxx Oyyyy A Copy A B B B C C Fig. 9.6.2 Copying part of a program In Fig. 9.6.2, part B of the program with program number xxxx is copi
  • Page 637B–64124EN/01 OPERATION 9. EDITING PROGRAMS 9.6.3 A new program can be created by moving part of a program. Moving Part of a Program Before copy After copy Oxxxx Oxxxx Oyyyy A Copy A B B C C Fig. 9.6.3 Moving part of a program In Fig. 9.6.3, part B of the program with program number xxxx is moved to
  • Page 6389. EDITING PROGRAMS OPERATION B–64124EN/01 9.6.4 Another program can be inserted at an arbitrary position in the current Merging a Program program. Before merge After merge Oxxxx Oyyyy Oxxxx Oyyyy A B Merge A B C B Merge location C Fig. 9.6.4 Merging a program at a specified location In Fig. 9.6.4,
  • Page 639B–64124EN/01 OPERATION 9. EDITING PROGRAMS 9.6.5 Supplementary Explanation for Copying, Moving and Merging Explanations D Setting an editing range The setting of an editing range start point with [CRSR] can be changed freely until an editing range end point is set with [CRSR] or [BTTM] . If an ed
  • Page 6409. EDITING PROGRAMS OPERATION B–64124EN/01 Alarm Alarm no. Contents Memory became insufficient while copying or inserting 70 a program. Copy or insertion is terminated. The power was interrupted during copying, moving, or inserting a program and memory used for editing must be cleared. When this ala
  • Page 641B–64124EN/01 OPERATION 9. EDITING PROGRAMS 9.6.6 Replace one or more specified words. Replacement of Replacement can be applied to all occurrences or just one occurrence of specified words or addresses in the program. Words and Addresses Procedure for hange of words or addresses 1 Perform steps 1 to
  • Page 6429. EDITING PROGRAMS OPERATION B–64124EN/01 Explanation D Replacing custom The following custom macro words are replaceable: macros IF, WHILE, GOTO, END, DO, BPRNT, DPRINT, POPEN, PCLOS The abbreviations of custom macro words can be specified. When abbreviations are used, however, the screen displays
  • Page 643B–64124EN/01 OPERATION 9. EDITING PROGRAMS 9.7 Unlike ordinary programs, custom macro programs are modified, inserted, or deleted based on editing units. EDITING OF Custom macro words can be entered in abbreviated form. CUSTOM MACROS Comments can be entered in a program. Refer to the III–10.1 for th
  • Page 6449. EDITING PROGRAMS OPERATION B–64124EN/01 9.8 Editing a program while executing another program is called background editing. The method of editing is the same as for ordinary editing BACKGROUND (foreground editing). EDITING A program edited in the background should be registered in foreground prog
  • Page 645B–64124EN/01 OPERATION 9. EDITING PROGRAMS 9.9 The password function (bit 4 (NE9) of parameter No. 3202) can be locked using parameter No. 3210 (PASSWD) and parameter No. 3211 PASSWORD (KEYWD) to protect program Nos. 9000 to 9999. In the locked state, FUNCTION parameter NE9 cannot be set to 0. In th
  • Page 6469. EDITING PROGRAMS OPERATION B–64124EN/01 D Setting 0 in parameter When 0 is set in the parameter PASSWD, the number 0 is displayed, and PASSWD the password function is disabled. In other words, the password function can be disabled by either not setting parameter PASSWD at all, or by setting 0 in
  • Page 647B–64124EN/01 OPERATION 10. CREATING PROGRAMS 10 CREATING PROGRAMS Programs can be created using any of the following methods: ⋅ CREATING PROGRAMS USING THE MDI PANEL ⋅ PROGRAMMING IN TEACH IN MODE ⋅ CONVERSATIONAL AUTOMATIC PROGRAMMING FUNCTION ⋅ MANUAL GUIDE 0i ⋅ AUTOMATIC PROGRAM PREPARATION DEVIC
  • Page 64810. CREATING PROGRAMS OPERATION B–64124EN/01 10.1 Programs can be created in the EDIT mode using the program editing functions described in III–9. CREATING PROGRAMS USING THE MDI PANEL Procedure for Creating Programs Using the MDI Panel Procedure 1 Enter the EDIT mode. 2 Press the PROG key. 3 Press
  • Page 649B–64124EN/01 OPERATION 10. CREATING PROGRAMS 10.2 Sequence numbers can be automatically inserted in each block when a program is created using the MDI keys in the EDIT mode. AUTOMATIC Set the increment for sequence numbers in parameter 3216. INSERTION OF SEQUENCE NUMBERS Procedure for automatic inse
  • Page 65010. CREATING PROGRAMS OPERATION B–64124EN/01 9 Press INSERT . 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
  • Page 651B–64124EN/01 OPERATION 10. CREATING PROGRAMS 10.3 The TEACH IN JOG mode and TEACH IN HANDLE mode are added. In these modes, a machine position along the X, Y, and Z axes obtained by CREATING manual operation is stored in memory as a program position to create a PROGRAMS IN program. TEACH IN MODE The
  • Page 65210. CREATING PROGRAMS OPERATION B–64124EN/01 1 Set the setting data SEQUENCE NO. to 1 (on). (The incremental value parameter (No. 3216) is assumed to be “1”.) 2 Select the TEACH IN HANDLE mode. 3 Make positioning at position P0 by the manual pulse generator. 4 Select the program screen. 5 Enter prog
  • Page 653B–64124EN/01 OPERATION 10. CREATING PROGRAMS Explanations D Checking contents of the The contents of memory can be checked in the TEACH IN mode by using memory the same procedure as in EDIT mode. PROGRAM O1234 N00004 (RELATIVE) (ABSOLUTE) X –6.975 X 3.025 Y 23.723 Y 23.723 Z –10.325 Z –0.325 O1234 ;
  • Page 65410. CREATING PROGRAMS OPERATION B–64124EN/01 10.4 Programs can be created block after block on the conversational screen while displaying the G code menu. CONVERSATIONAL Blocks in a program can be modified, inserted, or deleted using the G code PROGRAMMING menu and conversational screen. WITH GRAPHI
  • Page 655B–64124EN/01 OPERATION 10. CREATING PROGRAMS 4 Press the [C.A.P] soft key. The following G code menu is displayed on the screen. If soft keys different from those shown in step 2 are displayed, press the menu return key to display the correct soft keys. PROGRAM O1234 N00004 G00 : POSITIONING G01 : L
  • Page 65610. CREATING PROGRAMS OPERATION B–64124EN/01 When no keys are pressed, the standard details screen is displayed. PROGRAM O0010 N00000 G G G G X Y Z H F R M S T B I J K P Q L : EDIT * * * * *** *** 14 : 41 : 10 PRGRM G.MENU BLOCK (OPRT) 7 Move the cursor to the block to be modified on the program scr
  • Page 657B–64124EN/01 OPERATION 10. CREATING PROGRAMS 4 After data is changed completely, press the ALTER key. This operation replaces an entire block of a program. Procedure 3 1 On the conversational screen, display the block immediately before a Inserting a block new block is to be inserted, by using the p
  • Page 65811. SETTING AND DISPLAYING DATA OPERATION B–64124EN/01 11 SETTING AND DISPLAYING DATA General To operate a CNC machine tool, various data must be set on the MDI panel for the CNC. The operator can monitor the state of operation with data displayed during operation. This chapter describes how to disp
  • Page 659B–64124EN/01 OPERATION 11. SETTING AND DISPLAYING DATA POSITION DISPLAY SCREEN Screen transition triggered by the function key POS POS Current position screen ABS REL ALL HNDL (OPRT) Position display of Position displays Total position display Manual handle work coordinate relative coordinate of eac
  • Page 66011. SETTING AND DISPLAYING DATA OPERATION B–64124EN/01 PROGRAM SCREEN Screen transition triggered by the function key PROG in the MEMORY or MDI mode 1/2 PROG Program screen *: Displayed in MDI mode MDI * MEM MDI PRGRM CHECK CURRNT NEXT (OPRT) [MDI] * Display of proĆ Display of current Display of cur
  • Page 661B–64124EN/01 OPERATION 11. SETTING AND DISPLAYING DATA 2/2 1* 1* Program screen MDI MEM RSTR DIR (OPRT) Program restart Display of program memory and proĆ screen gram directory ⇒See III-4.4. ⇒See III-11.3.1. Program screen MEM FL.SDL (OPRT) [PRGRM] [DIR] [SCHDUL] Display of file Setting of directory
  • Page 66211. SETTING AND DISPLAYING DATA OPERATION B–64124EN/01 Screen transition triggered by the function key PROG PROGRAM SCREEN in the EDIT mode PROG Program screen EDIT PRGRM LIB C.A.P. (OPRT) Program editing Program memory Conversational screen and program diĆ programming ⇒ See III-9 rectory screen ⇒ S
  • Page 663B–64124EN/01 OPERATION 11. SETTING AND DISPLAYING DATA OFFSET/SETTING SCREEN Screen transition triggered by the function key OFFSET SETTING OFFSET SETTING Tool offset value OFFSET SETTING WORK (OPRT) Display of tool Display of setĆ Display of workĆ offset value ting data piece coordinate ⇒ See III-1
  • Page 66411. SETTING AND DISPLAYING DATA OPERATION B–64124EN/01 SYSTEM SCREEN Screen transition triggered by the function key SYSTEM SYSTEM Parameter screen PARAM DGNOS PMC SYSTEM (OPRT) Display of Display of parameter screen diagnosis ⇒ See III-11.5.1 screen ⇒ See III-7.3 Setting of parameter ⇒ See III-11.5
  • Page 665B–64124EN/01 OPERATION 11. SETTING AND DISPLAYING DATA D Setting screens The table below lists the data set on each screen. Table.11. Setting screens and data on them Reference No. Setting screen Contents of setting item 1 Tool offset value Tool offset value III–11.4.1 Tool length offset value Cutte
  • Page 66611. SETTING AND DISPLAYING DATA OPERATION B–64124EN/01 11.1 Press function key POS to display the current position of the tool. SCREENS The following three screens are used to display the current position of the DISPLAYED BY tool: ⋅Position display screen for the work coordinate system. FUNCTION KEY
  • Page 667B–64124EN/01 OPERATION 11. SETTING AND DISPLAYING DATA 11.1.1 Displays the current position of the tool in the workpiece coordinate Position Display in the system. The current position changes as the tool moves. The least input increment is used as the unit for numeric values. The title at the top o
  • Page 66811. SETTING AND DISPLAYING DATA OPERATION B–64124EN/01 11.1.2 Displays the current position of the tool in a relative coordinate system Position Display in the based on the coordinates set by the operator. The current position changes as the tool moves. The increment system is used as the unit for n
  • Page 669B–64124EN/01 OPERATION 11. SETTING AND DISPLAYING DATA Procedure to reset all axes Procedure 1 Press soft key [(OPRT)]. ABS REL ALL (OPRT) 2 Press soft key [ORIGIN]. ORIGIN 3 Press soft key [ALLEXE]. ALLEXE EXEC The relative coordinates for all axes are reset to 0. D Display including Bits 4 and 5 o
  • Page 67011. SETTING AND DISPLAYING DATA OPERATION B–64124EN/01 11.1.3 Displays the following positions on a screen : Current positions of the Overall Position tool in the workpiece coordinate system, relative coordinate system, and machine coordinate system, and the remaining distance. The relative Display
  • Page 671B–64124EN/01 OPERATION 11. SETTING AND DISPLAYING DATA 11.1.4 A workpiece coordinate system shifted by an operation such as manual Presetting the intervention can be preset using MDI operations to a pre–shift workpiece coordinate system. The latter coordinate system is displaced from the Workpiece C
  • Page 67211. SETTING AND DISPLAYING DATA OPERATION B–64124EN/01 11.1.5 The actual feedrate on the machine (per minute) can be displayed on a Actual Feedrate current position display screen or program check screen by setting bit 0 (DPF) of parameter 3105. Display Display procedure for the actual feedrate on t
  • Page 673B–64124EN/01 OPERATION 11. SETTING AND DISPLAYING DATA D Actual feedrate display In the case of movement of rotary axis, the speed is displayed in units of of rotary axis deg/min but is displayed on the screen in units of input system at that time. For example, when the rotary axis moves at 50 deg/m
  • Page 67411. SETTING AND DISPLAYING DATA OPERATION B–64124EN/01 11.1.6 The run time, cycle time, and the number of machined parts are displayed Display of Run Time on the current position display screens. and Parts Count Procedure for displaying run time and parts count on the current position display screen
  • Page 675B–64124EN/01 OPERATION 11. SETTING AND DISPLAYING DATA 11.1.7 The reading on the load meter can be displayed for each servo axis and Operating Monitor the serial spindle by setting bit 5 (OPM) of parameter 3111 to 1. The reading on the speedometer can also be displayed for the serial spindle. Displa
  • Page 67611. SETTING AND DISPLAYING DATA OPERATION B–64124EN/01 D Speedometer Although the speedometer normally indicates the speed of the spindle motor, it can also be used to indicate the speed of the spindle by setting bit 6 (OPS) of parameter 3111 to 1. The spindle speed to be displayed during operation
  • Page 677B–64124EN/01 OPERATION 11. SETTING AND DISPLAYING DATA 11.2 This section describes the screens displayed by pressing function key SCREENS PROG in MEMORY or MDI mode.The first four of the following screens DISPLAYED BY display the execution state for the program currently being executed in MEMORY or
  • Page 67811. SETTING AND DISPLAYING DATA OPERATION B–64124EN/01 11.2.1 Displays the program currently being executed in MEMORY or MDI Program Contents mode. Display Procedure for displaying the program contents 1 Press function key PROG to display the program screen. 2 Press chapter selection soft key [PRGRM
  • Page 679B–64124EN/01 OPERATION 11. SETTING AND DISPLAYING DATA 11.2.2 Displays the block currently being executed and modal data in the Current Block Display MEMORY or MDI mode. Screen Procedure for displaying the current block display screen Procedure 1 Press function key PROG . 2 Press chapter selection s
  • Page 68011. SETTING AND DISPLAYING DATA OPERATION B–64124EN/01 11.2.3 Displays the block currently being executed and the block to be executed Next Block Display next in the MEMORY or MDI mode. Screen Procedure for displaying the next block display screen Procedure 1 Press function key PROG . 2 Press chapte
  • Page 681B–64124EN/01 OPERATION 11. SETTING AND DISPLAYING DATA 11.2.4 Displays the program currently being executed, current position of the Program Check Screen tool, and modal data in the MEMORY mode. Procedure for displaying the program check screen Procedure 1 Press function key PROG . 2 Press chapter s
  • Page 68211. SETTING AND DISPLAYING DATA OPERATION B–64124EN/01 11.2.5 Displays the program input from the MDI and modal data in the MDI Program Screen for mode. MDI Operation Procedure for displaying the program screen for MDI operation Procedure 1 Press function key PROG . 2 Press chapter selection soft ke
  • Page 683B–64124EN/01 OPERATION 11. SETTING AND DISPLAYING DATA 11.3 This section describes the screens displayed by pressing function key SCREENS PROG in the EDIT mode. Function key PROG in the EDIT mode can DISPLAYED BY display the program editing screen and the program list screen (displays FUNCTION KEY <
  • Page 68411. SETTING AND DISPLAYING DATA OPERATION B–64124EN/01 Explanations D Details of memory used PROGRAM NO. USED PROGRAM NO. USED : The number of the programs registered (including the subprograms) FREE : The number of programs which can be registered additionally. MEMORY AREA USED MEMORY AREA USED : T
  • Page 685B–64124EN/01 OPERATION 11. SETTING AND DISPLAYING DATA PROGRAM DIRECTORY O0001 N00010 PROGRAM (NUM.) MEMORY (CHAR.) USED: 60 3321 FREE: 2 429 O0001 360 1996–06–12 14:40 O0002 240 1996–06–12 14:55 O0010 420 1996–07–01 11:02 O0020 180 1996–08–14 09:40 O0040 1,140 1996–03–25 18:40 O0050 60 1996–08–26 1
  • Page 68611. SETTING AND DISPLAYING DATA OPERATION B–64124EN/01 11.3.2 In addition to the normal listing of the numbers and names of CNC Displaying a Program programs stored in memory, programs can be listed in units of groups, according to the product to be machined, for example. List for a Specified Group
  • Page 687B–64124EN/01 OPERATION 11. SETTING AND DISPLAYING DATA 8 Pressing the [EXEC] operation soft key displays the group–unit EXEC program list screen, listing all those programs whose name includes the specified character string. PROGRAM DIRECTORY (GROUP) O0001 N00010 PROGRAM (NUM.) MEMORY (CHAR.) USED:
  • Page 68811. SETTING AND DISPLAYING DATA OPERATION B–64124EN/01 [Example of using wild cards] (Entered character string) (Group for which the search will be made) (a) “*” CNC programs having any name (b) “*ABC” CNC programs having names which end with “ABC” (c) “ABC*” CNC programs having names which start wi
  • Page 689B–64124EN/01 OPERATION 11. SETTING AND DISPLAYING DATA 11.4 Press function key OFFSET SETTING to display or set tool compensation values and SCREENS other data. DISPLAYED BY This section describes how to display or set the following data: FUNCTION KEY OFFSET SETTING 1. Tool offset value
  • Page 69011. SETTING AND DISPLAYING DATA OPERATION B–64124EN/01 11.4.1 Tool offset values, tool length offset values, and cutter compensation Setting and Displaying values are specified by D codes or H codes in a program. Compensation values corresponding to D codes or H codes are displayed or set on the the
  • Page 691B–64124EN/01 OPERATION 11. SETTING AND DISPLAYING DATA D Tool offset memory Compensation data items are classified by D code or H code and by geometry or wear. D Disabling entry of The entry of compensation values may be disabled by setting bit 0 (WOF) compensation values and bit 1 (GOF) of paramete
  • Page 69211. SETTING AND DISPLAYING DATA OPERATION B–64124EN/01 11.4.2 The length of the tool can be measured and registered as the tool length Tool Length offset value by moving the reference tool and the tool to be measured until they touch the specified position on the machine. Measurement The tool length
  • Page 693B–64124EN/01 OPERATION 11. SETTING AND DISPLAYING DATA 8 Press the soft key [INP.C.]. The Z axis relative coordinate value is input and displayed as an tool length offset value. INP.C. ÇÇ ÇÇÇ ÇÇ ÇÇÇ Reference ÇÇ ÇÇÇ tool ÇÇ The difference is set as a tool length offset value A prefixed position 669
  • Page 69411. SETTING AND DISPLAYING DATA OPERATION B–64124EN/01 11.4.3 Data such as the TV check flag and punch code is set on the setting data Displaying and screen. On this screen, the operator can also enable/disable parameter writing, enable/disable the automatic insertion of sequence numbers in Entering
  • Page 695B–64124EN/01 OPERATION 11. SETTING AND DISPLAYING DATA 4 Move the cursor to the item to be changed by pressing cursor keys , , , or . 5 Enter a new value and press soft key [INPUT]. Contents of settings D PARAMETER WRITE Setting whether parameter writing is enabled or disabled. 0 : Disabled 1 : Enab
  • Page 69611. SETTING AND DISPLAYING DATA OPERATION B–64124EN/01 11.4.4 If a block containing a specified sequence number appears in the program Sequence Number being executed, operation enters single block mode after the block is executed. Comparison and Stop Procedure for sequence number comparison and stop
  • Page 697B–64124EN/01 OPERATION 11. SETTING AND DISPLAYING DATA Explanations D Sequence number after After the specified sequence number is found during the execution of the the program is executed program, the sequence number set for sequence number compensation and stop is decremented by one. When the powe
  • Page 69811. SETTING AND DISPLAYING DATA OPERATION B–64124EN/01 11.4.5 Various run times, the total number of machined parts, number of parts Displaying and Setting 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 Ru
  • Page 699B–64124EN/01 OPERATION 11. SETTING AND DISPLAYING DATA D PARTS COUNT This value is incremented by one when M02, M30, or an M code specified by parameter 6710 is executed. The value can also be set by parameter 6711. In general, this value is reset when it reaches the number of parts required. Refer
  • Page 70011. SETTING AND DISPLAYING DATA OPERATION B–64124EN/01 11.4.6 Displays the workpiece origin offset for each workpiece coordinate Displaying and Setting system (G54 to G59, G54.1 P1 to G54.1 P48 and G54.1 P1 to G54.1 P300) and external workpiece origin offset. The workpiece origin offset the Workpiec
  • Page 701B–64124EN/01 OPERATION 11. SETTING AND DISPLAYING DATA 11.4.7 This function is used to compensate for the difference between the Direct Input of programmed workpiece coordinate system and the actual workpiece coordinate system. The measured offset for the origin of the workpiece Measured Workpiece c
  • Page 70211. SETTING AND DISPLAYING DATA OPERATION B–64124EN/01 5 To display the workpiece origin offset setting screen, press the chapter selection soft key [WORK]. WORK COORDINATES O1234 N56789 (G54) NO. DATA NO. DATA 00 X 0.000 02 X 0.000 (EXT) Y 0.000 (G55) Y 0.000 Z 0.000 Z 0.000 01 X 0.000 03 X 0.000 (
  • Page 703B–64124EN/01 OPERATION 11. SETTING AND DISPLAYING DATA 11.4.8 Displays common variables (#100 to #199 and #500 to #999) on the Displaying and Setting screen. When the absolute value for a common variable exceeds 99999999, ******** is displayed. The values for variables can be set on Custom Macro thi
  • Page 70411. SETTING AND DISPLAYING DATA OPERATION B–64124EN/01 11.4.9 This subsection uses an example to describe how to display or set Displaying Pattern Data machining menus (pattern menus) created by the machine tool builder. Refer to the manual issued by the machine tool builder for the actual and Patte
  • Page 705B–64124EN/01 OPERATION 11. SETTING AND DISPLAYING DATA 4 Enter necessary pattern data and press INPUT . 5 After entering all necessary data, enter the MEMORY mode and press the cycle start button to start machining. Explanations D Explanation of the HOLE PATTERN : Menu title pattern menu screen An o
  • Page 70611. SETTING AND DISPLAYING DATA OPERATION B–64124EN/01 11.4.10 With this function, functions of the switches on the machine operator’s Displaying and Setting panel can be controlled from the CRT/MDI panel. Jog feed can be performed using numeric keys. the Software Operator's Panel Procedure for disp
  • Page 707B–64124EN/01 OPERATION 11. SETTING AND DISPLAYING DATA 4 Move the cursor to the desired switch by pressing cursor key or . 5 Push the cursor move key or to match the mark J to an arbitrary position and set the desired condition. 6 On a screen where jog feed is enabled, pressing a desired arrow key,
  • Page 70811. SETTING AND DISPLAYING DATA OPERATION B–64124EN/01 11.4.11 Tool life data can be displayed to inform the operator of the current state Displaying and Setting of tool life management. Groups which require tool changes are also displayed.The tool life counter for each group can be preset to an arb
  • Page 709B–64124EN/01 OPERATION 11. SETTING AND DISPLAYING DATA 5 To display the page containing the data for a group, enter the group number and press soft key [NO.SRH]. The cursor can be moved to an arbitrary group by pressing cursor key or . 6 To change the value in the life counter for a group, move the
  • Page 71011. SETTING AND DISPLAYING DATA OPERATION B–64124EN/01 Explanations D Display contents TOOL LIFE DATA : O3000 N00060 SELECTED GROUP 000 GROUP 001 : LIFE 0150 COUNT 0007 * 0034 # 0078 @ 0012 0056 0090 0035 0026 0061 0000 0000 0000 0000 0000 0000 0000 0000 GROUP 002 : LIFE 1400 COUNT 0000 0062 0024 00
  • Page 711B–64124EN/01 OPERATION 11. SETTING AND DISPLAYING DATA 11.4.12 The extended tool life management function provides more detailed data Displaying and Setting display and more data editing functions than the ordinary tool life management function. Extended Tool Life Moreover, if the tool life is speci
  • Page 71211. SETTING AND DISPLAYING DATA OPERATION B–64124EN/01 ⋅ Deleting a tool group : 7–4 ⋅ Deleting tool data (T, H, or D code) : 7–5 ⋅ Skipping a tool : 7–6 ⋅ Clearing the life count (resetting the life) : 7–7 7–1 Setting the life count type, life value, current life count, and tool data (T, H, or D co
  • Page 713B–64124EN/01 OPERATION 11. SETTING AND DISPLAYING DATA 7–4 Deleting a tool group (1) In step 3, position the cusor on a group to be deleted and display the editing screen. (2) Press soft key [DELETE]. (3) Press soft key [GROUP]. (4) Press soft key [EXEC]. 7–5 Deleting tool data (T, H, or D code) (1)
  • Page 71411. SETTING AND DISPLAYING DATA OPERATION B–64124EN/01 Explanations D Displays LIFE DATA EDIT GROUP : 001 O0010 N00001 TYPE : 1 (1:C 2:M) NEXT GROUP: *** LIFE : 9800 USE GROUP : *** COUNT : 6501 SELECTED GROUP : 001 NO. STATE T–CODE H–CODE D–CODE 01 * 0034 011 005 02 # 0078 000 033 03 @ 0012 004 018
  • Page 715B–64124EN/01 OPERATION 11. SETTING AND DISPLAYING DATA D Tool life management When the extended tool life management function is provided, the screen following items are added to the tool life management screen: S NEXT: Tool group to be used next S USE: Tool group in use S Life counter type for each
  • Page 71611. SETTING AND DISPLAYING DATA OPERATION B–64124EN/01 11.5 When the CNC and machine are connected, parameters must be set to determine the specifications and functions of the machine in order to fully SCREENS utilize the characteristics of the servo motor or other parts. DISPLAYED BY This chapter d
  • Page 717B–64124EN/01 OPERATION 11. SETTING AND DISPLAYING DATA 11.5.1 When the CNC and machine are connected, parameters are set to Displaying and Setting determine the specifications and functions of the machine in order to fully utilize the characteristics of the servo motor. The setting of parameters Par
  • Page 71811. SETTING AND DISPLAYING DATA OPERATION B–64124EN/01 Procedure for enabling/displaying parameter writing 1 Select the MDI mode or enter state emergency stop. 2 Press function key OFFSET SETTING . 3 Press soft key [SETING] to display the setting screen. SETTING (HANDY) O0001 N00000 PARAMETER WRITE
  • Page 719B–64124EN/01 OPERATION 11. SETTING AND DISPLAYING DATA 11.5.2 If pitch error compensation data is specified, pitch errors of each axis can Displaying and Setting be compensated in detection unit per axis. Pitch error compensation data is set for each compensation point at the Pitch Error intervals s
  • Page 72011. SETTING AND DISPLAYING DATA OPERATION B–64124EN/01 Bidirectional pitch error The bidirectional pitch error compensation function allows independent compensation pitch error compensation in different travel directions. (When the movement is reversed, compensation is automatically carried out as i
  • Page 721B–64124EN/01 OPERATION 11. SETTING AND DISPLAYING DATA D Pitch error compensation at the reference position when travel is made to the reference position from the direction opposite to the reference position return direction (absolute value, for each axis): Parameter 3627 2 Press function key SYSTEM
  • Page 72211. SETTING AND DISPLAYING DATA OPERATION B–64124EN/01 11.6 The program number, sequence number, and current CNC status are always displayed on the screen except when the power is turned on, a DISPLAYING THE system alarm occurs, or the PMC screen is displayed. PROGRAM NUMBER, If data setting or the
  • Page 723B–64124EN/01 OPERATION 11. SETTING AND DISPLAYING DATA 11.6.2 The current mode, automatic operation state, alarm state, and program Displaying the Status editing state are displayed on the next to last line on the screen allowing the operator to readily understand the operation condition of the syst
  • Page 72411. SETTING AND DISPLAYING DATA OPERATION B–64124EN/01 (5) Emergency stop or ––EMG–– : : Indicates emergency stop.(Blinks in reversed display.) reset status ––RESET–– : Indicates that the reset signal is being received. (6) Alarm status ALM : Indicates that an alarm is issued. (Blinks in reversed di
  • Page 725B–64124EN/01 OPERATION 11. SETTING AND DISPLAYING DATA 11.7 By pressing the function key MESSAGE , data such as alarms, alarm history SCREENS data, and external messages can be displayed. DISPLAYED BY For information relating to alarm display, see Section III.7.1. For FUNCTION KEY MESSAGE informatio
  • Page 72611. SETTING AND DISPLAYING DATA OPERATION B–64124EN/01 Explanations D Updating external When an external operator message number is specified, updating of the operator message external operator message history data is started; this updating is history data continued until a new external operator mes
  • Page 727B–64124EN/01 OPERATION 11. SETTING AND DISPLAYING DATA 11.8 When screen indication isn’t necessary, the life of the back light for LCD can be put off by turning off the back light. CLEARING THE The screen can be cleared by pressing specific keys. It is also possible to SCREEN specify the automatic c
  • Page 72811. SETTING AND DISPLAYING DATA OPERATION B–64124EN/01 11.8.2 The CNC screen is automatically cleared if no keys are pressed during the Automatic Erase period (in minutes) specified with a parameter. The screen is restored by pressing any key. Screen Display Procedure for automatic erase screen disp
  • Page 729B–64124EN/01 OPERATION 12. GRAPHICS FUNCTION 12 GRAPHICS FUNCTION Two graphic functions are available. One is a graphic display function, and the other is a dynamic graphic display function. The graphic display function can draw the tool path specified by a program being executed on a screen. The gr
  • Page 73012. GRAPHICS FUNCTION OPERATION B–64124EN/01 12.1 It is possible to draw the programmed tool path on the screen, which makes it possible to check the progress of machining, while observing the GRAPHICS DISPLAY path on the screen. In addition, it is also possible to enlarge/reduce the screen. Before
  • Page 731B–64124EN/01 OPERATION 12. GRAPHICS FUNCTION 6 Automatic operation is started and machine movement is drawn on the screen. 0001 00012 X 0.000 Y 0.000 Z 0.000 Z X Y S 0T MEM * * * * *** *** 14 : 23 : 03 PARAM GRAPH Explanation D RANGE The size of the graphic screen will be as follows: (Actual graphic
  • Page 73212. GRAPHICS FUNCTION OPERATION B–64124EN/01 1. Setting the center Set the center of the graphic range to the center of the screen. If the coordinate of the drawing range in the program can be contained in the above actual graphics range and graphics range, set the magnification to 1 (actual value s
  • Page 733B–64124EN/01 OPERATION 12. GRAPHICS FUNCTION 2. Setting the maximum When the actual tool path is not near the center of the screen, method 1 and minimum will cause the tool path to be drawn out of the geaphics range if graphics coordinates for the magnification is not set properly. drawing range in
  • Page 73412. GRAPHICS FUNCTION OPERATION B–64124EN/01 D Graphics parameter ⋅ AXES Specify the plane to use for drawing. The user can choose from the following six coordinate systems. Y Z Y =0 : Select (1) =1 : Select (2) (1) (2) (3) =2 : Select (3) =3 : Select (4) =4 : Select (5) X Y Z =5 : Select (6) Z Z Y
  • Page 735B–64124EN/01 OPERATION 12. GRAPHICS FUNCTION NOTE 1 When MAX. and MIN. of RANGE are set, the values will be set automatically once drawing is executed 2 When setting the graphics range with the graphics parameters for the magnification and screen center coordinates, do not set the parameters for the
  • Page 73612. GRAPHICS FUNCTION OPERATION B–64124EN/01 12.2 There are the following two functions in Dynamic Graphics. DYNAMIC Path graphic This is used to draw the path of tool center com- manded by the part program. GRAPHIC DISPLAY Solid graphic This is used to draw the workpiece figure machined by tool mov
  • Page 737B–64124EN/01 OPERATION 12. GRAPHICS FUNCTION The first six functions above (1. to 6.) are available by setting the graphic parameters. The seventh to ninth functions (7. to 9.) are mainly executed using soft keys after drawing has been setup. The tenth function (10.) is enabled by setting a paramete
  • Page 73812. GRAPHICS FUNCTION OPERATION B–64124EN/01 5 Press the INPUT key. The input numerics are set by these operations and the cursor automatically moves to the next setting items. The set data is held even after the power is turned off. 6 Set the operation mode to the memory mode, press function key PR
  • Page 739B–64124EN/01 OPERATION 12. GRAPHICS FUNCTION Partial enlargement 11 For partial drawing enlargement, display the PATH GRAPHIC (SCALE) screen by pressing the soft key [ZOOM] on the PATH GRAPHIC (PARAMETER) screen of step 1 above. The tool path is displayed. Next, press soft key [(OPRT)]. PATH GRAPHIC
  • Page 74012. GRAPHICS FUNCTION OPERATION B–64124EN/01 Mark display 15 To display a mark at the current tool position, display the PATH GRAPHIC (POSITION) screen by pressing soft key [POS] on the PATH GRAPHIC (PARAMETER) screen of step 1 above. This mark blinks at the current tool center position on the tool
  • Page 741B–64124EN/01 OPERATION 12. GRAPHICS FUNCTION D Isometric projection Projector view by isometric can be drawn. (XYZ,ZXY) Z Y P=4 P=5 X Y Z X XYZ ZXY Fig. 12.2.1 (b) Coordinate systems for the isometric projection D Biplane view Y Z P=6 X X Fig. 12.2.1 (c) Coordinate systems for the biplane view Bipla
  • Page 74212. GRAPHICS FUNCTION OPERATION B–64124EN/01 D TILTING The tilting angle of the vertical axis is set in the range of –90°to +90°in reference to the horizontal axis crossing the vertical axis at a right angle. When a positive value is set, the vertical axis slants to the other side of the graphic scr
  • Page 743B–64124EN/01 OPERATION 12. GRAPHICS FUNCTION D TOOL COMP. It is possible to set whether the tool path is drawn by making the tool length offset or cutter compensation valid or invalid. Setting value Tool length offset or cutter compensation 0 Perform drawing by making tool compensation valid (An act
  • Page 74412. GRAPHICS FUNCTION OPERATION B–64124EN/01 D Graphic program No part program which has not been registered in memory can be drawn. Also, it is necessary that the M02 or M30 should be commanded at the end of the part program. D Mark for the tool current The period of mark blinking is short when the
  • Page 745B–64124EN/01 OPERATION 12. GRAPHICS FUNCTION 12.2.2 The solid graphics draws the figure of a workpieces machined by the movement of a tool. Solid Graphics The following graphic functions are provided : 1. Solid model graphic Solid model graphic is drawn by surfaces so that the machined figure can be
  • Page 74612. GRAPHICS FUNCTION OPERATION B–64124EN/01 Solid graphics drawing procedure Procedure 1 To draw a machining profile, necessary data must be set beforehand. So press the function key CUSTOM GRAPH . The screen of ”SOLID GRAPHIC (PARAMETER) ” is displayed. SOLID GRAPHIC (PARAMETER) O0000 N00003 BLANK
  • Page 747B–64124EN/01 OPERATION 12. GRAPHICS FUNCTION 6 Press soft key [ANEW]. This allows the blank figure drawing to be performed based on the blank figure data set. 7 Press soft keys [+ROT] [–ROT] [+TILT], and [–TILT], when performing drawing by changing the drawing directions. Parameters P and Q for the
  • Page 74812. GRAPHICS FUNCTION OPERATION B–64124EN/01 10 Press soft key [(OPRT)] and press either soft key [A.ST] or [F.ST]. When [A.ST] is pressed, the status of machining in progress is drawn by simulation. When [F.ST] is pressed, the profile during machining is not drawn. Only the finished profile produce
  • Page 749B–64124EN/01 OPERATION 12. GRAPHICS FUNCTION 15 To redraw the figure in a different mode, press soft key [+ROT], [–ROT], [+TILT], or [–TILT]. Parameters P and Q for the drawing direction are changed and the figure is redrawn with the new paramaters. D Triplane view drawing 16 The machined figure can
  • Page 75012. GRAPHICS FUNCTION OPERATION B–64124EN/01 Explanations GRAPHICS PARAMETER D BLANK FORM ♦ BLANK FORM (P) Set the type of blank figure under P. The relationship between the setting value and figure is as follows: P Blank figure 0 Rectangular parallelepiped (Cubed) 1 Column or cylinder (parallel to
  • Page 751B–64124EN/01 OPERATION 12. GRAPHICS FUNCTION D TOOL FORM ♦ Machining tool Set the machining direction of tools. orientation (P) P Machining direction of tools 0,1 Parallel to the Z–axis (perform machining from the + direction) ♦ Dimensions of tools Set the dimensions of tool. The relationship betwee
  • Page 75212. GRAPHICS FUNCTION OPERATION B–64124EN/01 D INTENSITY Specify the intensity of the drawing screen when performing drawing on the monochrome, and the color of the drawing screen when performing drawing on the color screen. The relationship between the setting, intensity, and color is as shown belo
  • Page 753B–64124EN/01 OPERATION 12. GRAPHICS FUNCTION D START SEQ. NO. and Specify the start sequence number and end sequence number of each END SEQ. NO. drawing in a five–digit numeric. The subject part program is executed from the head. But only the part enclosed by the start sequence number and end sequen
  • Page 75412. GRAPHICS FUNCTION OPERATION B–64124EN/01 D TOOL COMP. In solid graphics, parameter 6501 (TLC, bit 1) is used to specify whether to apply tool length offset. D Graphic method Parameter 6501 (3PL, bit 2) is used to select whether to draw a triplane view with the third–angle or first–angle projecti
  • Page 755B–64124EN/01 OPERATION 12. GRAPHICS FUNCTION Examples D Side view selection in triplane drawing Example) The side views of the figure below are illustrated. Rear view Top view Left side view Right side view Front view In the above figure, the side views displayed are switched as follows. Right view
  • Page 75612. GRAPHICS FUNCTION OPERATION B–64124EN/01 D Cross section position Some examples of cross–sectional views are given below for the left view selection in triplane and front view shown on the previous page. drawing Sectional view 1 Sectional view 2 Õ ÕÕÕ Õ Õ ÕÕÕ Õ ÕÕ Õ ÕÕÕÕÕÕÕÕ Õ ÕÕÕÕÕ ÕÕÕÕÕÕÕÕ ÕÕÕ
  • Page 757B–64124EN/01 OPERATION 13. HELP FUNCTION 13 HELP FUNCTION The help function displays on the screen detailed information about alarms issued in the CNC and about CNC operations. The following information is displayed. D Detailed information of When the CNC is operated incorrectly or an erroneous mach
  • Page 75813. HELP FUNCTION OPERATION B–64124EN/01 ALARM DETAIL screen 2 Press soft key [ALAM] on the HELP (INITIAL MENU) screen to display detailed information about an alarm currently being raised. HELP (ALARM DETAIL) O0010 N00001 NUMBER : 027 Alarm No. M‘SAGE : NO AXES COMMANDED IN G43/G44 Normal explana–
  • Page 759B–64124EN/01 OPERATION 13. HELP FUNCTION 3 To get details on another alarm number, first enter the alarm number, then press soft key [SELECT]. This operation is useful for investigating alarms not currently being raised. >100 S 0 T0000 MEM **** *** *** 10:12:25 [ ] [ ] [ ] [ ] [ SELECT ] Fig. 13 (d)
  • Page 76013. HELP FUNCTION OPERATION B–64124EN/01 >1 S 0 T0000 MEM **** *** *** 10:12:25 [ ] [ ] [ ] [ ] [ SELECT ] Fig. 13 (g) How to select each OPERATION METHOD screen When “1. PROGRAM EDIT” is selected, for example, the screen in Figure 13 (h) is displayed. On each OPERATION METHOD screen, it is possible
  • Page 761B–64124EN/01 OPERATION 13. HELP FUNCTION The current page No. is shown at the upper right corner on the screen. HELP (PARAMETER TABLE) 01234 N00001 1/4 * SETTEING (No. 0000∼) * READER/PUNCHER INTERFACE (No. 0100∼) * AXIS CONTROL /SETTING UNIT (No. 1000∼) * COORDINATE SYSTEM (No. 1200∼) * STROKE LIMI
  • Page 76214. SCREEN HARDCOPY OPERATION B–64124EN/01 14 SCREEN HARDCOPY The screen hardcopy function outputs the information displayed on the CNC screen as 640*480–dot bitmap data. This function makes it possible to produce a hard copy of a still image displayed on the CNC. The created bitmap data can be disp
  • Page 763B–64124EN/01 OPERATION 14. SCREEN HARDCOPY Limitations A hard copy of the following screens cannot be produced. 1 System alarm screen 2 Screen while RS–232–C is being used 3 Screen during automatic or manual operation (A hard copy can be produced in a rest of the operation.) File name The bitmap fil
  • Page 76414. SCREEN HARDCOPY OPERATION B–64124EN/01 Data size Table 14 (b) indicates the sizes of bitmap data created by the screen hardcopy function. Table 14 (b) Sizes of bitmap data created by the screen hardcopy function Bitmap colors File size (bytes) Monochrome (2 colors) 38,462 Color (16 colors) 153,7
  • Page 765IV. MANUAL GUIDE 0
  • Page 766
  • Page 767              
  • Page 768                           ! "# $ %    #    #   &#    '#&%        &  (# '
  • Page 769               4&  # ( &  &  ** % #(##$ ($    -* !/2.& (&  %5   # ) &  ##$      1
  • Page 770                  /       #  # ( ( &  &  $   ($      -* !/2. & (&      % 5     # ) & #  & (       $
  • Page 771           /       #  # ( ( &  &  $   ($      -* !/2. & (&      % 5     #  & #  & (        $  #  %      
  • Page 772               /#     )  & (          $&  #      # %  $  $  )     #      ?&
  • Page 773            #  $        ! "!  "!  "!  "!"   /#     )  #&    )   )   D /=D+$% !  $)     )    #&      
  • Page 774          !!!!!   <   $    )      #         6   $'7)#&                     #$%   )  )  
  • Page 775        $ &% /                  #&      $&  $#%     %  &  $       ! "!  "!  "!  "!"   1  #&   -.
  • Page 776         " #!!!          #            ) #   &&$#   #    %#     &     #     
  • Page 777         *'           , -./01,23 *' 0455627 6 849:./0/  0449726;/ -,-;/5 <-/=/0;/7 >, ( ;4  *? - -@1;/7 ;4 -/; 6 2/8 849:./0/  0449726;/ -,-;/5 4932 @/2 ;@/  849:./0/ A/94 .42; 411-/; B6=C/- @- 5/62- ;@6; 6== ;@/ 849:./0
  • Page 778         +$7)   - !=/.+$  +$ %            #            J    $  #  & #   %/     &       )
  • Page 779         " #!!!   #   & ($   **  ?&   '#&   #  &' $ #%'    #          % K& +      #    ) # #
  • Page 780                8== 06C-/ ;@/ .69; .943965 ;4 -;4.  /D/0C;42 42=, 1 ;@/     1C20;42 - 60;B/ @- - C-C6==, 6  .C-@ >C;;42 42 ;@/ 4./96;49 .62/=  1 ;@/ 4.;426= -;4. >/045/- 60;B/ ;@/ 4./96;49 8== >/ 9/EC9/7 ;4 .9/--
  • Page 781          $ %        &0 -# #$# #  ).  #     &     # #$# (#+% /  # #$#  & ##    #   & %  % & '     ( 
  • Page 782            /&-##$# #  .  -*I* . +$  $&%/ #$# #   & % /  #$# #   &     # #$# &  ($    %/  &( +&
  • Page 783        - , /%. / ) ($      -**,/.  +$)      ##$#(#+#  %  / ##$# ($    #  &         #   $ (#+   &  (#+% !)    
  • Page 784         +   '#, &    ' ,-& ) +% &  '   #&& . /      = (&*>%  ?   !"!  )?   !!  ( ( $(   :"::!0 
  • Page 785          . / 1     = (&*>%  ?  /    )?  /    +?  /   :! / ( ( $(   :"::!0   :" "    $  $ (
  • Page 786         ( 6-& ) +% &  '    !"% &. /0/      - $  $ ( %<6*< @ :!0 ":  %*& &  3""   ;; "5 & %<* 3AA65 A :     B %<
  • Page 787        7  :6&*&9"% &. /0/0     - $  $ ( %<6*< @ :!0 ":  %*& &  3""   ;; "5 & 6*$*%<*3AA65 6  A :    3    5 B
  • Page 788        #"% &. /0/1     - $  $ ( %<6*< @ :!0 ":  %*& &  3""   ;; "5 & 6*$*%<*3AA65 6  A :   3    5 B 6*$*%<*3>
  • Page 789        :6"% &. /0/3     - $  $ ( %<6*< @ :!0 ":  %*& &  3""   ;; "5 & 6*$*%<*3AA65 6  A :   3    5 B 6*$*%<*
  • Page 790         7 86&*&9"% &. /0/5     - $  $ ( %<6*< @ :!0 ":  %*& &  3""   ;; "5 & ( * $%<*3AA65 (   A : B ( * $%<*3>A65
  • Page 791          ' ,-& ) +(   '   (  " 6 '. / 0      * *&(D 66 $; " "   C (* %*&<*<< ("  : "    9 2A6  3@95 & 6&<*  
  • Page 792         ( 6-& ) +(   '   :6"(<#+ 6. /00      & ( * $%<*3AA65 (   A :7" B ( * $%<*3>A65 (   > :7"   *&<*<*&   
  • Page 793          ' ,-& ) + )  '    ) " 6 '. / 3      * -<**<*&(D 66 $; " : 0  : /: 0 C (* %*&<*<<2A6 ("  : "    9
  • Page 794         ) "' +. / 31       $* < (" :   "  *<<$ 6   $* < (" :   93@5  *<<A6 @ (& $<* (: "  :! 
  • Page 795         ( 6-& ) + )  '   :6"(<#+ 6. /00      & ( * $%<*3AA65 (   A :7" B ( * $%<*3>A65 (   > :7"   *&<*<*&   
  • Page 796           ' ,-& ) +  *  '    * " 6 '. / 4      * -<**<*&(D 66 $; " : ;  : /: ;  C (* %*&<*<<2A6 ("  : "    9
  • Page 797         * "' +. / 41       $* < (" :   "  *<<$ 6   $* < (" :   93@5  *<<A6 @ (& $<* (: "  :!  
  • Page 798          ( 6-& ) +  *  '   #&&  *!"(<#+ 6. /001      6*( - *=   /! )   : ( * $6 ;  $<
  • Page 799                      -#&      ). ($  #   & # #&   & #  # #%/  -#&      .     # #&  ##&&# 9(#+
  • Page 800          ! +  6      &&   6      ,   -*2/ =. #&    #    #&      ($%   &   +' #  # +  6    ,   -*2/ =
  • Page 801                          GH ****                     I    ! " !   " ! " ! " ! "      :  ": "    I A*J  ! :
  • Page 802           +  6      <  & #    $)  #      ($  %     6*$*%<*A A : ": "   6*$*%<*> >
  • Page 803        / )     )   $   &      $($  @2OA% <  9   F  #)   -255!/ 2%.    ( $%!)& # $ & ( %     -  /.3
  • Page 804           < & +# +   6+ 6 $&#) # $) $&     &    %   &      #  &         ) 
  • Page 805           *    (  %*   !   6+ 6 , #&     & (#+ $(          &   & (  % / ) &     #&  # (' 
  • Page 806         ' )   6( 6!    #&   &  # ( # #+    #  ($     &# 0  )0  &)% 2        # )   @ =,GA%  /   #    #   
  • Page 807          *      #&   & #(# *         #% ,  @* *MA%  /     D= I2  ! = /2 *2M=/ *,=2 =PD %  < $& @I!A)#  %, @2A
  • Page 808           ( ;(  / 0  :/ 0!"!     :"  ;" " ! /  :(   ! ! : ; 
  • Page 809         & +  6( 6   / #  # (   #&   & ) #    #&   & # %   #&   &          &#  %
  • Page 810         ' +       ( $( (: " /" "; "   $*       *:  !    F+, K+3( 5   @2OA  E 5'#      &     $%
  • Page 811         & +  6& 6&   / #  '  #& ##&)&#     #       )     &  ($ #&      %   &    #&    # 
  • Page 812        67 <   #   &    )  D/2 *G !/D  #  %  67 " HI) & B /  #   (    #   &   ##&%      (        3A>5   < 
  • Page 813        6#7   H I & B /     # #   $)  ## $%  / ( %   *          *         A@        
  • Page 814            697 <   #   &  )D/2 *G !/D #   # 67 K & B /  #( % 6(7 H)I= & B /  # #       D      #D
  • Page 815        6F7 <   #   &  )D/2 *G !/D #   # 67 HI & B /  && #$##&  # ( %  *             3A>5   67 <  
  • Page 816        67 <   #   &  6   #     (  7)  D/2 *G !/D  #      # 67 =) O & B /  ##&)  #(  %   *  
  • Page 817        637 <   #   & D #D 6   #      (    $ =   ( &7)  D/2 *G !/D#   #% 67 =)HI & B /  # #       D 
  • Page 818          &   !      3)5   3)5  ( :3+5 ( :3 5  3D5 3D5  3)5 6     $ :3 5  3)5    "$ &    &##  &   )  6F7     
  • Page 819          '  ! - ' !!  !# !     3 5  3 5 3)5 *      $ 3)5 *      *       $  3+5 3 5  3+5      3+5 3)5 *        $ *         "$ &   
  • Page 820          '  !   !!  #      3+5 3 5    *     *      $     3)5    "$ &    &##  &   )  # 6F7     697 #67 #
  • Page 821          '  !   !! 0 !     6  3+5   3 5   $  (  *     $ 3C5    ( 3 C   5 *     3)5     "$ &    &##  &   )  # 6F7    
  • Page 822         &! +6<&,& 6&   / #  '   &' $##&% "$ &    &' $ ##&)   #            #( %5&    )    #&
  • Page 823            &  , + & 6&   2    $ #       )   @ H%A% /   ##&$ &#  % "$      #&   +$) #   &    & #  &
  • Page 824         #+  & 6&    " ! +#-, & #     6*    /!    !0       :  :MA9  ; "   0!    " ! +
  • Page 825        6F7 < # $     "$    @HI)HIA) $& # # $        %  "$  @HI)A)$&## ($($&    %     -6 %<*A A 
  • Page 826            %66%<* A :)         %66%<*B > :)         6&* 6*   =   " / :/ :        :  6&* $( 
  • Page 827          #     #$?&   # 7% >
  • Page 828        "  !! - 0 ! 2 #  ()   ##(   # (  #(##&%     ( * $A  A :    ( * $>  > :    $
  • Page 829              &' $##&  ) #   #(##&% /     +$   $    &' $ ##& &# %  @ ,/A E &#   ##
  • Page 830         " & +&  6& '&!!!0 ! /           # &       #    & #(##&%     %<*A A :         %
  • Page 831                   &' $ ##&     #)     # # # #(##&%5&    )   # #(# ($   +   % /     +
  • Page 832         #+  & 6&    " !!!/ #!  #'!-# #     %<*A A :     %<*> > :     ( * $ A : 
  • Page 833         '!   & 6&  +6     # (            #&       # ($& #+##& $##&) %  E 9Q9 @ , /A →   F   !&( #E 9
  • Page 834          !!' 6&#-#   6         : : " / :  "    ) "  "    :     / "   0::" 
  • Page 835                           /    & (  (&   $         *   # %< )     ($*   # 
  • Page 836                        &      # #         '#&      )    ,:!   % <        ,:!  )   
  • Page 837V. MAINTENANC
  • Page 838
  • Page 839B–64124EN/01 MAINTENANCE 1. METHOD OF REPLACING BATTERY 1 METHOD OF REPLACING BATTERY In a system using this CNC, batteries are used as follows: Component connected to Use battery Memory backup in the CNC control unit CNC control unit Preservation of the current position indicated Separate detector
  • Page 8401. METHOD OF REPLACING BATTERY MAINTENANCE B–64124EN/01 1.1 Part programs, offset data, and system parameters are stored in CMOS memory in the control unit. The power to the CMOS memory is backed BATTERY FOR up by a lithium battery mounted on the front panel of the control unit. The MEMORY BACKUP ab
  • Page 841B–64124EN/01 MAINTENANCE 1. METHOD OF REPLACING BATTERY Replacing the lithium (1) Prepare a new lithium battery (ordering drawing number: battery A02B–0200–K102). (2) Turn on the power of the control unit once for about 30 seconds. (3) Turn off the power of the control unit. (4) Remove the old batte
  • Page 8421. METHOD OF REPLACING BATTERY MAINTENANCE B–64124EN/01 Replacing the alkaline (1) Prepare two new alkaline dry cells (size D). dry cells (size D) (2) Turn on the power of the control unit once for about 30 seconds. (3) Turn off the power of the control unit. (4) Remove the battery case cover. (5) R
  • Page 843B–64124EN/01 MAINTENANCE 1. METHOD OF REPLACING BATTERY Use of alkaline dry cells (size D) Connection Power from the external batteries is supplied through the connector to which the lithium battery is connected. The lithium battery, provided as standard, can be replaced with external batteries in t
  • Page 8441. METHOD OF REPLACING BATTERY MAINTENANCE B–64124EN/01 1.2 One battery unit can maintain current position data for six absolute pulse coders for a year. BATTERY FOR When the voltage of the battery becomes low, APC alarms 3n6 to 3n8 (n: SEPARATE axis number) are displayed on the LCD display. When AP
  • Page 845B–64124EN/01 MAINTENANCE 1. METHOD OF REPLACING BATTERY CAUTION The battery must be replaced with the power of the machine turned on (the servo amplifier turned on). Note that, if batteries are replaced while no power is supplied to the CNC, the recorded absolute position is lost. 1.3 The battery fo
  • Page 846
  • Page 847APPENDI
  • Page 848
  • Page 849B–64124EN/01 APPENDIX A. TAPE CODE LIST A TAPE CODE LIST ISO code EIA code Meaning Without With Character 8 7 6 5 4 3 2 1 Character 8 7 6 5 4 3 2 1 CUSTOM CUSTOM MACRO B MACRO B 0 ff f 0 f f Number 0 1 f ff f f 1 f f Number 1 2 f ff f f 2 f f Number 2 3 ff f ff 3 f f f f Number 3 4 f ff f f 4 f f Nu
  • Page 850A. TAPE CODE LIST APPENDIX B–64124EN/01 ISO code EIA code Meaning Without With Character 8 7 6 5 4 3 2 1 Character 8 7 6 5 4 3 2 1 CUSTOM CUSTOM MACRO B MACRO B DEL fffff f fff Del ffff f fff × × NUL f Blank f × × BS f f f BS f f f f × × HT f f f Tab fff f ff × × LF or NL f f f CR or EOB f f CR f f
  • Page 851B–64124EN/01 APPENDIX A. TAPE CODE LIST NOTE 1 The symbols used in the remark column have the following meanings. (Space) : The character will be registered in memory and has a specific meaning. It it is used incorrectly in a statement other than a comment, an alarm occurs. × : The character will no
  • Page 852B. LIST OF FUNCTIONS AND TAPE FORMAT APPENDIX B–64124EN/01 B LIST OF FUNCTIONS AND TAPE FORMAT Some functions cannot be added as options depending on the model. In the tables below, IP :presents a combination of arbitrary axis addresses using X,Y,Z,A,B and C (such as X_Y_Z_A_). x = 1st basic axis (X
  • Page 853B. LIST OF FUNCTIONS AND B–64124EN/01 APPENDIX TAPE FORMAT Functions Illustration Tape format AI advanced preview control G05.1 Q1; AI advanced preview control (G05.1) mode on G05.1 Q0 ; AI advanced preview control mode off Cylindrical interpolation G07.1 IP_r_; Cylindrical interpolation mode (G07.1
  • Page 854B. LIST OF FUNCTIONS AND TAPE FORMAT APPENDIX B–64124EN/01 Functions Illustration Tape format Return from reference Reference position G29 IP_ ; position to start point (G29) IP Intermediateposition Skip function (G31) IP G31 IP_ F_; Skip signal Start point Thread cutting (G33) F G33 IP_ F_; F : lea
  • Page 855B. LIST OF FUNCTIONS AND B–64124EN/01 APPENDIX TAPE FORMAT Functions Illustration Tape format Tool offset (G45 – G48) G45 Increase G46 IP_ D_; IP Decrease G47 2 times G48 increase D : Tool offset number IP 2 times decrease Compensation value Scaling (G50, G51) P4 P3 G45 P4’ P3’ G46 IP_ D_; IP G47 G4
  • Page 856B. LIST OF FUNCTIONS AND TAPE FORMAT APPENDIX B–64124EN/01 Functions Illustration Tape format Custom macro Macro One–shot call (G65, G66, G67) G65 P_ L_ O_ ; ; G65 P_ L_ ; P : Program No. M99 ; L : Number of repeatition Modal call G66 P_L_ ; Co
  • Page 857B–64124EN/01 APPENDIX C. RANGE OF COMMAND VALUE C RANGE OF COMMAND VALUE Linear axis D In case of millimeter Increment system input, feed screw is IS–B IS–C millimeter Least input increment 0.001 mm 0.0001 mm Least command increment 0.001 mm 0.0001 mm Max. programmable dimension ±99999.999 mm ±9999.
  • Page 858C. RANGE OF COMMAND VALUE APPENDIX B–64124EN/01 D In case of inch input, Increment system feed screw is inch IS–B IS–C Least input increment 0.0001 inch 0.00001 inch Least command increment 0.0001 inch 0.00001 inch Max. programmable dimension ±9999.9999 inch ±9999.9999 inch Max. rapid traverse Note
  • Page 859B–64124EN/01 APPENDIX C. RANGE OF COMMAND VALUE Rotation axis Increment system IS–B IS–C Least input increment 0.001 deg 0.0001 deg Least command increment 0.001 deg 0.0001 deg Max. programmable dimension ±99999.999 deg ±9999.9999 deg Max. rapid traverse Note 240000 deg/min 100000 deg/min Feedrate r
  • Page 860D. NOMOGRAPHS APPENDIX B–64124EN/01 D NOMOGRAPHS 836
  • Page 861B–64124EN/01 APPENDIX D. NOMOGRAPHS D.1 The leads of a thread are generally incorrect in δ1 and δ2, as shown in Fig. D.1 (a), due to automatic acceleration and deceleration. INCORRECT Thus distance allowances must be made to the extent of δ1 and δ2 in the THREADED LENGTH program. δ2 δ1 Fig. D.1 (a)
  • Page 862D. NOMOGRAPHS APPENDIX B–64124EN/01 D How to use nomograph First specify the class and the lead of a thread. The thread accuracy, α, will be obtained at (1), and depending on the time constant of cutting feed acceleration/ deceleration, the δ1 value when V = 10mm / s will be obtained at (2). Then, d
  • Page 863B–64124EN/01 APPENDIX D. NOMOGRAPHS D.2 SIMPLE CALCULATION OF INCORRECT THREAD LENGTH δ2 δ1 Fig. D.2 (a) Incorrect threaded portion Explanations D How to determine δ2 d 2 + LR 1800 * (mm) R : Spindle speed (min-1) * When time constant T of the L : Thread lead (mm) servo system is 0.033 s. D How to d
  • Page 864D. NOMOGRAPHS APPENDIX B–64124EN/01 D Reference Fig. D.2 (b) Nomograph for obtaining approach distance δ1 840
  • Page 865B–64124EN/01 APPENDIX D. NOMOGRAPHS D.3 When servo system delay (by exponential acceleration/deceleration at cutting or caused by the positioning system when a servo motor is used) TOOL PATH AT is accompanied by cornering, a slight deviation is produced between the CORNER tool path (tool center path
  • Page 866D. NOMOGRAPHS APPENDIX B–64124EN/01 Analysis The tool path shown in Fig. D.3 (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 o
  • Page 867B–64124EN/01 APPENDIX D. NOMOGRAPHS D Initial value calculation 0 Y0 V X0 Fig. D.3 (c) Initial value 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
  • Page 868D. NOMOGRAPHS APPENDIX B–64124EN/01 D.4 When a servo motor is used, the positioning system causes an error between input commands and output results. Since the tool advances RADIUS DIRECTION along the specified segment, an error is not produced in linear ERROR AT CIRCLE interpolation. In circular in
  • Page 869E. STATUS WHEN TURNING POWER ON, B–64124EN/01 APPENDIX WHEN CLEAR AND WHEN RESET E STATUS WHEN TURNING POWER ON, WHEN CLEAR AND WHEN RESET Parameter CLR (No. 3402#6) is used to select whether resetting the CNC places it in the cleared state or in the reset state (0: reset state/1: cleared state). Th
  • Page 870E. STATUS WHEN TURNING POWER ON, WHEN CLEAR AND WHEN RESET APPENDIX B–64124EN/01 Item When turning power on Cleared Reset Action in Movement × × × opera- Dwell × × × tion Issuance of M, S and × × × T codes Tool length compensa- × Depending on f : MDI mode tion parameter Other modes depend LVK(No.500
  • Page 871F. CHARACTER–TO–CODES B–64124EN/01 APPENDIX CORRESPONDENCE TABLE F CHARACTER–TO–CODES CORRESPONDENCE TABLE Char- Code Comment Char- Code Comment acter acter A 065 6 054 B 066 7 055 C 067 8 056 D 068 9 057 E 069 032 Space F 070 ! 033 Exclamation mark G 071 ” 034 Quotation mark H 072 # 035 Hash sign I
  • Page 872G. ALARM LIST APPENDIX B–64124EN/01 G ALARM LIST 1) Program errors (P/S alarm) Number Message Contents 000 PLEASE TURN OFF POWER A parameter which requires the power off was input, turn off power. 001 TH PARITY ALARM TH alarm (A character with incorrect parity was input). Correct the tape. 002 TV PA
  • Page 873B–64124EN/01 APPENDIX G. ALARM LIST Number Message Contents 029 ILLEGAL OFFSET VALUE The offset values specified by H code is too large. Modify the program. 030 ILLEGAL OFFSET NUMBER The offset number specified by D/H code for tool length offset or cutter compensation is too large. Modify the progra
  • Page 874G. ALARM LIST APPENDIX B–64124EN/01 Number Message Contents 060 SEQUENCE NUMBER NOT FOUND Commanded sequence number was not found in the sequence number search. Check the sequence number. 070 NO PROGRAM SPACE IN The memory area is insufficient. MEMORY Delete any unnecessary programs, then retry. 071
  • Page 875B–64124EN/01 APPENDIX G. ALARM LIST Number Message Contents 090 REFERENCE RETURN INCOM- The reference position return cannot be performed normally because PLETE the reference position return start point is too close to the reference posi- tion or the speed is too slow. Separate the start point far e
  • Page 876G. ALARM LIST APPENDIX B–64124EN/01 Number Message Contents 122 QUADRUPLICATE MACRO A total of four macro calls and macro modal calls are nested. Correct MODAL–CALL the program. 123 CAN NOT USE MACRO COMMAND Macro control command is used during DNC operation. IN DNC Modify the program. 124 MISSING E
  • Page 877B–64124EN/01 APPENDIX G. ALARM LIST Number Message Contents 153 T–CODE NOT FOUND In the registration of tool life data, a T code was not specified in a block where it is required. Alternatively, only M06 was specified in a block for tool change type D. Correct the program. 154 NOT USING TOOL IN LIFE
  • Page 878G. ALARM LIST APPENDIX B–64124EN/01 Number Message Contents 203 PROGRAM MISS AT RIGID In the rigid tapping, position for a rigid M code (M29) or an S TAPPING command is incorrect. Modify the program. 204 ILLEGAL AXIS OPERATION In the rigid tapping, an axis movement is specified between the rigid M c
  • Page 879B–64124EN/01 APPENDIX G. ALARM LIST Number Message Contents 5010 END OF RECORD The end of record (%) was specified. 5020 PARAMETER OF RESTART The parameter for specifying program restart is not set correctly. ERROR 5046 ILLEGAL PARAMETER (ST.COMP) An illegal parameter has been specified for straight
  • Page 880G. ALARM LIST APPENDIX B–64124EN/01 Number Message Contents 5212 SCREEN COPY : PARAMETER There is a parameter setting error. Check that 4 is set as the I/O channel. ERROR 5213 SCREEN COPY : COMMUNICA- The memory card cannot be used. Check the memory card. (Check TION ERROR whether the memory card is
  • Page 881B–64124EN/01 APPENDIX G. ALARM LIST 2) Background edit alarm Number Message Contents ??? BP/S alarm BP/S alarm occurs in the same number as the P/S alarm that occurs in ordinary program edit. (P/S alarm No. 070, 071, 072, 073, 074, 085 to 087) Modify the program. 140 BP/S alarm It was attempted to s
  • Page 882G. ALARM LIST APPENDIX B–64124EN/01 4) Serial pulse coder (SPC) alarms No. Message Description 360 n AXIS : ABNORMAL CHECKSUM A checksum error occurred in the built–in pulse coder. (INT) 361 n AXIS : ABNORMAL PHASE DATA A phase data error occurred in the built–in pulse coder. (INT) 362 n AXIS : ABNO
  • Page 883B–64124EN/01 APPENDIX G. ALARM LIST D The details of serial pulse coder alarm #7 #6 #5 #4 #3 #2 #1 #0 202 CSA BLA PHA PCA BZA CKA SPH #6 (CSA) : Check sum alarm has occurred. #5 (BLA) : Battery low alarm has occurred. #4 (PHA) : Phase data trouble alarm has occurred. #3 (PCA) : Speed count trouble a
  • Page 884G. ALARM LIST APPENDIX B–64124EN/01 Number Message Contents 415 SERVO ALARM: n–TH AXIS – A speed higher than 524288000 units/s was attempted to be set in the n–th EXCESS SHIFT axis (axis 1–8). This error occurs as the result of improperly set CMR. 417 SERVO ALARM: n–TH AXIS – This alarm occurs when
  • Page 885B–64124EN/01 APPENDIX G. ALARM LIST Number Message Contents 440 n AXIS : CNV. EX DECELERATION 1) PSMR: The regenerative discharge amount is too large. POW. 2) α series SVU: The regenerative discharge amount is too large. Al- ternatively, the regenerative discharge circuit is abnormal. 441 n AXIS : A
  • Page 886G. ALARM LIST APPENDIX B–64124EN/01 Number Message Contents 467 n AXIS : ILLEGAL SETTING OF The servo function for the following has not been enabled when an AXIS axis occupying a single DSP (corresponding to two ordinary axes) is specified on the axis setting screen. 1. Learning control (bit 5 of p
  • Page 887B–64124EN/01 APPENDIX G. ALARM LIST 6) Over travel alarms Number Message Contents 500 OVER TRAVEL : +n Exceeded the n–th axis + side stored stroke limit I. (Parameter No.1320 or 1326 Notes) 501 OVER TRAVEL : –n Exceeded the n–th axis – side stored stroke limit I. (Parameter No.1321 or 1327 Notes) 50
  • Page 888G. ALARM LIST APPENDIX B–64124EN/01 9) Rigid tapping alarm Number Message Contents 740 RIGID TAP ALARM : EXCESS During rigid tapping, the position deviation of the spindle in the stop ERROR state exceeded the setting. 741 RIGID TAP ALARM : EXCESS During rigid tapping, the position deviation of the s
  • Page 889B–64124EN/01 APPENDIX G. ALARM LIST D The details of spindle The details of spindle alarm No. 750 are displayed in the diagnosis display alarm No.750 (No. 409) as shown below. #7 #6 #5 #4 #3 #2 #1 #0 409 SPE S2E S1E SHE #3 (SPE) 0 : In the spindle serial control, the serial spindle parameters fulfil
  • Page 890G. ALARM LIST APPENDIX B–64124EN/01 SPM No. Message indica- Faulty location and remedy Description tion(*1) 7n02 SPN_n_ : EX SPEED ER- 02 1 Check and correct the cutting The motor speed cannot follow a spe- ROR conditions to decrease the load. cified speed. 2 Correct parameter No. 4082. An excessive
  • Page 891B–64124EN/01 APPENDIX G. ALARM LIST SPM No. Message indica- Faulty location and remedy Description tion(*1) 7n18 SPN_n_ : SUMCHECK 18 Replace the SPM control printed cir- Abnormality in an SPM control circuit ERROR PGM cuit board. component is detected. (Program DATA ROM data is abnormal.) 7n19 SPN_
  • Page 892G. ALARM LIST APPENDIX B–64124EN/01 SPM No. Message indica- Faulty location and remedy Description tion(*1) 7n36 SPN_n_ : OVERFLOW 36 Check whether the position gain val- An error counter overflow occurred. ERROR ue is too large, and correct the value. COUNTER 7n37 SPN_n_ : SPEED DE- 37 Correct the
  • Page 893B–64124EN/01 APPENDIX G. ALARM LIST SPM No. Message indica- Faulty location and remedy Description tion(*1) 7n54 SPN_n_ : OVERLOAD 54 Review the load state. An overload current was detected. CURRENT 7n55 SPN_n_ : POWER LINE 55 1 Replace the magnetic contactor. The power line state signal of the SWIT
  • Page 894G. ALARM LIST APPENDIX B–64124EN/01 SPM No. Message indica- Faulty location and remedy Description tion(*1) 7n84 SPN_n_ : SPNDL SEN- 84 1 Replace the feedback cable. The spindle sensor feedback signal SOR DISCON- 2 Check the shield processing. is not present. NECTED 3 Check and correct the connectio
  • Page 895B–64124EN/01 APPENDIX G. ALARM LIST SPM No. Message indica- Faulty location and remedy Description tion(*1) 9003 SPN_n_ : FUSE ON DC 03 1 Replace the SPM unit. The PSM becomes ready (0 is indi- LINK BLOWN 2 Check the motor insulation status. cated), but the DC link voltage is too low in the SPM. The
  • Page 896G. ALARM LIST APPENDIX B–64124EN/01 SPM No. Message indica- Faulty location and remedy Description tion(*1) 9019 SPN_n_ : EX OFFSET 19 Replace the SPM unit. Abnormality in an SPM component is CURRENT U detected. (The initial value for the U phase current detection circuit is ab- normal.) 9020 SPN_n_
  • Page 897B–64124EN/01 APPENDIX G. ALARM LIST SPM No. Message indica- Faulty location and remedy Description tion(*1) 9037 SPN_n_ : SPEED DE- 37 Correct the value according to the pa- The setting of the parameter for the TECT PAR. rameter manual. number of pulses in the speed detec- ERROR tor is incorrect. 90
  • Page 898G. ALARM LIST APPENDIX B–64124EN/01 SPM No. Message indica- Faulty location and remedy Description tion(*1) 9055 SPN_n_ : POWER LINE 55 1 Replace the magnetic contactor. The power line state signal of the SWITCH ER- 2 Check and correct the sequence. magnetic contactor for selecting a ROR spindle or
  • Page 899B–64124EN/01 APPENDIX G. ALARM LIST SPM No. Message indica- Faulty location and remedy Description tion(*1) 9084 SPN_n_ : SPNDL SEN- 84 1 Replace the feedback cable. The spindle sensor feedback signal SOR DISCON- 2 Check the shield processing. is not present. NECTED 3 Check and correct the connectio
  • Page 900G. ALARM LIST APPENDIX B–64124EN/01 ERROR CODES (SERIAL SPINDLE) NOTE*1 The SVPM indicates an error code as a 2–digit number in STATUS1 when the yellow LED is on. Error codes appear in CNC diagnostic data No. 712. When the red LED is on, the SVPM indicates the number of an alarm generated by the ser
  • Page 901B–64124EN/01 APPENDIX G. ALARM LIST SVPM STATUS1 Description Faulty location and remedy indica- tion(*1) 12 When a spindle synchronization control command During execution of a spindle synchronization control is input, another mode (Cs contour control, servo command, do not specify another mode. Bef
  • Page 902G. ALARM LIST APPENDIX B–64124EN/01 ERROR CODES (SERIAL SPINDLE) No. LED display Description Countermeasure A parameter that requires power–down has Turn the power off, then back on. 000 been specified. The specified feedrate is zero. Check the feedrate parameter specified with a 011 function code.
  • Page 903B–64124EN/01 APPENDIX G. ALARM LIST Pulse coder alarms No. LED display Description Countermeasure A communication error (DTER) for the serial Check the connection of the signal cable. If the pulse coder was detected. cable is normal, the pulse coder may be defec- 300 tive. Turn the power off. If the
  • Page 904G. ALARM LIST APPENDIX B–64124EN/01 Servo alarms No. LED display Description Countermeasure The servo motor has overheated (estimated The motor operation condition may be too se- 400 value). vere. Check the operation condition. SVU–12 The cooling fins have over- The load on the motor may be too high
  • Page 905B–64124EN/01 APPENDIX G. ALARM LIST No. LED display Description Countermeasure [SVU–12, SVU–20] This alarm is issued when an excessively large An overcurrent alarm is issued. current flows in the main circuit. (1) Check whether a valid motor number is specified in parameter No.30. (2) Check whether
  • Page 906G. ALARM LIST APPENDIX B–64124EN/01 No. LED display Description Countermeasure [SVU–40, SVU–80] This alarm is issued in the following cases: An overcurrent alarm or IPM alarm is issued. S This alarm is issued when an excessively large current flows in the main circuit. S This alarm is issued when an
  • Page 907B–64124EN/01 APPENDIX G. ALARM LIST No. LED display Description Countermeasure A DC link overvoltage alarm is issued. This alarm is issued when the DC voltage of the main circuit power is too high. (1) When SVU–12 or SVU–20 is used, and a separate regenerative discharge unit is not used, check the s
  • Page 908G. ALARM LIST APPENDIX B–64124EN/01 Overtravel alarms No. LED display Description Countermeasure The positive stroke limit has been exceeded. Check whether *+OT and *–OT are connected 500 correctly. Check whether a correct move com- mand is specified. Move the tool in the opposite The negative strok
  • Page 909B–64124EN/01 APPENDIX G. ALARM LIST 12) System alarms (These alarms cannot be reset with reset key.) Number Message Contents 900 ROM PARITY ROM parity error (CNC/OMM/Servo) Replace the number of ROM. 910 SRAM PARITY : (BYTE 0) RAM parity error in the tape memory RAM module. Clear the memory or repla
  • Page 910
  • Page 911B–64124EN/01 Index [Numbers] Battery for Absolute Pulse Coder Built into the Motor (6VDC), 821 7.2″ Monochrome/8.4″ Color LCD/MDI Unit (Hori- Battery for Memory Backup (3VDC), 816 zontal Type), 431 Battery for Separate Absolute Pulse Coders (6VDC), 7.2″ Monochrome/8.4″ Color LCD/MDI Unit (Vertical 8
  • Page 912Index B–64124EN/01 Coordinate System on Part Drawing and Coordinate Details of Cutter Compensation C, 229 System Specified by CNC – Coordinate System, 16 Details of Functions, 354 Coordinate System Rotation (G68, G69), 291 Details of NC statements and macro statements execu- Coordinate Value and Dim
  • Page 913B–64124EN/01 Index Editing of Custom Macros, 619 Graphics Display, 706 Editing Programs, 595 Graphics Function, 705 Emergency Stop, 522 Grinding–Wheel Wear Compensation by Continuous Dressing (For Grinding Machine), 195 Entering of Contour Program, 778 Erase Screen Display, 703 Exact Stop (G09, G61)
  • Page 914Index B–64124EN/01 Interpolation Functions, 36 Manual Intervention and Return, 506 Interruption Type Custom Macro, 352 Manual Operation, 414, 463 Manual Reference Position Return, 464 Maximum Stroke, 30 [J] MDI Operation, 481 Jog Feed, 466 Memory Operation, 478 Memory Operation Using FS10/11 Tape Fo
  • Page 915B–64124EN/01 Index Overcutting by Cutter Compensation, 259 [R] Overtravel, 523 Radius Direction Error at Circle Cutting, 844 Overview of Cutter Compensation C (G40 – G42), Range of Command Value, 833 223 Rapid Traverse, 62 Rapid Traverse Override, 517 [P] Reading Files, 561 Reference Position, 78 Pa
  • Page 916Index B–64124EN/01 Setting a Workpiece Coordinate System, 86 Testing a Program, 419 Setting and Display Units, 430 The Second Auxiliary Functions (B Codes), 124 Setting and Displaying Data, 634 Thread Cutting (G33), 51 Setting and Displaying the Tool Offset Value, 666 Tool Compensation Values, Numbe
  • Page 917Revision Record FANUCĄSeries 0i–MC OPERATOR’S MANUAL (B–64124EN) 01 Jun., 2004 Edition Date Contents Edition Date Contents
  • Page 918