Series 16i/18i/160i/180i - PA Operators manual Page 502

Operators manual
OPERATION
8. DATA INPUT/OUTPUT
B–63124EN/01
492
Items (1) to (13) are as follows :
(1) Tool registration number
When the optional multiple tool function is used. the tool numbers
registered for multiple tools are output with N200 to N299.
(2) Tool number
(3) Turret position
(4) X–axis offset
(5) Y–axis offset
(6) Number of a tool to be substituted
(7) Number of punch operations
(8) Tool figure for graphic operation
(9) X dimension of a tool for graphic operation
(10)Y dimension of a tool for graphic operation
(11) Tool angle for graphic operation
(12)Tool life value
(13)Angle for indexing the turret for multiple tool
When the floppy disk directory display function is used, the name of the
output file is “TOOL DATA”.
D Output file name

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

  • Page 1GE Fanuc Automation Computer Numerical Control Products Series 16i/18i/160i/180i-PA Operator's Manual B- 63124EN/01 May 1998
  • Page 2Warnings and notices for GFLE-003 this publication Warning 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 done, because there are so many possibilities. Therefore, matters wh
  • 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–63124EN/01 1 DEFINITION OF WARNING, CAUTION, AND NOTE This manual includes safety precautions for protecting the user and preventing damage to the machine. Precautions are classified into Warning and Caution according to their bearing on safety. Also, supplementary information i
  • Page 5B–63124EN/01 SAFETY PRECAUTIONS 2 GENERAL WARNINGS AND CAUTIONS WARNING 1. Never attempt to machine a workpiece without first checking the operation of the machine. Before starting a production run, ensure that the machine is operating correctly by performing a trial run using, for example, the sing
  • Page 6SAFETY PRECAUTIONS B–63124EN/01 WARNING 9. 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–63124EN/01 SAFETY PRECAUTIONS 3 WARNINGS AND CAUTIONS RELATED TO PROGRAMMING This section covers the major safety precautions related to programming. Before attempting to perform programming, read the supplied this manual carefully such that you are fully familiar with their contents. WARNING 1. C
  • Page 8SAFETY PRECAUTIONS B–63124EN/01 WARNING 5. Special M codes In principle, a block which includes any of the following M codes, which specify the execution of special functions, must not contain any other codes. When it is impossible to avoid specifying an M code together with another code in the same
  • Page 9B–63124EN/01 SAFETY PRECAUTIONS 4 WARNINGS AND CAUTIONS RELATED TO HANDLING This section presents safety precautions related to the handling of machine tools. Before attempting to operate your machine, read the supplied this manual carefully, such that you are fully familiar with their contents. WAR
  • Page 10SAFETY PRECAUTIONS B–63124EN/01 WARNING 7. Workpiece coordinate system shift Manual intervention, machine lock, or mirror imaging may shift the workpiece coordinate system. Before attempting to operate the machine under the control of a program, confirm the coordinate system carefully. If the machin
  • Page 11B–63124EN/01 SAFETY PRECAUTIONS 5 WARNINGS RELATED TO DAILY MAINTENANCE WARNING 1. Memory backup battery replacement When replacing the memory backup batteries, keep the power to the machine (CNC) turned on, and apply an emergency stop to the machine. Because this work is performed with the power on
  • Page 12SAFETY PRECAUTIONS B–63124EN/01 WARNING 2. Absolute pulse coder battery replacement When replacing the memory backup batteries, keep the power to the machine (CNC) turned on, and apply an emergency stop to the machine. Because this work is performed with the power on and the cabinet open, only those
  • Page 13B–63124EN/01 SAFETY PRECAUTIONS WARNING 3. Fuse replacement For some units, the chapter covering daily maintenance in the operator’s manual or programming manual describes the fuse replacement procedure. Before replacing a blown fuse, however, it is necessary to locate and remove the cause of the bl
  • Page 14I. GENERA
  • Page 15B–63124EN/01 GENERAL 1. GENERAL 1 GENERAL This manual consists of the following parts:       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 NC
  • Page 161. GENERAL GENERAL B–63124EN/01     The table below lists manuals related to Series 16i–PA, Series 18i–PA, Series 160i–PA and Series 180i–PA. In the table, this manual is marked with an asterisk (*). Table 1 Related Manuals Specification Manual name number FANUC Series 16i/18i/160i/180i–P
  • Page 17B–63124EN/01 GENERAL 1. GENERAL 1.1 When machining the part using the CNC machine tool, first prepare the program, then operate the CNC machine by using the program. GENERAL FLOW OF OPERATION OF CNC 1) First, prepare the program from a part drawing to operate the CNC machine tool. MACHINE TOOL How t
  • Page 181. GENERAL GENERAL B–63124EN/01 1.2 NOTES ON READING NOTE THIS MANUAL 1 The function of an CNC machine tool system depends not only on the CNC, but on the combination of the machine tool, its magnetic cabinet, the servo system, the CNC, the operator’s panels, etc. It is too difficult to describe the
  • Page 19II. PROGRAMMIN
  • Page 20B–63124EN/01 PROGRAMMING 1. GENERAL 1 GENERAL 1) Punching is performered after positioning. ............. Punching function Punching Punching Program command G00X––Y––T01 ; X––T02 ; Tool T01 Tool T02 2) Continuous, repetitive punching can be performed without halting the pressing process after posit
  • Page 211. GENERAL PROGRAMMING B–63124EN/01 1.1 The tool moves along straight lines and arcs constituting the workpiece parts figure (See II–4). TOOL MOVEMENT ALONG WORKPIECE PARTS FIGURE– INTERPOLATION Explanations The function of moving the tool along straight lines and arcs is called the interpolation. D
  • Page 22B–63124EN/01 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 axis T
  • Page 231. GENERAL PROGRAMMING B–63124EN/01 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 m
  • Page 24B–63124EN/01 PROGRAMMING 1. GENERAL 1.3 PART DRAWING AND TOOL MOVEMENT 1.3.1 A CNC machine tool is provided with a fixed position. Normally, tool Reference Position change and programming of absolute zero point as described later are performed at this position. This position is called the reference
  • Page 251. GENERAL PROGRAMMING B–63124EN/01 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 26B–63124EN/01 PROGRAMMING 1. GENERAL The positional relation between these two coordinate systems is determined when a workpiece is set on the table. The tool moves on the coordinate system specified by the CNC in accordance with the command program generated with respect to the coordinate system on
  • Page 271. GENERAL PROGRAMMING B–63124EN/01 1.3.3 How to Indicate Command Dimensions for Moving the Tool – Absolute, Incremental Commands Explanations Coordinate values of command for moving the tool can be indicated by absolute or incremental designation (See II–8.1). D Absolute coordinates The tool moves
  • Page 28B–63124EN/01 PROGRAMMING 1. GENERAL 1.4 When drilling, tapping, or the like, is performed, it is necessary to select a suitable tool. When a number is assigned to each tool and the number SELECTION OF TOOL is specified in the program, the corresponding tool is selected. USED FOR VARIOUS MACHINING –
  • Page 291. GENERAL PROGRAMMING B–63124EN/01 1.5 During machining, on–off operation of work holder and clamper is performed. COMMAND FOR For this purpose, on–off operations of workholder and clamper should be MACHINE controlled. OPERATIONS – MISCELLANEOUS FUNCTION Clamper Work holder The function of specifyi
  • Page 30B–63124EN/01 PROGRAMMING 1. GENERAL 1.6 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 311. GENERAL PROGRAMMING B–63124EN/01 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.6
  • Page 32B–63124EN/01 PROGRAMMING 1. GENERAL D Main program and When machining of the same pattern appears at many portions of a subprogram program, a program for the pattern is created. This is called the subprogram. On the other hand, the original program is called the main program. When a subprogram execu
  • Page 331. GENERAL PROGRAMMING B–63124EN/01 1.7 TOOL FIGURE AND TOOL MOTION BY PROGRAM Explanations D Machining using the side Because a cutter has a radius, the center of the cutter path goes around the of cutter – Cutter workpiece with the cutter radius deviated. compensation function (See II–14.4) Cutter
  • Page 34B–63124EN/01 PROGRAMMING 1. GENERAL 1.8 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 352. CONTROLLED AXES PROGRAMMING B–63124EN/01 2 CONTROLLED AXES 24
  • Page 36B–63124EN/01 PROGRAMMING 2. CONTROLLED AXES 2.1 CONTROLLED AXES Item 16i–PA, 160i–PA 18i–PA, 180i–PA No. of basic controlled axes 3 axes 3 axes Controlled axes expansion Max. 5 axes Max. 3 axis (total) (Max. 8 axes in total) (Max. 6 axes in total) Basic simultaneously controlled 2 axes 2 axes axes S
  • Page 372. CONTROLLED AXES PROGRAMMING B–63124EN/01 2.4 Maximum stroke = Least command increment 99999999 See 2.3 Incremen System. MAXIMUM STROKE Limitations D T axis is the axis for turret indexing. D The least input increment is not provided for the turret axis. Neither movement direction nor amount on th
  • Page 383. PREPARATORY FUNCTION B–63124EN/01 PROGRAMMING (G FUNCTION) 3 PREPARATORY FUNCTION (G FUNCTION) A number following address G determines the meaning of the command for the concerned block. G codes are divided into the following two types. Type Meaning One–shot G code The G code is effective only in
  • Page 393. PREPARATORY FUNCTION (G FUNCTION) PROGRAMMING B–63124EN/01 Table 3 G code list (1/2) G code G code Group Meaning G00 G00 Positioning (Rapid traverse) G01 G00 Linear interpolation (Cutting feed) 01 G02 G02 Circular interpolation (CW) / Helical interpolation (CW) G03 G03 Circular interpolation (CCW
  • Page 403. PREPARATORY FUNCTION B–63124EN/01 PROGRAMMING (G FUNCTION) Table 3 G code list (2/2) G code G code Group Meaning G54 G54 Work coordinates system 1 selection G55 G55 Work coordinates system 2 selection G56 G56 Work coordinates system 3 selection 14 G57 G57 Work coordinates system 4 selection G58 G
  • Page 414. INTERPOLATION FUNCTIONS PROGRAMMING B–63124EN/01 4 INTERPOLATION FUNCTIONS 30
  • Page 42B–63124EN/01 PROGRAMMING 4. INTERPOLATION FUNCTIONS 4.1 The G00 command moves a tool to the position in the workpiece system specified with an absolute or an incremental command at a rapid traverse POSITIONING rate. (G00) In the absolute command, coordinate value of the end point is programmed. In t
  • Page 434. INTERPOLATION FUNCTIONS PROGRAMMING B–63124EN/01 When G00X_Y_T ; is specified in a machine having a turret axis (T–axis), the X and Y axes move to the specified positions at rapid traverse rate and also the T–axis moves at the predetermined rapid traverse rate in such a way as to select a specifi
  • Page 44B–63124EN/01 PROGRAMMING 4. INTERPOLATION FUNCTIONS 4.2 Tools can move along a line LINEAR INTERPOLATION (G01) Format G01 IP_F_; IP_:For an absolute command, the coordinates of an end point , and for an incremental commnad, the distance the tool moves. F_:Speed of tool feed (Feedrate) Explanations A
  • Page 454. INTERPOLATION FUNCTIONS PROGRAMMING B–63124EN/01 Limitations D Punching (1–cycle pressing) is not performed in G01 mode. D T code can’t be specified in G01 mode. If specified, an alarm (No. 4600) occurs. However, when T code is specified independently and NMG (No. 16181#0) is set, an alarm does n
  • Page 46B–63124EN/01 PROGRAMMING 4. INTERPOLATION FUNCTIONS 4.3 The command below will move a tool along a circular arc. CIRCULAR INTERPOLATION (G02, G03) Format       G02 I_ J_  Xp_Yp_ F_ ; G03 R_    ZpXp   G02 I_ K_ G18 Xp_ p_ F_ G03 R_    YpZp   G19 G02 J_ K_ F_ Yp_ Zp_ G03 R_
  • Page 474. INTERPOLATION FUNCTIONS PROGRAMMING B–63124EN/01 Explanations D        “Clockwise”(G02) and “counterclockwise”(G03) on the XpYp plane   (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 or Xp axi
  • Page 48B–63124EN/01 PROGRAMMING 4. INTERPOLATION FUNCTIONS D    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 consider
  • Page 494. INTERPOLATION FUNCTIONS PROGRAMMING B–63124EN/01 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 ; G90 G03 X140.0 Y100.0R60.0 F300.; G02 X120.0 Y60.0R50.0 ; or G92X200.0 Y40.0 ; G90 G03 X140.0
  • Page 50B–63124EN/01 PROGRAMMING 4. INTERPOLATION FUNCTIONS 4.4 Linear interpolation can be commanded by specifying axial move following the G33 command, like G01. If an external skip signal is input SKIP FUNCTION during the execution of this command, execution of the command is (G33) interrupted and the ne
  • Page 514. INTERPOLATION FUNCTIONS PROGRAMMING B–63124EN/01 Examples D The next block to G33 is an incremental command Y50.0 G33 G91X100.0 F100; Y50.0; Skip signal is input here 50.0 100.0 Actual motion Motion without skip signal Fig.4.4 (a) The next block is an incremental command D The next block to G33 i
  • Page 52B–63124EN/01 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 535. FEED FUNCTIONS PROGRAMMING B–63124EN/01 5 FEED FUNCTIONS 42
  • Page 54B–63124EN/01 PROGRAMMING 5. FEED FUNCTIONS 5.1 The feed functions control the feedrate of the tool. The following two feed functions are available: GENERAL D Feed functions 1. Rapid traverse When the positioning command (G00) is specified, the tool moves at a rapid traverse feedrate set in the CNC (
  • Page 555. FEED FUNCTIONS PROGRAMMING B–63124EN/01 D Tool path in a cutting If the direction of movement changes between specified blocks during feed cutting feed, a rounded–corner path may result (Fig. 5.1 (b)). Y Programmed path Actual tool path 0 X Fig. 5.1 (b) Example of Tool Path between Two Blocks In
  • Page 56B–63124EN/01 PROGRAMMING 5. FEED FUNCTIONS 5.2 RAPID TRAVERSE Format G00 IP_ ; G00 : G code (group 01) for positioning (rapid traverse) IP_; Dimension word for the end point Explanations The positioning command (G00) positions the tool by rapid traverse and punching is performed. In rapid traverse,
  • Page 575. FEED FUNCTIONS PROGRAMMING B–63124EN/01 5.2.2 Rapid Traverse In the automatic operation, the rapid traverse override is applied to the Override rapid traverse rate by the switch on the machine operator’s panel or F1-digit command. Either rapid traverse override being set by the switch on the mach
  • Page 58B–63124EN/01 PROGRAMMING 5. FEED FUNCTIONS 5.2.3 By specifying one-digit number from 1 to 4 following F, and override can F1-digit be applied to the rapid traverse rate in automatic operation. (Programmable Rapid Rapid traverse override Traverse Override) One-digit F command X axis, Y axis T axis, C
  • Page 595. FEED FUNCTIONS PROGRAMMING B–63124EN/01 5.3 Feedrate of linear interpolation (G01), circular interpolation (G02, G03), etc. are commanded with numbers after the F code. CUTTING FEED In cutting feed, the next block is executed so that the feedrate change from the previous block is minimized. Forma
  • Page 60B–63124EN/01 PROGRAMMING 5. FEED FUNCTIONS D Cutting feedrate clamp A common upper limit can be set on the cutting feedrate along each axis with parameter No. 1422. If an actual cutting feedrate (with an override applied) exceeds a specified upper limit, it is clamped to the upper limit. Parameter N
  • Page 615. FEED FUNCTIONS PROGRAMMING B–63124EN/01 5.4 Cutting feedrate can be controlled, as indicated in Table 5.4. CUTTING FEEDRATE CONTROL Table 5.4 Cutting Feedrate Control Function name G code Validity of G code Description This function is valid for specified The tool is decelerated at the end point
  • Page 62B–63124EN/01 PROGRAMMING 5. FEED FUNCTIONS 5.4.1 Exact Stop (G09, G61) Cutting Mode (G64) Explanations The inter–block paths followed by the tool in the exact stop mode and cutting mode are different (Fig. 5.4.1). Y (2) Position check Tool path in the exact stop mode (1) Tool path in the cutting mod
  • Page 635. FEED FUNCTIONS PROGRAMMING B–63124EN/01 5.4.2 This function enables producing a smooth cutting surface by decelerating Automatic Override for tool movement automatically between an inside corner and an inside arc to reduce the load on the cutter during cutter compensation. Inner Corners 5.4.2.1 I
  • Page 64B–63124EN/01 PROGRAMMING 5. FEED FUNCTIONS WARNING When the block before a corner is a start–up block, or the block after a corner includes G41 or G42, the feedrate is not overridden. The feedrate override function is disabled when the offset value is 0. Override range When a corner is determined to
  • Page 655. FEED FUNCTIONS PROGRAMMING B–63124EN/01 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 Straight Line) Override value An override value is set with parameter No. 1712. An override value is valid even for dry run and F1–
  • Page 66B–63124EN/01 PROGRAMMING 5. FEED FUNCTIONS If Rc is much smaller than Rp, Rc/Rp80; the tool stops. A minimum deceleration ratio (MDR) is to be specified with parameter No. 1710. When Rc/RpxMDR, the feedrate of the tool is (F×MDR). WARNING When internal circular cutting must be performed together wit
  • Page 675. FEED FUNCTIONS PROGRAMMING B–63124EN/01 Explanations D Flowchart for feedrate The flowchart for feedrate control is shown below. control START Is the corner angle smaller than No the angle specified in parameter No. 1740? Yes Are the feedrates along the X– No and Y–axes smaller than that specifie
  • Page 68B–63124EN/01 PROGRAMMING 5. FEED FUNCTIONS D Acceleration/ When acceleration/deceleration before interpolation is effective, the deceleration before relationship between the feedrate and time is as shown below. When the interpolation angle between blocks A and B on the selected plane is smaller than
  • Page 695. FEED FUNCTIONS PROGRAMMING B–63124EN/01 D Look–ahead control Those parameters related to automatic corner deceleration in look–ahead control mode are shown below. Normal Look–ahead Parameter description mode control mode Switching the methods for automatic corner de- 1602#4 1602#4 celeration Lowe
  • Page 70B–63124EN/01 PROGRAMMING 5. FEED FUNCTIONS D Feedrate and time When the feedrate difference between blocks along each axis is larger than the value specified in parameter No. 1781, the relationship between the feedrate and time is as shown below. Although accumulated pulses equivalent to the hatched
  • Page 715. FEED FUNCTIONS PROGRAMMING B–63124EN/01 Without corner deceleration With corner deceleration Feedrate along Vc [X] Vmax the X–axis Vmax Feedrate along the Y–axis Vc [Y] Vmax Feedrate along the tangent at the corner 1 F Rmax N1 N2 t D Setting the allowable The allowable feedrate difference can be
  • Page 72B–63124EN/01 PROGRAMMING 5. FEED FUNCTIONS D Look–ahead control Parameters related to automatic corner deceleration in look–ahead control mode are shown below. Normal Look–ahead Parameter description mode control mode Switching the methods for automatic 1602#4 ← corner deceleration Allowable feedrat
  • Page 735. FEED FUNCTIONS PROGRAMMING B–63124EN/01 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 74B–63124EN/01 PROGRAMMING 6. REFERENCE POSITION 6 REFERENCE POSITION 63
  • Page 756. REFERENCE POSITION PROGRAMMING B–63124EN/01 6.1 REFERENCE POSITION RETURN General The reference point is a certain fixed point on the machine. It is defined as the point, to which a tool can be moved easily by the reference point return. When setting a workpiece to be machined to general turret p
  • Page 76B–63124EN/01 PROGRAMMING 6. REFERENCE POSITION Reference point Distance between reference point and workpiece holder is intrinsically determined according to machines. ÏÏ End ÏÏ locator Workpiece holder The distance between the reference point and the end locator is intrinsically determined accordin
  • Page 776. REFERENCE POSITION PROGRAMMING B–63124EN/01 D Reference position Tools are automatically moved to the reference position. When reference return and movement position return is completed, the lamp for indicating the completion of from the reference return goes on. position Reference position retur
  • Page 78B–63124EN/01 PROGRAMMING 6. REFERENCE POSITION 6.2 FLOATING REFERENCE POSITION RETURN (G30.1) General Tools ca be returned to the floating reference position. A floating reference point is a position on a machine tool, and serves as a reference point for machine tool operation. A floating reference
  • Page 797. COORDINATE SYSTEM PROGRAMMING B–63124EN/01 7 COORDINATE SYSTEM By teaching the CNC a desired tool position, the tool can be moved to the position. Such a tool position is represented by coordinates in a coordinate system. Coordinates are specified using program axes. When three program axes, the
  • Page 80B–63124EN/01 PROGRAMMING 7. COORDINATE SYSTEM 7.1 The point that is specific to a machine and serves as the reference of the machine is referred to as the machine zero point. A machine tool builder MACHINE sets a machine zero point for each machine. COORDINATE A coordinate system with a machine zero
  • Page 817. COORDINATE SYSTEM PROGRAMMING B–63124EN/01 7.2 A coordinate system used for machining a workpiece is referred to as a workpiece coordinate system. A workpiece coordinate system is to be set WORKPIECE with the NC beforehand (setting a workpiece coordinate system). COORDINATE A machining program se
  • Page 82B–63124EN/01 PROGRAMMING 7. COORDINATE SYSTEM 7.2.2 The user can choose from set workpiece coordinate systems as described Selecting a Workpiece below. (For information about the methods of setting, see Section 7.2.1.) Coordinate System (1) Selecting a workpiece coordinate system set by G92 or autom
  • Page 837. COORDINATE SYSTEM PROGRAMMING B–63124EN/01 7.2.3 The six workpiece coordinate systems specified with G54 to G59 can be Changing Workpiece changed by changing an external workpiece zero point offset value or workpiece zero point offset value. Coordinate System Three methods are available to change
  • Page 84B–63124EN/01 PROGRAMMING 7. COORDINATE SYSTEM WARNING When a coordinate system is set with G92 after an external workpiece zero point offset value is set, the coordinate system is not affected by the external workpiece zero point offset value. When G92X100.0Y80.0; is specified, for example, the coor
  • Page 857. COORDINATE SYSTEM PROGRAMMING B–63124EN/01 7.3 When a program is created in a workpiece coordinate system, a child workpiece coordinate system may be set for easier programming. Such LOCAL COORDINATE a child coordinate system is referred to as a local coordinate system. SYSTEM Format G52 IP_; Set
  • Page 86B–63124EN/01 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 877. COORDINATE SYSTEM PROGRAMMING B–63124EN/01 7.4 Select the planes for circular interpolation, cutter compensation, and drilling by G–code. PLANE SELECTION The following table lists G–codes and the planes selected by them. Explanations Table 7.4 Plane selected by G code Selected G code Xp Yp Zp pla
  • Page 888. COORDINATE VALUE B–63124EN/01 PROGRAMMING AND DIMENSION 8 COORDINATE VALUE AND DIMENSION This chapter contains the following topics. 8.1 ABSOLUTE AND INCREMENTAL PROGRAMMING (G90, G91) 8.2 INCH/METRIC CONVERSION (G20, G21) 8.3 DECIMAL POINT PROGRAMMING 77
  • Page 898. COORDINATE VALUE AND DIMENSION PROGRAMMING B–63124EN/01 8.1 There are two ways to command travels of the tool; the absolute command, and the incremental command. In the absolute command, ABSOLUTE AND coordinate value of the end position is programmed; in the incremental INCREMENTAL command, move
  • Page 908. COORDINATE VALUE B–63124EN/01 PROGRAMMING AND DIMENSION 8.2 Either inch or metric input can be selected by G code. INCH/METRIC CONVERSION (G20,G21)  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 918. COORDINATE VALUE AND DIMENSION PROGRAMMING B–63124EN/01 8.3 Numerical values can be entered with a decimal point. A decimal point can be used when entering a distance, time, or speed. Decimal points can DECIMAL POINT be specified with the following addresses: PROGRAMMING X, Y, Z, C, I, J, K, Q, R
  • Page 92B–63124EN/01 PROGRAMMING 9. PRESSING FUNCTION 9 PRESSING FUNCTION 81
  • Page 939. PRESSING FUNCTION PROGRAMMING B–63124EN/01 9.1 This control sends a signal “Start press and punch” to the machine after moving a tool to the position commanded in a predetermined block. PUNCH FUNCTION When the machine receives this signal, it starts pressing. As a result, (1-CYCLE PRESSING) punch
  • Page 94B–63124EN/01 PROGRAMMING 9. PRESSING FUNCTION Examples Tool 01 profile Tool 02 profile N711G00G90X50.0Y30.0T02; . . . Punching is done using tool 02 N712X50.0Y30.0T01; . . . Punching is made using tool 01 The punch profile at (50, 30) position is as shown below. No punching is made in case of N712T0
  • Page 959. PRESSING FUNCTION PROGRAMMING B–63124EN/01 9.2 Punching is made in a block where the X-axis or Y-axis if positioned at rapid traverse, in principle. POSITIONING & Command the following code, if it is not desired to punch a workpiece PRESSING OFF (G70) after positioning a tool to the commanded pos
  • Page 96B–63124EN/01 PROGRAMMING 9. PRESSING FUNCTION 9.3 Nibbling means sequential repeated punching without stopping press motion. NIBBLING FUNCTION Assume Tt be the time required for one-cycle press motion. The remaining time obtained by subtracting punching time Tp from Tt (or, Ti = Tt – Tp) is the time
  • Page 979. PRESSING FUNCTION PROGRAMMING B–63124EN/01 The following functions are prepared for nibbling. Functions Description Circular nibbling (G68) Linear nibbling (G69) M12; ...... ...... Nibbling is performed in these blocks. ...... Nibbling by M function ...... M13; (Note) Other M codes may be used in
  • Page 98B–63124EN/01 PROGRAMMING 9. PRESSING FUNCTION 9.3.1 G68I r J θ K ∆θ P d Q p ; Circular Nibbling (G68) Nibbling is made at pitch p using a tool having diameter d, starting with the point which forms angle θ with reference to the X-axis on the circumference having radius r, with the preset tool positi
  • Page 999. PRESSING FUNCTION PROGRAMMING B–63124EN/01 Example  Nibbling direction 6 15φ 100R 90° 135° (50, 10) N711G72G90X50.0Y10.0; N712G68I100.0J135.0K-90.0P-15.0Q6.0; 88
  • Page 100B–63124EN/01 PROGRAMMING 9. PRESSING FUNCTION WARNING 1 G68 is an one-shot G code. 2 The standard point of G68 is the center of arc. 3 Pitch specification The pitch is specified by the arc length. The pitch is defined as the divided length of the arc having radius r specified in address I. The pitch
  • Page 1019. PRESSING FUNCTION PROGRAMMING B–63124EN/01 WARNING 4 Pitch compensation When the circumferential length of the specified arc having radius r is divided by pitch p, a remainder may be produced in general. However, it is not desirable from the viewpoints of the machine and product profile to compen
  • Page 102B–63124EN/01 PROGRAMMING 9. PRESSING FUNCTION 9.3.2 G69I ȏ J θ P d Q p ; Linear Nibbling (G69) By the above command, nibbling is made at pitch p using a tool having diameter d along a straight line of length ȏ which forms angle θ with reference to the X-axis, starting with the present tool position
  • Page 1039. PRESSING FUNCTION PROGRAMMING B–63124EN/01 Example 2 10φ 150° Nibbling direction 3 100 +X (100,50) N721G72G90X100.0Y50.0; N722G69I100.0J150.0P-10.0Q3.0; The N722 block may also be commanded as G69I-100.0J-30.0P-10.0Q3.0; WARNING 1 G69 is a one-shot G code. 2 The standard point of G69 is the start
  • Page 104B–63124EN/01 PROGRAMMING 9. PRESSING FUNCTION 9.3.3 Notes on Circular Nibbling (G68) and WARNING 1 The maximum pitches in G68 and G69 are set by Linear Nibbling (G69) parameters No. 16186 (for mm input) and No. 16187 (for inch input). 2 If T code is commanded in G68 or G69 block, nibbling is started
  • Page 1059. PRESSING FUNCTION PROGRAMMING B–63124EN/01 Movement of tool Fig. 9.3.3 (b) Incremental command just after linear nibbling (G69) Example 3 A 20φ 90R (50, 200) (290, 200) 90R B 240 N731G72G90X290.0Y200. ; N732G68I90. J–90. K180. P–20. Q5. ; N733G69I240. J180. P20. Q5. ; N734G72X50. Y200. ; N735G68I
  • Page 106B–63124EN/01 PROGRAMMING 9. PRESSING FUNCTION 9.4 In addition to the circular or linear nibbling according to the G68 or G69 command, this control can perform nibbling by M function. In other NIBBLING BY M words, it can execute nibbling in the blocks from a block with the M code FUNCTION of nibbling
  • Page 1079. PRESSING FUNCTION PROGRAMMING B–63124EN/01 9.4.1 G00 Command in Nibbling Mode Example4 N100G00G90X x1 Y y1 ; N110M12; N120X x2 Y y2 T ; N130X x3 Y y3 ; N140X x4 Y y4 ; N150X x5 Y y5 ; N160X x6 Y y6 ; N170X x7 Y y7 ; N180M13; (1) The first punch point of nibbling is commanded in the block next to
  • Page 108B–63124EN/01 PROGRAMMING 9. PRESSING FUNCTION 9.4.2 Linear nibbling can be done by commanding G01 in the nibbling mode, G01, G02, and G03 while circular nibbling can be done by commanding G02 and G03 in the nibbling mode. Commands in Nibbling The tool diameter cannot be offset by G01, G02, G03 comma
  • Page 1099. PRESSING FUNCTION PROGRAMMING B–63124EN/01 N240 N260 (x3, y3) (x4, y4) (x5, y5) (x6, y6) N230 N250 N270 (x2’, y2’) (x7’, y7’) (x2, y2) (x7, y7) N220 N290 (x1, y1) (x8, y8) The G40, G41, and G42 codes function as follows. For details, refer to 13.1 Cutter compensation. G code Function G40 Cutter c
  • Page 110B–63124EN/01 PROGRAMMING 9. PRESSING FUNCTION The straight line and circular arc along which nibbling is done are commanded in N230 to N270 blocks. The straight line and circular arc obtained by offsetting the commanded straight line and circular arc leftwards by the tool diameter being preset to of
  • Page 1119. PRESSING FUNCTION PROGRAMMING B–63124EN/01 9.4.3 Notes on Nibbling by M Function WARNING 1 The following commands only are executable in nibbling mode. (i) X, Y positioning command by G00 Provided that the T code and F1-digit command can be included in the same block where the X, Y positioning is
  • Page 112B–63124EN/01 PROGRAMMING 9. PRESSING FUNCTION 9.5 Section 9.1 “PUNCH FUNCTIONS (1-CYCLE PRESSING)” explained the blocks, in which punching is made after positioning. In certain cases, EXTERNAL MOTION no punching is made, but tapping and other mechanical motion may be FUNCTION executed in these block
  • Page 11310. S FUNCTION PROGRAMMING B–63124EN/01 10 S FUNCTION 102
  • Page 114B–63124EN/01 PROGRAMMING 10. S FUNCTION 10.1 S code can be specified by address S followed by a binary code. A block can contain only one S code. Refer to the appropriate manual provided SPECIFYING THE S by the machine tool builder for details such as the number of digits in an CODE WITH A S code or
  • Page 11511. TOOL FUNCTION (T FUNCTION) PROGRAMMING B–63124EN/01 11 TOOL FUNCTION (T FUNCTION) 104
  • Page 11611. TOOL FUNCTION B–63124EN/01 PROGRAMMING (T FUNCTION) 11.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 11711. TOOL FUNCTION (T FUNCTION) PROGRAMMING B–63124EN/01 WARNING 1 The correspondence between commandable T codes and tools depends upon machine tool builders. The commandable T codes are set in tool registering screen before shipment from factory. If a commanded T code was not registered, alarm (No.
  • Page 11811. TOOL FUNCTION B–63124EN/01 PROGRAMMING (T FUNCTION) 11.2 This function ignores the T command. Whether the T command is ignored or not is generally selected by a switch on the machine operator’s T COMMAND panel. NEGLECT If the T command is ignored, it is treated, as if no T code command were pres
  • Page 11911. TOOL FUNCTION (T FUNCTION) PROGRAMMING B–63124EN/01 11.3 Tool offset is applicable to respective T codes in the X-axis and Y-axis directions. TOOL OFFSET Since use of this tool offset function depends upon machine tool builders, refer to the machine tool builder’s manual. WARNING 1 Tool offset c
  • Page 12011. TOOL FUNCTION B–63124EN/01 PROGRAMMING (T FUNCTION) 11.4 The CNC uses set parameters to control the turret which is indexed for a tool to be used. A specified T code is output, and at the same time, the CONTROLLING THE turret is positioned at the location which was specified for the tool on the
  • Page 12111. TOOL FUNCTION (T FUNCTION) PROGRAMMING B–63124EN/01 11.5 In general, the tool holder of a punch holds one tool (die). To select a tool the tool holder is first moved to the position at which the tool is changed MULTIPLE TOOL using the T command (cartridge indexing). Then, at that position, the t
  • Page 12211. TOOL FUNCTION B–63124EN/01 PROGRAMMING (T FUNCTION) 11.5.1 The pot numbers of a multiple-tool system are specified with T codes Tool Number consisting of three or four digits, as follows: T f f ∆ ∆ ; Tool number of the multiple-tool system Pot number (for specifying a tool holder) The T codes us
  • Page 12311. TOOL FUNCTION (T FUNCTION) PROGRAMMING B–63124EN/01 11.5.2 The tools of a multiple-tool system are selected by turning the C axis. A Relationship Between tool is selected by placing it at the tool reference position. This position is parallel to the Y axis and on the center line of the tool hold
  • Page 12411. TOOL FUNCTION B–63124EN/01 PROGRAMMING (T FUNCTION) 11.5.3 When a multiple-tool system is used, the centers of the dies in the Tool Compensation multiple-tool system are not at the center of the tool holder. Therefore, tool compensation is necessary. Tool compensation for tools in a multiple-too
  • Page 12511. TOOL FUNCTION (T FUNCTION) PROGRAMMING B–63124EN/01 11.6 Tools are classified into various groups, with the tool life (frequency of use) for each group being specified. TOOL LIFE MANAGEMENT FUNCTION 11.6.1 Tool life management data consists of tool numbers, and tool life value. Tool Life Managem
  • Page 12611. TOOL FUNCTION B–63124EN/01 PROGRAMMING (T FUNCTION) 11.7 The next commanded T–code is sent to the machine beforehand in the order execution of program. When this function is used, the next OUTPUT AHEAD OF preparation of tool change can be performed by the machine side before T–CODE T command is
  • Page 12712. AUXILIARY FUNCTION PROGRAMMING B–63124EN/01 12 AUXILIARY FUNCTION There are two types of auxiliary functions ; miscellaneous function (M code) for specifying spindle start, spindle stop program end, and so on, and secondary auxiliary function (B code ) for specifying index table positioning. Whe
  • Page 128B–63124EN/01 PROGRAMMING 12. AUXILIARY FUNCTION 12.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 12912. AUXILIARY FUNCTION PROGRAMMING B–63124EN/01 D M12, M13 Nibbling is executable in a block between M12; and M13;. For details, (Nibbling mode and refer to 9.4 “NIBBLING BY M FUNCTION”. (Other M codes may be nibbling mode cancel) used for these functions depending upon machine tool builders) WARNIN
  • Page 130B–63124EN/01 PROGRAMMING 12. AUXILIARY FUNCTION 12.2 The punching mode and laser mode can be switched by specifying M codes in parameters. An M code is specified in the first block for M COMMAND FOR punching and for laser machining in a machining program. This will SWITCHING THE improve processing p
  • Page 13112. AUXILIARY FUNCTION PROGRAMMING B–63124EN/01 12.3 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 IN A simu
  • Page 132B–63124EN/01 PROGRAMMING 12. AUXILIARY FUNCTION 12.4 Indexing of the table is performed by address B and a following 8–digit number. The relationship between B codes and the corresponding THE SECOND indexing differs between machine tool builders. AUXILIARY Refer to the manual issued by the machine t
  • Page 13313. PROGRAM CONFIGURATION PROGRAMMING B–63124EN/01 13 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 134B–63124EN/01 PROGRAMMING 13. PROGRAM CONFIGURATION D Program components A program consists of the following components: Table 13 (a) 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 s
  • Page 13513. PROGRAM CONFIGURATION PROGRAMMING B–63124EN/01 13.1 This section describes program components other than program sections. See Section 13.2 for a program section. PROGRAM COMPONENTS Leader section OTHER THAN Tape start % TITLE ; Program start PROGRAM O0001 ; SECTIONS Program section (COMMENT) Co
  • Page 136B–63124EN/01 PROGRAMMING 13. PROGRAM CONFIGURATION WARNING If one file contains multiple programs, the EOB code for label skip operation must not appear before a second or subsequent program number. However, an program start is required at the start of a program if the preceding program ends with %.
  • Page 13713. PROGRAM CONFIGURATION PROGRAMMING B–63124EN/01 D Tape end A tape end is to be placed at the end of a file containing NC programs. If programs are entered using the automatic programming system, the mark need not be entered. The mark is not displayed on the display screen. However, when a file is
  • Page 138B–63124EN/01 PROGRAMMING 13. PROGRAM CONFIGURATION 13.2 This section describes elements of a program section. See Section 13.1 for program components other than program sections. PROGRAM SECTION CONFIGURATION % TITLE ; Program number O0001 ; N1 … ; Sequence number (COMMENT) Comment section Program s
  • Page 13913. PROGRAM CONFIGURATION PROGRAMMING B–63124EN/01 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 13.2 (a) EOB code Name ISO EIA Notation in this code code manual End
  • Page 140B–63124EN/01 PROGRAMMING 13. 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 14113. PROGRAM CONFIGURATION PROGRAMMING B–63124EN/01 D Major addresses and Major addresses and the ranges of values specified for the addresses are ranges of command shown below. Note that these figures represent limits on the CNC side, values which are totally different from limits on the machine too
  • Page 142B–63124EN/01 PROGRAMMING 13. PROGRAM CONFIGURATION NOTE In ISO code, the colon ( : ) can also be used as the address of a program number. 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 opera
  • Page 14313. PROGRAM CONFIGURATION PROGRAMMING B–63124EN/01 D Program end The end of a program is indicated by punching one of the following codes at the end of the program: Table 13.2 (d) Code of a program end Code Meaning usage M02 For main program M30 M99 For subprogram If one of the program end codes is
  • Page 144B–63124EN/01 PROGRAMMING 13. PROGRAM CONFIGURATION 13.3 If a program contains a fixed sequence or frequently repeated pattern, such a sequence or pattern can be stored as a subprogram in memory to simplify SUBPROGRAM the program. A subprogram can be called from the main program. A called subprogram
  • Page 14513. PROGRAM CONFIGURATION PROGRAMMING B–63124EN/01 D Reference See Chapter 10 in Part III for the method of registering a subprogram. NOTE 1 The M98 and M99 signals are not output to the machine tool. 2 If the subprogram number specified by address P cannot be found, an alarm (No. 078) is output. Ex
  • Page 146B–63124EN/01 PROGRAMMING 13. PROGRAM CONFIGURATION D Using M99 in the main If M99 is executed in a main program, control returns to the start of the program main program. For example, M99 can be executed by placing /M99 ; at an appropriate location of the main program and setting the optional block
  • Page 14713. PROGRAM CONFIGURATION PROGRAMMING B–63124EN/01 13.4 The program number is an eight–digit number prefixed with the letter O (O00000001 to O99999999). EIGHT–DIGIT PROGRAM NUMBER Explanations D Uneditable programs It is possible to disable editing subprograms identified using program numbers O00008
  • Page 148B–63124EN/01 PROGRAMMING 13. PROGRAM CONFIGURATION 2) Macro call using an M code Program number Parameter for setting an M code If SPR = 0 If SPR = 1 No. 6080 O00009020 O90009020 No. 6081 O00009021 O90009021 No. 6082 O00009022 O90009022 No. 6083 O00009023 O90009023 No. 6084 O00009024 O90009024 No. 6
  • Page 14913. PROGRAM CONFIGURATION PROGRAMMING B–63124EN/01 D Searching for a program It is possible to search for a program by a program number specified using using an external an external input signal. This function selects a program from CNC program number memory by specifying a program number, 1 to 9999
  • Page 15014. FUNCTIONS TO SIMPLIFY B–63124EN/01 PROGRAMMING PROGRAMMING 14 FUNCTIONS TO SIMPLIFY PROGRAMMING 139
  • Page 15114. FUNCTIONS TO SIMPLIFY PROGRAMMING PROGRAMMING B–63124EN/01 14.1 The pattern function means a function to punch multiple positions conforming to a certain format by one-block command including G PATTERN FUNCTION function. This pattern function requires only one block command instead of several-bl
  • Page 15214. FUNCTIONS TO SIMPLIFY B–63124EN/01 PROGRAMMING PROGRAMMING In pattern function, the following two motions are repeatedly done to punch at respective positions. Motion 1 ... Positioning of X, Y axes (rapid traverse) Motion 2 ... Punch by press motion Motion 2 ÑÑ ÑÑ (Punch by press motion) ÑÑ Moti
  • Page 15314. FUNCTIONS TO SIMPLIFY PROGRAMMING PROGRAMMING B–63124EN/01 14.1.2 Bolt Hole Circle (G26) G26I r J θ K n ; This G26 punches n pieces of equally divided points on the circumference, starting with the point which forms angle θ with the reference to X axis on the circumference having radius r with t
  • Page 15414. FUNCTIONS TO SIMPLIFY B–63124EN/01 PROGRAMMING PROGRAMMING Examples N521G72G90X100.0Y80.0 ; N522G26I30.0J90.0K-6 ; Punch direction #1 #6 #2 90° +X (100, 80) #5 #3 30R #4 If it is desired to punch the center of the circle, omit G72 of block N521. NOTE 1 If the radius is 0 or the number of punch p
  • Page 15514. FUNCTIONS TO SIMPLIFY PROGRAMMING PROGRAMMING B–63124EN/01 14.1.3 Line at Angle (G76) G76I d J θ K n ; By the above command, punching is made at n pieces of points which lie every intervals of d along the straight line which forms angle θ with reference to the X axis, starting with the present t
  • Page 15614. FUNCTIONS TO SIMPLIFY B–63124EN/01 PROGRAMMING PROGRAMMING 14.1.4 Arc (G77) G77I r J θ P ∆θ K n ; By the above command, punching is made at n pieces of points every incremental ∆θ angle, starting with the point which forms θ angle with reference to the X-axis on the circumference of radius r, wi
  • Page 15714. FUNCTIONS TO SIMPLIFY PROGRAMMING PROGRAMMING B–63124EN/01 14.1.5 Grid (G78, G79) G78I dx P nx J dy K ny ; or G79I dx P nx J dy K ny ; By the above command, punching is made at matrix points consisting of nx pieces at intervals of dx in the X-axis direction and ny pieces at intervals of dy in th
  • Page 15814. FUNCTIONS TO SIMPLIFY B–63124EN/01 PROGRAMMING PROGRAMMING dy : Punch point intervals in the Y-axis direction This is commanded by a positive number when the first punch point in the Y-axis direction is located in the +Y direction as viewed from the start point. nx : Number of punch points in th
  • Page 15914. FUNCTIONS TO SIMPLIFY PROGRAMMING PROGRAMMING B–63124EN/01 14.1.6 Share Proofs (G86) G86I ȏ J θ P w1 Q w2 ; With the current position or the coordinates designated by G72 as a start point, this function allows to punch length ȏ in the direction of angle θ for the X-axis, using a rectangular tool
  • Page 16014. FUNCTIONS TO SIMPLIFY B–63124EN/01 PROGRAMMING PROGRAMMING The punching method is as follows. 1 Punch the first point. 2 Set the pitch to 0.95 w1. 3 Calculate ȏ–w1 = n 0.95 w1 If n v1, the pitch shall be “ȏ – w1”. If n is an integer, the pitch shall be 0.95 w1. When n is not an integer, [n] + 1
  • Page 16114. FUNCTIONS TO SIMPLIFY PROGRAMMING PROGRAMMING B–63124EN/01 14.1.7 Square (G87) G87I ȏx J ȏy P w1 Q w2 ; With the current position or the coordinates designated by G72 as a starting point, it allows to punch a rectangle with length ȏx in the X-axis direction and length ȏy in the Y-axis direction,
  • Page 16214. FUNCTIONS TO SIMPLIFY B–63124EN/01 PROGRAMMING PROGRAMMING 14.1.8 Radius (G88) G88I r J θ K ∆θ P d Q p ; The punching operation is performed at pitch P between a point having angle θ for the X-axis on the circumference (diameter r) and a point having angle θ + ∆θ for the X-axis with the current
  • Page 16314. FUNCTIONS TO SIMPLIFY PROGRAMMING PROGRAMMING B–63124EN/01 14.1.9 Cut at Angle (G89) G89I ȏ J θ P d Q p ; This function allows to punch a straight line with length ȏ having angle θ to X-axis with the current tool position or the position designated by G72 as a starting point, at pitch P, using a
  • Page 16414. FUNCTIONS TO SIMPLIFY B–63124EN/01 PROGRAMMING PROGRAMMING 14.1.10 If an incremental command is given in a block just after the pattern Incremental Command function, the tool may not move by the incremental amount from the end point of the pattern function. In case of bolt hole circle (G26), sha
  • Page 16514. FUNCTIONS TO SIMPLIFY PROGRAMMING PROGRAMMING B–63124EN/01 When the block execution of the bolt hole circle (G26) has been finished, the tool is located at the end point, in practice. However, a programmer shall make a program assuming that the tool be located at the base point, i.e., the center
  • Page 16614. FUNCTIONS TO SIMPLIFY B–63124EN/01 PROGRAMMING PROGRAMMING End point G86 Base point (start point) End point G88 Base point (center) G89 End point Base point (start point) 155
  • Page 16714. FUNCTIONS TO SIMPLIFY PROGRAMMING PROGRAMMING B–63124EN/01 14.1.11 Notes on Pattern Functions WARNING 1 Don’t command M code in a block where the pattern function is commanded. 2 If a T code is commanded in a block where the pattern function is commanded, the X, Y axes are positioned to the firs
  • Page 16814. FUNCTIONS TO SIMPLIFY B–63124EN/01 PROGRAMMING PROGRAMMING 14.2 When it is desired to repeatedly use a pattern with the same figure among the pattern functions, this function can store it in memory with a given MEMORY AND CALL number and access it as needed. Programs other than those using the B
  • Page 16914. FUNCTIONS TO SIMPLIFY PROGRAMMING PROGRAMMING B–63124EN/01 14.3 By changing the hold position of a workpiece by the workpiece holders, a workpiece having a size larger than the stroke in X-axis direction of the AUTOMATIC machine can be machined. REPOSITIONING If it is desired to punch a workpiec
  • Page 17014. FUNCTIONS TO SIMPLIFY B–63124EN/01 PROGRAMMING PROGRAMMING 3) The workpiece holder moves in the X-axis direction to relocate the hold position. Y X 4) The workpiece holder moves in the Y-axis direction to return to the position where it can hold the workpiece. ÑÑÑÑÑ ÑÑÑÑÑ ÑÑÑÑÑ ÑÑÑÑÑ ÑÑÑÑÑ 5) Th
  • Page 17114. FUNCTIONS TO SIMPLIFY PROGRAMMING PROGRAMMING B–63124EN/01 Blocks (1) - (5) correspond to operation steps 1) - 5), respectively. A relief or a return mount R in the Y-axis direction is preset by parameter (No. 16209: for metric input, No. 16210: for inch input). For this amount, refer to the mac
  • Page 17214. FUNCTIONS TO SIMPLIFY B–63124EN/01 PROGRAMMING PROGRAMMING Reference point Workpiece End locator Work holder ÑÑ ÑÑ 200 1000 Refer to the above figure as an example. The reference point is assumed as the start point of the tool. Assume that the distance between the reference point and the end loc
  • Page 17314. FUNCTIONS TO SIMPLIFY PROGRAMMING PROGRAMMING B–63124EN/01 Y Workpiece End locator Workpiece holder ÑÑ ÑÑ 300 200 X 1000 When a new workpiece is set by attaching it to the end locator after removing the workpiece, the zero point of the work coordinate system must be positioned at the end locator
  • Page 17414. FUNCTIONS TO SIMPLIFY B–63124EN/01 PROGRAMMING PROGRAMMING WARNING 1 Neither T code nor M code should be commanded in G75 block. 2 The repositioning amount of the workpiece holder is specified by a numerical value following address X in G75 command. If repositioning is made in the +X direction o
  • Page 17514. FUNCTIONS TO SIMPLIFY PROGRAMMING PROGRAMMING B–63124EN/01 14.4 The macro function enables commands consisting of several blocks to be stored in the NC memory as a single macro and to be called when MACRO FUNCTION necessary. 14.4.1 To store several blocks as a single macro, attach numerics of 2
  • Page 17614. FUNCTIONS TO SIMPLIFY B–63124EN/01 PROGRAMMING PROGRAMMING Examples ..... ..... U10 ; G90X10000Y50000T32 ; G72X15000Y70000 ; G87I10000J30000P1000 ; N100M100 ; U20 ; G72X50000Y30000T26 ; A03G26I10000J0K4 ; G72X80000Y30000 ; B03 ; V20 ; G90X20000Y10000T20 ; V10 ; As shown in the above example, ano
  • Page 17714. FUNCTIONS TO SIMPLIFY PROGRAMMING PROGRAMMING B–63124EN/01 14.4.3 Nesting Call of Macros A certain macro can call another macro and then further the latter macro can call any other macro. The depth of nesting call is up to 3. Examples U05 ; j : Signifies a block number .... ; .... ; V05 ; U20
  • Page 17814. FUNCTIONS TO SIMPLIFY B–63124EN/01 PROGRAMMING PROGRAMMING 14.4.4 The storage capacity of each macro 01 to 89 is variable. However the Macro Storage entire storage capacity is limited to 3200 characters. Effective use of the storage area for storing macros is guaranteed since Capacity previously
  • Page 17914. FUNCTIONS TO SIMPLIFY PROGRAMMING PROGRAMMING B–63124EN/01 14.4.5 With macro numbers 90 to 99, several macros can be stored and called as Storage and Call of a single macro, though the item 14.4.1 “Storage of macros” describes that another macro cannot be stored while a certain macro is being st
  • Page 18014. FUNCTIONS TO SIMPLIFY B–63124EN/01 PROGRAMMING PROGRAMMING 14.4.6 Macros stored therefore are all deleted in the following cases: Deletion of Stored (1) Reset (including reset due to M02, M30, etc.) Macros (2) Controller power off The stored macros can be prevented from deletion by setting of th
  • Page 18114. FUNCTIONS TO SIMPLIFY PROGRAMMING PROGRAMMING B–63124EN/01 14.5 The multi-piece machining function enables several sheets of product with the same punching shape to be produced from a single sheet of MULTI-PIECE material at a time by simple commands. MACHINING This function allows so called “tri
  • Page 18214. FUNCTIONS TO SIMPLIFY B–63124EN/01 PROGRAMMING PROGRAMMING nx: The number of products in the X axial direction (Note) ny: The number of products in the Y axial direction (Note) NOTE Product part  is not counted. After command of G98, specify machining commands on the lower left product part ( 
  • Page 18314. FUNCTIONS TO SIMPLIFY PROGRAMMING PROGRAMMING B–63124EN/01 Method 1 In this method, the machining commands to punch on one product part are stored as a single macro. U01 ; . . . . T31 ; .......... .......... . . . . T22 ; .......... .......... . . . . T33 ; .......... .......... . . . . T11 ; ..
  • Page 18414. FUNCTIONS TO SIMPLIFY B–63124EN/01 PROGRAMMING PROGRAMMING .......... V04 ; If macro numbers 01, 02, 03 and 04 are called sequentially by the multi-piece machining command in this case, machining proceeds as follows. 1) Tool T31 performs full machining on all product parts. 2) Then, T22 performs
  • Page 18514. FUNCTIONS TO SIMPLIFY PROGRAMMING PROGRAMMING B–63124EN/01 U01 ; . . . . T31 ; .......... V01 ; U02 ; . . . . T22 ; .......... V02 ; U04 ; . . . . T11 ; .......... V04 ; V90 ; In this case, the command of “G73 W90 Q1” becomes identical with the following series of commands. G73 W01 Q1 ; G73 W02
  • Page 18614. FUNCTIONS TO SIMPLIFY B–63124EN/01 PROGRAMMING PROGRAMMING 14.5.4 Specifying the position from which machining multiple products restarts Command for with address P in a block in which the G73 or G74 command for machining multiple products is specified enables machining multiple Restarting Machi
  • Page 18714. FUNCTIONS TO SIMPLIFY PROGRAMMING PROGRAMMING B–63124EN/01 (2) When machining starts (a) Q1 command: Products are machined in the order of E, F, G, and H. (b) Q2 command: Products are machined in the order of H, G, F, and E. (c) Q3 command: Products are machined in the order of D, C, B, and A. (
  • Page 18814. FUNCTIONS TO SIMPLIFY B–63124EN/01 PROGRAMMING PROGRAMMING 14.6 The hole position gap accompanied bending is compensated and the drilling is performed. BENDING COMPENSATION (G38, G39) Program format D Bending compensation for X axis direction G38I X1 J X2 K X3 P X4 Q X5 Rα ; D Bending compensati
  • Page 18914. FUNCTIONS TO SIMPLIFY PROGRAMMING PROGRAMMING B–63124EN/01 Examples When the bending compensation of only X axis direction is performed. AreaI AreaII AreaIII 180 260 420 Program : G52X100.Y0 ; Specifications of standard point G38I180.J260.K420.R-1. ; Bending compensation command G90X-50. ; Absol
  • Page 19014. FUNCTIONS TO SIMPLIFY B–63124EN/01 PROGRAMMING PROGRAMMING 14.7 LINEAR AND CIRCULAR PUNCH COMMAND 14.7.1 This command specifies the punch operation from the current position or Linear Punch the position specified by the G72 command to an end point at coordinates (x, y) with a tool which is dx wi
  • Page 19114. FUNCTIONS TO SIMPLIFY PROGRAMMING PROGRAMMING B–63124EN/01 (2) G72X10.Y10. ; G45X100.Y10.P20.Q10. (R0) ; 10 + + + (10, 10) 20 (100, 10) The punch moves along the programmed line without shift. G72X10.Y10. ; G45X100.Y10.P20.Q10.R1 ; 10 + + + 20 (10, 10) (100, 10) The punch moves along the program
  • Page 19214. FUNCTIONS TO SIMPLIFY B–63124EN/01 PROGRAMMING PROGRAMMING G72X10.Y10. ; G45X100.Y10.P20.Q10.R1 D-5. ; + + + (10, 10) 5 (100, 10) By setting the width of a micro-joint, j, the dimension of the punched portion can be changed at the punch start and end points to compensate for the punch error. The
  • Page 19314. FUNCTIONS TO SIMPLIFY PROGRAMMING PROGRAMMING B–63124EN/01 14.7.2 These commands specify the punch operation from the current position Circular Punch or the position specified by the G72 command to an end point at coordinates (x, y) with an interval of q using a tool of diameter d along Commands
  • Page 19414. FUNCTIONS TO SIMPLIFY B–63124EN/01 PROGRAMMING PROGRAMMING Examples (1) G72G90X100.Y100. ; G46X200.Y200.R100.P-20.Q10. ;  G47X100.Y100.R-100.P20.Q10. ;   (200, 200) r=100  r=100 (100, 100) NOTE 1 When the start and end points of an arc are the same in a G46 or G47 command, if either the radi
  • Page 19514. FUNCTIONS TO SIMPLIFY PROGRAMMING PROGRAMMING B–63124EN/01 14.8 The M–codes which is set by parameters (No. 16610 to 16614) are commanded, the crack between work coordinate system and machine Y–AXIS CRACK coordinate system of Y–axis repositioning motion is canceled. CANCEL Example1 Y1525M30; Y–a
  • Page 196B–63124EN/01 PROGRAMMING 15. COMPENSATION FUNCTION 15 COMPENSATION FUNCTION This chapter describes the following compensation functions: CUTTER COMPENSATION C (G40–G42) . . . . . . . . . . . Sec.15.1, 15.2 TOOL COMPENSATION VALUES, NUMBER OF COMPENSATION VALUES, AND ENTERING VALUES FROM THE PROGRAM
  • Page 19715. COMPENSATION FUNCTION PROGRAMMING B–63124EN/01 15.1 When the tool is moved, the tool path can be shifted by the radius of the tool (Fig. 15.1 (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 198B–63124EN/01 PROGRAMMING 15. COMPENSATION FUNCTION Format D Start up G00(or G01)G41(or G42) IP_ D ; (Tool compensation start) G41 : Cutter compensation left (Group07) G42 : Cutter compensation right (Group07) IP_ : Command for axis movement D_ : Code for specifying as the cutter compensation value
  • Page 19915. COMPENSATION FUNCTION PROGRAMMING B–63124EN/01 D Offset mode cancel In the offset mode, when a block which satisfies any one of the following conditions is executed, the equipment enters the offset cancel mode, and the action of this block is called the offset cancel. 1. G40 has been commanded.
  • Page 200B–63124EN/01 PROGRAMMING 15. 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 20115. COMPENSATION FUNCTION PROGRAMMING B–63124EN/01 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 202B–63124EN/01 PROGRAMMING 15. COMPENSATION FUNCTION  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 ÇÇÇ ÇÇÇ X axis Unit
  • Page 20315. COMPENSATION FUNCTION PROGRAMMING B–63124EN/01 15.2 This section provides a detailed explanation of the movement of the tool for cutter compensation C outlined in Section 15.1. DETAILS OF CUTTER This section consists of the following subsections: COMPENSATION C 15.2.1 General 15.2.2 Tool Movemen
  • Page 204B–63124EN/01 PROGRAMMING 15. COMPENSATION FUNCTION 15.2.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 °xα α Workpiece Programmed path
  • Page 20515. COMPENSATION FUNCTION PROGRAMMING B–63124EN/01 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 °xα<° Linear→Linear Start position G42 α Workpiece L Programmed path r S L Too
  • Page 206B–63124EN/01 PROGRAMMING 15. 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 (α<°) Linear→Linear Start position G42 L Workpiece α Programmed path r S L Tool center path Type
  • Page 20715. COMPENSATION FUNCTION PROGRAMMING B–63124EN/01 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 X1000.0 Y1000.0 ; N7 G41 X0 ; N8 Y–1000.0 ; N9 Y–1000.0 X1000.0 ; SS N7 N6 N8 S Tool center path N9 Pro
  • Page 208B–63124EN/01 PROGRAMMING 15. COMPENSATION FUNCTION 15.2.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 20915. COMPENSATION FUNCTION PROGRAMMING B–63124EN/01 D Tool movement around the inside α<° 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 210B–63124EN/01 PROGRAMMING 15. 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 21115. COMPENSATION FUNCTION PROGRAMMING B–63124EN/01 D Tool movement around the outside corner at an acute angle Linear→Linear (α<90°) L Workpiece r α L Programmed path S r L Tool center path L L Linear→Circular L S r α L r Work- L piece L Tool center path Programmed path Circular→Linear C S α Workpie
  • Page 212B–63124EN/01 PROGRAMMING 15. 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 21315. COMPENSATION FUNCTION PROGRAMMING B–63124EN/01           If the center of the arc is identical with the start position or end point,         alarm (No. 038) is displayed, and the tool will stop at the end position of      the preceding block. Alarm(No.0
  • Page 214B–63124EN/01 PROGRAMMING 15. 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 21515. COMPENSATION FUNCTION PROGRAMMING B–63124EN/01 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 216B–63124EN/01 PROGRAMMING 15. 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 21715. COMPENSATION FUNCTION PROGRAMMING B–63124EN/01 D Temporary cutter If the following command is specified in the offset mode, the offset mode compensation cancel is temporarily canceled then automatically restored. The offset mode can be canceled and started as described in Subsections 15.2.2 and
  • Page 218B–63124EN/01 PROGRAMMING 15. COMPENSATION FUNCTION D Command cancelling the During offset mode, if G92 (absolute zero point programming) is offset vector temporarily commanded,the offset vector is temporarily cancelled and thereafter offset mode is automatically restored. In this case, without movem
  • Page 21915. COMPENSATION FUNCTION PROGRAMMING B–63124EN/01 A block without tool move- When a single block without tool movement is commanded in the offset ment specified in offset mode mode, the vector and tool center path are the same as those when the block is not commanded. This block is executed at the
  • Page 220B–63124EN/01 PROGRAMMING 15. 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 22115. COMPENSATION FUNCTION PROGRAMMING B–63124EN/01 N4 G41 G91 G01 X150.0 P2 P3 P4 P5 Y200.‘0 ; N5 X150.0 Y200.0 ; N6 G02 J–600.0 ; P1 P6 N7 G01 X150.0 Y–200.0 ; N8 G40 X150.0 Y–200.0 ; 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 222B–63124EN/01 PROGRAMMING 15. COMPENSATION FUNCTION 15.2.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 22315. COMPENSATION FUNCTION PROGRAMMING B–63124EN/01 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 °xα<° Linear→Linear G40 α Workpiece Programmed path L r Tool center path L S Type A Circular→Li
  • Page 224B–63124EN/01 PROGRAMMING 15. 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 22515. COMPENSATION FUNCTION PROGRAMMING B–63124EN/01 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 G41 Start position D A block without tool When a block without tool movement is commanded together wi
  • Page 226B–63124EN/01 PROGRAMMING 15. 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 22715. COMPENSATION FUNCTION PROGRAMMING B–63124EN/01 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 Subsecti
  • Page 228B–63124EN/01 PROGRAMMING 15. COMPENSATION FUNCTION 15.2.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 22915. COMPENSATION FUNCTION PROGRAMMING B–63124EN/01 (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 230B–63124EN/01 PROGRAMMING 15. 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 23115. COMPENSATION FUNCTION PROGRAMMING B–63124EN/01 (2) If the interference occurs after correction (1), the tool is stopped with an alarm. If the interference occurs after correction (1) or if there are only one pair of vectors from the beginning of checking and the vectors interfere, the alarm (No.
  • Page 232B–63124EN/01 PROGRAMMING 15. 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 prog
  • Page 23315. COMPENSATION FUNCTION PROGRAMMING B–63124EN/01 15.2.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 234B–63124EN/01 PROGRAMMING 15. 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 23515. COMPENSATION FUNCTION PROGRAMMING B–63124EN/01 15.2.8 A function has been added which performs positioning by automatically G53,G28,G30,G30.1 canceling a cutter compensation vector when G53 is specified in cutter compensation C mode, then automatically restoring that cutter and G29 commands in c
  • Page 236B–63124EN/01 PROGRAMMING 15. 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 23715. COMPENSATION FUNCTION PROGRAMMING B–63124EN/01 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 238B–63124EN/01 PROGRAMMING 15. 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 23915. COMPENSATION FUNCTION PROGRAMMING B–63124EN/01 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 240B–63124EN/01 PROGRAMMING 15. COMPENSATION FUNCTION D G28, G30, or G30.1 When G28, G30, or G30.1 is specified in cutter compensation C mode, command in cutter an operation of FS15 type is performed if CCN (bit 2 of parameter No. compensation C mode 5003) is set to 1. This means that an intersection v
  • Page 24115. COMPENSATION FUNCTION PROGRAMMING B–63124EN/01 (b) For return by G00 When CCN (bit 2 of parameter No. 5503) = 0 Oxxxx; [Type A] G91G41_ _ _; Intermediate position G28/30/30.1 s s s G01 G28X40.Y0 ;   G00 (G42G01) s Reference position or floating reference position [Type B] Intermediate position
  • Page 242B–63124EN/01 PROGRAMMING 15. COMPENSATION FUNCTION When CCN (bit 2 of parameter No. 5503) = 1 [FS15 Type] Intermediate position = return position (G42G01) s G01 s r G01 G28/30/30.1 G29 Reference position or floating reference position s (b) For return by G00 When CCN (bit 2 of parameter No.5503)=0 O
  • Page 24315. COMPENSATION FUNCTION PROGRAMMING B–63124EN/01 (3) G28, G30, or G30.1, specified in offset mode (with movement to a reference position not performed) (a) For return by G29 When CCN (bit 2 of parameter No.5503)=0 Oxxxx; [Type A] G91G41_ _ _; Return position (G42G01) s s G01 r G28/30/30.1 r G28X40
  • Page 244B–63124EN/01 PROGRAMMING 15. COMPENSATION FUNCTION (4) G28, G30, or G30.1 specified in offset mode (with no movement performed) (a) For return by G29 When CCN (bit 2 of parameter No.5503)=0 O××××; G91G41_ _ _; [Type A] G28/30/30.1/G29 Intersection vector G28X0Y0; (G41G01) r G29X0Y0; s G01 G01 Refere
  • Page 24515. COMPENSATION FUNCTION PROGRAMMING B–63124EN/01 When CCN (bit 2 of parameter No.5503)=1 [FS15 Type] G28/30/30.1 (G41G01) r s G00 Reference position or floating G01 reference position =Intermediate position WARNING 1 When a G28, G30, or G30.1 command is specified during all–axis machine lock, a pe
  • Page 246B–63124EN/01 PROGRAMMING 15. COMPENSATION FUNCTION NOTE 1 When a G28, G30, or G30.1 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 auto
  • Page 24715. COMPENSATION FUNCTION PROGRAMMING B–63124EN/01 15.3 Tool compensation values can be entered into CNC memory from the MDI panel (see section III–8.1) or from a program. TOOL A tool compensation value is selected from the CNC memory when the COMPENSATION corresponding code is specified after addre
  • Page 248B–63124EN/01 PROGRAMMING 15. COMPENSATION FUNCTION 15.4 A programmed figure can be magnified or reduced (scaling). The dimensions specified with X_, and Y_, can each be scaled up or down SCALING with the same or different rates of magnification. (G50, G51) The magnification rate can be specified in
  • Page 24915. COMPENSATION FUNCTION PROGRAMMING B–63124EN/01 Explanations D Scaling up or down Least input increment of scaling magnification is: 0.001 or 0.00001 It is along all axes at the depended on parameter (No. 5400#07) which value is selected. If scaling same rate of P is not specified on the block of
  • Page 250B–63124EN/01 PROGRAMMING 15. 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 25115. COMPENSATION FUNCTION PROGRAMMING B–63124EN/01 D Invalid scaling This scaling is not applicable to cutter compensation values and tool offset values (Fig. 15.4 (e) ). Cutter compensation values are not scaled. Fig15.4 (e) Scaling during cutter compensation In manual operation, the travel distanc
  • Page 252B–63124EN/01 PROGRAMMING 15. COMPENSATION FUNCTION Examples Example of a mirror image program Subprogram O9000 ; G00 G90 X60.0 Y60.0; G01 X100.0 F100; G01 Y100.0; G01 X60.0 Y60.0; M99; Main program N10 G00 G90; N20M98P9000; N30 G51 X50.0 Y50.0 I–1000 J1000; N40 M98 P9000; N50 G51 X50.0 Y50.0 I–1000
  • Page 25315. COMPENSATION FUNCTION PROGRAMMING B–63124EN/01 15.5 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 254B–63124EN/01 PROGRAMMING 15. COMPENSATION FUNCTION X Angle of rotation R (incremental value) Center of Angle of rotation (absolute value) rotation (α, β) Z Fig15.5 (b) Coordinate system rotation NOTE When a decimal fraction is used to specify angular displacement (R_), the 1’s digit corresponds to d
  • Page 25515. COMPENSATION FUNCTION PROGRAMMING B–63124EN/01 N1 G92 X*5000 Y*5000 G85 G17 ; N2 G84 X7000 Y3000 R60000 ; N3 G90 G01 X0 Y0 F200 ; (G91X5000Y5000) N4 G91 X10000 ; N5 G02 Y10000 R10000 ; N6 G03 X*10000 I*5000 J*5000 ; N7 G01 Y*10000 ; N8 G85 G90 X*5000 Y*5000 M02 ; Tool path when the incremental c
  • Page 256B–63124EN/01 PROGRAMMING 15. COMPENSATION FUNCTION Examples D Cutter compensation C and coordinate system rotation It is possible to specify G84 and G85 in cutter compensation C mode. The rotation plane must coincide with the plane of cutter compensa- tion C. N1 G92 X0 Y0 G85 G01 ; N2 G42 G90 X1000
  • Page 25715. COMPENSATION FUNCTION PROGRAMMING B–63124EN/01 2. When the system is in cutter compensation model C, specify the commands in the following order (Fig.15.5 (e)) : (cutter compensation C cancel) G51 ; scaling mode start G84 ; coordinate system rotation start : G41 ; cutter compensation C mode star
  • Page 258B–63124EN/01 PROGRAMMING 15. 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 25915. COMPENSATION FUNCTION PROGRAMMING B–63124EN/01 15.6 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. 15.6 (a)). CONTROL
  • Page 260B–63124EN/01 PROGRAMMING 15. COMPENSATION FUNCTION Cutter center path Cutter center path Programmed path Center of the arc Programmed path Fig15.6 (b) Normal direction control left (G41.1) Fig15.6 (c) Normal direction control right (G42.1) Explanations D        When viewed from the center
  • Page 26115. COMPENSATION FUNCTION PROGRAMMING B–63124EN/01 Cutter center path S N1 S : Single block stop point Programmed path N2 S N3 S Fig15.6 (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–ax
  • Page 262B–63124EN/01 PROGRAMMING 15. 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 26315. COMPENSATION FUNCTION PROGRAMMING B–63124EN/01 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 264B–63124EN/01 PROGRAMMING 15. COMPENSATION FUNCTION D T and C commands during normal–line 1) During normal–line direction control, the T command results in an direction control alarm (No. 4606) except when the TANDC parameter (bit 7 of parameter No. 16263) is 1, in which case a single–tool command is
  • Page 26516. CUSTOM MACRO PROGRAMMING B–63124EN/01 16 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 266B–63124EN/01 PROGRAMMING 16. CUSTOM MACRO 16.1 An ordinary machining program specifies a G code and the travel distance directly with a numeric value; examples are G100 and X100.0. VARIABLES With a custom macro, numeric values can be specified directly or using a variable number. When a variable num
  • Page 26716. CUSTOM MACRO PROGRAMMING B–63124EN/01 (b) Operation < vacant > is the same as 0 except when replaced by < vacant> When #1 = < vacant > When #1 = 0 #2 = #1 #2 = #1 # # #2 = #2 = 0 #2 = #1*5 #2 = #1*5 # # #2 = 0 #2 = 0 #2 = #1+#1 #2 = #1 + #1 # # #2 = 0 #2 = 0 (c) Conditional expressions
  • Page 268B–63124EN/01 PROGRAMMING 16. CUSTOM MACRO D Types of variables Variables are classified into four types by variable number. Table 16.1 Types of variables Variable Type of Function number variable #0 Always This variable is always null. No value can null be assigned to this variable. #1 to #33 Local
  • Page 26916. CUSTOM MACRO PROGRAMMING B–63124EN/01 D Displaying variable values Procedure for displaying variable values Procedure 1 Press the OFFSET SETTING key to display the tool compensation screen. 2 Press the continuous menu key . 3 Press the soft key [MACRO] to display the macro variable screen. 4 Ent
  • Page 270B–63124EN/01 PROGRAMMING 16. CUSTOM MACRO 16.2 System variables can be used to read and write internal NC data such as tool compensation values and current position data. Note, however, that SYSTEM VARIABLES some system variables can only be read. System variables are essential for automation and ge
  • Page 27116. CUSTOM MACRO PROGRAMMING B–63124EN/01 D Macro alarms Table 16.2 (c) System variable for macro alarms Variable Function number #3000 When a value from 0 to 200 is assigned to variable #3000, the NC stops with an alarm. After an expression, an alarm message not longer than 26 characters can be des
  • Page 272B–63124EN/01 PROGRAMMING 16. CUSTOM MACRO S When a wait for the completion of auxiliary functions (M, S, and T functions) is not specified, program execution proceeds to the next block before completion of auxiliary functions. Also, distribution completion signal DEN is not output. Table 16.2 (f) Sy
  • Page 27316. CUSTOM MACRO PROGRAMMING B–63124EN/01 D  Settings can be read and written. Binary values are converted to decimals. #3005 #15 #14 #13 #12 #11 #10 #9 #8 Setting #7 #6 #5 #4 #3 #2 #1 #0 Setting SEQ INI ISO TVC #5 (SEQ) : Whether to automatically insert sequence numbers #2 (INI) : Millimete
  • Page 274B–63124EN/01 PROGRAMMING 16. CUSTOM MACRO D Modal information Modal information specified in blocks up to the immediately preceding block can be read. Table 16.2 (h) System variables for modal information Variable number Function #4001 G00, G01, G02, G03, G33 (Group 01) #4002 G17, G18, G19 (Group 02
  • Page 27516. CUSTOM MACRO PROGRAMMING B–63124EN/01 D Current position Position information cannot be written but can be read. Table 16.2 (i) System variables for position information Variable num- Position Coordinate Tool com- Read ber information system pensation operation value during movement #5001 to #50
  • Page 276B–63124EN/01 PROGRAMMING 16. CUSTOM MACRO D Workpiece coordinate Workpiece zero point offset values can be read and written. system compensation Table 16.2 (j) System variables for workpiece zero point offset values values (workpiece zero point offset values) Variable Function number #5201 First–axi
  • Page 27716. CUSTOM MACRO PROGRAMMING B–63124EN/01 16.3 The operations listed in Table 16.3 (a) can be performed on variables. The expression to the right of the operator can contain constants and/or ARITHMETIC AND variables combined by a function or operator. Variables #j and #K in an LOGIC OPERATION expres
  • Page 278B–63124EN/01 PROGRAMMING 16. CUSTOM MACRO Example: Creation of a drilling program that cuts according to the values of variables #1 and #2, then returns to the original position Suppose that the increment system is 1/1000 mm, variable #1 holds 1.2345, and variable #2 holds 2.3456. Then, G00 G91 X–#1
  • Page 27916. CUSTOM MACRO PROGRAMMING B–63124EN/01 D Bracket nesting Brackets are used to change the order of operations. Brackets can be used to a depth of five levels including the brackets used to enclose a function. When a depth of five levels is exceeded, alarm No. 118 occurs. Example) #1=SIN [ [ [#2+#3
  • Page 280B–63124EN/01 PROGRAMMING 16. CUSTOM MACRO Example: When an attempt is made to assign the following values to variables #1 and #2: #1=9876543210123.456 #2=9876543277777.777 the values of the variables become: #1=9876543200000.000 #2=9876543300000.000 In this case, when #3=#2–#1; is calculated, #3=100
  • Page 28116. CUSTOM MACRO PROGRAMMING B–63124EN/01 16.4 The following blocks are referred to as macro statements: MACRO S Blocks containing an arithmetic or logic operation (=) STATEMENTS AND S Blocks containing a control statement (such as GOTO, DO, END) NC STATEMENTS S Blocks containing a macro call comman
  • Page 282B–63124EN/01 PROGRAMMING 16. CUSTOM MACRO 16.5 In a program, the flow of control can be changed using the GOTO statement and IF statement. Three types of branch and repetition BRANCH AND operations are used: REPETITION Branch and repetition GOTO statement (unconditional branch) IF statement (conditi
  • Page 28316. CUSTOM MACRO PROGRAMMING B–63124EN/01 D Operators Operators each consist of two letters and are used to compare two values to determine whether they are equal or one value is smaller or greater than the other value. Note that the inequality sign cannot be used. Table 16.5.2 Operators Operator Me
  • Page 284B–63124EN/01 PROGRAMMING 16. CUSTOM MACRO D Nesting The identification numbers (1 to 3) in a DO–END loop can be used as many times as desired. Note, however, when a program includes crossing repetition loops (overlapped DO ranges), alarm No. 124 occurs. 1. The identification numbers 3. DO loops can
  • Page 28516. CUSTOM MACRO PROGRAMMING B–63124EN/01 Sample program The sample program below finds the total of numbers 1 to 10. O0001; #1=0; #2=1; WHILE[#2 LE 10]DO 1; #1=#1+#2; #2=#2+1; END 1; M30; 274
  • Page 286B–63124EN/01 PROGRAMMING 16. CUSTOM MACRO 16.6 A macro program can be called using the following methods: MACRO CALL Macro call Simple call (G65) modal call (G66, G67) Macro call with G code Macro call with M code Subprogram call with M code Subprogram call with T code    D Differences betwe
  • Page 28716. CUSTOM MACRO PROGRAMMING B–63124EN/01 D Argument specification Two types of argument specification are available. Argument specification I uses letters other than G, L, O, N, and P once each. Argument specification II uses A, B, and C once each and also uses I, J, and K up to ten times. The type
  • Page 288B–63124EN/01 PROGRAMMING 16. CUSTOM MACRO D Call nesting Calls can be nested to a depth of four levels including simple calls (G65) and modal calls (G66). This does not include subprogram calls (M98). D Local variable levels S Local variables from level 0 to 4 are provided for nesting. S The level o
  • Page 28916. CUSTOM MACRO PROGRAMMING B–63124EN/01 Sample program A macro is created which drills H holes at intervals of B degrees after a (bolt hole circle) start angle of A degrees along the periphery of a circle with radius I. The center of the circle is (X,Y). Commands can be specified in either the abs
  • Page 290B–63124EN/01 PROGRAMMING 16. CUSTOM MACRO D Program calling a macro O0002; program G90 G92 X0 Y0 Z100.0; G65 P9100 X100.0 Y50.0 R30.0 Z–50.0 F500 I100.0 A0 B45.0 H5; M30; D Macro program O9100; (called program) #3=#4003; . . . . . . . . . . . . . . . . . . . . . . . . . . Stores G code of group 3. G
  • Page 29116. CUSTOM MACRO PROGRAMMING B–63124EN/01 16.6.2 Once G66 is issued to specify a modal call a macro is called after a block Modal Call (G66) specifying movement along axes is executed. This continues until G67 is issued to cancel a modal call. G66 P p L ȏ ; P : Number of the
  • Page 292B–63124EN/01 PROGRAMMING 16. CUSTOM MACRO Sample program The drilling cycle 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 the follow- Rapid traverse ing ba
  • Page 29316. CUSTOM MACRO PROGRAMMING B–63124EN/01 16.6.3 By setting a G code number used to call a macro program in a parameter, Macro Call Using the macro program can be called in the same way as for a simple call (G65). G Code O0001 ; O9010 ; : : G81 X10.0 Y20.0 Z–10.0 ; : : : M30 ; N9 M99 ; Parameter 605
  • Page 294B–63124EN/01 PROGRAMMING 16. CUSTOM MACRO 16.6.4 By setting an M code number used to call a macro program in a parameter, Macro Call Using the macro program can be called in the same way as with a simple call (G65). an M Code O0001 ; O9020 ; : : M50 A1.0 B2.0 ; : : : M30 ; M99 ; Parameter 6080 = 50
  • Page 29516. CUSTOM MACRO PROGRAMMING B–63124EN/01 16.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 296B–63124EN/01 PROGRAMMING 16. CUSTOM MACRO 16.6.6 By enabling subprograms (macro program) to be called with a T code in Subprogram Calls a parameter, a macro program can be called each time the T code is specified in the machining program. Using a T Code O0001 ; O9000 ; : : T23 ; : : : M30 ; M99 ; Bi
  • Page 29716. CUSTOM MACRO PROGRAMMING B–63124EN/01 16.6.7 By using the subprogram call function that uses M codes, the cumulative Sample Program usage time of each tool is measured. Conditions S The cumulative usage time of each of tools T01 to T05 is measured. No measurement is made for tools with numbers g
  • Page 298B–63124EN/01 PROGRAMMING 16. CUSTOM MACRO 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; . . . . . . . . . . . . . . Ou
  • Page 29916. CUSTOM MACRO PROGRAMMING B–63124EN/01 16.7 For smooth machining, the NC prereads the NC statement to be performed next. This operation is referred to as buffering. In cutter PROCESSING compensation mode (G41, G42), the NC prereads NC statements two or MACRO three blocks ahead to find intersectio
  • Page 300B–63124EN/01 PROGRAMMING 16. CUSTOM MACRO D Buffering the next block in cutter compensation > N1 G01 G41 G91 X50.0 Y30.0 F100 Dd ; mode (G41, G42) N2 #1=100 ; N3 X100.0 ; > : Block being executed N4 #2=200 ; V : Blocks read into the buffer N5 Y50.0 ; : N1 N3 NC statement execution N2 N4 Macro statem
  • Page 30116. CUSTOM MACRO PROGRAMMING B–63124EN/01 16.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 302B–63124EN/01 PROGRAMMING 16. CUSTOM MACRO 16.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 30316. CUSTOM MACRO PROGRAMMING B–63124EN/01 D Constant values that can +0.0000001 to +99999999 be used in –99999999 to –0.0000001 The number of significant digits is 8 (decimal). If this range is exceeded, alarm No. 003 occurs. 292
  • Page 304B–63124EN/01 PROGRAMMING 16. CUSTOM MACRO 16.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 30516. CUSTOM MACRO PROGRAMMING B–63124EN/01 Example) BPRINT [ C** X#100 [3] Y#101 [3] M#10 [0] ] Variable value #100=0.40596 #101=–1638.4 #10=12.34 LF 12 (0000000C) M –1638400(FFE70000) Y 110 (0000019A) X Space C D Data output command DPRNT DPRNT [ a #b [cd] …] Number of significant decimal places Num
  • Page 306B–63124EN/01 PROGRAMMING 16. CUSTOM MACRO Example) DPRINT [ 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 30716. CUSTOM MACRO PROGRAMMING B–63124EN/01 D Required setting Specify the channel use for parameter 020. According to the specification of this parameter, set data items (such as the baud rate) for the reader/punch interface. I/O channel 0 : Parameters 101 and 103 I/O channel 1 : Parameters 111 and 1
  • Page 308B–63124EN/01 PROGRAMMING 16. CUSTOM MACRO 16.11 When a program is being executed, another program can be called by inputting an interrupt signal (UINT) from the machine. This function is INTERRUPTION TYPE referred to as an interruption type custom macro function. Program an CUSTOM MACRO interrupt co
  • Page 30916. CUSTOM MACRO PROGRAMMING B–63124EN/01 16.11.1 Specification Method    D Interrupt conditions A custom macro interrupt is available only during program execution. It is enabled under the following conditions – When memory operation or MDI operation is selected – When STL (start lamp) is
  • Page 310B–63124EN/01 PROGRAMMING 16. CUSTOM MACRO 16.11.2 Details of Functions    D Subprogram–type There are two types of custom macro interrupts: Subprogram–type interrupt and macro–type interrupts and macro–type interrupts. The interrupt type used is selected interrupt by MSB (bit 5 of paramete
  • Page 31116. CUSTOM MACRO PROGRAMMING B–63124EN/01 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 312B–63124EN/01 PROGRAMMING 16. CUSTOM MACRO D Conditions for enabling The interrupt signal becomes valid after execution starts of a block that and disabling the custom contains M96 for enabling custom macro interrupts. The signal becomes macro interrupt signal invalid when execution starts of a block
  • Page 31316. CUSTOM MACRO PROGRAMMING B–63124EN/01 D Custom macro interrupt There are two schemes for custom macro interrupt signal (UINT) input: signal (UINT) The status–triggered scheme and edge– triggered scheme. When the status–triggered scheme is used, the signal is valid when it is on. When the edge tr
  • Page 314B–63124EN/01 PROGRAMMING 16. CUSTOM MACRO D Return from a custom To return control from a custom macro interrupt to the interrupted macro interrupt program, specify M99. A sequence number in the interrupted program can also be specified using address P. If this is specified, the program is searched
  • Page 31516. CUSTOM MACRO PROGRAMMING B–63124EN/01 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 (1) and (2) are b
  • Page 316B–63124EN/01 PROGRAMMING 16. CUSTOM MACRO Modal information when The modal information present before the interrupt becomes valid. The control is returned by new modal information modified by the interrupt program is made M99 invalid. Modal information when The new modal information modified by the
  • Page 31717. PROGRAMMABLE DATA ENTRY (G10) PROGRAMMING B–63124EN/01 17 PROGRAMMABLE DATA ENTRY (G10) 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 time constants ar
  • Page 31817. PROGRAMMABLE DATA B–63124EN/01 PROGRAMMING ENTRY (G10) 17.1 PROGRAMMABLE PARAMETER ENTRY Format Format G10L50; Parameter entry mode setting N_R_; For parameters other than the axis type N_P_R_; For axis type parameters G11; Parameter entry mode cancel Meaning of command N_: Parameter No. (4digit
  • Page 31917. PROGRAMMABLE DATA ENTRY (G10) PROGRAMMING B–63124EN/01 Examples 1. Set bit 2 (SPB) of bit type parameter No. 3404 G10L50 ; Parameter entry mode N3404 R 00000100 ; SBP setting G11 ; cancel parameter entry mode 2. Change the values for the Z–axis and A–axis in axis type parameter No. 1322 (the coo
  • Page 32017. PROGRAMMABLE DATA B–63124EN/01 PROGRAMMING ENTRY (G10) 17.2 TOOL DATA ENTRY Format G10L30; Tool data entry mode setting N_P_R_; Tool data entry G11; Tool data entry mode cancel       N_ : Tool data No. or multiple tool data No. +200 P01 : Tool No. or multi–tool No. setting P02 : Turret p
  • Page 32118. HIGH SPEED CUTTING FUNCTIONS PROGRAMMING B–63124EN/01 18 HIGH SPEED CUTTING FUNCTIONS 310
  • Page 32218. HIGH SPEED CUTTING B–63124EN/01 PROGRAMMING FUNCTIONS 18.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 32318. HIGH SPEED CUTTING FUNCTIONS PROGRAMMING B–63124EN/01 18.2 This function is designed for high–speed precise machining. With this function, the delay due to acceleration/deceleration and the delay in the LOOK-AHEAD servo system which increase as the feedrate becomes higher can be CONTROL (G08) su
  • Page 324B–63124EN/01 PROGRAMMING 19. AXIS CONTROL FUNCTIONS 19 AXIS CONTROL FUNCTIONS 313
  • Page 32519. AXIS CONTROL FUNCTIONS PROGRAMMING B–63124EN/01 19.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 The following operating modes are applicable to machines hav
  • Page 326B–63124EN/01 PROGRAMMING 19. AXIS CONTROL FUNCTIONS 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 32719. AXIS CONTROL FUNCTIONS PROGRAMMING B–63124EN/01 D Synchronization When the power is turned on, compensation pulses are output for the slave axis to match the machine position of the master axis with the machine position of the slave axis. (This is enabled only when the absolute position detectio
  • Page 328B–63124EN/01 PROGRAMMING 19. AXIS CONTROL FUNCTIONS 19.2 The roll–over function prevents coordinates for the rotation axis from overflowing. The roll–over function is enabled by setting bit 0 of ROTARY AXIS parameter 1008 to 1. ROLL–OVER Explanations For an incremental command, the tool moves the an
  • Page 32919. AXIS CONTROL FUNCTIONS PROGRAMMING B–63124EN/01 19.3 For predetermined dies (tools) on a turret, the angular position of the die can be changed with a command from a tape, a memory or MDI. C AXIS CONTROL In the past, it was necessary to use many dies when the die shape is the (DIE ANGLE same but
  • Page 330B–63124EN/01 PROGRAMMING 19. AXIS CONTROL FUNCTIONS 19.3.1 X, Y and T or X, Y and C when automatic operation. Simultaneously Controlled Axes 19.3.2 Least input increment IS-A : 0.01 deg, IS-B : 0.001 deg Increment System Least command increment IS-A : 0.01 deg, IS-B : 0.001 deg 19.3.3 IS-A : 999999.
  • Page 33119. AXIS CONTROL FUNCTIONS PROGRAMMING B–63124EN/01 19.3.8 C axis command can be specified in the following blocks: Blocks Where C-axis (a) A block where no one shot G code exists. Command is Possible However, a block with U, V, W or B command is excluded: (Example) X_Y_C_; (b) G70 command (Example)
  • Page 332B–63124EN/01 PROGRAMMING 19. AXIS CONTROL FUNCTIONS 19.3.9 In 19.3.8, the blocks which C-axis command can be performed were C-axis Command and listed. However, unless the die (tool) which allows C-axis control has been selected, C-axis commands cannot be made. Therefore, if the die its Operation whi
  • Page 33319. AXIS CONTROL FUNCTIONS PROGRAMMING B–63124EN/01 19.3.10 The C-axis command in blocks of G26 (Bolt Hole Circle), G76 (Line At Pattern Function, Angle), G77 (Arc), G78/G97 (Grid), G86 (Shear Proof), G87 (Square), G68 (Nibbling Arc), G69 (Nibbling Lin), G88 (Radius) and G89 (Cut At Nibbling Functio
  • Page 334B–63124EN/01 PROGRAMMING 19. AXIS CONTROL FUNCTIONS 19.3.11 For the C-axis commands between the M code for nibbling mode and the C-axis Command in M code for nibling mode cancel, an alarm is indicated if the C-axis movement amount per block exceeds the value set with the parameter Nibbling Mode (No.
  • Page 33519. AXIS CONTROL FUNCTIONS PROGRAMMING B–63124EN/01 19.4 When enough torque for driving a large table cannot be produced by only one motor, two motors can be used for movement along a single axis. TANDEM CONTROL Positioning is performed by the main motor only. The submotor is used only to produce to
  • Page 336III. OPERATIO
  • Page 337B–63124EN/01 OPERATION 1. GENERAL 1 GENERAL 327
  • Page 3381. GENERAL OPERATION B–63124EN/01 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 339B–63124EN/01 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 3401. GENERAL OPERATION B–63124EN/01 1.2 Automatic operation is to operate the machine according to the created program. It includes memory and MDI operations. (See Section III–4). TOOL MOVEMENT BY PROGRAMING – Program AUTOMATIC 01000 ; M_S_T ; OPERATION G92_X_ ; Tool G00... ; G01...... ; . . . . Fig.1
  • Page 341B–63124EN/01 OPERATION 1. GENERAL 1.3 AUTOMATIC OPERATION Explanations D Program selection Select the program used for the workpiece. Ordinarily, one program is prepared for one workpiece. If two or more programs are in memory, select the program to be used, by searching the program number (Section
  • Page 3421. GENERAL OPERATION B–63124EN/01 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 under automatic Z operation Tool position of cut by manual feed Depth of cut specified
  • Page 343B–63124EN/01 OPERATION 1. GENERAL 1.4 Before machining is started, the automatic running check can be executed. It checks whether the created program can operate the machine TESTING A as desired. This check can be accomplished by running the machine PROGRAM actually or viewing the position display c
  • Page 3441. GENERAL OPERATION B–63124EN/01 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 345B–63124EN/01 OPERATION 1. GENERAL 1.5 After a created program is once registered in memory, it can be corrected or modified from the MDI panel (See Section III–9). EDITING A PART This operation can be executed using the part program storage/edit PROGRAM function. Program registration Program correct
  • Page 3461. GENERAL OPERATION B–63124EN/01 1.6 The operator can display or change a value stored in CNC internal memory by key operation on the MDI screen (See III–11). DISPLAYING AND SETTING DATA Data setting Data display Screen Keys MDI CNC memory Fig1.6 (a) Displaying and setting data Explanations D Offse
  • Page 347B–63124EN/01 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 ca
  • Page 3481. GENERAL OPERATION B–63124EN/01 D Displaying and setting The CNC functions have versatility in order to take action in parameters characteristics of various machines. For example, CNC can specify the following: ⋅Rapid traverse rate of each axis ⋅Whether increment system is based on metric system o
  • Page 349B–63124EN/01 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  O1100 N00005 N1 G
  • Page 3501. GENERAL OPERATION B–63124EN/01 1.7.2 The current position of the tool is displayed with the coordinate values. Current Position The distance from the current position to the target position can also be displayed. Display (See Section Y III–11.1 to 11.1.3) x y X Workpiece coordinate system ACTUAL
  • Page 351B–63124EN/01 OPERATION 1. GENERAL 1.7.4 When this option is selected, two types of run time and number of parts Parts Count Display, are displayed on the screen. Run Time Display (See Section lll–11.4.6) ACTUAL POSITION (ABSOLUTE) O0017 N01234 X 1850.000 Y 1550.000 T 1 C 0.000 PART COUNT 493 RUN TIM
  • Page 3521. GENERAL OPERATION B–63124EN/01 1.8 Programs, offset values, parameters, etc. input in CNC memory can be output to paper tape, cassette, or a floppy disk for saving. After once DATA OUTPUT output to a medium, the data can be input into CNC memory. Portable tape reader FANUC PPR Memory Paper tape P
  • Page 353B–63124EN/01 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 tape reader, PPR, Handy File, Floppy Cassette, and FA Card. 343
  • Page 3542. OPERATIONAL DEVICES OPERATION B–63124EN/01 2.1 The setting and display units are shown in Subsections 2.1.1 to 2.1.6 of Part III. SETTING AND DISPLAY UNITS CNC control unit with 7.2”/8.4” LCD . . . . . . . . . . . . . . . . . III–2.1.1 CNC control unit with 9.5”/10.4” LCD . . . . . . . . . . . .
  • Page 355B–63124EN/01 OPERATION 2. OPERATIONAL DEVICES 2.1.1 CNC Control Unit with 7.2”/8.4” LCD 2.1.2 CNC Control Unit with 9.5”/10.4” LCD 345
  • Page 3562. OPERATIONAL DEVICES OPERATION B–63124EN/01 2.1.3 Separate–Type Small MDI Unit Address/numeric keys Function keys Shift key Cancel (CAN) key Input key Edit keys Help key Reset key Cursor keys Page change keys 346
  • Page 357B–63124EN/01 OPERATION 2. OPERATIONAL DEVICES 2.1.4 Separate–Type Standard MDI Unit (Horizontal Type) Address/numeric keys Help key Reset key Edit keys Cancel (CAN) key Input key Shift key Function keys Page change keys Cursor keys 347
  • Page 3582. OPERATIONAL DEVICES OPERATION B–63124EN/01 2.1.5 Separate–Type Standard MDI Unit (Vertical Type) Help key Reset key Address/numeric keys Edit keys Cancel (CAN) key Input key Shift key Cursor keys Function keys Page change keys 348
  • Page 359B–63124EN/01 OPERATION 2. OPERATIONAL DEVICES 2.1.6 Separate–Type Standard MDI Unit (Vertical Type) (for 160i/180i) Help key Reset key Address/numeric keys Edit keys Cancel (CAN) key Input key Shift key Cursor keys Function keys Page change keys 349
  • Page 3602. OPERATIONAL DEVICES OPERATION B–63124EN/01 2.2 EXPLANATION OF THE KEYBOARD Table2.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 op
  • Page 361B–63124EN/01 OPERATION 2. OPERATIONAL DEVICES Table2.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 forw
  • Page 3622. OPERATIONAL DEVICES OPERATION B–63124EN/01 2.3 The function keys are used to select the type of screen (function) to be displayed. When a soft key (section select soft key) is pressed FUNCTION KEYS AND immediately after a function key, the screen (section) corresponding to the SOFT KEYS selected
  • Page 363B–63124EN/01 OPERATION 2. OPERATIONAL DEVICES 2.3.2 Function keys are provided to select the type of screen to be displayed. Function Keys The following function keys are provided on the MDI panel: POS Press this key to display the position screen. PROG Press this key to display the program screen.
  • Page 3642. OPERATIONAL DEVICES OPERATION B–63124EN/01 2.3.3 To display a more detailed screen, press a function key followed by a soft Soft Keys key. Soft keys are also used for actual operations. The following illustrates how soft key displays are changed by pressing each function key. The symbols in the f
  • Page 365B–63124EN/01 OPERATION 2. OPERATIONAL DEVICES POSITION SCREEN Soft key transition triggered by the function key POS POS Absolute coordinate display [ABS] [(OPRT)] [PTSPRE] [EXEC] [RUNPRE] [EXEC] Relative coordinate display [REL] [(OPRT)] (Axis or numeral) [PRESET] [ORIGIN] [ALLEXE] (Axis name) [EXEC
  • Page 3662. OPERATIONAL DEVICES OPERATION B–63124EN/01 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] SeeWhen the soft key [BG-EDT] is pressed" (O number) [O SRH] (1) (N number) [N SRH] [REWIND] [P TYPE] [Q TYPE
  • Page 367B–63124EN/01 OPERATION 2. OPERATIONAL DEVICES 2/2 (2) [FL.SDL] [PRGRM] Return to (1) (Program display) File directory display screen [DIR] [(OPRT)] [SELECT] (File No. ) [F SET] [EXEC] Schedule operation display screen [SCHDUL] [(OPRT)] [CLEAR] [CAN] [EXEC] (Schedule data) [INPUT] 357
  • Page 3682. OPERATIONAL DEVICES OPERATION B–63124EN/01 Soft key transition triggered by the function key PROG PROGRAM SCREEN in the EDIT mode 1/2 PROG Program display [PRGRM] [(OPRT)] [BG–EDT] SeeWhen the soft key [BG-EDT] is pressed" (O number) [O SRH] (Address) [SRH↓] (Address) [SRH↑] [REWIND] [F SRH] [CA
  • Page 369B–63124EN/01 OPERATION 2. OPERATIONAL DEVICES 2/2 (1) Program directory display [LIB] [(OPRT)] [BG–EDT] SeeWhen the soft key [BG-EDT] is pressed" (O number) [O SRH] Return to the program [READ] [CHAIN] [STOP] [CAN] (O number) [EXEC] [PUNCH] [STOP] [CAN] (O number) [EXEC] Graphic Conversational Prog
  • Page 3702. OPERATIONAL DEVICES OPERATION B–63124EN/01 Soft key transition triggered by the function key PROG PROGRAM SCREEN in the MDI mode PROG Program display [PRGRM] [(OPRT)] [BG–EDT] SeeWhen the soft key [BG-EDT] is pressed" Program input screen [MDI] [(OPRT)] [BG–EDT] SeeWhen the soft key [BG-EDT] is
  • Page 371B–63124EN/01 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] SeeWhen the soft key [BG-EDT] is pressed" Current block display screen [CURRNT] [(OPRT)] [BG–EDT] SeeWhen
  • Page 3722. OPERATIONAL DEVICES OPERATION B–63124EN/01 PROGRAM SCREEN Soft key transition triggered by the function key PROG (When the soft key [BG-EDT] is pressed in all modes) 1/2 PROG Program display [PRGRM] [(OPRT)] [BG–END] (O number) [O SRH] (Address) [SRH↓] (Address) [SRH↑] [REWIND] [F SRH] [CAN] (N n
  • Page 373B–63124EN/01 OPERATION 2. OPERATIONAL DEVICES 2/2 (1) Program directory display [LIB] [(OPRT)] [BG–EDT] (O number) [O SRH] Return to the program [READ] [CHAIN] [STOP] [CAN] (O number) [EXEC] [PUNCH] [STOP] [CAN] (O number) [EXEC] Graphic Conversational Programming [C.A.P.] [PRGRM] Return to the prog
  • Page 3742. OPERATIONAL DEVICES OPERATION B–63124EN/01 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] Setting screen [SETING] [(OPRT)] (N
  • Page 375B–63124EN/01 OPERATION 2. OPERATIONAL DEVICES (1) 2/2 Tool registration screen [TOOL] [(OPRT)] (Numeral) [+INPUT] (Numeral) [INPUT] [T.NUM.] [(OPRT)] (Number) [No.SRH] [T.CHG.] (Numeral) [+INPUT] [T.CNT.] (Numeral) [INPUT] [SHARE] [READ] [CAN] [EXEC] [PUNCH] [CAN] [EXEC] [M.TOOL] [(OPRT)] (Number) [
  • Page 3762. OPERATIONAL DEVICES OPERATION B–63124EN/01 SYSTEM SCREEN Soft key transition triggered by the function key SYSTEM 1/2 SYSTEM Parameter screen [PARAM] [(OPRT)] (Number) [NO SRH] [ON:1] [OFF:0] (Numeral) [+INPUT] (Numeral) [INPUT] [READ] [CAN] To enter a file number: Press N , enter a file [EXEC] n
  • Page 377B–63124EN/01 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] To enter a file number: Press N , enter a file [EXEC] number, then press INPUT on the PRGRM screen [PUNCH] [CAN] To e
  • Page 3782. OPERATIONAL DEVICES OPERATION B–63124EN/01     Soft key transition triggered by the function key MESSAGE MESSAGE Alarm display screen [ALARM] Message display screen [MSG] Alarm history screen [HISTRY] [(OPRT)] [CLEAR]    Soft key transition triggered by the function key HELP HELP Al
  • Page 379B–63124EN/01 OPERATION 2. OPERATIONAL DEVICES GRAPHIC SCREEN Soft key transition triggered by the function key GRAPH GRAPH Tool path graphics [PARAM] [GRAPH] [START] [STOP] [SBK] [SEQ.] [ERASE] 369
  • Page 3802. OPERATIONAL DEVICES OPERATION B–63124EN/01 2.3.4 When an address and a numerical key are pressed, the character Key Input and Input corresponding to that key is input once into the key input buffer. The contents of the key input buffer is displayed at the bottom of the screen. Buffer In order to
  • Page 381B–63124EN/01 OPERATION 2. OPERATIONAL DEVICES 2.3.5 After a character or number has been input from the MDI panel, a data Warning Messages check is executed when INPUT key or a soft key is pressed. In the case of incorrect input data or the wrong operation a flashing warning message will be displaye
  • Page 3822. OPERATIONAL DEVICES OPERATION B–63124EN/01 2.3.6 There are 12 soft keys in the 10.4″LCD/MDI or 9.5″LCD/MDI. As Soft Key Configuration illustrated below, the 5 soft keys on the right and those on the right and left edges operate in the same way as the 7.2″LCD or 8.4″ LCD, whereas the 5 keys on the
  • Page 383B–63124EN/01 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 3842. OPERATIONAL DEVICES OPERATION B–63124EN/01  Before an external input/output device can be used, parameters must be set as follows. Series 16 MAIN CPU BOARD OPTION–1 BOARD Channel 1 Channel 2 Channel 3 JD5A JD5B JD5C JD6A RS–232–C RS–232–C RS–232–C RS–422 Reader/ Reader/ Host Host puncher
  • Page 385B–63124EN/01 OPERATION 2. OPERATIONAL DEVICES 2.4.1 The Handy File is an easy–to–use, multi function floppy disk FANUC Handy File input/output device designed for FA equipment. By operating the Handy File directly or remotely from a unit connected to the Handy File, programs can be transferred and e
  • Page 3862. OPERATIONAL DEVICES OPERATION B–63124EN/01 2.4.3 An FA Card is a memory card used as an input medium in the FA field. FANUC FA Card It is compact, but has a large memory capacity with high reliability, and requires no special maintenance. When an FA Card is connected to the CNC via the card adapt
  • Page 387B–63124EN/01 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.) 377
  • Page 3882. OPERATIONAL DEVICES OPERATION B–63124EN/01 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 389B–63124EN/01 OPERATION 2. OPERATIONAL DEVICES 2.5.2 If a hardware failure or installation error occurs, the system displays one Screen Displayed at of the following three types of screens then stops. Information such as the type of printed circuit board installed in each slot Power–on is indicated.
  • Page 3902. OPERATIONAL DEVICES OPERATION B–63124EN/01 Screen indicating module setting status B7F1 – 01 SLOT 01 (3046) : END END: Setting completed SLOT 02 (3050) : Blank: Setting not completed Module ID Slot number Display of software configuration B7F1 – 01 CNC control software SERVO : 9070–01 Digital ser
  • Page 391B–63124EN/01 OPERATION 3. MANUAL OPERATION 3 MANUAL OPERATION MANUAL OPERATION are four 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 381
  • Page 3923. MANUAL OPERATION OPERATION B–63124EN/01 3.1 The tool is returned to the reference position as follows : The tool is moved in the direction specified in parameter ZMI MANUAL (bit 5 of No. 1006) for each axis with the reference position return switch REFERENCE on the machine operator’s panel. The t
  • Page 393B–63124EN/01 OPERATION 3. MANUAL OPERATION Explanations D Automatically setting the Bit 0 (ZPR) of parameter No. 1201 is used for automatically setting the coordinate system coordinate system. When ZPR is set, the coordinate system is automatically determined when manual reference position return is
  • Page 3943. MANUAL OPERATION OPERATION B–63124EN/01 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 MODE axis in the selected direction. MEMORY The jog feedrate is specified in a parameter (No.142
  • Page 395B–63124EN/01 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 3963. MANUAL OPERATION OPERATION B–63124EN/01 3.3 In the incremental (INC) mode, pressing a feed axis and direction selection switch on the machine operator’s panel moves the tool one step INCREMENTAL FEED along the selected axis in the selected direction. The minimum distance the tool is moved is the
  • Page 397B–63124EN/01 OPERATION 3. MANUAL OPERATION 3.4 In the handle mode, the tool can be minutely moved by rotating the manual pulse generator on the machine operator’s panel. Select the axis MANUAL HANDLE along which the tool is to be moved with the handle feed axis selection FEED switches. The minimum d
  • Page 3983. MANUAL OPERATION OPERATION B–63124EN/01     D Availability of manual Parameter JHD (bit 0 of No. 7100) enables or disables the manual pulse pulse generator in Jog generator in the JOG mode. mode (JHD) When the parameter JHD( bit 0 of No. 7100) is set 1,both manual handle feed and incremen
  • Page 399B–63124EN/01 OPERATION 3. MANUAL OPERATION 3.5 The distance of the tool is moved by manual operation is added to the coordinates. MANUAL ABSOLUTE ON Y axis P2 Manual operation P1 O X axis The coordinates values change by the amount of manual operation. Explanation The following describes the relatio
  • Page 4003. MANUAL OPERATION OPERATION B–63124EN/01 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 401B–63124EN/01 OPERATION 3. MANUAL OPERATION Manual operation performed in other than cornering Assume that the feed hold was applied at point PH while moving from PA to PB of programmed path PA, PB, and PC and that the tool was manually moved to PH’. The block end point PB moves to the point PB’ by t
  • Page 4023. MANUAL OPERATION OPERATION B–63124EN/01 Manual operation after single block stop Manual operation was performed when execution of a block was terminated by single block stop. Vectors VB1 and VB2 are shifted by the amount of manual operation. Sub–sequent processing is the same as case a described
  • Page 403B–63124EN/01 OPERATION 4. AUTOMATIC OPERATION 4 AUTOMATIC OPERATION Programmed operation of a CNC machine tool is referred to as automatic operation. This chapter explains the following types of automatic operation: S MEMORY OPERATION Operation by executing a program registered in CNC memory S MDI O
  • Page 4044. AUTOMATIC OPERATION OPERATION B–63124EN/01 4.1 Programs are registered in memory in advance. When one of these programs is selected and the cycle start switch on the machine operator’s MEMORY panel is pressed, automatic operation starts, and the cycle start LED goes OPERATION on. When the feed ho
  • Page 405B–63124EN/01 OPERATION 4. AUTOMATIC OPERATION b. Terminating memory operation Press the RESET key on the LCD/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 memor
  • Page 4064. AUTOMATIC OPERATION OPERATION B–63124EN/01 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 407B–63124EN/01 OPERATION 4. AUTOMATIC OPERATION 4.2 In the MDI mode, a program consisting of up to 10 lines can be created in the same format as normal programs and executed from the MDI panel. MDI OPERATION MDI operation is used for simple test operations. The following procedure is given as an examp
  • Page 4084. AUTOMATIC OPERATION OPERATION B–63124EN/01 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 409B–63124EN/01 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       Prog
  • Page 4104. AUTOMATIC OPERATION OPERATION B–63124EN/01 D    When the custom macro option is provided, macro programs can also be created, called, and executed in the MDI mode. However, macro call commands cannot be executed when the mode is changed to MDI mode after memory operation is stopped during
  • Page 411B–63124EN/01 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. If the floppy cassette directory
  • Page 4124. AUTOMATIC OPERATION OPERATION B–63124EN/01 D Program screen PROGRAM O0001 N00020 (7.2″/8.4″LCD) 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.0 ; N
  • Page 413B–63124EN/01 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 4144. AUTOMATIC OPERATION OPERATION B–63124EN/01 4.4 While an automation operation is being performed, a program input from an I/O device connected to the reader/punch interface can be executed and SIMULTANEOUS output through the reader/punch interface at the same time. INPUT/OUTPUT Simultaneous Input/
  • Page 415B–63124EN/01 OPERATION 4. AUTOMATIC OPERATION Limitations D M198 (command for M198 cannot be executed in the input, output and run simultaneous mode. calling a program from An attempt to do so results in alarm No. 210. within an external input/output unit) D Macro control command A macro control com
  • Page 4164. AUTOMATIC OPERATION OPERATION B–63124EN/01 4.5 The schedule function allows the operator to select files (programs) registered on a floppy–disk in an external input/output device (Handy SCHEDULING File, Floppy Cassette, or FA Card) and specify the execution order and FUNCTION number of repetition
  • Page 417B–63124EN/01 OPERATION 4. AUTOMATIC OPERATION FILE DIRECTORY O0001 N00000 CURRENT SELECTED : SCHEDULE NO. FILE NAME (METER) VOL 0000 SCHEDULE 0001 PARAMETER 58.5 0002 ALL PROGRAM 11.0 0003 O0001 1.9 0004 O0002 1.9 0005 O0010 1.9 0006 O0020 1.9 0007 O0040 1.9 0008 O0050 1.9 MEM * * * * *** *** 19 : 1
  • Page 4184. AUTOMATIC OPERATION OPERATION B–63124EN/01 FILE DIRECTORY F0007 N00000 CURRENT SELECTED:O0040 RMT * * * * *** *** 13 : 27 : 54 PRGRM DIR SCHDUL (OPRT) Screen No.3 D Procedure for executing 1 Display the list of files registered in the Floppy Cassette. The display the scheduling function procedure
  • Page 419B–63124EN/01 OPERATION 4. AUTOMATIC OPERATION FILE DIRECTORY O0000 N02000 ORDER FILE NO. REQ.REP CUR.REP 01 0007 5 5 02 0003 23 23 03 0004 9999 156 04 0005 LOOP 0 05 06 07 08 09 10 RMT * * * * *** *** 10 : 10 : 40 PRGRM DIR SCHDUL (OPRT) Screen No.5 Explanations D Specifying no file If no file numbe
  • Page 4204. AUTOMATIC OPERATION OPERATION B–63124EN/01  Alarm No. Description 086 An attempt was made to execute a file that was not regis- tered in the floppy disk. 210 M198 and M099 were executed during scheduled opera- tion, or M198 was executed during DNC operation. 410
  • Page 421B–63124EN/01 OPERATION 4. AUTOMATIC OPERATION 4.6 The subprogram call function is provided to call and execute subprogram files stored in an external input/output device(Handy File, FLOPPY SUBPROGRAM CALL CASSETTE, FA Card)during memory operation. FUNCTION When the following block in a program in CN
  • Page 4224. AUTOMATIC OPERATION OPERATION B–63124EN/01 CAUTION 1 When M198 in the program of the file saved in a floppy cassette is executed, a P/S alarm (No.210) is given. When a program in the memory of CNC is called and M198 is executed during execution of a program of the file saved in a floppy cassette,
  • Page 423B–63124EN/01 OPERATION 4. AUTOMATIC OPERATION 4.7 The movement by manual handle operation can be done by overlapping it with the movement by automatic operation in the automatic operation MANUAL HANDLE mode. INTERRUPTION Tool position during Z automatic operation Tool position after handle interrupt
  • Page 4244. AUTOMATIC OPERATION OPERATION B–63124EN/01 Explanations D Relation with other The following table indicates the relation between other functions and the functions movement by handle interrupt. Signal Relati Machine lock is effective. When the machine lock signal Machine lock is on, handle inter
  • Page 425B–63124EN/01 OPERATION 4. AUTOMATIC OPERATION (d) DISTANCE TO GO : The remaining travel distance in the current block has no effect on the travel distance specified by handle interruption. The handle interrupt move amount is cleared when the low speed reference position return (the first reference p
  • Page 4264. AUTOMATIC OPERATION OPERATION B–63124EN/01 4.8 During automatic operation, the mirror image function can be used for movement along an axis. To use this function, set the mirror image switch MIRROR IMAGE to ON on the machine operator’s panel, or set the mirror image setting to ON from the LCD/MDI
  • Page 427B–63124EN/01 OPERATION 4. AUTOMATIC OPERATION 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 ⋅ The mirror image functi
  • Page 4284. AUTOMATIC OPERATION OPERATION B–63124EN/01 4.9 With the retrace function, the tool can be moved in the reverse direction (reverse movement) by using the REVERSE switch during automatic RETRACE FUNCTION operation to trace the programmed path. The retrace function also enables the user to move the
  • Page 429B–63124EN/01 OPERATION 4. AUTOMATIC OPERATION Feed hold stop REVERSE switch rurned on cycle start Cycle start (forward movement started) Forward movement Reverse movement Reverse movement started D Reverse movement → Three methods are available for moving the tool in the forward direction Forward re
  • Page 4304. AUTOMATIC OPERATION OPERATION B–63124EN/01 D Reverse movement → When there are no more blocks for which to perform reverse movement Reverse movement (when the tool has moved back to the initial forward movement block or completion → Forward the tool has not yet started forward movement), the reve
  • Page 431B–63124EN/01 OPERATION 4. AUTOMATIC OPERATION Explanations D Forward movement and In automatic operation, a program is usually executed in the order that reverse movement commands are specified. This mode of execution is referred to as forward movement. The retrace function can execute in reverse, p
  • Page 4324. AUTOMATIC OPERATION OPERATION B–63124EN/01 Limitations D Block that disables Reverse movement stops when any of the commands or modes listed reverse movement below appears. If an attempt is made during forward movement to stop forward movement with feed hold stop and then move the tool in the rev
  • Page 433B–63124EN/01 OPERATION 4. AUTOMATIC OPERATION D Dwell (G04) The dwell command (G04) is executed in reverse movement and forward return movement in the same way as during ordinary operation. D Programmable data A tool compensation value, parameter, pitch error data, workpiece zero setting (G10) point
  • Page 4344. AUTOMATIC OPERATION OPERATION B–63124EN/01 D Manual intervention When the tool has been moved by manual intervention, return the tool to the original position before moving the tool in the reverse direction after a feed hold stop or single block stop.In reverse movement, the tool cannot move alon
  • Page 435B–63124EN/01 OPERATION 4. AUTOMATIC OPERATION 4.10 If a multiple–workpiece machining skip signal is input for a retrace re–forward movement during multiple–workpiece machining, MULTIPLE–WORKPIE machining of the current workpiece is stopped and machining of another CE MACHINING workpiece begins. RETR
  • Page 4364. AUTOMATIC OPERATION OPERATION B–63124EN/01 CAUTION 1 A skip does not occur during trial multiple–workpiece machining (when the setting of multiple–workpiece machining is 1). 2 The multiple–workpiece skip signal can be detected only during a re–forward movement. The skip signal cannot be detected
  • Page 437B–63124EN/01 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 4385. TEST OPERATION OPERATION B–63124EN/01 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 439B–63124EN/01 OPERATION 5. TEST OPERATION Restrictions D M, S, T command by only M, S, and T commands are executed in the machine lock state. machine lock D Reference position When a G28 command is issued in the machine lock state, the command return under Machine is accepted but the tool does not mo
  • Page 4405. TEST OPERATION OPERATION B–63124EN/01 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 441B–63124EN/01 OPERATION 5. TEST OPERATION 5.3 An override of four steps (25%, 50%, 75% and 100%) can be applied to the rapid traverse rate. RAPID TRAVERSE OVERRIDE ÇÇ ÇÇ ÇÇ ÇÇ ÇÇ Rapid traverse Override ÇÇ 5m/min rate10m/min 50% Fig.5.3 Rapid traverse override Rapid Traverse Override Procedure Select
  • Page 4425. TEST OPERATION OPERATION B–63124EN/01 WARNING 1 For the manual rapid traverse and rapid traverse in manual reference point return, the rapid traverse override function is ineffective. 2 For the rapid traverse attained to each pitch from the first punch point to the last punch point in nibbling fu
  • Page 443B–63124EN/01 OPERATION 5. TEST OPERATION 5.4 The tool is moved at the feedrate specified by a parameter regardless of the feedrate specified in the program. This function is used for checking DRY RUN the movement of the tool under the state taht the workpiece is removed from the table. Tool Table Fi
  • Page 4445. TEST OPERATION OPERATION B–63124EN/01 5.5 Pressing the single block switch starts the single block mode. When the cycle start button is pressed in the single block mode, the tool stops after SINGLE BLOCK a single block in the program is executed. Check the program in the single block mode by exec
  • Page 445B–63124EN/01 OPERATION 5. TEST OPERATION Explanation D Single block during a pattern function Example) G26I100.0J0K4 ;  100R    When single block stop has been made in , , , the feed hold lamp lights. When single block stop has been made in , the feed hold lamp does not light. WARNING 1 If a
  • Page 4465. TEST OPERATION OPERATION B–63124EN/01 5.6 This switch selects whether the T code command is effective or not in the tape, memory, and MDI modes. TOOL SELECTION Ineffective . . . OFF ON . . . Effective Tool selection WARNING Since whether the T-code function is effective or not is judged when data
  • Page 447B–63124EN/01 OPERATION 5. TEST OPERATION 5.7 This function makes punch (including nibbling) ineffective in a block where punching is made by press motion during the tape or memory mode PUNCH operation. Punch is ineffective . . . . OFF ON . . . Punch is effective PUNCH 437
  • Page 4485. TEST OPERATION OPERATION B–63124EN/01 5.8 MANUAL PUNCH Manual Punch When depressing this button, punching is made by press motion. When depressing this button again after releasing it once, punching is made again. Generally, when this button is depressed, while the punch ON/OFF switch in 6.8 is b
  • Page 449B–63124EN/01 OPERATION 6. SAFETY FUNCTIONS 6 SAFETY FUNCTIONS To immediately stop the machine for safety, press the Emergency stop button. To prevent the tool from exceeding the stroke ends, Overtravel check and Stroke check are available. This chapter describes emergency stop., overtravel check, an
  • Page 4506. SAFETY FUNCTIONS OPERATION B–63124EN/01 6.1 If you press Emergency Stop button on the machine operator’s panel, the machine movement stops in a moment. EMERGENCY STOP Red EMERGENCY STOP Fig. 6.1 Emergency stop This button is locked when it is pressed. Although it varies with the machine tool buil
  • Page 451B–63124EN/01 OPERATION 6. SAFETY FUNCTIONS 6.2 When the tool tries to move beyond the stroke end set by the machine tool limit switch, the tool decelerates and stops because of working the limit OVERTRAVEL switch and an OVER TRAVEL is displayed. Deceleration and stop Y  Stroke end Limit switch Fig.
  • Page 4526. SAFETY FUNCTIONS OPERATION B–63124EN/01 6.3 Two areas which the tool cannot enter can be specified with stored stroke limit 1 and stored stroke check 2. STROKE CHECK ÂÂÂÂÂÂÂ ÂÂÂÂÂÂ ÂÂÂÂÂÂÂ ÂÂÂÂÂÂ ÂÂÂÂÂÂÂ (X,Y) (X,Y) ÂÂÂÂÂÂÂ ÂÂÂÂÂÂ ÂÂÂÂÂÂÂ ÂÂÂÂÂÂ ÂÂÂÂÂÂÂ (I,J) (I,J) (1) Forbidden area on the outsi
  • Page 453B–63124EN/01 OPERATION 6. SAFETY FUNCTIONS When setting the area by parameters, points A and B in the figure below must be set. A (X,Y) B (I,J) X>I, Y>J X–I> 2000 (In least command increment) Y–J> 2000 (In least command increment) Fig. 6.3 (c) Creating or changing the forbidden area using a paramete
  • Page 4546. SAFETY FUNCTIONS OPERATION B–63124EN/01 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 455B–63124EN/01 OPERATION 6. SAFETY FUNCTIONS 6.4 When the tool starts to move for positioning by rapid traverse (G00) of automatic operation, this function checks the end point coordinates from STROKE CHECK the machine’s current position and the specified amount of movement. BEFORE MOVEMENT It checks
  • Page 4566. SAFETY FUNCTIONS OPERATION B–63124EN/01 6.5 This is the safety function to set the safety zone for protecting the workpiece holder that holds the workpiece set on the carriage, and disable SAFETY ZONE punching in that area or forbid the tool to approach thereinto. CHECK Table #0 Tool figure area
  • Page 457B–63124EN/01 OPERATION 6. SAFETY FUNCTIONS 6.5.1 The safety zone is settable in two types, punch forbidden area and Punch Forbidden Area approach forbidden area, that are set by the parameter SZ1 to SZ4 (No. 16501#0 - #3) shown below. and Approach 1) Punch forbidden area Forbidden Area When the tool
  • Page 4586. SAFETY FUNCTIONS OPERATION B–63124EN/01 6.5.2 Punch Forbidden Area and Approach Forbidden Area (Type B) General By setting bit 0 (SF0) of parameter No. 16500, the type B safety zone check can be selected. With type B, no alarm is issued even if a tool enters a safety zone; after confirming the sa
  • Page 459B–63124EN/01 OPERATION 6. SAFETY FUNCTIONS 6.5.3 Set the machine coordinate value when the workpiece holder is positioned Setting the Safety Zone at the tool center (punching position), in the parameters 16505 - 16516 in output units. Xwz X2a X1a Punching position Ya Ywz Yd H1wz Ya Yc Yb #1 #2 #3 #4
  • Page 4606. SAFETY FUNCTIONS OPERATION B–63124EN/01 6.5.4 Setting the Tool Shape Area P Fig. 6.5.4 (a) The specification of the area of tool figure sets the size in the X direction and Y direction of the tool by the parameter (No.16517 to 16532 and No.16551 to 16558). The setting unit is output unit. 12 kind
  • Page 461B–63124EN/01 OPERATION 6. SAFETY FUNCTIONS 6.5.5 The detector on the machine automatically detects the positions of the Automatic Setting of workpiece holders mounted on the carriage. Values representing the detected positions are then set in the safety zone parameters. the Safety Zone Detector (sec
  • Page 4626. SAFETY FUNCTIONS OPERATION B–63124EN/01 ∆E=T1 F+T2 F (exponential function acceleration/deceleration) ∆E=1/2T1 F+T2 F (linear acceleration/deceleration) where, ∆E : Lag in the servo system T1 : Time constant for automatic acceleration/deceleration T2 : Servo time constant F : Feed rate The sign o
  • Page 463B–63124EN/01 OPERATION 6. SAFETY FUNCTIONS 6.5.6 After safety zone values are set automatically, they can be displayed on Displaying the Safety the safety zone screen as shown below. With this screen, the user can check whether the set values are valid. Zones and Tool Zone Screen Type A SAFETY ZONE
  • Page 4646. SAFETY FUNCTIONS OPERATION B–63124EN/01 6.6 If the tool is positioned to the normal height (for punching), as shown below, the tool will interfere with the workpiece holder when the WORKPIECE workpiece holder moves into the turret. HOLDER By means of this function, the CNC monitors the positions
  • Page 465B–63124EN/01 OPERATION 6. SAFETY FUNCTIONS 6.6.1 Type B Specification If, during automatic operation, a positioning operation may cause the tool area to interfere with the workpiece holder area, this function first moves the tool along a non–interfering axis, which may be either the X–axis or Y–axis
  • Page 4666. SAFETY FUNCTIONS OPERATION B–63124EN/01 (2) When the start and end points of movement along the Y–axis are above the Y area of the workpiece holders Tool Tool Y X (3) When the tool does not cross the X area of a workpiece holder for movement along the X–axis Tool Y Tool X When both the start and
  • Page 467B–63124EN/01 OPERATION 6. SAFETY FUNCTIONS 6.6.2 (1) The workpiece holder area (parameter Nos. 16505 to 16516) of the Tool/Workpiece Holder safety zone function is used. Areas (2) The tool area (parameter Nos. 16517 to 16532, 16551 to 16558) of the safety zone function is used. 6.6.3 Note NOTE 1 Thi
  • Page 4687. ALARM AND SELF–DIAGNOSIS FUNCTIONS OPERATION B–63124EN/01 7 ALARM AND SELF–DIAGNOSIS FUNCTIONS When an alarm occurs, the corresponding alarm screen appears to indicate the cause of the alarm. The causes of alarms are classified by error codes. Up to 25 previous alarms can be stored and displayed
  • Page 4697. ALARM AND SELF–DIAGNOSIS B–63124EN/01 OPERATION FUNCTIONS 7.1 ALARM DISPLAY Explanations D Alarm screen When an alarm occurs, the alarm screen appears. ALARM MESSAGE O0000 N00000 100 PARAMETER WRITE ENABLE 510 OVER TRAVEL :+1 520 OVER TRAVEL :+2 530 OVER TRAVEL :+3 S 0 T0000 MDI **** *** *** 18 :
  • Page 4707. ALARM AND SELF–DIAGNOSIS FUNCTIONS OPERATION B–63124EN/01 D Reset of the alarm Error codes and messages indicate the cause of an alarm. To recover from an alarm, eliminate the cause and press the reset key. D Error codes The error codes are classified as follows: No. 000 to 232: Program errors(*)
  • Page 4717. ALARM AND SELF–DIAGNOSIS B–63124EN/01 OPERATION FUNCTIONS 7.2 Up to 25 of the most recent CNC alarms are stored and displayed on the screen. ALARM HISTORY Display the alarm history as follows: DISPLAY Procedure for Alarm History Display  1 Press the function key MESSAGE . 2 Press the cha
  • Page 4727. ALARM AND SELF–DIAGNOSIS FUNCTIONS OPERATION B–63124EN/01 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 SELF– The state of the system can be checked by displaying the self–diagnostic DIAGN
  • Page 4737. ALARM AND SELF–DIAGNOSIS B–63124EN/01 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 4747. ALARM AND SELF–DIAGNOSIS FUNCTIONS OPERATION B–63124EN/01 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 475B–63124EN/01 OPERATION 8. DATA INPUT/OUTPUT 8 DATA INPUT/OUTPUT NC data is transferred between the NC and external input/output devices such as the Handy File. The following types of data can be entered and output : 1.Program 2.Offset data 3.Parameter 4.Pitch error compensation data 5.Custom macro c
  • Page 4768. DATA INPUT/OUTPUT OPERATION B–63124EN/01 8.1 Of the external input/output devices, the FANUC Handy File and FANUC Floppy Cassette use floppy disks as their input/output medium, and the FILES FANUC FA Card uses an FA card as its input/output medium. In this manual, an input/output medium is genera
  • Page 477B–63124EN/01 OPERATION 8. DATA INPUT/OUTPUT D    The floppy is provided with the write protect switch. Set the switch to the write enable state. Then, start output operation. Write protect switch of a cassette Write protect switch of a card Write protect switch (1) Write–protected (2) Writ
  • Page 4788. DATA INPUT/OUTPUT OPERATION B–63124EN/01 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 479B–63124EN/01 OPERATION 8. DATA INPUT/OUTPUT 8.3 Files stored on a floppy can be deleted file by file as required. FILE DELETION File deletion  1 Insert the floppy into the input/output device so that it is ready for writing. 2 Press the EDIT switch on the machine operator’s panel. 3 Press f
  • Page 4808. DATA INPUT/OUTPUT OPERATION B–63124EN/01 8.4 PROGRAM INPUT/OUTPUT 8.4.1 This section describes how to load a program into the CNC from a floppy Inputting a Program or NC tape. Inputting a program Procedure 1 Make sure the input device is ready for reading. 2 Press the EDIT switch on the machine o
  • Page 481B–63124EN/01 OPERATION 8. DATA INPUT/OUTPUT D Program numbers on a - When a program is entered without specifying a program number. NC tape S The O–number of the program on the NC tape is assigned to the program. If the program has no O–number, the N–number in the first block is assigned to the prog
  • Page 4828. DATA INPUT/OUTPUT OPERATION B–63124EN/01 D Immediately after the [CHAIN] soft key is pressed, the cursor is positioned to the end of the registered program. After the entered program is appended, the cursor is positioned to the beginning of the resulting program. D A program cannot be appended if
  • Page 483B–63124EN/01 OPERATION 8. DATA INPUT/OUTPUT D An alarm while a When P/S alarm 86 occurs during program output, the floppy is restored program is output to the condition before the output. D Outputting a program When program output is conducted after N1 to N9999 head searching, the after file heading
  • Page 4848. DATA INPUT/OUTPUT OPERATION B–63124EN/01 8.5 OFFSET DATA INPUT AND OUTPUT 8.5.1 Offset data is loaded into the memory of the CNC from a floppy or NC Inputting Offset Data tape. The input format is the same as for offset value output. See section 8.5.2. When an offset value is loaded which has the
  • Page 485B–63124EN/01 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.     1 Make sure the output device is ready for output. 2 Specify the punch code system (ISO or EIA) using
  • Page 4868. DATA INPUT/OUTPUT OPERATION B–63124EN/01 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 487B–63124EN/01 OPERATION 8. DATA INPUT/OUTPUT 8.6.2 All parameters are output in the defined format from the memory of the Outputting Parameters CNC to a floppy or NC tape. Outputting parameters   1 Make sure the output device is ready for output. 2 Specify the punch code system (ISO or EIA) u
  • Page 4888. DATA INPUT/OUTPUT OPERATION B–63124EN/01 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 Section 8.6.4. When a pitch error compensation data is Compensation Data loaded
  • Page 489B–63124EN/01 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   1 Make sure the output device is ready f
  • Page 4908. DATA INPUT/OUTPUT OPERATION B–63124EN/01 8.7 INPUTTING/ OUTPUTTING CUSTOM MACRO COMMON VARIABLES 8.7.1 The value of a custom macro common variable (#500 to #999) is loaded Inputting Custom into the memory of the CNC from a floppy or NC tape. The same format used to output custom macro common vari
  • Page 491B–63124EN/01 OPERATION 8. DATA INPUT/OUTPUT 8.7.2 Custom macro common variables (#500 to #999) stored in the memory Outputting Custom of the CNC can be output in the defined format to a floppy or NC tape. Macro Common Variable Outputting custom macro common variable Procedure 1 Make sure the output
  • Page 4928. DATA INPUT/OUTPUT OPERATION B–63124EN/01 8.8 On the floppy directory display screen, a directory of the FANUC Handy File, FANUC Floppy Cassette, or FANUC FA Card files can be displayed. DISPLAYING In addition, those files can be loaded, output, and deleted. DIRECTORY OF FLOPPY DISK DIRECTORY (FLO
  • Page 493B–63124EN/01 OPERATION 8. DATA INPUT/OUTPUT 8.8.1 Displaying the Directory Displaying the directory of floppy disk files    Use the following procedure to display a directory of all the files stored in a floppy: 1 Press the EDIT switch on the machine operator’s panel. 2 Press function key P
  • Page 4948. DATA INPUT/OUTPUT OPERATION B–63124EN/01    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 495B–63124EN/01 OPERATION 8. DATA INPUT/OUTPUT Explanations D          NO : Displays the file number   FILE NAME : Displays the file name. (METER) : Converts and prints out the file capacity to paper tape length.You can also produce H (FEET)I by setting the INPUT UNIT to INCH of the s
  • Page 4968. DATA INPUT/OUTPUT OPERATION B–63124EN/01 8.8.2 The contents of the specified file number are read to the memory of NC. Reading Files Reading files  1 Press the EDIT switch on the machine operator’s panel. 2 Press function key PROG . 3 Press the rightmost soft key (next–menu key). 4 Press
  • Page 497B–63124EN/01 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  1 Press the EDIT switch on the machine operator’s panel. 2 Press function key PROG . 3 Press the rightmost soft key (next
  • Page 4988. DATA INPUT/OUTPUT OPERATION B–63124EN/01 8.8.4 The file with the specified file number is deleted. Deleting Files Deleting files    1 Press the EDIT switch on the machine operator’s panel. 2 Press function key PROG . 3 Press the rightmost soft key (next–menu key). 4 Press soft key [FLOPPY].
  • Page 499B–63124EN/01 OPERATION 8. DATA INPUT/OUTPUT D Significant For the numeral input in the data input area with FILE NO. and digits PROGRAM NO., only lower 4 digits become valid. D Collation When the data protection key on the machine operator’s panel is ON, no programs are read from the floppy. They ar
  • Page 5008. DATA INPUT/OUTPUT OPERATION B–63124EN/01 8.9 INPUTTING/ OUTPUTTING TOOL DATA 8.9.1 The value of a tool data is loaded into the memory of the CNC from a Inputting Tool Data floppy or NC tape. The same format used to output tool data is used for input. See Section 8.9.2. When the value of a tool da
  • Page 501B–63124EN/01 OPERATION 8. DATA INPUT/OUTPUT 8.9.2 All tool data are output in the defined format from the memory of the CNC Outputting Tool Data to a floppy or NC tape. Outputting Tool Data  1 Make sure the output device is ready for output. 2 Specify the punch code system (ISO or EIA) usin
  • Page 5028. DATA INPUT/OUTPUT OPERATION B–63124EN/01 Items (1) to (13) are as follows : (1) Tool registration number When the optional multiple tool function is used. the tool numbers registered for multiple tools are output with N200 to N299. (2) Tool number (3) Turret position (4) X–axis offset (5) Y–axis
  • Page 503B–63124EN/01 OPERATION 8. DATA INPUT/OUTPUT 8.10 CNC programs stored in memory can be grouped according to their names, thus enabling the output of CNC programs in group units. OUTPUTTING A PROGRAM LIST FOR A SPECIFIED GROUP Procedure for Outputting a Program List for a Specified Group  1 D
  • Page 5048. DATA INPUT/OUTPUT OPERATION B–63124EN/01 8.11 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 505B–63124EN/01 OPERATION 8. DATA INPUT/OUTPUT 8.11.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  1 Press function key SYSTEM . 2 Press the right
  • Page 5068. DATA INPUT/OUTPUT OPERATION B–63124EN/01 8.11.2 A program can be input and output using the ALL IO screen. Inputting and When entering a program using a cassette or card, the user must specify the input file containing the program (file search). Outputting Programs File search  1 Press s
  • Page 507B–63124EN/01 OPERATION 8. DATA INPUT/OUTPUT 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 or card, specifying N0 or N1 has and N1 the same effect. If N1 is specified when there is no file on t
  • Page 5088. DATA INPUT/OUTPUT OPERATION B–63124EN/01 Inputting a program  1 Press soft key [PRGRM] on the ALL IO screen, described in Section 8.11.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 509B–63124EN/01 OPERATION 8. DATA INPUT/OUTPUT Outputting programs  1 Press soft key [PRGRM] on the ALL IO screen, described in Section 8.11.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 5108. DATA INPUT/OUTPUT OPERATION B–63124EN/01 Deleting files  1 Press soft key [PRGRM] on the ALL IO screen, described in Section 8.11.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 is d
  • Page 511B–63124EN/01 OPERATION 8. DATA INPUT/OUTPUT 8.11.3 Parameters can be input and output using the ALL IO screen. Inputting and Outputting Parameters Inputting parameters  1 Press soft key [PARAM] on the ALL IO screen, described in Section 8.11.1. 2 Select EDIT mode. 3 Press soft key [(OPRT)].
  • Page 5128. DATA INPUT/OUTPUT OPERATION B–63124EN/01 Outputting parameters  1 Press soft key [PARAM] on the ALL IO screen, described in Section 8.11.1. 2 Select EDIT mode. 3 Press soft key [(OPRT)]. The screen and soft keys change as shown below. READ/PUNCH (PARAMETER) O1234 N12345 I/O CHANNEL 3 TV
  • Page 513B–63124EN/01 OPERATION 8. DATA INPUT/OUTPUT 8.11.4 Offset data can be input and output using the ALL IO screen. Inputting and Outputting Offset Data Inputting offset data  1 Press soft key [OFFSET] on the ALL IO screen, described in Section 8.11.1. 2 Select EDIT mode. 3 Press soft key [(OPR
  • Page 5148. DATA INPUT/OUTPUT OPERATION B–63124EN/01 Outputting offset data  1 Press soft key [OFFSET] on the ALL IO screen, described in Section 8.11.1. 2 Select EDIT mode. 3 Press soft key [(OPRT)]. The screen and soft keys change as shown below. READ/PUNCH (OFFSET) O1234 N12345 I/O CHANNEL 3 TV C
  • Page 515B–63124EN/01 OPERATION 8. DATA INPUT/OUTPUT 8.11.5 Custom macro common variables can be output using the ALL IO screen. Outputting Custom Macro Common Variables Outputting custom macro common variables  1 Press soft key [MACRO] on the ALL IO screen, described in Section 8.11.1. 2 Select EDI
  • Page 5168. DATA INPUT/OUTPUT OPERATION B–63124EN/01 8.11.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  1 Press the rightmost soft key (next–menu key) on the
  • Page 517B–63124EN/01 OPERATION 8. DATA INPUT/OUTPUT 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 5188. DATA INPUT/OUTPUT OPERATION B–63124EN/01 Inputting a file  1 Press the rightmost soft key (next–menu key) on the ALL IO screen, described in Section 8.11.1. 2 Press soft key [FLOPPY]. 3 Select EDIT mode. The floppy screen is displayed. 4 Press soft key [(OPRT)]. The screen and soft keys
  • Page 519B–63124EN/01 OPERATION 8. DATA INPUT/OUTPUT Outputting a file  1 Press the rightmost soft key (next–menu key) on the ALL IO screen, described in Section 8.11.1. 2 Press soft key [FLOPPY]. 3 Select EDIT mode. The floppy screen is displayed. 4 Press soft key [(OPRT)]. The screen and soft keys
  • Page 5208. DATA INPUT/OUTPUT OPERATION B–63124EN/01 Deleting a file  1 Press the rightmost soft key (next–menu key) on the ALL IO screen, described in Section 8.11.1. 2 Press soft key [FLOPPY]. 3 Select EDIT mode. The floppy screen is displayed. 4 Press soft key [(OPRT)]. The screen and soft keys c
  • Page 521B–63124EN/01 OPERATION 8. DATA INPUT/OUTPUT 8.11.7 Data held in CNC memory can be saved to a memory card in MS–DOS Memory Card format. Data held on a memory card can be loaded into CNC memory. A save or load operation can be performed using soft keys while the CNC Input/Output is operating. Loading
  • Page 5228. DATA INPUT/OUTPUT OPERATION B–63124EN/01 Saving memory data Data held in CNC memory can be saved to a memory card in MS–DOS format. Saving memory data  1 Press the rightmost soft key (next–menu key) on the ALL IO screen, described in Section 8.11.1. 2 Press soft key [M–CARD]. 3 Place the
  • Page 523B–63124EN/01 OPERATION 8. DATA INPUT/OUTPUT Explanations D File name The file name used for save operation is determined by the amount of SRAM mounted in the CNC. A file holding saved data is divided into blocks of 512KB. HEAD1 SRAM file Amount of SRAM 256KB 0.5 MB 1.0 MB 2.5 MB Number of files 1 SR
  • Page 5248. DATA INPUT/OUTPUT OPERATION B–63124EN/01 Loading Data into CNC memory data that has been saved to a memory card can be loaded Memory (Restoration) (restored) back into CNC memory. CNC memory data can be loaded in either of two ways. In the first method, all saved memory data is loaded. In the sec
  • Page 525B–63124EN/01 OPERATION 8. DATA INPUT/OUTPUT 9 During loading, the message ”RUNNING” blinks, and the number of bytes loaded is displayed in the message field. 10 Upon the completion of loading, the message ”COMPLETED” is displayed in the message field, with the message ”PRESS RESET KEY.” displayed on
  • Page 5268. DATA INPUT/OUTPUT OPERATION B–63124EN/01 Memory card formatting Before a file can be saved to a memory card, the memory card must be formatted. Formatting a memory card  1 Press the rightmost soft key (next–menu key) on the ALL IO screen, described in Section 8.11.1. 2 Press soft key [M–
  • Page 527B–63124EN/01 OPERATION 8. DATA INPUT/OUTPUT Deleting files Unnecessary saved files can be deleted from a memory card. Deleting files  1 Press the rightmost soft key (next–menu key) on the ALL IO screen, described in Section 8.11.1. 2 Press soft key [M–CARD]. 3 Place the CNC in the emergency
  • Page 5288. DATA INPUT/OUTPUT OPERATION B–63124EN/01 Messages and restrictions Messages Message Description INSERT MEMORY CARD. No memory card is inserted. UNUSABLE MEMORY CARD The memory card does not contain device information. FORMAT MEMORY CARD. The memory card is not formatted. Format the memory card be
  • Page 529B–63124EN/01 OPERATION 8. DATA INPUT/OUTPUT File system error codes Code Meaning 102 The memory card does not have sufficient free space. 105 No memory card is mounted. 106 A memory card is already mounted. 110 The specified directory cannot be found. 111 There are too many files under the root dire
  • Page 5308. DATA INPUT/OUTPUT OPERATION B–63124EN/01 8.12 By setting the I/O channel (parameter No. 20) to 4, files on a memory card can be referenced, and different types of data such as part programs, DATA INPUT/OUTPUT parameters, and offset data on a memory card can be input and output in USING A MEMORY t
  • Page 531B–63124EN/01 OPERATION 8. DATA INPUT/OUTPUT Displaying a directory of stored files  1 Press the EDIT switch on the machine operator’s panel. 2 Press function key PROG . 3 Press the rightmost soft key (next–menu key). 4 Press soft key [CARD]. The screen shown below is displayed. Using page k
  • Page 5328. DATA INPUT/OUTPUT OPERATION B–63124EN/01 Searching for a file  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 533B–63124EN/01 OPERATION 8. DATA INPUT/OUTPUT Reading a file  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 5348. DATA INPUT/OUTPUT OPERATION B–63124EN/01 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 535B–63124EN/01 OPERATION 8. DATA INPUT/OUTPUT Writing a file  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 5368. DATA INPUT/OUTPUT OPERATION B–63124EN/01 Explanations D Registering the same file When a file having the same name is already registered in the memory name card, the existing file will be overwritten. D Writing all programs To write all programs, set program number = –9999. If no file name is spe
  • Page 537B–63124EN/01 OPERATION 8. DATA INPUT/OUTPUT Deleting a file  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 5388. DATA INPUT/OUTPUT OPERATION B–63124EN/01 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 539B–63124EN/01 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). Soft key [M–CARD] represents a separate memory card function f
  • Page 5408. DATA INPUT/OUTPUT OPERATION B–63124EN/01 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 541B–63124EN/01 OPERATION 8. DATA INPUT/OUTPUT Memory Card Error Codes Code Meaning 102 The memory card does not have sufficient free space. 105 No memory card is mounted. 106 A memory card is already mounted. 110 The specified directory cannot be found. 111 There are too many files under the root dire
  • Page 5429. EDITING PROGRAMS OPERATION B–63124EN/01 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 543B–63124EN/01 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
  • Page 5449. EDITING PROGRAMS OPERATION B–63124EN/01 9.1.1 A word can be searched for by merely moving the cursor through the text     (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; th
  • Page 545B–63124EN/01 OPERATION 9. EDITING PROGRAMS Procedure for searching a word Procedure Example) of Searching for T12 PROGRAM O0050 N01234 N01234 is being O0050 ; searched for/ N01234 X100.0 Y1250.0 ; scanned currently. T12 ; T12 is searched N56789 M03 ; for. M02 ; % 1 Key in address T . 2 Key in 1 2 .
  • Page 5469. EDITING PROGRAMS OPERATION B–63124EN/01 9.1.2 The cursor can be jumped to the top of a program. This function is called       heading the program pointer. This section describes the three methods for heading the program pointer. Procedure for Heading a Program    Method 1 1 Press R
  • Page 547B–63124EN/01 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 fo
  • Page 5489. EDITING PROGRAMS OPERATION B–63124EN/01 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 O00
  • Page 549B–63124EN/01 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 Y1250.0 M
  • Page 5509. EDITING PROGRAMS OPERATION B–63124EN/01 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 s
  • Page 551B–63124EN/01 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 dele
  • Page 5529. EDITING PROGRAMS OPERATION B–63124EN/01 NOTE Specifying the deletion of too many blocks may result in a P/S alarm (No. 070) being issued. In such a case, reduce the number of blocks to be deleted. 542
  • Page 553B–63124EN/01 OPERATION 9. EDITING PROGRAMS 9.3 When memory holds multiple programs, a program can be searched for. There are three methods as follows. PROGRAM NUMBER SEARCH Procedure for program number search  Method 1 1 Select EDIT or MEMORY mode. 2 Press PROG to display the program screen
  • Page 5549. EDITING PROGRAMS OPERATION B–63124EN/01 9.4 Sequence number search operation is usually used to search for a sequence number in the middle of a program so that execution can be SEQUENCE NUMBER started or restarted at the block of the sequence number. SEARCH Example) Sequence number 02346 in a pro
  • Page 555B–63124EN/01 OPERATION 9. EDITING PROGRAMS Explanations D Operation during Search Those blocks that are skipped do not affect the CNC. This means that the data in the skipped blocks such as coordinates and M, S, and T codes does not alter the CNC coordinates and modal values. So, in the first block
  • Page 5569. EDITING PROGRAMS OPERATION B–63124EN/01 9.5 Programs registered in memory can be deleted,either one program by one program or all at once. Also, More than one program can be deleted by DELETING specifying a range. PROGRAMS 9.5.1 A program registered in memory can be deleted. Deleting One Program
  • Page 557B–63124EN/01 OPERATION 9. EDITING PROGRAMS 9.5.3 Programs within a specified range in memory are deleted. Deleting More Than One Program by Specifying a Range Procedure for deleting more than one program by specifying a range  1 Select the EDIT mode. 2 Press PROG to display the program scre
  • Page 5589. EDITING PROGRAMS OPERATION B–63124EN/01 9.6 With the extended part program editing function, the operations described below can be performed using soft keys for programs that have been EXTENDED PART registered in memory. PROGRAM EDITING Following editing operations are available : FUNCTION S All
  • Page 559B–63124EN/01 OPERATION 9. EDITING PROGRAMS 9.6.1 A new program can be created by copying a program. Copying an Entire Program Before copy After copy Oxxxx Oxxxx Oyyyy A Copy A A Fig. 9.6.1 Copying an entire program In Fig. 9.6.1, the program with program number xxxx is copied to a newly created prog
  • Page 5609. EDITING PROGRAMS OPERATION B–63124EN/01 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 561B–63124EN/01 OPERATION 9. EDITING PROGRAMS 9.6.3 A new program can be created by moving part of a program. Moving Part of a Program Before copy After copy Oxxxx Oxxxx Oyyyy A Copy A B B C C Fig. 9.6.3 Moving part of a program In Fig. 9.6.3, part B of the program with program number xxxx is moved to
  • Page 5629. EDITING PROGRAMS OPERATION B–63124EN/01 9.6.4 Another program can be inserted at an arbitrary position in the current Merging a Program program. Before merge After merge Oxxxx Oyyyy Oxxxx Oyyyy A B Merge A B C B Merge location C Fig. 9.6.4 Merging a program at a specified location In Fig. 9.6.4,
  • Page 563B–63124EN/01 OPERATION 9. EDITING PROGRAMS 9.6.5 Supplementary Explanation for Copying,Moving and Merging Explanations D Setting an editing range The setting of an editing range start point with [CRSR] can be changed freely until an editing range end point is set with [CRSR] or [BTTM]. If an edit
  • Page 5649. EDITING PROGRAMS OPERATION B–63124EN/01 Alarm       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 alarm oc
  • Page 565B–63124EN/01 OPERATION 9. EDITING PROGRAMS Examples D Replace X100 with Y200 [CHANGE] X 1 0 0 [BEFORE] Y 2 0 0 [AFTER][EXEC] D Replace X100Y200 with [CHANGE] X 1 0 0 Y 2 0 0 [BEFORE] X30 X 3 0 [AFTER][EXEC] D Replace IF with WHILE [CHANGE] I F [BEFORE] W H I L E [AFTER] [EXEC] D Replace X with ,C10
  • Page 5669. EDITING PROGRAMS OPERATION B–63124EN/01 9.7 Unlike ordinary programs, custom macro programs are modified, inserted, or deleted based on editing units. EDITING OF CUSTOM Custom macro words can be entered in abbreviated form. MACROS Comments can be entered in a program. Refer to the section 10.1 fo
  • Page 567B–63124EN/01 OPERATION 9. EDITING PROGRAMS 9.8 Editing a program while executing another program is called background editing. The method of editing is the same as for ordinary editing BACKGROUND (foreground editing). EDITING A program edited in the background should be registered in foreground prog
  • Page 5689. EDITING PROGRAMS OPERATION B–63124EN/01 9.9 The password function (bit 4 (NE9) of parameter No. 3202) can be locked using parameter No. 3210 (PASSWD) and parameter No. 3211 PASSWORD (KEYWD) to protect program Nos. 9000 to 9999. In the locked state, FUNCTION parameter NE9 cannot be set to 0. In th
  • Page 569B–63124EN/01 OPERATION 9. EDITING PROGRAMS Explanations D Setting parameter The locked state is set when a value is set in the parameter PASSWD. PASSWD However, note that parameter PASSWD can be set only when the locked state is not set (when PASSWD = 0, or PASSWD = KEYWD). If an attempt is made to
  • Page 57010. CREATING PROGRAMS OPERATION B–63124EN/01 10 CREATING PROGRAMS Programs can be created using any of the following methods: ⋅ MDI keyboard ⋅ CONVERSATIONAL PROGRAMMING INPUT WITH GRAPHIC FUNCTION ⋅ AUTOMATIC PROGRAM PREPARATION DEVICE (FANUC SYSTEM P) This chapter describes creating programs using
  • Page 571B–63124EN/01 OPERATION 10. CREATING PROGRAMS 10.1 Programs can be created in the EDIT mode using the program editing functions described in Chapter 9. CREATING PROGRAMS USING THE MDI PANEL Procedure for Creating Programs Using the MDI Panel Procedure 1 Enter the EDIT mode. 2 Press the PROG key. 3 Pr
  • Page 57210. CREATING PROGRAMS OPERATION B–63124EN/01 10.2 Sequence numbers can be automatically inserted in each block when a program is created using the MDI keys in the EDIT mode. AUTOMATIC Set the increment for sequence numbers in parameter 3216. INSERTION OF SEQUENCE NUMBERS Procedure for automatic inse
  • Page 573B–63124EN/01 OPERATION 10. CREATING PROGRAMS 9 Press INSERT . The EOB is registered in memory and sequence numbers are automatically inserted. For example, if the initial value of N is 10 and the parameter for the increment is set to 2, N12 inserted and displayed below the line where a new block is
  • Page 57410. CREATING PROGRAMS OPERATION B–63124EN/01 10.3 Programs can be created block after block on the conversational screen while displaying the G code menu. CONVERSATIONAL Blocks in a program can be modified, inserted, or deleted using the G code PROGRAMMING menu and conversational screen. WITH GRAPHI
  • Page 575B–63124EN/01 OPERATION 10. CREATING PROGRAMS 4 Press the [C.A.P] soft key. The following G code menu is displayed on the screen. If soft keys different from those shown in step 2 are displayed, press the menu return key to display the correct soft keys. PROGRAM O0010 N00000 G00 : POSITIONING G01 : L
  • Page 57610. CREATING PROGRAMS OPERATION B–63124EN/01 When no keys are pressed, the standard details screen is displayed. PROGRAM O0010 N00000 STANDARD FORMAT G G G G X Y C I J K P Q R F M S T D L H ; EDIT **** *** *** 11:55:13 [ PRGRM ][ ][ G.MENU ][ BLOCK ][ (OPRT) ] 7 Move the cursor to the block to be mo
  • Page 577B–63124EN/01 OPERATION 10. CREATING PROGRAMS Procedure 1 Move the cursor to the block to be modified on the program screen     a block and press the [C.A.P] soft key. Or, press the [C.A.P] soft key first to display the conversational screen, then press the or page key until the block to be modi
  • Page 57811. SETTING AND DISPLAYING DATA OPERATION B–63124EN/01 11 SETTING AND DISPLAYING DATA General To operate a CNC machine tool, various data must be set on the LCD/MDI panel for the CNC. The operator can monitor the state of operation with data displayed during operation. This chapter describes how to
  • Page 579B–63124EN/01 OPERATION 11. SETTING AND DISPLAYING DATA POSITION DISPLAY SCREEN Screen transition triggered by the function key POS POS Current position screen ABS REL ALL HNDL (OPRT) Position display of Position displays Total position display Manual handle inĆ work coordinate relative coordinate of
  • Page 58011. SETTING AND DISPLAYING DATA OPERATION B–63124EN/01 PROGRAM SCREEN Screen transition triggered by the function key PROG in the MEMORY or MDI mode PROG Program screen MEM (MDI)* PRGRM CHECK CURRNT NEXT (OPRT) Display of proĆ Display of current Display of current gram contents block and modal block
  • Page 581B–63124EN/01 OPERATION 11. SETTING AND DISPLAYING DATA PROGRAM SCREEN Screen transition triggered by the function key PROG in the EDIT mode PROG Program screen EDIT PRGRM LIB C.A.P. (OPRT) Program editing Program memory Conversational screen and program diĆ programming åSee chapter 10 rectory screen
  • Page 58211. SETTING AND DISPLAYING DATA OPERATION B–63124EN/01 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 subsec
  • Page 583B–63124EN/01 OPERATION 11. SETTING AND DISPLAYING DATA Tool data, Safety zone TOOL M.TOOL SAFETY (OPRT) Display of tool Display of multiĆ Display of safety data ple zone åSee subsec. 11.4.3. åSee subsec. åSee subsec. 11.4.4. 11.4.3.6 Setting tool Setting multiple Setting safety data tool zone 573
  • Page 58411. SETTING AND DISPLAYING DATA OPERATION B–63124EN/01 SYSTEM SCREEN Screen transition triggered by the function key SYSTEM SYSTEM Parameter screen PARAM DGNOS PMC SYSTEM (OPRT) Display of parameĆ Display of diagĆ ter screen nosis screen åsee Subsec.11.5.1. åSee chapter 7 Setting of parameter åsee S
  • Page 585B–63124EN/01 OPERATION 11. SETTING AND DISPLAYING DATA D   s The table below lists the data set on each screen. Table11 Setting screens and data on them Reference No. Setting screen Contents of setting item 1 Tool offset value Cutter compensation value Subsec. 11.4.1 2 Setting data(handy)
  • Page 58611. SETTING AND DISPLAYING DATA OPERATION B–63124EN/01 11.1 Press function key POS to display the current position of the tool. SCREENS The following three screens are used to display the current position of the DISPLAYED BY tool: FUNCTION KEY POS S Position display screen for the work coordinate sy
  • Page 587B–63124EN/01 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 58811. SETTING AND DISPLAYING DATA OPERATION B–63124EN/01 11.1.2 Displays the current position of the tool in a relative coordinate system Position Display in the based on the coordinates set by the operator. The current position changes as the tool moves. The increment system is used as the unit for n
  • Page 589B–63124EN/01 OPERATION 11. SETTING AND DISPLAYING DATA Explanations D Setting the relative The current position of the tool in the relative coordinate system can be coordinates reset to 0 or preset to a specified value as follows: Procedure to set the axis coordinate to a specified value  1
  • Page 59011. SETTING AND DISPLAYING DATA OPERATION B–63124EN/01 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 591B–63124EN/01 OPERATION 11. SETTING AND DISPLAYING DATA D Displaying the fifth and Relative coordinates cannot be displayed together with absolute subsequent axes coordinates whenever there are five or more controlled axes. Pressing the [ALL] soft key toggles the display between absolute and relative
  • Page 59211. SETTING AND DISPLAYING DATA OPERATION B–63124EN/01 11.1.5 The actual feedrate on the machine (per minute) can be displayed on a Actual Feedrate current position display screen or program check screen by setting bit 0 (DPF) of parameter 3015. Display Display procedure for the actual feedrate on t
  • Page 593B–63124EN/01 OPERATION 11. SETTING AND DISPLAYING DATA 11.1.6 The run time, cycle time, and the number of machined parts are displayed Display of Run Time on the current position display screens. and Parts Count Procedure for displaying run time and parts count on the current position display screen
  • Page 59411. SETTING AND DISPLAYING DATA OPERATION B–63124EN/01 11.1.7 The reading on the load meter can be displayed for each servo axis by Operating Monitor setting bit 5 (OPM) of parameter 3111 to 1. Display Procedure for displaying the operating monitor Procedure 1 Press function key POS to display a cur
  • Page 595B–63124EN/01 OPERATION 11. SETTING AND DISPLAYING DATA 11.1.8 To perform floating reference position return with a G30.1 command, the Setting the Floating floating reference position must be set beforehand. Reference Position Procedure for setting the floating reference position Procedure 1 Press fu
  • Page 59611. SETTING AND DISPLAYING DATA OPERATION B–63124EN/01 11.2 This section describes the screens displayed by pressing function key SCREENS PROG in MEMORY or MDI mode.The first four of the following screens DISPLAYED BY display the execution state for the program currently being executed in FUNCTION K
  • Page 597B–63124EN/01 OPERATION 11. SETTING AND DISPLAYING DATA 11.2.1 Displays the program currently being executed in MEMORY or MDI Program Contents mode. Display Screen Procedure for displaying the program contents Procedure 1 Press function key PROG to display a current position display screen. 2 Press c
  • Page 59811. SETTING AND DISPLAYING DATA OPERATION B–63124EN/01 11.2.2 Displays the block currently being executed and modal data in the Current Block Display MEMORY or MDI mode. Screen Procedure for displaying the current block display screen Procedure 1 Press function key PROG . 2 Press chapter selection s
  • Page 599B–63124EN/01 OPERATION 11. SETTING AND DISPLAYING DATA 11.2.3 Displays the block currently being executed and the block to be executed Next Block Display next in the MEMORY or MDI mode. Screen Procedure for displaying the next block display screen  1 Press function key PROG . 2 Press chapte
  • Page 60011. SETTING AND DISPLAYING DATA OPERATION B–63124EN/01 11.2.4 Displays the program currently being executed, current position of the Program Check Screen tool, and modal data in the MEMORY mode. Procedure for displaying the program check screen   1 Press function key PROG . 2 Press chapter s
  • Page 601B–63124EN/01 OPERATION 11. SETTING AND DISPLAYING DATA D ″″ The program check screen is not provided for 9.5″/10.4″ LCD. Press soft key [PRGRM] to display the contents of the program on the right half of the screen. The block currently being executed is indicated by the cursor. The current p
  • Page 60211. SETTING AND DISPLAYING DATA OPERATION B–63124EN/01 11.2.5 Displays the program input from the MDI and modal data in the MDI Program Screen for mode. MDI Operation Procedure for displaying the program screen for MDI operation Procedure 1 Press function key PROG . 2 Press chapter selection soft ke
  • Page 603B–63124EN/01 OPERATION 11. SETTING AND DISPLAYING DATA 11.2.6 When a machining program is executed, the machining time of the main Stamping the program is displayed on the program machining time display screen. The machining times of up to ten main programs are displayed in Machining Time hours/minu
  • Page 60411. SETTING AND DISPLAYING DATA OPERATION B–63124EN/01 5 To calculate the machining times of additional programs, repeat the above procedure. The machining time display screen displays the executed main program numbers and their machining times sequentially. Note, that machining time data cannot be
  • Page 605B–63124EN/01 OPERATION 11. SETTING AND DISPLAYING DATA   1 To insert the calculated machining time of a program in a program as a    comment, the machining time of the program must be displayed on   the machining time display screen. Before stamping the machining time of the progra
  • Page 60611. SETTING AND DISPLAYING DATA OPERATION B–63124EN/01 4 If a comment already exists in the block containing the program number of a program whose machining time is to be inserted, the machining time is inserted after the existing comment. PROGRAM O0100 N0000 O0100 (SHAFT XSF001) ; N10 G92 X100. Y10
  • Page 607B–63124EN/01 OPERATION 11. SETTING AND DISPLAYING DATA Explanations D Machining time Machining time is counted from the initial start after a reset in memory operation mode to the next reset. If a reset does not occur during operation, machining time is counted from the start to M03 (or M30). Howeve
  • Page 60811. SETTING AND DISPLAYING DATA OPERATION B–63124EN/01 D Program directory When the machining time inserted into a program is displayed on the program directory screen and the comment after the program number consists of only machining time data, the machining time is displayed in both the program n
  • Page 609B–63124EN/01 OPERATION 11. SETTING AND DISPLAYING DATA Example 2:Program directory screen when two or more machining times are stamped. PROGRAM O0260 N0000 O0260 (SHAFT XSF302) (001H15M59S) (001H20M01S) ; N10 G92 X100. Y10. ; N20 S1500 M03 ; N30 G00 X20.5 Y5. T0101 ; N40 G01 Y–10. F25. ; N50 G02 X16
  • Page 61011. SETTING AND DISPLAYING DATA OPERATION B–63124EN/01 Example 3 Program directory screen when inserted machining time data does not conform to the format hhhHmmMssS (3–digit number followed by H, 2–digit number followed by M, and 2–digit number followed by S, in this order) PROGRAM O0280 N0000 O02
  • Page 611B–63124EN/01 OPERATION 11. SETTING AND DISPLAYING DATA 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 library screen (displays FUNCTION KEY P
  • Page 61211. SETTING AND DISPLAYING DATA OPERATION B–63124EN/01 Explanations D Details of memory used PROGRAM NO. USED PROGRAM NO. USED : The number of the programs registered (including the subprograms) FREE : The number of programs which can be registered additionally. MEMORY AREA USED MEMORY AREA USED : T
  • Page 613B–63124EN/01 OPERATION 11. SETTING AND DISPLAYING DATA D Order in which programs Immediately after all programs are cleared (by turning on the power while are registered pressing the DELETE key), each program is registered after the last program in the list. If some programs in the list were deleted
  • Page 61411. SETTING AND DISPLAYING DATA OPERATION B–63124EN/01 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 2. Set
  • Page 615B–63124EN/01 OPERATION 11. SETTING AND DISPLAYING DATA 11.4.1 Cutter compensation values are specified by D codes in a program. Setting and Displaying Compensation values corresponding to D codes are displayed or set on the screen. the Tool Offset Value Procedure for setting and displaying the cutte
  • Page 61611. SETTING AND DISPLAYING DATA OPERATION B–63124EN/01 Explanations D      A decimal point can be used when entering a compensation value. D    An external input/output device can be used to input or output a cutter compensation value. See Chapter 8. D 9.5″/10.4″ LCD OFFSET O0000 N
  • Page 617B–63124EN/01 OPERATION 11. SETTING AND DISPLAYING DATA 11.4.2 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 61811. SETTING AND DISPLAYING DATA OPERATION B–63124EN/01 4 Move the cursor to the item to be changed by pressing cursor keys , , , or . 5 Enter a new value and press soft key [INPUT]. Contents of settings D PARAMETER WRITE Setting whether parameter writing is enabled or disabled. 0 : Disabled 1 : Enab
  • Page 619B–63124EN/01 OPERATION 11. SETTING AND DISPLAYING DATA 11.4.3 Items concerning tools, such as the number of a tool to be used in Displaying and Setting machining, the position at which the turret is indexed for a tool, and tool position compensation, can be displayed or specified on the tool Items o
  • Page 62011. SETTING AND DISPLAYING DATA OPERATION B–63124EN/01 (b) Number of tools for which the turret is indexed (parameter No. 16266) When T-axis control is specified (TCL, bit 4 of parameter No. 16260, is set to 1), specify the total number of tools for which the turret is indexed. The setting must not
  • Page 621B–63124EN/01 OPERATION 11. SETTING AND DISPLAYING DATA 11.4.3.2 The numbers of the tools to be used, tool position compensation, and Displaying and setting turret positions (mechanical positions around the T-axis) indexed for tools can be displayed and specified. items on the tool number (1) Display
  • Page 62211. SETTING AND DISPLAYING DATA OPERATION B–63124EN/01 5 For absolute programming, enter the data and press the [INPUT] soft key. For incremental programming, enter an increment or decrement and press the [+INPUT] soft key. Data items to be entered are as follows: (a) Tool number Specify the numbers
  • Page 623B–63124EN/01 OPERATION 11. SETTING AND DISPLAYING DATA 11.4.3.3 When the tool change function is used, the numbers of tools to be Displaying and setting substituted for tools registered on the tool number registration screen (Item 11.4.3.2) can be displayed and specified. items on the screen for (1)
  • Page 62411. SETTING AND DISPLAYING DATA OPERATION B–63124EN/01 Method 2 Change the mode of the soft keys to the operation selection mode using the [(OPERATION)] soft key. Enter the registration number of the tool for which data is to be changed, then press the [NO.SEARCH] soft key. 5 For absolute programmin
  • Page 625B–63124EN/01 OPERATION 11. SETTING AND DISPLAYING DATA 3 Display the screen for the number of punch operations by following the steps described in (1). 4 Move the cursor to an item to be changed. Method 1 Move the cursor to the item to be changed with the page keys and cursor keys. Method 2 Change t
  • Page 62611. SETTING AND DISPLAYING DATA OPERATION B–63124EN/01 (2) Setting items from the MDI 1 Set the mode to MDI. 2 Press the OFFSET SETTING function key. Then press the [SETTING] soft key to enable the parameter write operation. The CNC indicates alarm No. 100. 3 Display the tool figure registration scr
  • Page 627B–63124EN/01 OPERATION 11. SETTING AND DISPLAYING DATA 11.4.3.6 When the optional function for controlling multiple tools is used, sub-tool Displaying and setting numbers, the angles used for indexing the turret for sub-tools, and position compensation along the Y-axis can be displayed and specified
  • Page 62811. SETTING AND DISPLAYING DATA OPERATION B–63124EN/01 5 For absolute programming, enter the data and press the [INPUT] soft key. For incremental programming, enter an increment or decrement and press the [+INPUT] soft key. Sub-tool registration data items to be entered are as follows: (a) Sub-tool
  • Page 629B–63124EN/01 OPERATION 11. SETTING AND DISPLAYING DATA (2) Setting items from the MDI 1 Set the mode to MDI. 2 Press the OFFSET SETTING function key. Then press the [SETTING] soft key to enable the parameter write operation. The CNC indicates alarm No. 100. 3 Display the tool figure registration scr
  • Page 63011. SETTING AND DISPLAYING DATA OPERATION B–63124EN/01 Type and size of tool Tool data can be customized, as listed below, by specifying parameters. data Individual tools cannot have more than one setting. All registered tools will have the same setting. Size (byte) 0 2 4 Description Data Tool numbe
  • Page 631B–63124EN/01 OPERATION 11. SETTING AND DISPLAYING DATA Tool figure Select this when drawing a tool using the graphic function. Each tool requires 13 bytes of data. Figure data : 1 byte Vertical dimension data : 4 bytes Horizontal dimension data : 4 bytes Angle data : 4 bytes Tool life management Sel
  • Page 63211. SETTING AND DISPLAYING DATA OPERATION B–63124EN/01 11.4.4 When the optional safety zone check function is used, the current safety Displaying and Setting zone can be displayed and changed. Items on the Safety (1) Displaying the screen Zone Setting Screen 1 Press the OFFSET SETTING function key.
  • Page 633B–63124EN/01 OPERATION 11. SETTING AND DISPLAYING DATA Y dimension of tool Safety zone X dimension of tool Y#4 #4 Y#3 #3 Y#2 #2 Y#1 #1 X2#1 X1#1 X2#2 X1#2 X2#3 X1#3 X2#4 X1#4 0 Origin of the workppiece coordinate system (a) Safety zone #n (n: 1 to 4) (parameters No. 16505 to No. 16516) Up to four sa
  • Page 63411. SETTING AND DISPLAYING DATA OPERATION B–63124EN/01 11.4.5 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 635B–63124EN/01 OPERATION 11. SETTING AND DISPLAYING DATA Explanations D Sequence number after After the specified sequence number is found during the execution of the the program is executed program, the sequence number set for sequence number compensation and stop is decremented by one. When the powe
  • Page 63611. SETTING AND DISPLAYING DATA OPERATION B–63124EN/01 11.4.6 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 637B–63124EN/01 OPERATION 11. SETTING AND DISPLAYING DATA D PARTS COUNT This value is incremented by one when M02, M30, or an M code specified by parameter 6710 is executed. The value can also be set by parameter 6711. In general, this value is reset when it reaches the number of parts required. Refer
  • Page 63811. SETTING AND DISPLAYING DATA OPERATION B–63124EN/01 11.4.7 Displays the workpiece origin offset for each workpiece coordinate Displaying and Setting system (G54 to G59) and external workpiece origin offset. The workpiece origin offset and external workpiece origin offset can be set on this screen
  • Page 639B–63124EN/01 OPERATION 11. SETTING AND DISPLAYING DATA 11.4.8 This function is used to compensate for the difference between the Input of Measured programmed workpiece coordinate system and the actual workpiece coordinate system. The measured offset for the origin of the workpiece Workpiece Origin c
  • Page 64011. SETTING AND DISPLAYING DATA OPERATION B–63124EN/01 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 C 0.000 C 0.000 01 X 0.000 03 X 0.000 (
  • Page 641B–63124EN/01 OPERATION 11. SETTING AND DISPLAYING DATA 11.4.9 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 64211. SETTING AND DISPLAYING DATA OPERATION B–63124EN/01 11.4.10 With this function, functions of the switches on the machine operator’s Displaying and Setting panel can be controlled from the MDI panel. Jog feed can be performed using numeric keys. the Software Operator’s Panel Procedure for displayi
  • Page 643B–63124EN/01 OPERATION 11. SETTING AND DISPLAYING DATA 5 Push the cursor move key or to match the mark J to an arbitrary position and set the desired condition. 6 Press one of the following arrow keys to perform jog feed. Press the 5 key together with an arrow key to perform jog rapid traverse. 8 9
  • Page 64411. SETTING AND DISPLAYING DATA OPERATION B–63124EN/01 11.5 When the CNC and machine are connected, parameters must be set to determine the specifications and functions of the machine in order to fully SCREENS utilize the characteristics of the servo motor or other parts. DISPLAYED BY This chapter d
  • Page 645B–63124EN/01 OPERATION 11. SETTING AND DISPLAYING DATA 11.5.1 When the CNC and machine are connected, parameters are set to Displaying and Setting determine the specifications and functions of the machine in order to fully utilize the characteristics of the servo motor. The setting of parameters Par
  • Page 64611. SETTING AND DISPLAYING DATA OPERATION B–63124EN/01 Procedure for enabling/displaying parameter writing    1 Select the MDI mode or enter state emergency stop. 2 Press function key OFFSET SETTING . 3 Press soft key [SETING] to display the setting screen. SETTING (HANDY) O0001 N00000 PARAMET
  • Page 647B–63124EN/01 OPERATION 11. SETTING AND DISPLAYING DATA 11.5.2 If pitch error compensation data is specified, pitch errors of each axis can Displaying and Setting be compensated in detection unit per axis. Pitch error compensation data is set for each compensation point at the Pitch Error intervals s
  • Page 64811. SETTING AND DISPLAYING DATA OPERATION B–63124EN/01 Procedure for displaying and setting the pitch error compensation data  1 Set the following parameters: S Number of the pitch error compensation point at the reference position (for each axis): Parameter 3620 S Number of the pitch error
  • Page 649B–63124EN/01 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 65011. SETTING AND DISPLAYING DATA OPERATION B–63124EN/01 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 651B–63124EN/01 OPERATION 11. SETTING AND DISPLAYING DATA (7)      hh:mm:ss – Hours, minutes, and seconds (8)       INPUT : Indicates that data is being input. OUTPUT : Indicates that data is being output. SRCH : Indicates that a search is being performed. EDIT : Indicates that anot
  • Page 65211. SETTING AND DISPLAYING DATA OPERATION B–63124EN/01 11.7 By pressing the function key MESSAGE , data such as alarms, alarm history SCREENS DISPLAYED data, and external messages can be displayed. BY FUNCTION KEY MESSAGE For information relating to alarm display, see Section III.7.1. For info
  • Page 653B–63124EN/01 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 65411. SETTING AND DISPLAYING DATA OPERATION B–63124EN/01 11.8 Displaying the same characters in the same positions on the screen causes a LCD to degrade relatively quickly. To help prevent this, the screen can CLEARING THE be cleared by pressing specific keys. It is also possible to specify the SCREEN
  • Page 655B–63124EN/01 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 65612. GRAPHICS FUNCTION OPERATION B–63124EN/01 12 GRAPHICS FUNCTION When programming is completed, the optional graphic function can be used to check whether machining will be performed as desired without operating the machine by drawing the programmed tool path and machining profile on the graphic di
  • Page 657B–63124EN/01 OPERATION 12. GRAPHICS FUNCTION 12.1 The following flowchart shows an example of drawing a programmed figure on the screen. Refer to the flowchart if you forget the procedure. OPERATION Start Machine ready for machining Manual reference position return is com- pleted. Record the program
  • Page 65812. GRAPHICS FUNCTION OPERATION B–63124EN/01 12.2 To draw a machining profile, register the dimensions of the tool on the tool figure registration screen. REGISTERING THE TOOL FIGURE 648
  • Page 659B–63124EN/01 OPERATION 12. GRAPHICS FUNCTION 12.3 Specify the parameters for graphic drawing. SPECIFYING (1) Procedure DRAWING 1 Press the function key GRAPH . The graphic parameter setting screen PARAMETERS appears. If it does not appear, press the soft key [PARA]. GRAPHIC PARAMETER O1234 N00200 AX
  • Page 66012. GRAPHICS FUNCTION OPERATION B–63124EN/01 (a) Drawing plane This parameter specifies a plane for drawing. Y 0 0 Y X X P=0 P=1 P=2 P=3 X X Y Y 0 0 (b) Drawing range (maximum and minimum values) This parameter specifies the desired drawing range for each axis using the maximum and minimum values. S
  • Page 661B–63124EN/01 OPERATION 12. GRAPHICS FUNCTION (f) Automatic deletion 1 : Previously drawn figures are automatically deleted when automatic operation is started in the reset state. 0 : Previously drawn figures are not automatically deleted. (g) Drawing start position When a coordinate system command,
  • Page 66212. GRAPHICS FUNCTION OPERATION B–63124EN/01 (i) Rapid traverse 1 : A tool path for rapid traverse is drawn as a dotted line. 0 : No tool path for a rapid traverse is drawn. GRAPHIC O1234 N00200 X 0.000 Y 0.000 Y X 123.076 MEM **** *** *** 16:25:42 [ START ][ STOP ][ SBK ][ SEQ. ][ ERASE ] (j) Posit
  • Page 663B–63124EN/01 OPERATION 12. GRAPHICS FUNCTION (k) Length of a workpiece holder This parameter specifies the horizontal length and vertical length of a workpiece holder. (Setting: 0 to "99999999, unit is specified in the parameter) X Y NOTE When an optional safety zone check function is provided, data
  • Page 66412. GRAPHICS FUNCTION OPERATION B–63124EN/01 12.4 GRAPHIC DISPLAY 1) Drawing screen SCREEN AND Press [GRAPH] key after pressing GRAPH key, the following graphic DRAWING display screen appears. GRAPHIC O1234 N00200 X 0.000 Y 0.000 Y X 123.076 MEM **** *** *** 16:24:05 [ START ][ STOP ][ SBK ][ SEQ. ]
  • Page 665B–63124EN/01 OPERATION 12. GRAPHICS FUNCTION GRAPHIC O1234 N00200 X 0.000 Y 0.000 Y X 123.076 MEM **** *** *** 16:24:05 [ START ][ STOP ][ SBK ][ SEQ. ][ ERASE ] 3 Depress [SEQ] and [START] keys (continuous drawing). .... Drawing is started and continued up to the end of the NC program. 4 Depress [S
  • Page 66612. GRAPHICS FUNCTION OPERATION B–63124EN/01 Since drawing is done under such a condition as MACHINE LOCK, the modal information, absolute coordinate value, etc. are updated. When the mode is switched from the machining operation mode to the drawing mode, the following information is stored. (1) Rel
  • Page 667B–63124EN/01 OPERATION 12. GRAPHICS FUNCTION 12.5 Set drawing parameters for drawing the following NC program as follows. EXAMPLE 650mm 1100mm : 00002 ; (NC program) G92X1270. Y1270. ; G76I40. J90. K8T02 ; G72X800. Y400. ; G90G00X15. Y15. T02 ; G72X1050. Y200. ; G77I150. J90. P-5K18 ; X1085. Y15. ;
  • Page 66812. GRAPHICS FUNCTION OPERATION B–63124EN/01 GRAPHIC PARAMETER O1234 N00200 START POINT X= 0 Y= 0 Z= 0 WORK LENGTH X= 1100000 Y= 650000 RAPID PATH (1:ON 0:OFF) P= 0 HOLDER POSITION HOLDER LENGTH X1= 300000 X= 40000 Y= 20000 X2= 700000 X= 40000 Y= 20000 >_ MEM **** *** *** 16:23:21 [ PARAM ][ GRAPH ]
  • Page 669B–63124EN/01 OPERATION 13. HELP FUNCTION 13      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 machi
  • Page 67013. HELP FUNCTION OPERATION B–63124EN/01 ALARM DETAIL screen 2 Press soft key [ALM] on the HELP (INITIAL MENU) screen to display detailed information about an alarm currently being raised. HELP (ALARM DETAIL) O0010 N00001 NUMBER : 027 Alarm No. M‘SAGE : NO AXES COMMANDED IN G43/G44 Normal explana– F
  • Page 671B–63124EN/01 OPERATION 13. HELP FUNCTION 3 To get details on another alarm number, first enter the alarm number, then press soft key [SELECT]. This operation is useful for investigating alarms not currently being raised. >100 S 0 T0000 MEM **** *** *** 10:12:25 [ ] [ ] [ ][ ] [ SELECT ] Fig.13(d) Ho
  • Page 67213. HELP FUNCTION OPERATION B–63124EN/01 >1 S 0 T0000 MEM **** *** *** 10:12:25 [ ] [ ] [ ] [ ] [ SELECT ] Fig.13(g) How to select each OPERATION METHOD screen When “1. PROGRAM EDIT” is selected, for example, the screen in Figure 13 (h) is displayed. On each OPERATION METHOD screen, it is possible t
  • Page 673B–63124EN/01 OPERATION 13. HELP FUNCTION 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 674IV. MAINTENANC
  • Page 675B–63124EN/01 MAINTENANCE 1. METHOD OF REPLACING BATTERY 1 METHOD OF REPLACING BATTERY This chapter describes how to replace the CNC backup battery and absolute pulse coder battery. This chapter consists of the following sections: 1.1 REPLACING THE ALKALINE DRY CELLS (SIZE D) 1.2 USE OF ALKALINE DRY
  • Page 6761. METHOD OF REPLACING BATTERY MAINTENANCE B–63124EN/01 Replacing the lithium 1 Obtain a new lithium battery (ordering drawing number: battery A02B–0200–K102). 2 Turn the Series 16i/18i/160i/180i on for about 30 seconds. 3 Turn the Series 16i/18i/160i/180i off. 4 Remove the old battery from the top
  • Page 677B–63124EN/01 MAINTENANCE 1. METHOD OF REPLACING BATTERY Dispose of used batteries as follows: (1) Small quantities (less than 10) Discharge the batteries and dispose of them as ordinary unburnable waste. (2) Large quantities Please consult FANUC. 669
  • Page 6781. METHOD OF REPLACING BATTERY MAINTENANCE B–63124EN/01 1.1 1 Obtain two new alkaline dry cells (size D). REPLACING THE 2 Turn the Series 16i/18i/160i/180i on. ALKALINE DRY 3 Remove the battery case cover. 4 Replace the batteries, paying careful attention to their orientation. CELLS (SIZE D) 5 Repla
  • Page 679B–63124EN/01 MAINTENANCE 1. METHOD OF REPLACING BATTERY 1.2 USE OF ALKALINE DRY CELLS (SIZE D) Connection Power from external batteries is supplied through the same connector as that to which the lithium battery is connected. The lithium battery, provided as standard, can be replaced with external b
  • Page 6801. METHOD OF REPLACING BATTERY MAINTENANCE B–63124EN/01 1.3 One battery unit can maintain the current position data held in an absolute pulse coder for about one year. BATTERY FOR When the battery voltage falls, APC alarms 306 to 308 are displayed on SEPARATE the screen. When APC alarm 307 is displa
  • Page 681APPENDI
  • Page 682B–63124EN/01 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 MACURO 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 N
  • Page 683A. TAPE CODE LIST APPENDIX B–63124EN/01 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 684B–63124EN/01 APPENDIX A. TAPE CODE LIST NOTE 1 The symbols used in the remark column have the following meanings. (Space) : The character will be registered in memory and has a specific meaning. It it is used incorrectly in a statement other than a comment, an alarm occurs. × : The character will no
  • Page 685B. LIST OF FUNCTIONS AND TAPE FORMAT APPENDIX B–63124EN/01 B LIST OF FUNCTIONS AND TAPE FORMAT Some functions cannot be added as options depending on the model. Functions Illustration Tape format Positioning (G00) IP G00X_Y_C_ ; Start point Linear interpolation (G01) IP G01X_Y_F_ ; Start point Circu
  • Page 686B. LIST OF FUNCTIONS AND TAPE B–63124EN/01 APPENDIX FORMAT Functions Illustration Tape format Change of offset value by pro- G10 P_R_; gram (G10) ÇÇÇ ÇÇÇ Cutter compensation C G41 G40 (G40 – G42) ÇÇÇ G41 X_Y_D_ ; ÇÇÇ ÇÇÇ G40 G42 ÇÇÇ ÇÇÇ D : Tool offset ÇÇÇ G42 Tool Normal–line direction control G41.
  • Page 687B. LIST OF FUNCTIONS AND TAPE FORMAT APPENDIX B–63124EN/01 Functions Illustration Tape format Setting in work G54 coordinate sytem (X, Y) : X_Y_ ; G59 Work coordinate system Machine coordinate system Work zero point offset Pattern function Refer to “Pattern Function” G26 ; (G26, G76, G77, G78, G79,
  • Page 688B. LIST OF FUNCTIONS AND TAPE B–63124EN/01 APPENDIX FORMAT Functions Illustration Tape format Automatic repositioning G75X_ ; (G75) X Multi–piece machining function Refer to “Multi–piece machining”. G73 (G73, G74, G98) W_Q_ ; G74 W:Macro number G98X_Y_I_P_J_K_ ; Coordinate rotation ÂÂÂ G84X_Y_R_ ; Â
  • Page 689C. RANGE OF COMMAND VALUE APPENDIX B–63124EN/01 C RANGE OF COMMAND VALUE Linear axis D In case of millimeter input, feed screw is millimeter Increment system IS–A IS–B Least input increment 0.01 mm 0.001 mm Least command increment 0.01 mm 0.001 mm Max. programmable dimension ±999999.99 mm ±99999.999
  • Page 690B–63124EN/01 APPENDIX C. RANGE OF COMMAND VALUE D          Increment system IS–A IS–B Least input increment 0.001 inch 0.0001 inch Least command increment 0.001 inch 0.0001 inch Max. programmable dimension ±99999.999 inch ±9999.9999 inch Max. rapid traverse Note 9600 inch/min
  • Page 691C. RANGE OF COMMAND VALUE APPENDIX B–63124EN/01 NOTE The feedrate range shown above are limitations depending on CNC interpolation capacity. As a whole system, limitations depending on servo system must also be considered. 684
  • Page 692B–63124EN/01 APPENDIX D. NOMOGRAPHS D NOMOGRAPHS 685
  • Page 693D. NOMOGRAPHS APPENDIX B–63124EN/01 D.1 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 694B–63124EN/01 APPENDIX D. NOMOGRAPHS Analysis The tool path shown in Fig. D.1 (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 695D. NOMOGRAPHS APPENDIX B–63124EN/01 D Initial value calculation 0 Y0 V X0 Fig. D.1(c) Initial value The initial value when cornering begins, that is, the X and Y coordinates at the end of command distribution by the controller, is determined by the feedrate and the positioning system time constant o
  • Page 696B–63124EN/01 APPENDIX D. NOMOGRAPHS D.2 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 697E. STATUS WHEN TURNING POWER ON, WHEN CLEAR AND WHEN RESET APPENDIX B–63124EN/01 E STATUS WHEN TURNING POWER ON, WHEN CLEAR AND WHEN RESET Parameter 3402 (CLR) is used to select whether resetting the CNC places it in the cleared state or in the reset state (0: reset state/1: cleared state). The symb
  • Page 698E. STATUS WHEN TURNING POWER ON, B–63124EN/01 APPENDIX WHEN CLEAR AND WHEN RESET Item When turning power on Cleared Reset Output CNC alarm signal AL Extinguish if there is no Extinguish if there is no Extinguish if there is no signals cause for the alarm cause for the alarm cause for the alarm Refer
  • Page 699F. CHARACTER–TO–CODE CORRESPONDENCE TABLE APPENDIX B–63124EN/01 F CHARACTER–TO–CODES CORRESPONDENCE TABLE Character Code Comment Charac- Code Comment ter 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 07
  • Page 700B–63124EN/01 APPENDIX G. ALARM LIST G ALARM LIST 5) 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 701G. ALARM LIST APPENDIX B–63124EN/01 Number Message Contents 033 NO SOLUTION AT CRC A point of intersection cannot be determined for cutter compensation C. Modify the program. 034 NO CIRC ALLOWED IN ST–UP /EXT The start up or cancel was going to be performed in the G02 or G03 BLK mode in cutter compe
  • Page 702B–63124EN/01 APPENDIX G. ALARM LIST Number Message Contents 086 DR SIGNAL OFF When entering data in the memory by using Reader / Puncher interface, the ready signal (DR) of reader / puncher was off. Power supply of I/O unit is off or cable is not connected or a P.C.B. is de- fective. 087 BUFFER OVER
  • Page 703G. ALARM LIST APPENDIX B–63124EN/01 Number Message Contents 118 PARENTHESIS NESTING ERROR The nesting of bracket exceeds the upper limit (quintuple). Modify the program. 119 ILLEGAL ARGUMENT The SQRT argument is negative, BCD argument is negative, or other values than 0 to 9 are present on each line
  • Page 704B–63124EN/01 APPENDIX G. ALARM LIST Number Message Contents 213 ILLEGAL COMMAND IN SYNCHRO– Any of the following alarms occurred in the operation with the simple MODE synchronization control. 1) The program issued the move command to the slave axis. 2) The program issued the manual continuous feed/m
  • Page 705G. ALARM LIST APPENDIX B–63124EN/01 Number Message Contents 4509 ILLEGAL COMMAND IN CUT AT In a cut-at-angle (G89) command, the traveling pitch (Q) was set to zero, ANGLE negative value, or another value larger than or equal to the length (I). Alternatively, I, J, P, or Q was not specified. 4510 ILL
  • Page 706B–63124EN/01 APPENDIX G. ALARM LIST Number Message Contents 4540 MULTI-PIECE COMMAND WITHIN The command for taking multiple workpieces (G73, G74) was specified MACRO when a U or V macro was being stored. 4542 MULTI-PIECE COMMAND ERROR Although G98P0 was specified, the G73 command was issued. Althoug
  • Page 707G. ALARM LIST APPENDIX B–63124EN/01 Number Message Contents 5046 ILLEGAL PARAMETER (ST.COMP) The parameter settings for straightness compensation contain an error. Possible causes are as follows: 1. A parameter for a movement axis or compensation axis contains an axis number which is not used. 2. Mo
  • Page 708B–63124EN/01 APPENDIX G. ALARM LIST 6) 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. 140 BP/S alarm It was attempted to select or delete in the background a program being selected in the foregr
  • Page 709G. ALARM LIST APPENDIX B–63124EN/01 No. Message Description 363 n AXIS : ABNORMAL CLOCK (INT) A clock error occurred in the built–in pulse coder. 364 n AXIS : SOFT PHASE ALARM (INT) The digital servo software detected invalid data in the built–in pulse coder. 365 n AXIS : BROKEN LED (INT) An LED err
  • Page 710B–63124EN/01 APPENDIX G. ALARM LIST 9) Servo alarms Number Message Contents 400 SERVO ALARM: n–TH AXIS OVER- The n–th axis (axis 1 to 8) overload signal is on. Refer to diagnosis dis- LOAD play No. 201 for details. 401 SERVO ALARM: n–TH AXIS VRDY The n–th axis (axis 1 to 8) servo amplifier READY sig
  • Page 711G. ALARM LIST APPENDIX B–63124EN/01 Number Message Contents 422 SERVO ALARM: n AXIS In torque control of PMC axis control, a specified allowable speed has been exceeded. 423 SERVO ALARM: n AXIS In torque control of PMC axis control, the parameter–set allowable cumulative travel distance has been exc
  • Page 712B–63124EN/01 APPENDIX G. ALARM LIST Number Message Contents 449 n AXIS : INV. IPM ALARM 1) SVM: IPM (intelligent power module) detected an alarm. 2) α series SVU: IPM (intelligent power module) detected an alarm. 460 n AXIS : FSSB DISCONNECT FSSB communication was disconnected suddenly. The possible
  • Page 713G. ALARM LIST APPENDIX B–63124EN/01 #7 #6 #5 #4 #3 #2 #1 #0 201 ALD EXP When OVL equal 1 in diagnostic data No.200 (servo alarm No. 400 is being generated): #7 (ALD) 0 : Motor overheating 1 : Amplifier overheating When FBAL equal 1 in diagnostic data No.200 (servo alarm No. 416 is being generated):
  • Page 714B–63124EN/01 APPENDIX G. ALARM LIST 12) Safety zone alarms Number Message Contents 4800 ZONE : PUNCHING INHIBITED 1 When a safety zone check was executed, a punch command was specified in area 1 where punching is inhibited. 4801 ZONE : PUNCHING INHIBITED 2 When a safety zone check was executed, a pu
  • Page 715G. ALARM LIST APPENDIX B–63124EN/01 Number Message Contents 4871 AUTO SETTING PIECES ERROR In safety zone auto setting, the safety zone pieces are not correct. Or the position detector has gone wrong, please tell your machine tool builder. 4872 AUTO SETTING COMMAND M code, S code or T code is specif
  • Page 716B–63124EN/01 APPENDIX G. ALARM LIST Number Message Contents 971 NMI OCCURRED IN SLC An alarm condition occurred in the interface with an I/O unit. For PMC– RA and PMC–RB, check that the PMC control module on the main CPU board is conneted to the I/O unit securely. For PMC–RC, check that the PMC cont
  • Page 717H. OPERATION OF PORTABLE TAPE READER APPENDIX B–63124EN/01 H OPERATION OF PORTABLE TAPE READER Portable tape reader is the device which inputs the NC program and the data on the paper tape to CNC. D Names and descriptions of each section 3. Capstan roller 11. Cable storage 6. Handle 4. Control switc
  • Page 718H. OPERATION OF PORTABLE B–63124EN/01 APPENDIX TAPE READER No. Name Descriptions 7 Winder Used to advance or rewind the tape. Fastener (usually kept open) 8 Metal A Push Insert Paper tape Paper tape When removing the rolled tape, reduce the internal diameter by pushing the fastener. 9 Cover lock Be
  • Page 719H. OPERATION OF PORTABLE TAPE READER APPENDIX B–63124EN/01 Procedure for Operating the Portable Tape Reader Preparations 1 Unlock the cover locks 9. Raise the tape reader with the handle 6 until it clicks, then lower the tape reader. The tape reader then appears and is secured. Check that the loweri
  • Page 720H. OPERATION OF PORTABLE B–63124EN/01 APPENDIX TAPE READER WARNING SETTING OF A TAPE When the NC tape is loaded, the Label Skip function activates to read but skip data until first End of Block code (CR in EIA code or LF in ISO code) is read. When loading an NC tape, the location within the tape, fr
  • Page 721I. GLOSSARY APPENDIX B–63124EN/01 I GLOSSARY Term Description [A] Absolute linear scale Detector for an absolute position on a straight line. Absolute position detector Detector that indicates the absolute coordinates of a machine element, rela- tive to a selected origin. Absolute programming Method
  • Page 722B–63124EN/01 APPENDIX I. GLOSSARY Term Description Automatic reference position return Automatically feeding a specified axis to a reference position using a program command. Automatic tool length measurement Issuing an automatic measurement command to the CNC to move the tool to the measurement pos
  • Page 723I. GLOSSARY APPENDIX B–63124EN/01 Term Description [C] C–axis control Controlling a tool angle using a C command. C–axis synchronous control Using two motors to synchronously control the punch and die of a tool under C–axis control. Calling a subprogram stored in external Calling and executing a sub
  • Page 724B–63124EN/01 APPENDIX I. GLOSSARY Term Description Conversational automatic programming Programming by entering data in response to figures and guidance displayed function on the screen, Conversational programming with Interactively programming blocks, one at a time, based on a G code menu graphic f
  • Page 725I. GLOSSARY APPENDIX B–63124EN/01 Term Description Diameter programming Programming for turning in which the amount of movement along the X–axis (or coordinates) is represented using diameters. Dimension word Word that represents an amount related to axis movement. It can be an axis movement destina
  • Page 726B–63124EN/01 APPENDIX I. GLOSSARY Term Description External I/O device Device connected to the CNC to transfer programs and tool offset data with the CNC. External motion function Outputting a signal (external operation function signal) from the CNC each time a block in a program finishes positionin
  • Page 727I. GLOSSARY APPENDIX B–63124EN/01 Term Description Group number Common number assigned to G codes having similar functions. For example, group number 00 is assigned to one–shot G codes such as G04, G05 and G45. [H] H code Coded number, following the H address, that specifies a tool offset number in
  • Page 728B–63124EN/01 APPENDIX I. GLOSSARY Term Description Index table indexing function Indexing on the index table of a machining center. Initial position Level in a hole axial direction to which positioning is performed for the first time during a canned hole machining cycle. Succeeding drills return to
  • Page 729I. GLOSSARY APPENDIX B–63124EN/01 Term Description Linear axis Axis along which a machine element moves linearly with the X–, Y–, or Z–axis of the machine coordinate system, or axis parallel to that axis. Linear copy Repetitive machining performed by moving a subprogram–specified figure in parallel.
  • Page 730B–63124EN/01 APPENDIX I. GLOSSARY Term Description Manual handle feed Feeding a specified controlled axis by rotating the handle to generate com- mand pulses. Manual handle interruption Manual handle feed performed during automatic operation, in such a way that the manual–feed amount is added to the
  • Page 731I. GLOSSARY APPENDIX B–63124EN/01 Term Description Multi–piece machining function Using simplified commands to punch out two or more products of the same shape from a workpiece. Multibuffer Preventing interpolation from being stopped between blocks by buffering mul- tiple blocks. Multiple M commands
  • Page 732B–63124EN/01 APPENDIX I. GLOSSARY Term Description Operator message display Screen used to inform the operator of the current machine status, and to dis- play prompts to the operator. Optional block skip Adding a “/”, followed by a number, to the beginning of a block so that that block can be select
  • Page 733I. GLOSSARY APPENDIX B–63124EN/01 Term Description Plane conversion function Machining in which a machining program created on a G17 plane is con- verted so that the resulting figure looks the same when viewed from another plane in an orthogonal coordinate system. Plane selection Selecting a plane f
  • Page 734B–63124EN/01 APPENDIX I. GLOSSARY Term Description Program start Symbol signifying the start of a program. Program stop Miscellaneous function for temporarily stopping program execution. Programmable mirror image The ability, in the part program, to command mirror image of axes(is). Programmable par
  • Page 735I. GLOSSARY APPENDIX B–63124EN/01 Term Description Rigid tapping High–precision tapping achieved by controlling spindle rotation and drill axis feed as two–axis linear interpolation so that no tapping pitch error occurs at the bottom of the hole during acceleration/deceleration. Rotary axis Axis (su
  • Page 736B–63124EN/01 APPENDIX I. GLOSSARY Term Description Simple call Custom macro program calling in which a call instruction is issued each time the program is to be executed. Simple conversational programming Creating a program according to a menu displayed on a screen. Simple synchronous control Contro
  • Page 737I. GLOSSARY APPENDIX B–63124EN/01 Term Description Start–up Tool movement when cutter compensation is started in offset cancel mode. Status display Displaying the status of the CNC operation. Storage of macro Registering a macro by placing the U address, followed by a two–digit num- ber, before two
  • Page 738B–63124EN/01 APPENDIX I. GLOSSARY Term Description TH check Checking whether the total number of 1 bits in a character is even or odd. Thread cutting Threading performed by feeding the tool at the cutting feedrate, per minute, determined from spindle speeds that are read at constant intervals. Three
  • Page 739I. GLOSSARY APPENDIX B–63124EN/01 Term Description Tool retract and recover Retracting a tool from the workpiece, allowing the tool to be exchanged during machining (if broken) or the state of machining to be checked, and subse- quently repositioning the tool to restart machining. Tool selection fun
  • Page 740B–63124EN/01 Table of Contents SAFETY PRECAUTIONS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . s–1 I. GENERAL 1. GENERAL . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3 1.
  • Page 741Table of Contents B–63124EN/01 5.4 CUTTING FEEDRATE CONTROL . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 50 5.4.1 Exact Stop (G09, G61) Cutting Mode (G64) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 51
  • Page 742B–63124EN/01 Table of Contents 11.3 TOOL OFFSET . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 108 11.4 CONTROLLING THE TURRET-AXIS (T-AXIS) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
  • Page 743Table of Contents B–63124EN/01 14.5.3 Setting of Machining Method for Multi-Piece Machining . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 174 14.5.4 Command for Restarting Machining Multiple Products . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 175 14
  • Page 744B–63124EN/01 Table of Contents 17.PROGRAMMABLE DATA ENTRY (G10) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 306 17.1 PROGRAMMABLE PARAMETER ENTRY . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 307 17.2 TOOL DATA ENTRY . . . . . . . . . .
  • Page 745Table of Contents B–63124EN/01 2.1.1 CNC Control Unit with 7.2”/8.4” LCD . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 345 2.1.2 CNC Control Unit with 9.5”/10.4” LCD . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
  • Page 746B–63124EN/01 Table of Contents 5.5 SINGLE BLOCK . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 434 5.6 TOOL SELECTION . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
  • Page 747Table of Contents B–63124EN/01 8.8.3 Outputting Programs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 487 8.8.4 Deleting Files . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
  • Page 748B–63124EN/01 Table of Contents 11.1.1 Position Display in the Work Coordinate System . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 577 11.1.2 Position Display in the Relative Coordinate System . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
  • Page 749Table of Contents B–63124EN/01 11.8.1 Erase Screen Display . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 644 11.8.2 Automatic Erase Screen Display . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
  • Page 750B–63124EN/01 Index [A] Character–to–codes correspondence table, 692 Check by running the machine, 333 Absolute and incremental programming (G90, G91), 78 Checking by self–diagnostic screen, 462 Actual feedrate display, 582 Circular interpolation (G02, G03), 35 Alarm and self–diagnosis functions, 458
  • Page 751Index B–63124EN/01 Decimal point programming, 80 Displaying the directory, 483 Deleting a block, 540 Displaying the program number and sequence number, 639 Deleting a word, 539 Displaying the program number sequence number, and Deleting all programs, 546 status, and warning messages for data setting
  • Page 752B–63124EN/01 Index Function keys and soft keys, 352 Inputting tool data, 490 Functions to simplify programming, 139 Inputting/outputting custom macro common variables, 480 Inputting/outputting tool data, 490 [G] Inserting a word, 537 Inserting altering and deleting a word, 533 G00 command in nibblin
  • Page 753Index B–63124EN/01 Manual handle feed, 387 Output ahead of T–code, 115 Manual handle interruption, 413 Outputting a program, 472 Manual operation, 328, 381 Outputting a program list for a specified group, 493 Manual punch, 438 Outputting custom macro common variable, 481 Manual reference position re
  • Page 754B–63124EN/01 Index Programmable data entry (G10), 306 Screen displayed by function key POS , 576 Programmable parameter entry, 307 Punch, 437 Screens displayed by function key MESSAGE , 642 Punch forbidden area and approach forbidden area (type A), 447 Screens displayed by function key OFFSET SETTIN
  • Page 755Index B–63124EN/01 Storage and call of multiple macros (macro numbers Tool movement by programing–automatic operation, 90 to 99), 168 330 Storage of macros, 164 Tool movement in offset mode, 197 Stroke check, 442 Tool movement in offset mode cancel, 211 Stroke check before movement, 445 Tool movemen
  • Page 756Revision Record FANUC Series 16i/18i/160i/180i–PA OPERATOR’S MANUAL (B–63124EN) 01 Sep., ’97 Edition Date Contents Edition Date Contents