FANUC SERIES 0/00/0-MATE Operators manual Page 263

Operators manual
PROGRAMMING
B61404E/08
14. COMPENSATION FUNCTION
240
The following blocks have no tool movement. In these blocks, the tool
will not move even if cutter compensation is effected.
M05 ; M code output. . . . . . . . .
S21 ; S code output. . . . . . . . .
G04 X10.0 ; Dwell. . . .
G10 L11 P01 R10.0 ; Cutter compensation value setting
(G17) Z200.0 ; Move command not included in the .
offset plane.
G90 ; G code only. . . . . . . . .
G91 X0 ;Move distance is zero.
These com-
mands are of
no movement.
When a single block without tool movement is commanded in the offset
mode, the vector and tool center path are the same as those when the block
is not commanded. This block is executed at the single block stop point.
L
N6
N7 N8
L
SS
N6 G91 X100.0 Y100.0 ;
N7 G04 X10.0 ;
N8 X100.0 ;
Tool center path
Programmed path
Block N7 is executed here.
However, when the move distance is zero, even if the block is commanded
singly, tool motion becomes the same as that when more than one block
of without tool movement are commanded, which will be described
subsequently.
L
N6
N7 N8
L
SS
N6 G91 X100.0 Y100.0 ;
N7 X0 ;
N8 X100.0 ;
Programmed path
Tool center path
Two blocks without tool movement should not be commanded
consecutively. If commanded, a vector whose length is equal to the offset
value is produced in a normal direction to tool motion in earlier block, so
overcutting may result.
L
N6
N7 N8
L
SSS
N6 G91 X100.0 Y100.0 ;
N7 S21 ;
N8 G04 X10.0 ;
N9 X100.0 ;
Blocks N7 and N8 are executed here.
N9
Programmed path
Tool center path
D A block without tool
movement
A block without tool
movement specified in
offset mode

Contents Summary of FANUC SERIES 0/00/0-MATE Operators manual

  • Page 1FOR MACHINING CENTER OPERATOR’S MANUAL B-61404E/08
  • Page 2Ȧ No part of this manual may be reproduced in any form. Ȧ All specifications and designs are subject to change without notice. In this manual we have tried as much as possible to describe all the various matters. However, we cannot describe all the matters which must not be done, or which cannot be
  • Page 3SAFETY PRECAUTIONS This section describes the safety precautions related to the use of CNC units. It is essential that these precautions be observed by users to ensure the safe operation of machines equipped with a CNC unit (all descriptions in this section assume this configuration). Note that some
  • Page 4SAFETY PRECAUTIONS B–61404E/08 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 is
  • Page 5B–61404E/08 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 singl
  • Page 6SAFETY PRECAUTIONS B–61404E/08 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 v
  • Page 7B–61404E/08 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 this manual carefully such that you are fully familiar with their contents. WARNING 1. Co
  • Page 8SAFETY PRECAUTIONS B–61404E/08 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 st
  • Page 9B–61404E/08 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 this manual carefully, such that you are fully familiar with their contents. WARN
  • Page 10SAFETY PRECAUTIONS B–61404E/08 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 machine
  • Page 11B–61404E/08 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–61404E/08 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–61404E/08 SAFETY PRECAUTIONS WARNING 3. Fuse replacement Before replacing a blown fuse, however, it is necessary to locate and remove the cause of the blown fuse. For this reason, only those personnel who have received approved safety and maintenance training may perform this work. When replacing
  • Page 14B–61404E/08 Table of Contents SAFETY PRECAUTIONS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . s–1 I. GENERAL 1. GENERAL . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
  • Page 15TABLE OF CONTENTS B–61404E/08 5. FEED FUNCTIONS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 49 5.1 GENERAL . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
  • Page 16B–61404E/08 TABLE OF CONTENTS 11. AUXILIARY FUNCTION . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 115 11.1 AUXILIARY FUNCTION (M FUNCTION) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 116 11.2 MULTIPLE
  • Page 17TABLE OF CONTENTS B–61404E/08 14. COMPENSATION FUNCTION . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 191 14.1 TOOL LENGTH OFFSET (G43, G44, G49) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 192 14.2 AUTOMATIC TOOL
  • Page 18B–61404E/08 TABLE OF CONTENTS 16.5 BRANCH AND REPETITION . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 313 16.5.1 Unconditional Branch (GOTO Statement) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 313 16.5
  • Page 19TABLE OF CONTENTS B–61404E/08 III. OPERATION 1. GENERAL . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 375 1.1 MANUAL OPERATION . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
  • Page 20B–61404E/08 TABLE OF CONTENTS 4. AUTOMATIC OPERATION . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 423 4.1 MEMORY OPERATION . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 424 4.
  • Page 21TABLE OF CONTENTS B–61404E/08 8.8 DISPLAYING DIRECTORY OF FLOPPY DISK . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 485 8.8.1 Displaying the Directory . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 486 8.8.2
  • Page 22B–61404E/08 TABLE OF CONTENTS 11.2 SCREENS DISPLAYED BY FUNCTION KEY PRGRM (IN AUTO MODE OR MDI MODE) . . . . 548 11.2.1 Program Contents Display . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 549 11.2.2 Current Block Display Screen . . . . .
  • Page 23TABLE OF CONTENTS B–61404E/08 APPENDIX A. TAPE CODE LIST . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 631 B. LIST OF FUNCTIONS AND TAPE FORMAT . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 634 C. RANGE OF COMM
  • Page 24I. GENERA
  • Page 25
  • Page 26B–61404E/08 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 N
  • Page 271. GENERAL GENERAL B–61404E/08 Special symbols This manual uses the following symbols: IP_: Indicates a combination of axes such as X__ Y__ Z (used in PROGRAMMING.). ; : Indicates the end of a block. It actually corre- sponds to the ISO code LF or EIA code CR. Related manuals The table below lists m
  • Page 28B–61404E/08 GENERAL 1. GENERAL D Series 0–D II List of related manuals Specification Manual name number FANUC Series 0/00/0–Mate CONNECTION MANUAL (HARDWARE) B–61393E FANUC Series 0/00/0–Mate CONNECTION MANUAL (FUNCTION) B–61393E–2 FANUC Series 0/00/0–Mate FOR LATHE OPERATOR’S MANUAL B–61394E FANUC
  • Page 291. GENERAL GENERAL B–61404E/08 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 1) First, prepare the program from a part drawing to operate the CNC OPERATION OF CNC machine tool. Store the program t
  • Page 30B–61404E/08 GENERAL 1. GENERAL Tool Side cutting Face cutting Hole machining Prepare the program of the tool path and machining condition according to the workpiece figure, for each machining. 7
  • Page 311. GENERAL GENERAL B–61404E/08 1.2 NOTE NOTES ON READING 1 The function of an CNC machine tool system depends not THIS MANUAL only on the CNC, but on the combination of the machine tool, its magnetic cabinet, the servo system, the CNC, the operator’s panels, etc. It is too difficult to describe the
  • Page 32II. PROGRAMMIN
  • Page 33
  • Page 34B–61404E/08 PROGRAMMING 1. GENERAL 1 GENERAL 11
  • Page 351. GENERAL PROGRAMMING B–61404E/08 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 Tool Program G01 X_ _ Y_ _ ; X_ _ ; Workpiece Fig.1.1 (
  • Page 36B–61404E/08 PROGRAMMING 1. GENERAL (a) Movement along straight line (b) Movement along arc G01 Y__; G03X––Y––R––; X––Y––––; Control unit X axis Tool Interpolation move- ment Y axis a) Movement along straight line b) Movement along arc Fig.1.1 (c) Interpolation function NOTE Some machines move tables
  • Page 371. GENERAL PROGRAMMING B–61404E/08 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 p
  • Page 38B–61404E/08 PROGRAMMING 1. GENERAL 1.3.2 Coordinate System on Z Part Drawing and Z Coordinate System Program Specified by CNC – Y Y Coordinate System X X Coordinate system Part drawing CNC Command Tool Z Y Workpiece X Machine tool Fig.1.3.2 (a) Coordinate system Explanations D Coordinate system The
  • Page 391. GENERAL PROGRAMMING B–61404E/08 Coordinate system on part drawing established on the workpiece Coordinate system specified by the CNC established on the table Y Y Workpiece X X Table Fig.1.3.2 (c) Coordinate system specified by CNC and coordinate systemon part drawing The tool moves on the coordi
  • Page 40B–61404E/08 PROGRAMMING 1. GENERAL D Methods of setting the To set the two coordinate systems at the same position, simple methods two coordinate systems shall be used according to workpiece shape, the number of machinings. in the same position (1) Using a standard plane and point of the workpiece.
  • Page 411. GENERAL PROGRAMMING B–61404E/08 1.3.3 How to Indicate Command Dimensions for Moving the Tool – Absolute, Incremental Commands Explanations Coordinate values of command for moving the tool can be indicated by absolute or incremental designation (See II–8.1). D Absolute coordinates The tool moves t
  • Page 42B–61404E/08 PROGRAMMING 1. GENERAL 1.4 The speed of the tool with respect to the workpiece when the workpiece is cut is called the cutting speed. CUTTING SPEED – As for the CNC, the cutting speed can be specified by the spindle speed SPINDLE SPEED in rpm unit. FUNCTION Spindle speed Tool N rpm ø D m
  • Page 431. GENERAL PROGRAMMING B–61404E/08 1.5 When drilling, tapping, boring, milling or the like, is performed, it is necessary to select a suitable tool. When a number is assigned to each tool SELECTION OF TOOL and the number is specified in the program, the corresponding tool is USED FOR VARIOUS selecte
  • Page 44B–61404E/08 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 com
  • Page 451. GENERAL PROGRAMMING B–61404E/08 Explanations The block and the program have the following configurations. D Block 1 block N ffff G ff X ff.f Y fff.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 46B–61404E/08 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 execut
  • Page 471. GENERAL PROGRAMMING B–61404E/08 1.8 TOOL FIGURE AND TOOL MOTION BY PROGRAM Explanations D Machining using the end Usually, several tools are used for machining one workpiece. The tools of cutter – Tool length have different tool length. It is very troublesome to change the program compensation fu
  • Page 48B–61404E/08 PROGRAMMING 1. GENERAL 1.9 Limit switches are installed at the ends of each axis on the machine to prevent tools from moving beyond the ends. The range in which tools can TOOL MOVEMENT move is called the stroke. RANGE – STROKE Table Motor Limit switch Machine zero point Specify these dis
  • Page 492. CONTROLLED AXES PROGRAMMING B–61404E/08 2 CONTROLLED AXES 26
  • Page 50B–61404E/08 PROGRAMMING 2. CONTROLLED AXES 2.1 CONTROLLED AXES Series Series Series 0–D 0/00–C 0–Mate C No. of basic controlled axes 3 axes 3 axes 3 axes Controlled axes expansion Up to 4 axes Up to 4 axes Up to 4 axes (PMC axis is not included.) Basic simultaneously con- 2 axes 2 axes 2 axes trolle
  • Page 513. PREPARATORY FUNCTION (G FUNCTION) PROGRAMMING B–61404E/08 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 523. PREPARATORY FUNCTION B–61404E/08 PROGRAMMING (G FUNCTION) Table 3 G code list (1/3) G code Group Function G00 Positioning G01 Linear interpolation 01 G02 Circular interpolation/Helical interpolation CW G03 Circular interpolation/Helical interpolation CCW G04 Dwell, Exact stop G05 High speed cycle
  • Page 533. PREPARATORY FUNCTION (G FUNCTION) PROGRAMMING B–61404E/08 Table 3 G code list (2/3) G code Group Function G52 Local coordinate system setting 00 G53 Machine coordinate system selection G54 Workpiece coordinate system 1 selection G55 Workpiece coordinate system 2 selection G56 Workpiece coordinate
  • Page 543. PREPARATORY FUNCTION B–61404E/08 PROGRAMMING (G FUNCTION) Table 3 G code list (3/3) G code Group Function G90 Absolute command 03 G91 Increment command G92 00 Setting for work coordinate system or clamp at maximum spindle speed G94 Feed per minute 05 G95 Feed per rotation G96 Constant surface spe
  • Page 554. INTERPOLATION FUNCTIONS PROGRAMMING B–61404E/08 4 INTERPOLATION FUNCTIONS 32
  • Page 56B–61404E/08 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 (G00) rate. In the absolute command, coordinate value of the end point is programmed. In th
  • Page 574. INTERPOLATION FUNCTIONS PROGRAMMING B–61404E/08 4.2 For accurate positioning without play of the machine (backlash), final positioning from one direction is available. SINGLE DIRECTION POSITIONING (G60) Overrun Start position Start position Temporary stop End position Format G60 IP _ ; IP_: For a
  • Page 58B–61404E/08 PROGRAMMING 4. INTERPOLATION FUNCTIONS 4.3 Tools can move along a line LINEAR INTERPOLATION (G01) Format G01 IP _ F_ ; IP_: For an absolute command, the coordinates of an end point, and for an incremental command, the distance the tool moves. F_: Speed of tool feed (Feedrate) Explanation
  • Page 594. INTERPOLATION FUNCTIONS PROGRAMMING B–61404E/08 A calculation example is as follows. G91 G01 X20.0B40.0 F300.0 ; This changes the unit of the C axis from 40.0 deg to 40mm with metric input. The time required for distribution is calculated as follows: Ǹ20 2 ) 40 2 0.14907 (min) 300 The feed rate f
  • Page 60B–61404E/08 PROGRAMMING 4. INTERPOLATION FUNCTIONS 4.4 The command below will move a tool along a circular arc. CIRCULAR INTERPOLATION (G02, G03) Format Arc in the XpYp plane G02 I_J_ G17 Xp_Yp_ F_ ; G03 R_ Arc in the ZpXp plane G02 I_K_ G18 Xp_Zp_ F_ ; G03 R_ Arc in the YpZp plane G02 J_K_ F_ ; G19
  • Page 614. INTERPOLATION FUNCTIONS PROGRAMMING B–61404E/08 Explanations D Direction of the circular “Clockwise”(G02) and “counterclockwise”(G03) on the XpYp plane interpolation (ZpXp plane or YpZp plane) are defined when the XpYp plane is viewed in the positive–to–negative direction of the Zp axis (Yp axis
  • Page 62B–61404E/08 PROGRAMMING 4. INTERPOLATION FUNCTIONS D Arc radius The distance between an arc and the center of a circle that contains the arc can be specified using the radius, R, of the circle instead of I, J, and K. In this case, one arc is less than 180°, and the other is more than 180° are consid
  • Page 634. INTERPOLATION FUNCTIONS PROGRAMMING B–61404E/08 Examples Y axis 100 50R 60 60R 40 X axis 0 90 120 140 200 The above tool path can be programmed as follows ; (1) In absolute programming G92X200.0 Y40.0 Z0 ; G90 G03 X140.0 Y100.0R60.0 F300.; G02 X120.0 Y60.0R50.0 ; or G92X200.0 Y40.0Z0 ; G90 G03 X1
  • Page 64B–61404E/08 PROGRAMMING 4. INTERPOLATION FUNCTIONS 4.5 Helical interpolation is possible, by which the tool is moved along a helix, by specifying circular interpolation together with movement along an HELICAL CUTTING axis in a plane other than that specified for circular interpolation. (G02, G03) Fo
  • Page 654. INTERPOLATION FUNCTIONS PROGRAMMING B–61404E/08 4.6 The amount of travel of a rotary axis specified by an angle is once internally converted to a distance of a linear axis along the outer surface CYLINDRICAL so that linear interpolation or circular interpolation can be performed with INTERPOLATIO
  • Page 66B–61404E/08 PROGRAMMING 4. INTERPOLATION FUNCTIONS D Cylindrical interpolation In the cylindrical interpolation mode, the amount of travel of a rotary axis accuracy specified by an angle is once internally converted to a distance of a linear axis on the outer surface so that linear interpolation or
  • Page 674. INTERPOLATION FUNCTIONS PROGRAMMING B–61404E/08 Examples Example of a Cylindrical Interpolation Program C O0001 (CYLINDRICAL INTERPOLATION ); N01 G00 G90 Z100.0 C0 ; N02 G01 G91 G18 Z0 C0 ; Z R N03 G107 C57299 ; N04 G90 G01 G42 Z120.0 D01 F250 ; N05 C30.0 ; N06 G02 Z90.0 C60.0 R30.0 ; N07 G01 Z70
  • Page 68B–61404E/08 PROGRAMMING 4. INTERPOLATION FUNCTIONS 4.7 Straight threads with a constant lead can be cut. The position coder mounted on the spindle reads the spindle speed in real–time. The read CONSTANT LEAD spindle speed is converted to the feedrate per minute to feed the tool. THREADING (G33) Form
  • Page 694. INTERPOLATION FUNCTIONS PROGRAMMING B–61404E/08 NOTE 1 The spindle speed is limited as follows : 1 x spindle speed x Maximum feedrate Thread lead Spindle speed : rpm Thread lead : mm or inch Maximum feedrate : mm/min or inch/min ; maximum command–specified feedrate for feed–per–minute mode or max
  • Page 70B–61404E/08 PROGRAMMING 4. INTERPOLATION FUNCTIONS 4.8 Linear interpolation can be commanded by specifying axial move following the G31 command, like G01. If an external skip signal is input SKIP FUNCTION during the execution of this command, execution of the command is (G31) interrupted and the nex
  • Page 714. INTERPOLATION FUNCTIONS PROGRAMMING B–61404E/08 Examples D The next block to G31 is an incremental command Y50.0 G31 G91X100.0 F100; Y50.0; Skip signal is input here 50.0 100.0 Actual motion Motion without skip signal Fig.4.8 (a) The next block is an incremental command D The next block to G31 is
  • Page 72B–61404E/08 PROGRAMMING 5. FEED FUNCTIONS 5 FEED FUNCTIONS 49
  • Page 735. FEED FUNCTIONS PROGRAMMING B–61404E/08 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 (p
  • Page 74B–61404E/08 PROGRAMMING 5. FEED FUNCTIONS D Automatic acceleration/ To prevent a mechanical shock, acceleration/deceleration is automatically deceleration applied when the tool starts and ends its movement (Fig. 5.1 (a)). Rapid traverse rate : Linear acceleration/deceleration (constant acceleration)
  • Page 755. FEED FUNCTIONS PROGRAMMING B–61404E/08 D Tool path in a cutting If the direction of movement changes between specified blocks during feed cutting feed, a rounded–corner path may result (Fig. 5.1 (b)). Y Programmed path Actual tool path 0 X Fig. 5.1 (b) Example of tool path between two blocks In c
  • Page 76B–61404E/08 PROGRAMMING 5. FEED FUNCTIONS 5.2 RAPID TRAVERSE Format G00 IP _ ; G00 : G code (group 01) for positioning (rapid traverse) IP _ ; Dimension word for the end point Explanations The positioning command (G00) positions the tool by rapid traverse. In rapid traverse, the next block is execut
  • Page 775. FEED FUNCTIONS PROGRAMMING B–61404E/08 5.3 Feedrate of linear interpolation (G01), circular interpolation (G02, G03), etc. are commanded with numbers after the F code. CUTTING FEED In cutting feed, the next block is executed so that the feedrate change from the previous block is minimized. Three
  • Page 78B–61404E/08 PROGRAMMING 5. FEED FUNCTIONS D Feed per minute (G94) After specifying G94 (in the feed per minute mode), the amount of feed of the tool per minute is to be directly specified by setting a number after F. G94 is a modal code. Once a G94 is specified, it is valid until G95 (feed per revol
  • Page 795. FEED FUNCTIONS PROGRAMMING B–61404E/08 D Feed per revolution After specifying G95 (in the feed per revolution mode), the amount of (G95) feed of the tool per spindle revolution is to be directly specified by setting a number after F. G95 is a modal code. Once a G95 is specified, it is valid until
  • Page 80B–61404E/08 PROGRAMMING 5. FEED FUNCTIONS D One–digit F code feed When a one–digit number from 1 to 9 is specified after F, the feedrate set for that number in a parameter (Nos. 788 to 796) is used. When F0 is specified, the rapid traverse rate is applied. The feedrate corresponding to the number cu
  • Page 815. FEED FUNCTIONS PROGRAMMING B–61404E/08 5.4 Cutting feedrate can be controlled, as indicated in Table 5.4. CUTTING FEEDRATE CONTROL Table 5.4 Cutting feedrate control Function name G code Validity of G code Description This function is valid for specified The tool is decelerated at the end point o
  • Page 82B–61404E/08 PROGRAMMING 5. FEED FUNCTIONS Format Exact stop G09 IP _ ; G61 ; Cutting mode G64 ; Tapping mode G63 ; Automatic corner override G62 ; 5.4.1 Exact Stop (G09, G61) Cutting Mode (G64) Tapping Mode (G63) Explanations The inter–block paths followed by the tool in the exact stop mode, cutting
  • Page 835. FEED FUNCTIONS PROGRAMMING B–61404E/08 5.4.2 Automatic Override for Inner Corners (G62) Explanations D Override condition When G62 is specified, and the tool path with cutter compensation applied forms an inner corner, the feedrate is automatically overridden at both ends of the corner. There are
  • Page 84B–61404E/08 PROGRAMMING 5. FEED FUNCTIONS Override range When a corner is determined to be an inner corner, the feedrate is overridden before and after the inner corner. The distances Ls and Le, where the inner corner is overridden, are distances from points on the cutter center path to the corner (
  • Page 855. FEED FUNCTIONS PROGRAMMING B–61404E/08 Override value An override value is set with parameter No. 214. An override value is valid even for dry run and F1–digit specification. In the feed per minute mode, the actual feedrate is as follows: F × (automatic override for inner corners) × (feedrate ove
  • Page 86B–61404E/08 PROGRAMMING 5. FEED FUNCTIONS 5.5 DWELL (G04) Format Dwell G04 X_ ; or G04 P_ ; X_ : Specify a time (decimal point permitted) P_ : Specify a time (decimal point not permitted) Explanations By specifying a dwell, the execution of the next block is delayed by the specified time. In additio
  • Page 875. FEED FUNCTIONS PROGRAMMING B–61404E/08 5.6 By using linear acceleration/deceleration before interpolation, linear acceleration/deceleration can be applied to a specified cutting feedrate CUTTING FEED before interpolation. With this function, the machining figure error LINEAR resulting from delay
  • Page 88B–61404E/08 PROGRAMMING 5. FEED FUNCTIONS Explanations With linear acceleration/deceleration before interpolation, a specified feedrate that takes a feed–per–minute command (G94) override for linear or circular interpolation (G01, G02, G03) into consideration can be controlled such that the feedrate
  • Page 895. FEED FUNCTIONS PROGRAMMING B–61404E/08 NOTE 1 The following cannot be specified during linear acceleration/deceleration before interpolation: D Control along the C–axis normal D Cylindrical interpolation D Polar coordinate specification D F 1–digit feed/threading/synchronous feed D Index table in
  • Page 90B–61404E/08 PROGRAMMING 5. FEED FUNCTIONS 5.7 With this function, the remaining pulses output upon the completion of interpolation of a block are output together with the interpolation pulses CUTTING FEED of the next block to suppress the feedrate variations that can occur BLOCK OVERLAP between the
  • Page 915. FEED FUNCTIONS PROGRAMMING B–61404E/08 5.8 In corner machining, this function controls the feedrate by decelerating the tool at a corner according to the corner angle between the blocks or AUTOMATIC according to the feedrate difference along each axis to improve the CORNER machining precision (ac
  • Page 92B–61404E/08 PROGRAMMING 5. FEED FUNCTIONS When the corner angle is smaller than that specified in the parameter, the relationship between the feedrate and time will be as shown below. The movement of block A equivalent to the hatched area remains at time t. The execution of block B is started, howev
  • Page 935. FEED FUNCTIONS PROGRAMMING B–61404E/08 NOTE 1 Comparison between a machining angle and parameter–set angle (parameter No. 865) is made only for the XY plane. Comparison between a machining feedrate and parameter–set feedrate (parameter No. 482) is made only for the X–axis and Y–axis. So, when mov
  • Page 94B–61404E/08 PROGRAMMING 5. FEED FUNCTIONS D Corner deceleration (1) Specification based on feedrate When the difference between the specified feedrate at the end point of difference between block A and the specified feedrate at the start point of block B along blocks along each axis each axis is lar
  • Page 955. FEED FUNCTIONS PROGRAMMING B–61404E/08 (2) When linear acceleration/deceleration before interpolation is enabled When the feedrate difference between block A and block B along each axis is larger than the value set in parameter No. 483, the feedrate is reduced in block A to the corner feedrate ca
  • Page 96B–61404E/08 PROGRAMMING 5. FEED FUNCTIONS Feedrate along X–axis Vc [X] Vmax Vmax When the feedrate is not reduced at the corner Feedrate along Y–axis When the feedrate is reduced at the corner Vc [Y] Vmax Feedrate along tangent F 1 F* Rmax N1 N2 t NOTE 1 A feedrate difference comparison between mach
  • Page 975. FEED FUNCTIONS PROGRAMMING B–61404E/08 5.9 Particularly when high–speed circular cutting is performed using circular interpolation, the actual tool path incurs a radial error with respect to the FEEDRATE CLAMP specified arc. When a feedrate specified for an arc with a programmed BASED ON ARC radi
  • Page 98B–61404E/08 PROGRAMMING 5. FEED FUNCTIONS NOTE 1 This function is also usable with linear acceleration/deceleration before interpolation. In this case, no arc radius error is caused by acceleration/deceleration before interpolation. When the time constant for acceleration/deceleration after interpol
  • Page 995. FEED FUNCTIONS PROGRAMMING B–61404E/08 5.10 This function can apply smooth acceleration/deceleration to a rapid traverse rate to reduce the mechanical stress and strain caused by RAPID TRAVERSE acceleration/deceleration variations when the feedrate changes. Thus, a BELL–SHAPED smaller time consta
  • Page 100B–61404E/08 PROGRAMMING 6. REFERENCE POSITION 6 REFERENCE POSITION General D Reference position The reference position is a fixed position on a machine tool to which the tool can easily be moved by the reference position return function. For example, the reference position is used as a position at w
  • Page 1016. REFERENCE POSITION PROGRAMMING B–61404E/08 D Reference position Tools are automatically moved to the reference position via an return and movement intermediate position along a specified axis. Or, tools are automatically from the reference moved from the reference position to a specified position
  • Page 102B–61404E/08 PROGRAMMING 6. REFERENCE POSITION Explanations D Reference position Positioning to the intermediate or reference positions are performed at the return (G28) rapid traverse rate of each axis. Therefore, for safety, the cutter compensation, and tool length compensation should be cancelled
  • Page 1036. REFERENCE POSITION PROGRAMMING B–61404E/08 D Reference position In an offset mode, the position to be reached by the tool with the G27 return check in an offset command is the position obtained by adding the offset value. Therefore, mode if the position with the offset value added is not the refe
  • Page 104B–61404E/08 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 three program axes, the X
  • Page 1057. COORDINATE SYSTEM PROGRAMMING B–61404E/08 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. The machine zero point COORDINATE matches the first
  • Page 106B–61404E/08 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 set
  • Page 1077. COORDINATE SYSTEM PROGRAMMING B–61404E/08 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 Section 7.2.1.) Coordinate System (1) Selecting a workpiece coordinate system set by G92 or automa
  • Page 108B–61404E/08 PROGRAMMING 7. COORDINATE SYSTEM 7.2.3 The six workpiece coordinate systems specified with G54 to G59 can be Changing Workpiece changed by changing an external workpiece zero point offset value or workpiece zero point offset value. Coordinate System Four methods are available to change a
  • Page 1097. COORDINATE SYSTEM PROGRAMMING B–61404E/08 Explanations D Changing by G10 With the G10 command, each workpiece coordinate system can be changed separately. When an absolute workpiece zero point offset value is specified, the specified value becomes a new offset value. When an incremental workpiece
  • Page 110B–61404E/08 PROGRAMMING 7. COORDINATE SYSTEM Examples Y YȀ G54 workpiece coordinate system If G92X100Y100; is commanded when the tool 100 is positioned at (200, 160) in G54 mode, work- 160 Tool position piece coordinate system 1 (X’ – Y’) shifted by vector A is created. 60 A XȀ New workpiece coordin
  • Page 1117. COORDINATE SYSTEM PROGRAMMING B–61404E/08 7.2.4 Besides the six workpiece coordinate systems (standard workpiece Adding Workpiece coordinate systems) selectable with G54 to G59, 48 additional workpiece coordinate systems (additional workpiece coordinate systems) can be Coordinate Systems used. Fo
  • Page 112B–61404E/08 PROGRAMMING 7. COORDINATE SYSTEM Restrictions D Specifying P codes A P code must be specified after G54. If a value not within the specifiable range is specified in a P code, an alarm (No. 030) is issued. 89
  • Page 1137. COORDINATE SYSTEM PROGRAMMING B–61404E/08 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 114B–61404E/08 PROGRAMMING 7. COORDINATE SYSTEM WARNING 1 When an axis returns to the reference point by the manual reference point return function, the zero point of the local coordinate system of the axis matches that of the work coordi–nate system. The same is true when the following command is issu
  • Page 1157. COORDINATE SYSTEM PROGRAMMING B–61404E/08 7.4 Select the planes for circular interpolation, cutter compensation, and drilling by G–code. PLANE SELECTION The following table lists G–codes and the planes selected by them. Explanations Table 7.4 Plane selected by G code Selected G code Xp Yp Zp plan
  • Page 1168. COORDINATE VALUE B–61404E/08 PROGRAMMING AND DIMENSION 8 COORDINATE VALUE AND DIMENSION This chapter contains the following topics. 8.1 ABSOLUTE AND INCREMENTAL PROGRAMMING (G90, G91) 8.2 POLAR COORDINATE COMMAND (G15, G16) 8.3 INCH/METRIC CONVERSION (G20, G21) 8.4 DECIMAL POINT PROGRAMMING 93
  • Page 1178. COORDINATE VALUE AND DIMENSION PROGRAMMING B–61404E/08 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 d
  • Page 1188. COORDINATE VALUE B–61404E/08 PROGRAMMING AND DIMENSION 8.2 The end point coordinate value can be input in polar coordinates (radius and angle). POLAR COORDINATE The plus direction of the angle is counterclockwise of the selected plane COMMAND first axis + direction, and the minus direction is clo
  • Page 1198. COORDINATE VALUE AND DIMENSION PROGRAMMING B–61404E/08 D Setting the current Specify the radius (the distance between the current position and the position as the origin of point) to be programmed with an incremental command. The current the polar coordinate position is set as the origin of the p
  • Page 1208. COORDINATE VALUE B–61404E/08 PROGRAMMING AND DIMENSION D Specifying angles with N1 G17 G90 G16; incremental commands Specifying the polar coordinate command and selecting the XY plane and a radius with Setting the zero point of the workpiece coordinate system as the origin absolute commands of th
  • Page 1218. COORDINATE VALUE AND DIMENSION PROGRAMMING B–61404E/08 8.3 Either inch or metric input can be selected by G code. INCH/METRIC CONVERSION (G20, G21) Format G20 ; Inch input G21 ; mm input This G code must be specified in an independent block before setting the coordinate system at the beginning of
  • Page 1228. COORDINATE VALUE B–61404E/08 PROGRAMMING AND DIMENSION 8.4 Numerical values can be entered with a decimal point. A decimal point can be used when entering a distance, time, or speed. Decimal points can DECIMAL POINT be specified with the following addresses: PROGRAMMING X, Y, Z, U, V, W, A, B, C,
  • Page 1239. SPINDLE SPEED FUNCTION (S FUNCTION) PROGRAMMING B–61404E/08 9 SPINDLE SPEED FUNCTION (S FUNCTION) The spindle speed can be controlled by specifying a value following address S. This chapter contains the following topics. 9.1 SPECIFYING THE SPINDLE SPEED WITH A BINARY CODE 9.2 SPECIFYING THE SPIND
  • Page 1249. SPINDLE SPEED FUNCTION B–61404E/08 PROGRAMMING (S FUNCTION) 9.1 A 2–digit S code can be specified in a block. For a description of the use of S codes, such as their execution sequence in a block in which a spindle SPECIFYING THE speed, move command, and S code are specified, see the manual provid
  • Page 1259. SPINDLE SPEED FUNCTION (S FUNCTION) PROGRAMMING B–61404E/08 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) For
  • Page 1269. SPINDLE SPEED FUNCTION B–61404E/08 PROGRAMMING (S FUNCTION) Explanations D Constant surface speed G96 (constant surface speed control command) is a modal G code. After control command (G96) a G96 command is specified, the program enters the constant surface speed control mode (G96 mode) and speci
  • Page 1279. SPINDLE SPEED FUNCTION (S FUNCTION) PROGRAMMING B–61404E/08 D Setting the workpiece To execute the constant surface speed control, it is necessary to set the coordinate system for work coordinate system , and so the coordinate value at the center of the constant surface speed rotary axis, for exa
  • Page 1289. SPINDLE SPEED FUNCTION B–61404E/08 PROGRAMMING (S FUNCTION) Restrictions D Constant surface speed The constant surface speed control is also effective during threading. control for threading Accordingly, it is recommended that the constant surface speed control be invalidated with G97 command bef
  • Page 12910. TOOL FUNCTION (T FUNCTION) PROGRAMMING B–61404E/08 10 TOOL FUNCTION (T FUNCTION) General Two tool functions are available. One is the tool selection function, and the other is the tool life management function. 106
  • Page 130B–61404E/08 PROGRAMMING 10. TOOL FUNCTION (T FUNCTION) 10.1 By specifying two or four–digit numerical value following address T, tools can be selected on the machine. TOOL SELECTION One T code can be commanded in a block. Refer to the machine tool FUNCTION builder’s manual for the number of digits c
  • Page 13110. TOOL FUNCTION (T FUNCTION) PROGRAMMING B–61404E/08 10.2 Tools are classified into various groups, with the tool life (time or frequency of use) for each group being specified. The function of TOOL LIFE accumulating the tool life of each group in use and selecting and using MANAGEMENT the next to
  • Page 132B–61404E/08 PROGRAMMING 10. TOOL FUNCTION (T FUNCTION) 10.2.1 Tool life management data consists of tool group numbers, tool numbers, Tool Life Management codes specifying tool compensation values, and tool life value. Data Explanations D Tool group number The Max. number of groups and the number of
  • Page 13310. TOOL FUNCTION (T FUNCTION) PROGRAMMING B–61404E/08 10.2.2 In a program, tool life management data can be registered in the CNC unit, Register, Change and and registered tool life management data can be changed or deleted. Delete of Tool Life Management Data Explanations D Register with deleting
  • Page 134B–61404E/08 PROGRAMMING 10. TOOL FUNCTION (T FUNCTION) 10.2.3 Tool Life Management Command in a Machining Program Explanations D Command The following command is used for tool life management: T∇∇∇∇ ; Specifies a tool group number. The tool life management function selects, from a specified group, a
  • Page 13510. TOOL FUNCTION (T FUNCTION) PROGRAMMING B–61404E/08 D Types For tool life management, the four tool change types indicated below are available. The type used varies from one machine to another. For details, refer to the appropriate manual of each machinde tool builder. Table 10.2.3 Tool change ty
  • Page 136B–61404E/08 PROGRAMMING 10. TOOL FUNCTION (T FUNCTION) D Tool change type B and C Suppose that the tool life management ignore number is 100. T101; A tool whose life has not expired is selected from group 1. (Suppose that tool number 010 is selected.) Note) M06T102; Tool life counting is performed f
  • Page 13710. TOOL FUNCTION (T FUNCTION) PROGRAMMING B–61404E/08 10.2.4 The life of a tool is specified by a usage frequency (count) or usage time Tool Life (in minutes). Explanations D Usage count The usage count is incremented by 1 for each tool used in a program. In other words, the usage count is incremen
  • Page 138B–61404E/08 PROGRAMMING 11. AUXILIARY FUNCTION 11 AUXILIARY FUNCTION There are two types of auxiliary functions ; miscellaneous function (M code) for specifying spindle start, spindle stop program end, and so on, and secondary auxiliary function (B code) for specifying index table positioning. When
  • Page 13911. AUXILIARY FUNCTION PROGRAMMING B–61404E/08 11.1 When a three–digid numeral is specified following address M, code signal and a strobe signal are sent to the machine. The machine uses these AUXILIARY signals to turn on or off its functions. FUNCTION Usually, only one M code can be specified in on
  • Page 140B–61404E/08 PROGRAMMING 11. AUXILIARY FUNCTION 11.2 So far, one block has been able to contain only one M code. However, this function allows up to three M codes to be contained in one block. MULTIPLE Up to three M codes specified in a block are simultaneously output to the M COMMANDS IN A machine.
  • Page 14112. PROGRAM CONFIGURATION PROGRAMMING B–61404E/08 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 main
  • Page 142B–61404E/08 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 14312. PROGRAM CONFIGURATION PROGRAMMING B–61404E/08 12.1 This section describes program components other than program sections. See Section 12.2 for a program section. PROGRAM COMPONENTS Leader section OTHER THAN Tape start % TITLE ; PROGRAM Program start O0001 ; SECTIONS Program section (COMMENT) Com
  • Page 144B–61404E/08 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 C
  • Page 14512. PROGRAM CONFIGURATION PROGRAMMING B–61404E/08 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. When a file is output, the mark is automatically output at the end of the
  • Page 146B–61404E/08 PROGRAMMING 12. PROGRAM CONFIGURATION 12.2 This section describes elements of a program section. See Section 12.1 for program components other than program sections. PROGRAM SECTION CONFIGURATION % TITLE ; Program number O0001 ; N1 … ; Sequence number (COMMENT) Comment section Program se
  • Page 14712. PROGRAM CONFIGURATION PROGRAMMING B–61404E/08 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 ISO EIA Name Notation in this manual code code End o
  • Page 148B–61404E/08 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 14912. PROGRAM CONFIGURATION PROGRAMMING B–61404E/08 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 tool
  • Page 150B–61404E/08 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 correspondin
  • Page 15112. PROGRAM CONFIGURATION PROGRAMMING B–61404E/08 D Program end The end of a program is indicated by commanding one of the following codes at the end of the program: Table 12.2 (d) Code of a program end Code Meaning usage M02 For main program M30 M99 For subprogram If one of the program end codes is
  • Page 152B–61404E/08 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. A subprogram can be called from the main program. A called subprogram c
  • Page 15312. PROGRAM CONFIGURATION PROGRAMMING B–61404E/08 Reference See Chapter 10 in Part III for the method of registering a subprogram. 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. Examp
  • Page 154B–61404E/08 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 s
  • Page 15513. FUNCTIONS TO SIMPLIFY PROGRAMMING PROGRAMMING B–61404E/08 13 FUNCTIONS TO SIMPLIFY PROGRAMMING General This chapter explains the following items: 13.1 CANNED CYCLE 13.2 RIGID TAPPING 13.3 CANNED GRINDING CYCLE (0–GSC, 0–GSD/II) 13.4 GRINDING–WHEEL WEAR COMPENSATION BY CONTINUOUS DRESSING (0–GSC,
  • Page 15613. FUNCTIONS TO SIMPLIFY B–61404E/08 PROGRAMMING PROGRAMMING 13.1 Canned cycles make it easier for the programmer to create programs. With a canned cycle, a frequently–used machining operation can be CANNED CYCLE specified in a single block with a G function; without canned cycles, normally more th
  • Page 15713. FUNCTIONS TO SIMPLIFY PROGRAMMING PROGRAMMING B–61404E/08 Operation 1 Initial level Operation 2 Operation 6 Point R level Operation 5 Operation 3 Rapid traverse Operation 4 Feed Fig. 13.1 Canned cycle operation sequence D Positioning plane The positioning plane is determined by plane selection c
  • Page 15813. FUNCTIONS TO SIMPLIFY B–61404E/08 PROGRAMMING PROGRAMMING D Travel distance along the The travel distance along the drilling axis varies for G90 and G91 as drilling axis G90/G91 follows: G90 (Absolute Command) G91 (Incremental Command) R R Point R Point R Z Z Point Z Point Z D Drilling mode G73,
  • Page 15913. FUNCTIONS TO SIMPLIFY PROGRAMMING PROGRAMMING B–61404E/08 D Repeat To repeat drilling for equally–spaced holes, specify the number of repeats in K_. K is effective only within the block where it is specified. Specify the first hole position in incremental mode (G91). If it is specified in absolu
  • Page 16013. FUNCTIONS TO SIMPLIFY B–61404E/08 PROGRAMMING PROGRAMMING 13.1.1 This cycle performs high–speed peck drilling. It performs intermittent High–speed Peck cutting feed to the bottom of a hole while removing chips from the hole. Drilling Cycle (G73) Format G73 X_ Y_ Z_ R_ Q_ F_ K_ ; X_ Y_ : Hole pos
  • Page 16113. FUNCTIONS TO SIMPLIFY PROGRAMMING PROGRAMMING B–61404E/08 Explanations The high–speed peck drilling cycle performs intermittent feeding along the Z–axis. When this cycle is used, chips can be removed from the hole easily, and a smaller value can be set for retraction. This allows, drilling to be
  • Page 16213. FUNCTIONS TO SIMPLIFY B–61404E/08 PROGRAMMING PROGRAMMING 13.1.2 This cycle performs left–handed tapping. In the left–handed tapping Left–handed Tapping cycle, when the bottom of the hole has been reached, the spindle rotates clockwise. Cycle (G74) Format G74 X_ Y_ Z_ R_ P_ F_ K_ ; X_ Y_ : Hole
  • Page 16313. FUNCTIONS TO SIMPLIFY PROGRAMMING PROGRAMMING B–61404E/08 Restrictions D Axis switching Before the drilling axis can be changed, the canned cycle must be canceled. D Drilling In a block that does not contain X, Y, Z, R, or any other axes, drilling is not performed. D R Specify R in blocks that p
  • Page 16413. FUNCTIONS TO SIMPLIFY B–61404E/08 PROGRAMMING PROGRAMMING 13.1.3 The fine boring cycle bores a hole precisely. When the bottom of the hole Fine Boring Cycle has been reached, the spindle stops, and the tool is moved away from the machined surface of the workpiece and retracted. (G76) Format G76
  • Page 16513. FUNCTIONS TO SIMPLIFY PROGRAMMING PROGRAMMING B–61404E/08 Explanations When the bottom of the hole has been reached, the spindle is stopped at the fixed rotation position, and the tool is moved in the direction opposite to the tool tip and retracted. This ensures that the machined surface is not
  • Page 16613. FUNCTIONS TO SIMPLIFY B–61404E/08 PROGRAMMING PROGRAMMING 13.1.4 This cycle is used for normal drilling. Cutting feed is performed to the Drilling Cycle, Spot bottom of the hole. The tool is then retracted from the bottom of the hole in rapid traverse. Drilling (G81) Format G81 X_ Y_ Z_ R_ F_ K_
  • Page 16713. FUNCTIONS TO SIMPLIFY PROGRAMMING PROGRAMMING B–61404E/08 Restrictions D Axis switching Before the drilling axis can be changed, the canned cycle must be canceled. D Drilling In a block that does not contain X, Y, Z, R, or any other axes, drilling is not performed. D R Specify R in blocks that p
  • Page 16813. FUNCTIONS TO SIMPLIFY B–61404E/08 PROGRAMMING PROGRAMMING 13.1.5 This cycle is used for normal drilling. Drilling Cycle Counter Cutting feed is performed to the bottom of the hole. At the bottom, a dwell is performed, then the tool is retracted in rapid traverse. Boring Cycle (G82) This cycle is
  • Page 16913. FUNCTIONS TO SIMPLIFY PROGRAMMING PROGRAMMING B–61404E/08 Restrictions D Axis switching Before the drilling axis can be changed, the canned cycle must be canceled. D Drilling In a block that does not contain X, Y, Z, R, or any other axes, drilling is not performed. D R Specify R in blocks that p
  • Page 17013. FUNCTIONS TO SIMPLIFY B–61404E/08 PROGRAMMING PROGRAMMING 13.1.6 This cycle performs peck drilling. Peck Drilling Cycle It performs intermittent cutting feed to the bottom of a hole while removing shavings from the hole. (G83) Format G83 X_ Y_ Z_ R_ Q_ F_ K_ ; X_ Y_ : Hole position data Z_ : The
  • Page 17113. FUNCTIONS TO SIMPLIFY PROGRAMMING PROGRAMMING B–61404E/08 Restrictions D Axis switching Before the drilling axis can be changed, the canned cycle must be canceled. D Drilling In a block that does not contain X, Y, Z, R, or any other axes, drilling is not performed. D Q/R Specify Q and R in block
  • Page 17213. FUNCTIONS TO SIMPLIFY B–61404E/08 PROGRAMMING PROGRAMMING 13.1.7 This cycle performs tapping. Tapping Cycle (G84) In this tapping cycle, when the bottom of the hole has been reached, the spindle is rotated in the reverse direction. Format G84 X_ Y_ Z_ R_ P_ F_ K_ ; X_ Y_ : Hole position data Z_
  • Page 17313. FUNCTIONS TO SIMPLIFY PROGRAMMING PROGRAMMING B–61404E/08 Restrictions D Axis switching Before the drilling axis can be changed, the canned cycle must be canceled. D Drilling In a block that does not contain X, Y, Z, R, or any other axes, drilling is not performed. D R Specify R in blocks that p
  • Page 17413. FUNCTIONS TO SIMPLIFY B–61404E/08 PROGRAMMING PROGRAMMING 13.1.8 This cycle is used to bore a hole. Boring Cycle (G85) Format G85 X_ Y_ Z_ R_ F_ K_ ; X_ Y_ : Hole position data Z_ : The distance from point R to the bottom of the hole R_ : The distance from the initial level to point R level F_ :
  • Page 17513. FUNCTIONS TO SIMPLIFY PROGRAMMING PROGRAMMING B–61404E/08 Restrictions D Axis switching Before the drilling axis can be changed, the canned cycle must be canceled. D Drilling In a block that does not contain X, Y, Z, R, or any other axes, drilling is not performed. D R Specify R in blocks that p
  • Page 17613. FUNCTIONS TO SIMPLIFY B–61404E/08 PROGRAMMING PROGRAMMING 13.1.9 This cycle is used to bore a hole. Boring Cycle (G86) Format G86 X_ Y_ Z_ R_ F_ K_ ; X_ Y_ : Hole position data Z_ : The distance from point R to the bottom of the hole R_ : The distance from the initial level to point R level F_ :
  • Page 17713. FUNCTIONS TO SIMPLIFY PROGRAMMING PROGRAMMING B–61404E/08 Restrictions D Axis switching Before the drilling axis can be changed, the canned cycle must be canceled. D Drilling In a block that does not contain X, Y, Z, R, or any other axes, drilling is not performed. D R Specify R in blocks that p
  • Page 17813. FUNCTIONS TO SIMPLIFY B–61404E/08 PROGRAMMING PROGRAMMING 13.1.10 This cycle performs accurate boring. Boring Cycle Back Boring Cycle (G87) Format G87 X_ Y_ Z_ R_ Q_ P_ F_ K_ ; X_ Y_ : Hole position data Z_ : The distance from the bottom of the hole to point Z R_ : The distance from the initial
  • Page 17913. FUNCTIONS TO SIMPLIFY PROGRAMMING PROGRAMMING B–61404E/08 Explanations After positioning along the X– and Y–axes, the spindle is stopped at the fixed rotation position. The tool is moved in the direction opposite to the tool tip, positioning (rapid traverse) is performed to the bottom of the hol
  • Page 18013. FUNCTIONS TO SIMPLIFY B–61404E/08 PROGRAMMING PROGRAMMING 13.1.11 This cycle is used to bore a hole. Boring Cycle (G88) Format G88 X_ Y_ Z_ R_ P_ F_ K_ ; X_ Y_ : Hole position data Z_ : The distance from point R to the bottom of the hole R_ : The distance from the initial level to point R level
  • Page 18113. FUNCTIONS TO SIMPLIFY PROGRAMMING PROGRAMMING B–61404E/08 Restrictions D Axis switching Before the drilling axis can be changed, the canned cycle must be canceled. D Drilling In a block that does not contain X, Y, Z, R, or any other axes, drilling is not performed. D R Specify R in blocks that p
  • Page 18213. FUNCTIONS TO SIMPLIFY B–61404E/08 PROGRAMMING PROGRAMMING 13.1.12 This cycle is used to bore a hole. Boring Cycle (G89) Format G89 X_ Y_ Z_ R_ P_ F_ K_ ; X_ Y_ : Hole position data Z_ : The distance from point R to the bottom of the hole R_ : The distance from the initial level to point R level
  • Page 18313. FUNCTIONS TO SIMPLIFY PROGRAMMING PROGRAMMING B–61404E/08 Restrictions D Axis switching Before the drilling axis can be changed, the canned cycle must be canceled. D Drilling In a block that does not contain X, Y, Z, R, or any other axes, drilling is not performed. D R Specify R in blocks that p
  • Page 18413. FUNCTIONS TO SIMPLIFY B–61404E/08 PROGRAMMING PROGRAMMING 13.1.13 G80 cancels canned cycles. Canned Cycle Cancel (G80) Format G80 ; Explanations All canned cycles are canceled to perform normal operation. Point R and point Z are cleared. This means that R = 0 and Z = 0 in incremental mode. Other
  • Page 18513. FUNCTIONS TO SIMPLIFY PROGRAMMING PROGRAMMING B–61404E/08 Program example using tool length offset and canned cycles Reference position 350 #1 #11 #6 100 #7 #10 100 #2 #12 #5 100 Y #8 #9 200 100 #3 #13 #4 X 400 150 250 250 150 # 11 to 16 Drilling of a 10mm diameter hole # 17 to 10 Drilling of a
  • Page 18613. FUNCTIONS TO SIMPLIFY B–61404E/08 PROGRAMMING PROGRAMMING Offset value +200.0 is set in offset No.11, +190.0 is set in offset No.15, and +150.0 is set in offset No.31 Program example ; N001 G92X0Y0Z500.0; Coordinate setting at reference position N002 G90 G00 Z250.0 T11 M6; Tool change N003 G43 Z
  • Page 18713. FUNCTIONS TO SIMPLIFY PROGRAMMING PROGRAMMING B–61404E/08 13.2 The tapping cycle (G84) and left–handed tapping cycle (G74) may be performed in standard mode or rigid tapping mode. RIGID TAPPING In standard mode, the spindle is rotated and stopped along with a movement along the tapping axis usin
  • Page 18813. FUNCTIONS TO SIMPLIFY B–61404E/08 PROGRAMMING PROGRAMMING 13.2.1 When the spindle motor is controlled in rigid mode as if it were a servo Rigid Tapping (G84) motor, a tapping cycle can be sped up. Format G84 X_ Y_ Z_ R_ P_ F_ K_ ; X_ Y_ : Hole position data Z_ : The distance from point R to the
  • Page 18913. FUNCTIONS TO SIMPLIFY PROGRAMMING PROGRAMMING B–61404E/08 D Thread lead In feed–per–minute mode, the thread lead is obtained from the expression, feedrate × spindle speed. In feed–per–revolution mode, the thread lead equals the feedrate speed. If a tool length offset (G43, G44, or G49) is specif
  • Page 19013. FUNCTIONS TO SIMPLIFY B–61404E/08 PROGRAMMING PROGRAMMING 13.2.2 When the spindle motor is controlled in rigid mode as if it were a servo Left–handed Rigid motor, tapping cycles can be sped up. Tapping Cycle (G74) Format G74 X_ Y_ Z_ R_ P_ F_ K_ ; X_ Y_ : Hole position data Z_ : The distance fro
  • Page 19113. FUNCTIONS TO SIMPLIFY PROGRAMMING PROGRAMMING B–61404E/08 D Thread lead In feed–per–minute mode, the thread lead is obtained from the expression, feedrate × spindle speed. In feed–per–revolution mode, the thread lead equals the feedrate. If a tool length offset (G43, G44, or G49) is specified in
  • Page 19213. FUNCTIONS TO SIMPLIFY B–61404E/08 PROGRAMMING PROGRAMMING 13.2.3 Tapping a deep hole in rigid tapping mode may be difficult due to chips Peck Rigid Tapping sticking to the tool or increased cutting resistance. In such cases, the peck rigid tapping cycle is useful. Cycle (G84 or G74) In this cycl
  • Page 19313. FUNCTIONS TO SIMPLIFY PROGRAMMING PROGRAMMING B–61404E/08 Explanations D High–speed peck After positioning along the X– and Y–axes, rapid traverse is performed tapping cycle to point R. From point R, cutting is performed with depth Q (depth of cut for each cutting feed), then the tool is retract
  • Page 19413. FUNCTIONS TO SIMPLIFY B–61404E/08 PROGRAMMING PROGRAMMING 13.2.4 The rigid tapping canned cycle is canceled. For how to cancel this cycle, Canned Cycle Cancel see Section 13.1.13. (G80) 171
  • Page 19513. FUNCTIONS TO SIMPLIFY PROGRAMMING PROGRAMMING B–61404E/08 13.3 Canned grinding cycles make it easier for the programmer to create programs that include grinding. With a canned grinding cycle, repetitive CANNED GRINDING operation peculiar to grinding can be specified in a single block with a G CY
  • Page 19613. FUNCTIONS TO SIMPLIFY B–61404E/08 PROGRAMMING PROGRAMMING 13.3.1 A plunge grinding cycle is performed. Plunge Grinding Cycle (G75) Format G75 I_ J_ K_ X(Z)_ R_ F_ P_ L_ ; I_ : Depth–of–cut 1 (A sign in the command specifies the direction of cutting.) J_ : Depth–of–cut 2 (A sign in the command sp
  • Page 19713. FUNCTIONS TO SIMPLIFY PROGRAMMING PROGRAMMING B–61404E/08 Restrictions D X(Z), I, J, K X, (Z), I, J, and K must all be specified in incremental mode. D Clear I, J, X, and Z in canned cycles are modal data common to G75, G77, G78, and G79. They remain valid until new data is specified. They are c
  • Page 19813. FUNCTIONS TO SIMPLIFY B–61404E/08 PROGRAMMING PROGRAMMING 13.3.2 A direct constant–dimension plunge grinding cycle is performed. Direct Constant–dimension Plunge Grinding Cycle (G77) Format G77 I_ J_ K_ X(Z)_ R_ F_ P_ L_ ; I_ : Depth–of–cut 1 (A sign in the command specifies the direction of cut
  • Page 19913. FUNCTIONS TO SIMPLIFY PROGRAMMING PROGRAMMING B–61404E/08 D Skip signal When the cycle is performed using G77, a skip signal can be input to terminate the cycle. When a skip signal is input, the current operation sequence is interrupted or completed, then the cycle is terminated. The following s
  • Page 20013. FUNCTIONS TO SIMPLIFY B–61404E/08 PROGRAMMING PROGRAMMING 13.3.3 A continuous–feed surface grinding cycle is performed. Continuous–feed Surface Grinding Cycle (G78) Format G78 I_ (J_) K_ X_ F_ P_ L_ ; I_ : Depth–of–cut 1 (A sign in the command specifies the direction of cutting.) J_ : Depth–of–c
  • Page 20113. FUNCTIONS TO SIMPLIFY PROGRAMMING PROGRAMMING B–61404E/08 Restrictions D J When J is omitted, it is assumed to be 1. J is valid only in the block where it is specified. D I, J, K, X X, (Z), I, J, and K must all be specified in incremental mode. D Clear I, J, X, and Z in canned cycles are modal d
  • Page 20213. FUNCTIONS TO SIMPLIFY B–61404E/08 PROGRAMMING PROGRAMMING 13.3.4 An intermittent–feed surface grinding cycle is performed. Intermittent–feed Surface Grinding Cycle (G79) Format G79 I_ J_ K_ X_ R_ F_ P_ L_ ; I_ : Depth–of–cut 1 (A sign in the command specifies the direction of cutting.) J_ : Dept
  • Page 20313. FUNCTIONS TO SIMPLIFY PROGRAMMING PROGRAMMING B–61404E/08 Restrictions D X, I, J, K X, (Z), I, J, and K must all be specified in incremental mode. D Clear I, J, X, and Z in canned cycles are modal data common to G75, G77, G78, and G79. They remain valid until new data is specified. They are clea
  • Page 20413. FUNCTIONS TO SIMPLIFY B–61404E/08 PROGRAMMING PROGRAMMING 13.4 This function enables continuous dressing. When G75, G77, G78, or G79 is specified, grinding wheel cutting and GRINDING–WHEEL dresser cutting are compensated continuously according to the amount of WEAR continuous dressing during gri
  • Page 20513. FUNCTIONS TO SIMPLIFY PROGRAMMING PROGRAMMING B–61404E/08 13.5 AUTOMATIC GRINDING WHEEL DIAMETER COMPENSATION AFTER DRESSING 13.5.1 Compensation amounts set in offset memory can be modified by using the external tool compensation function or programming (by changing Checking the Minimum offsets
  • Page 20613. FUNCTIONS TO SIMPLIFY B–61404E/08 PROGRAMMING PROGRAMMING 13.6 Every time an external signal is input, cutting is performed by a fixed amount according to the programmed profile in the specified Y–Z plane. IN–FEED GRINDING ALONG THE Y AND Z AXES AT THE END OF TABLE SWING (0–GSC, 0–GSD/II) Format
  • Page 20713. FUNCTIONS TO SIMPLIFY PROGRAMMING PROGRAMMING B–61404E/08 13.7 Chamfering and corner rounding blocks can be inserted automatically between linear interpolation and linear interpolation blocks OPTIONAL ANGLE CHAMFERING AND CORNER ROUNDING Format , C_ Chamfering , R_ Corner R Explanations When the
  • Page 20813. FUNCTIONS TO SIMPLIFY B–61404E/08 PROGRAMMING PROGRAMMING Restrictions D Plane selection Chamfering and corner rounding can be performed only in the plane specified by plane selection (G17, G18, or G19). These functions cannot be performed for parallel axes. D Next block A block specifying chamf
  • Page 20913. FUNCTIONS TO SIMPLIFY PROGRAMMING PROGRAMMING B–61404E/08 13.8 Upon completion of positioning in each block in the program, an external operation function signal can be output to allow the machine to perform EXTERNAL MOTION specific operation. FUNCTION (G81) Concerning this operation, refer to t
  • Page 21013. FUNCTIONS TO SIMPLIFY B–61404E/08 PROGRAMMING PROGRAMMING 13.9 When drilling is performed using a tool with an overload torque detection function, this function allows the small–diameter peck drilling cycle to SMALL–DIAMETER be performed by entering an overload torque detection signal as a skip
  • Page 21113. FUNCTIONS TO SIMPLIFY PROGRAMMING PROGRAMMING B–61404E/08 Format Mjj ; G83 X_ Y_ Z_ R_ Q_ F_ I_ K_ P_ ; X_ Y_ ; X_ Y_ ; G80 ; Specification Code Description Specification of Mjj Specify an M code for the small–diameter small–diameter peck drilling cycle set in parameter No. 304. peck drilling cy
  • Page 21213. FUNCTIONS TO SIMPLIFY B–61404E/08 PROGRAMMING PROGRAMMING Explanations (1) The small–diameter peck drilling cycle is executed by specifying G83 after specifying an M code for the small–diameter peck drilling cycle. During the execution of this cycle, the small–diameter peck drilling cycle in–pro
  • Page 21313. FUNCTIONS TO SIMPLIFY PROGRAMMING PROGRAMMING B–61404E/08 (4) Advance and retract operations during peck drilling are performed not as positioning by rapid traverse but as cutting feed. (5) When an advance/retract feedrate during peck drilling is to be specified using an I code, the same format
  • Page 214B–61404E/08 PROGRAMMING 14. COMPENSATION FUNCTION 14 COMPENSATION FUNCTION General This chapter describes the following compensation functions: TOOL LENGTH OFFSET (G43, G44, G49) . . . . . . . . . . . . . . . . Sec.14.1 AUTOMATIC TOOL LENGTH MEASUREMENT (G37) . . . . Sec.14.2 TOOL OFFSET (G45 TO G48
  • Page 21514. COMPENSATION FUNCTION PROGRAMMING B–61404E/08 14.1 This function can be used by setting the difference between the tool length assumed during programming and the actual tool length of the tool used TOOL LENGTH into the offset memory. It is possible to compensate the difference without OFFSET cha
  • Page 216B–61404E/08 PROGRAMMING 14. COMPENSATION FUNCTION Explanations D Selection of tool length Select tool length offset A, B, or C, by setting bit 6 of parameter 003 and offset bit 3 of parameter No. 019. D Direction of the offset When G43 is specified, the tool length offset value (stored in offset mem
  • Page 21714. COMPENSATION FUNCTION PROGRAMMING B–61404E/08 D Performing tool length Tool length offset B can be executed along two or more axes when the axes offset along two or more are specified in two or more blocks. axes Offset in X and Y axes. G19 G43 H _ ; Offset in X axis G18 G43 H _ ; Offset in Y axi
  • Page 218B–61404E/08 PROGRAMMING 14. COMPENSATION FUNCTION Examples Tool length offset (in boring holes No.1, 2, and 3) #1 #3 20  30 +Y 13  #2 30 +X 120 30 50 +Z Actual position  Programmed 35 3 12 position 18    22 offset 30 value  11 ε=4mm 8 · Program H1=–4.0 (Tool length offset value) N1 G91 G00 X1
  • Page 21914. COMPENSATION FUNCTION PROGRAMMING B–61404E/08 14.2 By issuing G37 the tool starts moving to the measurement position and keeps on moving till the approach end signal from the measurement AUTOMATIC TOOL device is output. Movement of the tool is stopped when the tool tip LENGTH reaches the measure
  • Page 220B–61404E/08 PROGRAMMING 14. COMPENSATION FUNCTION D Changing the offset The difference between the coordinates of the position at which the tool value reaches for measurement and the coordinates specified by G37 is added to the current tool length offset value. Offset value = [(Coordinates of the po
  • Page 22114. COMPENSATION FUNCTION PROGRAMMING B–61404E/08 WARNING When a manual movement is inserted into a movement at a measurement federate, return the tool to the position before the inserted manual movement for restart. NOTE 1 When an H code is specified in the same block as G37, an alarm is generated.
  • Page 222B–61404E/08 PROGRAMMING 14. COMPENSATION FUNCTION Examples G92 Z760.0 X1100.0 ; Sets a workpiece coordinate system with respect to the programmed absolute zero point. G00 G90 X850.0 ; Moves the tool to X850.0. That is the tool is moved to a position that is a specified distance from the measurement
  • Page 22314. COMPENSATION FUNCTION PROGRAMMING B–61404E/08 14.3 The programmed travel distance of the tool can be increased or decreased by a specified tool offset value or by twice the offset value. TOOL OFFSET The tool offset function can also be applied to an additional axis. (G45 TO G48) Workpiece ÇÇÇ ÇÇ
  • Page 224B–61404E/08 PROGRAMMING 14. COMPENSATION FUNCTION Explanations D Increase and decrease As shown in Table 14.3 (a), the travel distance of the tool is increased or decreased by the specified tool offset value. In the absolute mode, the travel distance is increased or decreased as the tool is moved fr
  • Page 22514. COMPENSATION FUNCTION PROGRAMMING B–61404E/08 WARNING When G45 to G48 is specified to n axes (n=1–4) simultaneously in a motion block, offset is applied to all n axes. When the cutter is offset only for cutter radius or diameter in taper cutting, overcutting or undercutting occurs. Therefore, us
  • Page 226B–61404E/08 PROGRAMMING 14. COMPENSATION FUNCTION NOTE 1 When the specified direction is reversed by decrease as shown in the figure below, the tool moves in the opposite direction. Movement of the tool Program command Start Example position End G46 X2.50 ; position Tool offset value Equivalent comm
  • Page 22714. COMPENSATION FUNCTION PROGRAMMING B–61404E/08 Examples Program using tool offset N12 N11 30R N9 40 N10 N13 N8 N4 30R 40 N3 N5 N1 N2 N6 N7 ÇÇÇ 50 ÇÇÇ ÇÇÇ N14 80 50 40 30 30 Origin Y axis Tool diameter : 20φ Offset No. : 01 Tool offset value : +10.0 X axis Program N1 G91 G46 G00 X80.0 Y50.0 D01 ;
  • Page 228B–61404E/08 PROGRAMMING 14. COMPENSATION FUNCTION 14.4 When the tool is moved, the tool path can be shifted by the radius of the tool (Fig. 14.4). CUTTER To make an offset as large as the radius of the tool, first create an offset COMPENSATION B vector with a length equal to the radius of the tool (
  • Page 22914. COMPENSATION FUNCTION PROGRAMMING B–61404E/08 Format D Start up G00 (or G01) G41 (or G42) IP _ IR_ H_ ; (Cutter compensation start) G41 : Cutter compensation left (Group 07) : Cutter compensation right (Group 07) G42 IP _ : Command for axis movement IR_ : Incremental value from the end position.
  • Page 230B–61404E/08 PROGRAMMING 14. COMPENSATION FUNCTION Explanations D H code Specify the number assigned to a cutter compensation value with a 1– to 3–digit number after address H (H code) in the program. The H code can be specified in any position before the offset cancel mode is first switched to the c
  • Page 23114. COMPENSATION FUNCTION PROGRAMMING B–61404E/08 14.4.1 G41 offsets the tool towards the left of the workpiece as you see when you Cutter Compensation face in the same direction as the movement of the cutting tool. Left (G41) Explanations D G00 (positioning) or G41 X_ Y_ I_ J_ H_ ; G01 (linear inte
  • Page 232B–61404E/08 PROGRAMMING 14. COMPENSATION FUNCTION D G02, G03 G41… ; (Circular interpolation) : G02 (or G03) X_ Y_ R_ ; Above command specifies a new vector to be created to the left looking toward the direction in which an arc advances on a line connecting the arc center and the arc end point, and t
  • Page 23314. COMPENSATION FUNCTION PROGRAMMING B–61404E/08 14.4.2 G42, contrary to G41, specifies a tool to be offset to the right of work piece Cutter Compensation looking toward the direction in which the tool advances. G42 has the same function as G41, except that the directions of the vectors Right (G42)
  • Page 234B–61404E/08 PROGRAMMING 14. COMPENSATION FUNCTION D G02 or G03 G42… ; (Circular interpolation) : G02 (or G03) X_ Y_ R_; ÇÇÇÇÇ (X, Y) ÇÇÇÇÇ Programmed path ÇÇÇÇÇ New vector ÇÇÇÇÇ ÇÇÇÇÇ Tool center path ÇÇÇÇÇ ÇÇÇÇÇ R ÇÇÇÇÇ Start position ÇÇÇÇÇ ÇÇÇÇ Old vector New vector ÇÇÇÇ (X, Y) R ÇÇÇÇ ÇÇÇÇ Program
  • Page 23514. COMPENSATION FUNCTION PROGRAMMING B–61404E/08 14.4.3 When the following command is specified in the G01, G02, or G03 mode, Corner Offset Circular corner offset circular interpolation can be executed with respect to the radius of the tool. Interpolation (G39) G39 X_ Y_ ; or G39 I_ J_ ; A new vect
  • Page 236B–61404E/08 PROGRAMMING 14. COMPENSATION FUNCTION 14.4.4 When the following command is specified in the G00 or G01 mode, the Cutter Compensation tool moves from the head of the old vector at the start position to the end position (X, Y). In the G01 mode, the tool moves linearly. In the G00 Cancel (G
  • Page 23714. COMPENSATION FUNCTION PROGRAMMING B–61404E/08 14.4.5 The offset direction is switched from left to right, or from right to left Switch between Cutter generally through the offset cancel mode, but can be switched not through it only in positioning (G00) or linear interpolation (G01). In this case
  • Page 238B–61404E/08 PROGRAMMING 14. COMPENSATION FUNCTION 14.4.6 The offset amount is changed generally when the tool is changed in the Change of the Cutter offset cancel mode, but can be changed in the offset mode only in positioning (G00) or linear interpolation (G01). Compensation Value Program as descri
  • Page 23914. COMPENSATION FUNCTION PROGRAMMING B–61404E/08 14.4.7 If the tool compensation value is made negative (–), it is equal that G41 Positive/Negative and G42 are replaced with each other in the process sheet. Consequently, if the tool center is passing around the outside of the workbench it will Cutt
  • Page 240B–61404E/08 PROGRAMMING 14. COMPENSATION FUNCTION Examples N6 N5 20.0 N7 N4 40.0 R1=40.0 40.0 N3 R2=20.0 20.0 N2 N8 N10 N9 ÇÇÇ 20.0 N1 Y axis ÇÇÇ N11 ÇÇÇ 20.0 X axis Unit : mm N1G91 G17 G00 G41 X20.0 Y20.0 J40.0 H08 ; N2G01 Z–25.0 F100 ; N3Y40.0 F250 ; N4G39 I40.0 J20.0 ; N5X40.0 Y20.0 ; N6G39 I40.0
  • Page 24114. COMPENSATION FUNCTION PROGRAMMING B–61404E/08 14.5 When the tool is moved, the tool path can be shifted by the radius of the tool (Fig. 14.5 (a)). OVERVIEW OF To make an offset as large as the radius of the tool, CNC first creates an CUTTER offset vector with a length equal to the radius of the
  • Page 242B–61404E/08 PROGRAMMING 14. COMPENSATION FUNCTION Format D Start up G00 (or G01) G41 (or G42) IP _ H_ ; (Tool compensation start) G41 : Cutter compensation left (Group07) G42 : Cutter compensation right (Group07) IP _ : Command for axis movement H_ : Code for specifying as the cutter compensation va
  • Page 24314. COMPENSATION FUNCTION PROGRAMMING B–61404E/08 D Offset mode cancel In the offset mode, when a block which satisfies any one of the following conditions is executed, the equipment enters the offset cancel mode, and the action of this block is called the offset cancel. 1. G40 has been commanded. 2
  • Page 244B–61404E/08 PROGRAMMING 14. COMPENSATION FUNCTION D Positive/negative cutter If the offset amount is negative (–), distribution is made for a figure in compensation value and which G41’s and G42’s are all replaced with each other on the program. tool center path Consequently, if the tool center is p
  • Page 24514. COMPENSATION FUNCTION PROGRAMMING B–61404E/08 D Specifying a cutter Specify a cutter compensation value with a number assigned to it. The compensation value number consists of 1 to 3 digits after address H (H code). The H code is valid until another H code is specified. The H code is used to spe
  • Page 246B–61404E/08 PROGRAMMING 14. COMPENSATION FUNCTION Examples N5 250R C1(700,1300) C3 (–150,1150) P4(500,1150) P5(900,1150) C2(1550,1550) 650R 650R N4 N6 N3 N7 P3(450,900) P2 P6(950,900) P7 (250,900) (1150,900) N8 N2 P9(700,650) P1 P8 (250,550) (1150,550) N10 N9 N1 Y axis ÇÇÇ N11 ÇÇÇ ÇÇÇ Start position
  • Page 24714. COMPENSATION FUNCTION PROGRAMMING B–61404E/08 14.6 This section provides a detailed explanation of the movement of the tool for cutter compensation C outlined in Section 14.5. DETAILS OF CUTTER This section consists of the following subsections: COMPENSATION C 14.6.1 General 14.6.2 Tool Movement
  • Page 248B–61404E/08 PROGRAMMING 14. COMPENSATION FUNCTION 14.6.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 r
  • Page 24914. COMPENSATION FUNCTION PROGRAMMING B–61404E/08 D Tool movement around Tool path in start–up has two types A and B, and they are selected by the outside of a corner at parameter (No. 016#2). an obtuse angle Linear→Linear Start position (90°xαt180°) G42 α Workpiece L Programmed path r S L Tool cent
  • Page 250B–61404E/08 PROGRAMMING 14. COMPENSATION FUNCTION D Tool movement around Tool path in start–up has two types A and B, and they are selected by the outside of an acute parameter (No.016#2). angle (αt90°) Linear→Linear Start position G42 L Workpiece α Programmed path r S L Tool center path Type A Line
  • Page 25114. COMPENSATION FUNCTION PROGRAMMING B–61404E/08 D A block without tool If the command is specified at start–up, the offset vector is not created. movement specified at start–up G91 G40 … ; : N6 X100.0 Y100.0 ; N7 G41 X0 ; N8 Y–100.0 ; N9 Y–100.0 X100.0 ; SS N7 N6 N8 S r Tool center path N9 Program
  • Page 252B–61404E/08 PROGRAMMING 14. COMPENSATION FUNCTION 14.6.3 In the offset mode, the tool moves as illustrated below: Tool Movement in Offset Mode Explanations D Tool movement around the inside of a corner Linear→Linear (180°xα) α Workpiece Programmed path S L Tool center path Intersection L Linear→Circ
  • Page 25314. COMPENSATION FUNCTION PROGRAMMING B–61404E/08 D Tool movement around the inside (αt1°) with an abnormally long vector, Intersection linear → linear r Tool center path Programmed path r r S Intersection Also in case of arc to straight line, straight line to arc and arc to arc, the reader should i
  • Page 254B–61404E/08 PROGRAMMING 14. COMPENSATION FUNCTION D Tool movement around the outside corner at an Linear→Linear obtuse angle (90°xαt180°) α Workpiece L Programmed path S Intersection L Tool center path Linear→Circular α L r Work- piece S L C Intersection Tool center path Programmed path Circular→Lin
  • Page 25514. COMPENSATION FUNCTION PROGRAMMING B–61404E/08 D Tool movement around the outside corner at an acute angle Linear→Linear (αt90°) L Workpiece r α L Programmed path S r L Tool center path L L Linear→Circular L α L r S r Work- L piece L Tool center path Programmed path Circular→Linear C S Workpiece
  • Page 256B–61404E/08 PROGRAMMING 14. COMPENSATION FUNCTION D When it is exceptional End position for the arc is If the end of a line leading to an arc is programmed as the end of the arc not on the arc by mistake as illustrated below, the system assumes that cutter compensation has been executed with respect
  • Page 25714. COMPENSATION FUNCTION PROGRAMMING B–61404E/08 The center of the arc is If the center of the arc is identical with the start position or end point, identical with the start alarm (No. 038) is displayed, and the tool will stop at the end position of position or the end position the preceding block
  • Page 258B–61404E/08 PROGRAMMING 14. COMPENSATION FUNCTION Tool center path with an intersection Linear→Linear S Workpiece G42 L r r Programmed path L G41 Tool center path Workpiece Linear→Circular C Workpiece r G41 G42 Programmed path r Workpiece Tool center path L S Circular→Linear Workpiece G42 Programmed
  • Page 25914. COMPENSATION FUNCTION PROGRAMMING B–61404E/08 Tool center path without an When changing the offset direction in block A to block B using G41 and intersection G42, if intersection with the offset path is not required, the vector normal to block B is created at the start point of block B. Linear→L
  • Page 260B–61404E/08 PROGRAMMING 14. COMPENSATION FUNCTION The length of tool center Normally there is almost no possibility of generating this situation. path larger than the However, when G41 and G42 are changed, or when a G40 was circumference of a circle commanded with address I, J, and K this situation
  • Page 26114. COMPENSATION FUNCTION PROGRAMMING B–61404E/08 D Temporary cutter If the following command is specified in the offset mode, the offset mode compensation cancel is temporarily canceled then automatically restored. The offset mode can be canceled and started as described in Subsections 15.6.2 and 1
  • Page 262B–61404E/08 PROGRAMMING 14. COMPENSATION FUNCTION D Cutter compensation G The offset vector can be set to form a right angle to the moving direction code in the offset mode in the previous block, irrespective of machining inner or outer side, by commanding the cutter compensation G code (G41, G42) i
  • Page 26314. COMPENSATION FUNCTION PROGRAMMING B–61404E/08 D A block without tool The following blocks have no tool movement. In these blocks, the tool movement will not move even if cutter compensation is effected. M05 ; . . . . . . . . . M code output S21 ; . . . . . . . . . S code output G04 X10.0 ; . . .
  • Page 264B–61404E/08 PROGRAMMING 14. COMPENSATION FUNCTION D Corner movement When two or more vectors are produced at the end of a block, the tool moves linearly from one vector to another. This movement is called the corner movement. If these vectors almost coincide with each other, the corner movement isn’
  • Page 26514. COMPENSATION FUNCTION PROGRAMMING B–61404E/08 N4 G41 G91 G01 X15.0 Y20.0 ; P2 P3 P4 P5 N5 X15.0 Y20.0 ; N6 G02 J–60.0 ; N7 G01 X15.0 Y–20.0 ; N8 G40 X15.0 Y–20.0 ; P1 P6 N5 N7 N4 N8 Tool center path Programmed path N6 If the vector is not ignored, the tool path is as follows: P1 → P2 → P3 → (Cir
  • Page 266B–61404E/08 PROGRAMMING 14. COMPENSATION FUNCTION 14.6.4 Tool Movement in Offset Mode Cancel Explanations D Tool movement around an inside corner Linear→Linear (180°xα) Workpiece α Programmed path r G40 Tool center path L S L Circular→Linear α r G40 Work- piece S C L Programmed path Tool center path
  • Page 26714. COMPENSATION FUNCTION PROGRAMMING B–61404E/08 D Tool movement around Tool path has two types, A and B; and they are selected by parameter (No. an outside corner at an 016#2). obtuse angle Linear→Linear (90°xαt180°) G40 α Workpiece Programmed path L r Tool center path L S Type A Circular→Linear G
  • Page 268B–61404E/08 PROGRAMMING 14. COMPENSATION FUNCTION D Tool movement around Tool path has two types, A and B : and they are selected by parameter (No. an outside corner at an 016#2) acute angle Linear→Linear (αt90°) G40 Workpiece L α Programmed path G42 r Tool center path L S Type A Circular→Linear G40
  • Page 26914. COMPENSATION FUNCTION PROGRAMMING B–61404E/08 D Tool movement around the outside linear→linear S L Tool center path at an acute angle less than 1 degree (αt1°) r L G42 Programmed path 1°or less G40 Start position D A block without tool When a block without tool movement is commanded together wit
  • Page 270B–61404E/08 PROGRAMMING 14. COMPENSATION FUNCTION D Block containing G40 and I_J_K_ D 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 27114. COMPENSATION FUNCTION PROGRAMMING B–61404E/08 D The length of the tool In the example shown below, the tool does not trace the circle more than center path larger than once. It moves along the arc from P1 to P2. The interference check the circumference of a function described in Subsection 14.6.
  • Page 272B–61404E/08 PROGRAMMING 14. COMPENSATION FUNCTION 14.6.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 overc
  • Page 27314. COMPENSATION FUNCTION PROGRAMMING B–61404E/08  In addition to the condition , the angle between the start point and end point on the tool center path is quite different from that between the start point and end point on the programmed path in circular machining(more than 180 degrees). r2 Tool
  • Page 274B–61404E/08 PROGRAMMING 14. COMPENSATION FUNCTION (Example 1) The tool moves linearly from V1 to V8 V7 V2 V1 V8 Tool C center path V3 C r V6 r A C V5 V4 Programmed B path V4, V5 : Interference V3, V6 : Interference V2, V7 : Interference V1, V8 : No Interference O1 O2 (Example 2) The tool moves linea
  • Page 27514. COMPENSATION FUNCTION PROGRAMMING B–61404E/08  If the interference occurs after correction , the tool is stopped with an alarm. If the interference occurs after correction  or if there are only one pair of vectors from the beginning of checking and the vectors interfere, the alarm (No.41) is
  • Page 276B–61404E/08 PROGRAMMING 14. COMPENSATION FUNCTION D When interference is  Depression which is smaller than the cutter compensation value assumed although actual interference does not Programmed path Tool center path occur Stopped A C B There is no actual interference, but since the direction progra
  • Page 27714. COMPENSATION FUNCTION PROGRAMMING B–61404E/08 14.6.6 Overcutting by Cutter Compensation Explanations D Machining an inside When the radius of a corner is smaller than the cutter radius, because the corner at a radius inner offsetting of the cutter will result in overcuttings, an alarm is smaller
  • Page 278B–61404E/08 PROGRAMMING 14. COMPENSATION FUNCTION D Machining a step smaller When machining of the step is commanded by circular machining in the than the tool radius case of a program containing a step smaller than the tool radius, the path of the center of tool with the ordinary offset becomes rev
  • Page 27914. COMPENSATION FUNCTION PROGRAMMING B–61404E/08 The above example should be modified as follows: N1 G91 G00 G41 X50.0 Y50.0 H1 ; N3 G01 Z–250.0 ; N5 G01 Z–50.0 F100 ; N6 Y100.0 F200 ; Workpiece ÊÊÊÊÊ After compensation N6 ÊÊÊÊÊ ÊÊÊÊÊ ÊÊÊÊÊ ÊÊÊÊÊ N3, N5:Move command N1 for the Z axis (50, 50) The m
  • Page 280B–61404E/08 PROGRAMMING 14. COMPENSATION FUNCTION 14.6.7 Cutter compensation C is not performed for commands input from the Input Command from MDI. However, when automatic operation by absolute commands is MDI temporarily stopped by the single block function, MDI operation is performed, then automat
  • Page 28114. COMPENSATION FUNCTION PROGRAMMING B–61404E/08 14.7 Tool compensation values include tool geometry compensation values and tool wear compensation (Fig. 14.7). TOOL COMPENSATION VALUES, NUMBER ÇÇ Reference position OF COMPENSATION VALUES, AND OFSG ÇÇ ÇÇ ENTERING VALUES FROM THE OFSW ÇÇ OFSG:Geomet
  • Page 282B–61404E/08 PROGRAMMING 14. COMPENSATION FUNCTION D Tool compensation Tool compensation memory A or B can be used. memory and the tool The tool compensation memory determines the tool compensation values compensation value to that are entered (set) (Table 14.7 (b)). be entered Table14.7(b) Setting c
  • Page 28314. COMPENSATION FUNCTION PROGRAMMING B–61404E/08 14.8 A programmed figure can be magnified or reduced (scaling). The dimensions specified with X_, Y_, and Z_ can each be scaled up or SCALING (G50, G51) down with the same or different rates of magnification. The magnification rate can be specified i
  • Page 284B–61404E/08 PROGRAMMING 14. COMPENSATION FUNCTION Explanations D Scaling up or down Least input increment of scaling magnification is: 0.001 or 0.00001 It is along all axes at the depended on parameter (No. 036#07) which value is selected. If scaling same rate of P is not specified on the block of s
  • Page 28514. COMPENSATION FUNCTION PROGRAMMING B–61404E/08 D Scaling of circular Even if different magnifications are applie to each axis in circular interpolation interpolation, the tool will not trace an ellipse. When different magnifications are applied to axes and a circular interpolation is specified wi
  • Page 286B–61404E/08 PROGRAMMING 14. COMPENSATION FUNCTION G90 G00 X0.0 Y0.0 ; G51 X0.0 Y0.0 I2000 J1000; G02 X100.0 Y0.0 I0.0 J–100.0 F500 ; Above commands are equivalent to the following commands. G90 G00 X0.0 Y100.0; G02 X200.0 Y0.0 I0.0 J–100.0 F500 ; In this case, the end point does not beet the radius,
  • Page 28714. COMPENSATION FUNCTION PROGRAMMING B–61404E/08 D Invalid scaling This scaling is not applicable to cutter compensation values, tool length offset values, and tool offset values (Fig. 14.8 (e) ). Programmed figure Figure after scaling Cutter compensation values are not scaled. Fig.14.8(e) Scaling
  • Page 288B–61404E/08 PROGRAMMING 14. COMPENSATION FUNCTION NOTE 1 The position display represents the coordinate value after scaling. 2 When a mirror image was applied to one axis of the specified plane, the following results: (1)Circular command . . . . . . . . . . . . . Direction of rotation is reversed. (
  • Page 28914. COMPENSATION FUNCTION PROGRAMMING B–61404E/08 14.9 A programmed shape can be rotated. By using this function it becomes possible, for example, to modify a program using a rotation command COORDINATE when a workpiece has been placed with some angle rotated from the SYSTEM ROTATION programmed posi
  • Page 290B–61404E/08 PROGRAMMING 14. COMPENSATION FUNCTION Rotation plane G17 Y Center of Angle of rotation rotation R (α,β) X 0 Fig.14.9 (b) Coordinate system rotation NOTE When a decimal fraction is used to specify angular displacement (R_), the 1’s digit corresponds to degree units. Explanations D G code
  • Page 29114. COMPENSATION FUNCTION PROGRAMMING B–61404E/08 N1 G92 X*50.0 Y*50.0 G69 G17 ; N2 G68 X70.0 Y30.0 R60.0 ; N3 G90 G01 X0 Y0 F200 ; (G91X50.0Y50.0) N4 G91 X100.0 ; N5 G02 Y100.0 R100.0 ; N6 G03 X*100.0 I*50.0 J*50.0 ; N7 G01 Y*100.0 ; N8 G69 G90 X*50.0 Y*50.0 M02 ; Tool path when the incremental com
  • Page 292B–61404E/08 PROGRAMMING 14. COMPENSATION FUNCTION Examples D Cutter compensation C and coordinate system rotation It is possible to specify G68 and G69 in cutter compensation C mode. The rotation plane must coincide with the plane of cutter compensation C. N1 G92 X0 Y0 G69 G01 ; N2 G42 G90 X100.0 Y1
  • Page 29314. COMPENSATION FUNCTION PROGRAMMING B–61404E/08 2. When the system is in cutter compensation model C, specify the commands in the following order (Fig.14.9(e)) : (cutter compensation C cancel) G51 ; scaling mode start G68 ; coordinate system rotation start : G41 ; cutter compensation C mode start
  • Page 294B–61404E/08 PROGRAMMING 14. COMPENSATION FUNCTION D Repetitive commands for It is possible to store one program as a subprogram and recall subprogram coordinate system by changing the angle. rotation Sample program for when the bit (bit 0 of parameter 041) is set to 1. The specified angular displanc
  • Page 29514. COMPENSATION FUNCTION PROGRAMMING B–61404E/08 14.10 By specifying indexing positions (angles) for the indexing axis (the fourth axis), the index table of the machining center can be indexed. INDEX TABLE Before and after indexing, the index table is automatically unclamped or INDEXING FUNCTION cl
  • Page 296B–61404E/08 PROGRAMMING 14. COMPENSATION FUNCTION 2. Using no miscellaneous functions By setting to bits 2, 3, and 4 of parameter 079, operation can be selected from the following two options. Select the operation by referring to the manual written by the machine tool builder. (1) Rotating in the di
  • Page 29714. COMPENSATION FUNCTION PROGRAMMING B–61404E/08 D Indexing function and other functions Table14.10 Index indexing function and other functions Item Explanation This value is rounded down when bit 1 of parameter 079 specifies this Relative position display option. This value is rounded down when bi
  • Page 298B–61404E/08 PROGRAMMING 14. COMPENSATION FUNCTION 14.11 When a tool with a rotation axis (fourth–axis) is moved in the XY plane during cutting, the normal direction control function can control the tool NORMAL DIRECTION so that the fourth–axis is always perpendicular to the tool path (Fig. 14.11 CON
  • Page 29914. COMPENSATION FUNCTION PROGRAMMING B–61404E/08 Direction od the fourth–axis Programmed path Center of the arc Programmed path Direction od the fourth–axis Fig. 14.11 (b) Normal direction control left (G151) Fig. 14.11 (c) Normal direction control right (G152) Explanations D Angle of the fourth ax
  • Page 300B–61404E/08 PROGRAMMING 14. COMPENSATION FUNCTION Direction of the fourth axis S N1 S : Single block stop point Programmed path N2 S N3 S Fig. 14.11 (e) Point at which a single–block stop occurs in the normal direction control mode Before circular interpolation is started, the fourth–axis is rotated
  • Page 30114. COMPENSATION FUNCTION PROGRAMMING B–61404E/08 D Fourth axis feedrate Movement of the tool inserted at the beginning of each block is executed at the feedrate set in parameter 683. If dry run mode is on at that time, the dry run feedrate is applied. If the tool is to be moved along the X–and Y–ax
  • Page 302B–61404E/08 PROGRAMMING 15. CUSTOM MACRO A 15 CUSTOM MACRO A A function covering a group of instructions is stored in memory as same as a subprogram. The stored function is presented by one instruction, so that only the representative instruction need be specified to execute the function. This group
  • Page 30315. CUSTOM MACRO A PROGRAMMING B–61404E/08 15.1 The custom macro command is the command to call the custom macro body. CUSTOM MACRO COMMAND 15.1.1 Command format is as follows : M98 (Single Call) Format M98 P__; Called macro body program No. With the above command, the macro body specified by P is c
  • Page 304B–61404E/08 PROGRAMMING 15. CUSTOM MACRO A 15.1.3 When parameter (No. 0040 #5) is set beforehand, subprogram (O9000) Subprogram Call Using can be called using T code. N_ G_ X_ T ; T Code the above command results in the same operation of command of the following 2 blocks. #149 = ; N_ G_ X_ M
  • Page 30515. CUSTOM MACRO A PROGRAMMING B–61404E/08 15.1.4 G66 (Modal Call) Format G66 P __ ; Called macro body program No. The above command selects the macro modal call mode for NC. In other words, every time each block subsequent to the above command is executed, the macro designated by P is called. Also,
  • Page 306B–61404E/08 PROGRAMMING 15. CUSTOM MACRO A 15.1.5 An argument means an actual value given to a variable employed in a Argument called macro. An argument can be specified at all employable addresses except for O. The format of argument specification is the same as in Specification normal CNC command.
  • Page 30715. CUSTOM MACRO A PROGRAMMING B–61404E/08 15.1.5 (b) Correspondence between G codes of the argument specification and variable numbers Variable Variable G code G codes of the argument number number group specification (value) (flag) number #8030 #8130 00 One shot and others #8031 #8131 01 G00, G01,
  • Page 308B–61404E/08 PROGRAMMING 15. CUSTOM MACRO A 15.2 In the custom macro body, the CNC command, which uses ordinary CNC command variables, calculation, and branch command can be used. The CUSTOM MACRO custom macro body starts from the program No. which immediately BODY follows O and ends at M99. O_______
  • Page 30915. CUSTOM MACRO A PROGRAMMING B–61404E/08 NOTE 1 No variable can be quoted at address O and N. Neither O#100 nor N#120 can be programmed. 2 It is not possible to command a value exceeding the maximum command value set in each address. When #30=120, G#30 has exceeded the maximum command value. 15.2.
  • Page 310B–61404E/08 PROGRAMMING 15. CUSTOM MACRO A (b) Interface input signals #1000 to #1015, #1032 Interface signals can be known, by reading system variables #1000 to #1015 for reading interface signals. 215 214 213 212 211 210 29 28 27 26 25 24 23 22 21 20 UI15 UI14 UI13 UI12 UI11 UI10 UI9 UI8 UI7 UI6 U
  • Page 31115. CUSTOM MACRO A PROGRAMMING B–61404E/08 CAUTION If any other number than ‘0’ or ‘1’ is substituted into system variables #1100 to #1115, it is treated as ‘1’. NOTE 1 It is possible to read the values of system variables #1100 to #1133. 2 System variables #1100 to #1115 and #1133 can be displayed
  • Page 312B–61404E/08 PROGRAMMING 15. CUSTOM MACRO A (f) Modal information #4001 to #4120 It is possible to know the current values of modal information (modal command given till immediately preceding block) by reading values of system variables #4001 to #4120. Variables Modal information #4001 G code (group
  • Page 31315. CUSTOM MACRO A PROGRAMMING B–61404E/08 (g) Position information #5001 to #5083 The position information can be known by reading system variables #5001 to #5083. The unit of position information is 0.001 mm in metric input and 0.0001 inch in inch input. Reading Cutter and tool System Position inf
  • Page 314B–61404E/08 PROGRAMMING 15. CUSTOM MACRO A 15.2.3 General Form Operation Instruction G65HmP#i Q#j R#k ; m : Indicates operation instruction and branch instruction at 01 to 99 and Branch Instruction #i : Variable name to which arithmetic result is loaded. (G65) #j : Variable name 1 to be operated. A
  • Page 31515. CUSTOM MACRO A PROGRAMMING B–61404E/08 Table 15.2.3 G code H code Function Definition G65 H01 Definition, substitution #i = #j G65 H02 Addition #i = #j + #k G65 H03 Subtraction #i = #j – #k G65 H04 Product #i = #j #k G65 H05 Division #i = #jB #k G65 H11 Logical sum #i = #j. OR. #k G65 H12 Logica
  • Page 316B–61404E/08 PROGRAMMING 15. CUSTOM MACRO A D Operation instruction (a)Definition and substitution of variable #i = #j G65 H01 P#i Q#j ; [Example] G65 H01 P#101 Q1055 ; (#101=1005) G65 H01 P#101 Q#110 ; (#101=#110) G65 H01 P#101 Q–#112 ; (#101=–#112) (b)Addition #i = #j + #k G65 H02 P#i Q#j R#k; [Exa
  • Page 31715. CUSTOM MACRO A PROGRAMMING B–61404E/08 (o)Combined square root 1 #i = Ǹ#j 2 ) #k 2 G65 H27 P#i Q#j R#k ; [Example] G65 H27 P#101 Q#102 R#103 ; Ǹ#102 2 ) 103 2 ) (#101= (p)Combined square root 2 #i = Ǹ#j 2–#k 2 G65 H28 P#i Q#j R#k ; [Example] G65 H28 P#101 Q#102 R#103 ; (#101=Ǹ#102 2–103 2 ) (q)
  • Page 318B–61404E/08 PROGRAMMING 15. CUSTOM MACRO A D Branch instruction (a)Unconditional branch G65 H80 Pn ; n : Sequence number [Example] G65 H80 P120 ; (Diverge to N120) (b)Conditional divergence 1 #j. EQ. #k (+) G65 H81 Pn Q#j R#k ; n : Sequence number [Example] G65 H81 P1000 Q#101 R#102 ; #101=#102, go
  • Page 31915. CUSTOM MACRO A PROGRAMMING B–61404E/08 15.2.4 1) How to input “#” Notes on Custom For standard MDI key, when “/# EOB” key is depressed after address G, X, Y, Z, R, I, J, K, F, H, M, S, T, or P, # code is input Macro 2) It is also possible to give a macro instruction in the MDI mode. However addr
  • Page 320B–61404E/08 PROGRAMMING 16. CUSTOM MACRO B 16 CUSTOM MACRO B 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
  • Page 32116. CUSTOM MACRO B PROGRAMMING B–61404E/08 16.1 An ordinary machining program specifies a G code and the travel distance directly with a numeric value; examples are G100 and X100.0. VARIABLES With a custom macro, numeric values can be specified directly or using a variable number. When a variable nu
  • Page 322B–61404E/08 PROGRAMMING 16. CUSTOM MACRO B D Types of variables Variables are classified into four types by variable number. Table 16.1 Types of variables Variable Type of Function number variable #0 Always This variable is always null. No value can be null assigned to this variable. #1 – #33 Local
  • Page 32316. CUSTOM MACRO B PROGRAMMING B–61404E/08 D Displaying variable values Procedure for displaying variable values Procedure 1 Press the MENU OFFSET key to display the tool compensation screen. 2 Press the soft key [MACRO] to display the macro variable screen. 3 After press the No. key, enter a variab
  • Page 324B–61404E/08 PROGRAMMING 16. CUSTOM MACRO B 16.2 System variables can be used to read and write internal NC data such as tool compensation values and current position data. Note, however, that SYSTEM VARIABLES some system variables can only be read. System variables are essential for automation and g
  • Page 32516. CUSTOM MACRO B PROGRAMMING B–61404E/08 D Macro alarms Table 16.2(d) System variable for macro alarms Variable Function number #3000 When a value from 0 to 99 is assigned to variable #3000, the NC stops with an alarm. After an expression, an alarm mes- sage not longer than 26 characters can be de
  • Page 326B–61404E/08 PROGRAMMING 16. CUSTOM MACRO B D When a wait for the completion of auxiliary functions (M, S, and T functions) is not specified, program execution proceeds to the next block before completion of auxiliary functions. Also, distribution completion signal DEN is not output. Table 16.2(g) Sy
  • Page 32716. CUSTOM MACRO B PROGRAMMING B–61404E/08 D Settings Settings can be read and written. Binary values are converted to decimals. #3005 #15 #14 #13 #12 #11 #10 #9 #8 Setting TAPE REV4 #7 #6 #5 #4 #3 #2 #1 #0 Setting SEQ ABS INCH ISO TVON REVY REVX REVX : X–axis mirror image on/off REVY : Y–axis mirro
  • Page 328B–61404E/08 PROGRAMMING 16. CUSTOM MACRO B D Modal information Modal information specified in blocks up to the immediately preceding block can be read. Table 16.2(i) System variables for modal information Variable Function number #4001 G00, G01, G02, G03, G33 (Group 01) #4002 G17, G18, G19 (Group 02
  • Page 32916. CUSTOM MACRO B PROGRAMMING B–61404E/08 D The first digit (from 1 to 4) represents an axis number. Digit 1 corresponds to the X–axis, digit 2 to the Y–axis, digit 3 to the Z–axis, and digit 4 to the fourth axis. D The tool offset value currently used for execution rather than the immediately prec
  • Page 330B–61404E/08 PROGRAMMING 16. CUSTOM MACRO B D Workpiece coordinate Workpiece zero point offset values can be read and written. system compensation Table 16.2 (k) System variables for workpiece values (workpiece zero zero point offset values point offset values) Variable Function number #2500 First ax
  • Page 33116. CUSTOM MACRO B PROGRAMMING B–61404E/08 16.3 The operations listed in Table 16.3(a) can be performed on variables. The expression to the right of the operator can contain constants and/or ARITHMETIC AND variables combined by a function or operator. Variables #j and #K in an LOGIC OPERATION expres
  • Page 332B–61404E/08 PROGRAMMING 16. CUSTOM MACRO B D When the ROUND function is used in NC statement addresses, the ROUND function rounds off the specified value according to the least input increment of the address. Example: Creation of a drilling program that cuts according to the values of variables #1 a
  • Page 33316. CUSTOM MACRO B PROGRAMMING B–61404E/08 D Bracket nesting Brackets are used to change the order of operations. Brackets can be used to a depth of five levels including the brackets used to enclose a function. When a depth of five levels is exceeded, alarm No. 118 occurs. Example) #1=SIN [ [ [#2+#
  • Page 334B–61404E/08 PROGRAMMING 16. CUSTOM MACRO B D The precision of variable values is about 8 decimal digits. When very large numbers are handled in an addition or subtraction, the expected results may not be obtained. Example: When an attempt is made to assign the following values to variables #1 and #2
  • Page 33516. CUSTOM MACRO B PROGRAMMING B–61404E/08 16.4 The following blocks are referred to as macro statements: MACRO D Blocks containing an arithmetic or logic operation (=) STATEMENTS AND NC STATEMENTS D Blocks containing a control statement (such as GOTO, DO, END) D Blocks containing a macro call comma
  • Page 336B–61404E/08 PROGRAMMING 16. CUSTOM MACRO B 16.5 In a program, the flow of control can be changed using the GOTO statement and IF statement. Three types of branch and repetition BRANCH AND operations are used: REPETITION Branch and repetition GOTO statement (unconditional branch) IF statement (condit
  • Page 33716. CUSTOM MACRO B PROGRAMMING B–61404E/08 D Operators Operators each consist of two letters and are used to compare two values to determine whether they are equal or one value is smaller or greater than the other value. Note that the inequality sign cannot be used. Table 16.5.2 Operators Operator M
  • Page 338B–61404E/08 PROGRAMMING 16. CUSTOM MACRO B 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), alarm No. 124 occurs. 1. The identification numbers 3. DO loops can
  • Page 33916. CUSTOM MACRO B PROGRAMMING B–61404E/08 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; 316
  • Page 340B–61404E/08 PROGRAMMING 16. CUSTOM MACRO B 16.6 A macro program can be called using the following methods: MACRO CALL Macro call Simple call ((G65) modal call (G66, G67) Macro call with G code Macro call with M code Subprogram call with M code Subprogram call with T code Limitations D Differences be
  • Page 34116. CUSTOM MACRO B PROGRAMMING B–61404E/08 D Argument specification Two types of argument specification are available. Argument specification I uses letters other than G, L, O, N, and P once each. Argument specification II uses A, B, and C once each and also uses I, J, and K up to ten times. The typ
  • Page 342B–61404E/08 PROGRAMMING 16. CUSTOM MACRO B D Call nesting Calls can be nested to a depth of four levels including simple calls (G65) and modal calls (G66). This does not include subprogram calls (M98). D Local variable levels D Local variables from level 0 to 4 are provided for nesting. D The level
  • Page 34316. CUSTOM MACRO B PROGRAMMING B–61404E/08 Sample program A macro is created which drills H holes at intervals of B degrees after a (bolt hole circle) start angle of A degrees along the periphery of a circle with radius I. The center of the circle is (X,Y). Commands can be specified in either the ab
  • Page 344B–61404E/08 PROGRAMMING 16. CUSTOM MACRO B D Program calling a macro O0002; program G90 G92 X0 Y0 Z100.0; G65 P9100 X100.0 Y50.0 R30.0 Z–50.0 F500 I100.0 A0 B45.0 H5; M30; D Macro program O9100; (called program) #3=#4003; . . . . . . . . . . . . . . . . . . . . . . . . . Stores G code of group 3. G8
  • Page 34516. CUSTOM MACRO B PROGRAMMING B–61404E/08 16.6.2 Once G66 is issued to specify a modal call a macro is called after a block Modal Call (G66) specifying movement along axes is executed. This continues until G67 is issued to cancel a modal call. G66 P p L ȏ ; P : Number of th
  • Page 346B–61404E/08 PROGRAMMING 16. CUSTOM MACRO B Sample program The same operation as the drilling canned cycle G81 is created using a custom macro and the machining program makes a modal macro call. For program simplicity, all drilling data is specified using absolute values. The canned cycle consists of
  • Page 34716. CUSTOM MACRO B PROGRAMMING B–61404E/08 16.6.3 By setting a G code number used to call a macro program in a parameter, Macro Call Using the macro program can be called in the same way as for a simple call (G65). G Code O0001 ; O9010 ; : : G81 X10.0 Y20.0 Z–10.0 ; : : : M30 ; N9 M99 ; Parameter 22
  • Page 348B–61404E/08 PROGRAMMING 16. CUSTOM MACRO B 16.6.4 By setting an M code number used to call a macro program in a parameter, Macro Call Using an the macro program can be called in the same way as with a simple call (G65). M Code O0001 ; O9020 ; : : M50 A1.0 B2.0 ; : : : M30 ; M99 ; Parameter 230 = 50
  • Page 34916. CUSTOM MACRO B PROGRAMMING B–61404E/08 16.6.5 By setting an M code number used to call a subprogram (macro program) Subprogram Call Using in a parameter, the macro program can be called in the same way as with a subprogram call (M98). an M Code O0001 ; O9001 ; : : M03 ; : : : M30 ; M99 ; Paramet
  • Page 350B–61404E/08 PROGRAMMING 16. CUSTOM MACRO B 16.6.6 By enabling subprograms (macro program) to be called with a T code in Subprogram Calls a parameter, a macro program can be called each time the T code is specified in the machining program. Using a T Code O0001 ; O9000 ; : : T23 ; : : : M30 ; M99 ; B
  • Page 35116. CUSTOM MACRO B PROGRAMMING B–61404E/08 16.6.7 By using the subprogram call function that uses M codes, the cumulative Sample Program usage time of each tool is measured. Conditions D The cumulative usage time of each of tools T01 to T05 is measured. No measurement is made for tools with numbers
  • Page 352B–61404E/08 PROGRAMMING 16. CUSTOM MACRO B Macro program O9001(M03); . . . . . . . . . . . . . . . . . . . . . . . . . . Macro to start counting (program called) M01; IF[#4120 EQ 0]GOTO 9; . . . . . . . . . . . . . . . . . . . . . No tool specified IF[#4120 GT 5]GOTO 9; . . . . . . . . . . . . . Out
  • Page 35316. CUSTOM MACRO B PROGRAMMING B–61404E/08 16.7 For smooth machining, the NC statement is preread to be performed next. This operation is referred to as buffering. In cutter compensation mode PROCESSING (G41, G42), the NC prereads NC statements two or three blocks ahead to MACRO find intersections.
  • Page 354B–61404E/08 PROGRAMMING 16. CUSTOM MACRO B D Buffering the next block in cutter compensation > N1 G01 G41 G91 X50.0 Y30.0 F100 Dd ; mode (G41, G42) N2 #1=100 ; > : Block being executed N3 X100.0 ; N4 #2=200 ; j : Blocks read into the buffer N5 Y50.0 ; : N1 N3 NC statement execution N2 N4 Macro state
  • Page 35516. CUSTOM MACRO B PROGRAMMING B–61404E/08 16.9 LIMITATIONS D MDI operation Macro call can be specified in automatic operation. During automatic operation, however, it is impossible to switch to the MDI mode for a macro program call. Macro call can also be specified in MDI operation B. D Sequence nu
  • Page 356B–61404E/08 PROGRAMMING 16. CUSTOM MACRO B 16.10 In addition to the 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 values and
  • Page 35716. CUSTOM MACRO B PROGRAMMING B–61404E/08 Examples BPRINT [ C** X#100 [3] Y#101 [3] M#10 [0] ] Variable value #100=0.40596 #101=–1638.4 #10=12.34 LF 12 (0000000C) M –1638400(FFE70000) Y 410 (0000019A) X Space C D Data output command DPRNT DPRNT [ a #b [cd] …] Number of significant decimal places Nu
  • Page 358B–61404E/08 PROGRAMMING 16. CUSTOM MACRO B Examples DPRINT [ X#2 [53] Y#5 [53] T#30 [20] ] Variable value #2=128.47398 #5=–91.2 #30=123.456  Parameter (No.040#1)=0 LF T sp 23 Y – sp sp sp 91.200 X sp sp sp 128.474  Parameter (No.040#1)=1 LF T23 Y–91.200 X128.474 D Close command PCLOS PCLOS ; The P
  • Page 35916. CUSTOM MACRO B PROGRAMMING B–61404E/08 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 aft
  • Page 360B–61404E/08 PROGRAMMING 16. CUSTOM MACRO B 16.11 When a program is being executed, another program can be called by inputting an interrupt signal (UINT) from the machine. This function is INTERRUPTION TYPE referred to as an interruption type custom macro function. Program an CUSTOM MACRO interrupt c
  • Page 36116. CUSTOM MACRO B PROGRAMMING B–61404E/08 16.11.1 Specification Method Explanations D Interrupt conditions A custom macro interrupt is available only during program execution. It is enabled under the following conditions – When memory operation or MDI operation B is selected – When STL (start lamp)
  • Page 362B–61404E/08 PROGRAMMING 16. CUSTOM MACRO B 16.11.2 Details of Functions Explanations D Subprogram–type There are two types of custom macro interrupts: Subprogram–type interrupt and macro–type interrupts and macro–type interrupts. The interrupt type used is selected interrupt by (bit 5 of parameter 0
  • Page 36316. CUSTOM MACRO B PROGRAMMING B–61404E/08 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 performed even in the middle is executed. of a block) (ii) If there are NC statements in the i
  • Page 364B–61404E/08 PROGRAMMING 16. CUSTOM MACRO B 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 bloc
  • Page 36516. CUSTOM MACRO B PROGRAMMING B–61404E/08 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 t
  • Page 366B–61404E/08 PROGRAMMING 16. CUSTOM MACRO B 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 36716. CUSTOM MACRO B PROGRAMMING B–61404E/08 NOTE When an M99 block consists only of address O, N, P, L, or M, this block is regarded as belonging to the previous block in the program. Therefore, a single–block stop does not occur for this block. In terms of programming, the following  and  are basi
  • Page 368B–61404E/08 PROGRAMMING 16. CUSTOM MACRO B Modal information when The modal information present before the interrupt becomes valid. The control is returned by M99 new modal information modified by the interrupt program is made invalid. Modal information when The new modal information modified by the
  • Page 36917. PATTERN DATA INPUT FUNCTION PROGRAMMING B–61404E/08 17 PATTERN DATA INPUT FUNCTION This function enables users to perform programming simply by extracting numeric data (pattern data) from a drawing and specifying the numerical values from the CRT/MDI panel. This eliminates the need for programmi
  • Page 370B–61404E/08 PROGRAMMING 17. PATTERN DATA INPUT FUNCTION 17.1 Pressing the MENU OFSET key and the soft key [MENU] is displayed on the DISPLAYING THE following 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. POCK
  • Page 37117. PATTERN DATA INPUT FUNCTION PROGRAMMING B–61404E/08 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 a
  • Page 372B–61404E/08 PROGRAMMING 17. PATTERN DATA INPUT 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 : Speci
  • Page 37317. PATTERN DATA INPUT FUNCTION PROGRAMMING B–61404E/08 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 SELECT = S 0 T 10:01:29 MDI [ OFFSET
  • Page 374B–61404E/08 PROGRAMMING 17. PATTERN DATA INPUT FUNCTION 17.2 When a pattern menu is selected, the necessary pattern data is displayed. PATTERN DATA DISPLAY VAR. : BOLT HOLE O9501 N0014 NO. NAME DATA COMMENT –– 500 TOOL 0 501 KIJUN X 0 *BOLT HOLE 502 KIJUN Y 0 CIRCLE* 503 RADIUS 0 SET PATTERN 504 S.
  • Page 37517. PATTERN DATA INPUT FUNCTION PROGRAMMING B–61404E/08 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 : Specifies t
  • Page 376B–61404E/08 PROGRAMMING 17. PATTERN DATA INPUT 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 37717. PATTERN DATA INPUT FUNCTION PROGRAMMING B–61404E/08 Examples Macro instruction to describe a parameter title , the variable name, and a comment. VAR. : BOLT HOLE O9501 N0014 NO. NAME DATA COMMENT –– 500 TOOL 0 501 KIJUN X 0 *BOLT HOLE 502 KIJUN Y 0 CIRCLE* 503 RADIUS 0 SET PATTERN 504 S. ANGL 0
  • Page 378B–61404E/08 PROGRAMMING 17. PATTERN DATA INPUT FUNCTION 17.3 CHARACTERS AND Table. 17.3(a) Characters and codes to be used for the pattern data input function CODES TO BE USED FOR THE PATTERN Char- acter Code Comment Char- acter Code Comment DATA INPUT A 065 6 054 FUNCTION B 066 7 055 C 067 8 056 D
  • Page 37917. PATTERN DATA INPUT FUNCTION PROGRAMMING B–61404E/08 Table 17.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 38018. PROGRAMMABLE PARAMETER B–61404E/08 PROGRAMMING ENTRY (G10) 18 PROGRAMMABLE PARAMETER ENTRY (G10) General The values of parameters can be entered in a lprogram. This function is used for setting pitch error compensation data when attachments are changed or the maximum cutting feedrate or cutting
  • Page 38118. PROGRAMMABLE PARAMETER ENTRY (G10) PROGRAMMING B–61404E/08 Format Format G10L50; Parameter entry mode setting N_P_; G11; Parameter entry mode cancel Meaning of command N_: Parameter No. (4digids) or data No. for pitch errors compensation P_: Parameter setting value (Leading zeros can be omitted.
  • Page 38219. MEMORY OPERATION USING Series B–61404E/08 PROGRAMMING 10/11 TAPE FORMAT 19 MEMORY OPERATION USING Series 10/11 TAPE FORMAT General Memory operation of the program registered by Series 10/11 tape format is possible with setting of the setting parameter (TAPEF). Explanations Data formats for cutte
  • Page 38320. HIGH SPEED CYCLE CUTTING PROGRAMMING B–61404E/08 20 HIGH SPEED CYCLE CUTTING General This function can convert the machining profile to a data group that can be distributed as pulses at high–speed by the macro compiler or macro executor. The function can also call and execute the data group as a
  • Page 384B–61404E/08 PROGRAMMING 20. HIGH SPEED CYCLE CUTTING 20.1 Four axes maximum (Four axes can be controlled simultaneously.). NUMBER OF CONTROL AXES 20.2 Set the number of pulses per cycle in parameter 055 #4 to #6 as a macro variable (#20000 to #85535) for high speed cycle cutting using the macro PULS
  • Page 38520. HIGH SPEED CYCLE CUTTING PROGRAMMING B–61404E/08 20.3 Data for the high speed cycle cutting is assigned to variables (#20000 to #85535) for the high speed cycle cutting by the macro compiler and CONFIGURATION OF macro executor. HIGH SPEED CYCLE Configuration of the high speed cutting cycle data
  • Page 386B–61404E/08 PROGRAMMING 20. HIGH SPEED CYCLE CUTTING Explanations D Cycle repetition count Specify the repetition count for this cycle. Values from 0 to 32767 can be specified. When 0 or 1 is specified, the cycle is executed once. D Cycle connection data Specify the number (1 to 999) of the cycle to
  • Page 38720. HIGH SPEED CYCLE CUTTING PROGRAMMING B–61404E/08 NOTE 1 When the high–speed machining function is used, an extended RAM is necessary. The length of tape that can be specified is limited to 80 meters. 2 An alarm is issued if the function is executed in the G41/G42 mode. 3 Single block stop, dry r
  • Page 388B–61404E/08 PROGRAMMING 21. SIMPLE SYNCHRONOUS CONTROL 21 SIMPLE SYNCHRONOUS CONTROL General It is possible to change the operating mode for two or more specified axes to either synchronous operation or normal operation by an input signal from the machine. For example, The following operating modes
  • Page 38921. SIMPLE SYNCHRONOUS CONTROL PROGRAMMING B–61404E/08 Explanations D Synchronous operation This mode is used for machining large workpieces that extend over two tables. While operating one axis with a move command, it is possible to synchronously move the other axis. In the synchronous mode, the ax
  • Page 390B–61404E/08 PROGRAMMING 21. SIMPLE SYNCHRONOUS CONTROL CAUTION 1 When the automatic reference position return command (G28) and the 2nd/3rd/4th reference position return command (G30) are issued during synchronous operation, the V axis follows the same movement as the Y axis returns to the reference
  • Page 39122. ROTARY AXIS ROLL–OVER PROGRAMMING B–61404E/08 22 ROTARY AXIS ROLL–OVER General The roll–over function prevents coordinates for the rotation axis from overflowing. The roll–over function is enabled by setting bit 1 of parameter 398 to 1. Explanations For an incremental command, the tool moves the
  • Page 39223. ANGULAR AXIS CONTROL B–61404E/08 PROGRAMMING (0–GSC, 0–GSD/II) 23 ANGULAR AXIS CONTROL (0–GSC, 0–GSD/II) General When the Y–axis makes an angle other than 90° with the Z–axis, the inclined axis control function controls the distance traveled along each axis according to the inclination angle. A
  • Page 39323. ANGULAR AXIS CONTROL (0–GSC, 0–GSD/II) PROGRAMMING B–61404E/08 WARNING 1 After inclined axis control parameter setting, be sure to perform manual reference point return operation. 2 If a movement along the Z–axis occurs in Y–axis manual reference point return operation, be sure to perform refere
  • Page 394B–61404E/08 PROGRAMMING 24. ADVANCED PREVIEW CONTROL 24 ADVANCED PREVIEW CONTROL General This function is designed to enable high–speed, high–precision machining. This function can suppress the delay that is incurred by acceleration/deceleration and the servo system and which increases as a higher f
  • Page 39524. ADVANCED PREVIEW CONTROL PROGRAMMING B–61404E/08 NOTE 1 In advanced preview control mode, the following cannot be specified: S Control along the C–axis normal S Cylindrical interpolation S Polar coordinate specification S F 1–digit feed/threading/synchronous feed S Index table indexing S Rigid t
  • Page 396III. OPERATIO
  • Page 397
  • Page 398B–61404E/08 OPERATION 1. GENERAL 1 GENERAL 375
  • Page 3991. GENERAL OPERATION B–61404E/08 1.1 MANUAL OPERATION Explanations D Manual reference The CNC machine tool has a position used to determine the machine position return position. (See Section III–3.1) This position is called the reference position, where the tool is replaced or the coordinate are set
  • Page 400B–61404E/08 OPERATION 1. GENERAL D The tool movement by Using machine operator’s panel switches, pushbuttons, or the manual manual operation handle, the tool can be moved along each axis. Machine operator’s panel Manual pulse generator Tool Workpiece Fig. 1.1 (b) The tool movement by manual operatio
  • Page 4011. GENERAL OPERATION B–61404E/08 1.2 Automatic operation is to operate the machine according to the created program. It includes memory, DNC, and MDI operations. TOOL MOVEMENT (See Section III–4). BY PROGRAMMING– Program AUTOMATIC 01000 ; OPERATION M_S_T ; G92_X_ ; Tool G00... ; G01...... ; . . . .
  • Page 402B–61404E/08 OPERATION 1. GENERAL D MDI operation After the program is entered, as an command group, from the MDI keyboard, the machine can be run according to the program. This operation is called MDI operation. CNC MDI keyboard Machine Manual program input Fig. 1.2 (c) MDI operation 379
  • Page 4031. GENERAL OPERATION B–61404E/08 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 I
  • Page 404B–61404E/08 OPERATION 1. GENERAL D Handle interruption While automatic operation is being executed, tool movement can overlap (See Section III–4.7) automatic operation by rotating the manual handle. Tool position during Z automatic operation Tool position after handle interruption Programmed depth o
  • Page 4051. GENERAL OPERATION B–61404E/08 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 ch
  • Page 406B–61404E/08 OPERATION 1. GENERAL D Single block When the cycle start pushbutton is pressed, the tool executes one (See Section III–5.5) operation then stops. By pressing the cycle start again, the tool executes the next operation then stops. The program is checked in this manner. Cycle start Cycle s
  • Page 4071. GENERAL OPERATION B–61404E/08 1.5 After a created program is once registered in memory, it can be corrected or modified from the CRT/MDI panel (See Section III–9). EDITING A PART This operation can be executed using the part program storage/edit PROGRAM function. Program registration Program corr
  • Page 408B–61404E/08 OPERATION 1. GENERAL 1.6 The operator can display or change a value stored in CNC internal memory by key operation on the CRT/MDI screen (See III–11). DISPLAYING AND SETTING DATA Data setting Data display Screen Keys CRT/MDI CNC memory Fig. 1.6 (a) Displaying and setting data Explanation
  • Page 4091. GENERAL OPERATION B–61404E/08 1st tool path Machined shape 2nd tool path Offset value of the 1st tool Offset value of the 2nd tool Fig. 1.6 (c) Offset value D Displaying and setting Apart from parameters, there is data that is set by the operator in operator’s setting data operation. This data ca
  • Page 410B–61404E/08 OPERATION 1. GENERAL 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
  • Page 4111. GENERAL OPERATION B–61404E/08 1.7 DISPLAY 1.7.1 The contents of the currently active program are displayed. In addition, Program Display the programs scheduled next and the program list are displayed. (See Subsections Active sequence number III–11.2.1 and III–11.3.1) Active program number PROGRAM
  • Page 412B–61404E/08 OPERATION 1. GENERAL 1.7.2 The current position of the tool is displayed with the coordinate values. Current Position The distance from the current position to the target position can also be displayed. Display (See Section III–11.1.1 to 11.1.3) Y x y X Workpiece coordinate system ACTUAL
  • Page 4131. GENERAL OPERATION B–61404E/08 1.7.4 When an option is selected, two types of run time and number of parts are Parts Count Display, displayed on the screen. Run Time Display (See Section III–11.1.5) ACTUAL POSITION (ABSOLUTE) O0003 N0003 X 150.000 Y 300.000 Z 100.000 PART COUNT 1 RUN TIME 0H 0M CY
  • Page 414B–61404E/08 OPERATION 1. GENERAL 1.8 Programs, offset values, parameters, etc. input in CNC memory can be output to paper tape, cassette, or a floppy disk for saving. After once DATA OUTPUT output to a medium, the data can be input into CNC memory. (SEE CHAPTER III–8) Portable tape reader FANUC PPR
  • Page 4152. OPERATIONAL DEVICES OPERATION B–61404E/08 2 OPERATIONAL DEVICES The peripheral devices available include the CRT/MDI panel attached to the CNC, machine operator’s panel and external input/output devices such as tape reader, PPR, floppy cassette, and FA card. 392
  • Page 416B–61404E/08 OPERATION 2. OPERATIONAL DEVICES 2.1 Figs. 2.1 (a) to 2.1 (e) show the CRT/MDI and LCD/MDI panels. CRT/MDI PANELS 9″ small monochrome or color CRT/MDI panel (with softkey) AND LCD/MDI . . . . . . . . . . . . . . . . Fig.2.1(a) PANELS 9″ monochrome or color CRT/MDI panel (without softkey)
  • Page 4172. OPERATIONAL DEVICES OPERATION B–61404E/08 Reset key Data input key Program edit key Input key Cursor move key Function key Start/output key Page change key Fig. 2.1 (c) 9″ monochrome or color CRT/MDI panel (with full key) 6–φ4 5 200 190 5 5 130 130 130 5 400 Fig. 2.1 (d) Thin type display/MDI pan
  • Page 418B–61404E/08 OPERATION 2. OPERATIONAL DEVICES 10–φ4.8 520 7 168 170 168 7 7 178 370 178 7 Fig. 2.1 (e) 14″ color CRT/MDI panel 395
  • Page 4192. OPERATIONAL DEVICES OPERATION B–61404E/08 Explanation of the keyboard 400 5 200 190 5 5 130 130 130 5 8–φ4 Fig. 2.1 (f) 9″ small monochrome/or color CRT/MDI panel (with soft key) Table 2.1 Explanation of the MDI keyboard Number Name Explanation 1 Power ON and OFF but- Press theses buttons to turn
  • Page 420B–61404E/08 OPERATION 2. OPERATIONAL DEVICES Table 2.1 Explanation of the MDI keyboard Number Name Explanation 8 Cancel key Press this key to delete the last character or symbol input to the key input buffer. CAN 9 Program edit keys Press these keys when editing the program. ALTER INSRT DELET ALTER
  • Page 4212. OPERATIONAL DEVICES OPERATION B–61404E/08 2.2 FUNCTION KEYS AND SOFT KEYS 2.2.1 General Screen Operations 1 Press a function key on the CRT/MDI panel. The chapter selection soft keys that belong to the selected function appear. MENU POS PRGRM OFSET 2 Press one of the soft keys. The screen for the
  • Page 422B–61404E/08 OPERATION 2. OPERATIONAL DEVICES 2.2.2 Function keys are provided to select the type of screen to be displayed. Function Keys The following function keys are provided on the CRT/MDI panel: POS Press this key to display the position screen. PRGRM Press this key to display the program scre
  • Page 4232. OPERATIONAL DEVICES OPERATION B–61404E/08 2.2.3 Key Input and Input Buffer Explanations D For standard key When an address and a numerical key are pressed, the character corresponding to that key is input once into the key input buffer. The contents of the key input buffer is displayed at the bot
  • Page 424B–61404E/08 OPERATION 2. OPERATIONAL DEVICES Data of one word (address + numeric value) can be entered into the key input buffer at one time. The following data input keys are used to input addresses. Each time the key is pressed, the input address changes as shown below: D 4th is the address of the
  • Page 4252. OPERATIONAL DEVICES OPERATION B–61404E/08 To input the lower character of the keys that have two characters inscribed on them, first press the SHIFT key and then the key in question. When the SHIFT key is pressed, “<” indicating the next character input position changes to “Λ”. Now lowercase char
  • Page 426B–61404E/08 OPERATION 2. OPERATIONAL DEVICES 2.3 Five types of external input/output devices are available. This section outlines each device. For details on these devices, refer to the EXTERNAL I/O corresponding manuals listed below. DEVICES Table 2.3 External I/O device Device name Usage Max. Refe
  • Page 4272. OPERATIONAL DEVICES OPERATION B–61404E/08 Parameter Before an external input/output device can be used, parameters must be set as follows. Series 0 MEMORY CARD REMOTE BUFFER Channel 1 Channel 2 Channel 3 M5 M74 M77 RS–232–C RS–232–C RS–232–C RS–422 Reader/ Reader/ Host Host puncher puncher comput
  • Page 428B–61404E/08 OPERATION 2. OPERATIONAL DEVICES 2.3.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 ed
  • Page 4292. OPERATIONAL DEVICES OPERATION B–61404E/08 2.3.3 An FA Card is a memory card used as an input medium in the FA field. FANUC FA Card It is compact, but has a large memory capacity with high reliability, and requires no special maintenance. When an FA Card is connected to the CNC via the card adapte
  • Page 430B–61404E/08 OPERATION 2. OPERATIONAL DEVICES 2.3.5 The portable tape reader is used to input data from paper tape. Portable Tape Reader   + + + RS–232–C Interface (Punch panel, etc.) 407
  • Page 4312. OPERATIONAL DEVICES OPERATION B–61404E/08 2.4 POWER ON/OFF 2.4.1 Turning on the Power Procedure of turning on the power Procedure 1 Check that the appearance of the CNC machine tool is normal. (For example, check that front door and rear door are closed.) 2 Turn on the power according to the manu
  • Page 432B–61404E/08 OPERATION 2. OPERATIONAL DEVICES 2.4.2 Display of Software Configuration O466–22 CNC control software SERVO : 9030–16 Digital servo ROM SUB : xxxx–xx Sub CPU (remote buffer) OMM : yyyy–yy Order–made macro/macro PMC : zzzz–zz compiler PMC 2.4.3 Power Disconnection Procedure 1 Check that t
  • Page 4333. MANUAL OPERATION OPERATION B–61404E/08 3 MANUAL OPERATION MANUAL OPERATION are five kinds as follows : 3.1 Manual reference position return 3.2 Jog feed 3.3 Incremental feed 3.4 Manual handle feed 3.5 Manual absolute on and off 410
  • Page 434B–61404E/08 OPERATION 3. MANUAL OPERATION 3.1 The tool is returned to the reference position as follows : The tool is moved in the direction specified in parameter (bit 0 to #3 of MANUAL No. 003) for each axis with the reference position return switch on the REFERENCE machine operator’s panel. The t
  • Page 4353. MANUAL OPERATION OPERATION B–61404E/08 Explanations D Automatic coordinate If the parameter for automatic coordinate system setting (bit 7 of system setting parameter 010) is specified, the coordinate system is determined automatically when a manual reference position return is made. If α, β, γ,
  • Page 436B–61404E/08 OPERATION 3. MANUAL OPERATION 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 selected JOG FEED axis in the selected direction. The jog feedrate is specified in Table 3.2. MODE EDIT ÅÅ MEMORY Å
  • Page 4373. MANUAL OPERATION OPERATION B–61404E/08 Procedure for Jog Feed AXIS DIRECTION 1 Press the jog switch, one of the mode selection switches. +C +Z +Y 2 Press the feed axis and direction selection switch corresponding to the axis and direction the tool is to be moved. While the switch is pressed, –X R
  • Page 438B–61404E/08 OPERATION 3. MANUAL OPERATION 3.3 In the incremental (STEP) 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 4393. MANUAL OPERATION OPERATION B–61404E/08 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 di
  • Page 440B–61404E/08 OPERATION 3. MANUAL OPERATION Explanations D Availability of manual Parameter (bit 0 of No. 013) enables or disables the manual handle feed pulse generator in Jog in the JOG mode. mode When the parameter (bit 0 of No. 013) is set 1,both manual handle feed and incremental feed are enabled
  • Page 4413. MANUAL OPERATION OPERATION B–61404E/08 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 442B–61404E/08 OPERATION 3. MANUAL OPERATION Explanations The following describes the relation between manual operation and coordinates when the manual absolute switch is turned on or off, using a program example. G01G90 X100.0Y100.0F010 ;  X200.0Y150.0 ;  X300.0Y200.0 ;  The subsequent figures use
  • Page 4433. MANUAL OPERATION OPERATION B–61404E/08 D When reset after a Coordinates when the feed hold button is pressed while block  is being manual operation executed, manual operation (Y–axis +75.0) is performed, the control unit following a feed hold is reset with the RESET button, and block  is read a
  • Page 444B–61404E/08 OPERATION 3. MANUAL OPERATION When the switch is ON during cutter compensation Operation of the machine upon return to automatic operation after manual intervention with the switch is ON during execution with an absolute command program in the cutter compensation mode will be described.
  • Page 4453. MANUAL OPERATION OPERATION B–61404E/08 Manual operation during cornering This is an example when manual operation is performed during cornering. VA2’, VB1’, and VB2’ are vectors moved in parallel with VA2, VB1 and VB2 by the amount of manual movement. The new vectors are calculated from VC1 and V
  • Page 446B–61404E/08 OPERATION 4. AUTOMATIC OPERATION 4 AUTOMATIC OPERATION Programmed operation of a CNC machine tool is referred to as automatic operation. This chapter explains the following types of automatic operation: D MEMORY OPERATION Operation by executing a program registered in CNC memory D MDI OP
  • Page 4474. AUTOMATIC OPERATION OPERATION B–61404E/08 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 lamp goes OPERATION on. When the feed ho
  • Page 448B–61404E/08 OPERATION 4. AUTOMATIC OPERATION Explanations Memory operation After memory operation is started, the following are executed:  A one–block command is read from the specified program.  The block command is decoded.  The command execution is started.  The command in the next block is r
  • Page 4494. AUTOMATIC OPERATION OPERATION B–61404E/08 4.2 In the MDI mode, a program can be inputted 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 example. For actual operation, ref
  • Page 450B–61404E/08 OPERATION 4. AUTOMATIC OPERATION PROGRAM O9501 N9501 (MDI) (MODAL) X 10.500 G67 G00 F Y 200.500 G54 G17 R G64 G90 P G69 G22 Q G15 G94 H G25 G21 M G40 S G49 T G80 B G98 G50 ADRS. S 0 T 10:30:25 MDI [ PRGRM ][ CURRNT ][ NEXT ] [ MDI ] [ RSTE ] 8 Press the OUTPT START key. Press the cycle s
  • Page 4514. AUTOMATIC OPERATION OPERATION B–61404E/08 Procedure for MDI Operation – B Procedure 1 Press the MDI mode selection switch. 2 Press the PRGRM function key on the CRT/MDI panel to select the program screen. The following screen appears: PROGRAM ( MDI ) O1234 N5678 O0000 % G00 G90 G94 G40 G80 G50 G5
  • Page 452B–61404E/08 OPERATION 4. AUTOMATIC OPERATION 5 To execute a program, set the cursor on the head of the program. (Start from an intermediate point is possible.) Push Cycle Start button on the operator’s panel. By this action, the prepared program will start. When the program end (M02, M30) or ER(%) i
  • Page 4534. AUTOMATIC OPERATION OPERATION B–61404E/08 D Absolute/incremental The setting (absolute) determines whether commands are absolute or command incremental. If bit 5 of parameter 029 is set to 1, G90/G91 in the program is enabled. To call a subprogram or macro program during MDI operation, set bit 5
  • Page 454B–61404E/08 OPERATION 4. AUTOMATIC OPERATION 4.3 In DNC operation, the machine is not operated by a program registered in memory of the CNC, instead being operated by a program read directly DNC OPERATION from a connected input/output unit. This mode is used when the program is too large to be regis
  • Page 4554. AUTOMATIC OPERATION OPERATION B–61404E/08 4.4 This function specifies Sequence No. of a block to be restarted when a tool is broken down or when it is desired to restart machining operation after PROGRAM RESTART a day off, and restarts the machining operation from that block. It can also be used
  • Page 456B–61404E/08 OPERATION 4. AUTOMATIC OPERATION Procedure for Program restart 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, perform all necessary operations at t
  • Page 4574. AUTOMATIC OPERATION OPERATION B–61404E/08 5 Once the search to resume the program has been completed, the CRT screen displays the program resume screen. PROGRAM RESTART O0100 N0123 (DESTINATION) M010 015 050 *** *** X 300.000 *** *** *** *** *** Y 300.000 *** *** *** *** *** Z 300.000 *** *** ***
  • Page 458B–61404E/08 OPERATION 4. AUTOMATIC OPERATION Restrictions D P–type restart Under any of the following conditions, P–type restart cannot be performed: ⋅ When automatic operation has not been performed since the power was turned on ⋅ When automatic operation has not been performed since an emergency s
  • Page 4594. AUTOMATIC OPERATION OPERATION B–61404E/08 4.5 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 repetitions
  • Page 460B–61404E/08 OPERATION 4. AUTOMATIC OPERATION Procedure for Scheduling Function Procedure D Procedure for executing 1 Press the AUTO switch on the machine operator’s panel, then press one file the PRGRM function key on the MDI panel. 2 Press the rightmost soft key (continuous menu key), then press th
  • Page 4614. AUTOMATIC OPERATION OPERATION B–61404E/08 4 Press theDNC operation switch on the machine operator’s panel, then press the cycle start switch. The selected file is executed. For details on the DNC operation switch, refer to the manual supplied by the machine tool builder. The selected file number
  • Page 462B–61404E/08 OPERATION 4. AUTOMATIC OPERATION 5 Press the DNC operation switch on the machine operator’s panel, and then press the start switch. The files are executed in the specified order. When a file is being executed, the cursor is positioned at the number of that file. The current number of rep
  • Page 4634. AUTOMATIC OPERATION OPERATION B–61404E/08 Explanations D Number of repetitions Up to 9999 can be specified as the number of repetitions. If 0 is set for a file, the file becomes invalid and is not executed. D Number of files By pressing the page key on screen No. 4, up to 20 files can be register
  • Page 464B–61404E/08 OPERATION 4. AUTOMATIC OPERATION 4.6 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 When the following block in a program in CNC
  • Page 4654. AUTOMATIC OPERATION OPERATION B–61404E/08 NOTE 1 When M198 in the program of the file saved in a floppy cassette is executed, a P/S alarm (No.210) is given. When a program in the memory of CNC is called and M198 is executed during execution of a program of the file saved in a floppy cassette, M19
  • Page 466B–61404E/08 OPERATION 4. AUTOMATIC OPERATION 4.7 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 Z automatic operation Tool position after handle interrupti
  • Page 4674. AUTOMATIC OPERATION OPERATION B–61404E/08 Explanations D Relation with other The following table indicates the relation between other functions and the functions movement by handle interrupt. Signal Relation Machine lock Machine lock is effective. The tool does not move even when this signal turn
  • Page 468B–61404E/08 OPERATION 4. AUTOMATIC OPERATION (b) OUTPUT UNIT :Handle interrupt move amount in output unit system Indicates the travel distance specified by handle interruption according to the least command increment. (c) RELATIVE : Position in relative coordinate system These values have no effect
  • Page 4694. AUTOMATIC OPERATION OPERATION B–61404E/08 4.8 During automatic operation, the mirror image function can be used for movement along an axis. To use this function, set the mirror image switch MIRROR IMAGE to ON on the machine operator’s panel, or set the mirror image setting to ON from the CRT/MDI
  • Page 470B–61404E/08 OPERATION 4. AUTOMATIC OPERATION 2–3 Press the page key for chapter selection to display the setting screen. PARAMETER O0100 N0002 (SETTING 1) _REVX = 0 REVY = 0 TVON = 0 ISO = 1 (0:EIA 1:ISO ) INCH = 0 (0:MM 1:INCH) I/O = 0 ABS = 0 (0:INC 1:ABS) SEQ = 0 CLOCK 97/07/07 19:32:00 NO. REVX
  • Page 4714. AUTOMATIC OPERATION OPERATION B–61404E/08 4.9 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 2346 in a pro
  • Page 472B–61404E/08 OPERATION 4. AUTOMATIC OPERATION 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 bloc
  • Page 4735. TEST OPERATION OPERATION B–61404E/08 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. Singl
  • Page 474B–61404E/08 OPERATION 5. TEST OPERATION 5.1 To display the change in the position without moving the tool, use machine lock. MACHINE LOCK AND There are two types of machine lock: all–axis machine lock, which stops AUXILIARY the movement along all axes, and Z–axis machine lock, which stops the FUNCTI
  • Page 4755. TEST OPERATION OPERATION B–61404E/08 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 dial
  • Page 476B–61404E/08 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. 533). RAPID TRAVERSE OVERRIDE ÇÇ ÇÇ ÇÇ ÇÇ ÇÇ Rapid traverse Override ÇÇ 5m/min rate10m/min 50% Fig. 5.3 Rapid traverse override Rapi
  • Page 4775. TEST OPERATION OPERATION B–61404E/08 5.4 The tool is moved at the feedrate specified by a parameter regardless of the feedrate specified in the program. This function is used for checking DRY RUN the movement of the tool under the state taht the workpiece is removed from the table. Tool Table Fig
  • Page 478B–61404E/08 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 execu
  • Page 4795. TEST OPERATION OPERATION B–61404E/08 Explanations D Reference position If G28 to G30 are issued, the single block function is effective at the return and single block intermediate point. D Single block during a In a canned cycle, the single block stop points are the end of , , and canned cycle
  • Page 480B–61404E/08 OPERATION 6. SAFETY FUNCTIONS 6 SAFETY FUNCTIONS To immediately stop the machine for safety, press the Emergency stop button. To prevent the tool from exceeding the stroke ends, Overtravel check and Stroke check are available. This chapter describes emergency stop., overtravel check, and
  • Page 4816. SAFETY FUNCTIONS OPERATION B–61404E/08 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 build
  • Page 482B–61404E/08 OPERATION 6. SAFETY FUNCTIONS 6.2 When the tool tries to move beyond the stroke end set by the machine tool limit switch, the tool decelerates and stops because of working the limit OVERTRAVEL switch and an OVER TRAVEL is displayed. Deceleration and stop Y X Stroke end Limit switch Fig.
  • Page 4836. SAFETY FUNCTIONS OPERATION B–61404E/08 6.3 Two areas which the tool cannot enter can be specified with stored stroke limit 1, 2 and stored stroke limit 3. STROKE CHECK ÇÇÇÇÇÇÇÇÇ Ç (X,Y,Z) ÇÇÇÇÇÇÇÇÇ ÇÇÇÇÇÇÇ ÇÇÇÇÇÇÇÇÇ ÇÇÇÇÇÇÇ ÇÇÇÇÇÇÇÇÇ ÇÇ (I,J,K) ÇÇÇÇÇÇÇÇÇÇÇÇÇÇ  Forbidden area is inside. ÇÇÇÇÇÇÇÇÇ
  • Page 484B–61404E/08 OPERATION 6. SAFETY FUNCTIONS G 22X_Y_Z_I_J_K_; ÇÇÇÇÇÇÇÇ (X,Y,Z) ÇÇÇÇÇÇÇÇ ÇÇÇÇÇÇÇÇ (I,J,K) ÇÇÇÇÇÇÇÇ X>I, Y>J, Z>K X–I > δ Y–J > δ Z–K > δ Fmm / min δmm= 7500 Fig. 6.3 (b) Creating or changing the forbidden area using a program When setting the area by parameters, points A and B in the fi
  • Page 4856. SAFETY FUNCTIONS OPERATION B–61404E/08 D Checkpoint for the Confirm the checking position (the top of the tool or the tool chuck) before forbidden area programming the forbidden area. If point A (The top of the tool) is checked in Fig. 6.3 (d) , the distance “a” should be set as the data for the
  • Page 486B–61404E/08 OPERATION 6. SAFETY FUNCTIONS D Effective time for a Bit 3 of parameter 065 is used to select whether each stroke limit is forbidden area enabled, either immediately after power–on or later, after a manual reference position return or reference position return by G28. After the power is
  • Page 4877. ALARM AND SELF–DIAGNOSIS FUNCTIONS OPERATION B–61404E/08 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. The system may sometimes seem to be at a halt, althoug
  • Page 4887. ALARM AND SELF–DIAGNOSIS B–61404E/08 OPERATION FUNCTIONS 7.1 ALARM DISPLAY Explanations D Alarm screen When an alarm occurs, the alarm screen appears. ALARM MESSAGE O0000 N0000 100 P/S ALARM 417 SERVO ALARM : X AXIS DGTL PARAM 427 SERVO ALARM : Y AXIS DGTL PARAM S 0 T NOT READY ALARM MDI [ ALARM
  • Page 4897. ALARM AND SELF–DIAGNOSIS FUNCTIONS OPERATION B–61404E/08 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 250: Program errors(*1)
  • Page 4907. ALARM AND SELF–DIAGNOSIS B–61404E/08 OPERATION FUNCTIONS 7.2 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–DIAGNOS
  • Page 4917. ALARM AND SELF–DIAGNOSIS FUNCTIONS OPERATION B–61404E/08 #7 #6 #5 #4 #3 #2 #1 #0 0701 CRST CRST One of the following : The reset button on the MDI panel, emergency stop, or remote reset is on. #7 #6 #5 #4 #3 #2 #1 #0 0712 STP REST EMS RSTB CSU Indicates automatic operation stop or feed hold statu
  • Page 492B–61404E/08 OPERATION 8. DATA INPUT/OUTPUT 8 DATA INPUT/OUTPUT NC data is transferred between the NC and external input/output devices such as the Handy File. The following types of data can be entered and output : 1.Program 2.Offset data 3.Parameter 4.Pitch error compensation data 5.Custom macro co
  • Page 4938. DATA INPUT/OUTPUT OPERATION B–61404E/08 8.1 Of the external input/output devices, the FANUC Handy File and FANUC Floppy Cassette use floppy disks as their input/output medium, and the FILES FANUC FA Card uses an FA card as its input/output medium. In this manual, an input/output medium is general
  • Page 494B–61404E/08 OPERATION 8. DATA INPUT/OUTPUT D Protect switch The floppy is provided with the write protect switch. Set the switch to the write enable state. Then, start output operation. Write protect switch of a cassette Write protect switch of a card Write protect switch (1) Write–protected (2) Wri
  • Page 4958. DATA INPUT/OUTPUT OPERATION B–61404E/08 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 Procedure 1 Press the EDI
  • Page 496B–61404E/08 OPERATION 8. DATA INPUT/OUTPUT 8.3 Files stored on a floppy can be deleted file by file as required. FILE DELETION Procedure for File Deletion Procedure 1 Insert the floppy into the input/output device so that it is ready for writing. 2 Press the EDIT switch on the machine operator’s pan
  • Page 4978. DATA INPUT/OUTPUT OPERATION B–61404E/08 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 Procedure 1 Make sure the input device is ready for reading. 2 Press the EDIT switch on
  • Page 498B–61404E/08 OPERATION 8. DATA INPUT/OUTPUT D Program numbers on a j When a program is entered without specifying a program number. NC tape ⋅ The O–number of the program on the NC tape is assigned to the program. If the program has no O–number, the N–number in the first block is assigned to the progr
  • Page 4998. DATA INPUT/OUTPUT OPERATION B–61404E/08 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 Procedure 1 Make sure the output device is ready for output. 2 To output to an NC tape, specify the punch code sys
  • Page 500B–61404E/08 OPERATION 8. DATA INPUT/OUTPUT D Output with the soft keys The soft keys can be used to input a program. This operation is enabled if the floppy disk directory display function is not supported or, if the function is supported, the Floppy Cassette is not specified as the input/output uni
  • Page 5018. DATA INPUT/OUTPUT OPERATION B–61404E/08 Explanations (Output to an NC tape) D Format A program is output to paper tape in the following format: ER Program ER (%) (%) Feed of 3 feet Feed of 3 feet If three–feet feeding is too long, press the CAN key during feed punching to cancel the subsequent fe
  • Page 502B–61404E/08 OPERATION 8. DATA INPUT/OUTPUT 8.5 OFFSET DATA INPUT AND OUTPUT 8.5.1 Offset data is loaded into the memory of the CNC from a floppy or NC Inputting Offset Data tape. The input format is the same as for offset value output. See section 8.5.2. When an offset value is loaded which has the
  • Page 5038. DATA INPUT/OUTPUT OPERATION B–61404E/08 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 Procedure 1 Make sure the output device is ready for output. 2 Specify the punch code system (I
  • Page 504B–61404E/08 OPERATION 8. DATA INPUT/OUTPUT 8.6 Parameters and pitch error compensation data are input and output from different screens, respectively. This chapter describes how to enter them. INPUTTING AND OUTPUTTING PARAMETERS AND PITCH ERROR COMPENSATION DATA 8.6.1 Parameters are loaded into the
  • Page 5058. DATA INPUT/OUTPUT OPERATION B–61404E/08 8.6.2 All parameters are output in the defined format from the memory of the Outputting Parameters CNC to a floppy or NC tape. Outputting parameters Procedure 1 Make sure the output device is ready for output. 2 Specify the punch code system (ISO or EIA) us
  • Page 506B–61404E/08 OPERATION 8. DATA INPUT/OUTPUT 8.7 INPUTTING/ OUTPUTTING CUSTOM MACRO B COMMON VARIABLES 8.7.1 The value of a custom macro B 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 B common
  • Page 5078. DATA INPUT/OUTPUT OPERATION B–61404E/08 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 B Common Variable Outputting custom macro common variable Procedure 1 Make sure the output
  • Page 508B–61404E/08 OPERATION 8. DATA INPUT/OUTPUT 8.8 On the floppy directory display screen, a directory of the FANUC Handy File, FANUC Floppy Cassette, or FANUC FA Card files can be displayed. DISPLAYING In addition, those files can be loaded, output, and deleted. DIRECTORY OF FLOPPY DISK DIRECTORY (FLOP
  • Page 5098. DATA INPUT/OUTPUT OPERATION B–61404E/08 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 PRGRM
  • Page 510B–61404E/08 OPERATION 8. DATA INPUT/OUTPUT Procedure 2 Use the following procedure to display a directory of files starting with a specified file number : 1 Press the EDIT switch on the machine operator’s panel. 2 Press function PRGRM key. 3 Press soft key [FLOPPY] . 4 Press soft key [F SRH]. 5 Ente
  • Page 5118. DATA INPUT/OUTPUT OPERATION B–61404E/08 8.8.2 The contents of the specified file number are read to the memory of NC. Reading Files Reading files Procedure 1 Press the EDIT switch on the machine operator’s panel. 2 Press function PRGRM key. 3 Press soft key [FLOPPY]. 4 Press soft key [READ]. DIRE
  • Page 512B–61404E/08 OPERATION 8. DATA INPUT/OUTPUT 8.8.3 Any program in the memory of the CNC unit can be output to a floppy Outputting Programs as a file. Outputting programs Procedure 1 Press the EDIT switch on the machine operator’s panel. 2 Press function PRGRM key. 3 Press soft key [FLOPPY]. 4 Press so
  • Page 5138. DATA INPUT/OUTPUT OPERATION B–61404E/08 8.8.4 The file with the specified file number is deleted. Deleting Files Deleting files Procedure 1 Press the EDIT switch on the machine operator’s panel. 2 Press function key PRGRM . 3 Press soft key [FLOPPY]. 4 Press soft key [DELETE]. DIRECTORY (FLOPPY)
  • Page 514B–61404E/08 OPERATION 8. DATA INPUT/OUTPUT D Significant digits For the numeral input in the data input area with FILE NO. and PROGRAM NO., only lower 4 digits become valid. D Collation When the data protection key on the machine operator’s panel is ON, no programs are read from the floppy. They are
  • Page 5158. DATA INPUT/OUTPUT OPERATION B–61404E/08 8.8.5 Change the name of the file having the specified file number. Changing the File Name Procedure for changing the file name Procedure 1 Press the EDIT switch on the machine operator’s panel. 2 Press function key PRGRM . 3 Press soft key [FLOPPY]. 4 Pres
  • Page 516B–61404E/08 OPERATION 9. EDITING PROGRAMS 9 EDITING PROGRAMS General This chapter describes how to edit programs registered in the CNC. Editing includes the insertion, modification, deletion, and replacement of words. Editing also includes deletion of the entire program and automatic insertion of se
  • Page 5179. EDITING PROGRAMS OPERATION B–61404E/08 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 Procedure 1 Select EDIT mode. 2 Press funct
  • Page 518B–61404E/08 OPERATION 9. EDITING PROGRAMS To enable editing B, note the following: @ The INPUT key is used to identify a breakpoint between words. A program cannot be input or output while a program is displayed. Input or output a program on the program directory screen. @ Input a program number as
  • Page 5199. EDITING PROGRAMS OPERATION B–61404E/08 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 Procedure 1 Press the cursor key The cursor moves forward word by word on the screen;
  • Page 520B–61404E/08 OPERATION 9. EDITING PROGRAMS Procedure for searching a word Example) of Searching for S12 PROGRAM O0050 N1234 N1234 is being O0050 ; searched for/ N1234 X100.0 Z1250.0 ; scanned currently. S12 ; S12 is searched for. N5678 M03 ; M02 ; % 1 Key in address S . 2 Key in 1 2 . ⋅ S12 cannot be
  • Page 5219. EDITING PROGRAMS OPERATION B–61404E/08 Alarm Alarm number Description 71 The word or address being searched for was not found. 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 two methods for
  • Page 522B–61404E/08 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 INSRT key. Example of Inserting T15 Procedure 1 Search for or scan Z1
  • Page 5239. EDITING PROGRAMS OPERATION B–61404E/08 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 N1234 O0
  • Page 524B–61404E/08 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 DELET key. Example of deleting X100.0 Procedure 1 Search for or scan X100.0. Program O0050 N1234 O0050 ; X100.0 is N1234 X100.0 Z1250.0 M15 ; searched
  • Page 5259. EDITING PROGRAMS OPERATION B–61404E/08 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 address
  • Page 526B–61404E/08 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 5279. EDITING PROGRAMS OPERATION B–61404E/08 9.3 When memory holds multiple programs, a program can be searched for. There are two methods as follows. PROGRAM NUMBER SEARCH Procedure for program number search Method 1 1 Select EDIT or AUTO mode. 2 Press PRGRM key to display the program screen. 3 Key in
  • Page 528B–61404E/08 OPERATION 9. EDITING PROGRAMS 9.4 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.4.1 A program registered in memory can be deleted. Deleting One Program
  • Page 5299. EDITING PROGRAMS OPERATION B–61404E/08 9.4.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 PRGRM key to display the program screen. 3
  • Page 530B–61404E/08 OPERATION 9. EDITING PROGRAMS 9.5 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 o
  • Page 5319. EDITING PROGRAMS OPERATION B–61404E/08 9.5.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.5.1 Copying an entire program In Fig. 9.5.1, the program with program number xxxx is copied to a newly created progr
  • Page 532B–61404E/08 OPERATION 9. EDITING PROGRAMS 9.5.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.5.2 Copying part of a program In Fig. 9.5.2, part B of the program with program number xxxx is copie
  • Page 5339. EDITING PROGRAMS OPERATION B–61404E/08 9.5.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.5.3 Moving part of a program In Fig. 9.5.3, part B of the program with program number xxxx is moved to a
  • Page 534B–61404E/08 OPERATION 9. EDITING PROGRAMS 9.5.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.5.4 Merging a program at a specified location In Fig. 9.5.4, t
  • Page 5359. EDITING PROGRAMS OPERATION B–61404E/08 9.5.5 Supplementary Explanation for Copying, Moving and Merging Explanations D Setting an editing range The setting of an editing range start point with [CRSRX] can be changed freely until an editing range end point is set with [XCRSR] or [XBTTM] . If an edi
  • Page 536B–61404E/08 OPERATION 9. EDITING PROGRAMS 9.5.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 hange of words or addresses 1 Perform steps 1 to
  • Page 5379. EDITING PROGRAMS OPERATION B–61404E/08 Explanations D Replace X100 with Y200 [CHANGE] X 1 0 0 [BEFORE] Y 2 0 0 [AFTER][EXEC] D Replace X100Y200 with [CHANGE] X 1 0 0 Y 2 0 0 X30 [BEFORE] X 3 0 [AFTER][EXEC] D Replace IF with WHILE [CHANGE] I F [BEFORE] W H I L E [AFTER] [EXEC] D Replace X with ,C
  • Page 538B–61404E/08 OPERATION 9. EDITING PROGRAMS 9.6 Unlike ordinary programs, custom macro B programs are modified, inserted, or deleted based on editing units. EDITING OF CUSTOM Custom macro words can be entered in abbreviated form. MACRO B Comments can be entered in a program. Refer to the section 10.1
  • Page 5399. EDITING PROGRAMS OPERATION B–61404E/08 9.7 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 During background editing, all programs cannot be deleted at once. Procedur
  • Page 540B–61404E/08 OPERATION 9. EDITING PROGRAMS NOTE 1 If the available part program storage is 80 m or less, free space in memory is used for background editing. A program to be subjected to background editing is copied into the free area in memory, then the original program is deleted. Subsequently, edi
  • Page 5419. EDITING PROGRAMS OPERATION B–61404E/08 9.8 If the available part program storage is 120 m or more, or if the background editing function is supported, repeated program editing will REORGANIZING create many small, unused areas in memory. Reorganizing memory MEMORY arranges these unused areas into
  • Page 542B–61404E/08 OPERATION 10. CREATING PROGRAMS 10 CREATING PROGRAMS Programs can be created using any of the following methods: ⋅ MDI keyboard ⋅ PROGRAMMING IN TEACH IN MODE ⋅ CONVERSATIONAL PROGRAMMING INPUT WITH GRAPHIC FUNCTION ⋅ MENU PROGRAMMING FUNCTION ⋅ CONVERSATIONAL AUTOMATIC PROGRAMMING FUNCT
  • Page 54310. CREATING PROGRAMS OPERATION B–61404E/08 10.1 Programs can be created in the EDIT mode using the program editing functions described in Chapter 9. CREATING PROGRAMS USING THE MDI PANEL Procedure for Creating Programs Using the MDI Panel Procedure 1 Enter the EDIT mode. 2 Press the PRGRM key. 3 Pr
  • Page 544B–61404E/08 OPERATION 10. CREATING PROGRAMS 10.2 Sequence numbers can be automatically inserted in each block when a program is created using the MDI keys in the EDIT mode. AUTOMATIC Set the increment for sequence numbers in parameter 550. INSERTION OF SEQUENCE NUMBERS Procedure for automatic insert
  • Page 54510. CREATING PROGRAMS OPERATION B–61404E/08 9 Press INSRT key. 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 546B–61404E/08 OPERATION 10. CREATING PROGRAMS 10.3 When the playback option is selected, the TEACH IN JOG mode and TEACH IN HANDLE mode are added. In these modes, a machine position CREATING along the X, Y, and Z axes obtained by manual operation is stored in PROGRAMS IN memory as a program position t
  • Page 54710. CREATING PROGRAMS OPERATION B–61404E/08 Procedure example for creating the program in TEACH IN MODE Explanations O1234 ; N1 G92 X10000 Y0 Z10000 ; N2 G00 G90 X3025 Y23723 ; N3 G01 Z–325 F300 ; Z N4 M02 ; P1 (3.025, 23.723, 10.000) P0 (10.000, 0, 10.000) Y X (3.025, 23.723, –0.325) P2 1 Set the s
  • Page 548B–61404E/08 OPERATION 10. CREATING PROGRAMS 9 Position the tool at P2 with the manual pulse generator. 10 Enter the P2 machine position for data of the third block as follows: G 0 1 INSRT Z INSRT F 3 0 0 INSRT EOB INSRT This operation registers G01Z –325 F300; in memory. The automatic sequence numbe
  • Page 54910. CREATING PROGRAMS OPERATION B–61404E/08 10.4 When a program is created in EDIT mode, the G code menu is displayed on the screen. MENU PROGRAMMING Procedure for Menu Programming 1 Select EDIT mode then press the PRGRM function key. The program screen is displayed. 2 Press the address key G . The
  • Page 550B–61404E/08 OPERATION 10. CREATING PROGRAMS 4 When a G code selected from the menu is input, The standard format of the one block corresponding to the G code is indicated. For example, when selecting G01, key in 0 and 1, and then press INSRT key. G01 is inserted to the memory as shown below, and the
  • Page 55110. CREATING PROGRAMS OPERATION B–61404E/08 10.5 Programs can be created block after block on the conversational screen while displaying the G code menu. CONVERSATIONAL Blocks in a program can be modified, inserted, or deleted using the G code PROGRAMMING menu and conversational screen. WITH GRAPHIC
  • Page 552B–61404E/08 OPERATION 10. CREATING PROGRAMS 4 Press the [C.A.P] soft key. The following G code menu is displayed on the screen. If soft keys different from those shown in step 2 are displayed, press the menu return key to display the correct soft keys. PROGRAM O0010 N0000 G00 : POSITIONING G01 : LIN
  • Page 55310. CREATING PROGRAMS OPERATION B–61404E/08 When no keys are pressed, the standard details screen is displayed. PROGRAM O0010 N0000 G G G G X Y Z H F R M S T B I J K P Q L : 01:28:46 EDIT [ G.MENU ][ ][ ][ ][ ] 7 Move the cursor to the block to be modified on the program screen. 8 Enter numeric data
  • Page 554B–61404E/08 OPERATION 10. CREATING PROGRAMS Procedure for conversational programming with graphic function A Modifying a block " Procedure 1 Move the cursor to the block to be modified on the program screen and press the [C.A.P] soft key. Or, press the [C.A.P] soft key first to display the conversat
  • Page 55511. SETTING AND DISPLAYING DATA OPERATION B–61404E/08 11 SETTING AND DISPLAYING DATA General To operate a CNC machine tool, various data must be set on the CRT/MDI panel. The operator can monitor the state of operation with data displayed during operation. This chapter describes how to display and s
  • Page 556B–61404E/08 OPERATION 11. SETTING AND DISPLAYING DATA POSITION DISPLAY SCREEN Screen transition triggered by the function key POS POS Current position screen ABS REL ALL HNDL Position display of Position displays Total position display Manual handle in- work coordinate relative coordinate of each co
  • Page 55711. SETTING AND DISPLAYING DATA OPERATION B–61404E/08 PROGRAM SCREEN Screen transition triggered by the function key PRGRM in the AUTO or MDI mode PRGRM Program screen AUTO (MDI)* PRGRM CURRNT NEXT CHECK RSTR (MDI)* Display of pro- Display of current Display of current block and modal block and next
  • Page 558B–61404E/08 OPERATION 11. SETTING AND DISPLAYING DATA PROGRAM SCREEN Screen transition triggered by the function key PRGRM in the EDIT mode PRGRM Program screen EDIT * PRGRM LIB FLOPPY C.A.P. I/O ** * Program editing Program memory Program memory Conversational screen and program direc- and program
  • Page 55911. SETTING AND DISPLAYING DATA OPERATION B–61404E/08 OFFSET SCREEN Screen transition triggered by the function key MENU OFSET MENU OFSET Tool offset value OFFSET MACRO MENU WORK TOOLLF Display of Display of work- Display of tool off- custom macro Display of pattern piece coordinate Display of tool
  • Page 560B–61404E/08 OPERATION 11. SETTING AND DISPLAYING DATA PARAMETER/DIAGNOSTIC SCREEN Screen transition triggered by the function key DGNOS PARAM DGNOS PARAM Parameter screen * PARAM DGNOS SV–PRM Display of param- Display of diag- Display of diag- eter screen nosis screen nosis screen åsee Subsec.11.5.1
  • Page 56111. SETTING AND DISPLAYING DATA OPERATION B–61404E/08 ALARM SCREEN Screen transition triggered by the function key OPR ALARM OPR ALARM Alarm screen ALARM OPR MSG Display of alarm Display of software Display of opera- screen operator’s panel tor’s message å see sec. 7.1 å see Subsec. å see Subsec. 11
  • Page 562B–61404E/08 OPERATION 11. SETTING AND DISPLAYING DATA D Setting screens The table below lists the data set on each screen. Table 11 Setting screen and data on them No. Setting screen Contents of setting Reference item 1 Tool offset value Tool offset value Subsec. 11.4.1 Tool length offset value Cutt
  • Page 56311. SETTING AND DISPLAYING DATA OPERATION B–61404E/08 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 D Position display screen for the work coordinate sys
  • Page 564B–61404E/08 OPERATION 11. SETTING AND DISPLAYING DATA 11.1.1 Displays the current position of the tool in the workpiece coordinate Position Display in the system. The current position changes as the tool moves. The least input increment is used as the unit for numeric values. The title at the top of
  • Page 56511. SETTING AND DISPLAYING DATA OPERATION B–61404E/08 11.1.2 Displays the current position of the tool in a relative coordinate system Position Display in the based on the coordinates set by the operator. The current position changes as the tool moves. The increment system is used as the unit for nu
  • Page 566B–61404E/08 OPERATION 11. SETTING AND DISPLAYING DATA Explanations D Setting the relative The current position of the tool in the relative coordinate system can be coordinates reset to 0 or preset to a specified value as follows: Procedure to reset the axis coordinate to a specified value 1 Key in t
  • Page 56711. SETTING AND DISPLAYING DATA OPERATION B–61404E/08 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. Display Procedure for
  • Page 568B–61404E/08 OPERATION 11. SETTING AND DISPLAYING DATA 11.1.4 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 2 of parameter 028. On a 14–inch CRT, the actual feedrate is always Display displa
  • Page 56911. SETTING AND DISPLAYING DATA OPERATION B–61404E/08 11.1.5 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 570B–61404E/08 OPERATION 11. SETTING AND DISPLAYING DATA 11.1.6 This function displays the loads on the basic axes and serial spindle (first Operating Monitor spindle). This function can also display the speed of the serial spindle (first spindle). Display Procedure for manipulating the monitor display
  • Page 57111. SETTING AND DISPLAYING DATA OPERATION B–61404E/08 11.2 This section describes the screens displayed by pressing function key SCREENS PRGRM in AUTO or MDI mode.The first four of the following screens DISPLAYED BY display the execution state for the program currently being executed in FUNCTION KEY
  • Page 572B–61404E/08 OPERATION 11. SETTING AND DISPLAYING DATA 11.2.1 Displays the program currently being executed in AUTO mode. Program Contents Display Procedure for displaying the program contents Procedure 1 Press function PRGRM key to display the program. 2 Press soft key [PRGRM]. The cursor is positio
  • Page 57311. SETTING AND DISPLAYING DATA OPERATION B–61404E/08 11.2.2 Displays the block currently being executed and modal data in the AUTO Current Block Display or MDI mode. Screen Procedure for displaying the current block display screen 1 Press function key PRGRM . 2 Press soft key [CURRNT]. The block cu
  • Page 574B–61404E/08 OPERATION 11. SETTING AND DISPLAYING DATA 11.2.3 Displays the block currently being executed and the block to be executed Next Block Display next in the AUTO or MDI mode. Screen Procedure for displaying the next block display screen 1 Press function key PRGRM . 2 Press soft key [NEXT]. T
  • Page 57511. SETTING AND DISPLAYING DATA OPERATION B–61404E/08 11.2.4 Displays the program currently being executed, current position of the Program Check Screen tool, and modal data in the AUTO mode. Procedure for displaying the program check screen 1 Press function key PRGRM . 2 Press soft key [CHECK]. The
  • Page 576B–61404E/08 OPERATION 11. SETTING AND DISPLAYING DATA D 14 inch CRT The program check screen is not provided for 14–inch CRTs. 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 the cursor. The current pos
  • Page 57711. SETTING AND DISPLAYING DATA OPERATION B–61404E/08 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 PRGRM . 2 Press soft key [MDI]. The program input f
  • Page 578B–61404E/08 OPERATION 11. SETTING AND DISPLAYING DATA Explanations D MDI operation See Section 4.2 for MDI operation. D Modal information The modal data is displayed when bit 7 (MDL) of parameter 3107 is set to 1. On a 14–inch CRT, however, the contents of the program are displayed on the right half
  • Page 57911. SETTING AND DISPLAYING DATA OPERATION B–61404E/08 11.3 This section describes the screens displayed by pressing function key SCREENS PRGRM in the EDIT mode. Function key PRGRM in the EDIT mode can DISPLAYED BY display the program editing screen and the library screen (displays FUNCTION KEY @prg
  • Page 580B–61404E/08 OPERATION 11. SETTING AND DISPLAYING DATA 11.3.1 Displays the number of registered programs, memory used, and a list of Displaying Memory registered programs. Used and a List of Programs Procedure for displaying memory used and a list of programs 1 Select the EDIT mode. 2 Press function
  • Page 58111. SETTING AND DISPLAYING DATA OPERATION B–61404E/08 D Program library list Program Nos. registered are indicated. Also, the program name can be displayed in the program table by setting parameter No. 040#0. PROGRAM O1224 N0000 SYSTEM EDITION 0466 – 25 PROGRAM NO. USED : 14 FREE : 49 MEMORY AREA US
  • Page 582B–61404E/08 OPERATION 11. SETTING AND DISPLAYING DATA 11.4 Press function key MENU OFSET to display or set tool compensation values and SCREENS other data. DISPLAYED BY This section describes how to display or set the following data: FUNCTION KEY MENU OFSET 1. Tool offset value @menuofset 2. Workpie
  • Page 58311. SETTING AND DISPLAYING DATA OPERATION B–61404E/08 11.4.1 Tool offset values, tool length offset values, and cutter compensation Setting and Displaying values are specified by D codes or H codes in a program. Compensation values corresponding to D codes or H codes are displayed or set on the the
  • Page 584B–61404E/08 OPERATION 11. SETTING AND DISPLAYING DATA 3 Move the cursor to the compensation value to be set or changed using page keys and cursor keys. Press NO. key and enter the compensa– tion number for the compensation value to be set or changed and then press INPUT key. 4 Enter a compensation v
  • Page 58511. SETTING AND DISPLAYING DATA OPERATION B–61404E/08 11.4.2 The length of the tool can be measured and registered as the tool length Tool Length offset value by moving the reference tool and the tool to be measured until they touch the specified position on the machine. Measurement The tool length
  • Page 586B–61404E/08 OPERATION 11. SETTING AND DISPLAYING DATA 8 Press the INPUT key. The Z axis relative coordinate value is input and displayed as an tool length offset value. Reference ÇÇ ÇÇ tool ÇÇ ÇÇ ÇÇ ÇÇ ÇÇ The difference is set as a tool length offset value A prefixed position 563
  • Page 58711. SETTING AND DISPLAYING DATA OPERATION B–61404E/08 11.4.3 Displays the workpiece origin offset for each workpiece coordinate Displaying and Setting system (G54 to G59 and G54 P1 to G54 P48) and external workpiece origin offset. The workpiece origin offset and external workpiece origin the Workpie
  • Page 588B–61404E/08 OPERATION 11. SETTING AND DISPLAYING DATA 3 The screen for displaying the workpiece origin offset values consists of two or more pages. Display a desired page in either of the following two ways: Press the page up or page down key. Press NO. key and nter the workpiece coordinate system n
  • Page 58911. SETTING AND DISPLAYING DATA OPERATION B–61404E/08 11.4.4 Displays common variables (#100 to #149 or #100 to #199, and #500 to Displaying and Setting #531 or #500 to #999). When the absolute value for a common variable exceeds 99999999, ******** is displayed. The values for variables can Custom M
  • Page 590B–61404E/08 OPERATION 11. SETTING AND DISPLAYING DATA 11.4.5 This subsection uses an example to describe how to display or set Displaying Pattern machining menus (pattern menus) created by the machine tool builder. Refer to the manual issued by the machine tool builder for the actual Data and Patter
  • Page 59111. SETTING AND DISPLAYING DATA OPERATION B–61404E/08 4 Enter necessary pattern data and press INPUT . 5 After entering all necessary data, enter the AUTO mode and press the cycle start button to start machining. Explanations D Explanation of the HOLE PATTERN : Menu title pattern menu screen An opti
  • Page 592B–61404E/08 OPERATION 11. SETTING AND DISPLAYING DATA 11.4.6 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 arbit
  • Page 59311. SETTING AND DISPLAYING DATA OPERATION B–61404E/08 6 To reset the tool data of a group, position the cursor to that group, key in –9999, then press the INPUT key. All current execution data for the group selected with the cursor is cleared and the tool is considered as not being used. Explanation
  • Page 594B–61404E/08 OPERATION 11. SETTING AND DISPLAYING DATA 11.5 Parameters must be set to determine the specifications and functions of the machine in order to fully utilize the characteristics of the servo motor SCREENS or other parts. DISPLAYED BY This chapter describes how to set parameters on the MDI
  • Page 59511. SETTING AND DISPLAYING DATA OPERATION B–61404E/08 11.5.1 Parameters are set to determine the specifications and functions of the Displaying and Setting machine in order to fully utilize the characteristics of the servo motor. The setting of parameters depends on the machine. Refer to the paramet
  • Page 596B–61404E/08 OPERATION 11. SETTING AND DISPLAYING DATA Procedure for enabling/displaying parameter writing 1 Select the MDI mode or enter state emergency stop. DGNOS 2 Press function key PARAM . 3 Press soft key [PARAM] to display the setting screen. PARAMETER O1224 N0000 (SETTING 2) PWE = 1 (0:DISAB
  • Page 59711. SETTING AND DISPLAYING DATA OPERATION B–61404E/08 11.5.2 If pitch error compensation data is specified, pitch errors of each axis can Displaying and Setting be compensated per axis. Pitch error compensation data is set for each compensation point at the Pitch Error intervals specified for each a
  • Page 598B–61404E/08 OPERATION 11. SETTING AND DISPLAYING DATA Explanations D Compensation point 128 compensation points from No. 0 to 127 are available for each axis. number Specify the compensation number for the reference position of each axis in the corresponding parameter (Parameter n000, n: axis number
  • Page 59911. SETTING AND DISPLAYING DATA OPERATION B–61404E/08 Explanations D For linear axis (X axis) ⋅ Machine stroke: –400 mm to +800 mm ⋅ Interval between the pitch error compensation points: 50 mm ⋅ No. of the compensation point of the reference position: 40 If the above is specified, the No. of the far
  • Page 600B–61404E/08 OPERATION 11. SETTING AND DISPLAYING DATA The compensation amount is output at the compensation point No. corresponding to each section between the coordinates. The following is an example of the compensation amounts. Compensation position number 33 34 35 36 37 38 39 40 41 Parameter 1034
  • Page 60111. SETTING AND DISPLAYING DATA OPERATION B–61404E/08 The correspondence between the machine coordinate and the compensation point No. is as follows: Reference position 0.0 45.0 315.0 (61) (68) (60) (62) (67) (+) 90.0 270.0 (63) (66) (64) (65) 135.0 225.0 180.0 Compensation values are output at the
  • Page 602B–61404E/08 OPERATION 11. SETTING AND DISPLAYING DATA 11.5.3 Data such as the TV check flag and punch code is set on the setting data Displaying and screen. On this screen, the operator can also enable/disable parameter writing, enable/disable the automatic insertion of sequence numbers in Entering
  • Page 60311. SETTING AND DISPLAYING DATA OPERATION B–61404E/08 D PUNCH CODE (ISO) Setting code when data is output through reader puncher interface. 0 : EIA code output 1 : ISO code output D INPUT UNIT (INCH) Setting a program input unit, inch or metric system 0 : Metric 1 : Inch D I/O CHANNEL (I/O) Using ch
  • Page 604B–61404E/08 OPERATION 11. SETTING AND DISPLAYING DATA 11.5.4 If a block containing a specified sequence number appears in the program Sequence Number being executed, operation enters single block mode after the block is executed. Comparison and Stop Procedure for sequence number comparison and stop
  • Page 60511. SETTING AND DISPLAYING DATA OPERATION B–61404E/08 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 power
  • Page 606B–61404E/08 OPERATION 11. SETTING AND DISPLAYING DATA 11.5.5 Various run times, the total number of machined parts, number of parts Displaying and Setting required, and number of machined parts can be displayed. The data except for the total number of machined parts can be set on this screen . Run T
  • Page 60711. SETTING AND DISPLAYING DATA OPERATION B–61404E/08 6 To set the clock, move the cursor to DATE or TIME, enter a new date or time, then press INPUT key. Display items D PARTS TOTAL This value is incremented by one when M02, M30, or an M code specified by parameter 219 is executed. This value canno
  • Page 608B–61404E/08 OPERATION 11. SETTING AND DISPLAYING DATA D Time settings Neither negative value nor the value exceeding the value in the following table can be set. Item Maximum value Item Maximum value Year 99 Hour 23 Month 12 Minute 59 Day 31 Second 59 585
  • Page 60911. SETTING AND DISPLAYING DATA OPERATION B–61404E/08 11.6 The alarm message and operator message can be displayed by pressing the SCREENS OPR ALARM key. The software operator’s panel can also be displayed and DISPLAYED BY specified. For details of how to display the alarm message, see Chapter FUNCT
  • Page 610B–61404E/08 OPERATION 11. SETTING AND DISPLAYING DATA 11.6.2 With this function, functions of the switches on the machine operator’s Displaying and Setting panel can be controlled from the CRT/MDI panel. Jog feed can be performed using numeric keys. the Software Operator’s Panel Procedure for displa
  • Page 61111. SETTING AND DISPLAYING DATA OPERATION B–61404E/08 5 Push the cursor move key / or EOB 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 function key 5 together with an arrow key to perform jog rapid
  • Page 612B–61404E/08 OPERATION 11. SETTING AND DISPLAYING DATA 11.7 The program number, sequence number, and current CNC status are always displayed on the screen except when the power is turned on or a DISPLAYING THE system alarm occurs. PROGRAM NUMBER, This section describes the display of the program numb
  • Page 61311. SETTING AND DISPLAYING DATA OPERATION B–61404E/08 11.7.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 a
  • Page 614B–61404E/08 OPERATION 12. GRAPHICS FUNCTION 12 GRAPHICS FUNCTION Two graphic functions are available. One is a graphic display function, and the other is a dynamic graphic display function. The graphic display function can draw the tool path specified by a program being executed. The graphic display
  • Page 61512. GRAPHICS FUNCTION OPERATION B–61404E/08 12.1 It is possible to draw the programmed tool path, which makes it possible to check the progress of machining, while observing the path on the CRT GRAPHICS DISPLAY screen. In addition, it is also possible to enlarge/reduce the screen. Before drawing, gr
  • Page 616B–61404E/08 OPERATION 12. GRAPHICS FUNCTION 6 Automatic operation is started and machine movement is drawn on the screen. O9501 N0014 X 0.000 Y 0.000 Z 0.000 Z X Y S 0 T 10:17:21 AUTO [ G.PRM ][ GRAPH ][ AUX ][ ][ ] Explanations D RANGE The size of the graphic screen will be as follows: (Actual grap
  • Page 61712. GRAPHICS FUNCTION OPERATION B–61404E/08 1. Setting the center Set the center of the graphic range to the center of the screen. If the coordinate of the drawing range in the program can be contained in the actual graphics graphics range and range, set the magnification to 1 (actual value set is 1
  • Page 618B–61404E/08 OPERATION 12. GRAPHICS FUNCTION 2. Setting the maximum When the actual tool path is not near the center of the screen, method 1 and minimum will cause the tool path to be drawn out of the geaphics range if graphics coordinates for the magnification is not set properly. drawing range in t
  • Page 61912. GRAPHICS FUNCTION OPERATION B–61404E/08 D Graphics parameter D AXES Specify the plane to use for drawing. The user can choose from the following six coordinate systems: Y Z Y =0 : Select (1) =1 : Select (2) (1) (2) (3) =2 : Select (3) =3 : Select (4) =4 : Select (5) X X Z =5 : Select (6) Z Z Y (
  • Page 620B–61404E/08 OPERATION 12. GRAPHICS FUNCTION NOTE 1 When MAX. and MIN. of RANGE are set, the values will be set automatically once drawing is executed 2 When setting the graphics range with the graphics parameters for the magnification and screen center coordinates, do not set the parameters for the
  • Page 62112. GRAPHICS FUNCTION OPERATION B–61404E/08 12.2 There are the following two functions in Dynamic Graphics. DYNAMIC GRAPHIC Path graphic This is used to draw the path of tool center commanded by the part program. DISPLAY Solid graphic This is used to draw the workpiece figure machined by tool moveme
  • Page 622B–61404E/08 OPERATION 12. GRAPHICS FUNCTION 11. Displaying Coordinate axes and actual size dimension lines are displayed together coordinate axes and with the drawing so that actual size can be referenced. actual size dimentions lines The first six functions above (1. to 6.) are available by setting
  • Page 62312. GRAPHICS FUNCTION OPERATION B–61404E/08 3 Set the cursor to an item to be set by cursor keys. 4 Input numerics by numeric keys. 5 Press the INPUT key. The input numerics are set by these operations and the cursor automatically moves to the next setting items. The set data is held even after the
  • Page 624B–61404E/08 OPERATION 12. GRAPHICS FUNCTION Partial enlargement 11 For partial drawing enlargement, display the PATH GRAPHIC (SCALE) screen by pressing the soft key [ZOOM] on the PATH GRAPHIC (PARAMETER) screen of step 1 above. The tool path is displayed. PATH GRAPHIC (EXECUTION) O9501 N0014 SCALE 1
  • Page 62512. GRAPHICS FUNCTION OPERATION B–61404E/08 Mark display of current 15 To display a mark at the current tool position, display the PATH tool position GRAPHIC (POSITION) screen by pressing soft key [POS] on the PATH GRAPHIC (PARAMETER) screen of step 1 above. This mark blinks at the current tool cent
  • Page 626B–61404E/08 OPERATION 12. GRAPHICS FUNCTION D Isometric projection Projector view by isometric can be drawn. (XYZ,ZXY) Z Y P=4 P=5 X Y Z X XYZ ZXY Fig. 12.2.1 (b) Coordinate systems for the isometric projection D Biplane view Y Z P=6 X X Fig. 12.2.1 (c) Coordinate systems for the biplane view Biplan
  • Page 62712. GRAPHICS FUNCTION OPERATION B–61404E/08 Tilting Fig. 12.2.1 (e) Tilting D SCALE Set the magnification rate of drawing from 0.01 to 100.00. When 1.0 is set, drawing is carried out in actual dimensions. When 0 is set, the drawing magnification rate is automatically set based on the setting of maxi
  • Page 628B–61404E/08 OPERATION 12. GRAPHICS FUNCTION D COLOR Specify the color of the tool path. In the case of monochrome display, it is not required to set it. The relationship between the setting value and color is as shown below: Setting value Color 0 White 1 Red 2 Green 3 Yellow 4 Blue 5 Purple 6 Light
  • Page 62912. GRAPHICS FUNCTION OPERATION B–61404E/08 D Mark for the tool current The period of mark blinking is short when the tool is moving and becomes position longer when the tool stops. The mark indicating the current position of tool is displayed on the XY plane view when the biplane drawing is perform
  • Page 630B–61404E/08 OPERATION 12. GRAPHICS FUNCTION 12.2.2 The solid graphics draws the figure of a workpieces machined by the Solid Graphics movement of a tool. The following graphic functions are provided : 1. Solid model graphic Solid model graphic is drawn by surfaces so that the machined figure can be
  • Page 63112. GRAPHICS FUNCTION OPERATION B–61404E/08 Solid graphics drawing procedure Procedure 1 To draw a machining profile, necessary data must be set beforehand. So after press the function key AUX GRAPH , press the soft key [SOLID]. Then the screen of “SOLID GRAPHIC (PARAMETER) ” is displayed. SOLID GRA
  • Page 632B–61404E/08 OPERATION 12. GRAPHICS FUNCTION 6 Press soft key [ANEW]. This allows the blank figure drawing to be performed based on the blank figure data set. 7 Press soft keys [+ROT] [–ROT] [+TILT], and [–TILT], when performing drawing by changing the drawing directions. Parameters P and Q for the d
  • Page 63312. GRAPHICS FUNCTION OPERATION B–61404E/08 D REVIEW 13 The color, intensity, or drawing direction of a machining figure which has been drawn can be changed and the figure redrawn. To redraw the figure, first change the parameters for the color, intensity, or drawing direction on the SOLID GRAPHIC (
  • Page 634B–61404E/08 OPERATION 12. GRAPHICS FUNCTION D Triplane view drawing 16 The machined figure can be drawn on the tri–plane view. To draw a triplane view, press soft key [3–PLN] on the SOLID GRAPHIC (PARAMETER) screen of step 1 above. The SOLID GRAPHIC (3–PLANE) screen appears. SOLID GRAPHIC (3–PLANE)
  • Page 63512. GRAPHICS FUNCTION OPERATION B–61404E/08 Explanations GRAPHICS PARAMETER D BLANK FORM ♦ BLANK FORM (P) Set the type of blank figure under P. The relationship between the setting value and figure is as follows: P Blank figure 0 Rectangular parallelepiped (Cubed) 1 Column or cylinder (parallel to Z
  • Page 636B–61404E/08 OPERATION 12. GRAPHICS FUNCTION D TOOL FORM ♦ Machining tool Set the machining direction of tools. The relationship between the setting orientation (P) value and machining direction is as shown below. P Machining direction of tools 0,1 Parallel to the Z–axis (perform machining from the +
  • Page 63712. GRAPHICS FUNCTION OPERATION B–61404E/08 ♦ Tilting angle (Q) Set the slant direction of the projection axis in the case of oblique projection drawing. Moreover, plane view can be specified. The relationship between the setting value and slant direction is as shown below: Q Slant direction 3 Plane
  • Page 638B–61404E/08 OPERATION 12. GRAPHICS FUNCTION ♦ VERTICAL AXIS (R) Set the direction of the vertical axis. R VERTICAL AXIS 0, 1 Z–axis 2 X–axis 3 Y–axis The direction of the vertical axis which is set is effective by executing graph. D INTENSITY Specify the intensity of the drawing screen when performi
  • Page 63912. GRAPHICS FUNCTION OPERATION B–61404E/08 P Q P+Q Oblique projection view P Q Plane view Blank P P+Q Q Triplan view D START SEQ. NO. and Specify the start sequence number and end sequence number of each END SEQ. NO. drawing in a four–digit numeric. The subject part program is executed from the hea
  • Page 640B–61404E/08 OPERATION 12. GRAPHICS FUNCTION D Specifying the blank It is possible to specify BLANK FORM and TOOL FORM in the part form and tool form in the program. The command format is as shown below. If it is commanded part program during execution of drawing, the item corresponding to the screen
  • Page 64112. GRAPHICS FUNCTION OPERATION B–61404E/08 Examples D Side view selection in triplane drawing Example) The side views of the figure below are illustrated. Rear view Top view Left side view Right side view Front view In the above figure, the side views displayed are switched as follows. Right view a
  • Page 642B–61404E/08 OPERATION 12. GRAPHICS FUNCTION D Cross section position Some examples of cross–sectional views are given below for the left view selection in triplane and front view shown on the previous page. drawing Sectional view 1 Sectional view 2 Å ÅÅÅ Å Å ÅÅÅ Å ÅÅÅ Å ÅÅÅÅÅ ÅÅÅÅÅ ÅÅ ÅÅÅÅÅ ÅÅ ÅÅÅÅÅ
  • Page 64313. DISPLAY AND OPERATION OF 00–MC OPERATION B–61404E/08 13 DISPLAY AND OPERATION OF 00–MC The CRT/MDI panel of 00–MC consists of a CRT display (14″ color) and keyboard. Contents of display and operation by key input are completely different depending on whether the CNC screen or MMC screen is displ
  • Page 64413. DISPLAY AND OPERATION B–61404E/08 OPERATION OF 00–MC 13.1 Press “CNC” key on the CRT/MDI panel to display the CNC screen when the MMC screen is displayed on the CRT display of the CRT/MDI panel. DISPLAY The CNC screen consists of a variable section and a fixed section. The variable section is th
  • Page 64513. DISPLAY AND OPERATION OF 00–MC OPERATION B–61404E/08 13.2 Key operation can only be done when the CNC screen is displayed on the CRT display of the CRT/MDI panel. Address keys and numerical keys OPERATION are independently arranged on 00–MB. However, inputting data is exactly the same as that of
  • Page 646IV. MAINTENANC
  • Page 647
  • Page 648B–61404E/08 MAINTENANCE 1. METHOD OF REPLACING BATTERY 1 METHOD OF REPLACING BATTERY This chapter describes the method of replacing batteries as follows. 1.1 REPLACING CNC BATTERY FOR MEMORY BACK–UP 1.2 REPLACING BATTERIES FOR ABSOLUTE PULSE CODER 625
  • Page 6491. METHOD OF REPLACING BATTERY MAINTENANCE B–61404E/08 1.1 When the message “BAT” appears at the bottom of the screen, replace the backup batteries for the CNC memory according to the procedure REPLACING CNC described below. BATTERY FOR MEMORY BACK–UP Procedure for replacing CNC battery for memory b
  • Page 650B–61404E/08 MAINTENANCE 1. METHOD OF REPLACING BATTERY 1.2 If absolute pulse coder alarm 3n7 (where n is an axis number) occurs, replace the batteries (alkaline) for the absolute pulse coder according to REPLACING the procedure described below. BATTERIES FOR ABSOLUTE PULSE CODER Procedure for replac
  • Page 651
  • Page 652APPENDI
  • Page 653
  • Page 654B–61404E/08 APPENDIX A. TAPE CODE LIST A TAPE CODE LIST ISO code EIA code Meaning Character 8 7 6 5 4 3 2 1 Character 8 7 6 5 4 3 2 1 Without With custom custom macro B macro B 0 f f f 0 f f Number 0 1 f f f f f 1 f f Number 1 2 f f f f f 2 f f Number 2 3 f f f f f 3 f f f f Number 3 4 f f f f f 4 f
  • Page 655A. TAPE CODE LIST APPENDIX B–61404E/08 ISO code EIA code Meaning Character 8 7 6 5 4 3 2 1 Character 8 7 6 5 4 3 2 1 Without With custom custom macro B macro B DEL f f f f f f f f f Del f f f f f f f f NUL f Blank f BS f f f BS f f f f HT f f f Tab f f f f f f LF or NL f f f CR or EOB f f CR f f f f
  • Page 656B–61404E/08 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 b
  • Page 657B. LIST OF FUNCTIONS AND TAPE FORMAT APPENDIX B–61404E/08 B LIST OF FUNCTIONS AND TAPE FORMAT Some functions cannot be added as options depending on the model. In the tables below, IP _:presents a combination of arbitrary axis addresses using X,Y,Z,A,B and C (such as X_Y_Z_A_). x = 1st basic axis (X
  • Page 658B. LIST OF FUNCTIONS AND B–61404E/08 APPENDIX TAPE FORMAT Functions Illustration Tape format Exact stop (G09) Velocity G01_ G02_ _; G09 G03_ Time Inposition check Change of offset value by Tool offset value (offset memory B) program (G10) G10 L10 P_ R_ ; Wear offset value (offset memory B) G10 L11 P
  • Page 659B. LIST OF FUNCTIONS AND TAPE FORMAT APPENDIX B–61404E/08 Functions Illustration Tape format Local coordinate system G52 IP _ ; setting (G52) Local coordinate x system IP y Workpiece coordinate system Machine coordinate G53 IP _ ; system selection (G53) Workpiece coordinate system selection G54 IP :
  • Page 660B. LIST OF FUNCTIONS AND B–61404E/08 APPENDIX TAPE FORMAT Functions Illustration Tape format Return from reference Reference position G29 IP _ ; position to start point (G29) Intermediateposition IP Skip function (G31) IP G31 IP _ F_; Skip signal Start point Thread cutting (G33) F Equal lead thread
  • Page 661B. LIST OF FUNCTIONS AND TAPE FORMAT APPENDIX B–61404E/08 Functions Illustration Tape format Canned cycles Refer to II.14. FUNCTIONS TO SIMPLIFY G80 ; Cancel (G73, G74, G80 – G89) PROGRAMMING G73 G74 G76 X_ Y_ Z_ P_ Q_ R_ F_ K_ ; G81 : G89 Absolute/incremental G90_ ; Absolute command programming (G9
  • Page 662B–61404E/08 APPENDIX C. RANGE OF COMMAND VALUE C RANGE OF COMMAND VALUE Linear axis D In case of millimeter input, feed screw is millimeter Increment system IS–B IS–C Least input 0.001 mm 0.0001 mm increment Least command 0.001 mm 0.0001 mm increment Max. program- ±99999.999 mm ±9999.9999 mm mable d
  • Page 663C. RANGE OF COMMAND VALUE APPENDIX B–61404E/08 D In case of inch input, feed screw is millimeter Increment system IS–B IS–C Least input 0.0001 inch 0.00001 inch increment Least command 0.001 mm 0.0001 mm increment Max. program- ±9999.9999 inch ±393.70078 inch mable dimension Max. rapid traverse 1000
  • Page 664B–61404E/08 APPENDIX C. RANGE OF COMMAND VALUE D In case of millimeter input, feed screw is inch Increment system IS–B IS–C Least input 0.001 mm 0.0001 mm increment Least command 0.0001 inch 0.00001 inch increment Max. program- ±99999.999 mm ±9999.9999 mm mable dimension Max. rapid traverse 4000 inc
  • Page 665D. NOMOGRAPHS APPENDIX B–61404E/08 D NOMOGRAPHS 642
  • Page 666B–61404E/08 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) I
  • Page 667D. NOMOGRAPHS APPENDIX B–61404E/08 D How to use nomograph First specify the class and the lead of a thread. The thread accuracy, a, will be obtained at , and depending on the time constant of cutting feed acceleration/ deceleration, the δ1 value when V = 10mm / s will be obtained at . Then, depend
  • Page 668B–61404E/08 APPENDIX D. NOMOGRAPHS D.2 SIMPLE CALCULATION OF INCORRECT THREAD LENGTH δ2 δ1 Fig. D.2 Incorrect threaded portion Explanations D How to determine δ2 d2 + LR 1800 * (mm) R : Spindle speed (rpm) * When time constant T of the L : Thread lead (mm) servo system is 0.033 s. D How to determine
  • Page 669D. NOMOGRAPHS APPENDIX B–61404E/08 D Reference V: speed in thread cutting δ1 (V=10mm/sec) V=40mm/sec V=30mm/sec V=20mm/sec V=10mm/sec ( .=.1.57in/sec) ( .=.1.18in/sec) ( .=. 0.79in/sec) ( .=. 0.39in/sec) V=2in/sec V=1in/sec Time constant of the servo system 50msec 33msec δ1 ∆L ) 8 (mm) 6 4 2 0 0.007
  • Page 670B–61404E/08 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 671D. NOMOGRAPHS APPENDIX B–61404E/08 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 of
  • Page 672B–61404E/08 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 673D. NOMOGRAPHS APPENDIX B–61404E/08 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 int
  • Page 674E. STATUS WHEN TURNING POWER ON, B–61404E/08 APPENDIX WHEN CLEAR AND WHEN RESET STATUS WHEN TURNING POWER ON, WHEN CLEAR E AND WHEN RESET Parameter No. 046 bit6 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 sym
  • Page 675E. STATUS WHEN TURNING POWER ON, WHEN CLEAR AND WHEN RESET APPENDIX B–61404E/08 Item When turning power on Cleared Reset Action in Movement operation Dwell Issuance of M, S and T codes Tool length compensation Depending on parameter f : MDI mode No.001#3 Other modes depend on parameter No. 001#3. Cu
  • Page 676F. CHARACTER–TO CODES B–61404E/08 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 677G. ALARM LIST APPENDIX B–61404E/08 G ALARM LIST 1) Program errors (P/S alarm) Number Meaning Contents and remedy 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.
  • Page 678B–61404E/08 APPENDIX G. ALARM LIST Number Meaning Contents and remedy 027 NO AXES COMMANDED IN G43/G44 No axis is specified in G43 and G44 blocks for the tool length offset type C. Offset is not canceled but another axis is offset for the tool length offset type C. Modify the program. 028 ILLEGAL PL
  • Page 679G. ALARM LIST APPENDIX B–61404E/08 Number Meaning Contents and remedy 051 MISSING MOVE AFTER CHF/CNR Improper movement or the move distance was specified in the block next to the chamfering or corner R block. Modify the program. 052 CODE IS NOT G01 AFTER CHF/CNR The block next to the chamfering or c
  • Page 680B–61404E/08 APPENDIX G. ALARM LIST Number Meaning Contents and remedy 080 G37 ARRIVAL SIGNAL NOT In the automatic tool length measurement function (G37), the measure- ASSERTED ment position reach signal (XAE, YAE, or ZAE) is not turned on within an area specified in parameter (value ε). This is due
  • Page 681G. ALARM LIST APPENDIX B–61404E/08 Number Meaning Contents and remedy 098 G28 FOUND IN SEQUENCE A command of the program restart was specified without the reference RETURN position return operation after power ON or emergency stop, and G28 was found during search. 099 MDI EXEC NOT ALLOWED AFT. After
  • Page 682B–61404E/08 APPENDIX G. ALARM LIST Number Meaning Contents and remedy 119 ILLEGAL ARGUMENT The SQRT argument is negative. Or BCD argument is negative, and other values than 0 to 9 are present on each line of BIN argument. Modify the program. 122 DUPLICATE MACRO MODAL–CALL The macro modal call is spe
  • Page 683G. ALARM LIST APPENDIX B–61404E/08 Number Meaning Contents and remedy 148 ILLEGAL SETTING DATA Automatic corner override deceleration rate is out of the settable range of judgement angle. Modify the parameters (No.1710 to No.1714) 150 ILLEGAL TOOL GROUP NUMBER Tool Group No. exceeds the maximum allo
  • Page 684B–61404E/08 APPENDIX G. ALARM LIST Number Meaning Contents and remedy 181 FORMAT ERROR IN G81 BLOCK G81 block format error 1) T (number of teeth) has not been instructed. 2) Data outside the command range was instructed by either T, L, Q or P. (Hobbing machine) Modify the program. 182 G81 NOT COMMAN
  • Page 685G. ALARM LIST APPENDIX B–61404E/08 Number Meaning Contents and remedy 206 CAN NOT CHANGE PLANE Plane changeover was instructed in the rigid mode. (RIGID TAP) Correct the program. 210 CAN NOT COMAND M198/M199 M198 and M199 are executed in the schedule operation. M198 is executed in the DNC operation.
  • Page 686B–61404E/08 APPENDIX G. ALARM LIST 2) Background edit alarm Number Meaning Contents and remedy ??? BACKGROUND EDIT ALARM BP/S alarm occurs in the same number as the P/S alarm that occurs in ordinary program edit. (070, 071, 072, 073, 074 085,086,087 etc.) 140 SELECTED PROGRAM ALARM It was attempted
  • Page 687G. ALARM LIST APPENDIX B–61404E/08 D The details of serial The details of serial pulse coder alarm No. 3n9 are displayed in the pulse coder alarm diagnosis display (No. 760 to 767, 770 to 777) as shown below. No.3n9 #7 #6 #5 #4 #3 #2 #1 #0 760 to 767 CSAL BLAL PHAL RCAL BZAL CKAL SPHL CSAL : The ser
  • Page 688B–61404E/08 APPENDIX G. ALARM LIST Number Meaning Contents and actions 405 SERVO ALARM: ZERO POINT Position control system fault. Due to an NC or servo system fault in the RETURN FAULT reference position return, there is the possibility that reference position return could not be executed correctly.
  • Page 689G. ALARM LIST APPENDIX B–61404E/08 NOTE If an excessive spindle error alarm occurs during rigid tapping, the relevant alarm number for the tapping feed axis is displayed. D Details of servo The detailed descriptions of servo alarm number 414 are displayed with alarm No.4n4 diagnosis numbers 720 to 7
  • Page 690B–61404E/08 APPENDIX G. ALARM LIST 7) Over travel alarms Number Meaning Contents and remedy 5n0 OVER TRAVEL : +n Exceeded the n–th axis + side stored stroke limit 1, 2. 5n1 OVER TRAVEL : –n Exceeded the n–th axis – side stored stroke limit 1, 2. 5n2 OVER TRAVEL : +n Exceeded the n–th axis + side sto
  • Page 691G. ALARM LIST APPENDIX B–61404E/08 Number Details of PMC alarm (No. 607) 070 * Communication error (no response from the slave) 080 * Communication error (no response from the slave) 090 An NMI (for other than alarm codes 110 to 160) occurred. 130 * An SLC (master) RAM parity error occurred (detecte
  • Page 692B–61404E/08 APPENDIX G. ALARM LIST 12) System alarms (These alarms cannot be reset with reset key.) Number Meaning Contents and remedy 910 MAIN RAM PARITY This RAM parity error is related to low–order bytes. Replace the memory PC board. 911 MAIN RAM PARITY This RAM parity error is related to high–or
  • Page 693G. ALARM LIST APPENDIX B–61404E/08 14) Alarms Displayed on spindle Servo Unit Alarm Meaning Description Remedy No. “A” Program ROM abnormality Detects that control program is not started (due to Install normal program display (not installed) program ROM not installed, etc.) ROM AL01 Motor Detects mo
  • Page 694B–61404E/08 APPENDIX G. ALARM LIST Alarm Meaning Description Remedy No. AL–24 Serial transfer data error Detects serial transfer data error (such as NC power Remove cause, then reset supply turned off, etc.) alarm. AL–25 Serial data transfer stopped Detects that serial data transfer has stopped. Rem
  • Page 695G. ALARM LIST APPENDIX B–61404E/08 Alarm Meaning Description Remedy No. AL–41 Alarm for indicating failure in Detects failure in detecting position coder 1–rotation Make signal adjustment for detecting position coder 1–ro- signal. signal conversion circuit. taion signal. Check cable shield status. A
  • Page 696H. OPERATION OF PORTABLE B–61404E/08 APPENDIX TAPE READER H OPERATION OF PORTABLE TAPE READER Portable tape reader is the device which inputs the NC program and the data on the paper tape to CNC. D Names and descriptions of each section 3. Capstan roller 11. Cable storage 6. Handle 13. Reader/punch
  • Page 697H. OPERATION OF PORTABLE TAPE READER APPENDIX B–61404E/08 Table H Description of each section No. Name Descriptions An LED (Light emitting diode) is mounted for each channel and for the feed hole (9 diodes in total). A built–in Stop Shoe functions to decelerate the tape. The light source 1 Light Sou
  • Page 698H. OPERATION OF PORTABLE B–61404E/08 APPENDIX TAPE READER Table H Description of each section No. Name Descriptions When the tape reader is raised, the latch mechanism is activated to fix the tape reader. Thus, the tape reader is not lowered. The latch is locked with the lowering lock lever. The lat
  • Page 699H. OPERATION OF PORTABLE TAPE READER APPENDIX B–61404E/08 Removing the tape 10 Turn the switch to the RELEASE position. 11 Lift the Light Source and remove the tape. 12 Lower the Light Source Storage 13 Store the cables in the cable storage 11. 14 Push the lowering lock lever 10 at both sides down.
  • Page 700B–61404E/08 APPENDIX I. Series 0–D SPECIFICATIONS I Series 0–D SPECIFICATIONS f : Basic F : Basic option l : option : : Function included in other option Controlled axis 0–MD 0–MD 0–MD 0–GSD Item Specification 0–MD II 0–GSD II Package 1 Package 2 Package 3 Package 1 Number of controlled axes 3 axes
  • Page 701I. Series 0–D SPECIFICATIONS APPENDIX B–61404E/08 Operation 0–MD 0–MD 0–MD 0–GSD Item Specification 0–MD II 0–GSD II Package 1 Package 2 Package 3 Package 1 Automatic operation f f f f f f (Memory) DNC operation included in f f f f f f Reader/puncher interface MDI operation f f f f f f MDI operation
  • Page 702B–61404E/08 APPENDIX I. Series 0–D SPECIFICATIONS Interpolation function 0–MD 0–MD 0–MD 0–GSD Item Specification 0–MD II 0–GSD II Package 1 Package 2 Package 3 Package 1 Positioning G00 f f f f f f Single direction positioning G60 f f f f f f Exact stop mode G61 f f f f f f Exact stop G09 f f f f f
  • Page 703I. Series 0–D SPECIFICATIONS APPENDIX B–61404E/08 0–MD 0–MD 0–MD 0–GSD Item Specification 0–MD II 0–GSD II Package 1 Package 2 Package 3 Package 1 Linear acceleration / — — — f — f deceleration after cutting feed interpolation Feedrate override 0 to 150% f f f f f f F1–digit feed — — — f — f Jog ove
  • Page 704B–61404E/08 APPENDIX I. Series 0–D SPECIFICATIONS 0–MD 0–MD 0–MD 0–GSD Item Specification 0–MD II 0–GSD II Package 1 Package 2 Package 3 Package 1 Optional angle chamfering / — — — f — f corner R Programmable data input G10 (Programmable — f f f f f input of offset) Sub program call two–fold nested
  • Page 705I. Series 0–D SPECIFICATIONS APPENDIX B–61404E/08 Miscellaneous function/spindle function 0–MD 0–MD 0–MD 0–GSD Item Specification 0–MD II 0–GSD II Package 1 Package 2 Package 3 Package 1 Auxiliary function M3 digit f f f f f f 2nd auxiliary function B6 digit f f f f — f Auxiliary function lock f f f
  • Page 706B–61404E/08 APPENDIX I. Series 0–D SPECIFICATIONS Editing operation 0–MD 0–MD 0–MD 0–GSD Item Specification 0–MD II 0–GSD II Package 1 Package 2 Package 3 Package 1 Part program storage length 10m — — — — f — 120m f f — — — — 320m — — f f — f Registered programs 63 pieces f f f — f — 200 pieces — —
  • Page 707I. Series 0–D SPECIFICATIONS APPENDIX B–61404E/08 0–MD 0–MD 0–MD 0–GSD Item Specification 0–MD II 0–GSD II Package 1 Package 2 Package 3 Package 1 Japanese (Chinese — — f f — f characters) display German / French display — — f f — f Italian display — — f f — f Chinese display f f f f f f Spanish dis
  • Page 708J. CORRESPONDENCE BETWEEN B–61404E/08 APPENDIX ENGLISH KEY AND SYMBOLIC KEY CORRESPONDENCE BETWEEN ENGLISH KEY AND J SYMBOLIC KEY Table J Correspondence between english key and symbolic key (Series 0) Name English key Symbolic key Name English key Symbolic key OPRATION/ OPR RESET key RESET ALARM key
  • Page 709
  • Page 710B–61404E/08 Index ƠNumberơ Checking the minimum grinding wheel diameter (0–GSC, 0–GSD/II), 182 14″ CRT soft key configuration, 402 Circular interpolation (G02, G03), 37 Command for machine operations – miscellaneous function, 20 Compensation function, 191 ƠAơ Conditional branch (IF statement), 313 A
  • Page 711INDEX B–61404E/08 Deleting files, 490 External output commands, 333 Deleting more than one program by specifying a range, 506 Deleting multiple blocks, 503 Deleting one program, 505 ƠFơ Deleting programs, 505 FANUC FA Card, 406 Details of cutter compensation C, 224 FANUC Floppy Cassette, 405 Details
  • Page 712B–61404E/08 INDEX Index table indexing function, 272 Manual reference position return, 411 Input command from MDI, 257 Maximum stroke, 27 Inputting a program, 474 MDI operation, 426 Inputting and outputting parameters and pitch error Memory operation, 424 compensation data, 481 Memory operation usin
  • Page 713INDEX B–61404E/08 Peek rigid tapping cycle (G84 or G74), 169 ƠSơ Plane selection, 92 Safety function, 457 Plunge grinding cycle (G75), 173 Sample program, 328 Polar coordinate command (G15, G16), 95 Scaling (G50, G51), 260 Portable tape reader, 407 Scheduling function, 436 Position display in the re
  • Page 714B–61404E/08 INDEX Switch between cutter compensation left and cutter Tool movement in offset mode, 229 compensation right, 214 Tool movement in offset mode cancel, 243 System variables, 301 Tool movement in start–up, 225 Tool movement range – stroke, 25 ƠTơ Tool offset (G45 to G48), 200 Tool path at
  • Page 715
  • Page 716Revision Record FANUC Series 0/00/0–Mate FOR MACHINING CENTER OPERATOR’S MANUAL (B–61404E) 05 Aug., ’94 SAll pages are revised SAddition of common variable addition SAlterlation of RS–232–C/RS–422 Interface 04 Aug., ’92 08 Jun., ’98 SCorrection of errors SAlterlation of Parameters SAlterlation of Er
  • Page 717TECHNICAL REPORT NO.TMN 02/081E Date Aug. 21, 2002 General Manager of Software Development Center FANUC Series 16/18-MA/MB/MC FANUC Series 16i/18i/21i-MA/MB,18i-MB5 FANUC Series 0-M/0i-MA/21-MB/20i-FA Concerning the correction of Rigid tapping (G84) / Left-handed rigid tapping cycle (G74) 1. Communi
  • Page 718FANUC Series 0/00/0-Mate FOR MACHINING CENTER OPERATOR'S MANUAL Concerning the correction of Rigid tapping (G84) / Left-handed rigid tapping (G74) 1.Type of applied technical documents Name FANUC Series 0/00/0-Mate FOR MACHINING CENTER OPERATOR'S MANUAL Spec.No./Ed. B-61404E/08 2.Summary of Change N
  • Page 719Outline Descriptions are changed as follows. 1. The description of "Thread lead" on "13.2.1 Rigid tapping (G84)" is replaced. 2. The description of "Thread lead" on "13.2.2 Left-Handed Rigid tapping Cycle (G74)" is replaced. Details 1. The description of "Thread lead" on "13.2.1 Rigid tapping (G84)"