Series 0i - MA Operators manual Page 55

Operators manual
PROGRAMMING 2. CONTROLLED AXES
B63514EN/01
31
The increment system consists of the least input increment (for input) and
least command increment (for output). The least input increment is the
least increment for programming the travel distance. The least command
increment is the least increment for moving the tool on the machine. Both
increments are represented in mm, inches, or deg.
The increment system is classified into ISB and ISC. Select ISB or
ISC using bit 1 (ISC) of parameter 1004. The setting of bit 1 (ISC) of
parameter No.1004 applies to all axes. When ISC is selected, for example,
the increment system for all axes is set to ISC.
Name of in-
crement sys-
tem
Least input incre-
ment
Least command
increment
Maximum
stroke
ISB
0.001mm
0.0001inch
0.001deg
0.001mm
0.0001inch
0.001deg
99999.999mm
9999.9999inch
99999.999deg
ISC
0.0001mm
0.00001inch
0.0001deg
0.0001mm
0.00001inch
0.0001deg
9999.9999mm
999.99999inch
9999.9999deg
The least command increment is either metric or inch depending on the
machine tool. Set metric or inch to the parameter INM (No.100#0).
For selection between metric and inch for the least input increment, G
code (G20 or G21) or a setting parameter selects it.
Combined use of the inch system and the metric system is not allowed.
There are functions that cannot be used between axes with different unit
systems (circular interpolation, cutter compensation, etc.). For the
increment system, see the machine tool builders manual.
2.3
INCREMENT SYSTEM

Contents Summary of Series 0i - MA Operators manual

  • Page 1OPERATOR’S MANUAL B-63514EN/01
  • Page 2Ȧ No part of this manual may be reproduced in any form. Ȧ All specifications and designs are subject to change without notice. In this manual we have tried as much as possible to describe all the various matters. However, we cannot describe all the matters which must not be done, or which cannot be
  • 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–63514EN/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–63514EN/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–63514EN/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–63514EN/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–63514EN/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–63514EN/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–63514EN/01 WARNING 6. Workpiece coordinate system shift Manual intervention, machine lock, or mirror imaging may shift the workpiece coordinate system. Before attempting to operate the machine under the control of a program, confirm the coordinate system carefully. If the machin
  • Page 11B–63514EN/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–63514EN/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–63514EN/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–63514EN/01 Table of Contents SAFETY PRECAUTIONS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . s–1 I. GENERAL 1. GENERAL . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
  • Page 16Table of Contents B–63514EN/01 5. FEED FUNCTIONS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 58 5.1 GENERAL . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
  • Page 17B–63514EN/01 Table of Contents 11.AUXILIARY FUNCTION . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 119 11.1 AUXILIARY FUNCTION (M FUNCTION) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 120 11.2 MULTIPLE M CO
  • Page 18Table of Contents B–63514EN/01 14.5.8 G53, G28, G30 and G29 Commands in Cutter Compensation C Mode . . . . . . . . . . . . . . . . . . . . . . . . 249 14.5.9 Corner Circular Interpolation (G39) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 268
  • Page 19B–63514EN/01 Table of Contents 20.AXIS CONTROL FUNCTIONS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 367 20.1 SIMPLE SYNCHRONOUS CONTROL . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 368 20.2 ROTARY AXIS ROLL–OVE
  • Page 20Table of Contents B–63514EN/01 4. AUTOMATIC OPERATION . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 437 4.1 MEMORY OPERATION . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 438 4.2 MDI O
  • Page 21B–63514EN/01 Table of Contents 8.8 DISPLAYING DIRECTORY OF FLOPPY CASSETTE . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 508 8.8.1 Displaying the Directory . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 50
  • Page 22Table of Contents B–63514EN/01 11.1.2 Position Display in the Relative Coordinate System . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 582 11.1.3 Overall Position Display . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
  • Page 23B–63514EN/01 Table of Contents IV. MAINTENANCE 1. METHOD OF REPLACING BATTERY . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 657 1.1 REPLACING BATTERY FOR CONTROL UNIT . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 658 1.2 BATTERY FOR SEPARATE AB
  • Page 24
  • Page 25I. GENERA
  • Page 26
  • Page 27B–63514EN/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–63514EN/01 Related manuals The table below lists manuals related to MODEL A of Series 0i. In the table, this manual is marked with an asterisk (*). Table 1 Related Manuals Specification Manual name number DESCRIPTIONS B–63502EN CONNECTION MANUAL (HARDWARE) B–63503EN CONNECTION M
  • Page 29B–63514EN/01 GENERAL 1. GENERAL Related manuals of OPEN CNC Related manuals of OPEN CNC Specification Manual name number FANUC OPEN CNC OPERATOR’S MANUAL B–62994EN (Basic Operation Package 1 (for Windows 95/NT)) FANUC OPEN CNC OPERATOR’S MANUAL B–63214EN (DNC Operation Management Package) 5
  • Page 301. GENERAL GENERAL B–63514EN/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 CNC 1) First, prepare the program from a part drawing to operate the CNC machine tool. MACHINE TOOL How t
  • Page 31B–63514EN/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–63514EN/01 1.2 NOTES ON READING NOTE THIS MANUAL 1 The function of an CNC machine tool system depends not 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 describe the
  • Page 33II. PROGRAMMIN
  • Page 34
  • Page 35B–63514EN/01 PROGRAMMING 1. GENERAL 1 GENERAL 11
  • Page 361. GENERAL PROGRAMMING B–63514EN/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–63514EN/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–63514EN/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 (a) Feed function Feedrates can be specified by using actual numerics. For example, to feed the tool at a rate of 15
  • Page 39B–63514EN/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–63514EN/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–63514EN/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 estab- lished on the work- Coordinate system spe- piece cified by the CNC estab- lished on the table Y Y Workpiece X
  • Page 421. GENERAL PROGRAMMING B–63514EN/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–63514EN/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–63514EN/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 rpm unit. FUNCTION Tool Tool diameter Spindle sp
  • Page 45B–63514EN/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–63514EN/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–63514EN/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–63514EN/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–63514EN/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–63514EN/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–63514EN/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–63514EN/01 2 CONTROLLED AXES 28
  • Page 53B–63514EN/01 PROGRAMMING 2. CONTROLLED AXES 2.1 CONTROLLED AXES Item 0i–MA No. of basic controlled axes 3 axes Max. 4 axes Controlled axes expansion (total) (included in Cs axis) Basic simultaneously controlled axes 3 axes Simultaneously controlled axes expansion (total) Max. 4 axes NOTE The number
  • Page 542. CONTROLLED AXES PROGRAMMING B–63514EN/01 2.2 The names of three basic axes are always X, Y, and Z. The name of an additional axis can be set to A, B, C, U, V, or W by using parameter 1020. AXIS NAME Parameter No. 1020 is used to determine the name of each axis. When this parameter is set to 0 or
  • Page 55B–63514EN/01 PROGRAMMING 2. CONTROLLED AXES 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 562. CONTROLLED AXES PROGRAMMING B–63514EN/01 2.4 Maximum stroke = Least command increment 99999999 See 2.3 Increment System. MAXIMUM STROKE Table 2.4 (a) Maximum strokes Increment system Maximum stroke Metric machine system "99999.999 mm "99999.999 deg IS–B Inch machine system "9999.9999 inch "99999.
  • Page 573. PREPARATORY FUNCTION B–63514EN/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 583. PREPARATORY FUNCTION (G FUNCTION) PROGRAMMING B–63514EN/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 593. PREPARATORY FUNCTION B–63514EN/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 Look–ahead co
  • Page 603. PREPARATORY FUNCTION (G FUNCTION) PROGRAMMING B–63514EN/01 Table 3 G code list (2/3) G code Group Function 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 Machine coordinate system selection G54
  • Page 613. PREPARATORY FUNCTION B–63514EN/01 PROGRAMMING (G FUNCTION) Table 3 G code list (3/3) G code Group Function G94 Feed per minute 05 G95 Feed per rotation G96 Constant surface speed control 13 G97 Constant surface speed control cancel G98 Return to initial point in canned cycle 10 G99 Return to R po
  • Page 624. INTERPOLATION FUNCTIONS PROGRAMMING B–63514EN/01 4 INTERPOLATION FUNCTIONS 38
  • Page 63B–63514EN/01 PROGRAMMING 4. INTERPOLATION FUNCTIONS 4.1 The G00 command moves a tool to the position in the workpiece system POSITIONING (G00) specified with an absolute or an incremental command at a rapid traverse rate. In the absolute command, coordinate value of the end point is programmed. In t
  • Page 644. INTERPOLATION FUNCTIONS PROGRAMMING B–63514EN/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 65B–63514EN/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 664. INTERPOLATION FUNCTIONS PROGRAMMING B–63514EN/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 67B–63514EN/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 684. INTERPOLATION FUNCTIONS PROGRAMMING B–63514EN/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 69B–63514EN/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 704. INTERPOLATION FUNCTIONS PROGRAMMING B–63514EN/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 71B–63514EN/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 724. INTERPOLATION FUNCTIONS PROGRAMMING B–63514EN/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 73B–63514EN/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 plan
  • Page 744. INTERPOLATION FUNCTIONS PROGRAMMING B–63514EN/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 75B–63514EN/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 764. INTERPOLATION FUNCTIONS PROGRAMMING B–63514EN/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 G02 Z90.0 C60.0 R30.0 ; N07 G01 Z
  • Page 77B–63514EN/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 784. INTERPOLATION FUNCTIONS PROGRAMMING B–63514EN/01 NOTE 1 The spindle speed is limited as follows : Maximum feedrate 1 x spindle speed x Thread lead Spindle speed : rpm Thread lead : mm or inch Maximum feedrate : mm/min or inch/min ; maximum command–specified feedrate for feed–per–minute mode or ma
  • Page 79B–63514EN/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 FUNCTION during the execution of this command, execution of the command is (G31) interrupted and the ne
  • Page 804. INTERPOLATION FUNCTIONS PROGRAMMING B–63514EN/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 81B–63514EN/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 825. FEED FUNCTIONS PROGRAMMING B–63514EN/01 5 FEED FUNCTIONS 58
  • Page 83B–63514EN/01 PROGRAMMING 5. FEED FUNCTIONS 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 845. FEED FUNCTIONS PROGRAMMING B–63514EN/01 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 85B–63514EN/01 PROGRAMMING 5. FEED FUNCTIONS 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 865. FEED FUNCTIONS PROGRAMMING B–63514EN/01 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. Three
  • Page 87B–63514EN/01 PROGRAMMING 5. FEED FUNCTIONS Feed amount per minute (mm/min or inch/min) Tool Workpiece Table Fig. 5.3 (b) Feed per minute WARNING No override can be used for some commands such as for threading. D Feed per revolution After specifying G95 (in the feed per revolution mode), the amount o
  • Page 885. FEED FUNCTIONS PROGRAMMING B–63514EN/01 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 89B–63514EN/01 PROGRAMMING 5. FEED FUNCTIONS 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 The tool is decelerated at the end point This function is valid for specified
  • Page 905. FEED FUNCTIONS PROGRAMMING B–63514EN/01 Format Exact stop IP ; G09 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 91B–63514EN/01 PROGRAMMING 5. FEED FUNCTIONS 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 925. FEED FUNCTIONS PROGRAMMING B–63514EN/01 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 93B–63514EN/01 PROGRAMMING 5. FEED FUNCTIONS Regarding program (2) of an arc, the feedrate is overridden from point a to point b and from point c to point d (Fig. 5.4.2.1 (d)). Programmed path d a Le Ls Le Ls c b (2) Cutter center path Tool Fig. 5.4.2.1 (d) Override Range (Straight Line to Arc, Arc to
  • Page 945. FEED FUNCTIONS PROGRAMMING B–63514EN/01 5.4.2.2 For internally offset circular cutting, the feedrate on a programmed path Internal Circular Cutting is set to a specified feedrate (F) by specifying the circular cutting feedrate with respect to F, as indicated below (Fig. 5.4.2.2). This function is
  • Page 95B–63514EN/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 965. FEED FUNCTIONS PROGRAMMING B–63514EN/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 97B–63514EN/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 985. FEED FUNCTIONS PROGRAMMING B–63514EN/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 99B–63514EN/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 1006. REFERENCE POSITION PROGRAMMING B–63514EN/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. 76
  • Page 101B–63514EN/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 1026. REFERENCE POSITION PROGRAMMING B–63514EN/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 103B–63514EN/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 1046. REFERENCE POSITION PROGRAMMING B–63514EN/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 re
  • Page 105B–63514EN/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 1067. COORDINATE SYSTEM PROGRAMMING B–63514EN/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 107B–63514EN/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 1087. COORDINATE SYSTEM PROGRAMMING B–63514EN/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 109B–63514EN/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 1107. COORDINATE SYSTEM PROGRAMMING B–63514EN/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 111B–63514EN/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 1127. COORDINATE SYSTEM PROGRAMMING B–63514EN/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 113B–63514EN/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 1147. COORDINATE SYSTEM PROGRAMMING B–63514EN/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 115B–63514EN/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. (
  • Page 1167. COORDINATE SYSTEM PROGRAMMING B–63514EN/01 (3) A custom macro allows a workpiece zero point offset value to be handled as a system variable. (4) Workpiece zero point offset data can be entered or output as external data. (5) The PMC window function enables workpiece zero point offset data to be r
  • Page 117B–63514EN/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 1187. COORDINATE SYSTEM PROGRAMMING B–63514EN/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 119B–63514EN/01 PROGRAMMING 7. COORDINATE SYSTEM 7.4 Select the planes for circular interpolation, cutter compensation, and drilling by G–code. PLANE SELECTION The following table lists G–codes and the planes selected by them. Explanations Table 7.4 Plane selected by G code Selected G code Xp Yp Zp pla
  • Page 1208. COORDINATE VALUE AND DIMENSION PROGRAMMING B–63514EN/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 96
  • Page 1218. COORDINATE VALUE B–63514EN/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 1228. COORDINATE VALUE AND DIMENSION PROGRAMMING B–63514EN/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 1238. COORDINATE VALUE B–63514EN/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 1248. COORDINATE VALUE AND DIMENSION PROGRAMMING B–63514EN/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 1258. COORDINATE VALUE B–63514EN/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 1268. COORDINATE VALUE AND DIMENSION PROGRAMMING B–63514EN/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 1279. SPINDLE SPEED FUNCTION B–63514EN/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 1289. SPINDLE SPEED FUNCTION (S FUNCTION) PROGRAMMING B–63514EN/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 1299. SPINDLE SPEED FUNCTION B–63514EN/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 1309. SPINDLE SPEED FUNCTION (S FUNCTION) PROGRAMMING B–63514EN/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 1319. SPINDLE SPEED FUNCTION B–63514EN/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 13210. TOOL FUNCTION (T FUNCTION) PROGRAMMING B–63514EN/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. 108
  • Page 13310. TOOL FUNCTION B–63514EN/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 13410. TOOL FUNCTION (T FUNCTION) PROGRAMMING B–63514EN/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 13510. TOOL FUNCTION B–63514EN/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 13610. TOOL FUNCTION (T FUNCTION) PROGRAMMING B–63514EN/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 13710. TOOL FUNCTION B–63514EN/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 13810. TOOL FUNCTION (T FUNCTION) PROGRAMMING B–63514EN/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 S When the Q command is omitted, the valu
  • Page 13910. TOOL FUNCTION B–63514EN/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 14010. TOOL FUNCTION (T FUNCTION) PROGRAMMING B–63514EN/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 14110. TOOL FUNCTION B–63514EN/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 14210. TOOL FUNCTION (T FUNCTION) PROGRAMMING B–63514EN/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 143B–63514EN/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 14411. AUXILIARY FUNCTION PROGRAMMING B–63514EN/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 145B–63514EN/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 IN A simu
  • Page 14611. AUXILIARY FUNCTION PROGRAMMING B–63514EN/01 11.3 Indexing of the table is performed by address B and a following 8–digit number. The relationship between B codes and the corresponding THE SECOND indexing differs between machine tool builders. AUXILIARY Refer to the manual issued by the machine t
  • Page 147B–63514EN/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 14812. PROGRAM CONFIGURATION PROGRAMMING B–63514EN/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 149B–63514EN/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 15012. PROGRAM CONFIGURATION PROGRAMMING B–63514EN/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 151B–63514EN/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 15212. PROGRAM CONFIGURATION PROGRAMMING B–63514EN/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 153B–63514EN/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 code EIA code Notation in this manual End
  • Page 15412. PROGRAM CONFIGURATION PROGRAMMING B–63514EN/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 155B–63514EN/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 15612. PROGRAM CONFIGURATION PROGRAMMING B–63514EN/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 157B–63514EN/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 15812. PROGRAM CONFIGURATION PROGRAMMING B–63514EN/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 159B–63514EN/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 16012. PROGRAM CONFIGURATION PROGRAMMING B–63514EN/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 161B–63514EN/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 16213. FUNCTIONS TO SIMPLIFY PROGRAMMING PROGRAMMING B–63514EN/01 13 FUNCTIONS TO SIMPLIFY PROGRAMMING General This chapter explains the following items: 13.1 CANNED CYCLE 13.2 RIGID TAPPING 13.3 OPTIONAL ANGLE CHAMFERING AND CORNER ROUNDING 13.4 EXTERNAL MOTION FUNCTION 13.5 INDEX TABLE INDEXING FUNCT
  • Page 16313. FUNCTIONS TO SIMPLIFY B–63514EN/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 16413. FUNCTIONS TO SIMPLIFY PROGRAMMING PROGRAMMING B–63514EN/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 16513. FUNCTIONS TO SIMPLIFY B–63514EN/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 16613. FUNCTIONS TO SIMPLIFY PROGRAMMING PROGRAMMING B–63514EN/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 16713. FUNCTIONS TO SIMPLIFY B–63514EN/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 16813. FUNCTIONS TO SIMPLIFY PROGRAMMING PROGRAMMING B–63514EN/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 16913. FUNCTIONS TO SIMPLIFY B–63514EN/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 Tapping clockwise. Cycle (G74) Format G74 X_ Y_ Z_ R_P_ F_ K_ ; X_ Y_ : Hole
  • Page 17013. FUNCTIONS TO SIMPLIFY PROGRAMMING PROGRAMMING B–63514EN/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 R Specify R in blocks that p
  • Page 17113. FUNCTIONS TO SIMPLIFY B–63514EN/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 17213. FUNCTIONS TO SIMPLIFY PROGRAMMING PROGRAMMING B–63514EN/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 17313. FUNCTIONS TO SIMPLIFY B–63514EN/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 17413. FUNCTIONS TO SIMPLIFY PROGRAMMING PROGRAMMING B–63514EN/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 17513. FUNCTIONS TO SIMPLIFY B–63514EN/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 (G82) This cycle i
  • Page 17613. FUNCTIONS TO SIMPLIFY PROGRAMMING PROGRAMMING B–63514EN/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 17713. FUNCTIONS TO SIMPLIFY B–63514EN/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 17813. FUNCTIONS TO SIMPLIFY PROGRAMMING PROGRAMMING B–63514EN/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 17913. FUNCTIONS TO SIMPLIFY B–63514EN/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 18013. FUNCTIONS TO SIMPLIFY PROGRAMMING PROGRAMMING B–63514EN/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 18113. FUNCTIONS TO SIMPLIFY B–63514EN/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 18213. FUNCTIONS TO SIMPLIFY PROGRAMMING PROGRAMMING B–63514EN/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 18313. FUNCTIONS TO SIMPLIFY B–63514EN/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 18413. FUNCTIONS TO SIMPLIFY PROGRAMMING PROGRAMMING B–63514EN/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 18513. FUNCTIONS TO SIMPLIFY B–63514EN/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 18613. FUNCTIONS TO SIMPLIFY PROGRAMMING PROGRAMMING B–63514EN/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 18713. FUNCTIONS TO SIMPLIFY B–63514EN/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 18813. FUNCTIONS TO SIMPLIFY PROGRAMMING PROGRAMMING B–63514EN/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–63514EN/01 PROGRAMMING PROGRAMMING 13.1.11 This cycle performs accurate boring. Boring Cycle 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
  • Page 19013. FUNCTIONS TO SIMPLIFY PROGRAMMING PROGRAMMING B–63514EN/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 19113. FUNCTIONS TO SIMPLIFY B–63514EN/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 19213. FUNCTIONS TO SIMPLIFY PROGRAMMING PROGRAMMING B–63514EN/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 19313. FUNCTIONS TO SIMPLIFY B–63514EN/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 19413. FUNCTIONS TO SIMPLIFY PROGRAMMING PROGRAMMING B–63514EN/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–63514EN/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 19613. FUNCTIONS TO SIMPLIFY PROGRAMMING PROGRAMMING B–63514EN/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 19713. FUNCTIONS TO SIMPLIFY B–63514EN/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 19813. FUNCTIONS TO SIMPLIFY PROGRAMMING PROGRAMMING B–63514EN/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 19913. FUNCTIONS TO SIMPLIFY B–63514EN/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 20013. FUNCTIONS TO SIMPLIFY PROGRAMMING PROGRAMMING B–63514EN/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 20113. FUNCTIONS TO SIMPLIFY B–63514EN/01 PROGRAMMING PROGRAMMING Examples Z–axis feedrate 1000 mm/min Spindle speed 1000 rpm 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 R–2
  • Page 20213. FUNCTIONS TO SIMPLIFY PROGRAMMING PROGRAMMING B–63514EN/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 20313. FUNCTIONS TO SIMPLIFY B–63514EN/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 20413. FUNCTIONS TO SIMPLIFY PROGRAMMING PROGRAMMING B–63514EN/01 Examples Z–axis feedrate 1000 mm/min Spindle speed 1000 rpm 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 R–
  • Page 20513. FUNCTIONS TO SIMPLIFY B–63514EN/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 20613. FUNCTIONS TO SIMPLIFY PROGRAMMING PROGRAMMING B–63514EN/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 20713. FUNCTIONS TO SIMPLIFY B–63514EN/01 PROGRAMMING PROGRAMMING D Cancel Do not specify a group 01 G code (G00 to G03) and G73 in the same block. If they are specified together, G73 is canceled. D Tool offset In the canned cycle mode, tool offsets are ignored. 13.2.4 The rigid tapping canned cycle is
  • Page 20813. FUNCTIONS TO SIMPLIFY PROGRAMMING PROGRAMMING B–63514EN/01 13.3 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 20913. FUNCTIONS TO SIMPLIFY B–63514EN/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 21013. FUNCTIONS TO SIMPLIFY PROGRAMMING PROGRAMMING B–63514EN/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 21113. FUNCTIONS TO SIMPLIFY B–63514EN/01 PROGRAMMING PROGRAMMING 13.4 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 Concerning this operation, refer to the ma
  • Page 21213. FUNCTIONS TO SIMPLIFY PROGRAMMING PROGRAMMING B–63514EN/01 13.5 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 21313. FUNCTIONS TO SIMPLIFY B–63514EN/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 21413. FUNCTIONS TO SIMPLIFY PROGRAMMING PROGRAMMING B–63514EN/01 D Indexing function and other functions Table 13.5 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 215B–63514EN/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 CUTTER COMPENSATION C (G40–G42) 14.5 D
  • Page 21614. COMPENSATION FUNCTION PROGRAMMING B–63514EN/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 ch
  • Page 217B–63514EN/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 21814. COMPENSATION FUNCTION PROGRAMMING B–63514EN/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 219B–63514EN/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 22014. COMPENSATION FUNCTION PROGRAMMING B–63514EN/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 221B–63514EN/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 22214. COMPENSATION FUNCTION PROGRAMMING B–63514EN/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 223B–63514EN/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 22414. COMPENSATION FUNCTION PROGRAMMING B–63514EN/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 225B–63514EN/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 22614. COMPENSATION FUNCTION PROGRAMMING B–63514EN/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 227B–63514EN/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 22814. COMPENSATION FUNCTION PROGRAMMING B–63514EN/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 (G45–G48) axis. Workpiece ÇÇÇ ÇÇÇ
  • Page 229B–63514EN/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 fr
  • Page 23014. COMPENSATION FUNCTION PROGRAMMING B–63514EN/01 WARNING 1 When G45 to G48 is specified to n axes (n=1–4) simultaneously in a motion block, offset is applied to all n axes. When the cutter is offset only for cutter radius or diameter in taper cutting, overcutting or undercutting occurs. Therefore,
  • Page 231B–63514EN/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 23214. COMPENSATION FUNCTION PROGRAMMING B–63514EN/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 233B–63514EN/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 23414. COMPENSATION FUNCTION PROGRAMMING B–63514EN/01 Format D Start up G00(or G01)G41(or G42) IP P_ 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 val
  • Page 235B–63514EN/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 23614. COMPENSATION FUNCTION PROGRAMMING B–63514EN/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 237B–63514EN/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 23814. COMPENSATION FUNCTION PROGRAMMING B–63514EN/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 positi
  • Page 239B–63514EN/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 24014. COMPENSATION FUNCTION PROGRAMMING B–63514EN/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 241B–63514EN/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 24214. COMPENSATION FUNCTION PROGRAMMING B–63514EN/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 243B–63514EN/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 24414. COMPENSATION FUNCTION PROGRAMMING B–63514EN/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 245B–63514EN/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 24614. COMPENSATION FUNCTION PROGRAMMING B–63514EN/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 247B–63514EN/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 24814. COMPENSATION FUNCTION PROGRAMMING B–63514EN/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 249B–63514EN/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 25014. COMPENSATION FUNCTION PROGRAMMING B–63514EN/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 251B–63514EN/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 25214. COMPENSATION FUNCTION PROGRAMMING B–63514EN/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 253B–63514EN/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–15.6.2 and 15.6.4. S
  • Page 25414. COMPENSATION FUNCTION PROGRAMMING B–63514EN/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 255B–63514EN/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 25614. COMPENSATION FUNCTION PROGRAMMING B–63514EN/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 257B–63514EN/01 PROGRAMMING 14. COMPENSATION FUNCTION N4 G41 G91 G01 X150.0 P2 P3 P4 P5 Y200.‘0 ; N5 X150.0 Y200.0 ; N6 G02 J–600.0 ; N7 G01 X150.0 Y–200.0 ; P1 P6 N8 G40 X150.0 Y–200.0 ; N5 N7 N4 N8 Programmed path Tool center path N6 If the vector is not ignored, the tool path is as follows: P1 → P2
  • Page 25814. COMPENSATION FUNCTION PROGRAMMING B–63514EN/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 259B–63514EN/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 26014. COMPENSATION FUNCTION PROGRAMMING B–63514EN/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 261B–63514EN/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 26214. COMPENSATION FUNCTION PROGRAMMING B–63514EN/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 263B–63514EN/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–15.6.
  • Page 26414. COMPENSATION FUNCTION PROGRAMMING B–63514EN/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 265B–63514EN/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 26614. COMPENSATION FUNCTION PROGRAMMING B–63514EN/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 267B–63514EN/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 26814. COMPENSATION FUNCTION PROGRAMMING B–63514EN/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 269B–63514EN/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 27014. COMPENSATION FUNCTION PROGRAMMING B–63514EN/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 271B–63514EN/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
  • Page 27214. COMPENSATION FUNCTION PROGRAMMING B–63514EN/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 273B–63514EN/01 PROGRAMMING 14. COMPENSATION FUNCTION 14.5.8 Positioning by automatically canceling a cutter compensation vector G53, G28, G30 and G29 when G53 is specified in cutter compensation C mode, then automatically restoring that cutter compensation vector with the execution of the next Command
  • Page 27414. COMPENSATION FUNCTION PROGRAMMING B–63514EN/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 [FS10/11 Type] r (G4
  • Page 275B–63514EN/01 PROGRAMMING 14. COMPENSATION FUNCTION When CCN (bit2 of parameter No.5003)=1 [FS10/11 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
  • Page 27614. COMPENSATION FUNCTION PROGRAMMING B–63514EN/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 277B–63514EN/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 27814. COMPENSATION FUNCTION PROGRAMMING B–63514EN/01 D G28 or G30 command in When G28 or G30 is specified in cutter compensation C mode, an cutter compensation C operation of FS10/11 type is performed if CCN (bit 2 of parameter No. mode 5003) is set to 1. This means that an intersection vector is gene
  • Page 279B–63514EN/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 28014. COMPENSATION FUNCTION PROGRAMMING B–63514EN/01 When CCN (bit 2 of parameter No. 5003) = 1 [FS10/11 Type] Intermediate position = return position (G42G01) s G01 s r G01 G28/30 G29 s Reference position (b) For return by G00 When CCN (bit 2 of parameter No.5003)=0 Oxxxx; G91G41_ _ _; [Type A] Start
  • Page 281B–63514EN/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 28214. COMPENSATION FUNCTION PROGRAMMING B–63514EN/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 283B–63514EN/01 PROGRAMMING 14. COMPENSATION FUNCTION When CCN (bit 2 of parameter No.5003)=1 [FS10/11 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 th
  • Page 28414. COMPENSATION FUNCTION PROGRAMMING B–63514EN/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 285B–63514EN/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 FS10/11 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 p
  • Page 28614. COMPENSATION FUNCTION PROGRAMMING B–63514EN/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 287B–63514EN/01 PROGRAMMING 14. COMPENSATION FUNCTION When CCN (bit 2 of parameter No.5003)=1 [FS10/11 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
  • Page 28814. COMPENSATION FUNCTION PROGRAMMING B–63514EN/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 289B–63514EN/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 Intermediateposi
  • Page 29014. COMPENSATION FUNCTION PROGRAMMING B–63514EN/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 291B–63514EN/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 29214. COMPENSATION FUNCTION PROGRAMMING B–63514EN/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 293B–63514EN/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 29414. COMPENSATION FUNCTION PROGRAMMING B–63514EN/01 14.6 Tool compensation values include tool geometry compensation values and tool wear compensation (Fig. 14.6). TOOL COMPENSATION VALUES, NUMBER ÇÇ Reference position OF COMPENSATION VALUES, AND ÇÇ OFSG ÇÇ ÇÇ ENTERING VALUES FROM THE OFSW OFSG:Geome
  • Page 295B–63514EN/01 PROGRAMMING 14. COMPENSATION FUNCTION Format The programming format depends on which tool compensation memory is used. D Input of tool compensation value by Table 14.6 (b) Setting range of Tool compensation memory and programing Tool compensation value Variety of tool compensation memor
  • Page 29614. COMPENSATION FUNCTION PROGRAMMING B–63514EN/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 297B–63514EN/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) to en
  • Page 29814. COMPENSATION FUNCTION PROGRAMMING B–63514EN/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 299B–63514EN/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 du
  • Page 30014. COMPENSATION FUNCTION PROGRAMMING B–63514EN/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 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
  • Page 301B–63514EN/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 30214. COMPENSATION FUNCTION PROGRAMMING B–63514EN/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 303B–63514EN/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 30414. COMPENSATION FUNCTION PROGRAMMING B–63514EN/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 305B–63514EN/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 start
  • Page 30614. COMPENSATION FUNCTION PROGRAMMING B–63514EN/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 307B–63514EN/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 30814. COMPENSATION FUNCTION PROGRAMMING B–63514EN/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 309B–63514EN/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 31014. COMPENSATION FUNCTION PROGRAMMING B–63514EN/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 311B–63514EN/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 31214. COMPENSATION FUNCTION PROGRAMMING B–63514EN/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 313B–63514EN/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 31415. CUSTOM MACRO PROGRAMMING B–63514EN/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 315B–63514EN/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 G100 and X100.0. VARIABLES With a custom macro, numeric values can be specified directly or using a variable number. When a variable num
  • Page 31615. CUSTOM MACRO PROGRAMMING B–63514EN/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 317B–63514EN/01 PROGRAMMING 15. CUSTOM MACRO (b) Operation < vacant > is the same as 0 except when replaced by < vacant> When #1 = < vacant > When #1 = 0 #2 = #1 #2 = #1 # # #2 = < vacant > #2 = 0 #2 = #1*5 #2 = #1*5 # # #2 = 0 #2 = 0 #2 = #1+#1 #2 = #1 + #1 # # #2 = 0 #2 = 0 (c) Conditional expression
  • Page 31815. CUSTOM MACRO PROGRAMMING B–63514EN/01 Limitations Program numbers, sequence numbers, and optional block skip numbers cannot be referenced using variables. Example: Variables cannot be used in the following ways: O#1; /#2G00X100.0; N#3Y200.0; 294
  • Page 319B–63514EN/01 PROGRAMMING 15. CUSTOM MACRO 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 32015. CUSTOM MACRO PROGRAMMING B–63514EN/01 D Macro alarms Table 15.2 (c) System variable for macro alarms Variable Function number #3000 When a value from 0 to 200 is assigned to variable #3000, the CNC stops with an alarm. After an expression, an alarm message not longer than 26 characters can be de
  • Page 321B–63514EN/01 PROGRAMMING 15. CUSTOM MACRO D Automatic operation The control state of automatic operation can be changed. control Table 15.2 (e) System variable (#3003) for automatic operation control Completion of an auxiliary #3003 Single block function 0 Enabled To be awaited 1 Disabled To be awai
  • Page 32215. CUSTOM MACRO PROGRAMMING B–63514EN/01 S When exact stop check is disabled, no exact stop check (position check) is made even in blocks including those which do not perform cutting. O0001 ; N1 G00 G91 X#24 Y#25 ; N2 Z#18 ; G04 ; N3 #3003=3 ; N1 N8, N9, N4 #3004=7 ; N10 N5 G01 Z#26 F#9 ; N2 N6 M04
  • Page 323B–63514EN/01 PROGRAMMING 15. CUSTOM MACRO D Mirror image The mirror–image status for each axis set using an external switch or setting operation can be read through the output signal (mirror–image check signal). The mirror–image status present at that time can be checked. (See III–4.8) The value obt
  • Page 32415. CUSTOM MACRO PROGRAMMING B–63514EN/01 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 (Group 01) #4002 G17, G18, G19 (Group 02
  • Page 325B–63514EN/01 PROGRAMMING 15. CUSTOM MACRO D Current position Position information cannot be written but can be read. Table 15.2 (i) System variables for position information Read Tool com- Variable Position Coordinate operation pensation number information system during value movement #5001–#5004 Bl
  • Page 32615. CUSTOM MACRO PROGRAMMING B–63514EN/01 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 327B–63514EN/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 express
  • Page 32815. CUSTOM MACRO PROGRAMMING B–63514EN/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 329B–63514EN/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 33015. CUSTOM MACRO PROGRAMMING B–63514EN/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 Average Maximum Operation Ty
  • Page 331B–63514EN/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 33215. CUSTOM MACRO PROGRAMMING B–63514EN/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 333B–63514EN/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 33415. CUSTOM MACRO PROGRAMMING B–63514EN/01 D Operators Operators each consist of two letters and are used to compare two values to determine whether they are equal or one value is smaller or greater than the other value. Note that the inequality sign cannot be used. Table 15.5.2 Operators Operator Me
  • Page 335B–63514EN/01 PROGRAMMING 15. CUSTOM MACRO 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 33615. CUSTOM MACRO PROGRAMMING B–63514EN/01 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; 312
  • Page 337B–63514EN/01 PROGRAMMING 15. CUSTOM MACRO 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 33815. CUSTOM MACRO PROGRAMMING B–63514EN/01 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 339B–63514EN/01 PROGRAMMING 15. CUSTOM MACRO 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 34015. CUSTOM MACRO PROGRAMMING B–63514EN/01 D Local variable levels S Local variables from level 0 to 4 are provided for nesting. 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
  • Page 341B–63514EN/01 PROGRAMMING 15. CUSTOM MACRO Sample program A macro is created which drills H holes at intervals of B degrees after a (bolt hole circle) start angle of A degrees along the periphery of a circle with radius I. The center of the circle is (X,Y). Commands can be specified in either the abs
  • Page 34215. CUSTOM MACRO PROGRAMMING B–63514EN/01 D Macro program O9100; (called program) #3=#4003; Stores G code of group 3. G81 Z#26 R#18 F#9 K0; (Note) Drilling cycle. Note: L0 can also be used. IF[#3 EQ 90]GOTO 1; Branches to N1 in the G90 mode. #24=#5001+#24; Calculates the X coordinate of the center.
  • Page 343B–63514EN/01 PROGRAMMING 15. CUSTOM MACRO D Call nesting Calls can be nested to a depth of four levels including simple calls (G65) and modal calls (G66). This does not include subprogram calls (M98). D Modal call nesting Modal calls can be nested by specifying another G66 code during a modal call.
  • Page 34415. CUSTOM MACRO PROGRAMMING B–63514EN/01 D Macro program O9110; (program called) #1=#4001; Stores G00/G01. #3=#4003; Stores G90/G91. #4=#4109; Stores the cutting feedrate. #5=#5003; Stores the Z coordinate at the start of drilling. G00 G90 Z#18; Positioning at position R G01 Z#26 F#9; Cutting feed
  • Page 345B–63514EN/01 PROGRAMMING 15. CUSTOM MACRO Limitations D Nesting of calls using G In a program called with a G code, no macros can be called using a G code. codes A G code in such a program is treated as an ordinary G code. In a program called as a subprogram with an M or T code, no macros can be cal
  • Page 34615. CUSTOM MACRO PROGRAMMING B–63514EN/01 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 347B–63514EN/01 PROGRAMMING 15. CUSTOM MACRO 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 34815. CUSTOM MACRO PROGRAMMING B–63514EN/01 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 349B–63514EN/01 PROGRAMMING 15. CUSTOM MACRO 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–of–range tool number #3002=0; Clears the timer. N9 M03; Rotates the spindle in the forward direction. M99; O9002(M05); M
  • Page 35015. CUSTOM MACRO PROGRAMMING B–63514EN/01 15.7 For smooth machining, the CNC prereads the NC statement to be performed next. This operation is referred to as buffering. In cutter PROCESSING compensation mode (G41, G42), the NC prereads NC statements two or MACRO three blocks ahead to find intersecti
  • Page 351B–63514EN/01 PROGRAMMING 15. CUSTOM MACRO D Buffering the next block in cutter compensation > N1 G01 G41 G91 X50.0 Y30.0 F100 Dd ; mode (G41, G42) N2 #1=100 ; > : Block being executed N3 X100.0 ; j : Blocks read into the buffer N4 #2=200 ; N5 Y50.0 ; : N1 N3 NC statement execution N2 N4 Macro statem
  • Page 35215. CUSTOM MACRO PROGRAMMING B–63514EN/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 353B–63514EN/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 35415. CUSTOM MACRO PROGRAMMING B–63514EN/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 355B–63514EN/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 35615. CUSTOM MACRO PROGRAMMING B–63514EN/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 357B–63514EN/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 35815. CUSTOM MACRO PROGRAMMING B–63514EN/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 359B–63514EN/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 c
  • Page 36015. CUSTOM MACRO PROGRAMMING B–63514EN/01 15.11.2 Details of Functions Explanations D Subprogram–type There are two types of custom macro interrupts: Subprogram–type interrupt and macro–type interrupts and macro–type interrupts. The interrupt type used is selected interrupt by MSB (bit 5 of paramete
  • Page 361B–63514EN/01 PROGRAMMING 15. CUSTOM MACRO (iii) If there are no NC statements in the interrupt program, control is returned to the interrupted program by M99, then the program is restarted from the command in the interrupted block. Interrupted by macro interrupt ÉÉÉÉ Execution in ÉÉÉÉ progress Norma
  • Page 36215. CUSTOM MACRO PROGRAMMING B–63514EN/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 363B–63514EN/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 36415. CUSTOM MACRO PROGRAMMING B–63514EN/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 365B–63514EN/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 36615. CUSTOM MACRO PROGRAMMING B–63514EN/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 367B–63514EN/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 36816. PATTERN DATA INPUT FUNCTION PROGRAMMING B–63514EN/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 36916. PATTERN DATA INPUT B–63514EN/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. TAPPING 2. DRILLING 3. BORING 4. POCKET 5. BOLT HOLE 6. LINE ANGLE 7. GRID 8. PE
  • Page 37016. PATTERN DATA INPUT FUNCTION PROGRAMMING B–63514EN/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 37116. PATTERN DATA INPUT B–63514EN/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 37216. PATTERN DATA INPUT FUNCTION PROGRAMMING B–63514EN/01 Example Custom macros for the menu title and hole pattern names. MENU : HOLE PATTERN O0000 N00000 1. TAPPING 2. DRILLING 3. BORING 4. POCKET 5. BOLT HOLE 6. LINE ANGLE 7. GRID 8. PECK 9. TEST PATRN 10. BACK > _ MDI **** *** *** 16:05:59 [ MACR
  • Page 37316. PATTERN DATA INPUT B–63514EN/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 37416. PATTERN DATA INPUT FUNCTION PROGRAMMING B–63514EN/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 37516. PATTERN DATA INPUT B–63514EN/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 37616. PATTERN DATA INPUT FUNCTION PROGRAMMING B–63514EN/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 37716. PATTERN DATA INPUT B–63514EN/01 PROGRAMMING FUNCTION 16.3 CHARACTERS AND CODES TO BE USED FOR THE PATTERN DATA INPUT Table. 16.3 (a) Characters and codes to be used for the pattern data input function FUNCTION Char- Char- Code Comment Code Comment acter acter A 065 6 054 B 066 7 055 C 067 8 056
  • Page 37816. PATTERN DATA INPUT FUNCTION PROGRAMMING B–63514EN/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 37917. PROGRAMMABLE PARAMETER B–63514EN/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 38017. PROGRAMMABLE PARAMETER ENTRY (G10) PROGRAMMING B–63514EN/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 38118. MEMORY OPERATION USING B–63514EN/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 38219. HIGH SPEED CUTTING FUNCTIONS PROGRAMMING B–63514EN/01 19 HIGH SPEED CUTTING FUNCTIONS 358
  • Page 383B–63514EN/01 PROGRAMMING 19. HIGH SPEED CUTTING 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 38419. HIGH SPEED CUTTING FUNCTIONS PROGRAMMING B–63514EN/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 LOOK-AHEAD servo system which increase as the feedrate becomes higher can be CONTROL (G08) su
  • Page 385B–63514EN/01 PROGRAMMING 19. HIGH SPEED CUTTING FUNCTIONS D Functions that cannot be In the look–ahead control mode, the functions listed below cannot be specified specified. To specify these functions, cancel the look–ahead control mode, specify the desired function, then set look–ahead control mod
  • Page 38619. HIGH SPEED CUTTING FUNCTIONS PROGRAMMING B–63514EN/01 19.3 The function enables look–ahead linear acceleration/deceleration before interpolation of multiple blocks. This results in smooth acceleration LOOK–AHEAD /deceleration over many blocks, as well as high–speed machining. CONTROL (MULTIPLE B
  • Page 387B–63514EN/01 PROGRAMMING 19. HIGH SPEED CUTTING FUNCTIONS Interpolation functions Ę Can be programmed Cannot be programmed Name Description Positioning (G00) Ę (Positioning of linear interpolation type) Single direction positioning (G60) Exact stop (G09) Ę Exact stop mode (G61) Ę Tapping mode (G63)
  • Page 38819. HIGH SPEED CUTTING FUNCTIONS PROGRAMMING B–63514EN/01 Feed functions Ę Can be programmed Cannot be programmed Name Description Rapid traverse rate Up to 240m/min (0.001mm) Up to 100m/min (0.0001mm) Rapid traverse rate override F0, 25, 50, 100 % Rapid traverse rate override in 0% to 100% units of
  • Page 389B–63514EN/01 PROGRAMMING 19. HIGH SPEED CUTTING FUNCTIONS Others Ę Can be programmed Cannot be programmed Name Description Cycle start/Feed hold Ę Dry run Ę Single block Ę Interlock Ę Machine lock Ę When an axis machine lock signal (MLK1 to MLK4) is set on or off, accel- eration/deceleration is not
  • Page 39019. HIGH SPEED CUTTING FUNCTIONS PROGRAMMING B–63514EN/01 Limitations D Conditions for entering Before G05.1 Q1, the following modal codes must be specified. If this look–ahead control condition is not satisfied, P/S alarm No. 5111 will be issued. (multiple blocks are read in advance) mode G code De
  • Page 391B–63514EN/01 PROGRAMMING 20. AXIS CONTROL FUNCTIONS 20 AXIS CONTROL FUNCTIONS 367
  • Page 39220. AXIS CONTROL FUNCTIONS PROGRAMMING B–63514EN/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 one pair of a
  • Page 393B–63514EN/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 39420. AXIS CONTROL FUNCTIONS PROGRAMMING B–63514EN/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 395B–63514EN/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 396
  • Page 397III. OPERATIO
  • Page 398
  • Page 399B–63514EN/01 OPERATION 1. GENERAL 1 GENERAL 375
  • Page 4001. GENERAL OPERATION B–63514EN/01 1.1 MANUAL OPERATION Explanations D Manual reference The CNC machine tool has a position used to determine the machine position return position. This position is called the reference position, where the tool is replaced or the coordinate are set. Ordinarily, after t
  • Page 401B–63514EN/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 4021. GENERAL OPERATION B–63514EN/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 PROGRAMING– AUTOMATIC Program 01000 ; OPERATION M_S_T ; G92_X_ ; Tool G00... ; G01...... ; . . . . F
  • Page 403B–63514EN/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 4041. GENERAL OPERATION B–63514EN/01 D Handle interruption While automatic operation is being executed, tool movement can overlap automatic operation by rotating the manual handle (See Section III–4.7). Tool position during Z automatic operation Tool position after handle interruption Programmed depth
  • Page 405B–63514EN/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 4061. GENERAL OPERATION B–63514EN/01 D Single block When the cycle start pushbutton is pressed, the tool executes one operation then stops. By pressing the cycle start again, the tool executes the next operation then stops. The program is checked in this manner (See Section III–5.5). Cycle start Cycle
  • Page 407B–63514EN/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 4081. GENERAL OPERATION B–63514EN/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 409B–63514EN/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 4101. GENERAL OPERATION B–63514EN/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 411B–63514EN/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 4121. GENERAL OPERATION B–63514EN/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 413B–63514EN/01 OPERATION 1. GENERAL 1.7.4 Two types of run time and number of parts are displayed on the screen. Parts Count Display, (See Section 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 STR
  • Page 4141. GENERAL OPERATION B–63514EN/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 output to a medium, the data can be input into CNC memory. Portable tape reader FANUC PPR Memory Paper
  • Page 415B–63514EN/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 and etc. 391
  • Page 4162. OPERATIONAL DEVICES OPERATION B–63514EN/01 2.1 The setting and display units are shown in Subsections 2.1.1 to 2.1.2 of Part III. SETTING AND DISPLAY UNITS 9” monochrome CRT/MDI unit . . . . . . . . . . . . . . . . . . . . . III–2.1.1 8.4” color LCD/MDI unit . . . . . . . . . . . . . . . . . . .
  • Page 417B–63514EN/01 OPERATION 2. OPERATIONAL DEVICES 2.1.1 9” Monochrome CRT/MDI Unit 2.1.2 8.4” Color LCD/MDI Unit 393
  • Page 4182. OPERATIONAL DEVICES OPERATION B–63514EN/01 2.1.3 Key Location of MDI SHIFT key Address/numeric keys Cancel key INPUT key Function keys Cursor move keys Edit keys HELP key Page change keys RESET key 394
  • Page 419B–63514EN/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 button to use the help function when uncertain about the o
  • Page 4202. OPERATIONAL DEVICES OPERATION B–63514EN/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 421B–63514EN/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 immediately after a function key, the screen (section) corresponding to the AND SOFT KEYS selected
  • Page 4222. OPERATIONAL DEVICES OPERATION B–63514EN/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: POS Press this key to display the position screen. PROG Press this key to display the program screen.
  • Page 423B–63514EN/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 4242. OPERATIONAL DEVICES OPERATION B–63514EN/01 POSITION SCREEN Soft key transition triggered by the function key POS POS Absolute coordinate display [ABS] [(OPRT)] [PTSPRE] [EXEC] [RUNPRE] [EXEC] [WORK] [ALLEXE] (Axis name) [EXEC] Relative coordinate display [REL] [(OPRT)] (Axis or numeral) [PRESET]
  • Page 425B–63514EN/01 OPERATION 2. OPERATIONAL DEVICES Soft key transition triggered by the function key PROG PROGRAM SCREEN in the MEM mode 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 4262. OPERATIONAL DEVICES OPERATION B–63514EN/01 2/2 (2) [FL.SDL] [PRGRM] Return to (1) (Program display) File directory display screen [DIR] [(OPRT)] [SELECT] (number) [F SET] [EXEC] Schedule operation display screen [SCHDUL] [(OPRT)] [CLEAR] [CAN] [EXEC] (Schedule data) [INPUT] 402
  • Page 427B–63514EN/01 OPERATION 2. OPERATIONAL DEVICES Soft key transition triggered by the function key PROG PROGRAM SCREEN in the EDIT mode 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 4282. OPERATIONAL DEVICES OPERATION B–63514EN/01 2/2 (1) Program directory display [LIB] [(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 429B–63514EN/01 OPERATION 2. OPERATIONAL DEVICES Soft key transition triggered by the function key PROG PROGRAM SCREEN in the MDI mode 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 4302. OPERATIONAL DEVICES OPERATION B–63514EN/01 Soft key transition triggered by the function key PROG PROGRAM SCREEN in the HNDL, JOG, or REF mode 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 431B–63514EN/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 4322. OPERATIONAL DEVICES OPERATION B–63514EN/01 2/2 (1) Program directory display [LIB] [(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 433B–63514EN/01 OPERATION 2. OPERATIONAL DEVICES OFFSET OFFSET/SETTING SCREEN Soft key transition triggered by the function key SETTING 1/2 OFFSET SETTING Tool offset screen [OFFSET] [(OPRT)] (Number) [NO SRH] (Axis name) [INP.C.] (Numeral) [+INPUT] (Numeral) [INPUT] [CLEAR] [ALL] [WEAR] [GEOM] [READ]
  • Page 4342. OPERATIONAL DEVICES OPERATION B–63514EN/01 2/2 (1) Menu programming 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] 410
  • Page 435B–63514EN/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] [EXEC] Diagnosis screen [DGNOS] [(
  • Page 4362. OPERATIONAL DEVICES OPERATION B–63514EN/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] Note) Search for the start of the file using [EXEC] the PRGRM screen for read/punch. Servo param
  • Page 437B–63514EN/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 4382. OPERATIONAL DEVICES OPERATION B–63514EN/01 GRAPHIC/CUSTOM SCREEN Soft key transition triggered by the function key CUSTOM GRAPH Tool path graphics CUSTOM GRAPH Tool path graphics [PARAM] [GRAPH] Custom screen CUSTOM GRAPH Custom screen Custom screen Original screen created using the machine tool
  • Page 439B–63514EN/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 CRT Buffer screen. In order
  • Page 4402. OPERATIONAL DEVICES OPERATION B–63514EN/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 441B–63514EN/01 OPERATION 2. OPERATIONAL DEVICES 2.4 External input/output devices such as FANUC Handy File and so forth are available. For details on the devices, refer to the manuals listed below. EXTERNAL I/O Table 2.4 External I/O device DEVICES Max. Reference Device name Usage storage manual capac
  • Page 4422. OPERATIONAL DEVICES OPERATION B–63514EN/01 Parameter Before an external input/output device can be used, parameters must be set as follows. CNC I/O BOARD Channel 1 Channel 2 JD5A JD5B 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 channe
  • Page 443B–63514EN/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 4442. OPERATIONAL DEVICES OPERATION B–63514EN/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 445B–63514EN/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 4462. OPERATIONAL DEVICES OPERATION B–63514EN/01 Screen indicating module setting status D401 – 01 SLOT 01 (01D9) : END END: Setting completed SLOT 02 (0050) : Blank: Setting not completed Module ID Slot number Display of software configuration D401 – 01 CNC control software SERVO : 9066–11 Digital ser
  • Page 447B–63514EN/01 OPERATION 3. MANUAL OPERATION 3 MANUAL OPERATION MANUAL OPERATION are five 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/off 423
  • Page 4483. MANUAL OPERATION OPERATION B–63514EN/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 449B–63514EN/01 OPERATION 3. MANUAL OPERATION Explanations D Automatically setting the Coordinate system is automatically determined when manual reference coordinate system position return is performed. When a, b and g are set in parameter 1250, the workpiece coordinate system is determined so that ref
  • Page 4503. MANUAL OPERATION OPERATION B–63514EN/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 451B–63514EN/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 4523. MANUAL OPERATION OPERATION B–63514EN/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 453B–63514EN/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 4543. MANUAL OPERATION OPERATION B–63514EN/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 455B–63514EN/01 OPERATION 3. MANUAL OPERATION WARNING Rotating the handle quickly with a large magnification such as x100 moves the tool too fast. The feedrate is clamped at the rapid traverse feedrate. NOTE Rotate the manual pulse generator at a rate of five rotations per second or lower. If the manua
  • Page 4563. MANUAL OPERATION OPERATION B–63514EN/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 457B–63514EN/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 4583. MANUAL OPERATION OPERATION B–63514EN/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 459B–63514EN/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 4603. MANUAL OPERATION OPERATION B–63514EN/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 461B–63514EN/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 4624. AUTOMATIC OPERATION OPERATION B–63514EN/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 463B–63514EN/01 OPERATION 4. AUTOMATIC OPERATION Explanation Memory operation After memory operation is started, the following are executed: (1) A one–block command is read from the specified program. (2) The block command is decoded. (3) The command execution is started. (4) The command in the next bl
  • Page 4644. AUTOMATIC OPERATION OPERATION B–63514EN/01 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 465B–63514EN/01 OPERATION 4. AUTOMATIC OPERATION 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 4664. AUTOMATIC OPERATION OPERATION B–63514EN/01 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 467B–63514EN/01 OPERATION 4. AUTOMATIC OPERATION 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 4684. AUTOMATIC OPERATION OPERATION B–63514EN/01 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. It is possible to select files (programs) saved in
  • Page 469B–63514EN/01 OPERATION 4. AUTOMATIC OPERATION 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 4704. AUTOMATIC OPERATION OPERATION B–63514EN/01 4.4 This function specifies Sequence No. of a block to be restarted when a tool PROGRAM RESTART is broken down or when it is desired to restart machining operation after a day off, and restarts the machining operation from that block. It can also be used
  • Page 471B–63514EN/01 OPERATION 4. AUTOMATIC OPERATION 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 4724. AUTOMATIC OPERATION OPERATION B–63514EN/01 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. 459 T*******
  • Page 473B–63514EN/01 OPERATION 4. AUTOMATIC OPERATION 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 4744. AUTOMATIC OPERATION OPERATION B–63514EN/01 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 475B–63514EN/01 OPERATION 4. AUTOMATIC OPERATION < 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 4764. AUTOMATIC OPERATION OPERATION B–63514EN/01 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 477B–63514EN/01 OPERATION 4. AUTOMATIC OPERATION 4.5 The schedule function allows the operator to select files (programs) SCHEDULING registered on a floppy–disk in an external input/output device (Handy FUNCTION File, Floppy Cassette, or FA Card) and specify the execution order and number of repetition
  • Page 4784. AUTOMATIC OPERATION OPERATION B–63514EN/01 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 479B–63514EN/01 OPERATION 4. AUTOMATIC OPERATION 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 4804. AUTOMATIC OPERATION OPERATION B–63514EN/01 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 481B–63514EN/01 OPERATION 4. AUTOMATIC OPERATION 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 4824. AUTOMATIC OPERATION OPERATION B–63514EN/01 4.6 The subprogram call function is provided to call and execute subprogram SUBPROGRAM CALL files stored in an external input/output device(Handy File, FLOPPY FUNCTION (M198) CASSETTE, FA Card)during memory operation. When the following block in a progra
  • Page 483B–63514EN/01 OPERATION 4. AUTOMATIC OPERATION 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 cassette, M1
  • Page 4844. AUTOMATIC OPERATION OPERATION B–63514EN/01 4.7 The movement by manual handle operation can be done by overlapping MANUAL HANDLE it with the movement by automatic operation in the automatic operation INTERRUPTION mode. Tool position during Z automatic operation Tool position after handle interrupt
  • Page 485B–63514EN/01 OPERATION 4. AUTOMATIC OPERATION 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 4864. AUTOMATIC OPERATION OPERATION B–63514EN/01 (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 487B–63514EN/01 OPERATION 4. AUTOMATIC OPERATION 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 4884. AUTOMATIC OPERATION OPERATION B–63514EN/01 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 489B–63514EN/01 OPERATION 4. AUTOMATIC OPERATION 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 4904. AUTOMATIC OPERATION OPERATION B–63514EN/01 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 491B–63514EN/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 4925. TEST OPERATION OPERATION B–63514EN/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 493B–63514EN/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 4945. TEST OPERATION OPERATION B–63514EN/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 495B–63514EN/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 4965. TEST OPERATION OPERATION B–63514EN/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 497B–63514EN/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 4985. TEST OPERATION OPERATION B–63514EN/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 499B–63514EN/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 5006. SAFETY FUNCTIONS OPERATION B–63514EN/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 501B–63514EN/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 5026. SAFETY FUNCTIONS OPERATION B–63514EN/01 6.3 Three areas which the tool cannot enter can be specified with stored stroke check 1 and stored stroke check 2. STORED STROKE CHECK ÇÇÇÇÇÇÇÇÇ Ç (X,Y,Z) ÇÇÇÇÇÇÇÇÇ ÇÇÇÇÇÇÇÇÇ ÇÇÇÇÇÇÇ ÇÇÇÇÇÇÇÇÇ ÇÇ ÇÇÇÇÇÇÇ (I,J,K) ÇÇÇÇÇÇÇÇÇÇÇÇÇÇ (1)Forbidden area is inside. Ç
  • Page 503B–63514EN/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 5046. SAFETY FUNCTIONS OPERATION B–63514EN/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 505B–63514EN/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 5067. ALARM AND SELF–DIAGNOSIS FUNCTIONS OPERATION B–63514EN/01 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 error codes. Up to 50 previous alarms can be stored and displayed
  • Page 5077. ALARM AND SELF–DIAGNOSIS B–63514EN/01 OPERATION FUNCTIONS 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 520 OVER TRAVEL :+2 530 OVER TRAVEL :+3 S 0 T0000 MDI **** *** *** ALM 1
  • Page 5087. ALARM AND SELF–DIAGNOSIS FUNCTIONS OPERATION B–63514EN/01 D Reset of the alarm Error codes and messages indicate the cause of an alarm. To recover from an alarm, eliminate the cause and press the reset key. D Error codes The error codes are classified as follows: No. 000 to 255 : P/S alarm (Progr
  • Page 5097. ALARM AND SELF–DIAGNOSIS B–63514EN/01 OPERATION FUNCTIONS 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 5107. ALARM AND SELF–DIAGNOSIS FUNCTIONS OPERATION B–63514EN/01 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 5117. ALARM AND SELF–DIAGNOSIS B–63514EN/01 OPERATION FUNCTIONS 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 5127. ALARM AND SELF–DIAGNOSIS FUNCTIONS OPERATION B–63514EN/01 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 513B–63514EN/01 OPERATION 8. DATA INPUT/OUTPUT 8 DATA INPUT/OUTPUT NC data is transferred between the NC and external input/output devices such as the Handy File. The following types of data can be entered and output : 1.Program 2.Offset data 3.Parameter 4.Pitch error compensation data 5.Custom macro c
  • Page 5148. DATA INPUT/OUTPUT OPERATION B–63514EN/01 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 515B–63514EN/01 OPERATION 8. DATA INPUT/OUTPUT 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 5168. DATA INPUT/OUTPUT OPERATION B–63514EN/01 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 517B–63514EN/01 OPERATION 8. DATA INPUT/OUTPUT 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 5188. DATA INPUT/OUTPUT OPERATION B–63514EN/01 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 519B–63514EN/01 OPERATION 8. DATA INPUT/OUTPUT 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 5208. DATA INPUT/OUTPUT OPERATION B–63514EN/01 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 521B–63514EN/01 OPERATION 8. DATA INPUT/OUTPUT 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 5228. DATA INPUT/OUTPUT OPERATION B–63514EN/01 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 523B–63514EN/01 OPERATION 8. DATA INPUT/OUTPUT 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 5248. DATA INPUT/OUTPUT OPERATION B–63514EN/01 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 525B–63514EN/01 OPERATION 8. DATA INPUT/OUTPUT 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 5268. DATA INPUT/OUTPUT OPERATION B–63514EN/01 8.6 Parameters and pitch error compensation data are input and output from INPUTTING AND different screens, respectively. This chapter describes how to enter them. OUTPUTTING PARAMETERS AND PITCH ERROR COMPENSATION DATA 8.6.1 Parameters are loaded into the
  • Page 527B–63514EN/01 OPERATION 8. DATA INPUT/OUTPUT 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 Outputting Parameters CNC to a floppy or NC tape. Outputting parameters
  • Page 5288. DATA INPUT/OUTPUT OPERATION B–63514EN/01 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 529B–63514EN/01 OPERATION 8. DATA INPUT/OUTPUT 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 5308. DATA INPUT/OUTPUT OPERATION B–63514EN/01 8.7 INPUTTING/ OUTPUTTING 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 used to output custom macro common vari
  • Page 531B–63514EN/01 OPERATION 8. DATA INPUT/OUTPUT 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 format to a floppy or NC tape. Macro Common Variable Outputting custom macro common variable Procedure 1 Make sure the output
  • Page 5328. DATA INPUT/OUTPUT OPERATION B–63514EN/01 8.8 On the floppy directory display screen, a directory of the FANUC Handy File, FANUC Floppy Cassette, or FANUC FA Card files can be displayed. DISPLAYING In addition, those files can be loaded, output, and deleted. DIRECTORY OF FLOPPY CASSETTE DIRECTORY
  • Page 533B–63514EN/01 OPERATION 8. DATA INPUT/OUTPUT 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 5348. DATA INPUT/OUTPUT OPERATION B–63514EN/01 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 535B–63514EN/01 OPERATION 8. DATA INPUT/OUTPUT 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 5368. DATA INPUT/OUTPUT OPERATION B–63514EN/01 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 537B–63514EN/01 OPERATION 8. DATA INPUT/OUTPUT 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 5388. DATA INPUT/OUTPUT OPERATION B–63514EN/01 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 539B–63514EN/01 OPERATION 8. DATA INPUT/OUTPUT 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 5408. DATA INPUT/OUTPUT OPERATION B–63514EN/01 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.3 explains the display of a program listing for a specified group. PROGRAM LIST FOR A SPECIFIE
  • Page 541B–63514EN/01 OPERATION 8. DATA INPUT/OUTPUT 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 5428. DATA INPUT/OUTPUT OPERATION B–63514EN/01 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 543B–63514EN/01 OPERATION 8. DATA INPUT/OUTPUT 8.10.2 A program can be input and output using the ALL IO screen. Inputting and When entering a program using a cassette or card, the user must specify the input file containing the program (file search). Outputting Programs File search Procedure 1 Press s
  • Page 5448. DATA INPUT/OUTPUT OPERATION B–63514EN/01 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 or card, specifying N0 or N1 has and N1 the same effect. If N1 is specified when there is no file on t
  • Page 545B–63514EN/01 OPERATION 8. DATA INPUT/OUTPUT Inputting a program Procedure 1 Press soft key [PRGRM] on the ALL IO screen, described in Section 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 director
  • Page 5468. DATA INPUT/OUTPUT OPERATION B–63514EN/01 Outputting programs Procedure 1 Press soft key [PRGRM] on the ALL IO screen, described in Section 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 director
  • Page 547B–63514EN/01 OPERATION 8. DATA INPUT/OUTPUT Deleting files Procedure 1 Press soft key [PRGRM] on the ALL IO screen, described in Section 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 is
  • Page 5488. DATA INPUT/OUTPUT OPERATION B–63514EN/01 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 8.10.1. 2 Select EDIT mode. 3 Press soft key [(OPRT)]
  • Page 549B–63514EN/01 OPERATION 8. DATA INPUT/OUTPUT Outputting parameters Procedure 1 Press soft key [PARAM] on the ALL IO screen, described in Section 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 1 TV
  • Page 5508. DATA INPUT/OUTPUT OPERATION B–63514EN/01 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 8.10.1. 2 Select EDIT mode. 3 Press soft key [(OPR
  • Page 551B–63514EN/01 OPERATION 8. DATA INPUT/OUTPUT Outputting offset data Procedure 1 Press soft key [OFFSET] on the ALL IO screen, described in Section 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 3 TV
  • Page 5528. DATA INPUT/OUTPUT OPERATION B–63514EN/01 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 8.10.1. 2 Select EDI
  • Page 553B–63514EN/01 OPERATION 8. DATA INPUT/OUTPUT 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 5548. DATA INPUT/OUTPUT OPERATION B–63514EN/01 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 555B–63514EN/01 OPERATION 8. DATA INPUT/OUTPUT Inputting a file Procedure 1 Press the rightmost soft key (next–menu key) on the ALL IO screen, described in Section 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 key
  • Page 5568. DATA INPUT/OUTPUT OPERATION B–63514EN/01 Outputting a file Procedure 1 Press the rightmost soft key (next–menu key) on the ALL IO screen, described in Section 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 ke
  • Page 557B–63514EN/01 OPERATION 8. DATA INPUT/OUTPUT Deleting a file Procedure 1 Press the rightmost soft key (next–menu key) on the ALL IO screen, described in Section 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 keys
  • Page 5589. EDITING PROGRAMS OPERATION B–63514EN/01 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 559B–63514EN/01 OPERATION 9. EDITING PROGRAMS 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 5609. EDITING PROGRAMS OPERATION B–63514EN/01 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 561B–63514EN/01 OPERATION 9. EDITING PROGRAMS 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 5629. EDITING PROGRAMS OPERATION B–63514EN/01 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 563B–63514EN/01 OPERATION 9. EDITING PROGRAMS 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 5649. EDITING PROGRAMS OPERATION B–63514EN/01 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 565B–63514EN/01 OPERATION 9. EDITING PROGRAMS 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 5669. EDITING PROGRAMS OPERATION B–63514EN/01 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 address of the next word. Procedure for deleting a block 1 Search for or scan addres
  • Page 567B–63514EN/01 OPERATION 9. EDITING PROGRAMS 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 5689. EDITING PROGRAMS OPERATION B–63514EN/01 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 569B–63514EN/01 OPERATION 9. EDITING PROGRAMS 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 NUMBER started or restarted at the block of the sequence number. SEARCH Example) Sequence number 02346 in a pro
  • Page 5709. EDITING PROGRAMS OPERATION B–63514EN/01 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 571B–63514EN/01 OPERATION 9. EDITING PROGRAMS 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 5729. EDITING PROGRAMS OPERATION B–63514EN/01 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 573B–63514EN/01 OPERATION 9. EDITING PROGRAMS 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 5749. EDITING PROGRAMS OPERATION B–63514EN/01 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 575B–63514EN/01 OPERATION 9. EDITING PROGRAMS 9.6.2 A new program can be created by copying part of a program. Copying Part of a Before copy After copy 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 5769. EDITING PROGRAMS OPERATION B–63514EN/01 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 577B–63514EN/01 OPERATION 9. EDITING PROGRAMS 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 5789. EDITING PROGRAMS OPERATION B–63514EN/01 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 579B–63514EN/01 OPERATION 9. EDITING PROGRAMS 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 5809. EDITING PROGRAMS OPERATION B–63514EN/01 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 581B–63514EN/01 OPERATION 9. EDITING PROGRAMS 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 5829. EDITING PROGRAMS OPERATION B–63514EN/01 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 583B–63514EN/01 OPERATION 9. EDITING PROGRAMS 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 5849. EDITING PROGRAMS OPERATION B–63514EN/01 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 585B–63514EN/01 OPERATION 9. EDITING PROGRAMS 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 58610. CREATING PROGRAMS OPERATION B–63514EN/01 10 CREATING PROGRAMS Programs can be created using any of the following methods: ⋅ MDI keyboard ⋅ PROGRAMMING IN TEACH IN MODE ⋅ CONVERSATIONAL PROGRAMMING INPUT WITH GRAPHIC FUNCTION ⋅ AUTOMATIC PROGRAM PREPARATION DEVICE (FANUC SYSTEM P) This chapter de
  • Page 587B–63514EN/01 OPERATION 10. CREATING PROGRAMS 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 58810. CREATING PROGRAMS OPERATION B–63514EN/01 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 589B–63514EN/01 OPERATION 10. CREATING PROGRAMS 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 59010. CREATING PROGRAMS OPERATION B–63514EN/01 10.3 TEACH IN JOG mode and TEACH IN HANDLE modes, a machine position along the X, Y, and Z axes obtained by manual operation is stored CREATING in memory as a program position to create a program. PROGRAMS IN The words other than X, Y, and Z, which includ
  • Page 591B–63514EN/01 OPERATION 10. CREATING PROGRAMS 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 59210. CREATING PROGRAMS OPERATION B–63514EN/01 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 593B–63514EN/01 OPERATION 10. CREATING PROGRAMS 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 59410. CREATING PROGRAMS OPERATION B–63514EN/01 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 595B–63514EN/01 OPERATION 10. CREATING PROGRAMS 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 screen. At this time, a data address with the cursor blinks. 8 Enter nu
  • Page 59610. CREATING PROGRAMS OPERATION B–63514EN/01 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 597B–63514EN/01 OPERATION 11. SETTING AND DISPLAYING DATA 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 59811. SETTING AND DISPLAYING DATA OPERATION B–63514EN/01 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 599B–63514EN/01 OPERATION 11. SETTING AND DISPLAYING DATA Screen transition triggered by the function key PROG PROGRAM SCREEN in the MEMORY or MDI mode PROG *: Displayed in MDI mode Program screen * MEM MDI PRGRM CHECK CURRNT NEXT (OPRT) Display of proĆ Display of current Display of current gram conten
  • Page 60011. SETTING AND DISPLAYING DATA OPERATION B–63514EN/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 601B–63514EN/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 60211. SETTING AND DISPLAYING DATA OPERATION B–63514EN/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 603B–63514EN/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 60411. SETTING AND DISPLAYING DATA OPERATION B–63514EN/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: FUNCTION KEY POS ⋅Position display screen for the work coordinate sys
  • Page 605B–63514EN/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 60611. SETTING AND DISPLAYING DATA OPERATION B–63514EN/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 607B–63514EN/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 6 and 7 o
  • Page 60811. SETTING AND DISPLAYING DATA OPERATION B–63514EN/01 11.1.3 Displays the following positions on a screen : Current positions of the tool in the workpiece coordinate system, relative coordinate system, and Overall Position machine coordinate system, and the remaining distance. The relative Display
  • Page 609B–63514EN/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 61011. SETTING AND DISPLAYING DATA OPERATION B–63514EN/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 611B–63514EN/01 OPERATION 11. SETTING AND DISPLAYING DATA D Actual feedrate display The program check screen also displays the actual feedrate. on the other screen 587
  • Page 61211. SETTING AND DISPLAYING DATA OPERATION B–63514EN/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 613B–63514EN/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 61411. SETTING AND DISPLAYING DATA OPERATION B–63514EN/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 615B–63514EN/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 61611. SETTING AND DISPLAYING DATA OPERATION B–63514EN/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 617B–63514EN/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 61811. SETTING AND DISPLAYING DATA OPERATION B–63514EN/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 619B–63514EN/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 62011. SETTING AND DISPLAYING DATA OPERATION B–63514EN/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 621B–63514EN/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 62211. SETTING AND DISPLAYING DATA OPERATION B–63514EN/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 623B–63514EN/01 OPERATION 11. SETTING AND DISPLAYING DATA D Order in which programs When no program has been deleted from the list, each program is are registered registered at the end of the list. If some programs in the list were deleted, then a new program is registered, the new program is inserted
  • Page 62411. SETTING AND DISPLAYING DATA OPERATION B–63514EN/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 625B–63514EN/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 62611. SETTING AND DISPLAYING DATA OPERATION B–63514EN/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 627B–63514EN/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 #OFFSETSETTI
  • Page 62811. SETTING AND DISPLAYING DATA OPERATION B–63514EN/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 629B–63514EN/01 OPERATION 11. SETTING AND DISPLAYING DATA Explanations D Decimal point input A decimal point can be used when entering a compensation value. D Other setting method An external input/output device can be used to input or output a tool offset value. See III–8. A tool length offset value c
  • Page 63011. SETTING AND DISPLAYING DATA OPERATION B–63514EN/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 631B–63514EN/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 607
  • Page 63211. SETTING AND DISPLAYING DATA OPERATION B–63514EN/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 633B–63514EN/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 63411. SETTING AND DISPLAYING DATA OPERATION B–63514EN/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 635B–63514EN/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 63611. SETTING AND DISPLAYING DATA OPERATION B–63514EN/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 637B–63514EN/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 63811. SETTING AND DISPLAYING DATA OPERATION B–63514EN/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 external workpiece origin offset. The workpiece origin offset and external workpiece origin the Workp
  • Page 639B–63514EN/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 64011. SETTING AND DISPLAYING DATA OPERATION B–63514EN/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 641B–63514EN/01 OPERATION 11. SETTING AND DISPLAYING DATA 11.4.8 Displays common variables (#100 to #149 or #100 to #199, and #500 to Displaying and Setting #531 or #500 to #999) on the CRT. When the absolute value for a common variable exceeds 99999999, ******** is displayed. The values for Custom Mac
  • Page 64211. SETTING AND DISPLAYING DATA OPERATION B–63514EN/01 11.4.9 This subsection uses an example to describe how to display or set Displaying Pattern machining menus (pattern menus) created by the machine tool builder. Refer to the manual issued by the machine tool builder for the actual Data and Patte
  • Page 643B–63514EN/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 64411. SETTING AND DISPLAYING DATA OPERATION B–63514EN/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 645B–63514EN/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 Press one of the following arrow keys to perform jog feed. Press the
  • Page 64611. SETTING AND DISPLAYING DATA OPERATION B–63514EN/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 647B–63514EN/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 64811. SETTING AND DISPLAYING DATA OPERATION B–63514EN/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 649B–63514EN/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 65011. SETTING AND DISPLAYING DATA OPERATION B–63514EN/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 651B–63514EN/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 65211. SETTING AND DISPLAYING DATA OPERATION B–63514EN/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 653B–63514EN/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 65411. SETTING AND DISPLAYING DATA OPERATION B–63514EN/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 655B–63514EN/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 65611. SETTING AND DISPLAYING DATA OPERATION B–63514EN/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 657B–63514EN/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 65811. SETTING AND DISPLAYING DATA OPERATION B–63514EN/01 Procedure for displaying and setting the pitch error compensation data Procedure 1 Set the following parameters: S Number of the pitch error compensation point at the reference position (for each axis): Parameter 3620 S Number of the pitch error
  • Page 659B–63514EN/01 OPERATION 11. SETTING AND DISPLAYING DATA 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 66011. SETTING AND DISPLAYING DATA OPERATION B–63514EN/01 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 661B–63514EN/01 OPERATION 11. SETTING AND DISPLAYING DATA (7) Current time hh:mm:ss – Hours, minutes, and seconds (8) Program editing status INPUT : Indicates that data is being input. OUTPUT : Indicates that data is being output. SRCH : Indicates that a search is being performed. EDIT : Indicates that
  • Page 66211. SETTING AND DISPLAYING DATA OPERATION B–63514EN/01 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 663B–63514EN/01 OPERATION 11. SETTING AND DISPLAYING DATA 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 66411. SETTING AND DISPLAYING DATA OPERATION B–63514EN/01 11.8 When screen indication isn’t necessary, the life of the back light for LCD can be put off by turning off the display unit. CLEARING THE The screen can be cleared by pressing specific keys. It is also possible to SCREEN specify the automatic
  • Page 665B–63514EN/01 OPERATION 11. SETTING AND DISPLAYING DATA 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 66612. GRAPHICS FUNCTION OPERATION B–63514EN/01 12 GRAPHICS FUNCTION The graphic display function can draw the tool path specified by a program being executed on a screen. The graphic display function also allows enlargement and reduction of the display. 642
  • Page 667B–63514EN/01 OPERATION 12. GRAPHICS FUNCTION 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 66812. GRAPHICS FUNCTION OPERATION B–63514EN/01 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 669B–63514EN/01 OPERATION 12. GRAPHICS FUNCTION 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 67012. GRAPHICS FUNCTION OPERATION B–63514EN/01 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 671B–63514EN/01 OPERATION 12. GRAPHICS FUNCTION D Graphics parameter ⋅ AXES Specify the plane to use for drawing. The user can choose from the following six coordinate systems. With two–path control, a different drawing coordinate system can be selected for each tool post. Y Z Y =0 : Select (1) =1 : Se
  • Page 67212. GRAPHICS FUNCTION OPERATION B–63514EN/01 ⋅ GRAPHIC CENTER X= Y= Z= Set the coordinate value on the workpiece coordinate system at graphic center. 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 g
  • Page 673B–63514EN/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 67413. HELP FUNCTION OPERATION B–63514EN/01 ALARM DETAIL screen 2 Press soft key [1 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 675B–63514EN/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 67613. HELP FUNCTION OPERATION B–63514EN/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 677B–63514EN/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 678
  • Page 679IV. MAINTENANC
  • Page 680
  • Page 681B–63514EN/01 MAINTENANCE 1. METHOD OF REPLACING BATTERY 1 METHOD OF REPLACING BATTERY This chapter describes how to replace the CNC backup battery and absolute pulse coder battery. This chapter consists of the following sections: 1.1 REPLACING BATTERY FOR CONTROL UNIT 1.2 BATTERY FOR SEPARATE ABSOLU
  • Page 6821. METHOD OF REPLACING BATTERY MAINTENANCE B–63514EN/01 1.1 REPLACING BATTERY FOR CONTROL UNIT Replacing the battery 1 Use a litium battery (ordering drawing number : A02B–0177–K106) 2 Turn on the Series 0i. 3 Remove the battery case from the front panel of the power supply unit. The case can be rem
  • Page 683B–63514EN/01 MAINTENANCE 1. METHOD OF REPLACING BATTERY 4 Remove the connector from the battery. Front panel of control unit main board Battery connector CP8 BATTERY MEMORY CARD Battery CNMC Fig.1.1 (b) Replacing the battery(2) 5 Replace the battery and reconnect the connector. 6 Install the battery
  • Page 6841. METHOD OF REPLACING BATTERY MAINTENANCE B–63514EN/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 CRT display. When AP
  • Page 685B–63514EN/01 MAINTENANCE 1. METHOD OF REPLACING BATTERY 1.3 When the battery voltage falls, APC alarms 306 to 308 are displayed on the screen. When APC alarm 307 is displayed, replace the battery as soon BATTERY FOR as possible. In general, the battery should be replaced within one or two BUILT–IN A
  • Page 6861. METHOD OF REPLACING BATTERY MAINTENANCE B–63514EN/01 WARNING • The power magnetic cabinet in which the servo units are mounted has a high–voltage section. Don’t touch this section that presents a severe risk of the electric shock. • In case of SERVO AMPLIFIER Alfa series, replace the battery afte
  • Page 687B–63514EN/01 MAINTENANCE 1. METHOD OF REPLACING BATTERY SERVO AMPLIFIER Alfa The battery is connected in either of 2 ways as follows. series (SVM) Method 1: Attach the lithium battery to the SVM. Use the battery: A06B–6073–K001. Method 2: Use the battery case (A06B–6050–K060). Use the battery: A06B–
  • Page 6881. METHOD OF REPLACING BATTERY MAINTENANCE B–63514EN/01 CAUTION • The connector of the battery can be connected with either of CX5X and CX5Y. • Pay attention that the battery cable doesn’t have a stretch condition. If this cable is connected on a stretch condition, a bad conductivity may be occurred
  • Page 689B–63514EN/01 MAINTENANCE 1. METHOD OF REPLACING BATTERY SERVO AMPLIFIER Beta The battery is connected in either of 2 ways as follows. series Method 1: Attach the lithium battery to the SVM. Use the battery: A06B–6093–K001. Method 2: Use the battery case (A06B–6050–K060). Use the battery: A06B–6050–K
  • Page 6901. METHOD OF REPLACING BATTERY MAINTENANCE B–63514EN/01 Battery cover Battery Pass the battery cable to this slit. SVU-40, SVU-80 CAUTION The connector of the battery can be connected with either of CX5X and CX5Y. D Replacement of batteries Replace four D–size alkaline batteries in the battery case
  • Page 691B–63514EN/01 MAINTENANCE 1. METHOD OF REPLACING BATTERY Screws Cover Used batteries Old batteries should be disposed as ”INDUSTRIAL WASTES” according to the regulations of the country or autonomy where your machine has been installed. 667
  • Page 692
  • Page 693APPENDI
  • Page 694
  • Page 695B–63514EN/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 MACURO 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 N
  • Page 696A. TAPE CODE LIST APPENDIX B–63514EN/01 ISO code EIA code Meaning Without With CUSTOM CUSTOM Character 8 7 6 5 4 3 2 1 Character 8 7 6 5 4 3 2 1 MACRO MACRO B B DEL fffff f fff Del ffff f f f f Delete × × (deleting a mispunch) NUL f Blank f No punch. With EIA × × code, this code can- not be used in
  • Page 697B–63514EN/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 698B. LIST OF FUNCTIONS AND TAPE FORMAT APPENDIX B–63514EN/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 699B. LIST OF FUNCTIONS AND B–63514EN/01 APPENDIX TAPE FORMAT Functions Illustration Tape format Dwell (G04) X_ ; G04 P_ Look–ahead control G05.1 Q1: (multi blocks are read Look–ahead control (multi in advance) blocks are read in advance) (G05.1) mode on G05.1 Q0: Look–ahead control (multi blocks are r
  • Page 700B. LIST OF FUNCTIONS AND TAPE FORMAT APPENDIX B–63514EN/01 Functions Illustration Tape format IP Reference position return G27 IP_ ; check (G27) Start point Reference position (G28) Reference position return G28 IP_ ; (G28) Intermediateposition G30 IP_ ; 2nd, reference position re- IP turn (G30) 2nd
  • Page 701B. LIST OF FUNCTIONS AND B–63514EN/01 APPENDIX TAPE FORMAT Functions Illustration Tape format G17 G43 Z_ Tool length offset B G18 Y_ (G43, G44, G49) G44 H_ ; G19 X_ G17 G43 G18 H_ ; G19 G44 H : Tool offset G49 : Cancel Tool length offset C G43 (G43, G44, G49) G44 α_ H_ ; α : Address of an arbitrary
  • Page 702B. LIST OF FUNCTIONS AND TAPE FORMAT APPENDIX B–63514EN/01 Functions Illustration Tape format Selection of work G54 coordinate system Work zero IP : IP_ ; (G54 – G59) point G59 offset Work coordinate system Machine coordinate system Single direction IP G60 IP_ ; positioning (G60) Cutting mode/Exact
  • Page 703B. LIST OF FUNCTIONS AND B–63514EN/01 APPENDIX TAPE FORMAT Functions Illustration Tape format ÇÇ ÇÇ Change of workpiece G92 IP_ ; coordinate system (G92) IP Workpiece coordinate G92.1 IP 0; system preset (G92.1) Feed per minute, Feed mm/min inch/min G98 F_ ; per revolution (G94, G95) mm/rev inch/rev
  • Page 704C. RANGE OF COMMAND VALUE APPENDIX B–63514EN/01 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 705B–63514EN/01 APPENDIX C. RANGE OF COMMAND VALUE 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 706C. RANGE OF COMMAND VALUE APPENDIX B–63514EN/01 Rotation axis Increment system IS–B IS–C Least input increment 0.001 deg 0.0001 deg Least command increment 0.001 deg 0.0001 deg Max. programmable dimension ±99999.999 deg ±9999.9999 deg Max. rapid traverse Note 240000 deg/min 100000 deg/min Feedrate r
  • Page 707B–63514EN/01 APPENDIX D. NOMOGRAPHS D NOMOGRAPHS 683
  • Page 708D. NOMOGRAPHS APPENDIX B–63514EN/01 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 709B–63514EN/01 APPENDIX D. NOMOGRAPHS 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 710D. NOMOGRAPHS APPENDIX B–63514EN/01 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 (rpm) * When time constant T of the L : Thread lead (mm) servo system is 0.033 s. D How to det
  • Page 711B–63514EN/01 APPENDIX D. NOMOGRAPHS D Reference Fig. D.2 (b) Nomograph for obtaining approach distance δ1 687
  • Page 712D. NOMOGRAPHS APPENDIX B–63514EN/01 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 713B–63514EN/01 APPENDIX D. NOMOGRAPHS 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 714D. NOMOGRAPHS APPENDIX B–63514EN/01 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 715B–63514EN/01 APPENDIX D. NOMOGRAPHS 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 716E. STATUS WHEN TURNING POWER ON, WHEN CLEAR AND WHEN RESET APPENDIX B–63514EN/01 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 717E. STATUS WHEN TURNING POWER ON, B–63514EN/01 APPENDIX WHEN CLEAR AND WHEN RESET 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 718F. CHARACTER–TO–CODES CORRESPONDENCE TABLE APPENDIX B–63514EN/01 F CHARACTER-TO-CODES CORRESPONDENCE TABLE Char- Char- Code Comment 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 719B–63514EN/01 APPENDIX G. ALARM LIST 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 720G. ALARM LIST APPENDIX B–63514EN/01 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 values specified by D/H code for tool length offset or cutter compensation is too large. Otherwise, the nu
  • Page 721B–63514EN/01 APPENDIX G. ALARM LIST Number Message Contents 070 NO PROGRAM SPACE IN The memory area is insufficient. MEMORY Delete any unnecessary programs, then retry. 071 DATA NOT FOUND The address to be searched was not found. Or the program with speci- fied program number was not found in progra
  • Page 722G. ALARM LIST APPENDIX B–63514EN/01 Number Message Contents 091 REFERENCE RETURN INCOM- In the automatic operation halt state, manual reference position return PLETE cannot be performed. 092 AXES NOT ON THE REFERENCE The commanded axis by G27 (Reference position return check) did not POINT return to
  • Page 723B–63514EN/01 APPENDIX G. ALARM LIST Number Message Contents 124 MISSING END STATEMENT DO – END does not correspond to 1 : 1. Modify the program. 125 FORMAT ERROR IN MACRO format is erroneous. Modify the program. 126 ILLEGAL LOOP NUMBER In DOn, 1x n x3 is not established. Modify the program
  • Page 724G. ALARM LIST APPENDIX B–63514EN/01 Number Message Contents 155 ILLEGAL T–CODE IN M06 In the machining program, M06 and T code in the same block do not correspond to the group in use. Correct the program. 156 P/L COMMAND NOT FOUND P and L commands are missing at the head of program in which the tool
  • Page 725B–63514EN/01 APPENDIX G. ALARM LIST Number Message Contents 212 ILLEGAL PLANE SELECT The arbitrary angle chamfering or a corner R is commanded or the plane including an additional axis. Correct the program. 213 ILLEGAL COMMAND IN SYN- Any of the following alarms occurred in the operation with the si
  • Page 726G. ALARM LIST APPENDIX B–63514EN/01 Number Message Contents 5114 NOT STOP POSITION At the time of restart after manual intervention, the coordinates at which (G05.1 Q1) the manual intervention occurred have not been restored. 5156 ILLEGAL AXIS OPERATION In look–ahead contour control (SHPCC) mode, th
  • Page 727B–63514EN/01 APPENDIX G. ALARM LIST Number Message Contents 308 APC alarm: nth–axis battery low 2 nth–axis (n=1 to 4) APC battery voltage has reached a level where the battery must be renewed (including when power is OFF). APC alarm .Replace battery. 309 APC ALARM : n AXIS ZRN An attempt was made to
  • Page 728G. ALARM LIST APPENDIX B–63514EN/01 Number Message Contents 407 SERVO ALARM: EXCESS ERROR The difference in synchronous axis position deviation exceeded the set value. 409 TORQUEALM’ : EXCESS ERROR An abnormal load on the servo motor was detected. Alternatively, an abnormal load on the spindle motor
  • Page 729B–63514EN/01 APPENDIX G. ALARM LIST D Details of servo The details of servo alarm No. 414 are displayed in the diagnosis display alarm No.414 (No. 200 and No.204) as shown below. #7 #6 #5 #4 #3 #2 #1 #0 200 OVL LV OVC HCA HVA DCA FBA OFA OVL : An overload alarm is being generated. (This bit causes s
  • Page 730G. ALARM LIST APPENDIX B–63514EN/01 #7 #6 #5 #4 #3 #2 #1 #0 204 OFS MCC LDA PMS OFS : A current conversion error has occured in the digital servo. MCC : A magnetic contactor contact in the servo amplifier has welded. LDA : The LED indicates that serial pulse coder C is defective. PMS : A feedback pu
  • Page 731B–63514EN/01 APPENDIX G. ALARM LIST 9) Spindle alarms Number Message Contents 749 S–SPINDLE LSI ERROR It is serial communication error while system is executing after power supply on. Following reasons can be considered. 1) Optical cable connection is fault or cable is not connected or cable is cut.
  • Page 732G. ALARM LIST APPENDIX B–63514EN/01 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 733B–63514EN/01 APPENDIX G. ALARM LIST Alarm list (Serial spindle) NOTE*1 Note that the meanings of the SPM indications differ depending on which LED, the red or yellow LED, is on. When the red LED is on, the SPM indicates a 2–digit alarm number. When the yellow LED is on, the SPM indicates an error nu
  • Page 734G. ALARM LIST APPENDIX B–63514EN/01 SPM indica- Faulty location and remedy Description tion(*1) 12 1 Check the motor insulation status. The motor output current is abnormally high. 2 Check the spindle parameters. A motor–specific parameter does not match the motor 3 Replace the SPM unit. model. Poor
  • Page 735B–63514EN/01 APPENDIX G. ALARM LIST SPM indica- Faulty location and remedy Description tion(*1) 33 1 Check and correct the power supply voltage. Charging of direct current power supply voltage in the 2 Replace the PSM unit. power circuit section is insufficient when the magnetic contractor in the am
  • Page 736G. ALARM LIST APPENDIX B–63514EN/01 SPM indica- Faulty location and remedy Description tion(*1) 50 Check whether the calculated value exceeds the maxi- In spindle synchronization, the speed command cal- mum motor speed. culation value exceeded the allowable limit (the motor speed is calculated by mu
  • Page 737B–63514EN/01 APPENDIX G. ALARM LIST Error codes (Serial spindle) NOTE*1 Note that the meanings of the SPM indications differ depending on which LED, the red or yellow LED, is on. When the yellow LED is on, an error code is indicated with a 2–digit number. The error code is not displayed on the CNC s
  • Page 738G. ALARM LIST APPENDIX B–63514EN/01 SPM indica- Faulty location and remedy Description tion(*1) 12 During execution of the spindle synchronization com- Although spindle synchronization is being performed, mand, do not specify another operation mode. Before another operation mode (Cs contour control,
  • Page 739B–63514EN/01 APPENDIX G. ALARM LIST 10) System alarms (These alarms cannot be reset with reset key.) Number Message Contents 900 ROM PARITY F–ROM parity error in a ROM file (control software), such as CNC, macro, or digital servo. The F–ROM module may be defective. 910 DRAM PARITY : (Low) DRAM parit
  • Page 740
  • Page 741B–63514EN/01 Index [A] Conditional Branch (IF Statement), 309 Constant Surface Speed Control (G96, G97), 105 Absolute and Incremental Programming (G90, G91), 97 Controlled Axes, 28 Actual Feedrate Display, 586 Controlled axes, 29 Adding Workpiece Coordinate Systems (G54.1 or G54), 91 Conversational
  • Page 742Index B–63514EN/01 Displaying and Setting Parameters, 631 Function Keys and Soft Keys, 397 Displaying and Setting Pitch Error Compensation Data, 633 Functions to Simplify Programming, 138 Displaying and Setting Run Time, Parts Count, and Time, 612 Displaying and Setting the Software Operator’s Panel
  • Page 743B–63514EN/01 Index Interruption Type Custom Macro, 334 [N] Next Block Display Screen, 594 Nomographs, 683 [J] Normal Direction Control (G40.1, G41.1, G42.1 or G150, G151, G152), 283 JOG Feed, 426 Notes on Reading this Manual, 8 [K] [O] Offset Data Input and Output, 500 Operating Monitor Display, 589
  • Page 744Index B–63514EN/01 Program Input/Output, 495 Sequence Number Comparison and Stop, 610 Program Number Search, 544 Sequence Number Search, 545 Program Restart, 446 Setting a Workpiece Coordinate System, 84 Program Screen for MDI Operation, 596 Setting and Display Units, 392 Program Section Configurati
  • Page 745B–63514EN/01 Index Tool Movement by Programing–Automatic Operation, 378 Tool Movement in Offset Mode, 220 Tool Movement in Offset Mode Cancel, 234 Tool Movement in Start–up, 216 [V] Tool Movement Range – Stroke , 27 Variables, 291 Tool Offset (G45–G48), 204 Tool Path at Corner, 688 Tool Selection Fu
  • Page 746
  • Page 747Revision Record FANUCĄSeriesĄ0i–MA OPERATOR’S MANUAL (B–63514EN) 01 Jun., 2000 Edition Date Contents Edition Date Contents
  • Page 748
  • Page 749TECHNICAL REPORT NO.TMN 02/081E Date Aug. 21, 2002 General Manager of Software Development Center FANUC Series 16/18-MA/MB/MC FANUC Series 16i/18i/21i-MA/MB,18i-MB5 FANUC Series 0-M/0i-MA/21-MB/20i-FA Concerning the correction of Rigid tapping (G84) / Left-handed rigid tapping cycle (G74) 1. Communi
  • Page 750FANUC Series 16i/18i/160i/180i/160is/180is-MA OPERATOR'S MANUAL FANUC Series 16i/160i/160is-MB,18i/180i/180is-MB/MB5 OPERATOR'S MANUAL FANUC Series 21i/210i/210is-MA OPERATOR'S MANUAL FANUC Series 21i/210i-MB OPERATOR'S MANUAL FANUC Series 0i-MA OPERATOR'S MANUAL FANUC Series 20i-FA OPERATOR'S MANUA
  • Page 751Outline Descriptions are changed as follows. 1. The description of "Thread lead" on "13.2.1 Rigid tapping (G84)" is replaced. 2. The description of "Thread lead" on "13.2.2 Left-Handed Rigid tapping Cycle (G74)" is replaced. Details 1. The description of "Thread lead" on "13.2.1 Rigid tapping (G84)"