Series 16i/18i/160i/180i - TB Operators manual Page 280

Operators manual
PROGRAMMING14. COMPENSATION FUNCTION
B63524EN/01
254
When changing the offset direction in block A to block B using G41 and
G42, if intersection with the offset path is not required, the vector normal
to block B is created at the start point of block B.
G41G42 (G42)
L
L
L
AB
r
r
S
G42
G41
L
S
L
S
G41
G42
A
B
L
S
r
L
L
G41
C
C
r
rr
(G42)
S
S
Center
G42
LinearLinear
LinearCircular
Programmed path
Tool nose radius center path
Programmed path
Tool nose radius center path
Workpiece
Workpiece
Tool nose radius
center path
Programmed path
CircularCircular
An arc whose end position
is not on the arc
Programmed path
Tool nose radius
center path
Center
C
S Tool nose radius center
path without an
intersection

Contents Summary of Series 16i/18i/160i/180i - TB Operators manual

  • Page 1GE Fanuc Automation Europe Computer Numerical Controls Series 16i, 18i, 160i, 180i - TB Operator's Manual B-63524 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. The export of this product is subject to the authorization of the government of the country from where the product is exported. In this manual we have tried as much as possi
  • Page 3SAFETY PRECAUTIONS This section describes the safety precautions related to the use of CNC units. It is essential that these precautions be observed by users to ensure the safe operation of machines equipped with a CNC unit (all descriptions in this section assume this configuration). Note that some
  • Page 4SAFETY PRECAUTIONS B–63524EN/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–63524EN/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–63524EN/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–63524EN/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–63524EN/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–63524EN/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–63524EN/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–63524EN/01 SAFETY PRECAUTIONS 5 WARNINGS RELATED TO DAILY MAINTENANCE WARNING 1. Memory backup battery replacement Only those personnel who have received approved safety and maintenance training may perform this work. When replacing the batteries, be careful not to touch the high–voltage circuits
  • Page 12SAFETY PRECAUTIONS B–63524EN/01 WARNING 2. Absolute pulse coder battery replacement Only those personnel who have received approved safety and maintenance training may perform this work. When replacing the batteries, be careful not to touch the high–voltage circuits (marked and fitted with an insula
  • Page 13B–63524EN/01 SAFETY PRECAUTIONS WARNING 3. Fuse replacement Before replacing a blown fuse, however, it is necessary to locate and remove the cause of the blown fuse. For this reason, only those personnel who have received approved safety and maintenance training may perform this work. When replacing
  • Page 14
  • Page 15B–63524EN/01 Table of Contents SAFETY PRECAUTIONS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . s–1 I. GENERAL 1. GENERAL . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
  • Page 16Table of Contents B–63524EN/01 4.11 CONTINUOUS THREAD CUTTING . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 73 4.12 MULTIPLE–THREAD CUTTING . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 74 4.13
  • Page 17B–63524EN/01 Table of Contents 10.2 TOOL LIFE MANAGEMENT . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 128 10.2.1 Program of Tool Life Data . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
  • Page 18Table of Contents B–63524EN/01 14.COMPENSATION FUNCTION . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 219 14.1 TOOL OFFSET . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 220 1
  • Page 19B–63524EN/01 Table of Contents 15.9 LIMITATIONS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 332 15.10 EXTERNAL OUTPUT COMMANDS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
  • Page 20Table of Contents B–63524EN/01 20.8 COPYING A PROGRAM BETWEEN TWO PATHS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 419 21.PATTERN DATA INPUT FUNCTION . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 420 21.1 DISPLAYING THE PATTERN MENU . . . .
  • Page 21B–63524EN/01 Table of Contents 3. MANUAL OPERATION . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 485 3.1 MANUAL REFERENCE POSITION RETURN . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 486 3.2 JOG FEED . . . . . . .
  • Page 22Table of Contents B–63524EN/01 7. ALARM AND SELF–DIAGNOSIS FUNCTIONS . . . . . . . . . . . . . . . . . . . . . . . . . . . . 579 7.1 ALARM DISPLAY . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 580 7.2 ALARM HISTORY DISPL
  • Page 23B–63524EN/01 Table of Contents 9.4 SEQUENCE NUMBER SEARCH . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 663 9.5 DELETING PROGRAMS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
  • Page 24Table of Contents B–63524EN/01 11.4.1 Setting and Displaying the Tool Offset Value . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 746 11.4.2 Direct Input of Tool Offset Value . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
  • Page 25B–63524EN/01 Table of Contents APPENDIX A. TAPE CODE LIST . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 825 B. LIST OF FUNCTIONS AND TAPE FORMAT . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 828 C. RANGE OF COMMAND VALUE .
  • Page 26
  • Page 27I. GENERA
  • Page 28
  • Page 29B–63524EN/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 301. GENERAL GENERAL B–63524EN/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 31B–63524EN/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 321. GENERAL GENERAL B–63524EN/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 33B–63524EN/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 341. GENERAL GENERAL B–63524EN/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 35II. PROGRAMMIN
  • Page 36
  • Page 37B–63524EN/01 PROGRAMMING 1. GENERAL 1 GENERAL 11
  • Page 381. GENERAL PROGRAMMING B–63524EN/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 39B–63524EN/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 401. GENERAL PROGRAMMING B–63524EN/01 X Tool Program G32X––Z––F––; Workpiece Z F Fig. 1.1 (f) Taper thread cutting 14
  • Page 41B–63524EN/01 PROGRAMMING 1. GENERAL 1.2 Movement of the tool at a specified speed for cutting a workpiece is called the feed. FEED– FEED FUNCTION Chuck Tool Workpiece Fig. 1.2 (a) Feed function Feedrates can be specified by using actual numerics. For example, the following command can be used to fee
  • Page 421. GENERAL PROGRAMMING B–63524EN/01 1.3 PART DRAWING AND TOOL MOVEMENT 1.3.1 A CNC machine tool is provided with a fixed position. Normally, tool Reference Position change and programming of absolute zero point as described later are performed at this position. This position is called the reference
  • Page 43B–63524EN/01 PROGRAMMING 1. GENERAL 1.3.2 Coordinate System on Part Drawing and X X Coordinate System Specified by CNC – Program Coordinate System Z Z Coordinate system Part drawing CNC Command X Workpiece Z Machine tool Fig. 1.3.2 (a) Coordinate system Explanations D Coordinate system The following
  • Page 441. GENERAL PROGRAMMING B–63524EN/01 The tool moves on the coordinate system specified by the CNC in accordance with the command program generated with respect to the coordinate system on the part drawing, and cuts a workpiece into a shape on the drawing. Therefore, in order to correctly cut the work
  • Page 45B–63524EN/01 PROGRAMMING 1. GENERAL 2. When coordinate zero point is set at work end face. X Workpiece 60 30 Z 30 80 100 Fig. 1.3.2 (e) Coordinates and dimensions on part drawing X Workpiece Z Fig. 1.3.2 (f) Coordinate system on lathe as specified by CNC (made to coincide with the coordinate system
  • Page 461. GENERAL PROGRAMMING B–63524EN/01 1.3.3 How to Indicate Command Dimensions for Moving the Tool – Absolute, Incremental Commands Explanations Methods of command for moving the tool can be indicated by absolute or incremental designation (See II–8.1). D Absolute command The tool moves to a point at
  • Page 47B–63524EN/01 PROGRAMMING 1. GENERAL D Incremental command Specify the distance from the previous tool position to the next tool position. Tool A X φ60 B Z φ30 40 Command specifying movement from point A to point B U–30.0W–40.0 Distance and direction for movement along each axis Fig. 1.3.3 (b) Increm
  • Page 481. GENERAL PROGRAMMING B–63524EN/01 2. Radius programming In radius programming, specify the distance from the center of the workpiece, i.e. the radius value as the value of the X axis. X B A 20 15 Workpiece Z 60 80 Coordinate values of points A and B A(15.0, 80.0), B(20.0, 60.0) Fig. 1.3.3 (d) Radi
  • Page 49B–63524EN/01 PROGRAMMING 1. GENERAL 1.4 The speed of the tool with respect to the workpiece when the workpiece is cut is called the cutting speed. CUTTING SPEED – As for the CNC, the cutting speed can be specified by the spindle speed SPINDLE SPEED in min–1 unit. FUNCTION Tool V: Cutting speed v m/m
  • Page 501. GENERAL PROGRAMMING B–63524EN/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 51B–63524EN/01 PROGRAMMING 1. GENERAL 1.6 When machining is actually started, it is necessary to rotate the spindle, and feed coolant. For this purpose, on–off operations of spindle motor and COMMAND FOR coolant valve should be controlled (See II–11). MACHINE OPERATIONS – Coolant on/off MISCELLANEOUS
  • Page 521. GENERAL PROGRAMMING B–63524EN/01 1.7 A group of commands given to the CNC for operating the machine is called the program. By specifying the commands, the tool is moved along PROGRAM a straight line or an arc, or the spindle motor is turned on and off. CONFIGURATION In the program, specify the co
  • Page 53B–63524EN/01 PROGRAMMING 1. GENERAL Explanations The block and the program have the following configurations. D Block 1 block N fffff G ff Xff.f Zfff.f M ff S ff T ff ; Sequence Preparatory Dimension word Miscel- Spindle Tool number function laneous function func- function tion End of block Fig. 1.7
  • Page 541. GENERAL PROGRAMMING B–63524EN/01 D Main program and When machining of the same pattern appears at many portions of a subprogram program, a program for the pattern is created. This is called the subprogram. On the other hand, the original program is called the main program. When a subprogram execu
  • Page 55B–63524EN/01 PROGRAMMING 1. GENERAL 1.8 TOOL FIGURE AND TOOL MOTION BY PROGRAM Explanations D Machining using the end Usually, several tools are used for machining one workpiece. The tools of cutter – Tool length have different tool length. It is very troublesome to change the program compensation f
  • Page 561. GENERAL PROGRAMMING B–63524EN/01 1.9 Limit switches are installed at the ends of each axis on the machine to prevent tools from moving beyond the ends. The range in which tools can TOOL MOVEMENT move is called the stroke. Besides the stroke limits, data in memory can RANGE – STROKE be used to def
  • Page 57B–63524EN/01 PROGRAMMING 2. CONTROLLED AXES 2 CONTROLLED AXES 31
  • Page 582. CONTROLLED AXES PROGRAMMING B–63524EN/01 2.1 CONTROLLED AXES Series 16i Series 160i 16i–TB 16i–TB, 160i–TB Item 160i–TB (two–path control) Number of basic 2 axes 2 axes for each tool post controlled axes (4 axes in total) Controlled axis expansion Max. 8 axes Max. 8 axes for each tool (total) (In
  • Page 59B–63524EN/01 PROGRAMMING 2. CONTROLLED AXES NOTE 1 A two–path control system with the 7.2″/8.4″ LCD has up to eight controlled axes. 2 The number of simultaneously controllable axes for manual operation (jog feed, incremental feed, or manual handle feed) is 1 or 3 (1 when bit 0 (JAX) of parameter 10
  • Page 602. CONTROLLED AXES PROGRAMMING B–63524EN/01 2.2 The names of two basic axes are always X and Z; the names of additional axes can be optionally selected from A, B, C, U, V, W, and Y by using NAMES OF AXES parameter No.1020. Each axis name is determined according to parameter No. 1020. If the paramete
  • Page 61B–63524EN/01 PROGRAMMING 2. CONTROLLED AXES 2.3 The increment system consists of the least input increment (for input ) and least command increment (for output). The least input increment is the INCREMENT SYSTEM least increment for programming the travel distance. The least command increment is the
  • Page 622. CONTROLLED AXES PROGRAMMING B–63524EN/01 2.4 The maximum stroke controlled by this CNC is shown in the table below: Maximum stroke+Least command increment 99999999. MAXIMUM STROKES Table 2.4 Maximum strokes Increment system Maximum strokes Metric machine "99999.999 mm system "99999.999 deg IS–B I
  • Page 633. PREPARATORY FUNCTION B–63524EN/01 PROGRAMMING (G FUNCTION) 3 PREPARATORY FUNCTION (G FUNCTION) A number following address G determines the meaning of the command for the concerned block. G codes are divided into the following two types. Type Meaning One–shot G code The G code is effective only in
  • Page 643. PREPARATORY FUNCTION (G FUNCTION) PROGRAMMING B–63524EN/01 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 653. PREPARATORY FUNCTION B–63524EN/01 PROGRAMMING (G FUNCTION) Table 3 G code list for T series (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 or helical interpolation CW G03 G03 G03 C
  • Page 663. PREPARATORY FUNCTION (G FUNCTION) PROGRAMMING B–63524EN/01 Table 3 G code list for T series (2/3) G code Group Function A B C Automatic tool compensation X (When the bit 3 (G36) of G36 G36 G36 parameter No. 3405 is set to 0) G37 G37 G37 Automatic tool compensation Z 00 G37.1 G37.1 G37.1 Automatic
  • Page 673. PREPARATORY FUNCTION B–63524EN/01 PROGRAMMING (G FUNCTION) Table 3 G code list for T series (3/3) G code Group Function A B C G70 G70 G72 Finishing cycle G71 G71 G73 Stock removal in turning G72 G72 G74 Stock removal in facing G73 G73 G75 00 Pattern repeating G74 G74 G76 End face peck drilling G7
  • Page 684. INTERPOLATION FUNCTIONS PROGRAMMING B–63524EN/01 4 INTERPOLATION FUNCTIONS 42
  • Page 69B–63524EN/01 PROGRAMMING 4. INTERPOLATION FUNCTIONS 4.1 The G00 command moves a tool to the position in the workpiece system specified with an absolute or an incremental command at a rapid traverse POSITIONING rate. (G00) In the absolute command, coordinate value of the end point is programmed. In t
  • Page 704. INTERPOLATION FUNCTIONS PROGRAMMING B–63524EN/01 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 71B–63524EN/01 PROGRAMMING 4. INTERPOLATION FUNCTIONS 4.2 Single Direction Positioning (G60) General For accurate positioning without play of the machine (backlash), final positioning from one direction is available. Overrun distance Start position Start position Temporary stop End + position Fig. 4.2
  • Page 724. INTERPOLATION FUNCTIONS PROGRAMMING B–63524EN/01 (example) When one–shot G60 command are used When modal G60 command is used : : G90 ; G90 G60 ; S.D.P. mode start G60 X0 Z0 ; Single X0 Z0 ; Single G60 X100 ; direction X100 ; direction G60 Z100 ; positioning Z100 ; positioning G04 X10 ; G04 X10 ;
  • Page 73B–63524EN/01 PROGRAMMING 4. INTERPOLATION FUNCTIONS X Overrun(Z–axis) Overrun(X–axis) End position Z Start position NOTE 1 Single direction positioning is not performed in an axis for which an overrun has not been set by the parameter (No.5440). 2 When the move distance 0 is commanded, the single di
  • Page 744. INTERPOLATION FUNCTIONS PROGRAMMING B–63524EN/01 D Notice in case of using In the angular axis control, the distance traveled along the perpendicular with the angular axis axis (X) is corrected by the inclination of the angular axis (Y), and is control. determined by the following formula. Xa = –
  • Page 75B–63524EN/01 PROGRAMMING 4. INTERPOLATION FUNCTIONS D In case the tan value of Please set the opposite direction between the angular axis (Y) and the the inclination angle is perpendicular axis (X) into the direction of the single direction plus. (parameter positioning. If the positioning direction
  • Page 764. INTERPOLATION FUNCTIONS PROGRAMMING B–63524EN/01 D In case the tan value of Please set the same direction between the angular axis (Y) and the the inclination angle is perpendicular axis (X) into the direction of the single direction minus. (parameter positioning. If the positioning direction of
  • Page 77B–63524EN/01 PROGRAMMING 4. INTERPOLATION FUNCTIONS 4.3 Tools can move along a line. LINEAR INTERPOLATION (G01) Format G01 IP_F_; IP_: For an absolute command, the coordinates of an end point , and for an incremental command, the distance the tool moves. F_: Speed of tool feed (Feedrate) Explanation
  • Page 784. INTERPOLATION FUNCTIONS PROGRAMMING B–63524EN/01 4.4 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 79B–63524EN/01 PROGRAMMING 4. INTERPOLATION FUNCTIONS 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 defi
  • Page 804. INTERPOLATION FUNCTIONS PROGRAMMING B–63524EN/01 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 81B–63524EN/01 PROGRAMMING 4. INTERPOLATION FUNCTIONS NOTE When using the nine–digit arc radius R function, note the following points. 1 Specifying an arc center with addresses I, K, and J When the distance from the arc start point to the arc center is specified with addresses I, K, and J, a P/S alarm
  • Page 824. INTERPOLATION FUNCTIONS PROGRAMMING B–63524EN/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 Comma
  • Page 83B–63524EN/01 PROGRAMMING 4. INTERPOLATION FUNCTIONS 4.5 Helical interpolation which moved helically is enabled by specifying up to two other axes which move synchronously with the circular HELICAL interpolation by circular commands. INTERPOLATION (G02, G03) Format Synchronously with arc of XpYp plan
  • Page 844. INTERPOLATION FUNCTIONS PROGRAMMING B–63524EN/01 4.6 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 85B–63524EN/01 PROGRAMMING 4. INTERPOLATION FUNCTIONS D Distance moved and In the polar coordinate interpolation mode, program commands are feedrate for polar specified with Cartesian coordinates on the polar coordinate interpolation coordinate interpolation plane. The axis address for the rotation ax
  • Page 864. INTERPOLATION FUNCTIONS PROGRAMMING B–63524EN/01 Restrictions D Coordinate system for the Before G12.1 is specified, a workpiece coordinate system) where the polar coordinate center of the rotary axis is the origin of the coordinate system must be set. interpolation In the G12.1 mode, the coordin
  • Page 87B–63524EN/01 PROGRAMMING 4. INTERPOLATION FUNCTIONS Examples Example of Polar Coordinate Interpolation Program Based on X Axis (Linear Axis) and C Axis (Rotary Axis) C′ (hypothetical axis) C axis Path after tool nose radius compensation Program path N204 N203 N205 N202 N201 N200 X axis Tool N208 N20
  • Page 884. INTERPOLATION FUNCTIONS PROGRAMMING B–63524EN/01 4.7 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 89B–63524EN/01 PROGRAMMING 4. INTERPOLATION FUNCTIONS D Circular interpolation In the cylindrical interpolation mode, circular interpolation is possible (G02,G03) with the rotation axis and another linear axis. Radius R is used in commands in the same way as described in Section 4.4. The unit for a ra
  • Page 904. INTERPOLATION FUNCTIONS PROGRAMMING B–63524EN/01 D Positioning In the cylindrical interpolation mode, positioning operations (including those that produce rapid traverse cycles such as G28, G80 through G89) cannot be specified. Before positioning can be specified, the cylindrical interpolation mo
  • Page 91B–63524EN/01 PROGRAMMING 4. INTERPOLATION FUNCTIONS 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 924. INTERPOLATION FUNCTIONS PROGRAMMING B–63524EN/01 4.8 In helical interpolation, when pulses are distributed with one of the circular interpolation axes set to a hypothetical axis, sine interpolation is HYPOTHETICAL AXIS enable. INTERPOLATION When one of the circular interpolation axes is set to a
  • Page 93B–63524EN/01 PROGRAMMING 4. INTERPOLATION FUNCTIONS Limitations D Manual operation The hypothetical axis can be used only in automatic operation. In manual operation, it is not used, and movement takes place. D Move command Specify hypothetical axis interpolation only in the incremental mode. D Coor
  • Page 944. INTERPOLATION FUNCTIONS PROGRAMMING B–63524EN/01 4.9 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 95B–63524EN/01 PROGRAMMING 4. INTERPOLATION FUNCTIONS X Tapered thread LX α Z LZ αx45° lead is LZ αy45° lead is LX Fig. 4.9 (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 964. INTERPOLATION FUNCTIONS PROGRAMMING B–63524EN/01 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 97B–63524EN/01 PROGRAMMING 4. INTERPOLATION FUNCTIONS 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 984. INTERPOLATION FUNCTIONS PROGRAMMING B–63524EN/01 4.10 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.10 Variable–lead screw Format G34 IP_F_K_; IP : End point F : Lead in
  • Page 99B–63524EN/01 PROGRAMMING 4. INTERPOLATION FUNCTIONS 4.11 This function for continuous thread cutting is such that fractional pulses output to a joint between move blocks are overlapped with the next move CONTINUOUS for pulse processing and output (block overlap) . THREAD CUTTING Therefore, discontin
  • Page 1004. INTERPOLATION FUNCTIONS PROGRAMMING B–63524EN/01 4.12 Using the Q address to specify an angle between the one–spindle–rotation signal and the start of threading shifts the threading start angle, making MULTIPLE–THREAD it possible to produce multiple–thread screws with ease. CUTTING Multiple–threa
  • Page 101B–63524EN/01 PROGRAMMING 4. INTERPOLATION FUNCTIONS 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 ; 75
  • Page 1024. INTERPOLATION FUNCTIONS PROGRAMMING B–63524EN/01 4.13 Using the G35 and G36 commands, a circular thread, having the specified lead in the direction of the major axis, can be machined. CIRCULAR THREADING L (G35, G36) Circular thread Format G35 X (U) _ Z (W) _ I_K_ F_ Q_; G36 R___ G35 : Clockwise c
  • Page 103B–63524EN/01 PROGRAMMING 4. INTERPOLATION FUNCTIONS Explanations D Specifying the arc radius If R is specified with I and K, only R is effective. D Selecting a plane other If an additional axis other than the X– and Z–axes is provided, circular than the ZX plane threading can be specified for a plan
  • Page 1044. INTERPOLATION FUNCTIONS PROGRAMMING B–63524EN/01 Limitations D Range of specifiable arc An arc must be specified such that it falls within a range in which the major axis of the arc is always the Z–axis or always the X–axis, as shown in Fig. 4.13 (a) and (b). If the arc includes a point at which
  • Page 105B–63524EN/01 PROGRAMMING 4. INTERPOLATION FUNCTIONS 4.14 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 1064. INTERPOLATION FUNCTIONS PROGRAMMING B–63524EN/01 Examples D The next block to G31 is an incremental command G31 W100.0 F100; U50.0; Skip signal is input here 50.0 X 100.0 Actual motion Motion without skip signal Z Fig.4.14 (a) The next block is an incremental command D The next block to G31 is an
  • Page 107B–63524EN/01 PROGRAMMING 4. INTERPOLATION FUNCTIONS 4.15 In a block specifying P1 to P4 after G31, the multistage skip function stores coordinates in a custom macro variable when a skip signal (4–point MULTISTAGE SKIP or 8–point ; 8–point when a high–speed skip signal is used) is turned on. (G31) Th
  • Page 1084. INTERPOLATION FUNCTIONS PROGRAMMING B–63524EN/01 4.16 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 109B–63524EN/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 1105. FEED FUNCTIONS PROGRAMMING B–63524EN/01 5 FEED FUNCTIONS 84
  • Page 111B–63524EN/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 1125. FEED FUNCTIONS PROGRAMMING B–63524EN/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 113B–63524EN/01 PROGRAMMING 5. FEED FUNCTIONS 5.2 RAPID TRAVERSE Format G00 IP_ ; G00 : G code (group 01) for positioning (rapid traverse) IP_ ; Dimension word for the end point Explanations The positioning command (G00) positions the tool by rapid traverse. In rapid traverse, the next block is execute
  • Page 1145. FEED FUNCTIONS PROGRAMMING B–63524EN/01 5.3 Feedrate of linear interpolation (G01), circular interpolation (G02, G03), etc. are commanded with numbers after the F code. CUTTING FEED In cutting feed, the next block is executed so that the feedrate change from the previous block is minimized. Two m
  • Page 115B–63524EN/01 PROGRAMMING 5. FEED FUNCTIONS 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 1165. FEED FUNCTIONS PROGRAMMING B–63524EN/01 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 117B–63524EN/01 PROGRAMMING 5. FEED FUNCTIONS 5.4 DWELL (G04) Format Dwell G04 X_ ; or G04 U_ ; or G04 P_ ; X_ : Specify a time (decimal point permitted) U_ : Specify a time (decimal point permitted) P_ : Specify a time (decimal point not permitted) Explanations By specifying a dwell, the execution of
  • Page 1186. REFERENCE POSITION PROGRAMMING B–63524EN/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. 92
  • Page 119B–63524EN/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 1206. REFERENCE POSITION PROGRAMMING B–63524EN/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 121B–63524EN/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 1226. REFERENCE POSITION PROGRAMMING B–63524EN/01 6.2 Tools ca be returned to the floating reference position. A floating reference point is a position on a machine tool, and serves as FLOATING a reference point for machine tool operation. REFERENCE A floating reference point need not always be fixed,
  • Page 123B–63524EN/01 PROGRAMMING 7. COORDINATE SYSTEM 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 1247. COORDINATE SYSTEM PROGRAMMING B–63524EN/01 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 125B–63524EN/01 PROGRAMMING 7. COORDINATE SYSTEM 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 1267. COORDINATE SYSTEM PROGRAMMING B–63524EN/01 Examples Example 1 Example 2 Base point Setting the coordinate system by the Setting the coordinate system by the G50X128.7Z375.1; command (Diameter designation) G50X1200.0Z700.0; command (Diameter designation) X X ÎÎÎ 700.0 ÎÎÎ ÎÎÎ ÎÎ Start point (stand
  • Page 127B–63524EN/01 PROGRAMMING 7. COORDINATE SYSTEM 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 1287. COORDINATE SYSTEM PROGRAMMING B–63524EN/01 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 129B–63524EN/01 PROGRAMMING 7. COORDINATE SYSTEM Explanations D Changing by G10 With the G10 command, each workpiece coordinate system can be changed separately. D Changing by G50 By specifying G50IP_;, a workpiece coordinate system (selected with a code from G54 to G59) is shifted to set a new workpie
  • Page 1307. COORDINATE SYSTEM PROGRAMMING B–63524EN/01 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 131B–63524EN/01 PROGRAMMING 7. COORDINATE SYSTEM In the case of (a) above, the workpiece coordinate system is shifted by the amount of movement during manual intervention. G54 workpiece coordinate system before manual Po intervention Amount of movement during manual Workpiece zero WZo intervention poin
  • Page 1327. COORDINATE SYSTEM PROGRAMMING B–63524EN/01 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 133B–63524EN/01 PROGRAMMING 7. COORDINATE SYSTEM 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 1347. COORDINATE SYSTEM PROGRAMMING B–63524EN/01 WARNING 1 The local coordinate system setting does not change the workpiece and machine coordinate systems. 2 When G50 is used to define a work coordinate system, if coordinates are not specified for all axes of a local coordinate system, the local coord
  • Page 135B–63524EN/01 PROGRAMMING 7. COORDINATE SYSTEM 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 1368. COORDINATE VALUE AND DIMENSION PROGRAMMING B–63524EN/01 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 110
  • Page 1378. COORDINATE VALUE B–63524EN/01 PROGRAMMING AND DIMENSION 8.1 There are two ways to command travels of the tool; the absolute command, and the incremental command. In the absolute command, ABSOLUTE AND coordinate value of the end position is programmed; in the incremental INCREMENTAL command, move
  • Page 1388. COORDINATE VALUE AND DIMENSION PROGRAMMING B–63524EN/01 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 1398. COORDINATE VALUE B–63524EN/01 PROGRAMMING AND DIMENSION 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 1408. COORDINATE VALUE AND DIMENSION PROGRAMMING B–63524EN/01 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 141B–63524EN/01 PROGRAMMING 9. SPINDLE SPEED FUNCTION 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 1429. SPINDLE SPEED FUNCTION PROGRAMMING B–63524EN/01 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 143B–63524EN/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 1449. SPINDLE SPEED FUNCTION PROGRAMMING B–63524EN/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 145B–63524EN/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 1469. SPINDLE SPEED FUNCTION PROGRAMMING B–63524EN/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 147B–63524EN/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 1489. SPINDLE SPEED FUNCTION PROGRAMMING B–63524EN/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 149B–63524EN/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 1509. SPINDLE SPEED FUNCTION PROGRAMMING B–63524EN/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 151B–63524EN/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 15210. TOOL FUNCTION (T FUNCTION) PROGRAMMING B–63524EN/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. 126
  • Page 153B–63524EN/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 15410. TOOL FUNCTION (T FUNCTION) PROGRAMMING B–63524EN/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 155B–63524EN/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 t
  • Page 15610. TOOL FUNCTION (T FUNCTION) PROGRAMMING B–63524EN/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 157B–63524EN/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 15810. TOOL FUNCTION (T FUNCTION) PROGRAMMING B–63524EN/01 10.2.3 In machining programs, T codes are used to specify tool groups as Specifying a Tool 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 159B–63524EN/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 functi
  • Page 16011. AUXILIARY FUNCTION PROGRAMMING B–63524EN/01 11.1 When address M followed by a number is specified, a code signal and strobe signal are transmitted. These signals are used for turning on/off the AUXILIARY power to the machine. FUNCTION In general, only one M code is valid in a block but up to thr
  • Page 161B–63524EN/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 16211. AUXILIARY FUNCTION PROGRAMMING B–63524EN/01 11.3 The M code group check function checks if a combination of multiple M codes (up to three M codes) contained in a block is correct. M CODE GROUP This function has two purposes. One is to detect if any of the multiple M CHECK FUNCTION codes specifie
  • Page 163B–63524EN/01 PROGRAMMING 11. AUXILIARY FUNCTION 11.4 Indexing of the table is performed by address B and a following 8–digit number. The relationship between B codes and the corresponding THE SECOND indexing differs between machine tool builders. AUXILIARY Refer to the manual issued by the machine t
  • Page 16412. PROGRAM CONFIGURATION PROGRAMMING B–63524EN/01 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 165B–63524EN/01 PROGRAMMING 12. PROGRAM CONFIGURATION 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 16612. PROGRAM CONFIGURATION PROGRAMMING B–63524EN/01 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 167B–63524EN/01 PROGRAMMING 12. PROGRAM CONFIGURATION NOTE If one file contains multiple programs, the EOB code for label skip operation must not appear before a second or subsequent program number. However, an program start is required at the start of a program if the preceding program ends with %. D
  • Page 16812. PROGRAM CONFIGURATION PROGRAMMING B–63524EN/01 D Tape end A tape end is to be placed at the end of a file containing NC programs. If programs are entered using the automatic programming system, the mark need not be entered. The mark is not displayed on the CRT display screen. However, when a fil
  • Page 169B–63524EN/01 PROGRAMMING 12. PROGRAM CONFIGURATION 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 17012. PROGRAM CONFIGURATION PROGRAMMING B–63524EN/01 D Sequence number and A program consists of several commands. One command unit is called block a block. One block is separated from another with an EOB of end of block code. Table 12.2 (a) EOB code Name ISO EIA Notation in this code code manual End
  • Page 171B–63524EN/01 PROGRAMMING 12. PROGRAM CONFIGURATION D Block configuration A block consists of one or more words. A word consists of an address (word and address) followed by a number some digits long. (The plus sign (+) or minus sign (–) may be prefixed to a number.) Word = Address + number (Example
  • Page 17212. PROGRAM CONFIGURATION PROGRAMMING B–63524EN/01 D Major addresses and Major addresses and the ranges of values specified for the addresses are ranges of command shown below. Note that these figures represent limits on the CNC side, values which are totally different from limits on the machine too
  • Page 173B–63524EN/01 PROGRAMMING 12. PROGRAM CONFIGURATION D Optional block skip When a slash followed by a number (/n (n=1 to 9)) is specified at the head of a block, and optional block skip switch n on the machine operator panel is set to on, the information contained in the block for which /n correspondi
  • Page 17412. PROGRAM CONFIGURATION PROGRAMMING B–63524EN/01 D Program end The end of a program is indicated by punching one of the following codes at the end of the program: Table 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
  • Page 175B–63524EN/01 PROGRAMMING 12. PROGRAM CONFIGURATION 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 17612. PROGRAM CONFIGURATION PROGRAMMING B–63524EN/01 NOTE 1 The M98 and M99 signals are not output to the machine tool. 2 If the subprogram number specified by address P cannot be found, an alarm (No. 078) is output. Examples l M98 P51002 ; This command specifies “Call the subprogram (number 1002) fiv
  • Page 177B–63524EN/01 PROGRAMMING 12. PROGRAM CONFIGURATION D Using M99 in the main If M99 is executed in a main program, control returns to the start of the program main program. For example, M99 can be executed by placing /M99 ; at an appropriate location of the main program and setting the optional block
  • Page 17812. PROGRAM CONFIGURATION PROGRAMMING B–63524EN/01 12.4 The 8–digit program number function enables specification of program numbers with eight digits following address O (O00000001 to 8–DIGIT PROGRAM O99999999). NUMBER Explanations D Inhibiting editing of Editing of subprograms O00008000 to O000089
  • Page 179B–63524EN/01 PROGRAMMING 12. PROGRAM CONFIGURATION 2) Macro call using M code Program number Parameter used to specify M code When SPR = 0 When SPR = 1 No.6080 O00009020 O90009020 No.6081 O00009021 O90009021 No.6082 O00009022 O90009022 No.6083 O00009023 O90009023 No.6084 O00009024 O90009024 No.6085
  • Page 18012. PROGRAM CONFIGURATION PROGRAMMING B–63524EN/01 6) Pattern data function Program numaber When SPR = 0 When SPR = 1 O00009500 O90009500 O00009501 O90009501 O00009502 O90009502 O00009503 O90009503 O00009504 O90009504 O00009505 O90009505 O00009506 O90009506 O00009507 O90009507 O00009508 O90009508 O0
  • Page 18113. FUNCTIONS TO SIMPLIFY B–63524EN/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 CANNED GRINDING CYCLE (FOR G
  • Page 18213. FUNCTIONS TO SIMPLIFY PROGRAMMING PROGRAMMING B–63524EN/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 18313. FUNCTIONS TO SIMPLIFY B–63524EN/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 b
  • Page 18413. FUNCTIONS TO SIMPLIFY PROGRAMMING PROGRAMMING B–63524EN/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 18513. FUNCTIONS TO SIMPLIFY B–63524EN/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 to
  • Page 18613. FUNCTIONS TO SIMPLIFY PROGRAMMING PROGRAMMING B–63524EN/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 18713. FUNCTIONS TO SIMPLIFY B–63524EN/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 18813. FUNCTIONS TO SIMPLIFY PROGRAMMING PROGRAMMING B–63524EN/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 18913. FUNCTIONS TO SIMPLIFY B–63524EN/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 19013. FUNCTIONS TO SIMPLIFY PROGRAMMING PROGRAMMING B–63524EN/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 19113. FUNCTIONS TO SIMPLIFY B–63524EN/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 165
  • Page 19213. FUNCTIONS TO SIMPLIFY PROGRAMMING PROGRAMMING B–63524EN/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 19313. FUNCTIONS TO SIMPLIFY B–63524EN/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 19413. FUNCTIONS TO SIMPLIFY PROGRAMMING PROGRAMMING B–63524EN/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 19513. FUNCTIONS TO SIMPLIFY B–63524EN/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 19613. FUNCTIONS TO SIMPLIFY PROGRAMMING PROGRAMMING B–63524EN/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 19713. FUNCTIONS TO SIMPLIFY B–63524EN/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 19813. FUNCTIONS TO SIMPLIFY PROGRAMMING PROGRAMMING B–63524EN/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 19913. FUNCTIONS TO SIMPLIFY B–63524EN/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 20013. FUNCTIONS TO SIMPLIFY PROGRAMMING PROGRAMMING B–63524EN/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 20113. FUNCTIONS TO SIMPLIFY B–63524EN/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 20213. FUNCTIONS TO SIMPLIFY PROGRAMMING PROGRAMMING B–63524EN/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 20313. FUNCTIONS TO SIMPLIFY B–63524EN/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 177
  • Page 20413. FUNCTIONS TO SIMPLIFY PROGRAMMING PROGRAMMING B–63524EN/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 20513. FUNCTIONS TO SIMPLIFY B–63524EN/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 20613. FUNCTIONS TO SIMPLIFY PROGRAMMING PROGRAMMING B–63524EN/01 Examples Multiple repetitive cycle (G76) X axis ÔÔÔ ÅÅÅ ÅÅÅ 0 1.8 ÅÅÅ ÔÔÔ 1.8 3.68 ϕ68 ϕ60.64 Z axis ÅÅ 6 G80 X80.0 Z130.0 ; G76 P011060 Q100 R200 ; G76 X60640 Z25000 P3680 Q1800 F6.0 ; 25 105 D Staggered thread cutting Specifying P2 can
  • Page 20713. FUNCTIONS TO SIMPLIFY B–63524EN/01 PROGRAMMING PROGRAMMING 13.2.8 1. In the blocks where the multiple repetitive cycle are commanded, the Notes on Multiple addresses P, Q, X, Z, U, W, and R should be specified correctly for each block. Repetitive Cycle 2. In the block which is specified by addre
  • Page 20813. FUNCTIONS TO SIMPLIFY PROGRAMMING PROGRAMMING B–63524EN/01 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) This canned cycle conforms to JIS
  • Page 20913. FUNCTIONS TO SIMPLIFY B–63524EN/01 PROGRAMMING PROGRAMMING 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 21013. FUNCTIONS TO SIMPLIFY PROGRAMMING PROGRAMMING B–63524EN/01 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 21113. FUNCTIONS TO SIMPLIFY B–63524EN/01 PROGRAMMING PROGRAMMING CAUTION D 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 21213. FUNCTIONS TO SIMPLIFY PROGRAMMING PROGRAMMING B–63524EN/01 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 21313. FUNCTIONS TO SIMPLIFY B–63524EN/01 PROGRAMMING PROGRAMMING D Peck drilling cycle (G83, G87) (parameter No. 5101#2 =1) Format G83 X(U)_ C(H)_ Z(W)_ R_ Q_ P_ F_ 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 21413. FUNCTIONS TO SIMPLIFY PROGRAMMING PROGRAMMING B–63524EN/01 NOTE If the depth of cut for each cutting feed (Q) is not commanded, normal drilling is performed. (See the description of the drilling cycle.) D Drilling cycle If depth of cut is not specified for each drilling, the normal drilling cycl
  • Page 21513. FUNCTIONS TO SIMPLIFY B–63524EN/01 PROGRAMMING PROGRAMMING Examples M51 ; Setting C–axis index mode ON M3 S2000 ; Rotating the drill G00 X50.0 C0.0 ; Positioning the drill along the X– and C–axes G83 Z–40.0 R–5.0 P500 F5.0 M31 ; Drilling hole 1 C90.0 M31 ; Drilling hole 2 C180.0 M31 ; Drilling h
  • Page 21613. FUNCTIONS TO SIMPLIFY PROGRAMMING PROGRAMMING B–63524EN/01 NOTE Bit 6 (M5T) of parameter No. 5101 specifies whether the spindle stop command (M05) is issued before the direction in which the spindle rotates is specified with M03 or M04. For details, refer to the operator’s manual created by the
  • Page 21713. FUNCTIONS TO SIMPLIFY B–63524EN/01 PROGRAMMING PROGRAMMING 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 21813. FUNCTIONS TO SIMPLIFY PROGRAMMING PROGRAMMING B–63524EN/01 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 21913. FUNCTIONS TO SIMPLIFY B–63524EN/01 PROGRAMMING PROGRAMMING 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 22013. FUNCTIONS TO SIMPLIFY PROGRAMMING PROGRAMMING B–63524EN/01 13.4 There are four grinding canned cycles : the traverse grinding cycle (G71), traverse direct fixed–dimension grinding cycle, oscillation grinding CANNED GRINDING cycle, and oscillation direct fixed–dimension grinding cycle. CYCLE With
  • Page 22113. FUNCTIONS TO SIMPLIFY B–63524EN/01 PROGRAMMING PROGRAMMING 13.4.2 Traverse Direct Fixed–dimension Grinding Cycle (G72) Format G72 P_ A_ B_ W_ U_ I_ K_ H_ ; P : Gauge number (1 to 4) A : First depth of cut B : Second depth of cut W : Grinding range U : Dwell time Maximum specification time : 9999
  • Page 22213. FUNCTIONS TO SIMPLIFY PROGRAMMING PROGRAMMING B–63524EN/01 13.4.3 Oscillation Grinding Cycle (G73) Format G73 A_ (B_) W_ U_ K_ H_ ; Z W (1) (2) (K) A U (dwell) U (dwell) (3) (B) (4) (K) X A : Depth of cut B : Depth of cut W : Grinding range U : Dwell time K : Feedrate H : Number of repetitions S
  • Page 22313. FUNCTIONS TO SIMPLIFY B–63524EN/01 PROGRAMMING PROGRAMMING 13.4.4 Oscillation Direct Fixed–Dimension Grinding Cycle Format G74 P_ A_ (B_) W_ U_ K_ H_ ; P : Gauge number (1 to 4) A : Depth of cut B : Depth of cut W : Grinding range U : Dwell time K : Feedrate of W H : Number of repetitions Settin
  • Page 22413. FUNCTIONS TO SIMPLIFY PROGRAMMING PROGRAMMING B–63524EN/01 13.5 A chamfer or corner can be inserted between two blocks which intersect at a right angle as follows : CHAMFERING AND CORNER R D Chamfering Z→X Format Tool movement G01 Z(W) _ I (C) ±i ; +x Specifies movement to point b with an absolu
  • Page 22513. FUNCTIONS TO SIMPLIFY B–63524EN/01 PROGRAMMING PROGRAMMING D Corner R X→Z Format Tool movement G01 X(U) _ R ±r ; Start point a Specifies movement to point b with an absolute or incremental Moves as (For –x movement, command in the figure on the a→d→c right. –r) –r r d –z +z c b c Fig. 13.5 (d) C
  • Page 22613. FUNCTIONS TO SIMPLIFY PROGRAMMING PROGRAMMING B–63524EN/01 NOTE 1 The following commands cause an alarm. 1) One of I, K, or R is commanded when X and Z axes are specified by G01. (P/S alarm No. 054) 2) Move amount of X or Z is less than chamfering value and corner R value in the block where cham
  • Page 22713. FUNCTIONS TO SIMPLIFY B–63524EN/01 PROGRAMMING PROGRAMMING 13.6 MIRROR IMAGE FOR DOUBLE TURRET (G68, G69) Format G68 : Double turret mirror image on G69 : Mirror image cancel Explanations Mirror image can be applied to X–axis with G code. When G68 is designated, the coordinate system is shifted
  • Page 22813. FUNCTIONS TO SIMPLIFY PROGRAMMING PROGRAMMING B–63524EN/01 13.7 Angles of straight lines, chamfering value, corner rounding values, and other dimensional values on machining drawings can be programmed by DIRECT DRAWING directly inputting these values. In addition, the chamfering and corner DIMEN
  • Page 22913. FUNCTIONS TO SIMPLIFY B–63524EN/01 PROGRAMMING PROGRAMMING Commands Movement of tool X X2_ Z2_ , R1_ ; (X4 , Z4) X3_ Z3_ , R2_ ; (X3 , Z3) X4_ Z4_ ; A2 or R2 5 ,A1_, R1_ ; X3_ Z3_, A2_, R2_ ; 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 23013. FUNCTIONS TO SIMPLIFY PROGRAMMING PROGRAMMING B–63524EN/01 Explanations A program for machining along the curve shown in Fig. 13.7 (a) is as follows : +X X (x2) Z (z2) , C (c1) ; a3 X (x3) Z (z3) , R (r2) ; X (x4) Z (z4) ; (x3, z3) +Z (x4, z4) o r2 a2 ,Ar(a1) , C (c1) ; X (x3) Z (z3) , A (a2) ,
  • Page 23113. FUNCTIONS TO SIMPLIFY B–63524EN/01 PROGRAMMING PROGRAMMING NOTE 1 The following G codes are not applicable to the same block as commanded by direct input of drawing dimensions or between blocks of direct input of drawing dimensions which define sequential figures. 1) G codes (other than G04) in
  • Page 23213. FUNCTIONS TO SIMPLIFY PROGRAMMING PROGRAMMING B–63524EN/01 Examples X R20 R15 R6 φ 300 φ 100 Z φ 60 10° 1×45° 30 180 22° (Diameter specification, metric input) N001 G50 X0.0 Z0.0 ; N002 G01 X60.0, A90.0, C1.0 F80 ; N003 Z–30.0, A180.0, R6.0 ; N004 X100.0, A90.0 ; N005 ,A170.0, R20.0 ; N006 X300.
  • Page 23313. FUNCTIONS TO SIMPLIFY B–63524EN/01 PROGRAMMING PROGRAMMING 13.8 Front face tapping cycles (G84) and side face tapping cycles (G88) can be performed either in conventional mode or rigid mode. RIGID TAPPING In conventional mode, the spindle is rotated or stopped, in synchronization with the motion
  • Page 23413. FUNCTIONS TO SIMPLIFY PROGRAMMING PROGRAMMING B–63524EN/01 13.8.1 Controlling the spindle motor in the same way as a servo motor in rigid Front Face Rigid mode enables high–speed tapping. Tapping Cycle (G84) / Side Face Rigid Tapping Cycle (G88) Format G84 X(U)_ C(H)_ Z(W)_ R_ P_ F_ M_ K_ ; or G
  • Page 23513. FUNCTIONS TO SIMPLIFY B–63524EN/01 PROGRAMMING PROGRAMMING D Thread lead In feed per minute mode, the feedrate divided by the spindle speed is equal to the thread lead. In feed per rotation mode, the feedrate is equal to the thread lead. Limitations D S commands When a value exceeding the maximu
  • Page 23613. FUNCTIONS TO SIMPLIFY PROGRAMMING PROGRAMMING B–63524EN/01 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 23713. FUNCTIONS TO SIMPLIFY B–63524EN/01 PROGRAMMING PROGRAMMING 13.9 Coordinate conversion about an axis can be carried out if the center of rotation, direction of the axis of rotation, and angular displacement are THREE– specified. This function is very useful for three–dimensional machining DIMENSI
  • Page 23813. FUNCTIONS TO SIMPLIFY PROGRAMMING PROGRAMMING B–63524EN/01 In the N1 block, specify the center, direction of the axis of rotation, and angular displacement of the first rotation. When this block is executed, the center of the original coordinate system is shifted to (x1, y1, z1), then rotated ar
  • Page 23913. FUNCTIONS TO SIMPLIFY B–63524EN/01 PROGRAMMING PROGRAMMING D Format error If one of the following format errors is detected, P/S alarm No. 5044 occurs: 1. When I, J, or K is not specified in a block with G68.1 (a parameter of coordinate system rotation is not specified) 2. When I, J, and K are a
  • Page 24013. FUNCTIONS TO SIMPLIFY PROGRAMMING PROGRAMMING B–63524EN/01 (2) Coordinate conversion on the ZY plane 1 0 0 M= 0 cosθ –sinθ 0 sinθ cosθ (3) Coordinate conversion on the ZX plane cosθ 0 sinθ M= 0 1 0 –sinθ 0 cosθ D Three basic axes and Three–dimensional coordinate conversion can be applied to a de
  • Page 24113. FUNCTIONS TO SIMPLIFY B–63524EN/01 PROGRAMMING PROGRAMMING D G codes that can be The following G codes can be specified in the three–dimensional specified coordinate conversion mode: G00 Positioning G01 Linear interpolation G02 Circular interpolation (clockwise) G03 Circular interpolation (count
  • Page 24213. FUNCTIONS TO SIMPLIFY PROGRAMMING PROGRAMMING B–63524EN/01 D Reset If a reset occurs during three–dimensional coordinate conversion mode, the mode is canceled and the continuous–state G code is changed to G69.1. The D3R bit (bit 2 of parameter 5400) determines whether just the G69.1 code is used
  • Page 24313. FUNCTIONS TO SIMPLIFY B–63524EN/01 PROGRAMMING PROGRAMMING D Relationship between When using a tool offset command, nest the tool offset command within three–dimensional the three–dimensional coordinate conversion mode. coordinate conversion (Example) and tool offset G68.1 X100. Y100. Z100. I0.
  • Page 24413. FUNCTIONS TO SIMPLIFY PROGRAMMING PROGRAMMING B–63524EN/01 Examples An example of G code system B is described below. N1 G90 X0 Y0 Z0 ; Carries out positioning to zero point H. N2 G68.1 X10. Y0 Z0 I0 J1 K0 R30. ; Forms new coordinate system X’Y’Z’. N3 G68.1 X0 Y–10. Z0 I0 J0 K1 R–90. ; Forms oth
  • Page 245B–63524EN/01 PROGRAMMING 14. COMPENSATION FUNCTION 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 CORNER CIRCULAR INTERPOLATION FUNCTION (G39) 14.
  • Page 24614. COMPENSATION FUNCTION PROGRAMMING B–63524EN/01 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 247B–63524EN/01 PROGRAMMING 14. COMPENSATION FUNCTION 14.1.2 There are two methods for specifying a T code as shown in Table 14.1.2 T Code for Tool Offset (a) and Table 14.1.2 (b). Format D Lower digit of T code Table 14.1.2 (a) specifies geometry and Kind of Parameter setting for specifying of wear of
  • Page 24814. COMPENSATION FUNCTION PROGRAMMING B–63524EN/01 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 249B–63524EN/01 PROGRAMMING 14. COMPENSATION FUNCTION D Only T code When only a T code is specified in a block, the tool is moved by the wear offset value without a move command. The movement is performed at rapid traverse rate in the G00 mode . It is performed at feedrate in other modes. When a T code
  • Page 25014. COMPENSATION FUNCTION PROGRAMMING B–63524EN/01 Examples 1. When a tool geometry offset number and tool wear offset number are specified with the last two digits of a T code (when LGN, bit 1 of parameter No. 5002, is set 0), N1 X50.0 Z100.0 T0202 ; Specifies offset number 02 N2 Z200.0 ; N3 X100.0
  • Page 251B–63524EN/01 PROGRAMMING 14. COMPENSATION FUNCTION 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 25214. COMPENSATION FUNCTION PROGRAMMING B–63524EN/01 D Manual reference Executing manual reference position return when tool position offset is position return when tool applied does not cancel the tool position offset vector. The absolute position offset is applied position display is as follows, how
  • Page 253B–63524EN/01 PROGRAMMING 14. COMPENSATION FUNCTION D Canceling tool position Whether specifying T00 alone, while tool position offset is applied, offset with T00 cancels the offset depends on the settings of the following parameters: When the tool geometry/wear compensation option is selected LGN =
  • Page 25414. COMPENSATION FUNCTION PROGRAMMING B–63524EN/01 When the tool geometry/wear compensation option is not selected LGN (No.5002#1) LGT (No.5002#4) LGC (No.5002#5) The geometry offset number is: Geometry compensation is The geometry offset is: Result 0: Same as the wear offset applied: 0: Not cancele
  • Page 255B–63524EN/01 PROGRAMMING 14. COMPENSATION FUNCTION 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 25614. COMPENSATION FUNCTION PROGRAMMING B–63524EN/01 CAUTION In a machine with reference positions, a standard position like the turret center can be placed over the start position. The distance from this standard position to the nose radius center or the imaginary tool nose is set as the tool offset
  • Page 257B–63524EN/01 PROGRAMMING 14. COMPENSATION FUNCTION 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 25814. COMPENSATION FUNCTION PROGRAMMING B–63524EN/01 Imaginary tool nose numbers 0 and 9 are used when the tool nose center coincides with the start position. Set imaginary tool nose number to address OFT for each offset number. Bit 7 (WNP) of parameter No. 5002 is used to determine whether the tool g
  • Page 259B–63524EN/01 PROGRAMMING 14. COMPENSATION FUNCTION 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 OFGX OFGZ OFGR OFGY Geome- OFT (X–axis (Z–axis (Tool nose (Y–axis try (Imaginary geom
  • Page 26014. COMPENSATION FUNCTION PROGRAMMING B–63524EN/01 D Setting range of offset The range of the offset value is an follows : value Increment system metric system Inch system IS–B 0 to "999.999 mm 0 to "99.9999 inch IS–C 0 to "999.9999 mm 0 to "99.99999 inch The offset value corresponding to the offset
  • Page 261B–63524EN/01 PROGRAMMING 14. COMPENSATION FUNCTION The workpiece position can be changed by setting the coordinate system as shown below. Z axis G41 (the workpiece is on the left side) X axis Workpiece G42 (the workpiece is Note on the right side) NOTE If the tool nose radius compensation value is n
  • Page 26214. COMPENSATION FUNCTION PROGRAMMING B–63524EN/01 D Tool movement when the The workpiece position against the toll changes at the corner of the workpiece position programmed path as shown in the following figure. changes A C Workpiece G41 position G42 Workpiece B position A B C G41 G42 Although the
  • Page 263B–63524EN/01 PROGRAMMING 14. COMPENSATION FUNCTION D Offset cancel The block in which the mode changes to G40 from G41 or G42 is called the offset cancel block. G41 _ ; G40 _ ; (Offset cancel block) The tool nose center moves to a position vertical to the programmed path in the block before the canc
  • Page 26414. COMPENSATION FUNCTION PROGRAMMING B–63524EN/01 The workpiece position specified by addresses I and K is the same as that in the preceding block. If I and/or K is specified with G40 in the cancel mode, the I and/or K is ignored. G40 X_ Z_ I_ K_ ; Tool nose radius compensation G40 G02 X_ Z_ I_ K_
  • Page 265B–63524EN/01 PROGRAMMING 14. COMPENSATION FUNCTION 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 26614. COMPENSATION FUNCTION PROGRAMMING B–63524EN/01 2. Direction of the offset The offset direction is indicated in the figure below regardless of the G41/G42 mode. G90 G94 D Tool nose radius When one of following cycles is specified, the cycle deviates by a tool compensation with G71 nose radius com
  • Page 267B–63524EN/01 PROGRAMMING 14. COMPENSATION FUNCTION D Tool nose radius In this case, tool nose radius compensation is not performed. compensation when the block is specified from the MDI 241
  • Page 26814. COMPENSATION FUNCTION PROGRAMMING B–63524EN/01 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 269B–63524EN/01 PROGRAMMING 14. COMPENSATION FUNCTION D Start–up When a block which satisfies all the following conditions is executed in cancel mode, the system enters the offset mode. Control during this operation is called start–up. D G41 or G42 is contained in the block, or has been specified to se
  • Page 27014. COMPENSATION FUNCTION PROGRAMMING B–63524EN/01 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 271B–63524EN/01 PROGRAMMING 14. COMPENSATION FUNCTION 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 27214. COMPENSATION FUNCTION PROGRAMMING B–63524EN/01 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 273B–63524EN/01 PROGRAMMING 14. COMPENSATION FUNCTION 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 27414. COMPENSATION FUNCTION PROGRAMMING B–63524EN/01 D Tool movement around the outside corner at an Linear→Linear obtuse angle (90°xα<180°) α Workpiece L Programmed path Tool nose radius center path S Intersection L Linear→Circular α L r Work- piece S L C Intersection Tool nose radius Programmed path
  • Page 275B–63524EN/01 PROGRAMMING 14. COMPENSATION FUNCTION D Tool movement around the outside corner at an acute angle Linear→Linear (α<90°) L Workpiece r α L Programmed path S r L Tool 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 27614. COMPENSATION FUNCTION PROGRAMMING B–63524EN/01 D When it is exceptional S End position for the arc If the end of a line leading to an arc is programmed as the end of the arc is not on the arc by mistake as illustrated below, the system assumes that tool nose radius compensation has been executed
  • Page 277B–63524EN/01 PROGRAMMING 14. COMPENSATION FUNCTION S There is no inner If the tool nose radius compensation value is sufficiently small, the two intersection circular Tool nose radius center paths made after compensation intersect at a position (P). Intersection P may not occur if an excessively lar
  • Page 27814. COMPENSATION FUNCTION PROGRAMMING B–63524EN/01 D Change in the offset The offset direction is decided by G codes (G41 and G42) for tool nose direction in the offset radius and the sign of tool nose radius compensation value as follows. mode Sign of offset value + – G code G41 Left side offset Ri
  • Page 279B–63524EN/01 PROGRAMMING 14. COMPENSATION FUNCTION S Tool nose radius center path with an intersection Linear→Linear S Workpiece G42 L r r Programmed path L G41 Tool nose radius center path Workpiece Linear→Circular C Workpiece r G41 G42 Programmed path r Workpiece Tool nose radius center path L S C
  • Page 28014. COMPENSATION FUNCTION PROGRAMMING B–63524EN/01 S Tool nose radius center When changing the offset direction in block A to block B using G41 and path without an G42, if intersection with the offset path is not required, the vector normal intersection to block B is created at the start point of bl
  • Page 281B–63524EN/01 PROGRAMMING 14. COMPENSATION FUNCTION D Temporary tool nose If the following command is specified in the offset mode, the offset mode radius compensation is temporarily canceled then automatically restored. The offset mode can cancel be canceled and started as described in Subsections I
  • Page 28214. COMPENSATION FUNCTION PROGRAMMING B–63524EN/01 D Command cancelling the During offset mode, if G50 is commanded,the offset vector is temporarily offset vector temporality cancelled and thereafter offset mode is automatically restored. In this case, without movement of offset cancel, the tool mov
  • Page 283B–63524EN/01 PROGRAMMING 14. COMPENSATION FUNCTION D A block without tool The following blocks have no tool movement. In these blocks, the tool movement will not move even if 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 28414. COMPENSATION FUNCTION PROGRAMMING B–63524EN/01 D Corner movement When two or more vectors are produced at the end of a block, the tool moves linearly from one vector to another. This movement is called the corner movement. If these vectors almost coincide with each other, the corner movement isn
  • Page 285B–63524EN/01 PROGRAMMING 14. COMPENSATION FUNCTION 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 28614. COMPENSATION FUNCTION PROGRAMMING B–63524EN/01 D Tool movement around an outside corner at an Linear→Linear acute angle (α<90°) L G40 Workpiece α r L Programmed path S Tool nose radius center path r L L L S Circular→Linear L r α L r L Work- piece S L C Tool nose radius center path Programmed pat
  • Page 287B–63524EN/01 PROGRAMMING 14. COMPENSATION FUNCTION D Block containing G40 and I_J_K_ S The previous block If a G41 or G42 block precedes a block in which G40 and I_, J_, K_ are contains G41 or G42 specified, the system assumes that the path is programmed as a path from the end position determined by
  • Page 28814. COMPENSATION FUNCTION PROGRAMMING B–63524EN/01 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 289B–63524EN/01 PROGRAMMING 14. COMPENSATION FUNCTION (2) In addition to the condition (1), the angle between the start point and end point on the Tool nose radius center path is quite different from that between the start point and end point on the programmed path in circular machining(more than 180 d
  • Page 29014. COMPENSATION FUNCTION PROGRAMMING B–63524EN/01 D Correction of (1) Removal of the vector causing the interference interference in advance When tool nose radius compensation is performed for blocks A, B and C and vectors V1, V2, V3 and V4 between blocks A and B, and V5, V6, V7 and V8 between B an
  • Page 291B–63524EN/01 PROGRAMMING 14. COMPENSATION FUNCTION (Example 2) The tool moves linearly from V1, V2, V7, to V8 V2 S V7 V1 V8 Tool nose radius C S center path V6 V3 C r r A V5 V4 C Programmed path R V4, V5 : Interference V3, V6 : Interference O1 O2 V2, V7 : No Interference (2) If the interference occu
  • Page 29214. COMPENSATION FUNCTION PROGRAMMING B–63524EN/01 D When interference is (1) Depression which is smaller than the tool nose radius assumed although actual compensation value interference does not occur Programmed path Tool nose radius center path Stopped A C B There is no actual interference, but s
  • Page 293B–63524EN/01 PROGRAMMING 14. COMPENSATION FUNCTION 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 29414. COMPENSATION FUNCTION PROGRAMMING B–63524EN/01 D Machining a step smaller When machining of the step is commanded by circular machining in the than the tool nose radius case of a program containing a step smaller than the tool nose radius, the path of the center of tool with the ordinary offset
  • Page 295B–63524EN/01 PROGRAMMING 14. COMPENSATION FUNCTION D When machining area The following example shows a machining area which cannot be cut remains or an alarm is sufficiently. generated ÇÇÇÇÇÇÇ ÇÇÇÇÇÇÇ ÇÇÇÇÇÇÇ ÇÇÇÇÇÇÇ ÇÇÇÇÇÇÇ r 22.5_ ÇÇÇÇÇÇ ÇÇÇÇÇÇÇ ȏ2 ÇÇÇÇÇÇ ÇÇÇÇÇÇÇ ÇÇÇÇÇÇ Tool nose radius Machining
  • Page 29614. COMPENSATION FUNCTION PROGRAMMING B–63524EN/01 In outer chamfering with an offset, a limit is imposed on the programmed path. The path during chamfering coincides with the intersection points P1 or P2 without chamfering, therefore, outer chamfering is limited. In the figure above, the end point
  • Page 297B–63524EN/01 PROGRAMMING 14. COMPENSATION FUNCTION 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 29814. COMPENSATION FUNCTION PROGRAMMING B–63524EN/01 14.3.10 D When a G53 command is executed in tool–tip radius compensation G53, G28, G30, and mode, the tool–tip radius compensation vector is automatically canceled before positioning, that vector being automatically restored G30.1 Commands in by a s
  • Page 299B–63524EN/01 PROGRAMMING 14. COMPENSATION FUNCTION S Incremental G53 - When bit 2 (CCN) of parameter No. 5003 is set to 0 command in offset mode Start–up r r s G00 (G41 G00) s G00 G53 O×××× ; G41 G00_ ; : G53 U_ W_ ; : - When bit 2 (CCN) of parameter No. 5003 is set to 1 [FS15 type] r s G00 (G41 G00
  • Page 30014. COMPENSATION FUNCTION PROGRAMMING B–63524EN/01 WARNING 1 When a G53 command is executed in tool–tip radius compensation mode when all–axis machine lock is applied, positioning is not performed for those axes to which machine lock is applied and the offset vector is not canceled. When bit 2 (CCN)
  • Page 301B–63524EN/01 PROGRAMMING 14. COMPENSATION FUNCTION WARNING 2 When a compensation axis is specified in a G53 command in tool–tip radius compensation mode, the vectors for other compensation axes are also canceled. This also applies when bit 2 (CCN) of parameter No. 5003 is set to 1. (The FS15 cancels
  • Page 30214. COMPENSATION FUNCTION PROGRAMMING B–63524EN/01 NOTE 1 When an axis not included in the tool–tip radius compensation plane is specified in a G53 command, a vector perpendicular to the direction in which the tool moves is created at the end of the preceding block and the tool does not move. Offset
  • Page 303B–63524EN/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 Intermediate position O×××× ; (with movement to both G91 G41_ ; s G28/30/30.1 s s G01 an intermediate position : and reference position G28 X40. Z0 ; G0
  • Page 30414. COMPENSATION FUNCTION PROGRAMMING B–63524EN/01 S G28, G30, or G30.1 - When bit 2 (CCN) of parameter No. 5003 is set to 0 command in offset mode Start–up (with movement to a reference position not performed) r r (G41 G01) s s G01 O×××× ; G91 G41_ ; G00 : G28/30/30.1 G28 X40. Y–40. ; : s Reference
  • Page 305B–63524EN/01 PROGRAMMING 14. COMPENSATION FUNCTION WARNING 1 When a G28, G30, or G30.1 command is executed when all–axis machine lock is applied, a vector perpendicular to the direction in which the tool moves is created at the intermediate position. In this case, the tool does not move to the refer
  • Page 30614. COMPENSATION FUNCTION PROGRAMMING B–63524EN/01 NOTE 1 When an axis not included in the tool–tip radius compensation plane is specified in a G28, G30, or G30.1 command, a vector perpendicular to the direction in which the tool moves is created at the end of the preceding block and the tool does n
  • Page 307B–63524EN/01 PROGRAMMING 14. COMPENSATION FUNCTION 14.4 During radius compensation for the tool tip, corner circular– interpolation, with the specified compensation value used as the radius, CORNER CIRCULAR can be performed by specifying G39 in offset mode. INTERPOLATION FUNCTION (G39) Format In off
  • Page 30814. COMPENSATION FUNCTION PROGRAMMING B–63524EN/01 Examples D G39 without I, J, and K (In offset mode) X–axis N1 Z10.0 ; N2 G39 ; N3 X-10.0 ; Z–axis Block N1 Offset vector Block N2 (10.0, 0.0) Block N3 Programmed path Tool–tip center path (10.0, –10.0) D G39 with I, J, and K (In offset mode) X–axis
  • Page 309B–63524EN/01 PROGRAMMING 14. COMPENSATION FUNCTION 14.5 Tool compensation values include tool geometry compensation values and tool wear compensation (Fig. 14.5 (a)). TOOL Tool compensation can be specified without differentiating compensation COMPENSATION for tool geometry from that for tool wear.
  • Page 31014. COMPENSATION FUNCTION PROGRAMMING B–63524EN/01 D Seven–digit tool offset The number of digits used to specify a tool geometry/wear compensation specification value can be expanded by selecting the option which enables seven–digit tool offset specification. When this option is used, tool compensa
  • Page 311B–63524EN/01 PROGRAMMING 14. COMPENSATION FUNCTION 14.5.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 sy
  • Page 31214. COMPENSATION FUNCTION PROGRAMMING B–63524EN/01 14.6 When a tool is moved to the measurement position by execution of a command given to the CNC, the CNC automatically measures the AUTOMATIC TOOL difference between the current coordinate value and the coordinate value OFFSET (G36, G37) of the com
  • Page 313B–63524EN/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 31414. COMPENSATION FUNCTION PROGRAMMING B–63524EN/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 315B–63524EN/01 PROGRAMMING 14. COMPENSATION FUNCTION 14.7 With the coordinate rotation function, it is possible to rotate a figure specified in a program. For example, a program that produces patterns COORDINATE of a figure rotated at increasingly larger angles can be created as a pair of ROTATION sub
  • Page 31614. COMPENSATION FUNCTION PROGRAMMING B–63524EN/01 Explanations D Plane selection G code, Plane selection G code (G17, G18, or G19) can be specified in a block G17, G18, or G19 ahead of the coordinate rotation G code (G68.1). Do not specify G17, G18, or G19 in coordinate rotation mode. D Rotation ce
  • Page 317B–63524EN/01 PROGRAMMING 14. COMPENSATION FUNCTION Examples D Tool nose radius and G68.1 and G69.1 can be specified during tool nose radius compensation, coordinate rotation provided that the coordinate rotation plane coincides with the tool nose radius compensation plane. N1 G50 X0 Z0 G69.1 G01 ; N
  • Page 31814. COMPENSATION FUNCTION PROGRAMMING B–63524EN/01 D Repetitive coordinate Coordinate rotation can be repeated by calling a registered subprogram rotation more than once, but with increasingly greater rotation angles. Set bit 0 (RIN) of parameter No. 5400 to 1 to specify the rotation angle as being
  • Page 319B–63524EN/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 32015. CUSTOM MACRO PROGRAMMING B–63524EN/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 321B–63524EN/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 32215. CUSTOM MACRO PROGRAMMING B–63524EN/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 323B–63524EN/01 PROGRAMMING 15. CUSTOM MACRO D Displaying variable values VARIABLE O1234 N12345 NO. DATA NO. DATA 100 123.456108 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 32415. CUSTOM MACRO PROGRAMMING B–63524EN/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 325B–63524EN/01 PROGRAMMING 15. CUSTOM MACRO 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.2
  • Page 32615. CUSTOM MACRO PROGRAMMING B–63524EN/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 327B–63524EN/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 32815. CUSTOM MACRO PROGRAMMING B–63524EN/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 329B–63524EN/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–#5008 Bl
  • Page 33015. CUSTOM MACRO PROGRAMMING B–63524EN/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 offset values values (workpiece zero point offset values) Variable Function number #5201 First–axi
  • Page 331B–63524EN/01 PROGRAMMING 15. CUSTOM MACRO 15.3 The operations listed in Table 15.3 (a) can be performed on variables. The expression to the right of the operator can contain constants and/or ARITHMETIC AND variables combined by a function or operator. Variables #j and #K in an LOGIC OPERATION expres
  • Page 33215. CUSTOM MACRO PROGRAMMING B–63524EN/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 333B–63524EN/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 33415. CUSTOM MACRO PROGRAMMING B–63524EN/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 335B–63524EN/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 33615. CUSTOM MACRO PROGRAMMING B–63524EN/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 337B–63524EN/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 33815. CUSTOM MACRO PROGRAMMING B–63524EN/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 339B–63524EN/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 34015. CUSTOM MACRO PROGRAMMING B–63524EN/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 341B–63524EN/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; 315
  • Page 34215. CUSTOM MACRO PROGRAMMING B–63524EN/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 343B–63524EN/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 d
  • Page 34415. CUSTOM MACRO PROGRAMMING B–63524EN/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 345B–63524EN/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 34615. CUSTOM MACRO PROGRAMMING B–63524EN/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 347B–63524EN/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 34815. CUSTOM MACRO PROGRAMMING B–63524EN/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 349B–63524EN/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 35015. CUSTOM MACRO PROGRAMMING B–63524EN/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 351B–63524EN/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 35215. CUSTOM MACRO PROGRAMMING B–63524EN/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 353B–63524EN/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 35415. CUSTOM MACRO PROGRAMMING B–63524EN/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 355B–63524EN/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 35615. CUSTOM MACRO PROGRAMMING B–63524EN/01 D Buffering the next block in tool nose radius > N1 G01 G41 G91 Z100.0 F100 T0101 ; compensation mode (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 357B–63524EN/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 35815. CUSTOM MACRO PROGRAMMING B–63524EN/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 359B–63524EN/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 36015. CUSTOM MACRO PROGRAMMING B–63524EN/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 361B–63524EN/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 PCL
  • Page 36215. CUSTOM MACRO PROGRAMMING B–63524EN/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 363B–63524EN/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 36415. CUSTOM MACRO PROGRAMMING B–63524EN/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 365B–63524EN/01 PROGRAMMING 15. CUSTOM MACRO NOTE For the status–triggered and edge–triggered schemes, see Item “Custom macro interrupt signal (UINT)” of Subsec. 16.11.2. 15.11.2 Details of Functions Explanations D ubprogram–type There are two types of custom macro interrupts: Subprogram–type interrupt
  • Page 36615. CUSTOM MACRO PROGRAMMING B–63524EN/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 367B–63524EN/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 36815. CUSTOM MACRO PROGRAMMING B–63524EN/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 369B–63524EN/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 37015. CUSTOM MACRO PROGRAMMING B–63524EN/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 371B–63524EN/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 37216. PROGRAMMABLE PARAMETER ENTRY (G10) PROGRAMMING B–63524EN/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 37316. PROGRAMMABLE PARAMETER B–63524EN/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 37416. PROGRAMMABLE PARAMETER ENTRY (G10) PROGRAMMING B–63524EN/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 37517. MEMORY OPERATION BY B–63524EN/01 PROGRAMMING Series 15 TAPE FORMAT 17 MEMORY OPERATION BY Series 15 TAPE FORMAT Programs in the Series 15 tape format can be registered in memory for memory operation by setting bit 1 of parameter No. 0001. Registration to memory and memory operation are possible
  • Page 37617. MEMORY OPERATION BY Series 15 TAPE FORMAT PROGRAMMING B–63524EN/01 17.1 Some addresses which cannot be used for the this CNC can be used in the Series 15 tape format. The specifiable value range for the Series 15 tape ADDRESSES AND format is basically the same as that for the this CNC. Sections
  • Page 37717. MEMORY OPERATION BY B–63524EN/01 PROGRAMMING Series 15 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 Al
  • Page 37817. MEMORY OPERATION BY Series 15 TAPE FORMAT PROGRAMMING B–63524EN/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 Series 15 tape format. D Subprogram number The spe
  • Page 37917. MEMORY OPERATION BY B–63524EN/01 PROGRAMMING Series 15 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) Threa
  • Page 38017. MEMORY OPERATION BY Series 15 TAPE FORMAT PROGRAMMING B–63524EN/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 if
  • Page 38117. MEMORY OPERATION BY B–63524EN/01 PROGRAMMING Series 15 TAPE FORMAT D Addresses and If the following addresses are specified in the Series 15 tape format, they specifiable value range are ignored. D I and K for the outer/inner surface rough machining cycle (G71) D I and K for the end surface roug
  • Page 38217. MEMORY OPERATION BY Series 15 TAPE FORMAT PROGRAMMING B–63524EN/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 repetiti
  • Page 38317. MEMORY OPERATION BY B–63524EN/01 PROGRAMMING Series 15 TAPE FORMAT D G code Some G codes are valid only for this CNC tape format or Series 15 tape format. Specifying an invalid G code results in P/S alarm No. 10 being generated. G codes valid only for the Series 15 tape format G81, G82, G83.1, G
  • Page 38417. MEMORY OPERATION BY Series 15 TAPE FORMAT PROGRAMMING B–63524EN/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 Series 15 tape format, the parameter and the G code system used determine wheth
  • Page 38517. MEMORY OPERATION BY B–63524EN/01 PROGRAMMING Series 15 TAPE FORMAT D Dwell with G83 and For Series 15–T, G83 or G83.1 does not cause the tool to dwell. For the G83.1 Series 15 tape format, the tool dwells at the bottom of the hole only if the block contains a P address. D Dwelling with G84 and I
  • Page 38618. FUNCTIONS FOR HIGH SPEED CUTTING PROGRAMMING B–63524EN/01 18 FUNCTIONS FOR HIGH SPEED CUTTING 360
  • Page 38718. FUNCTIONS FOR HIGH SPEED B–63524EN/01 PROGRAMMING CUTTING 18.1 This function can convert the machining profile to a data group that can be distributed as pulses at high–speed by the macro compiler and macro HIGH SPEED CYCLE executor. The function can also call and execute the data group as a CUT
  • Page 38818. FUNCTIONS FOR HIGH SPEED CUTTING PROGRAMMING B–63524EN/01 Alarms Alarm Descriptions number 115 The contents of the header are invalid. This alarm is issued in the following cases. 1.The header corresponding to the number of the specified call machining cycle was not found. 2.A cycle connection d
  • Page 38918. FUNCTIONS FOR HIGH SPEED B–63524EN/01 PROGRAMMING CUTTING 18.2 During high–speed machining, the distribution processing status is monitored. When distribution processing terminates, P/S alarm No. 000 DISTRIBUTION and P/S alarm No. 179 are issued upon completion of the high–speed PROCESSING machi
  • Page 39018. FUNCTIONS FOR HIGH SPEED CUTTING PROGRAMMING B–63524EN/01 18.3 This function is designed for high–speed precise machining. With this function, the delay due to acceleration/deceleration and the delay in the ADVANCE PREVIEW servo system which increase as the feedrate becomes higher can be CONTROL
  • Page 39118. FUNCTIONS FOR HIGH SPEED B–63524EN/01 PROGRAMMING CUTTING Notes NOTE 1 If a block without a move command is encountered in the advanced preview control mode, the tool decelerates and stops in the previous block. 2 If a move block in the advanced preview control mode contains an M, S, or T code,
  • Page 39218. FUNCTIONS FOR HIGH SPEED CUTTING PROGRAMMING B–63524EN/01 Function name Applicability Learning function Y Look–ahead repetition control Y Polygon between spindles Y Abnormal load detect function f Chuck/tailstock barrier Y PMC axis control velocity command function Y Corner rounding f Butt–type
  • Page 39318. FUNCTIONS FOR HIGH SPEED B–63524EN/01 PROGRAMMING CUTTING Function name Applicability Linear acceleration/deceleration before cutting feed f interpolation Polar coordinate interpolation Y Cylindrical interpolation Y Polygon turning Y Helical interpolation f Tool retract & return Y Threading retr
  • Page 39418. FUNCTIONS FOR HIGH SPEED CUTTING PROGRAMMING B–63524EN/01 Function name Applicability Cs contour control Y (*2) First spindle orientation f First spindle output selection f Constant surface speed control f Actual spindle speed output f Spindle speed fluctuation detection f Spindle synchronizatio
  • Page 39518. FUNCTIONS FOR HIGH SPEED B–63524EN/01 PROGRAMMING CUTTING Function name Applicability Remote buffer f High–speed remote buffer A Y DNC1 control f DNC2 control f External tool compensation f External message f External machine zero point shift f External data input f Angular–axis control Y Workpi
  • Page 39618. FUNCTIONS FOR HIGH SPEED CUTTING PROGRAMMING B–63524EN/01 Function name Applicability Additional registered programs A (125 programs) f Additional registered programs B (200 programs) f Additional registered programs C (400 programs) f Additional registered programs D (1000 programs) f Additiona
  • Page 397B–63524EN/01 PROGRAMMING 19. AXIS CONTROL FUNCTION 19 AXIS CONTROL FUNCTION 371
  • Page 39819. AXIS CONTROL FUNCTION PROGRAMMING B–63524EN/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 399B–63524EN/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 40019. AXIS CONTROL FUNCTION PROGRAMMING B–63524EN/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 401B–63524EN/01 PROGRAMMING 19. AXIS CONTROL FUNCTION ÇÇÇÇÇÇÇÇ ÇÇÇÇÇÇÇÇ ÇÇÇÇÇÇÇÇ ÇÇÇÇÇÇÇÇ ÇÇÇÇÇÇÇÇ ÇÇÇÇÇÇÇÇ ÇÇÇÇÇÇÇÇ ÇÇÇÇÇÇÇÇ If three tools are set at every 120°, the machining figure will be a hexagon as shown below. ÇÇÇÇÇÇÇÇÇ ÇÇÇÇÇÇÇÇÇ ÇÇÇÇÇÇÇÇÇ ÇÇÇÇÇÇÇÇÇ ÇÇÇÇÇÇÇÇÇ ÇÇÇÇÇÇÇÇÇ ÇÇÇÇÇÇÇÇÇ ÇÇÇÇÇÇÇÇÇ ÇÇÇÇ
  • Page 40219. AXIS CONTROL FUNCTION PROGRAMMING B–63524EN/01 WARNING 1 For the maximum speed of the tool, see the instruction manual supplied with the machine. Do not specify a spindle speed higher than the maximum tool speed or a ratio to the spindle speed that results in a speed higher than the maximum tool
  • Page 403B–63524EN/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 19.2.1 Rotary Axis Roll–over Explanations For an incremental co
  • Page 40419. AXIS CONTROL FUNCTION PROGRAMMING B–63524EN/01 19.2.2 This function controls a rotary axis as specified by an absolute command. Rotary Axis Control With this function, the sign of the value specified in the command is interpreted as the direction of rotation, and the absolute value of the specif
  • Page 405B–63524EN/01 PROGRAMMING 19. AXIS CONTROL FUNCTION 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 40619. AXIS CONTROL FUNCTION PROGRAMMING B–63524EN/01 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 407B–63524EN/01 PROGRAMMING 19. AXIS CONTROL FUNCTION 19.4 The synchronization control function enables the synchronization of movements on two axes. If a move command is programmed for one of SYNCHRONIZATION those two axes (master axis), the function automatically issues the same CONTROL command to th
  • Page 40819. AXIS CONTROL FUNCTION PROGRAMMING B–63524EN/01 19.5 This function sets an axis (B–axis) independent of the basic controlled axes X1, Z1, X2, and Z2 and allows drilling, boring, or other machining B–AXIS CONTROL along the B–axis, in parallel with the operations for the basic controlled (G100, G10
  • Page 409B–63524EN/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 41019. AXIS CONTROL FUNCTION PROGRAMMING B–63524EN/01 Explanations D Specifying two–path One of the following three two–path control modes can be selected: control mode 1 B–axis control is executed for either tool post 1 or 2. 2 B–axis control is executed separately for tool posts 1 and 2. 3 Identical
  • Page 411B–63524EN/01 PROGRAMMING 19. AXIS CONTROL FUNCTION 3. All operations are executed in the initial level return mode. 4. The repetition count (K) cannot be specified. 5. In canned cycle mode, point R must be specified. (If point R is omitted, P/S alarm No. 5036 is output.) 6. The drilling start point
  • Page 41219. AXIS CONTROL FUNCTION PROGRAMMING B–63524EN/01 (Normal NC operation) (Registered B–axis operation) : : M11 ; G00 B111 ; G01 X999 : G01 B222 ; G28 Z777 ; G28 ; M50 ; M50 ; G00 X666 ; G81 B444 R111 F222 ; : : Upon receiving M50 of both the normal NC program and the B–axis program, the PMC ladder o
  • Page 413B–63524EN/01 PROGRAMMING 19. AXIS CONTROL FUNCTION D Operation start The MST bit (bit 7 of parameter 8240) specifies the method used to start command the B–axis operation as described below: If the MST bit is set to 1, the B–axis operation is started when the M code to start the operation is execute
  • Page 41419. AXIS CONTROL FUNCTION PROGRAMMING B–63524EN/01 D Specifying a tool offset The T**; command shifts the end point of the specified B–axis travel, in either the positive or negative direction, by the amount specified with the B–axis offset screen. If this function is used to set the difference betw
  • Page 415B–63524EN/01 PROGRAMMING 19. AXIS CONTROL FUNCTION D PMC–controlled axis A B–axis operation can be executed only when the B–axis can be controlled by the PMC. For details, refer to the manual supplied by the machine tool builder. Limitations D Single–motion operation 1. Only a single–motion operatio
  • Page 41619. AXIS CONTROL FUNCTION PROGRAMMING B–63524EN/01 Examples D Absolute or incremental mode Absolute or incremental mode 0 100 200 300 400 500 600 (1) (200) (2) (350) (450) ⋅ Dwell (200) (3) (350) (550) ⋅ Dwell (200) (100) ( Rapid traverse Cutting feed ⋅Dwell (***) Absolute value ) Incremental mode A
  • Page 417B–63524EN/01 PROGRAMMING 19. AXIS CONTROL FUNCTION 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 41819. AXIS CONTROL FUNCTION PROGRAMMING B–63524EN/01 19.6 When the angular axis makes an angle other than 90° with the perpendicular axis, the angular axis control function controls the distance ANGULAR AXIS traveled along each axis according to the inclination angle. For the CONTROL / ordinary angula
  • Page 419B–63524EN/01 PROGRAMMING 19. AXIS CONTROL FUNCTION 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 42019. AXIS CONTROL FUNCTION PROGRAMMING B–63524EN/01 19.7 To replace the tool damaged during machining or to check the status of machining, the tool can be withdrawn from a workpiece. The tool can TOOL WITHDRAWAL then be advanced again to restart machining efficiently. AND RETURN (G10.6) The tool with
  • Page 421B–63524EN/01 PROGRAMMING 19. AXIS CONTROL FUNCTION Explanations D Retraction When the TOOL WITHDRAW switch on the machine operator’s panel is turned on during automatic operation or in the automatic operation stop or hold state, the tool is retracted the length of the programmed retraction distance.
  • Page 42219. AXIS CONTROL FUNCTION PROGRAMMING B–63524EN/01 Limitations D offset If the origin, presetting, or workpiece offset is changed after retraction is specified with G10.6 in absolute mode, the change is not reflected in the retraction position. After such changes are made, the retraction position mu
  • Page 42320. TWO–PATH CONTROL B–63524EN/01 PROGRAMMING FUNCTION 20 TWO–PATH CONTROL FUNCTION 397
  • Page 42420. TWO–PATH CONTROL FUNCTION PROGRAMMING B–63524EN/01 20.1 Two–path control can be used with a lathe that supports simultaneous cutting by its two independently operating tool posts. GENERAL D Application to lathes Two–path control can be used for a lathe that machines one workpiece with one spindl
  • Page 42520. TWO–PATH CONTROL B–63524EN/01 PROGRAMMING FUNCTION D Controlling two tool The operations of two tool posts are programmed independently of each posts independently at other, and each program is stored in program memory for each tool post. the same time When automatic operation is to be performed
  • Page 42620. TWO–PATH CONTROL FUNCTION PROGRAMMING B–63524EN/01 20.2 WAITING FOR TOOL POSTS Explanations Control based on M codes is used to cause one tool post to wait for the other during machining. By specifying an M code in a machining program for each tool post, the two tool posts can wait for each othe
  • Page 42720. TWO–PATH CONTROL B–63524EN/01 PROGRAMMING FUNCTION NOTE 1 An M code for waiting must always be specified in a single block. 2 If one tool post is waiting because of an M code for waiting specified, and a different M code for waiting is specified with the other tool post, an P/S alarm (No. 160) i
  • Page 42820. TWO–PATH CONTROL FUNCTION PROGRAMMING B–63524EN/01 20.3 TOOL POST INTERFACE CHECK 20.3.1 When two tool posts machine the same workpiece simultaneously, the General tool posts can approach each other very closely. If the two tool posts interfere with each other due to a program error or any other
  • Page 42920. TWO–PATH CONTROL B–63524EN/01 PROGRAMMING FUNCTION Tool post 2 +X ζ ε +Z Tool post 1 In the ZX plane coordinate system at the origin of which the reference point of tool post 1 is set, set the X coordinate (ε) of the reference point of tool post 2 in parameter No. 8151, and its Z coordinate (ζ)
  • Page 43020. TWO–PATH CONTROL FUNCTION PROGRAMMING B–63524EN/01 D Set the relationship between the coordinate systems of the two tool posts in parameter No.8140 #7 #6 #5 #4 #3 #2 #1 #0 8140 TY1 TY0 TY0, TY1:Set the relationship between the coordinate systems of the two tool posts, with tool post 1 used as th
  • Page 43120. TWO–PATH CONTROL B–63524EN/01 PROGRAMMING FUNCTION D Setting of interference An interference forbidden area is set using a combination of two forbidden area rectangular areas. Some examples are shown below. The dashed lines indicate interference forbidden areas. (Example 1) Area 1 Area 1 Area 2
  • Page 43220. TWO–PATH CONTROL FUNCTION PROGRAMMING B–63524EN/01 20.3.3 Setting and Display of Interference Forbidden Areas for Tool Post Interference Checking Explanations Display and set tool shape data (interference forbidden areas) according to the procedure below. (1) Press function OFFSET SETTING key. (
  • Page 43320. TWO–PATH CONTROL B–63524EN/01 PROGRAMMING FUNCTION NOTE 1 Tool number The tool geometry data must be set for each tool number. The tool number here refers to the offset number. When both tool geometry offset and tool wear offset are used, the tool number corresponds to the wear offset number. To
  • Page 43420. TWO–PATH CONTROL FUNCTION PROGRAMMING B–63524EN/01 20.3.5 when all conditions described in Section 20.3.4 are satisfied, a tool post Execution of Tool Post interference check is started. When a tool post interference check is made, an interference forbidden area is set for the two tool posts by
  • Page 43520. TWO–PATH CONTROL B–63524EN/01 PROGRAMMING FUNCTION WARNING When an alarm is raised, the CNC system and machine system stop with some delay in time. So an actual stop position can be closer to the other tool post beyond an interference forbidden position specified using tool shape data. So, for s
  • Page 43620. TWO–PATH CONTROL FUNCTION PROGRAMMING B–63524EN/01 20.3.6 Example of Making a Tool Post Interference Check Explanations Metric input with metric machine tool 215mm Tool post 1 +X 115mm 170mm 115mm Coordinate T0202 system of tool 75mm post 1 115mm 0 +Z 0 +Z 200mm 400mm 140mm 100mm Coordinate syst
  • Page 43720. TWO–PATH CONTROL B–63524EN/01 PROGRAMMING FUNCTION The figures below show the setting of data for tool number 02 assigned to tool post 1 and for tool number 15 assigned to tool post 2. TOOL FORM DATA O0001 N00001 OFFSET NO. = 01 AREA 1 AREA 2 X= 20.000 X= 40.000 Z= 70.000 Z= 70.000 I= –10.000 I=
  • Page 43820. TWO–PATH CONTROL FUNCTION PROGRAMMING B–63524EN/01 20.4 When a thin workpiece is to be machined as shown below, a precision machining can be achieved by machining each side of the workpiece with BALANCE CUT a tool simultaneously;this function can prevent the workpiece from (G68, G69) warpage tha
  • Page 43920. TWO–PATH CONTROL B–63524EN/01 PROGRAMMING FUNCTION Example Tool post 1 program Tool post 2 program G68 ; G68 ; Balance cut mode G01Z100.0 ; G01Z100.0 ; Balance cut Z0 ; Z0 ; Balance cut G69 ; G69 ; Balance cut mode cancel CAUTION 1 Balance cutting is not performed in dry run or machine lock stat
  • Page 44020. TWO–PATH CONTROL FUNCTION PROGRAMMING B–63524EN/01 20.5 A machine with two tool posts has different custom macro common variables and tool compensation memory areas for tool posts 1 and 2. MEMORY COMMON Tool posts 1 and 2 can share the custom macro common variables and tool TO TOOL POSTS compens
  • Page 44120. TWO–PATH CONTROL B–63524EN/01 PROGRAMMING FUNCTION 20.6 The two–path control function supports two spindle interfaces. Thus, 16–TB can control a lathe that simultaneously machines a workpiece SPINDLE CONTROL attached to one spindle with two tool posts, or can control a lathe that IN TWO–PATH sim
  • Page 44220. TWO–PATH CONTROL FUNCTION PROGRAMMING B–63524EN/01 NOTE 1 The programmed commands for spindles include the following. ⋅ S code to specify a spindle speed ⋅ M03 (forward spindle rotation), M04 (reverse spindle rotation) ⋅ Commands for constant surface speed control (G96, G97, S code to specify su
  • Page 44320. TWO–PATH CONTROL B–63524EN/01 PROGRAMMING FUNCTION 20.7 In 2–paths control, the synchronization control function and composite control function enable synchronization control in a single system or SYNCHRONIZATION between two systems, composite control of two systems, and CONTROL AND superpositio
  • Page 44420. TWO–PATH CONTROL FUNCTION PROGRAMMING B–63524EN/01 D Composite control Exchanges the move commands for different axes of different systems. Example) Exchanging the commands for the X1 and X2 axes –> Upon the execution of a command programmed for system 1, movement is performed along the X2 and Z
  • Page 44520. TWO–PATH CONTROL B–63524EN/01 PROGRAMMING FUNCTION 20.8 In a CNC supporting two–path control, specified machining programs can be copied between the two paths by setting bit 0 (PCP) of parameter COPYING A No. 3206 to 1. A copy operation can be performed by specifying either PROGRAM a single prog
  • Page 44621. PATTERN DATA INPUT FUNCTION PROGRAMMING B–63524EN/01 21 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 44721. PATTERN DATA INPUT B–63524EN/01 PROGRAMMING FUNCTION 21.1 Pressing the OFFSET SETTING key and [MENU] is displayed on the following DISPLAYING THE pattern menu screen. PATTERN MENU MENU : HOLE PATTERN O0000 N00000 1. TAPPING 2. DRILLING 3. BORING 4. POCKET 5. BOLT HOLE 6. LINE ANGLE 7. GRID 8. PE
  • Page 44821. PATTERN DATA INPUT FUNCTION PROGRAMMING B–63524EN/01 D Macro commands Menu title : C1 C2 C3 C4 C5 C6 C7 C8 C9C10 C11 C12 specifying the menu C1,C2, ,C12 : Characters in the menu title (12 characters) title Macro instruction G65 H90 Pp Qq Rr Ii Jj Kk : H90:Specifies the menu title p : Assume a1 a
  • Page 44921. PATTERN DATA INPUT B–63524EN/01 PROGRAMMING FUNCTION D Macro instruction Pattern name: C1 C2 C3 C4 C5 C6 C7 C8 C9C10 describing the pattern C1, C2, ,C10: Characters in the pattern name (10 characters) name Macro instruction G65 H91 Pn Qq Rr Ii Jj Kk ; H91: Specifies the menu title n : Specifies
  • Page 45021. PATTERN DATA INPUT FUNCTION PROGRAMMING B–63524EN/01 Example Custom macros for the menu title and hole pattern names. MENU : HOLE PATTERN O0000 N00000 1. TAPPING 2. DRILLING 3. BORING 4. POCKET 5. BOLT HOLE 6. LINE ANGLE 7. GRID 8. PECK 9. TEST PATRN 10. BACK > _ MDI **** *** *** 16:05:59 [ MACR
  • Page 45121. PATTERN DATA INPUT B–63524EN/01 PROGRAMMING FUNCTION 21.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 45221. PATTERN DATA INPUT FUNCTION PROGRAMMING B–63524EN/01 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 45321. PATTERN DATA INPUT B–63524EN/01 PROGRAMMING FUNCTION D Macro instruction to One comment line: C1 C2 C3 C4 C5 C6 C7 C8 C9 C10 C11 C12 describe a comment C1, C2,…, C12 : Character string in one comment line (12 characters) Macro instruction G65 H94 Pn Qq Rr Ii Jj Kk ; H94 : Specifies the comment p
  • Page 45421. PATTERN DATA INPUT FUNCTION PROGRAMMING B–63524EN/01 Examples Macro instruction to describe a parameter title , the variable name, and a comment. VAR. : BOLT HOLE O0001 N00000 NO. NAME DATA COMMENT 500 TOOL 0.000 501 STANDARD X 0.000 *BOLT HOLE 502 STANDARD Y 0.000 CIRCLE* 503 RADIUS 0.000 SET P
  • Page 45521. PATTERN DATA INPUT B–63524EN/01 PROGRAMMING FUNCTION 21.3 CHARACTERS AND Table.21.3 (a) Characters and codes to be used for the pattern data input function CODES TO BE USED Char- Code Comment Char- Code Comment acter acter FOR THE PATTERN A 065 6 054 DATA INPUT B 066 7 055 FUNCTION C 067 8 056 D
  • Page 45621. PATTERN DATA INPUT FUNCTION PROGRAMMING B–63524EN/01 Table 21.3 (b) Numbers of subprograms employed in the pattern data input function Subprogram No. Function O9500 Specifies character strings displayed on the pattern data menu. O9501 Specifies a character string of the pattern data correspondin
  • Page 457III. OPERATIO
  • Page 458
  • Page 459B–63524EN/01 OPERATION 1. GENERAL 1 GENERAL 433
  • Page 4601. GENERAL OPERATION B–63524EN/01 1.1 MANUAL OPERATION Explanations D Manual reference The CNC machine tool has a position used to determine the machine position return (See position. Section III–3.1) This position is called the reference position, where the tool is replaced or the coordinate are se
  • Page 461B–63524EN/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 4621. GENERAL OPERATION B–63524EN/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 463B–63524EN/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 4641. GENERAL OPERATION B–63524EN/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 465B–63524EN/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 4661. GENERAL OPERATION B–63524EN/01 D Single block (See When the cycle start push button is pressed, the tool executes one Section III–5.5) operation then stops. By pressing the cycle start again, the tool executes the next operation then stops. The program is checked in this manner. Cycle start Cycle
  • Page 467B–63524EN/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 4681. GENERAL OPERATION B–63524EN/01 1.6 The operator can display or change a value stored in CNC internal memory by key operation on the MDI screen (See III–11). DISPLAYING AND SETTING DATA Data setting Data display Screen Keys MDI CNC memory Fig. 1.6 (a) Displaying and Setting Data Explanations D Off
  • Page 469B–63524EN/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 cha
  • Page 4701. GENERAL OPERATION B–63524EN/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 471B–63524EN/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 4721. GENERAL OPERATION B–63524EN/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 473B–63524EN/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) O1000 N00010 X 123.456 Z 456.789 C 90.000 PART COUNT 5 RUN TIME 0H15M
  • Page 4741. GENERAL OPERATION B–63524EN/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 475B–63524EN/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. (See III–8.) Portable tape reader FANUC PPR Memory
  • Page 4762. OPERATIONAL DEVICES OPERATION B–63524EN/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 and etc. 450
  • Page 477B–63524EN/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 uni
  • Page 4782. OPERATIONAL DEVICES OPERATION B–63524EN/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 452
  • Page 479B–63524EN/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 453
  • Page 4802. OPERATIONAL DEVICES OPERATION B–63524EN/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 454
  • Page 481B–63524EN/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 455
  • Page 4822. OPERATIONAL DEVICES OPERATION B–63524EN/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 483B–63524EN/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 4842. OPERATIONAL DEVICES OPERATION B–63524EN/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 485B–63524EN/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 4862. OPERATIONAL DEVICES OPERATION B–63524EN/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 487B–63524EN/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, 0) [EXEC] Relative coordinate display [REL] [(OPRT)] (Axis or numeral) [PRESE
  • Page 4882. OPERATIONAL DEVICES OPERATION B–63524EN/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] See “When the soft key [BG–EDT] is pressed” (O number) [O SRH] (1) (N number) [N SRH] [REWIND] [P TYPE] [Q TYP
  • Page 489B–63524EN/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] 463
  • Page 4902. OPERATIONAL DEVICES OPERATION B–63524EN/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] See “When the soft key [BG–EDT] is pressed” (O number) [O SRH] (Address) [SRH↓] (Address) [SRH↑] [REWIND] [F SRH] [C
  • Page 491B–63524EN/01 OPERATION 2. OPERATIONAL DEVICES 2/2 (1) Program directory display [LIB] [(OPRT)] [BG–EDT] See “When the soft key [BG–EDT] is pressed” (O number) [O SRH] Return to the program [READ] [CHAIN] [STOP] [CAN] (O number) [EXEC] [PUNCH] [STOP] [CAN] (O number) [EXEC] Graphic Conversational Pro
  • Page 4922. OPERATIONAL DEVICES OPERATION B–63524EN/01 PROGRAM SCREEN Soft key transition triggered by the function key PROG in the MDI mode PROG Program display [PRGRM] [(OPRT)] [BG–EDT] See “When the soft key [BG–EDT] is pressed” Program input screen [MDI] [(OPRT)] [BG–EDT] See “When the soft key [BG–EDT]
  • Page 493B–63524EN/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 4942. OPERATIONAL DEVICES OPERATION B–63524EN/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 495B–63524EN/01 OPERATION 2. OPERATIONAL DEVICES 2/2 (1) Program directory display [LIB] [(OPRT)] [BG–EDT] (O number) [O SRH] Return to the program [READ] [CHAIN] [STOP] [CAN] (O number) [EXEC] [PUNCH] [STOP] [CAN] (O number) [EXEC] Graphic Conversational Programming [C.A.P.] [PRGRM] Return to the prog
  • Page 4962. OPERATIONAL DEVICES OPERATION B–63524EN/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 497B–63524EN/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 4982. OPERATIONAL DEVICES OPERATION B–63524EN/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 499B–63524EN/01 OPERATION 2. OPERATIONAL DEVICES (1) 2/2 Pitch error compensation screen [PITCH] [(OPRT)] (No.) [NO SRH] [ON:1] [OFF:0] (Numeral) [+INPUT] (Numeral) [INPUT] [READ] [CAN] [EXEC] [PUNCH] [CAN] Note) Search for the start of the file using [EXEC] the PRGRM screen for read/punch. Servo param
  • Page 5002. OPERATIONAL DEVICES OPERATION B–63524EN/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 501B–63524EN/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)] [ZOOM] [HEAD] [ERASE] [PROCES] [EXEC] [STOP] [ZOOM] [(OPRT)] [EXEC] [HI/LO] A.ST/Path gra
  • Page 5022. OPERATIONAL DEVICES OPERATION B–63524EN/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 503B–63524EN/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 5042. OPERATIONAL DEVICES OPERATION B–63524EN/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 505B–63524EN/01 OPERATION 2. OPERATIONAL DEVICES 2.4 External input/output devices such as FANUC Handy File etc. are available. This section outlines each device. For details on the devices, EXTERNAL I/O refer to the manuals listed below. DEVICES Table 2.4 External I/O device Max. Reference Device name
  • Page 5062. OPERATIONAL DEVICES OPERATION B–63524EN/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 507B–63524EN/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 5082. OPERATIONAL DEVICES OPERATION B–63524EN/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 509B–63524EN/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 5102. OPERATIONAL DEVICES OPERATION B–63524EN/01 Screen indicating module setting status B1H1 – 01 SLOT 01 (3046) : END END: Setting completed SLOT 02 (3050) : Blank: Setting not completed Module ID Slot number Display of software configuration B1H1 – 01 CNC control software SERVO : 90B0–01 Digital ser
  • Page 511B–63524EN/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 3.6 Manual linear / circular interpolation 485
  • Page 5123.MANUAL OPERATION OPERATION B–63524EN/01 3.1 The tool is returned to the reference position as follows : The tool is moved in the direction specified in parameter ZMI (bit 5 of No. MANUAL 1006) for each axis with the reference position return switch on the REFERENCE machine operator’s panel. The to
  • Page 513B–63524EN/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 5143.MANUAL OPERATION OPERATION B–63524EN/01 3.2 In the JOG mode, pressing a feed axis and direction selection switch on the machine operator’s panel continuously moves the tool along the JOG FEED selected axis in the selected direction. The manual continuous feedrate is specified in a parameter (No.14
  • Page 515B–63524EN/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 5163.MANUAL OPERATION OPERATION B–63524EN/01 3.3 In the incremental (INC) mode, pressing a feed axis and direction selection switch on the machine operator’s panel moves the tool one step INCREMENTAL FEED along the selected axis in the selected direction. The minimum distance the tool is moved is the l
  • Page 517B–63524EN/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 5183.MANUAL OPERATION OPERATION B–63524EN/01 Explanation D Availability of manual Parameter JHD (bit 0 of No. 7100) enables or disables the manual pulse pulse generator in Jog generator in the JOG mode. mode (JHD) When the parameter JHD( bit 0 of No. 7100) is set 1,both manual handle feed and increment
  • Page 519B–63524EN/01 OPERATION 3. MANUAL OPERATION WARNING Rotating the handle quickly with a large magnification such as x100 moves the tool too fast. The feedrate is clamped at the rapid traverse feedrate. NOTE Rotate the manual pulse generator at a rate of five rotations per second or lower. If the manua
  • Page 5203.MANUAL OPERATION OPERATION B–63524EN/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 521B–63524EN/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 5223.MANUAL OPERATION OPERATION B–63524EN/01 D When reset after a Coordinates when the feed hold button is pressed while block (2) is being manual operation executed, manual operation (Y–axis +75.0) is performed, the control unit following a feed hold is reset with the RESET button, and block (2) is re
  • Page 523B–63524EN/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 5243.MANUAL OPERATION OPERATION B–63524EN/01 Manual operation during cornering This is an example when manual operation is performed during cornering. VA2’, VB1’, and VB2’ are vectors moved in parallel with VA2, VB1 and VB2 by the amount of manual movement. The new vectors are calculated from VC1 and V
  • Page 525B–63524EN/01 OPERATION 3. MANUAL OPERATION 3.6 In manual handle feed or jog feed, the following types of feed operations are enabled in addition to the conventional feed operation along a MANUAL specified single axis (X–axis, Y–axis, Z–axis, and so forth) based on LINEAR/CIRCULAR simultaneous 1–axis
  • Page 5263.MANUAL OPERATION OPERATION B–63524EN/01 For jog feed The feedrate can be overridden using the manual feedrate override dial. The procedure above is just an example. For actual operations, refer to the relevant manual provided by the machine tool builder. Explanations D Definition of a straight For
  • Page 527B–63524EN/01 OPERATION 3. MANUAL OPERATION (2) Linear feed (simultaneous 2–axis control) By turning a manual handle, the tool can be moved along the straight line parallel to a specified straight line on a simultaneous 2–axis control basis. This manual handle is referred to as the guidance handle. M
  • Page 5283.MANUAL OPERATION OPERATION B–63524EN/01 D Feedrate for manual Feedrate handle feed The feedrate depends on the speed at which a manual handle is turned. A distance to be traveled by the tool (along a tangent in the case of linear or circular feed) when a manual handle is turned by one pulse can be
  • Page 529B–63524EN/01 OPERATION 3. MANUAL OPERATION D Manual handle feed in Even in JOG mode, manual handle feed can be enabled using bit 0 (JHD) JOG mode of parameter No. 7100. In this case, however, manual handle feed is enabled only when the tool is not moved along any axis by jog feed. Limitations D Mirr
  • Page 5303.MANUAL OPERATION OPERATION B–63524EN/01 3.7 The manual numeric command function allows data programmed through the MDI to be executed in jog mode. Whenever the system is MANUAL NUMERIC ready for jog feed, a manual numeric command can be executed. The COMMAND following eight functions are supported
  • Page 531B–63524EN/01 OPERATION 3. MANUAL OPERATION Example 1: When the maximum number of controlled axes is six PROGRAM (JOG) O0010 N00020 G00 P (ABSOLUTE) (DISTANCE TO GO) X X 0.000 X 0.000 Y Y 0.000 Y 0.000 Z Z 0.000 Z 0.000 U U 0.000 U 0.000 V V 0.000 V 0.000 W W 0.000 W 0.000 M S T B >_ JOG **** *** ***
  • Page 5323.MANUAL OPERATION OPERATION B–63524EN/01 PROGRAM (JOG) O0010 N00020 G00 P (ABSOLUTE) (DISTANCE TO GO) X 10.000 X 0.000 X 0.000 Y Y 0.000 Y 0.000 Z Z 0.000 Z 0.000 U U 0.000 U 0.000 V V 0.000 V 0.000 W W 0.000 W 0.000 M S T B >Z120.5_ JOG * * * * *** *** 00 : 00 : 00 CLEAR INPUT The following data c
  • Page 533B–63524EN/01 OPERATION 3. MANUAL OPERATION Explanations D Positioning An amount of travel is given as a numeric value, preceded by an address such as X, Y, or Z. This is always regarded as being an incremental command, regardless of whether G90 or G91 is specified. The tool moves along each axis ind
  • Page 5343.MANUAL OPERATION OPERATION B–63524EN/01 D Automatic reference The tool returns directly to the reference position without passing through position return (G28) any intermediate points, regardless of the specified amount of travel. For axes for which no move command is specified, however, a return
  • Page 535B–63524EN/01 OPERATION 3. MANUAL OPERATION D B codes After address B, specify a numeric value of no more than the number of (second auxiliary digits specified by parameter No. 3033. functions) NOTE 1 B codes can be renamed “U,” “V,” “W,” “A,” or “C” by setting parameter No. 3460. If the new name is
  • Page 5363.MANUAL OPERATION OPERATION B–63524EN/01 D Halting execution If one of the following occurs during execution, execution is halted, and the data is cleared in the same way as when soft key [CLEAR] is pressed. The remaining distance to be traveled is canceled. (1) When a feed hold is applied (2) When
  • Page 537B–63524EN/01 OPERATION 3. MANUAL OPERATION D Functions not supporting Manual numeric commands cannot be specified for an axis being used for manual numeric spindle positioning, polygon turning, or synchronization/composite commands control. Attempting to execute a manual numeric command for such an
  • Page 5384. AUTOMATIC OPERATION OPERATION B–63524EN/01 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 539B–63524EN/01 OPERATION 4. AUTOMATIC OPERATION 4.1 Programs are registered in memory in advance. When one of these programs is selected and the cycle start switch on the machine operator’s MEMORY panel is pressed, automatic operation starts, and the cycle start LED goes OPERATION on. When the feed ho
  • Page 5404. AUTOMATIC OPERATION OPERATION B–63524EN/01 When the cycle start switch on the machine operator’s panel is pressed while the feed hold LED is on, machine operation restarts. b. Terminating memory operation Press the RESET key on the MDI panel. Automatic operation is terminated and the reset state
  • Page 541B–63524EN/01 OPERATION 4. AUTOMATIC OPERATION D Reset Automatic operation can be stopped and the system can be made to the reset state by using RESET key on the MDI or external reset signal. When reset operation is applied to the system during a tool moving status, the motion is slowed down then sto
  • Page 5424. AUTOMATIC OPERATION OPERATION B–63524EN/01 4.2 In the MDI mode, a program consisting of up to 10 lines can be created in the same format as normal programs and executed from the MDI panel. MDI OPERATION MDI operation is used for simple test operations. The following procedure is given as an examp
  • Page 543B–63524EN/01 OPERATION 4. AUTOMATIC OPERATION 5 To execute a program, set the cursor on the head of the program. (Start from an intermediate point is possible.) Push Cycle Start button on the operator’s panel. By this action, the prepared program will start. (For the two–path control, select the too
  • Page 5444. AUTOMATIC OPERATION OPERATION B–63524EN/01 Explanation The previous explanation of how to execute and stop memory operation also applies to MDI operation, except that in MDI operation, M30 does not return control to the beginning of the program (M99 performs this function). D Erasing the program
  • Page 545B–63524EN/01 OPERATION 4. AUTOMATIC OPERATION D Macro call When the custom macro option is provided, macro programs can also be created, called, and executed in the MDI mode. However, macro call commands cannot be executed when the mode is changed to MDI mode after memory operation is stopped during
  • Page 5464. AUTOMATIC OPERATION OPERATION B–63524EN/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 547B–63524EN/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 5484. AUTOMATIC OPERATION OPERATION B–63524EN/01 5 The sequence number is searched for, and the program restart screen appears on the CRT display. PROGRAM RESTART O0002 N00100 DESTINATION M 1 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 T *****
  • Page 549B–63524EN/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 5504. AUTOMATIC OPERATION OPERATION B–63524EN/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 551B–63524EN/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 5524. AUTOMATIC OPERATION OPERATION B–63524EN/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 553B–63524EN/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 5544. AUTOMATIC OPERATION OPERATION B–63524EN/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 555B–63524EN/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 5564. AUTOMATIC OPERATION OPERATION B–63524EN/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 i
  • Page 557B–63524EN/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
  • Page 5584. AUTOMATIC OPERATION OPERATION B–63524EN/01 Alarm Alarm No. Description 086 An attempt was made to execute a file that was not regis- tered in the floppy disk. 210 M198 and M99 were executed during scheduled operation, or M198 was executed during DNC operation. 532
  • Page 559B–63524EN/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 prog
  • Page 5604. AUTOMATIC OPERATION OPERATION B–63524EN/01 NOTE 1 When M198 in the program of the file saved in a floppy cassette is executed, a P/S alarm (No.210) is given. When a program in the memory of CNC is called and M198 is executed during execution of a program of the file saved in a floppy cassette, M1
  • Page 561B–63524EN/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 5624. AUTOMATIC OPERATION OPERATION B–63524EN/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 563B–63524EN/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 5644. AUTOMATIC OPERATION OPERATION B–63524EN/01 4.7 During automatic operation, the mirror image function can be used for movement along an axis. To use this function, set the mirror image switch MIRROR IMAGE to ON on the machine operator’s panel, or set the mirror image setting to ON from the CRT/MDI
  • Page 565B–63524EN/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
  • Page 5664. AUTOMATIC OPERATION OPERATION B–63524EN/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 567B–63524EN/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 5684. AUTOMATIC OPERATION OPERATION B–63524EN/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 569B–63524EN/01 OPERATION 4. AUTOMATIC OPERATION D Program screen (12 soft key type) PROGRAM F0001 N00020 N180 Z50.0 ; N020 X100.0 (DNC–PROG) ; N190 Z40.0 ; N030 X90.0 ; N200 Z30.0 ; N040 X80.0 ; N210 Z20.0 ; N050 X70.0 ; N060 X60.0 ; N220 Z10.0 ; N070 X50.0 ; N230 Z0.0 ; N080 X40.0 ; N240 M02 ; N090 X
  • Page 5704. AUTOMATIC OPERATION OPERATION B–63524EN/01 Alarm Number Message Contents 086 DR SIGNAL OFF When entering data in the memory by using Reader / Puncher interface, the ready signal (DR) of reader / puncher was turned off. Power supply of I/O unit is off or cable is not connected or a P.C.B. is defec
  • Page 571B–63524EN/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 5724. AUTOMATIC OPERATION OPERATION B–63524EN/01 NOTE 1 To use this function, it is necessary to set the parameter of No.20 to 4 by setting screen. No.20 [I/O CHANEL: Setting to select an input/output unit] Setting value is 4.: It means using the memory card interface. 2 When CNC control unit is a stan
  • Page 573B–63524EN/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 5744. AUTOMATIC OPERATION OPERATION B–63524EN/01 4.10.3 (1) The memory card can not be accessed, such as display of memory card Limitation and Notes list and so on, during the DNC operation with memory card. (2) It is possible to execute the DNC operation with memory card on multi path system. However,
  • Page 575B–63524EN/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 5764. AUTOMATIC OPERATION OPERATION B–63524EN/01 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 guide by manual. Memory card inter- face attach- ment scr
  • Page 577B–63524EN/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 5785. TEST OPERATION OPERATION B–63524EN/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 579B–63524EN/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 5805. TEST OPERATION OPERATION B–63524EN/01 Restrictions D M, S, T, and B command M, S, T, and B commands are executed in the machine lock state. by only machine lock D Reference position When a G27, G28, or G30 command is issued in the machine lock state, return under Machine the command is accepted b
  • Page 581B–63524EN/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 5825. TEST OPERATION OPERATION B–63524EN/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 583B–63524EN/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 5845. TEST OPERATION OPERATION B–63524EN/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 585B–63524EN/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 5865. TEST OPERATION OPERATION B–63524EN/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 587B–63524EN/01 OPERATION 5. TEST OPERATION D Special single–block Two–path control supports a single–block command signal for each of control tool posts 1 and 2. Single–block stop can thus be specified for the automatic operation program for each tool post. Note, however, that when the single–block co
  • Page 5886. SAFETY FUNCTIONS OPERATION B–63524EN/01 6 SAFETY FUNCTIONS To immediately stop the machine for safety, press the Emergency stop button. To prevent the tool from exceeding the stroke ends, Overtravel check and Stroke check are available. This chapter describes emergency stop, overtravel check, and
  • Page 589B–63524EN/01 OPERATION 6. SAFETY FUNCTIONS 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 5906. SAFETY FUNCTIONS OPERATION B–63524EN/01 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 591B–63524EN/01 OPERATION 6. SAFETY FUNCTIONS 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 5926. SAFETY FUNCTIONS OPERATION B–63524EN/01 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 593B–63524EN/01 OPERATION 6. SAFETY FUNCTIONS D Checkpoint for the The parameter setting or programmed value (XZIK) depends on which forbidden area part of the tool or tool holder is checked for entering the forbidden area. Confirm the checking position (the top of the tool or the tool chuck) before pr
  • Page 5946. SAFETY FUNCTIONS OPERATION B–63524EN/01 D Setting the forbidden For the two–path control, set a forbidden area for each tool post. area for the two–path control NOTE In setting a forbidden area, if the two points to be set arethe same, the area is as follows: (1)When the forbidden area is stored
  • Page 595B–63524EN/01 OPERATION 6. SAFETY FUNCTIONS 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 5966. SAFETY FUNCTIONS OPERATION B–63524EN/01 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 597B–63524EN/01 OPERATION 6. SAFETY FUNCTIONS 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 5986. SAFETY FUNCTIONS OPERATION B–63524EN/01 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 599B–63524EN/01 OPERATION 6. SAFETY FUNCTIONS 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 6006. SAFETY FUNCTIONS OPERATION B–63524EN/01 Table 6.4 (d) 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
  • Page 601B–63524EN/01 OPERATION 6. SAFETY FUNCTIONS 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 6026. SAFETY FUNCTIONS OPERATION B–63524EN/01 6.5 During automatic operation, before the movement specified by a given block is started, whether the tool enters the inhibited area defined by STROKE LIMIT stored stroke limit 1, 2, or 3 is checked by determining the position of the CHECK PRIOR TO end poi
  • Page 603B–63524EN/01 OPERATION 6. SAFETY FUNCTIONS Example 2) End point Inhibited area defined by stored stroke limit 2 or 3 a The tool is stopped at point a according Start point to stored stroke limit 1 or 2. Inhibited area defined by stored stroke limit 2 or 3 End point Immediately upon movement commenci
  • Page 6046. SAFETY FUNCTIONS OPERATION B–63524EN/01 D Cyrindrical interpolation In cylindrical interpolation mode, no check is made. mode D Polar coordinate In polar coordinate interpolation mode, no check is made. interpolation mode D Slanted axis control When the slanted axis control option is selected, no
  • Page 6057. ALARM AND SELF–DIAGNOSIS B–63524EN/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 error codes. Up to 25 previous alarms can be stored and displayed
  • Page 6067. ALARM AND SELF–DIAGNOSIS FUNCTIONS OPERATION B–63524EN/01 7.1 ALARM DISPLAY Explanations D Alarm screen When an alarm occurs, the alarm screen appears. ALARM MESSAGE O0000 00000 100 PARAMETER WRITE ENABLE 510 OVER TRAVEL :+X 520 OVER TRAVEL :+2 530 OVER TRAVEL :+3 S 0 T0000 MDI **** *** *** ALM 1
  • Page 6077. ALARM AND SELF–DIAGNOSIS B–63524EN/01 OPERATION FUNCTIONS D Reset of the alarm Error codes and messages indicate the cause of an alarm. To recover from an alarm, eliminate the cause and press the reset key. D Error codes The error codes are classified as follows: No. 000 to 255: P/S alarms (Progr
  • Page 6087. ALARM AND SELF–DIAGNOSIS FUNCTIONS OPERATION B–63524EN/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 selecti
  • Page 6097. ALARM AND SELF–DIAGNOSIS B–63524EN/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 6107. ALARM AND SELF–DIAGNOSIS FUNCTIONS OPERATION B–63524EN/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 6117. ALARM AND SELF–DIAGNOSIS B–63524EN/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 6128. DATA INPUT/OUTPUT OPERATION B–63524EN/01 8 DATA INPUT/OUTPUT NC data is transferred between the CNC and external input/output devices such as the Handy File. The following types of data can be entered and output : 1. Program 2. Offset data 3. Parameter 4. Pitch error compensation data 5. Custom m
  • Page 613B–63524EN/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 6148. DATA INPUT/OUTPUT OPERATION B–63524EN/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 615B–63524EN/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 6168. DATA INPUT/OUTPUT OPERATION B–63524EN/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 86 found, or the like). An alarm is given when the input/outp
  • Page 617B–63524EN/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 6188. DATA INPUT/OUTPUT OPERATION B–63524EN/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 619B–63524EN/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 6208. DATA INPUT/OUTPUT OPERATION B–63524EN/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 621B–63524EN/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 6228. DATA INPUT/OUTPUT OPERATION B–63524EN/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 623B–63524EN/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 6248. DATA INPUT/OUTPUT OPERATION B–63524EN/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 625B–63524EN/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 6268. DATA INPUT/OUTPUT OPERATION B–63524EN/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 627B–63524EN/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 6288. DATA INPUT/OUTPUT OPERATION B–63524EN/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 629B–63524EN/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 var
  • Page 6308. DATA INPUT/OUTPUT OPERATION B–63524EN/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 format to a floppy or NC tape. Macro Common Variable Procedure for Outputting Custom Macro Common Variable 1 Make sure the out
  • Page 631B–63524EN/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 6328. DATA INPUT/OUTPUT OPERATION B–63524EN/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 633B–63524EN/01 OPERATION 8. DATA INPUT/OUTPUT Procedure 2 Use the following procedure to display a directory of files starting with a specified file number : 1 Press the EDIT switch on the machine operator’s panel. 2 Press function key PROG . 3 Press the rightmost soft key (next–menu key). 4 Press sof
  • Page 6348. DATA INPUT/OUTPUT OPERATION B–63524EN/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
  • Page 635B–63524EN/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 6368. DATA INPUT/OUTPUT OPERATION B–63524EN/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. For the two–path control, select the tool post for which a p
  • Page 637B–63524EN/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 (next–menu key). 4 Press soft key [FLO
  • Page 6388. DATA INPUT/OUTPUT OPERATION B–63524EN/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 639B–63524EN/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 6408. DATA INPUT/OUTPUT OPERATION B–63524EN/01 8.10 To input/output a particular type of data, the corresponding screen is usually selected. For example, the parameter screen is used for parameter DATA INPUT/OUTPUT input from or output to an external input/output unit, while the program ON THE ALL IO s
  • Page 641B–63524EN/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 6428. DATA INPUT/OUTPUT OPERATION B–63524EN/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 643B–63524EN/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 6448. DATA INPUT/OUTPUT OPERATION B–63524EN/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 645B–63524EN/01 OPERATION 8. DATA INPUT/OUTPUT Deleting files Procedure 1 Press soft key [PRGRM] on the ALL IO screen, described in Section 8.10.1. 2 Select EDIT mode. A program directory is displayed. 3 Press soft key [(OPRT)]. The screen and soft keys change as shown below. D A program directory is d
  • Page 6468. DATA INPUT/OUTPUT OPERATION B–63524EN/01 8.10.3 Parameters can be input and output using the ALL IO screen. Inputting and Outputting Parameters Inputting parameters Procedure 1 Press soft key [PARAM] on the ALL IO screen, described in Section 8.10.1. 2 Select EDIT mode. 3 Press soft key [(OPRT)].
  • Page 647B–63524EN/01 OPERATION 8. DATA INPUT/OUTPUT Outputting parameters Procedure 1 Press soft key [PARAM] on the ALL IO screen, described in Section 8.10.1. 2 Select EDIT mode. 3 Press soft key [(OPRT)]. The screen and soft keys change as shown below. READ/PUNCH (PARAMETER) O1234 N12345 I/O CHANNEL 3 TV
  • Page 6488. DATA INPUT/OUTPUT OPERATION B–63524EN/01 8.10.4 Offset data can be input and output using the ALL IO screen. Inputting and Outputting Offset Data Inputting offset data Procedure 1 Press soft key [OFFSET] on the ALL IO screen, described in Section 8.10.1. 2 Select EDIT mode. 3 Press soft key [(OPR
  • Page 649B–63524EN/01 OPERATION 8. DATA INPUT/OUTPUT Outputting offset data Procedure 1 Press soft key [OFFSET] on the ALL IO screen, described in Section 8.10.1. 2 Select EDIT mode. 3 Press soft key [(OPRT)]. The screen and soft keys change as shown below. READ/PUNCH (OFFSET) O1234 N12345 I/O CHANNEL 3 TV C
  • Page 6508. DATA INPUT/OUTPUT OPERATION B–63524EN/01 8.10.5 Custom macro common variables can be output using the ALL IO screen. Outputting Custom Macro Common Variables Outputting custom macro common variables Procedure 1 Press soft key [MACRO] on the ALL IO screen, described in Section 8.10.1. 2 Select EDI
  • Page 651B–63524EN/01 OPERATION 8. DATA INPUT/OUTPUT 8.10.6 The ALL IO screen supports the display of a directory of floppy files, as Inputting and well as the input and output of floppy files. Outputting Floppy Files Displaying a file directory Procedure 1 Press the rightmost soft key (next–menu key) on the
  • Page 6528. DATA INPUT/OUTPUT OPERATION B–63524EN/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 653B–63524EN/01 OPERATION 8. DATA INPUT/OUTPUT Inputting a file Procedure 1 Press the rightmost soft key (next–menu key) on the ALL IO screen, described in Section 8.10.1. 2 Press soft key [FLOPPY]. 3 Select EDIT mode. The floppy screen is displayed. 4 Press soft key [(OPRT)]. The screen and soft keys
  • Page 6548. DATA INPUT/OUTPUT OPERATION B–63524EN/01 Outputting a file Procedure 1 Press the rightmost soft key (next–menu key) on the ALL IO screen, described in Section 8.10.1. 2 Press soft key [FLOPPY]. 3 Select EDIT mode. The floppy screen is displayed. 4 Press soft key [(OPRT)]. The screen and soft keys
  • Page 655B–63524EN/01 OPERATION 8. DATA INPUT/OUTPUT Deleting a file Procedure 1 Press the rightmost soft key (next–menu key) on the ALL IO screen, described in Section 8.10.1. 2 Press soft key [FLOPPY]. 3 Select EDIT mode. The floppy screen is displayed. 4 Press soft key [(OPRT)]. The screen and soft keys c
  • Page 6568. DATA INPUT/OUTPUT OPERATION B–63524EN/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 657B–63524EN/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 (next–menu key) on the ALL IO screen, described in Section 8.10.1. 2 Press soft key [M–CARD]. 3 Place the
  • Page 6588. DATA INPUT/OUTPUT OPERATION B–63524EN/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. HEAD1 SRAM file Amount of SRAM 256 KB 0.5 MB 1.0 MB 2.5 MB Number of files 1 S
  • Page 659B–63524EN/01 OPERATION 8. DATA INPUT/OUTPUT Loading data into CNC memory data that has been saved to a memory card can be loaded memory (restoration) (restored) back into CNC memory. CNC memory data can be loaded in either of two ways. In the first method, all saved memory data is loaded. In the sec
  • Page 6608. DATA INPUT/OUTPUT OPERATION B–63524EN/01 9 During loading, the message “RUNNING” blinks, and the number of bytes loaded is displayed in the message field. 10 Upon the completion of loading, the message “COMPLETED” is displayed in the message field, with the message “PRESS RESET KEY.” displayed on
  • Page 661B–63524EN/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 (next–menu key) on the ALL IO screen, described in Section 8.10.1. 2 Press soft key [M–
  • Page 6628. DATA INPUT/OUTPUT OPERATION B–63524EN/01 Deleting files Unnecessary saved files can be deleted from a memory card. Deleting files Procedure 1 Press the rightmost soft key (next–menu key) on the ALL IO screen, described in Section 8.10.1. 2 Press soft key [M–CARD]. 3 Place the CNC in the emergency
  • Page 663B–63524EN/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 6648. DATA INPUT/OUTPUT OPERATION B–63524EN/01 File system error codes Code Meaning 102 The memory card does not have sufficient free space. 105 No memory card is mounted. 106 A memory card is already mounted. 110 The specified directory cannot be found. 111 There are too many files under the root dire
  • Page 665B–63524EN/01 OPERATION 8. DATA INPUT/OUTPUT 8.11 By setting the I/O channel (parameter No. 20) to 4, files on a memory card can be referenced, and different types of data such as part programs, DATA INPUT/OUTPUT parameters, and offset data on a memory card can be input and output in USING A MEMORY t
  • Page 6668. DATA INPUT/OUTPUT OPERATION B–63524EN/01 Displaying a directory of stored files Procedure 1 Press the EDIT switch on the machine operator’s panel. 2 Press function key PROG . 3 Press the rightmost soft key (next–menu key). 4 Press soft key [CARD]. The screen shown below is displayed. Using page k
  • Page 667B–63524EN/01 OPERATION 8. DATA INPUT/OUTPUT Searching for a file Procedure 1 Press the EDIT switch on the machine operator’s panel. 2 Press function key PROG . 3 Press the rightmost soft key (next–menu key). 4 Press soft key [CARD]. The screen shown below is displayed. DIRECTORY (M–CARD) O0034 N0004
  • Page 6688. DATA INPUT/OUTPUT OPERATION B–63524EN/01 Reading a file Procedure 1 Press the EDIT switch on the machine operator’s panel. 2 Press function key PROG . 3 Press the rightmost soft key (next–menu key). 4 Press soft key [CARD]. Then, the screen shown below is displayed. DIRECTORY (M–CARD) O0034 N0004
  • Page 669B–63524EN/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 6708. DATA INPUT/OUTPUT OPERATION B–63524EN/01 Writing a file Procedure 1 Press the EDIT switch on the machine operator’s panel. 2 Press function key PROG . 3 Press the rightmost soft key (next–menu key). 4 Press soft key [CARD]. The screen shown below is displayed. DIRECTORY (M–CARD) O0034 N00045 No.
  • Page 671B–63524EN/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 6728. DATA INPUT/OUTPUT OPERATION B–63524EN/01 Deleting a file Procedure 1 Press the EDIT switch on the machine operator’s panel. 2 Press function key PROG . 3 Press the rightmost soft key (next–menu key). 4 Press soft key [CARD]. The screen shown below is displayed. DIRECTORY (M–CARD) O0034 N00045 No.
  • Page 673B–63524EN/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 6748. DATA INPUT/OUTPUT OPERATION B–63524EN/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 (next–menu key). Soft key [M–CARD] represents a separate memory card function f
  • Page 675B–63524EN/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 6768. DATA INPUT/OUTPUT OPERATION B–63524EN/01 Memory card error codes Code Meaning 102 The memory card does not have sufficient free space. 105 No memory card is mounted. 106 A memory card is already mounted. 110 The specified directory cannot be found. 111 There are too many files under the root dire
  • Page 677B–63524EN/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 6789. EDITING PROGRAMS OPERATION B–63524EN/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 679B–63524EN/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 6809. EDITING PROGRAMS OPERATION B–63524EN/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 681B–63524EN/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 6829. EDITING PROGRAMS OPERATION B–63524EN/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 683B–63524EN/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 6849. EDITING PROGRAMS OPERATION B–63524EN/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 685B–63524EN/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 6869. EDITING PROGRAMS OPERATION B–63524EN/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 687B–63524EN/01 OPERATION 9. EDITING PROGRAMS CAUTION When there are too many blocks to be deleted, a P/S alarm (No. 070) may be generated. If this happens, reduce the number of blocks to be deleted. 661
  • Page 6889. EDITING PROGRAMS OPERATION B–63524EN/01 9.3 When memory holds multiple programs, a program can be searched for. There are three methods as follows. PROGRAM NUMBER SEARCH Procedure for program number search Method 1 1 Select EDIT or MEMORY mode. 2 Press PROG to display the program screen. 3 Key in
  • Page 689B–63524EN/01 OPERATION 9. EDITING PROGRAMS 9.4 Sequence number search operation is usually used to search for a sequence number in the middle of a program so that execution can be SEQUENCE NUMBER started or restarted at the block of the sequence number. SEARCH Example) Sequence number 02346 in a pro
  • Page 6909. EDITING PROGRAMS OPERATION B–63524EN/01 Explanations D Operation during Search Those blocks that are skipped do not affect the CNC. This means that the data in the skipped blocks such as coordinates and M, S, and T codes does not alter the CNC coordinates and modal values. So, in the first block
  • Page 691B–63524EN/01 OPERATION 9. EDITING PROGRAMS 9.5 Programs registered in memory can be deleted,either one program by one program or all at once. Also, More than one program can be deleted by DELETING specifying a range. PROGRAMS 9.5.1 A program registered in memory can be deleted. Deleting One Program
  • Page 6929. EDITING PROGRAMS OPERATION B–63524EN/01 9.5.3 Programs within a specified range in memory are deleted. Deleting More Than One Program by Specifying a Range Procedure for deleting more than one program by specifying a range 1 Select the EDIT mode. 2 Press PROG to display the program screen. 3 Ente
  • Page 693B–63524EN/01 OPERATION 9. EDITING PROGRAMS 9.6 With the extended part program editing function, the operations described below can be performed using soft keys for programs that have been EXTENDED PART registered in memory. PROGRAM EDITING Following editing operations are available : FUNCTION D All
  • Page 6949. EDITING PROGRAMS OPERATION B–63524EN/01 9.6.1 A new program can be created by copying a program. Copying an Entire Program Before copy After copy Oxxxx Oxxxx Oyyyy A Copy A A Fig. 9.6.1 Copying an Entire Program In Fig. 9.6.1, the program with program number xxxx is copied to a newly created prog
  • Page 695B–63524EN/01 OPERATION 9. EDITING PROGRAMS 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 6969. EDITING PROGRAMS OPERATION B–63524EN/01 9.6.3 A new program can be created by moving part of a program. Moving Part of a Program Before copy After copy Oxxxx Oxxxx Oyyyy A Copy A B B C C Fig. 9.6.3 Moving Part of a Program In Fig. 9.6.3, part B of the program with program number xxxx is moved to
  • Page 697B–63524EN/01 OPERATION 9. EDITING PROGRAMS 9.6.4 Another program can be inserted at an arbitrary position in the current Merging a Program program. Before merge After merge Oxxxx Oyyyy Oxxxx Oyyyy A B Merge A B C B Merge location C Fig. 9.6.4 Merging a program at a specified location In Fig. 9.6.4,
  • Page 6989. EDITING PROGRAMS OPERATION B–63524EN/01 9.6.5 Supplementary Explanation for Copying, Moving and Merging Explanations D Setting an editing range The setting of an editing range start point with [CRSR∼] can be changed freely until an editing range end point is set with [∼CRSR] or [∼BTTM] . If an ed
  • Page 699B–63524EN/01 OPERATION 9. EDITING PROGRAMS Alarm Alarm No. Contents 70 Memory became insufficient while copying or inserting a pro- gram. Copy or insertion is terminated. 101 The power was interrupted during copying, moving, or inserting a program and memory used for editing must be cleared. When th
  • Page 7009. EDITING PROGRAMS OPERATION B–63524EN/01 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 701B–63524EN/01 OPERATION 9. EDITING PROGRAMS 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 7029. EDITING PROGRAMS OPERATION B–63524EN/01 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 703B–63524EN/01 OPERATION 9. EDITING PROGRAMS 9.8 Editing a program while executing another program is called background editing. The method of editing is the same as for ordinary editing BACKGROUND (foreground editing). EDITING A program edited in the background should be registered in foreground prog
  • Page 7049. EDITING PROGRAMS OPERATION B–63524EN/01 9.9 The password function (bit 4 (NE9) of parameter No. 3202) can be locked using parameter No. 3210 (PASSWD) and parameter No. 3211 PASSWORD (KEYWD) to protect program Nos. O9000 to O9999. In the locked state, FUNCTION parameter NE9 cannot be set to 0. In
  • Page 705B–63524EN/01 OPERATION 9. EDITING PROGRAMS 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 7069. EDITING PROGRAMS OPERATION B–63524EN/01 9.10 For a 2–path control CNC, setting bit 0 (PCP) of parameter No. 3206 to 1 enables the copying of a specified machining program from one path to COPYING A another. Single–program copy and specified–range copy are supported. PROGRAM BETWEEN TWO PATHS Proc
  • Page 707B–63524EN/01 OPERATION 9. EDITING PROGRAMS 6 Select one or more programs to be copied. D Single–program copy (1) Enter the number of the program to be copied. ³ “ ” (2) Press soft key [SOURCE] to set the number. ³ SOURCE:PATH?=“ ” D Specified–range copy (1) Enter the range of the programs to be copi
  • Page 7089. EDITING PROGRAMS OPERATION B–63524EN/01 Explanations D Operation flow Program screen Edit mode/BG edit mode Set the data protection key to ON (enable editing) Soft key for starting setting for copy between paths [P COPY] Copy source selection soft key [PATH1] or [PATH2] Not set (selected O number
  • Page 709B–63524EN/01 OPERATION 9. EDITING PROGRAMS D Major related alarms Major related alarm numbers Alarm number Description Relevant path P/S 70,70 BP/S0 Insufficient free memory Copy destination P/S 71,71 BP/S Specified program not found Copy source P/S 72,72 BPS Too many programs Copy destination P/S 7
  • Page 71010. CREATING PROGRAMS OPERATION B–63524EN/01 10 CREATING PROGRAMS Programs can be created using any of the following methods: ⋅ MDI keyboard ⋅ PROGRAMMING IN TEACH IN MODE ⋅ CONVERSATIONAL PROGRAMMING INPUT WITH GRAPHIC FUNCTION ⋅ CONVERSATIONAL AUTOMATIC PROGRAMMING FUNCTION ⋅ AUTOMATIC PROGRAM PRE
  • Page 711B–63524EN/01 OPERATION 10. CREATING PROGRAMS 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 71210. CREATING PROGRAMS OPERATION B–63524EN/01 10.2 Sequence numbers can be automatically inserted in each block when a program is created using the MDI keys in the EDIT mode. AUTOMATIC Set the increment for sequence numbers in parameter 3216. INSERTION OF SEQUENCE NUMBERS Procedure for automatic inse
  • Page 713B–63524EN/01 OPERATION 10. CREATING PROGRAMS 9 Press INSERT . The EOB is registered in memory and sequence numbers are automatically inserted. For example, if the initial value of N is 10 and the parameter for the increment is set to 2, N12 inserted and displayed below the line where a new block is
  • Page 71410. CREATING PROGRAMS OPERATION B–63524EN/01 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 715B–63524EN/01 OPERATION 10. CREATING PROGRAMS 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 71610. CREATING PROGRAMS OPERATION B–63524EN/01 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 717B–63524EN/01 OPERATION 10. CREATING PROGRAMS 10.4 Programs can be created block after block on the conversational screen while displaying the G code menu. CONVERSATIONAL Blocks in a program can be modified, inserted, or deleted using the G code PROGRAMMING menu and conversational screen. WITH GRAPHI
  • Page 71810. CREATING PROGRAMS OPERATION B–63524EN/01 4 Press the [C.A.P] soft key. The following G code menu is displayed on the screen. If soft keys different from those shown in step 2 are displayed, press the menu return key to display the correct soft keys. PROGRAM O1234 N00004 G00 : POSITIONING G01 : L
  • Page 719B–63524EN/01 OPERATION 10. CREATING PROGRAMS When no keys are pressed, the standard details screen is displayed. PROGRAM O0010 N00000 G G G G X U Z W A C F H I K P Q R M S T : EDIT * * * * *** *** 14 : 41 : 10 PRGRM G.MENU BLOCK (OPRT) 7 Move the cursor to the block to be modified on the program scr
  • Page 72010. CREATING PROGRAMS OPERATION B–63524EN/01 Procedure 2 1 Move the cursor to the block to be modified on the program screen Modifying a block and press the [C.A.P] soft key. Or, press the [C.A.P] soft key first to display the conversational screen, then press the or page key until the block to be m
  • Page 721B–63524EN/01 OPERATION 11. SETTING AND DISPLAYING DATA 11 SETTING AND DISPLAYING DATA General To operate a CNC machine tool, various data must be set on the CRT/MDI or LCD/MDI for the CNC. The operator can monitor the state of operation with data displayed during operation. This chapter describes ho
  • Page 72211. SETTING AND DISPLAYING DATA OPERATION B–63524EN/01 POSITION DISPLAY SCREEN Screen transition triggered by the function key POS POS Current position screen ABS REL ALL HNDL (OPRT) Position display of Position displays Total position display Manual handle in- work coordinate relative coordinate of
  • Page 723B–63524EN/01 OPERATION 11. SETTING AND DISPLAYING DATA 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 72411. SETTING AND DISPLAYING DATA OPERATION B–63524EN/01 PROGRAM SCREEN Screen transition triggered by the function key PROG in the EDIT mode PROG Program screen EDIT PRGRM LIB C.A.P. (OPRT) Program editing Program memory Conversational screen and program di- programming ⇒See III–10 rectory screen ⇒Se
  • Page 725B–63524EN/01 OPERATION 11. SETTING AND DISPLAYING DATA 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 72611. SETTING AND DISPLAYING DATA OPERATION B–63524EN/01 2/2 1* Tool offset value OFST.2 W.SHFT (OPRT) Display of Y Display of work axis offset value coordinate ⇒See III–11.4.6. system value ⇒See III–11.4.5 Setting of Y axis Setting of work offset data coordinate system ⇒See III–11.4.6. shift value ⇒S
  • Page 727B–63524EN/01 OPERATION 11. SETTING AND DISPLAYING DATA 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 Setting of parameter ⇒see III–11.5.
  • Page 72811. SETTING AND DISPLAYING DATA OPERATION B–63524EN/01 D Setting screens The table below lists the data set on each screen. Table 11. Setting screens and data on them Reference No. Setting screen Contents of setting item 1 Tool offset value Tool offset value Subsec. III–11.4.1 Tool nose radius compe
  • Page 729B–63524EN/01 OPERATION 11. SETTING AND DISPLAYING DATA 11.1 Press function key POS to display the current position of the tool. SCREENS The following three screens are used to display the current position of the DISPLAYED BY tool: FUNCTION KEY po POS ⋅Position display screen for the work coordinate
  • Page 73011. SETTING AND DISPLAYING DATA OPERATION B–63524EN/01 11.1.1 Displays the current position of the tool in the workpiece coordinate Position Display in the system. The current position changes as the tool moves. The least input increment is used as the unit for numeric values. The title at the top o
  • Page 731B–63524EN/01 OPERATION 11. SETTING AND DISPLAYING DATA NOTE For the two–path control, the display may not be as shown above. In some cases, only the coordinates along the axes on tool post 1 are displayed due to the number of axes. In that case, press the [ABS] soft key one more time to display the
  • Page 73211. SETTING AND DISPLAYING DATA OPERATION B–63524EN/01 11.1.2 Displays the current position of the tool in a relative coordinate system Position Display in the based on the coordinates set by the operator. The current position changes as the tool moves. The increment system is used as the unit for n
  • Page 733B–63524EN/01 OPERATION 11. SETTING AND DISPLAYING DATA NOTE For the two–path lathe control 7 soft keys display unit, the display may not be as shown above. In some cases, only the coordinates along the axes on tool post 1 are displayed due to the number of axes. In that case, press the [REL] soft ke
  • Page 73411. SETTING AND DISPLAYING DATA OPERATION B–63524EN/01 Explanations D Setting the relative The current position of the tool in the relative coordinate system can be coordinates reset to 0 or preset to a specified value as follows: Procedure to set the axis coordinate to a specified value 1 Enter an
  • Page 735B–63524EN/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 73611. SETTING AND DISPLAYING DATA OPERATION B–63524EN/01 D Display with two–path control (12 soft keys display unit) ACTUAL POSITION O1000 N10010 O2000 N20010 (RELATIVE) (ABSOLUTE) (RELATIVE) (ABSOLUTE) U1 100.000 X1 100.000 U2 100.000 X2 100.000 W1 100.000 Z1 100.000 W2 100.000 Z2 100.000 H1 300.000
  • Page 737B–63524EN/01 OPERATION 11. SETTING AND DISPLAYING DATA 11.1.4 A workpiece coordinate system shifted by an operation such as manual Presetting the intervention can be preset using MDI operations to a pre–shift workpiece coordinate system. The latter coordinate system is displaced from the Workpiece C
  • Page 73811. SETTING AND DISPLAYING DATA OPERATION B–63524EN/01 11.1.5 The actual feedrate on the machine (per minute) can be displayed on a Actual Feedrate current position display screen or program check screen by setting bit 0 (DPF) of parameter 3015. On 12 soft keys display unit, the actual feedrate Disp
  • Page 739B–63524EN/01 OPERATION 11. SETTING AND DISPLAYING DATA 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 74011. SETTING AND DISPLAYING DATA OPERATION B–63524EN/01 11.1.6 The run time, cycle time, and the number of machined parts are displayed Display of Run Time on the current position display screens. and Parts Count Procedure for displaying run time and parts count on the current position display screen
  • Page 741B–63524EN/01 OPERATION 11. SETTING AND DISPLAYING DATA 11.1.7 To perform floating reference position return with a G30.1 command, the Setting the Floating floating reference position must be set beforehand. Reference Position Procedure for setting the floating reference position 1 Press function key
  • Page 74211. SETTING AND DISPLAYING DATA OPERATION B–63524EN/01 11.1.8 The reading on the load meter can be displayed for each servo axis and Operating Monitor the serial spindle by setting bit 5 (OPM) of parameter 3111 to 1. The reading on the speedometer can also be displayed for the serial spindle. Displa
  • Page 743B–63524EN/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 74411. SETTING AND DISPLAYING DATA OPERATION B–63524EN/01 11.2 This section describes the screens displayed by pressing function key SCREENS DISPLAYED PROG in MEMORY or MDI mode.The first four of the following screens BY FUNCTION KEY pr PROG display the execution state for the program currently being e
  • Page 745B–63524EN/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 74611. SETTING AND DISPLAYING DATA OPERATION B–63524EN/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 747B–63524EN/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 74811. SETTING AND DISPLAYING DATA OPERATION B–63524EN/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 749B–63524EN/01 OPERATION 11. SETTING AND DISPLAYING DATA D Display with two path control (12 soft keys display unit) PROGRAM CHECK O1000 N01010 PROGRAM CHECK O2000 N02010 N01000 G90 X100. Z100.; N02010 G90 X200. Z200.; N01010 G01 X50. Z50. F2000. ; N02020 G01 X50. Z50. F3000. ; N01020 X30. ; N02030 G0
  • Page 75011. SETTING AND DISPLAYING DATA OPERATION B–63524EN/01 D 12 soft keys display unit The program check screen is not provided for 12 soft keys display unit with one–path control with one–path control. Press soft key [PRGRM] to display the contents of the program on the right half of the screen. The bl
  • Page 751B–63524EN/01 OPERATION 11. SETTING AND DISPLAYING DATA 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 75211. SETTING AND DISPLAYING DATA OPERATION B–63524EN/01 11.2.6 When a machining program is executed, the machining time of the main Stamping the program is displayed on the program machining time display screen. The machining times of up to ten main programs are displayed in Machining Time hours/minu
  • Page 753B–63524EN/01 OPERATION 11. SETTING AND DISPLAYING DATA 5 To calculate the machining times of additional programs, repeat the above procedure. The machining time display screen displays the executed main program numbers and their machining times sequentially. Note, that machining time data cannot be
  • Page 75411. SETTING AND DISPLAYING DATA OPERATION B–63524EN/01 Procedure 2 1 To insert the calculated machining time of a program in a program as a Stamping machining comment, the machining time of the program must be displayed on time the machining time display screen. Before stamping the machining time of
  • Page 755B–63524EN/01 OPERATION 11. SETTING AND DISPLAYING DATA 4 If a comment already exists in the block containing the program number of a program whose machining time is to be inserted, the machining time is inserted after the existing comment. PROGRAM O0100 N0000 O0100 (SHAFT XSF001) ; N10 G92 X100. Z10
  • Page 75611. SETTING AND DISPLAYING DATA OPERATION B–63524EN/01 Explanations D Machining time Machining time is counted from the initial start after a reset in memory operation mode to the next reset. If a reset does not occur during operation, machining time is counted from the start to M03 (or M30). Howeve
  • Page 757B–63524EN/01 OPERATION 11. SETTING AND DISPLAYING DATA D Program directory When the machining time inserted into a program is displayed on the program directory screen and the comment after the program number consists of only machining time data, the machining time is displayed in both the program n
  • Page 75811. SETTING AND DISPLAYING DATA OPERATION B–63524EN/01 Example 2: Program directory screen when two or more machining times are stamped. PROGRAM O0260 N0000 O0260 (SHAFT XSF302) (001H15M59S) (001H20M01S) ; N10 G92 X100. Z10. ; N20 S1500 M03 ; N30 G00 X20.5 Z5. T0101 ; N40 G01 Z–10. F25. ; N50 G02 X1
  • Page 759B–63524EN/01 OPERATION 11. SETTING AND DISPLAYING DATA Example 3: Program directory screen when inserted machining time data does not conform to the format hhhHmmMssS (3–digit number followed by H, 2–digit number followed by M, and 2–digit number followed by S, in this order) PROGRAM O0280 N0000 O02
  • Page 76011. SETTING AND DISPLAYING DATA OPERATION B–63524EN/01 11.2.7 Displaying the B–axis Operation State Displaying the B–axis operation state 1 Press the PROG function key. 2 Press the [CHECK] chapter selection soft key. 3 Press the [B–DSP] chapter selection soft key. Then, the B–axis operation state is
  • Page 761B–63524EN/01 OPERATION 11. SETTING AND DISPLAYING DATA 11.3 This section describes the screens displayed by pressing function key SCREENS DISPLAYED PROG in the EDIT mode. Function key PROG in the EDIT mode can BY FUNCTION KEY proPROG display the program editing screen and the program display screen
  • Page 76211. SETTING AND DISPLAYING DATA OPERATION B–63524EN/01 11.3.1 Displays the number of registered programs, memory used, and a list of Displaying Memory registered programs. Used and a List of Programs Procedure for displaying memory used and a list of programs 1 Select the EDIT mode. For the two–path
  • Page 763B–63524EN/01 OPERATION 11. SETTING AND DISPLAYING DATA 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 76411. SETTING AND DISPLAYING DATA OPERATION B–63524EN/01 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 765B–63524EN/01 OPERATION 11. SETTING AND DISPLAYING DATA 11.3.2 In two–path control, the programs for both tool posts can be displayed and Two–path edited on the same screen when bit 0 (DHD) of parameter No. 3106 is set to 1. Simultaneous Editing The name of each tool post is displayed above the corre
  • Page 76611. SETTING AND DISPLAYING DATA OPERATION B–63524EN/01 Explanations D Shared screen and When the selected tool post is in EDIT mode, pressing the [PRGRM] soft individual screen key displays a shared screen which shows the program for the first tool post on the left and that for the second tool post
  • Page 767B–63524EN/01 OPERATION 11. SETTING AND DISPLAYING DATA Individual screen (12 soft keys screen on the 12 soft keys display unit) PROGRAM O1234 N00010 O1234 ; N10 G00 ; N20 X100.0 ; N30 X200.0 ; N40 X300.0 Z300.0 ; N50 X400.0 ; N60 X500.0 ; N70 M02 ; % >_ EDIT STRT MIN FIN ALM 17:25:01 HEAD1 [ ][ ][ ]
  • Page 76811. SETTING AND DISPLAYING DATA OPERATION B–63524EN/01 11.3.3 In addition to the normal listing of the numbers and names of CNC Displaying a Program programs stored in memory, programs can be listed in units of groups, according to the product to be machined, for example. List for a Specified Group
  • Page 769B–63524EN/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 77011. SETTING AND DISPLAYING DATA OPERATION B–63524EN/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 771B–63524EN/01 OPERATION 11. SETTING AND DISPLAYING DATA 11.4 Press function key OFFSET SETTING to display or set tool compensation values and SCREENS DISPLAYED other data. BY FUNCTION KEY off OFFSET SETTING This section describes how to display or set the following data: 1. Tool offset value 2. Setti
  • Page 77211. SETTING AND DISPLAYING DATA OPERATION B–63524EN/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 773B–63524EN/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 77411. SETTING AND DISPLAYING DATA OPERATION B–63524EN/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 775B–63524EN/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 77611. SETTING AND DISPLAYING DATA OPERATION B–63524EN/01 3–4 Key in the measured value (β). 3–5 Press the soft key [MESURE]. The difference between measured value β and the coordinate is set as the offset value. D Setting of X axis offset 4 Cut surface B in manual mode. value 5 Release the tool in the
  • Page 777B–63524EN/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 77811. SETTING AND DISPLAYING DATA OPERATION B–63524EN/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 779B–63524EN/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 78011. SETTING AND DISPLAYING DATA OPERATION B–63524EN/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 781B–63524EN/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 78211. SETTING AND DISPLAYING DATA OPERATION B–63524EN/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 783B–63524EN/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 78411. SETTING AND DISPLAYING DATA OPERATION B–63524EN/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 785B–63524EN/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 78611. SETTING AND DISPLAYING DATA OPERATION B–63524EN/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 787B–63524EN/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 78811. SETTING AND DISPLAYING DATA OPERATION B–63524EN/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 789B–63524EN/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 79011. SETTING AND DISPLAYING DATA OPERATION B–63524EN/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 791B–63524EN/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 79211. SETTING AND DISPLAYING DATA OPERATION B–63524EN/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 793B–63524EN/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 79411. SETTING AND DISPLAYING DATA OPERATION B–63524EN/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 795B–63524EN/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 79611. SETTING AND DISPLAYING DATA OPERATION B–63524EN/01 5 Push the cursor move key or to match the mark J to an arbitrary position and set the desired condition. 6 Press one of the following arrow keys to perform jog feed. Press the 5 key together with an arrow key to perform manual continuous rapid
  • Page 797B–63524EN/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 79811. SETTING AND DISPLAYING DATA OPERATION B–63524EN/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 799B–63524EN/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 80011. SETTING AND DISPLAYING DATA OPERATION B–63524EN/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 801B–63524EN/01 OPERATION 11. SETTING AND DISPLAYING DATA 4 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 80211. SETTING AND DISPLAYING DATA OPERATION B–63524EN/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 DISPLAYED utilize the characteristics of the servo motor or other parts. BY FUNCTION KEY s
  • Page 803B–63524EN/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 80411. SETTING AND DISPLAYING DATA OPERATION B–63524EN/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 805B–63524EN/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 80611. SETTING AND DISPLAYING DATA OPERATION B–63524EN/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 807B–63524EN/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 80811. SETTING AND DISPLAYING DATA OPERATION B–63524EN/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 809B–63524EN/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 81011. SETTING AND DISPLAYING DATA OPERATION B–63524EN/01 (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. (7) Current time hh:mm:ss – Hours, min
  • Page 811B–63524EN/01 OPERATION 11. SETTING AND DISPLAYING DATA 11.7 By pressing the MESSAGE function key, data such as alarms, alarm history data, and external messages can be displayed. SCREENS DISPLAYED For information relating to alarm display, see Section III.7.1. For BY FUNCTION KEY me MESSAGE informat
  • Page 81211. SETTING AND DISPLAYING DATA OPERATION B–63524EN/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 813B–63524EN/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 81411. SETTING AND DISPLAYING DATA OPERATION B–63524EN/01 11.8.2 The CNC screen is automatically cleared if no keys are pressed during the Automatic Erase CNC period (in minutes) specified with a parameter. The screen is restored by pressing any key. Screen Display Procedure for Automatic Erase CRT Scr
  • Page 815B–63524EN/01 OPERATION 12. GRAPHICS FUNCTION 12 GRAPHICS FUNCTION The graphic function indicates how the tool moves during automatic operation or manual operation. 789
  • Page 81612. GRAPHICS FUNCTION OPERATION B–63524EN/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 817B–63524EN/01 OPERATION 12. GRAPHICS FUNCTION X 0001 00021 X 200.000 Z 200.000 Z >_ MEM STRT **** FIN 12:12:24 [ G.PRM ][ ][ GRAPH ][ ZOOM ][ (OPRT) ] One–path lathe control HEAD1 O0001 N00021 HEAD2 O0020 N00020 X1 X1 200.000 X2 X2 220.000 Z1 200.000 Z2 160.000 62.5 Z1 62.5 Z2 >_ MEM STRT **** FIN 12
  • Page 81812. GRAPHICS FUNCTION OPERATION B–63524EN/01 D Magnifying drawings Part of a drawing on the screen can be magnified. 8 Press the GRAPH function key, then the [ZOOM] soft key to display a magnified drawing. The magnified–drawing screen contains two zoom cursors (J) X S 0.55 0001 00021 W150000 X 200.0
  • Page 819B–63524EN/01 OPERATION 12. GRAPHICS FUNCTION Explanation D Setting drawing Parameter No. 6510 is used to set a drawing coordinate system for using coordinate systems the graphic function. The relationships between setting values and drawing coordinate systems are indicated below. With two–path contr
  • Page 82012. GRAPHICS FUNCTION OPERATION B–63524EN/01 GRAPHIC CENTER (X, Z), SCALE (S) A screen center coordinate and drawing scale are displayed. A scale screen center coordinate are automatically calculated so that a figure set in WORK LENGTH (a) and WORK DIAMETER (b) can be fully displayed on the screen.
  • Page 821B–63524EN/01 OPERATION 12. GRAPHICS FUNCTION D Switching from a Even if the screen is switched to a non–drawing screen, drawing drawing screen to continues. When the drawing screen is displayed again, the entire another screen drawing appears (no parts are missing). D Drawing for tool posts 1 For th
  • Page 82213. HELP FUNCTION OPERATION B–63524EN/01 13 HELP FUNCTION The help function displays on the screen detailed information about alarms issued in the CNC and about CNC operations. The following information is displayed. D Detailed information of When the CNC is operated incorrectly or an erroneous mach
  • Page 823B–63524EN/01 OPERATION 13. HELP FUNCTION ALARM DETAIL screen 2 Press soft key [ALM] 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– F
  • Page 82413. HELP FUNCTION OPERATION B–63524EN/01 3 To get details on another alarm number, first enter the alarm number, then press soft key [SELECT]. This operation is useful for investigating alarms not currently being raised. >100 S 0 T0000 MEM **** *** *** 10:12:25 [ ][ ][ ][ ][ SELECT ] Fig. 13 (d) How
  • Page 825B–63524EN/01 OPERATION 13. HELP FUNCTION >1 S 0 T0000 MEM **** *** *** 10:12:25 [ ][ ][ ][ ][ SELECT ] Fig. 13 (g) How to select each OPERATION METHOD screen When “1. PROGRAM EDIT” is selected, for example, the screen in Figure 13 (g) is displayed. On each OPERATION METHOD screen, it is possible to
  • Page 82613. HELP FUNCTION OPERATION B–63524EN/01 HELP (PARAMETER TABLE) 01234 N00001 1/4 * SETTEING (No. 0000∼) * READER/PUNCHER INTERFACE (No. 0100∼) * AXIS CONTROL /SETTING UNIT (No. 1000∼) * COORDINATE SYSTEM (No. 1200∼) * STROKE LIMIT (No. 1300∼) * FEED RATE (No. 1400∼) * ACCEL/DECELERATION CTRL (No. 16
  • Page 827B–63524EN/01 OPERATION 14. SCREEN HARDCOPY 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 82814. SCREEN HARDCOPY OPERATION B–63524EN/01 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 829B–63524EN/01 OPERATION 14. SCREEN HARDCOPY 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 830
  • Page 831IV. MAINTENANC
  • Page 832
  • Page 833B–63524EN/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 8341. METHOD OF REPLACING BATTERY MAINTENANCE B–63524EN/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 835B–63524EN/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 8361. METHOD OF REPLACING BATTERY MAINTENANCE B–63524EN/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 837B–63524EN/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 8381. METHOD OF REPLACING BATTERY MAINTENANCE B–63524EN/01 NOTE Complete steps (1) to (3) within 30 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 completed within 30 minutes, save the whole contents of th
  • Page 839B–63524EN/01 MAINTENANCE 1. METHOD OF REPLACING BATTERY 2 dry cells Lid Connection terminal on the back 4 mounting holes Case 813
  • Page 8401. METHOD OF REPLACING BATTERY MAINTENANCE B–63524EN/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 841B–63524EN/01 MAINTENANCE 1. METHOD OF REPLACING BATTERY Lithium battery Front Rear view Side view BAT1 Fig. 1.3 Lithium battery connection 815
  • Page 8421. METHOD OF REPLACING BATTERY MAINTENANCE B–63524EN/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 name) are displayed on the CRT display. When APC a
  • Page 843B–63524EN/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 8441. METHOD OF REPLACING BATTERY MAINTENANCE B–63524EN/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 845B–63524EN/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 8461. METHOD OF REPLACING BATTERY MAINTENANCE B–63524EN/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 847B–63524EN/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 848
  • Page 849APPENDI
  • Page 850
  • Page 851B–63524EN/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 852A. TAPE CODE LIST APPENDIX B–63524EN/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 853B–63524EN/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 854B. LIST OF FUNCTIONS AND TAPE FORMAT APPENDIX B–63524EN/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 855B. LIST OF FUNCTIONS AND B–63524EN/01 APPENDIX TAPE FORMAT (1/3) Functions Illustration Tape format Change of offsetvalue by Tool geometry offset value program(G10) G10 P_ X_ Z_ R_ Q_ ; P=1000+Geometry offset number Tool wear offset value G10 P_ X_ Z_ R_ Q_ ; P=Wear offset number Plane selection G17
  • Page 856B. LIST OF FUNCTIONS AND TAPE FORMAT APPENDIX B–63524EN/01 (2/3) Functions Illustration Tape format Measurementt Automatic tool compensation position G36 X xa ; (G36, G37) G37 Z za ; Measurementt position arrival signal Start position Compensation value Coordinate system setting G50 X_ Z_ ; X Spindl
  • Page 857B. LIST OF FUNCTIONS AND B–63524EN/01 APPENDIX TAPE FORMAT (3/3) Functions Illustration Tape format Coordinate system rotation G17 X_Y_ X (G68.1, G69.1) G68.1 G18 Z_X_ Ra; G19 Y_Z_ a (z x) G69.1 ; Cancel Z ZX plane Feed per minute (G98) mm/min inch/min G98 … F_ ; (Feed per minute) mm/rev inch/rev Fe
  • Page 858C. RANGE OF COMMAND VALUE APPENDIX B–63524EN/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 Z : 0.001 mm Z : 0.0001 mm Max. progra
  • Page 859B–63524EN/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 Z : 0.0001 inch Z : 0.00001 inch Max. programmable ±9999.9999 inch ±999.999
  • Page 860C. RANGE OF COMMAND VALUE APPENDIX B–63524EN/01 Rotation axis Increment system IS–B IS–C Least input increment 0.001 deg 0.0001 deg Least command increment ±0.001 deg ±0.0001 deg Max. programmable ±99999.999 deg ±9999.9999 deg dimension Max. rapid traverse *1 240000 deg/min 100000 deg/min Feedrate r
  • Page 861B–63524EN/01 APPENDIX D. NOMOGRAPHS D NOMOGRAPHS 835
  • Page 862D. NOMOGRAPHS APPENDIX B–63524EN/01 D.1 The leads of a thread are generally incorrect in δ1 and δ2, as shown in Fig. D.1 (a), due to automatic acceleration and deceleration. INCORRECT Thus distance allowances must be made to the extent of δ1 and δ2 in the THREADED LENGTH program. δ2 δ1 Fig. D.1 (a)
  • Page 863B–63524EN/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 864D. NOMOGRAPHS APPENDIX B–63524EN/01 D.2 SIMPLE CALCULATION OF INCORRECT THREAD LENGTH δ2 δ1 Fig. D.2 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 determ
  • Page 865B–63524EN/01 APPENDIX D. NOMOGRAPHS D Reference Nomograph for obtaining approach distance δ1 839
  • Page 866D. NOMOGRAPHS APPENDIX B–63524EN/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 867B–63524EN/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 868D. NOMOGRAPHS APPENDIX B–63524EN/01 D Initial value calculation 0 Y0 V X0 Fig. D.3 (c) Initial value The initial value when cornering begins, that is, the X and Y coordinates at the end of command distribution by the controller, is determined by the feedrate and the positioning system time constant
  • Page 869B–63524EN/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 870E. STATUS WHEN TURNING POWER ON, WHEN CLEAR AND WHEN RESET APPENDIX B–63524EN/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 871E. STATUS WHEN TURNING POWER ON, B–63524EN/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 parame- f : MDI mode ter LVK(No.5003#6) Other modes depend on paramet
  • Page 872F. CHARACTER–TO–CODES CORRESPONDENCE TABLE APPENDIX B–63524EN/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 873B–63524EN/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 874G. ALARM LIST APPENDIX B–63524EN/01 Number Message Contents 023 ILLEGAL RADIUS COMMAND In circular interpolation by radius designation, negative value was commanded for address R. Modify the program. 028 ILLEGAL PLANE SELECT In the plane selection command, two or more axes in the same direc- tion ar
  • Page 875B–63524EN/01 APPENDIX G. ALARM LIST Number Message Contents 054 NO TAPER ALLOWED AFTER A block in which chamfering in the specified angle or the corner R CHF/CNR was specified includes a taper command. Modify the program. 055 MISSING MOVE VALUE IN In chamfering or corner R block, the move distance i
  • Page 876G. ALARM LIST APPENDIX B–63524EN/01 Number Message Contents 070 NO PROGRAM SPACE IN The memory area is insufficient. MEMORY Delete any unnecessary programs, then retry. 071 DATA NOT FOUND The address to be searched was not found. Or the program with specified program number was not found in program
  • Page 877B–63524EN/01 APPENDIX G. ALARM LIST Number Message Contents 090 REFERENCE RETURN The reference position return cannot be performed normally because INCOMPLETE the reference position return start point is too close to the reference position or the speed is too slow. Separate the start point far enoug
  • Page 878G. ALARM LIST APPENDIX B–63524EN/01 Number Message Contents 115 ILLEGAL VARIABLE NUMBER A value not defined as a variable number is designated in the custom macro or in high–speed cycle cutting. The header contents are improper in a high speed cycle cutting. This alarm is given in the following case
  • Page 879B–63524EN/01 APPENDIX G. ALARM LIST Number Message Contents 137 M–CODE & MOVE CMD IN SAME A move command of other axes was specified to the same block as BLK. M–code related to spindle indexing. Modify the program. 138 G SUPERIMPOSED DATA In PMC axis control, the increment for pulse distribution on
  • Page 880G. ALARM LIST APPENDIX B–63524EN/01 Number Message Contents 175 ILLEGAL G107 COMMAND Conditions when performing circular interpolation start or cancel not correct. To change the mode to the cylindrical interpolation mode, specify the command in a format of “G07.1 rotation–axis name radius of cylinde
  • Page 881B–63524EN/01 APPENDIX G. ALARM LIST Number Message Contents 211 G31 (HIGH) NOT ALLOWED IN G99 G31 is commanded in the per revolution command when the high– speed skip option is provided. Modify the program. 212 ILLEGAL PLANE SELECT The direct drawing dimensions programming is commanded for the plane
  • Page 882G. ALARM LIST APPENDIX B–63524EN/01 Number Message Contents 240 BP/S ALARM Background editing was performed during MDI operation. 244 P/S ALARM In the skip function activated by the torque limit signal, the number of accumulated erroneous pulses exceed 32767 before the signal was input. Therefore, t
  • Page 883B–63524EN/01 APPENDIX G. ALARM LIST Number Message Contents 5044 G68.1 FORMAT ERROR A G68 command block contains a format error. This alarm is issued in the following cases: 1 I, J, or K is missing from a G68.1 command block (missing coordi- nate rotation option). 2 I, J, and K are 0 in a G68.1 comm
  • Page 884G. ALARM LIST APPENDIX B–63524EN/01 Number Message Contents 5155 NOT RESTART PROGRAM BY G05 During servo leaning control by G05, an attempt was made to perform restart operation after feed hold or interlock. This restart operation can- not be performed. (G05 leaning control terminates at the same ti
  • Page 885B–63524EN/01 APPENDIX G. ALARM LIST Number Message Contents 5231 TOO MANY FILES The number of files exceeds the limit during communication with the built–in Handy File. 5232 DATA OVER–FLOW There is not enough floppy disk space in the built–in Handy File. 5235 COMMUNICATION ERROR A communication erro
  • Page 886G. ALARM LIST APPENDIX B–63524EN/01 NOTE Alarm in background edit is displayed in the key input line of the background edit screen instead of the ordinary alarm screen and is resettable by any of the MDI key operation. 3) Absolute pulse coder (APC) alarm Number Message Contents 300 n AXIS NEED ZRN M
  • Page 887B–63524EN/01 APPENDIX G. ALARM LIST No. Message Description 380 n AXIS : BROKEN LED (EXT) The separate detector is erroneous. 381 n AXIS : ABNORMAL PHASE A phase data error occurred in the separate linear scale. (EXT LIN) 382 n AXIS : COUNT MISS (EXT) A pulse error occurred in the separate detector.
  • Page 888G. ALARM LIST APPENDIX B–63524EN/01 D The details of serial pulse coder alarm #7 #6 #5 #4 #3 #2 #1 #0 202 CSA BLA PHA PCA BZA CKA SPH #6 (CSA) : Check sum alarm has occurred. #5 (BLA) : Battery low alarm has occurred. #4 (PHA) : Phase data trouble alarm has occurred. #3 (PCA) : Speed count trouble a
  • Page 889B–63524EN/01 APPENDIX G. ALARM LIST Number Message Contents 415 SERVO ALARM: n–TH AXIS – A speed higher than 524288000 units/s was attempted to be set in the EXCESS SHIFT n–th axis (axis 1–8). This error occurs as the result of improperly set CMR. 417 SERVO ALARM: n–TH AXIS – This alarm occurs when
  • Page 890G. ALARM LIST APPENDIX B–63524EN/01 Number Message Contents 439 n AXIS : CNV. OVERVOLT POWER 1) PSM: The DC link voltage is too high. 2) PSMR: The DC link voltage is too high. 3) α series SVU: The C link voltage is too high. 4) β series SVU: The link voltage is too high. 440 n AXIS : CNV. EX DECELER
  • Page 891B–63524EN/01 APPENDIX G. ALARM LIST D Details of servo alarm The details of servo alarm are displayed in the diagnosis display (No. 200 and No.204) as shown below. #7 #6 #5 #4 #3 #2 #1 #0 200 OVL LV OVC HCA HVA DCA FBA OFA #7 (OVL) : An overload alarm is being generated. #6 (LV) : A low voltage alar
  • Page 892G. ALARM LIST APPENDIX B–63524EN/01 6) Over travel alamrs Number Message Contents 500 OVER TRAVEL : +n Exceeded the n–th axis (axis 1 to 8) + side stored stroke limit I. (Parameter No.1320 or 1326 NOTE) 501 OVER TRAVEL : –n Exceeded the n–th axis (axis 1 to 8) – side stored stroke limit I. (Paramete
  • Page 893B–63524EN/01 APPENDIX G. ALARM LIST 9) Serial 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
  • Page 894G. ALARM LIST APPENDIX B–63524EN/01 1 : In the spindle serial control, the serial spindle parameters do not fulfill the spindle unit startup conditions. #2 (S2E) 0 : The second spindle is normal during the spindle serial control startup. 1 : The second spindle was detected to have a fault during the
  • Page 895B–63524EN/01 APPENDIX G. ALARM LIST Alarm List (Serial Spindle) When a serial spindle alarm occurs, the following number is displayed on the CNC. n is a number corresponding to the spindle on which an alarm occurs. (n = 1: First spindle; n = 2: Second spindle; etc.) NOTE*1 Note that the meanings of
  • Page 896G. ALARM LIST APPENDIX B–63524EN/01 SPM in- No. Message dica- Faulty location and remedy Description tion(*1) 7n07 SPN_n_ : OVERSPEED 07 Check for a sequence error. (For ex- The motor speed has exceeded ample, check whether spindle syn- 115% of its rated speed. chronization was specified when the Wh
  • Page 897B–63524EN/01 APPENDIX G. ALARM LIST SPM in- No. Message dica- Faulty location and remedy Description tion(*1) 7n24 SPN_n_ : SERIAL 24 1 Place the CNC–to–spindle cable The CNC power is turned off (normal TRANSFER away from the power cable. power–off or broken cable). ERROR 2 Replace the cable. An err
  • Page 898G. ALARM LIST APPENDIX B–63524EN/01 SPM in- No. Message dica- Faulty location and remedy Description tion(*1) 7n34 SPN_n_ : PARAMETER 34 Correct a parameter value according Parameter data exceeding the allow- SETTING ER- to the manual. able limit is set. ROR If the parameter number is unknown, conne
  • Page 899B–63524EN/01 APPENDIX G. ALARM LIST SPM in- No. Message dica- Faulty location and remedy Description tion(*1) 7n47 SPN_n_ : POS–CODER 47 1 Replace the cable. 1 The A/B phase signal of the SIGNAL AB- 2 Re–adjust the BZ sensor signal. spindle position coder (connector NORMAL 3 Correct the cable layout
  • Page 900G. ALARM LIST APPENDIX B–63524EN/01 SPM in- No. Message dica- 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 S
  • Page 901B–63524EN/01 APPENDIX G. ALARM LIST SPM in- No. Message dica- Faulty location and remedy Description tion(*1) 7n97 SPN_n_ : OTHER 97 Replace the SPM. Another irregularity was detected. SPINDLE ALARM 7n98 SPN_n_ : OTHER CON- 98 Check the PSM alarm display. A PSM alarm was detected. VERTER ALARM SPM i
  • Page 902G. ALARM LIST APPENDIX B–63524EN/01 SPM in- No. Message dica- Faulty location and remedy Description tion(*1) 9n11 SPN_n_ : OVERVOLT 11 1 Check the selected PSM. Overvoltage of the DC link section of POW CIRCUIT 2 Check the input power voltage and the PSM was detected. (PSM alarm change in power dur
  • Page 903B–63524EN/01 APPENDIX G. ALARM LIST SPM in- No. Message dica- 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 (connec
  • Page 904G. ALARM LIST APPENDIX B–63524EN/01 SPM in- No. Message dica- 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. ER- rameter manual. number of pulses in the speed detec- ROR tor is incorrect
  • Page 905B–63524EN/01 APPENDIX G. ALARM LIST SPM in- No. Message dica- 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 th
  • Page 906G. ALARM LIST APPENDIX B–63524EN/01 SPM in- No. Message dica- 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 err
  • Page 907B–63524EN/01 APPENDIX G. ALARM LIST 10) System alarms (These alarms cannot be reset with reset key.) Number Message Contents 900 ROM PARITY A parity error occurred in the CNC, macro, or servo ROM. Correct the contents of the flash ROM having the displayed number. 910 SRAM PARITY : (BYTE 0) A RAM par
  • Page 908
  • Page 909B–63524EN/01 Index [Numbers] Changing of Tool Offset Value (Programmable Data Input ) (G10), 285 7.2″/8.4″ LCD–mounted Type CNC Control Unit, 452 Changing Workpiece Coordinate System, 102 8–digit Program Number, 152 Character–to–codes Correspondence Table, 846 9.5″/10.4″ LCD–mounted Type CNC Control
  • Page 910Index B–63524EN/01 Deleting a Block, 659 [E] Deleting a Word, 658 Editing a Part Program, 441 Deleting All Programs, 665 Editing of Custom Macros, 676 Deleting Blocks, 659 Editing Programs, 651 Deleting Files, 611 Emergency Stop, 563 Deleting More Than One Program by Specifying a Range, 666 End Face
  • Page 911B–63524EN/01 Index [H] Linear Interpolation (G01), 51 List of Functions and Tape Format, 828 Heading a Program, 655 Local Coordinate System, 107 Helical Interpolation (G02, G03), 57 Help Function, 796 High Speed Cycle Cutting, 361 [M] How to Indicate Command Dimensions for Moving the Tool – Abso- lu
  • Page 912Index B–63524EN/01 Offset Data Input and Output, 597 Program Input/output, 592 Offset Number, 221 Program Number Search, 662 Offset Number and Offset Value, 232 Program of Tool Life Data, 128 Operating Monitor Display, 716 Program Restart, 520 Operational Devices, 450 Program Screen for MDI Operatio
  • Page 913B–63524EN/01 Index Selection of Tool Used for Various Machining – Tool Function, 24 Synchronization Control and Composite Control, 417 Sequence Number Comparison and Stop, 761 System Variables, 298 Sequence Number Search, 663 Setting a Workpiece Coordinate System, 99 Setting and Display of Interfere
  • Page 914Index B–63524EN/01 Word Search, 653 Workpiece Coordinate System Shift, 106 Work Position and Move Command, 234 Workpiece Coordinate System, 99 [Y] Y Axis Offset, 756 Workpiece Coordinate System Preset (G92.1), 104 i–6
  • Page 915Revision Record FANUC Series 16i/18i/160i/180i–TB OPERATOR’S MANUAL (B–63524EN) 01 Jan., 2001 Edition Date Contents Edition Date Contents
  • Page 916Printed at GE Fanuc Automation S.A. , Luxembourg September 200
  • Page 917FANUC Series 16i/18i/160i/180i/160is/180is - TA OPERATOR’S MANUAL FANUC Series 16i/18i/160i/180i - TB OPERATOR’S MANUAL Explanation addition of Rigid tapping 1.Type of applied technical documents FANUC Series 16i/18i/160i/180i/160is/180is - TA OPERATOR’S MANUAL Name FANUC Series 16i/18i/160i/180i -
  • Page 91813.8.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 919TECHNICAL 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 920FANUC Series 16i/18i/160i/180i/160is/180is - TA OPERATOR’S MANUAL FANUC Series 16i/18i/160i/180i - TB OPERATOR’S MANUAL Concerning addition of the Changing Active Offset Value with Manual Move 1.Type of applied technical documents FANUC Series 16i/18i/160i/180i/160is/180is - TA OPERATOR’S MANUAL Nam
  • Page 921• 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) 16i/18i/160i/180i/160is/180is - TA 16i/18i/160i/180i - TB OPERA
  • Page 922FANUC Series 16i /18i /21i – TA / TB Changing Active Offset Value with Manual Move Index 1. Outline ........................................................................................................................... 2 2. Explanation............................................................
  • Page 9231. 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 9242.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 925Example 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 9263. 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 927Active 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 928The 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 929#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 930The 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 931[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 932FANUC 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 933At "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