Series 21i/210i/210is - TA Operators manual Page 750

Operators manual
APPENDIX
B63084EN/02
G. ALARM LIST
735
Number ContentsMessage
752 FIRST SPINDLE MODE CHANGE
FAULT
This alarm is generated if the system does not properly terminate a
mode change. The modes include the Cs contouring, spindle position-
ing, rigid tapping, and spindle control modes. The alarm is activated if
the spindle control unit does not respond correctly to the mode change
command issued by the NC.
754 SPINDLE1 ABNORMAL TORQUE
ALM
Abnormal first spindle motor load has been detected.
762 SECOND SPINDLE MODE
CHANGE FAULT
Refer to alarm No. 752. (For 2nd axis)
764 SPINDLE2 ABNORMAL TORQUE
ALM
Same as alarm No. 754 (for the second spindle)
772 SPINDLE3 MODE CHANGE
ERROR
Same as alarm No. 752 (for the third spindle)
774 SPINDLE3 ABNORMAL TORQUE
ALM
Same as alarm No. 754 (for the third spindle)
782 SPINDLE4 MODE CHANGE
ERROR
Same as alarm number 752 (for the fourth spindle)
784 SPINDLE4 ABNORMAL TORQUE
ALM
Same as alarm number 754 (for the fourth spindle)
The details of spindle alarm No. 750 are displayed in the diagnosis display
(No. 409) as shown below.
#7
409
#6 #5 #4 #3
SPE
#2
S2E
#1
S1E
#0
SHE
#3 (SPE) 0 : In the spindle serial control, the serial spindle parameters fulfill the
spindle unit startup conditions.
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 spindle
serial control startup.
#1 (S1E) 0 : The first spindle is normal during the spindle serial control startup.
1 : The first spindle was detected to have a fault during the spindle axis
serial control startup.
#0 (SHE) 0 : The serial communications module in the CNC is normal.
1 : The serial communications module in the CNC was detected to have a
fault.
D The details of spindle
alarm No.750

Contents Summary of Series 21i/210i/210is - TA Operators manual

  • Page 1GE Fanuc Automation Europe Computer Numerical Controls Series 21i / 210i / 210is TA Operator‘ s Manual B-63084EN/02 TECHNOLOGY AND MORE
  • Page 2
  • 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–63084EN/02 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–63084EN/02 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–63084EN/02 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–63084EN/02 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–63084EN/02 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–63084EN/02 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–63084EN/02 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–63084EN/02 SAFETY PRECAUTIONS 5 WARNINGS RELATED TO DAILY MAINTENANCE WARNING 1. Memory backup battery replacement When replacing the memory backup batteries, keep the power to the machine (CNC) turned on, and apply an emergency stop to the machine. Because this work is performed with the power on
  • Page 12SAFETY PRECAUTIONS B–63084EN/02 WARNING 2. Absolute pulse coder battery replacement When replacing the memory backup batteries, keep the power to the machine (CNC) turned on, and apply an emergency stop to the machine. Because this work is performed with the power on and the cabinet open, only those
  • Page 13B–63084EN/02 SAFETY PRECAUTIONS WARNING 3. Fuse replacement For some units, the chapter covering daily maintenance in the operator’s manual or programming manual describes the fuse replacement procedure. Before replacing a blown fuse, however, it is necessary to locate and remove the cause of the bl
  • Page 14B–63084EN/02 Table of Contents SAFETY PRECAUTIONS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . s–1 I. GENERAL 1. GENERAL . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
  • Page 15TABLE OF CONTENTS B–63084EN/02 4.12 TORQUE LIMIT SKIP (G31 P99) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 65 5. FEED FUNCTIONS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
  • Page 16B–63084EN/02 TABLE OF CONTENTS 11.2 MULTIPLE M COMMANDS IN A SINGLE BLOCK . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 116 11.3 THE SECOND AUXILIARY FUNCTIONS (B CODES) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 117 12. PROGRAM CONFIGURATION . . . . . .
  • Page 17TABLE OF CONTENTS B–63084EN/02 14.3 DETAILS OF TOOL NOSE RADIUS COMPENSATION . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 208 14.3.1 General . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
  • Page 18B–63084EN/02 TABLE OF CONTENTS 17.5 MULTIPLE REPETITIVE CANNED TURNING CYCLE . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 313 17.6 CANNED DRILLING CYCLE FORMATS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 315 18. FUNCTIONS FOR HIGH SPEED CUT
  • Page 19TABLE OF CONTENTS B–63084EN/02 2.1.5 Stand–Alone Type 61 Full–Key MDI Unit . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 379 2.2 EXPLANATION OF THE KEYBOARD . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3
  • Page 20B–63084EN/02 TABLE OF CONTENTS 5.2 FEEDRATE OVERRIDE . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 464 5.3 RAPID TRAVERSE OVERRIDE . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
  • Page 21TABLE OF CONTENTS B–63084EN/02 8.10.7 Memory Card Input/Output . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 535 8.11 DATA INPUT/OUTPUT USING A MEMORY CARD . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 54
  • Page 22B–63084EN/02 TABLE OF CONTENTS 11.2.2 Current Block Display Screen . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 611 11.2.3 Next Block Display Screen . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
  • Page 23TABLE OF CONTENTS B–63084EN/02 1.2 REPLACING THE BATTERY FOR STAND–ALONE TYPE i SERIES . . . . . . . . . . . . . . . . . . . . 685 1.3 BATTERY IN THE INTELLIGENT TERMINAL (3 VDC) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 688 1.4 BATTERY FOR SEPARATE ABSOLUTE PULSE CODERS (6 VDC) .
  • Page 24I. GENERA
  • Page 25B–63084EN/02 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 261. GENERAL GENERAL B–63084EN/02 Related manuals The table below lists manuals related to MODEL A of Series 21i, Series 210i and Series 210is. In the table, this manual is marked with an asterisk (*). Related manuals of Series 21i/210i/210is Specification Manual name number DESCRIPTIONS B–63002EN CON
  • Page 27B–63084EN/02 GENERAL 1. GENERAL Related manuals of SERVO MOTOR Related manuals of SERVO MOTOR α series, β series α series, β series Specification Manual name number FANUC AC SERVO MOTOR α series DESCRIPTIONS B–65142E FANUC AC SERVO MOTOR α series PARAMETER B–65150E MANUAL FANUC AC SPINDLE MOTOR α se
  • Page 281. GENERAL GENERAL B–63084EN/02 Related manuals of OPEN CNC Related manuals of OPEN CNC Specification Manual name number FANUC OPEN CNC OPERATOR’S MANUAL B–62884EN (LADDER EDITING PACKAGE) FANUC OPEN CNC OPERATOR’S MANUAL B–62994EN (Basic Operation Package 1 (for Windows 95/NT)) FANUC OPEN CNC OPERA
  • Page 29B–63084EN/02 GENERAL 1. GENERAL 1.1 When machining the part using the CNC machine tool, first prepare the program, then operate the CNC machine by using the program. GENERAL FLOW OF OPERATION OF CNC 1) First, prepare the program from a part drawing to operate the CNC machine tool. MACHINE TOOL How t
  • Page 301. GENERAL GENERAL B–63084EN/02 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. 8
  • Page 31B–63084EN/02 GENERAL 1. GENERAL 1.2 NOTES ON READING NOTE THIS MANUAL 1 The function of an CNC machine tool system depends not only on the CNC, but on the combination of the machine tool, its magnetic cabinet, the servo system, the CNC, the operator’s panels, etc. It is too difficult to describe the
  • Page 32II. PROGRAMMIN
  • Page 33B–63084EN/02 PROGRAMMING 1. GENERAL 1 GENERAL 13
  • Page 341. GENERAL PROGRAMMING B–63084EN/02 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 35B–63084EN/02 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 361. GENERAL PROGRAMMING B–63084EN/02 X Tool Program G32X––Z––F––; Workpiece Z F Fig. 1.1 (f) Taper thread cutting 1.2 Movement of the tool at a specified speed for cutting a workpiece is called the feed. FEED– FEED FUNCTION Chuck Tool Workpiece Fig. 1.2 Feed function Feedrates can be specified by usi
  • Page 37B–63084EN/02 PROGRAMMING 1. GENERAL 1.3 PART DRAWING AND TOOL MOVEMENT 1.3.1 A CNC machine tool is provided with a fixed position. Normally, tool Reference Position change and programming of absolute zero point as described later are performed at this position. This position is called the reference
  • Page 381. GENERAL PROGRAMMING B–63084EN/02 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 39B–63084EN/02 PROGRAMMING 1. GENERAL The tool moves on the coordinate system specified by the CNC in accordance with the command program generated with respect to the coordinate system on the part drawing, and cuts a workpiece into a shape on the drawing. Therefore, in order to correctly cut the work
  • Page 401. GENERAL PROGRAMMING B–63084EN/02 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 41B–63084EN/02 PROGRAMMING 1. GENERAL 1.3.3 How to Indicate Command Dimensions for Moving the Tool – Absolute, Incremental Commands Explanations Methods of command for moving the tool can be indicated by absolute or incremental designation (See II–8.1). D Absolute command The tool moves to a point at
  • Page 421. GENERAL PROGRAMMING B–63084EN/02 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 43B–63084EN/02 PROGRAMMING 1. GENERAL 2. Radius programming In radius programming, specify the distance from the center of the workpiece, i.e. the radius value as the value of the X axis. X B A 20 15 Workpiece Z 60 80 Coordinate values of points A and B A(15.0, 80.0), B(20.0, 60.0) Fig. 1.3.3 (d) Radi
  • Page 441. GENERAL PROGRAMMING B–63084EN/02 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 45B–63084EN/02 PROGRAMMING 1. GENERAL 1.7 A group of commands given to the CNC for operating the machine is called the program. By specifying the commands, the tool is moved along PROGRAM a straight line or an arc, or the spindle motor is turned on and off. CONFIGURATION In the program, specify the co
  • Page 461. GENERAL PROGRAMMING B–63084EN/02 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 47B–63084EN/02 PROGRAMMING 1. GENERAL D Main program and When machining of the same pattern appears at many portions of a subprogram program, a program for the pattern is created. This is called the subprogram. On the other hand, the original program is called the main program. When a subprogram execu
  • Page 481. GENERAL PROGRAMMING B–63084EN/02 1.8 COMPENSATION FUNCTION Explanations D Machining using the end Usually, several tools are used for machining one workpiece. The tools of cutter – Tool length have different tool length. It is very troublesome to change the program compensation function in accord
  • Page 49B–63084EN/02 PROGRAMMING 1. GENERAL 1.9 Limit switches are installed at the ends of each axis on the machine to prevent tools from moving beyond the ends. The range in which tools can TOOL MOVEMENT move is called the stroke. Besides the stroke limits, data in memory can RANGE – STROKE be used to def
  • Page 502. CONTROLLED AXES PROGRAMMING B–63084EN/02 2 CONTROLLED AXES 30
  • Page 51B–63084EN/02 PROGRAMMING 2. CONTROLLED AXES 2.1 CONTROLLED AXES 21i–TA Item 210i–TA 210is–TA Number of basic controlled axes 2 axes Controlled axis expansion (total) Max. 4 axes (Included in Cs axis) Number of basic simultaneously 2 axes controlled axes Simultaneously controlled axis expansion Max.
  • Page 522. CONTROLLED AXES PROGRAMMING B–63084EN/02 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 53B–63084EN/02 PROGRAMMING 2. CONTROLLED AXES An axis in the metric system cannot be used together with a one in the inch system, or vice versa. In addition, some features such as circular interpolation and tool–nose radius compensation cannot be used for both axes in different units. For the unit to
  • Page 543. PREPARATORY FUNCTION (G FUNCTION) PROGRAMMING B–63084EN/02 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 553. PREPARATORY FUNCTION B–63084EN/02 PROGRAMMING (G FUNCTION) Explanations 1. If the CNC enters the clear state (see bit 6 (CLR) of parameter 3402) when the power is turned on or the CNC is reset, the modal G codes change as follows. (1) G codes marked with in Table 3 are enabled. (2) When the syste
  • Page 563. PREPARATORY FUNCTION (G FUNCTION) PROGRAMMING B–63084EN/02 Table 3 G code list (1/2) 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 Circular inter
  • Page 573. PREPARATORY FUNCTION B–63084EN/02 PROGRAMMING (G FUNCTION) Table 3 G code list (2/2) G code Group Function A B C G52 G52 G52 Local coordinate system setting 00 G53 G53 G53 Machine coordinate system setting G54 G54 G54 Workpiece coordinate system 1 selection G55 G55 G55 Workpiece coordinate system
  • Page 584. INTERPOLATION FUNCTIONS PROGRAMMING B–63084EN/02 4 INTERPOLATION FUNCTIONS 38
  • Page 59B–63084EN/02 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 604. INTERPOLATION FUNCTIONS PROGRAMMING B–63084EN/02 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 61B–63084EN/02 PROGRAMMING 4. INTERPOLATION FUNCTIONS 4.2 Tools can move along a line. LINEAR INTERPOLATION (G01) Format G01 IP_F_; IP_: For an absolute command, the coordinates of an end point , and for an incremental command, the distance the tool moves. F_: Speed of tool feed (Feedrate) Explanation
  • Page 624. INTERPOLATION FUNCTIONS PROGRAMMING B–63084EN/02 4.3 The command below will move a tool along a circular arc. CIRCULAR INTERPOLATION (G02, G03) Format Arc in the XpYp plane G17 G02 I_J_ F_ Xp_Yp_ G03 R_ Arc in the ZpXp plane G02 I_K_ G18 Xp_Zp_ F_ G03 R_ Arc in the YpZp plane G02 J_K_ F_ G19 Yp_Z
  • Page 63B–63084EN/02 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 define
  • Page 644. INTERPOLATION FUNCTIONS PROGRAMMING B–63084EN/02 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 65B–63084EN/02 PROGRAMMING 4. INTERPOLATION FUNCTIONS D Specifying a semicircle If an arc having a central angle approaching 180 is specified with R, the with R calculation of the center coordinates may produce an error. In such a case, specify the center of the arc with I, J, and K. Examples D Comman
  • Page 664. INTERPOLATION FUNCTIONS PROGRAMMING B–63084EN/02 4.4 Polar coordinate interpolation is a function that exercises contour control in converting a command programmed in a Cartesian coordinate system POLAR COORDINATE to the movement of a linear axis (movement of a tool) and the movement INTERPOLATIO
  • Page 67B–63084EN/02 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 684. INTERPOLATION FUNCTIONS PROGRAMMING B–63084EN/02 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 69B–63084EN/02 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 704. INTERPOLATION FUNCTIONS PROGRAMMING B–63084EN/02 4.5 The amount of travel of a rotary axis specified by an angle is once internally converted to a distance of a linear axis along the outer surface CYLINDRICAL so that linear interpolation or circular interpolation can be performed with INTERPOLATI
  • Page 71B–63084EN/02 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 724. INTERPOLATION FUNCTIONS PROGRAMMING B–63084EN/02 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 73B–63084EN/02 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 744. INTERPOLATION FUNCTIONS PROGRAMMING B–63084EN/02 4.6 Tapered screws and scroll threads in addition to equal lead straight threads can be cut by using a G32 command. CONSTANT LEAD The spindle speed is read from the position coder on the spindle in real THREADING (G32) time and converted to a cutti
  • Page 75B–63084EN/02 PROGRAMMING 4. INTERPOLATION FUNCTIONS X Tapered thread LX α Z LZ αx45° lead is LZ αy45° lead is LX Fig. 4.6 (e) LZ and LX of a tapered thread In general, the lag of the servo system, etc. will produce somewhat incorrect leads at the starting and ending points of a thread cut. To compen
  • Page 764. INTERPOLATION FUNCTIONS PROGRAMMING B–63084EN/02 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 77B–63084EN/02 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 784. INTERPOLATION FUNCTIONS PROGRAMMING B–63084EN/02 4.7 Specifying an increment or a decrement value for a lead per screw revolution enables variable–lead thread cutting to be performed. VARIABLE–LEAD THREAD CUTTING (G34) Fig. 4.7 Variable–lead screw Format G34 IP_F_K_; IP : End point F : Lead in lo
  • Page 79B–63084EN/02 PROGRAMMING 4. INTERPOLATION FUNCTIONS 4.8 This function for continuous thread cutting is such that fractional pulses output to a joint between move blocks are overlapped with the next move CONTINUOUS for pulse processing and output (block overlap) . THREAD CUTTING Therefore, discontinu
  • Page 804. INTERPOLATION FUNCTIONS PROGRAMMING B–63084EN/02 4.9 Using the Q address to specify an angle between the one–spindle–rotation signal and the start of threading shifts the threading start angle, making MULTIPLE–THREAD it possible to produce multiple–thread screws with ease. CUTTING Multiple–thread
  • Page 81B–63084EN/02 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 ; 61
  • Page 824. INTERPOLATION FUNCTIONS PROGRAMMING B–63084EN/02 4.10 Linear interpolation can be commanded by specifying axial move following the G31 command, like G01. If an external skip signal is input SKIP FUNCTION during the execution of this command, execution of the command is (G31) interrupted and the n
  • Page 83B–63084EN/02 PROGRAMMING 4. INTERPOLATION FUNCTIONS Examples D The next block to G31 is an incremental command U50.0 G31 W100.0 F100; U50.0; Skip signal is input here 50.0 X W100 100.0 Actual motion Motion without skip signal Z Fig.4.10(a) The next block is an incremental command D The next block to
  • Page 844. INTERPOLATION FUNCTIONS PROGRAMMING B–63084EN/02 4.11 In a block specifying P1 to P4 after G31, the multistage skip function stores coordinates in a custom macro variable when a skip signal (4–point MULTISTAGE SKIP or 8–point ; 8–point when a high–speed skip signal is used) is turned on. Paramete
  • Page 85B–63084EN/02 PROGRAMMING 4. INTERPOLATION FUNCTIONS 4.12 With the motor torque limited (for example, by a torque limit command, issued through the PMC window), a move command following G31 P99 TORQUE LIMIT SKIP (or G31 P98) can cause the same type of cutting feed as with G01 (linear (G31 P99) interp
  • Page 864. INTERPOLATION FUNCTIONS PROGRAMMING B–63084EN/02 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 87B–63084EN/02 PROGRAMMING 5. FEED FUNCTIONS 5 FEED FUNCTIONS 67
  • Page 885. FEED FUNCTIONS PROGRAMMING B–63084EN/02 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 89B–63084EN/02 PROGRAMMING 5. FEED FUNCTIONS D Tool path in a cutting If the direction of movement changes between specified blocks during feed cutting feed, a rounded–corner path may result (Fig. 5.1 (b)). X Programmed path Actual tool path 0 Z Fig. 5.1 (b) Example of tool path between two blocks In
  • Page 905. FEED FUNCTIONS PROGRAMMING B–63084EN/02 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 91B–63084EN/02 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 925. FEED FUNCTIONS PROGRAMMING B–63084EN/02 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 93B–63084EN/02 PROGRAMMING 6. REFERENCE POSITION 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. 73
  • Page 946. REFERENCE POSITION PROGRAMMING B–63084EN/02 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 95B–63084EN/02 PROGRAMMING 6. REFERENCE POSITION 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 966. REFERENCE POSITION PROGRAMMING B–63084EN/02 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 97B–63084EN/02 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 987. COORDINATE SYSTEM PROGRAMMING B–63084EN/02 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 99B–63084EN/02 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 1007. COORDINATE SYSTEM PROGRAMMING B–63084EN/02 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 101B–63084EN/02 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 1027. COORDINATE SYSTEM PROGRAMMING B–63084EN/02 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 103B–63084EN/02 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 1047. COORDINATE SYSTEM PROGRAMMING B–63084EN/02 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 105B–63084EN/02 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 1067. COORDINATE SYSTEM PROGRAMMING B–63084EN/02 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 107B–63084EN/02 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 1087. COORDINATE SYSTEM PROGRAMMING B–63084EN/02 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 109B–63084EN/02 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 1108. COORDINATE VALUE AND DIMENSION PROGRAMMING B–63084EN/02 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 90
  • Page 1118. COORDINATE VALUE B–63084EN/02 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 1128. COORDINATE VALUE AND DIMENSION PROGRAMMING B–63084EN/02 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 1138. COORDINATE VALUE B–63084EN/02 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 1148. COORDINATE VALUE AND DIMENSION PROGRAMMING B–63084EN/02 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 115B–63084EN/02 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 1169. SPINDLE SPEED FUNCTION PROGRAMMING B–63084EN/02 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 117B–63084EN/02 PROGRAMMING 9. SPINDLE SPEED FUNCTION 9.3 Specify the surface speed (relative speed between the tool and workpiece) following S. The spindle is rotated so that the surface speed is constant CONSTANT regardless of the position of the tool. SURFACE SPEED CONTROL (G96, G97) Format D Consta
  • Page 1189. SPINDLE SPEED FUNCTION PROGRAMMING B–63084EN/02 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 119B–63084EN/02 PROGRAMMING 9. SPINDLE SPEED FUNCTION D Surface speed specified in the G96 mode G96 mode G97 mode Specify the surface speed in m/min (or feet/min) G97 command Store the surface speed in m/min (or feet/min) Specified Command for The specified the spindle spindle speed speed (rpm) is used
  • Page 1209. SPINDLE SPEED FUNCTION PROGRAMMING B–63084EN/02 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 121B–63084EN/02 PROGRAMMING 9. SPINDLE SPEED FUNCTION 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 1229. SPINDLE SPEED FUNCTION PROGRAMMING B–63084EN/02 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 123B–63084EN/02 PROGRAMMING 9. SPINDLE SPEED FUNCTION 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 1249. SPINDLE SPEED FUNCTION PROGRAMMING B–63084EN/02 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 125B–63084EN/02 PROGRAMMING 9. SPINDLE SPEED FUNCTION 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 1269. SPINDLE SPEED FUNCTION PROGRAMMING B–63084EN/02 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 127B–63084EN/02 PROGRAMMING 10. TOOL FUNCTION (T FUNCTION) 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. 107
  • Page 12810. TOOL FUNCTION (T FUNCTION) PROGRAMMING B–63084EN/02 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 129B–63084EN/02 PROGRAMMING 10. TOOL FUNCTION (T FUNCTION) 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 13010. TOOL FUNCTION (T FUNCTION) PROGRAMMING B–63084EN/02 Explanations D Specification by duration A tool life is specified either as the time of use (in minutes) or the or number of times the frequency of use, which depends on the parameter setting parameter No. tool has been used 6800#2(LTM) . Up to
  • Page 131B–63084EN/02 PROGRAMMING 10. TOOL FUNCTION (T FUNCTION) 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 13210. TOOL FUNCTION (T FUNCTION) PROGRAMMING B–63084EN/02 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 133B–63084EN/02 PROGRAMMING 10. TOOL FUNCTION (T FUNCTION) 10.2.3 Specifying a Tool In machining programs, T codes are used to specify tool groups as follows: Group in a Machining Program Tape format Meaning Tnn99; Ends the tool used by now, and starts to use the tool of the ∆∆group. ”99” distinguishes
  • Page 13411. AUXILIARY FUNCTION PROGRAMMING B–63084EN/02 11 AUXILIARY FUNCTION There are two types of auxiliary functions ; miscellaneous function (M code) for specifying spindle start, spindle stop program end, and so on, and secondary auxiliary function (B code ) . When a move command and miscellaneous fun
  • Page 135B–63084EN/02 PROGRAMMING 11. AUXILIARY FUNCTION 11.1 When address M followed by a number is specified, a code signal and AUXILIARY strobe signal are transmitted. These signals are used for turning on/off the FUNCTION power to the machine. (M FUNCTION) In general, only one M code is valid in a block
  • Page 13611. AUXILIARY FUNCTION PROGRAMMING B–63084EN/02 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 137B–63084EN/02 PROGRAMMING 11. AUXILIARY FUNCTION 11.3 Indexing of the table is performed by address B and a following 8–digit number. The relationship between B codes and the corresponding THE SECOND indexing differs between machine tool builders. AUXILIARY Refer to the manual issued by the machine t
  • Page 13812. PROGRAM CONFIGURATION PROGRAMMING B–63084EN/02 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 139B–63084EN/02 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 14012. PROGRAM CONFIGURATION PROGRAMMING B–63084EN/02 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 141B–63084EN/02 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 14212. PROGRAM CONFIGURATION PROGRAMMING B–63084EN/02 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 143B–63084EN/02 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 14412. PROGRAM CONFIGURATION PROGRAMMING B–63084EN/02 D Sequence number and A program consists of several commands. One command unit is called a block block. One block is separated from another with an EOB of end of block code. Table 12.2(a) EOB code Name ISO EIA Notation in this code code manual End o
  • Page 145B–63084EN/02 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 14612. PROGRAM CONFIGURATION PROGRAMMING B–63084EN/02 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 147B–63084EN/02 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 14812. PROGRAM CONFIGURATION PROGRAMMING B–63084EN/02 D Program end The end of a program is indicated by punching one of the following codes at the end of the program: Table 12.2(d) Code of a program end Code Meaning usage M02 For main program M30 M99 For subprogram If one of the program end codes is e
  • Page 149B–63084EN/02 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 15012. PROGRAM CONFIGURATION PROGRAMMING B–63084EN/02 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 151B–63084EN/02 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 15213. FUNCTIONS TO SIMPLIFY PROGRAMMING PROGRAMMING B–63084EN/02 13 FUNCTIONS TO SIMPLIFY PROGRAMMING General This chapter explains the following items: 13.1 CANNED CYCLE (G90, G92, G94) 13.2 MULTIPLE REPETITIVE CYCLE (G70 – G76) 13.3 CANNED CYCLE FOR DRILLING (G80 – G89) 13.4 CHAMFERING AND CORNER R
  • Page 15313. FUNCTIONS TO SIMPLIFY B–63084EN/02 PROGRAMMING PROGRAMMING 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 15413. FUNCTIONS TO SIMPLIFY PROGRAMMING PROGRAMMING B–63084EN/02 D Taper cutting cycle G90X(U)__ Z(W)__ R__ F__ ; R…Rapid traverse F…Specified by F code X axis 4(R) U/2 3(F) 1(R) 2(F) R X/2 W Z Z axis Fig. 13.1.1(b) Taper cutting cycle D Signs of numbers In incremental programming, the relationship be
  • Page 15513. FUNCTIONS TO SIMPLIFY B–63084EN/02 PROGRAMMING PROGRAMMING 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 15613. FUNCTIONS TO SIMPLIFY PROGRAMMING PROGRAMMING B–63084EN/02 WARNING Notes on this thread cutting are the same as in thread cutting in G32. However, a stop by feed hold is as follows ; Stop after completion of path 3 of thread cutting cycle. CAUTION The tool retreats while chamfering and returns t
  • Page 15713. FUNCTIONS TO SIMPLIFY B–63084EN/02 PROGRAMMING PROGRAMMING 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 15813. FUNCTIONS TO SIMPLIFY PROGRAMMING PROGRAMMING B–63084EN/02 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 15913. FUNCTIONS TO SIMPLIFY B–63084EN/02 PROGRAMMING PROGRAMMING 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 16013. FUNCTIONS TO SIMPLIFY PROGRAMMING PROGRAMMING B–63084EN/02 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 16113. FUNCTIONS TO SIMPLIFY B–63084EN/02 PROGRAMMING PROGRAMMING 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 16213. FUNCTIONS TO SIMPLIFY PROGRAMMING PROGRAMMING B–63084EN/02 D Face cutting cycle (G94) Shape of material Shape of product D Face taper cutting cycle (G94) Shape of material Shape of product 142
  • Page 16313. FUNCTIONS TO SIMPLIFY B–63084EN/02 PROGRAMMING PROGRAMMING 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 16413. FUNCTIONS TO SIMPLIFY PROGRAMMING PROGRAMMING B–63084EN/02 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 16513. FUNCTIONS TO SIMPLIFY B–63084EN/02 PROGRAMMING PROGRAMMING 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 16613. FUNCTIONS TO SIMPLIFY PROGRAMMING PROGRAMMING B–63084EN/02 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 16713. FUNCTIONS TO SIMPLIFY B–63084EN/02 PROGRAMMING PROGRAMMING 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 16813. FUNCTIONS TO SIMPLIFY PROGRAMMING PROGRAMMING B–63084EN/02 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 16913. FUNCTIONS TO SIMPLIFY B–63084EN/02 PROGRAMMING PROGRAMMING 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 17013. FUNCTIONS TO SIMPLIFY PROGRAMMING PROGRAMMING B–63084EN/02 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 17113. FUNCTIONS TO SIMPLIFY B–63084EN/02 PROGRAMMING PROGRAMMING Pattern Repeating (G73) 16 B X axis 16 110 130 14 2 ÅÅ Z axis ÅÅ 0 φ180 φ160 φ120 φ80 ÅÅ ÅÅ 2 14 ÅÅ ÅÅ 20 220 (Diameter designation, metric input) N010 G50 X260.0 Z220.0 ; N011 G00 X220.0 Z160.0 ; N012 G73 U14.0 W14.0 R3 ; N013 G73 P014
  • Page 17213. FUNCTIONS TO SIMPLIFY PROGRAMMING PROGRAMMING B–63084EN/02 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 17313. FUNCTIONS TO SIMPLIFY B–63084EN/02 PROGRAMMING PROGRAMMING 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 17413. FUNCTIONS TO SIMPLIFY PROGRAMMING PROGRAMMING B–63084EN/02 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 154
  • Page 17513. FUNCTIONS TO SIMPLIFY B–63084EN/02 PROGRAMMING PROGRAMMING Tool tip ÅÅÅÅÅÅÅÅÅ ÅÅÅÅÅÅÅÅÅ B ÅÅÅÅÅÅÅÅÅ ∆d ÅÅÅÅÅÅÅÅÅ a ∆pn ÅÅÅÅÅÅÅÅÅ 1st k 2nd ÅÅÅÅÅÅÅÅÅ 3rd nth ÅÅÅÅÅÅÅÅÅ ÅÅÅÅÅÅÅÅÅ d G76P (m) (r) (a) Q (∆d min) R(d); G76X (u) _ Z(W) _ R(i) P(k) Q(∆d) F(L) ; m ; Repetitive count in finishing (1 to 99
  • Page 17613. FUNCTIONS TO SIMPLIFY PROGRAMMING PROGRAMMING B–63084EN/02 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 17713. FUNCTIONS TO SIMPLIFY B–63084EN/02 PROGRAMMING PROGRAMMING Examples Multiple repetitive cycle (G76) X axis ÔÔÔ ÅÅÅ ÅÅÅ 0 1.8 ÅÅÅ ÔÔÔ 1.8 3.68 ϕ68 ϕ60.64 Z axis ÅÅ 6 G76 P011060 Q100 R200 ; G76 X60640 Z25000 P3680 Q1800 F6.0 ; 25 105 D Staggered thread cutting Specifying P2 can perform staggered
  • Page 17813. FUNCTIONS TO SIMPLIFY PROGRAMMING PROGRAMMING B–63084EN/02 Tool nose (Ǹ2⋅Ǹ4) D/2 (Ǹ 4⋅ Ǹ6) D/2 Hn a Ǹ2⋅D 2 H1 Ǹ2⋅D K Ǹ4⋅D H2 H3 H4 H5 H6 H7 H8 α (Finishing allowance) H9 Staggered thread cutting with a constant depth of cut 158
  • Page 17913. FUNCTIONS TO SIMPLIFY B–63084EN/02 PROGRAMMING PROGRAMMING 13.2.8 Notes on Multiple 1. In the blocks where the multiple repetitive cycle are commanded, the Repetitive Cycle addresses P, Q, X, Z, U, W, and R should be specified correctly for each (G70 – G76) block. 2. In the block which is specif
  • Page 18013. FUNCTIONS TO SIMPLIFY PROGRAMMING PROGRAMMING B–63084EN/02 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 JI
  • Page 18113. FUNCTIONS TO SIMPLIFY B–63084EN/02 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 18213. FUNCTIONS TO SIMPLIFY PROGRAMMING PROGRAMMING B–63084EN/02 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 18313. FUNCTIONS TO SIMPLIFY B–63084EN/02 PROGRAMMING PROGRAMMING CAUTION 1 In each canned cycle, R_ (distance between the initial level and point R) is always handled as a radius. Z_ or X_ (distance between point R and the bottom of the hole) is, however, handled either as a diameter or radius, depend
  • Page 18413. FUNCTIONS TO SIMPLIFY PROGRAMMING PROGRAMMING B–63084EN/02 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 18513. FUNCTIONS TO SIMPLIFY B–63084EN/02 PROGRAMMING PROGRAMMING D Peck drilling cycle (G83, G87) (parameter No. 5101#2 =1) Format G83 X(U)_ C(H)_ Z(W)_ R_ Q_ P_ F_ M_ K_ ; or G87 Z(W)_ C(H)_ X(U)_ R_ Q_ P_ F_ M_ K_ ; X_ C_ or Z_ C_ : Hole position data Z_ or X_ : The distance from point R to the bott
  • Page 18613. FUNCTIONS TO SIMPLIFY PROGRAMMING PROGRAMMING B–63084EN/02 D Drilling cycle If depth of cut is not specified for each drilling, the normal drilling cycle (G83 or G87) is used. The tool is then retracted from the bottom of the hole in rapid traverse. Format G83 X(U)_ C(H)_ Z(W)_ R_ P_ F_ M_ K_ ;
  • Page 18713. FUNCTIONS TO SIMPLIFY B–63084EN/02 PROGRAMMING PROGRAMMING 13.3.2 This cycle performs tapping. Front Tapping Cycle In this tapping cycle, when the bottom of the hole has been reached, the spindle is rotated in the reverse direction. (G84) / Side Tapping Cycle (G88) Format G84 X(U)_ C(H)_ Z(W)_ R
  • Page 18813. FUNCTIONS TO SIMPLIFY PROGRAMMING PROGRAMMING B–63084EN/02 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 18913. FUNCTIONS TO SIMPLIFY B–63084EN/02 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 19013. FUNCTIONS TO SIMPLIFY PROGRAMMING PROGRAMMING B–63084EN/02 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 19113. FUNCTIONS TO SIMPLIFY B–63084EN/02 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 19213. FUNCTIONS TO SIMPLIFY PROGRAMMING PROGRAMMING B–63084EN/02 13.4 A chamfer or corner can be inserted between two blocks which intersect at a right angle as follows : CHAMFERING AND CORNER R D Chamfering Z→X Format Tool movement G01 Z(W) _ I (C) ±i ; +x Specifies movement to point b with an absolu
  • Page 19313. FUNCTIONS TO SIMPLIFY B–63084EN/02 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.4(d) Co
  • Page 19413. FUNCTIONS TO SIMPLIFY PROGRAMMING PROGRAMMING B–63084EN/02 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 19513. FUNCTIONS TO SIMPLIFY B–63084EN/02 PROGRAMMING PROGRAMMING 13.5 MIRROR IMAGE FOR DOUBLE TURRET (G68, G69) Format G68 : Double turret mirror image on G69 : Mirror image cancel Explanations Mirror image can be applied to X–axis with G code. When G68 is designated, the coordinate system is shifted
  • Page 19613. FUNCTIONS TO SIMPLIFY PROGRAMMING PROGRAMMING B–63084EN/02 13.6 Angles of straight lines, chamfering value, corner rounding values, and other dimensional values on machining drawings can be programmed by DIRECT DRAWING directly inputting these values. In addition, the chamfering and corner DIMEN
  • Page 19713. FUNCTIONS TO SIMPLIFY B–63084EN/02 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 19813. FUNCTIONS TO SIMPLIFY PROGRAMMING PROGRAMMING B–63084EN/02 Explanations A program for machining along the curve shown in Fig. 13.6 (a) is as follows : +X X (x2) Z (z2) , C (c1) ; a3 X (x3) Z (z3) , R (r2) ; X (x4) Z (z4) ; (x3, z3) +Z (x4, z4) o r2 a2 ,Ar(a1) , C (c1) ; X (x3) Z (z3) , A (a2) ,
  • Page 19913. FUNCTIONS TO SIMPLIFY B–63084EN/02 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 20013. FUNCTIONS TO SIMPLIFY PROGRAMMING PROGRAMMING B–63084EN/02 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 20113. FUNCTIONS TO SIMPLIFY B–63084EN/02 PROGRAMMING PROGRAMMING 13.7 Front face tapping cycles (G84) and side face tapping cycles (G88) can be performed either in conventional mode or rigid mode. RIGID TAPPING In conventional mode, the spindle is rotated or stopped, in synchronization with the motion
  • Page 20213. FUNCTIONS TO SIMPLIFY PROGRAMMING PROGRAMMING B–63084EN/02 13.7.1 Controlling the spindle motor in the same way as a servo motor in rigid Front Face Rigid mode enables high–speed tapping. Tapping Cycle (G84) / Side Face Rigid Tapping Cycle (G88) Format G84 X(U)_ C(H)_ Z(W)_ R_ P_ F_ M_ K_ ; or G
  • Page 20313. FUNCTIONS TO SIMPLIFY B–63084EN/02 PROGRAMMING PROGRAMMING D Screw lead In feed per minute mode, the feedrate divided by the spindle speed is equal to the screw lead. In feed per rotation mode, the feedrate is equal to the screw lead. Limitations D S commands When a value exceeding the maximum r
  • Page 20413. FUNCTIONS TO SIMPLIFY PROGRAMMING PROGRAMMING B–63084EN/02 Examples Tapping axis feedrate: 1000 mm/min Spindle speed: 1000 rpm Screw lead: 1.0 mm G98 ; Command for feed per minute G00 X100.0 ; Positioning M29 S1000 ; Command for specifying rigid mode G84 Z–100.0
  • Page 205B–63084EN/02 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 TOOL COMPENSATION VALUES, NUMBER OF COMPENSATION
  • Page 20614. COMPENSATION FUNCTION PROGRAMMING B–63084EN/02 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 207B–63084EN/02 PROGRAMMING 14. COMPENSATION FUNCTION 14.1.2 There are two methods for specifying a T code as shown in Table 14.1.2(a) T Code for Tool Offset and Table 14.1.2(b). Format D Lower digit of T code Table 14.1.2(a) specifies geometry and wear offset number Kind of Meaning of T code Parameter
  • Page 20814. COMPENSATION FUNCTION PROGRAMMING B–63084EN/02 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 209B–63084EN/02 PROGRAMMING 14. COMPENSATION FUNCTION Parameter LVC (No.5003#6) can be set so that offset will not be cancelled by pressing the reset key or by reset input. D Only T code When only a T code is specified in a block, the tool is moved by the wear offset value without a move command. The m
  • Page 21014. COMPENSATION FUNCTION PROGRAMMING B–63084EN/02 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 211B–63084EN/02 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 21214. COMPENSATION FUNCTION PROGRAMMING B–63084EN/02 D Manual reference Executing manual reference position return when tool offset is applied position return when tool does not cancel the tool position offset vector. The absolute position offset is applied display is as follows, however, according to
  • Page 213B–63084EN/02 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 21414. COMPENSATION FUNCTION PROGRAMMING B–63084EN/02 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 215B–63084EN/02 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 21614. COMPENSATION FUNCTION PROGRAMMING B–63084EN/02 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 217B–63084EN/02 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 21814. COMPENSATION FUNCTION PROGRAMMING B–63084EN/02 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 219B–63084EN/02 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 Geome- OFGX OFGZ OFGR OFT OFGY try (X–axis (Z–axis (Tool nose (Imaginary (Y–axis offse
  • Page 22014. COMPENSATION FUNCTION PROGRAMMING B–63084EN/02 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 221B–63084EN/02 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) If the tool nose radius compensation value is negati
  • Page 22214. COMPENSATION FUNCTION PROGRAMMING B–63084EN/02 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 223B–63084EN/02 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 22414. COMPENSATION FUNCTION PROGRAMMING B–63084EN/02 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 225B–63084EN/02 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 22614. COMPENSATION FUNCTION PROGRAMMING B–63084EN/02 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 227B–63084EN/02 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 207
  • Page 22814. COMPENSATION FUNCTION PROGRAMMING B–63084EN/02 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 229B–63084EN/02 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 23014. COMPENSATION FUNCTION PROGRAMMING B–63084EN/02 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 231B–63084EN/02 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 23214. COMPENSATION FUNCTION PROGRAMMING B–63084EN/02 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 233B–63084EN/02 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 23414. COMPENSATION FUNCTION PROGRAMMING B–63084EN/02 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 235B–63084EN/02 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 23614. COMPENSATION FUNCTION PROGRAMMING B–63084EN/02 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 237B–63084EN/02 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 23814. COMPENSATION FUNCTION PROGRAMMING B–63084EN/02 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 239B–63084EN/02 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 24014. COMPENSATION FUNCTION PROGRAMMING B–63084EN/02 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 241B–63084EN/02 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 24214. COMPENSATION FUNCTION PROGRAMMING B–63084EN/02 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 243B–63084EN/02 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 24414. COMPENSATION FUNCTION PROGRAMMING B–63084EN/02 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 245B–63084EN/02 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 24614. COMPENSATION FUNCTION PROGRAMMING B–63084EN/02 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 247B–63084EN/02 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 24814. COMPENSATION FUNCTION PROGRAMMING B–63084EN/02 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 249B–63084EN/02 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 25014. COMPENSATION FUNCTION PROGRAMMING B–63084EN/02 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 251B–63084EN/02 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 25214. COMPENSATION FUNCTION PROGRAMMING B–63084EN/02 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 253B–63084EN/02 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 25414. COMPENSATION FUNCTION PROGRAMMING B–63084EN/02 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 255B–63084EN/02 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 25614. COMPENSATION FUNCTION PROGRAMMING B–63084EN/02 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 257B–63084EN/02 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 25814. COMPENSATION FUNCTION PROGRAMMING B–63084EN/02 14.3.10 G53, G28, G30, and D When a G53 command is executed in tool–tip radius compensation G30.1 Commands in mode, the tool–tip radius compensation vector is automatically canceled before positioning, that vector being automatically restored Tool–t
  • Page 259B–63084EN/02 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 26014. COMPENSATION FUNCTION PROGRAMMING B–63084EN/02 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 261B–63084EN/02 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 26214. COMPENSATION FUNCTION PROGRAMMING B–63084EN/02 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 263B–63084EN/02 PROGRAMMING 14. COMPENSATION FUNCTION S G28, G30, or G30.1 - When bit 2 (CCN) of parameter No. 5003 is set to 0 command in offset mode (with movement to both Intermediate position O×××× ; an intermediate position G91 G41_ ; s G28/30/30.1 s s G01 and reference position : performed) G28 X
  • Page 26414. COMPENSATION FUNCTION PROGRAMMING B–63084EN/02 S G28, G30, or G30.1 - When bit 2 (CCN) of parameter No. 5003 is set to 0 command in offset mode (with movement to a Start–up reference position not performed) r r (G41 G01) s s G01 O×××× ; G91 G41_ ; G00 : G28/30/30.1 G28 X40. Y–40. ; : s Reference
  • Page 265B–63084EN/02 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 26614. COMPENSATION FUNCTION PROGRAMMING B–63084EN/02 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 267B–63084EN/02 PROGRAMMING 14. COMPENSATION FUNCTION 14.4 Tool compensation values include tool geometry compensation values and tool wear compensation (Fig. 14.4 (a)). TOOL Tool compensation can be specified without differentiating compensation COMPENSATION for tool geometry from that for tool wear.
  • Page 26814. COMPENSATION FUNCTION PROGRAMMING B–63084EN/02 14.4.2 Offset values can be input by a program using the following command : Changing of Tool Offset Value (Programmable Data Input) (G10) Format G10 P_ X_ Y_ Z_ R_ Q_ ; or G10 P_ U_ V_ W_ C_ Q_ ; P : Offset number 0 : Command of work coordinate sys
  • Page 269B–63084EN/02 PROGRAMMING 14. COMPENSATION FUNCTION 14.5 When a tool is moved to the measurement position by execution of a command given to the CNC, the CNC automatically measures the AUTOMATIC TOOL difference between the current coordinate value and the coordinate value OFFSET (G36, G37) of the com
  • Page 27014. COMPENSATION FUNCTION PROGRAMMING B–63084EN/02 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 271B–63084EN/02 PROGRAMMING 14. COMPENSATION FUNCTION G36 X200.0 ; Moves to the measurement position If the tool has reached the measurement position at X198.0 ; since the correct measurement position is 200 mm, the offset value is altered by 198.0–200.0=–2.0mm. G00 X204.0 ; Refracts a little along the
  • Page 27215. CUSTOM MACRO PROGRAMMING B–63084EN/02 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 273B–63084EN/02 PROGRAMMING 15. CUSTOM MACRO 15.1 An ordinary machining program specifies a G code and the travel distance directly with a numeric value; examples are G100 and X100.0. VARIABLES With a custom macro, numeric values can be specified directly or using a variable number. When a variable num
  • Page 27415. CUSTOM MACRO PROGRAMMING B–63084EN/02 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 275B–63084EN/02 PROGRAMMING 15. CUSTOM MACRO (b)Operation < vacant > is the same as 0 except when replaced by < vacant> When #1 = < vacant > When #1 = 0 #2 = #1 #2 = #1 # # #2 = < vacant > #2 = 0 #2 = #1*5 #2 = #1*5 # # #2 = 0 #2 = 0 #2 = #1+#1 #2 = #1 + #1 # # #2 = 0 #2 = 0 (c) Conditional expressions
  • Page 27615. CUSTOM MACRO PROGRAMMING B–63084EN/02 D Displaying variable values VARIABLE O1234 N12345 NO. DATA NO. DATA 100 123.456 108 101 0.000 109 102 110 103 ******** 111 104 112 105 113 106 114 107 115 ACTUAL POSITION (RELATIVE) X 0.000 Y 0.000 Z 0.000 B 0.000 MEM **** *** *** 18:42:15 [ MACRO ] [ MENU
  • Page 277B–63084EN/02 PROGRAMMING 15. CUSTOM MACRO 15.2 System variables can be used to read and write internal NC data such as tool compensation values and current position data. Note, however, that SYSTEM VARIABLES some system variables can only be read. System variables are essential for automation and ge
  • Page 27815. CUSTOM MACRO PROGRAMMING B–63084EN/02 D Macro alarms Table 15.2 (d) System variable for macro alarms Variable Function number #3000 When a value from 0 to 200 is assigned to variable #3000, the CNC stops with an alarm. After an expression, an alarm mes- sage not longer than 26 characters can be
  • Page 279B–63084EN/02 PROGRAMMING 15. CUSTOM MACRO 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 28015. CUSTOM MACRO PROGRAMMING B–63084EN/02 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 281B–63084EN/02 PROGRAMMING 15. CUSTOM MACRO 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 28215. CUSTOM MACRO PROGRAMMING B–63084EN/02 D Current position Position information cannot be written but can be read. Table 15.2 (j) System variables for position information Variable Position Coordinate Tool com- Read number information system pensation operation value during movement #5001–#5004 Bl
  • Page 283B–63084EN/02 PROGRAMMING 15. CUSTOM MACRO D Workpiece coordinate Workpiece zero point offset values can be read and written. system compensation Table 15.2(k) System variables for workpiece zero point values (workpiece zero offset values point offset values) Variable Function number #5201 First–axis
  • Page 28415. CUSTOM MACRO PROGRAMMING B–63084EN/02 15.3 The operations listed in Table 15.3(a) can be performed on variables. The expression to the right of the operator can contain constants and/or ARITHMETIC AND variables combined by a function or operator. Variables #j and #K in an LOGIC OPERATION express
  • Page 285B–63084EN/02 PROGRAMMING 15. CUSTOM MACRO 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 28615. CUSTOM MACRO PROGRAMMING B–63084EN/02 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 287B–63084EN/02 PROGRAMMING 15. CUSTOM MACRO 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 28815. CUSTOM MACRO PROGRAMMING B–63084EN/02 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 289B–63084EN/02 PROGRAMMING 15. CUSTOM MACRO 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 29015. CUSTOM MACRO PROGRAMMING B–63084EN/02 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 291B–63084EN/02 PROGRAMMING 15. CUSTOM MACRO 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 29215. CUSTOM MACRO PROGRAMMING B–63084EN/02 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 293B–63084EN/02 PROGRAMMING 15. CUSTOM MACRO D Nesting The identification numbers (1 to 3) in a DO–END loop can be used as many times as desired. Note, however, when a program includes crossing repetition loops (overlapped DO ranges), P/S alarm No. 124 occurs. 1. The identification numbers 3. DO loops
  • Page 29415. CUSTOM MACRO PROGRAMMING B–63084EN/02 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; 274
  • Page 295B–63084EN/02 PROGRAMMING 15. CUSTOM MACRO 15.6 A macro program can be called using the following methods: MACRO CALL Macro call Simple call ((G65) modal call (G66, G67) Macro call with G code Macro call with M code Subprogram call with M code Subprogram call with T code Restrictions D Differences be
  • Page 29615. CUSTOM MACRO PROGRAMMING B–63084EN/02 15.6.1 When G65 is specified, the custom macro specified at address P is called. Simple Call (G65) Data (argument) can be passed to the custom macro program. G65 P_ L_ ; P_ : Number of the program to call L_ : Repetition count (1 by
  • Page 297B–63084EN/02 PROGRAMMING 15. CUSTOM MACRO Argument specification II Argument specification II uses A, B, and C once each and uses I, J, and K up to ten times. Argument specification II is used to pass values such as three–dimensional coordinates as arguments. Address Variable Address Variable Addres
  • Page 29815. CUSTOM MACRO PROGRAMMING B–63084EN/02 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 299B–63084EN/02 PROGRAMMING 15. CUSTOM MACRO 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 30015. CUSTOM MACRO PROGRAMMING B–63084EN/02 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 301B–63084EN/02 PROGRAMMING 15. CUSTOM MACRO Sample program This program makes a groove at a specified position. U D Calling format G66 P9110 Uu Ff ; U: Groove depth (incremental specification) F : Cutting feed of grooving D Program that calls a O0003 ; macro program G50 X100.0 Z200.0 ; S1000 M03 ; G66
  • Page 30215. CUSTOM MACRO PROGRAMMING B–63084EN/02 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 303B–63084EN/02 PROGRAMMING 15. CUSTOM MACRO 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 30415. CUSTOM MACRO PROGRAMMING B–63084EN/02 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 305B–63084EN/02 PROGRAMMING 15. CUSTOM MACRO 15.6.6 By enabling subprograms (macro program) to be called with a T code in Subprogram Calls a parameter, a macro program can be called each time the T code is specified in the machining program. Using a T Code O0001 ; O9000 ; : : T0203 ; : : : M30 ; M99 ;
  • Page 30615. CUSTOM MACRO PROGRAMMING B–63084EN/02 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 307B–63084EN/02 PROGRAMMING 15. CUSTOM MACRO Macro program O9001(M03); . . . . . . . . . . . . . . . . . . . . . . . . . . Macro to start counting (program called) M01; IF[FIX[#4120/100] EQ 0]GOTO 9; . . . . . . . . . . . . . No tool specified IF[FIX[#4120/100] GT 5]GOTO 9; . . . . . Out–of–range tool
  • Page 30815. CUSTOM MACRO PROGRAMMING B–63084EN/02 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 309B–63084EN/02 PROGRAMMING 15. CUSTOM MACRO D Buffering the next block in tool nose radius compensation mode > N1 G01 G41 G91 Z100.0 F100 T0101 ; (G41, G42) N2 #1=100 ; > : Block being executed N3 X100.0 ; V : Blocks read into the buffer N4 #2=200 ; N5 Z50.0 ; : N1 N3 NC statement execution N2 N4 Macr
  • Page 31015. CUSTOM MACRO PROGRAMMING B–63084EN/02 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 311B–63084EN/02 PROGRAMMING 15. CUSTOM MACRO 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 31215. CUSTOM MACRO PROGRAMMING B–63084EN/02 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 313B–63084EN/02 PROGRAMMING 15. CUSTOM MACRO 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 31415. CUSTOM MACRO PROGRAMMING B–63084EN/02 Example ) DPRNT [ X#2 [53] Z#5 [53] T#30 [20] ] Variable value #2=128.47398 #5=–91.2 #30=123.456 (1) Parameter PRT(No.6001#1)=0 sp LF T sp 23 Z – sp sp sp 91.200 X sp sp sp 128.474 (2) Parameter PRT(No.6001#1)=1 LF T23 Z–91.200 X128.474 D Close command PCLOS
  • Page 315B–63084EN/02 PROGRAMMING 15. CUSTOM MACRO NOTE 1 It is not necessary to always specify the open command (POPEN), data output command (BPRNT, DPRNT), and close command (PCLOS) together. Once an open command is specified at the beginning of a program, it does not need to be specified again except afte
  • Page 31615. CUSTOM MACRO PROGRAMMING B–63084EN/02 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 317B–63084EN/02 PROGRAMMING 15. CUSTOM MACRO CAUTION When the interrupt signal (UINT, marked by * in Fig. 15.11) is input after M97 is specified, it is ignored. And the interrupt signal must not be input during execution of the interrupt program. 15.11.1 Specification Method Explanations D Interrupt co
  • Page 31815. CUSTOM MACRO PROGRAMMING B–63084EN/02 15.11.2 Details of Functions Explanations D ubprogram–type There are two types of custom macro interrupts: Subprogram–type interrupt and macro–type interrupts and macro–type interrupts. The interrupt type used is selected interrupt by MSB (bit 5 of parameter
  • Page 319B–63084EN/02 PROGRAMMING 15. CUSTOM MACRO S Type I (i) When the interrupt signal (UINT) is input, any movement or dwell (when an interrupt is being performed is stopped immediately and the interrupt program is performed even in the executed. middle of the block) (ii) If there are NC statements in th
  • Page 32015. CUSTOM MACRO PROGRAMMING B–63084EN/02 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 321B–63084EN/02 PROGRAMMING 15. CUSTOM MACRO D Custom macro interrupt There are two schemes for custom macro interrupt signal (UINT) input: signal (UINT) The status–triggered scheme and edge– triggered scheme. When the status–triggered scheme is used, the signal is valid when it is on. When the edge tr
  • Page 32215. CUSTOM MACRO PROGRAMMING B–63084EN/02 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 323B–63084EN/02 PROGRAMMING 15. CUSTOM MACRO D Custom macro interrupt A custom macro interrupt is different from a normal program call. It is and modal information initiated by an interrupt signal (UINT) during program execution. In general, any modifications of modal information made by the interrupt
  • Page 32415. CUSTOM MACRO PROGRAMMING B–63084EN/02 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 32516. PROGRAMMABLE PARAMETER B–63084EN/02 PROGRAMMING ENTRY (G10) 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 32616. PROGRAMMABLE PARAMETER ENTRY (G10) PROGRAMMING B–63084EN/02 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 32716. PROGRAMMABLE PARAMETER B–63084EN/02 PROGRAMMING ENTRY (G10) Examples 1. Set bit 2 (SPB) of bit type parameter No. 3404 G10L50 ; Parameter entry mode N3404 R 00000100 ; SBP setting G11 ; cancel parameter entry mode 2. Change the values for the Z–axis (2nd axis) and C–axis (4th axis) in axis type
  • Page 32817. MEMORY OPERATION BY Series 10/11 TAPE FORMAT PROGRAMMING B–63084EN/02 17 MEMORY OPERATION BY Series 10/11 TAPE FORMAT Programs in the Series 10/11 tape format can be registered in memory for memory operation by setting bit 1 of parameter No. 0001. Registration to memory and memory operation are
  • Page 32917. MEMORY OPERATION BY B–63084EN/02 PROGRAMMING Series 10/11 TAPE FORMAT 17.1 Some addresses which cannot be used for the this CNC can be used in the Series 10/11 tape format. The specifiable value range for the FS10/11 tape ADDRESSES AND format is basically the same as that for the this CNC. Secti
  • Page 33017. MEMORY OPERATION BY Series 10/11 TAPE FORMAT PROGRAMMING B–63084EN/02 17.2 EQUAL–LEAD THREADING Format G32IP_F_Q_; or G32IP_E_Q_; IP :Combination of axis addresses F :Lead along the longitudinal axis E :Lead along the longitudinal axis Q :Sight of the threading start angle Explanations D Address
  • Page 33117. MEMORY OPERATION BY B–63084EN/02 PROGRAMMING Series 10/11 TAPE FORMAT 17.3 SUBPROGRAM CALLING Format M98PffffLffff; P:Subprogram number L:Repetition count Explanation D Address Address L cannot be used in this CNC tape format but can be used in the FS10/11 tape format. D Subprogram number The sp
  • Page 33217. MEMORY OPERATION BY Series 10/11 TAPE FORMAT PROGRAMMING B–63084EN/02 17.4 CANNED CYCLE Format Outer / inner surface turning cycle (straight cutting cycle) G90X_Z_F_; Outer / inner surface turning cycle (taper cutting cycle) G90X_Z_I_F_; I:Length of the taper section along the X–axis (radius) Th
  • Page 33317. MEMORY OPERATION BY B–63084EN/02 PROGRAMMING Series 10/11 TAPE FORMAT 17.5 MULTIPLE REPETITIVE CANNED TURNING CYCLE Format Outer / inner surface turning cycle G71P_Q_U_W_I_K_D_F_S_T_; I : Length and direction of cutting allowance for finishing the rough machining cycle along the X–axis (ignored
  • Page 33417. MEMORY OPERATION BY Series 10/11 TAPE FORMAT PROGRAMMING B–63084EN/02 D Addresses and If the following addresses are specified in the FS10/11 tape format, they specifiable value range are ignored. D I and K for the outer/inner surface rough machining cycle (G71) D I and K for the end surface rou
  • Page 33517. MEMORY OPERATION BY B–63084EN/02 PROGRAMMING Series 10/11 TAPE FORMAT 17.6 CANNED DRILLING CYCLE FORMATS Format Drilling cycle G81X_C_Z_F_L_ ; or G82X_C_Z_R_F_L_ ; R: Distance from the initial level to the R position P: Dwell time at the bottom of the hole F: Cutting feedrate L : Number of repet
  • Page 33617. MEMORY OPERATION BY Series 10/11 TAPE FORMAT PROGRAMMING B–63084EN/02 D G code Some G codes are valid only for this CNC tape format or FS10/11 tape format. Specifying an invalid G code results in P/S alarm No. 10 being generated. G codes valid only for the Series 15 tape format G81, G82, G83.1,
  • Page 33717. MEMORY OPERATION BY B–63084EN/02 PROGRAMMING Series 10/11 TAPE FORMAT D Specifying the R position The R position is specified as an incremental value for the distance between the initial level to the R position. For the FS10/11 tape format, the parameter and the G code system used determine whet
  • Page 33817. MEMORY OPERATION BY Series 10/11 TAPE FORMAT PROGRAMMING B–63084EN/02 D Dwell with G83 and For Series 10/11–T, G83 or G83.1 does not cause the tool to dwell. For G83.1 the FS10/11 tape format, the tool dwells at the bottom of the hole only if the block contains a P address. D Dwelling with G84 a
  • Page 33918. FUNCTIONS FOR HIGH SPEED B–63084EN/02 PROGRAMMING CUTTING 18 FUNCTIONS FOR HIGH SPEED CUTTING 319
  • Page 34018. FUNCTIONS FOR HIGH SPEED CUTTING PROGRAMMING B–63084EN/02 18.1 The remote buffer function enables a large amount of data to be supplied to the CNC continuously and at high speed, by connecting a host REMOTE BUFFER computer or input/output device via a serial interface. Remote RS–232–C/RS–422 Hos
  • Page 34118. FUNCTIONS FOR HIGH SPEED B–63084EN/02 PROGRAMMING CUTTING 18.2 After a block containing only G05 is specified in normal NC format, operation can be performed by specifying movement data in the format HIGH–SPEED described below. Once zero has been specified as the amount of travel for REMOTE BUFF
  • Page 34218. FUNCTIONS FOR HIGH SPEED CUTTING PROGRAMMING B–63084EN/02 D Data for amount of travel Specify the amount of travel for each axis in the following units (specify a twos complement for a negative amount). Increment system IS–B IS–C Units Millimeter machine 0.001 0.0001 mm Inch machine 0.0001 0.000
  • Page 34318. FUNCTIONS FOR HIGH SPEED B–63084EN/02 PROGRAMMING CUTTING 18.3 During high–speed machining, the distribution processing status is monitored. When distribution processing terminates, P/S alarm No. 000 DISTRIBUTION and P/S alarm No. 179 are issued upon completion of the high–speed PROCESSING machi
  • Page 34419. AXIS CONTROL FUNCTION PROGRAMMING B–63084EN/02 19 AXIS CONTROL FUNCTION 324
  • Page 345B–63084EN/02 PROGRAMMING 19. AXIS CONTROL FUNCTION 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 34619. AXIS CONTROL FUNCTION PROGRAMMING B–63084EN/02 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 347B–63084EN/02 PROGRAMMING 19. AXIS CONTROL FUNCTION 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 34819. AXIS CONTROL FUNCTION PROGRAMMING B–63084EN/02 ÇÇÇÇÇÇÇÇ ÇÇÇÇÇÇÇÇ ÇÇÇÇÇÇÇÇ ÇÇÇÇÇÇÇÇ ÇÇÇÇÇÇÇÇ ÇÇÇÇÇÇÇÇ ÇÇÇÇÇÇÇÇ ÇÇÇÇÇÇÇÇ If three tools are set at every 120°, the machining figure will be a hexagon as shown below. ÇÇÇÇÇÇÇÇÇ ÇÇÇÇÇÇÇÇÇ ÇÇÇÇÇÇÇÇÇ ÇÇÇÇÇÇÇÇÇ ÇÇÇÇÇÇÇÇÇ ÇÇÇÇÇÇÇÇÇ ÇÇÇÇÇÇÇÇÇ ÇÇÇÇÇÇÇÇÇ ÇÇÇÇ
  • Page 349B–63084EN/02 PROGRAMMING 19. AXIS CONTROL FUNCTION WARNING 1 The starting point of the threading process becomes inconsistent when performed during synchronous operation. Cancel the synchronizing by executing G50.2 when threading. 2 The following signals become either valid or invalid in relation to
  • Page 35019. AXIS CONTROL FUNCTION PROGRAMMING B–63084EN/02 19.2 The roll–over function prevents coordinates for the rotation axis from overflowing. The roll–over function is enabled by setting bit 0 of ROTARY AXIS parameter 1008 to 1. ROLL–OVER Explanations For an incremental command, the tool moves the ang
  • Page 351B–63084EN/02 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 35219. AXIS CONTROL FUNCTION PROGRAMMING B–63084EN/02 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 353B–63084EN/02 PROGRAMMING 19. AXIS CONTROL FUNCTION 19.4 This function sets an axis (B–axis) independent of the basic controlled axes X and Z and allows drilling, boring, or other machining along the B–AXIS CONTROL B–axis, in parallel with the operations for the basic controlled axes. (G100, G101, G1
  • Page 35419. AXIS CONTROL FUNCTION PROGRAMMING B–63084EN/02 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 355B–63084EN/02 PROGRAMMING 19. AXIS CONTROL FUNCTION Explanations D Codes that can be used The following 13 G codes, and the M, S, and T codes of the miscellaneous in a B–axis operation functions, can be used in a B–axis operation program: program Code Description G00 Positioning (rapid traverse) G01
  • Page 35619. AXIS CONTROL FUNCTION PROGRAMMING B–63084EN/02 G98, G99 (feed per minute, feed per rotation) The MDF bit (bit 2 of parameter 8241) specifies an initial continuous–state G code for G110, or the G code to start registration of the operation program (G101, G102, G103). When the MDF bit is set to 0,
  • Page 357B–63084EN/02 PROGRAMMING 19. AXIS CONTROL FUNCTION 1. The value of the macro variable is calculated not from the data existing upon execution of the B–axis operation, but from the data existing at registration of the operation program. 2. An instruction that causes a branch to a location beyond the
  • Page 35819. AXIS CONTROL FUNCTION PROGRAMMING B–63084EN/02 Example) When the first, second, and third programs are started by M40, M41, and M42, respectively O1234. ; : : M40 ; M code for starting the first program M41 ; M code for starting the second program M42 ; M code for starting the third program M40
  • Page 359B–63084EN/02 PROGRAMMING 19. AXIS CONTROL FUNCTION : G110 G01 B100. F200 ; Block for single–motion operation along B–axis G00 X100. Z20. ; : D Program memory An operation program is registered in program memory as a series of different blocks of the move, dwell, auxiliary, and other functions. Progr
  • Page 36019. AXIS CONTROL FUNCTION PROGRAMMING B–63084EN/02 Example) When the MDG bit (bit 1 of parameter 8241) is set to 1 and the MDF bit (bit 2 of parameter 8241) is set to 1 G98 G00 X100. F1000 ; . . . . . . . . . (1) G110 B200. F2 ; . . . . . . . . . . . . . . . (2) X200. ; . . . . . . . . . . . . . . .
  • Page 361B–63084EN/02 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 36219. AXIS CONTROL FUNCTION PROGRAMMING B–63084EN/02 19.5 When the angular axis makes an angle other than 90° with the perpendicular axis, the angular axis control function controls the distance ANGULAR AXIS traveled along each axis according to the inclination angle. For the CONTROL / ordinary angula
  • Page 363B–63084EN/02 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 36420. PATTERN DATA INPUT FUNCTION PROGRAMMING B–63084EN/02 20 PATTERN DATA INPUT FUNCTION This function enables users to perform programming simply by extracting numeric data (pattern data) from a drawing and specifying the numerical values from the MDI panel. This eliminates the need for programming
  • Page 36520. PATTERN DATA INPUT B–63084EN/02 PROGRAMMING FUNCTION 20.1 Pressing the OFFSET SETTING key and [MENU] is displayed on the following DISPLAYING THE pattern menu screen. PATTERN MENU MENU : HOLE PATTERN O0000 N00000 1. BOLT HOLE 2. GRID 3. LINE ANGLE 4. TAPPING 5. DRILLING 6. BORING 7. POCKET 8. PE
  • Page 36620. PATTERN DATA INPUT FUNCTION PROGRAMMING B–63084EN/02 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 36720. PATTERN DATA INPUT B–63084EN/02 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 36820. PATTERN DATA INPUT FUNCTION PROGRAMMING B–63084EN/02 Example Custom macros for the menu title and hole pattern names. MENU : HOLE PATTERN O0000 N00000 1. BOLT HOLE 2. GRID 3. LINE ANGLE 4. TAPPING 5. DRILLING 6. BORING 7. POCKET 8. PECK 9. TEST PATRN 10. BACK > _ MDI **** *** *** 16:05:59 [ MACR
  • Page 36920. PATTERN DATA INPUT B–63084EN/02 PROGRAMMING FUNCTION 20.2 When a pattern menu is selected, the necessary pattern data is displayed. PATTERN DATA VAR. : BOLT HOLE O0001 N00000 DISPLAY NO. NAME DATA COMMENT 500 TOOL 0.000 501 STANDARD X 0.000 *BOLT HOLE 502 STANDARD Y 0.000 CIRCLE* 503 RADIUS 0.00
  • Page 37020. PATTERN DATA INPUT FUNCTION PROGRAMMING B–63084EN/02 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 37120. PATTERN DATA INPUT B–63084EN/02 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 37220. PATTERN DATA INPUT FUNCTION PROGRAMMING B–63084EN/02 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 37320. PATTERN DATA INPUT B–63084EN/02 PROGRAMMING FUNCTION 20.3 Table.20.3(a) Characters and codes to be used for the pattern CHARACTERS AND data input function CODES TO BE USED Cha Cha rac- Code Comment rac- Code Comment FOR THE PATTERN ter ter DATA INPUT A 065 6 054 FUNCTION B 066 7 055 C 067 8 056
  • Page 37420. PATTERN DATA INPUT FUNCTION PROGRAMMING B–63084EN/02 Table 20.3 (b)Numbers of subprograms employed in the pattern data input function Subprogram No. Function O9500 Specifies character strings displayed on the pattern data menu. O9501 Specifies a character string of the pattern data corresponding
  • Page 375III. OPERATIO
  • Page 376B–63084EN/02 OPERATION 1. GENERAL 1 GENERAL 357
  • Page 3771. GENERAL OPERATION B–63084EN/02 1.1 MANUAL OPERATION Explanations D Manual reference The CNC machine tool has a position used to determine the machine position return position. This position is called the reference position, where the tool is replaced or the coordinate are set. Ordinarily, after t
  • Page 378B–63084EN/02 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 3791. GENERAL OPERATION B–63084EN/02 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 380B–63084EN/02 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 3811. GENERAL OPERATION B–63084EN/02 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 382B–63084EN/02 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 3831. GENERAL OPERATION B–63084EN/02 D Single block When the cycle start push button is pressed, the tool executes one operation then stops. By pressing the cycle start again, the tool executes the next operation then stops. The program is checked in this manner. Cycle start Cycle start Cycle start Cyc
  • Page 384B–63084EN/02 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 3851. GENERAL OPERATION B–63084EN/02 1.6 The operator can display or change a value stored in CNC internal memory by key operation on the MDI screen (See III–11). DISPLAYING AND SETTING DATA Data setting Data display Screen Keys MDI CNC memory Fig.1.6 (a) Displaying and setting data Explanations D Offs
  • Page 386B–63084EN/02 OPERATION 1. GENERAL Offset value of the tool Offset value of the tool Tool Workpiece Fig.1.6 (c) Offset value D Displaying and setting Apart from parameters, there is data that is set by the operator in operator’s setting data operation. This data causes machine characteristics to chan
  • Page 3871. GENERAL OPERATION B–63084EN/02 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 388B–63084EN/02 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 3891. GENERAL OPERATION B–63084EN/02 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 390B–63084EN/02 OPERATION 1. GENERAL 1.7.4 When this option is selected, two types of run time and number of parts are displayed on the screen.(See Section lll–11.4.9) Parts Count Display, Run Time Display ACTUAL POSITION(ABSOLUTE) O0003 N00003 X 150.000 Z 100.000 C 90.000 PART COUNT 18 RUN TIME 0H16M
  • Page 3911. GENERAL OPERATION B–63084EN/02 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 392B–63084EN/02 OPERATION 1. GENERAL 1.8 Programs, offset values, parameters, etc. input in CNC memory can be output to paper tape, cassette, or a floppy disk for saving. After once DATA OUTPUT output to a medium, the data can be input into CNC memory. Portable tape reader FANUC PPR Memory Paper tape P
  • Page 3932. OPERATIONAL DEVICES OPERATION B–63084EN/02 2 OPERATIONAL DEVICES The available operational devices include the setting and display unit attached to the CNC, the machine operator’s panel, and external input/output devices such as a Handy File. 374
  • Page 394B–63084EN/02 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 CNC control unit with 7.2″/8.4″ LCD: III–2.1.1 CNC control unit with 9.5″/10.4″ LCD: III–2.1.2 Stand–Alone Type small MDI unit: III–2.1.3 Sta
  • Page 3952. OPERATIONAL DEVICES OPERATION B–63084EN/02 2.1.1 CNC Control Unit with 7.2″/8.4″ LCD 2.1.2 CNC Control Unit with 9.5″/10.4″ LCD 376
  • Page 396B–63084EN/02 OPERATION 2. OPERATIONAL DEVICES 2.1.3 Stand–Alone Type Small MDI Unit Address/numeric keys Function keys Shift key Cancel (CAN) key Input key Edit keys Help key Reset key Cursor keys Page change keys 377
  • Page 3972. OPERATIONAL DEVICES OPERATION B–63084EN/02 2.1.4 Stand–Alone Type Standard MDI Unit Reset key Address/numeric keys Help key Edit keys Cancel (CAN) key Input key Shift key Function keys Page change Cursor keys keys 378
  • Page 398B–63084EN/02 OPERATION 2. OPERATIONAL DEVICES 2.1.5 Stand–Alone Type 61 Full–Key MDI Unit Reset key Address/numeric keys Function keys Shift key Help key Page change keys Cursor keys Cancel (CAN) key Input key Edit keys 379
  • Page 3992. OPERATIONAL DEVICES OPERATION B–63084EN/02 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 400B–63084EN/02 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 4012. OPERATIONAL DEVICES OPERATION B–63084EN/02 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 402B–63084EN/02 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 4032. OPERATIONAL DEVICES OPERATION B–63084EN/02 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 404B–63084EN/02 OPERATION 2. OPERATIONAL DEVICES POSITION SCREEN Soft key transition triggered by the function key POS POS Absolute coordinate display [ABS] [(OPRT)] [PTSPRE] [EXEC] [RUNPRE] [EXEC] [WORK] [ALLEXE] (Axis name) [EXEC] Relative coordinate display [REL] [(OPRT)] (Axis or numeral) [PRESET]
  • Page 4052. OPERATIONAL DEVICES OPERATION B–63084EN/02 PROGRAM SCREEN Soft key transition triggered by the function key PROG in the MEM mode 1/2 PROG Program display screen [PRGRM] [(OPRT)] [BG–EDT] SeeWhen the soft key [BG-EDT] is pressed" (O number) [O SRH] (1) (N number) [N SRH] [REWIND] [P TYPE] [Q TYPE
  • Page 406B–63084EN/02 OPERATION 2. OPERATIONAL DEVICES 2/2 (2) [FL.SDL] [PRGRM] Return to (1) (Program display) File directory display screen [DIR] [(OPRT)] [SELECT] (File No. ) [F SET] [EXEC] Schedule operation display screen [SCHDUL] [(OPRT)] [CLEAR] [CAN] [EXEC] (Schedule data) [INPUT] 387
  • Page 4072. OPERATIONAL DEVICES OPERATION B–63084EN/02 PROGRAM SCREEN Soft key transition triggered by the function key PROG in the EDIT mode 1/2 PROG Program display [PRGRM] [(OPRT)] [BG–EDT] SeeWhen the soft key [BG-EDT] is pressed" (O number) [O SRH] (Address) [SRH↓] (Address) [SRH↑] [REWIND] [F SRH] [CA
  • Page 408B–63084EN/02 OPERATION 2. OPERATIONAL DEVICES 2/2 (1) Program directory display [LIB] [(OPRT)] [BG–EDT] SeeWhen the soft key [BG-EDT] is pressed" (O number) [O SRH] Return to the program [READ] [CHAIN] [STOP] [CAN] (O number) [EXEC] [PUNCH] [STOP] [CAN] (O number) [EXEC] Floppy directory display [F
  • Page 4092. OPERATIONAL DEVICES OPERATION B–63084EN/02 PROGRAM SCREEN Soft key transition triggered by the function key PROG in the MDI mode PROG Program display [PRGRM] [(OPRT)] [BG–EDT] SeeWhen the soft key [BG-EDT] is pressed" Program input screen [MDI] [(OPRT)] [BG–EDT] SeeWhen the soft key [BG-EDT] is
  • Page 410B–63084EN/02 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 4112. OPERATIONAL DEVICES OPERATION B–63084EN/02 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 412B–63084EN/02 OPERATION 2. OPERATIONAL DEVICES 2/2 (1) Program directory display [LIB] [(OPRT)] [BG–EDT] (O number) [O SRH] Return to the program [READ] [CHAIN] [STOP] [CAN] (O number) [EXEC] [PUNCH] [STOP] [CAN] (O number) [EXEC] Floppy directory display [FLOPPY] [PRGRM] Return to the program [DIR]
  • Page 4132. OPERATIONAL DEVICES OPERATION B–63084EN/02 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 414B–63084EN/02 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 4152. OPERATIONAL DEVICES OPERATION B–63084EN/02 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 416B–63084EN/02 OPERATION 2. OPERATIONAL DEVICES (1) 2/2 Pitch error compensation screen [PITCH] [(OPRT)] (No.) [NO SRH] [ON:1] [OFF:0] (Numeral) [+INPUT] (Numeral) [INPUT] [READ] [CAN] [EXEC] [PUNCH] [CAN] [EXEC] Servo parameter screen [SV.PRM] [SV.SET] [ON:1] [(OPRT)] [SV.TUN] [OFF:0] (Numeral) [INPU
  • Page 4172. OPERATIONAL DEVICES OPERATION B–63084EN/02 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 418B–63084EN/02 OPERATION 2. OPERATIONAL DEVICES GRAPHIC SCREEN Soft key transition triggered by the function key GRAPH Tool path graphics GRAPH Mode 0 Tool path graphics [G.PRM] [(OPRT)] [NORMAL] [GRAPH] [(OPRT)] [ERASE] [ZOOM] [(OPRT)] [ACT] [HI/LO] 399
  • Page 4192. OPERATIONAL DEVICES OPERATION B–63084EN/02 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 420B–63084EN/02 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 4212. OPERATIONAL DEVICES OPERATION B–63084EN/02 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 422B–63084EN/02 OPERATION 2. OPERATIONAL DEVICES 2.4 Handy File of external input/output device is available. For detail on Handy File, refer to the corresponding manual listed below. EXTERNAL I/O Table 2.4 External I/O device DEVICES Device name Usage Max. Reference storage manual capacity FANUC Handy
  • Page 4232. OPERATIONAL DEVICES OPERATION B–63084EN/02 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 424B–63084EN/02 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 4252. OPERATIONAL DEVICES OPERATION B–63084EN/02 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 426B–63084EN/02 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 4272. OPERATIONAL DEVICES OPERATION B–63084EN/02 Screen indicating module setting status DEF1 – 01 SLOT 01 (3046) : END END: Setting completed SLOT 02 (3050) : Blank: Setting not com- pleted Module ID Slot number Display of software configuration DEF1 – 01 CNC control software SERVO : 9090–01 Digital s
  • Page 428B–63084EN/02 OPERATION 3. MANUAL OPERATION 3 MANUAL OPERATION MANUAL OPERATION are six kinds as follows : 3.1 Manual reference position return 3.2 Jog feed 3.3 Incremental feed 3.4 Manual handle feed 3.5 Manual absolute on and off 409
  • Page 4293. MANUAL OPERATION OPERATION B–63084EN/02 3.1 The tool is returned to the reference position as follows : The tool is moved in the direction specified in parameter ZMI (bit 5 of No. MANUAL 1006) for each axis with the reference position return switch on the REFERENCE machine operator’s panel. The t
  • Page 430B–63084EN/02 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 4313. MANUAL OPERATION OPERATION B–63084EN/02 3.2 In the JOG mode, pressing a feed axis and direction selection switch on the machine operator’s panel continuously moves the tool along the JOG FEED selected axis in the selected direction. The manual continuous feedrate is specified in a parameter (No.1
  • Page 432B–63084EN/02 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 4333. MANUAL OPERATION OPERATION B–63084EN/02 3.3 In the incremental (INC) mode, pressing a feed axis and direction selection switch on the machine operator’s panel moves the tool one step INCREMENTAL FEED along the selected axis in the selected direction. The minimum distance the tool is moved is the
  • Page 434B–63084EN/02 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 4353. MANUAL OPERATION OPERATION B–63084EN/02 Explanation D Availability of manual Parameter JHD (bit 0 of No. 7100) enables or disables the manual pulse pulse generator in Jog generator in the JOG mode. mode (JHD) When the parameter JHD( bit 0 of No. 7100) is set 1,both manual handle feed and incremen
  • Page 436B–63084EN/02 OPERATION 3. MANUAL OPERATION 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 4373. MANUAL OPERATION OPERATION B–63084EN/02 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 438B–63084EN/02 OPERATION 3. MANUAL OPERATION D When reset after a Coordinates when the feed hold button is pressed while block (2) is being manual operation executed, manual operation (Y–axis +75.0) is performed, the control unit following a feed hold is reset with the RESET button, and block (2) is r
  • Page 4393. MANUAL OPERATION OPERATION B–63084EN/02 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 440B–63084EN/02 OPERATION 3. MANUAL OPERATION Manual operation during cornering This is an example when manual operation is performed during cornering. VA2’, VB1’, and VB2’ are vectors moved in parallel with VA2, VB1 and VB2 by the amount of manual movement. The new vectors are calculated from VC1 and
  • Page 4414. AUTOMATIC OPERATION OPERATION B–63084EN/02 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 442B–63084EN/02 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 4434. AUTOMATIC OPERATION OPERATION B–63084EN/02 When a reset is applied during movement, movement decelerates then stops. Explanation Memory operation After memory operation is started, the following are executed: (1) A one–block command is read from the specified program. (2) The block command is dec
  • Page 444B–63084EN/02 OPERATION 4. AUTOMATIC OPERATION Calling a subprogram A file (subprogram) in an external input/output device such as a Floppy stored in an external Cassette can be called and executed during memory operation. For input/output device details, see Section 4.5. 425
  • Page 4454. AUTOMATIC OPERATION OPERATION B–63084EN/02 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 446B–63084EN/02 OPERATION 4. AUTOMATIC OPERATION When the program end (M02, M30) or ER(%) is executed, the prepared program will be automatically erased and the operation will end. By command of M99, control returns to the head of the prepared program. PROGRAM ( MDI ) O0001 N00003 O0000 G00 X100.0 Z200
  • Page 4474. AUTOMATIC OPERATION OPERATION B–63084EN/02 D In MEMORY mode, if memory operation is performed. D In EDIT mode, if any editing is performed. D Background editing is performed. D When O and DELETE keys were pressed. D Upon reset when bit 7 (MCL) of parameter No. 3203 is set to 1 D Restart After the
  • Page 448B–63084EN/02 OPERATION 4. AUTOMATIC OPERATION 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 4494. AUTOMATIC OPERATION OPERATION B–63084EN/02 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 450B–63084EN/02 OPERATION 4. AUTOMATIC OPERATION 5 The sequence number is searched for, and the program restart screen appears on the screen. PROGRAM RESTART O0002 N00100 DESTINATION M1 2 X 57. 096 1 2 Z 56. 943 1 2 1 2 1 2 1 ******** DISTANCE TO GO * * * * * * * ** * * * * * * * 1 X 1. 459 2 Z 7. 320
  • Page 4514. AUTOMATIC OPERATION OPERATION B–63084EN/02 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 452B–63084EN/02 OPERATION 4. AUTOMATIC OPERATION The coordinates and amount of travel for restarting the program can be displayed for up to five axes. If your system supports six or more axes, pressing the [RSTR] soft key again displays the data for the sixth and subsequent axes. (The program restart s
  • Page 4534. AUTOMATIC OPERATION OPERATION B–63084EN/02 < 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 454B–63084EN/02 OPERATION 4. AUTOMATIC OPERATION D Single block When single block operation is ON during movement to the restart position, operation stops every time the tool completes movement along an axis. When operation is stopped in the single block mode, MDI intervention cannot be performed. D Ma
  • Page 4554. AUTOMATIC OPERATION OPERATION B–63084EN/02 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 456B–63084EN/02 OPERATION 4. AUTOMATIC OPERATION 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 4574. AUTOMATIC OPERATION OPERATION B–63084EN/02 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 458B–63084EN/02 OPERATION 4. AUTOMATIC OPERATION FILE DIRECTORY F0007 N00000 CURRENT SELECTED:O0040 RMT **** *** *** 13 : 27 : 54 PRGRM DIR SCHDUL (OPRT) Screen No.3 D Procedure for executing 1 Display the list of files registered in the Floppy Cassette. The display the scheduling function procedure is
  • Page 4594. AUTOMATIC OPERATION OPERATION B–63084EN/02 FILE DIRECTORY O0000 N02000 ORDER FILE NO. REQ.REP CUR.REP 01 0007 5 5 02 0003 23 23 03 0004 9999 156 04 0005 LOOP 0 05 06 07 08 09 10 RMT **** *** *** 10 : 10 : 40 PRGRM DIR SCHDUL (OPRT) Screen No.5 Explanations D Specifying no file If no file number i
  • Page 460B–63084EN/02 OPERATION 4. AUTOMATIC OPERATION Alarm Alarm No. Description 086 An attempt was made to execute a file that was not registered in the floppy disk. 210 M198 and M99 were executed during scheduled operation, or M198 was executed during DNC operation. 441
  • Page 4614. AUTOMATIC OPERATION OPERATION B–63084EN/02 4.5 The subprogram call function is provided to call and execute subprogram files stored in an external input/output device(Handy File, FLOPPY SUBPROGRAM CALL CASSETTE, FA Card)during memory operation. FUNCTION (M198) When the following block in a progra
  • Page 462B–63084EN/02 OPERATION 4. AUTOMATIC OPERATION Restrictions NOTE 1 When M198 in the program of the file saved in a floppy cassette is executed, a P/S alarm (No.210) is given. When a program in the memory of CNC is called and M198 is executed during execution of a program of the file saved in a floppy
  • Page 4634. AUTOMATIC OPERATION OPERATION B–63084EN/02 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 464B–63084EN/02 OPERATION 4. AUTOMATIC OPERATION Explanations D Relation with other The following table indicates the relation between other functions and the functions movement by handle interrupt. Display Relation Machine lock is effective. The tool does not move Machine lock even when this signal tu
  • Page 4654. AUTOMATIC OPERATION OPERATION B–63084EN/02 (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 466B–63084EN/02 OPERATION 4. AUTOMATIC OPERATION 4.7 During automatic operation, the mirror image function can be used for movement along an axis. To use this function, set the mirror image switch MIRROR IMAGE to ON on the machine operator’s panel, or set the mirror image setting to ON from the MDI. X–
  • Page 4674. AUTOMATIC OPERATION OPERATION B–63084EN/02 3 Enter an automatic operation mode (memory mode or MDI mode), then press the cycle start button to start automatic operation. Explanations D The mirror image function can also be turned on and off by setting bit 0 (MIRx) of parameter (No.0012) to 1 or 0
  • Page 468B–63084EN/02 OPERATION 4. AUTOMATIC OPERATION 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 4694. AUTOMATIC OPERATION OPERATION B–63084EN/02 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 470B–63084EN/02 OPERATION 4. AUTOMATIC OPERATION 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 4714. AUTOMATIC OPERATION OPERATION B–63084EN/02 D Program screen (12 soft key type) PROGRAM N020 X100.0 (DNC–PROG) ; N180 Z50.0 ; N030 X90.0 ; N190 Z40.0 ; N040 X80.0 ; N200 Z30.0 ; N050 X70.0 ; N210 Z20.0 ; N060 X60.0 ; N220 Z10.0 ; N070 X50.0 ; N230 Z0.0 ; N080 X40.0 ; N240 M02 ; N090 X30.0 ; % N100
  • Page 472B–63084EN/02 OPERATION 4. AUTOMATIC OPERATION Alarm Number Message Contents 086 DR SIGNAL OFF When entering data in the memory by us- ing Reader / Puncher interface, the ready signal (DR) of reader / puncher was turned off. Power supply of I/O unit is off or cable is not connected or a P.C.B. is def
  • Page 4734. AUTOMATIC OPERATION OPERATION B–63084EN/02 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 474B–63084EN/02 OPERATION 4. AUTOMATIC OPERATION 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 4754. AUTOMATIC OPERATION OPERATION B–63084EN/02 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 476B–63084EN/02 OPERATION 4. AUTOMATIC OPERATION 4.10.3 (1) The memory card can not be accessed, such as display of memory card LIMITATION and list and so on, during the DNC operation with memory card. NOTES (2) It is possible to execute the DNC operation with memory card on multi path system. However,
  • Page 4774. AUTOMATIC OPERATION OPERATION B–63084EN/02 4.10.5 FS21i–A DEF2–04 or later Applied Software 4.10.6 Connecting PCMCIA Card Attachment 4.10.6.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.6.2 1) How to assemble to
  • Page 478B–63084EN/02 OPERATION 4. AUTOMATIC OPERATION 2) How to mount the card (a) Insert the card to slit of the attachment. Please pay attention to the direction of the card. (Please mach the direction of ditch on the card.) (b) Push up the card to the upper end of the attachment. 3) Assembling of the att
  • Page 4794. AUTOMATIC OPERATION OPERATION B–63084EN/02 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 480B–63084EN/02 OPERATION 5. TEST OPERATION 5 TEST OPERATION The following functions are used to check before actual machining whether the machine operates as specified by the created program. 1. Machine Lock and Auxiliary Function Lock 2. Feedrate Override 3. Rapid Traverse Override 4. Dry Run 5. Sing
  • Page 4815. TEST OPERATION OPERATION B–63084EN/02 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 482B–63084EN/02 OPERATION 5. TEST OPERATION Restrictions D M, S, T command by only M, S, and T commands are executed in the machine lock state. machine lock D Reference position When a G27, G28, or G30 command is issued in the machine lock state, return under Machine the command is accepted but the too
  • Page 4835. TEST OPERATION OPERATION B–63084EN/02 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 484B–63084EN/02 OPERATION 5. TEST OPERATION 5.3 An override of four steps (F0, 25%, 50%, and 100%) can be applied to the rapid traverse rate. F0 is set by a parameter (No. 1421). RAPID TRAVERSE OVERRIDE Rapid traverse 5m/min rate10m/min Override 50% Fig. 5.3 Rapid traverse override Procedure for Rapid
  • Page 4855. TEST OPERATION OPERATION B–63084EN/02 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 486B–63084EN/02 OPERATION 5. TEST OPERATION 5.5 Pressing the single block switch starts the single block mode. When the cycle start button is pressed in the single block mode, the tool stops after SINGLE BLOCK a single block in the program is executed. Check the program in the single block mode by exec
  • Page 4875. TEST OPERATION OPERATION B–63084EN/02 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 488B–63084EN/02 OPERATION 5. TEST OPERATION Rapid traverse S : Single–block stop Cutting feed Tool path Explanation lG73 6 S (Closed–loop cutting cycle) Tool path 1 5 to 6 is as- 4 3 1 sumed as 2 one cycle. After 10 is finished, a stop is made. lG74 9 5 1 Tool path 1 (End surface cutting–off cycle) 8 7
  • Page 4896. SAFETY FUNCTIONS OPERATION B–63084EN/02 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 490B–63084EN/02 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 4916. SAFETY FUNCTIONS OPERATION B–63084EN/02 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 492B–63084EN/02 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 4936. SAFETY FUNCTIONS OPERATION B–63084EN/02 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 494B–63084EN/02 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 4956. SAFETY FUNCTIONS OPERATION B–63084EN/02 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 stroke check 1, all areas are forbidden areas. (2)When the forbidden area is stored stroke check 2 or stored stroke check
  • Page 496B–63084EN/02 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 4976. SAFETY FUNCTIONS OPERATION B–63084EN/02 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 498B–63084EN/02 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 4996. SAFETY FUNCTIONS OPERATION B–63084EN/02 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 500B–63084EN/02 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 5016. SAFETY FUNCTIONS OPERATION B–63084EN/02 Table 4 Units Increment Data unit Valid data range system IS-A IS-B Metric input 0.001 mm 0.0001 mm –99999999 to +99999999 Inch input 0.0001 inch 0.00001 inch –99999999 to +99999999 D Setting the The tip angle of the tailstock is 60 degrees. The entry–inhib
  • Page 502B–63084EN/02 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 5037. ALARM AND SELF–DIAGNOSIS FUNCTIONS OPERATION B–63084EN/02 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 5047. ALARM AND SELF–DIAGNOSIS B–63084EN/02 OPERATION FUNCTIONS 7.1 ALARM DISPLAY Explanations D Alarm screen When an alarm occurs, the alarm screen appears. ALARM MESSAGE 0000 00000 100 PARAMETER WRITE ENABLE 510 OVER TRAVEL :+X 417 SERVO ALARM : X AXIS DGTL PARAM 417 SERVO ALARM : Z AXIS DGTL PARAM M
  • Page 5057. ALARM AND SELF–DIAGNOSIS FUNCTIONS OPERATION B–63084EN/02 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 5067. ALARM AND SELF–DIAGNOSIS B–63084EN/02 OPERATION FUNCTIONS 7.2 Up to 25 of the most recent CNC alarms are stored and displayed on the screen. ALARM HISTORY Display the alarm history as follows: DISPLAY Procedure for Alarm History Display 1 Press the function key MESSAGE . 2 Press the chapter selec
  • Page 5077. ALARM AND SELF–DIAGNOSIS FUNCTIONS OPERATION B–63084EN/02 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 5087. ALARM AND SELF–DIAGNOSIS B–63084EN/02 OPERATION FUNCTIONS Explanations Diagnostic numbers 000 to 015 indicate states when a command is being specified but appears as if it were not being executed. The table below lists the internal states when 1 is displayed at the right end of each line on the s
  • Page 5097. ALARM AND SELF–DIAGNOSIS FUNCTIONS OPERATION B–63084EN/02 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 510B–63084EN/02 OPERATION 8. DATA INPUT/OUTPUT 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 macro
  • Page 5118. DATA INPUT/OUTPUT OPERATION B–63084EN/02 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 512B–63084EN/02 OPERATION 8. DATA INPUT/OUTPUT D Protect switch The floppy is provided with the write protect switch. Set the switch to the write enable state. Then, start output operation. Write protect switch of a cassette (1) Write–protected (2) Write–enabled (Reading, writ- (Only reading is ing, an
  • Page 5138. DATA INPUT/OUTPUT OPERATION B–63084EN/02 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 514B–63084EN/02 OPERATION 8. DATA INPUT/OUTPUT Alarm No. Description The ready signal (DR) of an input/output device is off. An alarm is not immediately indicated in the CNC even when an alarm occurs during head searching (when a file is not found, or 86 the like). An alarm is given when the input/outp
  • Page 5158. DATA INPUT/OUTPUT OPERATION B–63084EN/02 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 516B–63084EN/02 OPERATION 8. DATA INPUT/OUTPUT 8.4 PROGRAM INPUT/OUTPUT 8.4.1 This section describes how to load a program into the CNC from a floppy Inputting a Program or NC tape. Procedure for Inputting a Program 1 Make sure the input device is ready for reading. For the two–path control, select the
  • Page 5178. DATA INPUT/OUTPUT OPERATION B–63084EN/02 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 518B–63084EN/02 OPERATION 8. DATA INPUT/OUTPUT 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 5198. DATA INPUT/OUTPUT OPERATION B–63084EN/02 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 520B–63084EN/02 OPERATION 8. DATA INPUT/OUTPUT D On the memo record Head searching with a file No. is necessary when a file output from the CNC to the floppy is again input to the CNC memory or compared with the content of the CNC memory. Therefore, immediately after a file is output from the CNC to th
  • Page 5218. DATA INPUT/OUTPUT OPERATION B–63084EN/02 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 522B–63084EN/02 OPERATION 8. DATA INPUT/OUTPUT 8.5.2 All offset data is output in a output format from the memory of the CNC Outputting Offset Data to a floppy or NC tape. Procedure for Outputting Offset Data 1 Make sure the output device is ready for output. For the two–path control, select the tool p
  • Page 5238. DATA INPUT/OUTPUT OPERATION B–63084EN/02 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 524B–63084EN/02 OPERATION 8. DATA INPUT/OUTPUT 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 5258. DATA INPUT/OUTPUT OPERATION B–63084EN/02 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 526B–63084EN/02 OPERATION 8. DATA INPUT/OUTPUT 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 5278. DATA INPUT/OUTPUT OPERATION B–63084EN/02 8.7 INPUTTING/ OUTPUTTING CUSTOM MACRO COMMON VARIABLES 8.7.1 The value of a custom macro common variable (#500 to #999) is loaded into the memory of the CNC from a floppy or NC tape. The same format Inputting Custom used to output custom macro common vari
  • Page 528B–63084EN/02 OPERATION 8. DATA INPUT/OUTPUT 8.7.2 Custom macro common variables (#500 to #999) stored in the memory Outputting Custom of the CNC can be output in the defined format to a floppy or NC tape. Macro Common Variable Procedure for Outputting Custom Macro Common Variable 1 Make sure the out
  • Page 5298. DATA INPUT/OUTPUT OPERATION B–63084EN/02 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 530B–63084EN/02 OPERATION 8. DATA INPUT/OUTPUT 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 5318. DATA INPUT/OUTPUT OPERATION B–63084EN/02 Procedure 2 Use the following procedure to display a directory of files starting with a specified file number : 1 Press the EDIT switch on the machine operator’s panel. 2 Press function key PROG . 3 Press the rightmost soft key (continuous menu key). 4 Pre
  • Page 532B–63084EN/02 OPERATION 8. DATA INPUT/OUTPUT Explanations D Screen fields and their NO :Displays the file number meanings FILE NAME :Displays the file name. (METER) :Converts and prints out the file capacity to paper tape length. You can also produce H (FEET)I by setting the INPUT UNIT to INCH of the
  • Page 5338. DATA INPUT/OUTPUT OPERATION B–63084EN/02 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 534B–63084EN/02 OPERATION 8. DATA INPUT/OUTPUT 8.8.3 Any program in the memory of the CNC unit can be output to a floppy Outputting Programs as a file. Procedure for Outputting Programs 1 Press the EDIT switch on the machine operator’s panel. 2 Press function key PROG . 3 Press the rightmost soft key (
  • Page 5358. DATA INPUT/OUTPUT OPERATION B–63084EN/02 8.8.4 The file with the specified file number is deleted. Deleting Files Procedure for Deleting Files 1 Press the EDIT switch on the machine operator’s panel. 2 Press function key PROG . 3 Press the rightmost soft key (continuous menu key). 4 Press soft ke
  • Page 536B–63084EN/02 OPERATION 8. DATA INPUT/OUTPUT Limitations D Inputting file numbers If [F SET] or [O SET] is pressed without key inputting file number and and program numbers program number, file number or program number shows blank. When with keys 0 is entered for file numbers or program numbers, 1 is
  • Page 5378. DATA INPUT/OUTPUT OPERATION B–63084EN/02 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 538B–63084EN/02 OPERATION 8. DATA INPUT/OUTPUT 8.10 To input/output a particular type of data, the corresponding screen is usually selected. For example, the parameter screen is used for DATA INPUT/OUTPUT parameter input from or output to an external input/output unit, while ON THE ALL IO the program s
  • Page 5398. DATA INPUT/OUTPUT OPERATION B–63084EN/02 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 540B–63084EN/02 OPERATION 8. DATA INPUT/OUTPUT 8.10.2 A program can be input and output using the ALL IO screen. Inputting and When entering a program using a cassette or card, the user must specify the input file containing the program (file search). Outputting Programs File search Procedure 1 Press s
  • Page 5418. DATA INPUT/OUTPUT OPERATION B–63084EN/02 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 542B–63084EN/02 OPERATION 8. DATA INPUT/OUTPUT 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 5438. DATA INPUT/OUTPUT OPERATION B–63084EN/02 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 544B–63084EN/02 OPERATION 8. DATA INPUT/OUTPUT 8.10.3 Parameters can be input and output using the ALL IO screen. Inputting and Outputting Parameters Inputting parameters Procedure 1 Press soft key [PARAM] on the ALL IO screen, described in Section 8.10.1. 2 Select EDIT mode. 3 Press soft key [(OPRT)].
  • Page 5458. DATA INPUT/OUTPUT OPERATION B–63084EN/02 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 546B–63084EN/02 OPERATION 8. DATA INPUT/OUTPUT 8.10.4 Offset data can be input and output using the ALL IO screen. Inputting and Outputting Offset Data Inputting offset data Procedure 1 Press soft key [OFFSET] on the ALL IO screen, described in Section 8.10.1. 2 Select EDIT mode. 3 Press soft key [(OPR
  • Page 5478. DATA INPUT/OUTPUT OPERATION B–63084EN/02 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 548B–63084EN/02 OPERATION 8. DATA INPUT/OUTPUT 8.10.5 Custom macro common variables can be output using the ALL IO screen. Outputting Custom Macro Common Variables Outputting custom macro common variables Procedure 1 Press soft key [MACRO] on the ALL IO screen, described in Section 8.10.1. 2 Select EDI
  • Page 5498. DATA INPUT/OUTPUT OPERATION B–63084EN/02 8.10.6 The ALL IO screen supports the display of a directory of floppy files, as Inputting and well as the input and output of floppy files. Outputting Floppy Files Displaying a file directory Procedure 1 Press the rightmost soft key (continuous menu key)
  • Page 550B–63084EN/02 OPERATION 8. DATA INPUT/OUTPUT 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 5518. DATA INPUT/OUTPUT OPERATION B–63084EN/02 Inputting a file Procedure 1 Press the rightmost soft key (continuous 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
  • Page 552B–63084EN/02 OPERATION 8. DATA INPUT/OUTPUT Outputting a file Procedure 1 Press the rightmost soft key (continuous 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 sof
  • Page 5538. DATA INPUT/OUTPUT OPERATION B–63084EN/02 Deleting a file Procedure 1 Press the rightmost soft key (continuous 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
  • Page 554B–63084EN/02 OPERATION 8. DATA INPUT/OUTPUT 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 5558. DATA INPUT/OUTPUT OPERATION B–63084EN/02 Saving memory data Data held in CNC memory can be saved to a memory card in MS–DOS format. Saving memory data Procedure 1 Press the rightmost soft key (continuous menu key) on the ALL IO screen, described in Section 8.10.1. 2 Press soft key [M–CARD]. 3 Pla
  • Page 556B–63084EN/02 OPERATION 8. DATA INPUT/OUTPUT 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 Number of files 1 SRAM256A. FDB S
  • Page 5578. DATA INPUT/OUTPUT OPERATION B–63084EN/02 Loading memory data Procedure 1 Press the rightmost soft key (continuous 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 stop state. 4 When a memory card is inserted, the state of the
  • Page 558B–63084EN/02 OPERATION 8. DATA INPUT/OUTPUT Explanations D Canceling loading To cancel file load prior to its completion, press the RESET key on the MDI panel. D Turning off the power Depending on the type of data, the system power may have to be turned after loading off, then back on, for the load
  • Page 5598. DATA INPUT/OUTPUT OPERATION B–63084EN/02 Memory card formatting Before a file can be saved to a memory card, the memory card must be formatted. Formatting a memory card Procedure 1 Press the rightmost soft key (continuous menu key) on the ALL IO screen, described in Section 8.10.1. 2 Press soft k
  • Page 560B–63084EN/02 OPERATION 8. DATA INPUT/OUTPUT Deleting files Unnecessary saved files can be deleted from a memory card. Deleting files Procedure 1 Press the rightmost soft key (continuous menu key) on the ALL IO screen, described in Section 8.10.1. 2 Press soft key [M–CARD]. 3 Place the CNC in the eme
  • Page 5618. DATA INPUT/OUTPUT OPERATION B–63084EN/02 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 562B–63084EN/02 OPERATION 8. DATA INPUT/OUTPUT 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 5638. DATA INPUT/OUTPUT OPERATION B–63084EN/02 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 564B–63084EN/02 OPERATION 8. DATA INPUT/OUTPUT Displaying a directory of stored files Procedure 1 Press the EDIT switch on the machine operator’s panel. 2 Press function key PROG . 3 Press the rightmost soft key (continuous menu key). 4 Press soft key [CARD]. The screen shown below is displayed. Using
  • Page 5658. DATA INPUT/OUTPUT OPERATION B–63084EN/02 Searching for a file Procedure 1 Press the EDIT switch on the machine operator’s panel. 2 Press function key PROG . 3 Press the rightmost soft key (continuous menu key). 4 Press soft key [CARD]. The screen shown below is displayed. DIRECTORY (M–CARD) O0034
  • Page 566B–63084EN/02 OPERATION 8. DATA INPUT/OUTPUT Reading a file Procedure 1 Press the EDIT switch on the machine operator’s panel. 2 Press function key PROG . 3 Press the rightmost soft key (continuous menu key). 4 Press soft key [CARD]. Then, the screen shown below is displayed. DIRECTORY (M–CARD) O0034
  • Page 5678. DATA INPUT/OUTPUT OPERATION B–63084EN/02 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 568B–63084EN/02 OPERATION 8. DATA INPUT/OUTPUT Writing a file Procedure 1 Press the EDIT switch on the machine operator’s panel. 2 Press function key PROG . 3 Press the rightmost soft key (continuous menu key). 4 Press soft key [CARD]. The screen shown below is displayed. DIRECTORY (M–CARD) O0034 N0004
  • Page 5698. DATA INPUT/OUTPUT OPERATION B–63084EN/02 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 570B–63084EN/02 OPERATION 8. DATA INPUT/OUTPUT Deleting a file Procedure 1 Press the EDIT switch on the machine operator’s panel. 2 Press function key PROG . 3 Press the rightmost soft key (continuous menu key). 4 Press soft key [CARD]. The screen shown below is displayed. DIRECTORY (M–CARD) O0034 N000
  • Page 5718. DATA INPUT/OUTPUT OPERATION B–63084EN/02 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 572B–63084EN/02 OPERATION 8. DATA INPUT/OUTPUT Explanations D Each data item When this screen is displayed, the program data item is selected. The soft keys for other screens are displayed by pressing the rightmost soft key (continuous menu key). Soft key [M–CARD] represents a separate memory card func
  • Page 5738. DATA INPUT/OUTPUT OPERATION B–63084EN/02 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 574B–63084EN/02 OPERATION 8. DATA INPUT/OUTPUT 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 5759. EDITING PROGRAMS OPERATION B–63084EN/02 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 576B–63084EN/02 OPERATION 9. EDITING PROGRAMS 9.1 This section outlines the procedure for inserting, modifying, and deleting a word in a program registered in memory. INSERTING, ALTERING AND DELETING A WORD Procedure for inserting, altering and deleting a word 1 Select EDIT mode. 2 Press PROG . 3 Selec
  • Page 5779. EDITING PROGRAMS OPERATION B–63084EN/02 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 578B–63084EN/02 OPERATION 9. EDITING PROGRAMS Procedure for searching a word Example) of Searching for S12 PROGRAM O0050 N01234 N01234 is being O0050 ; searched for/ N01234 X100.0 Z1250.0 ; scanned currently. S12 ; S12 is searched N56789 M03 ; for. M02 ; % 1 Key in address S . 2 Key in 1 2 . ⋅ S12 cann
  • Page 5799. EDITING PROGRAMS OPERATION B–63084EN/02 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 580B–63084EN/02 OPERATION 9. EDITING PROGRAMS 9.1.3 Inserting a Word Procedure for inserting a word 1 Search for or scan the word immediately before a word to be inserted. 2 Key in an address to be inserted. 3 Key in data. 4 Press the INSERT key. Example of Inserting T15 Procedure 1 Search for or scan
  • Page 5819. EDITING PROGRAMS OPERATION B–63084EN/02 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 582B–63084EN/02 OPERATION 9. EDITING PROGRAMS 9.1.5 Deleting a Word Procedure for deleting a word 1 Search for or scan a word to be deleted. 2 Press the DELETE key. Example of deleting X100.0 Procedure 1 Search for or scan X100.0. Program O0050 N01234 O0050 ; X100.0 is N01234 X100.0 Z1250.0 M15 ; searc
  • Page 5839. EDITING PROGRAMS OPERATION B–63084EN/02 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 584B–63084EN/02 OPERATION 9. EDITING PROGRAMS 9.2.2 The blocks from the currently displayed word to the block with a specified Deleting Multiple sequence number can be deleted. Blocks Procedure for deleting multiple blocks 1 Search for or scan a word in the first block of a portion to be deleted. 2 Key
  • Page 5859. EDITING PROGRAMS OPERATION B–63084EN/02 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 586B–63084EN/02 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 5879. EDITING PROGRAMS OPERATION B–63084EN/02 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 588B–63084EN/02 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 5899. EDITING PROGRAMS OPERATION B–63084EN/02 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 590B–63084EN/02 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 5919. EDITING PROGRAMS OPERATION B–63084EN/02 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 592B–63084EN/02 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 5939. EDITING PROGRAMS OPERATION B–63084EN/02 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 594B–63084EN/02 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 5959. EDITING PROGRAMS OPERATION B–63084EN/02 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 596B–63084EN/02 OPERATION 9. EDITING PROGRAMS Alarm Alarm No. Contents 70 Memory became insufficient while copying or inserting a program. Copy or insertion is terminated. 101 The power was interrupted during copying, moving, or inserting a program and memory used for editing must be cleared. When this
  • Page 5979. EDITING PROGRAMS OPERATION B–63084EN/02 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 598B–63084EN/02 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 5999. EDITING PROGRAMS OPERATION B–63084EN/02 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 600B–63084EN/02 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 6019. EDITING PROGRAMS OPERATION B–63084EN/02 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 602B–63084EN/02 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 60310. CREATING PROGRAMS OPERATION B–63084EN/02 10 CREATING PROGRAMS Programs can be created using any of the following methods: ⋅ MDI keyboard ⋅ PROGRAMMING IN TEACH IN MODE ⋅ AUTOMATIC PROGRAM PREPARATION DEVICE (FANUC SYSTEM P) This chapter describes creating programs using the MDI panel, TEACH IN m
  • Page 604B–63084EN/02 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 60510. CREATING PROGRAMS OPERATION B–63084EN/02 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 606B–63084EN/02 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 60710. CREATING PROGRAMS OPERATION B–63084EN/02 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 608B–63084EN/02 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 60910. CREATING PROGRAMS OPERATION B–63084EN/02 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 610B–63084EN/02 OPERATION 11. SETTING AND DISPLAYING DATA 11 SETTING AND DISPLAYING DATA General To operate a CNC machine tool, various data must be set on the MDI for the CNC. The operator can monitor the state of operation with data displayed during operation. This chapter describes how to display an
  • Page 61111. SETTING AND DISPLAYING DATA OPERATION B–63084EN/02 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 612B–63084EN/02 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 61311. SETTING AND DISPLAYING DATA OPERATION B–63084EN/02 PROGRAM SCREEN Screen transition triggered by the function key PROG in the EDIT mode PROG Program screen EDIT PRGRM LIB (OPRT) Program editing Program memory screen and program diĆ ⇒See III-10 rectory ⇒See III-11.3.1. Program screen EDIT FLOPPY
  • Page 614B–63084EN/02 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 61511. SETTING AND DISPLAYING DATA OPERATION B–63084EN/02 2/2 1* Tool offset value OFST.2 W.SHFT BARRIER (OPRT) Display of Y axis Display of work Chuck tail stack offset value coordinate barrier ⇒See III-11.4.6. system value ⇒See III-6.4 ⇒See III-11.4.5 Setting of Y axis Setting of work offset data coo
  • Page 616B–63084EN/02 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 61711. SETTING AND DISPLAYING DATA OPERATION B–63084EN/02 D Setting screens The table below lists the data set on each screen. Table 11 Setting screens and data on them No. Setting screen Contents of setting Reference item 1 Tool offset value Tool offset value Subsec. 11.4.1 Tool nose radius compensati
  • Page 618B–63084EN/02 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 POS ⋅Position display screen for the work coordinate sys
  • Page 61911. SETTING AND DISPLAYING DATA OPERATION B–63084EN/02 Explanations D Display including Bits 6 and 7 of parameter 3104 can be used to select whether the displayed compensation values values include tool offset value and tool nose radius compensation. 11.1.2 Displays the current position of the tool
  • Page 620B–63084EN/02 OPERATION 11. SETTING AND DISPLAYING DATA Procedure to reset all axes ABS REL ALL 1 Press soft key [(OPRT)]. (OPRT) ORIGIN 2 Press soft key [ORIGIN]. ALLEXE EXEC 3 Press soft key [ALLEXE]. The relative coordinates for all axes are reset to 0. D Display including Bits 4 (DRL) and 5 (DRC)
  • Page 62111. SETTING AND DISPLAYING DATA OPERATION B–63084EN/02 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 622B–63084EN/02 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 62311. SETTING AND DISPLAYING DATA OPERATION B–63084EN/02 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 624B–63084EN/02 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 62511. SETTING AND DISPLAYING DATA OPERATION B–63084EN/02 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 626B–63084EN/02 OPERATION 11. SETTING AND DISPLAYING DATA 11.1.7 The reading on the load meter can be displayed for each servo axis and Operating Monitor the serial spindle by setting bit 5 (OPM) of parameter 3111 to 1. The reading on the speedometer can also be displayed for the serial spindle. Displa
  • Page 62711. SETTING AND DISPLAYING DATA OPERATION B–63084EN/02 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 628B–63084EN/02 OPERATION 11. SETTING AND DISPLAYING DATA 11.2 This section describes the screens displayed by pressing function key SCREENS DISPLAYED PROG in MEMORY or MDI mode.The first four of the following screens BY FUNCTION KEY @prog PROG display the execution state for the program currently bein
  • Page 62911. SETTING AND DISPLAYING DATA OPERATION B–63084EN/02 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 630B–63084EN/02 OPERATION 11. SETTING AND DISPLAYING DATA 11.2.2 Displays the block currently being executed and modal data in the Current Block Display MEMORY or MDI mode. Screen Procedure for displaying the current block display screen 1 Press function key PROG . 2 Press chapter selection soft key [C
  • Page 63111. SETTING AND DISPLAYING DATA OPERATION B–63084EN/02 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 632B–63084EN/02 OPERATION 11. SETTING AND DISPLAYING DATA 11.2.4 Displays the program currently being executed, current position of the Program Check Screen tool, and modal data in the MEMORY mode. Procedure for displaying the program check screen 1 Press function key PROG . 2 Press chapter selection s
  • Page 63311. SETTING AND DISPLAYING DATA OPERATION B–63084EN/02 D 12 soft keys display unit The program check screen is not provided for 12 soft keys display unit. Press soft key [PRGRM] to display the contents of the program on the right half of the screen. The block currently being executed is indicated by
  • Page 634B–63084EN/02 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 63511. SETTING AND DISPLAYING DATA OPERATION B–63084EN/02 11.2.6 Displaying the B–axis Operation State Displaying the B–axis operation state 1 Press the PROG function key. 2 Press the [CHECK] chapter selection soft key. 3 Press the [B–DSP] chapter selection soft key. Then, the B–axis operation state is
  • Page 636B–63084EN/02 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 @prog PROG display the program editing screen and the program display scre
  • Page 63711. SETTING AND DISPLAYING DATA OPERATION B–63084EN/02 11.3.1 Displays the number of registered programs, memory used, and a list of Displaying Memory registered programs. Used and a List of Programs Procedure for displaying memory used and a list of programs 1 Select the EDIT mode. 2 Press function
  • Page 638B–63084EN/02 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 63911. SETTING AND DISPLAYING DATA OPERATION B–63084EN/02 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 640B–63084EN/02 OPERATION 11. SETTING AND DISPLAYING DATA 11.3.2 In addition to the normal listing of the numbers and names of CNC Displaying a Program programs stored in memory, programs can be listed in units of groups, according to the product to be machined, for example. List for a Specified Group
  • Page 64111. SETTING AND DISPLAYING DATA OPERATION B–63084EN/02 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 642B–63084EN/02 OPERATION 11. SETTING AND DISPLAYING DATA [Example of using wild cards] (Entered character string) (Group for which the search will be made) (a) “*” CNC programs having any name (b) “*ABC” CNC programs having names which end with “ABC” (c) “ABC*” CNC programs having names which start wi
  • Page 64311. SETTING AND DISPLAYING DATA OPERATION B–63084EN/02 11.4 Press function key OFFSET SETTING to display or set tool compensation values and SCREENS DISPLAYED other data. BY FUNCTION KEY OFFSET SETTING This section describes how to display or set the following data: @off 1. Tool offset value 2. Sett
  • Page 644B–63084EN/02 OPERATION 11. SETTING AND DISPLAYING DATA 11.4.1 Dedicated screens are provided for displaying and setting tool offset Setting and Displaying values and tool nose radius compensation values. the Tool Offset Value Procedure for setting and displaying the tool offset value and the tool no
  • Page 64511. SETTING AND DISPLAYING DATA OPERATION B–63084EN/02 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 646B–63084EN/02 OPERATION 11. SETTING AND DISPLAYING DATA D Disabling entry of In some cases, tool wear compensation or tool geometry compensation compensation values values cannot be input because of the settings in bits 0 (WOF) and 1 (GOF) of parameter 3290. The input of tool compensation values from
  • Page 64711. SETTING AND DISPLAYING DATA OPERATION B–63084EN/02 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 648B–63084EN/02 OPERATION 11. SETTING AND DISPLAYING DATA 3–3 Press the address key Z to be set. 3–4 Key in the measured value (β). 3–5 Press the soft key [MESURE]. The difference between measured value β and the coordinate is set as the offset value. D Setting of X axis offset 4 Cut surface B in manua
  • Page 64911. SETTING AND DISPLAYING DATA OPERATION B–63084EN/02 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 650B–63084EN/02 OPERATION 11. SETTING AND DISPLAYING DATA 9 Set the offset writing signal mode GOQSM to LOW. The writing mode is canceled and the blinking “OFST” indicator light goes off. Procedure for setting the work coordinate system shift amount Tool position offset values can be automatically set
  • Page 65111. SETTING AND DISPLAYING DATA OPERATION B–63084EN/02 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 652B–63084EN/02 OPERATION 11. SETTING AND DISPLAYING DATA 11.4.5 The set coordinate system can be shifted when the coordinate system Setting the Workpiece which has been set by a G50 command (or G92 command for G code system B or C) or automatic coordinate system setting is different from Coordinate Sy
  • Page 65311. SETTING AND DISPLAYING DATA OPERATION B–63084EN/02 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 654B–63084EN/02 OPERATION 11. SETTING AND DISPLAYING DATA 11.4.6 Tool position offset values along the Y–axis can be set. Counter input of Y Axis Offset offset values is also possible. Direct input of tool offset value and direct input function B for tool offset measured are not available for the Y–axi
  • Page 65511. SETTING AND DISPLAYING DATA OPERATION B–63084EN/02 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 656B–63084EN/02 OPERATION 11. SETTING AND DISPLAYING DATA Procedure for counter input of the offset value To set relative coordinates along the Y–axis as offset values: 1 Move the reference tool to the reference point. 2 Reset relative coordinate Y to 0 (see subsec. III–11.1.2). 3 Move the tool for whi
  • Page 65711. SETTING AND DISPLAYING DATA OPERATION B–63084EN/02 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 658B–63084EN/02 OPERATION 11. SETTING AND DISPLAYING DATA 4 Move the cursor to the item to be changed by pressing cursor keys , , , or . 5 Enter a new value and press soft key [INPUT]. Contents of settings D PARAMETER WRITE Setting whether parameter writing is enabled or disabled. 0 : Disabled 1 : Enab
  • Page 65911. SETTING AND DISPLAYING DATA OPERATION B–63084EN/02 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 660B–63084EN/02 OPERATION 11. SETTING AND DISPLAYING DATA Explanations D Sequence number after After the specified sequence number is found during the execution of the the program is executed program, the sequence number set for sequence number compensation and stop is decremented by one. When the powe
  • Page 66111. SETTING AND DISPLAYING DATA OPERATION B–63084EN/02 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 662B–63084EN/02 OPERATION 11. SETTING AND DISPLAYING DATA D PARTS COUNT This value is incremented by one when M02, M30, or an M code specified by parameter 6710 is executed. The value can also be set by parameter 6711. In general, this value is reset when it reaches the number of parts required. Refer
  • Page 66311. SETTING AND DISPLAYING DATA OPERATION B–63084EN/02 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 664B–63084EN/02 OPERATION 11. SETTING AND DISPLAYING DATA 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 66511. SETTING AND DISPLAYING DATA OPERATION B–63084EN/02 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 666B–63084EN/02 OPERATION 11. SETTING AND DISPLAYING DATA 11.4.12 Displays common variables (#100 to #149 or #100 to #199, and #500 to Displaying and Setting #531 or #500 to #999) on the CRT. When the absolute value for a common variable exceeds 99999999, ******** is displayed. The values for Custom Ma
  • Page 66711. SETTING AND DISPLAYING DATA OPERATION B–63084EN/02 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 668B–63084EN/02 OPERATION 11. SETTING AND DISPLAYING DATA 5 Push the cursor move key or to match the mark J to an arbitrary position and set the desired condition. 6 Press one of the following arrow keys to perform jog feed. Press the 5 key together with an arrow key to perform manual continuous rapid
  • Page 66911. SETTING AND DISPLAYING DATA OPERATION B–63084EN/02 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 670B–63084EN/02 OPERATION 11. SETTING AND DISPLAYING DATA 7 To reset the tool data, move the cursor on the group to reset, then press the [(OPRT)], [CLEAR], and [EXEC] soft keys in this order. All execution data for the group indicated by the cursor is cleared together with the marks (@, #, or *). Expl
  • Page 67111. SETTING AND DISPLAYING DATA OPERATION B–63084EN/02 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 672B–63084EN/02 OPERATION 11. SETTING AND DISPLAYING DATA 11.4.15 Setting and Displaying B–axis Tool Compensation Setting and displaying B–axis tool compensation 1 Press the OFFSET SETTING function key. 2 Press the continuous menu key several times. Then, press the [OFST.B] chapter selection key. D Whe
  • Page 67311. SETTING AND DISPLAYING DATA OPERATION B–63084EN/02 5 Enter the value, then press the INPUT key. Explanations The offset can be set to a value in the following valid data ranges. Offset Metric input Inch input IS–B –999.999 to 999.999 –99.9999 to 99.9999 IS–C –999.9999 to 999.9999 –99.99999 to 99
  • Page 674B–63084EN/02 OPERATION 11. SETTING AND DISPLAYING DATA 11.5 When the CNC and machine are connected, parameters must be set to determine the specifications and functions of the machine in order to fully SCREENS DISPLAYED utilize the characteristics of the servo motor or other parts. BY FUNCTION KEY S
  • Page 67511. SETTING AND DISPLAYING DATA OPERATION B–63084EN/02 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 676B–63084EN/02 OPERATION 11. SETTING AND DISPLAYING DATA Procedure for enabling/displaying parameter writing 1 Select the MDI mode or enter state emergency stop. 2 Press function key OFFSET SETTING . 3 Press soft key [SETING] to display the setting screen. SETTING (HANDY) O0001 N00000 PARAMETER WRITE
  • Page 67711. SETTING AND DISPLAYING DATA OPERATION B–63084EN/02 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 678B–63084EN/02 OPERATION 11. SETTING AND DISPLAYING DATA Procedure for displaying and setting the pitch error compensation data 1 Set the following parameters: D Number of the pitch error compensation point at the reference position (for each axis): Parameter 3620 D Number of the pitch error compensat
  • Page 67911. SETTING AND DISPLAYING DATA OPERATION B–63084EN/02 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 680B–63084EN/02 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 68111. SETTING AND DISPLAYING DATA OPERATION B–63084EN/02 D (6) Alarm status ALM : Indicates that an alarm is issued. (Blinks in reversed display.) BAT : Indicates that the battery is low. (Blinks in reversed display.) Space : Indicates a state other than the above. D (7) Current time hh:mm:ss – Hours,
  • Page 682B–63084EN/02 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 MESSAGE information
  • Page 68311. SETTING AND DISPLAYING DATA OPERATION B–63084EN/02 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 684B–63084EN/02 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 68511. SETTING AND DISPLAYING DATA OPERATION B–63084EN/02 11.8.2 The CNC screen is automatically cleared if no keys are pressed during the Automatic Erase period (in minutes) specified with a parameter. The screen is restored by pressing any key. Screen Display Procedure for Automatic Erase Screen Disp
  • Page 686B–63084EN/02 OPERATION 12. GRAPHICS FUNCTION 12 GRAPHICS FUNCTION The graphic function indicates how the tool moves during automatic operation or manual operation. 667
  • Page 68712. GRAPHICS FUNCTION OPERATION B–63084EN/02 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 688B–63084EN/02 OPERATION 12. GRAPHICS FUNCTION 6 Automatic or manual operation is started and machine movement is drawn on the screen. X 0001 00021 X 200.000 Z 200.000 Z >_ MEM STRT **** FIN 12:12:24 [ G.PRM ][ ][ GRAPH ][ ZOOM ][ (OPRT) ] D Magnifying drawings Part of a drawing on the screen can be m
  • Page 68912. GRAPHICS FUNCTION OPERATION B–63084EN/02 10 Resume the previous operation. The part of the drawing specified with the zoom cursors will be magnified. X S 0.81 0001 00012 X 200.000 Z 200.000 Z >_ MEM STRT **** FIN 12:12:24 [ G.PRM ][ GRAPH ][ ][ ][ ] 11 To display the original drawing, press the
  • Page 690B–63084EN/02 OPERATION 12. GRAPHICS FUNCTION D Graphics parameter WORK LENGTH (W), WORK DIAMETER (D) Specify work length and work diameter. The table below lists the input unit and valid data range. X X W W D D Z Z Table 12.1 Unit and Range of Drawing Data Unit Increment system Valid range mm input
  • Page 69112. GRAPHICS FUNCTION OPERATION B–63084EN/02 D Deleting the previous Pressing the [REVIEW] soft key on the graphic screen deletes tool paths drawing on it. Setting the graphic parameter as AUTO ERASE (A) = 1 specifies that when automatic operation is started at reset, program execution begins after
  • Page 692B–63084EN/02 OPERATION 13. HELP FUNCTION 13 HELP FUNCTION The help function displays on the screen detailed information about alarms issued in the CNC and about CNC operations. The following information is displayed. D Detailed information of When the CNC is operated incorrectly or an erroneous mach
  • Page 69313. HELP FUNCTION OPERATION B–63084EN/02 ALARM DETAIL screen 2 Press soft key [1 ALAM] on the HELP (INITIAL MENU) screen to display detailed information about an alarm currently being raised. HELP (ALARM DETAIL) O0010 N00001 NUMBER : 027 Alarm No. M‘SAGE : NO AXES COMMANDED IN G43/G44 Normal explana
  • Page 694B–63084EN/02 OPERATION 13. HELP FUNCTION 3 To get details on another alarm number, first enter the alarm number, then press soft key [SELECT]. This operation is useful for investigating alarms not currently being raised. >100 S 0 T0000 MEM **** *** *** 10:12:25 [ ][ ][ ][ ][ SELECT ] Fig.13(d) How t
  • Page 69513. HELP FUNCTION OPERATION B–63084EN/02 >1 S 0 T0000 MEM **** *** *** 10:12:25 [ ][ ][ ][ ][ SELECT ] Fig.13(g) How to select each OPERATION METHOD screen When “1. PROGRAM EDIT” is selected, for example, the screen in Figure 13 (g) is displayed. On each OPERATION METHOD screen, it is possible to ch
  • Page 696B–63084EN/02 OPERATION 13. HELP FUNCTION HELP (PARAMETER TABLE) 01234 N00001 1/4 * SETTEING (No. 0000∼) * READER/PUNCHER INTERFACE (No. 0100∼) * AXIS CONTROL /SETTING UNIT (No. 1000∼) * COORDINATE SYSTEM (No. 1200∼) * STROKE LIMIT (No. 1300∼) * FEED RATE (No. 1400∼) * ACCEL/DECELERATION CTRL (No. 16
  • Page 697IV. MAINTENANC
  • Page 698B–63084EN/02 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 6991. METHOD OF REPLACING BATTERY MAINTENANCE B–63084EN/02 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 700B–63084EN/02 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 7011. METHOD OF REPLACING BATTERY MAINTENANCE B–63084EN/02 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 702B–63084EN/02 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 7031. METHOD OF REPLACING BATTERY MAINTENANCE B–63084EN/02 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 704B–63084EN/02 MAINTENANCE 1. METHOD OF REPLACING BATTERY 2 dry cells Lid Connection terminal on the back 4 mounting holes Case 687
  • Page 7051. METHOD OF REPLACING BATTERY MAINTENANCE B–63084EN/02 1.3 A lithium battery is used to back up BIOS data in the intelligent terminal. This battery is factory–set in the intelligent terminal. This battery has BATTERY IN THE sufficient capacity to retain BIOS data for one year. INTELLIGENT When the
  • Page 706B–63084EN/02 MAINTENANCE 1. METHOD OF REPLACING BATTERY Lithium battery Front Rear view Side view BAT1 Lithium battery connection 689
  • Page 7071. METHOD OF REPLACING BATTERY MAINTENANCE B–63084EN/02 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 3n6 to 3n8 (n: SEPARATE axis number) are displayed on the CRT display. When AP
  • Page 708B–63084EN/02 MAINTENANCE 1. METHOD OF REPLACING BATTERY 1.5 The battery for the absolute pulse coder built into the motor is installed in the servo amplifier. For how to connect and replace the battery, refer BATTERY FOR to the following manuals: ABSOLUTE PULSE D FANUC SERVO MOTOR α Series Maintenan
  • Page 709APPENDI
  • Page 710B–63084EN/02 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 711A. TAPE CODE LIST APPENDIX B–63084EN/02 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 712B–63084EN/02 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 713B. LIST OF FUNCTIONS AND TAPE FORMAT APPENDIX B–63084EN/02 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 714B. LIST OF FUNCTIONS AND B–63084EN/02 APPENDIX TAPE FORMAT (2/5) Functions Illustration Tape format Polar coordinate interpolation G12.1 ; Polar coordinate interpolation mode (G12.1, G13.1) G13.1 ; Polar coordinate interpolation mode (G112, G113) cancel Plane selection G17 ; (G17, G18, G19) G18 ; G1
  • Page 715B. LIST OF FUNCTIONS AND TAPE FORMAT APPENDIX B–63084EN/02 (3/5) Functions Illustration Tape format Automatic tool compensation Measurementt G36 X xa ; (G36, G37) position G37 Z za ; Measurementt position arrival signal Start position Compensation ÇÇÇ value ÇÇÇ Cutter compensation G41 G41 (G40, G41,
  • Page 716B. LIST OF FUNCTIONS AND B–63084EN/02 APPENDIX TAPE FORMAT (4/5) Functions Illustration Tape format Mirror image for double turret G68 ; (G68, G69) Mirror image for double turret on G69 ; Mirror image cancel Canned cycle Refer to II.13. FUNCTIONS TO N_ G70 P_ Q_ ; (G71 to G76) SIMPLIFY PROGRAMMING G
  • Page 717B. LIST OF FUNCTIONS AND TAPE FORMAT APPENDIX B–63084EN/02 (5/5) Functions Illustration Tape format Absolute/incremental G90_ ; Absolute programming programming G91_ ; Incremental programming (G90/G91) G90_ G91_ ; Used together (during G code system B, C) G98 G98_ ; (G98/G99) I point G99_ ; (during
  • Page 718B–63084EN/02 APPENDIX C. RANGE OF COMMAND VALUE C RANGE OF COMMAND VALUE Linear axis D In case of millimeter Increment system input, feed screw is IS–B IS–C millimeter Least input increment 0.001 mm 0.0001 mm Least command increment X : 0.0005 mm X : 0.00005 mm Y : 0.001 mm Y : 0.0001 mm Max. progra
  • Page 719C. RANGE OF COMMAND VALUE APPENDIX B–63084EN/02 D In case of inch Increment system input, feed screw is IS–B IS–C inch Least input increment 0.0001 inch 0.00001 inch Least command increment X : 0.00005 inch X : 0.000005 inch Y : 0.0001 inch Y : 0.00001 inch Max. programmable ±9999.9999 inch ±999.999
  • Page 720B–63084EN/02 APPENDIX C. RANGE OF COMMAND VALUE Rotation axis Increment system IS–B IS–C Least input increment 0.001 deg 0.0001 deg Least command ±0.001 deg ±0.0001 deg increment Max. programmable ±99999.999 deg ±9999.9999 deg dimension Max. rapid traverse *1 240000 deg/min 100000 deg/min Feedrate r
  • Page 721D. NOMOGRAPHS APPENDIX B–63084EN/02 D NOMOGRAPHS 706
  • Page 722B–63084EN/02 APPENDIX D. NOMOGRAPHS D.1 The leads of a thread are generally incorrect in δ1 and δ2, as shown in Fig. D.1 (a), due to automatic acceleration and deceleration. INCORRECT Thus distance allowances must be made to the extent of δ1 and δ2 in the THREADED LENGTH program. δ2 δ1 Fig.D.1(a) In
  • Page 723D. NOMOGRAPHS APPENDIX B–63084EN/02 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 724B–63084EN/02 APPENDIX D. NOMOGRAPHS D.2 SIMPLE CALCULATION OF INCORRECT THREAD LENGTH δ2 δ1 Fig. D.2 (a) Incorrect threaded portion Explanations D How to determine δ2 d2 + LR 1800 * (mm) R : Spindle speed (rpm) * When time constant T of the L : Thread lead (mm) servo system is 0.033 s. D How to dete
  • Page 725D. NOMOGRAPHS APPENDIX B–63084EN/02 D Reference Nomograph for obtaining approach distance δ1 710
  • Page 726B–63084EN/02 APPENDIX D. NOMOGRAPHS D.3 When servo system delay (by exponential acceleration/deceleration at cutting or caused by the positioning system when a servo motor is used) TOOL PATH AT is accompanied by cornering, a slight deviation is produced between the CORNER tool path (tool center path
  • Page 727D. NOMOGRAPHS APPENDIX B–63084EN/02 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 728B–63084EN/02 APPENDIX D. NOMOGRAPHS D Initial value calculation 0 Y0 V X0 Fig. D.3(c) Initial value The initial value when cornering begins, that is, the X and Y coordinates at the end of command distribution by the controller, is determined by the feedrate and the positioning system time constant o
  • Page 729D. NOMOGRAPHS APPENDIX B–63084EN/02 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 730E. STATUS WHEN TURNING POWER ON, B–63084EN/02 APPENDIX WHEN CLEAR AND WHEN RESET 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 731E. STATUS WHEN TURNING POWER ON, WHEN CLEAR AND WHEN RESET APPENDIX B–63084EN/02 Item When turning power on Cleared Reset Action in Movement × × × operation Dwell × × × Issuance of M, S and × × × T codes Tool offset × Depending on parameter f : MDI mode LVK(No.5003#6) Other modes depend on parameter
  • Page 732F. CHARACTER–TO–CODES B–63084EN/02 APPENDIX CORRESPONDENCE TABLE 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 733G. ALARM LIST APPENDIX B–63084EN/02 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 734B–63084EN/02 APPENDIX G. ALARM LIST Number Message Contents 021 ILLEGAL PLANE AXIS COMMAN- An axis not included in the selected plane (by using G17, G18, G19) was DED commanded in circular interpolation. Modify the program. 022 NO CIRCLE RADIUS The command for circular interpolation lacks arc radius
  • Page 735G. ALARM LIST APPENDIX B–63084EN/02 Number Message Contents 055 MISSING MOVE VALUE IN CHF/CNR In chamfering or corner R block, the move distance is less than chamfer or corner R amount. 056 NO END POINT & ANGLE IN Neither the end point nor angle is specified in the command for the block CHF/CNR next
  • Page 736B–63084EN/02 APPENDIX G. ALARM LIST Number Message Contents 072 TOO MANY PROGRAMS The number of programs to be stored exceeded 63 (basic), 125 (option), 200 (option), 400 (option), or 1000 (option). Delete unnecessary pro- grams and execute program registration again. 073 PROGRAM NUMBER ALREADY IN T
  • Page 737G. ALARM LIST APPENDIX B–63084EN/02 Number Message Contents 094 P TYPE NOT ALLOWED (COORD P type cannot be specified when the program is restarted. (After the au- CHG) tomatic operation was interrupted, the coordinate system setting opera- tion was performed.) Perform the correct operation according
  • Page 738B–63084EN/02 APPENDIX G. ALARM LIST Number Message Contents 125 FORMAT ERROR IN MACRO format is erroneous. Modify the program. 126 ILLEGAL LOOP NUMBER In DOn, 1x n x3 is not established. Modify the program. 127 NC, MACRO STATEMENT IN SAME NC and custom macro commands coexist. BLOCK Modify
  • Page 739G. ALARM LIST APPENDIX B–63084EN/02 Number Message Contents 157 TOO MANY TOOL GROUPS The number of tool groups to be set exceeds the maximum allowable value. (See parameter No. 6800 bit 0 and 1) Modify the program. 158 ILLEGAL TOOL LIFE DATA The tool life to be set is too excessive. Modify the setti
  • Page 740B–63084EN/02 APPENDIX G. ALARM LIST Number Message Contents 210 CAN NOT COMAND M198/M099 1 M198 and M199 are executed in the schedule operation. Or M198 is executed in the DNC operation. Modify the program. 2 In a multiple repetitive pocketing canned cycle, an interrupt macro was specified, and M99
  • Page 741G. ALARM LIST APPENDIX B–63084EN/02 Number Message Contents 5030 ILLEGAL COMMAND (G100) The end command (G110) was specified before the registration start command (G101, G102, or G103) was specified for the B–axis. 5031 ILLEGAL COMMAND (G100, G102, While a registration start command (G101, G102, or
  • Page 742B–63084EN/02 APPENDIX G. ALARM LIST Number Message Contents 5139 FSSB : ERROR Servo initialization did not terminate normally. The optical cable may be defective, or there may be an error in connec- tion to the amplifier or another module. Check the optical cable and the connection status. 5195 DIRE
  • Page 743G. ALARM LIST APPENDIX B–63084EN/02 2) Background edit alarm Number Message Contents 070 to 074 BP/S alarm BP/S alarm occurs in the same number as the P/S alarm that occurs in 085 to 087 ordinary program edit. 140 BP/S alarm It was attempted to select or delete in the background a program being sele
  • Page 744B–63084EN/02 APPENDIX G. ALARM LIST 4) Serial pulse coder (SPC) alarms No. Message Description 360 n AXIS : ABNORMAL CHECKSUM A checksum error occurred in the built–in pulse coder. (INT) 361 n AXIS : ABNORMAL PHASE DATA A phase data error occurred in the built–in pulse coder. (INT) 362 n AXIS : ABNO
  • Page 745G. ALARM LIST APPENDIX B–63084EN/02 #4 (PRM) : Parameter error alarm has occurred. In this case, a servo parameter error alarm (No. 417) is also output. 5) Servo alarms Number Message Contents 401 SERVO ALARM: n–TH AXIS VRDY The n–th axis (axis 1–8) servo amplifier READY signal (DRDY) went off. OFF
  • Page 746B–63084EN/02 APPENDIX G. ALARM LIST Number Message Contents 420 SERVO ALARM: n AXIS SYNC During simple synchronous control, the difference between the torque TORQUE commands for the master and slave axes exceeded the value set in pa- (M series) rameter No. 2031. 421 SERVO ALARM: n AXIS EXCESS The di
  • Page 747G. ALARM LIST APPENDIX B–63084EN/02 Number Message Contents 445 n AXIS : SOFT DISCONNECT The digital servo software detected a broken wire in the pulse coder. ALARM 446 n AXIS : HARD DISCONNECT A broken wire in the built–in pulse coder was detected by hardware. ALARM 447 n AXIS : HARD DISCONNECT (EX
  • Page 748B–63084EN/02 APPENDIX G. ALARM LIST #7 #6 #5 #4 #3 #2 #1 #0 201 ALD EXP When OVL equal 1 in diagnostic data No.200 (servo alarm No. 400 is being generated): #7 (ALD) 0 : Motor overheating 1 : Amplifier overheating When FBAL equal 1 in diagnostic data No.200 (servo alarm No. 416 is being generated):
  • Page 749G. ALARM LIST APPENDIX B–63084EN/02 NOTE Over travel alarms No. 504 and No. 505 are provided only with the T series. Parameters 1326 and 1327 are effective when EXLM(stroke limit switch signal) is on. 7) Overheat alarms Number Message Contents 700 OVERHEAT: CONTROL UNIT Control unit overheat Check t
  • Page 750B–63084EN/02 APPENDIX G. ALARM LIST Number Message Contents 752 FIRST SPINDLE MODE CHANGE This alarm is generated if the system does not properly terminate a FAULT mode change. The modes include the Cs contouring, spindle position- ing, rigid tapping, and spindle control modes. The alarm is activate
  • Page 751G. ALARM LIST APPENDIX B–63084EN/02 D Serial spindle alarms If an alarm is generated for the serial spindle, an alarm message appears on the CNC in the form of 7nxXX. The number n identifies the alerted spindle (n = 1: First spindle, n = 2: Second spindle, and so on). NOTE*1 Note that the meanings o
  • Page 752B–63084EN/02 APPENDIX G. ALARM LIST SPM No. Message indica- 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 When
  • Page 753G. ALARM LIST APPENDIX B–63084EN/02 SPM No. Message indica- Faulty location and remedy Description tion(*1) 7n26 SPN_n_ : DISCONNECT 26 1 Replace the cable. The signal amplitude of the detection C–VELO DE- 2 Re–adjust the pre–amplifier. signal (connector JY2) on the Cs con- TECT tour control motor s
  • Page 754B–63084EN/02 APPENDIX G. ALARM LIST SPM No. Message indica- Faulty location and remedy Description tion(*1) 7n36 SPN_n_ : OVERFLOW 36 Check whether the position gain val- An error counter overflow occurred. ERROR ue is too large, and correct the value. COUNTER 7n37 SPN_n_ : SPEED DE- 37 Correct the
  • Page 755G. ALARM LIST APPENDIX B–63084EN/02 SPM No. Message indica- Faulty location and remedy Description tion(*1) 7n49 SPN_n_ : HIGH CONV. 49 Check whether the calculated differ- In differential speed mode, the speed DIF. SPEED ential speed value exceeds the maxi- of the other spindle converted to the mum
  • Page 756B–63084EN/02 APPENDIX G. ALARM LIST D Error codes (serial spindle) NOTE*1 Note that the meanings of the SPM indications differ depending on which LED, the red or yellow LED, is on. When the yellow LED is on, an error code is indicated with a 2–digit number. The error code is not displayed on the CNC
  • Page 757G. ALARM LIST APPENDIX B–63084EN/02 SPM indica- Faulty location and remedy Description tion(*1) 12 During execution of the spindle synchronization com- Although spindle synchronization is being performed, mand, do not specify another operation mode. Before another operation mode (Cs contour control,
  • Page 758B–63084EN/02 APPENDIX G. ALARM LIST 10) System alarms (These alarms cannot be reset with reset key.) Number Message Contents 900 ROM PARITY ROM parity error (CNC/OMM/Servo) Replace the number of ROM. 910 SRAM PARITY : (BYTE 0) RAM parity error in the tape memory RAM module. Clear the memory or repla
  • Page 759
  • Page 760B–63084EN/02 INDEX ƠAơ Clearing the screen, 665 CNC control unit with 7.2″/8.4″ LCD, 376 Absolute and incremental programming (G90, G91), 91 CNC control unit with 9.5″/10.4″ LCD, 376 Actual feedrate display, 604 Command for machine operations – miscellaneous function, 24 Address and specifiable valu
  • Page 761INDEX B–63084EN/02 Direct input of tool offset measured B, 630 ƠFơ Direct input of tool offset value, 628 FANUC Handy File, 405 Direction of imaginary tool nose, 197 Feed functions, 67 Display, 369 Feed–feed function, 16 Display of run time and parts count, 606 Feedrate override, 464 Displaying a pr
  • Page 762B–63084EN/02 INDEX Inputting and outputting programs, 521 Mirror image for double turret (G68, G69), 175 Inputting custom macro common variables, 508 Modal call (G66), 280 Inputting offset data, 502 Moving part of a program, 574 Inputting parameters, 504 Multiple M commands in a single block, 116 In
  • Page 763INDEX B–63084EN/02 Pattern data input function, 344 Sample program, 286 Pattern repeating (G73), 148 Scheduling function, 437 Plane selection, 89 Screen displayed at power–on, 407 Polar coordinate interpolation (G12.1, G13.1), 46 Screens displayed by function key MESSAGE , 663 Polygonal turning, 325
  • Page 764B–63084EN/02 INDEX Stored stroke check, 473 Tool movement range – stroke, 29 Subprogram (M98, M99), 129 Tool offset, 186 Subprogram call (M198), 456 Tool path at corner, 711 Subprogram call function (M198), 442 Tool selection, 108, 187 Subprogram call using an M code, 284 Torque limit skip (G31 P99)
  • Page 765
  • Page 766Revision Record FANUC Series 21i/210i/210is–TA OPERATOR’S MANUAL (B–63084EN) S Correction of errors 02 Apr., 2000 S Addition of Series 210is–TA S Addition of “DNC Operation with Memory Card” 01 Apr., 1997 Edition Date Contents Edition Date Contents
  • Page 767
  • Page 768EUROPEAN HEADQUARTERS – BELGIUM / NETHERLANDS GRAND-DUCHÉ DE LUXEMBOURG GE Fanuc Automation Europe S.A. GE Fanuc Automation Europe S.A. - Netherlands Branch - Zone Industrielle Postbus 7230 - NL-4800 GE Breda L-6468 Echternach Minervum 1603A - NL-4817 ZL Breda ( (+352) 727979 - 1 ( (+31) 76-5783 201
  • Page 769• No part of this manual may be reproduced in any form. • All specifications and designs are subject to change without prior 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
  • Page 770TECHNICAL REPORT (MANUAL) TMN00/152E Date: Sep.18.2000 General Manager of Software Laboratory FANUC Series 21i/210i/210is–TA Operator’s Manual Concerning the addition of Manual Handle Retrace Function 1. Communicate this report to: Your information Ο GE Fanuc-N, GE Fanuc-E FANUC Robotics CINCINNATI
  • Page 771FANUC Series 21i/210i/210is–TA Operator’s Manual Concerning the addition of Manual Handle Retrace Function 1.Type of applied technical documents Name FANUC Series 21i/210i/210is–TA Operator’s Manual Spec.No./Ed. B-63084EN/02 2.Summary of Change Group Name/Outline New,Add, Applicable Correct, Date De
  • Page 772FANUC Series 16i/18i/21i-TA Manual Handle Retrace Specifications DS0100-04 FANUC Series 21i/210i/210is–TA TITLE Operator’s Manual Concerning the addition of Manual Handle Retrace Function No. B-63084EN/02-1 01 00.09.18 Newly Registered EDT. DATE DESIGN DESCRIPTION PAGE 2/18
  • Page 7731. General In this function, the program can be executed both forward and backward with a manual handle (manual pulse generator) under automatic operation. Therefore, errors of a program, interference, and so on can be checked easily by working a machine actually. 1.1 Checking mode In this mode, the
  • Page 7741.3 Backward movement The "backward movement " is that the program executed forward once is executed backward by turning a manual handle in the negative direction. The program can be executed backward only for the block executed forward. And, the number of blocks for it is about 200 blocks. The prog
  • Page 7752.1.2 Control with the manual handle (manual pulse generator) The value of the parameter No.6410 and the scale factors decide the moving amount of the machine by one pulse generated by a manual handle. When a manual handle is turned, the actual movement amount of the machine is as follows. [Feedrate
  • Page 7762.1.3 Forward movement and backward movement with a manual handle The program is executed forward when a manual handle is turned to the positive direction. And, the program is executed backward when a manual handle is turned to the negative direction. The program is executed backward as soon as a ma
  • Page 7772.2 Backward movement of each code All modal information of G, T, S-code is memorized in executing the program forward. And, their memorized data of the modal G, T, S-code is used in executing the program backward. As for M-codes, they are grouped and their modal information is managed by parameter
  • Page 7782.3 Direction change prohibition The direction change prohibition is a state not being changed for the direction where the program is executed. In the state, even if the rotating direction of a manual handle is reversed, the reversed rotation is disregarded. A manual handle must be rotate in the sam
  • Page 7792.5 Others 2.5.1 Movement command + M,S,T-code When M,S,T-codes and movement commands are in the same block., the timing outputting codes changes between in forward movement and in backward movement. Example) O0001 ; M5 S0 F0 ; G53 X0 Z0 ; (1) G1 W100 M3 S100 F1. ; (2) G0 U50. W50. ; (3) M2 ; [Forwa
  • Page 7802.5.2 Non linear interpolation type positioning In the non linear interpolation type positioning, the route is different between in forward movement and in backward movement. X The route of forward movement The route of backward movement Z Notice: Please use the interpolation type positioning to war
  • Page 7812.5.8 Axis control by PMC The movement of axis control by PMC cannot be controlled by this function. DS0100-04 FANUC Series 21i/210i/210is–TA TITLE Operator’s Manual Concerning the addition of Manual Handle Retrace Function No. B-63084EN/02-1 01 00.09.18 Newly Registered EDT. DATE DESIGN DESCRIPTION
  • Page 7823. Parameter and DI / DO 3.1 Parameter 6400 HDMPH HDMC8 HDMC5 HDFWD HDRPD [Data type] Bit type HDRPD In the Program Retrace with Manual Handle function, the rapid traverse feedrate is: 0: clamped by override 10% feedrate. 1: clamped by override 100% feedrate. HDFWD In the Program Retrace with Manual
  • Page 783HDMPH When other paths become direction change prohibition or reverse movement prohibition: 0: The executing path does not become direction change prohibition or reverse movement prohibition 1: The executing path becomes direction change prohibition or reverse movement prohibition 6410 The movement
  • Page 7846411 M-code of group A (1) 6412 M-code of group A (2) 6413 M-code of group A (3) 6414 M-code of group A (4) 6415 M-code of group B (1) 6416 M-code of group B (2) 6417 M-code of group B (3) 6418 M-code of group B (4) 6419 M-code of group C (1) 6420 M-code of group C (2) 6421 M-code of group C (3) 642
  • Page 7856439 M-code of group H (1) 6440 M-code of group H (2) 6441 M-code of group H (3) 6442 M-code of group H (4) 6443 M-code of group I (1) 6444 M-code of group I (2) 6445 M-code of group I (3) 6446 M-code of group I (4) 6447 M-code of group J (1) 6448 M-code of group J (2) 6449 M-code of group J (3) 645
  • Page 7866467 M-code of group O (1) 6468 M-code of group O (2) 6469 M-code of group O (3) 6470 M-code of group O (4) 6471 M-code of group P (1) 6472 M-code of group P (2) 6473 M-code of group P (3) 6474 M-code of group P (4) 6475 M-code of group Q (1) 6476 M-code of group Q (2) 6477 M-code of group Q (3) 647
  • Page 787[Data type] Word type [Valid data range] 0 - 9999 The group of M-code at reverse movement is set. The reverse movement of M-code outputs a modal M-code of the same group set by the parameter. The first M-code of each group is the default value. The M-code, which is not set by this parameter, outputs
  • Page 7883.2 DI / DO 3.2.1 DI signal G0067 MCHK MMOD MRVM MMOD Checking mode signal 0: Checking mode is not available. 1: If the mode is MEM, checking mode is available. MCHK Handle available signal in checking mode 0: In checking mode, the operation is equal to the automatic operation. 1: In checking mode,
  • Page 789TECHNICAL REPORT NO.TMN 01/083E Date Jun. 8, 2001 General Manager of Software Development Center FANUC Series 16/18/160/180-TC/MC OPERATOR’S MANUAL FANUC Series 16i/18i/160i/180i/160is/180is - TA/MA OPERATOR’S MANUAL FANUC Series 21i/210i/210is - TA/MA OPERATOR’S MANUAL Changing of “Linear interpola
  • Page 790FANUC Series 21i/210i/210is-TA OPERATOR’S MANUAL Changing of “Linear interpolation positioning” explanation 1. Type of applied technical documents Name FANUC Series 21i/210i/210is-TA OPERATOR'S MANUAL Spec. No. / B-63084EN/02 Version 2. Summary of change Group Name / Outline New, Add., Applicable Co
  • Page 7911 Application This report is applied to following CNCs. Series 21i/210i/210is-TA This report is a supplement for a following manual. FANUC Series 21i/210i/210is-TA OPERATOR'S MANUAL (B-63084EN/02) 2 Outline In the above-mentioned manuals, the explanation of “4.1 POSITIONING (G00) Linear interpolatio
  • Page 7923 Details The explanation of “4.1 POSITIONING (G00) Linear interpolation positioning” is changed as follows. (Before change) Linear interpolation positioning The tool path is the same as in linear interpolation (G01). The tool is positioned within the shortest possible time at a speed that is not mo
  • Page 793FANUC Series 21i/210i/210is - TA OPERATOR’S MANUAL FANUC Series 21i/210i - TB OPERATOR’S MANUAL Explanation addition of Rigid tapping 1.Type of applied technical documents FANUC Series 21i/210i/210is - TA OPERATOR’S MANUAL Name FANUC Series 21i/210i - TB OPERATOR’S MANUAL Spec.No./Ed. B-63084EN/02,
  • Page 79413.7.1 Front Face Rigid Tapping Cycle (G84) / Side Face Rigid Tapping Cycle (G88) The description is added to “S command”. Limitations S command • The S command, which is specified at rigid tapping, is cleared at commanding Rigid Tapping Cancel and the condition is the same that S0 is commanded. 13.
  • Page 795TECHNICAL 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 796FANUC Series 21i/210i/210is - TA OPERATOR’S MANUAL FANUC Series 21i/210i - TB OPERATOR’S MANUAL Concerning addition of the Changing Active Offset Value with Manual Move 1.Type of applied technical documents FANUC Series 21i/210i/210is - TA OPERATOR’S MANUAL Name FANUC Series 21i/210i - TB OPERATOR’S
  • Page 797• Adding “FANUC Series 16i /18i /21i – TA / TB Changing Active Offset Value with Manual Move (A-78376E)” to this description (Attached papers) FANUC Series 16i /18i /21i – TA / TB Changing Active Offset Value with Manual Move (A-78376E) 21i/210i/210is - TA 21i/210i - TB OPERATOR’S MANUAL TITLE Conce
  • Page 798FANUC Series 16i /18i /21i – TA / TB Changing Active Offset Value with Manual Move Index 1. Outline ........................................................................................................................... 2 2. Explanation............................................................
  • Page 7991. 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 8002.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 801Example 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 8023. 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 803Active 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 804The 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 805#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 806The 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 807[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 808FANUC 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 809At "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