16-18TC/160-180TC Operators manual Page 1

Operators manual
GE Fanuc Automation
Computer Numerical Control Products
Series 16 / 18 / 160 / 180 – Model C
for Lathe
Operator's Manual
B-62754EN/01 December 1995

Contents Summary of 16-18TC/160-180TC Operators manual

  • Page 1GE Fanuc Automation Computer Numerical Control Products Series 16 / 18 / 160 / 180 – Model C for Lathe Operator's Manual B-62754EN/01 December 1995
  • Page 2GFL-001 Warnings, Cautions, and Notes as Used in this Publication Warning Warning notices are used in this publication to emphasize that hazardous voltages, currents, temperatures, or other conditions that could cause personal injury exist in this equipment or may be associated with its use. In situ
  • 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–62754EN/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–62754EN/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–62754EN/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–62754EN/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–62754EN/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–62754EN/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–62754EN/01 WARNING 7. Workpiece coordinate system shift Manual intervention, machine lock, or mirror imaging may shift the workpiece coordinate system. Before attempting to operate the machine under the control of a program, confirm the coordinate system carefully. If the machin
  • Page 11B–62754EN/01 SAFETY PRECAUTIONS 5 WARNINGS RELATED TO DAILY MAINTENANCE WARNING 1. Memory backup battery replacement When replacing the memory backup batteries, keep the power to the machine (CNC) turned on, and apply an emergency stop to the machine. Because this work is performed with the power on
  • Page 12SAFETY PRECAUTIONS B–62754EN/01 WARNING 2. Absolute pulse coder battery replacement When replacing the memory backup batteries, keep the power to the machine (CNC) turned on, and apply an emergency stop to the machine. Because this work is performed with the power on and the cabinet open, only those
  • Page 13B–62754EN/01 SAFETY PRECAUTIONS WARNING 3. Fuse replacement For some units, the chapter covering daily maintenance in the operator’s manual or programming manual describes the fuse replacement procedure. Before replacing a blown fuse, however, it is necessary to locate and remove the cause of the bl
  • Page 14B–62754EN/01 Table of Contents SAFETY PRECAUTIONS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . s–1 I. GENERAL 1 GENERAL . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
  • Page 15TABLE OF CONTENTS B–62754EN/01 4.12 CIRCULAR THREADING (G35, G36) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 67 4.13 SKIP FUNCTION (G31) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
  • Page 16B–62754EN/01 TABLE OF CONTENTS 12. AUXILIARY FUNCTION . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 123 12.1 AUXILIARY FUNCTION (M FUNCTION) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 124 12.2 MULTIPLE
  • Page 17TABLE OF CONTENTS B–62754EN/01 15.1.3 Tool Selection . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 203 15.1.4 Offset Number . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
  • Page 18B–62754EN/01 TABLE OF CONTENTS 16.10 EXTERNAL OUTPUT COMMANDS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 312 16.11 INTERRUPTION TYPE CUSTOM MACRO . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 316 16.11.1 Speci
  • Page 19TABLE OF CONTENTS B–62754EN/01 III. OPERATION 1. GENERAL . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 405 1.1 MANUAL OPERATION . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
  • Page 20B–62754EN/01 TABLE OF CONTENTS 2.4.2 FANUC Floppy Cassette . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 463 2.4.3 FANUC FA Card . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
  • Page 21TABLE OF CONTENTS B–62754EN/01 8.2 FILE SEARCH . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 558 8.3 FILE DELETION . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
  • Page 22B–62754EN/01 TABLE OF CONTENTS 10. CREATING PROGRAMS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 611 10.1 CREATING PROGRAMS USING THE MDI PANEL . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 612 10.2 AUTOMATIC INSERTION
  • Page 23TABLE OF CONTENTS B–62754EN/01 11.5.1 Displaying and Setting Parameters . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 704 11.5.2 Displaying and Setting Pitch Error Compensation Data . . . . . . . . . . . . . . . . . . . . . . . . . . .
  • Page 24I. GENERA
  • Page 25B–62754EN/01 GENERAL 1. GENERAL 1 GENERAL This manual consists of the following parts:     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 NC lan
  • Page 261. GENERAL GENERAL B–62754EN/01 Special symbols This manual uses the following symbols: _ : Indicates a combination of axes such as X__ Y__ Z (used in PROGRAMMING.). ; : Indicates the end of a block. It actually corresponds to the ISO code LF or EIA code CR. Related manuals The table below lists m
  • Page 27B–62754EN/01 GENERAL 1. GENERAL 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 281. GENERAL GENERAL B–62754EN/01 Outer End diameter face Grooving cutting cutting Workpiece Prepare the program of the tool path and cutting condition according to the workpiece figure, for each cutting. 6
  • Page 29B–62754EN/01 GENERAL 1. GENERAL 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 30II. PROGRAMMIN
  • Page 31B–62754EN/01 PROGRAMMING 1. GENERAL 1  11
  • Page 321. GENERAL PROGRAMMING B–62754EN/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 D Tool movement along a straight line X Tool Program G01 Z...; Workpiece Z Fig.1.1 (a) Tool
  • Page 33B–62754EN/01 PROGRAMMING 1. GENERAL The term interpolation refers to an operation in which the tool moves along a straight line or arc in the way described above. Symbols of the programmed commands G01, G02, ... are called the preparatory function and specify the type of interpolation conducted in t
  • Page 341. GENERAL PROGRAMMING B–62754EN/01 X Tool Program G32X––Z––F––; Workpiece Z F Fig. 1.1 (f) Taper thread cutting 14
  • Page 35B–62754EN/01 PROGRAMMING 1. GENERAL 1.2 Movement of the tool at a specified speed for cutting a workpiece is called the feed. FEED– FEED FUNCTION Chuck Tool Workpiece Fig. 1.2 (a) Feed function Feedrates can be specified by using actual numerics. For example, the following command can be used to fee
  • Page 361. GENERAL PROGRAMMING B–62754EN/01 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 37B–62754EN/01 PROGRAMMING 1. GENERAL 1.3.2 Coordinate System on Part Drawing and X X Coordinate System Specified by CNC – Program Coordinate System Z Z Coordinate system Part drawing CNC Command X Workpiece Z Machine tool Fig. 1.3.2 (a) Coordinate system Explanations D Coordinate system The following
  • Page 381. GENERAL PROGRAMMING B–62754EN/01 The tool moves on the coordinate system specified by the CNC in accordance with the command program generated with respect to the coordinate system on the part drawing, and cuts a workpiece into a shape on the drawing. Therefore, in order to correctly cut the work
  • Page 39B–62754EN/01 PROGRAMMING 1. GENERAL 2. When coordinate zero point is set at work end face. X Workpiece 60 30 Z 30 80 100 Fig. 1.3.2 (e) Coordinates and dimensions on part drawing X Workpiece Z Fig. 1.3.2 (f) Coordinate system on lathe as specified by CNC (made to coincide with the coordinate system
  • Page 401. GENERAL PROGRAMMING B–62754EN/01 1.3.3 How to Indicate Command Dimensions for Moving the Tool – Absolute, Incremental Commands Explanations Methods of command for moving the tool can be indicated by absolute or incremental designation (See II–9.1). D Absolute command The tool moves to a point at
  • Page 41B–62754EN/01 PROGRAMMING 1. GENERAL D Incremental command Specify the distance from the previous tool position to the next tool position. Tool A X φ60 B Z φ30 40 Command specifying movement from point A to point B U–30.0W–40.0 Distance and direction for movement along each axis Fig. 1.3.3 (b) Increm
  • Page 421. GENERAL PROGRAMMING B–62754EN/01 2. Radius programming In radius programming, specify the distance from the center of the workpiece, i.e. the radius value as the value of the X axis. X B A 20 15 Workpiece Z 60 80 Coordinate values of points A and B A(15.0, 80.0), B(20.0, 60.0) Fig. 1.3.3 (d) Radi
  • Page 43B–62754EN/01 PROGRAMMING 1. GENERAL 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 V: Cutting speed v m/min
  • Page 441. GENERAL PROGRAMMING B–62754EN/01 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 45B–62754EN/01 PROGRAMMING 1. GENERAL 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 (See II–12). MACHINE OPERATIONS – Coolant on/off MISCELLANEOUS
  • Page 461. GENERAL PROGRAMMING B–62754EN/01 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 47B–62754EN/01 PROGRAMMING 1. GENERAL Explanations The block and the program have the following configurations. D Block 1 block N fffff G ff Xff.f Zfff.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 481. GENERAL PROGRAMMING B–62754EN/01 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 49B–62754EN/01 PROGRAMMING 1. GENERAL 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 501. GENERAL PROGRAMMING B–62754EN/01 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. Besides the stroke limits, data in memory can RANGE – STROKE be used to def
  • Page 51B–62754EN/01 PROGRAMMING 2. CONTROLLED AXES 2 CONTROLLED AXES 31
  • Page 522. CONTROLLED AXES PROGRAMMING B–62754EN/01 2.1 CONTROLLED AXES Series 16 Series 160 16–TC 16–TC, 160–TC Item 160–TC (two–path control) Number of basic 2 axes 2 axes for each tool post controlled axes (4 axes in total) Controlled axis expansion Max. 8 axes Max. 6 axes for each tool (total) (Included
  • Page 53B–62754EN/01 PROGRAMMING 2. CONTROLLED AXES 2.2 The names of two basic axes are always X and Z; the names of additional axes can be optionally selected from A, B, C, U, V, W, and Y by using NAMES OF AXES parameter No.1020. Each axis name is determined according to parameter No. 1020. If the paramete
  • Page 542. CONTROLLED AXES PROGRAMMING B–62754EN/01 2.3 The increment system consists of the least input increment (for input ) and least command increment (for output). The least input increment is the INCREMENT SYSTEM least increment for programming the travel distance. The least command increment is the
  • Page 55B–62754EN/01 PROGRAMMING 2. CONTROLLED AXES 2.4 The maximum stroke controlled by this CNC is shown in the table below: Maximum stroke=Least command increment99999999 MAXIMUM STROKES Table 2.4 (a) Maximum strokes Increment system Maximum strokes Metric machine 99999.999 mm system 99999.999 deg IS–
  • Page 563. PREPARATORY FUNCTION (G FUNCTION) PROGRAMMING B–62754EN/01 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 i
  • Page 573. PREPARATORY FUNCTION B–62754EN/01 PROGRAMMING (G FUNCTION) Explanations 1. If the CNC enters the clear state (see bit 6 (CLR) of parameter 3402) when the power is turned on or the CNC is reset, the modal G codes change as follows. (1) G codes marked with in Table 3 are enabled. (2) When the syste
  • Page 583. PREPARATORY FUNCTION (G FUNCTION) PROGRAMMING B–62754EN/01 Table 3 G code list (1/3) G code Group Grou Function A B C G00 G00 G00 Positioning (Rapid traverse) G01 G01 G01 Linear interpolation (Cutting feed) 01 G02 G02 G02 Circular interpolation CW or Helical interpolation CW G03 G03 G03 Circular
  • Page 593. PREPARATORY FUNCTION B–62754EN/01 PROGRAMMING (G FUNCTION) Table 3 G code list (2/3) G code Group Grou Function A B C G50.2 G50.2 G50.2 Polygonal turning cancel (G250) (G250) (G250) 20 G51.2 G51.2 G51.2 Polygonal turning (G251) (G251) (G251) G52 G52 G52 Local coordinate system setting 00 G53 G53
  • Page 603. PREPARATORY FUNCTION (G FUNCTION) PROGRAMMING B–62754EN/01 Table 3 G code list (3/3) G code Group Grou Function A B C G98 G94 G94 Per minute feed 05 G99 G95 G95 Per revolution feed  G90 G90 Absolute programming 03  G91 G91 Incremental programming  G98 G98 Return to initial level (See Explanati
  • Page 61B–62754EN/01 PROGRAMMING 4. INTERPOLATION FUNCTIONS 4 INTERPOLATION FUNCTIONS 41
  • Page 624. INTERPOLATION FUNCTIONS PROGRAMMING B–62754EN/01 4.1 The G00 command moves a tool to the position in the workpiece system specified with an absolute or an incremental command at a rapid traverse POSITIONING rate. (G00) In the absolute command, coordinate value of the end point is programmed. In t
  • Page 63B–62754EN/01 PROGRAMMING 4. INTERPOLATION FUNCTIONS Examples X 30.5 56.0 ÎÎÎ ÎÎÎ 30.0 ÎÎÎ Z φ40.0 < Radius programming > G00X40.0Z56.0 ; (Absolute command) or G00U–60.0W–30.5;(Incremental command) Restrictions The rapid traverse rate cannot be specified in the address F. Even if linear interpolation
  • Page 644. INTERPOLATION FUNCTIONS PROGRAMMING B–62754EN/01 4.2 Tools can move along a line. LINEAR INTERPOLATION (G01) Format G01 _F_; _: For an absolute command, the coordinates of an end point , and for an incremental command, the distance the tool moves. F_: Speed of tool feed (Feedrate) Explanation
  • Page 65B–62754EN/01 PROGRAMMING 4. INTERPOLATION FUNCTIONS 4.3 The command below will move a tool along a circular arc. CIRCULAR INTERPOLATION (G02, G03) Format Arc in the XpYp plane G17 G02 I_J_ F_ Xp_Yp_ G03 R_ Arc in the ZpXp plane G02 I_K_ G18 Xp_Zp_ F_ G03 R_ Arc in the YpZp plane G02 J_K_ F_ G19 Yp_Z
  • Page 664. INTERPOLATION FUNCTIONS PROGRAMMING B–62754EN/01 NOTE The U–, V–, and W–axes (parallel with the basic axis) can be used with G–codes B and C. Explanations D Direction of the circular “Clockwise”(G02) and “counterclockwise”(G03) on the XpYp plane interpolation (ZpXp plane or YpZp plane) are define
  • Page 67B–62754EN/01 PROGRAMMING 4. INTERPOLATION FUNCTIONS D    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 684. INTERPOLATION FUNCTIONS PROGRAMMING B–62754EN/01 Examples D Command of circular interpolation X, Z G02X_Z_I_K_F_; G03X_Z_I_K_F_; G02X_Z_R_F_; End point End point Center of arc Center of arc End point X–axis X–axis X–axis (Diameter (Diameter R (Diameter programming) programming) programming) Start
  • Page 69B–62754EN/01 PROGRAMMING 4. INTERPOLATION FUNCTIONS 4.4 Helical interpolation which moved helically is enabled by specifying up to two other axes which move synchronously with the circular HELICAL interpolation by circular commands. INTERPOLATION (G02, G03) Format Synchronously with arc of XpYp plan
  • Page 704. INTERPOLATION FUNCTIONS PROGRAMMING B–62754EN/01 4.5 Polar coordinate interpolation is a function that exercises contour control in converting a command programmed in a Cartesian coordinate system POLAR COORDINATE to the movement of a linear axis (movement of a tool) and the movement INTERPOLATIO
  • Page 71B–62754EN/01 PROGRAMMING 4. INTERPOLATION FUNCTIONS D Distance moved and In the polar coordinate interpolation mode, program commands are feedrate for polar specified with Cartesian coordinates on the polar coordinate interpolation coordinate interpolation plane. The axis address for the rotation ax
  • Page 724. INTERPOLATION FUNCTIONS PROGRAMMING B–62754EN/01 Restrictions D Coordinate system for the Before G12.1 is specified, a workpiece coordinate system) where the polar coordinate center of the rotary axis is the origin of the coordinate system must be set. interpolation In the G12.1 mode, the coordin
  • Page 73B–62754EN/01 PROGRAMMING 4. INTERPOLATION FUNCTIONS Examples Example of Polar Coordinate Interpolation Program Based on X Axis (Linear Axis) and C Axis (Rotary Axis) C’ (hypothetical axis) C axis Path after tool nose radius compensation Program path N204 N203 N205 N202 N201 N200 X axis Tool N208 N20
  • Page 744. INTERPOLATION FUNCTIONS PROGRAMMING B–62754EN/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–62754EN/01 PROGRAMMING 4. INTERPOLATION FUNCTIONS D Circular interpolation In the cylindrical interpolation mode, circular interpolation is possible (G02,G03) with the rotation axis and another linear axis. Radius R is used in commands in the same way as described in Section 4.4. The unit for a ra
  • Page 764. INTERPOLATION FUNCTIONS PROGRAMMING B–62754EN/01 D Positioning In the cylindrical interpolation mode, positioning operations (including those that produce rapid traverse cycles such as G28, G80 through G89) cannot be specified. Before positioning can be specified, the cylindrical interpolation mo
  • Page 77B–62754EN/01 PROGRAMMING 4. INTERPOLATION FUNCTIONS 4.7 In helical interpolation, when pulses are distributed with one of the circular interpolation axes set to a hypothetical axis, sine interpolation is HYPOTHETICAL AXIS enable. INTERPOLATION When one of the circular interpolation axes is set to a
  • Page 784. INTERPOLATION FUNCTIONS PROGRAMMING B–62754EN/01 Limitations D Manual operation The hypothetical axis can be used only in automatic operation. In manual operation, it is not used, and movement takes place. D Move command Specify hypothetical axis interpolation only in the incremental mode. D Coor
  • Page 79B–62754EN/01 PROGRAMMING 4. INTERPOLATION FUNCTIONS 4.8 Tapered screws and scroll threads in addition to equal lead straight threads can be cut by using a G32 command. CONSTANT LEAD The spindle speed is read from the position coder on the spindle in real THREADING (G32) time and converted to a cutti
  • Page 804. INTERPOLATION FUNCTIONS PROGRAMMING B–62754EN/01 X Tapered thread LX α Z LZ αx45° lead is LZ αy45° lead is LX Fig. 4.8 (e) LZ and LX of a Tapered Thread In general, the lag of the servo system, etc. will produce somewhat incorrect leads at the starting and ending points of a thread cut. To compen
  • Page 81B–62754EN/01 PROGRAMMING 4. INTERPOLATION FUNCTIONS Explanations 1. Straight thread cutting The following values are used in programming : Thread lead :4mm δ1=3mm X axis δ2=1.5mm 30mm Depth of cut :1mm (cut twice) (Metric input, Diameter programming) δ2 δ1 G00 U–62.0 ; G32 W–74.5 F4.0 ; Z axis G00 U
  • Page 824. INTERPOLATION FUNCTIONS PROGRAMMING B–62754EN/01 WARNING 1 Feedrate override is effective (fixed at 100%) during thread cutting. 2 it is very dangerous to stop feeding the thread cutter without stopping the spindle. This will suddenly increase the cutting depth. Thus, the feed hold function is in
  • Page 83B–62754EN/01 PROGRAMMING 4. INTERPOLATION FUNCTIONS 4.9 Specifying an increment or a decrement value for a lead per screw revolution enables variable–lead thread cutting to be performed. VARIABLE–LEAD THREAD CUTTING (G34) Fig. 4.9 (a) Variable–lead screw Format G34 _F_K_;  : End point F : Lead i
  • Page 844. INTERPOLATION FUNCTIONS PROGRAMMING B–62754EN/01 4.10 This function for continuous thread cutting is such that fractional pulses output to a joint between move blocks are overlapped with the next move CONTINUOUS for pulse processing and output (block overlap) . THREAD CUTTING Therefore, discontin
  • Page 85B–62754EN/01 PROGRAMMING 4. INTERPOLATION FUNCTIONS 4.11 Using the Q address to specify an angle between the one–spindle–rotation signal and the start of threading shifts the threading start angle, making MULTIPLE–THREAD it possible to produce multiple–thread screws with ease. CUTTING Multiple–threa
  • Page 864. INTERPOLATION FUNCTIONS PROGRAMMING B–62754EN/01 Examples Program for producing double–threaded screws (with start angles of 0 and 180 degrees) G00 X40.0 ; G32 W–38.0 F4.0 Q0 ; G00 X72.0 ; W38.0 ; X40.0 ; G32 W–38.0 F4.0 Q180000 ; G00 X72.0 ; W38.0 ; 66
  • Page 87B–62754EN/01 PROGRAMMING 4. INTERPOLATION FUNCTIONS 4.12 Using the G35 and G36 commands, a circular thread, having the specified lead in the direction of the major axis, can be machined. CIRCULAR THREADING L (G35, G36) Circular thread Format G35 X (U) _ Z (W) _ I_K_ F_ Q_ G36 R___ G35 : Clockwise ci
  • Page 884. INTERPOLATION FUNCTIONS PROGRAMMING B–62754EN/01 Explanations D Specifying the arc radius If R is specified with I and K, only R is effective. D Selecting a plane other If an additional axis other than the X– and Z–axes is provided, circular than the ZX plane threading can be specified for a plan
  • Page 89B–62754EN/01 PROGRAMMING 4. INTERPOLATION FUNCTIONS Limitations D Range of specifiable arc An arc must be specified such that it falls within a range in which the major axis of the arc is always the Z–axis or always the X–axis, as shown in Fig. 4.12 (a) and (b). If the arc includes a point at which
  • Page 904. INTERPOLATION FUNCTIONS PROGRAMMING B–62754EN/01 4.13 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 n
  • Page 91B–62754EN/01 PROGRAMMING 4. INTERPOLATION FUNCTIONS Examples D The next block to G31 is an incremental command U50.0 G31 W100.0 F100; U50.0; Skip signal is input here 50.0 X W100 100.0 Actual motion Motion without skip signal Z Fig.4.13(a) The next block is an incremental command D The next block to
  • Page 924. INTERPOLATION FUNCTIONS PROGRAMMING B–62754EN/01 4.14 In a block specifying P1 to P4 after G31, the multistage skip function stores coordinates in a custom macro variable when a skip signal (4–point MULTISTAGE SKIP or 8–point ; 8–point when a high–speed skip signal is used) is turned on. Paramete
  • Page 93B–62754EN/01 PROGRAMMING 4. INTERPOLATION FUNCTIONS 4.15 With the motor torque limited (for example, by a torque limit command, issued through the PMC window), a move command following G31 P99 TORQUE LIMIT SKIP (or G31 P98) can cause the same type of cutting feed as with G01 (linear (G31 P99) interp
  • Page 944. INTERPOLATION FUNCTIONS PROGRAMMING B–62754EN/01 D Simplified G31 P99/98 cannot be used for axes subject to simplified synchronization synchronization and or the X–axis or Z–axis when under slanted axis control. slanted axis control D Speed control Bit 7 (SKF) of parameter No. 6200 must be set to
  • Page 95B–62754EN/01 PROGRAMMING 5. FEED FUNCTIONS 5     75
  • Page 965. FEED FUNCTIONS PROGRAMMING B–62754EN/01 5.1 The feed functions control the feedrate of the tool. The following two feed functions are available: GENERAL D Feed functions 1. Rapid traverse When the positioning command (G00) is specified, the tool moves at!a rapid traverse feedrate set in the CNC (
  • Page 97B–62754EN/01 PROGRAMMING 5. FEED FUNCTIONS D Tool path in a cutting If the direction of movement changes between specified blocks during feed cutting feed, a rounded–corner path may result (Fig. 5.1 (b)). X Programmed path Actual tool path 0 Z Fig. 5.1 (b) Example of Tool Path between Two Blocks In
  • Page 985. FEED FUNCTIONS PROGRAMMING B–62754EN/01 5.2 RAPID TRAVERSE Format G00 _ ; G00 : G code (group 01) for positioning (rapid traverse) _ ; Dimension word for the end point Explanations The positioning command (G00) positions the tool by rapid traverse. In rapid traverse, the next block is execute
  • Page 99B–62754EN/01 PROGRAMMING 5. FEED FUNCTIONS 5.3 Feedrate of linear interpolation (G01), circular interpolation (G02, G03), etc. are commanded with numbers after the F code. CUTTING FEED In cutting feed, the next block is executed so that the feedrate change from the previous block is minimized. Two m
  • Page 1005. FEED FUNCTIONS PROGRAMMING B–62754EN/01 Feed amount per minute F (mm/min or inch/min) 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 G99 (in the feed per revolution mode), the amount of (G99) feed of the
  • Page 101B–62754EN/01 PROGRAMMING 5. FEED FUNCTIONS NOTE An upper limit is set in mm/min or inch/min. CNC calculation may involve a feedrate error of ±2% with respect to a specified value. However, this is not true for acceleration/deceleration. To be more specific, this error is calculated with respect to a
  • Page 1025. FEED FUNCTIONS PROGRAMMING B–62754EN/01 5.4 DWELL (G04) Format Dwell G04 X_ ; or G04 U_ ; or G04 P_ ; X_ : Specify a time (decimal point permitted) U_ : Specify a time (decimal point permitted) P_ : Specify a time (decimal point not permitted) Explanations By specifying a dwell, the execution of
  • Page 103B–62754EN/01 PROGRAMMING 6. REFERENCE POSITION 6      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 position at w
  • Page 1046. REFERENCE POSITION PROGRAMMING B–62754EN/01 D Reference position Tools are automatically moved to the reference position via an return intermediate position along a specified axis. When reference position return is completed, the lamp for indicating the completion of return goes on. X Intermediat
  • Page 105B–62754EN/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 tool nose radius compensation, and tool offset should be cancelled be
  • Page 1067. FLOATING REFERENCE POSITION RETURN (G30.1) PROGRAMMING B–62754EN/01 7 FLOATING REFERENCE POSITION RETURN (G30.1) General Tools ca be returned to the floating reference position. A floating reference point is a position on a machine tool, and serves as a reference point for machine tool operation.
  • Page 107B–62754EN/01 PROGRAMMING 8. COORDINATE SYSTEM 8 COORDINATE SYSTEM By teaching the CNC a desired tool position, the tool can be moved to the position. Such a tool position is represented by coordinates in a coordinate system. Coordinates are specified using program axes. When two program axes, the X–
  • Page 1088. COORDINATE SYSTEM PROGRAMMING B–62754EN/01 8.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 109B–62754EN/01 PROGRAMMING 8. COORDINATE SYSTEM 8.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 NC beforehand (setting a workpiece coordinate system). COORDINATE A machining program se
  • Page 1108. COORDINATE SYSTEM PROGRAMMING B–62754EN/01 Examples Example 1 Example 2 Base point Setting the coordinate system by the Setting the coordinate system by the G50X128.7Z375.1; command (Diameter designation) G50X1200.0Z700.0; command (Diameter designation) X X ÎÎÎ 700.0 ÎÎÎ ÎÎ ÎÎÎ Start point (stand
  • Page 111B–62754EN/01 PROGRAMMING 8. COORDINATE SYSTEM 8.2.2 The user can choose from set workpiece coordinate systems as described Selecting a Workpiece below. (For information about the methods of setting, see Subsec. II–8.2.1.) Coordinate System (1) G50 or automatic workpiece coordinate system setting Onc
  • Page 1128. COORDINATE SYSTEM PROGRAMMING B–62754EN/01 8.2.3 The six workpiece coordinate systems specified with G54 to G59 can be Changing Workpiece changed by changing an external workpiece zero point offset value or workpiece zero point offset value. Coordinate System Three methods are available to change
  • Page 113B–62754EN/01 PROGRAMMING 8. COORDINATE SYSTEM Explanations D Changing by G10 With the G10 command, each workpiece coordinate system can be changed separately. D Changing by G50 By specifying G50IP_;, a workpiece coordinate system (selected with a code from G54 to G59) is shifted to set a new workpie
  • Page 1148. COORDINATE SYSTEM PROGRAMMING B–62754EN/01 8.2.4 The workpiece coordinate system preset function presets a workpiece Workpiece Coordinate coordinate system shifted by manual intervention to the pre–shift workpiece coordinate system. The latter system is displaced from the System Preset (G92.1) ma
  • Page 115B–62754EN/01 PROGRAMMING 8. COORDINATE SYSTEM In the case of (a) above, the workpiece coordinate system is shifted by the amount of movement during manual intervention. G54 workpiece coordinate system before manual Po intervention Amount of movement during manual Workpiece zero WZo intervention poin
  • Page 1168. COORDINATE SYSTEM PROGRAMMING B–62754EN/01 8.2.5 When the coordinate system actually set by the G50 command or the Workpiece Coordinate automatic system setting deviates from the programmed work system, the set coordinate system can be shifted (see III–3.1). System shift Set the desired shift amo
  • Page 117B–62754EN/01 PROGRAMMING 8. COORDINATE SYSTEM 8.3 When a program is created in a workpiece coordinate system, a child workpiece coordinate system may be set for easier programming. Such LOCAL COORDINATE a child coordinate system is referred to as a local coordinate system. SYSTEM Format G52  _; Se
  • Page 1188. COORDINATE SYSTEM PROGRAMMING B–62754EN/01 WARNING 1 The local coordinate system setting does not change the workpiece and machine coordinate systems. 2 When G50 is used to define a work coordinate system, if coordinates are not specified for all axes of a local coordinate system, the local coord
  • Page 119B–62754EN/01 PROGRAMMING 8. COORDINATE SYSTEM 8.4 Select the planes for circular interpolation, tool nose radius compensation, coordinate system rotation, and drilling by G–code. PLANE SELECTION The following table lists G–codes and the planes selected by them. Explanations Table 8.4 Plane selected
  • Page 1209. COORDINATE VALUE AND DIMENSION PROGRAMMING B–62754EN/01 9 COORDINATE VALUE AND DIMENSION This chapter contains the following topics. 9.1 ABSOLUTE AND INCREMENTAL PROGRAMMING (G90, G91) 9.2 INCH/METRIC CONVERSION (G20, G21) 9.3 DECIMAL POINT PROGRAMMING 9.4 DIAMETER AND RADIUS PROGRAMMING 100
  • Page 1219. COORDINATE VALUE B–62754EN/01 PROGRAMMING AND DIMENSION 9.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 1229. COORDINATE VALUE AND DIMENSION PROGRAMMING B–62754EN/01 9.2 Either inch or metric input can be selected by G code. INCH/METRIC CONVERSION (G20, G21)  G20 ; Inch input G21 ; mm input This G code must be specified in an independent block before setting the coordinate system at the beginning o
  • Page 1239. COORDINATE VALUE B–62754EN/01 PROGRAMMING AND DIMENSION 9.3 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 1249. COORDINATE VALUE AND DIMENSION PROGRAMMING B–62754EN/01 9.4 Since the work cross section is usually circular in CNC lathe control programming, its dimensions can be specified in two ways : DIAMETER AND Diameter and Radius RADIUS When the diameter is specified, it is called diameter programming an
  • Page 125B–62754EN/01 PROGRAMMING 10. SPINDLE SPEED FUNCTION 10 SPINDLE SPEED FUNCTION The spindle speed can be controlled by specifying a value following address S. In addition, the spindle can be rotated by a specified angle. This chapter contains the following topics. 10.1SPECIFYING THE SPINDLE SPEED WITH
  • Page 12610. SPINDLE SPEED FUNCTION PROGRAMMING B–62754EN/01 10.1 Specifying a value following address S sends code and strobe signals to the machine. On the machine, the signals are used to control the spindle SPECIFYING THE speed. A block can contain only one S code. Refer to the appropriate SPINDLE SPEED
  • Page 127B–62754EN/01 PROGRAMMING 10. SPINDLE SPEED FUNCTION 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 specified S valu
  • Page 12810. SPINDLE SPEED FUNCTION PROGRAMMING B–62754EN/01 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 (rpm) is use
  • Page 129B–62754EN/01 PROGRAMMING 10. SPINDLE SPEED FUNCTION D Constant surface speed In a rapid traverse block specified by G00, the constant surface speed control for rapid traverse control is not made by calculating the surface speed to a transient change (G00) of the tool position, but is made by calcula
  • Page 13010. SPINDLE SPEED FUNCTION PROGRAMMING B–62754EN/01 10.4 With this function, an overheat alarm (No. 704) is raised when the spindle speed deviates from the specified speed due to machine conditions. SPINDLE SPEED This function is useful, for example, for preventing the seizure of the FLUCTUATION gui
  • Page 131B–62754EN/01 PROGRAMMING 10. SPINDLE SPEED FUNCTION Explanations The fluctuation of the spindle speed is detected as follows: 1. When an alarm is issued after a specified spindle speed is reached Spindle speed r d q Specified q d speed r Actual speed Check No check Check Time Specification of Start
  • Page 13210. SPINDLE SPEED FUNCTION PROGRAMMING B–62754EN/01 NOTE 1 When an alarm is issued in automatic operation, a single block stop occurs. The spindle overheat alarm is indicated on the CRT screen, and the alarm signal “SPAL” is output (set to 1 for the presence of an alarm). This signal is cleared by r
  • Page 133B–62754EN/01 PROGRAMMING 10. SPINDLE SPEED FUNCTION 10.5 In turning, the spindle connected to the spindle motor is rotated at a certain speed to rotate the workpiece mounted on the spindle. The spindle SPINDLE positioning function turns the spindle connected to the spindle motor by POSITIONING a cer
  • Page 13410. SPINDLE SPEED FUNCTION PROGRAMMING B–62754EN/01 D Positioning with a given Specify the position using address C or H followed by a signed numeric angle specified by value or numeric values. Addresses C and H must be specified in the G00 address C or H mode. (Example) C–1000 H4500 The end point m
  • Page 135B–62754EN/01 PROGRAMMING 10. SPINDLE SPEED FUNCTION D Feedrate during The feedrate during positioning equals the rapid traverse speed specified positioning in parameter No. 1420. Linear acceleration/deceleration is performed. For the specified speed, an override of 100%, 50%, 25%, and F0 (parameter
  • Page 13611. TOOL FUNCTION (T FUNCTION) PROGRAMMING B–62754EN/01 11           Two tool functions are available. One is the tool selection function, and the other is the tool life management function. 116
  • Page 137B–62754EN/01 PROGRAMMING 11. TOOL FUNCTION (T FUNCTION) 11.1 By specifying a 2–digit/4–digit numerical value following address T, a code signal and a strobe signal are transmitted to the machine tool. This TOOL SELECTION is mainly used to select tools on the machine. One T code can be commanded in a
  • Page 13811. TOOL FUNCTION (T FUNCTION) PROGRAMMING B–62754EN/01 11.2 Tools are classified into some groups. For each group, a tool life (time or frequency of use) is specified. Each time a tool is used, the time for TOOL LIFE which the tool is used is accumulated. When the tool life has been MANAGEMENT reac
  • Page 139B–62754EN/01 PROGRAMMING 11. TOOL FUNCTION (T FUNCTION) Explanations D Specification by duration A tool life is specified either as the time of use (in minutes) or the or number of times the frequency of use, which depends on the parameter setting parameter No. tool has been used 6800#2(LTM) . Up to
  • Page 14011. TOOL FUNCTION (T FUNCTION) PROGRAMMING B–62754EN/01 Example O0001 ; G10L3 ; P001L0150 ; T0011 ; Data of group 1 T0132 ; T0068 ; P002L1400 ; T0061; T0241 ; Data of group 2 T0134; T0074; P003L0700 ; T0012; Data of group 3 T0202 ; G11 ; M02 ; Explanations The group numbers specified in P need not b
  • Page 141B–62754EN/01 PROGRAMMING 11. TOOL FUNCTION (T FUNCTION) 11.2.2 Counting a Tool Life Explanation D When a tool life is Between T∆∆99(∆∆=Tool group number )and T∆∆88 in a machining specified as the time of program, the time for which the tool is used in the cutting mode is counted use (in minutes) at
  • Page 14211. TOOL FUNCTION (T FUNCTION) PROGRAMMING B–62754EN/01 11.2.3 Specifying a Tool In machining programs, T codes are used to specify tool groups as follows: Group in a Machining Program Tape format Meaning Tnn99; Ends the tool used by now, and starts to use the tool of the ∆∆group. ”99” distinguishes
  • Page 143B–62754EN/01 PROGRAMMING 12. AUXILIARY FUNCTION 12 AUXILIARY FUNCTION 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 ) . When a move command and miscellaneous fun
  • Page 14412. AUXILIARY FUNCTION PROGRAMMING B–62754EN/01 12.1 When address M followed by a number is specified, a code signal and AUXILIARY strobe signal are transmitted. These signals are used for turning on/off the FUNCTION power to the machine. (M FUNCTION) In general, only one M code is valid in a block
  • Page 145B–62754EN/01 PROGRAMMING 12. AUXILIARY FUNCTION 12.2 So far, one block has been able to contain only one M code. Up to three M codes can be specified in a single block when bit 7 (M3B) of parameter MULTIPLE M No. 3404 is set to 1. COMMANDS IN A Up to three M codes specified in a block are simultaneo
  • Page 14612. AUXILIARY FUNCTION PROGRAMMING B–62754EN/01 12.3 The M code group check function checks if a combination of multiple M codes (up to three M codes) contained in a block is correct. M CODE GROUP This function has two purposes. One is to detect if any of the multiple M CHECK FUNCTION codes specifie
  • Page 147B–62754EN/01 PROGRAMMING 12. AUXILIARY FUNCTION 12.4 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 14813. PROGRAM CONFIGURATION PROGRAMMING B–62754EN/01 13 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 149B–62754EN/01 PROGRAMMING 13. PROGRAM CONFIGURATION D Program components A program consists of the following components: Table 13(a) 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 st
  • Page 15013. PROGRAM CONFIGURATION PROGRAMMING B–62754EN/01 13.1 This section describes program components other than program sections. See Section II–13.2 for a program section. PROGRAM COMPONENTS Leader section OTHER THAN Tape start % TITLE ; Program start PROGRAM O0001 ; SECTIONS Program section (COMMENT)
  • Page 151B–62754EN/01 PROGRAMMING 13. PROGRAM CONFIGURATION NOTE If one file contains multiple programs, the EOB code for label skip operation must not appear before a second or subsequent program number. However, an program start is required at the start of a program if the preceding program ends with %. D
  • Page 15213. PROGRAM CONFIGURATION PROGRAMMING B–62754EN/01 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 CRT display screen. However, when a fil
  • Page 153B–62754EN/01 PROGRAMMING 13. PROGRAM CONFIGURATION 13.2 This section describes elements of a program section. See Section II–13.1 for program components other than program sections. PROGRAM SECTION CONFIGURATION % TITLE ; Program number O0001 ; N1 … ; Sequence number (COMMENT) Program section Progra
  • Page 15413. PROGRAM CONFIGURATION PROGRAMMING B–62754EN/01 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 13.2(a) EOB code Name ISO EIA Notation in this code code manual End o
  • Page 155B–62754EN/01 PROGRAMMING 13. PROGRAM CONFIGURATION 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 15613. PROGRAM CONFIGURATION PROGRAMMING B–62754EN/01 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 157B–62754EN/01 PROGRAMMING 13. PROGRAM CONFIGURATION 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 15813. PROGRAM CONFIGURATION PROGRAMMING B–62754EN/01 D Program end The end of a program is indicated by punching one of the following codes at the end of the program: Table 13.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 is e
  • Page 159B–62754EN/01 PROGRAMMING 13. PROGRAM CONFIGURATION 13.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. A subprogram can be called from the main program. A called subprogram
  • Page 16013. PROGRAM CONFIGURATION PROGRAMMING B–62754EN/01 NOTE 1 The M98 and M99 signals 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 subprogram (number 1002) fiv
  • Page 161B–62754EN/01 PROGRAMMING 13. PROGRAM CONFIGURATION D Using M99 in the main If M99 is executed in a main program, control returns to the start of the program main program. For example, M99 can be executed by placing /M99 ; at an appropriate location of the main program and setting the optional block
  • Page 16213. PROGRAM CONFIGURATION PROGRAMMING B–62754EN/01 13.4 The 8–digit program number function enables specification of program numbers with eight digits following address O (O00000001 to 8–DIGIT PROGRAM O99999999). NUMBER Explanations D Inhibiting editing of Editing of subprograms O00008000 to O000089
  • Page 163B–62754EN/01 PROGRAMMING 13. PROGRAM CONFIGURATION 2) Macro call using M code Parameter used to Program number specify M code When SPPR = 0 When SPPR = 1 No.6080 O00009020 O90009020 No.6081 O00009021 O90009021 No.6082 O00009022 O90009022 No.6083 O00009023 O90009023 No.6084 O00009024 O90009024 No.608
  • Page 16413. PROGRAM CONFIGURATION PROGRAMMING B–62754EN/01 6) Pattern data function Program numaber When SPPR = 0 When SPPR = 1 O00009500 O90009500 O00009501 O90009501 O00009502 O90009502 O00009503 O90009503 O00009504 O90009504 O00009505 O90009505 O00009506 O90009506 O00009507 O90009507 O00009508 O90009508
  • Page 16514. FUNCTIONS TO SIMPLIFY B–62754EN/01 PROGRAMMING PROGRAMMING 14 FUNCTIONS TO SIMPLIFY PROGRAMMING General This chapter explains the following items: 14.1 CANNED CYCLE (G90, G92, G94) 14.2 MULTIPLE REPETITIVE CYCLE (G70 to G76) 14.3 CANNED CYCLE FOR DRILLING (G80 to G89) 14.4 CANNED GRINDING CYCLE
  • Page 16614. FUNCTIONS TO SIMPLIFY PROGRAMMING PROGRAMMING B–62754EN/01 14.1 There are three canned cycles : the outer diameter/internal diameter cutting canned cycle (G90), the thread cutting canned cycle (G92), and the CANNED CYCLE end face turning canned cycle (G94). (G90, G92, G94) 14.1.1 Outer Diameter
  • Page 16714. FUNCTIONS TO SIMPLIFY B–62754EN/01 PROGRAMMING PROGRAMMING D Taper cutting cycle G90X(U)__ Z(W)__ R__ F__ ; R…Rapid traverse F…Specified by F code X axis 4(R) U/2 3(F) 1(R) 2(F) R X/2 W Z Z axis Fig. 14.1.1 (b) Taper Cutting Cycle D Signs of numbers In incremental programming, the relationship b
  • Page 16814. FUNCTIONS TO SIMPLIFY PROGRAMMING PROGRAMMING B–62754EN/01 14.1.2 Thread Cutting Cycle (G92) G92X(U)__ Z(W)__ F__ ; Lead (L) is specified. X axis Z W 4(R) 3(R) 1(R) 2(F) X/2 Z axis R…… Rapid traverse F…… Specified by F code L (The chamfered angle in the left figure is 45 degrees or less because
  • Page 16914. FUNCTIONS TO SIMPLIFY B–62754EN/01 PROGRAMMING PROGRAMMING WARNING Notes on this thread cutting are the same as in thread cutting in G32. However, a stop by feed hold is as follows ; Stop after completion of path 3 of thread cutting cycle. CAUTION The tool retreats while chamfering and returns t
  • Page 17014. FUNCTIONS TO SIMPLIFY PROGRAMMING PROGRAMMING B–62754EN/01 D Taper thread cutting cycle G92X(U)__ Z(W)__ R__ F__ ; Lead (L) is specified. X axis Z W 4(R) (R) 0Rapid traverse U/2 1(R) (F) 0Specified by 3(R) F code 2(F) R X/2 Z axis L (The chamfered angle in the left figure is 45 degrees or less b
  • Page 17114. FUNCTIONS TO SIMPLIFY B–62754EN/01 PROGRAMMING PROGRAMMING 14.1.3 End Face Turning Cycle (G94) D Face cutting cycle G94X(U)__ Z(W)__ F__ ; X axis (R)……Rapid traverse (F)……Specified by F code 1(R) 2(F) 4(R) U/2 U/2 3(F) X/2 X/2 0 W Z axis Z Z Fig. 14.1.3 (a) Face Cutting Cycle In incremental prog
  • Page 17214. FUNCTIONS TO SIMPLIFY PROGRAMMING PROGRAMMING B–62754EN/01 D Taper face cutting cycle X axis 1(R) (R) Rapid traverse (F) Specified by F code 2(F) 4(R) U/2 3(F) X/2 R W Z Z axis Fig. 14.1.3 (b) D Signs of numbers In incremental programming, the relationship between the signs of the specified in t
  • Page 17314. FUNCTIONS TO SIMPLIFY B–62754EN/01 PROGRAMMING PROGRAMMING NOTE 1 Since data values of X (U), Z (W) and R during canned cycle are modal, if X (U), Z (W), or R is not newly commanded, the previously specified data is effective. Thus, when the Z axis movement amount does not vary as in the example
  • Page 17414. FUNCTIONS TO SIMPLIFY PROGRAMMING PROGRAMMING B–62754EN/01 14.1.4 An appropriate canned cycle is selected according to the shape of the How to Use Canned material and the shape of the product. Cycles (G90, G92, G94) D Straight cutting cycle (G90) Shape of material Shape of product D Taper cuttin
  • Page 17514. FUNCTIONS TO SIMPLIFY B–62754EN/01 PROGRAMMING PROGRAMMING D Face cutting cycle (G94) Shape of material Shape of product D Face taper cutting cycle (G94) Shape of material Shape of product 155
  • Page 17614. FUNCTIONS TO SIMPLIFY PROGRAMMING PROGRAMMING B–62754EN/01 14.2 This option canned cycles to make CNC programming easy. For instance, the data of the finish work shape describes the tool path for rough MULTIPLE machining. And also, a canned cycles for the thread cutting is available. REPETITIVE
  • Page 17714. FUNCTIONS TO SIMPLIFY B–62754EN/01 PROGRAMMING PROGRAMMING NOTE 1 While both ∆d and ∆u, are specified by address U, the meanings of them are determined by the presence of addresses P and Q. 2 The cycle machining is performed by G71 command with P and Q specification. F, S, and T functions which
  • Page 17814. FUNCTIONS TO SIMPLIFY PROGRAMMING PROGRAMMING B–62754EN/01 D Type II Type II differs from type I in the following : The profile need not show monotone increase or decrease along the X axis, and it may have up to 10 concaves (pockets). 10 ...... 3 2 1 Fig. 14.2.1 (b) Number of Pockets in Stock Re
  • Page 17914. FUNCTIONS TO SIMPLIFY B–62754EN/01 PROGRAMMING PROGRAMMING e (set by a parameter) Fig. 14.2.1 (e) Chamfering in Stock Removal in Turning (Type II) The clearance e (specified in R) to be provided after cutting can also be set in parameter No. 5133. A sample cutting path is given below: 30 4 3 13
  • Page 18014. FUNCTIONS TO SIMPLIFY PROGRAMMING PROGRAMMING B–62754EN/01 14.2.2 As shown in the figure below, this cycle is the same as G71 except that Stock Removal In cutting is made by a operation parallel to X axis. Facing (G72) ∆d A’ C A Tool path (F) (R) e (R) 45° (F) Program command ∆u/2 B ∆w G72 W(∆d)
  • Page 18114. FUNCTIONS TO SIMPLIFY B–62754EN/01 PROGRAMMING PROGRAMMING 14.2.3 This function permits cutting a fixed pattern repeatedly, with a pattern Pattern Repeating being displaced bit by bit. By this cutting cycle, it is possible to efficiently cut work whose rough shape has already been made by a roug
  • Page 18214. FUNCTIONS TO SIMPLIFY PROGRAMMING PROGRAMMING B–62754EN/01 NOTE 1 While the values ∆i and ∆k, or ∆u and ∆w are specified by address U and W respectively, the meanings of them are determined by the presence of addresses P and Q in G73 block. When P and Q are not specified in a same block, address
  • Page 18314. FUNCTIONS TO SIMPLIFY B–62754EN/01 PROGRAMMING PROGRAMMING Examples Stock Removal in Turning (G71) (Type I) X axis Start point End point 7 100 2 80 ÅÅ 0 φ140 φ100 φ60 φ40 ÅÅ Z axis φ100 ÅÅ ÅÅ ÅÅ 40 20 20 10 20 30 30 10 2 220 (Diameter designation, metric input) N010 G50 X200.0 Z220.0 ; N011 G00
  • Page 18414. FUNCTIONS TO SIMPLIFY PROGRAMMING PROGRAMMING B–62754EN/01 Stock Removal In Facing (G72) X axis 7 Start point 88 110 ÅÅÅ ÅÅÅ Z axis φ160 φ120 φ80 φ40 ÅÅÅ ÅÅÅ ÅÅÅ ÅÅÅ 40 10 10 10 20 20 2 190 (Diameter designation, metric input) N010 G50 X220.0 Z190.0 ; N011 G00 X176.0 Z132.0 ; N012 G72 W7.0 R1.0
  • Page 18514. FUNCTIONS TO SIMPLIFY B–62754EN/01 PROGRAMMING PROGRAMMING Pattern Repeating (G73) 16 B X axis 16 110 130 14 2 ÅÅ Z axis ÅÅ 0 φ180 φ160 φ120 φ80 ÅÅ ÅÅ 2 14 ÅÅ ÅÅ 20 220 (Diameter designation, metric input) N010 G50 X260.0 Z220.0 ; N011 G00 X220.0 Z160.0 ; N012 G73 U14.0 W14.0 R3 ; N013 G73 P014
  • Page 18614. FUNCTIONS TO SIMPLIFY PROGRAMMING PROGRAMMING B–62754EN/01 14.2.5 The following program generates the cutting path shown in Fig. 14.2.5 End Face Peck Drilling (a). Chip breaking is possible in this cycle as shown below. If X (U) and Pare omitted, operation only in the Z axis results, to be used
  • Page 18714. FUNCTIONS TO SIMPLIFY B–62754EN/01 PROGRAMMING PROGRAMMING 14.2.6 The following program generates the cutting path shown in Fig. 14.2.6 Outer Diameter / (a). This is equivalent to G74 except that X is replaced by Z. Chip breaking is possible in this cycle, and grooving in X axis and peck drillin
  • Page 18814. FUNCTIONS TO SIMPLIFY PROGRAMMING PROGRAMMING B–62754EN/01 14.2.7 The thread cutting cycle as shown in Fig.14.2.7 (a) is programmed by the Multiple Thread Cutting G76 command. Cycle (G76) E (R) A U/2 (R) (F) B d i D k r C X Z W Fig. 14.2.7 (a) Cutting Path in Multiple thread cutting cycle 168
  • Page 18914. FUNCTIONS TO SIMPLIFY B–62754EN/01 PROGRAMMING PROGRAMMING Tool tip ÅÅÅÅÅÅÅÅÅ ÅÅÅÅÅÅÅÅÅ B ÅÅÅÅÅÅÅÅÅ ∆d ÅÅÅÅÅÅÅÅÅ a ∆pn ÅÅÅÅÅÅÅÅÅ 1st k 2nd ÅÅÅÅÅÅÅÅÅ 3rd nth ÅÅÅÅÅÅÅÅÅ ÅÅÅÅÅÅÅÅÅ d G76P (m) (r) (a) Q (∆d min) R(d); G76X (u) _ Z(W) _ R(i) P(k) Q(∆d) F(L) ; m ; Repetitive count in finishing (1 to 99
  • Page 19014. FUNCTIONS TO SIMPLIFY PROGRAMMING PROGRAMMING B–62754EN/01 D Thread cutting cycle When feed hold is applied during threading in the multiple thread cutting retract cycle (G76), the tool quickly retracts in the same way as in chamfering performed at the end of the thread cutting cycle. The tool g
  • Page 19114. FUNCTIONS TO SIMPLIFY B–62754EN/01 PROGRAMMING PROGRAMMING Examples Multiple repetitive cycle (G76) X axis ÔÔÔ ÅÅÅ ÅÅÅ  1.8 ÅÅÅ ÔÔÔ ÅÅÅ 1.8 3.68 ϕ68 ϕ60.64 Z axis ÅÅ 6 G76 P011060 Q100 R200 ; G76 X60640 Z25000 P3680 Q1800 F6.0 ; 25 105 D Staggered thread cutting Specifying P2 can perform stagge
  • Page 19214. FUNCTIONS TO SIMPLIFY PROGRAMMING PROGRAMMING B–62754EN/01 14.2.8 Notes on Multiple 1. In the blocks where the multiple repetitive cycle are commanded, the Repetitive Cycle addresses P, Q, X, Z, U, W, and R should be specified correctly for each block. (G70–G76) 2. In the block which is specifie
  • Page 19314. FUNCTIONS TO SIMPLIFY B–62754EN/01 PROGRAMMING PROGRAMMING 14.3 The canned cycle for drilling simplifies the program normally by directing the machining operation commanded with a few blocks, using CANNED CYCLE FOR one block including G function. DRILLING (G80–G89) This canned cycle conforms to
  • Page 19414. FUNCTIONS TO SIMPLIFY PROGRAMMING PROGRAMMING B–62754EN/01 D        A drilling G code specifies positioning axes and a drilling axis as shown     below. The C–axis and X– or Z–axis are used as positioning axes. The X– or Z–axis, which is not used as a positioning axis, is us
  • Page 19514. FUNCTIONS TO SIMPLIFY B–62754EN/01 PROGRAMMING PROGRAMMING D Repeat To repeat drilling for equally–spaced holes, specify the number of repeats in K_. K is effective only within the block where it is specified. Specify the first hole position in incremental mode. If it is specified in absolute mo
  • Page 19614. FUNCTIONS TO SIMPLIFY PROGRAMMING PROGRAMMING B–62754EN/01 14.3.1 The peck drilling cycle or high–speed peck drilling cycle is used Front Drilling Cycle depending on the setting in RTR, bit 2 of parameter No. 5101. If depth of cut for each drilling is not specified, the normal drilling cycle is
  • Page 19714. FUNCTIONS TO SIMPLIFY B–62754EN/01 PROGRAMMING PROGRAMMING D Peck drilling cycle (G83, G87) (parameter No. 5101#2 =1) Format G83 X(U)_ C(H)_ Z(W)_ R_ Q_ P_ F_ M_ K_ ; or G87 Z(W)_ C(H)_ X(U)_ R_ Q_ P_ F_ M_ K_ ; X_ C_ or Z_ C_ : Hole position data Z_ or X_ : The distance from point R to the bott
  • Page 19814. FUNCTIONS TO SIMPLIFY PROGRAMMING PROGRAMMING B–62754EN/01 D Drilling cycle If depth of cut is not specified for each drilling, the normal drilling cycle (G83 or G87) is used. The tool is then retracted from the bottom of the hole in rapid traverse. Format G83 X(U)_ C(H)_ Z(W)_ R_ P_ F_ M_ K_ ;
  • Page 19914. FUNCTIONS TO SIMPLIFY B–62754EN/01 PROGRAMMING PROGRAMMING 14.3.2 This cycle performs tapping. Front Tapping Cycle In this tapping cycle, when the bottom of the hole has been reached, the spindle is rotated in the reverse direction. (G84) / Side Tapping Cycle (G88) Format G84 X(U)_ C(H)_ Z(W)_ R
  • Page 20014. FUNCTIONS TO SIMPLIFY PROGRAMMING PROGRAMMING B–62754EN/01 NOTE Bit 6 (M5T) of parameter No. 5101 specifies whether the spindle stop command (M05) is issued before the direction in which the spindle rotates is specified with M03 or M04. For details, refer to the operator’s manual created by the
  • Page 20114. FUNCTIONS TO SIMPLIFY B–62754EN/01 PROGRAMMING PROGRAMMING 14.3.3 This cycle is used to bore a hole. Front Boring Cycle (G85) / Side Boring Cycle (G89) Format G85 X(U)_ C(H)_ Z(W)_ R_ P_ F_ K_ M_ ; or G89 Z(W)_ C(H)_ X(U)_ R_ P_ F_ K_ M_ ; X_ C_ or Z_ C_ : Hole position data Z_ or X_ : The dista
  • Page 20214. FUNCTIONS TO SIMPLIFY PROGRAMMING PROGRAMMING B–62754EN/01 14.3.4 G80 cancels canned cycle. Canned Cycle for Drilling Cancel (G80) Format G80 ; Explanations Canned cycle for drilling is canceled to perform normal operation. Point R and point Z are cleared. Other drilling data is also canceled (c
  • Page 20314. FUNCTIONS TO SIMPLIFY B–62754EN/01 PROGRAMMING PROGRAMMING 14.3.5 Precautions to be Taken by Operator D Reset and emergency Even when the controller is stopped by resetting or emergency stop in the stop course of drilling cycle, the drilling mode and drilling data are saved ; with this mind, the
  • Page 20414. FUNCTIONS TO SIMPLIFY PROGRAMMING PROGRAMMING B–62754EN/01 14.4 There are four grinding canned cycles : the traverse grinding cycle (G71), traverse direct fixed–dimension grinding cycle, oscillation grinding CANNED GRINDING cycle, and oscillation direct fixed–dimension grinding cycle. CYCLE With
  • Page 20514. FUNCTIONS TO SIMPLIFY B–62754EN/01 PROGRAMMING PROGRAMMING 14.4.2 Traverse Direct Fixed–dimension Grinding Cycle (G72) Format G72 P_ A_ B_ W_ U_ I_ K_ H_ ; P : Gauge number (1 to 4) A : First depth of cut B : Second depth of cut W : Grinding range U : Dwell time Maximum specification time : 9999
  • Page 20614. FUNCTIONS TO SIMPLIFY PROGRAMMING PROGRAMMING B–62754EN/01 14.4.3 Oscillation Grinding Cycle (G73) Format G73 A_ (B_) W_ U_ K_ H_ ; Z W (1) (2) (K) A U (dwell) U (dwell) (3) (B) (4) (K) X A : Depth of cut B : Depth of cut W : Grinding range U : Dwell time K : Feedrate H : Number of repetitions S
  • Page 20714. FUNCTIONS TO SIMPLIFY B–62754EN/01 PROGRAMMING PROGRAMMING 14.4.4 Oscillation Direct Fixed–Dimension Grinding Cycle Format G74 P_ A_ (B_) W_ U_ K_ H_ ; P : Gauge number (1 to 4) A : Depth of cut B : Depth of cut W : Grinding range U : Dwell time K : Feedrate of W H : Number of repetitions Settin
  • Page 20814. FUNCTIONS TO SIMPLIFY PROGRAMMING PROGRAMMING B–62754EN/01 14.5 A chamfer or corner can be inserted between two blocks which intersect at a right angle as follows : CHAMFERING AND CORNER R D Chamfering Z→X Format Tool movement G01 Z(W) I (C) ±i ; +x Specifies movement to point b with an absolute
  • Page 20914. FUNCTIONS TO SIMPLIFY B–62754EN/01 PROGRAMMING PROGRAMMING D Corner R X→Z Format Tool movement G01 X(U) R ±r ; Start point a Specifies movement to point b with an absolute or incremental Moves as command in the figure on the (For –x movement, –r) a→d→c right. –r r d –z + c b c z 14.5 (d) Corner
  • Page 21014. FUNCTIONS TO SIMPLIFY PROGRAMMING PROGRAMMING B–62754EN/01 NOTE 1 The following commands cause an alarm. 1) One of I, K, or R is commanded when X and Z axes are specified by G01. (P/S alarm No. 054) 2) Move amount of X or Z is less than chamfering value and corner R value in the block where cham
  • Page 21114. FUNCTIONS TO SIMPLIFY B–62754EN/01 PROGRAMMING PROGRAMMING 14.6 MIRROR IMAGE FOR DOUBLE TURRET (G68, G69) Format G68 : Double turret mirror image on G69 : Mirror image cancel Explanations Mirror image can be applied to X–axis with G code. When G68 is designated, the coordinate system is shifted
  • Page 21214. FUNCTIONS TO SIMPLIFY PROGRAMMING PROGRAMMING B–62754EN/01 14.7 Angles of straight lines, chamfering value, corner rounding values, and other dimensional values on machining drawings can be programmed by DIRECT DRAWING directly inputting these values. In addition, the chamfering and corner DIMEN
  • Page 21314. FUNCTIONS TO SIMPLIFY B–62754EN/01 PROGRAMMING PROGRAMMING Commands Movement of tool X X2_ Z2_ , R1_ ; (X4 , Z4) X3_ Z3_ , R2_ ; (X3 , Z3) X4_ Z4_ ; A2 or R2 5 ,A1_, R1_ ; X3_ Z3_, A2_, R2_ ; R X 4 _ Z4 _ ; 1 A1 (X2 , Z2) (X1 , Z1) Z X X2 _ Z2 _ , C 1 _ ; X 3 _ Z3 _ , C 2 _ ; C2 X 4 _ Z4 _ ; or
  • Page 21414. FUNCTIONS TO SIMPLIFY PROGRAMMING PROGRAMMING B–62754EN/01 Explanations A program for machining along the curve shown in Fig. 14.7 (a) is as follows : +X X (x2) Z (z2) , C (c1) ; a3 X (x3) Z (z3) , R (r2) ; X (x4) Z (z4) ; (x3, z3) +Z (x4, z4) o r2 a2 ,Ar(a1) , C (c1) ; X (x3) Z (z3) , A (a2) ,
  • Page 21514. FUNCTIONS TO SIMPLIFY B–62754EN/01 PROGRAMMING PROGRAMMING NOTE 1 The following G codes are not applicable to the same block as commanded by direct input of drawing dimensions or between blocks of direct input of drawing dimensions which define sequential figures. 1) G codes ( other than G04) in
  • Page 21614. FUNCTIONS TO SIMPLIFY PROGRAMMING PROGRAMMING B–62754EN/01 Examples X R20 R15 R6 φ 300 φ 100 Z φ 60 10° 1×45° 30 180 22° (Diameter specification, metric input) N001 G50 X0.0 Z0.0 ; N002 G01 X60.0, A90.0, C1.0 F80 ; N003 Z–30.0, A180.0, R6.0 ; N004 X100.0, A90.0 ; N005 ,A170.0, R20.0 ; N006 X300.
  • Page 21714. FUNCTIONS TO SIMPLIFY B–62754EN/01 PROGRAMMING PROGRAMMING 14.8 Front face tapping cycles (G84) and side face tapping cycles (G88) can be performed either in conventional mode or rigid mode. RIGID TAPPING In conventional mode, the spindle is rotated or stopped, in synchronization with the motion
  • Page 21814. FUNCTIONS TO SIMPLIFY PROGRAMMING PROGRAMMING B–62754EN/01 14.8.1 Controlling the spindle motor in the same way as a servo motor in rigid Front Face Rigid mode enables high–speed tapping. Tapping Cycle (G84) / Side Face Rigid Tapping Cycle (G88) Format G84 X(U)_ C(H)_ Z(W)_ R_ P_ F_ M_ K_ ; or G
  • Page 21914. FUNCTIONS TO SIMPLIFY B–62754EN/01 PROGRAMMING PROGRAMMING D Screw lead In feed per minute mode, the feedrate divided by the spindle speed is equal to the screw lead. In feed per rotation mode, the feedrate is equal to the screw lead. Limitations D S commands When a value exceeding the maximum r
  • Page 22014. FUNCTIONS TO SIMPLIFY PROGRAMMING PROGRAMMING B–62754EN/01 Examples Tapping axis feedrate: 1000 mm/min Spindle speed: 1000 rpm Screw lead: 1.0 mm G98 ; Command for feed per minute G00 X100.0 ; Positioning M29 S1000 ; Command for specifying rigid mode G84 Z–100.0
  • Page 221B–62754EN/01 PROGRAMMING 15. COMPENSATION FUNCTION 15 COMPENSATION FUNCTION This chapter describes the following compensation functions: 15.1 TOOL OFFSET 15.2 OVERVIEW OF TOOL NOSE RADIUS COMPENSATION 15.3 DETAILS OF TOOL NOSE RADIUS COMPENSATION 15.4 CORNER CIRCULAR INTERPOLATION FUNCTION (G39) 15.
  • Page 22215. COMPENSATION FUNCTION PROGRAMMING B–62754EN/01 15.1 Tool offset is used to compensate for the difference when the tool actually used differs from the imagined tool used in programming (usually, TOOL OFFSET standard tool). Standard tool Actual tool Offset amount on X axis Offset amount on Z axis
  • Page 223B–62754EN/01 PROGRAMMING 15. COMPENSATION FUNCTION 15.1.2 There are two methods for specifying a T code as shown in Table 15.1.2(a) T Code for Tool Offset and Table 15.1.2(b). Format D Lower digit of T code Table 15.1.2(a) specifies geometry and wear offset number Kind of Meaning of T code Parameter
  • Page 22415. COMPENSATION FUNCTION PROGRAMMING B–62754EN/01 15.1.5 There are two types of offset. One is tool wear offset and the other is tool Offset geometry offset. Explanations D Tool wear offset The tool path is offset by the X, Y, and Z wear offset values for the programmed path. The offset distance co
  • Page 225B–62754EN/01 PROGRAMMING 15. COMPENSATION FUNCTION D Only T code When only a T code is specified in a block, the tool is moved by the wear offset value without a move command. The movement is performed at rapid traverse rate in the G00 mode . It is performed at feedrate in other modes. When a T code
  • Page 22615. COMPENSATION FUNCTION PROGRAMMING B–62754EN/01 Examples 1. When a tool geometry offset number and tool wear offset number are specified with the last two digits of a T code (when LGN, bit 1 of parameter No.5002, is set 0), N1 X50.0 Z100.0 T0202 ; Specifies offset number 02 N2 Z200.0 ; N3 X100.0
  • Page 227B–62754EN/01 PROGRAMMING 15. COMPENSATION FUNCTION 15.1.6 This section describes the following operations when tool position offset G53, G28, G30, and is applied: G53, G28, G30, and G30.1 commands, manual reference position return, and the canceling of tool position offset with a T00 G30.1 Commands
  • Page 22815. COMPENSATION FUNCTION PROGRAMMING B–62754EN/01 D Manual reference Executing manual reference position return when tool position offset is position return when tool applied does not cancel the tool position offset vector. The absolute position offset is applied position display is as follows, how
  • Page 229B–62754EN/01 PROGRAMMING 15. COMPENSATION FUNCTION D Canceling tool position Whether specifying T00 alone, while tool position offset is applied, offset with T00 cancels the offset depends on the settings of the following parameters: When the tool geometry/wear compensation option is selected LGN =
  • Page 23015. COMPENSATION FUNCTION PROGRAMMING B–62754EN/01 When the tool geometry/wear compensation option is not selected LGN (No.5002#1) LGT (No.5002#4) LGC (No.5002#5) The geometry offset number is: Geometry compensation is The geometry offset is: Result 0: Same as the wear offset applied: 0: Not cancele
  • Page 231B–62754EN/01 PROGRAMMING 15. COMPENSATION FUNCTION 15.2 It is difficult to produce the compensation necessary to form accurate parts when using only the tool offset function due to tool nose roundness in OVERVIEW OF TOOL taper cutting or circular cutting. The tool nose radius compensation NOSE RADIU
  • Page 23215. COMPENSATION FUNCTION PROGRAMMING B–62754EN/01 CAUTION In a machine with reference positions, a standard position like the turret center can be placed over the start position. The distance from this standard position to the nose radius center or the imaginary tool nose is set as the tool offset
  • Page 233B–62754EN/01 PROGRAMMING 15. COMPENSATION FUNCTION 15.2.2 The direction of the imaginary tool nose viewed from the tool nose center Direction of Imaginary is determined by the direction of the tool during cutting, so it must be set in advance as well as offset values. Tool Nose The direction of the
  • Page 23415. COMPENSATION FUNCTION PROGRAMMING B–62754EN/01 Imaginary tool nose numbers 0 and 9 are used when the tool nose center coincides with the start position. Set imaginary tool nose number to address OFT for each offset number. Bit 7 (WNP) of parameter No. 5002 is used to determine whether the tool g
  • Page 235B–62754EN/01 PROGRAMMING 15. COMPENSATION FUNCTION When the options of tool geometry compensation and tool wear compensation are selected, the offset values become as follows : Table 15.2.3(b) Tool geometry offset Geome- OFGX OFGZ OFGR OFT OFGY try (X–axis (Z–axis (Tool nose (Imaginary (Y–axis offse
  • Page 23615. COMPENSATION FUNCTION PROGRAMMING B–62754EN/01 D Setting range of offset The range of the offset value is an follows : value Increment system metric system Inch system IS–B 0 to "999.999 mm 0 to "99.9999 inch IS–C 0 to "999.9999 mm 0 to "99.99999 inch The offset value corresponding to the offset
  • Page 237B–62754EN/01 PROGRAMMING 15. COMPENSATION FUNCTION The workpiece position can be changed by setting the coordinate system as shown below. Z axis G41 (the workpiece is on the left side) X axis Workpiece G42 (the workpiece is Note on the right side) If the tool nose radius compensation value is negati
  • Page 23815. COMPENSATION FUNCTION PROGRAMMING B–62754EN/01 D Tool movement when the The workpiece position against the toll changes at the corner of the workpiece position programmed path as shown in the following figure. changes A C Workpiece G41 position G42 Workpiece B position A B C G41 G42 Although the
  • Page 239B–62754EN/01 PROGRAMMING 15. COMPENSATION FUNCTION D Offset cancel The block in which the mode changes to G40 from G41 or G42 is called the offset cancel block. G41 _ ; G40 _ ; (Offset cancel block) The tool nose center moves to a position vertical to the programmed path in the block before the canc
  • Page 24015. COMPENSATION FUNCTION PROGRAMMING B–62754EN/01 The workpiece position specified by addresses I and K is the same as that in the preceding block. If I and/or K is specified with G40 in the cancel mode, the I and/or K is ignored. G40 X_ Z_ I_ K_ ; Tool nose radius compensation G40 G02 X_ Z_ I_ K_
  • Page 241B–62754EN/01 PROGRAMMING 15. COMPENSATION FUNCTION 15.2.5 Notes on tool nose radius compensation Explanations D Tool movement when 1.M05 ; M code output two or more blocks 2.S210 ; S code output without a move 3.G04 X1000 ; Dwell command should not be 4.G01 U0 ; Feed distance of zero programmed 5.G9
  • Page 24215. COMPENSATION FUNCTION PROGRAMMING B–62754EN/01 2. Direction of the offset The offset direction is indicated in the figure below regardless of the G41/G42 mode. G90 G94 D Tool nose radius When one of following cycles is specified, the cycle deviates by a tool compensation with G71 nose radius com
  • Page 243B–62754EN/01 PROGRAMMING 15. COMPENSATION FUNCTION D Tool nose radius Movement after compensation is shown below. compensation when a corner arc is inserted (G42) Programmed path (G41) D Tool nose radius In this case, tool nose radius compensation is not performed. compensation when the block is spe
  • Page 24415. COMPENSATION FUNCTION PROGRAMMING B–62754EN/01 15.3 This section provides a detailed explanation of the movement of the tool for tool nose radius compensation outlined in Section 15.2. DETAILS OF TOOL This section consists of the following subsections: NOSE RADIUS COMPENSATION 15.3.1 General 15.
  • Page 245B–62754EN/01 PROGRAMMING 15. COMPENSATION FUNCTION D Start–up When a block which satisfies all the following conditions is executed in cancel mode, the system enters the offset mode. Control during this operation is called start–up. D G41 or G42 is contained in the block, or has been specified to se
  • Page 24615. COMPENSATION FUNCTION PROGRAMMING B–62754EN/01 15.3.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 247B–62754EN/01 PROGRAMMING 15. COMPENSATION FUNCTION D Tool movement around the outside of an acute Linear→Linear Start position angle (α<°) L S G42 Workpiece r α L Programmed path r L Tool nose radius center path L L Linear→Circular Start position L S G42 r α L r L Work- L C piece Tool nose radius
  • Page 24815. COMPENSATION FUNCTION PROGRAMMING B–62754EN/01 15.3.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 Tool nose radius center path S L Intersection
  • Page 249B–62754EN/01 PROGRAMMING 15. COMPENSATION FUNCTION D Tool movement around the inside α<° with an Intersection abnormally long vector, linear → linear r Tool nose radius 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 re
  • Page 25015. COMPENSATION FUNCTION PROGRAMMING B–62754EN/01 D Tool movement around the outside corner at an Linear→Linear obtuse angle (90°xα<180°) α Workpiece L Programmed path Tool nose radius center path S Intersection L Linear→Circular α L r Work- piece S L C Intersection Tool nose radius Programmed path
  • Page 251B–62754EN/01 PROGRAMMING 15. 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 nose radius center path L L Linear→Circular L r α L S r Work- L piece L C Tool nose radius Programmed path center path Cir
  • Page 25215. COMPENSATION FUNCTION PROGRAMMING B–62754EN/01 D When it is exceptional S End position for the arc If the end of a line leading to an arc is programmed as the end of the arc is not on the arc by mistake as illustrated below, the system assumes that tool nose radius compensation has been executed
  • Page 253B–62754EN/01 PROGRAMMING 15. COMPENSATION FUNCTION S There is no inner If the tool nose radius compensation value is sufficiently small, the two intersection circular Tool nose radius center paths made after compensation intersect at a position (P). Intersection P may not occur if an excessively lar
  • Page 25415. COMPENSATION FUNCTION PROGRAMMING B–62754EN/01 D Change in the offset The offset direction is decided by G codes (G41 and G42) for tool nose direction in the offset radius and the sign of tool nose radius compensation value as follows. mode Sign of offset value + – G code G41 Left side offset Ri
  • Page 255B–62754EN/01 PROGRAMMING 15. COMPENSATION FUNCTION S Tool nose radius center path with an intersection Linear→Linear S Workpiece G42 L r r Programmed path L G41 Tool nose radius center path Workpiece Linear→Circular C Workpiece r G41 G42 Programmed path r Workpiece Tool nose radius center path L S C
  • Page 25615. COMPENSATION FUNCTION PROGRAMMING B–62754EN/01 S Tool nose radius center When changing the offset direction in block A to block B using G41 and path without an G42, if intersection with the offset path is not required, the vector normal intersection to block B is created at the start point of bl
  • Page 257B–62754EN/01 PROGRAMMING 15. COMPENSATION FUNCTION D Temporary tool nose If the following command is specified in the offset mode, the offset mode radius compensation is temporarily canceled then automatically restored. The offset mode can cancel be canceled and started as described in Subsections I
  • Page 25815. COMPENSATION FUNCTION PROGRAMMING B–62754EN/01 D Command cancelling the During offset mode, if G50 is commanded,the offset vector is temporarily offset vector temporality cancelled and thereafter offset mode is automatically restored. In this case, without movement of offset cancel, the tool mov
  • Page 259B–62754EN/01 PROGRAMMING 15. 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 tool nose radius compensation is effected. 1. M05 ; M code output 2. S21 ; S code output 3. G04 X10.0 ; Dwell Com- 4. G10 P01
  • Page 26015. COMPENSATION FUNCTION PROGRAMMING B–62754EN/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 261B–62754EN/01 PROGRAMMING 15. COMPENSATION FUNCTION 15.3.4 Tool Movement in Offset Mode Cancel Explanations D Tool movement around an inside corner Linear→Linear (180°xα) Workpiece α Programmed path r G40 L path Tool nose radius center S L Circular→Linear α r G40 Work- piece S C L Programmed path Too
  • Page 26215. COMPENSATION FUNCTION PROGRAMMING B–62754EN/01 D Tool movement around an outside corner at an Linear→Linear acute angle (α<90°) L G40 Workpiece α r L Programmed path S Tool nose radius center path r L L L S Circular→Linear L r α L r L Work- piece S L C Tool nose radius center path Programmed pat
  • Page 263B–62754EN/01 PROGRAMMING 15. COMPENSATION FUNCTION D Block containing G40 and I_J_K_ S The previous block If a G41 or G42 block precedes a block in which G40 and I_, J_, K_ are contains G41 or G42 specified, the system assumes that the path is programmed as a path from the end position determined by
  • Page 26415. COMPENSATION FUNCTION PROGRAMMING B–62754EN/01 15.3.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–62754EN/01 PROGRAMMING 15. COMPENSATION FUNCTION (2) In addition to the condition (1), the angle between the start point and end point on the Tool nose radius center path is quite different from that between the start point and end point on the programmed path in circular machining(more than 180 d
  • Page 26615. COMPENSATION FUNCTION PROGRAMMING B–62754EN/01 D Correction of (1) Removal of the vector causing the interference interference in advance When tool nose radius 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 an
  • Page 267B–62754EN/01 PROGRAMMING 15. COMPENSATION FUNCTION (Example 2) The tool moves linearly from V1, V2, V7, to V8 V2 S V7 V1 V8 Tool nose radius C S center path V6 V3 C r r A V5 V4 C Programmed path R V4, V5 : Interference V3, V6 : Interference O1 O2 V2, V7 : No Interference (2) If the interference occu
  • Page 26815. COMPENSATION FUNCTION PROGRAMMING B–62754EN/01 D When interference is (1) Depression which is smaller than the tool nose radius assumed although actual compensation value interference does not occur Programmed path Tool nose radius center path Stopped A C B There is no actual interference, but s
  • Page 269B–62754EN/01 PROGRAMMING 15. COMPENSATION FUNCTION 15.3.6 Overcutting by Tool Nose Radius 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
  • Page 27015. COMPENSATION FUNCTION PROGRAMMING B–62754EN/01 D Machining a step smaller When machining of the step is commanded by circular machining in the than the tool nose radius case of a program containing a step smaller than the tool nose radius, the path of the center of tool with the ordinary offset
  • Page 271B–62754EN/01 PROGRAMMING 15. COMPENSATION FUNCTION D When machining area The following example shows a machining area which cannot be cut remains or an alarm is sufficiently. generated ÇÇÇÇÇÇÇ ÇÇÇÇÇÇÇ ÇÇÇÇÇÇÇ ÇÇÇÇÇÇÇ r ÇÇÇÇÇÇÇ 22.5_ ÇÇÇÇÇÇ ÇÇÇÇÇÇÇ ȏ2 ÇÇÇÇÇÇ ÇÇÇÇÇÇ Tool nose radius Machining area ÇÇÇ
  • Page 27215. COMPENSATION FUNCTION PROGRAMMING B–62754EN/01 In outer chamfering with an offset, a limit is imposed on the programmed path. The path during chamfering coincides with the intersection points P1 or P2 without chamfering, therefore, outer chamfering is limited. In the figure above, the end point
  • Page 273B–62754EN/01 PROGRAMMING 15. COMPENSATION FUNCTION 15.3.9 General Precautions for Offset Operations D Changing the offset In general, the offset value is changed in cancel mode, or when changing value tools. If the offset value is changed in offset mode, the vector at the end point of the block is c
  • Page 27415. COMPENSATION FUNCTION PROGRAMMING B–62754EN/01 15.3.10 G53, G28, G30, and D When a G53 command is executed in tool–tip radius compensation G30.1 Commands in mode, the tool–tip radius compensation vector is automatically canceled before positioning, that vector being automatically restored Tool–t
  • Page 275B–62754EN/01 PROGRAMMING 15. COMPENSATION FUNCTION S Incremental G53 - When bit 2 (CCN) of parameter No. 5003 is set to 0 command in offset mode Start–up r r s G00 (G41 G00) s G00 G53 O×××× ; G41 G00_ ; : G53 U_ W_ ; : - When bit 2 (CCN) of parameter No. 5003 is set to 1 [FS15 type] r s G00 (G41 G00
  • Page 27615. COMPENSATION FUNCTION PROGRAMMING B–62754EN/01 WARNING 1 When a G53 command is executed in tool–tip radius compensation mode when all–axis machine lock is applied, positioning is not performed for those axes to which machine lock is applied and the offset vector is not canceled. When bit 2 (CCN)
  • Page 277B–62754EN/01 PROGRAMMING 15. COMPENSATION FUNCTION WARNING 2 When a compensation axis is specified in a G53 command in tool–tip radius compensation mode, the vectors for other compensation axes are also canceled. This also applies when bit 2 (CCN) of parameter No. 5003 is set to 1. (The FS15 cancels
  • Page 27815. COMPENSATION FUNCTION PROGRAMMING B–62754EN/01 NOTE 1 When an axis not included in the tool–tip radius compensation plane is specified in a G53 command, a vector perpendicular to the direction in which the tool moves is created at the end of the preceding block and the tool does not move. Offset
  • Page 279B–62754EN/01 PROGRAMMING 15. COMPENSATION FUNCTION S G28, G30, or G30.1 - When bit 2 (CCN) of parameter No. 5003 is set to 0 command in offset mode Intermediate position O×××× ; (with movement to both G91 G41_ ; s G28/30/30.1 s s G01 an intermediate position : and reference position G28 X40. Z0 ; G0
  • Page 28015. COMPENSATION FUNCTION PROGRAMMING B–62754EN/01 S G28, G30, or G30.1 - When bit 2 (CCN) of parameter No. 5003 is set to 0 command in offset mode Start–up (with movement to a reference position not performed) r r (G41 G01) s s G01 O×××× ; G91 G41_ ; G00 : G28/30/30.1 G28 X40. Y–40. ; : s Reference
  • Page 281B–62754EN/01 PROGRAMMING 15. COMPENSATION FUNCTION WARNING 1 When a G28, G30, or G30.1 command is executed when all–axis machine lock is applied, a vector perpendicular to the direction in which the tool moves is created at the intermediate position. In this case, the tool does not move to the refer
  • Page 28215. COMPENSATION FUNCTION PROGRAMMING B–62754EN/01 NOTE 1 When an axis not included in the tool–tip radius compensation plane is specified in a G28, G30, or G30.1 command, a vector perpendicular to the direction in which the tool moves is created at the end of the preceding block and the tool does n
  • Page 283B–62754EN/01 PROGRAMMING 15. COMPENSATION FUNCTION 15.4 During radius compensation for the tool tip, corner circular– interpolation, with the specified compensation value used as the radius, CORNER CIRCULAR can be performed by specifying G39 in offset mode. INTERPOLATION FUNCTION (G39) Format In off
  • Page 28415. COMPENSATION FUNCTION PROGRAMMING B–62754EN/01 Examples D G39 without I, J, and K (In offset mode) X–axis N1 Z10.0 ; N2 G39 ; N3 X-10.0 ; Z–axis Block N1 Offset vector Block N2 (10.0, 0.0) Block N3 Programmed path Tool–tip center path (10.0, –10.0) D G39 with I, J, and K (In offset mode) X–axis
  • Page 285B–62754EN/01 PROGRAMMING 15. COMPENSATION FUNCTION 15.5 Tool compensation values include tool geometry compensation values and tool wear compensation (Fig. 15.5 (a)). TOOL Tool compensation can be specified without differentiating compensation COMPENSATION for tool geometry from that for tool wear.
  • Page 28615. COMPENSATION FUNCTION PROGRAMMING B–62754EN/01 D Number of tool The memory can hold 16, 32, 64, or 99 tool compensation values. compensation NOTE With the two–path control, the number of specified tool compensation values equals the number of tool compensations for each tool post. 15.5.2 Offset
  • Page 287B–62754EN/01 PROGRAMMING 15. COMPENSATION FUNCTION 15.6 When a tool is moved to the measurement position by execution of a command given to the CNC, the CNC automatically measures the AUTOMATIC TOOL difference between the current coordinate value and the coordinate value OFFSET (G36, G37) of the com
  • Page 28815. COMPENSATION FUNCTION PROGRAMMING B–62754EN/01 D Feedrate and alarm The tool, when moving from the stating position toward the measurement position predicted by xa or za in G36 or G37, is fed at the rapid traverse rate across area A. Then the tool stops at point T (xa–γx or za–γz) and moves at t
  • Page 289B–62754EN/01 PROGRAMMING 15. COMPENSATION FUNCTION G36 X200.0 ; Moves to the measurement position If the tool has reached the measurement position at X198.0 ; since the correct measurement position is 200 mm, the offset value is altered by 198.0–200.0=–2.0mm. G00 X204.0 ; Refracts a little along the
  • Page 29015. COMPENSATION FUNCTION PROGRAMMING B–62754EN/01 15.7 With the coordinate rotation function, it is possible to rotate a figure specified in a program. For example, a program that produces patterns COORDINATE of a figure rotated at increasingly larger angles can be created as a pair of ROTATION sub
  • Page 291B–62754EN/01 PROGRAMMING 15. COMPENSATION FUNCTION Explanations D Plane selection G code, Plane selection G code (G17, G18, or G19) can be specified in a block G17, G18, or G19 ahead of the coordinate rotation G code (G68.1). Do not specify G17, G18, or G19 in coordinate rotation mode. D Rotation ce
  • Page 29215. COMPENSATION FUNCTION PROGRAMMING B–62754EN/01 Examples D Tool nose radius and G68.1 and G69.1 can be specified during tool nose radius compensation, coordinate rotation provided that the coordinate rotation plane coincides with the tool nose radius compensation plane. N1 G50 X0 Z0 G69.1 G01 ; N
  • Page 293B–62754EN/01 PROGRAMMING 15. COMPENSATION FUNCTION D Repetitive coordinate Coordinate rotation can be repeated by calling a registered subprogram rotation more than once, but with increasingly greater rotation angles. Set bit 0 (RIN) of parameter No. 5400 to 1 to specify the rotation angle as being
  • Page 29416. CUSTOM MACRO PROGRAMMING B–62754EN/01 16    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 295B–62754EN/01 PROGRAMMING 16. CUSTOM MACRO 16.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 29616. CUSTOM MACRO PROGRAMMING B–62754EN/01 D Range of variable values Local and common variables can have value 0 or a value in the following ranges : –1047 to –10–29 0 +10–29 to +1047 If the result of calculation turns out to be invalid, an P/S alarm No. 111 is issued. D Omission of the decimal When
  • Page 297B–62754EN/01 PROGRAMMING 16. 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 expressions
  • Page 29816. CUSTOM MACRO PROGRAMMING B–62754EN/01 D Displaying variable values VARIABLE O1234 N12345 NO. DATA NO. DATA 100 123.456 108 101 0.000 109 102 110 103 ******** 111 104 112 105 113 106 114 107 115 ACTUAL POSITION (RELATIVE) X 0.000 Y 0.000 Z 0.000 B 0.000 MEM **** *** *** 18:42:15 [ MACRO ] [ MENU
  • Page 299B–62754EN/01 PROGRAMMING 16. CUSTOM MACRO 16.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 30016. CUSTOM MACRO PROGRAMMING B–62754EN/01 NOTE System variables #2001 to #2964 can also be used to determine Y–axis wear or geometry compensation values No. 1 to 49, X–axis or Z–axis geometry compensation values No. 1 to 49, and other compensation values No. 1 to 64. D Macro alarms Table 16.2(d) Sys
  • Page 301B–62754EN/01 PROGRAMMING 16. CUSTOM MACRO D Automatic operation The control state of automatic operation can be changed. control Table 16.2(f) System variable (#3003) for automatic operation control #3003 Single block Completion of an auxiliary function 0 Enabled To be awaited 1 Disabled To be await
  • Page 30216. CUSTOM MACRO PROGRAMMING B–62754EN/01 D  Settings can be read and written. Binary values are converted to decimals. #3005 #15 #14 #13 #12 #11 #10 #9 #8 Setting FCV #7 #6 #5 #4 #3 #2 #1 #0 Setting SEQ INI ISO TVC #9 (FCV) : Whether to use the FS15 tape format conversion capability #5 (SEQ
  • Page 303B–62754EN/01 PROGRAMMING 16. CUSTOM MACRO D Modal information Modal information specified in blocks up to the immediately preceding block can be read. Table 16.2(i) System variables for modal information Variable Function number #4001 G00, G01, G02, G03, G33, G34 (Group 01) #4002 G96, G97 (Group 02)
  • Page 30416. CUSTOM MACRO PROGRAMMING B–62754EN/01 D The first digit (from 1 to 8) represents an axis number. D The tool offset value currently used for execution rather than the immediately preceding tool offset value is held in variables #5081 to 5088. D The tool position where the skip signal is turned on
  • Page 305B–62754EN/01 PROGRAMMING 16. CUSTOM MACRO 16.3 The operations listed in Table 16.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 30616. CUSTOM MACRO PROGRAMMING B–62754EN/01 DWhen the ROUND function is used in NC statement addresses, the ROUND function rounds off the specified value according to the least input increment of the address. Example: Creation of a drilling program that cuts according to the values of variables #1 and
  • Page 307B–62754EN/01 PROGRAMMING 16. CUSTOM MACRO D Bracket nesting Brackets are used to change the order of operations. Brackets can be used to a depth of five levels including the brackets used to enclose a function. When a depth of five levels is exceeded, alarm No. 118 occurs. Example) #1=SIN [ [ [#2+#3
  • Page 30816. CUSTOM MACRO PROGRAMMING B–62754EN/01 S The precision of variable values is about 8 decimal digits. When very large numbers are handled in an addition or subtraction, the expected results may not be obtained. Example: When an attempt is made to assign the following values to variables #1 and #2:
  • Page 309B–62754EN/01 PROGRAMMING 16. CUSTOM MACRO 16.4 The following blocks are referred to as macro statements: MACRO S Blocks containing an arithmetic or logic operation (=) STATEMENTS AND S Blocks containing a control statement (such as GOTO, DO, END) NC STATEMENTS S Blocks containing a macro call comman
  • Page 31016. CUSTOM MACRO PROGRAMMING B–62754EN/01 16.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 311B–62754EN/01 PROGRAMMING 16. CUSTOM MACRO 16.5.2 Specify a conditional expression after IF. If the specified conditional Conditional Branch expression is satisfied, a branch to sequence number n occurs. If the specified condition is not satisfied, the next block is executed. (IF Statement) If the va
  • Page 31216. CUSTOM MACRO PROGRAMMING B–62754EN/01 16.5.3 Specify a conditional expression after WHILE. While the specified Repetition condition is satisfied, the program from DO to END is executed. If the specified condition is not satisfied, program execution proceeds to the (While Statement) block after E
  • Page 313B–62754EN/01 PROGRAMMING 16. 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 31416. CUSTOM MACRO PROGRAMMING B–62754EN/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; 294
  • Page 315B–62754EN/01 PROGRAMMING 16. CUSTOM MACRO 16.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 Restrictions D Differences be
  • Page 31616. CUSTOM MACRO PROGRAMMING B–62754EN/01 16.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 317B–62754EN/01 PROGRAMMING 16. 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 31816. CUSTOM MACRO PROGRAMMING B–62754EN/01 D When M99 is executed in a macro program, control returns to the calling program. At that time, the local variable level is decremented by one; the values of the local variables saved when the macro was called are restored. Main program Macro (level 0) Macr
  • Page 319B–62754EN/01 PROGRAMMING 16. CUSTOM MACRO D Program calling a macro O0002; program G50 X100.0 Z200.0 ; G00 X0 Z102.0 S1000 M03 ; G65 P9100 Z50.0 K20.0 F0.3 ; G00 X100.0 Z200.0 M05 ; M30 ; D Macro program O9100; (called program) #1=0 ; . . . . . . . . . . . . . . . . . . . . . . Clear the data for th
  • Page 32016. CUSTOM MACRO PROGRAMMING B–62754EN/01 16.6.2 Once G66 is issued to specify a modal call a macro is called after a block Modal Call (G66) specifying movement along axes is executed. This continues until G67 is issued to cancel a modal call. G66 P p L ȏ ; P : Number of the
  • Page 321B–62754EN/01 PROGRAMMING 16. CUSTOM MACRO Sample program This program makes a groove at a specified position. U D Calling format G66 P9110 Uu Ff ; U: Groove depth (incremental specification) F : Cutting feed of grooving D Program that calls a O0003 ; macro program G50 X100.0 Z200.0 ; S1000 M03 ; G66
  • Page 32216. CUSTOM MACRO PROGRAMMING B–62754EN/01 16.6.3 By setting a G code number used to call a macro program in a parameter, Macro Call Using the macro program can be called in the same way as for a simple call (G65). G Code O0001 ; O9010 ; : : G81 X10.0 Z–10.0 ; : : : M30 ; N9 M99 ; Parameter No.6050 =
  • Page 323B–62754EN/01 PROGRAMMING 16. CUSTOM MACRO 16.6.4 By setting an M code number used to call a macro program in a parameter, Macro Call Using the macro program can be called in the same way as with a simple call (G65). an M Code O0001 ; O9020 ; : : M50 A1.0 B2.0 ; : : : M30 ; M99 ; Parameter 6080 = 50
  • Page 32416. CUSTOM MACRO PROGRAMMING B–62754EN/01 16.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 325B–62754EN/01 PROGRAMMING 16. CUSTOM MACRO 16.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 ; : : T0203 ; : : : M30 ; M99 ;
  • Page 32616. CUSTOM MACRO PROGRAMMING B–62754EN/01 16.6.7 By using the subprogram call function that uses M codes, the cumulative Sample Program usage time of each tool is measured. Conditions D The cumulative usage time of each of tool numbers 1 to 5 is measured. The time is not measured for tools whose num
  • Page 327B–62754EN/01 PROGRAMMING 16. CUSTOM MACRO Macro program O9001(M03); . . . . . . . . . . . . . . . . . . . . . . . . . . Macro to start counting (program called) M01; IF[FIX[#4120/100] EQ 0]GOTO 9; . . . . . . . . . . . . . No tool specified IF[FIX[#4120/100] GT 5]GOTO 9; . . . . . . Out–of–range too
  • Page 32816. CUSTOM MACRO PROGRAMMING B–62754EN/01 16.7 For smooth machining, the CNC prereads the CNC statement to be performed next. This operation is referred to as buffering. In tool nose PROCESSING radius compensation mode (G41, G42), the NC prereads NC statements MACRO two or three blocks ahead to find
  • Page 329B–62754EN/01 PROGRAMMING 16. CUSTOM MACRO D Buffering the next block in tool nose radius > N1 G01 G41 G91 Z100.0 F100 T0101 ; compensation mode (G41, G42) N2 #1=100 ; N3 X100.0 ; > : Block being executed N4 #2=200 ; V : Blocks read into the buffer N5 Z50.0 ; : N1 N3 NC statement execution N2 N4 Macr
  • Page 33016. CUSTOM MACRO PROGRAMMING B–62754EN/01 16.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 331B–62754EN/01 PROGRAMMING 16. CUSTOM MACRO 16.9 LIMITATIONS D MDI operation The macro call command can be specified in MDI mode too. 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 fo
  • Page 33216. CUSTOM MACRO PROGRAMMING B–62754EN/01 16.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 333B–62754EN/01 PROGRAMMING 16. CUSTOM MACRO Example ) BPRINT [ C** X#100 [3] Z#101 [3] M#10 [0] ] Variable value #100=0.40956 #101=–1638.4 #10=12.34 LF 12 (0000000C) M –1638400(FFE70000) Z 406(00000196) X Space C D Data output command DPRNT DPRNT [ a #b [cd] …] Number of significant decimal places Num
  • Page 33416. CUSTOM MACRO PROGRAMMING B–62754EN/01 Example ) DPRNT [ X#2 [53] Z#5 [53] T#30 [20] ] Variable value #2=128.47398 #5=–91.2 #30=123.456 (1) Parameter PRT(No.6001#1)=0 sp LF T sp 23 Z – sp sp sp 91.200 X sp sp sp 128.474 (2) Parameter PRT(No.6001#1)=1 LF T23 Z–91.200 X128.474 D Close command PCLOS
  • Page 335B–62754EN/01 PROGRAMMING 16. 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 33616. CUSTOM MACRO PROGRAMMING B–62754EN/01 16.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 337B–62754EN/01 PROGRAMMING 16. CUSTOM MACRO 16.11.1 Specification Method    D Interrupt conditions A custom macro interrupt is available only during program execution. It is enabled under the following conditions – When memory operation or MDI operation is selected – When STL (start lamp) is
  • Page 33816. CUSTOM MACRO PROGRAMMING B–62754EN/01 16.11.2 Details of Functions    D ubprogram–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 parameter
  • Page 339B–62754EN/01 PROGRAMMING 16. CUSTOM MACRO S Type I (i) When the interrupt signal (UINT) is input, any movement or dwell (when an interrupt is being performed is stopped immediately and the interrupt program is performed even in the executed. middle of the block) (ii) If there are NC statements in th
  • Page 34016. CUSTOM MACRO PROGRAMMING B–62754EN/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 341B–62754EN/01 PROGRAMMING 16. 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 34216. CUSTOM MACRO PROGRAMMING B–62754EN/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 343B–62754EN/01 PROGRAMMING 16. CUSTOM MACRO D Custom macro interrupt A custom macro interrupt is different from a normal program call. It is and modal information initiated by an interrupt signal (UINT) during program execution. In general, any modifications of modal information made by the interrupt
  • Page 34416. CUSTOM MACRO PROGRAMMING B–62754EN/01 D System variables D The coordinates of point A can be read using system variables #5001 (position information and up until the first NC statement is encountered. values) for the interrupt program D The coordinates of point A’ can be read after an NC stateme
  • Page 34517. PROGRAMMABLE PARAMETER B–62754EN/01 PROGRAMMING ENTRY (G10) 17 PROGRAMMABLE PARAMETER ENTRY (G10) General The values of parameters can be entered in a program. This function is used for setting pitch error compensation data when attachments are changed or the maximum cutting feedrate or cutting
  • Page 34617. PROGRAMMABLE PARAMETER ENTRY (G10) PROGRAMMING B–62754EN/01 Format Format G10L50; Parameter entry mode setting N_R_; For parameters other than the axis type N_P_R_; For axis type parameters G11; Parameter entry mode cancel Meaning of command N_: Parameter No. (4digits) or compensation position N
  • Page 34717. PROGRAMMABLE PARAMETER B–62754EN/01 PROGRAMMING ENTRY (G10) Examples 1. Set bit 2 (SPB) 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 and C–axis in axis type parameter No.1322 (the
  • Page 34818. MEMORY OPERATION BY FS15 TAPE FORMAT PROGRAMMING B–62754EN/01 18 MEMORY OPERATION BY FS15 TAPE FORMAT Programs in the FS15 tape format can be registered in memory for memory operation by setting bit 1 of parameter No. 0001. Registration to memory and memory operation are possible for the functio
  • Page 34918. MEMORY OPERATION BY B–62754EN/01 PROGRAMMING FS15 TAPE FORMAT 18.1 Some addresses which cannot be used for the this CNC can be used in the Series 15 tape format. The specifiable value range for the Series 15 tape ADDRESSES AND format is basically the same as that for the this CNC. Sections II–18
  • Page 35018. MEMORY OPERATION BY FS15 TAPE FORMAT PROGRAMMING B–62754EN/01 18.2 EQUAL–LEAD THREADING Format G32_F_Q_; or G32_E_Q_; :Combination of axis addresses F :Lead along the longitudinal axis E :Lead along the longitudinal axis Q :Sight of the threading start angle (ignored if specified) Explanat
  • Page 35118. MEMORY OPERATION BY B–62754EN/01 PROGRAMMING FS15 TAPE FORMAT 18.3 SUBPROGRAM CALLING Format M98PffffLffff; P:Subprogram number L:Repetition count Explanation D Address Address L cannot be used in this CNC tape format but can be used in the Series 15 tape format. D Subprogram number The specifia
  • Page 35218. MEMORY OPERATION BY FS15 TAPE FORMAT PROGRAMMING B–62754EN/01 18.4 CANNED CYCLE Format Outer / inner surface turning cycle (straight cutting cycle) G90X_Z_F_; Outer / inner surface turning cycle (taper cutting cycle) G90X_Z_I_F_; I:Length of the taper section along the X–axis (radius) Threading
  • Page 35318. MEMORY OPERATION BY B–62754EN/01 PROGRAMMING FS15 TAPE FORMAT 18.5 MULTIPLE REPETITIVE CANNED TURNING CYCLE Format Outer / inner surface turning cycle G71P_Q_U_W_I_K_D_F_S_T_; I : Length and direction of cutting allowance for finishing the rough machining cycle along the X–axis (ignored if speci
  • Page 35418. MEMORY OPERATION BY FS15 TAPE FORMAT PROGRAMMING B–62754EN/01 D Addresses and If the following addresses are specified in the Series 15 tape format, they specifiable value range are ignored. D I and K for the outer/inner surface rough machining cycle (G71) D I and K for the end surface rough mac
  • Page 35518. MEMORY OPERATION BY B–62754EN/01 PROGRAMMING FS15 TAPE FORMAT 18.6 CANNED DRILLING CYCLE FORMATS Format Drilling cycle G81X_C_Z_F_L_ ; or G82X_C_Z_R_F_L_ ; R: Distance from the initial level to the R position P: Dwell time at the bottom of the hole F: Cutting feedrate L: Number of repetitions Pe
  • Page 35618. MEMORY OPERATION BY FS15 TAPE FORMAT PROGRAMMING B–62754EN/01 D G code Some G codes are valid only for this CNC tape format or FS15 tape format. Specifying an invalid G code results in P/S alarm No. 10 being generated. G codes valid only for the FS15 tape format G81, G82, G83.1, G84.2 G codes va
  • Page 35718. MEMORY OPERATION BY B–62754EN/01 PROGRAMMING FS15 TAPE FORMAT D Specifying the R position The R position is specified as an incremental value for the distance between the initial level to the R position. For the FS15 tape format, the parameter and the G code system used determine whether an incr
  • Page 35818. MEMORY OPERATION BY FS15 TAPE FORMAT PROGRAMMING B–62754EN/01 D Dwell with G83 and For Series 15–T, G83 or G83.1 does not cause the tool to dwell. For the G83.1 FS15 tape format, the tool dwells at the bottom of the hole only if the block contains a P address. D Dwelling with G84 and In Series 1
  • Page 35919. FUNCTIONS FOR HIGH SPEED B–62754EN/01 PROGRAMMING CUTTING 19 FUNCTIONS FOR HIGH SPEED CUTTING 339
  • Page 36019. FUNCTIONS FOR HIGH SPEED CUTTING PROGRAMMING B–62754EN/01 19.1 This function can convert the machining profile to a data group that can be distributed as pulses at high–speed by the macro compiler and macro HIGH SPEED CYCLE executor. The function can also call and execute the data group as a CUT
  • Page 36119. FUNCTIONS FOR HIGH SPEED B–62754EN/01 PROGRAMMING CUTTING Alarms Alarm Descriptions number 115 The contents of the header are invalid. This alarm is issued in the following cases. 1. The header corresponding to the number of the specified call machining cycle was not found. 2. A cycle connection
  • Page 36219. FUNCTIONS FOR HIGH SPEED CUTTING PROGRAMMING B–62754EN/01 19.2 During high–speed machining, the distribution processing status is monitored. When distribution processing terminates, P/S alarm No. 000 DISTRIBUTION and P/S alarm No. 179 are issued upon completion of the high–speed PROCESSING machi
  • Page 363B–62754EN/01 PROGRAMMING 20. AXIS CONTROL FUNCTION 20 AXIS CONTROL FUNCTION 343
  • Page 36420. AXIS CONTROL FUNCTION PROGRAMMING B–62754EN/01 20.1 Polygonal turning means machining a polygonal figure by rotating the workpiece and tool at a certain ratio. POLYGONAL TURNING Workpiece Workpiece Tool Fig.20.1 (a)Polygonal turning By changing conditions which are rotation ratio of workpiece an
  • Page 365B–62754EN/01 PROGRAMMING 20. AXIS CONTROL FUNCTION Explanations Tool rotation for polygonal turning is controlled by CNC controlled axis. This rotary axis of tool is called Y axis in the following description. The Y axis is controlled by G51.2 command, so that the rotation speeds of the workpiece mo
  • Page 36620. AXIS CONTROL FUNCTION PROGRAMMING B–62754EN/01 D Principle of Polygonal The principle of polygonal turning is explained below. In the figure below Turning the radius of tool and workpiece are A and B, and the angular speeds of tool and workpiece are aand b. The origin of XY cartesian coordinates
  • Page 367B–62754EN/01 PROGRAMMING 20. AXIS CONTROL FUNCTION ÇÇÇÇÇÇÇÇ ÇÇÇÇÇÇÇÇ ÇÇÇÇÇÇÇÇ ÇÇÇÇÇÇÇÇ ÇÇÇÇÇÇÇÇ ÇÇÇÇÇÇÇÇ ÇÇÇÇÇÇÇÇ ÇÇÇÇÇÇÇÇ If three tools are set at every 120°, the machining figure will be a hexagon as shown below. ÇÇÇÇÇÇÇÇÇ ÇÇÇÇÇÇÇÇÇ ÇÇÇÇÇÇÇÇÇ ÇÇÇÇÇÇÇÇÇ ÇÇÇÇÇÇÇÇÇ ÇÇÇÇÇÇÇÇÇ ÇÇÇÇÇÇÇÇÇ ÇÇÇÇÇÇÇÇÇ ÇÇÇÇ
  • Page 36820. AXIS CONTROL FUNCTION PROGRAMMING B–62754EN/01 WARNING 1 For the maximum rotation speed of tool, refer to the manual published by the MTB. Do not specify a spindle speed or ratio to spindle speed exceeding the maximum rotation speed of the tool. 2 The following signals become either valid or inv
  • Page 369B–62754EN/01 PROGRAMMING 20. AXIS CONTROL FUNCTION 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 1008 to 1. ROLL–OVER Explanations For an incremental command, the tool moves the ang
  • Page 37020. AXIS CONTROL FUNCTION PROGRAMMING B–62754EN/01 20.3 The simple synchronization control function allows synchronous and normal operations on two specified axes to be switched, according to an SIMPLE input signal from the machine. SYNCHRONIZATION For a machine with two tool posts that can be indep
  • Page 371B–62754EN/01 PROGRAMMING 20. AXIS CONTROL FUNCTION 2 According to the Yyyyy command programmed for the slave axis, movement is performed along the Y–axis, as in normal mode. 3 According to the Xxxxx Yyyyy command, simultaneous movements are performed along both the X–axis and Y–axis, as in normal mo
  • Page 37220. AXIS CONTROL FUNCTION PROGRAMMING B–62754EN/01 20.4 The synchronization control function enables the synchronization of movements on two axes. If a move command is programmed for one of SYNCHRONIZATION those two axes (master axis), the function automatically issues the same CONTROL command to th
  • Page 373B–62754EN/01 PROGRAMMING 20. AXIS CONTROL FUNCTION 20.5 This function sets an axis (B–axis) independent of the basic controlled axes X1, Z1, X2, and Z2 and allows drilling, boring, or other machining B–AXIS CONTROL along the B–axis, in parallel with the operations for the basic controlled (G100, G10
  • Page 37420. AXIS CONTROL FUNCTION PROGRAMMING B–62754EN/01 D Command used to start the operation To start an operation, the miscellaneous functions (M**) specified in parameters 8251 to 8253 are used. Parameter 8251: M code used to start operation of the first program Parameter 8252: M code used to start op
  • Page 375B–62754EN/01 PROGRAMMING 20. AXIS CONTROL FUNCTION Explanations D Specifying two–path One of the following three two–path control modes can be selected: control mode 1 B–axis control is executed for either tool post 1 or 2. 2 B–axis control is executed separately for tool posts 1 and 2. 3 Identical
  • Page 37620. AXIS CONTROL FUNCTION PROGRAMMING B–62754EN/01 3. All operations are executed in the initial level return mode. 4. The repetition count (K) cannot be specified. 5. In canned cycle mode, point R must be specified. (If point R is omitted, P/S alarm No. 5036 is output.) 6. The drilling start point
  • Page 377B–62754EN/01 PROGRAMMING 20. AXIS CONTROL FUNCTION (Normal NC operation) (Registered B–axis operation) : : M11 ; G00 B111 ; G01 X999 : G01 B222 ; G28 Z777 ; G28 ; M50 ; M50 ; G00 X666 ; G81 B444 R111 F222 ; : : Upon receiving M50 of both the normal NC program and the B–axis program, the PMC ladder o
  • Page 37820. AXIS CONTROL FUNCTION PROGRAMMING B–62754EN/01 D Operation start The MST bit (bit 7 of parameter 8240) specifies the method used to start command the B–axis operation as described below: If the MST bit is set to 1, the B–axis operation is started when the M code to start the operation is execute
  • Page 379B–62754EN/01 PROGRAMMING 20. AXIS CONTROL FUNCTION D Specifying a tool offset The T**; command shifts the end point of the specified B–axis travel, in either the positive or negative direction, by the amount specified with the B–axis offset screen. If this function is used to set the difference betw
  • Page 38020. AXIS CONTROL FUNCTION PROGRAMMING B–62754EN/01 D PMC–controlled axis A B–axis operation can be executed only when the B–axis can be controlled by the PMC. For details, refer to the manual supplied by the machine tool builder. Limitations D Single–motion operation 1. Only a single–motion operatio
  • Page 381B–62754EN/01 PROGRAMMING 20. AXIS CONTROL FUNCTION Examples D Absolute or incremental mode Absolute or incremental mode 0 100 200 300 400 500 600 (1) (200) (2) (350) (450) ⋅ Dwell (200) (3) (350) (550) ⋅ Dwell (200) (100) ( Rapid traverse Cutting feed ⋅Dwell (***) Absolute value ) Incremental mode A
  • Page 38220. AXIS CONTROL FUNCTION PROGRAMMING B–62754EN/01 D Tool offset Example) When parameter 8257 is set to 50 Auxiliary function used to cancel the offset: T50 Auxiliary functions used to adjust a tool offset: T51 to T59 -10 0 10 20 30 40 50 (350) (Absolute mode) (1) (10) (20) (2) (3) (30) (4) (25) (5)
  • Page 383B–62754EN/01 PROGRAMMING 20. AXIS CONTROL FUNCTION 20.6 When the angular axis makes an angle other than 90° with the perpendicular axis, the angular axis control function controls the distance ANGULAR AXIS traveled along each axis according to the inclination angle. For the CONTROL / ordinary angula
  • Page 38420. AXIS CONTROL FUNCTION PROGRAMMING B–62754EN/01 D Absolute and relative An absolute and a relative position are indicated in the programmed position display Cartesian coordinate system. Machine position display D Machine position display A machine position indication is provided in the machine co
  • Page 385B–62754EN/01 PROGRAMMING 20. AXIS CONTROL FUNCTION 20.7 To replace the tool damaged during machining or to check the status of machining, the tool can be withdrawn from a workpiece. The tool can TOOL WITHDRAWAL then be advanced again to restart machining efficiently. AND RETURN (G10.6) The tool with
  • Page 38620. AXIS CONTROL FUNCTION PROGRAMMING B–62754EN/01 Explanations D Retraction When the TOOL WITHDRAW switch on the machine operator’s panel is turned on during automatic operation or in the automatic operation stop or hold state, the tool is retracted the length of the programmed retraction distance.
  • Page 387B–62754EN/01 PROGRAMMING 20. AXIS CONTROL FUNCTION Limitations D offset If the origin, presetting, or workpiece offset is changed after retraction is specified with G10.6 in absolute mode, the change is not reflected in the retraction position. After such changes are made, the retraction position mu
  • Page 38821. TWO–PATH CONTROL FUNCTION PROGRAMMING B–62754EN/01 21 TWO-PATH CONTROL FUNCTION 368
  • Page 38921. TWO–PATH CONTROL B–62754EN/01 PROGRAMMING FUNCTION 21.1 Two–path control can be used with a lathe that supports simultaneous cutting by its two independently operating tool posts. GENERAL D Application to latheswith Series 16–TB (two–path control) can be used for a lathe that machines one one sp
  • Page 39021. TWO–PATH CONTROL FUNCTION PROGRAMMING B–62754EN/01 D Controlling two tool The operations of two tool posts are programmed independently of each posts independently at other, and each program is stored in program memory for each tool post. the same time When automatic operation is to be performed
  • Page 39121. TWO–PATH CONTROL B–62754EN/01 PROGRAMMING FUNCTION 21.2 WAITING FOR TOOL POSTS Explanations Control based on M codes is used to cause one tool post to wait for the other during machining. By specifying an M code in a machining program for each tool post, the two tool posts can wait for each othe
  • Page 39221. TWO–PATH CONTROL FUNCTION PROGRAMMING B–62754EN/01 NOTE 1 An M code for waiting must always be specified in a single block. 2 If one tool post is waiting because of an M code for waiting specified, and a different M code for waiting is specified with the other tool post, an P/S alarm (No. 160) i
  • Page 39321. TWO–PATH CONTROL B–62754EN/01 PROGRAMMING FUNCTION 21.3 TOOL POST INTERFACE CHECK 21.3.1 When two tool posts machine the same workpiece simultaneously, the General tool posts can approach each other very closely. If the two tool posts interfere with each other due to a program error or any other
  • Page 39421. TWO–PATH CONTROL FUNCTION PROGRAMMING B–62754EN/01 Tool post 2 +X ζ ε +Z Tool post 1 In the ZX plane coordinate system at the origin of which the reference point of tool post 1 is set, set the X coordinate (ε) of the reference point of tool post 2 in parameter No. 8151, and its Z coordinate (ζ)
  • Page 39521. TWO–PATH CONTROL B–62754EN/01 PROGRAMMING FUNCTION D Set the relationship between the coordinate #7 #6 #5 #4 #3 #2 #1 #0 systems of the two tool 8140 TY1 TY0 posts in parameter TY0, TY1:Set the relationship between the coordinate systems of the No.8140 two tool posts, with tool post 1 used as th
  • Page 39621. TWO–PATH CONTROL FUNCTION PROGRAMMING B–62754EN/01 D Setting of interference An interference forbidden area is set using a combination of two forbidden area rectangular areas. Some examples are shown below. The dashed lines indicate interference forbidden areas. (Example 1) Area 1 Area 1 Area 2
  • Page 39721. TWO–PATH CONTROL B–62754EN/01 PROGRAMMING FUNCTION 21.3.3 Setting and Display of Interference Forbidden Areas for Tool Post Interference Checking Explanations Display and set tool shape data (interference forbidden areas) according to the procedure below. (1) Press function OFFSET SETTING key. (
  • Page 39821. TWO–PATH CONTROL FUNCTION PROGRAMMING B–62754EN/01 NOTE Tool number The tool geometry data must be set for each tool number. The tool number here refers to the offset number. When both tool geometry offset and tool wear offset are used, the tool number corresponds to the wear offset number. To u
  • Page 39921. TWO–PATH CONTROL B–62754EN/01 PROGRAMMING FUNCTION 21.3.5 when all conditions described in Section 21.3.4 are satisfied, a tool post Execution of Tool Post interference check is started. When a tool post interference check is made, an interference forbidden area is set for the two tool posts by
  • Page 40021. TWO–PATH CONTROL FUNCTION PROGRAMMING B–62754EN/01 WARNING When an alarm is raised, the CNC system and machine system stop with some delay in time. So an actual stop position can be closer to the other tool post beyond an interference forbidden position specified using tool shape data. So, for s
  • Page 40121. TWO–PATH CONTROL B–62754EN/01 PROGRAMMING FUNCTION 21.3.6 Example of Making a Tool Post Interference Check Explanations Metric input with metric machine tool 215mm Tool post 1 +X 115mm 170mm 115mm Coordinate T1515 system of tool 75mm post 1 115mm 0 +Z 0 +Z 200mm 400mm 140mm 100mm Coordinate syst
  • Page 40221. TWO–PATH CONTROL FUNCTION PROGRAMMING B–62754EN/01 The figures below show the setting of data for tool number 02 assigned to tool post 1 and for tool number 15 assigned to tool post 2. TOOL FORM DATA O0001 N00001 OFFSET NO. = 01 AREA 1 AREA 2 X= 20.000 X= 40.000 Z= 70.000 Z= 70.000 I= –10.000 I=
  • Page 40321. TWO–PATH CONTROL B–62754EN/01 PROGRAMMING FUNCTION 21.4 When a thin workpiece is to be machined as shown below, a precision machining can be achieved by machining each side of the workpiece with BALANCE CUT a tool simultaneously;this function can prevent the workpiece from (G68, G69) warpage tha
  • Page 40421. TWO–PATH CONTROL FUNCTION PROGRAMMING B–62754EN/01 Example Tool post 1 program Tool post 2 program G68 ; G68 ; Balance cut mode G01Z100.0 ; G01Z100.0 ; Balance cut Z0 ; Z0 ; Balance cut G69 ; G69 ; Balance cut mode cancel CAUTION 1 Balance cutting is not performed in dry run or machine lock stat
  • Page 40521. TWO–PATH CONTROL B–62754EN/01 PROGRAMMING FUNCTION 21.5 A machine with two tool posts has different custom macro common variables and tool compensation memory areas for tool posts 1 and 2. MEMORY COMMON Tool posts 1 and 2 can share the custom macro common variables and tool TO TOOL POSTS compens
  • Page 40621. TWO–PATH CONTROL FUNCTION PROGRAMMING B–62754EN/01 21.6 The two–path control function supports two spindle interfaces. Thus, 16–TB can control a lathe that simultaneously machines a workpiece SPINDLE CONTROL attached to one spindle with two tool posts, or can control a lathe that IN TWO–PATH sim
  • Page 40721. TWO–PATH CONTROL B–62754EN/01 PROGRAMMING FUNCTION NOTE 1 The programmed commands for spindles include the following. ⋅ S code to specify a spindle speed ⋅ M03 (forward spindle rotation), M04 (reverse spindle rotation) ⋅ Commands for constant surface speed control (G96, G97, S code to specify su
  • Page 40821. TWO–PATH CONTROL FUNCTION PROGRAMMING B–62754EN/01 21.7 In 2–paths control, the synchronization control function and composite control function enable synchronization control in a single system or SYNCHRONIZATION between two systems, composite control of two systems, and CONTROL AND superpositio
  • Page 40921. TWO–PATH CONTROL B–62754EN/01 PROGRAMMING FUNCTION D Composite control Exchanges the move commands for different axes of different systems. Example) Exchanging the commands for the X1 and X2 axes –> Upon the execution of a command programmed for system 1, movement is performed along the X2 and Z
  • Page 41021. TWO–PATH CONTROL FUNCTION PROGRAMMING B–62754EN/01 NOTE The method used to specify synchronization or composite control varies with the machine tool builder. For details, refer to the manual supplied by the machine tool builder. 390
  • Page 41122. PATTERN DATA INPUT B–62754EN/01 PROGRAMMING FUNCTION 22 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 CRT/MDI panel. This eliminates the need for programm
  • Page 41222. PATTERN DATA INPUT FUNCTION PROGRAMMING B–62754EN/01 22.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 41322. PATTERN DATA INPUT B–62754EN/01 PROGRAMMING FUNCTION 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 41422. PATTERN DATA INPUT FUNCTION PROGRAMMING B–62754EN/01 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 41522. PATTERN DATA INPUT B–62754EN/01 PROGRAMMING FUNCTION  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 41622. PATTERN DATA INPUT FUNCTION PROGRAMMING B–62754EN/01 22.2 When a pattern menu is selected, the necessary pattern data is displayed. PATTERN DATA VAR. : BOLT HOLE O0001 N00000 DISPLAY 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 41722. PATTERN DATA INPUT B–62754EN/01 PROGRAMMING FUNCTION D 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 Pn Qq Rr Ii Jj Kk ; H92 : Specifie
  • Page 41822. PATTERN DATA INPUT FUNCTION PROGRAMMING B–62754EN/01 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 Pn Qq Rr Ii Jj Kk ; H94 : Specifies the comment p
  • Page 41922. PATTERN DATA INPUT B–62754EN/01 PROGRAMMING FUNCTION 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 42022. PATTERN DATA INPUT FUNCTION PROGRAMMING B–62754EN/01 22.3 CHARACTERS AND CODES TO BE USED FOR THE PATTERN DATA INPUT Table.22.3(a) Characters and codes to be used for the pattern FUNCTION data input function Cha Cha rac- Code Comment rac- Code Comment ter ter A 065 6 054 B 066 7 055 C 067 8 056
  • Page 42122. PATTERN DATA INPUT B–62754EN/01 PROGRAMMING FUNCTION Table 22.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 corresponding
  • Page 422III. OPERATIO
  • Page 423B–62754EN/01 OPERATION 1. GENERAL 1 GENERAL 405
  • Page 4241. GENERAL OPERATION B–62754EN/01 1.1 MANUAL OPERATION Explanations D Manual reference The CNC machine tool has a position used to determine the machine position return (See position. Section III–3.1) This position is called the reference position, where the tool is replaced or the coordinate are se
  • Page 425B–62754EN/01 OPERATION 1. GENERAL D The tool movement by Using machine operator’s panel switches, push buttons, 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 4261. GENERAL OPERATION B–62754EN/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 OPERATION 01000 ; M_S_T ; G92_X_ ; Tool G00... ; G01...... ; . . . .
  • Page 427B–62754EN/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 4281. GENERAL OPERATION B–62754EN/01 D Handle interruption (See While automatic operation is being executed, tool movement can overlap Section III–4.6) automatic operation by rotating the manual handle. Grinding wheel (tool) Workpiece Depth of cut by manual feed Depth of cut specified by a program Fig.
  • Page 429B–62754EN/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 4301. GENERAL OPERATION B–62754EN/01 D Single block (See When the cycle start push button is pressed, the tool executes one Section III–5.5) operation then stops. By pressing the cycle start again, the tool executes the next operation then stops. The program is checked in this manner. Cycle start Cycle
  • Page 431B–62754EN/01 OPERATION 1. GENERAL 1.5 After a created program is once registered in memory, it can be corrected or modified from the CRT/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 cor
  • Page 4321. GENERAL OPERATION B–62754EN/01 1.6 The operator can display or change a value stored in CNC internal memory by key operation on the CRT/MDI screen (See III–11). DISPLAYING AND SETTING DATA Data setting Data display Screen Keys CRT/MDI CNC memory Fig.1.6 (a) Displaying and Setting Data Explanation
  • Page 433B–62754EN/01 OPERATION 1. GENERAL Offset value of the tool Offset value of the tool Tool Workpiece 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 causes machine characteristics to chan
  • Page 4341. GENERAL OPERATION B–62754EN/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: ⋅Rapid traverse rate of each axis ⋅Whether increment system is based on metric system o
  • Page 435B–62754EN/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 O1100 N00005 N1 G
  • Page 4361. GENERAL OPERATION B–62754EN/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 to 11.1.3) Display X z x Z Workpiece coordinate system ACTUAL
  • Page 437B–62754EN/01 OPERATION 1. GENERAL 1.7.4 When this option is selected, two types of run time and number of parts Parts Count Display, are displayed on the screen.(See Section lll–11.4.9) Run Time Display ACTUAL POSITION(ABSOLUTE) O1000 N00010 X 123.456 Z 456.789 PART COUNT 5 RUN TIME 0H15M CYCLE TIME
  • Page 4381. GENERAL OPERATION B–62754EN/01 1.7.5 The graphic can be used to draw a tool path for automatic operation and Graphic Display (See manual operation, thereby indicating the progress of cutting and the position of the tool. (See Section III–12) Section III–12) X O0001 N00021 X 200.000 Z 200.000 Z ME
  • Page 439B–62754EN/01 OPERATION 1. GENERAL 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 OUTPUT output to a medium, the data can be input into CNC memory. Portable tape reader FANUC PPR Memory Paper tape P
  • Page 4402. OPERATIONAL DEVICES OPERATION B–62754EN/01 2 OPERATIONAL DEVICES The peripheral devices available include the CRT/MDI panel (or LCD/MDI panel) attached to the CNC, machine operator’s panel and external input/output devices such as tape reader, PPR, floppy cassette, and FA card. Display devices in
  • Page 441B–62754EN/01 OPERATION 2. OPERATIONAL DEVICES 2.1 The following Setting and Display units are avairable. SETTING AND 2.1.1 9″ Monochrome CRT/MDI (Small Type) DISPLAY UNIT 2.1.2 9″ Monochrome CRT/MDI (Standard Type) 2.1.3 9″ Monochrome PDP/MDI (Standard Type) 2.1.4 8.4″ Color LCD/MDI (Small Type, She
  • Page 4422. OPERATIONAL DEVICES OPERATION B–62754EN/01 2.1.1 9″ Monochrome CRT/MDI (Small Type) (10) FUNCTION KEYS (5) ADDRESS/NUMERIC KEYS (6) SHIFT KEY (8) CANCEL KEY (7) INPUT KEY (9) EDIT KEYS (3) HELP KEY (2) RESET KEY (11) CURSOR KEYS (4) SOFT KEYS (12) PAGE–UP/DOWN KEYS 2.1.2 9″ Monochrome CRT/MDI (St
  • Page 443B–62754EN/01 OPERATION 2. OPERATIONAL DEVICES 2.1.3 9″ Monochrome PDP/MDI (Standard Type) (2) RESET KEY (3) HELP KEY (5) ADDRESS/NUMERIC KEYS (9) EDIT KEYS (8) CANCEL KEY (7) INPUT KEY (1) POWER ON/OFF BUTTONS (4) SOFT KEYS (10) FUNCTION KEYS (12) PAGE– (6) SHIFT KEY UP/DOWN (11) CURSOR KEYS KEYS 42
  • Page 4442. OPERATIONAL DEVICES OPERATION B–62754EN/01 2.1.4 8.4″ Color LCD/MDI (Small Type, Sheet Key) (10) FUNCTION KEYS (5) ADDRESS/NUMERIC KEYS (6) SHIFT KEY (8) CANCEL KEY (7) INPUT KEY (9) EDIT KEYS (3) HELP KEY (2) RESET KEY (12) PAGE– (4) SOFT KEYS UP/DOWN KEYS (11) CURSOR KEYS 426
  • Page 445B–62754EN/01 OPERATION 2. OPERATIONAL DEVICES 2.1.5 8.4″ Color LCD/MDI (Standard Type, Sheet Key) (2) RESET KEY (3) HELP KEY (5) ADDRESS/NUMERIC KEYS (9) EDIT KEYS (8) CANCEL KEY (7) INPUT KEY (10) FUNCTION KEYS (4) SOFT KEYS (11) CURSOR KEYS (1) POWER ON/OFF BUTTONS (6) SHIFT KEY (12) PAGE–UP/DOWN
  • Page 4462. OPERATIONAL DEVICES OPERATION B–62754EN/01 2.1.7 9.5″ Color LCD/MDI (Vertical Type) (1) POWER ON/OFF BUTTONS (10) FUNCTION KEYS (4) SOFT KEYS (2) RESET KEY (9) EDIT KEYS (3) HELP KEY (6) SHIFT KEY (5) ADDRESS/NUMERIC KEYS (11) CURSOR KEYS (12) PAGE–UP/DOWN KEYS (8) CANCEL KEY (7) INPUT KEY 428
  • Page 447B–62754EN/01 OPERATION 2. OPERATIONAL DEVICES 2.1.8 14″ Color CRT/MDI (Horizontal Type) (5) ADDRESS/NUMERIC KEYS (2) RESET KEY (3) HELP KEY (6) SHIFT KEY (9) EDIT KEYS (7) INPUT KEY (8) CANCEL KEY (10) FUNCTION KEYS (11) CURSOR KEYS (1) POWER ON/OFF BUTTONS (4) SOFT KEYS (12) PAGE–UP/DOWN KEYS 429
  • Page 4482. OPERATIONAL DEVICES OPERATION B–62754EN/01 2.1.9 14″ Color CRT/MDI (Vertical Type) (9) EDIT KEYS (4) SOFT KEYS (2) RESET KEY (10) FUNCTION KEYS (3) HELP KEY (11) CURSOR KEYS (6) SHIFT KEY (12) PAGE–UP/DOWN KEYS (1) POWER ON/OFF BUTTONS (7) INPUT KEY (5) ADDRESS/NUMERIC KEYS (8) CANCEL KEY 430
  • Page 449B–62754EN/01 OPERATION 2. OPERATIONAL DEVICES 2.1.10 9″ Monochrome CRT (Separate Type) (4) SOFT KEYS 2.1.11 9″ Monochrome PDP (Separate Type) (4) SOFT KEYS 431
  • Page 4502. OPERATIONAL DEVICES OPERATION B–62754EN/01 2.1.12 7.2″ Monochrome LCD (Separate type) (4) SOFT KEYS 2.1.13 8.4″ Color LCD (Separate type) (4) SOFT KEYS 432
  • Page 451B–62754EN/01 OPERATION 2. OPERATIONAL DEVICES 2.1.14 9.5″ Color LCD (Separate Type) (4) SOFT KEYS 433
  • Page 4522. OPERATIONAL DEVICES OPERATION B–62754EN/01 2.1.15 Separate Type MDI (Small Key) for 9″CRT/PDP, 8.4″/7.2″LCD (5) ADDRESS/NUMERIC KEYS (6) SHIFT KEY (8) CANCEL KEY (7) INPUT KEY (9) EDIT KEYS (10) FUNCTION KEYS (3) HELP KEY (2) RESET KEY (11) CURSOR KEYS (12) PAGE–UP/DOWN KEYS 434
  • Page 453B–62754EN/01 OPERATION 2. OPERATIONAL DEVICES 2.1.16 Separate Type MDI (Standard Key) for 9″CRT/PDP, 8.4″/7.2″LCD (3) HELP KEY (2) RESET KEY (5) ADDRESS/NUMERIC KEYS (9) EDIT KEYS (8) CANCEL KEY (7) INPUT KEY (6) SHIFT KEY (11) CURSOR KEYS (12) (10) FUNCTION KEYS PAGE–UP/DOWN KEYS 435
  • Page 4542. OPERATIONAL DEVICES OPERATION B–62754EN/01 2.1.17 Separate Type MDI (Vertical Type) for 9.5″LCD (3) HELP KEY (2) RESET KEY (5) ADDRESS/NUMERIC KEYS (9) EDIT KEYS (8) CANCEL KEY (7) INPUT KEY (6) SHIFT KEY (11) CURSOR KEYS (10) FUNCTION KEYS (12) PAGE–UP/DOWN KEYS 436
  • Page 455B–62754EN/01 OPERATION 2. OPERATIONAL DEVICES 2.1.18 Separate Type MDI (Horizontal Type) for 9.5″LCD (5) ADDRESS/NUMERIC KEYS (2) RESET KEY (3) HELP KEY (9) EDIT KEYS (8) CANCEL KEY (7) INPUT KEY (6) SHIFT KEY (12) PAGE–UP/DOWN KEYS (10) FUNCTION KEYS (11) CURSOR KEYS 437
  • Page 4562. OPERATIONAL DEVICES OPERATION B–62754EN/01 2.2 EXPLANATION OF THE KEYBOARD Table2.2 Explanation of the MDI keyboard Number Name Explanation 1 Power ON and OFF Press theses buttons to turn CNC power ON and OFF. buttons f OFF | ON 2 RESET key Press this key to reset the CNC, to cancel an alarm, etc
  • Page 457B–62754EN/01 OPERATION 2. OPERATIONAL DEVICES Table2.2 Explanation of the MDI keyboard Number Name Explanation 10 Function keys Press theses keys to switch display screens for each function. See sec. 2.3 for details of the function keys. POS PROG … 11 Cursor move keys There are four different cursor
  • Page 4582. OPERATIONAL DEVICES OPERATION B–62754EN/01 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 459B–62754EN/01 OPERATION 2. OPERATIONAL DEVICES 2.3.2 Function keys are provided to select the type of screen to be displayed.     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. OF
  • Page 4602. OPERATIONAL DEVICES OPERATION B–62754EN/01 2.3.3 To display a more detailed screen, press a function key followed by a soft    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 461B–62754EN/01 OPERATION 2. OPERATIONAL DEVICES POSITION SCREEN Soft key transition triggered by the function key POS POS Absolute coordinate display [ABS] [(OPRT)] [PTSPRE] [EXEC] [RUNPRE] [EXEC] Relative coordinate display [REL] [(OPRT)] (Axis or numeral) [PRESET] [ORIGIN] [ALLEXE] (Axis name) [EXEC
  • Page 4622. OPERATIONAL DEVICES OPERATION B–62754EN/01 PROGRAM SCREEN Soft key transition triggered by the function key PROG in the MEM mode 1/2 PROG Program display screen [PRGRM] [(OPRT)] [BG–EDT] SeeWhen the soft key [BG-EDT] is pressed" (O number) [O SRH] (1) (N number) [N SRH] [REWIND] [P TYPE] [Q TYPE
  • Page 463B–62754EN/01 OPERATION 2. OPERATIONAL DEVICES 2/2 (2) [FL.SDL] [PRGRM] Return to (1) (Program display) File directory display screen [DIR] [(OPRT)] [SELECT] (File No. ) [F SET] [EXEC] Schedule operation display screen [SCHDUL] [(OPRT)] [CLEAR] [CAN] [EXEC] (Schedule data) [INPUT] 445
  • Page 4642. OPERATIONAL DEVICES OPERATION B–62754EN/01 PROGRAM SCREEN Soft key transition triggered by the function key PROG in the EDIT mode 1/2 PROG Program display [PRGRM] [(OPRT)] [BG–EDT] SeeWhen the soft key [BG-EDT] is pressed" (O number) [O SRH] (Address) [SRH↓] (Address) [SRH↑] [REWIND] [F SRH] [CA
  • Page 465B–62754EN/01 OPERATION 2. OPERATIONAL DEVICES 2/2 (1) Program directory display [LIB] [(OPRT)] [BG–EDT] SeeWhen 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 4662. OPERATIONAL DEVICES OPERATION B–62754EN/01 PROGRAM SCREEN Soft key transition triggered by the function key PROG in the MDI mode PROG Program display [PRGRM] [(OPRT)] [BG–EDT] SeeWhen the soft key [BG-EDT] is pressed" Program input screen [MDI] [(OPRT)] [BG–EDT] SeeWhen the soft key [BG-EDT] is
  • Page 467B–62754EN/01 OPERATION 2. OPERATIONAL DEVICES PROGRAM SCREEN Soft key transition triggered by the function key PROG 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 4682. OPERATIONAL DEVICES OPERATION B–62754EN/01 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 469B–62754EN/01 OPERATION 2. OPERATIONAL DEVICES 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 4702. OPERATIONAL DEVICES OPERATION B–62754EN/01 OFFSET/SETTING SCREEN Soft key transition triggered by the function key OFFSET SETTING 1/2 OFFSET SETTING Tool offset screen [OFFSET] [WEAR] [(OPRT)] (Number) [NO SRH] [GEOM] (Axis name and numeral) [MEASUR] (Axis name) [INP.C.] (Numeral) [+INPUT] (Numer
  • Page 471B–62754EN/01 OPERATION 2. OPERATIONAL DEVICES 2/2 (1) Software operator’s panel screen [OPR] Tool life management setting screen [TOOLLF] [(OPRT)] (Number) [NO SRH] [CLEAR] [CAN] [EXEC] (Numeral) [INPUT] Y axis tool offset screen [OFST.2] [WEAR] [(OPRT)] (Number) [NO SRH] [GEOM] (Axis name and numer
  • Page 4722. OPERATIONAL DEVICES OPERATION B–62754EN/01 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] [ALL] [CAN] [EXEC] [NON–0] [CAN] Note) S
  • Page 473B–62754EN/01 OPERATION 2. OPERATIONAL DEVICES (1) 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 4742. OPERATIONAL DEVICES OPERATION B–62754EN/01     Soft key transition triggered by the function key MESSAGE MESSAGE Alarm display screen [ALARM] Message display screen [MSG] Alarm history screen [HISTRY] [(OPRT)] [CLEAR]    Soft key transition triggered by the function key HELP HELP Al
  • Page 475B–62754EN/01 OPERATION 2. OPERATIONAL DEVICES GRAPHIC SCREEN Soft key transition triggered by the function key GRAPH Tool path graphics GRAPH Mode 0 Tool path graphics [G.PRM] [(OPRT)] [NORMAL] [GRAPH] [(OPRT)] [HEAD] [ERASE] [PROCES] [EXEC] [STOP] [ZOOM] [(OPRT)] [ACT] [HI/LO] A.ST/Path graphics GR
  • Page 4762. OPERATIONAL DEVICES OPERATION B–62754EN/01 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 477B–62754EN/01 OPERATION 2. OPERATIONAL DEVICES 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 4782. OPERATIONAL DEVICES OPERATION B–62754EN/01 2.3.6 There are 12 soft keys in the 14″ CRT/MDI or 9.5″ LCD/MDI panel. As 14″ CRT and 9.5″ LCD illustrated below, the 5 soft keys on the right and those on the right and left edges operate in the same way as the 9″ CRT, whereas the 5 keys on Soft Key Con
  • Page 479B–62754EN/01 OPERATION 2. OPERATIONAL DEVICES 2.4 Five types of external input/output devices are available. This section outlines each device. For details on these devices, refer to the EXTERNAL I/O corresponding manuals listed below. DEVICES Table 2.4 External I/O device Device name Usage Max. Ref
  • Page 4802. OPERATIONAL DEVICES OPERATION B–62754EN/01  Before an external input/output device can be used, parameters must be set as follows. CNC MAIN CPU BOARD OPTION–1 BOARD Channel 1 Channel 2 Channel 3 JD5A JD5B JD5C JD6A RS–232–C RS–232–C RS–232–C RS–422 Reader/ Reader/ Host Host puncher punch
  • Page 481B–62754EN/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 4822. OPERATIONAL DEVICES OPERATION B–62754EN/01 2.4.3 An FA Card is a memory card used as an input medium in the FA field. FANUC FA Card It is compact, but has a large memory capacity with high reliability, and requires no special maintenance. When an FA Card is connected to the CNC via the card adapt
  • Page 483B–62754EN/01 OPERATION 2. OPERATIONAL DEVICES 2.4.5 The portable tape reader is used to input data from paper tape. Portable Tape Reader }   + + + RS–232–C Interface (Punch panel, etc.) 465
  • Page 4842. OPERATIONAL DEVICES OPERATION B–62754EN/01 2.5 POWER ON/OFF 2.5.1 Turning on the Power Procedure of turning on the power 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 manual issued
  • Page 485B–62754EN/01 OPERATION 2. OPERATIONAL DEVICES 2.5.2 If a hardware failure or installation error occurs, the system displays one Screen Displayed at of the following three types of screens then stops. Information such as the type of printed circuit board installed in each slot Power–on is indicated.
  • Page 4862. OPERATIONAL DEVICES OPERATION B–62754EN/01 Screen indicating module setting status B1B1 – 01 SLOT 01 (3046) : END END: Setting completed SLOT 02 (3050) : Blank: Setting not com- pleted Module ID Slot number Display of software configuration B1B1 – 01 CNC control software SERVO : 9070–01 Digital s
  • Page 487B–62754EN/01 OPERATION 3. MANUAL OPERATION 3       MANUAL OPERATION are six kinds as follows : 3.1 Manual reference position return 3.2 Jog feed 3.3 Incremental feed 3.4 Manual handle feed 3.5 Manual absolute on/off 3.6 Manual linear / circular interpolation 469
  • Page 4883.MANUAL OPERATION OPERATION B–62754EN/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 to
  • Page 489B–62754EN/01 OPERATION 3. MANUAL OPERATION Explanation D Automatically setting Bit 0 (ZPR) of parameter No. 1201 is used for automatically setting the the coordinate system coordinate system. When ZPR is set, the coordinate system is automatically determined when manual reference position return is
  • Page 4903.MANUAL OPERATION OPERATION B–62754EN/01 3.2 In the JOG mode, pressing a feed axis and direction selection switch on the machine operator’s panel continuously moves the tool along the JOG FEED selected axis in the selected direction. The manual continuous feedrate is specified in a parameter (No.14
  • Page 491B–62754EN/01 OPERATION 3. MANUAL OPERATION Explanations D Manual per revolution To enable manual per revolution feed, set bit 4 (JRV) of parameter No. feed 1402 to 1. During manual per revolution feed, the tool is jogged at the following feedrate: Feed distance per rotation of the spindle (mm/rev) (
  • Page 4923.MANUAL OPERATION OPERATION B–62754EN/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 l
  • Page 493B–62754EN/01 OPERATION 3. MANUAL OPERATION 3.4 In the handle mode, the tool can be minutely moved by rotating the manual pulse generator on the machine operator’s panel. Select the axis MANUAL HANDLE along which the tool is to be moved with the handle feed axis selection FEED switches. The minimum d
  • Page 4943.MANUAL OPERATION OPERATION B–62754EN/01 Explanation D Availability of manual Parameter JHD (bit 0 of No. 7100) enables or disables the manual pulse pulse generator in Jog generator in the JOG mode. mode (JHD) When the parameter JHD( bit 0 of No. 7100) is set 1,both manual handle feed and increment
  • Page 495B–62754EN/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 4963.MANUAL OPERATION OPERATION B–62754EN/01 3.5 Whether the distance the tool is moved by manual operation is added to the coordinates can be selected by turning the manual absolute switch on MANUAL ABSOLUTE or off on the machine operator’s panel. When the switch is turned on, the ON AND OFF distance
  • Page 497B–62754EN/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.0Z100.0F010 ; (1) X200.0Z150.0 ; (2) X300.0Z200.0 ; (3) The subsequent figure
  • Page 4983.MANUAL OPERATION OPERATION B–62754EN/01 D When reset after a Coordinates when the feed hold button is pressed while block (2) 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 (2) is re
  • Page 499B–62754EN/01 OPERATION 3. MANUAL OPERATION When the switch is ON during tool nose radius 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 tool nose radius compensation mod
  • Page 5003.MANUAL OPERATION OPERATION B–62754EN/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 V
  • Page 501B–62754EN/01 OPERATION 3. MANUAL OPERATION 3.6 In manual handle feed or jog feed, the following types of feed operations are enabled in addition to the conventional feed operation along a MANUAL specified single axis (X–axis, Y–axis, Z–axis, and so forth) based on LINEAR/CIRCULAR simultaneous 1–axis
  • Page 5023.MANUAL OPERATION OPERATION B–62754EN/01 For jog feed The feedrate can be overridden using the manual feedrate override dial. The procedure above is just an example. For actual operations, refer to the relevant manual provided by the machine tool builder. Explanations D Definition of a straight For
  • Page 503B–62754EN/01 OPERATION 3. MANUAL OPERATION (2) Linear feed (simultaneous 2–axis control) By turning a manual handle, the tool can be moved along the straight line parallel to a specified straight line on a simultaneous 2–axis control basis. This manual handle is referred to as the guidance handle. M
  • Page 5043.MANUAL OPERATION OPERATION B–62754EN/01 D Feedrate for manual Feedrate handle feed The feedrate depends on the speed at which a manual handle is turned. A distance to be traveled by the tool (along a tangent in the case of linear or circular feed) when a manual handle is turned by one pulse can be
  • Page 505B–62754EN/01 OPERATION 3. MANUAL OPERATION D Manual handle feed in Even in JOG mode, manual handle feed can be enabled using bit 0 (JHD) JOG mode of parameter No. 7100. In this case, however, manual handle feed is enabled only when the tool is not moved along any axis by jog feed. Limitations D Mirr
  • Page 5064. AUTOMATIC OPERATION OPERATION B–62754EN/01 4        Programmed operation of a CNC machine tool is referred to as automatic operation. This chapter explains the following types of automatic operation: S MEMORY OPERATION Operation by executing a program registered in CNC memory S MDI OP
  • Page 507B–62754EN/01 OPERATION 4. AUTOMATIC OPERATION 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 5084. AUTOMATIC OPERATION OPERATION B–62754EN/01 When the cycle start switch on the machine operator’s panel is pressed while the feed hold LED is on, machine operation restarts. b. Terminating memory operation Press the RESET key on the MDI panel. Automatic operation is terminated and the reset state
  • Page 509B–62754EN/01 OPERATION 4. AUTOMATIC OPERATION D Reset Automatic operation can be stopped and the system can be made to the reset state by using RESET key on the CRT/MDI or external reset signal. When reset operation is applied to the system during a tool moving status, the motion is slowed down then
  • Page 5104. AUTOMATIC OPERATION OPERATION B–62754EN/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 511B–62754EN/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. (For the two–path control, select the too
  • Page 5124. AUTOMATIC OPERATION OPERATION B–62754EN/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 513B–62754EN/01 OPERATION 4. AUTOMATIC OPERATION D Macro call When the custom macro option is provided, 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
  • Page 5144. AUTOMATIC OPERATION OPERATION B–62754EN/01 4.3 This function specifies Sequence No. or Block No. of a block to be restarted when a tool is broken down or when it is desired to restart PROGRAM RESTART machining operation after a day off, and restarts the machining operation from that block. It can
  • Page 515B–62754EN/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 5164. AUTOMATIC OPERATION OPERATION B–62754EN/01 5 The sequence number is searched for, and the program restart screen appears on the CRT display. PROGRAM RESTART O0002 N00100 DESTINATION M1 2 X 57. 096 12 Z 56. 943 12 12 12 1 ******** DISTANCE TO GO ******** ******** 1 X 1. 459 2 Z 7. 320 T******** **
  • Page 517B–62754EN/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 5184. AUTOMATIC OPERATION OPERATION B–62754EN/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 519B–62754EN/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 5204. AUTOMATIC OPERATION OPERATION B–62754EN/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 521B–62754EN/01 OPERATION 4. AUTOMATIC OPERATION WARNING As a rule, the tool cannot be returned to a correct position under the following conditions. S Special care must be taken in the following cases since none of them cause an alarm: S Manual operation is performed when the manual absolute mode is O
  • Page 5224. AUTOMATIC OPERATION OPERATION B–62754EN/01 4.4 The schedule function allows the operator to select files (programs) registered on a floppy–disk in an external input/output device (Handy SCHEDULING File, Floppy Cassette, or FA Card) and specify the execution order and FUNCTION number of repetition
  • Page 523B–62754EN/01 OPERATION 4. AUTOMATIC OPERATION FILE DIRECTORY O0001 N00000 CURRENT SELECTED : SCHEDULE NO. FILE NAME (METER) VOL 0000 SCHEDULE 0001 PARAMETER 58.5 0002 ALL PROGRAM 11.0 0003 O0001 1.9 0004 O0002 1.9 0005 O0010 1.9 0006 O0020 1.9 0007 O0040 1.9 0008 O0050 1.9 MEM * * * * *** *** 19 : 1
  • Page 5244. AUTOMATIC OPERATION OPERATION B–62754EN/01 FILE DIRECTORY F0007 N00000 CURRENT SELECTED:O0040 RMT * * * * *** *** 13 : 27 : 54 PRGRM DIR SCHDUL (OPRT) Screen No.3 D Procedure for executing 1 Display the list of files registered in the Floppy Cassette. The display the scheduling function procedure
  • Page 525B–62754EN/01 OPERATION 4. AUTOMATIC OPERATION FILE DIRECTORY O0000 N02000 ORDER FILE NO. REQ.REP CUR.REP 01 0007 5 5 02 0003 23 23 03 0004 9999 156 04 0005 LOOP 0 05 06 07 08 09 10 RMT * * * * *** *** 10 : 10 : 40 PRGRM DIR SCHDUL (OPRT) Screen No.5 Explanations D Specifying no file If no file numbe
  • Page 5264. AUTOMATIC OPERATION OPERATION B–62754EN/01  Alarm No. Description 086 An attempt was made to execute a file that was not regis- tered in the floppy disk. 210 M198 and M99 were executed during scheduled operation, or M198 was executed during DNC operation. 508
  • Page 527B–62754EN/01 OPERATION 4. AUTOMATIC OPERATION 4.5 The subprogram call function is provided to call and execute subprogram files stored in an external input/output device(Handy File, FLOPPY SUBPROGRAM CALL CASSETTE, FA Card)during memory operation. FUNCTION (M198) When the following block in a progra
  • Page 5284. AUTOMATIC OPERATION OPERATION B–62754EN/01 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 529B–62754EN/01 OPERATION 4. AUTOMATIC OPERATION 4.6 The movement by manual handle operation can be done by overlapping it with the movement by automatic operation in the automatic operation MANUAL HANDLE mode. INTERRUPTION Tool position during automatic operation X Tool position after handle interrupt
  • Page 5304. AUTOMATIC OPERATION OPERATION B–62754EN/01 Explanations D Relation with other The following table indicates the relation between other functions and the functions movement by handle interrupt. Display Relation Machine lock is effective. The tool does not move Machine lock even when this signal tu
  • Page 531B–62754EN/01 OPERATION 4. AUTOMATIC OPERATION (c) RELATIVE : Position in relative coordinate system These values have no effect on the travel distance specified by handle interruption. (d) DISTANCE TO GO : The remaining travel distance in the current block has no effect on the travel distance specif
  • Page 5324. AUTOMATIC OPERATION OPERATION B–62754EN/01 4.7 During automatic operation, the mirror image function can be used for movement along an axis. To use this function, set the mirror image switch MIRROR IMAGE to ON on the machine operator’s panel, or set the mirror image setting to ON from the CRT/MDI
  • Page 533B–62754EN/01 OPERATION 4. AUTOMATIC OPERATION 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 function can also be turned on and off by setting bit 0 (MIRx) of parameter (No.0012) to 1 or 0
  • Page 5344. AUTOMATIC OPERATION OPERATION B–62754EN/01 4.8 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 535B–62754EN/01 OPERATION 4. AUTOMATIC OPERATION Example 1. The N1 block cuts a workpiece Tool N2 Block start point N1 2. The tool is stopped by pressing the feed hold switch in the middle of the N1 block (point A). N2 N1 Point A 3. After retracting the tool manually to point B, tool movement is restar
  • Page 5364. AUTOMATIC OPERATION OPERATION B–62754EN/01 4.9 By activating automatic operation during the DNC operation mode (RMT), it is possible to perform machining (DNC operation) while a DNC OPERATION program is being read in via reader/puncher interface, or remote buffer. If the floppy cassette directory
  • Page 537B–62754EN/01 OPERATION 4. AUTOMATIC OPERATION D Program screen (9.5″/14″ CRT) PROGRAM N020 X100.0 (DNC–PROG) ; N180 Z50.0 ; N030 X90.0 ; N190 Z40.0 ; N040 X80.0 ; N200 Z30.0 ; N050 X70.0 ; N210 Z20.0 ; N060 X60.0 ; N220 Z10.0 ; N070 X50.0 ; N230 Z0.0 ; N080 X40.0 ; N240 M02 ; N090 X30.0 ; % N100 X20
  • Page 5384. AUTOMATIC OPERATION OPERATION B–62754EN/01 Alarm Number Message Contents 086 DR SIGNAL OFF When entering data in the memory by using Reader / Puncher interface, the ready signal (DR) of reader / puncher was turned off. Power supply of I/O unit is off or cable is not connected or a P.C.B. is defec
  • Page 539B–62754EN/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. 1. Machine Lock and Auxiliary Function Lock 2. Feedrate Override 3. Rapid Traverse Override 4. Dry Run 5. Sing
  • Page 5405. TEST OPERATION OPERATION B–62754EN/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 541B–62754EN/01 OPERATION 5. TEST OPERATION Restrictions D M, S, T command by only M, S, and T commands are executed in the machine lock state. 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 the too
  • Page 5425. TEST OPERATION OPERATION B–62754EN/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 di
  • Page 543B–62754EN/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 5m/min rate10m/min Override 50% Fig. 5.3 Rapid traverse override Procedure for Rapid
  • Page 5445. TEST OPERATION OPERATION B–62754EN/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 that the workpiece is removed from the table. Tool ÇÇÇÇÇ ÇÇ
  • Page 545B–62754EN/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 5465. TEST OPERATION OPERATION B–62754EN/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 as follows. canned cycle Rapid tra
  • Page 547B–62754EN/01 OPERATION 5. TEST OPERATION Rapid traverse S : Single–block stop Cutting feed Tool path Explanation lG73 6 S (Closed–loop cutting cycle) Tool path 1 5 to 6 is as- 4 3 1 sumed as 2 one cycle. After 10 is finished, a stop is made. lG74 9 5 1 Tool path 1 (End surface cutting–off cycle) 8 7
  • Page 5485. TEST OPERATION OPERATION B–62754EN/01 D Special single–block Two–path control supports a single–block command signal for each of control tool posts 1 and 2. Single–block stop can thus be specified for the automatic operation program for each tool post. Note, however, that when the single–block co
  • Page 549B–62754EN/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, and
  • Page 5506. SAFETY FUNCTIONS OPERATION B–62754EN/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 551B–62754EN/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 5526. SAFETY FUNCTIONS OPERATION B–62754EN/01 6.3 There areas which the tool cannot enter can be specified with stored stroke check 1, stored stroke check 2,and stored stroke check 3. ÇÇÇÇÇÇÇÇÇÇÇÇÇÇÇÇÇÇÇÇ STROKE CHECK ÇÇÇÇÇÇÇÇÇÇÇÇÇÇÇÇÇÇÇÇ ÇÇÇÇÇÇÇÇÇÇÇÇÇÇÇÇ ÇÇÇÇÇÇÇÇÇÇÇÇÇÇÇÇÇÇÇÇ ÇÇÇÇÇ ÇÇÇÇÇÇÇ ÇÇÇÇÇÇÇÇÇÇÇÇ
  • Page 553B–62754EN/01 OPERATION 6. SAFETY FUNCTIONS G 22X_Z_I_K_; A(X,Z) B(I,K) X>I,Z>K X–I>ζ Z–K>ζ ζ is the distance the tool travels in 8 ms. It is 2000 in least command increments when the feedrate is 15 m/min. Fig. 6.3(b) Creating or changing the forbidden area using a program When setting the area by pa
  • Page 5546. SAFETY FUNCTIONS OPERATION B–62754EN/01 D Checkpoint for the The parameter setting or programmed value (XZIK) depends on which forbidden area part of the tool or tool holder is checked for entering the forbidden area. Confirm the checking position (the top of the tool or the tool chuck) before pr
  • Page 555B–62754EN/01 OPERATION 6. SAFETY FUNCTIONS D Setting the forbidden For the two–path control, set a forbidden area for each tool post. area for the two–path control NOTE In setting a forbidden area, if the two points to be set arethe same, the area is as follows: (1)When the forbidden area is stored
  • Page 5566. SAFETY FUNCTIONS OPERATION B–62754EN/01 6.4 The chuck–tailstock barrier function prevents damage to the machine by checking whether the tool tip fouls either the chuck or tailstock. CHUCK AND Specify an area into which the tool may not enter (entry–inhibition area). TAILSTOCK This is done using t
  • Page 557B–62754EN/01 OPERATION 6. SAFETY FUNCTIONS Tailstock barrier setting screen BARRIER (TAILSTOCK) O0000 N00000 L X L = 100.000 D = 200.000 L1 L1= 50.000 /D3 D1= 100.000 / L2 L2= 50.000 TZ / D2= 50.000 D2 D1 D * D3= 30.000 /D3 Z TZ= 100.000 ACTUAL POSITION (ABSOLUTE) X 200.000 Z 50.000 >_ MDI **** ***
  • Page 5586. SAFETY FUNCTIONS OPERATION B–62754EN/01 D Reference position 1 Return the tool to the reference position along the X– and Z–axes. return The chuck–tailstock barrier function becomes effective only once reference position return has been completed after power on. When an absolute position detector
  • Page 559B–62754EN/01 OPERATION 6. SAFETY FUNCTIONS Symbol Description TY Chuck–shape selection (0: Holding the inner face of a tool, 1: Holding the outer face of a tool) CX Chuck position (along X–axis) CZ Chuck position (along Z–axis) L Length of chuck jaws W Depth of chuck jaws (radius) L1 Holding length
  • Page 5606. SAFETY FUNCTIONS OPERATION B–62754EN/01 D Setting the shape of a tailstock barrier L TZ L1 L2 Work- B piece D3 D2 D1 D Z Origin of the workpiece coordinate system Symbol Description TZ Tailstock position (along the Z–axis) L Tailstock length D Tailstock diameter L1 Tailstock length (1) D1 Tailsto
  • Page 561B–62754EN/01 OPERATION 6. SAFETY FUNCTIONS Table 4 Units Increment Data unit Valid data range system IS-A IS-B Metric input 0.001 mm 0.0001 mm –99999999 to +99999999 Inch input 0.0001 inch 0.00001 inch –99999999 to +99999999 D Setting the The tip angle of the tailstock is 60 degrees. The entry–inhib
  • Page 5626. SAFETY FUNCTIONS OPERATION B–62754EN/01 D Coordinate system An entry–inhibition area is defined using the workpiece coordinate system. Note the following. 1 When the workpiece coordinate system is shifted by means of a command or operation, the entry–inhibition area is also shifted by the same am
  • Page 563B–62754EN/01 OPERATION 6. SAFETY FUNCTIONS 6.5 During automatic operation, before the movement specified by a given block is started, whether the tool enters the inhibited area defined by STROKE LIMIT stored stroke limit 1, 2, or 3 is checked by determining the position of the CHECK PRIOR TO end poi
  • Page 5646. SAFETY FUNCTIONS OPERATION B–62754EN/01 Example 2) End point Inhibited area defined by stored stroke limit 2 or 3 a The tool is stopped at point a according Start point to stored stroke limit 1 or 2. Inhibited area defined by stored stroke limit 2 or 3 End point Immediately upon movement commenci
  • Page 565B–62754EN/01 OPERATION 6. SAFETY FUNCTIONS D Cyrindrical interpolation In cylindrical interpolation mode, no check is made. mode D Polar coordinate In polar coordinate interpolation mode, no check is made. interpolation mode D Slanted axis control When the slanted axis control option is selected, no
  • Page 5667. ALARM AND SELF–DIAGNOSIS FUNCTIONS OPERATION B–62754EN/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 25 previous alarms can be stored and displayed
  • Page 5677. ALARM AND SELF–DIAGNOSIS B–62754EN/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 TRAVEL :+X 520 OVER TRAVEL :+2 530 OVER TRAVEL :+3 S 0 T0000 MDI * * * * * * * * * *
  • Page 5687. ALARM AND SELF–DIAGNOSIS FUNCTIONS OPERATION B–62754EN/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 alarms (Progr
  • Page 5697. ALARM AND SELF–DIAGNOSIS B–62754EN/01 OPERATION FUNCTIONS 7.2 Up to 25 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 1 Press the function key MESSAGE . 2 Press the chapter selec
  • Page 5707. ALARM AND SELF–DIAGNOSIS FUNCTIONS OPERATION B–62754EN/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 5717. ALARM AND SELF–DIAGNOSIS B–62754EN/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 5727. ALARM AND SELF–DIAGNOSIS FUNCTIONS OPERATION B–62754EN/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 573B–62754EN/01 OPERATION 8. DATA INPUT/OUTPUT 8  INPUT/OUTPUT NC data is transferred between the CNC 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
  • Page 5748. DATA INPUT/OUTPUT OPERATION B–62754EN/01 8.1 Of the external input/output devices, the FANUC Handy File and FANUC Floppy Cassette use floppy disks as their input/output medium, and the FILES FANUC FA Card uses an FA card as its input/output medium. In this manual, an input/output medium is genera
  • Page 575B–62754EN/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 Write protect switch of a card Write protect switch (1) Write–protected (2) Wr
  • Page 5768. DATA INPUT/OUTPUT OPERATION B–62754EN/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 Procedure for File Heading 1 Press the EDIT or MEMO
  • Page 577B–62754EN/01 OPERATION 8. DATA INPUT/OUTPUT 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 86 found, or the like). An alarm is given when the input/outp
  • Page 5788. DATA INPUT/OUTPUT OPERATION B–62754EN/01 8.3 Files stored on a floppy can be deleted file by file as required. FILE DELETION Procedure for File Deletion 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 Pre
  • Page 579B–62754EN/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. Procedure for Inputting a Program 1 Make sure the input device is ready for reading. For the two–path control, select the
  • Page 5808. DATA INPUT/OUTPUT OPERATION B–62754EN/01 D Program numbers on a NC tape S When a program is entered without specifying a program number. S 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 581B–62754EN/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 5828. DATA INPUT/OUTPUT OPERATION B–62754EN/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. Procedure for Outputting a Program 1 Make sure the output device is ready for output. For the two–path control, select the tool post for which a pro
  • Page 583B–62754EN/01 OPERATION 8. DATA INPUT/OUTPUT D On the memo record Head searching with a file No. is necessary when a file output from the CNC to the floppy is again input to the CNC memory or compared with the content of the CNC memory. Therefore, immediately after a file is output from the CNC to th
  • Page 5848. DATA INPUT/OUTPUT OPERATION B–62754EN/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 section III–8.5.2. When an offset value is loaded which has
  • Page 585B–62754EN/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. Procedure for Outputting Offset Data 1 Make sure the output device is ready for output. For the two–path control, select the tool p
  • Page 5868. DATA INPUT/OUTPUT OPERATION B–62754EN/01 8.6 Parameters and pitch error compensation data are input and output from different screens, respectively. This chapter describes how to enter them. INPUTTING AND OUTPUTTING PARAMETERS AND PITCH ERROR COMPENSATION DATA 8.6.1 Parameters are loaded into the
  • Page 587B–62754EN/01 OPERATION 8. DATA INPUT/OUTPUT 14 Enter 0 in response to the prompt for “PARAMETER WRITE (PWE)” in setting data. 15 Turn the power to the NC 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 memo
  • Page 5888. DATA INPUT/OUTPUT OPERATION B–62754EN/01 D Output file name When the floppy disk directory display function is used, the name of the output file is PARAMETER. Once all parameters have been output, the output file is named ALL PARAMETER. Once only parameters which are set to other than 0 have been
  • Page 589B–62754EN/01 OPERATION 8. DATA INPUT/OUTPUT 14 Enter 0 in response to the prompt for “PARAMETER WRITE (PWE)” of setting data. 15 Turn the power to the NC back on. 16 Release the EMERGENCY STOP button on the machine operator’s panel. Explanations D Pitch error Parameters 3620 to 3624 and pitch error
  • Page 5908. DATA INPUT/OUTPUT OPERATION B–62754EN/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 Inputting Custom into the memory of the CNC from a floppy or NC tape. The same format used to output custom macro common var
  • Page 591B–62754EN/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 Procedure for Outputting Custom Macro Common Variable 1 Make sure the out
  • Page 5928. DATA INPUT/OUTPUT OPERATION B–62754EN/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 DISK DIRECTORY (FLO
  • Page 593B–62754EN/01 OPERATION 8. DATA INPUT/OUTPUT 8.8.1 Displaying the Directory Displaying the Directory of Floppy Disk Files    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 key P
  • Page 5948. DATA INPUT/OUTPUT OPERATION B–62754EN/01    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 595B–62754EN/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 the
  • Page 5968. DATA INPUT/OUTPUT OPERATION B–62754EN/01 8.8.2 The contents of the specified file number are read to the memory of NC. Reading Files Procedure for Reading Files 1 Press the EDIT switch on the machine operator’s panel. For the two–path control, select the tool post for which a file is to be input
  • Page 597B–62754EN/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. Procedure for Outputting Programs 1 Press the EDIT switch on the machine operator’s panel. For the two–path control, select the tool post for which a p
  • Page 5988. DATA INPUT/OUTPUT OPERATION B–62754EN/01 8.8.4 The file with the specified file number is deleted. Deleting Files Procedure for Deleting Files 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 [FLO
  • Page 599B–62754EN/01 OPERATION 8. DATA INPUT/OUTPUT Limitations 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 is
  • Page 6008. DATA INPUT/OUTPUT OPERATION B–62754EN/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 601B–62754EN/01 OPERATION 9. EDITING PROGRAMS 9 EDITING PROGRAMS General This chapter describes how to edit programs registered in the CNC. Editing includes the insertion, modification, deletion, and replacement of words. Editing also includes deletion of the entire program and automatic insertion of s
  • Page 6029. EDITING PROGRAMS OPERATION B–62754EN/01 9.1 This section outlines the procedure for inserting, modifying, and deleting a word in a program registered in memory. INSERTING, ALTERING AND DELETING A WORD Procedure for inserting, altering and deleting a word 1 Select EDIT mode. 2 Press PROG . 3 Selec
  • Page 603B–62754EN/01 OPERATION 9. EDITING PROGRAMS 9.1.1 A word can be searched for by merely moving the cursor through the text Word Search (scanning), by word search, or by address search. Procedure for scanning a program 1 Press the cursor key The cursor moves forward word by word on the screen; the curs
  • Page 6049. EDITING PROGRAMS OPERATION B–62754EN/01 Procedure for searching a word Example) of Searching for S12 PROGRAM O0050 N01234 N01234 is being O0050 ; searched for/ N01234 X100.0 Z1250.0 ; scanned currently. S12 ; S12 is searched N56789 M03 ; for. M02 ; % 1 Key in address S . 2 Key in 1 2 . ⋅ S12 cann
  • Page 605B–62754EN/01 OPERATION 9. EDITING PROGRAMS 9.1.2 The cursor can be jumped to the top of a program. This function is called Heading a Program heading the program pointer. This section describes the three methods for heading the program pointer. Procedure for Heading a Program Method 1 1 Press RESET w
  • Page 6069. EDITING PROGRAMS OPERATION B–62754EN/01 9.1.3 Inserting a Word Procedure for inserting a word 1 Search for or scan the word immediately before a word to be inserted. 2 Key in an address to be inserted. 3 Key in data. 4 Press the INSERT key. Example of Inserting T15 Procedure 1 Search for or scan
  • Page 607B–62754EN/01 OPERATION 9. EDITING PROGRAMS 9.1.4 Altering a Word Procedure for altering a word 1 Search for or scan a word to be altered. 2 Key in an address to be inserted. 3 Key in data. 4 Press the ALTER key. Example of changing T15 to M15 Procedure 1 Search for or scan T15. Program O0050 N01234
  • Page 6089. EDITING PROGRAMS OPERATION B–62754EN/01 9.1.5 Deleting a Word Procedure for deleting a word 1 Search for or scan a word to be deleted. 2 Press the DELETE key. Example of deleting X100.0 Procedure 1 Search for or scan X100.0. Program O0050 N01234 O0050 ; X100.0 is N01234 X100.0 Z1250.0 M15 ; searc
  • Page 609B–62754EN/01 OPERATION 9. EDITING PROGRAMS 9.2 A block or blocks can be deleted in a program. DELETING BLOCKS 9.2.1 The procedure below deletes a block up to its EOB code; the cursor Deleting a Block advances to the address of the next word. Procedure for deleting a block 1 Search for or scan addres
  • Page 6109. EDITING PROGRAMS OPERATION B–62754EN/01 9.2.2 The blocks from the currently displayed word to the block with a specified Deleting Multiple sequence number can be deleted. Blocks Procedure for deleting multiple blocks 1 Search for or scan a word in the first block of a portion to be deleted. 2 Key
  • Page 611B–62754EN/01 OPERATION 9. EDITING PROGRAMS 9.3 When memory holds multiple programs, a program can be searched for. There are three methods as follows. PROGRAM NUMBER SEARCH Procedure for program number search Method 1 1 Select EDIT or MEMORY mode. 2 Press PROG to display the program screen. 3 Key in
  • Page 6129. EDITING PROGRAMS OPERATION B–62754EN/01 9.4 Sequence number search operation is usually used to search for a sequence number in the middle of a program so that execution can be SEQUENCE NUMBER started or restarted at the block of the sequence number. SEARCH Example) Sequence number 02346 in a pro
  • Page 613B–62754EN/01 OPERATION 9. EDITING PROGRAMS Explanations D Operation during Search Those blocks that are skipped do not affect the CNC. This means that the data in the skipped blocks such as coordinates and M, S, and T codes does not alter the CNC coordinates and modal values. So, in the first block
  • Page 6149. EDITING PROGRAMS OPERATION B–62754EN/01 9.5 Programs registered in memory can be deleted,either one program by one program or all at once. Also, More than one program can be deleted by DELETING specifying a range. PROGRAMS 9.5.1 A program registered in memory can be deleted. Deleting One Program
  • Page 615B–62754EN/01 OPERATION 9. EDITING PROGRAMS 9.5.3 Programs within a specified range in memory are deleted. Deleting More Than One Program by Specifying a Range Procedure for deleting more than one program by specifying a range 1 Select the EDIT mode. 2 Press PROG to display the program screen. 3 Ente
  • Page 6169. EDITING PROGRAMS OPERATION B–62754EN/01 9.6 With the extended part program editing function, the operations described below can be performed using soft keys for programs that have been EXTENDED PART registered in memory. PROGRAM EDITING Following editing operations are available : FUNCTION D All
  • Page 617B–62754EN/01 OPERATION 9. EDITING PROGRAMS 9.6.1 A new program can be created by copying a program. Copying an Entire Program Before copy After copy Oxxxx Oxxxx Oyyyy A Copy A A Fig. 9.6.1 Copying an Entire Program In Fig. 9.6.1, the program with program number xxxx is copied to a newly created prog
  • Page 6189. EDITING PROGRAMS OPERATION B–62754EN/01 9.6.2 A new program can be created by copying part of a program. Copying Part of a Program Before copy After copy 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 619B–62754EN/01 OPERATION 9. EDITING PROGRAMS 9.6.3 A new program can be created by moving part of a program. Moving Part of a Program Before copy After copy Oxxxx Oxxxx Oyyyy A Copy A B B C C Fig. 9.6.3 Moving Part of a Program In Fig. 9.6.3, part B of the program with program number xxxx is moved to
  • Page 6209. EDITING PROGRAMS OPERATION B–62754EN/01 9.6.4 Another program can be inserted at an arbitrary position in the current Merging a Program program. Before merge After merge Oxxxx Oyyyy Oxxxx Oyyyy A B Merge A B C B Merge location C Fig. 9.6.4 Merging a program at a specified location In Fig. 9.6.4,
  • Page 621B–62754EN/01 OPERATION 9. EDITING PROGRAMS 9.6.5 Supplementary Explanation for Copying, Moving and Merging Explanations D Setting an editing range The setting of an editing range start point with [CRSR∼] can be changed freely until an editing range end point is set with [∼CRSR] or [∼BTTM]. If an edi
  • Page 6229. EDITING PROGRAMS OPERATION B–62754EN/01 Alarm Alarm No. Contents 70 Memory became insufficient while copying or inserting a pro- gram. Copy or insertion is terminated. 101 The power was interrupted during copying, moving, or inserting a program and memory used for editing must be cleared. When th
  • Page 623B–62754EN/01 OPERATION 9. EDITING PROGRAMS 9.6.6 Replace one or more specified words. Replacement of Words Replacement can be applied to all occurrences or just one occurrence of specified words or addresses in the program. and Addresses Procedure for change of words or addresses 1 Perform steps 1 t
  • Page 6249. EDITING PROGRAMS OPERATION B–62754EN/01 Restrictions D The number of Up to 15 characters can be specified for words before or after replacement. characters for (Sixteen or more characters cannot be specified.) replacement D The characters for Words before or after replacement must start with a ch
  • Page 625B–62754EN/01 OPERATION 9. EDITING PROGRAMS 9.7 Unlike ordinary programs, custom macro programs are modified, inserted, or deleted based on editing units. EDITING OF CUSTOM Custom macro words can be entered in abbreviated form. MACROS Comments can be entered in a program. Refer to the section 10.1 fo
  • Page 6269. EDITING PROGRAMS OPERATION B–62754EN/01 9.8 Editing a program while executing another program is called background editing. The method of editing is the same as for ordinary editing BACKGROUND (foreground editing). EDITING A program edited in the background should be registered in foreground prog
  • Page 627B–62754EN/01 OPERATION 9. EDITING PROGRAMS 9.9 The password function (bit 4 (NE9) of parameter No. 3202) can be locked using parameter No. 3210 (PASSWD) and parameter No. 3211 PASSWORD (KEYWD) to protect program Nos. O9000 to O9999. In the locked state, FUNCTION parameter NE9 cannot be set to 0. In
  • Page 6289. EDITING PROGRAMS OPERATION B–62754EN/01 Explanations D Setting parameter The locked state is set when a value is set in the parameter PASSWD. PASSWD However, note that parameter PASSWD can be set only when the locked state is not set (when PASSWD = 0, or PASSWD = KEYWD). If an attempt is made to
  • Page 629B–62754EN/01 OPERATION 10. CREATING PROGRAMS 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 ⋅ CONVERSATIONAL AUTOMATIC PROGRAMMING FUNCTION ⋅ AUTOMATIC PROGRAM PRE
  • Page 63010. CREATING PROGRAMS OPERATION B–62754EN/01 10.1 Programs can be created in the EDIT mode using the program editing functions described in Chapter 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.
  • Page 631B–62754EN/01 OPERATION 10. CREATING PROGRAMS 10.2 Sequence numbers can be automatically inserted in each block when a program is created using the MDI keys in the EDIT mode. AUTOMATIC Set the increment for sequence numbers in parameter 3216. INSERTION OF SEQUENCE NUMBERS Procedure for automatic inse
  • Page 63210. CREATING PROGRAMS OPERATION B–62754EN/01 9 Press INSERT . The EOB is registered in memory and sequence numbers are automatically inserted. For example, if the initial value of N is 10 and the parameter for the increment is set to 2, N12 inserted and displayed below the line where a new block is
  • Page 633B–62754EN/01 OPERATION 10. CREATING PROGRAMS 10.3 When the playback option is selected, the TEACH IN JOG mode and TEACH IN HANDLE mode are added. In these modes, a machine position CREATING along the X, Z, and Y axes obtained by manual operation is stored in PROGRAMS IN memory as a program position
  • Page 63410. CREATING PROGRAMS OPERATION B–62754EN/01 Examples O1234 ; N1 G50 X100000 Z200000 ; X N2 G00 X14784 Z8736 ; N3 G01 Z103480 F300 ; P0 (100000,200000) N4 M02 ; P1 (14784,8736) P2 (10000,103480) Z 1 Set the setting data SEQUENCE NO. to 1 (on). (The incremental value parameter (No. 3212) is assumed t
  • Page 635B–62754EN/01 OPERATION 10. CREATING PROGRAMS 10 Enter the P2 machine position for data of the third block as follows: G 0 1 INSERT Z INSERT F 3 0 0 INSERT EOB INSERT This operation registers G01 Z103480 F300; in memory. The automatic sequence number insertion function registers N4 of the fourth bloc
  • Page 63610. CREATING PROGRAMS OPERATION B–62754EN/01 10.4 Programs can be created block after block on the conversational screen while displaying the G code menu. CONVERSATIONAL Blocks in a program can be modified, inserted, or deleted using the G code PROGRAMMING menu and conversational screen. WITH GRAPHI
  • Page 637B–62754EN/01 OPERATION 10. CREATING PROGRAMS 4 Press the [C.A.P] soft key. The following G code menu is displayed on the screen. If soft keys different from those shown in step 2 are displayed, press the menu return key to display the correct soft keys. PROGRAM O1234 N00004 G00 : POSITIONING G01 : L
  • Page 63810. CREATING PROGRAMS OPERATION B–62754EN/01 When no keys are pressed, the standard details screen is displayed. PROGRAM O0010 N00000 G G G G X U Z W A C F H I K P Q R M S T : EDIT * * * * *** *** 14 : 41 : 10 PRGRM G.MENU BLOCK (OPRT) 7 Move the cursor to the block to be modified on the program scr
  • Page 639B–62754EN/01 OPERATION 10. CREATING PROGRAMS Procedure 1 Move the cursor to the block to be modified on the program screen     a block and press the [C.A.P] soft key. Or, press the [C.A.P] soft key first to display the conversational screen, then press the or page key until the block to be modi
  • Page 64011. SETTING AND DISPLAYING DATA OPERATION B–62754EN/01 11 SETTING AND DISPLAYING DATA General To operate a CNC machine tool, various data must be set on the CRT/MDI or LCD/MDI for the CNC. The operator can monitor the state of operation with data displayed during operation. This chapter describes ho
  • Page 641B–62754EN/01 OPERATION 11. SETTING AND DISPLAYING DATA POSITION DISPLAY SCREEN Screen transition triggered by the function key POS POS Current position screen ABS REL ALL HNDL (OPRT) Position display of Position displays Total position display Manual handle inĆ work coordinate relative coordinate of
  • Page 64211. SETTING AND DISPLAYING DATA OPERATION B–62754EN/01 PROGRAM SCREEN Screen transition triggered by the function key PROG in the MEMORY or MDI mode *: Displayed in MDI mode PROG Program screen MDI * MEM MDI PRGRM CHECK CURRNT NEXT (OPRT) [MDI] * Display of proĆ Display of current Display of current
  • Page 643B–62754EN/01 OPERATION 11. SETTING AND DISPLAYING DATA PROGRAM SCREEN Screen transition triggered by the function key PROG 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-10 rectory screen ⇒Se
  • Page 64411. SETTING AND DISPLAYING DATA OPERATION B–62754EN/01 OFFSET/SETTING SCREEN Screen transition triggered by the function key OFFSET SETTING 1/2 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 II
  • Page 645B–62754EN/01 OPERATION 11. SETTING AND DISPLAYING DATA 2/2 1* Tool offset value OFST.2 W.SHFT (OPRT) Display of Y axis Display of work offset value coordinate ⇒See III-11.4.6. system value ⇒See III-11.4.5 Setting of Y axis Setting of work offset data coordinate system ⇒See III-11.4.6. shift value ⇒S
  • Page 64611. SETTING AND DISPLAYING DATA OPERATION B–62754EN/01    Screen transition triggered by the function key SYSTEM SYSTEM Parameter screen PARAM DGNOS PMC SYSTEM (OPRT) Display of paramĆ Display of diagĆ eter screen nosis screen ⇒see III-11.5.1 ⇒See III-7 Setting of parameter ⇒see III-11.5.
  • Page 647B–62754EN/01 OPERATION 11. SETTING AND DISPLAYING DATA D   s The table below lists the data set on each screen. Table.11. Setting screens and data on them No. Setting screen Contents of setting Reference item 1 Tool offset value Tool offset value Subsec. 11.4.1 Tool nose radius compensatio
  • Page 64811. SETTING AND DISPLAYING DATA OPERATION B–62754EN/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 po POS ⋅Position display screen for the work coordinate
  • Page 649B–62754EN/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 65011. SETTING AND DISPLAYING DATA OPERATION B–62754EN/01 D Two–path lathe control / 9″ CRT/PDP, 8.4″ LCD NOTE For the two–path control, the display may not be as shown above. In some cases, only the coordinates along the axes on tool post 1 are displayed due to the number of axes. In that case, press
  • Page 651B–62754EN/01 OPERATION 11. SETTING AND DISPLAYING DATA 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 65211. SETTING AND DISPLAYING DATA OPERATION B–62754EN/01 NOTE For the two–path lathe control (9″CRT/PDP, 8.4″ LCD), the display may not be as shown above. In some cases, only the coordinates along the axes on tool post 1 are displayed due to the number of axes. In that case, press the [REL] soft key o
  • Page 653B–62754EN/01 OPERATION 11. SETTING AND DISPLAYING DATA Explanations D Setting the relative The current position of the tool in the relative coordinate system can be coordinates reset to 0 or preset to a specified value as follows: Procedure to set the axis coordinate to a specified value 1 Enter an
  • Page 65411. SETTING AND DISPLAYING DATA OPERATION B–62754EN/01 11.1.3 Displays the following positions on a screen : Current positions of the Overall Position tool in the workpiece coordinate system, relative coordinate system, and machine coordinate system, and the remaining distance. The relative Display
  • Page 655B–62754EN/01 OPERATION 11. SETTING AND DISPLAYING DATA D Display with two–path control (14″CRT, 9.5″ LCD) ACTUAL POSITION O1000 N10010 O2000 N20010 (RELATIVE) (ABSOLUTE) (RELATIVE) (ABSOLUTE) U1 100.000 X1 100.000 U2 100.000 X2 100.000 W1 100.000 Z1 100.000 W2 100.000 Z2 100.000 H1 300.000 C1 300.00
  • Page 65611. SETTING AND DISPLAYING DATA OPERATION B–62754EN/01 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 657B–62754EN/01 OPERATION 11. SETTING AND DISPLAYING DATA 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 3015. On a 14–inch CRT, the actual feedrate is always Displa
  • Page 65811. SETTING AND DISPLAYING DATA OPERATION B–62754EN/01 D Actual feedrate display In the case of feed per revolution and thread cutting, the actual feedrate of feed per revolution displayed is the feed per minute rather than feed per revolution. D Actual feedrate display In the case of movement of ro
  • Page 659B–62754EN/01 OPERATION 11. SETTING AND DISPLAYING DATA 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 66011. SETTING AND DISPLAYING DATA OPERATION B–62754EN/01 11.1.7 To perform floating reference position return with a G30.1 command, the Setting the Floating floating reference position must be set beforehand. Reference Position Procedure for setting the floating reference position 1 Press function key
  • Page 661B–62754EN/01 OPERATION 11. SETTING AND DISPLAYING DATA 11.1.8 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 66211. SETTING AND DISPLAYING DATA OPERATION B–62754EN/01 D Load meter The reading on the load meter depends on servo parameter 2086 and spindle parameter 4127. D Speed meter Although the speedometer normally indicates the speed of the spindle motor, it can also be used to indicate the speed of the spi
  • Page 663B–62754EN/01 OPERATION 11. SETTING AND DISPLAYING DATA 11.2 This section describes the screens displayed by pressing function key SCREENS DISPLAYED PROG in MEMORY or MDI mode.The first four of the following screens BY FUNCTION KEY pr PROG display the execution state for the program currently being e
  • Page 66411. SETTING AND DISPLAYING DATA OPERATION B–62754EN/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 a program screen. 2 Press chapter selection soft key [PRGRM].
  • Page 665B–62754EN/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 1 Press function key PROG . 2 Press chapter selection soft key [C
  • Page 66611. SETTING AND DISPLAYING DATA OPERATION B–62754EN/01 ACTUAL POSITION O3001 N00000 (ABSOLUTE) X 0.000 F 0 MM/MIN Z 30.000 PROGRAM O3001 ; G40 ; G49 M06 T9 ; G0 G54 G90 X0 Z0 ; G43 Z30. H5 S6000 M3 ; (MODAL) M0 ; G00 G40 G54 F 500 M 3 X17.5 Z–22 ; G17 G43 G64 Z–6.5 ; G90 G80 G69 H 5 G10 P11 R0.995 F
  • Page 667B–62754EN/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 1 Press function key PROG . 2 Press chapter selection s
  • Page 66811. SETTING AND DISPLAYING DATA OPERATION B–62754EN/01 D Display with two path control (14″CRT) PROGRAM CHECK O1000 N01010 PROGRAM CHECK O2000 N02010 N01000 G90 X100. Z100.; N02010 G90 X200. Z200.; N01010 G01 X50. Z50. F2000. ; N02020 G01 X50. Z50. F3000. ; N01020 X30. ; N02030 G01 X50.. ; N01030 X5
  • Page 669B–62754EN/01 OPERATION 11. SETTING AND DISPLAYING DATA D 14 inch CRT with The program check screen is not provided for 14–inch CRTs with one–path control one–path control. Press soft key [PRGRM] to display the contents of the program on the right half of the screen. The block currently being execute
  • Page 67011. SETTING AND DISPLAYING DATA OPERATION B–62754EN/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 1 Press function key PROG . 2 Press chapter selection soft key [MDI]. T
  • Page 671B–62754EN/01 OPERATION 11. SETTING AND DISPLAYING DATA 11.2.6 When a machining program is executed, the machining time of the main Stamping the program is displayed on the program machining time display screen. The machining times of up to ten main programs are displayed in Machining Time hours/minu
  • Page 67211. SETTING AND DISPLAYING DATA OPERATION B–62754EN/01 5 To calculate the machining times of additional programs, repeat the above procedure. The machining time display screen displays the executed main program numbers and their machining times sequentially. Note, that machining time data cannot be
  • Page 673B–62754EN/01 OPERATION 11. SETTING AND DISPLAYING DATA Procedure 2 1 To insert the calculated machining time of a program in a program as a Stamping machining comment, the machining time of the program must be displayed on time the machining time display screen. Before stamping the machining time of
  • Page 67411. SETTING AND DISPLAYING DATA OPERATION B–62754EN/01 4 If a comment already exists in the block containing the program number of a program whose machining time is to be inserted, the machining time is inserted after the existing comment. PROGRAM O0100 N0000 O0100 (SHAFT XSF001) ; N10 G92 X100. Z10
  • Page 675B–62754EN/01 OPERATION 11. SETTING AND DISPLAYING DATA Explanations D Machining time Machining time is counted from the initial start after a reset in memory operation mode to the next reset. If a reset does not occur during operation, machining time is counted from the start to M03 (or M30). Howeve
  • Page 67611. SETTING AND DISPLAYING DATA OPERATION B–62754EN/01 D Program directory When the machining time inserted into a program is displayed on the program directory screen and the comment after the program number consists of only machining time data, the machining time is displayed in both the program n
  • Page 677B–62754EN/01 OPERATION 11. SETTING AND DISPLAYING DATA Example 2Program directory screen when two or more machining times are stamped. PROGRAM O0260 N0000 O0260 (SHAFT XSF302) (001H15M59S) (001H20M01S) ; N10 G92 X100. Z10. ; N20 S1500 M03 ; N30 G00 X20.5 Z5. T0101 ; N40 G01 Z–10. F25. ; N50 G02 X16
  • Page 67811. SETTING AND DISPLAYING DATA OPERATION B–62754EN/01 Example 3Program directory screen when inserted machining time data does not conform to the format hhhHmmMssS (3–digit number followed by H, 2–digit number followed by M, and 2–digit number followed by S, in this order) PROGRAM O0280 N0000 O028
  • Page 679B–62754EN/01 OPERATION 11. SETTING AND DISPLAYING DATA 11.2.7 Displaying the B–axis Operation State Displaying the B–axis operation state 1 Press the PROG function key. 2 Press the [CHECK] chapter selection soft key. 3 Press the [B–DSP] chapter selection soft key. Then, the B–axis operation state is
  • Page 68011. SETTING AND DISPLAYING DATA OPERATION B–62754EN/01 11.3 This section describes the screens displayed by pressing function key SCREENS DISPLAYED PROG in the EDIT mode. Function key PROG in the EDIT mode can BY FUNCTION KEY pro PROG display the program editing screen and the program display screen
  • Page 681B–62754EN/01 OPERATION 11. SETTING AND DISPLAYING DATA 11.3.1 Displays the number of registered programs, memory used, and a list of Displaying Memory registered programs. Used and a List of Programs Procedure for displaying memory used and a list of programs 1 Select the EDIT mode. For the two–path
  • Page 68211. SETTING AND DISPLAYING DATA OPERATION B–62754EN/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 683B–62754EN/01 OPERATION 11. SETTING AND DISPLAYING DATA D Order in which programs Immediately after all programs are cleared (by turning on the power while are registered pressing the DELETE key), each program is registered after the last program in the list. If some programs in the list were deleted
  • Page 68411. SETTING AND DISPLAYING DATA OPERATION B–62754EN/01 11.3.2 In two–path control, the programs for both tool posts can be displayed and Two–path edited on the same screen when bit 0 (DHD) of parameter No. 3106 is set to 1. simultaneous editing The name of each tool post is displayed above the corre
  • Page 685B–62754EN/01 OPERATION 11. SETTING AND DISPLAYING DATA Explanations D Shared screen and When the selected tool post is in EDIT mode, pressing the [PRGRM] soft individual screen key displays a shared screen which shows the program for the first tool post on the left and that for the second tool post
  • Page 68611. SETTING AND DISPLAYING DATA OPERATION B–62754EN/01 Individual screen (14″ type screen on the 14″CRT) PROGRAM O1234 N00010 O1234 ; N10 G00 ; N20 X100.0 ; N30 X200.0 ; N40 X300.0 Z300.0 ; N50 X400.0 ; N60 X500.0 ; N70 M02 ; % >_ EDIT STRT MIN FIN ALM 17:25:01 HEAD1 [ ][ ][ ][ ][ ][ ] [PRGRM][ LIB
  • Page 687B–62754EN/01 OPERATION 11. SETTING AND DISPLAYING DATA 11.3.3 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 68811. SETTING AND DISPLAYING DATA OPERATION B–62754EN/01 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 689B–62754EN/01 OPERATION 11. SETTING AND DISPLAYING DATA [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 69011. SETTING AND DISPLAYING DATA OPERATION B–62754EN/01 11.4 Press function key OFFSET SETTING to display or set tool compensation values and SCREENS DISPLAYED other data. BY FUNCTION KEY off OFFSET SETTING This section describes how to display or set the following data: 1. Tool offset value 2. Setti
  • Page 691B–62754EN/01 OPERATION 11. SETTING AND DISPLAYING DATA 11.4.1 Dedicated screens are provided for displaying and setting tool offset Setting and Displaying values and tool nose radius compensation values. the Tool Offset Value Procedure for setting and displaying the tool offset value and the tool no
  • Page 69211. SETTING AND DISPLAYING DATA OPERATION B–62754EN/01 OFFSET/WEAR O0001 N00000 NO. X Z. R T W 001 0.000 1.000 0.000 0 W 002 1.486 –49.561 0.000 0 W 003 1.486 –49.561 0.000 0 W 004 1.486 0.000 0.000 0 W 005 1.486 –49.561 0.000 0 W 006 1.486 –49.561 0.000 0 W 007 1.486 –49.561 0.000 0 W 008 1.486 –49
  • Page 693B–62754EN/01 OPERATION 11. SETTING AND DISPLAYING DATA D Disabling entry of In some cases, tool wear compensation or tool geometry compensation compensation values values cannot be input because of the settings in bits 0 (WOF) and 1 (GOF) of parameter 3290. The input of tool compensation values from
  • Page 69411. SETTING AND DISPLAYING DATA OPERATION B–62754EN/01 11.4.2 To set the difference between the tool reference position used in Direct Input of Tool programming (the nose of the standard tool, turret center, etc.) and the tool tip position of a tool actually used as an offset value Offset Value Proc
  • Page 695B–62754EN/01 OPERATION 11. SETTING AND DISPLAYING DATA 3–4 Key in the measured value (β). 3–5 Press the soft key [MESURE]. The difference between measured value β and the coordinate is set as the offset value. D Setting of X axis offset 4 Cut surface B in manual mode. value 5 Release the tool in the
  • Page 69611. SETTING AND DISPLAYING DATA OPERATION B–62754EN/01 11.4.3 The direct input function B for tool offset measured is used to set tool Direct Input of tool compensation values and workpiece coordinate system shift values. offset measured B Procedure for setting the tool offset value Tool position of
  • Page 697B–62754EN/01 OPERATION 11. SETTING AND DISPLAYING DATA 9 Set the offset writing signal mode GOQSM to LOW. The writing mode is canceled and the blinking “OFST” indicator light goes off. Procedure for setting the work coordinate system shift amount Tool position offset values can be automatically set
  • Page 69811. SETTING AND DISPLAYING DATA OPERATION B–62754EN/01 11.4.4 By moving the tool until it reaches the desired reference position, the Counter Input of Offset corresponding tool offset value can be set. value Procedure for counter input of offset value 1 Manually move the reference tool to the refere
  • Page 699B–62754EN/01 OPERATION 11. SETTING AND DISPLAYING DATA 11.4.5 The set coordinate system can be shifted when the coordinate system Setting the Workpiece which has been set by a G50 command (or G92 command for G code system B or C) or automatic coordinate system setting is different from Coordinate Sy
  • Page 70011. SETTING AND DISPLAYING DATA OPERATION B–62754EN/01 Explanations D When shift values Shift values become valid immediately after they are set. become valid D Shift values and Setting a command (G50 or G92) for setting a coordinate system disables coordinate system the set shift values. setting co
  • Page 701B–62754EN/01 OPERATION 11. SETTING AND DISPLAYING DATA 11.4.6 Tool position offset values along the Y–axis can be set. Counter input of Y Axis Offset offset values is also possible. Direct input of tool offset value and direct input function B for tool offset measured are not available for the Y–axi
  • Page 70211. SETTING AND DISPLAYING DATA OPERATION B–62754EN/01 3–2 Press soft key [WEAR] to display the tool wear compensation values along the Y–axis. OFFSET/WEAR O0001 N00000 NO. Y W 01 10.000 W 02 0.000 W 03 0.000 W 04 40.000 W 05 0.000 W 06 0.000 W 07 0.000 W 08 0.000 ACTUAL POSITION (RELATIVE) U 100.00
  • Page 703B–62754EN/01 OPERATION 11. SETTING AND DISPLAYING DATA Procedure for counter input of the offset value To set relative coordinates along the Y–axis as offset values: 1 Move the reference tool to the reference point. 2 Reset relative coordinate Y to 0 (see subsec. III–11.1.2). 3 Move the tool for whi
  • Page 70411. SETTING AND DISPLAYING DATA OPERATION B–62754EN/01 11.4.7 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 705B–62754EN/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 70611. SETTING AND DISPLAYING DATA OPERATION B–62754EN/01 11.4.8 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 707B–62754EN/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 70811. SETTING AND DISPLAYING DATA OPERATION B–62754EN/01 11.4.9 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 709B–62754EN/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 71011. SETTING AND DISPLAYING DATA OPERATION B–62754EN/01 11.4.10 Displays the workpiece origin offset for each workpiece coordinate Displaying and Setting system (G54 to G59) and external workpiece origin offset. The workpiece origin offset and external workpiece origin offset can be set on this scree
  • Page 711B–62754EN/01 OPERATION 11. SETTING AND DISPLAYING DATA 11.4.11 This function is used to compensate for the difference between the Input of measured programmed workpiece coordinate system and the actual workpiece coordinate system. The measured offset for the origin of the workpiece workpiece origin
  • Page 71211. SETTING AND DISPLAYING DATA OPERATION B–62754EN/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) Z 0.000 (G55)Z 0.000 01 X 0.000 03 X 0.000 (G54) Z 0.000 (G56
  • Page 713B–62754EN/01 OPERATION 11. SETTING AND DISPLAYING DATA 11.4.12 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 Ma
  • Page 71411. SETTING AND DISPLAYING DATA OPERATION B–62754EN/01 11.4.13 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 715B–62754EN/01 OPERATION 11. SETTING AND DISPLAYING DATA 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 5 key together with an arrow key to perform manual continuous rapid
  • Page 71611. SETTING AND DISPLAYING DATA OPERATION B–62754EN/01 11.4.14 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 To
  • Page 717B–62754EN/01 OPERATION 11. SETTING AND DISPLAYING DATA 7 To reset the tool data, move the cursor on the group to reset, then press the [(OPRT)], [CLEAR], and [EXEC] soft keys in this order. All execution data for the group indicated by the cursor is cleared together with the marks (@, #, or *). Expl
  • Page 71811. SETTING AND DISPLAYING DATA OPERATION B–62754EN/01 D      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 0044 0074 0000 0000 00
  • Page 719B–62754EN/01 OPERATION 11. SETTING AND DISPLAYING DATA 11.4.15 Setting and Displaying B–axis Tool Compensation Setting and displaying B–axis tool compensation 1 Press the OFFSET SETTING function key. 2 Press the continuous menu key several times. Then, press the [OFST.B] chapter selection key. D Whe
  • Page 72011. SETTING AND DISPLAYING DATA OPERATION B–62754EN/01 5 Enter the value, then press the INPUT key. Explanations The offset can be set to a value in the following valid data ranges. Offset Metric input Inch input IS–B –999.999 to 999.999 –99.9999 to 99.9999 IS–C –999.9999 to 999.9999 –99.99999 to 99
  • Page 721B–62754EN/01 OPERATION 11. SETTING AND DISPLAYING DATA 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 DISPLAYED utilize the characteristics of the servo motor or other parts. BY FUNCTION KEY s
  • Page 72211. SETTING AND DISPLAYING DATA OPERATION B–62754EN/01 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 723B–62754EN/01 OPERATION 11. SETTING AND DISPLAYING DATA 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 72411. SETTING AND DISPLAYING DATA OPERATION B–62754EN/01 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 725B–62754EN/01 OPERATION 11. SETTING AND DISPLAYING DATA Procedure for displaying and setting the pitch error compensation data 1 Set the following parameters: D Number of the pitch error compensation point at the reference position (for each axis): Parameter 3620 D Number of the pitch error compensat
  • Page 72611. SETTING AND DISPLAYING DATA OPERATION B–62754EN/01 11.6 The program number, sequence number, and current CNC status are always displayed on the screen except when the power is turned on, a DISPLAYING THE system alarm occurs, or the PMC screen is displayed. PROGRAM NUMBER, If data setting or the
  • Page 727B–62754EN/01 OPERATION 11. SETTING AND DISPLAYING DATA 11.6.2 The current mode, automatic operation state, alarm state, and program Displaying the Status editing state are displayed on the next to last line on the CRT screen allowing the operator to readily understand the operation condition of the
  • Page 72811. SETTING AND DISPLAYING DATA OPERATION B–62754EN/01 D (6) Alarm status ALM : Indicates that an alarm is issued. (Blinks in reversed display.) BAT : Indicates that the battery is low. (Blinks in reversed display.) Space : Indicates a state other than the above. D (7) Current time hh:mm:ss – Hours,
  • Page 729B–62754EN/01 OPERATION 11. SETTING AND DISPLAYING DATA 11.7 By pressing the MESSAGE function key, data such as alarms, alarm history data, and external messages can be displayed. SCREENS DISPLAYED For information relating to alarm display, see Section III.7.1. For BY FUNCTION KEY me MESSAGE informat
  • Page 73011. SETTING AND DISPLAYING DATA OPERATION B–62754EN/01 Explanations D Updating external When an external operator message number is specified, updating of the operator message external operator message history data is started; this updating is history data continued until a new external operator mes
  • Page 731B–62754EN/01 OPERATION 11. SETTING AND DISPLAYING DATA 11.8 Displaying the same characters in the same positions on the screen causes a CRT or LCD to degrade relatively quickly. To help prevent this, the CLEARING THE screen can be cleared by pressing specific keys. It is also possible to SCREEN spec
  • Page 73211. SETTING AND DISPLAYING DATA OPERATION B–62754EN/01 11.8.2 The CNC screen is automatically cleared if no keys are pressed during the Automatic Erase CRT period (in minutes) specified with a parameter. The screen is restored by pressing any key. Screen Display Procedure for Automatic Erase CRT Scr
  • Page 733B–62754EN/01 OPERATION 12. GRAPHICS FUNCTION 12 GRAPHICS FUNCTION The graphic function indicates how the tool moves during automatic operation or manual operation. 715
  • Page 73412. GRAPHICS FUNCTION OPERATION B–62754EN/01 12.1 It is possible to draw the programmed tool path on the 9–inch or 14–inch CRT screen, which makes it possible to check the progress of machining, GRAPHICS DISPLAY while observing the path on the CRT screen. In addition, it is also possible to enlarge/
  • Page 735B–62754EN/01 OPERATION 12. GRAPHICS FUNCTION X 0001 00021 X 200.000 Z 200.000 Z >_ MEM STRT **** FIN 12:12:24 [ G.PRM ][ ][ GRAPH ][ ZOOM ][ (OPRT) ] One–path lathe control HEAD1 O0001 N00021 HEAD2 O0020 N00020 X1 X1 200.000 X2 X2 220.000 Z1 200.000 Z2 160.000 62.5 Z1 62.5 Z2 >_ MEM STRT **** FIN 12
  • Page 73612. GRAPHICS FUNCTION OPERATION B–62754EN/01 D Magnifying drawings Part of a drawing on the screen can be magnified. 8 Press the GRAPH function key, then the [ZOOM] soft key to display a magnified drawing. The magnified–drawing screen contains two zoom cursors (J) X S 0.55 0001 00021 W150000 X 200.0
  • Page 737B–62754EN/01 OPERATION 12. GRAPHICS FUNCTION Explanation D Setting drawing Parameter No. 6510 is used to set a drawing coordinate system for using coordinate systems the graphic function. The relationships between setting values and drawing coordinate systems are indicated below. With two–path contr
  • Page 73812. GRAPHICS FUNCTION OPERATION B–62754EN/01 GRAPHIC CENTER (X, Z), SCALE (S) A screen center coordinate and drawing scale are displayed. A scale screen center coordinate are automatically calculated so that a figure set in WORK LENGTH (a) and WORK DIAMETER (b) can be fully displayed on the screen.
  • Page 739B–62754EN/01 OPERATION 12. GRAPHICS FUNCTION D Drawing for tool posts 1 For the two–path lathe control, the screen is split vertically, and each half and 2 (two–path lathe screen displays the tool path for either tool post. control) HEAD1 O0001 N00021 HEAD2 O0020 N00020 X1 X1 200.000 X2 X2 220.000 Z
  • Page 74013. HELP FUNCTION OPERATION B–62754EN/01 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 741B–62754EN/01 OPERATION 13. HELP FUNCTION 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 74213. HELP FUNCTION OPERATION B–62754EN/01 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) How t
  • Page 743B–62754EN/01 OPERATION 13. HELP FUNCTION >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 (g) is displayed. On each OPERATION METHOD screen, it is possible to ch
  • Page 74413. HELP FUNCTION OPERATION B–62754EN/01 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 LIMIT (No. 1300∼) * FEED RATE (No. 1400∼) * ACCEL/DECELERATION CTRL (No. 16
  • Page 745IV. MAINTENANC
  • Page 746B–62754EN/01 MAINTENANCE 1. METHOD OF REPLACING BATTERY 1 METHOD OF REPLACING BATTERY This chapter describes the method of replacing batteries as follows. 1.1 REPLACING CNC BATTERY FOR MEMORY BACK–UP 1.2 REPLACING BATTERIES FOR ABSOLUTE PULSE CODER 1.3 REPLACING BATTERY FOR ABSOLUTE PULSE CODER ( S
  • Page 7471. METHOD OF REPLACING BATTERY MAINTENANCE B–62754EN/01 1.1 Replace CNC battery (lithium battery) for memory back–up by the following procedure. REPLACING CNC Prepare lithium battery A02B–0200–K102 in advance. BATTERY FOR MEMORY BACK–UP Procedure for replacing CNC battery for memory back–up 1 Turn m
  • Page 748B–62754EN/01 MAINTENANCE 1. METHOD OF REPLACING BATTERY 1.2 Replace the alkaline batteries for the absolute pulse coder, used by the servo amplifier, as described below. REPLACING Prepare 4 alkaline batteries (UM–1type) commercially available in BATTERIES FOR advance. ABSOLUTE PULSE CODER Procedure
  • Page 7491. METHOD OF REPLACING BATTERY MAINTENANCE B–62754EN/01 1.3 In case that the  series servo drive is used, the battery for absolute pulse coder could be provided on the  series servo amplifier module instead REPLACING of the battery case as shown in 1.3. In this case the battery is not an BATTERIES
  • Page 750APPENDI
  • Page 751B–62754EN/01 APPENDIX A. TAPE CODE LIST A TAPE CODE LIST ISO code EIA code Meaning Character 8 7 6 5 4 3 2 1 Character 8 7 6 5 4 3 2 1 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 ff Number 3 4 f ff f f 4 f f Number 4 5 ff f f f 5 f f f f Number 5 6 ff f
  • Page 752A. TAPE CODE LIST APPENDIX B–62754EN/01 ISO code EIA code Meaning Character 8 7 6 5 4 3 2 1 Character 8 7 6 5 4 3 2 1 Without custom With custom macro B macro B DEL fffff f fff Del ffff f fff × × NUL f Blank f × × BS f f f BS f f f f × × HT f f f Tab fff f ff × × LF or NL f f f CR or EOB f f CR f f
  • Page 753B. LIST OF FUNCTIONS AND B–62754EN/01 APPENDIX TAPE FORMAT 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 and Z. x = 1st basic axis (X usually) z = 2nd basic axi
  • Page 754B. LIST OF FUNCTIONS AND TAPE FORMAT APPENDIX B–62754EN/01 (2/3) Functions Illustration Tape format Reference position return IP G27 IP _ ; check (G27) Start position Reference position (G28) Reference position return G28 IP _ ; (G28) Intermediate position G30 IP _ ; 2nd, reference position re- IP t
  • Page 755B. LIST OF FUNCTIONS AND B–62754EN/01 APPENDIX TAPE FORMAT (3/3) Functions Illustration Tape format Feed per minute (G98) mm/min inch/min G98 … F_ ; mm/rev inch/rev Feed per revolution (G99) G99 … F_ ; Constant surface speed m/min or feet/min G96 S_ ; control (G96/G97) G97 ; Cancel N (rpm) Chamferin
  • Page 756C. RANGE OF COMMAND VALUE APPENDIX B–62754EN/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 X : 0.0005 mm X : 0.00005 mm Y : 0.001 mm Y : 0.0001 mm Max. progra
  • Page 757B–62754EN/01 APPENDIX C. RANGE OF COMMAND VALUE D In case of inch Increment system input, feed screw is IS–B IS–C inch Least input increment 0.0001 inch 0.00001 inch Least command increment X : 0.00005 inch X : 0.000005 inch Y : 0.0001 inch Y : 0.00001 inch Max. programmable ±9999.9999 inch ±999.999
  • Page 758C. RANGE OF COMMAND VALUE APPENDIX B–62754EN/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 ±99999.999 deg ±9999.9999 deg dimension Max. rapid traverse *1 240000 deg/min 100000 deg/min Feedrate r
  • Page 759B–62754EN/01 APPENDIX D. NOMOGRAPHS D NOMOGRAPHS 743
  • Page 760D. NOMOGRAPHS APPENDIX B–62754EN/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) In
  • Page 761B–62754EN/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 762D. NOMOGRAPHS APPENDIX B–62754EN/01 D.2 SIMPLE CALCULATION OF INCORRECT THREAD LENGTH δ2 δ1 Fig. D.2(a) Incorrect threaded portion Explanations 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      δ 1
  • Page 763B–62754EN/01 APPENDIX D. NOMOGRAPHS D  Nomograph for obtaining approach distance δ1 747
  • Page 764D. NOMOGRAPHS APPENDIX B–62754EN/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 765B–62754EN/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 766D. NOMOGRAPHS APPENDIX B–62754EN/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 o
  • Page 767B–62754EN/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 768E. STATUS WHEN TURNING POWER ON, WHEN CLEAR AND WHEN RESET APPENDIX B–62754EN/01 E STATUS WHEN TURNING POWER ON, WHEN CLEAR AND WHEN RESET Parameter 3402 (CLR) 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). The symb
  • Page 769E. STATUS WHEN TURNING POWER ON, B–62754EN/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 offset × Depending on param- f : MDI mode eter LVK(No.5003#6) Other modes depend on param
  • Page 770F. CHARACTER–TO–CODES CORRESPONDENCE TABLE APPENDIX B–62754EN/01 F CHARACTER–TO–CODES CORRESPONDENCE TABLE Character Code Comment Character Code Comment 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 073
  • Page 771B–62754EN/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 772G. ALARM LIST APPENDIX B–62754EN/01 Number Message Contents 029 ILLEGAL OFFSET VALUE The offset values specified by T code is too large. Modify the program. 030 ILLEGAL OFFSET NUMBER The offset number in T function specified for tool offset is too large. Modify the program. 031 ILLEGAL P COMMAND IN
  • Page 773B–62754EN/01 APPENDIX G. ALARM LIST Number Message Contents 059 PROGRAM NUMBER NOT FOUND In an external program number search or external workpiece number search, a specified program number was not found. Otherwise, a program specified for searching is being edited in background pro- cessing. Check
  • Page 774G. ALARM LIST APPENDIX B–62754EN/01 Number Message Contents 074 ILLEGAL PROGRAM NUMBER The program number is other than 1 to 9999. Modify the program number. 075 PROTECT An attempt was made to register a program whose number was pro- tected. 076 ADDRESS P NOT DEFINED Address P (program number) was n
  • Page 775B–62754EN/01 APPENDIX G. ALARM LIST Number Message Contents 094 P TYPE NOT ALLOWED (COORD P type cannot be specified when the program is restarted. (After the CHG) automatic operation was interrupted, the coordinate system setting operation was performed.) Perform the correct operation according to
  • Page 776G. ALARM LIST APPENDIX B–62754EN/01 Number Message Contents 115 ILLEGAL VARIABLE NUMBER A value not defined as a variable number is designated in the custom macro or in high–speed cycle cutting. The header contents are improper in a high speed cycle cutting. This alarm is given in the following case
  • Page 777B–62754EN/01 APPENDIX G. ALARM LIST Number Message Contents 137 M–CODE & MOVE CMD IN SAME A move command of other axes was specified to the same block as BLK. M–code related to spindle indexing. Modify the program. 138 G SUPERIMPOSED DATA In PMC axis control, the increment for pulse distribution on
  • Page 778G. ALARM LIST APPENDIX B–62754EN/01 Number Message Contents 178 G05 NOT ALLOWED IN G41/G42 G05 was commanded in the G41/G42 mode. MODE Correct the program. 179 PARAM. (NO. 7510) SETTING The number of controlled axes set by the parameter 7510 exceeds ERROR the maximum number. Modify the parameter set
  • Page 779B–62754EN/01 APPENDIX G. ALARM LIST Number Message Contents 225 SYNCHRONOUS/MIXED CONTROL This alarm is generated in the following circumstances. (Searched for ERROR during synchronous and mixed control command. (only with two path control only) 1 When there is a mistake in axis number parameter set
  • Page 780G. ALARM LIST APPENDIX B–62754EN/01 Number Message Contents 5031 ILLEGAL COMMAND (G100, G102, While a registration start command (G101, G102, or G103) was being G103) executed, another registration start command was specified for the B–axis. 5032 NEW PRG REGISTERED IN B–AXS While the machine was mov
  • Page 781B–62754EN/01 APPENDIX G. ALARM LIST Number Message Contents 5073 NO DECIMAL POINT A decimal point is not specified for a command for which a decimal point must be specified. 5074 ADDRESS DUPLICATION ERROR The same address appears more than once in a block. Alternatively, a block contains two or more
  • Page 782G. ALARM LIST APPENDIX B–62754EN/01 4) Serial pulse coder (SPC) alarms When either of the following alarms is issued, a possible cause is a faulty serial pulse coder or cable. Number Message Contents 350 SPC ALARM: n AXIS PULSE COD- The n axis (axis 1–8) pulse coder has a fault. Refer to diagnosis d
  • Page 783B–62754EN/01 APPENDIX G. ALARM LIST 5) Servo alarms Number Message Contents 400 SERVO ALARM: n AXIS The n–th axis (axis 1–8) overload signal is on. Refer to diagnosis OVERLOAD display No. 201 for details. 401 SERVO ALARM: n AXIS VRDY OFF The n–th axis (axis 1–8) servo amplifier READY signal (DRDY) w
  • Page 784G. ALARM LIST APPENDIX B–62754EN/01 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 785B–62754EN/01 APPENDIX G. ALARM LIST 6) Over travel alarms Number Message Contents 500 OVER TRAVEL : +n Exceeded the n–th axis (axis 1–8) + side stored stroke limit I. (Parameter No.1320 or 1326 Notes) 501 OVER TRAVEL : –n Exceeded the n–th axis (axis 1–8) – side stored stroke limit I. (Parameter No.
  • Page 786G. ALARM LIST APPENDIX B–62754EN/01 8) Rigid tapping alarm Number Message Contents 740 RIGID TAP ALARM : EXCESS During rigid tapping, the position deviation of the spindle in the stop ERROR state exceeded the setting. 741 RIGID TAP ALARM : EXCESS During rigid tapping, the position deviation of the s
  • Page 787B–62754EN/01 APPENDIX G. ALARM LIST Number Message Contents 772 SPINDLE–3 MODE CHANGE Same as for alarm No. 752 (for the third spindle) ERROR 774 SPINDLE–3 ABNORMAL TORQUE Same as for alarm No. 754 (for the third spindle) ALM D The details of spindle The details of spindle alarm No. 750 are displaye
  • Page 788G. ALARM LIST APPENDIX B–62754EN/01 Number Message Contents 924 SERVO MODULE SETTING ER- The digital servo module is not installed. ROR Check that the servo control module or servo interface module on the main CPU or option 2 board is mounted securely. 926 SERVO ALARM (1/2/3/4/5/6 AXIS) Servo alarm
  • Page 789B–62754EN/01 APPENDIX G. ALARM LIST Num- Meaning Description Remedy ber AL–09 Excessive load on main cir- Detects abnormal temperature rise of power tran- Cool radiator then reset cuit section sistor radiator. alarm. AL–10 Low input voltage Detects drop in input power supply voltage. Remove cause, t
  • Page 790G. ALARM LIST APPENDIX B–62754EN/01 Num- Meaning Description Remedy ber AL–33 Insufficient DC link section Detects insufficient charging of direct current pow- Remove cause, then reset charging er supply voltage in power circuit section when alarm. magnetic contactor in amplifier is turned on (such
  • Page 791B–62754EN/01 APPENDIX G. ALARM LIST Num- Meaning Description Remedy ber AL–53 ITP signal abnormality II Detects abnormality in synchronization signal (ITP Remove cause, then reset signal) with CNC (such as loss of ITP signal). alarm. AL–54 Overload current alarm Detects that excessive current flowed
  • Page 792H. OPERATION OF PORTABLE TAPE READER APPENDIX B–62754EN/01 H OPERATION OF PORTABLE TAPE READER Portable tape reader is the device which inputs the NC program and the data on the paper tape to CNC. D Names and descriptions of each section 3. Capstan roller 11. Cable storage 6. Handle 4. Control switc
  • Page 793H. OPERATION OF PORTABLE B–62754EN/01 APPENDIX TAPE READER Table 1 Description of Each Section No. Name Descriptions An LED (Light emitting diode) is mounted for each channel and for the feed hole (9 diodes in total). A built–in Stop Shoe functions to decelerate the tape. The light source is attract
  • Page 794H. OPERATION OF PORTABLE TAPE READER APPENDIX B–62754EN/01 No. Name Descriptions When the tape reader is raised, the latch mechanism is activated to fix the tape reader. Thus, the tape reader is not lowered. The latch is locked with the lowering lock lever. The latch is therefore not unlocked even w
  • Page 795H. OPERATION OF PORTABLE B–62754EN/01 APPENDIX TAPE READER 12 Lower the Light Source Storage 13 Store the cables in the cable storage 11. 14 Push the lowering lock lever 10 at both sides down. 15 Raise the tape reader with the handle 6 to unlock the latch, then gently lower it. 16 Lock the cover loc
  • Page 796B–62754EN/01 INDEX ƠNumbersơ Background editing, 608 Balance cut (G68, G69), 383 14″ color CRT/MDI (horizontal type), 429 Block, 27 14″ color CRT/MDI (vertical type), 430 Branch and repetition, 290 14″ CRT and 9.5″ LCD soft key configuration, 460 7.2″ monochrome LCD (separate type), 432 8.4″ color L
  • Page 797INDEX B–62754EN/01 Copying an entire program, 599 Display procedure for the current position screen with the relative coordinate system, 633 Copying part of a program, 600 Displaying a program list for a specified group, 669 Corner circular interpolation function (G39), 263 Displaying and entering s
  • Page 798B–62754EN/01 INDEX Example of inserting T15, 588 Help screen, 456 Example of making a tool post interference check, 381 High speed cycle cutting, 340 Execution of tool post interference checking, 379 HNGx, 476 Explanation of the keyboard, 438 How to indicate command dimensions for moving the tool –
  • Page 799INDEX B–62754EN/01 ƠM ơ Multistage skip, 72 M code, 507 ƠNơ M code group check function, 126 Machine coordinate system, 88 Name of axes, 33 Machine lock and auxiliary function lock, 522 NC statements, 289 Macro call, 295, 495 Next block display screen, 648 Macro call using an M code, 303 Nomographs,
  • Page 800B–62754EN/01 INDEX ƠP ơ Procedure for displaying overall position display screen, 636 Procedure for displaying run time and parts count on the current P–type restart, 501 position display screen, 641 Parameter table screen, 725 Procedure for displaying the current block display screen, 647 Part draw
  • Page 801INDEX B–62754EN/01 Program of tool life data, 118 ƠS ơ Program registration, 494 S5–digit command, 106 Program registration in the background, 562 Safety functions, 531 Program restart, 496 Sample program, 306 Program screen, 444, 446, 448, 449, 450, 624, 625 Scheduling function, 504 Program screen
  • Page 802B–62754EN/01 INDEX Setting the floating reference position, 642 Stamping the machining time, 653 Setting the forbidden area for the two–path control, 537 State in which an auxiliary function is being executed, 709 Setting the tape, 778 Status when turning power on, when clear and when reset, 752 Set
  • Page 803INDEX B–62754EN/01 Tool movement in offset mode cancel, 241 ƠV ơ Tool movement in start–up, 226 Variable–lead thread cutting (G34), 63 Tool movement range – stroke, 30 Variables, 275 Tool offset, 202 Tool path at corner, 748 Tool post interface check, 373 Tool selection, 117, 203 ƠWơ Tool wear offse
  • Page 804Revision Record FANUC Series 16/18/160/180–TC OPERATOR’S MANUAL (B–62754E/01) 01 Dec., ’95 Edition Date Contents Edition Date Contents
  • Page 805· No part of this manual may be reproduced in any form. · All specifications and designs are subject to change without notice.
  • Page 806TECHNICAL REPORT NO.TMN 01/058E Date Apr. 12, 2001 General Manager of Software Development Center FANUC Series 16/18/160/180-TC OPERATOR’S MANUAL Modification of “Linear interpolation positioning” 1. Communicate this report to : ¤ Your information ¤ GE Fanuc-N, GE Fanuc-E FANUC Robotics CINCINATI MI
  • Page 807FANUC Series 16/18/160/180-TC OPERATOR’S MANUAL Modification of “Linear interpolation positioning” 1. Type of applied technical documents Name FANUC Series 16/18/160/180-TC OPERATOR'S MANUAL Spec. No. / B-62754EN/01 Version 2. Summary of change Group Name / Outline New, Add., Applicable Correct, Dat
  • Page 8081 Application This report is applied to following CNCs. Series 16-TC Series 18-TC Series 160-TC Series 180-TC This report is a supplement for a following manual. FANUC Series 16/18/160/180-TC OPERATOR'S MANUAL (B-62754EN/01) 2 Outline In the above-mentioned manuals, the explanation of “4.1 POSITIONI
  • Page 809TECHNICAL REPORT NO.TMN 01/083E Date Jun. 8, 2001 General Manager of Software Development Center FANUC Series 16/18/160/180 - TC/MC OPERATOR’S MANUAL FANUC Series 16i/18i/160i/180i/160is/180is - TA/MA OPERATOR’S MANUAL FANUC Series 21i/210i/210is - TA/MA OPERATOR’S MANUAL Changing of “Linear interpo
  • Page 810FANUC Series 16/18/160/180-TC OPERATOR’S MANUAL Changing of “Linear interpolation positioning” explanation 1. Type of applied technical documents Name FANUC Series 16/18/160/180-TC OPERATOR'S MANUAL Spec. No. / B-62754EN/01 Version 2. Summary of change Group Name / Outline New, Add., Applicable Corr
  • Page 8111 Application This report is applied to following CNCs. Series 16-TC Series 18-TC Series 160-TC Series 180-TC This report is a supplement for a following manual. FANUC Series 16/18/160/180-TC OPERATOR'S MANUAL (B-62754EN/01) 2 Outline In the above-mentioned manuals, the explanation of “4.1 POSITIONI
  • Page 8123 Details The explanation of “4.1 POSITIONING (G00) Linear interpolation positioning” is changed as follows. (Before change) Linear interpolation positioning The tool path is the same as in linear interpolation (G01). The tool is positioned within the shortest possible time at a speed that is not mo