Series 21i/210i - TB Operators manual Page 1

Operators manual
TECHNOLOGY AND MORE
GE Fanuc Automation Europe
Series 21 i, 210 i, -
Model B
B-63604 EN/ 01
Computer Numerical Controls
Operator's Manual

Contents Summary of Series 21i/210i - TB Operators manual

  • Page 1GE Fanuc Automation Europe Computer Numerical Controls Series 21 i, 210 i, - Model B Operator's Manual B-63604 EN/ 01 TECHNOLOGY AND MORE
  • Page 2Ȧ No part of this manual may be reproduced in any form. Ȧ All specifications and designs are subject to change without notice. In this manual we have tried as much as possible to describe all the various matters. However, we cannot describe all the matters which must not be done, or which cannot be
  • Page 3SAFETY PRECAUTIONS This section describes the safety precautions related to the use of CNC units. It is essential that these precautions be observed by users to ensure the safe operation of machines equipped with a CNC unit (all descriptions in this section assume this configuration). Note that some
  • Page 4SAFETY PRECAUTIONS B–63604EN/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–63604EN/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–63604EN/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–63604EN/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–63604EN/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–63604EN/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–63604EN/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–63604EN/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–63604EN/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–63604EN/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 14
  • Page 15B–63604EN/01 Table of Contents SAFETY PRECAUTIONS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . s–1 I. GENERAL 1. GENERAL . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3 1.
  • Page 16Table of Contents B–63604EN/02 4.11 MULTISTAGE SKIP . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 63 4.12 TORQUE LIMIT SKIP (G31 P99) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
  • Page 17B–63604EN/01 Table of Contents 11.1 AUXILIARY FUNCTION (M FUNCTION) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 114 11.2 MULTIPLE M COMMANDS IN A SINGLE BLOCK . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 115 11.3 THE SECOND AUXILIARY
  • Page 18Table of Contents B–63604EN/02 14.3.1 General . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 207 14.3.2 Tool Movement in Start–up . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
  • Page 19B–63604EN/01 Table of Contents 18.FUNCTIONS FOR HIGH SPEED CUTTING . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 318 18.1 REMOTE BUFFER . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 319 18.2 HIGH–SPEED REMO
  • Page 20Table of Contents B–63604EN/02 2.3.2 Function Keys . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 383 2.3.3 Soft Keys . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
  • Page 21B–63604EN/01 Table of Contents 6. SAFETY FUNCTIONS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 471 6.1 EMERGENCY STOP . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 472
  • Page 22Table of Contents B–63604EN/02 9.1.3 Inserting a Word . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 562 9.1.4 Altering a Word . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
  • Page 23B–63604EN/01 Table of Contents 11.4 SCREENS DISPLAYED BY FUNCTION KEY OFFSET SETTING ................................... 625 11.4.1 Setting and Displaying the Tool Offset Value . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 626 11.4.2 Direct Input of Tool Off
  • Page 24Table of Contents B–63604EN/02 B. LIST OF FUNCTIONS AND TAPE FORMAT . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 706 C. RANGE OF COMMAND VALUE . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 710 D. NOMOGRAPHS . . . . . . . . . . . . . . . . . . . .
  • Page 25I. GENERA
  • Page 26
  • Page 27B–63604EN/01 GENERAL 1. GENERAL 1 GENERAL This manual consists of the following parts: About this manual I. GENERAL Describes chapter organization, applicable models, related manuals, and notes for reading this manual. II. PROGRAMMING Describes each function: Format used to program functions in the
  • Page 281. GENERAL GENERAL B–63604EN/01 Special symbols This manual uses the following symbols: D IP_ Indicates a combination of axes such as X__ Y__ Z (used in PROGRAMMING.). D ; Indicates the end of a block. It actually corresponds to the ISO code LF or EIA code CR. Related manuals of The following table
  • Page 29B–63604EN/01 GENERAL 1. GENERAL Specification Manual name number PMC PMC Ladder Language PROGRAMMING MANUAL B–61863E PMC C Language PROGRAMMING MANUAL B–61863E–1 Network FANUC I/O Link–II CONNECTION MANUAL B–62714EN Profibus–DP Board OPERATOR’S MANUAL B–62924EN DeviceNet Board OPERATOR’S MANUAL B–63
  • Page 301. GENERAL GENERAL B–63604EN/01 1.1 When machining the part using the CNC machine tool, first prepare the program, then operate the CNC machine by using the program. GENERAL FLOW OF OPERATION OF CNC 1) First, prepare the program from a part drawing to operate the CNC machine tool. MACHINE TOOL How t
  • Page 31B–63604EN/01 GENERAL 1. GENERAL 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. 7
  • Page 321. GENERAL GENERAL B–63604EN/01 1.2 CAUTIONS ON CAUTION READING THIS 1 The function of an CNC machine tool system depends not MANUAL only on the CNC, but on the combination of the machine tool, its magnetic cabinet, the servo system, the CNC, the operator’s panels, etc. It is too difficult to descri
  • Page 33II. PROGRAMMIN
  • Page 34
  • Page 35B–63604EN/01 PROGRAMMING 1. GENERAL 1 GENERAL 11
  • Page 361. GENERAL PROGRAMMING B–63604EN/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 37B–63604EN/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 381. GENERAL PROGRAMMING B–63604EN/01 X Tool Program G32X––Z––F––; Workpiece Z F Fig. 1.1 (f) Taper thread cutting 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 Feed function Feedrates can be specified by usi
  • Page 39B–63604EN/01 PROGRAMMING 1. GENERAL 1.3 PART DRAWING AND TOOL MOVEMENT 1.3.1 A CNC machine tool is provided with a fixed position. Normally, tool Reference Position change and programming of absolute zero point as described later are performed at this position. This position is called the reference
  • Page 401. GENERAL PROGRAMMING B–63604EN/01 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 41B–63604EN/01 PROGRAMMING 1. GENERAL 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 421. GENERAL PROGRAMMING B–63604EN/01 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 43B–63604EN/01 PROGRAMMING 1. GENERAL 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–8.1). D Absolute command The tool moves to a point at
  • Page 441. GENERAL PROGRAMMING B–63604EN/01 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 45B–63604EN/01 PROGRAMMING 1. GENERAL 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 461. GENERAL PROGRAMMING B–63604EN/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 and the number is specified in the program, the corresponding tool is TOOL USED FOR selected. VARI
  • Page 47B–63604EN/01 PROGRAMMING 1. GENERAL 1.7 A group of commands given to the CNC for operating the machine is called the program. By specifying the commands, the tool is moved along PROGRAM a straight line or an arc, or the spindle motor is turned on and off. CONFIGURATION In the program, specify the co
  • Page 481. GENERAL PROGRAMMING B–63604EN/01 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 49B–63604EN/01 PROGRAMMING 1. GENERAL D Main program and When machining of the same pattern appears at many portions of a subprogram program, a program for the pattern is created. This is called the subprogram. On the other hand, the original program is called the main program. When a subprogram execu
  • Page 501. GENERAL PROGRAMMING B–63604EN/01 1.8 COMPENSATION FUNCTION 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 function in accord
  • Page 51B–63604EN/01 PROGRAMMING 1. GENERAL 1.9 Limit switches are installed at the ends of each axis on the machine to prevent tools from moving beyond the ends. The range in which tools can TOOL MOVEMENT move is called the stroke. Besides the stroke limits, data in memory can RANGE – STROKE be used to def
  • Page 522. CONTROLLED AXES PROGRAMMING B–63604EN/01 2 CONTROLLED AXES 28
  • Page 53B–63604EN/01 PROGRAMMING 2. CONTROLLED AXES 2.1 CONTROLLED AXES Item 21i–TB 210i–TB Number of basic controlled axes 2 axes Controlled axis expansion (total) Max. 4 axes (Included in Cs axis) Number of basic simultaneously 2 axes controlled axes Simultaneously controlled axis expansion Max. 4 axes (t
  • Page 542. CONTROLLED AXES PROGRAMMING B–63604EN/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–63604EN/01 PROGRAMMING 2. CONTROLLED AXES An axis in the metric system cannot be used together with a one in the inch system, or vice versa. In addition, some features such as circular interpolation and tool–nose radius compensation cannot be used for both axes in different units. For the unit to
  • Page 563. PREPARATORY FUNCTION (G FUNCTION) PROGRAMMING B–63604EN/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 in
  • Page 573. PREPARATORY FUNCTION B–63604EN/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–63604EN/01 Table 3 G code list (1/3) G code Group Function A B C G00 G00 G00 Positioning (Rapid traverse) G01 G01 G01 Linear interpolation (Cutting feed) 01 G02 G02 G02 Circular interpolation CW G03 G03 G03 Circular interpolation CCW G04 G04 G04 Dwe
  • Page 593. PREPARATORY FUNCTION B–63604EN/01 PROGRAMMING (G FUNCTION) Table 3 G code list (2/3) G code Group Function A B C G52 G52 G52 Local coordinate system setting 00 G53 G53 G53 Machine coordinate system setting G54 G54 G54 Workpiece coordinate system 1 selection G55 G55 G55 Workpiece coordinate system
  • Page 603. PREPARATORY FUNCTION (G FUNCTION) PROGRAMMING B–63604EN/01 Table 3 G code list (3/3) G code Group Function A B C G100 G100 G100 B axis control–Program registration completion G101 G101 G101 B axis control–First program registration start G102 G102 G102 00 B axis control–Second program registratio
  • Page 61B–63604EN/01 PROGRAMMING 4. INTERPOLATION FUNCTIONS 4 INTERPOLATION FUNCTIONS 37
  • Page 624. INTERPOLATION FUNCTIONS PROGRAMMING B–63604EN/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–63604EN/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–63604EN/01 4.2 Tools can move along a line. LINEAR INTERPOLATION (G01) Format G01 IP_F_; IP_: For an absolute command, the coordinates of an end point , and for an incremental command, the distance the tool moves. F_: Speed of tool feed (Feedrate) Explanation
  • Page 65B–63604EN/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–63604EN/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–63604EN/01 PROGRAMMING 4. INTERPOLATION FUNCTIONS D Arc radius The distance between an arc and the center of a circle that contains the arc can be specified using the radius, R, of the circle instead of I, J, and K. In this case, one arc is less than 180°, and the other is more than 180° are consi
  • Page 684. INTERPOLATION FUNCTIONS PROGRAMMING B–63604EN/01 D Specifying a semicircle If an arc having a central angle approaching 180 is specified with R, the with R calculation of the center coordinates may produce an error. In such a case, specify the center of the arc with I, J, and K. Examples D Comman
  • Page 69B–63604EN/01 PROGRAMMING 4. INTERPOLATION FUNCTIONS 4.4 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 704. INTERPOLATION FUNCTIONS PROGRAMMING B–63604EN/01 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 71B–63604EN/01 PROGRAMMING 4. INTERPOLATION FUNCTIONS 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 724. INTERPOLATION FUNCTIONS PROGRAMMING B–63604EN/01 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 73B–63604EN/01 PROGRAMMING 4. INTERPOLATION FUNCTIONS 4.5 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 744. INTERPOLATION FUNCTIONS PROGRAMMING B–63604EN/01 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 75B–63604EN/01 PROGRAMMING 4. INTERPOLATION FUNCTIONS 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 764. INTERPOLATION FUNCTIONS PROGRAMMING B–63604EN/01 Examples Example of a Cylindrical Interpolation Program C O0001 (CYLINDRICAL INTERPOLATION ); N01 G00 Z100.0 C0 ; N02 G01 G18 W0 H0 ; N03 G07.1 H57299 ; Z R N04 G01 G42 Z120.0 D01 F250 ; N05 C30.0 ; N06 G02 Z90.0 C60.0 R30.0 ; N07 G01 Z70.0 ; N08 G
  • Page 77B–63604EN/01 PROGRAMMING 4. INTERPOLATION FUNCTIONS 4.6 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 784. INTERPOLATION FUNCTIONS PROGRAMMING B–63604EN/01 X Tapered thread LX α Z LZ αx45° lead is LZ αy45° lead is LX Fig. 4.6 (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 79B–63604EN/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 804. INTERPOLATION FUNCTIONS PROGRAMMING B–63604EN/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 81B–63604EN/01 PROGRAMMING 4. INTERPOLATION FUNCTIONS 4.7 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.7 Variable–lead screw Format G34 IP_F_K_; IP : End point F : Lead in lo
  • Page 824. INTERPOLATION FUNCTIONS PROGRAMMING B–63604EN/01 4.8 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, discontinu
  • Page 83B–63604EN/01 PROGRAMMING 4. INTERPOLATION FUNCTIONS 4.9 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–thread
  • Page 844. INTERPOLATION FUNCTIONS PROGRAMMING B–63604EN/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 ; 60
  • Page 85B–63604EN/01 PROGRAMMING 4. INTERPOLATION FUNCTIONS 4.10 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 864. INTERPOLATION FUNCTIONS PROGRAMMING B–63604EN/01 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.10(a) The next block is an incremental command D The next block to
  • Page 87B–63604EN/01 PROGRAMMING 4. INTERPOLATION FUNCTIONS 4.11 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 884. INTERPOLATION FUNCTIONS PROGRAMMING B–63604EN/01 4.12 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 89B–63604EN/01 PROGRAMMING 4. INTERPOLATION FUNCTIONS 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 905. FEED FUNCTIONS PROGRAMMING B–63604EN/01 5 FEED FUNCTIONS 66
  • Page 91B–63604EN/01 PROGRAMMING 5. FEED FUNCTIONS 5.1 The feed functions control the feedrate of the tool. The following two feed functions are available: GENERAL D Feed functions 1. Rapid traverse When the positioning command (G00) is specified, the tool moves at!a rapid traverse feedrate set in the CNC (
  • Page 925. FEED FUNCTIONS PROGRAMMING B–63604EN/01 D Tool path in a cutting If the direction of movement changes between specified blocks during feed cutting feed, a rounded–corner path may result (Fig. 5.1 (b)). X Programmed path Actual tool path 0 Z Fig. 5.1 (b) Example of tool path between two blocks In
  • Page 93B–63604EN/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 945. FEED FUNCTIONS PROGRAMMING B–63604EN/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 95B–63604EN/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 966. REFERENCE POSITION PROGRAMMING B–63604EN/01 6 REFERENCE POSITION A CNC machine tool has a special position where, generally, the tool is exchanged or the coordinate system is set, as described later. This position is referred to as a reference position. 72
  • Page 97B–63604EN/01 PROGRAMMING 6. REFERENCE POSITION 6.1 REFERENCE POSITION RETURN 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
  • Page 986. REFERENCE POSITION PROGRAMMING B–63604EN/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 99B–63604EN/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 1007. COORDINATE SYSTEM PROGRAMMING B–63604EN/01 7 COORDINATE SYSTEM By teaching the CNC a desired tool position, the tool can be moved to the position. Such a tool position is represented by coordinates in a coordinate system. Coordinates are specified using program axes. When two program axes, the X–
  • Page 101B–63604EN/01 PROGRAMMING 7. COORDINATE SYSTEM 7.1 The point that is specific to a machine and serves as the reference of the machine is referred to as the machine zero point. A machine tool builder MACHINE sets a machine zero point for each machine. COORDINATE A coordinate system with a machine zero
  • Page 1027. COORDINATE SYSTEM PROGRAMMING B–63604EN/01 7.2 A coordinate system used for machining a workpiece is referred to as a workpiece coordinate system. A workpiece coordinate system is to be set WORKPIECE with the NC beforehand (setting a workpiece coordinate system). COORDINATE A machining program se
  • Page 103B–63604EN/01 PROGRAMMING 7. COORDINATE SYSTEM 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 1047. COORDINATE SYSTEM PROGRAMMING B–63604EN/01 7.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–7.2.1.) Coordinate System (1) G50 or automatic workpiece coordinate system setting Onc
  • Page 105B–63604EN/01 PROGRAMMING 7. COORDINATE SYSTEM 7.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 1067. COORDINATE SYSTEM PROGRAMMING B–63604EN/01 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 107B–63604EN/01 PROGRAMMING 7. COORDINATE SYSTEM 7.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 1087. COORDINATE SYSTEM PROGRAMMING B–63604EN/01 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 109B–63604EN/01 PROGRAMMING 7. COORDINATE SYSTEM 7.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 1107. COORDINATE SYSTEM PROGRAMMING B–63604EN/01 7.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 IP _; Se
  • Page 111B–63604EN/01 PROGRAMMING 7. COORDINATE SYSTEM 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 1127. COORDINATE SYSTEM PROGRAMMING B–63604EN/01 7.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 7.4 Plane selected
  • Page 1138. COORDINATE VALUE B–63604EN/01 PROGRAMMING AND DIMENSION 8 COORDINATE VALUE AND DIMENSION This chapter contains the following topics. 8.1 ABSOLUTE AND INCREMENTAL PROGRAMMING (G90, G91) 8.2 INCH/METRIC CONVERSION (G20, G21) 8.3 DECIMAL POINT PROGRAMMING 8.4 DIAMETER AND RADIUS PROGRAMMING 89
  • Page 1148. COORDINATE VALUE AND DIMENSION PROGRAMMING B–63604EN/01 8.1 There are two ways to command travels of the tool; the absolute command, and the incremental command. In the absolute command, ABSOLUTE AND coordinate value of the end position is programmed; in the incremental INCREMENTAL command, move
  • Page 1158. COORDINATE VALUE B–63604EN/01 PROGRAMMING AND DIMENSION 8.2 Either inch or metric input can be selected by G code. INCH/METRIC CONVERSION (G20, G21) Format G20 ; Inch input G21 ; mm input This G code must be specified in an independent block before setting the coordinate system at the beginning o
  • Page 1168. COORDINATE VALUE AND DIMENSION PROGRAMMING B–63604EN/01 8.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 1178. COORDINATE VALUE B–63604EN/01 PROGRAMMING AND DIMENSION 8.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 1189. SPINDLE SPEED FUNCTION PROGRAMMING B–63604EN/01 9 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. 9.1 SPECIFYING THE SPINDLE SPEED WITH A
  • Page 119B–63604EN/01 PROGRAMMING 9. SPINDLE SPEED FUNCTION 9.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 ma
  • Page 1209. SPINDLE SPEED FUNCTION PROGRAMMING B–63604EN/01 9.3 Specify the surface speed (relative speed between the tool and workpiece) following S. The spindle is rotated so that the surface speed is constant CONSTANT regardless of the position of the tool. SURFACE SPEED CONTROL (G96, G97) Format D Consta
  • Page 121B–63604EN/01 PROGRAMMING 9. 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 value
  • Page 1229. SPINDLE SPEED FUNCTION PROGRAMMING B–63604EN/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 (min–1) is us
  • Page 123B–63604EN/01 PROGRAMMING 9. 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 calculat
  • Page 1249. SPINDLE SPEED FUNCTION PROGRAMMING B–63604EN/01 9.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 guide
  • Page 125B–63604EN/01 PROGRAMMING 9. 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 o
  • Page 1269. SPINDLE SPEED FUNCTION PROGRAMMING B–63604EN/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 re
  • Page 127B–63604EN/01 PROGRAMMING 9. SPINDLE SPEED FUNCTION 9.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 certa
  • Page 1289. SPINDLE SPEED FUNCTION PROGRAMMING B–63604EN/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 mu
  • Page 129B–63604EN/01 PROGRAMMING 9. 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 N
  • Page 13010. TOOL FUNCTION (T FUNCTION) PROGRAMMING B–63604EN/01 10 TOOL FUNCTION (T FUNCTION) Two tool functions are available. One is the tool selection function, and the other is the tool life management function. 106
  • Page 131B–63604EN/01 PROGRAMMING 10. TOOL FUNCTION (T FUNCTION) 10.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 13210. TOOL FUNCTION (T FUNCTION) PROGRAMMING B–63604EN/01 10.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 133B–63604EN/01 PROGRAMMING 10. 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 13410. TOOL FUNCTION (T FUNCTION) PROGRAMMING B–63604EN/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 135B–63604EN/01 PROGRAMMING 10. TOOL FUNCTION (T FUNCTION) 10.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 13610. TOOL FUNCTION (T FUNCTION) PROGRAMMING B–63604EN/01 10.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 137B–63604EN/01 PROGRAMMING 11. AUXILIARY FUNCTION 11 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 13811. AUXILIARY FUNCTION PROGRAMMING B–63604EN/01 11.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 139B–63604EN/01 PROGRAMMING 11. AUXILIARY FUNCTION 11.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 14011. AUXILIARY FUNCTION PROGRAMMING B–63604EN/01 11.3 Indexing of the table is performed by address B and a following 8–digit number. The relationship between B codes and the corresponding THE SECOND indexing differs between machine tool builders. AUXILIARY Refer to the manual issued by the machine t
  • Page 141B–63604EN/01 PROGRAMMING 12. PROGRAM CONFIGURATION 12 PROGRAM CONFIGURATION General D Main program and There are two program types, main program and subprogram. Normally, subprogram the CNC operates according to the main program. However, when a command calling a subprogram is encountered in the mai
  • Page 14212. PROGRAM CONFIGURATION PROGRAMMING B–63604EN/01 D Program components A program consists of the following components: Table 12 Program components Components Descriptions Tape start Symbol indicating the start of a program file Leader section Used for the title of a program file, etc. Program start
  • Page 143B–63604EN/01 PROGRAMMING 12. PROGRAM CONFIGURATION 12.1 This section describes program components other than program sections. See Section II–12.2 for a program section. PROGRAM COMPONENTS Leader section OTHER THAN Tape start % TITLE ; Program start PROGRAM O0001 ; SECTIONS Program section (COMMENT)
  • Page 14412. PROGRAM CONFIGURATION PROGRAMMING B–63604EN/01 NOTE If one file contains multiple programs, the EOB code for label skip operation must not appear before a second or subsequent program number. However, an program start is required at the start of a program if the preceding program ends with %. D
  • Page 145B–63604EN/01 PROGRAMMING 12. PROGRAM CONFIGURATION D Tape end A tape end is to be placed at the end of a file containing NC programs. If programs are entered using the automatic programming system, the mark need not be entered. The mark is not displayed on the CRT display screen. However, when a fil
  • Page 14612. PROGRAM CONFIGURATION PROGRAMMING B–63604EN/01 12.2 This section describes elements of a program section. See Section II–12.1 for program components other than program sections. PROGRAM SECTION CONFIGURATION % TITLE ; Program number O0001 ; N1 … ; Sequence number (COMMENT) Program section Progra
  • Page 147B–63604EN/01 PROGRAMMING 12. PROGRAM CONFIGURATION D Sequence number and A program consists of several commands. One command unit is called a block block. One block is separated from another with an EOB of end of block code. Table 12.2(a) EOB code Name ISO EIA Notation in this code code manual End o
  • Page 14812. PROGRAM CONFIGURATION PROGRAMMING B–63604EN/01 D Block configuration A block consists of one or more words. A word consists of an address (word and address) followed by a number some digits long. (The plus sign (+) or minus sign (–) may be prefixed to a number.) Word = Address + number (Example
  • Page 149B–63604EN/01 PROGRAMMING 12. PROGRAM CONFIGURATION D Major addresses and Major addresses and the ranges of values specified for the addresses are ranges of command shown below. Note that these figures represent limits on the CNC side, values which are totally different from limits on the machine too
  • Page 15012. PROGRAM CONFIGURATION PROGRAMMING B–63604EN/01 D Optional block skip When a slash followed by a number (/n (n=1 to 9)) is specified at the head of a block, and optional block skip switch n on the machine operator panel is set to on, the information contained in the block for which /n correspondi
  • Page 151B–63604EN/01 PROGRAMMING 12. PROGRAM CONFIGURATION D Program end The end of a program is indicated by punching one of the following codes at the end of the program: Table 12.2(d) Code of a program end Code Meaning usage M02 For main program M30 M99 For subprogram If one of the program end codes is e
  • Page 15212. PROGRAM CONFIGURATION PROGRAMMING B–63604EN/01 12.3 If a program contains a fixed sequence or frequently repeated pattern, such a sequence or pattern can be stored as a subprogram in memory to simplify SUBPROGRAM the program. (M98, M99) A subprogram can be called from the main program. A called
  • Page 153B–63604EN/01 PROGRAMMING 12. PROGRAM CONFIGURATION 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 15412. PROGRAM CONFIGURATION PROGRAMMING B–63604EN/01 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 15513. FUNCTIONS TO SIMPLIFY B–63604EN/01 PROGRAMMING PROGRAMMING 13 FUNCTIONS TO SIMPLIFY PROGRAMMING General This chapter explains the following items: 13.1 CANNED CYCLE (G90, G92, G94) 13.2 MULTIPLE REPETITIVE CYCLE (G70 – G76) 13.3 CANNED CYCLE FOR DRILLING (G80 – G89) 13.4 CHAMFERING AND CORNER R
  • Page 15613. FUNCTIONS TO SIMPLIFY PROGRAMMING PROGRAMMING B–63604EN/01 13.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) 13.1.1 Outer Diameter
  • Page 15713. FUNCTIONS TO SIMPLIFY B–63604EN/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. 13.1.1(b) Taper cutting cycle D Signs of numbers In incremental programming, the relationship be
  • Page 15813. FUNCTIONS TO SIMPLIFY PROGRAMMING PROGRAMMING B–63604EN/01 13.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 15913. FUNCTIONS TO SIMPLIFY B–63604EN/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 16013. FUNCTIONS TO SIMPLIFY PROGRAMMING PROGRAMMING B–63604EN/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 16113. FUNCTIONS TO SIMPLIFY B–63604EN/01 PROGRAMMING PROGRAMMING 13.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 3(F) X/2 X/2 0 W Z axis Z Fig. 13.1.3 (a) Face cutting cycle In incremental programmin
  • Page 16213. FUNCTIONS TO SIMPLIFY PROGRAMMING PROGRAMMING B–63604EN/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. 13.1.3 (b) D Signs of numbers In incremental programming, the relationship between the signs of the specified in t
  • Page 16313. FUNCTIONS TO SIMPLIFY B–63604EN/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 16413. FUNCTIONS TO SIMPLIFY PROGRAMMING PROGRAMMING B–63604EN/01 13.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 16513. FUNCTIONS TO SIMPLIFY B–63604EN/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 141
  • Page 16613. FUNCTIONS TO SIMPLIFY PROGRAMMING PROGRAMMING B–63604EN/01 13.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 16713. FUNCTIONS TO SIMPLIFY B–63604EN/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 16813. FUNCTIONS TO SIMPLIFY PROGRAMMING PROGRAMMING B–63604EN/01 D Type II Type II differs from type I in the following : The profile need not show monotone increase or monotone decrease along the X axis, and it may have up to 10 concaves (pockets). 10 ...... 3 2 1 Fig. 13.2.1 (b) Number of pockets in
  • Page 16913. FUNCTIONS TO SIMPLIFY B–63604EN/01 PROGRAMMING PROGRAMMING e (set by a parameter) Fig. 13.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 17013. FUNCTIONS TO SIMPLIFY PROGRAMMING PROGRAMMING B–63604EN/01 13.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 17113. FUNCTIONS TO SIMPLIFY B–63604EN/01 PROGRAMMING PROGRAMMING 13.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 17213. FUNCTIONS TO SIMPLIFY PROGRAMMING PROGRAMMING B–63604EN/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 17313. FUNCTIONS TO SIMPLIFY B–63604EN/01 PROGRAMMING PROGRAMMING Examples Stock Removal In Facing (G72) X axis 7 Start point 88 110 ÅÅÅ ÅÅÅ φ160 φ120 φ80 φ40 Z axis ÅÅÅ ÅÅÅ ÅÅÅ ÅÅÅ 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 W
  • Page 17413. FUNCTIONS TO SIMPLIFY PROGRAMMING PROGRAMMING B–63604EN/01 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 17513. FUNCTIONS TO SIMPLIFY B–63604EN/01 PROGRAMMING PROGRAMMING 13.2.5 The following program generates the cutting path shown in Fig. 13.2.5. End Face Peck Drilling 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 for
  • Page 17613. FUNCTIONS TO SIMPLIFY PROGRAMMING PROGRAMMING B–63604EN/01 13.2.6 The following program generates the cutting path shown in Fig. 13.2.6. Outer Diameter / 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 drilling in
  • Page 17713. FUNCTIONS TO SIMPLIFY B–63604EN/01 PROGRAMMING PROGRAMMING 13.2.7 The thread cutting cycle as shown in Fig.13.2.7 is programmed by the Multiple Thread Cutting G76 command. Cycle (G76) E (R) A U/2 (R) (F) B Dd i D k r C X Z W Fig. 13.2.7 Cutting path in multiple thread cutting cycle 153
  • Page 17813. FUNCTIONS TO SIMPLIFY PROGRAMMING PROGRAMMING B–63604EN/01 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 17913. FUNCTIONS TO SIMPLIFY B–63604EN/01 PROGRAMMING PROGRAMMING 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 18013. FUNCTIONS TO SIMPLIFY PROGRAMMING PROGRAMMING B–63604EN/01 Examples Multiple repetitive cycle (G76) X axis ÔÔÔ ÅÅÅ ÅÅÅ 0 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 staggered
  • Page 18113. FUNCTIONS TO SIMPLIFY B–63604EN/01 PROGRAMMING PROGRAMMING Tool nose (Ǹ2⋅Ǹ4) D/2 (Ǹ 4⋅ Ǹ6) D/2 Hn a Ǹ2⋅D 2 H1 Ǹ2⋅D K Ǹ4⋅D H2 H3 H4 H5 H6 H7 H8 α (Finishing allowance) H9 Staggered thread cutting with a constant depth of cut 157
  • Page 18213. FUNCTIONS TO SIMPLIFY PROGRAMMING PROGRAMMING B–63604EN/01 13.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 specif
  • Page 18313. FUNCTIONS TO SIMPLIFY B–63604EN/01 PROGRAMMING PROGRAMMING 13.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 code. DRILLING (G80 – G89) Following is the canned cycle ta
  • Page 18413. FUNCTIONS TO SIMPLIFY PROGRAMMING PROGRAMMING B–63604EN/01 Explanations D Positioning axis and A drilling G code specifies positioning axes and a drilling axis as shown drilling axis 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 positio
  • Page 18513. FUNCTIONS TO SIMPLIFY B–63604EN/01 PROGRAMMING PROGRAMMING D Number of repeats 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
  • Page 18613. FUNCTIONS TO SIMPLIFY PROGRAMMING PROGRAMMING B–63604EN/01 CAUTION 1 In each canned cycle, R_ (distance between the initial level and point R) is always handled as a radius. Z_ or X_ (distance between point R and the bottom of the hole) is, however, handled either as a diameter or radius, depend
  • Page 18713. FUNCTIONS TO SIMPLIFY B–63604EN/01 PROGRAMMING PROGRAMMING 13.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 18813. FUNCTIONS TO SIMPLIFY PROGRAMMING PROGRAMMING B–63604EN/01 D Peck drilling cycle (G83, G87) (parameter No. 5101#2 =1) Format G83 X(U)_ C(H)_ Z(W)_ R_ Q_ P_ F_ K_ M_ ; or G87 Z(W)_ C(H)_ X(U)_ R_ Q_ P_ F_ K_ M_ ; X_ C_ or Z_ C_ : Hole position data Z_ or X_ : The distance from point R to the bott
  • Page 18913. FUNCTIONS TO SIMPLIFY B–63604EN/01 PROGRAMMING PROGRAMMING 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_ K_ M_ ;
  • Page 19013. FUNCTIONS TO SIMPLIFY PROGRAMMING PROGRAMMING B–63604EN/01 13.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 19113. FUNCTIONS TO SIMPLIFY B–63604EN/01 PROGRAMMING PROGRAMMING 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 19213. FUNCTIONS TO SIMPLIFY PROGRAMMING PROGRAMMING B–63604EN/01 13.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 19313. FUNCTIONS TO SIMPLIFY B–63604EN/01 PROGRAMMING PROGRAMMING 13.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 19413. FUNCTIONS TO SIMPLIFY PROGRAMMING PROGRAMMING B–63604EN/01 13.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 19513. FUNCTIONS TO SIMPLIFY B–63604EN/01 PROGRAMMING PROGRAMMING 13.4 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 absolu
  • Page 19613. FUNCTIONS TO SIMPLIFY PROGRAMMING PROGRAMMING B–63604EN/01 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 (For –x movement, command in the figure on the a→d→c right. –r) –r r d –z +z c b c Fig. 13.4(d) Co
  • Page 19713. FUNCTIONS TO SIMPLIFY B–63604EN/01 PROGRAMMING PROGRAMMING 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 19813. FUNCTIONS TO SIMPLIFY PROGRAMMING PROGRAMMING B–63604EN/01 13.5 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 19913. FUNCTIONS TO SIMPLIFY B–63604EN/01 PROGRAMMING PROGRAMMING 13.6 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 20013. FUNCTIONS TO SIMPLIFY PROGRAMMING PROGRAMMING B–63604EN/01 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_ ; X4_ Z4_ ; R 1 A1 (X2 , Z2) (X1 , Z1) Z X X2_ Z2_ , C1_ ; X3_ Z3_ , C2_ ; C2 X4_ Z4_ ; or (X4 , Z4) (X3 ,
  • Page 20113. FUNCTIONS TO SIMPLIFY B–63604EN/01 PROGRAMMING PROGRAMMING Explanations A program for machining along the curve shown in Fig. 13.6 (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 20213. FUNCTIONS TO SIMPLIFY PROGRAMMING PROGRAMMING B–63604EN/01 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 20313. FUNCTIONS TO SIMPLIFY B–63604EN/01 PROGRAMMING PROGRAMMING 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 20413. FUNCTIONS TO SIMPLIFY PROGRAMMING PROGRAMMING B–63604EN/01 13.7 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 20513. FUNCTIONS TO SIMPLIFY B–63604EN/01 PROGRAMMING PROGRAMMING 13.7.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 20613. FUNCTIONS TO SIMPLIFY PROGRAMMING PROGRAMMING B–63604EN/01 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 20713. FUNCTIONS TO SIMPLIFY B–63604EN/01 PROGRAMMING PROGRAMMING Examples Tapping axis feedrate: 1000 mm/min Spindle speed: 1000 min–1 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
  • Page 20814. COMPENSATION FUNCTION PROGRAMMING B–63604EN/01 14 COMPENSATION FUNCTION This chapter describes the following compensation functions: 14.1 TOOL OFFSET 14.2 OVERVIEW OF TOOL NOSE RADIUS COMPENSATION 14.3 DETAILS OF TOOL NOSE RADIUS COMPENSATION 14.4 TOOL COMPENSATION VALUES, NUMBER OF COMPENSATION
  • Page 209B–63604EN/01 PROGRAMMING 14. COMPENSATION FUNCTION 14.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 21014. COMPENSATION FUNCTION PROGRAMMING B–63604EN/01 14.1.2 There are two methods for specifying a T code as shown in Table 14.1.2(a) T Code for Tool Offset and Table 14.1.2(b). Format D Lower digit of T code Table 14.1.2(a) specifies geometry and wear offset number Kind of Meaning of T code Parameter
  • Page 211B–63604EN/01 PROGRAMMING 14. COMPENSATION FUNCTION 14.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 21214. COMPENSATION FUNCTION PROGRAMMING B–63604EN/01 Parameter LVC (No.5003#6) can be set so that offset will not be cancelled by pressing the reset key or by reset input. 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 m
  • Page 213B–63604EN/01 PROGRAMMING 14. COMPENSATION FUNCTION 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 21414. COMPENSATION FUNCTION PROGRAMMING B–63604EN/01 14.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 215B–63604EN/01 PROGRAMMING 14. COMPENSATION FUNCTION D Manual reference Executing manual reference position return when tool offset is applied position return when tool does not cancel the tool position offset vector. The absolute position offset is applied display is as follows, however, according to
  • Page 21614. COMPENSATION FUNCTION PROGRAMMING B–63604EN/01 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 217B–63604EN/01 PROGRAMMING 14. COMPENSATION FUNCTION 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 21814. COMPENSATION FUNCTION PROGRAMMING B–63604EN/01 14.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 219B–63604EN/01 PROGRAMMING 14. COMPENSATION FUNCTION 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 22014. COMPENSATION FUNCTION PROGRAMMING B–63604EN/01 14.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 221B–63604EN/01 PROGRAMMING 14. COMPENSATION FUNCTION 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 22214. COMPENSATION FUNCTION PROGRAMMING B–63604EN/01 When the options of tool geometry compensation and tool wear compensation are selected, the offset values become as follows : Table 14.2.3(b) Tool geometry offset Geome- OFGX OFGZ OFGR OFT OFGY try (X–axis (Z–axis (Tool nose (Imaginary (Y–axis offse
  • Page 223B–63604EN/01 PROGRAMMING 14. COMPENSATION FUNCTION 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 22414. COMPENSATION FUNCTION PROGRAMMING B–63604EN/01 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 225B–63604EN/01 PROGRAMMING 14. COMPENSATION FUNCTION 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 22614. COMPENSATION FUNCTION PROGRAMMING B–63604EN/01 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 227B–63604EN/01 PROGRAMMING 14. COMPENSATION FUNCTION 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 22814. COMPENSATION FUNCTION PROGRAMMING B–63604EN/01 14.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 229B–63604EN/01 PROGRAMMING 14. COMPENSATION FUNCTION 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 23014. COMPENSATION FUNCTION PROGRAMMING B–63604EN/01 D Tool nose radius In this case, tool nose radius compensation is not performed. compensation when the block is specified from the MDI 206
  • Page 231B–63604EN/01 PROGRAMMING 14. COMPENSATION FUNCTION 14.3 This section provides a detailed explanation of the movement of the tool for tool nose radius compensation outlined in Section 14.2. DETAILS OF TOOL This section consists of the following subsections: NOSE RADIUS COMPENSATION 14.3.1 General 14.
  • Page 23214. COMPENSATION FUNCTION PROGRAMMING B–63604EN/01 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 233B–63604EN/01 PROGRAMMING 14. COMPENSATION FUNCTION 14.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 23414. COMPENSATION FUNCTION PROGRAMMING B–63604EN/01 D Tool movement around the outside of an acute Linear→Linear Start position angle (α<90°) 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 235B–63604EN/01 PROGRAMMING 14. COMPENSATION FUNCTION 14.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 23614. COMPENSATION FUNCTION PROGRAMMING B–63604EN/01 D Tool movement around the inside (α<1°) 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 237B–63604EN/01 PROGRAMMING 14. COMPENSATION FUNCTION 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 23814. COMPENSATION FUNCTION PROGRAMMING B–63604EN/01 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 239B–63604EN/01 PROGRAMMING 14. COMPENSATION FUNCTION 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 24014. COMPENSATION FUNCTION PROGRAMMING B–63604EN/01 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 241B–63604EN/01 PROGRAMMING 14. COMPENSATION FUNCTION 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 24214. COMPENSATION FUNCTION PROGRAMMING B–63604EN/01 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 243B–63604EN/01 PROGRAMMING 14. COMPENSATION FUNCTION 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 24414. COMPENSATION FUNCTION PROGRAMMING B–63604EN/01 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 245B–63604EN/01 PROGRAMMING 14. COMPENSATION FUNCTION 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 24614. COMPENSATION FUNCTION PROGRAMMING B–63604EN/01 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 247B–63604EN/01 PROGRAMMING 14. COMPENSATION FUNCTION 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 24814. COMPENSATION FUNCTION PROGRAMMING B–63604EN/01 14.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 249B–63604EN/01 PROGRAMMING 14. COMPENSATION FUNCTION 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 25014. COMPENSATION FUNCTION PROGRAMMING B–63604EN/01 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 251B–63604EN/01 PROGRAMMING 14. COMPENSATION FUNCTION 14.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 25214. COMPENSATION FUNCTION PROGRAMMING B–63604EN/01 (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 253B–63604EN/01 PROGRAMMING 14. COMPENSATION FUNCTION 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 25414. COMPENSATION FUNCTION PROGRAMMING B–63604EN/01 (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 255B–63604EN/01 PROGRAMMING 14. COMPENSATION FUNCTION 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 25614. COMPENSATION FUNCTION PROGRAMMING B–63604EN/01 14.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 257B–63604EN/01 PROGRAMMING 14. COMPENSATION FUNCTION 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 25814. COMPENSATION FUNCTION PROGRAMMING B–63604EN/01 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
  • Page 259B–63604EN/01 PROGRAMMING 14. COMPENSATION FUNCTION 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 26014. COMPENSATION FUNCTION PROGRAMMING B–63604EN/01 14.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 261B–63604EN/01 PROGRAMMING 14. COMPENSATION FUNCTION 14.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 26214. COMPENSATION FUNCTION PROGRAMMING B–63604EN/01 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 263B–63604EN/01 PROGRAMMING 14. COMPENSATION FUNCTION 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 26414. COMPENSATION FUNCTION PROGRAMMING B–63604EN/01 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 265B–63604EN/01 PROGRAMMING 14. COMPENSATION FUNCTION 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 26614. COMPENSATION FUNCTION PROGRAMMING B–63604EN/01 S G28, G30, or G30.1 - When bit 2 (CCN) of parameter No. 5003 is set to 0 command in offset mode (with movement to both Intermediate position O×××× ; an intermediate position G91 G41_ ; s G28/30/30.1 s s G01 and reference position : performed) G28 X
  • Page 267B–63604EN/01 PROGRAMMING 14. COMPENSATION FUNCTION S G28, G30, or G30.1 - When bit 2 (CCN) of parameter No. 5003 is set to 0 command in offset mode (with movement to a Start–up 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 26814. COMPENSATION FUNCTION PROGRAMMING B–63604EN/01 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 269B–63604EN/01 PROGRAMMING 14. COMPENSATION FUNCTION 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 27014. COMPENSATION FUNCTION PROGRAMMING B–63604EN/01 14.4 Tool compensation values include tool geometry compensation values and tool wear compensation (Fig. 14.4 (a)). TOOL Tool compensation can be specified without differentiating compensation COMPENSATION for tool geometry from that for tool wear.
  • Page 271B–63604EN/01 PROGRAMMING 14. COMPENSATION FUNCTION 14.4.2 Offset values can be input by a program using the following command : Changing of Tool Offset Value (Programmable Data Input) (G10) Format G10 P_ X_ Y_ Z_ R_ Q_ ; or G10 P_ U_ V_ W_ C_ Q_ ; P : Offset number 0 : Command of work coordinate sys
  • Page 27214. COMPENSATION FUNCTION PROGRAMMING B–63604EN/01 14.5 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 273B–63604EN/01 PROGRAMMING 14. COMPENSATION FUNCTION 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 27414. COMPENSATION FUNCTION PROGRAMMING B–63604EN/01 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 275B–63604EN/01 PROGRAMMING 15. CUSTOM MACRO 15 CUSTOM MACRO Although subprograms are useful for repeating the same operation, the custom macro function also allows use of variables, arithmetic and logic operations, and conditional branches for easy development of general programs such as pocketing and
  • Page 27615. CUSTOM MACRO PROGRAMMING B–63604EN/01 15.1 An ordinary machining program specifies a G code and the travel distance directly with a numeric value; examples are G100 and X100.0. VARIABLES With a custom macro, numeric values can be specified directly or using a variable number. When a variable num
  • Page 277B–63604EN/01 PROGRAMMING 15. CUSTOM MACRO 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 27815. CUSTOM MACRO PROGRAMMING B–63604EN/01 (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 279B–63604EN/01 PROGRAMMING 15. CUSTOM MACRO 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 28015. CUSTOM MACRO PROGRAMMING B–63604EN/01 15.2 System variables can be used to read and write internal NC data such as tool compensation values and current position data. Note, however, that SYSTEM VARIABLES some system variables can only be read. System variables are essential for automation and ge
  • Page 281B–63604EN/01 PROGRAMMING 15. CUSTOM MACRO D Workpiece coordinate A workpiece coordinate system shift amount can be read. The amount can system shift amount also be changed by entering a value. Controlled axis Workpiece coordinate system shift amount X axis #2501 Z axis #2601 D Macro alarms Table 15.
  • Page 28215. CUSTOM MACRO PROGRAMMING B–63604EN/01 D Automatic operation The control state of automatic operation can be changed. control Table 15.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 awai
  • Page 283B–63604EN/01 PROGRAMMING 15. CUSTOM MACRO D Settings Settings can be read and written. Binary values are converted to decimals. #3005 #15 #14 #13 #12 #11 #10 #9 #8 Setting FCV #7 #6 #5 #4 #3 #2 #1 #0 Setting SEQ INI ISO TVC #9 (FCV) : Whether to use the FS15 tape format conversion capability #5 (SEQ
  • Page 28415. CUSTOM MACRO PROGRAMMING B–63604EN/01 D Number of machined The number (target number) of parts required and the number (completion parts number) of machined parts can be read and written. Table 15.2 (h) System variables for the number of parts required and the number of machined parts Variable n
  • Page 285B–63604EN/01 PROGRAMMING 15. CUSTOM MACRO D Current position Position information cannot be written but can be read. Table 15.2 (j) System variables for position information Variable Position Coordinate Tool com- Read number information system pensation operation value during movement #5001–#5004 Bl
  • Page 28615. CUSTOM MACRO PROGRAMMING B–63604EN/01 D Workpiece coordinate Workpiece zero point offset values can be read and written. system compensation Table 15.2(k) System variables for workpiece zero point values (workpiece zero offset values point offset values) Variable Function number #5201 First–axis
  • Page 287B–63604EN/01 PROGRAMMING 15. CUSTOM MACRO 15.3 The operations listed in Table 15.3(a) can be performed on variables. The expression to the right of the operator can contain constants and/or ARITHMETIC AND variables combined by a function or operator. Variables #j and #K in an LOGIC OPERATION express
  • Page 28815. CUSTOM MACRO PROGRAMMING B–63604EN/01 D ARCCOS #i = ACOS[#j]; S The solution ranges from 180° to 0°. S When #j is beyond the range of –1 to 1, P/S alarm No. 111 is issued. S A constant can be used instead of the #j variable. D ARCTAN S Specify the lengths of two sides, separated by a slash (/).
  • Page 289B–63604EN/01 PROGRAMMING 15. CUSTOM MACRO D Rounding up and down With CNC, when the absolute value of the integer produced by an to an integer operation on a number is greater than the absolute value of the original number, such an operation is referred to as rounding up to an integer. Conversely, w
  • Page 29015. CUSTOM MACRO PROGRAMMING B–63604EN/01 D Operation error Errors may occur when operations are performed. Table 15.3 (b) Errors involved in operations Operation Average Maximum Type of error error error a = b*c 1.55×10–10 4.66×10–10 Relative error(*1) a =b/c 4.66×10–10 1.88×10–9 ε 1.24×10–9 3.73×1
  • Page 291B–63604EN/01 PROGRAMMING 15. CUSTOM MACRO S Also, be careful when rounding down a value. Example: When #2=#1*1000; is calculated where #1=0.002;, the resulting value of variable #2 is not exactly 2 but 1.99999997. Here, when #3=FIX[#2]; is specified, the resulting value of variable #1 is not 2.0 but
  • Page 29215. CUSTOM MACRO PROGRAMMING B–63604EN/01 15.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 293B–63604EN/01 PROGRAMMING 15. CUSTOM MACRO 15.5 In a program, the flow of control can be changed using the GOTO statement and IF statement. Three types of branch and repetition BRANCH AND operations are used: REPETITION Branch and repetition GOTO statement (unconditional branch) IF statement (conditi
  • Page 29415. CUSTOM MACRO PROGRAMMING B–63604EN/01 15.5.2 Specify a conditional expression after IF. IF [] Conditional Branch GOTO n If the specified conditional expression is satisfied, a branch to sequence number n occurs. If the specified condition is not satisfied, the (IF Stateme
  • Page 295B–63604EN/01 PROGRAMMING 15. CUSTOM MACRO 15.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 29615. CUSTOM MACRO PROGRAMMING B–63604EN/01 D Nesting The identification numbers (1 to 3) in a DO–END loop can be used as many times as desired. Note, however, when a program includes crossing repetition loops (overlapped DO ranges), P/S alarm No. 124 occurs. 1. The identification numbers 3. DO loops
  • Page 297B–63604EN/01 PROGRAMMING 15. CUSTOM MACRO Sample program The sample program below finds the total of numbers 1 to 10. O0001; #1=0; #2=1; WHILE[#2 LE 10]DO 1; #1=#1+#2; #2=#2+1; END 1; M30; 273
  • Page 29815. CUSTOM MACRO PROGRAMMING B–63604EN/01 15.6 A macro program can be called using the following methods: MACRO CALL Macro call Simple call ((G65) modal call (G66, G67) Macro call with G code Macro call with M code Subprogram call with M code Subprogram call with T code Restrictions D Differences be
  • Page 299B–63604EN/01 PROGRAMMING 15. CUSTOM MACRO 15.6.1 When G65 is specified, the custom macro specified at address P is called. Simple Call (G65) Data (argument) can be passed to the custom macro program. G65 P_ L_ ; P_ : Number of the program to call L_ : Repetition count (1 by
  • Page 30015. CUSTOM MACRO PROGRAMMING B–63604EN/01 Argument specification II Argument specification II uses A, B, and C once each and uses I, J, and K up to ten times. Argument specification II is used to pass values such as three–dimensional coordinates as arguments. Address Variable Address Variable Addres
  • Page 301B–63604EN/01 PROGRAMMING 15. CUSTOM MACRO D Local variable levels D Local variables from level 0 to 4 are provided for nesting. D The level of the main program is 0. D Each time a macro is called (with G65 or G66), the local variable level is incremented by one. The values of the local variables at
  • Page 30215. CUSTOM MACRO PROGRAMMING B–63604EN/01 D Calling format Zz G65 P9100 Kk Ff ; Ww Z: Hole depth (absolute specification) U: Hole depth (incremental specification) K: Cutting amount per cycle F: Cutting feedrate D Program calling a macro O0002; program G50 X100.0 Z200.0 ; G00 X0 Z102.0 S1000 M03 ; G
  • Page 303B–63604EN/01 PROGRAMMING 15. CUSTOM MACRO 15.6.2 Once G66 is issued to specify a modal call a macro is called after a block Modal Call (G66) specifying movement along axes is executed. This continues until G67 is issued to cancel a modal call. G66 P p L ȏ ; P : Number of the
  • Page 30415. CUSTOM MACRO PROGRAMMING B–63604EN/01 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 305B–63604EN/01 PROGRAMMING 15. CUSTOM MACRO 15.6.3 By setting a G code number used to call a macro program in a parameter, Macro Call Using the macro program can be called in the same way as for a simple call (G65). G Code O0001 ; O9010 ; : : G81 X10.0 Z–10.0 ; : : : M30 ; N9 M99 ; Parameter No.6050 =
  • Page 30615. CUSTOM MACRO PROGRAMMING B–63604EN/01 15.6.4 By setting an M code number used to call a macro program in a parameter, Macro Call Using the macro program can be called in the same way as with a simple call (G65). an M Code O0001 ; O9020 ; : : M50 A1.0 B2.0 ; : : : M30 ; M99 ; Parameter 6080 = 50
  • Page 307B–63604EN/01 PROGRAMMING 15. CUSTOM MACRO 15.6.5 By setting an M code number used to call a subprogram (macro program) Subprogram Call in a parameter, the macro program can be called in the same way as with a subprogram call (M98). Using an M Code O0001 ; O9001 ; : : M03 ; : : : M30 ; M99 ; Paramete
  • Page 30815. CUSTOM MACRO PROGRAMMING B–63604EN/01 15.6.6 By enabling subprograms (macro program) to be called with a T code in Subprogram Calls a parameter, a macro program can be called each time the T code is specified in the machining program. Using a T Code O0001 ; O9000 ; : : T0203 ; : : : M30 ; M99 ;
  • Page 309B–63604EN/01 PROGRAMMING 15. CUSTOM MACRO 15.6.7 By using the subprogram call function that uses M codes, the cumulative Sample Program usage time of each tool is measured. Conditions 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 31015. CUSTOM MACRO PROGRAMMING B–63604EN/01 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 tool
  • Page 311B–63604EN/01 PROGRAMMING 15. CUSTOM MACRO 15.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 31215. CUSTOM MACRO PROGRAMMING B–63604EN/01 D Buffering the next block in tool nose radius compensation mode > N1 G01 G41 G91 Z100.0 F100 T0101 ; (G41, G42) N2 #1=100 ; > : Block being executed N3 X100.0 ; V : Blocks read into the buffer N4 #2=200 ; N5 Z50.0 ; : N1 N3 NC statement execution N2 N4 Macr
  • Page 313B–63604EN/01 PROGRAMMING 15. CUSTOM MACRO 15.8 Custom macro programs are similar to subprograms. They can be registered and edited in the same way as subprograms. The storage REGISTERING capacity is determined by the total length of tape used to store both custom CUSTOM MACRO macros and subprograms.
  • Page 31415. CUSTOM MACRO PROGRAMMING B–63604EN/01 15.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 315B–63604EN/01 PROGRAMMING 15. CUSTOM MACRO 15.10 In addition to the standard custom macro commands, the following macro commands are available. They are referred to as external output EXTERNAL OUTPUT commands. COMMANDS – BPRNT – DPRNT – POPEN – PCLOS These commands are provided to output variable val
  • Page 31615. CUSTOM MACRO PROGRAMMING B–63604EN/01 Example ) BPRINT [ C** X#100 [3] Z#101 [3] M#10 [0] ] Variable value #100=0.40596 #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 317B–63604EN/01 PROGRAMMING 15. CUSTOM MACRO 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 31815. CUSTOM MACRO PROGRAMMING B–63604EN/01 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 319B–63604EN/01 PROGRAMMING 15. CUSTOM MACRO 15.11 When a program is being executed, another program can be called by inputting an interrupt signal (UINT) from the machine. This function is INTERRUPTION TYPE referred to as an interruption type custom macro function. Program an CUSTOM MACRO interrupt co
  • Page 32015. CUSTOM MACRO PROGRAMMING B–63604EN/01 CAUTION When the interrupt signal (UINT, marked by * in Fig. 15.11) is input after M97 is specified, it is ignored. And the interrupt signal must not be input during execution of the interrupt program. 15.11.1 Specification Method Explanations D Interrupt co
  • Page 321B–63604EN/01 PROGRAMMING 15. CUSTOM MACRO 15.11.2 Details of Functions Explanations 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 32215. CUSTOM MACRO PROGRAMMING B–63604EN/01 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 323B–63604EN/01 PROGRAMMING 15. CUSTOM MACRO 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 32415. CUSTOM MACRO PROGRAMMING B–63604EN/01 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 325B–63604EN/01 PROGRAMMING 15. CUSTOM MACRO 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 32615. CUSTOM MACRO PROGRAMMING B–63604EN/01 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 327B–63604EN/01 PROGRAMMING 15. CUSTOM MACRO 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 32816. PROGRAMMABLE PARAMETER ENTRY (G10) PROGRAMMING B–63604EN/01 16 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 32916. PROGRAMMABLE PARAMETER B–63604EN/01 PROGRAMMING ENTRY (G10) 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 33016. PROGRAMMABLE PARAMETER ENTRY (G10) PROGRAMMING B–63604EN/01 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 (2nd axis) and C–axis (4th axis) in axis type
  • Page 33117. MEMORY OPERATION BY B–63604EN/01 PROGRAMMING Series 10/11 TAPE FORMAT 17 MEMORY OPERATION BY Series 10/11 TAPE FORMAT Programs in the Series 10/11 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
  • Page 33217. MEMORY OPERATION BY Series 10/11 TAPE FORMAT PROGRAMMING B–63604EN/01 17.1 Some addresses which cannot be used for the this CNC can be used in the Series 10/11 tape format. The specifiable value range for the FS10/11 tape ADDRESSES AND format is basically the same as that for the this CNC. Secti
  • Page 33317. MEMORY OPERATION BY B–63604EN/01 PROGRAMMING Series 10/11 TAPE FORMAT 17.2 EQUAL–LEAD THREADING Format G32IP_F_Q_; or G32IP_E_Q_; IP :Combination of axis addresses F :Lead along the longitudinal axis E :Lead along the longitudinal axis Q :Sight of the threading start angle Explanations D Address
  • Page 33417. MEMORY OPERATION BY Series 10/11 TAPE FORMAT PROGRAMMING B–63604EN/01 17.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 FS10/11 tape format. D Subprogram number The sp
  • Page 33517. MEMORY OPERATION BY B–63604EN/01 PROGRAMMING Series 10/11 TAPE FORMAT 17.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) Th
  • Page 33617. MEMORY OPERATION BY Series 10/11 TAPE FORMAT PROGRAMMING B–63604EN/01 17.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
  • Page 33717. MEMORY OPERATION BY B–63604EN/01 PROGRAMMING Series 10/11 TAPE FORMAT D Addresses and If the following addresses are specified in the FS10/11 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 rou
  • Page 33817. MEMORY OPERATION BY Series 10/11 TAPE FORMAT PROGRAMMING B–63604EN/01 17.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 repet
  • Page 33917. MEMORY OPERATION BY B–63604EN/01 PROGRAMMING Series 10/11 TAPE FORMAT D G code Some G codes are valid only for this CNC tape format or FS10/11 tape format. Specifying an invalid G code results in P/S alarm No. 10 being generated. G codes valid only for the Series 10/11 tape format G81, G82, G83.
  • Page 34017. MEMORY OPERATION BY Series 10/11 TAPE FORMAT PROGRAMMING B–63604EN/01 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 FS10/11 tape format, the parameter and the G code system used determine whet
  • Page 34117. MEMORY OPERATION BY B–63604EN/01 PROGRAMMING Series 10/11 TAPE FORMAT D Dwell with G83 and For Series 10/11–T, G83 or G83.1 does not cause the tool to dwell. For G83.1 the FS10/11 tape format, the tool dwells at the bottom of the hole only if the block contains a P address. D Dwelling with G84 a
  • Page 34218. FUNCTIONS FOR HIGH SPEED CUTTING PROGRAMMING B–63604EN/01 18 FUNCTIONS FOR HIGH SPEED CUTTING 318
  • Page 34318. FUNCTIONS FOR HIGH SPEED B–63604EN/01 PROGRAMMING CUTTING 18.1 The remote buffer function enables a large amount of data to be supplied to the CNC continuously and at high speed, by connecting a host REMOTE BUFFER computer or input/output device via a serial interface. Remote RS–232–C/RS–422 Hos
  • Page 34418. FUNCTIONS FOR HIGH SPEED CUTTING PROGRAMMING B–63604EN/01 18.2 After a block containing only G05 is specified in normal NC format, operation can be performed by specifying movement data in the format HIGH–SPEED described below. Once zero has been specified as the amount of travel for REMOTE BUFF
  • Page 34518. FUNCTIONS FOR HIGH SPEED B–63604EN/01 PROGRAMMING CUTTING D Data for amount of travel Specify the amount of travel for each axis in the following units (specify a twos complement for a negative amount). Increment system IS–B IS–C Units Millimeter machine 0.001 0.0001 mm Inch machine 0.0001 0.000
  • Page 34618. FUNCTIONS FOR HIGH SPEED CUTTING PROGRAMMING B–63604EN/01 18.3 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 347B–63604EN/01 PROGRAMMING 19. AXIS CONTROL FUNCTION 19 AXIS CONTROL FUNCTION 323
  • Page 34819. AXIS CONTROL FUNCTION PROGRAMMING B–63604EN/01 19.1 Polygonal turning means machining a polygonal figure by rotating the workpiece and tool at a certain ratio. POLYGONAL TURNING Workpiece Workpiece Tool Fig. 19.1 (a) Polygonal turning By changing conditions which are rotation ratio of workpiece
  • Page 349B–63604EN/01 PROGRAMMING 19. 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 35019. AXIS CONTROL FUNCTION PROGRAMMING B–63604EN/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 351B–63604EN/01 PROGRAMMING 19. AXIS CONTROL FUNCTION Then consider the case when one tool is set at 180° symmetrical positions, for atotal of two. It is seen that a square can be machined with these tools as shown below. ÇÇÇÇÇÇÇÇÇ ÇÇÇÇÇÇÇÇÇ ÇÇÇÇÇÇÇÇÇ ÇÇÇÇÇÇÇÇÇ ÇÇÇÇÇÇÇÇÇ ÇÇÇÇÇÇÇÇÇ ÇÇÇÇÇÇÇÇÇ ÇÇÇÇÇÇÇÇÇ Ç
  • Page 35219. AXIS CONTROL FUNCTION PROGRAMMING B–63604EN/01 WARNING 1 The starting point of the threading process becomes inconsistent when performed during synchronous operation. Cancel the synchronizing by executing G50.2 when threading. 2 The following signals become either valid or invalid in relation to
  • Page 353B–63604EN/01 PROGRAMMING 19. AXIS CONTROL FUNCTION 19.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 35419. AXIS CONTROL FUNCTION PROGRAMMING B–63604EN/01 19.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 355B–63604EN/01 PROGRAMMING 19. 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 35619. AXIS CONTROL FUNCTION PROGRAMMING B–63604EN/01 19.4 This function sets an axis (B–axis) independent of the basic controlled axes X and Z and allows drilling, boring, or other machining along the B–AXIS CONTROL B–axis, in parallel with the operations for the basic controlled axes. (G100, G101, G1
  • Page 357B–63604EN/01 PROGRAMMING 19. AXIS CONTROL FUNCTION 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 35819. AXIS CONTROL FUNCTION PROGRAMMING B–63604EN/01 Explanations D Codes that can be used The following 13 G codes, and the M, S, and T codes of the miscellaneous in a B–axis operation functions, can be used in a B–axis operation program: program Code Description G00 Positioning (rapid traverse) G01
  • Page 359B–63604EN/01 PROGRAMMING 19. AXIS CONTROL FUNCTION G98, G99 (feed per minute, feed per rotation) The MDF bit (bit 2 of parameter 8241) specifies an initial continuous–state G code for G110, or the G code to start registration of the operation program (G101, G102, G103). When the MDF bit is set to 0,
  • Page 36019. AXIS CONTROL FUNCTION PROGRAMMING B–63604EN/01 1. The value of the macro variable is calculated not from the data existing upon execution of the B–axis operation, but from the data existing at registration of the operation program. 2. An instruction that causes a branch to a location beyond the
  • Page 361B–63604EN/01 PROGRAMMING 19. AXIS CONTROL FUNCTION Example) When the first, second, and third programs are started by M40, M41, and M42, respectively O1234. ; : : M40 ; M code for starting the first program M41 ; M code for starting the second program M42 ; M code for starting the third program M40
  • Page 36219. AXIS CONTROL FUNCTION PROGRAMMING B–63604EN/01 : G110 G01 B100. F200 ; Block for single–motion operation along B–axis G00 X100. Z20. ; : D Program memory An operation program is registered in program memory as a series of different blocks of the move, dwell, auxiliary, and other functions. Progr
  • Page 363B–63604EN/01 PROGRAMMING 19. AXIS CONTROL FUNCTION Example) When the MDG bit (bit 1 of parameter 8241) is set to 1 and the MDF bit (bit 2 of parameter 8241) is set to 1 G98 G00 X100. F1000 ; . . . . . . . . . (1) G110 B200. F2 ; . . . . . . . . . . . . . . . (2) X200. ; . . . . . . . . . . . . . . .
  • Page 36419. AXIS CONTROL FUNCTION PROGRAMMING B–63604EN/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 365B–63604EN/01 PROGRAMMING 19. AXIS CONTROL FUNCTION 19.5 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 36619. AXIS CONTROL FUNCTION PROGRAMMING B–63604EN/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 36720. PATTERN DATA INPUT B–63604EN/01 PROGRAMMING FUNCTION 20 PATTERN DATA INPUT FUNCTION This function enables users to perform programming simply by extracting numeric data (pattern data) from a drawing and specifying the numerical values from the MDI panel. This eliminates the need for programming
  • Page 36820. PATTERN DATA INPUT FUNCTION PROGRAMMING B–63604EN/01 20.1 Pressing the OFFSET SETTING key and [MENU] is displayed on the following DISPLAYING THE pattern menu screen. PATTERN MENU MENU : HOLE PATTERN O0000 N00000 1. BOLT HOLE 2. GRID 3. LINE ANGLE 4. TAPPING 5. DRILLING 6. BORING 7. POCKET 8. PE
  • Page 36920. PATTERN DATA INPUT B–63604EN/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 37020. PATTERN DATA INPUT FUNCTION PROGRAMMING B–63604EN/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 37120. PATTERN DATA INPUT B–63604EN/01 PROGRAMMING FUNCTION Example Custom macros for the menu title and hole pattern names. MENU : HOLE PATTERN O0000 N00000 1. BOLT HOLE 2. GRID 3. LINE ANGLE 4. TAPPING 5. DRILLING 6. BORING 7. POCKET 8. PECK 9. TEST PATRN 10. BACK > _ MDI **** *** *** 16:05:59 [ MACR
  • Page 37220. PATTERN DATA INPUT FUNCTION PROGRAMMING B–63604EN/01 20.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 37320. PATTERN DATA INPUT B–63604EN/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 37420. PATTERN DATA INPUT FUNCTION PROGRAMMING B–63604EN/01 NOTE Variable names can be assigned to 32 common variables #500 to #531, which are not cleared when the power is turned off. 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 : Cha
  • Page 37520. PATTERN DATA INPUT B–63604EN/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 37620. PATTERN DATA INPUT FUNCTION PROGRAMMING B–63604EN/01 20.3 Table.20.3(a) Characters and codes to be used for the pattern CHARACTERS AND data input function CODES TO BE USED Cha Cha rac- Code Comment rac- Code Comment FOR THE PATTERN ter ter DATA INPUT A 065 6 054 FUNCTION B 066 7 055 C 067 8 056
  • Page 37720. PATTERN DATA INPUT B–63604EN/01 PROGRAMMING FUNCTION Table 20.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 378
  • Page 379III. OPERATIO
  • Page 380
  • Page 381B–63604EN/01 OPERATION 1. GENERAL 1 GENERAL 357
  • Page 3821. GENERAL OPERATION B–63604EN/01 1.1 MANUAL OPERATION Explanations D Manual reference The CNC machine tool has a position used to determine the machine position return position. This position is called the reference position, where the tool is replaced or the coordinate are set. Ordinarily, after t
  • Page 383B–63604EN/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 operat
  • Page 3841. GENERAL OPERATION B–63604EN/01 1.2 Automatic operation is to operate the machine according to the created program. It includes memory, MDI, and DNC operations. (See Section TOOL MOVEMENT III–4). BY PROGRAMMING – AUTOMATIC Program OPERATION 01000 ; M_S_T ; G92_X_ ; Tool G00... ; G01...... ; . . .
  • Page 385B–63604EN/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 3861. GENERAL OPERATION B–63604EN/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 387B–63604EN/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 3881. GENERAL OPERATION B–63604EN/01 D Single block When the cycle start push button is pressed, the tool executes one operation then stops. By pressing the cycle start again, the tool executes the next operation then stops. The program is checked in this manner. Cycle start Cycle start Cycle start Cyc
  • Page 389B–63604EN/01 OPERATION 1. GENERAL 1.5 After a created program is once registered in memory, it can be corrected or modified from the MDI panel (See Section III–9). EDITING A PART This operation can be executed using the part program storage/edit PROGRAM function. Program registration Program correct
  • Page 3901. GENERAL OPERATION B–63604EN/01 1.6 The operator can display or change a value stored in CNC internal memory by key operation on the MDI screen (See III–11). DISPLAYING AND SETTING DATA Data setting Data display Screen Keys MDI CNC memory Fig.1.6 (a) Displaying and setting data Explanations D Offs
  • Page 391B–63604EN/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 3921. GENERAL OPERATION B–63604EN/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 393B–63604EN/01 OPERATION 1. GENERAL 1.7 DISPLAY 1.7.1 The contents of the currently active program are displayed. In addition, the programs scheduled next and the program list are displayed. Program Display (See Section III–11.2.1) Active sequence number Active program number PROGRAM O1100 N00005 N1 G
  • Page 3941. GENERAL OPERATION B–63604EN/01 1.7.2 The current position of the tool is displayed with the coordinate values. The distance from the current position to the target position can also be Current Position displayed. (See Section III–11.1 to 11.1.3) Display X z x Z Workpiece coordinate system ACTUAL
  • Page 395B–63604EN/01 OPERATION 1. GENERAL 1.7.4 When this option is selected, two types of run time and number of parts are displayed on the screen.(See Section lll–11.4.9) Parts Count Display, Run Time Display ACTUAL POSITION(ABSOLUTE) O0003 N00003 X 150.000 Z 100.000 C 90.000 PART COUNT 18 RUN TIME 0H16M
  • Page 3961. GENERAL OPERATION B–63604EN/01 1.7.5 The graphic can be used to draw a tool path for automatic operation and manual operation, thereby indicating the progress of cutting and the Graphic Display (See position of the tool. (See Section III–12) Section III–12) X O0001 N00021 X 200.000 Z 200.000 Z ME
  • Page 397B–63604EN/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 3982. OPERATIONAL DEVICES OPERATION B–63604EN/01 2 OPERATIONAL DEVICES The available operational devices include the setting and display unit attached to the CNC, the machine operator’s panel, and external input/output devices such as a Handy File. 374
  • Page 399B–63604EN/01 OPERATION 2. OPERATIONAL DEVICES 2.1 The setting and display units are shown in Subsections 2.1.1 to 2.1.5 of Part III. SETTING AND DISPLAY UNITS 7.2″/8.4″ LCD–Mounted Type CNC control unit : III–2.1.1 9.5″/10.4″ LCD–Mounted Type CNC control unit : III–2.1.2 Stand–Alone Type small MDI u
  • Page 4002. OPERATIONAL DEVICES OPERATION B–63604EN/01 2.1.1 7.2″/8.4″ LCD–Mounted Type CNC Control Unit 2.1.2 9.5″/10.4″ LCD–Mounted Type CNC Control Unit 376
  • Page 401B–63604EN/01 OPERATION 2. OPERATIONAL DEVICES 2.1.3 Stand–Alone Type Small MDI Unit Address/numeric keys Function keys Shift key Cancel (CAN) key Input key Edit keys Help key Reset key Cursor keys Page change keys 377
  • Page 4022. OPERATIONAL DEVICES OPERATION B–63604EN/01 2.1.4 Stand–Alone Type Standard MDI Unit Reset key Address/numeric keys Help key Edit keys Cancel (CAN) key Input key Shift key Function keys Page change Cursor keys keys 378
  • Page 403B–63604EN/01 OPERATION 2. OPERATIONAL DEVICES 2.1.5 Stand–Alone Type 61 Full–Key MDI Unit Reset key Address/numeric keys Function keys Shift key Help key Page change keys Cursor keys Cancel (CAN) key Input key Edit keys 379
  • Page 4042. OPERATIONAL DEVICES OPERATION B–63604EN/01 2.2 EXPLANATION OF THE KEYBOARD Table 2.2 Explanation of the MDI keyboard Number Name Explanation 1 RESET key Press this key to reset the CNC, to cancel an alarm, etc. RESET 2 HELP key Press this key to display how to operate the machine tool, such as MD
  • Page 405B–63604EN/01 OPERATION 2. OPERATIONAL DEVICES Table 2.2 Explanation of the MDI keyboard Number Name Explanation 10 Cursor move keys There are four different cursor move keys. : This key is used to move the cursor to the right or in the forward direction. The cursor is moved in short units in the for
  • Page 4062. OPERATIONAL DEVICES OPERATION B–63604EN/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 407B–63604EN/01 OPERATION 2. OPERATIONAL DEVICES 2.3.2 Function keys are provided to select the type of screen to be displayed. Function Keys The following function keys are provided on the MDI panel: POS Press this key to display the position screen. PROG Press this key to display the program screen.
  • Page 4082. OPERATIONAL DEVICES OPERATION B–63604EN/01 2.3.3 To display a more detailed screen, press a function key followed by a soft Soft Keys key. Soft keys are also used for actual operations. The following illustrates how soft key displays are changed by pressing each function key. The symbols in the f
  • Page 409B–63604EN/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] [WORK] [ALLEXE] (Axis name) [EXEC] Relative coordinate display [REL] [(OPRT)] (Axis or numeral) [PRESET]
  • Page 4102. OPERATIONAL DEVICES OPERATION B–63604EN/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 411B–63604EN/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] 387
  • Page 4122. OPERATIONAL DEVICES OPERATION B–63604EN/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 413B–63604EN/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] Floppy directory display [F
  • Page 4142. OPERATIONAL DEVICES OPERATION B–63604EN/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 415B–63604EN/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 4162. OPERATIONAL DEVICES OPERATION B–63604EN/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 417B–63604EN/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] Floppy directory display [FLOPPY] [PRGRM] Return to the program [DIR]
  • Page 4182. OPERATIONAL DEVICES OPERATION B–63604EN/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 419B–63604EN/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 4202. OPERATIONAL DEVICES OPERATION B–63604EN/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] [EXEC]
  • Page 421B–63604EN/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] [EXEC] Servo parameter screen [SV.PRM] [SV.SET] [ON:1] [(OPRT)] [SV.TUN] [OFF:0] (Numeral) [INPU
  • Page 4222. OPERATIONAL DEVICES OPERATION B–63604EN/01 MESSAGE SCREEN Soft key transition triggered by the function key MESSAGE MESSAGE Alarm display screen [ALARM] Message display screen [MSG] Alarm history screen [HISTRY] [(OPRT)] [CLEAR] HELP SCREEN Soft key transition triggered by the function key HELP H
  • Page 423B–63604EN/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)] [ERASE] [ZOOM] [(OPRT)] [ACT] [HI/LO] 399
  • Page 4242. OPERATIONAL DEVICES OPERATION B–63604EN/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 screen. Buffer In order to
  • Page 425B–63604EN/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 4262. OPERATIONAL DEVICES OPERATION B–63604EN/01 2.3.6 There are 12 soft keys in the 10.4″ LCD/MDI or 9.5″ LCD/MDI panel. Soft Key Configuration As illustrated below, the 5 soft keys on the right and those on the right and left edges operate in the same way as the 7.2″ LCD/8.4″ LCD, whereas the 5 keys
  • Page 427B–63604EN/01 OPERATION 2. OPERATIONAL DEVICES 2.4 Handy File of external input/output device is available. For detail on Handy File, refer to the corresponding manual listed below. EXTERNAL I/O Table 2.4 External I/O device DEVICES Device name Usage Max. Reference storage manual capacity FANUC Handy
  • Page 4282. OPERATIONAL DEVICES OPERATION B–63604EN/01 Parameter 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 429B–63604EN/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 4302. OPERATIONAL DEVICES OPERATION B–63604EN/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 431B–63604EN/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 4322. OPERATIONAL DEVICES OPERATION B–63604EN/01 Screen indicating module setting status DEH1 – 01 SLOT 01 (3046) : END END: Setting completed SLOT 02 (3050) : Blank: Setting not com- pleted Module ID Slot number Display of software configuration DEH1 – 01 CNC control software Order–made macro/macro OM
  • Page 433B–63604EN/01 OPERATION 3. MANUAL OPERATION 3 MANUAL OPERATION MANUAL OPERATION are six kinds as follows : 3.1 Manual reference position return 3.2 Jog feed 3.3 Incremental feed 3.4 Manual handle feed 3.5 Manual absolute on and off 409
  • Page 4343. MANUAL OPERATION OPERATION B–63604EN/01 3.1 The tool is returned to the reference position as follows : The tool is moved in the direction specified in parameter ZMI (bit 5 of No. MANUAL 1006) for each axis with the reference position return switch on the REFERENCE machine operator’s panel. The t
  • Page 435B–63604EN/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 4363. MANUAL OPERATION OPERATION B–63604EN/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.1
  • Page 437B–63604EN/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 4383. MANUAL OPERATION OPERATION B–63604EN/01 3.3 In the incremental (INC) mode, pressing a feed axis and direction selection switch on the machine operator’s panel moves the tool one step INCREMENTAL FEED along the selected axis in the selected direction. The minimum distance the tool is moved is the
  • Page 439B–63604EN/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 4403. MANUAL OPERATION OPERATION B–63604EN/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 incremen
  • Page 441B–63604EN/01 OPERATION 3. MANUAL OPERATION Restrictions D Number of MPGs Manual pulse generators for up two axes can be set. The two axes can be moved simultaneously. WARNING Rotating the handle quickly with a large magnification such as x100 moves the tool too fast. The feedrate is clamped at the r
  • Page 4423. MANUAL OPERATION OPERATION B–63604EN/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 443B–63604EN/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 4443. MANUAL OPERATION OPERATION B–63604EN/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 r
  • Page 445B–63604EN/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 4463. MANUAL OPERATION OPERATION B–63604EN/01 Manual operation during cornering This is an example when manual operation is performed during cornering. VA2’, VB1’, and VB2’ are vectors moved in parallel with VA2, VB1 and VB2 by the amount of manual movement. The new vectors are calculated from VC1 and
  • Page 447B–63604EN/01 OPERATION 4. AUTOMATIC OPERATION 4 AUTOMATIC OPERATION Programmed operation of a CNC machine tool is referred to as automatic operation. This chapter explains the following types of automatic operation: S MEMORY OPERATION Operation by executing a program registered in CNC memory S MDI O
  • Page 4484. AUTOMATIC OPERATION OPERATION B–63604EN/01 4.1 Programs are registered in memory in advance. When one of these programs is selected and the cycle start switch on the machine operator’s MEMORY panel is pressed, automatic operation starts, and the cycle start LED goes OPERATION on. When the feed ho
  • Page 449B–63604EN/01 OPERATION 4. AUTOMATIC OPERATION When a reset is applied during movement, movement decelerates then stops. Explanation Memory operation After memory operation is started, the following are executed: (1) A one–block command is read from the specified program. (2) The block command is dec
  • Page 4504. AUTOMATIC OPERATION OPERATION B–63604EN/01 Calling a subprogram A file (subprogram) in an external input/output device such as a Floppy stored in an external Cassette can be called and executed during memory operation. For input/output device details, see Section III–4.5. 426
  • Page 451B–63604EN/01 OPERATION 4. AUTOMATIC OPERATION 4.2 In the MDI mode, a program consisting of up to 10 lines can be created in the same format as normal programs and executed from the MDI panel. MDI OPERATION MDI operation is used for simple test operations. The following procedure is given as an examp
  • Page 4524. AUTOMATIC OPERATION OPERATION B–63604EN/01 When the program end (M02, M30) or ER(%) is executed, the prepared program will be automatically erased and the operation will end. By command of M99, control returns to the head of the prepared program. PROGRAM ( MDI ) O0001 N00003 O0000 G00 X100.0 Z200
  • Page 453B–63604EN/01 OPERATION 4. AUTOMATIC OPERATION D In MEMORY mode, if memory operation is performed. D In EDIT mode, if any editing is performed. D Background editing is performed. D When O and DELETE keys were pressed. D Upon reset when bit 7 (MCL) of parameter No. 3203 is set to 1 D Restart After the
  • Page 4544. AUTOMATIC OPERATION OPERATION B–63604EN/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 455B–63604EN/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 4564. AUTOMATIC OPERATION OPERATION B–63604EN/01 5 The sequence number is searched for, and the program restart screen appears on the screen. PROGRAM RESTART O0002 N00100 DESTINATION M1 2 X 57. 096 1 2 Z 56. 943 1 2 1 2 1 2 1 ******** DISTANCE TO GO * * * * * * * ** * * * * * * * 1 X 1. 459 2 Z 7. 320
  • Page 457B–63604EN/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 4584. AUTOMATIC OPERATION OPERATION B–63604EN/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 459B–63604EN/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 4604. AUTOMATIC OPERATION OPERATION B–63604EN/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 461B–63604EN/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 4624. AUTOMATIC OPERATION OPERATION B–63604EN/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 463B–63604EN/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 4644. AUTOMATIC OPERATION OPERATION B–63604EN/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 is
  • Page 465B–63604EN/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 number i
  • Page 4664. AUTOMATIC OPERATION OPERATION B–63604EN/01 Alarm Alarm No. Description 086 An attempt was made to execute a file that was not registered in the floppy disk. 210 M198 and M99 were executed during scheduled operation, or M198 was executed during DNC operation. 442
  • Page 467B–63604EN/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 4684. AUTOMATIC OPERATION OPERATION B–63604EN/01 Restrictions NOTE 1 When M198 in the program of the file saved in a floppy cassette is executed, a P/S alarm (No.210) is given. When a program in the memory of CNC is called and M198 is executed during execution of a program of the file saved in a floppy
  • Page 469B–63604EN/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 4704. AUTOMATIC OPERATION OPERATION B–63604EN/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 471B–63604EN/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 4724. AUTOMATIC OPERATION OPERATION B–63604EN/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 MDI. X–
  • Page 473B–63604EN/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 4744. AUTOMATIC OPERATION OPERATION B–63604EN/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 475B–63604EN/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 4764. AUTOMATIC OPERATION OPERATION B–63604EN/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 477B–63604EN/01 OPERATION 4. AUTOMATIC OPERATION D Program screen (12 soft key type) 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
  • Page 4784. AUTOMATIC OPERATION OPERATION B–63604EN/01 Alarm Number Message Contents 086 DR SIGNAL OFF When entering data in the memory by us- ing 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 def
  • Page 479B–63604EN/01 OPERATION 4. AUTOMATIC OPERATION 4.10 DNC OPERATION WITH MEMORY CARD 4.10.1 “DNC operation with Memory Card” is a function that it is possible to Specification perform machining with executing the program in the memory card, which is assembled to the memory card interface, where is the
  • Page 4804. AUTOMATIC OPERATION OPERATION B–63604EN/01 NOTE 1 To use this function, it is necessary to set the I/O channel (the parameter of No.20) to 4 by setting screen. No.20 [I/O CHANEL: Setting to select an input/output unit] Setting value is 4.: It means using the memory card interface. 2 When CNC cont
  • Page 481B–63604EN/01 OPERATION 4. AUTOMATIC OPERATION 4.10.2.2 When the following block in a program in CNC memory is executed, a Subprogram call (M198) subprogram file in memory card is called. Format 1. Normal format M198 Pffff ∆∆∆∆ ; File number for a file in the memory card Number of repetition Memory c
  • Page 4824. AUTOMATIC OPERATION OPERATION B–63604EN/01 4.10.3 (1) The memory card can not be accessed, such as display of memory card LIMITATION and list and so on, during the DNC operation with memory card. NOTES (2) It is possible to execute the DNC operation with memory card on multi path system. However,
  • Page 483B–63604EN/01 OPERATION 4. AUTOMATIC OPERATION 4.10.5 Connecting PCMCIA Card Attachment 4.10.5.1 Specification number Specification Remarks A02B–0236–K160 For 7.2″ LCD or 8.4″ LCD A02B–0236–K161 For 9.5″ LCD or 10.4″ LCD 4.10.5.2 1) How to assemble to the unit Assembling Assemble an attachment guide
  • Page 4844. AUTOMATIC OPERATION OPERATION B–63604EN/01 (b) Push up the card to the upper end of the attachment. 3) Assembling of the attachment Insert the memory card with the attachment into the memory card interface as following figure. And, fix the attachment guide by screwing the screw of the attachment
  • Page 485B–63604EN/01 OPERATION 4. AUTOMATIC OPERATION 4) Appearance after connection NOTE 1 In both case of stand–alone type i series and LCD mounted type i series, the memory card interface where is the left side of the screen of the display unit. (The memory card interface on the stand–alone type controll
  • Page 4865. TEST OPERATION OPERATION B–63604EN/01 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 487B–63604EN/01 OPERATION 5. TEST OPERATION 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 4885. TEST OPERATION OPERATION B–63604EN/01 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 489B–63604EN/01 OPERATION 5. TEST OPERATION 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 4905. TEST OPERATION OPERATION B–63604EN/01 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 491B–63604EN/01 OPERATION 5. TEST OPERATION 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 ÇÇÇÇÇChu
  • Page 4925. TEST OPERATION OPERATION B–63604EN/01 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 493B–63604EN/01 OPERATION 5. TEST OPERATION 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 4945. TEST OPERATION OPERATION B–63604EN/01 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 495B–63604EN/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 4966. SAFETY FUNCTIONS OPERATION B–63604EN/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 497B–63604EN/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 4986. SAFETY FUNCTIONS OPERATION B–63604EN/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. ÇÇÇÇÇÇÇÇÇÇÇÇÇÇÇÇÇÇÇÇ STORED STROKE ÇÇÇÇÇÇÇÇÇÇÇÇÇÇÇÇÇÇÇÇ CHECK ÇÇÇÇÇÇÇÇÇÇÇÇÇÇÇÇ ÇÇÇÇÇÇÇÇÇÇÇÇÇÇÇÇÇÇÇÇ ÇÇÇÇÇÇÇÇÇÇÇÇÇÇÇÇ ÇÇ
  • Page 499B–63604EN/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 p
  • Page 5006. SAFETY FUNCTIONS OPERATION B–63604EN/01 D Checkpoint for the The parameter setting or programmed value (X, Z, I, and K) depends on forbidden area which 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)
  • Page 501B–63604EN/01 OPERATION 6. SAFETY FUNCTIONS D Change from G23 to When G23 is switched to G22 in the forbidden area, the following results. G22 in a forbidden area (1) When the forbidden area is inside, an alarm is informed in the next move. (2) When the forbidden area is outside, an alarm is informed
  • Page 5026. SAFETY FUNCTIONS OPERATION B–63604EN/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 503B–63604EN/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 5046. SAFETY FUNCTIONS OPERATION B–63604EN/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 505B–63604EN/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 5066. SAFETY FUNCTIONS OPERATION B–63604EN/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 507B–63604EN/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 5086. SAFETY FUNCTIONS OPERATION B–63604EN/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 5097. ALARM AND SELF–DIAGNOSIS B–63604EN/01 OPERATION FUNCTIONS 7 ALARM AND SELF–DIAGNOSIS FUNCTIONS When an alarm occurs, the corresponding alarm screen appears to indicate the cause of the alarm. The causes of alarms are classified by alarm numbers. Up to 25 previous alarms can be stored and displaye
  • Page 5107. ALARM AND SELF–DIAGNOSIS FUNCTIONS OPERATION B–63604EN/01 7.1 ALARM DISPLAY Explanations D Alarm screen When an alarm occurs, the alarm screen appears. ALARM MESSAGE 0000 00000 100 PARAMETER WRITE ENABLE 510 OVER TRAVEL :+X 417 SERVO ALARM : X AXIS DGTL PARAM 417 SERVO ALARM : Z AXIS DGTL PARAM M
  • Page 5117. ALARM AND SELF–DIAGNOSIS B–63604EN/01 OPERATION FUNCTIONS D Reset of the alarm Alarm numbers and messages indicate the cause of an alarm. To recover from an alarm, eliminate the cause and press the reset key. D Alarm numbers The error codes are classified as follows: No. 000 to 255 : P/S alarm (P
  • Page 5127. ALARM AND SELF–DIAGNOSIS FUNCTIONS OPERATION B–63604EN/01 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 5137. ALARM AND SELF–DIAGNOSIS B–63604EN/01 OPERATION FUNCTIONS 7.3 The system may sometimes seem to be at a halt, although no alarm has occurred. In this case, the system may be performing some processing. CHECKING BY The state of the system can be checked by displaying the self–diagnostic SELF–DIAGNO
  • Page 5147. ALARM AND SELF–DIAGNOSIS FUNCTIONS OPERATION B–63604EN/01 Explanations Diagnostic numbers 000 to 015 indicate states when a command is being specified but appears as if it were not being executed. The table below lists the internal states when 1 is displayed at the right end of each line on the s
  • Page 5157. ALARM AND SELF–DIAGNOSIS B–63604EN/01 OPERATION FUNCTIONS The table below shows the signals and states which are enabled when each diagnostic data item is 1. Each combination of the values of the diagnostic data indicates a unique state. 020 CUT SPEED UP/DOWN 1 0 0 0 1 0 0 021 RESET BUTTON ON 0 0
  • Page 5168. DATA INPUT/OUTPUT OPERATION B–63604EN/01 8 DATA INPUT/OUTPUT NC data is transferred between the NC and external input/output devices such as the Handy File. Information can be read into the CNC from a memory card and written from the CNC to the memory card, using the memory card interface at the
  • Page 517B–63604EN/01 OPERATION 8. DATA INPUT/OUTPUT 8.1 Of the external input/output devices, the FANUC Handy File use floppy disks as their input/output medium. FILES In this manual, an input/output medium is generally referred to as a floppy. Unlike an NC tape, a floppy allows the user to freely choose fr
  • Page 5188. DATA INPUT/OUTPUT OPERATION B–63604EN/01 D Protect switch The floppy is provided with the write protect switch. Set the switch to the write enable state. Then, start output operation. Write protect switch of a cassette (1) Write–protected (2) Write–enabled (Reading, writ- (Only reading is ing, an
  • Page 519B–63604EN/01 OPERATION 8. DATA INPUT/OUTPUT 8.2 When the program is input from the floppy, the file to be input first must be searched. FILE SEARCH For this purpose, proceed as follows: File 1 File 2 File 3 File n Blank File searching of the file n Procedure for File Heading 1 Press the EDIT or MEMO
  • Page 5208. DATA INPUT/OUTPUT OPERATION B–63604EN/01 Alarm No. Description The ready signal (DR) of an input/output device is off. An alarm is not immediately indicated in the CNC even when an alarm occurs during head searching (when a file is not found, or 86 the like). An alarm is given when the input/outp
  • Page 521B–63604EN/01 OPERATION 8. DATA INPUT/OUTPUT 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 5228. DATA INPUT/OUTPUT OPERATION B–63604EN/01 8.4 PROGRAM INPUT/OUTPUT 8.4.1 This section describes how to load a program into the CNC from a floppy Inputting a Program or NC tape. Procedure for Inputting a Program 1 Make sure the input device is ready for reading. For the two–path control, select the
  • Page 523B–63604EN/01 OPERATION 8. DATA INPUT/OUTPUT D Program numbers on a S When a program is entered without specifying a program number. NC tape 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 5248. DATA INPUT/OUTPUT OPERATION B–63604EN/01 S Additional input is possible only when a program has already been registered. D Defining the same If an attempt has been made to register a program having the same number program number as that as that of a previously registered program, P/S alarm 073 is
  • Page 525B–63604EN/01 OPERATION 8. DATA INPUT/OUTPUT 8.4.2 A program stored in the memory of the CNC unit is output to a floppy or Outputting a Program NC tape. 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 5268. DATA INPUT/OUTPUT OPERATION B–63604EN/01 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 527B–63604EN/01 OPERATION 8. DATA INPUT/OUTPUT 8.5 OFFSET DATA INPUT AND OUTPUT 8.5.1 Offset data is loaded into the memory of the CNC from a floppy or NC Inputting Offset Data tape. The input format is the same as for offset value output. See section III–8.5.2. When an offset value is loaded which has
  • Page 5288. DATA INPUT/OUTPUT OPERATION B–63604EN/01 8.5.2 All offset data is output in a output format from the memory of the CNC Outputting Offset Data to a floppy or NC tape. 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 529B–63604EN/01 OPERATION 8. DATA INPUT/OUTPUT 8.6 Parameters and pitch error compensation data are input and output from different screens, respectively. This chapter describes how to enter them. INPUTTING AND OUTPUTTING PARAMETERS AND PITCH ERROR COMPENSATION DATA 8.6.1 Parameters are loaded into the
  • Page 5308. DATA INPUT/OUTPUT OPERATION B–63604EN/01 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 memory of the Outputting Parameters CNC to a floppy or NC tape. Procedure for Outputti
  • Page 531B–63604EN/01 OPERATION 8. DATA INPUT/OUTPUT 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 5328. DATA INPUT/OUTPUT OPERATION B–63604EN/01 16 Release the EMERGENCY STOP button on the machine operator’s panel. Explanations D Pitch error Parameters 3620 to 3624 and pitch error compensation data must be set compensation correctly to apply pitch error compensation correctly (See subsec. III–11.5.
  • Page 533B–63604EN/01 OPERATION 8. DATA INPUT/OUTPUT 8.7 INPUTTING/ OUTPUTTING CUSTOM MACRO COMMON VARIABLES 8.7.1 The value of a custom macro common variable (#500 to #999) is loaded into the memory of the CNC from a floppy or NC tape. The same format Inputting Custom used to output custom macro common vari
  • Page 5348. DATA INPUT/OUTPUT OPERATION B–63604EN/01 8.7.2 Custom macro common variables (#500 to #999) stored in the memory Outputting Custom of the CNC can be output in the defined output format to a floppy or NC tape. Macro Common Variable Procedure for Outputting Custom Macro Common Variable 1 Make sure
  • Page 535B–63604EN/01 OPERATION 8. DATA INPUT/OUTPUT 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 5368. DATA INPUT/OUTPUT OPERATION B–63604EN/01 8.8.1 Displaying the Directory Displaying the Directory of Floppy Disk Files Procedure 1 Use the following procedure to display a directory of all the files stored in a floppy: 1 Press the EDIT switch on the machine operator’s panel. 2 Press function key P
  • Page 537B–63604EN/01 OPERATION 8. DATA INPUT/OUTPUT Procedure 2 Use the following procedure to display a directory of files starting with a specified file number : 1 Press the EDIT switch on the machine operator’s panel. 2 Press function key PROG . 3 Press the rightmost soft key (continuous menu key). 4 Pre
  • Page 5388. DATA INPUT/OUTPUT OPERATION B–63604EN/01 Explanations D Screen fields and their NO :Displays the file number meanings FILE NAME :Displays the file name. (METER) :Converts and prints out the file capacity to paper tape length. You can also produce H (FEET)I by setting the INPUT UNIT to INCH of the
  • Page 539B–63604EN/01 OPERATION 8. DATA INPUT/OUTPUT 8.8.2 The contents of the specified file number are read to the memory of NC. Reading Files 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 5408. DATA INPUT/OUTPUT OPERATION B–63604EN/01 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. 2 Press function key PROG . 3 Press the rightmost soft key (
  • Page 541B–63604EN/01 OPERATION 8. DATA INPUT/OUTPUT 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 (continuous menu key). 4 Press soft ke
  • Page 5428. DATA INPUT/OUTPUT OPERATION B–63604EN/01 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 543B–63604EN/01 OPERATION 8. DATA INPUT/OUTPUT 8.9 CNC programs stored in memory can be grouped according to their names, thus enabling the output of CNC programs in group units. Section OUTPUTTING A III–11.3.3 explains the display of a program listing for a specified group. PROGRAM LIST FOR A SPECIFIE
  • Page 5448. DATA INPUT/OUTPUT OPERATION B–63604EN/01 8.10 To input/output a particular type of data, the corresponding screen is usually selected. For example, the parameter screen is used for DATA INPUT/OUTPUT parameter input from or output to an external input/output unit, while ON THE ALL IO the program s
  • Page 545B–63604EN/01 OPERATION 8. DATA INPUT/OUTPUT 8.10.1 Input/output–related parameters can be set on the ALL IO screen. Setting Parameters can be set, regardless of the mode. Input/Output–Related Parameters Setting input/output–related parameters Procedure 1 Press function key SYSTEM . 2 Press the right
  • Page 5468. DATA INPUT/OUTPUT OPERATION B–63604EN/01 8.10.2 A program can be input and output using the ALL IO screen. Inputting and When entering a program using a cassette or card, the user must specify the input file containing the program (file search). Outputting Programs File search Procedure 1 Press s
  • Page 547B–63604EN/01 OPERATION 8. DATA INPUT/OUTPUT Explanations D Difference between N0 When a file already exists in a cassette or card, specifying N0 or N1 has and N1 the same effect. If N1 is specified when there is no file on the cassette or card, an alarm is issued because the first file cannot be fou
  • Page 5488. DATA INPUT/OUTPUT OPERATION B–63604EN/01 5 Press soft key [READ], then [EXEC]. STOP CAN EXEC The program is input with the program number specified in step 4 assigned. To cancel input, press soft key [CAN]. To stop input prior to its completion, press soft key [STOP]. Outputting a program Procedu
  • Page 549B–63604EN/01 OPERATION 8. DATA INPUT/OUTPUT Deleting files Procedure 1 Press soft key [PRGRM] on the ALL IO screen, described in Section III–8.10.1. 2 Select EDIT mode. A program directory is displayed. 3 Press soft key [(OPRT)]. The screen and soft keys change as shown below. D A program directory
  • Page 5508. DATA INPUT/OUTPUT OPERATION B–63604EN/01 8.10.3 Parameters can be input and output using the ALL IO screen. Inputting and Outputting Parameters Inputting parameters Procedure 1 Press soft key [PARAM] on the ALL IO screen, described in Section III–8.10.1. 2 Select EDIT mode. 3 Press soft key [(OPR
  • Page 551B–63604EN/01 OPERATION 8. DATA INPUT/OUTPUT Outputting parameters Procedure 1 Press soft key [PARAM] on the ALL IO screen, described in Section III–8.10.1. 2 Select EDIT mode. 3 Press soft key [(OPRT)]. The screen and soft keys change as shown below. READ/PUNCH (PARAMETER) O1234 N12345 I/O CHANNEL 3
  • Page 5528. DATA INPUT/OUTPUT OPERATION B–63604EN/01 8.10.4 Offset data can be input and output using the ALL IO screen. Inputting and Outputting Offset Data Inputting offset data Procedure 1 Press soft key [OFFSET] on the ALL IO screen, described in Section III–8.10.1. 2 Select EDIT mode. 3 Press soft key [
  • Page 553B–63604EN/01 OPERATION 8. DATA INPUT/OUTPUT Outputting offset data Procedure 1 Press soft key [OFFSET] on the ALL IO screen, described in Section III–8.10.1. 2 Select EDIT mode. 3 Press soft key [(OPRT)]. The screen and soft keys change as shown below. READ/PUNCH (OFFSET) O1234 N12345 I/O CHANNEL 3
  • Page 5548. DATA INPUT/OUTPUT OPERATION B–63604EN/01 8.10.5 Custom macro common variables can be output using the ALL IO screen. Outputting Custom Macro Common Variables Outputting custom macro common variables Procedure 1 Press soft key [MACRO] on the ALL IO screen, described in Section III–8.10.1. 2 Select
  • Page 555B–63604EN/01 OPERATION 8. DATA INPUT/OUTPUT 8.10.6 The ALL IO screen supports the display of a directory of floppy files, as Inputting and well as the input and output of floppy files. Outputting Floppy Files Displaying a file directory Procedure 1 Press the rightmost soft key (continuous menu key)
  • Page 5568. DATA INPUT/OUTPUT OPERATION B–63604EN/01 7 Press soft key [EXEC]. A directory is displayed, with the specified file uppermost. Subsequent files in the directory can be displayed by pressing the page key. READ/PUNCH (FLOPPY) O1234 N12345 No. FILE NAME (Meter) VOL 0001 PARAMETER 46.1 0002 ALL.PROGR
  • Page 557B–63604EN/01 OPERATION 8. DATA INPUT/OUTPUT Inputting a file Procedure 1 Press the rightmost soft key (continuous menu key) on the ALL IO screen, described in Section III–8.10.1. 2 Press soft key [FLOPPY]. 3 Select EDIT mode. The floppy screen is displayed. 4 Press soft key [(OPRT)]. The screen and
  • Page 5588. DATA INPUT/OUTPUT OPERATION B–63604EN/01 Outputting a file Procedure 1 Press the rightmost soft key (continuous menu key) on the ALL IO screen, described in Section III–8.10.1. 2 Press soft key [FLOPPY]. 3 Select EDIT mode. The floppy screen is displayed. 4 Press soft key [(OPRT)]. The screen and
  • Page 559B–63604EN/01 OPERATION 8. DATA INPUT/OUTPUT Deleting a file Procedure 1 Press the rightmost soft key (continuous menu key) on the ALL IO screen, described in Section III–8.10.1. 2 Press soft key [FLOPPY]. 3 Select EDIT mode. The floppy screen is displayed. 4 Press soft key [(OPRT)]. The screen and s
  • Page 5608. DATA INPUT/OUTPUT OPERATION B–63604EN/01 8.10.7 Data held in CNC memory can be saved to a memory card in MS–DOS Memory Card format. Data held on a memory card can be loaded into CNC memory. A save or load operation can be performed using soft keys while the CNC Input/Output is operating. Loading
  • Page 561B–63604EN/01 OPERATION 8. DATA INPUT/OUTPUT Saving memory data Data held in CNC memory can be saved to a memory card in MS–DOS format. Saving memory data Procedure 1 Press the rightmost soft key (continuous menu key) on the ALL IO screen, described in Section III–8.10.1. 2 Press soft key [M–CARD]. 3
  • Page 5628. DATA INPUT/OUTPUT OPERATION B–63604EN/01 Explanations D File name The file name used for save operation is determined by the amount of SRAM mounted in the CNC. A file holding saved data is divided into blocks of 512KB. SRAM file Amount of SRAM 256 KB 512 KB 1.0 MB 2.0 MB 3.0 MB Number of files 1
  • Page 563B–63604EN/01 OPERATION 8. DATA INPUT/OUTPUT Loading memory data Procedure 1 Press the rightmost soft key (continuous menu key) on the ALL IO screen, described in Section III–8.10.1. 2 Press soft key [M–CARD]. 3 Place the CNC in the emergency stop state. 4 When a memory card is inserted, the state of
  • Page 5648. DATA INPUT/OUTPUT OPERATION B–63604EN/01 Explanations D Canceling loading To cancel file load prior to its completion, press the RESET key on the MDI panel. D Turning off the power Depending on the type of data, the system power may have to be turned after loading off, then back on, for the load
  • Page 565B–63604EN/01 OPERATION 8. DATA INPUT/OUTPUT Memory card formatting Before a file can be saved to a memory card, the memory card must be formatted. Formatting a memory card Procedure 1 Press the rightmost soft key (continuous menu key) on the ALL IO screen, described in Section III–8.10.1. 2 Press so
  • Page 5668. DATA INPUT/OUTPUT OPERATION B–63604EN/01 Deleting files Unnecessary saved files can be deleted from a memory card. Deleting files Procedure 1 Press the rightmost soft key (continuous menu key) on the ALL IO screen, described in Section III–8.10.1. 2 Press soft key [M–CARD]. 3 Place the CNC in the
  • Page 567B–63604EN/01 OPERATION 8. DATA INPUT/OUTPUT Message and restrictions Messages Message Description INSERT MEMORY CARD. No memory card is inserted. UNUSABLE MEMORY CARD The memory card does not contain device information. FORMAT MEMORY CARD. The memory card is not formatted. Format the memory card bef
  • Page 5688. DATA INPUT/OUTPUT OPERATION B–63604EN/01 File system error codes Code Meaning 99 A portion that precedes the FAT area on the memory card is disrupted. 102 The memory card does not have sufficient free space. 105 No memory card is mounted. 106 A memory card is already mounted. 110 The specified di
  • Page 569B–63604EN/01 OPERATION 8. DATA INPUT/OUTPUT 8.11 Setting the I/O channel (parameter No. 20) to 4 enables files on a memory card inserted in the memory card interface beside the indicator to be DATA INPUT/OUTPUT referenced. It also enables different types of data such as part programs, USING A MEMORY
  • Page 5708. DATA INPUT/OUTPUT OPERATION B–63604EN/01 Displaying a directory of stored files Procedure 1 Press the EDIT switch on the machine operator’s panel. 2 Press function key PROG . 3 Press the rightmost soft key (continuous menu key). 4 Press soft key [CARD]. The screen shown below is displayed. Using
  • Page 571B–63604EN/01 OPERATION 8. DATA INPUT/OUTPUT Searching for a file Procedure 1 Press the EDIT switch on the machine operator’s panel. 2 Press function key PROG . 3 Press the rightmost soft key (continuous menu key). 4 Press soft key [CARD]. The screen shown below is displayed. DIRECTORY (M–CARD) O0034
  • Page 5728. DATA INPUT/OUTPUT OPERATION B–63604EN/01 Reading a file Procedure 1 Press the EDIT switch on the machine operator’s panel. 2 Press function key PROG . 3 Press the rightmost soft key (continuous menu key). 4 Press soft key [CARD]. Then, the screen shown below is displayed. DIRECTORY (M–CARD) O0034
  • Page 573B–63604EN/01 OPERATION 8. DATA INPUT/OUTPUT 8 To specify a file with its file name, press soft key [N READ] in step 6 above. The screen shown below is displayed. DIRECTORY (M–CARD) O0001 N00010 No. FILE NAME COMMENT 0012 O0050 (MAIN PROGRAM) 0013 TESTPRO (SUB PROGRAM–1) 0014 O0060 (MACRO PROGRAM) ~
  • Page 5748. DATA INPUT/OUTPUT OPERATION B–63604EN/01 Writing a file Procedure 1 Press the EDIT switch on the machine operator’s panel. 2 Press function key PROG . 3 Press the rightmost soft key (continuous menu key). 4 Press soft key [CARD]. The screen shown below is displayed. DIRECTORY (M–CARD) O0034 N0004
  • Page 575B–63604EN/01 OPERATION 8. DATA INPUT/OUTPUT Explanations D Registering the same file When a file having the same name is already registered in the memory name card, the existing file will be overwritten. D Writing all programs To write all programs, set program number = –9999. If no file name is spe
  • Page 5768. DATA INPUT/OUTPUT OPERATION B–63604EN/01 Deleting a file Procedure 1 Press the EDIT switch on the machine operator’s panel. 2 Press function key PROG . 3 Press the rightmost soft key (continuous menu key). 4 Press soft key [CARD]. The screen shown below is displayed. DIRECTORY (M–CARD) O0034 N000
  • Page 577B–63604EN/01 OPERATION 8. DATA INPUT/OUTPUT Batch input/output with a memory card On the ALL IO screen, different types of data including part programs, parameters, offset data, pitch error data, custom macros, and workpiece coordinate system data can be input and output using a memory card; the scr
  • Page 5788. DATA INPUT/OUTPUT OPERATION B–63604EN/01 Explanations D Each data item When this screen is displayed, the program data item is selected. The soft keys for other screens are displayed by pressing the rightmost soft key (continuous menu key). Soft key [M–CARD] represents a separate memory card func
  • Page 579B–63604EN/01 OPERATION 8. DATA INPUT/OUTPUT File format and error messages File format All files that are read from and written to a memory card are of text format. The format is described below. A file starts with % or LF, followed by the actual data. A file always ends with %. In a read operation,
  • Page 5808. DATA INPUT/OUTPUT OPERATION B–63604EN/01 Memory card error codes Code Meaning 99 A portion that precedes the FAT area on the memory card is disrupted. 102 The memory card does not have sufficient free space. 105 No memory card is mounted. 106 A memory card is already mounted. 110 The specified di
  • Page 581B–63604EN/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 5829. EDITING PROGRAMS OPERATION B–63604EN/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 583B–63604EN/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 5849. EDITING PROGRAMS OPERATION B–63604EN/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 585B–63604EN/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 5869. EDITING PROGRAMS OPERATION B–63604EN/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 587B–63604EN/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 5889. EDITING PROGRAMS OPERATION B–63604EN/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 589B–63604EN/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 5909. EDITING PROGRAMS OPERATION B–63604EN/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 591B–63604EN/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 5929. EDITING PROGRAMS OPERATION B–63604EN/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 593B–63604EN/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 5949. EDITING PROGRAMS OPERATION B–63604EN/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 595B–63604EN/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 5969. EDITING PROGRAMS OPERATION B–63604EN/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 597B–63604EN/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 5989. EDITING PROGRAMS OPERATION B–63604EN/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 599B–63604EN/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 6009. EDITING PROGRAMS OPERATION B–63604EN/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 601B–63604EN/01 OPERATION 9. EDITING PROGRAMS 9.6.5 Supplementary Explanation for Copying, Moving and Merging Explanations D Setting an editing range The setting of an editing range start point with [CRSR∼] can be changed freely until an editing range end point is set with [∼CRSR] or [∼BTTM] . If an ed
  • Page 6029. EDITING PROGRAMS OPERATION B–63604EN/01 Alarm Alarm No. Contents 70 Memory became insufficient while copying or inserting a program. 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 this
  • Page 603B–63604EN/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 6049. EDITING PROGRAMS OPERATION B–63604EN/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 605B–63604EN/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 6069. EDITING PROGRAMS OPERATION B–63604EN/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 607B–63604EN/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 6089. EDITING PROGRAMS OPERATION B–63604EN/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 609B–63604EN/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 ⋅ AUTOMATIC PROGRAM PREPARATION DEVICE (FANUC SYSTEM P) This chapter describes creating programs using the MDI panel, TEACH IN m
  • Page 61010. CREATING PROGRAMS OPERATION B–63604EN/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 611B–63604EN/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 61210. CREATING PROGRAMS OPERATION B–63604EN/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 613B–63604EN/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 61410. CREATING PROGRAMS OPERATION B–63604EN/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 615B–63604EN/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 61611. SETTING AND DISPLAYING DATA OPERATION B–63604EN/01 11 SETTING AND DISPLAYING DATA General To operate a CNC machine tool, various data must be set on the MDI for the CNC. The operator can monitor the state of operation with data displayed during operation. This chapter describes how to display an
  • Page 617B–63604EN/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 61811. SETTING AND DISPLAYING DATA OPERATION B–63604EN/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 619B–63604EN/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 (OPRT) Program editing Program memory screen and program diĆ ⇒See III-10 rectory ⇒See III-11.3.1. Program screen EDIT FLOPPY
  • Page 62011. SETTING AND DISPLAYING DATA OPERATION B–63604EN/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 621B–63604EN/01 OPERATION 11. SETTING AND DISPLAYING DATA 2/2 1* Tool offset value OFST.2 W.SHFT BARRIER (OPRT) Display of Y axis Display of work Chuck tail stack offset value coordinate barrier ⇒See III-11.4.6. system value ⇒See III-6.4 ⇒See III-11.4.5 Setting of Y axis Setting of work offset data coo
  • Page 62211. SETTING AND DISPLAYING DATA OPERATION B–63604EN/01 SYSTEM SCREEN 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.3 Setting of parameter ⇒see III-11.
  • Page 623B–63604EN/01 OPERATION 11. SETTING AND DISPLAYING DATA D Setting screens The table below lists the data set on each screen. Table 11 Setting screens and data on them No. Setting screen Contents of setting Reference item 1 Tool offset value Tool offset value Subsec. 11.4.1 Tool nose radius compensati
  • Page 62411. SETTING AND DISPLAYING DATA OPERATION B–63604EN/01 11.1 Press function key POS to display the current position of the tool. SCREENS The following three screens are used to display the current position of the DISPLAYED BY tool: FUNCTION KEY POS ⋅Position display screen for the work coordinate sys
  • Page 625B–63604EN/01 OPERATION 11. SETTING AND DISPLAYING DATA Explanations D Display including Bits 6 and 7 of parameter 3104 can be used to select whether the displayed compensation values values include tool offset value and tool nose radius compensation. 11.1.2 Displays the current position of the tool
  • Page 62611. SETTING AND DISPLAYING DATA OPERATION B–63604EN/01 Procedure to reset all axes ABS REL ALL 1 Press soft key [(OPRT)]. (OPRT) ORIGIN 2 Press soft key [ORIGIN]. ALLEXE EXEC 3 Press soft key [ALLEXE]. The relative coordinates for all axes are reset to 0. D Display including Bits 4 (DRL) and 5 (DRC)
  • Page 627B–63604EN/01 OPERATION 11. SETTING AND DISPLAYING DATA 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 62811. SETTING AND DISPLAYING DATA OPERATION B–63604EN/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 629B–63604EN/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 12 soft keys display unit, the actual feedrate Disp
  • Page 63011. SETTING AND DISPLAYING DATA OPERATION B–63604EN/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 631B–63604EN/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 63211. SETTING AND DISPLAYING DATA OPERATION B–63604EN/01 11.1.7 The reading on the load meter can be displayed for each servo axis and Operating Monitor the serial spindle by setting bit 5 (OPM) of parameter 3111 to 1. The reading on the speedometer can also be displayed for the serial spindle. Displa
  • Page 633B–63604EN/01 OPERATION 11. SETTING AND DISPLAYING DATA 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 63411. SETTING AND DISPLAYING DATA OPERATION B–63604EN/01 11.2 This section describes the screens displayed by pressing function key SCREENS PROG in MEMORY or MDI mode.The first four of the following screens DISPLAYED BY display the execution state for the program currently being executed in FUNCTION K
  • Page 635B–63604EN/01 OPERATION 11. SETTING AND DISPLAYING DATA 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 63611. SETTING AND DISPLAYING DATA OPERATION B–63604EN/01 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 637B–63604EN/01 OPERATION 11. SETTING AND DISPLAYING DATA 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 63811. SETTING AND DISPLAYING DATA OPERATION B–63604EN/01 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 639B–63604EN/01 OPERATION 11. SETTING AND DISPLAYING DATA D 12 soft keys display unit The program check screen is not provided for 12 soft keys display unit. Press soft key [PRGRM] to display the contents of the program on the right half of the screen. The block currently being executed is indicated by
  • Page 64011. SETTING AND DISPLAYING DATA OPERATION B–63604EN/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 641B–63604EN/01 OPERATION 11. SETTING AND DISPLAYING DATA 11.2.6 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 64211. SETTING AND DISPLAYING DATA OPERATION B–63604EN/01 11.3 This section describes the screens displayed by pressing function key SCREENS PROG in the EDIT mode. Function key PROG in the EDIT mode can DISPLAYED BY display the program editing screen and the program display screen FUNCTION KEY @prog PR
  • Page 643B–63604EN/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. 2 Press function
  • Page 64411. SETTING AND DISPLAYING DATA OPERATION B–63604EN/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 645B–63604EN/01 OPERATION 11. SETTING AND DISPLAYING DATA D Program name Always enter a program name between the control out and control in codes immediately after the program number. Up to 31 characters can be used for naming a program within the parentheses. If 31 characters are exceeded, the exceede
  • Page 64611. SETTING AND DISPLAYING DATA OPERATION B–63604EN/01 11.3.2 In addition to the normal listing of the numbers and names of CNC Displaying a Program programs stored in memory, programs can be listed in units of groups, according to the product to be machined, for example. List for a Specified Group
  • Page 647B–63604EN/01 OPERATION 11. SETTING AND DISPLAYING DATA 8 Pressing the [EXEC] operation soft key displays the group–unit EXEC program list screen, listing all those programs whose name includes the specified character string. PROGRAM DIRECTORY (GROUP) O0001 N00010 PROGRAM (NUM.) MEMORY (CHAR.) USED:
  • Page 64811. SETTING AND DISPLAYING DATA OPERATION B–63604EN/01 [Example of using wild cards] (Entered character string) (Group for which the search will be made) (a) “*” CNC programs having any name (b) “*ABC” CNC programs having names which end with “ABC” (c) “ABC*” CNC programs having names which start wi
  • Page 649B–63604EN/01 OPERATION 11. SETTING AND DISPLAYING DATA 11.4 Press function key OFFSET SETTING to display or set tool compensation values and SCREENS other data. DISPLAYED BY This section describes how to display or set the following data: FUNCTION KEY @off OFFSET SETTING 1. Tool offset value 2. Sett
  • Page 65011. SETTING AND DISPLAYING DATA OPERATION B–63604EN/01 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 651B–63604EN/01 OPERATION 11. SETTING AND DISPLAYING DATA 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 65211. SETTING AND DISPLAYING DATA OPERATION B–63604EN/01 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 653B–63604EN/01 OPERATION 11. SETTING AND DISPLAYING DATA 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 65411. SETTING AND DISPLAYING DATA OPERATION B–63604EN/01 3–3 Press the address key Z to be set. 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 manua
  • Page 655B–63604EN/01 OPERATION 11. SETTING AND DISPLAYING DATA 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 65611. SETTING AND DISPLAYING DATA OPERATION B–63604EN/01 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 657B–63604EN/01 OPERATION 11. SETTING AND DISPLAYING DATA 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 65811. SETTING AND DISPLAYING DATA OPERATION B–63604EN/01 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 659B–63604EN/01 OPERATION 11. SETTING AND DISPLAYING DATA 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 66011. SETTING AND DISPLAYING DATA OPERATION B–63604EN/01 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 661B–63604EN/01 OPERATION 11. SETTING AND DISPLAYING DATA 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 66211. SETTING AND DISPLAYING DATA OPERATION B–63604EN/01 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 663B–63604EN/01 OPERATION 11. SETTING AND DISPLAYING DATA 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 66411. SETTING AND DISPLAYING DATA OPERATION B–63604EN/01 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 665B–63604EN/01 OPERATION 11. SETTING AND DISPLAYING DATA 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 66611. SETTING AND DISPLAYING DATA OPERATION B–63604EN/01 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 667B–63604EN/01 OPERATION 11. SETTING AND DISPLAYING DATA 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 66811. SETTING AND DISPLAYING DATA OPERATION B–63604EN/01 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 669B–63604EN/01 OPERATION 11. SETTING AND DISPLAYING DATA 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 67011. SETTING AND DISPLAYING DATA OPERATION B–63604EN/01 11.4.11 This function is used to compensate for the difference between the Direct Input of programmed workpiece coordinate system and the actual workpiece coordinate system. The measured offset for the origin of the workpiece Measured Workpiece
  • Page 671B–63604EN/01 OPERATION 11. SETTING AND DISPLAYING DATA 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 67211. SETTING AND DISPLAYING DATA OPERATION B–63604EN/01 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 673B–63604EN/01 OPERATION 11. SETTING AND DISPLAYING DATA 11.4.13 With this function, functions of the switches on the machine operator’s Displaying and Setting panel can be controlled from the MDI panel. Jog feed can be performed using numeric keys. the Software Operator’s Panel Procedure for displayi
  • Page 67411. SETTING AND DISPLAYING DATA OPERATION B–63604EN/01 5 Push the cursor move key or to match the mark J to an arbitrary position and set the desired condition. 6 On a screen where jog feed is enabled, pressing a desired arrow key, shown below, performs jog feed. Press the 5 key together with an arr
  • Page 675B–63604EN/01 OPERATION 11. SETTING AND DISPLAYING DATA 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 67611. SETTING AND DISPLAYING DATA OPERATION B–63604EN/01 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 677B–63604EN/01 OPERATION 11. SETTING AND DISPLAYING DATA D Display contents TOOL LIFE DATA : O3000 N00060 SELECTED GROUP 000 GROUP 001 : LIFE 0150 COUNT 0007 *0034 #0078 @0012 0056 0090 0035 0026 0061 0000 0000 0000 0000 0000 0000 0000 0000 GROUP 002 : LIFE 1400 COUNT 0000 0062 0024 0044 0074 0000 000
  • Page 67811. SETTING AND DISPLAYING DATA OPERATION B–63604EN/01 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 679B–63604EN/01 OPERATION 11. SETTING AND DISPLAYING DATA 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 68011. SETTING AND DISPLAYING DATA OPERATION B–63604EN/01 11.5 When the CNC and machine are connected, parameters must be set to determine the specifications and functions of the machine in order to fully SCREENS utilize the characteristics of the servo motor or other parts. DISPLAYED BY This chapter d
  • Page 681B–63604EN/01 OPERATION 11. SETTING AND DISPLAYING DATA 11.5.1 When the CNC and machine are connected, parameters are set to Displaying and Setting determine the specifications and functions of the machine in order to fully utilize the characteristics of the servo motor. The setting of parameters Par
  • Page 68211. SETTING AND DISPLAYING DATA OPERATION B–63604EN/01 Procedure for enabling/displaying parameter writing 1 Select the MDI mode or enter state emergency stop. 2 Press function key OFFSET SETTING . 3 Press soft key [SETING] to display the setting screen. SETTING (HANDY) O0001 N00000 PARAMETER WRITE
  • Page 683B–63604EN/01 OPERATION 11. SETTING AND DISPLAYING DATA 11.5.2 If pitch error compensation data is specified, pitch errors of each axis can Displaying and Setting be compensated in detection unit per axis. Pitch error compensation data is set for each compensation point at the Pitch Error intervals s
  • Page 68411. SETTING AND DISPLAYING DATA OPERATION B–63604EN/01 Bidirectional pitch error The bidirectional pitch error compensation function allows independent compensation pitch error compensation in different travel directions. (When the movement is reversed, compensation is automatically carried out as i
  • Page 685B–63604EN/01 OPERATION 11. SETTING AND DISPLAYING DATA 2 Press function key SYSTEM . PITCH 3 Press the continuous menu key , then press chapter selection soft key [PITCH]. The following screen is displayed: Continuous menu key PIT–ERROR SETTING O0000 N00000 NO.DATA NO.DATA NO.DATA 0000 0 0010 0 0020
  • Page 68611. SETTING AND DISPLAYING DATA OPERATION B–63604EN/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 687B–63604EN/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 68811. SETTING AND DISPLAYING DATA OPERATION B–63604EN/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 689B–63604EN/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 For information relating to alarm display, see Section III.7.1. For DISPLAYED BY information relating to alarm hi
  • Page 69011. SETTING AND DISPLAYING DATA OPERATION B–63604EN/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 691B–63604EN/01 OPERATION 11. SETTING AND DISPLAYING DATA 11.8 When screen indication isn’t necessary, the life of the back light for LCD can be put off by turning off the back light. CLEARING THE The screen can be cleared by pressing specific keys. It is also possible to SCREEN specify the automatic c
  • Page 69211. SETTING AND DISPLAYING DATA OPERATION B–63604EN/01 11.8.2 The CNC screen is automatically cleared if no keys are pressed during the Automatic Erase period (in minutes) specified with a parameter. The screen is restored by pressing any key. Screen Display Procedure for Automatic Erase Screen Disp
  • Page 693B–63604EN/01 OPERATION 12. GRAPHICS FUNCTION 12 GRAPHICS FUNCTION The graphic function indicates how the tool moves during automatic operation or manual operation. 669
  • Page 69412. GRAPHICS FUNCTION OPERATION B–63604EN/01 12.1 It is possible to draw the programmed tool path on the screen, which makes it possible to check the progress of machining, while observing the GRAPHICS DISPLAY path on the screen. In addition, it is also possible to enlarge/reduce the screen. The dra
  • Page 695B–63604EN/01 OPERATION 12. GRAPHICS FUNCTION 6 Automatic or manual operation is started and machine movement is drawn on the screen. X 0001 00021 X 200.000 Z 200.000 Z >_ MEM STRT **** FIN 12:12:24 [ G.PRM ][ ][ GRAPH ][ ZOOM ][ (OPRT) ] D Magnifying drawings Part of a drawing on the screen can be m
  • Page 69612. GRAPHICS FUNCTION OPERATION B–63604EN/01 10 Resume the previous operation. The part of the drawing specified with the zoom cursors will be magnified. X S 0.81 0001 00012 X 200.000 Z 200.000 Z >_ MEM STRT **** FIN 12:12:24 [ G.PRM ][ GRAPH ][ ][ ][ ] 11 To display the original drawing, press the
  • Page 697B–63604EN/01 OPERATION 12. GRAPHICS FUNCTION D Graphics parameter WORK LENGTH (W), WORK DIAMETER (D) Specify work length and work diameter. The table below lists the input unit and valid data range. X X W W D D Z Z Table 12.1 Unit and Range of Drawing Data Unit Increment system Valid range mm input
  • Page 69812. GRAPHICS FUNCTION OPERATION B–63604EN/01 D Deleting the previous Pressing the [REVIEW] soft key on the graphic screen deletes tool paths drawing on it. Setting the graphic parameter as AUTO ERASE (A) = 1 specifies that when automatic operation is started at reset, program execution begins after
  • Page 699B–63604EN/01 OPERATION 13. HELP FUNCTION 13 HELP FUNCTION The help function displays on the screen detailed information about alarms issued in the CNC and about CNC operations. The following information is displayed. D Detailed information of When the CNC is operated incorrectly or an erroneous mach
  • Page 70013. HELP FUNCTION OPERATION B–63604EN/01 ALARM DETAIL screen 2 Press soft key [ALAM] on the HELP (INITIAL MENU) screen to display detailed information about an alarm currently being raised. HELP (ALARM DETAIL) O0010 N00001 NUMBER : 027 Alarm No. M‘SAGE : NO AXES COMMANDED IN G43/G44 Normal explana–
  • Page 701B–63604EN/01 OPERATION 13. HELP FUNCTION 3 To get details on another alarm number, first enter the alarm number, then press soft key [SELECT]. This operation is useful for investigating alarms not currently being raised. >100 S 0 T0000 MEM **** *** *** 10:12:25 [ ][ ][ ][ ][ SELECT ] Fig.13(d) How t
  • Page 70213. HELP FUNCTION OPERATION B–63604EN/01 >1 S 0 T0000 MEM **** *** *** 10:12:25 [ ][ ][ ][ ][ SELECT ] Fig.13(g) How to select each OPERATION METHOD screen When “1. PROGRAM EDIT” is selected, for example, the screen in Figure 13 (g) is displayed. On each OPERATION METHOD screen, it is possible to ch
  • Page 703B–63604EN/01 OPERATION 13. HELP FUNCTION 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 70414. SCREEN HARDCOPY OPERATION B–63604EN/01 14 SCREEN HARDCOPY The screen hardcopy function outputs the information displayed on the CNC screen as 640*480–dot bitmap data. This function makes it possible to produce a hard copy of a still image displayed on the CNC. The created bitmap data can be disp
  • Page 705B–63604EN/01 OPERATION 14. SCREEN HARDCOPY NOTE 1 During the screen hardcopy operation, key input is disabled for several tens of seconds. Until the screen hardcopy operation ends, the screen image lies still. During this period, the hardcopy in progress signal (F061#3) is tied to 1. No other signal
  • Page 70614. SCREEN HARDCOPY OPERATION B–63604EN/01 Colors of data The number of colors used in created bitmap data depend on the display control card, the LCD hardware, and the display mode of the CNC screen. Table 14 (a) indicates the relationships. Table 14 (a) Colors of BMP data created by the screen har
  • Page 707IV. MAINTENANC
  • Page 708
  • Page 709B–63604EN/01 MAINTENANCE 1. METHOD OF REPLACING BATTERY 1 METHOD OF REPLACING BATTERY This chapter describes how to replace the CNC backup battery and absolute pulse coder battery. This chapter consists of the following sections: 1.1 REPLACING BATTERY FOR LCD–MOUNTED TYPE i SERIES 1.2 REPLACING THE
  • Page 7101. METHOD OF REPLACING BATTERY MAINTENANCE B–63604EN/01 1.1 REPLACING BATTERY FOR LCD–MOUNTED TYPE i SERIES D Replacement procedure When a lithium battery is used Prepare a new lithium battery (ordering code: A02B–0200–K102 (FANUC specification: A98L–0031–0012)). 1) Turn on the power to the CNC. Aft
  • Page 711B–63604EN/01 MAINTENANCE 1. METHOD OF REPLACING BATTERY CAUTION Steps 1) to 3) should be completed within 30 minutes (or within 5 minutes for the 160i/180i with the PC function). Do not leave the control unit without a battery for any longer than the specified period. Otherwise, the contents of memo
  • Page 7121. METHOD OF REPLACING BATTERY MAINTENANCE B–63604EN/01 Replacing 1) Prepare two alkaline dry cells (size D) commercially available. commercial alkaline dry 2) Turn on the power to the Series 16i/18i/160i/180i. cells (size D) 3) Remove the battery case cover. 4) Replace the cells, paying careful att
  • Page 713B–63604EN/01 MAINTENANCE 1. METHOD OF REPLACING BATTERY 1.2 REPLACING THE BATTERY FOR STAND–ALONE TYPE i SERIES D Replacing the battery If a lithium battery is used, have A02B–0200–K102 (FANUC internal code: A98L–0031–0012) handy. (1) Turn the CNC on. About 30 seconds later, turn the CNC off. (2) Re
  • Page 7141. METHOD OF REPLACING BATTERY MAINTENANCE B–63604EN/01 NOTE Complete steps (1) to (3) within 30 minutes. (or, for the 210i with the PC functions, within 5 minutes) If the battery is left removed for a long time, the memory would lose the contents. If there is a danger that the replacement cannot be
  • Page 715B–63604EN/01 MAINTENANCE 1. METHOD OF REPLACING BATTERY When using commercial D–size alkaline dry cells D Replacing the battery (1) Have commercial D–size alkaline dry cells handy. (2) Turn the CNC on. (3) Remove the lid from the battery case. (4) Replace the old dry cells with new ones. Mount the d
  • Page 7161. METHOD OF REPLACING BATTERY MAINTENANCE B–63604EN/01 1.3 A lithium battery is used to back up BIOS data in the PANEL i. This battery is factory–set in the PANEL i. This battery has sufficient capacity BATTERY IN THE to retain BIOS data for one year. PANEL i (3 VDC) When the battery voltage become
  • Page 717B–63604EN/01 MAINTENANCE 1. METHOD OF REPLACING BATTERY Lithium battery Front Rear view Side view BAT1 Fig.1.3 Lithium battery connection on the PANEL i 693
  • Page 7181. METHOD OF REPLACING BATTERY MAINTENANCE B–63604EN/01 1.4 One battery unit can maintain current position data for six absolute pulse coders for a year. BATTERY FOR When the voltage of the battery becomes low, APC alarms 306 to 308 (+ SEPARATE axis number) are displayed on the CRT display. When APC
  • Page 719B–63604EN/01 MAINTENANCE 1. METHOD OF REPLACING BATTERY 1.5 When the battery voltage falls, APC alarms 306 to 308 are displayed on the screen. When APC alarm 307 is displayed, replace the battery as soon BATTERY FOR as possible. In general, the battery should be replaced within one or two BUILT–IN A
  • Page 7201. METHOD OF REPLACING BATTERY MAINTENANCE B–63604EN/01 SERVO AMPLIFIER a The battery is connected in either of 2 ways as follows. series (SVM) Method 1: Attach the lithium battery to the SVM. Use the battery: A06B–6073–K001. Method 2: Use the battery case (A06B–6050–K060). Use the battery: A06B–605
  • Page 721B–63604EN/01 MAINTENANCE 1. METHOD OF REPLACING BATTERY [Attachment procedure] (1) Check the item 1 to 4 of ”Replacement procedure”. (2) Have four D–size alkaline batteries on hand. (3) Loosen the screws on the battery case. Remove the cover. (4) Replace the alkaline batteries in the case. Pay caref
  • Page 7221. METHOD OF REPLACING BATTERY MAINTENANCE B–63604EN/01 SVU–12, SVU–20 Battery Battery cover Pass the battery cable to this slit. SVU–40, SVU–80 CAUTIONS D The connector of the battery can be connected with either of CX5X and CX5Y. D Replacement of batteries in the battery case. (Method 2) Replace f
  • Page 723B–63604EN/01 MAINTENANCE 1. METHOD OF REPLACING BATTERY [Attachment procedure] (1) Check the item 1 to 3 of ”Replacement procedure”. (2) Have four D–size alkaline batteries on hand. (3) Loosen the screws on the battery case. Remove the cover. (4) Replace the alkaline batteries in the case. Pay caref
  • Page 724
  • Page 725APPENDI
  • Page 726
  • Page 727B–63604EN/01 APPENDIX A. TAPE CODE LIST A TAPE CODE LIST ISO code EIA code Remarks Custom macro B Character 8 7 6 5 4 3 2 1 Character 8 7 6 5 4 3 2 1 Not Used used 0 ff f 0 f f Number 0 1 f ff f f 1 f f Number 1 2 f ff f f 2 f f Number 2 3 ff f ff 3 f f f f Number 3 4 f ff f f 4 f f Number 4 5 ff f
  • Page 728A. TAPE CODE LIST APPENDIX B–63604EN/01 ISO code EIA code Remarks Custom macro B Character 8 7 6 5 4 3 2 1 Character 8 7 6 5 4 3 2 1 Not Used used Delete DEL fffff f fff Del ffff f fff × × (deleting a mispunch) No punch. With EIA code, this code can- NUL f Blank f not be used in a sig- × × nificant
  • Page 729B–63604EN/01 APPENDIX A. TAPE CODE LIST NOTE 1 The symbols used in the remark column have the following meanings. (Space) : The character will be registered in memory and has a specific meaning. If it is used incorrectly in a statement other than a comment, an alarm occurs. : The character will not
  • Page 730B. LIST OF FUNCTIONS AND TAPE FORMAT APPENDIX B–63604EN/01 B LIST OF FUNCTIONS AND TAPE FORMAT Some functions cannot be added as options depending on the model. In the tables below, IP :presents a combination of arbitrary axis addresses using X and Z. x = 1st basic axis (X usually) z = 2nd basic axi
  • Page 731B. LIST OF FUNCTIONS AND B–63604EN/01 APPENDIX TAPE FORMAT (2/4) Functions Illustration Tape format Polar coordinate interpolation G12.1 ; Polar coordinate interpolation mode (G12.1, G13.1) G13.1 ; Polar coordinate interpolation mode (G112, G113) cancel Plane selection G17 ; XpYp plane selection (G1
  • Page 732B. LIST OF FUNCTIONS AND TAPE FORMAT APPENDIX B–63604EN/01 (3/4) Functions Illustration Tape format ÇÇÇ ÇÇÇ Cutter compensation G41 (G40, G41, G42) G41 IP _ ; ÇÇÇ ÇÇÇ ÇÇÇ G42 G40 ÇÇÇ ÇÇÇ G40 ; Cancel Coordinate system setting ÇÇÇ ÇÇÇ Tool G42 G50 IP_ ; X Spindle speed setting Coordinate system setti
  • Page 733B. LIST OF FUNCTIONS AND B–63604EN/01 APPENDIX TAPE FORMAT (4/4) Functions Illustration Tape format Canned cycle Refer to II.13. FUNCTIONS TO N_ G70 P_ Q_ ; (G71 to G76) SIMPLIFY PROGRAMMING G71 U_ R_ ; (G90, G92, G94) G71 P_ Q_ U_ W_ F_ S_ T_ ; G72 W_ R_ ; G72 P_ Q_ U_ W_ F_ S_ T_ ; G73 U_ W_ R_ ;
  • Page 734C. RANGE OF COMMAND VALUE APPENDIX B–63604EN/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 (diameter specification) (diameter spe
  • Page 735B–63604EN/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 (diameter specification) (diameter specification) Y : 0.0001 inch Y : 0.000
  • Page 736C. RANGE OF COMMAND VALUE APPENDIX B–63604EN/01 Rotation axis Increment system IS–B IS–C Least input increment 0.001 deg 0.0001 deg Least command 0.001 deg 0.0001 deg increment Max. programmable ±99999.999 deg ±9999.9999 deg dimension Max. rapid traverse *1 240000 deg/min 100000 deg/min Feedrate ran
  • Page 737B–63604EN/01 APPENDIX D. NOMOGRAPHS D NOMOGRAPHS 713
  • Page 738D. NOMOGRAPHS APPENDIX B–63604EN/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 739B–63604EN/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 740D. NOMOGRAPHS APPENDIX B–63604EN/01 D.2 SIMPLE CALCULATION OF INCORRECT THREAD LENGTH δ2 δ1 Fig. D.2 (a) Incorrect threaded portion Explanations D How to determine δ2 d2 + LR 1800 * (mm) R : Spindle speed (min–1) * When time constant T of the L : Thread lead (mm) servo system is 0.033 s. D How to de
  • Page 741B–63604EN/01 APPENDIX D. NOMOGRAPHS D Reference Nomograph for obtaining approach distance δ1 717
  • Page 742D. NOMOGRAPHS APPENDIX B–63604EN/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 743B–63604EN/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 744D. NOMOGRAPHS APPENDIX B–63604EN/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 745B–63604EN/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 746E. STATUS WHEN TURNING POWER ON, WHEN CLEAR AND WHEN RESET APPENDIX B–63604EN/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 747E. STATUS WHEN TURNING POWER ON, B–63604EN/01 APPENDIX WHEN CLEAR AND WHEN RESET Item When turning power on Cleared Reset Action in Movement × × × operation Dwell × × × Issuance of M, S and × × × T codes Tool offset × Depending on parameter f : MDI mode LVK(No.5003#6) Other modes depend on parameter
  • Page 748F. CHARACTER–TO–CODES CORRESPONDENCE TABLE APPENDIX B–63604EN/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 749B–63604EN/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 750G. ALARM LIST APPENDIX B–63604EN/01 Number Message Contents 028 ILLEGAL PLANE SELECT In the plane selection command, two or more axes in the same direction are commanded. Modify the program. 029 ILLEGAL OFFSET VALUE The offset values specified by T code is too large. Modify the program. 030 ILLEGAL
  • Page 751B–63604EN/01 APPENDIX G. ALARM LIST Number Message Contents 058 END POINT NOT FOUND Block end point is not found in direct dimension drawing programming. 059 PROGRAM NUMBER NOT FOUND In an external program number search or external workpiece number search, a specified program number was not found. O
  • Page 752G. ALARM LIST APPENDIX B–63604EN/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 753B–63604EN/01 APPENDIX G. ALARM LIST Number Message Contents 096 P TYPE NOT ALLOWED (WRK OFS P type cannot be specified when the program is restarted. (After the au- CHG) tomatic operation was interrupted, the workpiece offset amount changed.) Perform the correct operation according to th operator’s
  • Page 754G. ALARM LIST APPENDIX B–63604EN/01 Number Message Contents 130 ILLEGAL AXIS OPERATION An axis control command was given by PMC to an axis controlled by CNC. Or an axis control command was given by CNC to an axis con- trolled by PMC. Modify the program. 131 TOO MANY EXTERNAL ALARM Five or more alarm
  • Page 755B–63604EN/01 APPENDIX G. ALARM LIST Number Message Contents 176 IMPROPER G–CODE IN G107 Any of the following G codes which cannot be specified in the cylindrical interpolation mode was specified. 1) G codes for positioning, such as G28, G76, G81 – G89, including the codes specifying the rapid traver
  • Page 756G. ALARM LIST APPENDIX B–63604EN/01 Number Message Contents 213 ILLEGAL COMMAND IN Movement is commanded for the axis to be synchronously controlled. SYNCHRO–MODE 214 ILLEGAL COMMAND IN Coordinate system is set or tool compensation of the shift type is SYNCHRO–MODE executed in the synchronous contro
  • Page 757B–63604EN/01 APPENDIX G. ALARM LIST Number Message Contents 5036 ADDRESS R NOT DEFINED IN Point R was not specified for the canned cycle for the B–axis. G81–G86 5037 ADDRESS Q NOT DEFINED IN G83 Depth of cut Q was not specified for the G83 code (peck drilling cycle). Alternatively, 0 was specified i
  • Page 758G. ALARM LIST APPENDIX B–63604EN/01 Number Message Contents 5212 SCREEN COPY : PARAMETER There is a parameter setting error. Check that 4 is set as the I/O channel ERROR (parameter No. 0020). 5213 SCREEN COPY : The memory card cannot be used. Check the memory card. (Check COMMUNICATION ERROR whether
  • Page 759B–63604EN/01 APPENDIX G. ALARM LIST 2) Background edit alarm Number Message Contents 070 to 074 BP/S alarm BP/S alarm occurs in the same number as the P/S alarm that occurs in 085 to 087 ordinary program edit. 140 BP/S alarm It was attempted to select or delete in the background a program being sele
  • Page 760G. ALARM LIST APPENDIX B–63604EN/01 No. Message Description 364 n AXIS : SOFT PHASE ALARM (INT) The digital servo software detected invalid data in the built–in pulse cod- er. 365 n AXIS : BROKEN LED (INT) An LED error occurred in the built–in pulse coder. 366 n AXIS : PULSE MISS (INT) A pulse error
  • Page 761B–63604EN/01 APPENDIX G. ALARM LIST 5) Servo alarms (1/2) Number Message Contents 401 SERVO ALARM: n–TH AXIS VRDY The n–th axis (axis 1–8) servo amplifier READY signal (DRDY) went off. OFF Refer to procedure of trouble shooting. 402 SERVO ALARM: SV CARD NOT The axis control card is not provided. EXI
  • Page 762G. ALARM LIST APPENDIX B–63604EN/01 Number Message Contents 422 SERVO ALARM: n AXIS In torque control of PMC axis control, a specified allowable speed has been exceeded. 423 SERVO ALARM: n AXIS In torque control of PMC axis control, the parameter–set allowable cu- mulative travel distance has been e
  • Page 763B–63604EN/01 APPENDIX G. ALARM LIST Number Message Contents 453 n AXIS : SPC SOFT DISCONNECT Software disconnection alarm of the α pulse coder. ALARM Turn off the power to the CNC, then remove and insert the pulse cod- er cable. If this alarm is issued again, replace the pulse coder. 456 n AXIS : IL
  • Page 764G. ALARM LIST APPENDIX B–63604EN/01 #1 (FBA) : A disconnection alarm is being generated. #0 (OFA) : An overflow alarm is being generated inside of digital servo. #7 #6 #5 #4 #3 #2 #1 #0 201 ALD EXP When OVL equal 1 in diagnostic data No.200 (servo alarm No. 400 is being generated): #7 (ALD) 0 : Moto
  • Page 765B–63604EN/01 APPENDIX G. ALARM LIST 7) Servo alarms Number Message Contents 600 n AXIS : INV. DC LINK OVER SVM: The DC link current is too high. CURRENT b SVU: The DC link current is too high. 601 n AXIS : INV. RADIATOR FAN SVM: The heat sink cooling fan is defective. FAILURE b SVU: The heat sink co
  • Page 766G. ALARM LIST APPENDIX B–63604EN/01 10) Spindle alarms Number Message Contents 749 S–SPINDLE LSI ERROR It is serial communication error while system is executing after power supply on. Following reasons can be considered. 1) Optical cable connection is fault or cable is not connected or cable is cut
  • Page 767B–63604EN/01 APPENDIX G. ALARM LIST #1 (S1E) 0 : The first spindle is normal during the spindle serial control startup. 1 : The first spindle was detected to have a fault during the spindle axis serial control startup. #0 (SHE) 0 : The serial communications module in the CNC is normal. 1 : The seria
  • Page 768G. ALARM LIST APPENDIX B–63604EN/01 SPM No. Message indica- Faulty location and remedy Description tion(*1) 7n03 SPN_n_ : FUSE ON DC 03 1 Replace the SPM unit. The PSM becomes ready (00 is indi- LINK BLOWN 2 Check the motor insulation status. cated), but the DC link voltage is too 3 Replace the inte
  • Page 769B–63604EN/01 APPENDIX G. ALARM LIST SPM No. Message indica- Faulty location and remedy Description tion(*1) 7n19 SPN_n_ : EX OFFSET 19 Replace the SPM unit. Abnormality in an SPM component is CURRENT U detected. (The initial value for the U phase current detection circuit is ab- normal.) 7n20 SPN_n_
  • Page 770G. ALARM LIST APPENDIX B–63604EN/01 SPM No. Message indica- Faulty location and remedy Description tion(*1) 7n32 SPN_n_ : RAM FAULT 32 Replace the SPM control printed cir- Abnormality in an SPM control circuit SERIAL LSI cuit board. component is detected. (The LSI de- vice for serial transfer is abn
  • Page 771B–63604EN/01 APPENDIX G. ALARM LIST SPM No. Message indica- Faulty location and remedy Description tion(*1) 7n46 SPN_n_ : SCREW 46 1 Check and correct the parameter. An abnormality equivalent to alarm 1–ROT POS– 2 Replace the cable. 41 was detected during thread cut- COD. ALARM 3 Re–adjust the BZ se
  • Page 772G. ALARM LIST APPENDIX B–63604EN/01 SPM No. Message indica- Faulty location and remedy Description tion(*1) 7n58 SPN_n_ : OVERLOAD IN 58 1 Check the PSM cooling status. The temperature of the radiator of the PSM 2 Replace the PSM unit. PSM has increased abnormally. (PSM alarm indication: 3) 7n59 SPN
  • Page 773B–63604EN/01 APPENDIX G. ALARM LIST SPM No. Message indica- Faulty location and remedy Description tion(*1) 7n88 SPN_n_ : COOLING RA- 88 Replace the SPM external cooling The external cooling fan stopped. DIFAN FAIL- fan. URE 7n97 SPN_n_ : OTHER 97 Replace the SPM. Another irregularity was detected.
  • Page 774G. ALARM LIST APPENDIX B–63604EN/01 SPM No. Message indica- Faulty location and remedy Description tion(*1) 9n09 SPN_n_ : OVERHEAT 09 1 Improve the heat sink cooling sta- Abnormal temperature rise of the MAIN CIRCUIT tus. power transistor radiator 2 If the heat sink cooling fan stops, replace the SP
  • Page 775B–63604EN/01 APPENDIX G. ALARM LIST SPM No. Message indica- Faulty location and remedy Description tion(*1) 9n27 SPN_n_ : DISCONNECT 27 1 Replace the cable. 1 The spindle position coder (con- POS–CODER 2 Re–adjust the BZ sensor signal. nector JY4) signal is abnormal. 2 The signal amplitude (connecto
  • Page 776G. ALARM LIST APPENDIX B–63604EN/01 SPM No. Message indica- Faulty location and remedy Description tion(*1) 9n37 SPN_n_ : SPEED DE- 37 Correct the value according to the pa- The setting of the parameter for the TECT PAR. rameter manual. number of pulses in the speed detec- ERROR tor is incorrect. 9n
  • Page 777B–63604EN/01 APPENDIX G. ALARM LIST SPM No. Message indica- Faulty location and remedy Description tion(*1) 9n50 SPN_n_ : SPNDL CON- 50 Check whether the calculated value In spindle synchronization, the speed TROL OVER- exceeds the maximum motor speed. command calculation value exceed- SPEED ed the
  • Page 778G. ALARM LIST APPENDIX B–63604EN/01 SPM No. Message indica- Faulty location and remedy Description tion(*1) 9n74 SPN_n_ : CPU TEST ER- 74 Replace the SPM control printed–cir- An error was detected in a CPU test. ROR cuit board. 9n75 SPN_n_ : CRC ERROR 75 Replace the SPM control printed–cir- An error
  • Page 779B–63604EN/01 APPENDIX G. ALARM LIST ERROR CODES (SERIAL SPINDLE) NOTE*1 Note that the meanings of the SPM indications differ depending on which LED, the red or yellow LED, is on. When the yellow LED is on, an error code is indicated with a 2–digit number. The error code is not displayed on the CNC s
  • Page 780G. ALARM LIST APPENDIX B–63604EN/01 SPM indica- Faulty location and remedy Description tion(*1) 12 During execution of the spindle synchronization com- Although spindle synchronization is being performed, mand, do not specify another operation mode. Before another operation mode (Cs contour control,
  • Page 781B–63604EN/01 APPENDIX G. ALARM LIST 11) System alarms (These alarms cannot be reset with reset key.) Number Message Contents 900 ROM PARITY ROM parity error (CNC/OMM/Servo) Replace the number of ROM. 910 SRAM PARITY : (BYTE 0) RAM parity error in the tape memory RAM module. Clear the memory or repla
  • Page 782
  • Page 783B–63604EN/01 Index [Numbers] Canned Cycle (G90, G92, G94), 132 Canned Cycle for Drilling (G80 – G89), 159 7.2″/8.4″ LCD–Mounted Type CNC Control Unit, 376 Canned Cycle for Drilling Cancel (G80), 169 9.5″/10.4″ LCD–Mounted Type CNC Control Unit, 376 Canned Drilling Cycle Formats, 314 Cautions on Read
  • Page 784Index B–63604EN/01 [D] Displaying the Directory, 512 Displaying the Pattern Menu, 344 Data Input/Output, 492 Displaying the Program Number and Sequence Num- Data Input/Output on the ALL IO Screen, 520 ber, 662 Data Input/Output Using a Memory Card, 545 Displaying the Program Number, Sequence Number,
  • Page 785B–63604EN/01 Index Front Face Rigid Tapping Cycle (G84) / Side Face Inputting and Outputting Parameters and Pitch Error Rigid Tapping Cycle (G88), 181 Compensation Data, 505 Front Tapping Cycle (G84) / Side Tapping Cycle Inputting and Outputting Programs, 522 (G88), 166 Inputting Custom Macro Common
  • Page 786Index B–63604EN/01 Maximum Strokes, 31 Outputting Parameters, 506 MDI Operation, 427 Outputting Pitch Error Compensation Data, 508 Memory Card Input/Output, 536 Outputting Programs, 516 Memory Operation, 424 Overall Position Display, 603 Overcutting by Tool Nose Radius Compensation, 232 Memory Opera
  • Page 787B–63604EN/01 Index Range of Command Value, 710 Setting and Display Units, 375 Rapid Traverse, 68 Setting and Displaying B–axis Tool Compensation, 654 Rapid Traverse Override, 466 Setting and Displaying Data, 592 Reading Files, 515 Setting and Displaying the Tool Offset Value, 626 Recommended Memory
  • Page 788Index B–63604EN/01 Tape Code List, 703 Turning on the Power, 406 Test Operation, 462 Testing a Program, 363 The Second Auxiliary Functions (B Codes), 116 [U] Thread Cutting Cycle (G92), 134 Unconditional Branch (GOTO Statement), 269 Tool Compensation and Number of Tool Compensa- tion, 246 Tool Compe
  • Page 789Revision Record FANUC Series 21i/210i–TB OPERATOR’S MANUAL (B–63604EN) 01 Jul., 2001 Edition Date Contents Edition Date Contents
  • Page 790
  • Page 791Printed at GE Fanuc Automation S.A. , Luxembourg November 200
  • Page 792FANUC Series 21i/210i/210is - TA OPERATOR’S MANUAL FANUC Series 21i/210i - TB OPERATOR’S MANUAL Explanation addition of Rigid tapping 1.Type of applied technical documents FANUC Series 21i/210i/210is - TA OPERATOR’S MANUAL Name FANUC Series 21i/210i - TB OPERATOR’S MANUAL Spec.No./Ed. B-63084EN/02,
  • Page 79313.7.1 Front Face Rigid Tapping Cycle (G84) / Side Face Rigid Tapping Cycle (G88) The description is added to “S command”. Limitations S command • The S command, which is specified at rigid tapping, is cleared at commanding Rigid Tapping Cancel and the condition is the same that S0 is commanded. 13.
  • Page 794TECHNICAL REPORT NO.TMN 03/007E Date: 24-Jan-03 General Manager of Software Development Center FANUC Series 16i/18i/160i/180i/160is/180is - TA OPERATOR’S MANUAL FANUC Series 16i/18i/160i/180i - TB OPERATOR’S MANUAL FANUC Series 21i/210i/210is - TA OPERATOR’S MANUAL FANUC Series 21i/210i - TB OPERATO
  • Page 795FANUC Series 21i/210i/210is - TA OPERATOR’S MANUAL FANUC Series 21i/210i - TB OPERATOR’S MANUAL Concerning addition of the Changing Active Offset Value with Manual Move 1.Type of applied technical documents FANUC Series 21i/210i/210is - TA OPERATOR’S MANUAL Name FANUC Series 21i/210i - TB OPERATOR’S
  • Page 796• Adding “FANUC Series 16i /18i /21i – TA / TB Changing Active Offset Value with Manual Move (A-78376E)” to this description (Attached papers) FANUC Series 16i /18i /21i – TA / TB Changing Active Offset Value with Manual Move (A-78376E) 21i/210i/210is - TA 21i/210i - TB OPERATOR’S MANUAL TITLE Conce
  • Page 797FANUC Series 16i /18i /21i – TA / TB Changing Active Offset Value with Manual Move Index 1. Outline ........................................................................................................................... 2 2. Explanation............................................................
  • Page 7981. Outline If you want to perform roughing or semi-finishing with a single tool, you may fine-adjust the tool compensation. Moreover, you may want to fine-adjust the setting of the workpiece origin offset that was already set up. This function can change the offset (such as tool compensation or work
  • Page 7992.3 Changing the tool compensation This function can change the tool compensation identified by the offset number corresponding to T code specified during automatic operation. If there is no valid tool compensation (for example, when no T code has been issued since cycle start), no tool compensation
  • Page 800Example Assume the following conditions: • Specified workpiece coordinate system: G56 • G56 workpiece origin offset (X-axis): 50.000 • G56 workpiece origin offset (Z-axis): 5.000 • G56 workpiece origin offset (C-axis): 180.000 • G56 workpiece origin offset (Y-axis): -60.000 • Amount of manual feed-b
  • Page 8013. Signal Active offset change mode signal CHGAO [Classification] Input signal [Function] This signal selects the manual feed-based active offset change mode. [Operation] Setting this signal to "1" selects the manual feed-based active offset change mode. • Automatic operation is at pause or
  • Page 802Active offset changing signal MCHAO [Classification] Output signal [Function] This signal indicates that the manual feed-based active offset change mode has been selected and the offset is being changed. [Output condition]The signal becomes "1" when all the following conditions are satisfied
  • Page 803The following timing chart shows how the input and signals behave. A command such as Txxxx, or G54 specifies what tool compensation number Operation is put at pause Operation restarts or workpiece coordinate system is to be (stop) to change the offset. with the new offset. made valid. Automatic oper
  • Page 804#7 #6 #5 #4 #3 #2 #1 #0 5000 ASG [ Input type ] Setting input [ Data type ] Bit ASG When the tool geometry/wear compensation function is available, the compensation value changed by this function is: 0: Geometry compensation 1: Wear compensation #7 #6 #5 #4 #3 #2 #1 #0 5040 MOP [ Input type ] Parame
  • Page 805The change of the tool compensation value follows the relation among this parameter, the parameter LVC(No.5003#6), and the parameter TGC(No.5003#7). AOF(No.5041#0)=0 AOF(No.5041#0)=1 LVC(No.5003#6=0) Can be changed LVC(No.5003#6=1) Cannot be changed Cannot be changed TGC(No.5003#7=0) Can be changed
  • Page 806[Relation parameter] #7 #6 #5 #4 #3 #2 #1 #0 5003 TGC LVC [ Input type ] Parameter input [ Data type ] Bit LVC Offset value of tool offset 0: Not cleared, but held by reset 1: Cleared by reset TGC Tool geometry compensation value 0: Not canceled by reset 1: Canceled by reset (Valid when LVC,#6 of pa
  • Page 807FANUC Series 16i/18i/160i/180i/160is/180is - TA OPERATOR’S MANUAL FANUC Series 16i/18i/160i/180i - TB OPERATOR’S MANUAL FANUC Series 21i/210i/210is - TA OPERATOR’S MANUAL FANUC Series 21i/210i - TB OPERATOR’S MANUAL About the explanation of “13.2.7 Multiple Thread Cutting Cycle(G76)” 1.Type of appli
  • Page 808At "Note"(page number is in the following table) in "Thread cutting cycle retract" in "13.2.7 Multiple Thread Cutting Cycle(G76)", "5" is corrected and "6" is added. No. Manual Page B-63004EN/02 FANUC Series 16i/18i/160i/180i/160is/180is-TA 174 OPERATOR'S MANUAL B-63524EN/01 FANUC Series 16i/18i/160