Series 0i - MB Operators manual Page 873

Operators manual
APPENDIX
B–63844EN/02
G. ALARM LIST
849
No. DescriptionFaulty location and remedy
SPM
indica-
tion(*1)
Message
9058 SPN_n_ : OVERLOAD IN
PSM
58 1 Check the PSM cooling status.
2 Replace the PSM unit.
The temperature of the radiator of
the PSM has increased abnormally.
(PSM alarm indication: 3)
9059 SPN_n_ : COOLING FAN
STOP IN PSM
59 Replace the SPM unit. The cooling fan in the PSM
stopped. (PSM alarm indication: 2)
9062 SPN_n_ : MOTOR VCMD
OVER-
FLOWED
62 Check and correct the parameters.
(No. 4021, 4056~4059)
The specified motor speed is too
large.
9066 SPN_n_ : AMP MODULE
COMMUNICA-
TION
66 1 Replace the cable.
2 Check and correct the connec-
tion.
An error was found in communica-
tion between amplifiers.
9073 SPN_n_ : MOTOR SEN-
SOR DISCON-
NECTED
73 1 Replace the feedback cable.
2 Check the shield processing.
3 Check and correct the connec-
tion.
4 Adjust the sensor.
The motor sensor feedback signal
is not present.
9074 SPN_n_ : CPU TEST ER-
ROR
74 Replace the SPM control printed
circuit board.
An error was detected in a CPU
test.
9075 SPN_n_ : CRC ERROR 75 Replace the SPM control printed
circuit board.
An error was detected in a CRC
test.
9079 SPN_n_ : INITIAL TEST
ERROR
79 Replace the SPM control printed
circuit board.
An error was detected in an initial
test operation.
9081 SPN_n_ : 1ROT MO-
TOR SENSOR
ERROR
81 1 Check and correct the parame-
ter.
2 Replace the feedback cable.
3 Adjust the sensor.
The onerotation signal of the motor
sensor cannot be correctly de-
tected.
9082 SPN_n_ : NO 1–ROT
MOTOR SEN-
SOR
82 1 Replace the feedback cable.
2 Adjust the sensor.
The onerotation signal of the motor
sensor is not generated.
9083 SPN_n_ : MOTOR SEN-
SOR SIGNAL
ERROR
83 1 Replace the feedback cable.
2 Adjust the sensor.
An irregularity was detected in a
motor sensor feedback signal.
9084 SPN_n_ : SPNDL SEN-
SOR DISCON-
NECTED
84 1 Replace the feedback cable.
2 Check the shield processing.
3 Check and correct the connec-
tion.
4 Check and correct the parame-
ter.
5 Adjust the sensor.
The spindle sensor feedback signal
is not present.
9085 SPN_n_ : 1ROT SPNDL
SENSOR ER-
ROR
85 1 Check and correct the parame-
ter.
2 Replace the feedback cable.
3 Adjust the sensor.
The onerotation signal of the
spindle sensor cannot be correctly
detected.
9086 SPN_n_ : NO 1–ROT
SPNDL SEN-
SOR ERROR
86 1 Replace the feedback cable.
2 Adjust the sensor.
The onerotation signal of the
spindle sensor cannot be correctly
detected.
9087 SPN_n_ : SPNDL SEN-
SOR SIGNAL
ERROR
87 The onerotation signal of the
spindle sensor is not generated.
An irregularity was detected in a
spindle sensor feedback signal.
9088 SPN_n_ : COOLING RA-
DIFAN FAIL-
URE
88 Replace the SPM external cooling
fan.
The external cooling fan stopped.

Contents Summary of Series 0i - MB Operators manual

  • Page 1OPERATOR’S MANUAL B-63844EN/02
  • 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–63844EN/02 1 DEFINITION OF WARNING, CAUTION, AND NOTE This manual includes safety precautions for protecting the user and preventing damage to the machine. Precautions are classified into Warning and Caution according to their bearing on safety. Also, supplementary information i
  • Page 5B–63844EN/02 SAFETY PRECAUTIONS 2 GENERAL WARNINGS AND CAUTIONS WARNING 1. Never attempt to machine a workpiece without first checking the operation of the machine. Before starting a production run, ensure that the machine is operating correctly by performing a trial run using, for example, the sing
  • Page 6SAFETY PRECAUTIONS B–63844EN/02 WARNING 8. Some functions may have been implemented at the request of the machine–tool builder. When using such functions, refer to the manual supplied by the machine–tool builder for details of their use and any related cautions. NOTE Programs, parameters, and macro
  • Page 7B–63844EN/02 SAFETY PRECAUTIONS 3 WARNINGS AND CAUTIONS RELATED TO PROGRAMMING This section covers the major safety precautions related to programming. Before attempting to perform programming, read the supplied operator’s manual and programming manual carefully such that you are fully familiar with
  • Page 8SAFETY PRECAUTIONS B–63844EN/02 WARNING 6. Stroke check After switching on the power, perform a manual reference position return as required. Stroke check is not possible before manual reference position return is performed. Note that when stroke check is disabled, an alarm is not issued even if a s
  • Page 9B–63844EN/02 SAFETY PRECAUTIONS 4 WARNINGS AND CAUTIONS RELATED TO HANDLING This section presents safety precautions related to the handling of machine tools. Before attempting to operate your machine, read the supplied operator’s manual and programming manual carefully, such that you are fully fami
  • Page 10SAFETY PRECAUTIONS B–63844EN/02 WARNING 7. Workpiece coordinate system shift Manual intervention, machine lock, or mirror imaging may shift the workpiece coordinate system. Before attempting to operate the machine under the control of a program, confirm the coordinate system carefully. If the machin
  • Page 11B–63844EN/02 SAFETY PRECAUTIONS 5 WARNINGS RELATED TO DAILY MAINTENANCE WARNING 1. Memory backup battery replacement Only those personnel who have received approved safety and maintenance training may perform this work. When replacing the batteries, be careful not to touch the high–voltage circuits
  • Page 12SAFETY PRECAUTIONS B–63844EN/02 WARNING 2. Absolute pulse coder battery replacement Only those personnel who have received approved safety and maintenance training may perform this work. When replacing the batteries, be careful not to touch the high–voltage circuits (marked and fitted with an insula
  • Page 13B–63844EN/02 SAFETY PRECAUTIONS WARNING 3. Fuse replacement Before replacing a blown fuse, however, it is necessary to locate and remove the cause of the blown fuse. For this reason, only those personnel who have received approved safety and maintenance training may perform this work. When replacing
  • Page 14
  • Page 15B–63844EN/02 Table of Contents SAFETY PRECAUTIONS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . s–1 I. GENERAL 1. GENERAL . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3 1.
  • Page 16Table of Contents B–63844EN/02 5. FEED FUNCTIONS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 57 5.1 GENERAL . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
  • Page 17B–63844EN/02 Table of Contents 11.3 THE SECOND AUXILIARY FUNCTIONS (B CODES) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 117 12.PROGRAM CONFIGURATION . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 118 12.1 PROGRAM COMPONENTS OTHER THAN PROGR
  • Page 18Table of Contents B–63844EN/02 14.5.3 Tool Movement in Offset Mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 227 14.5.4 Tool Movement in Offset Mode Cancel . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
  • Page 19B–63844EN/02 Table of Contents 19.HIGH SPEED CUTTING FUNCTIONS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 368 19.1 FEEDRATE CLAMPING BY ARC RADIUS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 369 19.2 ADVANCED PREVIEW CONTROL (G08)
  • Page 20Table of Contents B–63844EN/02 2.4.5 Portable Tape Reader . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 447 2.5 POWER ON/OFF . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
  • Page 21B–63844EN/02 Table of Contents 8.4 PROGRAM INPUT/OUTPUT . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 525 8.4.1 Inputting a Program . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
  • Page 22Table of Contents B–63844EN/02 9.7 EDITING OF CUSTOM MACROS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 600 9.8 BACKGROUND EDITING . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6
  • Page 23B–63844EN/02 Table of Contents 11.6 DISPLAYING THE PROGRAM NUMBER, SEQUENCE NUMBER, AND STATUS, AND WARNING MESSAGES FOR DATA SETTING OR INPUT/OUTPUT OPERATION . . . . . 677 11.6.1 Displaying the Program Number and Sequence Number . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
  • Page 24Table of Contents B–63844EN/02 APPENDIX A. TAPE CODE LIST . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 797 B. LIST OF FUNCTIONS AND TAPE FORMAT . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 800 C. RANGE OF COMMAND VALUE .
  • Page 25I. GENERA
  • Page 26
  • Page 27B–63844EN/02 GENERAL 1. GENERAL 1 GENERAL This manual consists of the following parts: About this manual I. GENERAL Describes chapter organization, applicable models, related manuals, and notes for reading this manual. II. PROGRAMMING Describes each function: Format used to program functions in the
  • Page 281. GENERAL GENERAL B–63844EN/02 Special symbols This manual uses the following symbols: D IP_ Indicates a combination of axes such as X__ Y__ Z (used in PROGRAMMING.). D ; Indicates the end of a block. It actually corresponds to the ISO code LF or EIA code CR. Related manuals of The following table
  • Page 29B–63844EN/02 GENERAL 1. GENERAL Related manuals of The following table lists the manuals related to Servo Motor ai series. Servo Motor ai series Specification Manual name number FANUC AC SERVO MOTOR ai series DESCRIPTIONS B–65262EN FANUC AC SERVO MOTOR ai series B–65270EN PARAMETER MANUAL FANUC AC S
  • Page 301. GENERAL GENERAL B–63844EN/02 1.1 When machining the part using the CNC machine tool, first prepare the program, then operate the CNC machine by using the program. GENERAL FLOW OF OPERATION OF 1) First, prepare the program from a part drawing to operate the CNC machine tool. CNC MACHINE How to pre
  • Page 31B–63844EN/02 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 321. GENERAL GENERAL B–63844EN/02 1.2 CAUTIONS ON CAUTION READING THIS 1 The function of an CNC machine tool system depends not MANUAL only on the CNC, but on the combination of the machine tool, its magnetic cabinet, the servo system, the CNC, the operator’s panels, etc. It is too difficult to descri
  • Page 33II. PROGRAMMIN
  • Page 34
  • Page 35B–63844EN/02 PROGRAMMING 1. GENERAL 1 GENERAL 11
  • Page 361. GENERAL PROGRAMMING B–63844EN/02 1.1 The tool moves along straight lines and arcs constituting the workpiece parts figure (See II–4). TOOL MOVEMENT ALONG WORKPIECE PARTS FIGURE– INTERPOLATION Explanations The function of moving the tool along straight lines and arcs is called the interpolation. D
  • Page 37B–63844EN/02 PROGRAMMING 1. GENERAL Symbols of the programmed commands G01, G02, ... are called the preparatory function and specify the type of interpolation conducted in the control unit. (a) Movement along straight line (b) Movement along arc G01 Y_ _; G03X––Y––R––; X– –Y– – – –; Control unit X a
  • Page 381. GENERAL PROGRAMMING B–63844EN/02 1.2 Movement of the tool at a specified speed for cutting a workpiece is called the feed. FEED–FEED FUNCTION mm/min Tool F Workpiece Table Fig. 1.2 Feed function Feedrates can be specified by using actual numerics. For example, to feed the tool at a rate of 150 mm
  • Page 39B–63844EN/02 PROGRAMMING 1. GENERAL 1.3 PART DRAWING AND TOOL MOVEMENT 1.3.1 A CNC machine tool is provided with a fixed position. Normally, tool Reference Position change and programming of absolute zero point as described later are performed at this position. This position is called the reference
  • Page 401. GENERAL PROGRAMMING B–63844EN/02 1.3.2 Coordinate System on Part Drawing and Z Coordinate System Z Specified by CNC – Program 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 Th
  • Page 41B–63844EN/02 PROGRAMMING 1. GENERAL The positional relation between these two coordinate systems is determined when a workpiece is set on the table. Coordinate system on part drawing established on the workpiece Coordinate system spe- cified by the CNC estab- lished on the table Y Y Workpiece X X Ta
  • Page 421. GENERAL PROGRAMMING B–63844EN/02 (2) Mounting a workpiece directly against the jig Program zero point Jig Meet the tool center to the reference position. And set the coordinate system specified by CNC at this position. (Jig shall be mounted on the predetermined point from the reference position.)
  • Page 43B–63844EN/02 PROGRAMMING 1. GENERAL 1.3.3 How to Indicate Command Dimensions for Moving the Tool – Absolute, Incremental Commands Explanations Command for moving the tool can be indicated by absolute command or incremental command (See II–8.1). D Absolute command The tool moves to a point at “the di
  • Page 441. GENERAL PROGRAMMING B–63844EN/02 1.4 The speed of the tool with respect to the workpiece when the workpiece is cut is called the cutting speed. CUTTING SPEED – As for the CNC, the cutting speed can be specified by the spindle speed SPINDLE SPEED in min-1 unit. FUNCTION Tool Tool diameter Spindle
  • Page 45B–63844EN/02 PROGRAMMING 1. GENERAL 1.5 When drilling, tapping, boring, milling or the like, is performed, it is necessary to select a suitable tool. When a number is assigned to each tool SELECTION OF TOOL and the number is specified in the program, the corresponding tool is USED FOR VARIOUS select
  • Page 461. GENERAL PROGRAMMING B–63844EN/02 1.6 When machining is actually started, it is necessary to rotate the spindle, and feed coolant. For this purpose, on–off operations of spindle motor and COMMAND FOR coolant valve should be controlled. MACHINE OPERATIONS – MISCELLANEOUS Tool FUNCTION Coolant Workp
  • Page 47B–63844EN/02 PROGRAMMING 1. GENERAL 1.7 A group of commands given to the CNC for operating the machine is called the program. By specifying the commands, the tool is moved along PROGRAM a straight line or an arc, or the spindle motor is turned on and off. CONFIGURATION In the program, specify the co
  • Page 481. GENERAL PROGRAMMING B–63844EN/02 Explanations The block and the program have the following configurations. D Block 1 block N ffff G ff Xff.f Yfff.f M ff S ff T ff ; Sequence Preparatory Dimension word Miscel- Spindle Tool number function laneous function func- function tion End of block Fig. 1.7
  • Page 49B–63844EN/02 PROGRAMMING 1. GENERAL D Main program and When machining of the same pattern appears at many portions of a subprogram program, a program for the pattern is created. This is called the subprogram. On the other hand, the original program is called the main program. When a subprogram execu
  • Page 501. GENERAL PROGRAMMING B–63844EN/02 1.8 TOOL FIGURE AND TOOL MOTION BY PROGRAM Explanations D Machining using the end Usually, several tools are used for machining one workpiece. The tools of cutter – Tool length have different tool length. It is very troublesome to change the program compensation f
  • Page 51B–63844EN/02 PROGRAMMING 1. GENERAL 1.9 Limit switches are installed at the ends of each axis on the machine to prevent tools from moving beyond the ends. The range in which tools can TOOL MOVEMENT move is called the stroke. RANGE – STROKE Table Motor Limit switch Machine zero point Specify these di
  • Page 522. CONTROLLED AXES PROGRAMMING B–63844EN/02 2 CONTROLLED AXES 28
  • Page 53B–63844EN/02 PROGRAMMING 2. CONTROLLED AXES 2.1 CONTROLLED AXES Item 0i–MB No. of basic controlled axes 3 axes Controlled axes expansion (total) Max. 4 axes (included in Cs axis) Basic simultaneously controlled axes 3 axes Simultaneously controlled axes Max. 4 axes expansion (total) NOTE The number
  • Page 542. CONTROLLED AXES PROGRAMMING B–63844EN/02 2.3 The increment system consists of the least input increment (for input) and least command increment (for output). The least input increment is the INCREMENT SYSTEM least increment for programming the travel distance. The least command increment is the l
  • Page 553. PREPARATORY FUNCTION B–63844EN/02 PROGRAMMING (G FUNCTION) 3 PREPARATORY FUNCTION (G FUNCTION) A number following address G determines the meaning of the command for the concerned block. G codes are divided into the following two types. Type Meaning One–shot G code The G code is effective only in
  • Page 563. PREPARATORY FUNCTION (G FUNCTION) PROGRAMMING B–63844EN/02 Explanations 1. When the clear state (bit 6 (CLR) of parameter No. 3402) is set at power–up or reset, the modal G codes are placed in the states described below. (1) The modal G codes are placed in the states marked with as indicated in T
  • Page 573. PREPARATORY FUNCTION B–63844EN/02 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.1 AI advanced c
  • Page 583. PREPARATORY FUNCTION (G FUNCTION) PROGRAMMING B–63844EN/02 Table 3 G code list (2/3) G code Group Function G45 Tool offset increase G46 Tool offset decrease 00 G47 Tool offset double increase G48 Tool offset double decrease G49 08 Tool length compensation cancel G50 Scaling cancel 11 G51 Scaling
  • Page 593. PREPARATORY FUNCTION B–63844EN/02 PROGRAMMING (G FUNCTION) Table 3 G code list (3/3) G code Group Function G90 Absolute command 03 G91 Increment command G92 Setting for work coordinate system or clamp at maximum spindle speed 00 G92.1 Workpiece coordinate system preset G94 Feed per minute 05 G95
  • Page 604. INTERPOLATION FUNCTIONS PROGRAMMING B–63844EN/02 4 INTERPOLATION FUNCTIONS 36
  • Page 61B–63844EN/02 PROGRAMMING 4. INTERPOLATION FUNCTIONS 4.1 The G00 command moves a tool to the position in the workpiece system specified with an absolute or an incremental command at a rapid traverse POSITIONING rate. (G00) In the absolute command, coordinate value of the end point is programmed. In t
  • Page 624. INTERPOLATION FUNCTIONS PROGRAMMING B–63844EN/02 Limitations The rapid traverse rate cannot be specified in the address F. Even if linear interpolation positioning is specified, nonlinear interpolation positioning is used in the following cases. Therefore, be careful to ensure that the tool does
  • Page 63B–63844EN/02 PROGRAMMING 4. INTERPOLATION FUNCTIONS 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 G60IP_; IP_ : For an
  • Page 644. INTERPOLATION FUNCTIONS PROGRAMMING B–63844EN/02 Restrictions D During canned cycle for drilling, no single direction positioning is effected in Z axis. D No single direction positioning is effected in an axis for which no overrun has been set by the parameter. D When the move distance 0 is comma
  • Page 65B–63844EN/02 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 commnad, the distance the tool moves. F_:Speed of tool feed (Feedrate) Explanations A
  • Page 664. INTERPOLATION FUNCTIONS PROGRAMMING B–63844EN/02 A calcula;tion 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 8 0.14907 (min) 300 The feed ra
  • Page 67B–63844EN/02 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_ p_ F_ G03 R_ Arc in the YpZp plane G19 G02 J_ K_ F_
  • Page 684. INTERPOLATION FUNCTIONS PROGRAMMING B–63844EN/02 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 69B–63844EN/02 PROGRAMMING 4. INTERPOLATION FUNCTIONS D Arc radius The distance between an arc and the center of a circle that contains the arc can be specified using the radius, R, of the circle instead of I, J, and K. In this case, one arc is less than 180°, and the other is more than 180° are consi
  • Page 704. INTERPOLATION FUNCTIONS PROGRAMMING B–63844EN/02 Examples Y axis 100 50R 60 60R 40 0 X axis 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 X
  • Page 71B–63844EN/02 PROGRAMMING 4. INTERPOLATION FUNCTIONS 4.5 Helical interpolation which moved helically is enabled by specifying up HELICAL to two other axes which move synchronously with the circular INTERPOLATION interpolation by circular commands. (G02,G03) Format Synchronously with arc of XpYp plane
  • Page 724. INTERPOLATION FUNCTIONS PROGRAMMING B–63844EN/02 4.6 The amount of travel of a rotary axis specified by an angle is once internally converted to a distance of a linear axis along the outer surface CYLINDRICAL so that linear interpolation or circular interpolation can be performed with INTERPOLATI
  • Page 73B–63844EN/02 PROGRAMMING 4. INTERPOLATION FUNCTIONS D Tool offset To perform tool offset in the cylindrical interpolation mode, cancel any ongoing cutter compensation mode before entering the cylindrical interpolation mode. Then, start and terminate tool offset within the cylindrical interpolation m
  • Page 744. INTERPOLATION FUNCTIONS PROGRAMMING B–63844EN/02 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 G07.1 C57299 ; N04 G90 G01 G42 Z120.0 D01 F250 ; N05 C30.0 ; N06 G02 Z90.0 C60.0 R30.0 ; N07 G01 Z
  • Page 75B–63844EN/02 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 THREAD CUTTING spindle speed is converted to the feedrate per minute to feed the tool. (G33) Format Z G33
  • Page 764. INTERPOLATION FUNCTIONS PROGRAMMING B–63844EN/02 NOTE 1 The spindle speed is limited as follows : Maximum feedrate 1 x spindle speed x Thread lead Spindle speed : min-1 Thread lead : mm or inch Maximum feedrate : mm/min or inch/min ; maximum command–specified feedrate for feed–per–minute mode or
  • Page 77B–63844EN/02 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 during the execution of this command, execution of the command is FUNCTION(G31) interrupted and the nex
  • Page 784. INTERPOLATION FUNCTIONS PROGRAMMING B–63844EN/02 Examples D The next block to G31 is an incremental command G31 G91X100.0 F100; Y50.0; Skip signal is input here 50.0 Y 100.0 Actual motion X Motion without skip signal Fig. 4.8 (a) The next block is an incremental command D The next block to G31 is
  • Page 79B–63844EN/02 PROGRAMMING 4. INTERPOLATION FUNCTIONS 4.9 The skip function operates based on a high–speed skip signal (connected directly to the NC; not via the PMC) instead of an ordinary skip signal. HIGH SPEED SKIP In this case, up to eight signals can be input. SIGNAL (G31) Delay and error of ski
  • Page 804. INTERPOLATION FUNCTIONS PROGRAMMING B–63844EN/02 4.10 In a block specifying P1 to P4 after G31, the multistage skip function stores coordinates in a custom macro variable when a skip signal (4–point MULTISTAGE SKIP or 8–point ; 8–point when a high–speed skip signal is used) is turned on. (G31) Pa
  • Page 81B–63844EN/02 PROGRAMMING 5. FEED FUNCTIONS 5 FEED FUNCTIONS 57
  • Page 825. FEED FUNCTIONS PROGRAMMING B–63844EN/02 5.1 The feed functions control the feedrate of the tool. The following two feed functions are available: GENERAL D Feed functions 1. Rapid traverse When the positioning command (G00) is specified, the tool moves at a rapid traverse feedrate set in the CNC (
  • Page 83B–63844EN/02 PROGRAMMING 5. FEED FUNCTIONS D Tool path in a cutting If the direction of movement changes between specified blocks during feed cutting feed, a rounded–corner path may result (Fig. 5.1 (b)). Y Programmed path Actual tool path 0 X Fig. 5.1 (b) Example of tool path between two blocks In
  • Page 845. FEED FUNCTIONS PROGRAMMING B–63844EN/02 5.2 RAPID TRAVERSE Format G00 IP_IP ; G00 : G code (group 01) for positioning (rapid traverse) IP_ ; Dimension word for the end point IP Explanations The positioning command (G00) positions the tool by rapid traverse. In rapid traverse, the next block is ex
  • Page 85B–63844EN/02 PROGRAMMING 5. FEED FUNCTIONS 5.3 Feedrate of linear interpolation (G01), circular interpolation (G02, G03), etc. are commanded with numbers after the F code. CUTTING FEED In cutting feed, the next block is executed so that the feedrate change from the previous block is minimized. Four
  • Page 865. FEED FUNCTIONS PROGRAMMING B–63844EN/02 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 revo
  • Page 87B–63844EN/02 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. 1451 to 1459) is used. When F0 is specified, the rapid traverse rate is applied. The feedrate corresponding to the number
  • Page 885. FEED FUNCTIONS PROGRAMMING B–63844EN/02 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 Exact stop This function is valid for specified The tool is decelerated at the
  • Page 89B–63844EN/02 PROGRAMMING 5. FEED FUNCTIONS Format Exact stop G09 IP_ IP ; Exact stop mode 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
  • Page 905. FEED FUNCTIONS PROGRAMMING B–63844EN/02 5.4.2 When cutter compensation is performed, the movement of the tool is Automatic Corner automatically decelerated at an inner corner and internal circular area. This reduces the load on the cutter and produces a smoothly machined Override surface. 5.4.2.1
  • Page 91B–63844EN/02 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 feedrate is overridden, are distances from points on the cutter center path to the corner (Fig
  • Page 925. FEED FUNCTIONS PROGRAMMING B–63844EN/02 Regarding program (2) of an arc, the feedrate is overridden from point a to point b and from point c to point d (Fig. 5.4.2.1 (d)). Programmed path d a Le Ls Le Ls c b (2) Cutter center path Tool Fig. 5.4.2.1 (d) Override Range (Straight Line to Arc, Arc to
  • Page 93B–63844EN/02 PROGRAMMING 5. FEED FUNCTIONS 5.4.2.2 For internally offset circular cutting, the feedrate on a programmed path Internal Circular Cutting is set to a specified feedrate (F) by specifying the circular cutting feedrate with respect to F, as indicated below (Fig. 5.4.2.2). This function is
  • Page 945. FEED FUNCTIONS PROGRAMMING B–63844EN/02 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 additi
  • Page 95B–63844EN/02 PROGRAMMING 6. REFERENCE POSITION 6 REFERENCE POSITION A CNC machine tool has a special position where, generally, the tool is exchanged or the coordinate system is set, as described later. This position is referred to as a reference position. 71
  • Page 966. REFERENCE POSITION PROGRAMMING B–63844EN/02 6.1 REFERENCE POSITION RETURN 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 pos
  • Page 97B–63844EN/02 PROGRAMMING 6. REFERENCE POSITION 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 positio
  • Page 986. REFERENCE POSITION PROGRAMMING B–63844EN/02 Explanations D Reference position Positioning to the intermediate or reference positions are performed at the return (G28) rapid traverse rate of each axis. Therefore, for safety, the cutter compensation, and tool length compensation should be cancelled
  • Page 99B–63844EN/02 PROGRAMMING 6. REFERENCE POSITION NOTE 1 To this feedrate, a rapid traverse override (F0,25,50,100%) is applied, for which the setting is 100%. 2 After a machine coordinate system has been established upon the completion of reference position return, the automatic reference position ret
  • Page 1006. REFERENCE POSITION PROGRAMMING B–63844EN/02 Restrictions D Status the machine lock The lamp for indicating the completion of return does not go on when the being turned on machine lock is turned on, even when the tool has automatically returned to the reference position. In this case, it is not c
  • Page 101B–63844EN/02 PROGRAMMING 7. COORDINATE SYSTEM 7 COORDINATE SYSTEM By teaching the CNC a desired tool position, the tool can be moved to the position. Such a tool position is represented by coordinates in a coordinate system. Coordinates are specified using program axes. When three program axes, the
  • Page 1027. COORDINATE SYSTEM PROGRAMMING B–63844EN/02 7.1 The point that is specific to a machine and serves as the reference of the machine is referred to as the machine zero point. A machine tool builder MACHINE sets a machine zero point for each machine. COORDINATE A coordinate system with a machine zero
  • Page 103B–63844EN/02 PROGRAMMING 7. COORDINATE SYSTEM 7.2 A coordinate system used for machining a workpiece is referred to as a workpiece coordinate system. A workpiece coordinate system is to be set WORKPIECE with the CNC beforehand (setting a workpiece coordinate system). COORDINATE A machining program s
  • Page 1047. COORDINATE SYSTEM PROGRAMMING B–63844EN/02 7.2.2 The user can choose from set workpiece coordinate systems as described below. (For information about the methods of setting, see II– 7.2.1.) Selecting a Workpiece (1) Once a workpiece coordinate system is selected by G92 or automatic Coordinate Sys
  • Page 105B–63844EN/02 PROGRAMMING 7. COORDINATE SYSTEM 7.2.3 The six workpiece coordinate systems specified with G54 to G59 can be changed by changing an external workpiece zero point offset value Changing Workpiece or workpiece zero point offset value. Coordinate System Three methods are available to change
  • Page 1067. COORDINATE SYSTEM PROGRAMMING B–63844EN/02 Explanations D Changing by G10 With the G10 command, each workpiece coordinate system can be changed separately. D Changing by G92 By specifying G92IP_;, a workpiece coordinate system (selected with a code from G54 to G59) is shifted to set a new workpie
  • Page 107B–63844EN/02 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 coordi
  • Page 1087. COORDINATE SYSTEM PROGRAMMING B–63844EN/02 7.2.4 The workpiece coordinate system preset function presets a workpiece coordinate system shifted by manual intervention to the pre–shift Workpiece coordinate workpiece coordinate system. The latter system is displaced from the system preset (G92.1) ma
  • Page 109B–63844EN/02 PROGRAMMING 7. COORDINATE SYSTEM (a) Manual intervention performed when the manual absolute signal is off (b) Move command executed in the machine lock state (c) Movement by handle interrupt (d) Operation using the mirror image function (e) Setting the local coordinate system using G52,
  • Page 1107. COORDINATE SYSTEM PROGRAMMING B–63844EN/02 7.2.5 Besides the six workpiece coordinate systems (standard workpiece coordinate systems) selectable with G54 to G59, 48 additional workpiece Adding Workpiece coordinate systems (additional workpiece coordinate systems) can be Coordinate Systems used. A
  • Page 111B–63844EN/02 PROGRAMMING 7. COORDINATE SYSTEM D Setting the workpiece When an absolute workpiece zero point offset value is specified, the zero point offset value in specified value becomes a new offset value. When an incremental the additional workpiece workpiece zero point offset value is specifie
  • Page 1127. COORDINATE SYSTEM PROGRAMMING B–63844EN/02 7.3 When a program is created in a workpiece coordinate system, a child workpiece coordinate system can be set for easier programming. Such a LOCAL COORDINATE child coordinate system is referred to as a local coordinate system. SYSTEM Format G52 IPIP _;
  • Page 113B–63844EN/02 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 coordinate system. The same is true when the following command is issue
  • Page 1147. COORDINATE SYSTEM PROGRAMMING B–63844EN/02 7.4 Select the planes for circular interpolation, cutter compensation, and drilling by G–code. PLANE The following table lists G–codes and the planes selected by them. SELECTION Explanations Table 7.4 Plane selected by G code Selected G code Xp Yp Zp pla
  • Page 1158. COORDINATE VALUE B–63844EN/02 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 91
  • Page 1168. COORDINATE VALUE AND DIMENSION PROGRAMMING B–63844EN/02 8.1 There are two ways to command travels of the tool; the absolute command, and the incremental command. In the absolute command, ABSOLUTE AND coordinate value of the end position is programmed; in the incremental INCREMENTAL command, move
  • Page 1178. COORDINATE VALUE B–63844EN/02 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 cl
  • Page 1188. COORDINATE VALUE AND DIMENSION PROGRAMMING B–63844EN/02 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
  • Page 1198. COORDINATE VALUE B–63844EN/02 PROGRAMMING AND DIMENSION N5 G15 G80 ; Canceling the polar coordinate command Limitations D Specifying a radius in In the polar coordinate mode, specify a radius for circular interpolation the polar coordinate or helical cutting (G02, G03) with R. mode D Axes that ar
  • Page 1208. COORDINATE VALUE AND DIMENSION PROGRAMMING B–63844EN/02 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 1218. COORDINATE VALUE B–63844EN/02 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 1229. SPINDLE SPEED FUNCTION (S FUNCTION) PROGRAMMING B–63844EN/02 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 CODE 9.2 SPECIFYING THE SPINDLE SPE
  • Page 1239. SPINDLE SPEED FUNCTION B–63844EN/02 PROGRAMMING (S FUNCTION) 9.1 When a value is specified after address S, the code signal and strobe signal are sent to the machine to control the spindle rotation speed. SPECIFYING THE A block can contain only one S code. Refer to the appropriate manual SPINDLE
  • Page 1249. SPINDLE SPEED FUNCTION (S FUNCTION) PROGRAMMING B–63844EN/02 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) Fo
  • Page 1259. SPINDLE SPEED FUNCTION B–63844EN/02 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 spec
  • Page 1269. SPINDLE SPEED FUNCTION (S FUNCTION) PROGRAMMING B–63844EN/02 D Surface speed specified in the G96 mode G96 mode G97 mode Specify the surface speed in m/min (or feet/min) G97 command Store the surface speed in m/min (or feet/min) Specified Command for The specified the spindle spindle speed speed
  • Page 12710. TOOL FUNCTION B–63844EN/02 PROGRAMMING (T FUNCTION) 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. 103
  • Page 12810. TOOL FUNCTION (T FUNCTION) PROGRAMMING B–63844EN/02 10.1 By specifying an up to 8–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 12910. TOOL FUNCTION B–63844EN/02 PROGRAMMING (T FUNCTION) 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 t
  • Page 13010. TOOL FUNCTION (T FUNCTION) PROGRAMMING B–63844EN/02 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 o
  • Page 13110. TOOL FUNCTION B–63844EN/02 PROGRAMMING (T FUNCTION) 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 A different program form
  • Page 13210. TOOL FUNCTION (T FUNCTION) PROGRAMMING B–63844EN/02 Format D Register with deleting Format Meaning of command all groups G10L3 ; G10L3 :Register with deleting all groups PL ; P :Group number T HD ; L :Life value T HD ; T :Tool number H :Code specifying tool offset value (H code) PL ; D :Code spe
  • Page 13310. TOOL FUNCTION B–63844EN/02 PROGRAMMING (T FUNCTION) D Setting a tool life cout Format Meaning of command type for groups G10L3 Q_ : Life count type (1:Frequency, 2:Time) or G10L3P1); PL Q ; T HD ; T H⋅ D ; ⋅ PL Q ; T HD ; T HD ; G11 ; M02 (M30) ; CAUTION 1 When the Q command is omitted, the valu
  • Page 13410. TOOL FUNCTION (T FUNCTION) PROGRAMMING B–63844EN/02 10.2.3 Tool Life Management Command in a Machining Program Explanations D Command The following command is used for tool life management: Toooo; Specifies a tool group number. The tool life management function selects, from a specified group, a
  • Page 13510. TOOL FUNCTION B–63844EN/02 PROGRAMMING (T FUNCTION) 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 T
  • Page 13610. TOOL FUNCTION (T FUNCTION) PROGRAMMING B–63844EN/02 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.) M06T102;Tool life counting is performed for the
  • Page 13710. TOOL FUNCTION B–63844EN/02 PROGRAMMING (T FUNCTION) 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 increme
  • Page 13811. AUXILIARY FUNCTION PROGRAMMING B–63844EN/02 11 AUXILIARY FUNCTION General 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 positioni
  • Page 139B–63844EN/02 PROGRAMMING 11. AUXILIARY FUNCTION 11.1 When a numeral is specified following address M, code signal and a strobe signal are sent to the machine. The machine uses these signals to AUXILIARY turn on or off its functions. FUNCTION Usually, only one M code can be specified in one block. In
  • Page 14011. AUXILIARY FUNCTION PROGRAMMING B–63844EN/02 11.2 In general, only one M code can be specified in a block. However, up to three M codes can be specified at once in a block by setting bit 7 (M3B) MULTIPLE M of parameter No. 3404 to 1. Up to three M codes specified in a block are COMMANDS simultane
  • Page 141B–63844EN/02 PROGRAMMING 11. AUXILIARY FUNCTION 11.3 When a value is specified after address B, the code signal and strobe signal are output. The code is retained until a B code is specified next. THE SECOND The functions are used for machine side operations such as indexing for AUXILIARY the rotati
  • Page 14212. PROGRAM CONFIGURATION PROGRAMMING B–63844EN/02 12 PROGRAM CONFIGURATION General D Main program and There are two program types, main program and subprogram. Normally, subprogram the CNC operates according to the main program. However, when a command calling a subprogram is encountered in the mai
  • Page 143B–63844EN/02 PROGRAMMING 12. PROGRAM CONFIGURATION D Program components A program consists of the following components: Table 12 Program components Components Descriptions Tape start Symbol indicating the start of a program file Leader section Used for the title of a program file, etc. Program start
  • Page 14412. PROGRAM CONFIGURATION PROGRAMMING B–63844EN/02 12.1 This section describes program components other than program sections. See II–12.2 for a program section. PROGRAM COMPONENTS Leader section OTHER THAN Tape start % TITLE ; Program start PROGRAM O0001 ; SECTIONS Program section (COMMENT) Comment
  • Page 145B–63844EN/02 PROGRAMMING 12. PROGRAM CONFIGURATION NOTE If one file contains multiple programs, the EOB code for label skip operation must not appear before a second or subsequent program number. D Comment section Any information enclosed by the control–out and control–in codes is regarded as a comm
  • Page 14612. PROGRAM CONFIGURATION PROGRAMMING B–63844EN/02 D Tape end A tape end is to be placed at the end of a file containing NC programs. If programs are entered using the automatic programming system, the mark need not be entered. The mark is not displayed on the screen. However, when a file is output,
  • Page 147B–63844EN/02 PROGRAMMING 12. PROGRAM CONFIGURATION 12.2 This section describes elements of a program section. See II–12.1 for program components other than program sections. PROGRAM SECTION CONFIGURATION % TITLE; Program number O0001 ; N1 … ; Sequence number (COMMENT) Comment section Program section
  • Page 14812. PROGRAM CONFIGURATION PROGRAMMING B–63844EN/02 D Sequence number and A program consists of several commands. One command unit is called a block block. One block is separated from another with an EOB of end of block code. Table 12.2 (a) EOB code Name ISO EIA Notation in this code code manual End
  • Page 149B–63844EN/02 PROGRAMMING 12. PROGRAM CONFIGURATION D Block configuration A block consists of one or more words. A word consists of an address (word and address) followed by a number some digits long. (The plus sign (+) or minus sign (–) may be prefixed to a number.) Word = Address + number (Example
  • Page 15012. PROGRAM CONFIGURATION PROGRAMMING B–63844EN/02 D Major addresses and Major addresses and the ranges of values specified for the addresses are ranges of command shown below. Note that these figures represent limits on the CNC side, values which are totally different from limits on the machine too
  • Page 151B–63844EN/02 PROGRAMMING 12. PROGRAM CONFIGURATION D Optional block skip When a slash followed by a number (/n (n=1 to 9)) is specified at the head of a block, and optional block skip switch n on the machine operator panel is set to on, the information contained in the block for which /n correspondi
  • Page 15212. PROGRAM CONFIGURATION PROGRAMMING B–63844EN/02 D Program end The end of a program is indicated by programming 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
  • Page 153B–63844EN/02 PROGRAMMING 12. PROGRAM CONFIGURATION 12.3 If a program contains a fixed sequence or frequently repeated pattern, such a sequence or pattern can be stored as a subprogram in memory to simplify SUBPROGRAM the program. (M98, M99) A subprogram can be called from the main program. A called
  • Page 15412. PROGRAM CONFIGURATION PROGRAMMING B–63844EN/02 NOTE 1 The M98 and M99 code signal and strobe signal are not output to the machine tool. 2 If the subprogram number specified by address P cannot be found, an alarm (No. 078) is output. Examples l M98 P51002 ; This command specifies “Call the subpro
  • Page 155B–63844EN/02 PROGRAMMING 12. PROGRAM CONFIGURATION Special Usage D Specifying the sequence If P is used to specify a sequence number when a subprogram is number for the return terminated, control does not return to the block after the calling block, but destination in the main returns to the block w
  • Page 15612. PROGRAM CONFIGURATION PROGRAMMING B–63844EN/02 D Using a subprogram only A subprogram can be executed just like a main program by searching for the start of the subprogram with the MDI. (See III–9.3 for information about search operation.) In this case, if a block containing M99 is executed, con
  • Page 15713. FUNCTIONS TO SIMPLIFY B–63844EN/02 PROGRAMMING PROGRAMMING 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 (FOR GRINDING MACHINE) 13.4 GRINDING–WHEEL WEAR COMPENSATION BY CONTINUOUS DRESSING (
  • Page 15813. FUNCTIONS TO SIMPLIFY PROGRAMMING PROGRAMMING B–63844EN/02 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 t
  • Page 15913. FUNCTIONS TO SIMPLIFY B–63844EN/02 PROGRAMMING PROGRAMMING Explanations A canned cycle consists of a sequence of six operations (Fig. 13.1 (a)) Operation 1 Positioning of axes X and Y (including also another axis) Operation 2 Rapid traverse up to point R level Operation 3 Hole machining Operatio
  • Page 16013. FUNCTIONS TO SIMPLIFY PROGRAMMING PROGRAMMING B–63844EN/02 Examples Assume that the U, V and W axes be parallel to the X, Y, and Z axes respectively. This condition is specified by parameter No. 1022. G17 G81 ………Z _ _ : The Z axis is used for drilling. G17 G81 ………W _ _ : The W axis is used for d
  • Page 16113. FUNCTIONS TO SIMPLIFY B–63844EN/02 PROGRAMMING PROGRAMMING D Return point level When the tool reaches the bottom of a hole, the tool may be returned to G98/G99 point R or to the initial level. These operations are specified with G98 and G99. The following illustrates how the tool moves when G98
  • Page 16213. FUNCTIONS TO SIMPLIFY PROGRAMMING PROGRAMMING B–63844EN/02 13.1.1 This cycle performs high–speed peck drilling. It performs intermittent cutting feed to the bottom of a hole while removing chips from the hole. High–speed Peck Drilling Cycle (G73) Format G73 X_ Y_ Z_ R_ Q_ F_ K_ ; X_ Y_ : Hole po
  • Page 16313. FUNCTIONS TO SIMPLIFY B–63844EN/02 PROGRAMMING PROGRAMMING 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 b
  • Page 16413. FUNCTIONS TO SIMPLIFY PROGRAMMING PROGRAMMING B–63844EN/02 13.1.2 This cycle performs left–handed tapping. In the left–handed tapping cycle, when the bottom of the hole has been reached, the spindle rotates Left–handed clockwise. Tapping Cycle (G74) Format G74 X_ Y_ Z_ R_P_ F_ K_ ; X_ Y_ : Hole
  • Page 16513. FUNCTIONS TO SIMPLIFY B–63844EN/02 PROGRAMMING PROGRAMMING Limitations 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 P Specify P in blocks that p
  • Page 16613. FUNCTIONS TO SIMPLIFY PROGRAMMING PROGRAMMING B–63844EN/02 13.1.3 The fine boring cycle bores a hole precisely. When the bottom of the hole has been reached, the spindle stops, and the tool is moved away from the Fine Boring Cycle machined surface of the workpiece and retracted. (G76) Format G76
  • Page 16713. FUNCTIONS TO SIMPLIFY B–63844EN/02 PROGRAMMING PROGRAMMING 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 no
  • Page 16813. FUNCTIONS TO SIMPLIFY PROGRAMMING PROGRAMMING B–63844EN/02 13.1.4 This cycle is used for normal drilling. Cutting feed is performed to the bottom of the hole. The tool is then retracted from the bottom of the hole Drilling Cycle, Spot in rapid traverse. Drilling (G81) Format G81 X_ Y_ Z_ R_ F_ K
  • Page 16913. FUNCTIONS TO SIMPLIFY B–63844EN/02 PROGRAMMING PROGRAMMING 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 Cancel Do not specify a G c
  • Page 17013. FUNCTIONS TO SIMPLIFY PROGRAMMING PROGRAMMING B–63844EN/02 13.1.5 This cycle is used for normal drilling. Cutting feed is performed to the bottom of the hole. At the bottom, a dwell Drilling Cycle Counter is performed, then the tool is retracted in rapid traverse. Boring Cycle This cycle is used
  • Page 17113. FUNCTIONS TO SIMPLIFY B–63844EN/02 PROGRAMMING PROGRAMMING 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 P Specify P in blocks that
  • Page 17213. FUNCTIONS TO SIMPLIFY PROGRAMMING PROGRAMMING B–63844EN/02 13.1.6 This cycle performs peck drilling. It performs intermittent cutting feed to the bottom of a hole while Peck Drilling Cycle removing shavings from the hole. (G83) Format G83 X_ Y_ Z_ R_ Q_ F_ K_ ; X_ Y_ : Hole position data Z_ : Th
  • Page 17313. FUNCTIONS TO SIMPLIFY B–63844EN/02 PROGRAMMING PROGRAMMING Limitations 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 Specify Q in blocks that p
  • Page 17413. FUNCTIONS TO SIMPLIFY PROGRAMMING PROGRAMMING B–63844EN/02 13.1.7 An arbor with the overload torque detection function is used to retract the Small–hole peck tool when the overload torque detection signal (skip signal) is detected during drilling. Drilling is resumed after the spindle speed and
  • Page 17513. FUNCTIONS TO SIMPLIFY B–63844EN/02 PROGRAMMING PROGRAMMING Explanations D Component operations of the cycle *Positioning along the X–axis and Y–axis *Positioning at point R along the Z–axis *Drilling along the Z–axis (first drilling, depth of cut Q, incremental) Retraction (bottom of the hole →
  • Page 17613. FUNCTIONS TO SIMPLIFY PROGRAMMING PROGRAMMING B–63844EN/02 D Changing the drilling In a single G83 cycle, drilling conditions are changed for each drilling conditions operation (advance → drilling → retraction). Bits 1 and 2 of parameter OLS, NOL No. 5160 can be specified to suppress the change
  • Page 17713. FUNCTIONS TO SIMPLIFY B–63844EN/02 PROGRAMMING PROGRAMMING D Specifying address I The forward or backward traveling speed can be specified with address I in the same format as address F, as shown below: G83 I1000 ; (without decimal point) G83 I1000. ; (with decimal point) Both commands indicate
  • Page 17813. FUNCTIONS TO SIMPLIFY PROGRAMMING PROGRAMMING B–63844EN/02 Examples N01M03 S___ ; N02Mjj ; N03G83 X_ Y_ Z_ R_ Q_ F_ I_ K_ P_ ; N04X_ Y_ ; : : N10G80 ; N01: Specifies forward spindle rotation and spindle speed. N02: Specifies the M code to execute G83 as the small–hole
  • Page 17913. FUNCTIONS TO SIMPLIFY B–63844EN/02 PROGRAMMING PROGRAMMING Explanations Tapping is performed by rotating the spindle clockwise. When the bottom of the hole has been reached, the spindle is rotated in the reverse direction for retraction. This operation creates threads. Feedrate overrides are ign
  • Page 18013. FUNCTIONS TO SIMPLIFY PROGRAMMING PROGRAMMING B–63844EN/02 13.1.9 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 18113. FUNCTIONS TO SIMPLIFY B–63844EN/02 PROGRAMMING PROGRAMMING Limitations 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 Cancel Do not specify a G co
  • Page 18213. FUNCTIONS TO SIMPLIFY PROGRAMMING PROGRAMMING B–63844EN/02 13.1.10 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 18313. FUNCTIONS TO SIMPLIFY B–63844EN/02 PROGRAMMING PROGRAMMING Limitations 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 Cancel Do not specify a G co
  • Page 18413. FUNCTIONS TO SIMPLIFY PROGRAMMING PROGRAMMING B–63844EN/02 13.1.11 This cycle performs accurate boring. 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 level to poi
  • Page 18513. FUNCTIONS TO SIMPLIFY B–63844EN/02 PROGRAMMING PROGRAMMING 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 ho
  • Page 18613. FUNCTIONS TO SIMPLIFY PROGRAMMING PROGRAMMING B–63844EN/02 13.1.12 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 18713. FUNCTIONS TO SIMPLIFY B–63844EN/02 PROGRAMMING PROGRAMMING Limitations 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 P Specify P in blocks that p
  • Page 18813. FUNCTIONS TO SIMPLIFY PROGRAMMING PROGRAMMING B–63844EN/02 13.1.13 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 18913. FUNCTIONS TO SIMPLIFY B–63844EN/02 PROGRAMMING PROGRAMMING Limitations 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 P Specify P in blocks that p
  • Page 19013. FUNCTIONS TO SIMPLIFY PROGRAMMING PROGRAMMING B–63844EN/02 13.1.14 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. Othe
  • Page 19113. FUNCTIONS TO SIMPLIFY B–63844EN/02 PROGRAMMING PROGRAMMING 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 19213. FUNCTIONS TO SIMPLIFY PROGRAMMING PROGRAMMING B–63844EN/02 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 G92X0Y0Z0; Coordinate setting at reference position N002 G90 G00 Z250.0 T11 M6; Tool change N003 G43 Z0 H
  • Page 19313. FUNCTIONS TO SIMPLIFY B–63844EN/02 PROGRAMMING PROGRAMMING 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 usi
  • Page 19413. FUNCTIONS TO SIMPLIFY PROGRAMMING PROGRAMMING B–63844EN/02 13.2.1 When the spindle motor is controlled in rigid mode as if it were a servo motor, a tapping cycle can be sped up. Rigid Tapping (G84) Format G84 X_ Y_ Z_ R_ P_ F_ K_ ; X_ Y_ : Hole position data Z_ : The distance from point R to the
  • Page 19513. FUNCTIONS TO SIMPLIFY B–63844EN/02 PROGRAMMING PROGRAMMING 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. D Tool length If a tool length compensation (G43, G
  • Page 19613. FUNCTIONS TO SIMPLIFY PROGRAMMING PROGRAMMING B–63844EN/02 Examples Z–axis feedrate 1000 mm/min Spindle speed 1000 min-1 Thread lead 1.0 mm G94 ; Specify a feed–per–minute command. G00 X120.0 Y100.0 ; Positioning M29 S1000 ; Rigid mode specification G84 Z–100.0 R
  • Page 19713. FUNCTIONS TO SIMPLIFY B–63844EN/02 PROGRAMMING PROGRAMMING 13.2.2 When the spindle motor is controlled in rigid mode as if it were a servo motor, tapping cycles can be sped up. Left–handed Rigid Tapping Cycle (G74) Format G74 X_ Y_ Z_ R_ P_ F_ K_ ; X_ Y_ : Hole position data Z_ : The distance fr
  • Page 19813. FUNCTIONS TO SIMPLIFY PROGRAMMING PROGRAMMING B–63844EN/02 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. D Tool length If a tool length offset (G43, G44, or G49)
  • Page 19913. FUNCTIONS TO SIMPLIFY B–63844EN/02 PROGRAMMING PROGRAMMING Examples Z–axis feedrate 1000 mm/min Spindle speed 1000 min-1 Thread lead 1.0 mm G94 ; Specify a feed–per–minute command. G00 X120.0 Y100.0 ; Positioning M29 S1000 ; Rigid mode specification G84 Z–100.0
  • Page 20013. FUNCTIONS TO SIMPLIFY PROGRAMMING PROGRAMMING B–63844EN/02 13.2.3 Tapping a deep hole in rigid tapping mode may be difficult due to chips sticking to the tool or increased cutting resistance. In such cases, the peck Peck Rigid Tapping rigid tapping cycle is useful. Cycle (G84 or G74) In this cyc
  • Page 20113. FUNCTIONS TO SIMPLIFY B–63844EN/02 PROGRAMMING PROGRAMMING 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 retrac
  • Page 20213. FUNCTIONS TO SIMPLIFY PROGRAMMING PROGRAMMING B–63844EN/02 D Cancel Do not specify a group 01 G code (G00 to G03) and G73 in the same block. If they are specified together, G73 is canceled. D Tool offset In the canned cycle mode, tool offsets are ignored. 13.2.4 The rigid tapping canned cycle is
  • Page 20313. FUNCTIONS TO SIMPLIFY B–63844EN/02 PROGRAMMING PROGRAMMING 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 C
  • Page 20413. FUNCTIONS TO SIMPLIFY PROGRAMMING PROGRAMMING B–63844EN/02 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 20513. FUNCTIONS TO SIMPLIFY B–63844EN/02 PROGRAMMING PROGRAMMING Limitations 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 20613. FUNCTIONS TO SIMPLIFY PROGRAMMING PROGRAMMING B–63844EN/02 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 20713. FUNCTIONS TO SIMPLIFY B–63844EN/02 PROGRAMMING PROGRAMMING 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
  • Page 20813. FUNCTIONS TO SIMPLIFY PROGRAMMING PROGRAMMING B–63844EN/02 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–
  • Page 20913. FUNCTIONS TO SIMPLIFY B–63844EN/02 PROGRAMMING PROGRAMMING 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
  • Page 21013. FUNCTIONS TO SIMPLIFY PROGRAMMING PROGRAMMING B–63844EN/02 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 21113. FUNCTIONS TO SIMPLIFY B–63844EN/02 PROGRAMMING PROGRAMMING 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 cle
  • Page 21213. FUNCTIONS TO SIMPLIFY PROGRAMMING PROGRAMMING B–63844EN/02 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 gr
  • Page 21313. FUNCTIONS TO SIMPLIFY B–63844EN/02 PROGRAMMING PROGRAMMING Checking the Minimum Compensation amounts set in offset memory can be modified by using the Grinding Wheel Diameter external tool compensation function or programming (by changing (For Grinding Machine) offsets using custom macro variabl
  • Page 21413. FUNCTIONS TO SIMPLIFY PROGRAMMING PROGRAMMING B–63844EN/02 13.5 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 (FOR GRINDING MACHINE)
  • Page 21513. FUNCTIONS TO SIMPLIFY B–63844EN/02 PROGRAMMING PROGRAMMING 13.6 Chamfering and corner rounding blocks can be inserted automatically between the following: OPTIONAL ANGLE ⋅Between linear interpolation and linear interpolation blocks CHAMFERING AND ⋅Between linear interpolation and circular interp
  • Page 21613. FUNCTIONS TO SIMPLIFY PROGRAMMING PROGRAMMING B–63844EN/02 Examples N001 G92 G90 X0 Y0 ; N002 G00 X10.0 Y10.0 ; N003 G01 X50.0 F10.0 ,C5.0 ; N004 Y25.0 ,R8.0 ; N005 G03 X80.0 Y50.0 R30.0 ,R8.0 ; N006 G01 X50.0 ,R8.0 ; N007 Y70.0 ,C5.0 ; N008 X10.0 ,C5.0 ; N009 Y10.0 ; N010 G00 X0 Y0 ; N011 M0 ;
  • Page 21713. FUNCTIONS TO SIMPLIFY B–63844EN/02 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 cham
  • Page 21813. FUNCTIONS TO SIMPLIFY PROGRAMMING PROGRAMMING B–63844EN/02 13.7 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 Concerning this operation, refer to the ma
  • Page 21913. FUNCTIONS TO SIMPLIFY B–63844EN/02 PROGRAMMING PROGRAMMING 13.8 By specifying indexing positions (angles) for the indexing axis (one rotation axis, A, B, or C), the index table of the machining center can be INDEX TABLE indexed. INDEXING FUNCTION Before and after indexing, the index table is aut
  • Page 22013. FUNCTIONS TO SIMPLIFY PROGRAMMING PROGRAMMING B–63844EN/02 2. Using no miscellaneous functions By setting to bits 2, 3, and 4 of parameter ABS, INC,G90 No.5500, operation can be selected from the following two options. Select the operation by referring to the manual written by the machine tool b
  • Page 22113. FUNCTIONS TO SIMPLIFY B–63844EN/02 PROGRAMMING PROGRAMMING D Indexing function and other functions Table 13.8 Index indexing function and other functions Item Explanation This value is rounded down when bit 1 of parameter REL No. 5500 Relative position display specifies this option. This value i
  • Page 22214. COMPENSATION FUNCTION PROGRAMMING B–63844EN/02 14 COMPENSATION FUNCTION General This chapter describes the following compensation functions: 14.1 TOOL LENGTH OFFSET (G43, G44, G49) 14.2 AUTOMATIC TOOL LENGTH MEASUREMENT (G37) 14.3 TOOL OFFSET (G45–G48) 14.4 OVERVIEW OF CUTTER COMPENSATION C (G40
  • Page 223B–63844EN/02 PROGRAMMING 14. COMPENSATION FUNCTION 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 (G
  • Page 22414. COMPENSATION FUNCTION PROGRAMMING B–63844EN/02 Explanations D Selection of tool length Select tool length offset A, B, or C, by setting bits 0 and 1 of parameter offset TLC,TLB No. 5001. D Direction of the offset When G43 is specified, the tool length offset value (stored in offset memory) speci
  • Page 225B–63844EN/02 PROGRAMMING 14. COMPENSATION FUNCTION (2) Cutter compensation C When the offset numbers for cutter compensation C are specified or modified, the offset number validation order varies, depending on the condition, as described below. D When OFH (bit 2 of parameter No. 5001) = 0 O××××; H01
  • Page 22614. COMPENSATION FUNCTION PROGRAMMING B–63844EN/02 NOTE The tool length offset value corresponding to offset No. 0, that is, H0 always means 0. It is impossible to set any other tool length offset value to H0. D Performing tool length Tool length offset B can be executed along two or more axes when
  • Page 227B–63844EN/02 PROGRAMMING 14. COMPENSATION FUNCTION Examples Tool length offset (in boring holes No.1, 2, and 3) t1 t3 20 30 (6) +Y (13) (9) (1) t2 30 +X 120 30 50 +Z Actual position (2) Programmed 35 3 (12) position (3) (5) (10) 18 (7) (8) 22 offset 30 value (4) (11) ε=4mm 8 ⋅Program H1=–4.0 (Tool l
  • Page 22814. COMPENSATION FUNCTION PROGRAMMING B–63844EN/02 14.1.2 This section describes the tool length offset cancellation and restoration G53, G28, and G30 performed when G53, G28, or G30 is specified in tool length offset mode. Also described is the timing of tool length offset. Commands in Tool Length
  • Page 229B–63844EN/02 PROGRAMMING 14. COMPENSATION FUNCTION NOTE When tool length offset is applied to multiple axes, all specified axes involved in reference position return are subject to cancellation. When tool length offset cancellation is specified at the same time, tool length offset vector cancellatio
  • Page 23014. COMPENSATION FUNCTION PROGRAMMING B–63844EN/02 In tool length offset mode Type EVO (bit 6 of pa- Restoration block rameter No. 5001) 1 Block containing a G43/G44 block A/B 0 Block containing an H command and G43/44 command Ignored Block containing a C G43P_H_/G44P_H_ command WARNING When tool le
  • Page 231B–63844EN/02 PROGRAMMING 14. COMPENSATION FUNCTION 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 measur
  • Page 23214. COMPENSATION FUNCTION PROGRAMMING B–63844EN/02 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 = (Current compensation
  • Page 233B–63844EN/02 PROGRAMMING 14. COMPENSATION FUNCTION 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 23414. COMPENSATION FUNCTION PROGRAMMING B–63844EN/02 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 235B–63844EN/02 PROGRAMMING 14. COMPENSATION FUNCTION 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–G48) Workpiece ÇÇÇ ÇÇÇ
  • Page 23614. COMPENSATION FUNCTION PROGRAMMING B–63844EN/02 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 f
  • Page 237B–63844EN/02 PROGRAMMING 14. COMPENSATION FUNCTION WARNING 1 When G45 to G48 is specified to n axes (n=1–6) 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,
  • Page 23814. COMPENSATION FUNCTION PROGRAMMING B–63844EN/02 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 com
  • Page 239B–63844EN/02 PROGRAMMING 14. COMPENSATION FUNCTION 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 24014. COMPENSATION FUNCTION PROGRAMMING B–63844EN/02 14.4 When the tool is moved, the tool path can be shifted by the radius of the tool (Fig. 14.4 (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 241B–63844EN/02 PROGRAMMING 14. COMPENSATION FUNCTION Format D Start up G00(or G01)G41(or G42) IPP_ D_ ; (Tool compensation start) G41 : Cutter compensation left (Group07) G42 : Cutter compensation right (Group07) IPP_ : Command for axis movement D_ : Code for specifying as the cutter compensation valu
  • Page 24214. COMPENSATION FUNCTION PROGRAMMING B–63844EN/02 D Offset mode cancel In the offset mode, when a block which satisfies any one of the following conditions is executed, the CNC enters the offset cancel mode, and the action of this block is called the offset cancel. 1. G40 has been commanded. 2. 0 h
  • Page 243B–63844EN/02 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
  • Page 24414. COMPENSATION FUNCTION PROGRAMMING B–63844EN/02 D Plane selection and Offset calculation is carried out in the plane determined by G17, G18 and vector G19, (G codes for plane selection). This plane is called the offset plane. Compensation is not executed for the coordinate of a position which is
  • Page 245B–63844EN/02 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 X
  • Page 24614. COMPENSATION FUNCTION PROGRAMMING B–63844EN/02 14.5 This section provides a detailed explanation of the movement of the tool for cutter compensation C outlined in Section 14.4. DETAILS OF CUTTER This section consists of the following subsections: COMPENSATION C 14.5.1 General 14.5.2 Tool Movemen
  • Page 247B–63844EN/02 PROGRAMMING 14. COMPENSATION FUNCTION 14.5.2 When the offset cancel mode is changed to offset mode, the tool moves Tool Movement in as illustrated below (start–up): Start–up Explanations D Tool movement around an inner side of a corner Linear→Linear (180°xα) α Workpiece Programmed path
  • Page 24814. COMPENSATION FUNCTION PROGRAMMING B–63844EN/02 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 SUP (No. 5003#0). an obtuse angle (90°xα<180°) Linear→Linear Start position G42 α Workpiece L Programmed path r S L Too
  • Page 249B–63844EN/02 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 SUP (No.5003#0). angle (α<90°) Linear→Linear Start position G42 L Workpiece α Programmed path r S L Tool center path Type
  • Page 25014. COMPENSATION FUNCTION PROGRAMMING B–63844EN/02 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 Progra
  • Page 251B–63844EN/02 PROGRAMMING 14. COMPENSATION FUNCTION 14.5.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→Cir
  • Page 25214. COMPENSATION FUNCTION PROGRAMMING B–63844EN/02 D Tool movement around the inside (α<1°) with an Intersection abnormally long vector, 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
  • Page 253B–63844EN/02 PROGRAMMING 14. COMPENSATION FUNCTION D Tool movement around the outside corner at an Linear→Linear obtuse angle (90°xα<180°) α 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→Li
  • Page 25414. COMPENSATION FUNCTION PROGRAMMING B–63844EN/02 D Tool movement around the outside corner at an acute angle Linear→Linear (α<90°) L Workpiece r α L Programmed path S r L Tool center path L L Linear→Circular L r α L S r Work- L piece L C Tool center path Programmed path Circular→Linear C S α Workp
  • Page 255B–63844EN/02 PROGRAMMING 14. COMPENSATION FUNCTION D When it is exceptional End position for the arc is not If the end of a line leading to an arc is programmed as the end of the arc on the arc by mistake as illustrated below, the system assumes that cutter compensation has been executed with respec
  • Page 25614. COMPENSATION FUNCTION PROGRAMMING B–63844EN/02 The center of the arc is identiĆ If the center of the arc is identical with the start position or end point, P/S cal with the start position or alarm (No. 038) is displayed, and the tool will stop at the end position of the end position the precedin
  • Page 257B–63844EN/02 PROGRAMMING 14. COMPENSATION FUNCTION Tool center path with an inter- section 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 Program
  • Page 25814. COMPENSATION FUNCTION PROGRAMMING B–63844EN/02 Tool center path without an in- When changing the offset direction in block A to block B using G41 and tersection 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. Linea
  • Page 259B–63844EN/02 PROGRAMMING 14. COMPENSATION FUNCTION The length of tool center path Normally there is almost no possibility of generating this situation. larger than the circumference However, when G41 and G42 are changed, or when a G40 was of a circle commanded with address I, J, and K this situation
  • Page 26014. COMPENSATION FUNCTION PROGRAMMING B–63844EN/02 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 II–14.5.2 and 14.5.4. S
  • Page 261B–63844EN/02 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)
  • Page 26214. COMPENSATION FUNCTION PROGRAMMING B–63844EN/02 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 ; Dwell Commands (1) G10 L11 P01 R10.0
  • Page 263B–63844EN/02 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 26414. COMPENSATION FUNCTION PROGRAMMING B–63844EN/02 N4 G41 G91 G01 X150.0 Y200.‘0 ; P2 P3 P4 P5 N5 X150.0 Y200.0 ; N6 G02 J–600.0 ; N7 G01 X150.0 Y–200.0 ; N8 G40 X150.0 Y–200.0 ; P1 P6 N5 N7 N4 N8 Programmed path Tool center path N6 If the vector is not ignored, the tool path is as follows: P1 → P2
  • Page 265B–63844EN/02 PROGRAMMING 14. COMPENSATION FUNCTION 14.5.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 pat
  • Page 26614. COMPENSATION FUNCTION PROGRAMMING B–63844EN/02 D Tool movement around Tool path has two types, A and B; and they are selected by parameter SUP an outside corner at an (No. 5003#0). obtuse angle (90°xα<180°) Linear→Linear G40 α Workpiece Programmed path L r Tool center path L S Type A Circular→Li
  • Page 267B–63844EN/02 PROGRAMMING 14. COMPENSATION FUNCTION D Tool movement around Tool path has two types, A and B : and they are selected by parameter SUP an outside corner at an (No. 5003#0) acute angle (α<90°) Linear→Linear G40 Workpiece L α Programmed path G42 r Tool center path L S Type A Circular→Line
  • Page 26814. COMPENSATION FUNCTION PROGRAMMING B–63844EN/02 D Tool movement around the outside linear→linear S Tool center path at an acute angle less L than 1 degree (α<1°) 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
  • Page 269B–63844EN/02 PROGRAMMING 14. COMPENSATION FUNCTION D Block containing G40 and I_J_K_ The previous block contains If a G41 or G42 block precedes a block in which G40 and I_, J_, K_ are G41 or G42 specified, the system assumes that the path is programmed as a path from the end position determined by t
  • Page 27014. COMPENSATION FUNCTION PROGRAMMING B–63844EN/02 The length of the tool center In the example shown below, the tool does not trace the circle more than path larger than the circumfer- once. It moves along the arc from P1 to P2. The interference check ence of a circle function described in II–14.5.
  • Page 271B–63844EN/02 PROGRAMMING 14. COMPENSATION FUNCTION 14.5.5 Tool overcutting is called interference. The interference check function Interference Check checks for tool overcutting in advance. However, all interference cannot be checked by this function. The interference check is performed even if over
  • Page 27214. COMPENSATION FUNCTION PROGRAMMING B–63844EN/02 (2) In addition to the condition (1), 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
  • Page 273B–63844EN/02 PROGRAMMING 14. COMPENSATION FUNCTION D Correction of (1) Removal of the vector causing the interference interference in advance When cutter compensation is performed for blocks A, B and C and vectors V1, V2, V3 and V4 between blocks A and B, and V5, V6, V7 and V8 between B and C are pr
  • Page 27414. COMPENSATION FUNCTION PROGRAMMING B–63844EN/02 (Example 2) The tool moves linearly from V1, V2, V7, to V8 V2 V7 V1 V8 Tool center path C V6 V3 C r r A C V5 V4 Programmed path B V4, V5 : Interference V3, V6 : Interference O1 O2 V2, V7 : No Interference (2) If the interference occurs after correct
  • Page 275B–63844EN/02 PROGRAMMING 14. COMPENSATION FUNCTION D When interference is assumed although actual interference does not (1) Depression which is smaller than the cutter compensation value occur Programmed path Tool center path Stopped A C B There is no actual interference, but since the direction pro
  • Page 27614. COMPENSATION FUNCTION PROGRAMMING B–63844EN/02 14.5.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 smalle
  • Page 277B–63844EN/02 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 re
  • Page 27814. COMPENSATION FUNCTION PROGRAMMING B–63844EN/02 The above example should be modified as follows: N1 G91 G00 G41 X500.0 Y500.0 D1 ; N3 G01 Z–250.0 ; N5 G01 Z–50.0 F100 ; N6 Y1000.0 F200 ; Workpiece After compensation ÊÊÊÊÊ N6 ÊÊÊÊÊ ÊÊÊÊÊ ÊÊÊÊÊ N3, N5:Move command for the Z axis (500, 500) N1 The m
  • Page 279B–63844EN/02 PROGRAMMING 14. COMPENSATION FUNCTION 14.5.7 Cutter compensation C is not performed for commands input from the Input Command from MDI. However, when automatic operation using the absolute commands is MDI temporarily stopped by the single block function, MDI operation is performed, then
  • Page 28014. COMPENSATION FUNCTION PROGRAMMING B–63844EN/02 14.5.8 A function has been added which performs positioning by automatically G53,G28,G30 and G29 canceling a cutter compensation vector when G53 is specified in cutter compensation C mode, then automatically restoring that cutter Commands in Cutter
  • Page 281B–63844EN/02 PROGRAMMING 14. COMPENSATION FUNCTION (1) G53 specified in offset mode When CCN (bit 2 of parameter No.5003)=0 Oxxxx; [Type A] Start–up G90G41_ _; r r G53X_Y_; (G41G00) s s G00 G53 G00 s [Type B] Start–up r r s s G00 G53 G00 s When CCN (bit 2 of parameter No.5003)=1 [FS15 Type] r (G41G0
  • Page 28214. COMPENSATION FUNCTION PROGRAMMING B–63844EN/02 When CCN (bit2 of parameter No.5003)=1 [FS15 Type] r s G00 (G91G41G00) s G53 G90G00 (3) G53 specified in offset mode with no movement specified When CCN (bit2 of parameter No.5003)=0 Oxxxx; [Type A] G90G41_ _; r Start–up s G00 G00X20.Y20. ; G00 r G5
  • Page 283B–63844EN/02 PROGRAMMING 14. COMPENSATION FUNCTION WARNING 1 When cutter compensation C mode is set and all–axis machine lock is applied, the G53 command does not perform positioning along the axes to which machine lock is applied. The vector, however, is preserved. When CCN (bit 2 of parameter No.
  • Page 28414. COMPENSATION FUNCTION PROGRAMMING B–63844EN/02 NOTE 1 When a G53 command specifies an axis that is not in the cutter compensation C plane, a perpendicular vector is generated at the end point of the previous block, and the tool does not move. In the next block, offset mode is automatically resum
  • Page 285B–63844EN/02 PROGRAMMING 14. COMPENSATION FUNCTION D G28 or G30 command in When G28 or G30 is specified in cutter compensation C mode, an cutter compensation C operation of FS15 type is performed if CCN (bit 2 of parameter No. 5003) mode is set to 1. This means that an intersection vector is generat
  • Page 28614. COMPENSATION FUNCTION PROGRAMMING B–63844EN/02 (b) For return by G00 When CCN (bit 2 of parameter No. 5003) = 0 Oxxxx; [Type A] G91G41_ _ _; Intermediateposition G28/30 s s s G01 G28X40.Y0 ; r r G00 (G42G01) s Reference position [Type B] Intermediateposition G28/30 s s s G01 r G00 r (G42G01) s R
  • Page 287B–63844EN/02 PROGRAMMING 14. COMPENSATION FUNCTION When CCN (bit 2 of parameter No. 5003) = 1 [FS15 Type] Intermediate position = return position (G42G01) s G01 s r G01 G28/30 G29 Reference position s (b) For return by G00 When CCN (bit 2 of parameter No.5003)=0 Oxxxx; G91G41_ _ _; [Type A] Start–up
  • Page 28814. COMPENSATION FUNCTION PROGRAMMING B–63844EN/02 (3) G28 or G30, specified in offset mode (with movement to a reference position not performed) (a) For return by G29 When CCN (bit 2 of parameter No.5003)=0 Oxxxx; [Type A] G91G41_ _ _; Return position (G42G01) s s G01 r G28/30 r G28X40.Y–40.; G29 G
  • Page 289B–63844EN/02 PROGRAMMING 14. COMPENSATION FUNCTION (4) G28 or G30 specified in offset mode (with no movement performed) (a) For return by G29 When CCN (bit 2 of parameter No.5003)=0 O××××; G91G41_ _ _; [Type A] G28/30/G29 Intersection vector G28X0Y0; (G41G01) r G29X0Y0; s G01 G01 Reference position
  • Page 29014. COMPENSATION FUNCTION PROGRAMMING B–63844EN/02 When CCN (bit 2 of parameter No.5003)=1 [FS15 Type] G28/30 (G41G01) r s G00 Reference position G01 =Intermediateposition WARNING 1 When a G28 or G30 command is specified during all–axis machine lock, a perpendicular offset vector is applied at the i
  • Page 291B–63844EN/02 PROGRAMMING 14. COMPENSATION FUNCTION NOTE 1 When a G28 or G30 command specifies an axis that is not in the cutter compensation C plane, a perpendicular vector is generated at the end point of the previous block, and the tool does not move. In the next block, offset mode is automaticall
  • Page 29214. COMPENSATION FUNCTION PROGRAMMING B–63844EN/02 D G29 command in cutter When G29 is specified in cutter compensation C mode, an operation of compensation C mode FS15 type is performed if CCN (bit 2 of parameter No. 5003) is set to 1. This means that an intersection vector is generated in the prev
  • Page 293B–63844EN/02 PROGRAMMING 14. COMPENSATION FUNCTION (b) For specification made other than immediately after automatic reference position return When CCN (bit 2 of parameter No.5003)=0 O××××; G91G41_ _ _; [Type A] Return position s G01 (G42G01) G29X40.Y40.; Intermediate r position s G29 s Start–up r [
  • Page 29414. COMPENSATION FUNCTION PROGRAMMING B–63844EN/02 When CCN (bit 2 of parameter No.5003)=1 [FS15 Type] Return position (G42G01) s s G01 G28/30 G29 s Reference position r =Intermediateposition (b) For specification made other than immediately after automatic reference position return When CCN (bit 2
  • Page 295B–63844EN/02 PROGRAMMING 14. COMPENSATION FUNCTION (3) G29 specified in offset mode (with movement to a reference position not performed) (a) For specification made immediately after automatic reference position return When CCN (bit 2 of parameter No.5003)=0 O××××; G91G41_ _ _; [Type A] Intermediate
  • Page 29614. COMPENSATION FUNCTION PROGRAMMING B–63844EN/02 (b) For specification made other than immediately after automatic reference position return O××××; G91G41_ _ _; [Type A] (G42G01) s s G01 G29X0Y0; r G29 G01 s Intermediateposition =Return position [Type B] (G42G01) s s G01 G29 G01 s Intermediate pos
  • Page 297B–63844EN/02 PROGRAMMING 14. COMPENSATION FUNCTION (4) G29 specified in offset mode (with movement to an intermediate position and reference position not performed) (a) For specification made immediately after automatic reference position return When CCN (bit 2 of parameter No.5003)=0 O××××; G91G41_
  • Page 29814. COMPENSATION FUNCTION PROGRAMMING B–63844EN/02 (b) For specification made other than immediately after automatic reference position return When CCN (bit 2 of parameter No.5003)=0 O××××; G91G41_ _ _; [Type A] G29 s G29X0Y0; G01 (G41G01) r G01 s Intermediate position=return position [Type B] G29 s
  • Page 299B–63844EN/02 PROGRAMMING 14. COMPENSATION FUNCTION 14.5.9 By specifying G39 in offset mode during cutter compensation C, corner Corner Circular circular interpolation can be performed. The radius of the corner circular interpolation equals the compensation value. Interpolation (G39) Format In offset
  • Page 30014. COMPENSATION FUNCTION PROGRAMMING B–63844EN/02 Examples D G39 without I, J, or K . . X axis . . (In offset mode) N1 Y10.0 ; N2 G39 ; Y axis N3 X-10.0 ; . . . . Block N1 Offset vector Block N2 (0.0, 10.0) Block N3 Programmed path Tool center path (–10.0, 10.0) D G39 with I, J, and K . . X axis .
  • Page 301B–63844EN/02 PROGRAMMING 14. COMPENSATION FUNCTION 14.6 Tool compensation values include tool geometry compensation values and tool wear compensation (Fig. 14.6 (a)). TOOL COMPENSA– TION VALUES, NUMBER OF ÇÇ Reference position COMPENSATION VALUES, AND ÇÇ OFSG ÇÇ ÇÇ ENTERING VALUES FROM THE OFSW OFSG
  • Page 30214. COMPENSATION FUNCTION PROGRAMMING B–63844EN/02 D Tool compensation Tool compensation memory C can be used. memory and the tool The tool compensation values are as following that are entered (set) (Table compensation value to 14.6 (b)). be entered Table 14.6 (b) Setting contents tool compensation
  • Page 303B–63844EN/02 PROGRAMMING 14. COMPENSATION FUNCTION 14.7 A programmed figure can be magnified or reduced (scaling). The dimensions specified with X_, Y_, and Z_ can each be scaled up or SCALING down with the same or different rates of magnification. (G50, G51) The magnification rate can be specified
  • Page 30414. COMPENSATION FUNCTION PROGRAMMING B–63844EN/02 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 SCR (No. 5400#7) which value is selected. Then, same rate of set parameter SCLx (No.5401#0) that
  • Page 305B–63844EN/02 PROGRAMMING 14. COMPENSATION FUNCTION 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 w
  • Page 30614. COMPENSATION FUNCTION PROGRAMMING B–63844EN/02 D Tool compensation This scaling is not applicable to cutter compensation values, tool length offset values, and tool offset values (Fig. 14.7 (e)). Programmed figure Scaled figure Cutter compensation values are not scaled. Fig. 14.7 (e) Scaling dur
  • Page 307B–63844EN/02 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. (2)Cutter compensation C .
  • Page 30814. COMPENSATION FUNCTION PROGRAMMING B–63844EN/02 14.8 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 pos
  • Page 309B–63844EN/02 PROGRAMMING 14. COMPENSATION FUNCTION X Angle of rotation R (incremental value) Center of Angle of rotation (absolute value) rotation (α, β) Z Fig. 14.8 (b) Coordinate system rotation NOTE When a decimal fraction is used to specify angular displacement (R_), the 1’s digit corresponds to
  • Page 31014. COMPENSATION FUNCTION PROGRAMMING B–63844EN/02 Limitations D Commands related to In coordinate system rotation mode, G codes related to reference position reference position return return (G27, G28, G29, G30, etc.) and those for changing the coordinate and the coordinate system (G52 to G59, G92,
  • Page 311B–63844EN/02 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 compensa- tion C. N1 G92 X0 Y0 G69 G01 ; N2 G42 G90 X1000
  • Page 31214. COMPENSATION FUNCTION PROGRAMMING B–63844EN/02 2. When the system is in cutter compensation model C, specify the commands in the following order (Fig. 14.8 (e)) : (cutter compensation C cancel) G51 ; scaling mode start G68 ; coordinate system rotation start : G41 ; cutter compensation C mode sta
  • Page 313B–63844EN/02 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 RIN bit (bit 0 of parameter 5400) is set to 1. The specified angular di
  • Page 31414. COMPENSATION FUNCTION PROGRAMMING B–63844EN/02 14.9 When a tool with a rotation axis (C–axis) is moved in the XY plane during cutting, the normal direction control function can control the tool so that NORMAL DIRECTION the C–axis is always perpendicular to the tool path (Fig. 14.9 (a)). CONTROL
  • Page 315B–63844EN/02 PROGRAMMING 14. COMPENSATION FUNCTION Cutter center path Cutter center path Programmed path Center of the arc Programmed path Fig. 14.9 (b) Normal direction control left (G41.1) Fig. 14.9 (c) Normal direction control right (G42.1) Explanations D Angle of the C axis When viewed from the
  • Page 31614. COMPENSATION FUNCTION PROGRAMMING B–63844EN/02 Cutter center path S N1 S : Single block stop point Programmed path N2 S N3 S Fig. 14.9 (e) Point at which a Single–Block Stop Occurs in the Normal Direction Control Mode Before circular interpolation is started, the C–axis is rotated so that the C–
  • Page 317B–63844EN/02 PROGRAMMING 14. COMPENSATION FUNCTION D C axis feedrate Movement of the tool inserted at the beginning of each block is executed at the feedrate set in parameter 5481. 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–axes
  • Page 31814. COMPENSATION FUNCTION PROGRAMMING B–63844EN/02 D Movement for which arc Specify the maximum distance for which machining is performed with insertion is ignored the same normal direction as that of the preceding block. D Linear movement When distance N2, shown below, is smaller than the set value
  • Page 319B–63844EN/02 PROGRAMMING 14. COMPENSATION FUNCTION 14.10 A mirror image of a programmed command can be produced with respect to a programmed axis of symmetry (Fig. 14.10). PROGRAMMABLE MIRROR IMAGE Y Axis of symmetry (X=50) (G50.1, G51.1) (2) (1) 100 60 Axis of symmetry 50 (Y=50) 40 0 (3) (4) 0 40 5
  • Page 32014. COMPENSATION FUNCTION PROGRAMMING B–63844EN/02 Explanations D Mirror image by setting If the programmable mirror image function is specified when the command for producing a mirror image is also selected by a CNC external switch or CNC setting (see III–4.8), the programmable mirror image functio
  • Page 321B–63844EN/02 PROGRAMMING 15. CUSTOM MACRO 15 CUSTOM MACRO Although subprograms are useful for repeating the same operation, the custom macro function also allows use of variables, arithmetic and logic operations, and conditional branches for easy development of general programs such as pocketing and
  • Page 32215. CUSTOM MACRO PROGRAMMING B–63844EN/02 15.1 An ordinary machining program specifies a G code and the travel distance directly with a numeric value; examples are G00 and X100.0. VARIABLES With a custom macro, numeric values can be specified directly or using a variable number. When a variable numb
  • Page 323B–63844EN/02 PROGRAMMING 15. CUSTOM MACRO D Omission of the decimal When a variable value is defined in a program, the decimal point can be point omitted. Example: When #1=123; is defined, the actual value of variable #1 is 123.000. D Referencing variables To reference the value of a variable in a p
  • Page 32415. CUSTOM MACRO PROGRAMMING B–63844EN/02 (c) Conditional expressions < vacant > differs from 0 only for EQ and NE. When #1 = < vacant > When #1 = 0 #1 EQ #0 #1 EQ #0 # # Established Not established #1 NE 0 #1 NE 0 # # Established Not established #1 GE #0 #1 GE #0 # # Established Established #1 GT 0
  • Page 325B–63844EN/02 PROGRAMMING 15. CUSTOM MACRO 15.2 System variables can be used to read and write internal NC data such as tool compensation values and current position data. Note, however, that SYSTEM VARIABLES some system variables can only be read. System variables are essential for automation and ge
  • Page 32615. CUSTOM MACRO PROGRAMMING B–63844EN/02 D Macro alarms Table 15.2 (c) System variable for macro alarms Variable Function number #3000 When a value from 0 to 200 is assigned to variable #3000, the CNC stops with an alarm. After an expression, an alarm message not longer than 26 characters can be de
  • Page 327B–63844EN/02 PROGRAMMING 15. CUSTOM MACRO D Automatic operation The control state of automatic operation can be changed. control Table 15.2 (e) System variable (#3003) for automatic operation control #3003 Single block Completion of an auxiliary function 0 Enabled To be awaited 1 Disabled To be awai
  • Page 32815. CUSTOM MACRO PROGRAMMING B–63844EN/02 S When exact stop check is disabled, no exact stop check (position check) is made even in blocks including those which do not perform cutting. O0001 ; N1 G00 G91 X#24 Y#25 ; N2 Z#18 ; G04 ; N3 #3003=3 ; N1 N8, N9, N4 #3004=7 ; N10 N5 G01 Z#26 F#9 ; N2 N6 M04
  • Page 329B–63844EN/02 PROGRAMMING 15. CUSTOM MACRO S When mirror–image signals for axes other than the controlled axes are turned on, they are still read into system variable #3007. S System variable #3007 is a write–protected system variable. If an attempt is made to write data in the variable, P/S 116 alar
  • Page 33015. CUSTOM MACRO PROGRAMMING B–63844EN/02 Example: When #1=#4002; is executed, the resulting value in #1 is 17, 18, or 19. If the specified system variable for reading modal information corresponds to a G code group which cannot be used, a P/S alarm is issued. D Current position Position information
  • Page 331B–63844EN/02 PROGRAMMING 15. CUSTOM MACRO D Workpiece coordinate Workpiece zero point offset values can be read and written. system compensation Table 15.2 (j) System variables for workpiece zero point offset values values (workpiece zero point offset values) Variable Function number #5201 First–axi
  • Page 33215. CUSTOM MACRO PROGRAMMING B–63844EN/02 The following variables can also be used: Axis Function Variable number First axis External workpiece zero point offset #2500 #5201 G54 workpiece zero point offset #2501 #5221 G55 workpiece zero point offset #2502 #5241 G56 workpiece zero point offset #2503
  • Page 333B–63844EN/02 PROGRAMMING 15. CUSTOM MACRO 15.3 The operations listed in Table 15.3 (a) can be performed on variables. The expression to the right of the operator can contain constants and/or ARITHMETIC AND variables combined by a function or operator. Variables #j and #K in an LOGIC OPERATION expres
  • Page 33415. CUSTOM MACRO PROGRAMMING B–63844EN/02 D ARCTAN #i = S Specify the lengths of two sides, separated by a slash (/). ATAN[#j]/[#k]; S The solution ranges are as follows: When the NAT bit (bit 0 of parameter 6004) is set to 0: 0o to 360_ [Example] When #1 = ATAN[–1]/[–1]; is specified, #1 is 225.0.
  • Page 335B–63844EN/02 PROGRAMMING 15. CUSTOM MACRO D Rounding up and down With CNC, when the absolute value of the integer produced by an to an integer operation on a number is greater than the absolute value of the original number, such an operation is referred to as rounding up to an integer. Conversely, w
  • Page 33615. CUSTOM MACRO PROGRAMMING B–63844EN/02 Limitations D Brackets Brackets ([, ]) are used to enclose an expression. Note that parentheses are used for comments. D Operation error Errors may occur when operations are performed. Table 15.3 (b) Errors involved in operations Operation Average Maximum Ty
  • Page 337B–63844EN/02 PROGRAMMING 15. CUSTOM MACRO S Also be aware of errors that can result from conditional expressions using EQ, NE, GE, GT, LE, and LT. Example: IF[#1 EQ #2] is effected by errors in both #1 and #2, possibly resulting in an incorrect decision. Therefore, instead find the difference betwee
  • Page 33815. CUSTOM MACRO PROGRAMMING B–63844EN/02 15.4 The following blocks are referred to as macro statements: S Blocks containing an arithmetic or logic operation (=) MACRO S Blocks containing a control statement (such as GOTO, DO, END) STATEMENTS AND S Blocks containing a macro call command (such as mac
  • Page 339B–63844EN/02 PROGRAMMING 15. CUSTOM MACRO 15.5 In a program, the flow of control can be changed using the GOTO statement and IF statement. Three types of branch and repetition BRANCH AND operations are used: REPETITION Branch and repetition GOTO statement (unconditional branch) IF statement (conditi
  • Page 34015. CUSTOM MACRO PROGRAMMING B–63844EN/02 15.5.2 Specify a conditional expression after IF. Conditional Branch (IF Statement) IF[]GOTOn number n occurs. If the specified condition is not satisfied, the
  • Page 341B–63844EN/02 PROGRAMMING 15. CUSTOM MACRO Sample program The sample program below finds the total of numbers 1 to 10. O9500; #1=0; . . . . . . . . . . . . . . . . . . . Initial value of the variable to hold the sum #2=1; . . . . . . . . . . . . . . . . . . . Initial value of the variable as an adden
  • Page 34215. CUSTOM MACRO PROGRAMMING B–63844EN/02 D Nesting The identification numbers (1 to 3) in a DO–END loop can be used as many times as desired. Note, however, when a program includes crossing repetition loops (overlapped DO ranges), P/S alarm No. 124 occurs. 1. The identification numbers 3. DO loops
  • Page 343B–63844EN/02 PROGRAMMING 15. CUSTOM MACRO Sample program The sample program below finds the total of numbers 1 to 10. O0001; #1=0; #2=1; WHILE[#2 LE 10]DO 1; #1=#1+#2; #2=#2+1; END 1; M30; 319
  • Page 34415. CUSTOM MACRO PROGRAMMING B–63844EN/02 15.6 A macro program can be called using the following methods: MACRO CALL Macro call Simple call (G65) modal call (G66, G67) Macro call with G code Macro call with M code Subprogram call with M code Subprogram call with T code Limitations D Differences betw
  • Page 345B–63844EN/02 PROGRAMMING 15. CUSTOM MACRO 15.6.1 When G65 is specified, the custom macro specified at address P is called. Simple Call (G65) Data (argument) can be passed to the custom macro program. G65 P p L ȏ ; P : Number of the program to call ȏ : Repetition count (1 by
  • Page 34615. CUSTOM MACRO PROGRAMMING B–63844EN/02 Argument specification II Argument specification II uses A, B, and C once each and uses I, J, and K up to ten times. Argument specification II is used to pass values such as three–dimensional coordinates as arguments. Address Variable Address Variable Addres
  • Page 347B–63844EN/02 PROGRAMMING 15. CUSTOM MACRO S The level of the main program is 0. S Each time a macro is called (with G65 or G66), the local variable level is incremented by one. The values of the local variables at the previous level are saved in the CNC. S When M99 is executed in a macro program, co
  • Page 34815. CUSTOM MACRO PROGRAMMING B–63844EN/02 D Calling format G65 P9100 X x Y y Z z R r F f I i A a B b H h ; X: X coordinate of the center of the circle (absolute or incremental specification) . . . . . . . . . . . . . . . . . (#24) Y: Y coordinate of the center of the circle (absolute or incremental
  • Page 349B–63844EN/02 PROGRAMMING 15. CUSTOM MACRO 15.6.2 Once G66 is issued to specify a modal call a macro is called after a block Modal Call (G66) specifying movement along axes is executed. This continues until G67 is issued to cancel a modal call. G66 P p L ȏ ; P : Number of the
  • Page 35015. CUSTOM MACRO PROGRAMMING B–63844EN/02 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 351B–63844EN/02 PROGRAMMING 15. CUSTOM MACRO 15.6.3 By setting a G code number used to call a macro program in a parameter, Macro Call Using the macro program can be called in the same way as for a simple call (G65). G Code O0001 ; O9010 ; : : G81 X10.0 Y20.0 Z–10.0 ; : : : M30 ; N9 M99 ; Parameter No.
  • Page 35215. CUSTOM MACRO PROGRAMMING B–63844EN/02 15.6.4 By setting an M code number used to call a macro program in a parameter, Macro Call Using the macro program can be called in the same way as with a simple call (G65). an M Code O0001 ; O9020 ; : : M50 A1.0 B2.0 ; : : : M30 ; M99 ; Parameter No.6080 =
  • Page 353B–63844EN/02 PROGRAMMING 15. CUSTOM MACRO 15.6.5 By setting an M code number used to call a subprogram (macro program) Subprogram Call in a parameter, the macro program can be called in the same way as with a subprogram call (M98). Using an M Code O0001 ; O9001 ; : : M03 ; : : : M30 ; M99 ; Paramete
  • Page 35415. CUSTOM MACRO PROGRAMMING B–63844EN/02 15.6.6 By enabling subprograms (macro program) to be called with a T code in Subprogram Calls a parameter, a macro program can be called each time the T code is specified in the machining program. Using a T Code O0001 ; O9000 ; : : T23 ; : : : M30 ; M99 ; Bi
  • Page 355B–63844EN/02 PROGRAMMING 15. CUSTOM MACRO 15.6.7 By using the subprogram call function that uses M codes, the cumulative Sample Program usage time of each tool is measured. Conditions S The cumulative usage time of each of tools T01 to T05 is measured. No measurement is made for tools with numbers g
  • Page 35615. CUSTOM MACRO PROGRAMMING B–63844EN/02 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 357B–63844EN/02 PROGRAMMING 15. CUSTOM MACRO 15.7 For smooth machining, the CNC prereads the NC statement to be performed next. This operation is referred to as buffering. During AI PROCESSING advanced preview control mode, the CNC prereads not only the next MACRO block but also the multiple blocks. An
  • Page 35815. CUSTOM MACRO PROGRAMMING B–63844EN/02 D Buffering the next block in other than cutter > N1 X100.0 ; N1 N4 compensation mode NC statement (G41, G42) (normally N2 #1=100 ; execution N3 #2=200 ; prereading one block) N4 Y200.0 ; N2 N3 : Macro statement execution N4 Buffer > : Block being executed j
  • Page 359B–63844EN/02 PROGRAMMING 15. CUSTOM MACRO D When the next block involves no movement in > N1 G01 G41 X100.0 G100 Dd ; cutter compensation C (G41, G42) mode N2 #1=100 ; > : Block being executed N3 Y100.0 ; j : Blocks read into the buffer N4 #2=200 ; N5 M08 ; N6 #3=300 ; N7 X200.0 ; : N1 N3 NC stateme
  • Page 36015. CUSTOM MACRO PROGRAMMING B–63844EN/02 Table 15.7.2 (a) Meaning Read Number of Note Write Variable (In case not to command M code preventing buffering or G53 block.) Program stop Write #3006 Program stops at with maximum 2 blocks message before a macro program. Time informa- Read #3001,#3002 The
  • Page 361B–63844EN/02 PROGRAMMING 15. CUSTOM MACRO Example) O0001 O2000 N1 X10.Y10.; (Mxx ;) Specify preventing buffering M code or G53 N2 M98P2000; N100 #1=#5041; (Reading X axis current position) N3 Y200.0; N101 #2=#5042; (Reading Y axis current position) : : M99; In above case, the buffering of N2 block i
  • Page 36215. CUSTOM MACRO PROGRAMMING B–63844EN/02 15.8 Custom macro programs are similar to subprograms. They can be registered and edited in the same way as subprograms. The storage REGISTERING capacity is determined by the total length of tape used to store both custom CUSTOM MACRO macros and subprograms.
  • Page 363B–63844EN/02 PROGRAMMING 15. CUSTOM MACRO 15.9 LIMITATIONS D MDI operation The macro call command can be specified in MDI mode. During automatic operation, however, it is impossible to switch to the MDI mode for a macro program call. D Sequence number A custom macro program cannot be searched for a
  • Page 36415. CUSTOM MACRO PROGRAMMING B–63844EN/02 15.10 In addition to the standard custom macro commands, the following macro commands are available. They are referred to as external output EXTERNAL OUTPUT commands. COMMANDS – BPRNT – DPRNT – POPEN – PCLOS These commands are provided to output variable val
  • Page 365B–63844EN/02 PROGRAMMING 15. CUSTOM MACRO Example ) BPRNT [ C** X#100 [3] Y#101 [3] M#10 [0] ] Variable value #100=0.40956 #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 Num
  • Page 36615. CUSTOM MACRO PROGRAMMING B–63844EN/02 Example ) DPRNT [ X#2 [53] Y#5 [53] T#30 [20] ] Variable value #2=128.47398 #5=–91.2 #30=123.456 (1) Parameter PRT(No.6001#1)=0 LF T sp 23 Y – sp sp sp 91200 X sp sp sp 128474 (2) Parameter PRT(No.6001#1)=0 LF T23 Y–91.200 X128.474 D Close command PCLOS PCLO
  • Page 367B–63844EN/02 PROGRAMMING 15. CUSTOM MACRO NOTE 1 It is not necessary to always specify the open command (POPEN), data output command (BPRNT, DPRNT), and close command (PCLOS) together. Once an open command is specified at the beginning of a program, it does not need to be specified again except afte
  • Page 36815. CUSTOM MACRO PROGRAMMING B–63844EN/02 15.11 When a program is being executed, another program can be called by inputting an interrupt signal (UINT) from the machine. This function is INTERRUPTION TYPE referred to as an interruption type custom macro function. Program an CUSTOM MACRO interrupt co
  • Page 369B–63844EN/02 PROGRAMMING 15. CUSTOM MACRO CAUTION When the interrupt signal (UINT, marked by * in Fig. 15.11) is input after M97 is specified, it is ignored. And the interrupt signal must not be input during execution of the interrupt program. 15.11.1 Specification Method Explanations D Interrupt co
  • Page 37015. CUSTOM MACRO PROGRAMMING B–63844EN/02 NOTE For the status–triggered and edge–triggered schemes, see Item “Custom macro interrupt signal (UINT)” of II– 15.11.2. 15.11.2 Details of Functions Explanations D Subprogram–type There are two types of custom macro interrupts: Subprogram–type interrupt an
  • Page 371B–63844EN/02 PROGRAMMING 15. CUSTOM MACRO 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 is executed. middle of a block) (ii) If there are NC statements in the in
  • Page 37215. CUSTOM MACRO PROGRAMMING B–63844EN/02 D Conditions for enabling The interrupt signal becomes valid after execution starts of a block that and disabling the custom contains M96 for enabling custom macro interrupts. The signal becomes macro interrupt signal invalid when execution starts of a block
  • Page 373B–63844EN/02 PROGRAMMING 15. CUSTOM MACRO D Custom macro interrupt There are two schemes for custom macro interrupt signal (UINT) input: signal (UINT) The status–triggered scheme and edge– triggered scheme. When the status–triggered scheme is used, the signal is valid when it is on. When the edge tr
  • Page 37415. CUSTOM MACRO PROGRAMMING B–63844EN/02 D Return from a custom To return control from a custom macro interrupt to the interrupted macro interrupt program, specify M99. A sequence number in the interrupted program can also be specified using address P. If this is specified, the program is searched
  • Page 375B–63844EN/02 PROGRAMMING 15. CUSTOM MACRO 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 basic
  • Page 37615. CUSTOM MACRO PROGRAMMING B–63844EN/02 (2) After control is returned to the interrupted program, modal information is specified again as necessary. O∆∆∆∆ M96Pxxx Oxxx; Interrupt signal (UINT) Modify modal information (Without P specification) Modal information remains M99(Pffff); unchanged before
  • Page 377B–63844EN/02 PROGRAMMING 15. CUSTOM MACRO D Custom macro interrupt When the interrupt signal (UINT) is input and an interrupt program is and custom macro called, the custom macro modal call is canceled (G67). However, when modal call G66 is specified in the interrupt program, the custom macro modal
  • Page 37816. PATTERN DATA INPUT FUNCTION PROGRAMMING B–63844EN/02 16 PATTERN DATA INPUT FUNCTION This function enables users to perform programming simply by extracting numeric data (pattern data) from a drawing and specifying the numerical values from the MDI panel. This eliminates the need for programming
  • Page 37916. PATTERN DATA INPUT B–63844EN/02 PROGRAMMING FUNCTION 16.1 Pressing the OFFSET SETTING key and [MENU] is displayed on the following DISPLAYING THE pattern menu screen. PATTERN MENU MENU : HOLE PATTERN O0000 N00000 1. BOLT HOLE 2. GRID 3. LINE ANGLE 4. TAPPING 5. DRILLING 6. BORING 7. POCKET 8. PE
  • Page 38016. PATTERN DATA INPUT FUNCTION PROGRAMMING B–63844EN/02 D Macro commands Menu title : C1 C2 C3 C4 C5 C6 C7 C8 C9C10 C11 C12 specifying the menu C1,C2, ,C12 : Characters in the menu title (12 characters) title Macro instruction G65 H90 Pp Qq Rr Ii Jj Kk : H90:Specifies the menu title p : Assume a1 a
  • Page 38116. PATTERN DATA INPUT B–63844EN/02 PROGRAMMING FUNCTION D Macro instruction Pattern name: C1 C2 C3 C4 C5 C6 C7 C8 C9C10 describing the pattern C1, C2, ,C10: Characters in the pattern name (10 characters) name Macro instruction G65 H91 Pn Qq Rr Ii Jj Kk ; H91: Specifies the menu title n : Specifies
  • Page 38216. PATTERN DATA INPUT FUNCTION PROGRAMMING B–63844EN/02 Example Custom macros for the menu title and hole pattern names. MENU : HOLE PATTERN O0000 N00000 1. BOLT HOLE 2. GRID 3. LINE ANGLE 4. TAPPING 5. DRILLING 6. BORING 7. POCKET 8. PECK 9. TEST PATRN 10. BACK > _ MDI **** *** *** 16:05:59 [ MACR
  • Page 38316. PATTERN DATA INPUT B–63844EN/02 PROGRAMMING FUNCTION 16.2 When a pattern menu is selected, the necessary pattern data is displayed. PATTERN DATA DISPLAY VAR. : BOLT HOLE O0001 N00000 NO. NAME DATA COMMENT 500 TOOL 0.000 501 STANDARD X 0.000 *BOLT HOLE 502 STANDARD Y 0.000 CIRCLE* 503 RADIUS 0.00
  • Page 38416. PATTERN DATA INPUT FUNCTION PROGRAMMING B–63844EN/02 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 Pp Qq Rr Ii Jj Kk ; H92 : Specifies
  • Page 38516. PATTERN DATA INPUT B–63844EN/02 PROGRAMMING FUNCTION D Macro instruction to One comment line: C1 C2 C3 C4 C5 C6 C7 C8 C9 C10 C11 C12 describe a comment C1, C2,…, C12 : Character string in one comment line (12 characters) Macro instruction G65 H94 Pp Qq Rr Ii Jj Kk ; H94 : Specifies the comment p
  • Page 38616. PATTERN DATA INPUT FUNCTION PROGRAMMING B–63844EN/02 Examples Macro instruction to describe a parameter title , the variable name, and a comment. VAR. : BOLT HOLE O0001 N00000 NO. NAME DATA COMMENT 500 TOOL 0.000 501 STANDARD X 0.000 *BOLT HOLE 502 STANDARD Y 0.000 CIRCLE* 503 RADIUS 0.000 SET P
  • Page 38716. PATTERN DATA INPUT B–63844EN/02 PROGRAMMING FUNCTION 16.3 CHARACTERS AND Table. 16.3 (a) Characters and codes to be used for the pattern data input function CODES TO BE USED Char- Char- Code Comment Code Comment FOR THE PATTERN acter acter A 065 6 054 DATA INPUT B 066 7 055 FUNCTION C 067 8 056
  • Page 38816. PATTERN DATA INPUT FUNCTION PROGRAMMING B–63844EN/02 Table 16.3 (b) Numbers of subprograms employed in the pattern data input function Subprogram No. Function O9500 Specifies character strings displayed on the pattern data menu. O9501 Specifies a character string of the pattern data correspondin
  • Page 38917. PROGRAMMABLE PARAMETER B–63844EN/02 PROGRAMMING ENTRY (G10) 17 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 39017. PROGRAMMABLE PARAMETER ENTRY (G10) PROGRAMMING B–63844EN/02 Examples 1. Set bit 2 (SBP) of bit type parameter No. 3404 G10L50 ; Parameter entry mode N3404 R 00000100 ; SBP setting G11 ; cancel parameter entry mode 2. Change the values for the Z–axis (3rd axis) and A–axis (4th axis) in axis type
  • Page 39118. MEMORY OPERATION USING B–63844EN/02 PROGRAMMING FS10/11 TAPE FORMAT 18 MEMORY OPERATION USING FS10/11 TAPE FORMAT General Memory operation of the program registered by FS10/11 tape format is possible with setting of the setting parameter (No. 0001#1). Explanations Data formats for cutter compens
  • Page 39219. HIGH SPEED CUTTING FUNCTIONS PROGRAMMING B–63844EN/02 19 HIGH SPEED CUTTING FUNCTIONS 368
  • Page 39319. HIGH SPEED CUTTING B–63844EN/02 PROGRAMMING FUNCTIONS 19.1 When an arc is cut at a high speed in circular interpolation, a radial error exists between the actual tool path and the programmed arc. An FEEDRATE approximation of this error can be obtained from the following CLAMPING BY ARC expressio
  • Page 39419. HIGH SPEED CUTTING FUNCTIONS PROGRAMMING B–63844EN/02 19.2 This function is designed for high–speed precise machining. With this function, the delay due to acceleration/deceleration and the delay in the ADVANCED PREVIEW servo system which increase as the feedrate becomes higher can be CONTROL (G
  • Page 39519. HIGH SPEED CUTTING B–63844EN/02 PROGRAMMING FUNCTIONS ⋅ External deceleration ⋅ Simple synchronous control ⋅ Sequence number comparison and stop ⋅ Position switch (Bit 3 (PSF) of parameter No. 6901 can be set to also use this function in the advanced preview control mode. Setting this parameter
  • Page 39619. HIGH SPEED CUTTING FUNCTIONS PROGRAMMING B–63844EN/02 19.3 AI ADVANCED PREVIEW CONTROL FUNCTION/ AI CONTOUR CONTROL FUNCTION Overview The AI advanced preview control/AI contour control function is provided for high–speed, high–precision machining. This function enables suppression of acceleratio
  • Page 39719. HIGH SPEED CUTTING B–63844EN/02 PROGRAMMING FUNCTIONS D Functions valid in the AI The functions listed below are valid in the AI advanced preview advanced preview control/AI contour control mode: control/AI contour control mode ⋅ Look–ahead linear acceleration/deceleration before interpolation ⋅
  • Page 39819. HIGH SPEED CUTTING FUNCTIONS PROGRAMMING B–63844EN/02 (Example of deceleration) Deceleration is started in a prior block so that the feedrate specified for the target block is reached at the execution. Feedrate Specified feedrate Point1 Feedrate determined by F3 acceleration/deceleration beforei
  • Page 39919. HIGH SPEED CUTTING B–63844EN/02 PROGRAMMING FUNCTIONS D Look–ahead bell–shaped Linear acceleration/deceleration before interpolation for cutting feed in acceleration/deceleration the AI advanced preview control/AI contour control mode can be changed before interpolation to bell–shaped accelerati
  • Page 40019. HIGH SPEED CUTTING FUNCTIONS PROGRAMMING B–63844EN/02 When the feedrate is changed, deceleration and acceleration are performed as follows: For deceleration: Bell–shaped deceleration is started in the preceding block so that deceleration terminates by the beginning of the block in which the feed
  • Page 40119. HIGH SPEED CUTTING B–63844EN/02 PROGRAMMING FUNCTIONS N1 G01 G91 X100. F1000 ; N2 Y100. ; N2 Tool path when deceleration is not performed at the corner Tool path when deceleration is performed at the corner N1 Feedrate When deceleration is not performed Feedrate along the X–axis F1000 at the cor
  • Page 40219. HIGH SPEED CUTTING FUNCTIONS PROGRAMMING B–63844EN/02 D Feedrate clamping by When continuous minute straight lines form curves as shown in the acceleration example in the figure below, the feedrate difference for each axis at each corner is not so large. For this reason, deceleration according t
  • Page 40319. HIGH SPEED CUTTING B–63844EN/02 PROGRAMMING FUNCTIONS N1 N5 N9 N1 N5 N9 D Feedrate clamping by The maximum allowable feedrate v for an arc of radius r specified in a arc radius program is calculated using the arc radius R and maximum allowable feedrate V (setting of a parameter) for the radius a
  • Page 40419. HIGH SPEED CUTTING FUNCTIONS PROGRAMMING B–63844EN/02 D Rapid traverse By setting the corresponding parameter, the linear or non–linear interpolation type can be selected. (In the AI nano contour control mode, the non–linear interpolation type cannot be selected.) When the linear interpolation t
  • Page 40519. HIGH SPEED CUTTING B–63844EN/02 PROGRAMMING FUNCTIONS Feedrate Linear acceleration/ deceleration Bell–shapedacceleration/ deceleration ta Depends on the linear acceleration. tb Time constant for bell–shaped acceleration/deceleration tc Bell–shapedacceleration/ deceleration time tc = ta + tb The
  • Page 40619. HIGH SPEED CUTTING FUNCTIONS PROGRAMMING B–63844EN/02 When the non–linear interpolation type is selected, movement is performed at the feedrate set in parameter No. 1420 with acceleration/deceleration set in parameter No. 1620. The corresponding value can be set in parameter No. 1621 to select b
  • Page 40719. HIGH SPEED CUTTING B–63844EN/02 PROGRAMMING FUNCTIONS (4) Parameters related to feedrate clamping by arc radius Parameter number Ad- Parameter vanced AI Normal preview contour control Arc radius corresponding to the upper fee- 1731 drate limit Upper feedrate limit at arc radius R 1730 Lower clam
  • Page 40819. HIGH SPEED CUTTING FUNCTIONS PROGRAMMING B–63844EN/02 Alarms Num- Message Description ber 5110 IMPROPER G CODE An unspecifiable G code was specified in (G05.1 Q1 MODE) the AI advanced preview control/AI con- tour control mode. 5111 IMPROPER MODAL An unavailable modal G code was found G CODE when
  • Page 40919. HIGH SPEED CUTTING B–63844EN/02 PROGRAMMING FUNCTIONS D Specifications Axis control f : Can be specified. : Cannot be specified. Name Function Number of controlled axes 3 to 4 Number of simultaneously con- Up to 4 trolled axes Axis name The basic three axes are fixed to X, Y, and Z. Other axes a
  • Page 41019. HIGH SPEED CUTTING FUNCTIONS PROGRAMMING B–63844EN/02 Name Function Cylindrical interpolation (G07.1) Helical interpolation (G02, G03) f (Circular interpolation + linear interpolation for up to two axes) Specify the feedrate including the helical axis in the feedrate command. Threading and synch
  • Page 41119. HIGH SPEED CUTTING B–63844EN/02 PROGRAMMING FUNCTIONS Program input f : Can be specified. : Cannot be specified. Name Function Control in/control out command () f Optional block skip command f (/n: n is a number.) Absolute command (G90)/ f incremental command (G91) Decimal point programming/pock
  • Page 41219. HIGH SPEED CUTTING FUNCTIONS PROGRAMMING B–63844EN/02 Name Function Multiple miscellaneous function f specification Spindle–speed function (Sxxxx) f Spindle synchronous control f Rigid tapping f (*2) Set bit 5 (G8S) of parameter No. 1602 or bit 3 (ACR) of parameter No. 7051 to 1. Tool compensati
  • Page 41319. HIGH SPEED CUTTING B–63844EN/02 PROGRAMMING FUNCTIONS D Conditions for setting the When G05.1 Q1 is specified, the modal G codes must be set as listed AI advanced preview below. If one of these conditions is satisfied, a PS5111 alarm occurs. control/AI contour control mode G code(s) Description
  • Page 41420. AXIS CONTROL FUNCTIONS PROGRAMMING B–63844EN/02 20 AXIS CONTROL FUNCTIONS 390
  • Page 415B–63844EN/02 PROGRAMMING 20. AXIS CONTROL FUNCTIONS 20.1 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 SIMPLE from the machine. SYNCHRONOUS Synchronous control can be performed for up to four pairs of
  • Page 41620. AXIS CONTROL FUNCTIONS PROGRAMMING B–63844EN/02 D Normal operation This operating mode is used for machining different workpieces on each table. The operation is the same as in ordinary CNC control, where the movement of the master axis and slave axis is controlled by the independent axis addres
  • Page 417B–63844EN/02 PROGRAMMING 20. AXIS CONTROL FUNCTIONS Limitations D Setting a coordinate In synchronous axis control, commands that require no axis motion, such system as the workpiece coordinate system setup command (G92) and the local coordinate system setup command (G52), are set to the Y axis by p
  • Page 41820. AXIS CONTROL FUNCTIONS PROGRAMMING B–63844EN/02 20.2 The roll–over function prevents coordinates for the rotation axis from overflowing. The roll–over function is enabled by setting bit 0 of ROTARY AXIS parameter ROAx 1008 to 1. ROLL–OVER Explanations For an incremental command, the tool moves t
  • Page 419B–63844EN/02 PROGRAMMING 20. AXIS CONTROL FUNCTIONS 20.3 When the angular axis makes an angle other than 90° with the perpendicular axis, the angular axis control function controls the distance ANGULAR AXIS traveled along each axis according to the inclination angle. A program, CONTROL when created,
  • Page 42020. AXIS CONTROL FUNCTIONS PROGRAMMING B–63844EN/02 D Machine position display A machine position indication is provided in the machine coordinate system where an actual movement is taking place according to an inclination angle. However, when inch/metric conversion is performed, a position is indic
  • Page 421III. OPERATIO
  • Page 422
  • Page 423B–63844EN/02 OPERATION 1. GENERAL 1 GENERAL 399
  • Page 4241. GENERAL OPERATION B–63844EN/02 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 se
  • Page 425B–63844EN/02 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 operati
  • Page 4261. GENERAL OPERATION B–63844EN/02 1.2 Automatic operation is to operate the machine according to the created program. It includes memory, MDI and DNC operations. (See Section TOOL MOVEMENT III–4). BY PROGRAMMING– AUTOMATIC Program 01000 ; OPERATION M_S_T ; G92_X_ ; Tool G00... ; G01...... ; . . . .
  • Page 427B–63844EN/02 OPERATION 1. GENERAL 1.3 AUTOMATIC OPERATION Explanations D Program selection Select the program used for the workpiece. Ordinarily, one program is prepared for one workpiece. If two or more programs are in memory, select the program to be used, by searching the program number (Section
  • Page 4281. GENERAL OPERATION B–63844EN/02 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
  • Page 429B–63844EN/02 OPERATION 1. GENERAL 1.4 Before machining is started, the automatic running check can be executed. It checks whether the created program can operate the machine TESTING A as desired. This check can be accomplished by running the machine PROGRAM actually or viewing the position display c
  • Page 4301. GENERAL OPERATION B–63844EN/02 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
  • Page 431B–63844EN/02 OPERATION 1. GENERAL 1.5 After a created program is once registered in memory, it can be corrected or modified from the MDI panel (See Section III–9). EDITING A PART This operation can be executed using the part program storage/edit PROGRAM function. Program registration Program correct
  • Page 4321. GENERAL OPERATION B–63844EN/02 1.6 The operator can display or change a value stored in CNC internal memory by key operation on the MDI screen (See III–11). DISPLAYING AND SETTING DATA Data setting Data display Screen Keys MDI CNC memory Fig. 1.6 (a) Displaying and setting data Explanations D Off
  • Page 433B–63844EN/02 OPERATION 1. GENERAL 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 c
  • Page 4341. GENERAL OPERATION B–63844EN/02 D Displaying and setting The CNC functions have versatility in order to take action in parameters characteristics of various machines. For example, CNC can specify the following: S Rapid traverse rate of each axis S Whether increment system is based on metric system
  • Page 435B–63844EN/02 OPERATION 1. GENERAL 1.7 DISPLAY 1.7.1 The contents of the currently active program are displayed. In addition, Program Display the programs scheduled next and the program list are displayed. (See Section III–11.2.1) Active sequence number Active program number PROGRAM 1100 00005 N1 G90
  • Page 4361. GENERAL OPERATION B–63844EN/02 1.7.2 The current position of the tool is displayed with the coordinate values. Current Position The distance from the current position to the target position can also be displayed. (See Section III–11.1.1 to 11.1.3) Display Y x y X Workpiece coordinate system ACTUA
  • Page 437B–63844EN/02 OPERATION 1. GENERAL 1.7.4 Run time and number of parts are displayed on the screen. (See Section Parts Count Display, lll–11.4.5) Run Time Display ACTUAL POSITION (ABSOLUTE) O0003 N00003 X 150.000 Y 300.000 Z 100.000 PART COUNT 18 RUN TIME 0H16M CYCLE TIME 0H 1M 0S MEM STRT * * * * FIN
  • Page 4381. GENERAL OPERATION B–63844EN/02 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 INPUT / output to a medium, the data can be input into CNC memory. OUTPUT Portable tape reader FANUC PPR Memory Pape
  • Page 439B–63844EN/02 OPERATION 2. OPERATIONAL DEVICES 2 OPERATIONAL DEVICES The available operational devices include the setting and display unit attached to the CNC, the machine operator’s panel, and external input/output devices such as a Handy File. 415
  • Page 4402. OPERATIONAL DEVICES OPERATION B–63844EN/02 2.1 The setting and display units are shown in Subsections 2.1.1 to 2.1.5 of Part III. SETTING AND DISPLAY UNITS 9″ monochrome CRT/MDI unit . . . . . . . . . . . . . . . . . . . . . III–2.1.1 7.2″ monochrome/8.4″ color LCD/MDI unit . . . . . . . . . . II
  • Page 441B–63844EN/02 OPERATION 2. OPERATIONAL DEVICES 2.1.1 9″ Monochrome CRT/MDI Unit 2.1.2 7.2″ Monochrome/ 8.4″ Color LCD/MDI Unit 417
  • Page 4422. OPERATIONAL DEVICES OPERATION B–63844EN/02 2.1.3 10.4″ Color LCD Panel 2.1.4 Key Location of MDI SHIFT key Address/numeric keys Cancel key INPUT key Function keys Cursor move keys Edit keys HELP key Page change keys RESET key 418
  • Page 443B–63844EN/02 OPERATION 2. OPERATIONAL DEVICES 2.1.5 Stand–Alone Type Standard MDI Unit Address/numeric keys Help key Reset key Edit keys Cancel (CAN) key Input key Shift key Function keys Page change keys Cursor keys 419
  • Page 4442. OPERATIONAL DEVICES OPERATION B–63844EN/02 2.2 EXPLANATION OF THE KEYBOARD Table 2.2 Explanation of the MDI keyboard Number Name Explanation 1 RESET key Press this key to reset the CNC, to cancel an alarm, etc. RESET 2 HELP key Press this button to use the help function when uncertain about the o
  • Page 445B–63844EN/02 OPERATION 2. OPERATIONAL DEVICES Table 2.2 Explanation of the MDI keyboard Number Name Explanation 10 Cursor move keys There are four different cursor move keys. : This key is used to move the cursor to the right or in the forward direction. The cursor is moved in short units in the for
  • Page 4462. OPERATIONAL DEVICES OPERATION B–63844EN/02 2.3 The function keys are used to select the type of screen (function) to be displayed. When a soft key (section select soft key) is pressed FUNCTION KEYS AND immediately after a function key, the screen (section) corresponding to the SOFT KEYS selected
  • Page 447B–63844EN/02 OPERATION 2. OPERATIONAL DEVICES 2.3.2 Function keys are provided to select the type of screen to be displayed. Function Keys The following function keys are provided on the MDI panel: POS Press this key to display the position screen. PROG Press this key to display the program screen.
  • Page 4482. OPERATIONAL DEVICES OPERATION B–63844EN/02 2.3.3 To display a more detailed screen, press a function key followed by a soft Soft Keys key. Soft keys are also used for actual operations. The following illustrates how soft key displays are changed by pressing each function key. The symbols in the f
  • Page 449B–63844EN/02 OPERATION 2. OPERATIONAL DEVICES POSITION SCREEN Soft key transition triggered by the function key POS POS Absolute coordinate display [ABS] [(OPRT)] [PTSPRE] [EXEC] [RUNPRE] [EXEC] [WORK] [ALLEXE] (Axis name, 0) [EXEC] Relative coordinate display [REL] [(OPRT)] (Axis or numeral) [PRESE
  • Page 4502. OPERATIONAL DEVICES OPERATION B–63844EN/02 Soft key transition triggered by the function key PROG PROGRAM SCREEN in the MEM mode 1/2 PROG Program display screen [PRGRM] [(OPRT)] [BG–EDT] See “When the soft key [BG–EDT] is pressed” (O number) [O SRH] (1) (N number) [N SRH] [REWIND] [P TYPE] [Q TYP
  • Page 451B–63844EN/02 OPERATION 2. OPERATIONAL DEVICES 2/2 (2) [FL.SDL] [PRGRM] Return to (1) (Program display) File directory display screen [DIR] [(OPRT)] [SELECT] (number) [F SET] [EXEC] Schedule operation display screen [SCHDUL] [(OPRT)] [CLEAR] [CAN] [EXEC] (Schedule data) [INPUT] 427
  • Page 4522. OPERATIONAL DEVICES OPERATION B–63844EN/02 Soft key transition triggered by the function key PROG PROGRAM SCREEN in the EDIT mode 1/2 PROG Program display [PRGRM] [(OPRT)] [BG–EDT] See"When the soft key [BG-EDT] is pressed" (O number) [O SRH] (Address) [SRH↓] (Address) [SRH↑] [REWIND] [F SRH] [CA
  • Page 453B–63844EN/02 OPERATION 2. OPERATIONAL DEVICES 2/2 (1) Program directory display [LIB] [(OPRT)] [BG–EDT] SeeWhen the soft key [BG-EDT] is pressed" (O number) [O SRH] Return to the program [READ] [CHAIN] [STOP] [CAN] (O number) [EXEC] [PUNCH] [STOP] [CAN] (O number) [EXEC] Floppy directory display [F
  • Page 4542. OPERATIONAL DEVICES OPERATION B–63844EN/02 Soft key transition triggered by the function key PROG PROGRAM SCREEN in the MDI mode PROG Program display [PRGRM] [(OPRT)] [BG–EDT] See “When the soft key [BG–EDT] is pressed” Program input screen [MDI] [(OPRT)] [BG–EDT] See “When the soft key [BG–EDT]
  • Page 455B–63844EN/02 OPERATION 2. OPERATIONAL DEVICES Soft key transition triggered by the function key PROG PROGRAM SCREEN in the HNDL, JOG, or REF mode PROG Program display [PRGRM] [(OPRT)] [BG–EDT] See “When the soft key [BG–EDT] is pressed” Current block display screen [CURRNT] [(OPRT)] [BG–EDT] See “Wh
  • Page 4562. OPERATIONAL DEVICES OPERATION B–63844EN/02 PROGRAM SCREEN Soft key transition triggered by the function key PROG (When the soft key [BG-EDT] is pressed in all modes) 1/2 PROG Program display [PRGRM] [(OPRT)] [BG–END] (O number) [O SRH] (Address) [SRH↓] (Address) [SRH↑] [REWIND] [F SRH] [CAN] (N n
  • Page 457B–63844EN/02 OPERATION 2. OPERATIONAL DEVICES 2/2 (1) Program directory display [LIB] [(OPRT)] [BG–EDT] (O number) [O SRH] Return to the program [READ] [CHAIN] [STOP] [CAN] (O number) [EXEC] [PUNCH] [STOP] [CAN] (O number) [EXEC] Floppy directory display [FLOPPY] [PRGRM] Return to the program [DIR]
  • Page 4582. OPERATIONAL DEVICES OPERATION B–63844EN/02 OFFSET OFFSET/SETTING SCREEN Soft key transition triggered by the function key SETTING 1/2 OFFSET SETTING Tool offset screen [OFFSET] [(OPRT)] (Number) [NO SRH] (Axis name) [INP.C.] (Numeral) [+INPUT] (Numeral) [INPUT] [CLEAR] [ALL] [WEAR] [GEOM] [READ]
  • Page 459B–63844EN/02 OPERATION 2. OPERATIONAL DEVICES 2/2 (1) Pattern data input screen [MENU] [(OPRT)] (Number) [SELECT] Software operator’s panel screen [OPR] Tool life management setting screen [TOOLLF] [(OPRT)] (Number) [NO SRH] [CLEAR] [CAN] [EXEC] (Numeral) [INPUT] 435
  • Page 4602. OPERATIONAL DEVICES OPERATION B–63844EN/02 SYSTEM SCREEN Soft key transition triggered by the function key SYSTEM 1/2 SYSTEM Parameter screen [PARAM] [(OPRT)] (Number) [NO SRH] [ON:1] [OFF:0] (Numeral) [+INPUT] (Numeral) [INPUT] [READ] [CAN] [EXEC] [PUNCH] [CAN] Note) Search for the start of the
  • Page 461B–63844EN/02 OPERATION 2. OPERATIONAL DEVICES (4) 2/2 Pitch error compensation screen [PITCH] [(OPRT)] (No.) [NO SRH] [ON:1] [OFF:0] (Numeral) [+INPUT] (Numeral) [INPUT] [READ] [CAN] [EXEC] [PUNCH] [CAN] [EXEC] Servo parameter screen [SV.PRM] [SV.SET] [ON:1] [(OPRT)] [SV.TUN] [OFF:0] (Numeral) [INPU
  • Page 4622. OPERATIONAL DEVICES OPERATION B–63844EN/02 MESSAGE SCREEN Soft key transition triggered by the function key MESSAGE MESSAGE Alarm display screen [ALARM] Message display screen [MSG] Alarm history screen [HISTRY] [(OPRT)] [CLEAR] HELP SCREEN Soft key transition triggered by the function key HELP H
  • Page 463B–63844EN/02 OPERATION 2. OPERATIONAL DEVICES GRAPHIC SCREEN Soft key transition triggered by the function key GRAPH Tool path graphics GRAPH Tool path graphics [PARAM] [EXEC] [(OPRT)] [AUTO] [STSRT] [STOP] [REWIND] [CLEAR] [ZOOM] [(OPRT)] [EXEC] [←] [→] [POS] [↑] [↓] Soft key transition triggered b
  • Page 4642. OPERATIONAL DEVICES OPERATION B–63844EN/02 2.3.4 When an address and a numerical key are pressed, the character Key Input and Input corresponding to that key is input once into the key input buffer. The contents of the key input buffer is displayed at the bottom of the screen. Buffer In order to
  • Page 465B–63844EN/02 OPERATION 2. OPERATIONAL DEVICES 2.3.5 After a character or number has been input from the MDI panel, a data Warning Messages check is executed when INPUT key or a soft key is pressed. In the case of incorrect input data or the wrong operation a flashing warning message will be displaye
  • Page 4662. OPERATIONAL DEVICES OPERATION B–63844EN/02 2.3.6 There are 12 soft keys in the 10.4″ LCD. As illustrated below, the 5 soft Soft Key Configuration keys on the right and those on the right and left edges operate in the same way as the 7.2″ LCD or 8.4″ LCD, whereas the 5 keys on the left hand side a
  • Page 467B–63844EN/02 OPERATION 2. OPERATIONAL DEVICES 2.4 Five types of external input/output devices are available. This section outlines each device. For details on these devices, refer to the EXTERNAL I/O corresponding manuals listed below. DEVICES Table 2.4 External I/O device Device name Usage Max. Ref
  • Page 4682. OPERATIONAL DEVICES OPERATION B–63844EN/02 Parameter Before an external input/output device can be used, parameters must be set as follows. CNC MOTHER BOARD Channel 1 Channel 2 JD5A JD5B RS–232–C RS–232–C Reader/ Reader/ puncher puncher I/O CHANNEL=0 I/O CHANNEL=2 or I/O CHANNEL=1 CNC has two cha
  • Page 469B–63844EN/02 OPERATION 2. OPERATIONAL DEVICES 2.4.1 The Handy File is an easy–to–use, multi function floppy disk FANUC Handy File input/output device designed for FA equipment. By operating the Handy File directly or remotely from a unit connected to the Handy File, programs can be transferred and e
  • Page 4702. OPERATIONAL DEVICES OPERATION B–63844EN/02 2.4.3 An FA Card is a memory card used as an input medium in the FA field. FANUC FA Card It is a card–shaped input/output medium featuring a high reliability, small size, high capacity, and maintenance–free operation. When an FA Card is connected to the
  • Page 471B–63844EN/02 OPERATION 2. OPERATIONAL DEVICES 2.4.5 The portable tape reader is used to input data from paper tape. Portable Tape Reader }   + + + RS–232–C Interface (Punch panel, etc.) 447
  • Page 4722. OPERATIONAL DEVICES OPERATION B–63844EN/02 2.5 POWER ON/OFF 2.5.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 man
  • Page 473B–63844EN/02 OPERATION 2. OPERATIONAL DEVICES 2.5.2 If a hardware failure or installation error occurs, the system displays one Screen Displayed at of the following three types of screens then stops. Information such as the type of printed circuit board installed in each slot Power–on is indicated.
  • Page 4742. OPERATIONAL DEVICES OPERATION B–63844EN/02 Screen indicating module setting status DDH1 – 01 SLOT 01 (3046) : END END: Setting completed SLOT 02 (3050) : Blank: Setting not completed Module ID Slot number Display of software configuration DDH1 – 01 CNC control software OMM : yyyy–yy Order–made ma
  • Page 475B–63844EN/02 OPERATION 3. MANUAL OPERATION 3 MANUAL OPERATION MANUAL OPERATION are six kinds as follows : 3.1 MANUAL REFERENCE POSITION RETURN 3.2 JOG FEED 3.3 INCREMENTAL FEED 3.4 MANUAL HANDLE FEED 3.5 MANUAL ABSOLUTE ON AND OFF 451
  • Page 4763. MANUAL OPERATION OPERATION B–63844EN/02 3.1 The tool is returned to the reference position as follows : The tool is moved in the direction specified in parameter ZMI (bit 5 of No. MANUAL 1006) for each axis with the reference position return switch on the REFERENCE machine operator’s panel. The t
  • Page 477B–63844EN/02 OPERATION 3. MANUAL OPERATION Explanations D Automatically setting the The coordinate system is automatically determined when manual coordinate system reference position return is performed. When a, b and g are set in workpiece zero point offset values, the workpiece coordinate system i
  • Page 4783. MANUAL OPERATION OPERATION B–63844EN/02 3.2 In the jog mode, pressing a feed axis and direction selection switch on the JOG FEED machine operator’s panel continuously moves the tool along the selected axis in the selected direction. The jog feedrate is specified in a parameter (No.1423) The jog f
  • Page 479B–63844EN/02 OPERATION 3. MANUAL OPERATION Limitations D Acceleration/decelera- Feedrate, time constant and method of automatic acceleration/ tion for rapid traverse deceleration for manual rapid traverse are the same as G00 in programmed command. D Change of modes Changing the mode to the jog mode
  • Page 4803. MANUAL OPERATION OPERATION B–63844EN/02 3.3 In the incremental (INC) mode, pressing a feed axis and direction selection switch on the machine operator’s panel moves the tool one step INCREMENTAL FEED along the selected axis in the selected direction. The minimum distance the tool is moved is the
  • Page 481B–63844EN/02 OPERATION 3. MANUAL OPERATION 3.4 In the handle mode, the tool can be minutely moved by rotating the manual pulse generator on the machine operator’s panel. Select the axis MANUAL HANDLE along which the tool is to be moved with the handle feed axis selection FEED switches. The minimum d
  • Page 4823. MANUAL OPERATION OPERATION B–63844EN/02 Explanations D Availability of manual Parameter JHD (bit 0 of No. 7100) enables or disables the manual handle pulse generator in Jog feed in the JOG mode. mode (JHD) When the parameter JHD( bit 0 of No. 7100) is set 1,both manual handle feed and incremental
  • Page 483B–63844EN/02 OPERATION 3. MANUAL OPERATION Restrictions D Number of MPGs Up to three manual pulse generators can be connected, one for each axis. The three manual pulse generators can be simultaneously operated. WARNING Rotating the handle quickly with a large magnification such as x100 moves the to
  • Page 4843. MANUAL OPERATION OPERATION B–63844EN/02 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 485B–63844EN/02 OPERATION 3. MANUAL OPERATION Explanation The following describes the relation between manual operation and coordinates when the manual absolute switch is turned on or off, using a program example. G01G90 X100.0Y100.0F010 ;  X200.0Y150.0 ;  X300.0Y200.0 ;  The subsequent figures use
  • Page 4863. MANUAL OPERATION OPERATION B–63844EN/02 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
  • Page 487B–63844EN/02 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 4883. MANUAL OPERATION OPERATION B–63844EN/02 Manual operation during cornering This is an example when manual operation is performed during cornering. VA2’, VB1’, and VB2’ are vectors moved in parallel with VA2, VB1 and VB2 by the amount of manual movement. The new vectors are calculated from VC1 and
  • Page 489B–63844EN/02 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: • MEMORY OPERATION Operation by executing a program registered in CNC memory • MDI O
  • Page 4904. AUTOMATIC OPERATION OPERATION B–63844EN/02 4.1 Programs are registered in memory in advance. When one of these programs is selected and the cycle start switch on the machine operator’s MEMORY panel is pressed, automatic operation starts, and the cycle start LED goes OPERATION on. When the feed ho
  • Page 491B–63844EN/02 OPERATION 4. AUTOMATIC OPERATION b. Terminating memory operation Press the RESET key on the MDI panel. Automatic operation is terminated and the reset state is entered. When a reset is applied during movement, movement decelerates then stops. Explanation Memory operation After memory op
  • Page 4924. AUTOMATIC OPERATION OPERATION B–63844EN/02 D Optional block skip When the optional block skip switch on the machine operator’s panel is turned on, blocks containing a slash (/) are ignored. Calling a subprogram A file (subprogram) in an external input/output device such as a Floppy stored in an e
  • Page 493B–63844EN/02 OPERATION 4. AUTOMATIC OPERATION 4.2 In the MDI mode, a program consisting of up to 10 lines can be created in the same format as normal programs and executed from the MDI panel. MDI OPERATION MDI operation is used for simple test operations. The following procedure is given as an examp
  • Page 4944. AUTOMATIC OPERATION OPERATION B–63844EN/02 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(%)
  • Page 495B–63844EN/02 OPERATION 4. AUTOMATIC OPERATION Explanation The previous explanation of how to execute and stop memory operation also applies to MDI operation, except that in MDI operation, M30 does not return control to the beginning of the program (M99 performs this function). D Erasing the program
  • Page 4964. AUTOMATIC OPERATION OPERATION B–63844EN/02 D Macro call Macro programs can also be created, called, and executed in the MDI mode. However, macro call commands cannot be executed when the mode is changed to MDI mode after memory operation is stopped during execution of a subprogram. D Memory area
  • Page 497B–63844EN/02 OPERATION 4. AUTOMATIC OPERATION 4.3 By activating automatic operation during the DNC operation mode (RMT), it is possible to perform machining (DNC operation) while a DNC OPERATION program is being read in via reader/puncher interface, or remote buffer. It is possible to select files (
  • Page 4984. AUTOMATIC OPERATION OPERATION B–63844EN/02 D Program screen PROGRAM O0001 N00020 Seven soft key type N020 X100.0 Z100.0 (DNC–PROG) ; N030 X200.0 Z200.0 ; N040 X300.0 Z300.0 ; N050 X400.0 Z400.0 ; N060 X500.0 Z500.0 ; N070 X600.0 Z600.0 ; N080 X700.0 Z400.0 ; N090 X800.0 Z400.0 ; N100 x900.0 z400.
  • Page 499B–63844EN/02 OPERATION 4. AUTOMATIC OPERATION Limitations D Limit on number of In program display, no more than 256 characters can be displayed. characters Accordingly, character display may be truncated in the middle of a block. D M198 (command for In DNC operation, M198 cannot be executed. If M198
  • Page 5004. AUTOMATIC OPERATION OPERATION B–63844EN/02 4.4 This function specifies Sequence No. of a block to be restarted when a tool PROGRAM is broken down or when it is desired to restart machining operation after RESTART a day off, and restarts the machining operation from that block. It can also be used
  • Page 501B–63844EN/02 OPERATION 4. AUTOMATIC OPERATION Procedure for Program Restart by Specifying a Sequence Number Procedure 1 [ P TYPE ] 1 Retract the tool and replace it with a new one. When necessary, change the offset. (Go to step 2.) [ Q TYPE ] 1 When power is turned ON or emergency stop is released,
  • Page 5024. AUTOMATIC OPERATION OPERATION B–63844EN/02 5 The sequence number is searched for, and the program restart screen appears on the CRT display. PROGRAM RESTART O0002 N01000 DESTINATION M 1 2 X 57. 096 1 2 Y 56. 877 1 2 Z 56. 943 1 2 1 2 1 ******** DISTANCE TO GO * * * * * * * ** * * * * * * * 1 X 1.
  • Page 503B–63844EN/02 OPERATION 4. AUTOMATIC OPERATION Procedure for Program Restart by Specifying a Block Number Procedure 1 [ P TYPE ] 1 Retract the tool and replace it with a new one. When necessary, change the offset. (Go to step 2.) [ Q TYPE ] 1 When power is turned ON or emergency stop is released, per
  • Page 5044. AUTOMATIC OPERATION OPERATION B–63844EN/02 The coordinates and amount of travel for restarting the program can be displayed for up to five axes. If your system supports six or more axes, pressing the [RSTR] soft key again displays the data for the sixth and subsequent axes. (The program restart s
  • Page 505B–63844EN/02 OPERATION 4. AUTOMATIC OPERATION < Example 2 > CNC Program Number of blocks O 0001 ; 1 G90 G92 X0 Y0 Z0 ; 2 G90 G00 Z100. ; 3 G81 X100. Y0. Z–120. R–80. F50. ; 4 #1 = #1 + 1 ; 4 #2 = #2 + 1 ; 4 #3 = #3 + 1 ; 4 G00 X0 Z0 ; 5 M30 ; 6 Macro statements are not counted as blocks. D Storing /
  • Page 5064. AUTOMATIC OPERATION OPERATION B–63844EN/02 D Single block When single block operation is ON during movement to the restart position, operation stops every time the tool completes movement along an axis. When operation is stopped in the single block mode, MDI intervention cannot be performed. D Ma
  • Page 507B–63844EN/02 OPERATION 4. AUTOMATIC OPERATION 4.5 The schedule function allows the operator to select files (programs) SCHEDULING registered on a floppy–disk in an external input/output device (Handy FUNCTION File, Floppy Cassette, or FA Card) and specify the execution order and number of repetition
  • Page 5084. AUTOMATIC OPERATION OPERATION B–63844EN/02 Procedure for Scheduling Function Procedure D Procedure for executing 1 Press the MEMORY switch on the machine operator’s panel, then one file press the PROG function key on the MDI panel. 2 Press the rightmost soft key (continuous menu key), then press
  • Page 509B–63844EN/02 OPERATION 4. AUTOMATIC OPERATION 4 Press the REMOTE switch on the machine operator’s panel to enter the RMT mode, then press the cycle start switch. The selected file is executed. For details on the REMOTE switch, refer to the manual supplied by the machine tool builder. The selected fi
  • Page 5104. AUTOMATIC OPERATION OPERATION B–63844EN/02 Move the cursor and enter the file numbers and number of repetitions in the order in which to execute the files. At this time, the current number of repetitions “CUR.REP” is 0. 5 Press the REMOTE switch on the machine operator’s panel to enter the RMT mo
  • Page 511B–63844EN/02 OPERATION 4. AUTOMATIC OPERATION D Displaying the floppy During the execution of file, the floppy directory display of background disk directory during file editing cannot be referenced. execution D Restarting automatic To resume automatic operation after it is suspended for scheduled o
  • Page 5124. AUTOMATIC OPERATION OPERATION B–63844EN/02 4.6 The subprogram call function is provided to call and execute subprogram SUBPROGRAM files stored in an external input/output device(Handy File, FLOPPY CALL FUNCTION CASSETTE, FA Card)during memory operation. When the following block in a program in CN
  • Page 513B–63844EN/02 OPERATION 4. AUTOMATIC OPERATION Restrictions NOTE 1 When M198 in the program of the file saved in a floppy cassette is executed, a P/S alarm (No.210) is given. When a program in the memory of CNC is called and M198 is executed during execution of a program of the file saved in a floppy
  • Page 5144. AUTOMATIC OPERATION OPERATION B–63844EN/02 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 interrupt
  • Page 515B–63844EN/02 OPERATION 4. AUTOMATIC OPERATION Explanations D Relation with other The following table indicates the relation between other functions and the functions movement by handle interrupt. Display Relation Machine lock Machine lock is effective. The tool does not move even when this signal tu
  • Page 5164. AUTOMATIC OPERATION OPERATION B–63844EN/02 (a) INPUT UNIT : Handle interrupt move amount in input unit system Indicates the travel distance specified by handle interruption according to the least input increment. (b) OUTPUT UNI : Handle interrupt move amount in output unit system Indicates the tr
  • Page 517B–63844EN/02 OPERATION 4. AUTOMATIC OPERATION 4.8 During automatic operation, the mirror image function can be used for MIRROR IMAGE movement along an axis. To use this function, set the mirror image switch to ON on the machine operator’s panel, or set the mirror image setting to ON from the MDI pan
  • Page 5184. AUTOMATIC OPERATION OPERATION B–63844EN/02 2–4 Move the cursor to the mirror image setting position, then set the target axis to 1. 3 Enter an automatic operation mode (memory mode or MDI mode), then press the cycle start button to start automatic operation. Explanations D The mirror image functi
  • Page 519B–63844EN/02 OPERATION 4. AUTOMATIC OPERATION 4.9 In cases such as when tool movement along an axis is stopped by feed hold during automatic operation so that manual intervention can be used to MANUAL replace the tool: When automatic operation is restarted, this function INTERVENTION AND returns the
  • Page 5204. AUTOMATIC OPERATION OPERATION B–63844EN/02 Example 1. The N1 block cuts a workpiece Tool N2 Block start point N1 2. The tool is stopped by pressing the feed hold switch in the middle of the N1 block (point A). N2 N1 Point A 3. After retracting the tool manually to point B, tool movement is restar
  • Page 521B–63844EN/02 OPERATION 5. TEST OPERATION 5 TEST OPERATION The following functions are used to check before actual machining whether the machine operates as specified by the created program. 5.1 MACHINE LOCK AND AUXILIARY FUNCTION LOCK 5.2 FEEDRATE OVERRIDE 5.3 RAPID TRAVERSE OVERRIDE 5.4 DRY RUN 5.5
  • Page 5225. TEST OPERATION OPERATION B–63844EN/02 5.1 To display the change in the position without moving the tool, use machine lock. MACHINE LOCK AND There are two types of machine lock: all–axis machine lock, which stops AUXILIARY the movement along all axes, and specified–axis machine lock, which FUNCTIO
  • Page 523B–63844EN/02 OPERATION 5. TEST OPERATION Restrictions D M, S, T, B command by M, S, T and B commands are executed in the machine lock state. only machine lock D Reference position When a G27, G28, or G30 command is issued in the machine lock state, return under Machine the command is accepted but th
  • Page 5245. TEST OPERATION OPERATION B–63844EN/02 5.2 A programmed feedrate can be reduced or increased by a percentage (%) selected by the override dial.This feature is used to check a program. FEEDRATE For example, when a feedrate of 100 mm/min is specified in the program, OVERRIDE setting the override dia
  • Page 525B–63844EN/02 OPERATION 5. TEST OPERATION 5.3 An override of four steps (F0, 25%, 50%, and 100%) can be applied to the rapid traverse rate. F0 is set by a parameter (No. 1421). RAPID TRAVERSE OVERRIDE ÇÇ ÇÇ ÇÇ ÇÇ ÇÇ Rapid traverse Override ÇÇ 5m/min rate10m/min 50% Fig. 5.3 Rapid traverse override Ra
  • Page 5265. TEST OPERATION OPERATION B–63844EN/02 5.4 The tool is moved at the feedrate specified by a parameter regardless of the feedrate specified in the program. This function is used for checking DRY RUN the movement of the tool under the state taht the workpiece is removed from the table. Tool Table Fi
  • Page 527B–63844EN/02 OPERATION 5. TEST OPERATION 5.5 Pressing the single block switch starts the single block mode. When the cycle start button is pressed in the single block mode, the tool stops after SINGLE BLOCK a single block in the program is executed. Check the program in the single block mode by exec
  • Page 5285. TEST OPERATION OPERATION B–63844EN/02 Explanation D Reference position If G28 to G30 are issued, the single block function is effective at the return and single block intermediate point. D Single block during a In a canned cycle, the single block stop points are the end of , , and canned cycle
  • Page 529B–63844EN/02 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, an
  • Page 5306. SAFETY FUNCTIONS OPERATION B–63844EN/02 6.1 If you press Emergency Stop button on the machine operator’s panel, the machine movement stops in a moment. EMERGENCY STOP Red EMERGENCY STOP Fig. 6.1 Emergency stop This button is locked when it is pressed. Although it varies with the machine tool buil
  • Page 531B–63844EN/02 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 5326. SAFETY FUNCTIONS OPERATION B–63844EN/02 6.3 Three areas which the tool cannot enter can be specified with stored stroke check 1, stored stroke check 2, and stored stroke check 3. STORED STROKE CHECK ÇÇÇÇÇÇÇÇÇ Ç (X,Y,Z) ÇÇÇÇÇÇÇÇÇ ÇÇÇÇÇÇÇÇÇ ÇÇÇÇÇÇÇ ÇÇÇÇÇÇÇÇÇ ÇÇ ÇÇÇÇÇÇÇ (I,J,K) ÇÇÇÇÇÇÇÇÇÇÇÇÇÇ (1)For
  • Page 533B–63844EN/02 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 >ζ (In least command increment) Y–J >ζ (In least command increment) Z–K >ζ ((In least command increment) F ζ (mm)= 7500 F=Rapid traverse speed (mm/min) Fig. 6.3 (b) Crea
  • Page 5346. SAFETY FUNCTIONS OPERATION B–63844EN/02 B The position of the tool after reference position return b A a ÇÇÇÇÇÇÇÇÇÇÇÇÇÇ Area boundary ÇÇÇÇÇÇÇÇÇÇÇÇÇÇ Fig. 6.3 (d) Setting the forbidden area D Forbidden area Area can be set in piles. ÇÇÇÇÇÇÇÇÇÇ over lapping ÇÇÇÇÇÇÇÇÇÇ ÇÇÇÇÇÇ ÇÇÇÇÇÇÇÇÇÇ ÇÇÇÇÇÇÇÇÇÇ Ç
  • Page 535B–63844EN/02 OPERATION 6. SAFETY FUNCTIONS D Change from G23 to When G23 is switched to G22 in the forbidden area, the following results. G22 in a forbidden area (1) When the forbidden area is inside, an alarm is informed in the next move. (2) When the forbidden area is outside, an alarm is informed
  • Page 5367. ALARM AND SELF–DIAGNOSIS FUNCTIONS OPERATION B–63844EN/02 7 ALARM AND SELF–DIAGNOSIS FUNCTIONS When an alarm occurs, the corresponding alarm screen appears to indicate the cause of the alarm. The causes of alarms are classified by alarm numbers. Up to 50 previous alarms can be stored and displaye
  • Page 5377. ALARM AND SELF–DIAGNOSIS B–63844EN/02 OPERATION FUNCTIONS 7.1 ALARM DISPLAY Explanations D Alarm screen When an alarm occurs, the alarm screen appears. ALARM MESSAGE 0000 00000 100 PARAMETER WRITE ENABLE 510 OVER TR1AVEL :+X 417 SERVO ALARM :X AXIS DGTL PARAM 417 SERVO ALARM :X AXIS DGTL PARAM S
  • Page 5387. ALARM AND SELF–DIAGNOSIS FUNCTIONS OPERATION B–63844EN/02 D Reset of the alarm Alarm numbers and messages indicate the cause of an alarm. To recover from an alarm, eliminate the cause and press the reset key. D Alarm numbers The error codes are classified as follows: No. 000 to 255 : P/S alarm (P
  • Page 5397. ALARM AND SELF–DIAGNOSIS B–63844EN/02 OPERATION FUNCTIONS 7.2 Up to 50 of the most recent CNC alarms are stored and displayed on the screen. ALARM HISTORY Display the alarm history as follows: DISPLAY Procedure for Alarm History Display Procedure 1 Press the function key MESSAGE . 2 Press the cha
  • Page 5407. ALARM AND SELF–DIAGNOSIS FUNCTIONS OPERATION B–63844EN/02 7.3 The system may sometimes seem to be at a halt, although no alarm has occurred. In this case, the system may be performing some processing. CHECKING BY The state of the system can be checked by displaying the self–diagnostic SELF–DIAGNO
  • Page 5417. ALARM AND SELF–DIAGNOSIS B–63844EN/02 OPERATION FUNCTIONS Explanations Diagnostic numbers 000 to 015 indicate states when a command is being specified but appears as if it were not being executed. The table below lists the internal states when 1 is displayed at the right end of each line on the s
  • Page 5427. ALARM AND SELF–DIAGNOSIS FUNCTIONS OPERATION B–63844EN/02 The table below shows the signals and states which are enabled when each diagnostic data item is 1. Each combination of the values of the diagnostic data indicates a unique state. 020 CUT SPEED UP/DOWN 1 0 0 0 1 0 0 021 RESET BUTTON ON 0 0
  • Page 543B–63844EN/02 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. Information can be read into the CNC from a memory card and written from the CNC to the memory card, using the memory card interface at the
  • Page 5448. DATA INPUT/OUTPUT OPERATION B–63844EN/02 8.1 Of the external input/output devices, the FANUC Handy File use floppy disks as their input/output medium. FILES In this manual, these input/output medium is generally referred to as a floppy. Unlike an NC tape, a floppy allows the user to freely choose
  • Page 545B–63844EN/02 OPERATION 8. DATA INPUT/OUTPUT D Protect switch The floppy is provided with the write protect switch. Set the switch to the write enable state. Then, start output operation. Write protect switch of a cassette (1) Write–protected (2) Write–enabled (Only reading is (Reading, writing, poss
  • Page 5468. DATA INPUT/OUTPUT OPERATION B–63844EN/02 8.2 When the program is input from the floppy, the file to be input first must be searched. FILE SEARCH For this purpose, proceed as follows: File 1 File 2 File 3 File n Blank File searching of the file n File heading Procedure 1 Press the EDIT or MEMORY s
  • Page 547B–63844EN/02 OPERATION 8. DATA INPUT/OUTPUT Alarm Alarm No. Description The ready signal (DR) of an input/output device is off. An alarm is not immediately indicated in the CNC even when an alarm occurs during head searching (when a file is not found, or 86 the like). An alarm is given when the inpu
  • Page 5488. DATA INPUT/OUTPUT OPERATION B–63844EN/02 8.3 Files stored on a floppy can be deleted file by file as required. FILE DELETION 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 panel. 3 Press f
  • Page 549B–63844EN/02 OPERATION 8. DATA INPUT/OUTPUT 8.4 PROGRAM INPUT/OUTPUT 8.4.1 This section describes how to load a program into the CNC from a floppy Inputting a Program or NC tape. Inputting a program Procedure 1 Make sure the input device is ready for reading. 2 Press the EDIT switch on the machine o
  • Page 5508. DATA INPUT/OUTPUT OPERATION B–63844EN/02 D Program numbers on a • 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 prog
  • Page 551B–63844EN/02 OPERATION 8. DATA INPUT/OUTPUT S Pressing the [CHAIN] soft key positions the cursor to the end of the registered program. Once a program has been input, the cursor is positioned to the start of the new program. S Additional input is possible only when a program has already been register
  • Page 5528. DATA INPUT/OUTPUT OPERATION B–63844EN/02 8.4.2 A program stored in the memory of the CNC unit is output to a floppy or Outputting a Program NC tape. 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 system (ISO or E
  • Page 553B–63844EN/02 OPERATION 8. DATA INPUT/OUTPUT D Punching programs in Punch operation can be performed in the same way as in the foreground. the background This function alone can punch out a program selected for foreground operation. (Program No.) [PUNCH] [EXEC]: Punches out a specified program. <
  • Page 5548. DATA INPUT/OUTPUT OPERATION B–63844EN/02 8.5 OFFSET DATA INPUT AND OUTPUT 8.5.1 Offset data is loaded into the memory of the CNC from a floppy or NC Inputting Offset Data tape. The input format is the same as for offset value output. See III– 8.5.2. When an offset value is loaded which has the sa
  • Page 555B–63844EN/02 OPERATION 8. DATA INPUT/OUTPUT 8.5.2 All offset data is output in a output format from the memory of the CNC Outputting Offset Data to a floppy or NC tape. Outputting offset data Procedure 1 Make sure the output device is ready for output. 2 Specify the punch code system (ISO or EIA) us
  • Page 5568. DATA INPUT/OUTPUT OPERATION B–63844EN/02 8.6 Parameters and pitch error compensation data are input and output from different screens, respectively. This chapter describes how to enter them. INPUTTING AND OUTPUTTING PARAMETERS AND PITCH ERROR COMPENSATION DATA 8.6.1 Parameters are loaded into the
  • Page 557B–63844EN/02 OPERATION 8. DATA INPUT/OUTPUT 15 Turn the power to the CNC back on. 16 Release the EMERGENCY STOP button on the machine operator’s panel. 8.6.2 All parameters are output in the defined format from the memory of the CNC to a floppy or NC tape. Outputting Parameters Outputting parameters
  • Page 5588. DATA INPUT/OUTPUT OPERATION B–63844EN/02 8.6.3 Pitch error compensation data are loaded into the memory of the CNC Inputting Pitch Error from a floppy or NC tape. The input format is the same as the output format. See III–8.6.4. When a pitch error compensation data is loaded Compensation Data whi
  • Page 559B–63844EN/02 OPERATION 8. DATA INPUT/OUTPUT 8.6.4 All pitch error compensation data are output in the defined format from Outputting Pitch Error the memory of the CNC to a floppy or NC tape. Compensation Data Outputting Pitch Error Compensation Data Procedure 1 Make sure the output device is ready f
  • Page 5608. DATA INPUT/OUTPUT OPERATION B–63844EN/02 8.7 INPUTTING/OUTPUT- TING CUSTOM MACRO COMMON VARIABLES 8.7.1 The value of a custom macro common variable (#500 to #999) is loaded into the memory of the CNC from a floppy or NC tape. The same format Inputting Custom Macro used to output custom macro comm
  • Page 561B–63844EN/02 OPERATION 8. DATA INPUT/OUTPUT 8.7.2 Custom macro common variables (#500 to #999) stored in the memory Outputting Custom of the CNC can be output in the defined output format to a floppy or NC tape. Macro Common Variable Outputting custom macro common variable Procedure 1 Make sure the
  • Page 5628. DATA INPUT/OUTPUT OPERATION B–63844EN/02 8.8 On the floppy directory display screen, a directory of the FANUC Handy File, FANUC Floppy Cassette, or FANUC FA Card files can be displayed. DISPLAYING In addition, those files can be loaded, output, and deleted. DIRECTORY OF FLOPPY CASSETTE DIRECTORY
  • Page 563B–63844EN/02 OPERATION 8. DATA INPUT/OUTPUT 8.8.1 Displaying the Directory Displaying the directory of floppy cassette 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 k
  • Page 5648. DATA INPUT/OUTPUT OPERATION B–63844EN/02 Procedure 2 Use the following procedure to display a directory of files starting with a specified file number : 1 Press the EDIT switch on the machine operator’s panel. 2 Press function key PROG . 3 Press the rightmost soft key (next–menu key). 4 Press sof
  • Page 565B–63844EN/02 OPERATION 8. DATA INPUT/OUTPUT Explanations D Screen fields and their NO :Displays the file number meanings FILE NAME: Displays the file name. (METER) : Converts and prints out the file capacity to paper tape length.You can also produce H (FEET) I by setting the INPUT UNIT to INCH of th
  • Page 5668. DATA INPUT/OUTPUT OPERATION B–63844EN/02 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 key PROG . 3 Press the rightmost soft key (next–menu key). 4 Press
  • Page 567B–63844EN/02 OPERATION 8. DATA INPUT/OUTPUT 8.8.3 Any program in the memory of the CNC unit can be output to a floppy Outputting Programs as a file. Outputting programs Procedure 1 Press the EDIT switch on the machine operator’s panel. 2 Press function key PROG . 3 Press the rightmost soft key (next
  • Page 5688. DATA INPUT/OUTPUT OPERATION B–63844EN/02 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 PROG . 3 Press the rightmost soft key (next–menu key). 4 Press soft key [FLOPPY]
  • Page 569B–63844EN/02 OPERATION 8. DATA INPUT/OUTPUT Restrictions D Inputting file numbers If [F SET] or [O SET] is pressed without key inputting file number and and program numbers program number, file number or program number shows blank. When with keys 0 is entered for file numbers or program numbers, 1 i
  • Page 5708. DATA INPUT/OUTPUT OPERATION B–63844EN/02 8.9 CNC programs stored in memory can be grouped according to their names, thus enabling the output of CNC programs in group units. Section OUTPUTTING A III–11.3.2 explains the display of a program listing for a specified group. PROGRAM LIST FOR A SPECIFIE
  • Page 571B–63844EN/02 OPERATION 8. DATA INPUT/OUTPUT 8.10 To input/output a particular type of data, the corresponding screen is usually selected. For example, the parameter screen is used for parameter DATA INPUT/OUTPUT input from or output to an external input/output unit, while the program ON THE ALL IO s
  • Page 5728. DATA INPUT/OUTPUT OPERATION B–63844EN/02 8.10.1 Input/output–related parameters can be set on the ALL IO screen. Setting Parameters can be set, regardless of the mode. Input/Output–Related Parameters Setting input/output–related parameters Procedure 1 Press function key SYSTEM . 2 Press the right
  • Page 573B–63844EN/02 OPERATION 8. DATA INPUT/OUTPUT 8.10.2 A program can be input and output using the ALL IO screen. Inputting and When entering a program using a cassette, the user must specify the input file containing the program (file search). Outputting Programs File search Procedure 1 Press soft key
  • Page 5748. DATA INPUT/OUTPUT OPERATION B–63844EN/02 6 Press soft keys [F SRH] and [EXEC]. CAN EXEC The specified file is found. Explanations D Difference between N0 When a file already exists in a cassette, specifying N0 or N1 has the same and N1 effect. If N1 is specified when there is no file on the casse
  • Page 575B–63844EN/02 OPERATION 8. DATA INPUT/OUTPUT Inputting a program Procedure 1 Press soft key [PRGRM] on the ALL IO screen, described in Section III–8.10.1. 2 Select EDIT mode. A program directory is displayed. 3 Press soft key [(OPRT)] . The screen and soft keys change as shown below. ⋅ A program dire
  • Page 5768. DATA INPUT/OUTPUT OPERATION B–63844EN/02 Outputting programs Procedure 1 Press soft key [PRGRM] on the ALL IO screen, described in Section III–8.10.1. 2 Select EDIT mode. A program directory is displayed. 3 Press soft key [(OPRT)] . The screen and soft keys change as shown below. ⋅ A program dire
  • Page 577B–63844EN/02 OPERATION 8. DATA INPUT/OUTPUT Deleting files Procedure 1 Press soft key [PRGRM] on the ALL IO screen, described in Section III–8.10.1. 2 Select EDIT mode. A program directory is displayed. 3 Press soft key [(OPRT)] . The screen and soft keys change as shown below. ⋅ A program directory
  • Page 5788. DATA INPUT/OUTPUT OPERATION B–63844EN/02 8.10.3 Parameters can be input and output using the ALL IO screen. Inputting and Outputting Parameters Inputting parameters Procedure 1 Press soft key [PARAM] on the ALL IO screen, described in Section III–8.10.1. 2 Select EDIT mode. 3 Press soft key [(OPR
  • Page 579B–63844EN/02 OPERATION 8. DATA INPUT/OUTPUT Outputting parameters Procedure 1 Press soft key [PARAM] on the ALL IO screen, described in Section III–8.10.1. 2 Select EDIT mode. 3 Press soft key [(OPRT)] . The screen and soft keys change as shown below. READ/PUNCH (PARAMETER) O1234 N12345 I/O CHANNEL
  • Page 5808. DATA INPUT/OUTPUT OPERATION B–63844EN/02 8.10.4 Offset data can be input and output using the ALL IO screen. Inputting and Outputting Offset Data Inputting offset data Procedure 1 Press soft key [OFFSET] on the ALL IO screen, described in Section III–8.10.1. 2 Select EDIT mode. 3 Press soft key [
  • Page 581B–63844EN/02 OPERATION 8. DATA INPUT/OUTPUT Outputting offset data Procedure 1 Press soft key [OFFSET] on the ALL IO screen, described in Section III–8.10.1. 2 Select EDIT mode. 3 Press soft key [(OPRT)] . The screen and soft keys change as shown below. READ/PUNCH (OFFSET) O1234 N12345 I/O CHANNEL 1
  • Page 5828. DATA INPUT/OUTPUT OPERATION B–63844EN/02 8.10.5 Custom macro common variables can be output using the ALL IO screen. Outputting Custom Macro Common Variables Outputting custom macro common variables Procedure 1 Press soft key [MACRO] on the ALL IO screen, described in Section III–8.10.1. 2 Select
  • Page 583B–63844EN/02 OPERATION 8. DATA INPUT/OUTPUT 8.10.6 The ALL IO screen supports the display of a directory of floppy files, as Inputting and well as the input and output of floppy files. Outputting Floppy Files Displaying a file directory Procedure 1 Press the rightmost soft key (next–menu key) on the
  • Page 5848. DATA INPUT/OUTPUT OPERATION B–63844EN/02 READ/PUNCH (FLOPPY) O1234 N12345 No. FILE NAME (Meter) VOL 0001 PARAMETER 46.1 0002 ALL.PROGRAM 12.3 0003 O0001 11.9 0004 O0002 11.9 0005 O0003 11.9 0006 O0004 0007 O0005 11.9 0008 O0010 11.9 0009 O0020 11.9 11.9 F SRH File No.=2 >2_ EDIT * * * * * * * * *
  • Page 585B–63844EN/02 OPERATION 8. DATA INPUT/OUTPUT Inputting a file Procedure 1 Press the rightmost soft key (next–menu key) on the ALL IO screen, described in Section III–8.10.1. 2 Press soft key [FLOPPY] . 3 Select EDIT mode. The floppy screen is displayed. 4 Press soft key [(OPRT)] . The screen and soft
  • Page 5868. DATA INPUT/OUTPUT OPERATION B–63844EN/02 Outputting a file Procedure 1 Press the rightmost soft key (next–menu key) on the ALL IO screen, described in Section III–8.10.1. 2 Press soft key [FLOPPY] . 3 Select EDIT mode. The floppy screen is displayed. 4 Press soft key [(OPRT)] . The screen and sof
  • Page 587B–63844EN/02 OPERATION 8. DATA INPUT/OUTPUT Deleting a file Procedure 1 Press the rightmost soft key (next–menu key) on the ALL IO screen, described in Section III–8.10.1. 2 Press soft key [FLOPPY] . 3 Select EDIT mode. The floppy screen is displayed. 4 Press soft key [(OPRT)] . The screen and soft
  • Page 5888. DATA INPUT/OUTPUT OPERATION B–63844EN/02 8.11 By setting the I/O channel (parameter No. 0020) to 4, files on a memory card inserted into the memory card interface located to the left of the DATA INPUT/OUTPUT display can be referenced. Different types of data such as part programs, USING A MEMORY
  • Page 589B–63844EN/02 OPERATION 8. DATA INPUT/OUTPUT Displaying a directory of stored files Procedure 1 Press the EDIT switch on the machine operator’s panel. 2 Press function key PROG . 3 Press the rightmost soft key (next–menu key). 4 Press soft key [CARD]. The screen shown below is displayed. Using page k
  • Page 5908. DATA INPUT/OUTPUT OPERATION B–63844EN/02 Searching for a file Procedure 1 Press the EDIT switch on the machine operator’s panel. 2 Press function key PROG . 3 Press the rightmost soft key (next–menu key). 4 Press soft key [CARD]. The screen shown below is displayed. DIRECTORY (M–CARD) O0034 N0004
  • Page 591B–63844EN/02 OPERATION 8. DATA INPUT/OUTPUT Reading a file Procedure 1 Press the EDIT switch on the machine operator’s panel. 2 Press function key PROG. 3 Press the rightmost soft key (next–menu key). 4 Press soft key [CARD]. Then, the screen shown below is displayed. DIRECTORY (M–CARD) O0034 N00045
  • Page 5928. DATA INPUT/OUTPUT OPERATION B–63844EN/02 8 To specify a file with its file name, press soft key [N READ] in step 6 above. The screen shown below is displayed. DIRECTORY (M–CARD) O0001 N00010 No. FILE NAME COMMENT 0012 O0050 (MAIN PROGRAM) 0013 TESTPRO (SUB PROGRAM–1) 0014 O0060 (MACRO PROGRAM) ~
  • Page 593B–63844EN/02 OPERATION 8. DATA INPUT/OUTPUT Writing a file Procedure 1 Press the EDIT switch on the machine operator’s panel. 2 Press function key PROG . 3 Press the rightmost soft key (next–menu key). 4 Press soft key [CARD]. The screen shown below is displayed. DIRECTORY (M–CARD) O0034 N00045 No.
  • Page 5948. DATA INPUT/OUTPUT OPERATION B–63844EN/02 Explanations D Registering the same file When a file having the same name is already registered in the memory name card, the confirmation message “OVERWRITE?” appears. D Writing all programs To write all programs, set program number = –9999. If no file nam
  • Page 595B–63844EN/02 OPERATION 8. DATA INPUT/OUTPUT Deleting a file Procedure 1 Press the EDIT switch on the machine operator’s panel. 2 Press function key PROG . 3 Press the rightmost soft key (next–menu key). 4 Press soft key [CARD]. The screen shown below is displayed. DIRECTORY (M–CARD) O0034 N00045 No.
  • Page 5968. DATA INPUT/OUTPUT OPERATION B–63844EN/02 Batch input/output with a memory card On the ALL IO screen, different types of data including part programs, parameters, offset data, pitch error data, custom macros, and workpiece coordinate system data can be input and output using a memory card; the scr
  • Page 597B–63844EN/02 OPERATION 8. DATA INPUT/OUTPUT Explanations D Each data item When this screen is displayed, the program data item is selected. The soft keys for other screens are displayed by pressing the rightmost soft key (next–menu key). MACRO PITCH WORK (OPRT) When a data item other than program is
  • Page 5988. DATA INPUT/OUTPUT OPERATION B–63844EN/02 File format and error messages Format All files that are read from and written to a memory card are of text format. The format is described below. A file starts with % or LF, followed by the actual data. A file always ends with %. In a read operation, data
  • Page 599B–63844EN/02 OPERATION 8. DATA INPUT/OUTPUT Memory Card Error Codes Code Meaning 99 A part preceding the FAT area on the memory card is destroyed. 102 The memory card does not have sufficient free space. 105 No memory card is mounted. 106 A memory card is already mounted. 110 The specified directory
  • Page 6009. EDITING PROGRAMS OPERATION B–63844EN/02 9 EDITING PROGRAMS General This chapter describes how to edit programs registered in the CNC. Editing includes the insertion, modification, deletion, and replacement of words. Editing also includes deletion of the entire program and automatic insertion of s
  • Page 601B–63844EN/02 OPERATION 9. EDITING PROGRAMS 9.1 This section outlines the procedure for inserting, modifying, and deleting a word in a program registered in memory. INSERTING, ALTERING AND DELETING A WORD Procedure for inserting, altering and deleting a word 1 Select EDIT mode. 2 Press PROG . 3 Selec
  • Page 6029. EDITING PROGRAMS OPERATION B–63844EN/02 9.1.1 A word can be searched for by merely moving the cursor through the text Word Search (scanning), by word search, or by address search. Procedure for scanning a program 1 Press the cursor key . The cursor moves forward word by word on the screen; the cu
  • Page 603B–63844EN/02 OPERATION 9. EDITING PROGRAMS Procedure for searching a word Example) of Searching for S12 PROGRAM O0050 N01234 N01234 is being O0050 ; searched for/ N01234 X100.0 Z1250.0 ; scanned currently. S12 ; S12 is searched N56789 M03 ; for. M02 ; % 1 Key in address S . 2 Key in 1 2 . ⋅ S12 cann
  • Page 6049. EDITING PROGRAMS OPERATION B–63844EN/02 9.1.2 The cursor can be jumped to the top of a program. This function is called Heading a Program heading the program pointer. This section describes the three methods for heading the program pointer. Procedure for Heading a Program Method 1 1 Press RESET w
  • Page 605B–63844EN/02 OPERATION 9. EDITING PROGRAMS 9.1.3 Inserting a Word Procedure for inserting a word 1 Search for or scan the word immediately before a word to be inserted. 2 Key in an address to be inserted. 3 Key in data. 4 Press the INSERT key. Example of Inserting T15 Procedure 1 Search for or scan
  • Page 6069. EDITING PROGRAMS OPERATION B–63844EN/02 9.1.4 Altering a Word Procedure for altering a word 1 Search for or scan a word to be altered. 2 Key in an address to be inserted. 3 Key in data. 4 Press the ALTER key. Example of changing T15 to M15 Procedure 1 Search for or scan T15. Program O0050 N01234
  • Page 607B–63844EN/02 OPERATION 9. EDITING PROGRAMS 9.1.5 Deleting a Word Procedure for deleting a word 1 Search for or scan a word to be deleted. 2 Press the DELETE key. Example of deleting X100.0 Procedure 1 Search for or scan X100.0. Program O0050 N01234 O0050 ; X100.0 is N01234 X100.0 Z1250.0 M15 ; searc
  • Page 6089. EDITING PROGRAMS OPERATION B–63844EN/02 9.2 A block or blocks can be deleted in a program. DELETING BLOCKS 9.2.1 The procedure below deletes a block up to its EOB code; the cursor Deleting a Block advances to the address of the next word. Procedure for deleting a block 1 Search for or scan addres
  • Page 609B–63844EN/02 OPERATION 9. EDITING PROGRAMS 9.2.2 The blocks from the currently displayed word to the block with a specified Deleting Multiple sequence number can be deleted. Blocks Procedure for deleting multiple blocks 1 Search for or scan a word in the first block of a portion to be deleted. 2 Key
  • Page 6109. EDITING PROGRAMS OPERATION B–63844EN/02 9.3 When memory holds multiple programs, a program can be searched for. There are three methods as follows. PROGRAM NUMBER SEARCH Procedure for program number search Method 1 1 Select EDIT or MEMORY mode. 2 Press PROG to display the program screen. 3 Key in
  • Page 611B–63844EN/02 OPERATION 9. EDITING PROGRAMS 9.4 Sequence number search operation is usually used to search for a sequence number in the middle of a program so that execution can be SEQUENCE started or restarted at the block of the sequence number. NUMBER SEARCH Example) Sequence number 02346 in a pro
  • Page 6129. EDITING PROGRAMS OPERATION B–63844EN/02 Explanations D Operation during Search Those blocks that are skipped do not affect the CNC. This means that the data in the skipped blocks such as coordinates and M, S, and T codes does not alter the CNC coordinates and modal values. So, in the first block
  • Page 613B–63844EN/02 OPERATION 9. EDITING PROGRAMS 9.5 Programs registered in memory can be deleted,either one program by one program or all at once. Also, More than one program can be deleted by DELETING specifying a range. PROGRAMS 9.5.1 A program registered in memory can be deleted. Deleting One Program
  • Page 6149. EDITING PROGRAMS OPERATION B–63844EN/02 9.5.3 Programs within a specified range in memory are deleted. Deleting More Than One Program by Specifying a Range Procedure for deleting more than one program by specifying a range 1 Select the EDIT mode. 2 Press PROG to display the program screen. 3 Ente
  • Page 615B–63844EN/02 OPERATION 9. EDITING PROGRAMS 9.6 With the extended part program editing function, the operations described below can be performed using soft keys for programs that have been EXTENDED PART registered in memory. PROGRAM EDITING Following editing operations are available : FUNCTION ⋅ All
  • Page 6169. EDITING PROGRAMS OPERATION B–63844EN/02 9.6.1 A new program can be created by copying a program. Copying an Entire Program Before copy After copy Oxxxx Oxxxx Oyyyy A Copy A A Fig. 9.6.1 Copying an entire program In Fig. 9.6.1, the program with program number xxxx is copied to a newly created prog
  • Page 617B–63844EN/02 OPERATION 9. EDITING PROGRAMS 9.6.2 A new program can be created by copying part of a program. Copying Part Before copy After copy of a Program Oxxxx Oxxxx Oyyyy A Copy A B B B C C Fig. 9.6.2 Copying part of a program In Fig. 9.6.2, part B of the program with program number xxxx is copi
  • Page 6189. EDITING PROGRAMS OPERATION B–63844EN/02 9.6.3 A new program can be created by moving part of a program. Moving Part of a Program Before copy After copy Oxxxx Oxxxx Oyyyy A Copy A B B C C Fig. 9.6.3 Moving part of a program In Fig. 9.6.3, part B of the program with program number xxxx is moved to
  • Page 619B–63844EN/02 OPERATION 9. EDITING PROGRAMS 9.6.4 Another program can be inserted at an arbitrary position in the current Merging a Program program. Before merge After merge Oxxxx Oyyyy Oxxxx Oyyyy A B Merge A B C B Merge location C Fig. 9.6.4 Merging a program at a specified location In Fig. 9.6.4,
  • Page 6209. EDITING PROGRAMS OPERATION B–63844EN/02 9.6.5 Supplementary Explanation for Copying, Moving and Merging Explanations D Setting an editing range The setting of an editing range start point with [CRSR] can be changed freely until an editing range end point is set with [CRSR] or [BTTM] . If an ed
  • Page 621B–63844EN/02 OPERATION 9. EDITING PROGRAMS Alarm Alarm no. Contents Memory became insufficient while copying or inserting 70 a program. Copy or insertion is terminated. The power was interrupted during copying, moving, or inserting a program and memory used for editing must be cleared. When this ala
  • Page 6229. EDITING PROGRAMS OPERATION B–63844EN/02 9.6.6 Replace one or more specified words. Replacement of Replacement can be applied to all occurrences or just one occurrence of specified words or addresses in the program. Words and Addresses Procedure for hange of words or addresses 1 Perform steps 1 to
  • Page 623B–63844EN/02 OPERATION 9. EDITING PROGRAMS Explanation D Replacing custom The following custom macro words are replaceable: macros IF, WHILE, GOTO, END, DO, BPRNT, DPRINT, POPEN, PCLOS The abbreviations of custom macro words can be specified. When abbreviations are used, however, the screen displays
  • Page 6249. EDITING PROGRAMS OPERATION B–63844EN/02 9.7 Unlike ordinary programs, custom macro programs are modified, inserted, or deleted based on editing units. EDITING OF Custom macro words can be entered in abbreviated form. CUSTOM MACROS Comments can be entered in a program. Refer to the III–10.1 for th
  • Page 625B–63844EN/02 OPERATION 9. EDITING PROGRAMS 9.8 Editing a program while executing another program is called background editing. The method of editing is the same as for ordinary editing BACKGROUND (foreground editing). EDITING A program edited in the background should be registered in foreground prog
  • Page 6269. EDITING PROGRAMS OPERATION B–63844EN/02 9.9 The password function (bit 4 (NE9) of parameter No. 3202) can be locked using parameter No. 3210 (PASSWD) and parameter No. 3211 PASSWORD (KEYWD) to protect program Nos. 9000 to 9999. In the locked state, FUNCTION parameter NE9 cannot be set to 0. In th
  • Page 627B–63844EN/02 OPERATION 9. EDITING PROGRAMS D Setting 0 in parameter When 0 is set in the parameter PASSWD, the number 0 is displayed, and PASSWD the password function is disabled. In other words, the password function can be disabled by either not setting parameter PASSWD at all, or by setting 0 in
  • Page 62810. CREATING PROGRAMS OPERATION B–63844EN/02 10 CREATING PROGRAMS Programs can be created using any of the following methods: ⋅ CREATING PROGRAMS USING THE MDI PANEL ⋅ PROGRAMMING IN TEACH IN MODE ⋅ MANUAL GUIDE 0i ⋅ AUTOMATIC PROGRAM PREPARATION DEVICE (FANUC SYSTEM P) This chapter describes creati
  • Page 629B–63844EN/02 OPERATION 10. CREATING PROGRAMS 10.1 Programs can be created in the EDIT mode using the program editing functions described in III–9. CREATING PROGRAMS USING THE MDI PANEL Procedure for Creating Programs Using the MDI Panel Procedure 1 Enter the EDIT mode. 2 Press the PROG key. 3 Press
  • Page 63010. CREATING PROGRAMS OPERATION B–63844EN/02 10.2 Sequence numbers can be automatically inserted in each block when a program is created using the MDI keys in the EDIT mode. AUTOMATIC Set the increment for sequence numbers in parameter 3216. INSERTION OF SEQUENCE NUMBERS Procedure for automatic inse
  • Page 631B–63844EN/02 OPERATION 10. CREATING PROGRAMS 9 Press INSERT . The EOB is registered in memory and sequence numbers are automatically inserted. For example, if the initial value of N is 10 and the parameter for the increment is set to 2, N12 inserted and displayed below the line where a new block is
  • Page 63210. CREATING PROGRAMS OPERATION B–63844EN/02 10.3 The TEACH IN JOG mode and TEACH IN HANDLE mode are added. In these modes, a machine position along the X, Y, and Z axes obtained by CREATING manual operation is stored in memory as a program position to create a PROGRAMS IN program. TEACH IN MODE The
  • Page 633B–63844EN/02 OPERATION 10. CREATING PROGRAMS 1 Set the setting data SEQUENCE NO. to 1 (on). (The incremental value parameter (No. 3216) is assumed to be “1”.) 2 Select the TEACH IN HANDLE mode. 3 Make positioning at position P0 by the manual pulse generator. 4 Select the program screen. 5 Enter prog
  • Page 63410. CREATING PROGRAMS OPERATION B–63844EN/02 Explanations D Checking contents of the The contents of memory can be checked in the TEACH IN mode by using memory the same procedure as in EDIT mode. PROGRAM O1234 N00004 (RELATIVE) (ABSOLUTE) X –6.975 X 3.025 Y 23.723 Y 23.723 Z –10.325 Z –0.325 O1234 ;
  • Page 635B–63844EN/02 OPERATION 11. SETTING AND DISPLAYING DATA 11 SETTING AND DISPLAYING DATA General To operate a CNC machine tool, various data must be set on the MDI panel for the CNC. The operator can monitor the state of operation with data displayed during operation. This chapter describes how to disp
  • Page 63611. SETTING AND DISPLAYING DATA OPERATION B–63844EN/02 POSITION DISPLAY SCREEN Screen transition triggered by the function key POS POS Current position screen ABS REL ALL HNDL (OPRT) Position display of Position displays Total position display Manual handle work coordinate relative coordinate of eac
  • Page 637B–63844EN/02 OPERATION 11. SETTING AND DISPLAYING DATA Screen transition triggered by the function key PROG PROGRAM SCREEN in the MEMORY or MDI mode PROG *: Displayed in MDI mode Program screen * MEM MDI PRGRM CHECK CURRNT NEXT (OPRT) Display of proĆ Display of current Display of current gram conten
  • Page 63811. SETTING AND DISPLAYING DATA OPERATION B–63844EN/02 Screen transition triggered by the function key PROG PROGRAM SCREEN in the EDIT mode PROG Program screen EDIT PRGRM LIB (OPRT) Program editing Program memory screen and program diĆ ⇒ See III-9 rectory ⇒ See III-11.3.1. Program screen EDIT FLOPPY
  • Page 639B–63844EN/02 OPERATION 11. SETTING AND DISPLAYING DATA OFFSET/SETTING SCREEN Screen transition triggered by the function key OFFSET SETTING OFFSET SETTING Tool offset value OFFSET SETTING WORK (OPRT) Display of tool Display of setĆ Display of workĆ offset value ting data piece coordinate ⇒ See III-1
  • Page 64011. SETTING AND DISPLAYING DATA OPERATION B–63844EN/02 SYSTEM SCREEN Screen transition triggered by the function key SYSTEM SYSTEM Parameter screen PARAM DGNOS PMC SYSTEM (OPRT) Display of Display of parameter screen diagnosis ⇒ See III-11.5.1 screen ⇒ See III-7.3 Setting of parameter ⇒ See III-11.5
  • Page 641B–63844EN/02 OPERATION 11. SETTING AND DISPLAYING DATA D Setting screens The table below lists the data set on each screen. Table.11. Setting screens and data on them Reference No. Setting screen Contents of setting item 1 Tool offset value Tool offset value III–11.4.1 Tool length offset value Cutte
  • Page 64211. SETTING AND DISPLAYING DATA OPERATION B–63844EN/02 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: ⋅Position display screen for the work coordinate system. FUNCTION KEY
  • Page 643B–63844EN/02 OPERATION 11. SETTING AND DISPLAYING DATA 11.1.1 Displays the current position of the tool in the workpiece coordinate Position Display in the system. The current position changes as the tool moves. The least input increment is used as the unit for numeric values. The title at the top o
  • Page 64411. SETTING AND DISPLAYING DATA OPERATION B–63844EN/02 11.1.2 Displays the current position of the tool in a relative coordinate system Position Display in the based on the coordinates set by the operator. The current position changes as the tool moves. The increment system is used as the unit for n
  • Page 645B–63844EN/02 OPERATION 11. SETTING AND DISPLAYING DATA Procedure to reset all axes Procedure 1 Press soft key [(OPRT)]. ABS REL ALL (OPRT) 2 Press soft key [ORIGIN]. ORIGIN 3 Press soft key [ALLEXE]. ALLEXE EXEC The relative coordinates for all axes are reset to 0. D Display including Bits 4 and 5 o
  • Page 64611. SETTING AND DISPLAYING DATA OPERATION B–63844EN/02 11.1.3 Displays the following positions on a screen : Current positions of the Overall Position tool in the workpiece coordinate system, relative coordinate system, and machine coordinate system, and the remaining distance. The relative Display
  • Page 647B–63844EN/02 OPERATION 11. SETTING AND DISPLAYING DATA 11.1.4 A workpiece coordinate system shifted by an operation such as manual Presetting the intervention can be preset using MDI operations to a pre–shift workpiece coordinate system. The latter coordinate system is displaced from the Workpiece C
  • Page 64811. SETTING AND DISPLAYING DATA OPERATION B–63844EN/02 11.1.5 The actual feedrate on the machine (per minute) can be displayed on a Actual Feedrate current position display screen or program check screen by setting bit 0 (DPF) of parameter 3105. On the 12-soft key type display unit, the actual Displ
  • Page 649B–63844EN/02 OPERATION 11. SETTING AND DISPLAYING DATA D Actual feedrate display In the case of movement of rotary axis, the speed is displayed in units of of rotary axis deg/min but is displayed on the screen in units of input system at that time. For example, when the rotary axis moves at 50 deg/m
  • Page 65011. SETTING AND DISPLAYING DATA OPERATION B–63844EN/02 11.1.6 The run time, cycle time, and the number of machined parts are displayed Display of Run Time on the current position display screens. and Parts Count Procedure for displaying run time and parts count on the current position display screen
  • Page 651B–63844EN/02 OPERATION 11. SETTING AND DISPLAYING DATA 11.1.7 The reading on the load meter can be displayed for each servo axis and Operating Monitor the serial spindle by setting bit 5 (OPM) of parameter 3111 to 1. The reading on the speedometer can also be displayed for the serial spindle. Displa
  • Page 65211. SETTING AND DISPLAYING DATA OPERATION B–63844EN/02 D Speedometer Although the speedometer normally indicates the speed of the spindle motor, it can also be used to indicate the speed of the spindle by setting bit 6 (OPS) of parameter 3111 to 1. The spindle speed to be displayed during operation
  • Page 653B–63844EN/02 OPERATION 11. SETTING AND DISPLAYING DATA 11.2 This section describes the screens displayed by pressing function key SCREENS PROG in MEMORY or MDI mode.The first four of the following screens DISPLAYED BY display the execution state for the program currently being executed in MEMORY or
  • Page 65411. SETTING AND DISPLAYING DATA OPERATION B–63844EN/02 11.2.1 Displays the program currently being executed in MEMORY or MDI Program Contents mode. Display Procedure for displaying the program contents 1 Press function key PROG to display the program screen. 2 Press chapter selection soft key [PRGRM
  • Page 655B–63844EN/02 OPERATION 11. SETTING AND DISPLAYING DATA 11.2.2 Displays the block currently being executed and modal data in the Current Block Display MEMORY or MDI mode. Screen Procedure for displaying the current block display screen Procedure 1 Press function key PROG . 2 Press chapter selection s
  • Page 65611. SETTING AND DISPLAYING DATA OPERATION B–63844EN/02 11.2.3 Displays the block currently being executed and the block to be executed Next Block Display next in the MEMORY or MDI mode. Screen Procedure for displaying the next block display screen Procedure 1 Press function key PROG . 2 Press chapte
  • Page 657B–63844EN/02 OPERATION 11. SETTING AND DISPLAYING DATA 11.2.4 Displays the program currently being executed, current position of the Program Check Screen tool, and modal data in the MEMORY mode. Procedure for displaying the program check screen Procedure 1 Press function key PROG . 2 Press chapter s
  • Page 65811. SETTING AND DISPLAYING DATA OPERATION B–63844EN/02 D 12 soft keys display unit The program check screen is not provided for 12 soft keys display unit. Press soft key [PRGRM] to display the contents of the program on the right half of the screen. The block currently being executed is indicated by
  • Page 659B–63844EN/02 OPERATION 11. SETTING AND DISPLAYING DATA 11.2.5 Displays the program input from the MDI and modal data in the MDI Program Screen for mode. MDI Operation Procedure for displaying the program screen for MDI operation Procedure 1 Press function key PROG . 2 Press chapter selection soft ke
  • Page 66011. SETTING AND DISPLAYING DATA OPERATION B–63844EN/02 11.3 This section describes the screens displayed by pressing function key SCREENS PROG in the EDIT mode. Function key PROG in the EDIT mode can DISPLAYED BY display the program editing screen and the program list screen (displays FUNCTION KEY <
  • Page 661B–63844EN/02 OPERATION 11. SETTING AND DISPLAYING DATA Explanations D Details of memory used PROGRAM NO. USED PROGRAM NO. USED : The number of the programs registered (including the subprograms) FREE : The number of programs which can be registered additionally. MEMORY AREA USED MEMORY AREA USED : T
  • Page 66211. SETTING AND DISPLAYING DATA OPERATION B–63844EN/02 PROGRAM DIRECTORY O0001 N00010 PROGRAM (NUM.) MEMORY (CHAR.) USED: 60 3321 FREE: 2 429 O0001 360 1996–06–12 14:40 O0002 240 1996–06–12 14:55 O0010 420 1996–07–01 11:02 O0020 180 1996–08–14 09:40 O0040 1,140 1996–03–25 18:40 O0050 60 1996–08–26 1
  • Page 663B–63844EN/02 OPERATION 11. SETTING AND DISPLAYING DATA D Order in which programs When no program has been deleted from the list, each program is are registered registered at the end of the list. If some programs in the list were deleted, then a new program is registered, the new program is inserted
  • Page 66411. SETTING AND DISPLAYING DATA OPERATION B–63844EN/02 11.3.2 In addition to the normal listing of the numbers and names of CNC Displaying a Program programs stored in memory, programs can be listed in units of groups, according to the product to be machined, for example. List for a Specified Group
  • Page 665B–63844EN/02 OPERATION 11. SETTING AND DISPLAYING DATA 8 Pressing the [EXEC] operation soft key displays the group–unit EXEC program list screen, listing all those programs whose name includes the specified character string. PROGRAM DIRECTORY (GROUP) O0001 N00010 PROGRAM (NUM.) MEMORY (CHAR.) USED:
  • Page 66611. SETTING AND DISPLAYING DATA OPERATION B–63844EN/02 [Example of using wild cards] (Entered character string) (Group for which the search will be made) (a) “*” CNC programs having any name (b) “*ABC” CNC programs having names which end with “ABC” (c) “ABC*” CNC programs having names which start wi
  • Page 667B–63844EN/02 OPERATION 11. SETTING AND DISPLAYING DATA 11.4 Press function key OFFSET SETTING to display or set tool compensation values and SCREENS other data. DISPLAYED BY This section describes how to display or set the following data: FUNCTION KEY OFFSET SETTING 1. Tool offset value
  • Page 66811. SETTING AND DISPLAYING DATA OPERATION B–63844EN/02 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 669B–63844EN/02 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, or enter the compensation number for the compensation value to be set or changed and press soft key [NO.SRH]. 4 To set a compensation value, enter
  • Page 67011. SETTING AND DISPLAYING DATA OPERATION B–63844EN/02 D 12 soft keys display unit OFFSET O0000 N00000 (LENGTH) (RADIUS) ACTUAL POSITION NO. GEOM WEAR GEOM WEAR (RELATIVE) 001 0.000 0.000 0.000 0.000 X 0.000 002 0.000 0.000 0.000 0.000 Y 0.000 003 0.000 0.000 0.000 0.000 Z 0.000 004 0.000 0.000 0.00
  • Page 671B–63844EN/02 OPERATION 11. SETTING AND DISPLAYING DATA 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 67211. SETTING AND DISPLAYING DATA OPERATION B–63844EN/02 8 Press the soft key [INP.C.]. The Z axis relative coordinate value is input and displayed as an tool length offset value. INP.C. ÇÇ ÇÇÇ ÇÇ ÇÇÇ Reference ÇÇ ÇÇÇ tool ÇÇ The difference is set as a tool length offset value A prefixed position 648
  • Page 673B–63844EN/02 OPERATION 11. SETTING AND DISPLAYING DATA 11.4.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 67411. SETTING AND DISPLAYING DATA OPERATION B–63844EN/02 4 Move the cursor to the item to be changed by pressing cursor keys , , , or . 5 Enter a new value and press soft key [INPUT]. Contents of settings D PARAMETER WRITE Setting whether parameter writing is enabled or disabled. 0 : Disabled 1 : Enab
  • Page 675B–63844EN/02 OPERATION 11. SETTING AND DISPLAYING DATA 11.4.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 67611. SETTING AND DISPLAYING DATA OPERATION B–63844EN/02 Explanations D Sequence number after After the specified sequence number is found during the execution of the the program is executed program, the sequence number set for sequence number compensation and stop is decremented by one. When the powe
  • Page 677B–63844EN/02 OPERATION 11. SETTING AND DISPLAYING DATA 11.4.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. This data can be set by parameters or on this screen (except for the total number of Ru
  • Page 67811. SETTING AND DISPLAYING DATA OPERATION B–63844EN/02 D PARTS COUNT This value is incremented by one when M02, M30, or an M code specified by parameter 6710 is executed. The value can also be set by parameter 6711. In general, this value is reset when it reaches the number of parts required. Refer
  • Page 679B–63844EN/02 OPERATION 11. SETTING AND DISPLAYING DATA 11.4.6 Displays the workpiece origin offset for each workpiece coordinate Displaying and Setting system (G54 to G59, G54.1 P1 to G54.1 P48 and G54.1 P1 to G54.1 P300) and external workpiece origin offset. The workpiece origin offset the Workpiec
  • Page 68011. SETTING AND DISPLAYING DATA OPERATION B–63844EN/02 11.4.7 This function is used to compensate for the difference between the Direct Input of programmed workpiece coordinate system and the actual workpiece coordinate system. The measured offset for the origin of the workpiece Measured Workpiece c
  • Page 681B–63844EN/02 OPERATION 11. SETTING AND DISPLAYING DATA 5 To display the workpiece origin offset setting screen, press the chapter selection soft key [WORK]. WORK COORDINATES O1234 N56789 (G54) NO. DATA NO. DATA 00 X 0.000 02 X 0.000 (EXT) Y 0.000 (G55) Y 0.000 Z 0.000 Z 0.000 01 X 0.000 03 X 0.000 (
  • Page 68211. SETTING AND DISPLAYING DATA OPERATION B–63844EN/02 11.4.8 Displays common variables (#100 to #149 or #100 to #199, and #500 to Displaying and Setting #531 or #500 to #999) on the screen. When the absolute value for a common variable exceeds 99999999, ******** is displayed. The values Custom Macr
  • Page 683B–63844EN/02 OPERATION 11. SETTING AND DISPLAYING DATA 11.4.9 This subsection uses an example to describe how to display or set Displaying Pattern Data machining menus (pattern menus) created by the machine tool builder. Refer to the manual issued by the machine tool builder for the actual and Patte
  • Page 68411. SETTING AND DISPLAYING DATA OPERATION B–63844EN/02 4 Enter necessary pattern data and press INPUT . 5 After entering all necessary data, enter the MEMORY mode and press the cycle start button to start machining. Explanations D Explanation of the HOLE PATTERN : Menu title pattern menu screen An o
  • Page 685B–63844EN/02 OPERATION 11. SETTING AND DISPLAYING DATA 11.4.10 With this function, functions of the switches on the machine operator’s Displaying and Setting panel can be controlled from the CRT/MDI panel. Jog feed can be performed using numeric keys. the Software Operator's Panel Procedure for disp
  • Page 68611. SETTING AND DISPLAYING DATA OPERATION B–63844EN/02 4 Move the cursor to the desired switch by pressing cursor key or . 5 Push the cursor move key or to match the mark J to an arbitrary position and set the desired condition. 6 On a screen where jog feed is enabled, pressing a desired arrow key,
  • Page 687B–63844EN/02 OPERATION 11. SETTING AND DISPLAYING DATA 11.4.11 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 arb
  • Page 68811. SETTING AND DISPLAYING DATA OPERATION B–63844EN/02 5 To display the page containing the data for a group, enter the group number and press soft key [NO.SRH]. The cursor can be moved to an arbitrary group by pressing cursor key or . 6 To change the value in the life counter for a group, move the
  • Page 689B–63844EN/02 OPERATION 11. SETTING AND DISPLAYING DATA Explanations D Display contents TOOL LIFE DATA : O3000 N00060 SELECTED GROUP 000 GROUP 001 : LIFE 0150 COUNT 0007 * 0034 # 0078 @ 0012 0056 0090 0035 0026 0061 0000 0000 0000 0000 0000 0000 0000 0000 GROUP 002 : LIFE 1400 COUNT 0000 0062 0024 00
  • Page 69011. SETTING AND DISPLAYING DATA OPERATION B–63844EN/02 11.4.12 The extended tool life management function provides more detailed data Displaying and Setting display and more data editing functions than the ordinary tool life management function. Extended Tool Life Moreover, if the tool life is speci
  • Page 691B–63844EN/02 OPERATION 11. SETTING AND DISPLAYING DATA ⋅ Deleting a tool group : 7–4 ⋅ Deleting tool data (T, H, or D code) : 7–5 ⋅ Skipping a tool : 7–6 ⋅ Clearing the life count (resetting the life) : 7–7 7–1 Setting the life count type, life value, current life count, and tool data (T, H, or D co
  • Page 69211. SETTING AND DISPLAYING DATA OPERATION B–63844EN/02 7–4 Deleting a tool group (1) In step 3, position the cusor on a group to be deleted and display the editing screen. (2) Press soft key [DELETE]. (3) Press soft key [GROUP]. (4) Press soft key [EXEC]. 7–5 Deleting tool data (T, H, or D code) (1)
  • Page 693B–63844EN/02 OPERATION 11. SETTING AND DISPLAYING DATA Explanations D Displays LIFE DATA EDIT GROUP : 001 O0010 N00001 TYPE : 1 (1:C 2:M) NEXT GROUP: *** LIFE : 9800 USE GROUP : *** COUNT : 6501 SELECTED GROUP : 001 NO. STATE T–CODE H–CODE D–CODE 01 * 0034 011 005 02 # 0078 000 033 03 @ 0012 004 018
  • Page 69411. SETTING AND DISPLAYING DATA OPERATION B–63844EN/02 D Tool life management When the extended tool life management function is provided, the screen following items are added to the tool life management screen: S NEXT: Tool group to be used next S USE: Tool group in use S Life counter type for each
  • Page 695B–63844EN/02 OPERATION 11. SETTING AND DISPLAYING DATA 11.5 When the CNC and machine are connected, parameters must be set to determine the specifications and functions of the machine in order to fully SCREENS utilize the characteristics of the servo motor or other parts. DISPLAYED BY This chapter d
  • Page 69611. SETTING AND DISPLAYING DATA OPERATION B–63844EN/02 11.5.1 When the CNC and machine are connected, parameters are set to Displaying and Setting determine the specifications and functions of the machine in order to fully utilize the characteristics of the servo motor. The setting of parameters Par
  • Page 697B–63844EN/02 OPERATION 11. SETTING AND DISPLAYING DATA Procedure for enabling/displaying parameter writing 1 Select the MDI mode or enter state emergency stop. 2 Press function key OFFSET SETTING . 3 Press soft key [SETING] to display the setting screen. SETTING (HANDY) O0001 N00000 PARAMETER WRITE
  • Page 69811. SETTING AND DISPLAYING DATA OPERATION B–63844EN/02 11.5.2 If pitch error compensation data is specified, pitch errors of each axis can Displaying and Setting be compensated in detection unit per axis. Pitch error compensation data is set for each compensation point at the Pitch Error intervals s
  • Page 699B–63844EN/02 OPERATION 11. SETTING AND DISPLAYING DATA Bidirectional pitch error The bidirectional pitch error compensation function allows independent compensation pitch error compensation in different travel directions. (When the movement is reversed, compensation is automatically carried out as i
  • Page 70011. SETTING AND DISPLAYING DATA OPERATION B–63844EN/02 2 Press function key SYSTEM . PITCH 3 Press the continuous menu key , then press chapter selection soft key [PITCH]. The following screen is displayed: Continuous menu key PIT-ERROR SETTING O0000 N00000 NO. DATA NO. DATA NO. DATA 0000 0 0010 0 0
  • Page 701B–63844EN/02 OPERATION 11. SETTING AND DISPLAYING DATA 11.6 The program number, sequence number, and current CNC status are always displayed on the screen except when the power is turned on, a DISPLAYING THE system alarm occurs, or the PMC screen is displayed. PROGRAM NUMBER, If data setting or the
  • Page 70211. SETTING AND DISPLAYING DATA OPERATION B–63844EN/02 11.6.2 The current mode, automatic operation state, alarm state, and program Displaying the Status editing state are displayed on the next to last line on the screen allowing the operator to readily understand the operation condition of the syst
  • Page 703B–63844EN/02 OPERATION 11. SETTING AND DISPLAYING DATA (5) Emergency stop or ––EMG–– : : Indicates emergency stop.(Blinks in reversed display.) reset status ––RESET–– : Indicates that the reset signal is being received. (6) Alarm status ALM : Indicates that an alarm is issued. (Blinks in reversed di
  • Page 70411. SETTING AND DISPLAYING DATA OPERATION B–63844EN/02 11.7 By pressing the function key MESSAGE , data such as alarms, alarm history SCREENS data, and external messages can be displayed. DISPLAYED BY For information relating to alarm display, see Section III.7.1. For FUNCTION KEY MESSAGE informatio
  • Page 705B–63844EN/02 OPERATION 11. SETTING AND DISPLAYING DATA Explanations D Updating external When an external operator message number is specified, updating of the operator message external operator message history data is started; this updating is history data continued until a new external operator mes
  • Page 70611. SETTING AND DISPLAYING DATA OPERATION B–63844EN/02 11.8 When screen indication isn’t necessary, the life of the back light for LCD can be put off by turning off the back light. CLEARING THE The screen can be cleared by pressing specific keys. It is also possible to SCREEN specify the automatic c
  • Page 707B–63844EN/02 OPERATION 11. SETTING AND DISPLAYING DATA 11.8.2 The CNC screen is automatically cleared if no keys are pressed during the Automatic Erase period (in minutes) specified with a parameter. The screen is restored by pressing any key. Screen Display Procedure for automatic erase screen disp
  • Page 70812. GRAPHICS FUNCTION OPERATION B–63844EN/02 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 on a screen. The gr
  • Page 709B–63844EN/02 OPERATION 12. GRAPHICS FUNCTION 12.1 It is possible to draw the programmed tool path on the screen, which makes it possible to check the progress of machining, while observing the GRAPHICS DISPLAY path on the screen. In addition, it is also possible to enlarge/reduce the screen. Before
  • Page 71012. GRAPHICS FUNCTION OPERATION B–63844EN/02 6 Automatic operation is started and machine movement is drawn on the screen. 0001 00012 X 0.000 Y 0.000 Z 0.000 Z X Y S 0T MEM * * * * *** *** 14 : 23 : 03 PARAM GRAPH Explanation D RANGE The size of the graphic screen will be as follows: (Actual graphic
  • Page 711B–63844EN/02 OPERATION 12. GRAPHICS FUNCTION 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 above actual graphics range and graphics range, set the magnification to 1 (actual value s
  • Page 71212. GRAPHICS FUNCTION OPERATION B–63844EN/02 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
  • Page 713B–63844EN/02 OPERATION 12. GRAPHICS FUNCTION D Graphics parameter ⋅ AXES Specify the plane to use for drawing. The user can choose from the following six coordinate systems. With two–path control, a different drawing coordinate system can be selected for each tool post. Y Z Y =0 : Select (1) =1 : Se
  • Page 71412. GRAPHICS FUNCTION OPERATION B–63844EN/02 ⋅ GRAPHIC CENTER X= Y= Z= Set the coordinate value on the workpiece coordinate system at graphic center. 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 g
  • Page 715B–63844EN/02 OPERATION 12. GRAPHICS FUNCTION 12.2 There is the following function in Dynamic Graphics. DYNAMIC Path graphic This is used to draw the path of tool center com- manded by the part program. GRAPHIC DISPLAY The path graphic function is used to precisely check the part program for drawing
  • Page 71612. GRAPHICS FUNCTION OPERATION B–63844EN/02 The first six functions above (1. to 6.) are available by setting the graphic parameters. The seventh to ninth functions (7. to 9.) are mainly executed using soft keys after drawing has been setup. The tenth function (10.) is enabled by setting a paramete
  • Page 717B–63844EN/02 OPERATION 12. GRAPHICS FUNCTION 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 power is turned off. 6 Set the operation mode to the memory mode, press function key PR
  • Page 71812. GRAPHICS FUNCTION OPERATION B–63844EN/02 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. Next, press soft key [(OPRT)]. PATH GRAPHIC
  • Page 719B–63844EN/02 OPERATION 12. GRAPHICS FUNCTION Mark display 15 To display a mark at the current tool position, display the PATH 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 center position on the tool
  • Page 72012. GRAPHICS FUNCTION OPERATION B–63844EN/02 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 Bipla
  • Page 721B–63844EN/02 OPERATION 12. GRAPHICS FUNCTION D TILTING The tilting angle of the vertical axis is set in the range of –90°to +90°in reference to the horizontal axis crossing the vertical axis at a right angle. When a positive value is set, the vertical axis slants to the other side of the graphic scr
  • Page 72212. GRAPHICS FUNCTION OPERATION B–63844EN/02 D TOOL COMP. It is possible to set whether the tool path is drawn by making the tool length offset or cutter compensation valid or invalid. Setting value Tool length offset or cutter compensation 0 Perform drawing by making tool compensation valid (An act
  • Page 723B–63844EN/02 OPERATION 12. GRAPHICS FUNCTION D Graphic program No part program which has not been registered in memory can be drawn. Also, it is necessary that the M02 or M30 should be commanded at the end of the part program. D Mark for the tool current The period of mark blinking is short when the
  • Page 72413. HELP FUNCTION OPERATION B–63844EN/02 13 HELP FUNCTION The help function displays on the screen detailed information about alarms issued in the CNC and about CNC operations. The following information is displayed. D Detailed information of When the CNC is operated incorrectly or an erroneous mach
  • Page 725B–63844EN/02 OPERATION 13. HELP FUNCTION ALARM DETAIL screen 2 Press soft key [ALAM] on the HELP (INITIAL MENU) screen to display detailed information about an alarm currently being raised. HELP (ALARM DETAIL) O0010 N00001 NUMBER : 027 Alarm No. M‘SAGE : NO AXES COMMANDED IN G43/G44 Normal explana–
  • Page 72613. HELP FUNCTION OPERATION B–63844EN/02 3 To get details on another alarm number, first enter the alarm number, then press soft key [SELECT]. This operation is useful for investigating alarms not currently being raised. >100 S 0 T0000 MEM **** *** *** 10:12:25 [ ] [ ] [ ] [ ] [ SELECT ] Fig. 13 (d)
  • Page 727B–63844EN/02 OPERATION 13. HELP FUNCTION >1 S 0 T0000 MEM **** *** *** 10:12:25 [ ] [ ] [ ] [ ] [ SELECT ] Fig. 13 (g) How to select each OPERATION METHOD screen When “1. PROGRAM EDIT” is selected, for example, the screen in Figure 13 (h) is displayed. On each OPERATION METHOD screen, it is possible
  • Page 72813. HELP FUNCTION OPERATION B–63844EN/02 The current page No. is shown at the upper right corner on the screen. HELP (PARAMETER TABLE) 01234 N00001 1/4 * SETTEING (No. 0000∼) * READER/PUNCHER INTERFACE (No. 0100∼) * AXIS CONTROL /SETTING UNIT (No. 1000∼) * COORDINATE SYSTEM (No. 1200∼) * STROKE LIMI
  • Page 729IV. MANUAL GUIDE 0
  • Page 730
  • Page 731B-63844EN/02 MANUAL GUIDE 0i 1.MANUAL GUIDE 0i 1 MANUAL GUIDE 0i - 707 -
  • Page 7321.MANUAL GUIDE 0i MANUAL GUIDE 0i B-63844EN/02 1.1 OVERVIEW MANUAL GUIDE 0i was developed to aid in the generation of part programs for Series 0i-MB control systems. A part program consists of a set of machining instructions that the operator wants to execute. A part program uses alphabetic text for
  • Page 733B-63844EN/02 MANUAL GUIDE 0i 1.MANUAL GUIDE 0i 1.2 INTRODUCTION MANUAL GUIDE 0i is just one of the screens available to the user during CNC operation. It can be accessed at any time by pressing the “CUSTOM” pushbutton on the MDI panel. From this screen, the user can select display of the programmer’
  • Page 7341.MANUAL GUIDE 0i MANUAL GUIDE 0i B-63844EN/02 1.3 PROGRAM CREATING OPERATIONS 1.3.1 Start Up The MANUAL GUIDE 0i screen can be brought up at any time by pressing the “CUSTOM” pushbutton on the MDI panel. From this screen, the user can enter the number of a program that they want to create or edit.
  • Page 735B-63844EN/02 MANUAL GUIDE 0i 1.MANUAL GUIDE 0i 1.3.2 Start Up The MANUAL GUIDE 0i screen can be brought up at any time by pressing the “CUSTOM” pushbutton on the MDI panel. From this screen the user can enter the number of the program that they wish to create or edit. EDITING SAME PROGRAM IN CNC AND
  • Page 7361.MANUAL GUIDE 0i MANUAL GUIDE 0i B-63844EN/02 1.3.3 Creating a New Part Program To create a new part program, enter the number of the program you wish to create on the MANUAL GUIDE 0i main screen. If the system does not display a warning, the MANUAL GUIDE 0i editing screen will appear with the requ
  • Page 737B-63844EN/02 MANUAL GUIDE 0i 1.MANUAL GUIDE 0i O0015 ; T1M6; % [PROCESS][G CODE][M CODE][CYCLE][CONTUR] To change an item of entered data, move the cursor to the item, enter a new item, and then press the "ALTER" key. Similarly, to delete an item, move the cursor to the item, and then press the "DEL
  • Page 7381.MANUAL GUIDE 0i MANUAL GUIDE 0i B-63844EN/02 1.3.4 Process Assistance We have already learned that, after we have created a new part program (or edited one that already exists), we can use the editor to enter information into the part program directly. In itself, however, this offers no real advan
  • Page 739B-63844EN/02 MANUAL GUIDE 0i 1.MANUAL GUIDE 0i display unit. The information is inserted into the program and the cursor remains where you originally placed it. O0015 ; F300.; M7; % [PROCESS][G CODE][M CODE][CYCLE][CONTUR] Let’s move the cursor position to the “M7” line to prepare for more program d
  • Page 7401.MANUAL GUIDE 0i MANUAL GUIDE 0i B-63844EN/02 1.3.5 G-code Assistance Now that we have added process information to the part program, machine tool movement is usually needed to complete the machining operation. Machine tool movement is performed using interpolations that control the movement of the
  • Page 741B-63844EN/02 MANUAL GUIDE 0i 1.MANUAL GUIDE 0i G92 SETTING WORK COORD. SYSTEM By specifying G92 command, a workpiece coordinate system (selected by G54 to G59) is shifted to set a new workpiece coordinate system origin. Then, the workpiece zero point offset values. This means that all the workpiece
  • Page 7421.MANUAL GUIDE 0i MANUAL GUIDE 0i B-63844EN/02 MDII key panel), and then press the “INSERT” key on the MDI key panel. After inserting the line of code into the part program the EZ- programmer will display the editor screen with our new command inserted. To prepare for further program development, le
  • Page 743B-63844EN/02 MANUAL GUIDE 0i 1.MANUAL GUIDE 0i 1.3.6 M-code Assistance M-codes are used by the CNC to request the execution of machine auxiliary processes. An example is stopping the machine at the end of a part program. Just like the other commands we have developed, M- codes can be inserted direct
  • Page 7441.MANUAL GUIDE 0i MANUAL GUIDE 0i B-63844EN/02 M01 OPTIONAL STOP M01 will cause the part program to stop execution only if the OPTIONAL STOP function is active. This is usually a push button on the operator panel. If the optional stop becomes active, the operator will be required to press the cycle
  • Page 745B-63844EN/02 MANUAL GUIDE 0i 1.MANUAL GUIDE 0i 1.4 CANNED CYCLE MACHINING MANUAL GUIDE 0i utilizes “canned cycle machining,” which allows the user to enter canned cycle blocks. These canned cycles give the user access to the following machining features. Hole Machining G1000 Center drilling G1001 Dr
  • Page 7461.MANUAL GUIDE 0i MANUAL GUIDE 0i B-63844EN/02 1.4.1 Operation To use “canned cycle machining” press the “CYCLE” soft-key on the display unit. The cycle machining menu will appear. This cycle machining menu lists all the canned cycles supported by MANUAL GUIDE 0i. The menu is broken up into several
  • Page 747B-63844EN/02 MANUAL GUIDE 0i 1.MANUAL GUIDE 0i “INPUT.” Then, by pressing the “ACCEPT” soft-key, the original canned cycle block is changed to new one. The canned cycles provided by MANUAL GUIDE 0i are configured as a pair of a machining type block and figure block. So, after entering a machining ty
  • Page 7481.MANUAL GUIDE 0i MANUAL GUIDE 0i B-63844EN/02 1.4.2 Data for Each Canned Cycle 1.4.2.1 Machining type block of Hole machining Center drilling : G1000 Data item Comment W MACHINING TYPE 1 : Drilling without dwell 2 : Drilling with dwell C CLEARANCE Distance from the surface of workpiece to the start
  • Page 749B-63844EN/02 MANUAL GUIDE 0i 1.MANUAL GUIDE 0i Reaming : G1003 Data item Comment W MACHINING TYPE 1 : Escape by G01 motion 2 : Escape by G00 motion 3 : Escape by G01 motion after dwell at bottom C CLEARANCE Distance from the surface of workpiece to the start point of actual cutting motion I REFERENC
  • Page 7501.MANUAL GUIDE 0i MANUAL GUIDE 0i B-63844EN/02 1.4.2.2 Figure block of Hole machining Points - Hole pattern : G1210 Data item Comment B REFERENCE POSITION Z-coordinate of the workpiece surface L DEPTH Hole depth (usually negative value) H POINT-1 (X-AXIS) X-coordinate of 1st hole point V POINT-1 (Y-
  • Page 751B-63844EN/02 MANUAL GUIDE 0i 1.MANUAL GUIDE 0i Line (Not Equal interval) - Hole pattern : G1212 Data item Comment B REFERENCE POSITION Z-coordinate of the workpiece surface L DEPTH Hole depth (usually negative value) H START POINT (X-AXIS) Start point X-coordinate of the line (1st hole point) V STAR
  • Page 7521.MANUAL GUIDE 0i MANUAL GUIDE 0i B-63844EN/02 Grid - Hole pattern : G1213 Data item Comment B REFERENCE POSITION Z-coordinate of the workpiece surface L DEPTH Hole depth (usually negative value) H START POINT (X-AXIS) Start point X-coordinate of the 1st side (1st hole point) V START POINT (Y-AXIS)
  • Page 753B-63844EN/02 MANUAL GUIDE 0i 1.MANUAL GUIDE 0i Square - Hole pattern : G1214 Data item Comment B REFERENCE POSITION Z-coordinate of the workpiece surface L DEPTH Hole depth (usually negative value) H START POINT (X-AXIS) Start point X-coordinate of the 1st side (1st hole point) V START POINT (Y-AXIS
  • Page 7541.MANUAL GUIDE 0i MANUAL GUIDE 0i B-63844EN/02 Arc (EQual interval) - Hole pattern : G1216 Data item Comment B REFERENCE POSITION Z-coordinate of the workpiece surface L DEPTH Hole depth (usually negative value) H CENTER POINT (X-AXIS) Center point X-coordinate of the arc V CENTER POINT (Y-AXIS) Cen
  • Page 755B-63844EN/02 MANUAL GUIDE 0i 1.MANUAL GUIDE 0i 1.4.2.3 Machining type block of Face machining Facing - Rough : G1020 Data item Comment T THICKNESS Removal amount at roughing J CUT DEPTH OF TOOL – Cutting depth of one cutting along the tool axis AXIS direction (Z-axis) H FINISHING AMOUNT Finishing am
  • Page 7561.MANUAL GUIDE 0i MANUAL GUIDE 0i B-63844EN/02 1.4.2.4 Figure block of Face machining Square - Fixed figure : G1220 Data item Comment H CENTER POINT (X-AXIS) Center point X-coordinate of the square V CENTER POINT (Y-AXIS) Center point Y-coordinate of the square U LENGTH ALONG TO THE Length of square
  • Page 757B-63844EN/02 MANUAL GUIDE 0i 1.MANUAL GUIDE 0i 1.4.2.5 Machining type block of Pocket machining Pocketing - Rough : G1040 Data item Comment T BOTTOM THICKNESS Removal amount of pocket part, distance from the bottom of pocket J CUT DEPTH OF TOOL –AXIS Cutting depth of one cutting along the tool axis
  • Page 7581.MANUAL GUIDE 0i MANUAL GUIDE 0i B-63844EN/02 Pocketing - Chamfer : G1043 Data item Comment F FEEDARATE OF TOOL- Cutting feedrate along the tool radius direction RADIUS E FEEDARATE OF TOOL- Cutting feedrate along the tool axis (Z) direction AXIS Z CHAMFER AMOUNT Chamfering amount at the top of side
  • Page 759B-63844EN/02 MANUAL GUIDE 0i 1.MANUAL GUIDE 0i 1.4.2.6 Figure block of Pocket machining Square - Fixed figure : G1220 Data item Comment H CENTER POINT (X-AXIS) Center point X-coordinate of the square V CENTER POINT (Y-AXIS) Center point Y-coordinate of the square U LENGTH ALONG TO THE Length of squa
  • Page 7601.MANUAL GUIDE 0i MANUAL GUIDE 0i B-63844EN/02 1.4.2.7 Machining type block of Groove machining Grooving - Rough : G1050 Data item Comment T BOTTOM THICKNESS Removal amount of groove part, distance from the bottom of groove J CUT DEPTH OF TOOL –AXIS Cutting depth of one cutting along the tool axis d
  • Page 761B-63844EN/02 MANUAL GUIDE 0i 1.MANUAL GUIDE 0i Grooving - Chamfer : G1053 Data item Comment F FEEDARATE OF TOOL- Cutting feedrate along the tool radius direction RADIUS E FEEDARATE OF TOOL- Cutting feedrate along the tool axis (Z) direction AXIS Z CHAMFER AMOUNT Chamfering amount at the top of side
  • Page 7621.MANUAL GUIDE 0i MANUAL GUIDE 0i B-63844EN/02 1.4.2.8 Figure block of Groove machining Radial line grooves - Fixed figure : G1223 Data item Comment U DISTANCE BETWEEN Distance between 2 circle centers at the each end of CENTERS groove D GROOVE WIDTH Width of the groove L DEPTH Depth of groove, dist
  • Page 763B-63844EN/02 MANUAL GUIDE 0i 1.MANUAL GUIDE 0i 1.5 CONTOUR PROGRAMMING MANUAL GUIDE 0i also offers “contour programming,” by which the user can enter contour figures consisting of lines and circles. This “contour programming” involves high-performance contour calculation such as 10 blocks pending an
  • Page 7641.MANUAL GUIDE 0i MANUAL GUIDE 0i B-63844EN/02 1.5.1 Operations of Contour Programming 1.5.1.1 Calling Contour Programming Screen Pressing “CONTUR” causes the initial screen for contour programming to be displayed. 1.5.1.2 Selecting of Method to Edit of Contour Program Pressing “CONTUR” causes the i
  • Page 765B-63844EN/02 MANUAL GUIDE 0i 1.MANUAL GUIDE 0i CONFIRM DELETE OF WORKING PROGRAM WORKING PROGRAM EXIST. -> O9999 THIS PROGRAM WILL BE DELETE. DO YOU CONTINUE CONTOUR PROGRAMMING ? [CONT. ] [ EXIT ] [ ] [ ] [ ] NOTE If the program is used for other purpose already, press [EXIT] and get away from a co
  • Page 7661.MANUAL GUIDE 0i MANUAL GUIDE 0i B-63844EN/02 1.5.1.3 Entering of Contour Program Start Point When the user selects new program entry, the data item screen for the start point will be displayed first. Data item Comment START POINT X X coordinate of a contour figure start point START POINT Y Y coord
  • Page 767B-63844EN/02 MANUAL GUIDE 0i 1.MANUAL GUIDE 0i Then, enter the remaining data, or modify the figure data and store it into memory by pressing [OK]. When G41 or G42 is selected, the “OFFSET NO.” item will be displayed. So, input the necessary offset number data. NOTE By setting bit 5 (DCD) of paramet
  • Page 7681.MANUAL GUIDE 0i MANUAL GUIDE 0i B-63844EN/02 Example of data entering for contour figure If you select a line, the line screen is displayed, allowing you to enter all the figure data written on a drawing. Even though the end point coordinate value does not appear in a drawing, it can be determined
  • Page 769B-63844EN/02 MANUAL GUIDE 0i 1.MANUAL GUIDE 0i Insert a new contour figure Position the cursor to the figure block immediately before the position where a new figure should be inserted. Then, using the procedure described in examples 2 and 3, enter new figure block. Then, press [RECALC] to calculate
  • Page 7701.MANUAL GUIDE 0i MANUAL GUIDE 0i B-63844EN/02 1.5.1.4 Checking Contour Figures Entered contour figures can be checked on the screen by means of operations such as zooming-in, zooming-out, and so on. On the program list screen, press [GRAPH]. The graphic drawing screen shown below will appear. A dra
  • Page 771B-63844EN/02 MANUAL GUIDE 0i 1.MANUAL GUIDE 0i 1.5.1.5 Convert to NC Program Entered contour figures can be converted to NC programs in the form of G-code. Press [NC CNV]. The prompt "ARE YOU SURE TO CONVERT NC PROGRAM?" appears. When you press [YES], conversion starts. Press [NO] to abandon the con
  • Page 7721.MANUAL GUIDE 0i MANUAL GUIDE 0i B-63844EN/02 NOTE 1 Converted NC program blocks are stored immediately after the block to which the cursor was positioned. After a return to these previous screens, the cursor will be positioned to the head of the NC program that was newly stored after conversion. 2
  • Page 773B-63844EN/02 MANUAL GUIDE 0i 1.MANUAL GUIDE 0i 1.5.2 Detail of Contour Figure Data This chapter describes the details of the contour figure data, which is entered on the contour figure data screen. Details of the contour figure data for the start point and line are given in the previous chapter. Ref
  • Page 7741.MANUAL GUIDE 0i MANUAL GUIDE 0i B-63844EN/02 1.5.2.3 Chamfering Data item Comment CAMFER C Chamfering amount, but plus value only FEEDRATE Feedrate NOTE The feedrate data item is displayed when parameter No.9341#3(FCD) is set to 1. [OK] : Fix chamfering figure data and store into memory. [CANCEL]
  • Page 775B-63844EN/02 MANUAL GUIDE 0i 1.MANUAL GUIDE 0i 1.5.3 Detail of Contour Calculation This chapter explains the details of contour calculations, such as those for cross points or tangential points, that are supported by contour programming. A figure or part of a contour for which an end point has not y
  • Page 7761.MANUAL GUIDE 0i MANUAL GUIDE 0i B-63844EN/02 (3) When the preceding figure is pending, and "TOUCH LAST" is specified in the line. (a) Both X and Y, and A are inputted -> The cross point between the preceding figure is calculated. A Cross point (X,Y) When the preceding figure is an arc, the cross p
  • Page 777B-63844EN/02 MANUAL GUIDE 0i 1.MANUAL GUIDE 0i (c) A and either X or Y are inputted -> The tangential point selection screen is displayed, so select a necessary one. This line will be determined. Tangential point Tangential A point X or Z If the positional relationship between the tangential point a
  • Page 7781.MANUAL GUIDE 0i MANUAL GUIDE 0i B-63844EN/02 1.5.3.2 Arc (1) When the preceding figure is not pending, and "TOUCH LAST" is not specified in the arc (a) I and J are inputted -> This arc will be pending. (b) X, Y and R are inputted -> The selection screen for either "Long path arc" or "Short path ar
  • Page 779B-63844EN/02 MANUAL GUIDE 0i 1.MANUAL GUIDE 0i (2) When the preceding figure is not pending, and "TOUCH LAST" is specified in the arc (a) X and Y are inputted -> The radius is automatically calculated and this arc will be determined. Tangential point End point (X,Y) (3) When the preceding figure is
  • Page 7801.MANUAL GUIDE 0i MANUAL GUIDE 0i B-63844EN/02 (4) When the preceding figure is pending (for which the start point has been determined), and "TOUCH LAST" is specified in the arc (a) R, I an K are inputted -> The tangential point is calculated, and this arc will be pending. Tangential point R Center
  • Page 781B-63844EN/02 MANUAL GUIDE 0i 1.MANUAL GUIDE 0i (5) When the preceding figure "arc" is pending (for which the start point has been determined and only R is to be inputted), and "TOUCH LAST" is specified in the arc. (a) R, X and Y are inputted -> The selection screen for either "Long path arc" or "Sho
  • Page 7821.MANUAL GUIDE 0i MANUAL GUIDE 0i B-63844EN/02 1.5.3.3 Line tangential to two arcs (2) (2) Center of (3) (I3,K3) Center of (1) (I1,K1) (2) Start point R3 of(1) (2) By inputting three successive figures as follows, line (2) that is tangential to two arcs can be specified as shown in the above drawing
  • Page 783B-63844EN/02 MANUAL GUIDE 0i 1.MANUAL GUIDE 0i 1.5.3.4 Arc that Contacts to both Crossing Lines and Arcs (1) (1) (2) Tangential point (2) Tangential point R Tangential point R (3) (1) (3) (2) Tangential point (3) R Tangential point By inputting three successive figures as follows, arc (2) that is ta
  • Page 7841.MANUAL GUIDE 0i MANUAL GUIDE 0i B-63844EN/02 1.5.3.5 Arc that Contacts to Uncrossing Line and Arc (3) (1) Tangential Tangential point R point (2) By inputting three successive figures as follows, arc (2) that is tangential to line (1) and arc (3) that do not cross, can be specified as shown in the
  • Page 785B-63844EN/02 MANUAL GUIDE 0i 1.MANUAL GUIDE 0i 1.5.3.6 Arc that Contacts to Uncrossing 2 Arcs Start (3) point (1) R3 Tangential Center point R (I1,J1) Center (I3,J3) Tangential (2) point By inputting three successive figures as follows, arc (2) that is tangential to arcs (1) and (3) that do not cros
  • Page 7861.MANUAL GUIDE 0i MANUAL GUIDE 0i B-63844EN/02 1.5.4 Details of Auxiliary Calculation This chapter explains the details of the auxiliary calculation. By using this auxiliary calculation, the coordinates of a point or the angle of a line can be determined. Furthermore, the form of a contour, such as
  • Page 787B-63844EN/02 MANUAL GUIDE 0i 1.MANUAL GUIDE 0i 1.5.4.2 Start Point Selecting type of calculation On the data-entry screen for a start point, press [AUX.]. The following calculation type menu screen will appear. By pressing the cursor key, scroll through the menu comments until you find the one to se
  • Page 7881.MANUAL GUIDE 0i MANUAL GUIDE 0i B-63844EN/02 Entering data for calculation - A point specified by polar coordinate Data item Comment DIST. D Distance between the point and work coordinate origin ANGLE A Angle of line from +X-axis. A positive angle is counter clockwise direction. - A point specifie
  • Page 789B-63844EN/02 MANUAL GUIDE 0i 1.MANUAL GUIDE 0i (2) When specifying a line with two points By pressing [XY,XY], you can specify a line with two passing points. By pressing [XY, A], you can select the above type by using an angle again. Data item Comment BASE POINT X X coordinate of the base point pos
  • Page 7901.MANUAL GUIDE 0i MANUAL GUIDE 0i B-63844EN/02 Data item Comment SHIFT DIST. D When the line should be specified by shifting an original line, enter the shifting SHIFT DIRC. Select a shifting direction by arrow soft-keys - Cross point between line and arc The cross point between a line and arc can b
  • Page 791B-63844EN/02 MANUAL GUIDE 0i 1.MANUAL GUIDE 0i - Cross point between 2 arcs On the screen as shown below, data for two arcs can be entered and the cross point between them can be calculated. Data item Comment CENTER X1 X coordinate of an arc-1 center CENTER Y1 Y coordinate of an arc-1 center RADIUS
  • Page 7921.MANUAL GUIDE 0i MANUAL GUIDE 0i B-63844EN/02 1.5.4.3 Line As part of the auxiliary calculation for a line, the end point coordinate and angle can be calculated. The following soft-keys are displayed on the auxiliary calculation menu screen. [ENDPNT] : Menu screen for end point calculation is displ
  • Page 793B-63844EN/02 MANUAL GUIDE 0i 1.MANUAL GUIDE 0i - Angle of a line rectangular to the line passes 2 points The angle of a line that is rectangular to a line and which passes through two points can be calculated. Data item Comment POINT X X coordinate of the 1st passing point on the line POINT Y Y coor
  • Page 7941.MANUAL GUIDE 0i MANUAL GUIDE 0i B-63844EN/02 1.5.4.4 Arc As part of the auxiliary calculation for an arc, the end point coordinate and center coordinate can be calculated. Furthermore, the arc itself can be specified by entering the likes of three passing points. The following soft-keys are displa
  • Page 795B-63844EN/02 MANUAL GUIDE 0i 1.MANUAL GUIDE 0i Entering data for calculation - An arc passes 1 point and its center coordinate has been determined Data item Comment POINT X X coordinate of a certain point on the arc POINT Y Y coordinate of a certain point on the arc CENTER I X coordinate of an arc c
  • Page 7961.MANUAL GUIDE 0i MANUAL GUIDE 0i B-63844EN/02 1.5.5 Others 1.5.5.1 Calculation of Inputting Data Data can be entered for those items on the contour programming screen by using pocket calculator type calculation, as follows. Addition : 10+10 [INPUT] → 20 Subtraction : 10-10 [INPUT] → 0 To subtract f
  • Page 797B-63844EN/02 MANUAL GUIDE 0i 1.MANUAL GUIDE 0i 1.5.5.2 Notes should be paid Attention in Contour Programming NOTE 1 No more than forty figures can be entered for a contour program. 2 During contour program operation, if the screen is changed to another ones by the user pressing the likes of a functi
  • Page 7981.MANUAL GUIDE 0i MANUAL GUIDE 0i B-63844EN/02 1.6 PARAMETER 9330 Work program number used for NC program conversion The program number that will be used as a temporary program storing area for NC program conversion. When 0 is set, warning message will be displayed and NC program conversion will nev
  • Page 799B-63844EN/02 MANUAL GUIDE 0i 1.MANUAL GUIDE 0i 1.7 ALARMS If one or more of the set of the parameters or inputted programs are not correct when an attempt is made to execute that program, the following P/S alarms are raised. When an alarm other than the following P/S alarms is raised, refer to the r
  • Page 800
  • Page 801V. MAINTENANC
  • Page 802
  • Page 803B–63844EN/02 MAINTENANCE 1. METHOD OF REPLACING BATTERY 1 METHOD OF REPLACING BATTERY This chapter describes how to replace the CNC backup battery and absolute pulse coder battery. This chapter consists of the following sections: 1.1 REPLACING THE BATTERY FOR CONTROL UNIT 1.2 BATTERY FOR ABSOLUTE PU
  • Page 8041. METHOD OF REPLACING BATTERY MAINTENANCE B–63844EN/02 1.1 REPLACING THE BATTERY FOR CONTROL UNIT D Replacing the battery If a lithium battery is used, have A02B–0200–K102 (FANUC code: A98L–0031–0012) handy. (1) Turn the CNC on. About 30 seconds later, turn the CNC off. (2) Remove the battery from
  • Page 805B–63844EN/02 MAINTENANCE 1. METHOD OF REPLACING BATTERY NOTE Complete steps (1) to (3) within 30 minutes. (or, for the 210i with the PC functions, within 5 minutes) If the battery is left removed for a long time, the memory would lose the contents. Discard the dead battery, observing appropriate mun
  • Page 8061. METHOD OF REPLACING BATTERY MAINTENANCE B–63844EN/02 When using commercial D–size alkaline dry cells D Replacing the battery (1) Have commercial D–size alkaline dry cells handy. (2) Turn the CNC on. (3) Remove the lid from the battery case. (4) Replace the old dry cells with new ones. Mount the d
  • Page 807B–63844EN/02 MAINTENANCE 1. METHOD OF REPLACING BATTERY 1.2 The battery unit for the absolute pulse coder can be connected using [Connection scheme 1] and [Connection scheme 2] explained below. BATTERY FOR THE ABSOLUTE PULSE CODER [Connection scheme 1] Supplying power from one battery unit to more B
  • Page 8081. METHOD OF REPLACING BATTERY MAINTENANCE B–63844EN/02 WARNING 1 Do not connect more than one battery to the same BATL (B3) line. If the output voltage is different between the batteries, they may be short–circuited, resulting in the batteries becoming very hot. 2 Install the battery with correct p
  • Page 809B–63844EN/02 MAINTENANCE 1. METHOD OF REPLACING BATTERY [Connection scheme 2] Incorporating each SVM with batteries SVM SVM Battery case Battery case A06B–6114–K500 A06B–6114–K500 Battery Battery A06B–6073–K001 A06B–6073–K001 CX5X CX5X – If a low battery voltage or a battery voltage of 0 V is indica
  • Page 8101. METHOD OF REPLACING BATTERY MAINTENANCE B–63844EN/02 WARNING 1 When using the built–in batteries (A06B–6073–K001), do not connect them to the BATL (B3) of connector CXA2A/CXA2B. The output voltages from different SVM batteries may be short–circuited, resulting in the batteries becoming very hot.
  • Page 811B–63844EN/02 MAINTENANCE 1. METHOD OF REPLACING BATTERY [Caution No. 1 for battery The pulse coder for the a series servo motor is not incorporated with a replacement] backup capacitor as standard. To keep the absolute position information in the absolute pulse coder, you need to keep the control po
  • Page 8121. METHOD OF REPLACING BATTERY MAINTENANCE B–63844EN/02 [Caution No. 2 for battery If an excessive strain is applied to a connector when it is inserted or replacement] removed, a poor contact may result. When inserting and removing the battery connector, therefore, be careful not to apply an excessi
  • Page 813B–63844EN/02 MAINTENANCE 1. METHOD OF REPLACING BATTERY (2) Detaching the connector <1> Hold both the sides of the cable insula- tor and the cable, and pull them hori- zontally. <2> Pull out the cable side while raising it slightly. 10 degrees or less <3> Here, the angle of the cable to the hori- zo
  • Page 8141. METHOD OF REPLACING BATTERY MAINTENANCE B–63844EN/02 1.3 One battery unit can maintain current position data for six absolute pulse coders for a year. BATTERY FOR When the voltage of the battery becomes low, APC alarms 306 to 308 (+ SEPARATE axis number) are displayed on the CRT display. When APC
  • Page 815B–63844EN/02 MAINTENANCE 1. METHOD OF REPLACING BATTERY SERVO AMPLIFIER b The battery is connected in either of 2 ways as follows. series Method 1: Attach the lithium battery to the SVM. Use the battery: A06B–6093–K001. Method 2: Use the battery case (A06B–6050–K060). Use the battery: A06B–6050–K061
  • Page 8161. METHOD OF REPLACING BATTERY MAINTENANCE B–63844EN/02 Battery Battery cover Pass the battery cable to this slit. SVU–40, SVU–80 CAUTIONS D The connector of the battery can be connected with either of CX5X and CX5Y. D Replacement of batteries in the battery case. (Method 2) Replace four D–size alka
  • Page 817B–63844EN/02 MAINTENANCE 1. METHOD OF REPLACING BATTERY Used batteries Old batteries should be disposed as “INDUSTRIAL WASTES” according to the regulations of the country or autonomy where your machine has been installed. 793
  • Page 818
  • Page 819APPENDI
  • Page 820
  • Page 821B–63844EN/02 APPENDIX A. TAPE CODE LIST A TAPE CODE LIST ISO code EIA code Meaning Without With Character 8 7 6 5 4 3 2 1 Character 8 7 6 5 4 3 2 1 CUSTOM CUSTOM MACRO B MACRO B 0 ff f 0 f f Number 0 1 f ff f f 1 f f Number 1 2 f ff f f 2 f f Number 2 3 ff f ff 3 f f f f Number 3 4 f ff f f 4 f f Nu
  • Page 822A. TAPE CODE LIST APPENDIX B–63844EN/02 ISO code EIA code Meaning Without With Character 8 7 6 5 4 3 2 1 Character 8 7 6 5 4 3 2 1 CUSTOM CUSTOM MACRO B MACRO B DEL fffff f fff Del ffff f fff × × NUL f Blank f × × BS f f f BS f f f f × × HT f f f Tab fff f ff × × LF or NL f f f CR or EOB f f CR f f
  • Page 823B–63844EN/02 APPENDIX A. TAPE CODE LIST NOTE 1 The symbols used in the remark column have the following meanings. (Space) : The character will be registered in memory and has a specific meaning. It it is used incorrectly in a statement other than a comment, an alarm occurs. × : The character will no
  • Page 824B. LIST OF FUNCTIONS AND TAPE FORMAT APPENDIX B–63844EN/02 B LIST OF FUNCTIONS AND TAPE FORMAT Some functions cannot be added as options depending on the model. In the tables below, IP :presents a combination of arbitrary axis addresses using X,Y,Z,A,B and C (such as X_Y_Z_A_). x = 1st basic axis (X
  • Page 825B. LIST OF FUNCTIONS AND B–63844EN/02 APPENDIX TAPE FORMAT Functions Illustration Tape format AI advanced preview control G05.1 Q1; AI advanced preview control (G05.1) mode on G05.1 Q0 ; AI advanced preview control mode off Cylindrical interpolation G07.1 IP_r_; Cylindrical interpolation mode (G07.1
  • Page 826B. LIST OF FUNCTIONS AND TAPE FORMAT APPENDIX B–63844EN/02 Functions Illustration Tape format Reference position return Reference position (G28) G27 IP_ ; (G28) 2nd, reference position return Intermediateposition (G30) IP 2nd reference position (G30) Start point Return from reference Reference posit
  • Page 827B. LIST OF FUNCTIONS AND B–63844EN/02 APPENDIX TAPE FORMAT Functions Illustration Tape format Tool length offset C G43 (G43, G44, G49) a_ H_ ; G44 a : An optional address of one axis H : Tool offset number G49 : Cancel Tool offset (G45 – G48) G45 Increase G46 IP_ D_; IP Decrease G47 2 times G48 incr
  • Page 828B. LIST OF FUNCTIONS AND TAPE FORMAT APPENDIX B–63844EN/02 Functions Illustration Tape format Cutting mode (G64) G64_ ; Cutting mode Exact stop mode (G61) v G61_ ; Exact stop mode Tapping mode (G63) G63_ ; Tapping mode G64 t G62_ ; Automatic corner override Automatic corner override (G62) v G61 t Cu
  • Page 829B. LIST OF FUNCTIONS AND B–63844EN/02 APPENDIX TAPE FORMAT Functions Illustration Tape format Constant surface speed Surface speed G96 S_ ; Starts constant surface speed control control (G96, G97) (m/min or feet/min) (Surface speed command) Spindle speed G97 S_ ; Constant surface speed is cancelled
  • Page 830C. RANGE OF COMMAND VALUE APPENDIX B–63844EN/02 C RANGE OF COMMAND VALUE Linear axis D In case of millimeter Increment system input, feed screw is IS–B IS–C millimeter Least input increment 0.001 mm 0.0001 mm Least command increment 0.001 mm 0.0001 mm Max. programmable dimension ±99999.999 mm ±9999.
  • Page 831B–63844EN/02 APPENDIX C. RANGE OF COMMAND VALUE D In case of inch input, Increment system feed screw is inch IS–B IS–C Least input increment 0.0001 inch 0.00001 inch Least command increment 0.0001 inch 0.00001 inch Max. programmable dimension ±9999.9999 inch ±9999.9999 inch Max. rapid traverse Note
  • Page 832C. RANGE OF COMMAND VALUE APPENDIX B–63844EN/02 Rotation axis Increment system IS–B IS–C Least input increment 0.001 deg 0.0001 deg Least command increment 0.001 deg 0.0001 deg Max. programmable dimension ±99999.999 deg ±9999.9999 deg Max. rapid traverse Note 240000 deg/min 100000 deg/min Feedrate r
  • Page 833B–63844EN/02 APPENDIX D. NOMOGRAPHS D NOMOGRAPHS 809
  • Page 834D. NOMOGRAPHS APPENDIX B–63844EN/02 D.1 The leads of a thread are generally incorrect in δ1 and δ2, as shown in Fig. D.1 (a), due to automatic acceleration and deceleration. INCORRECT Thus distance allowances must be made to the extent of δ1 and δ2 in the THREADED LENGTH program. δ2 δ1 Fig. D.1 (a)
  • Page 835B–63844EN/02 APPENDIX D. NOMOGRAPHS D How to use nomograph First specify the class and the lead of a thread. The thread accuracy, α, will be obtained at (1), and depending on the time constant of cutting feed acceleration/ deceleration, the δ1 value when V = 10mm / s will be obtained at (2). Then, d
  • Page 836D. NOMOGRAPHS APPENDIX B–63844EN/02 D.2 SIMPLE CALCULATION OF INCORRECT THREAD LENGTH δ2 δ1 Fig. D.2 (a) Incorrect threaded portion Explanations D How to determine δ2 d 2 + LR 1800 * (mm) R : Spindle speed (min-1) * When time constant T of the L : Thread lead (mm) servo system is 0.033 s. D How to d
  • Page 837B–63844EN/02 APPENDIX D. NOMOGRAPHS D Reference Fig. D.2 (b) Nomograph for obtaining approach distance δ1 813
  • Page 838D. NOMOGRAPHS APPENDIX B–63844EN/02 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 839B–63844EN/02 APPENDIX D. NOMOGRAPHS Analysis The tool path shown in Fig. D.3 (b) is analyzed based on the following conditions: Feedrate is constant at both blocks before and after cornering. The controller has a buffer register. (The error differs with the reading speed of the tape reader, number o
  • Page 840D. NOMOGRAPHS APPENDIX B–63844EN/02 D Initial value calculation 0 Y0 V X0 Fig. D.3 (c) Initial value The initial value when cornering begins, that is, the X and Y coordinates at the end of command distribution by the controller, is determined by the feedrate and the positioning system time constant
  • Page 841B–63844EN/02 APPENDIX D. NOMOGRAPHS D.4 When a servo motor is used, the positioning system causes an error between input commands and output results. Since the tool advances RADIUS DIRECTION along the specified segment, an error is not produced in linear ERROR AT CIRCLE interpolation. In circular in
  • Page 842E. STATUS WHEN TURNING POWER ON, WHEN CLEAR AND WHEN RESET APPENDIX B–63844EN/02 E STATUS WHEN TURNING POWER ON, WHEN CLEAR AND WHEN RESET Parameter CLR (No. 3402#6) 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). Th
  • Page 843E. STATUS WHEN TURNING POWER ON, B–63844EN/02 APPENDIX WHEN CLEAR AND WHEN RESET Item When turning power on Cleared Reset Action in Movement × × × opera- Dwell × × × tion Issuance of M, S and × × × T codes Tool length compensa- × Depending on f : MDI mode tion parameter Other modes depend LVK(No.500
  • Page 844F. CHARACTER–TO–CODES CORRESPONDENCE TABLE APPENDIX B–63844EN/02 F CHARACTER–TO–CODES CORRESPONDENCE TABLE Char- Code Comment Char- Code Comment acter acter 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
  • Page 845B–63844EN/02 APPENDIX G. ALARM LIST G ALARM LIST 1) Program errors (P/S alarm) Number Message Contents 000 PLEASE TURN OFF POWER A parameter which requires the power off was input, turn off power. 001 TH PARITY ALARM TH alarm (A character with incorrect parity was input). Correct the tape. 002 TV PA
  • Page 846G. ALARM LIST APPENDIX B–63844EN/02 Number Message Contents 029 ILLEGAL OFFSET VALUE The offset values specified by H code is too large. Modify the program. 030 ILLEGAL OFFSET NUMBER The offset number specified by D/H code for tool length offset or cutter compensation is too large. Modify the progra
  • Page 847B–63844EN/02 APPENDIX G. ALARM LIST Number Message Contents 060 SEQUENCE NUMBER NOT FOUND Commanded sequence number was not found in the sequence number search. Check the sequence number. 070 NO PROGRAM SPACE IN The memory area is insufficient. MEMORY Delete any unnecessary programs, then retry. 071
  • Page 848G. ALARM LIST APPENDIX B–63844EN/02 Number Message Contents 090 REFERENCE RETURN INCOM- The reference position return cannot be performed normally because PLETE the reference position return start point is too close to the reference posi- tion or the speed is too slow. Separate the start point far e
  • Page 849B–63844EN/02 APPENDIX G. ALARM LIST Number Message Contents 122 QUADRUPLICATE MACRO A total of four macro calls and macro modal calls are nested. Correct MODAL–CALL the program. 123 CAN NOT USE MACRO COMMAND Macro control command is used during DNC operation. IN DNC Modify the program. 124 MISSING E
  • Page 850G. ALARM LIST APPENDIX B–63844EN/02 Number Message Contents 153 T–CODE NOT FOUND In the registration of tool life data, a T code was not specified in a block where it is required. Alternatively, only M06 was specified in a block for tool change type D. Correct the program. 154 NOT USING TOOL IN LIFE
  • Page 851B–63844EN/02 APPENDIX G. ALARM LIST Number Message Contents 203 PROGRAM MISS AT RIGID In the rigid tapping, position for a rigid M code (M29) or an S TAPPING command is incorrect. Modify the program. 204 ILLEGAL AXIS OPERATION In the rigid tapping, an axis movement is specified between the rigid M c
  • Page 852G. ALARM LIST APPENDIX B–63844EN/02 Number Message Contents 5010 END OF RECORD The end of record (%) was specified. 5020 PARAMETER OF RESTART The parameter for specifying program restart is not set correctly. ERROR 5046 ILLEGAL PARAMETER (ST.COMP) An illegal parameter has been specified for straight
  • Page 853B–63844EN/02 APPENDIX G. ALARM LIST Number Message Contents 5220 REFERENCE POINT A parameter for automatically set a reference position is set. (Bit 2 of ADJUSTMENT MODE parameter No. 1819 = 1) Perform automatic setting. (Position the machine at the reference position manually, then perform manual r
  • Page 854G. ALARM LIST APPENDIX B–63844EN/02 2) Background edit alarm Number Message Contents ??? BP/S alarm BP/S alarm occurs in the same number as the P/S alarm that occurs in ordinary program edit. (P/S alarm No. 070, 071, 072, 073, 074, 085 to 087) Modify the program. 140 BP/S alarm It was attempted to s
  • Page 855B–63844EN/02 APPENDIX G. ALARM LIST 4) Serial pulse coder (SPC) alarms No. Message Description 360 n AXIS : ABNORMAL CHECKSUM A checksum error occurred in the built–in pulse coder. (INT) 361 n AXIS : ABNORMAL PHASE DATA A phase data error occurred in the built–in pulse coder. (INT) 362 n AXIS : ABNO
  • Page 856G. ALARM LIST APPENDIX B–63844EN/02 D The details of serial pulse coder alarm #7 #6 #5 #4 #3 #2 #1 #0 202 CSA BLA PHA PCA BZA CKA SPH #6 (CSA) : Check sum alarm has occurred. #5 (BLA) : Battery low alarm has occurred. #4 (PHA) : Phase data trouble alarm has occurred. #3 (PCA) : Speed count trouble a
  • Page 857B–63844EN/02 APPENDIX G. ALARM LIST Number Message Contents 415 SERVO ALARM: n–TH AXIS – A speed higher than 524288000 units/s was attempted to be set in the n–th EXCESS SHIFT axis (axis 1–8). This error occurs as the result of improperly set CMR. 417 SERVO ALARM: n–TH AXIS – This alarm occurs when
  • Page 858G. ALARM LIST APPENDIX B–63844EN/02 Number Message Contents 440 n AXIS : CNV. EX DECELERATION 1) PSMR: The regenerative discharge amount is too large. POW. 2) α series SVU: The regenerative discharge amount is too large. Al- ternatively, the regenerative discharge circuit is abnormal. 441 n AXIS : A
  • Page 859B–63844EN/02 APPENDIX G. ALARM LIST Number Message Contents 467 n AXIS : ILLEGAL SETTING OF The servo function for the following has not been enabled when an AXIS axis occupying a single DSP (corresponding to two ordinary axes) is specified on the axis setting screen. 1. Learning control (bit 5 of p
  • Page 860G. ALARM LIST APPENDIX B–63844EN/02 6) Over travel alarms Number Message Contents 500 OVER TRAVEL : +n Exceeded the n–th axis + side stored stroke limit I. (Parameter No.1320 or 1326 Notes) 501 OVER TRAVEL : –n Exceeded the n–th axis – side stored stroke limit I. (Parameter No.1321 or 1327 Notes) 50
  • Page 861B–63844EN/02 APPENDIX G. ALARM LIST 9) Rigid tapping alarm Number Message Contents 740 RIGID TAP ALARM : EXCESS During rigid tapping, the position deviation of the spindle in the stop ERROR state exceeded the setting. 741 RIGID TAP ALARM : EXCESS During rigid tapping, the position deviation of the s
  • Page 862G. ALARM LIST APPENDIX B–63844EN/02 D The details of spindle The details of spindle alarm No. 750 are displayed in the diagnosis display alarm No.750 (No. 409) as shown below. #7 #6 #5 #4 #3 #2 #1 #0 409 SPE S2E S1E SHE #3 (SPE) 0 : In the spindle serial control, the serial spindle parameters fulfil
  • Page 863B–63844EN/02 APPENDIX G. ALARM LIST Alarm List (Serial Spindle) When a serial spindle alarm occurs, the following number is displayed on the CNC. n is a number corresponding to the spindle on which an alarm occurs. (n = 1: First spindle; n = 2: Second spindle; etc.) NOTE*1 Note that the meanings of
  • Page 864G. ALARM LIST APPENDIX B–63844EN/02 SPM No. Message indica- Faulty location and remedy Description tion(*1) 7n07 SPN_n_ : OVERSPEED 07 Check for a sequence error. (For The motor speed has exceeded example, check whether spindle 115% of its rated speed. synchronization was specified when When the spi
  • Page 865B–63844EN/02 APPENDIX G. ALARM LIST SPM No. Message indica- Faulty location and remedy Description tion(*1) 7n26 SPN_n_ : DISCONNECT 26 1 Replace the cable. The signal amplitude of the detec- C–VELO DE- 2 Re–adjust the pre–amplifier. tion signal (connector JY2) on the TECT Cs contour control motor s
  • Page 866G. ALARM LIST APPENDIX B–63844EN/02 SPM No. Message indica- Faulty location and remedy Description tion(*1) 7n36 SPN_n_ : OVERFLOW 36 Check whether the position gain An error counter overflow occurred. ERROR value is too large, and correct the COUNTER value. 7n37 SPN_n_ : SPEED DE- 37 Correct the va
  • Page 867B–63844EN/02 APPENDIX G. ALARM LIST SPM No. Message indica- Faulty location and remedy Description tion(*1) 7n50 SPN_n_ : SPNDL CON- 50 Check whether the calculated value In spindle synchronization, the TROL OVER- exceeds the maximum motor speed command calculation value SPEED speed. exceeded the al
  • Page 868G. ALARM LIST APPENDIX B–63844EN/02 SPM No. Message indica- Faulty location and remedy Description tion(*1) 7n79 SPN_n_ : INITIAL TEST 79 Replace the SPM control printed– An error was detected in an initial ERROR circuit board. test operation. 7n81 SPN_n_ : 1–ROT MO- 81 1 Check and correct the param
  • Page 869B–63844EN/02 APPENDIX G. ALARM LIST SPM No. Message indica- Faulty location and remedy Description tion(*1) 9002 SPN_n_ : EX SPEED ER- 02 1 Check and correct the cutting The motor speed cannot follow a ROR conditions to decrease the load. specified speed. 2 Correct parameter No. 4082. An excessive m
  • Page 870G. ALARM LIST APPENDIX B–63844EN/02 SPM No. Message indica- Faulty location and remedy Description tion(*1) 9018 SPN_n_ : SUMCHECK 18 Replace the SPM control printed cir- Abnormality in an SPM control cir- ERROR PGM cuit board. cuit component is detected. (Pro- DATA gram ROM data is abnormal.) 9019
  • Page 871B–63844EN/02 APPENDIX G. ALARM LIST SPM No. Message indica- Faulty location and remedy Description tion(*1) 9032 SPN_n_ : RAM FAULT 32 Replace the SPM control printed cir- Abnormality in an SPM control cir- SERIAL LSI cuit board. cuit component is detected. (The LSI device for serial transfer is ab-
  • Page 872G. ALARM LIST APPENDIX B–63844EN/02 SPM No. Message indica- Faulty location and remedy Description tion(*1) 9046 SPN_n_ : SCREW 46 1 Check and correct the parame- An abnormality equivalent to alarm 1–ROT POS– ter. 41 was detected during thread cut- COD. ALARM 2 Replace the cable. ting operation. 3 R
  • Page 873B–63844EN/02 APPENDIX G. ALARM LIST SPM No. Message indica- Faulty location and remedy Description tion(*1) 9058 SPN_n_ : OVERLOAD IN 58 1 Check the PSM cooling status. The temperature of the radiator of PSM 2 Replace the PSM unit. the PSM has increased abnormally. (PSM alarm indication: 3) 9059 SPN
  • Page 874G. ALARM LIST APPENDIX B–63844EN/02 ERROR CODES (SERIAL SPINDLE) NOTE*1 Note that the meanings of the SPM indications differ depending on which LED, the red or yellow LED, is on. When the yellow LED is on, an error code is indicated with a 2–digit number. The error code is not displayed on the CNC s
  • Page 875B–63844EN/02 APPENDIX G. ALARM LIST SPM indica- Faulty location and remedy Description tion(*1) 12 During execution of the spindle synchronization com- Although spindle synchronization is being performed, mand, do not specify another operation mode. Before another operation mode (Cs contour control,
  • Page 876G. ALARM LIST APPENDIX B–63844EN/02 11) System alarms (These alarms cannot be reset with reset key.) Number Message Contents 900 ROM PARITY ROM parity error (CNC/OMM/Servo) Rewrite the flash ROM with the indicated ROM number. 910 SRAM PARITY : (BYTE 0) RAM parity error in the tape memory SRAM module
  • Page 877B–63844EN/02 Index [Numbers] Battery for the Absolute Pulse Coder, 783 Boring Cycle (G85), 156 10.4″ Color LCD Panel, 418 Boring Cycle (G86), 158 7.2″ Monochrome/8.4″ Color LCD/MDI Unit, 417 Boring Cycle (G88), 162 9″ Monochrome CRT/MDI Unit, 417 Boring Cycle (G89), 164 Branch and Repetition, 315 [A
  • Page 878Index B–63844EN/02 Corner Circular Interpolation (G39), 275 Displaying and Entering Setting Data, 649 Corner R, 749 Displaying and Setting Custom Macro Common Vari- ables, 658 Creating a New Part Program, 712 Displaying and Setting Data, 408 Creating Programs, 604 Displaying and Setting Extended Too
  • Page 879B–63844EN/02 Index External Motion Function (G81), 194 Helical Interpolation (G02, G03), 47 External Operator Message History Display, 680 Help Function, 700 External Output Commands, 340 High Speed Cutting Functions, 368 High Speed Skip Signal (G31), 55 High–speed Peck Drilling Cycle (G73) , 138 [F
  • Page 880Index B–63844EN/02 Key Location of MDI, 418 Multistage Skip (G31), 56 [L] [N] Left–handed Rigid Tapping Cycle (G74), 173 Next Block Display Screen, 632 Left–handed Tapping Cycle (G74), 140 Nomographs, 809 Limitations, 339 Normal Direction Control (G40.1, G41.1, G42.1 or G150, G151, G152), 290 Line,
  • Page 881B–63844EN/02 Index Peck Drilling Cycle (G83), 148 Repetition (While Statement), 317 Peck Rigid Tapping Cycle (G84 or G74), 176 Replacement of Words and Addresses, 598 Plane Selection, 90 Replacing the Battery for Control Unit, 780 Plunge Grinding Cycle (G75), 180 Rigid Tapping, 169 Polar Coordinate
  • Page 882Index B–63844EN/02 Skip Function (G31), 53 Tool Length Measurement, 647 Small–hole peck drilling cycle (G83), 150 Tool Length Offset (G43,G44,G49), 199 Soft Key Configuration, 442 Tool Life, 113 Soft Keys, 424 Tool Life Management Command in a Machining Pro- Specification Method, 345 gram, 110 Speci
  • Page 883Revision Record FANUCĄSeries 0i–MB OPERATOR’S MANUAL (B–63844EN) D Addition of following items : – AI advanced preview control/AI contour control (G05.1) 02 Feb., 2003 – Data input/output using a memory card D Correction of errors 01 Jul., 2002 Edition Date Contents Edition Date Contents
  • Page 884
  • Page 885TECHNICAL REPORT (MANUAL) NO. TMN 03/102E Date: . .2003 General Manager of Software Development Center FANUC Series0i-MB Operator’s Manual Addition of supplemental instructions 1. Communicate this report to: Your information O GE Fanuc-N, GE Fanuc-E FANUC Robotics CINCINNATI MILACRON Machine tool bu
  • Page 886FANUC Series 0i-MB Operator’s Manual Addition of supplemental instructions 1.Type of applied technical documents Name FANUC Series 0i-MB Operator’s Manual Spec.No./Ed. B-63844EN/02 2.Summary of Change Group Name/Outline New,Add, Applicable Correct, Date Delete Basic Function Optional IV. 1.1 OVERVIE
  • Page 8871.1 OVERVIEW MANUAL GUIDE 0i was developed to aid in the generation of part programs for Series 0i-MB control systems. A part program consists of a set of machining instructions that the operator wants to execute. A part program uses alphabetic text for its instructions and numeric information as th
  • Page 888Refer to “1.8 MANUAL GUIDE 0i (Operation Improved version)” about the details of MANUAL GUIDE 0i (Operation Improved version). Refer to the items from “1.3 PROGRAM CREATING OPERATIONS” to “1.5 CONTOUR PROGRAMMING” about the details of MANUAL GUIDE 0i (Current version). FANUC Series 0i-MB Name OPERAT
  • Page 8891.8 MANUAL GUIDE 0i (Operation Improved version) FANUC Series 0i-MB Name OPERATOR’S MANUAL Draw. B-63844EN/02-1 Ed. Date Description Design FANUC LTD. Page 4/16
  • Page 8901.8.1 Start up MANUAL GUIDE 0i needs a temporary program for editing a program. Set the program number to the parameter No.9330. In case of using MANUAL GUIDE 0i, select the editing program on theCNC program screen. And then, display the soft key [C.A.P.] by depressing the function key [PROGRAM] sev
  • Page 8912) In case of editing a CANNED cycle block Refer to ‘1.8.8 CHANGING A CANNED CYCLE BLOCK’ FANUC Series 0i-MB Name OPERATOR’S MANUAL Draw. B-63844EN/02-1 Ed. Date Description Design FANUC LTD. Page 6/16
  • Page 8921.8.2 ENTERING PROCESS ASSISTANCE BLOCK Display Main menu as described ‘1.8.1 START UP’. And, depress the soft key [PROCESS] on the Main menu. Then, PROCESS ASSISTANCE screen is displayed. Please refer to ‘IV. 1.3.4 PROCESS ASSISTANCE’ about the operation on PROCESS ASSISTANCE screen. In case of cha
  • Page 8931.8.3 ENTERING G-CODE BLOCK Display Main menu as described ‘1.8.1 START UP’. And, depress the soft key [G CODE] on the Main menu. Then, G-CODE ASSISTANCE screen is displayed. Please refer to ‘IV. 1.3.5 G-CODE ASSISTANCE’ about the operation on G-CODE ASSISTANCE screen. In case of changing MANUAL GUI
  • Page 8941.8.4 ENTERING M-CODE BLOCK Display Main menu as described ‘1.8.1 START UP’. And, depress the soft key [M CODE] on the Main menu. Then, M-CODE ASSISTANCE screen is displayed. Please refer to ‘IV. 1.3.6 M-CODE ASSISTANCE’ about the operation on M-CODE ASSISTANCE screen. In case of changing MANUAL GUI
  • Page 8951.8.5 ENTERING A MACHINNING TYPE OF CANNED CYCLE Display Main menu as described ‘1.8.1 START UP’. Select the machinning type (Hole, Face, Pocket or Groove) by depressing the soft key on the Main menu. For example, when an operator selects Pocket machinning, the following machinning menu appears. Whe
  • Page 896In case of cancelling the insert operation, depress the leftmost soft key on the data input screen. FANUC Series 0i-MB Name OPERATOR’S MANUAL Draw. B-63844EN/02-1 Ed. Date Description Design FANUC LTD. Page 11/16
  • Page 8971.8.6 ENTERING A FIGURE OF CANNED CYCLE When a machinning type of canned cycle is inserted, the menu screen for selecting a kind of figure is displayed as the following screen. In the figure menu screen, only the menu of figure which can be used in the already selected machinning type is displayed.
  • Page 898figure block into the machinning program and displays the figure menu again. After inserting a machinning type block and a figure block, when an operator want to add a figure block, depress the soft key [FIGURE] on the Main menu screen and select the necessary figure on the Figure menu screen. When
  • Page 8991.8.7 ENTERING A BLOCK WITH CONTOUR PROGRAMMING Display Main menu as described ‘1.8.1 START UP’. And, depress the soft key [CONTUR]. Then, CONTOUR PROGRAMMING screen is displayed. Please refer to ‘IV. 1.5 CONTOUR PROGRAMMING’ about the operation on the Contour programming. In case of changing MANUAL
  • Page 9001.8.8 CHANGING A CANNED CYCLE BLOCK Display the soft key [C.A.P.] by depressing the function key [PROGRAM] several times. In case of editing a Canned cycle block (Machinning type block or Figure block), move the cursor to the word except EOB and depress the soft key [C.A.P.]. Then, the input data sc
  • Page 9011.8.9 PROCEDURE TO CHANGE OPERATION IMPROVED VERSION In case of changing MANUAL GUIDE 0i from Current version software to the Operation Improved version, it is necessary to clear CNC program memory after installing the software. Since MANUAL GUIDE 0i needs a temporary program for editing a program,