Navigation

  • Page 1

    GE Fanuc AutomationComputer Numerical Control ProductsSeries 16 / 18 / 160 / 180 – Model Cfor Machining CenterOperator's ManualB-62764EN/01 December 1995

  • Page 2

    GFL-001Warnings, Cautions, and Notesas Used in this PublicationWarningWarning notices are used in this publication to emphasize that hazardous voltages, currents,temperatures, or other conditions that could cause personal injury exist in this equipment ormay be associated with its use.In situatio...

  • Page 3

    s–1SAFETY PRECAUTIONSThis section describes the safety precautions related to the use of CNC units. It is essential that these precautionsbe observed by users to ensure the safe operation of machines equipped with a CNC unit (all descriptions in thissection assume this configuration). Note th...

  • Page 4

    SAFETY PRECAUTIONSB–62764EN/01s–21 DEFINITION OF WARNING, CAUTION, AND NOTEThis manual includes safety precautions for protecting the user and preventing damage to themachine. Precautions are classified into Warning and Caution according to their bearing on safety.Also, supplementary informa...

  • Page 5

    B–62764EN/01SAFETY PRECAUTIONSs–32 GENERAL WARNINGS AND CAUTIONSWARNING1. 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 performinga trial run using, for example, the ...

  • Page 6

    SAFETY PRECAUTIONSB–62764EN/01s–4WARNING8. Some functions may have been implemented at the request of the machine–tool builder. Whenusing such functions, refer to the manual supplied by the machine–tool builder for details of theiruse and any related cautions.NOTEPrograms, parameters, an...

  • Page 7

    B–62764EN/01SAFETY PRECAUTIONSs–53 WARNINGS AND CAUTIONS RELATED TOPROGRAMMINGThis section covers the major safety precautions related to programming. Before attempting toperform programming, read the supplied operator’s manual and programming manual carefullysuch that you are fully famili...

  • Page 8

    SAFETY PRECAUTIONSB–62764EN/01s–6WARNING6. Stroke checkAfter switching on the power, perform a manual reference position return as required. Strokecheck is not possible before manual reference position return is performed. Note that when strokecheck is disabled, an alarm is not issued even ...

  • Page 9

    B–62764EN/01SAFETY PRECAUTIONSs–74 WARNINGS AND CAUTIONS RELATED TO HANDLINGThis section presents safety precautions related to the handling of machine tools. Before attemptingto operate your machine, read the supplied operator’s manual and programming manual carefully,such that you are fu...

  • Page 10

    SAFETY PRECAUTIONSB–62764EN/01s–8WARNING7. Workpiece coordinate system shiftManual intervention, machine lock, or mirror imaging may shift the workpiece coordinatesystem. Before attempting to operate the machine under the control of a program, confirm thecoordinate system carefully.If the ma...

  • Page 11

    B–62764EN/01SAFETY PRECAUTIONSs–95 WARNINGS RELATED TO DAILY MAINTENANCEWARNING1. Memory backup battery replacementWhen 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 pow...

  • Page 12

    SAFETY PRECAUTIONSB–62764EN/01s–10WARNING2. Absolute pulse coder battery replacementWhen 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 poweron and the cabinet open, only...

  • Page 13

    B–62764EN/01SAFETY PRECAUTIONSs–11WARNING3. Fuse replacementFor some units, the chapter covering daily maintenance in the operator’s manual or programmingmanual describes the fuse replacement procedure.Before replacing a blown fuse, however, it is necessary to locate and remove the cause of...

  • Page 14

    Table of ContentsB–62764EN/01c–1SAFETY PRECAUTIONSS–1. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . I. GENERAL1. GENERAL3. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . ...

  • Page 15

    TABLE OF CONTENTSB–62764EN/01c–24.9EXPONENTIAL INTERPOLATION (G02.3, G03.3)63. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4.10SMOOTH INTERPOLATION (G05.1)67. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4.11HYPOTH...

  • Page 16

    TABLE OF CONTENTSB–62764EN/01c–311. TOOL FUNCTION (T FUNCTION)139. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11.1TOOL SELECTION FUNCTION140. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11.2TOOL L...

  • Page 17

    TABLE OF CONTENTSB–62764EN/01c–414.4GRINDING–WHEEL WEAR COMPENSATION BY CONTINUOUS DRESSING (FOR GRINDING MACHINE)228. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14.5AUTOMATIC GRINDING WHEEL DIAMETER COMPENSATION AFTER DRESSING2...

  • Page 18

    TABLE OF CONTENTSB–62764EN/01c–516.2SYSTEM VARIABLES375. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16.3ARITHMETIC AND LOGIC OPERATION382. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . ....

  • Page 19

    TABLE OF CONTENTSB–62764EN/01c–621.3TOOL WITHDRAWAL AND RETURN (G10.6)462. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21.4TANDEM CONTROL465. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . ....

  • Page 20

    TABLE OF CONTENTSB–62764EN/01c–72.1.138.4″ Color LCD (Separate type)518. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2.1.149.5″ Color LCD (Separate Type)519. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . ....

  • Page 21

    TABLE OF CONTENTSB–62764EN/01c–84.10TOOL WITHDRAWAL AND RETURN615. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4.11RETRACE FUNCTION621. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . ....

  • Page 22

    TABLE OF CONTENTSB–62764EN/01c–99. EDITING PROGRAMS688. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9.1INSERTING, ALTERING AND DELETING A WORD689. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9.1.1Word Search690....

  • Page 23

    TABLE OF CONTENTSB–62764EN/01c–1011.2.1Program Contents Display750. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11.2.2Current Block Display Screen751. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . ...

  • Page 24

    TABLE OF CONTENTSB–62764EN/01c–11IV. MAINTENANCE1. METHOD OF REPLACING BATTERY853. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1.1REPLACING CNC BATTERY FOR MEMORY BACK–UP854. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1.2REPLACING BATTERIES ...

  • Page 25

    I. GENERAL

  • Page 26

    GENERALB–62764EN/011. GENERAL31 GENERALThis manual consists of the following parts:I. GENERALDescribes chapter organization, applicable models, related manuals,and notes for reading this manual.II. PROGRAMMINGDescribes each function: Format used to program functions in the NClanguage, characte...

  • Page 27

    GENERAL1. GENERALB–62764EN/014This manual uses the following symbols:PI _ : Indicates a combination of axes such asX__ Y__ Z (used in PROGRAMMING.).: Indicates the end of a block. It actually corre-sponds to the ISO code LF or EIA code CR.;The table below lists manuals related to MODEL C of Se...

  • Page 28

    GENERALB–62764EN/011. GENERAL5When machining the part using the CNC machine tool, first prepare theprogram, then operate the CNC machine by using the program.1) First, prepare the program from a part drawing to operate the CNCmachine tool.How to prepare the program is described in the Chapter I...

  • Page 29

    GENERAL1. GENERALB–62764EN/016ToolSide cuttingFace cuttingHole machiningPrepare the program of the tool path and machining conditionaccording to the workpiece figure, for each machining.

  • Page 30

    GENERALB–62764EN/011. GENERAL7NOTE1 The function of an CNC machine tool system depends notonly on the CNC, but on the combination of the machinetool, its magnetic cabinet, the servo system, the CNC, theoperator’s panels, etc. It is too difficult to describe thefunction, programming, and oper...

  • Page 31

    II. PROGRAMMING

  • Page 32

    PROGRAMMINGB–62764EN/011. GENERAL111 GENERAL

  • Page 33

    PROGRAMMING1. GENERALB–62764EN/0112The tool moves along straight lines and arcs constituting the workpieceparts figure (See II–4).The function of moving the tool along straight lines and arcs is called theinterpolation.ProgramG01 X_ _ Y_ _ ;X_ _ ;ToolWorkpieceFig.1.1 (a) Tool movement along...

  • Page 34

    PROGRAMMINGB–62764EN/011. GENERAL13Symbols of the programmed commands G01, G02, ... are called thepreparatory function and specify the type of interpolation conducted inthe control unit.(a) Movement along straight lineG01 Y_ _;X– –Y– – – –;(b) Movement along arcG03X––Y––R–...

  • Page 35

    PROGRAMMING1. GENERALB–62764EN/0114Movement of the tool at a specified speed for cutting a workpiece is calledthe feed.ToolWorkpieceTableFmm/minFig. 1.2 (a) Feed functionFeedrates can be specified by using actual numerics. For example, to feedthe tool at a rate of 150 mm/min, specify the foll...

  • Page 36

    PROGRAMMINGB–62764EN/011. GENERAL15A CNC machine tool is provided with a fixed position. Normally, toolchange and programming of absolute zero point as described later areperformed at this position. This position is called the reference position.Reference positionToolWorkpieceTableFig. 1.3 (a) ...

  • Page 37

    PROGRAMMING1. GENERALB–62764EN/0116ZYXPart drawingZYXCoordinate systemZYXToolWorkpieceMachine toolProgramCommandCNCFig. 1.3.2 (a) Coordinate systemThe following two coordinate systems are specified at different locations:(See II–8)(1) Coordinate system on part drawingThe coordinate system is ...

  • Page 38

    PROGRAMMINGB–62764EN/011. GENERAL17The positional relation between these two coordinate systems isdetermined when a workpiece is set on the table.Y YTableWorkpieceXXCoordinate system spe-cified by the CNC estab-lished on the tableCoordinate system onpart drawing estab-lished on the work-pieceFi...

  • Page 39

    PROGRAMMING1. GENERALB–62764EN/0118(2) Mounting a workpiece directly against the jigJigProgram zero pointMeet the tool center to the reference position. And set the coordinate systemspecified by CNC at this position. (Jig shall be mounted on the predeterminedpoint from the reference position....

  • Page 40

    PROGRAMMINGB–62764EN/011. GENERAL19Command for moving the tool can be indicated by absolute command orincremental command (See II–9.1).The tool moves to a point at “the distance from zero point of thecoordinate system” that is to the position of the coordinate values.B(10.0,30.0,20.0)YXTo...

  • Page 41

    PROGRAMMING1. GENERALB–62764EN/0120The speed of the tool with respect to the workpiece when the workpieceis cut is called the cutting speed.As for the CNC, the cutting speed can be specified by the spindle speedin rpm unit.rpmf D mmm/minToolV: Cutting speedWorkpieceSpindle speed NTool diameter...

  • Page 42

    PROGRAMMINGB–62764EN/011. GENERAL21When drilling, tapping, boring, milling or the like, is performed, it isnecessary to select a suitable tool. When a number is assigned to each tooland the number is specified in the program, the corresponding tool isselected.0102Tool numberATC magazine <Whe...

  • Page 43

    PROGRAMMING1. GENERALB–62764EN/0122When machining is actually started, it is necessary to rotate the spindle,and feed coolant. For this purpose, on–off operations of spindle motor andcoolant valve should be controlled.WorkpieceToolCoolant The function of specifying the on–off operations of...

  • Page 44

    PROGRAMMINGB–62764EN/011. GENERAL23A group of commands given to the CNC for operating the machine iscalled the program. By specifying the commands, the tool is moved alonga straight line or an arc, or the spindle motor is turned on and off.In the program, specify the commands in the sequence o...

  • Page 45

    PROGRAMMING1. GENERALB–62764EN/0124 The block and the program have the following configurations.N ffff G ff Xff.f Yfff.f M ff S ff T ff ;1 blockSequence numberPreparatory functionDimension wordMiscel-laneous functionSpindle functionTool func-tionEnd of blockFig. 1.7 (b)...

  • Page 46

    PROGRAMMINGB–62764EN/011. GENERAL25When machining of the same pattern appears at many portions of aprogram, a program for the pattern is created. This is called thesubprogram. On the other hand, the original program is called the mainprogram. When a subprogram execution command appears duringe...

  • Page 47

    PROGRAMMING1. GENERALB–62764EN/0126Usually, several tools are used for machining one workpiece. The toolshave different tool length. It is very troublesome to change the programin accordance with the tools.Therefore, the length of each tool used should be measured in advance.By setting the dif...

  • Page 48

    PROGRAMMINGB–62764EN/011. GENERAL27Limit switches are installed at the ends of each axis on the machine toprevent tools from moving beyond the ends. The range in which tools canmove is called the stroke.ÇÇÇÇÇÇÇÇÇÇÇÇÇÇÇÇÇÇMotorLimit switchTableMachine zero pointSpecify these di...

  • Page 49

    PROGRAMMING2. CONTROLLED AXESB–62764EN/01282 CONTROLLED AXES

  • Page 50

    PROGRAMMING2. CONTROLLED AXESB–62764EN/0129Item16–MC160–MC16–MC, 160–MC(two–path control)No. of basic controlledaxes3 axes3 axes for each path(6 axes in total)Controlled axes expansion (total)Max. 8 axes(included in Cs axis)Max. 7 axes for each path(Feed 6 axes + Cs axis)Basic simulta...

  • Page 51

    PROGRAMMING2. CONTROLLED AXESB–62764EN/0130When a default axis name (1 to 8) is used, operation in the MEM modeand MDI mode is disabled.If a duplicate axis name is specified in the parameter, operation is enabledonly for the axis specified first.NOTEIn two–path control, axis information displ...

  • Page 52

    PROGRAMMING2. CONTROLLED AXESB–62764EN/0131The increment system consists of the least input increment (for input) andleast command increment (for output). The least input increment is theleast increment for programming the travel distance. The least commandincrement is the least increment for...

  • Page 53

    PROGRAMMING2. CONTROLLED AXESB–62764EN/0132Maximum stroke = Least command increment 99999999See 2.3 Incremen System.Table 2.4(a) Maximum strokesIncrement systemMaximum strokeIS–BMetric machine system"99999.999 mm"99999.999 degIS–BInch machine system"9999.9999 inch"99999...

  • Page 54

    PROGRAMMINGB–62764EN/013. PREPARATORY FUNCTION (G FUNCTION)333 PREPARATORY FUNCTION (G FUNCTION)A number following address G determines the meaning of the commandfor the concerned block.G codes are divided into the following two types.TypeMeaningOne–shot G codeThe G code is effective only in ...

  • Page 55

    PROGRAMMING3. PREPARATORY FUNCTION(G FUNCTION)B–62764EN/01341. When the clear state (bit 6 (CLR) of parameter No. 3402) is set atpower–up or reset, the modal G codes are placed in the states described below.(1) The modal G codes are placed in the states marked with asindicated in Table 3.(2...

  • Page 56

    PROGRAMMINGB–62764EN/013. PREPARATORY FUNCTION (G FUNCTION)35Table 3 G code list (1/3)G codeGroupFunctionG00PositioningG01Linear interpolationG0201Circular interpolation/Helical interpolation CWG03 01Circular interpolation/Helical interpolation CCWG02.2, G03.2Involute interpolationG02.3, G03.3E...

  • Page 57

    PROGRAMMING3. PREPARATORY FUNCTION(G FUNCTION)B–62764EN/0136Table 3 G code list (2/3)G codeGroupFunctionG3700Automatic tool length measurmentG3900Corner offset circular interpolationG40Cutter compensation cancel/Three dimensional compensation cancelG4107Cutter compensation left/Three dimensiona...

  • Page 58

    PROGRAMMINGB–62764EN/013. PREPARATORY FUNCTION (G FUNCTION)37Table 3 G code list (3/3)G codeGroupFunctionG6500Macro callG6612Macro modal callG6712Macro modal call cancelG6816Coordinate rotationG6916Coordinate rotation cancelG7309Peck drilling cycleG7409Counter tapping cycleG7501Plunge grinding ...

  • Page 59

    PROGRAMMING4. INTERPOLATION FUNCTIONSB–62764EN/01384 INTERPOLATION FUNCTIONS

  • Page 60

    PROGRAMMINGB–62764EN/014. INTERPOLATION FUNCTIONS39The G00 command moves a tool to the position in the workpiece systemspecified with an absolute or an incremental command at a rapid traverserate.In the absolute command, coordinate value of the end point isprogrammed.In the incremental command ...

  • Page 61

    PROGRAMMING4. INTERPOLATION FUNCTIONSB–62764EN/0140The rapid traverse rate cannot be specified in the address F.Even if linear interpolation positioning is specified, nonlinearinterpolation positioning is used in the following cases. Therefore, becareful to ensure that the tool does not foul t...

  • Page 62

    PROGRAMMINGB–62764EN/014. INTERPOLATION FUNCTIONS41For accurate positioning without play of the machine (backlash), finalpositioning from one direction is available.Start positionTemporary stopEnd positionOverrunStart positionIP_ : For an absolute command, the coordinates of an end position, an...

  • Page 63

    PROGRAMMING4. INTERPOLATION FUNCTIONSB–62764EN/0142D During canned cycle for drilling, no single direction positioning iseffected in Z axis.D No single direction positioning is effected in an axis for which nooverrun has been set by the parameter.D When the move distance 0 is commanded, the sin...

  • Page 64

    PROGRAMMINGB–62764EN/014. INTERPOLATION FUNCTIONS43Tools can move along a lineF_:Speed of tool feed (Feedrate)IP_:For an absolute command, the coordinates of an end point , and for an incremental commnad, the distance the tool moves.G01 IP_F_;A tools move along a line to the specified position ...

  • Page 65

    PROGRAMMING4. INTERPOLATION FUNCTIONSB–62764EN/0144A calcula;tion example is as follows.G91 G01 X20.0B40.0 F300.0 ;This changes the unit of the C axis from 40.0 deg to 40mm with metricinput. The time required for distribution is calculated as follows:202) 402300400.14907The feed rate for the C...

  • Page 66

    PROGRAMMINGB–62764EN/014. INTERPOLATION FUNCTIONS45The command below will move a tool along a circular arc.G17G03 Arc in the XpYp planeArc in the ZpXpplaneG18Arc in the YpZpplaneXp_Yp_G02G03G02G03G02G19Xp_ p_Yp_ Zp_I_ J_R_F_ ;I_ K_R_F_J_ K_R_F_Table.4.4 Description of the Command FormatCommandD...

  • Page 67

    PROGRAMMING4. INTERPOLATION FUNCTIONSB–62764EN/0146“Clockwise”(G02) and “counterclockwise”(G03) on the XpYp plane(ZpXp plane or YpZp plane) are defined when the XpYp plane is viewedin the positive–to–negative direction of the Zp axis (Yp axis or Xp axis,respectively) in the Cartesia...

  • Page 68

    PROGRAMMINGB–62764EN/014. INTERPOLATION FUNCTIONS47The distance between an arc and the center of a circle that contains the arccan 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° areconsidered. Wh...

  • Page 69

    PROGRAMMING4. INTERPOLATION FUNCTIONSB–62764EN/0148 1006040090120 14020060R50RY axisX axisThe above tool path can be programmed as follows ;(1) In absolute programmingG92X200.0 Y40.0 Z0 ;G90 G03 X140.0 Y100.0R60.0 F300.;G02 X120.0 Y60.0R50.0 ;orG92X200.0 Y40.0Z0 ;G90 G03 X140.0 Y100.0I-60.0 F30...

  • Page 70

    PROGRAMMINGB–62764EN/014. INTERPOLATION FUNCTIONS49Helical interpolation which moved helically is enabled by specifying upto two other axes which move synchronously with the circularinterpolation by circular commands.G03 Synchronously with arc of XpYp planeSynchronously with arc of ZpXp planeG1...

  • Page 71

    PROGRAMMING4. INTERPOLATION FUNCTIONSB–62764EN/0150Polar coordinate interpolation is a function that exercises contour controlin converting a command programmed in a Cartesian coordinate systemto the movement of a linear axis (movement of a tool) and the movementof a rotary axis (rotation of a ...

  • Page 72

    PROGRAMMINGB–62764EN/014. INTERPOLATION FUNCTIONS51In the polar coordinate interpolation mode, program commands arespecified with Cartesian coordinates on the polar coordinate interpolationplane. The axis address for the rotation axis is used as the axis addressfor the second axis (virtual axi...

  • Page 73

    PROGRAMMING4. INTERPOLATION FUNCTIONSB–62764EN/0152Tool length offset must be specified in the polar coordinate interpolationcancel mode before G12.1 is specified. It cannot bespecified in the polar coordinate interpolation mode. Furthermore, nooffset values can be changed in the polar coordin...

  • Page 74

    PROGRAMMINGB–62764EN/014. INTERPOLATION FUNCTIONS53Example of Polar Coordinate Interpolation Program Based on X Axis(Linear Axis) and C Axis (Rotary Axis)C’(hypothetical axis)C axisPath after cutter compensationProgram pathN204N205N206N203N202N201N208N207X axisZ axisN200ToolO0001 ; N010 T0101...

  • Page 75

    PROGRAMMING4. INTERPOLATION FUNCTIONSB–62764EN/0154The amount of travel of a rotary axis specified by an angle is onceinternally converted to a distance of a linear axis along the outer surfaceso that linear interpolation or circular interpolation can be performed withanother axis. After inter...

  • Page 76

    PROGRAMMINGB–62764EN/014. INTERPOLATION FUNCTIONS55To perform tool offset in the cylindrical interpolation mode, cancel anyongoing cutter compensation mode before entering the cylindricalinterpolation mode. Then, start and terminate tool offset within thecylindrical interpolation mode.In the c...

  • Page 77

    PROGRAMMING4. INTERPOLATION FUNCTIONSB–62764EN/0156Example of a Cylindrical Interpolation ProgramO0001 (CYLINDRICAL INTERPOLATION ); N01 G00 G90 Z100.0 C0 ; N02 G01 G91 G18 Z0 C0 ; N03 G07.1 C57299 ;N04 G90 G01 G42 Z120.0 D01 F250 ; N05 C30.0 ; N06 G02 Z90.0 C60.0 R30.0 ; N07 G01 Z70.0 ; N08 G0...

  • Page 78

    PROGRAMMINGB–62764EN/014. INTERPOLATION FUNCTIONS57Involute curve machining can be performed by using involuteinterpolation. Involute interpolation ensures continuous pulsedistribution even in high–speed operation in small blocks, thus enablingsmooth and high–speed machining. Furthermore,...

  • Page 79

    PROGRAMMING4. INTERPOLATION FUNCTIONSB–62764EN/0158G17 G02.2 X__Y__I__J__R__F__ ;G17 G03.2 X__Y__I__J__R__F__ ;G18 G02.2 Z__X__K__I__R__F__ ;G18 G03.2 Z__X__K__I__R__F__ ;G19 G02.2 Y__Z__J__K__R__F__ ;G19 G03.2 Y__Z__J__K__R__F__ ;Where, G02.2 : Involute interpolation (clockwise)G03.2 : Involut...

  • Page 80

    PROGRAMMINGB–62764EN/014. INTERPOLATION FUNCTIONS59An involute curve on the X–Y plane is defined as follows ;X (θ)=R [cos θ+ (θ-θ0 ) sin θ] +X0Y (θ)=R [sin θ- (θ-θ0 ) cos θ] +Y0where,X0 , Y0 :Coordinates of the center of a base circleR:Base circle radiusθ0: Angle of the start point...

  • Page 81

    PROGRAMMING4. INTERPOLATION FUNCTIONSB–62764EN/0160When only a start point and I, J, and K data are given, two types of involutecurves can be created. One type of involute curve extends towards thebase circle, and the other extends away from the base circle. When thespecified end point is clo...

  • Page 82

    PROGRAMMINGB–62764EN/014. INTERPOLATION FUNCTIONS61The following G codes can be specified in involute interpolation mode:G04 : DwellG10 : Data settingG17 : X–Y plane selectionG18 : Z–X plane selectionG19 : Y–Z plane selectionG65 : Macro callG66 : Macro modal callG67 : Macr...

  • Page 83

    PROGRAMMING4. INTERPOLATION FUNCTIONSB–62764EN/0162Both the start point and end point must be within 100 turns from the pointwhere the involute curve starts. An involute curve can be specified tomake one or more turns in a single block. If the specified start point or end point is beyond 100 ...

  • Page 84

    PROGRAMMINGB–62764EN/014. INTERPOLATION FUNCTIONS63Exponential interpolation exponentially changes the rotation of aworkpiece with respect to movement on the rotary axis. Furthermore,exponential interpolation performs linear interpolation with respect toanother axis. This enables tapered groo...

  • Page 85

    PROGRAMMING4. INTERPOLATION FUNCTIONSB–62764EN/0164Exponential relational expressions for a linear axis and rotary axis aredefined as follows:tan (I)X(θ)=R (e –1) kθtan (I)1A(q)=(–1)w 360 2πθK =⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅tan (J)ω=0/1⋅⋅⋅⋅⋅...

  • Page 86

    PROGRAMMINGB–62764EN/014. INTERPOLATION FUNCTIONS65CAUTIONThe amount for dividing the linear axis for exponentialinterpolation (span value) affects figure precision. However,if an excessively small value is set, the machine may stopduring interpolation. Try to specify an optimal span valuedep...

  • Page 87

    PROGRAMMING4. INTERPOLATION FUNCTIONSB–62764EN/0166kθtan (I)tan (B)Z (θ) = {–U tan (I) } (e–1) +Z (0)(3)2rX (θ) = {–U tan (I) } (e–1) (4)2rkθtan (I)1A (q) = (–1)w 360 2πθK=tan (I)tan (J)X (q), Z (q), A (q): Absolute value on the X–axis, Z–axis, andA–axis from the originr: ...

  • Page 88

    PROGRAMMINGB–62764EN/014. INTERPOLATION FUNCTIONS67Either of two types of machining can be selected, depending on theprogram command.D For those portions where the accuracy of the figure is critical, such asat corners, machining is performed exactly as specified by the programcommand.D For thos...

  • Page 89

    PROGRAMMING4. INTERPOLATION FUNCTIONSB–62764EN/0168When a program approximates a sculptured curve with line segments, thelength of each segment differs between those portions that have mainlya small radius of curvature and those that have mainly a large radius ofcurvature. The length of the li...

  • Page 90

    PROGRAMMINGB–62764EN/014. INTERPOLATION FUNCTIONS69Interpolated by smooth curveInterpolated by smooth curveN17N16N1N2N15N14N13N12N11N10N9N3N4N5N6N7N8Linear interpolationLinear interpolationN17N16N1N2N15N14N13N12N11N10N9N3N4N5N6N7N8Smooth interpolation is performed when all the following conditi...

  • Page 91

    PROGRAMMING4. INTERPOLATION FUNCTIONSB–62764EN/0170Smooth interpolation can be specified only for the X–, Y–, and Z–axesand any axes parallel to these axes (up to three axes at one time).Commands for turning on and off smooth interpolation mode must beexecuted in high–precision contour ...

  • Page 92

    PROGRAMMINGB–62764EN/014. INTERPOLATION FUNCTIONS71In helical interpolation, when pulses are distributed with one of thecircular interpolation axes set to a hypothetical axis, sine interpolation isenabled. When one of the circular interpolation axes is set to a hypothetical axis,pulse distribu...

  • Page 93

    PROGRAMMING4. INTERPOLATION FUNCTIONSB–62764EN/0172The hypothetical axis can be used only in automatic operation. In manualoperation, it is not used, and movement takes place.Specify hypothetical axis interpolation only in the incremental mode.Hypothetical axis interpolation does not support c...

  • Page 94

    PROGRAMMINGB–62764EN/014. INTERPOLATION FUNCTIONS73Straight threads with a constant lead can be cut. The position codermounted on the spindle reads the spindle speed in real–time. The readspindle speed is converted to the feedrate per minute to feed the tool.G33 _ F_ ;PIF : Long axis dire...

  • Page 95

    PROGRAMMING4. INTERPOLATION FUNCTIONSB–62764EN/01741 The spindle speed is limited as follows :1 x spindle speed x Spindle speed : rpmThread lead : mm or inchMaximum feedrate : mm/min or inch/min ; maximum command–specified feedrate forfeed–per–minute mode or maximum feedrate that is deter...

  • Page 96

    PROGRAMMINGB–62764EN/014. INTERPOLATION FUNCTIONS75Linear interpolation can be commanded by specifying axial movefollowing the G31 command, like G01. If an external skip signal is inputduring the execution of this command, execution of the command isinterrupted and the next block is executed.T...

  • Page 97

    PROGRAMMING4. INTERPOLATION FUNCTIONSB–62764EN/0176G31G91X100.0 F100;Y50.0;50.0100.0Skip signal is input hereActual motionMotion without skip signalYXFig.4.13 (a) The next block is an incremental command G31G90X200.00 F100;Y100.0;Y100.0X200.0Skip signal is input hereActual motionMotion without ...

  • Page 98

    PROGRAMMINGB–62764EN/014. INTERPOLATION FUNCTIONS77In a block specifying P1 to P4 after G31, the multistage skip functionstores coordinates in a custom macro variable when a skip signal (4–pointor 8–point ; 8–point when a high–speed skip signal is used) is turned on.Parameters No. 6202 ...

  • Page 99

    PROGRAMMING4. INTERPOLATION FUNCTIONSB–62764EN/0178The skip function operates based on a high–speed skip signal (connecteddirectly to the NC; not via the PMC) instead of an ordinary skip signal.In this case, up to eight signals can be input. Delay and error of skip signal input is 0 – 2 ms...

  • Page 100

    PROGRAMMINGB–62764EN/014. INTERPOLATION FUNCTIONS79The continuous high–speed skip function enables reading of absolutecoordinates by using the high–speed skip signal. Once a high–speed skipsignal has been input in a G31P90 block, absolute coordinates are readinto custom macro variables #...

  • Page 101

    PROGRAMMING5. FEED FUNCTIONSB–62764EN/01805 FEED FUNCTIONS

  • Page 102

    PROGRAMMINGB–62764EN/015. FEED FUNCTIONS81The feed functions control the feedrate of the tool. The following two feedfunctions are available:1. Rapid traverseWhen the positioning command (G00) is specified, the tool moves ata rapid traverse feedrate set in the CNC (parameter No. 1420).2. Cutti...

  • Page 103

    PROGRAMMING5. FEED FUNCTIONSB–62764EN/0182If the direction of movement changes between specified blocks duringcutting feed, a rounded–corner path may result (Fig. 5.1 (b)).0Programmed pathActual tool pathYXFig. 5.1 (b) Example of Tool Path between Two Blocks In circular interpolation, a radi...

  • Page 104

    PROGRAMMINGB–62764EN/015. FEED FUNCTIONS83G00 IP_ ;G00 : G code (group 01) for positioning (rapid traverse) IP_ ; Dimension word for the end pointIPIPThe positioning command (G00) positions the tool by rapid traverse. Inrapid traverse, the next block is executed after the specified feedratebe...

  • Page 105

    PROGRAMMING5. FEED FUNCTIONSB–62764EN/0184Feedrate of linear interpolation (G01), circular interpolation (G02, G03),etc. are commanded with numbers after the F code. In cutting feed, the next block is executed so that the feedrate change fromthe previous block is minimized.Four modes of specif...

  • Page 106

    PROGRAMMINGB–62764EN/015. FEED FUNCTIONS85After specifying G94 (in the feed per minute mode), the amount of feedof the tool per minute is to be directly specified by setting a number afterF. G94 is a modal code. Once a G94 is specified, it is valid until G95 (feedper revolution) is specified....

  • Page 107

    PROGRAMMING5. FEED FUNCTIONSB–62764EN/0186When G93 is specified, the inverse time specification mode (G93 mode)is set. Specify the inverse time (FRN) with an F code.A value from 0.001 to 9999.999 can be specified as FRN, regardless ofwhether the input mode is inches or metric, or the increment...

  • Page 108

    PROGRAMMINGB–62764EN/015. FEED FUNCTIONS87G93 is a modal G code and belongs to group 05 (includes G95 (feed perrevolution) and G94 (feed per minute)).When an F value is specified in G93 mode and the feedrate exceeds themaximum cutting feedrate, the feedrate is clamped to the maximumcutting feed...

  • Page 109

    PROGRAMMING5. FEED FUNCTIONSB–62764EN/0188When a one–digit number from 1 to 9 is specified after F, the feedrateset for that number in a parameter (Nos. 1451 to 1459) is used. WhenF0 is specified, the rapid traverse rate is applied.The feedrate corresponding to the number currently selected ...

  • Page 110

    PROGRAMMINGB–62764EN/015. FEED FUNCTIONS89Cutting feedrate can be controlled, as indicated in Table 5.4(a).Table 5.4(a) Cutting Feedrate ControlFunction nameG codeValidity of G codeDescriptionExact stopG09This function is valid for specifiedblocks only.The tool is decelerated at the end pointo...

  • Page 111

    PROGRAMMING5. FEED FUNCTIONSB–62764EN/0190Exact stopG09 IP_ ;Exact stop modeG61 ;Cutting modeG64 ;Tapping modeG63 ;Automatic corner overrideG62 ;IPThe inter–block paths followed by the tool in the exact stop mode, cuttingmode, and tapping mode are different (Fig. 5.4.1 (a)).0Y(1)(2)Position c...

  • Page 112

    PROGRAMMINGB–62764EN/015. FEED FUNCTIONS91When G62 is specified, and the tool path with cutter compensationapplied forms an inner corner, the feedrate is automatically overriddenat both ends of the corner. There are four types of inner corners (Fig. 5.4.2 (a)).2,xθxθpx178, in Fig. 5.4.2 (a)θ...

  • Page 113

    PROGRAMMING5. FEED FUNCTIONSB–62764EN/0192WARNINGWhen the block before a corner is a start–up block, or theblock after a corner includes G41 or G42, the feedrate is notoverridden. The feedrate override function is disabled whenthe offset value is 0.When a corner is determined to be an inner c...

  • Page 114

    PROGRAMMINGB–62764EN/015. FEED FUNCTIONS93Regarding program (2) of an arc, the feedrate is overridden from point ato point b and from point c to point d (Fig. 5.4.2 (d)).cdaLsLebLsLe(2)Programmed pathCutter center pathToolFig. 5.4.2 (d) Override Range (Straight Line to Arc, Arc to Straight Lin...

  • Page 115

    PROGRAMMING5. FEED FUNCTIONSB–62764EN/0194For internally offset circular cutting, the feedrate on a programmed pathis set to a specified feedrate (F) by specifying the circular cutting feedratewith respect to F, as indicated below (Fig. 5.4.3.(a)). This function isvalid in the cutter compensa...

  • Page 116

    PROGRAMMINGB–62764EN/015. FEED FUNCTIONS95This function automatically controls the feedrate at a corner according tothe corner angle between the machining blocks or the feedrate differencebetween the blocks along each axis.This function is effective when ACD, bit 6 of parameter No. 1601, is set...

  • Page 117

    PROGRAMMING5. FEED FUNCTIONSB–62764EN/0196When the corner angle is smaller than the angle specified in theparameter, the relationship between the feedrate and time is as shownbelow. Although accumulated pulses equivalent to the hatched arearemain at time t, the next block is executed because t...

  • Page 118

    PROGRAMMINGB–62764EN/015. FEED FUNCTIONS971. Between linear movementsθθθθ2. Between linear and circular movements(angle between the linear movement and tangent to the circular movement)3. Between circular movements(angle between the tangents to the circular movements)The machining angle ...

  • Page 119

    PROGRAMMING5. FEED FUNCTIONSB–62764EN/0198This function decelerates the feedrate when the difference between thefeedrates at the end point of block A and the start point of block B alongeach axis is larger than the value specified in parameter No. 1781. Thefunction executes block B when the fe...

  • Page 120

    PROGRAMMINGB–62764EN/015. FEED FUNCTIONS99When acceleration/deceleration before interpolation is effective, therelationship between the feedrate and time is as described below. When the feedrate difference between blocks A and B along each axis islarger than the value specified in parameter No....

  • Page 121

    PROGRAMMING5. FEED FUNCTIONSB–62764EN/01100N1N2tF*Rmax1Vc [Y]VmaxVc [X]VmaxVmaxFeedrate alongthe X–axisWithout corner decelerationWith corner decelerationFeedrate alongthe Y–axisFeedrate alongthe tangentat the cornerThe allowable feedrate difference can be specified for each axis inparamete...

  • Page 122

    PROGRAMMINGB–62764EN/015. FEED FUNCTIONS101Parameters related to automatic corner deceleration in look–aheadcontrol mode are shown below.Parameter descriptionNormal modeLook–ahead control modeSwitching the methods for automatic cornerdecelerationNo.1602#4No.1602#4Allowable feedrate differen...

  • Page 123

    PROGRAMMING5. FEED FUNCTIONSB–62764EN/01102DwellG04 X_ ; or G04 P_ ; X_ : Specify a time (decimal point permitted) P_ : Specify a time (decimal point not permitted)By specifying a dwell, the execution of the next block is delayed by thespecified time. In addition, a dwell can be specified to ma...

  • Page 124

    PROGRAMMINGB–62764EN/016. REFERENCE POSITION1036 REFERENCE POSITIONThe reference position is a fixed position on a machine tool to which thetool can easily be moved by the reference position return function.For example, the reference position is used as a position at which toolsare automaticall...

  • Page 125

    PROGRAMMING6. REFERENCE POSITIONB–62764EN/01104Tools are automatically moved to the reference position via anintermediate position along a specified axis. Or, tools are automaticallymoved from the reference position to a specified position via anintermediate position along a specified axis. W...

  • Page 126

    PROGRAMMINGB–62764EN/016. REFERENCE POSITION105Positioning to the intermediate or reference positions are performed at therapid traverse rate of each axis.Therefore, for safety, the cutter compensation, and tool lengthcompensation should be cancelled before executing this command.The coordinate...

  • Page 127

    PROGRAMMING6. REFERENCE POSITIONB–62764EN/01106NOTE1 To this feedrate, a rapid traverse override (F0 ,25,50,100%)is applied, for which the setting is 100%.2 After a machine coordinate system has been establishedupon the completion of reference position return, theautomatic reference position re...

  • Page 128

    PROGRAMMINGB–62764EN/016. REFERENCE POSITION107The lamp for indicating the completion of return does not go on when themachine lock is turned on, even when the tool has automatically returnedto the reference position. In this case, it is not checked whether the toolhas returned to the referenc...

  • Page 129

    PROGRAMMING7. FLOATING REFERENCE POSITION RETURN (G30.1)B–62764EN/011087 FLOATING REFERENCE POSITION RETURN (G30.1)Tools ca be returned to the floating reference position.A floating reference point is a position on a machine tool, and serves asa reference point for machine tool operation. A f...

  • Page 130

    PROGRAMMINGB–62764EN/017. FLOATING REFERENCE POSITIONRETURN (G30.1)109YXWorkpieceIntermediate position (50,40)Floating reference positionG30.1 G90 X50.0 Y40.0 ;Examples

  • Page 131

    PROGRAMMING8. COORDINATE SYSTEMB–62764EN/011108 COORDINATE SYSTEMBy teaching the CNC a desired tool position, the tool can be moved to theposition. Such a tool position is represented by coordinates in acoordinate system. Coordinates are specified using program axes.When three program axes, t...

  • Page 132

    PROGRAMMINGB–62764EN/018. COORDINATE SYSTEM111The point that is specific to a machine and serves as the reference of themachine is referred to as the machine zero point. A machine tool buildersets a machine zero point for each machine.A coordinate system with a machine zero point set as its or...

  • Page 133

    PROGRAMMING8. COORDINATE SYSTEMB–62764EN/01112A coordinate system used for machining a workpiece is referred to as aworkpiece coordinate system. A workpiece coordinate system is to be setwith the CNC beforehand (setting a workpiece coordinate system).A machining program sets a workpiece coordi...

  • Page 134

    PROGRAMMINGB–62764EN/018. COORDINATE SYSTEM113The user can choose from set workpiece coordinate systems as describedbelow. (For information about the methods of setting, see II– 8.2.1.)(1) Once a workpiece coordinate system is selected by G92 or automaticworkpiece coordinate system setting, ...

  • Page 135

    PROGRAMMING8. COORDINATE SYSTEMB–62764EN/01114The six workpiece coordinate systems specified with G54 to G59 canbe changed by changing an external workpiece zero point offset valueor workpiece zero point offset value. Three methods are available to change an external workpiece zeropoint offset...

  • Page 136

    PROGRAMMINGB–62764EN/018. COORDINATE SYSTEM115With the G10 command, each workpiece coordinate system can bechanged separately.By specifying G92IP_;, a workpiece coordinate system (selected with acode from G54 to G59) is shifted to set a new workpiece coordinatesystem so that the current tool po...

  • Page 137

    PROGRAMMING8. COORDINATE SYSTEMB–62764EN/01116XXYYA160100100100200If G92X100Y100; is commanded when the toolis positioned at (200, 160) in G54 mode, work-piece coordinate system 1 (X’ – Y’) shifted byvector A is created.60G54 workpiece coordinate systemTool positionNew workpiece coordinat...

  • Page 138

    PROGRAMMINGB–62764EN/018. COORDINATE SYSTEM117The workpiece coordinate system preset function presets a workpiececoordinate system shifted by manual intervention to the pre–shiftworkpiece coordinate system. The latter system is displaced from themachine zero point by a workpiece zero point o...

  • Page 139

    PROGRAMMING8. COORDINATE SYSTEMB–62764EN/01118(a) Manual intervention performed when the manual absolute signal is off(b) Move command executed in the machine lock state(c) Movement by handle interrupt(d) Operation using the mirror image function (e) Setting the local coordinate system using G5...

  • Page 140

    PROGRAMMINGB–62764EN/018. COORDINATE SYSTEM119Besides the six workpiece coordinate systems (standard workpiececoordinate systems) selectable with G54 to G59, 48 additional workpiececoordinate systems (additional workpiece coordinate systems) can beused. Alternatively, up to 300 additional work...

  • Page 141

    PROGRAMMING8. COORDINATE SYSTEMB–62764EN/01120(3) A custom macro allows a workpiece zero point offset value to behandled as a system variable.(4) Workpiece zero point offset data can be entered or output as externaldata.(5) The PMC window function enables workpiece zero point offset datato be r...

  • Page 142

    PROGRAMMINGB–62764EN/018. COORDINATE SYSTEM121When a program is created in a workpiece coordinate system, a childworkpiece coordinate system can be set for easier programming. Such achild coordinate system is referred to as a local coordinate system.G52 IP _; Setting the local coordinate syst...

  • Page 143

    PROGRAMMING8. COORDINATE SYSTEMB–62764EN/01122WARNING1 When an axis returns to the reference point by the manual reference point return function,thezero 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 iss...

  • Page 144

    PROGRAMMINGB–62764EN/018. COORDINATE SYSTEM123Select the planes for circular interpolation, cutter compensation, anddrilling by G–code. The following table lists G–codes and the planes selected by them.Table 8.4 Plane selected by G codeG codeSelectedplaneXpYpZpG17Xp Yp planeX–axis or a...

  • Page 145

    PROGRAMMING9. COORDINATE VALUE AND DIMENSIONB–62764EN/011249 COORDINATE VALUE AND DIMENSIONThis chapter contains the following topics.9.1 ABSOLUTE AND INCREMENTAL PROGRAMMING (G90, G91)9.2 POLAR COORDINATE COMMAND (G15, G16)9.3 INCH/METRIC CONVERSION (G20, G21)9.4 DECIMAL POINT PROGRAMMING

  • Page 146

    PROGRAMMINGB–62764EN/019. COORDINATE VALUEAND DIMENSION125There are two ways to command travels of the tool; the absolutecommand, and the incremental command. In the absolute command,coordinate value of the end position is programmed; in the incrementalcommand, move distance of the position its...

  • Page 147

    PROGRAMMING9. COORDINATE VALUE AND DIMENSIONB–62764EN/01126The end point coordinate value can be input in polar coordinates (radiusand angle). The plus direction of the angle is counterclockwise of the selected planefirst axis + direction, and the minus direction is clockwise.Both radius and ...

  • Page 148

    PROGRAMMINGB–62764EN/019. COORDINATE VALUEAND DIMENSION127Specify the radius (the distance between the current position and thepoint) to be programmed with an incremental command. The currentposition is set as the origin of the polar coordinate system.RadiusCommand positionActual positionAngle...

  • Page 149

    PROGRAMMING9. COORDINATE VALUE AND DIMENSIONB–62764EN/01128N5 G15 G80 ;Canceling the polar coordinate commandIn the polar coordinate mode, specify a radius for circular interpolationor helical cutting (G02, G03) with R.Axes specified for the following commands are not considered part of thepo...

  • Page 150

    PROGRAMMINGB–62764EN/019. COORDINATE VALUEAND DIMENSION129Either inch or metric input can be selected by G code.G20 ;G21 ;Inch inputmm inputThis G code must be specified in an independent block before setting thecoordinate system at the beginning of the program. After the G code forinch/metric...

  • Page 151

    PROGRAMMING9. COORDINATE VALUE AND DIMENSIONB–62764EN/01130Numerical values can be entered with a decimal point. A decimal pointcan be used when entering a distance, time, or speed. Decimal points canbe specified with the following addresses:X, Y, Z, U, V, W, A, B, C, I, J, K, Q, R, and F.T...

  • Page 152

    PROGRAMMINGB–62764EN/0110. SPINDLE SPEED FUNCTION (S FUNCTION)13110 SPINDLE SPEED FUNCTION (S FUNCTION)The spindle speed can be controlled by specifying a value followingaddress S.This chapter contains the following topics.10.1 SPECIFYING THE SPINDLE SPEED WITH A CODE10.2 SPECIFYING THE SPINDLE...

  • Page 153

    PROGRAMMING10. SPINDLE SPEED FUNCTION (S FUNCTION)B–62764EN/01132When a value is specified after address S, the code signal and strobe signalare sent to the machine to control the spindle rotation speed.A block can contain only one S code. Refer to the appropriate manualprovided by the machine...

  • Page 154

    PROGRAMMINGB–62764EN/0110. SPINDLE SPEED FUNCTION (S FUNCTION)133Specify the surface speed (relative speed between the tool and workpiece)following S. The spindle is rotated so that the surface speed is constantregardless of the position of the tool.G96 Sfffff ;↑ Surface speed (m/min or feet...

  • Page 155

    PROGRAMMING10. SPINDLE SPEED FUNCTION (S FUNCTION)B–62764EN/01134G96 (constant surface speed control command) is a modal G code. Aftera G96 command is specified, the program enters the constant surfacespeed control mode (G96 mode) and specified S values are assumed as asurface speed. A G96 co...

  • Page 156

    PROGRAMMINGB–62764EN/0110. SPINDLE SPEED FUNCTION (S FUNCTION)135G96 modeG97 modeSpecify the surface speed in m/min (or feet/min)G97 commandStore the surface speed in m/min (or feet/min)Command forthe spindlespeedSpecifiedThe specifiedspindle speed(rpm) is usedNot specifiedThe surface speed (m/...

  • Page 157

    PROGRAMMING10. SPINDLE SPEED FUNCTION (S FUNCTION)B–62764EN/01136With this function, an overheat alarm (No. 704) is raised when the spindlespeed deviates from the specified speed due to machine conditions.This function is useful, for example, for preventing the seizure of theguide bushing.G26 e...

  • Page 158

    PROGRAMMINGB–62764EN/0110. SPINDLE SPEED FUNCTION (S FUNCTION)137The fluctuation of the spindle speed is detected as follows:1. When an alarm is issued after a specified spindle speed is reachedSpindle speedCheckCheckNo checkrrqqddSpecification of another speedStart of checkAlarmTimeSpecified s...

  • Page 159

    PROGRAMMING10. SPINDLE SPEED FUNCTION (S FUNCTION)B–62764EN/01138NOTE1 When an alarm is issued in automatic operation, a singleblock stop occurs. The spindle overheat alarm is indicatedon the CRT screen, and the alarm signal “SPAL” is output(set to 1 for the presence of an alarm). This si...

  • Page 160

    PROGRAMMINGB–62764EN/0111. TOOL FUNCTION (T FUNCTION)13911 TOOL FUNCTION (T FUNCTION)Two tool functions are available. One is the tool selection function, andthe other is the tool life management function.General

  • Page 161

    PROGRAMMING11.TOOL FUNCTION (T FUNCTION)B–62764EN/01140By specifying an up to 8–digit numerical value following address T, toolscan be selected on the machine.One T code can be commanded in a block. Refer to the machine toolbuilder’s manual for the number of digits commandable with address...

  • Page 162

    PROGRAMMINGB–62764EN/0111. TOOL FUNCTION (T FUNCTION)141Tools are classified into various groups, with the tool life (time orfrequency of use) for each group being specified. The function ofaccumulating the tool life of each group in use and selecting and usingthe next tool previously sequen...

  • Page 163

    PROGRAMMING11.TOOL FUNCTION (T FUNCTION)B–62764EN/01142Tool life management data consists of tool group numbers, tool numbers,codes specifying tool compensation values, and tool life value.The Max. number of groups and the number of tools per group that canbe registered are set by parameter (GS...

  • Page 164

    PROGRAMMINGB–62764EN/0111. TOOL FUNCTION (T FUNCTION)143In a program, tool life management data can be registered in the CNC unit,and registered tool life management data can be changed or deleted.A different program format is used for each of the four types of operationsdescribed below.After a...

  • Page 165

    PROGRAMMING11.TOOL FUNCTION (T FUNCTION)B–62764EN/01144G10L3 ;PL ;T HD ;T HD ;PL ;T HD ;T HD ;G11 ;M02 (M30) ;G10L3 :Register with deleting all groupsP:Group numberL:Life valueT:Tool numberH:Code specifying tool offset value (H code)D:Code specifying tool offset value (D code)G11:End of regis...

  • Page 166

    PROGRAMMINGB–62764EN/0111. TOOL FUNCTION (T FUNCTION)145G10L3 orG10L3P1);PL Q ;T HD ;T HD ;PL Q ;T HD ;T HD ;G11 ;M02 (M30) ;⋅⋅Q_ : Life count type (1:Frequency, 2:Time)Meaning of commandFormatD Setting a tool life couttype for groupsCAUTIONWhen the Q command is omitted, the value set in...

  • Page 167

    PROGRAMMING11. TOOL FUNCTION (T FUNCTION)B–62764EN/01146The following command is used for tool life management:Toooo; Specifies a tool group number.The tool life management function selects, from a specified group, atool whose life has not expired, and outputs its T code. In oooo,specify a num...

  • Page 168

    PROGRAMMINGB–62764EN/0111. TOOL FUNCTION (T FUNCTION)147For tool life management, the four tool change types indicated below areavailable. The type used varies from one machine to another. For details,refer to the appropriate manual of each machinde tool builder.Table 11.2.3 Tool Change TypeToo...

  • Page 169

    PROGRAMMING11. TOOL FUNCTION (T FUNCTION)B–62764EN/01148Suppose that the tool life management ignore number is 100.T101;A tool whose life has not expired is selected from group 1.(Suppose that tool number 010 is selected.)M06T102;Tool life counting is performed for the tool in group 1.(The life...

  • Page 170

    PROGRAMMINGB–62764EN/0111. TOOL FUNCTION (T FUNCTION)149The life of a tool is specified by a usage frequency (count) or usage time(in minutes).The usage count is incremented by 1 for each tool used in a program.In other words, the usage count is incremented by 1 only when the firsttool group nu...

  • Page 171

    PROGRAMMING12. AUXILIARY FUNCTIONB–62764EN/0115012 AUXILIARY FUNCTIONThere are two types of auxiliary functions ; miscellaneous function (Mcode) for specifying spindle start, spindle stop program end, and so on,and secondary auxiliary function (B code ) for specifying index tablepositioning.Whe...

  • Page 172

    PROGRAMMINGB–62764EN/0112. AUXILIARY FUNCTION151When a numeral is specified following address M, code signal and astrobe signal are sent to the machine. The machine uses these signals toturn on or off its functions.Usually, only one M code can be specified in one block. In some cases,however, u...

  • Page 173

    PROGRAMMING12. AUXILIARY FUNCTIONB–62764EN/01152In general, only one M code can be specified in a block. However, up tothree M codes can be specified at once in a block by setting bit 7 (M3B)of parameter No. 3404 to 1. Up to three M codes specified in a block aresimultaneously output to the m...

  • Page 174

    PROGRAMMINGB–62764EN/0112. AUXILIARY FUNCTION153The M code group check function checks if a combination of multiple Mcodes (up to three M codes) contained in a block is correct.This function has two purposes. One is to detect if any of the multiple Mcodes specified in a block include an M code...

  • Page 175

    PROGRAMMING12. AUXILIARY FUNCTIONB–62764EN/01154Indexing of the table is performed by address B and a following 8–digitnumber. The relationship between B codes and the correspondingindexing differs between machine tool builders.Refer to the manual issued by the machine tool builder for detai...

  • Page 176

    PROGRAMMINGB–62764EN/0113. PROGRAM CONFIGURATION15513 PROGRAM CONFIGURATIONThere are two program types, main program and subprogram. Normally,the CNC operates according to the main program. However, when acommand calling a subprogram is encountered in the main program,control is passed to the...

  • Page 177

    PROGRAMMING13. PROGRAM CONFIGURATIONB–62764EN/01156A program consists of the following components:Table 13(a) Program componentsComponentsDescriptionsTape startSymbol indicating the start of a program fileLeader sectionUsed for the title of a program file, etc.Program startSymbol indicating th...

  • Page 178

    PROGRAMMINGB–62764EN/0113. PROGRAM CONFIGURATION157This section describes program components other than program sections.See II–13.2 for a program section.%TITLE;O0001 ;M30 ;%(COMMENT)Tape startProgram sectionLeader sectionProgram startComment sectionTape endFig. 13.1(a) Program configuratio...

  • Page 179

    PROGRAMMING13. PROGRAM CONFIGURATIONB–62764EN/01158NOTEIf one file contains multiple programs, the EOB code forlabel skip operation must not appear before a second orsubsequent program number.Any information enclosed by the control–out and control–in codes isregarded as a comment.The user c...

  • Page 180

    PROGRAMMINGB–62764EN/0113. PROGRAM CONFIGURATION159A tape end is to be placed at the end of a file containing NC programs.If programs are entered using the automatic programming system, themark need not be entered. The mark is not displayed on the CRT display screen. However, when afile is outp...

  • Page 181

    PROGRAMMING13. PROGRAM CONFIGURATIONB–62764EN/01160This section describes elements of a program section. See II–13.1 forprogram components other than program sections.%(COMMENT)%TITLE;O0001 ;N1 … ;M30 ;Program sectionComment sectionProgram numberSequence numberProgram endFig. 13.2(a) Pr...

  • Page 182

    PROGRAMMINGB–62764EN/0113. PROGRAM CONFIGURATION161A program consists of several commands. One command unit is called ablock. One block is separated from another with an EOB of end of blockcode. Table 13.2(a) EOB codeNameISOcodeEIAcodeNotation in thismanualEnd of block (EOB)LFCR;A...

  • Page 183

    PROGRAMMING13. PROGRAM CONFIGURATIONB–62764EN/01162A block consists of one or more words. A word consists of an addressfollowed by a number some digits long. (The plus sign (+) or minus sign(–) may be prefixed to a number.)Word = Address + number (Example : X–1000)For an address, one of th...

  • Page 184

    PROGRAMMINGB–62764EN/0113. PROGRAM CONFIGURATION163Major addresses and the ranges of values specified for the addresses areshown below. Note that these figures represent limits on the CNC side,which are totally different from limits on the machine tool side. Forexample, the CNC allows a tool to...

  • Page 185

    PROGRAMMING13. PROGRAM CONFIGURATIONB–62764EN/01164When a slash followed by a number (/n (n=1 to 9)) is specified at the headof a block, and optional block skip switch n on the machine operator panelis set to on, the information contained in the block for which /ncorresponding to switch number ...

  • Page 186

    PROGRAMMINGB–62764EN/0113. PROGRAM CONFIGURATION165The end of a program is indicated by programming one of the followingcodes at the end of the program:Table 13.2(d) Code of a program endCodeMeaning usageM02For main programM30M99For subprogramIf one of the program end codes is executed in progr...

  • Page 187

    PROGRAMMING13. PROGRAM CONFIGURATIONB–62764EN/01166If a program contains a fixed sequence or frequently repeated pattern, sucha sequence or pattern can be stored as a subprogram in memory to simplifythe program.A subprogram can be called from the main program. A called subprogram can also call ...

  • Page 188

    PROGRAMMINGB–62764EN/0113. PROGRAM CONFIGURATION167NOTE1 The M98 and M99 code signal and strobe signal are notoutput to the machine tool.2 If the subprogram number specified by address P cannot befound, an alarm (No. 078) is output.l M98 P51002 ;l X1000.0 M98 P1200 ;l Execution sequence of subp...

  • Page 189

    PROGRAMMING13. PROGRAM CONFIGURATIONB–62764EN/01168If P is used to specify a sequence number when a subprogram isterminated, control does not return to the block after the calling block, butreturns to the block with the sequence number specified by P. Note,however, that P is ignored if the mai...

  • Page 190

    PROGRAMMINGB–62764EN/0113. PROGRAM CONFIGURATION169A subprogram can be executed just like a main program by searching forthe start of the subprogram with the MDI.(See III–9.3 for information about search operation.)In this case, if a block containing M99 is executed, control returns to thesta...

  • Page 191

    PROGRAMMING13. PROGRAM CONFIGURATIONB–62764EN/01170The 8–digit program number function enables specification of programnumbers with eight digits following address O (O00000001 toO99999999).Editing of subprograms O00008000 to O00008999, O00009000 toO00009999, O80000000 to O89999999, and O90000...

  • Page 192

    PROGRAMMINGB–62764EN/0113. PROGRAM CONFIGURATION1712) Macro call using M codeParameter used tospecify M codeProgram numberspecify M codeWhen SPPR = 0When SPPR = 1No.6080No.6081No.6082No.6083No.6084No.6085No.6086No.6087No.6088No.6089O00009020O00009021O00009022O00009023O00009024O00009025O00009026...

  • Page 193

    PROGRAMMING13. PROGRAM CONFIGURATIONB–62764EN/011726) Pattern data functionProgram numaberWhen SPPR = 0When SPPR = 1O00009500O00009501O00009502O00009503O00009504O00009505O00009506O00009507O00009508O00009509O00009510O90009500O90009501O90009502O90009503O90009504O90009505O90009506O90009507O900095...

  • Page 194

    PROGRAMMINGB–62764EN/0114. FUNCTIONS TO SIMPLIFY PROGRAMMING17314 FUNCTIONS TO SIMPLIFY PROGRAMMINGThis chapter explains the following items:14.1CANNED CYCLE14.2RIGID TAPPING14.3CANNED GRINDING CYCLE (FOR GRINDING MACHINE)14.4GRINDING WHEEL WEAR COMPENSATION BY CONTINUOUS DRESSING (FOR GRINDING...

  • Page 195

    PROGRAMMING14. FUNCTIONS TO SIMPLIFY PROGRAMMINGB–62764EN/01174Canned cycles make it easier for the programmer to create programs.With a canned cycle, a frequently–used machining operation can bespecified in a single block with a G function; without canned cycles,normally more than one b...

  • Page 196

    PROGRAMMINGB–62764EN/0114. FUNCTIONS TO SIMPLIFY PROGRAMMING175A canned cycle consists of a sequence of six operations (Fig. 14.1 (a))Operation 1 Positioning of axes X and Y(including also another axis)Operation 2 Rapid traverse up to point R levelOperation 3 Hole machiningOperation 4 Operation...

  • Page 197

    PROGRAMMING14. FUNCTIONS TO SIMPLIFY PROGRAMMINGB–62764EN/01176Assume that the U, V and W axes be parallel to the X, Y, and Z axesrespectively. This condition is specified by parameter No. 1022.G17 G81 ………Z _ _ : The Z axis is used for drilling.G17 G81 ………W _ _ : The W axis ...

  • Page 198

    PROGRAMMINGB–62764EN/0114. FUNCTIONS TO SIMPLIFY PROGRAMMING177When the tool reaches the bottom of a hole, the tool may be returned topoint R or to the initial level. These operations are specified with G98 andG99. The following illustrates how the tool moves when G98 or G99 isspecified. Gen...

  • Page 199

    PROGRAMMING14. FUNCTIONS TO SIMPLIFY PROGRAMMINGB–62764EN/01178This cycle performs high–speed peck drilling. It performs intermittentcutting feed to the bottom of a hole while removing chips from the hole.G73 (G98)G73 (G99)G73 X_ Y_ Z_ R_ Q_ F_ K_ ;X_ Y_ : Hole position dataZ_ : The dis...

  • Page 200

    PROGRAMMINGB–62764EN/0114. FUNCTIONS TO SIMPLIFY PROGRAMMING179The high–speed peck drilling cycle performs intermittent feeding alongthe Z–axis. When this cycle is used, chips can be removed from the holeeasily, and a smaller value can be set for retraction. This allows, drillingto be per...

  • Page 201

    PROGRAMMING14. FUNCTIONS TO SIMPLIFY PROGRAMMINGB–62764EN/01180This cycle performs left–handed tapping. In the left–handed tappingcycle, when the bottom of the hole has been reached, the spindle rotatesclockwise.G74 (G98)G74 (G99)G74 X_ Y_ Z_ R_P_ F_ K_ ;X_ Y_ : Hole position dataZ_ :...

  • Page 202

    PROGRAMMINGB–62764EN/0114. FUNCTIONS TO SIMPLIFY PROGRAMMING181Before the drilling axis can be changed, the canned cycle must becanceled.In a block that does not contain X, Y, Z, R, or any other axes, drilling isnot performed.Specify R in blocks that perform drilling. If it is specified in a ...

  • Page 203

    PROGRAMMING14. FUNCTIONS TO SIMPLIFY PROGRAMMINGB–62764EN/01182The fine boring cycle bores a hole precisely. When the bottom of the holehas been reached, the spindle stops, and the tool is moved away from themachined surface of the workpiece and retracted.G76 (G98)G76 (G99)G76 X_ Y_ Z_ R_...

  • Page 204

    PROGRAMMINGB–62764EN/0114. FUNCTIONS TO SIMPLIFY PROGRAMMING183When the bottom of the hole has been reached, the spindle is stopped atthe fixed rotation position, and the tool is moved in the direction oppositeto the tool tip and retracted. This ensures that the machined surface is notdamaged ...

  • Page 205

    PROGRAMMING14. FUNCTIONS TO SIMPLIFY PROGRAMMINGB–62764EN/01184This cycle is used for normal drilling. Cutting feed is performed to thebottom of the hole. The tool is then retracted from the bottom of the holein rapid traverse.G81 (G98)G81 (G99)G81 X_ Y_ Z_ R_ F_ K_ ;X_ Y_ : Hole positio...

  • Page 206

    PROGRAMMINGB–62764EN/0114. FUNCTIONS TO SIMPLIFY PROGRAMMING185Before the drilling axis can be changed, the canned cycle must becanceled.In a block that does not contain X, Y, Z, R, or any other axes, drilling isnot performed.Specify R in blocks that perform drilling. If it is specified in a b...

  • Page 207

    PROGRAMMING14. FUNCTIONS TO SIMPLIFY PROGRAMMINGB–62764EN/01186This cycle is used for normal drilling. Cutting feed is performed to the bottom of the hole. At the bottom, a dwellis performed, then the tool is retracted in rapid traverse. This cycle is used to drill holes more accurately...

  • Page 208

    PROGRAMMINGB–62764EN/0114. FUNCTIONS TO SIMPLIFY PROGRAMMING187Before the drilling axis can be changed, the canned cycle must becanceled.In a block that does not contain X, Y, Z, R, or any other axes, drilling isnot performed.Specify R in blocks that perform drilling. If it is specified in a b...

  • Page 209

    PROGRAMMING14. FUNCTIONS TO SIMPLIFY PROGRAMMINGB–62764EN/01188This cycle performs peck drilling. It performs intermittent cutting feed to the bottom of a hole whileremoving shavings from the hole.G83 (G98)G83 (G99)G83 X_ Y_ Z_ R_ Q_ F_ K_ ;X_ Y_ : Hole position dataZ_ : The distance from ...

  • Page 210

    PROGRAMMINGB–62764EN/0114. FUNCTIONS TO SIMPLIFY PROGRAMMING189Before the drilling axis can be changed, the canned cycle must becanceled.In a block that does not contain X, Y, Z, R, or any other axes, drilling isnot performed.Specify Q and R in blocks that perform drilling. If they are specifi...

  • Page 211

    PROGRAMMING14. FUNCTIONS TO SIMPLIFY PROGRAMMINGB–62764EN/01190An arbor with the overload torque detection function is used to retract thetool when the overload torque detection signal (skip signal) is detectedduring drilling. Drilling is resumed after the spindle speed and cuttingfeedrat...

  • Page 212

    PROGRAMMINGB–62764EN/0114. FUNCTIONS TO SIMPLIFY PROGRAMMING191*Positioning along the X–axis and Y–axis*Positioning at point R along the Z–axis*Drilling along the Z–axis (first drilling, depth of cut Q, incremental)Retraction (bottom of the hole → small clearance ∆, incremental)Ret...

  • Page 213

    PROGRAMMING14. FUNCTIONS TO SIMPLIFY PROGRAMMINGB–62764EN/01192In a single G83 cycle, drilling conditions are changed for each drillingoperation (advance → drilling → retraction). Bits 1 and 2 of parameterOLS, NOL No. 5160 can be specified to suppress the change in drillingconditions....

  • Page 214

    PROGRAMMINGB–62764EN/0114. FUNCTIONS TO SIMPLIFY PROGRAMMING193The forward or backward traveling speed can be specified with addressI in the same format as address F, as shown below:G83 I1000 ; → 1000 mm/minG83 I1000. ; → 1000 mm/minAddress I specified with G83 in the continuous–state mod...

  • Page 215

    PROGRAMMING14. FUNCTIONS TO SIMPLIFY PROGRAMMINGB–62764EN/01194N01M03 S___ ;N02Mjj ;N03G83 X_ Y_ Z_ R_ Q_ F_ I_ K_ P_ ; N04X_ Y_ ;::N10G80 ;<Description of each block>N01: Specifies forward spindle rotation and spindle speed.N02: Specifies the M code to execute G83 as the small–hol...

  • Page 216

    PROGRAMMINGB–62764EN/0114. FUNCTIONS TO SIMPLIFY PROGRAMMING195Tapping is performed by rotating the spindle clockwise. When the bottomof the hole has been reached, the spindle is rotated in the reverse directionfor retraction. This operation creates threads.Feedrate overrides are ignored duri...

  • Page 217

    PROGRAMMING14. FUNCTIONS TO SIMPLIFY PROGRAMMINGB–62764EN/01196This cycle is used to bore a hole.G85 (G98)G85 (G99)G85 X_ Y_ Z_ R_ F_ K_ ;X_ Y_ : Hole position dataZ_ : The distance from point R to the bottom of the holeR_ : The distance from the initial level to point R levelF_ : Cutting ...

  • Page 218

    PROGRAMMINGB–62764EN/0114. FUNCTIONS TO SIMPLIFY PROGRAMMING197Before the drilling axis can be changed, the canned cycle must becanceled.In a block that does not contain X, Y, Z, R, or any other axes, drilling isnot performed.Specify R in blocks that perform drilling. If it is specified in a b...

  • Page 219

    PROGRAMMING14. FUNCTIONS TO SIMPLIFY PROGRAMMINGB–62764EN/01198This cycle is used to bore a hole.G86 (G98)G86 (G99)G86 X_ Y_ Z_ R_ F_ K_ ;X_ Y_ : Hole position dataZ_ : The distance from point R to the bottom of the holeR_ : The distance from the initial level to point R levelF_ : Cutting ...

  • Page 220

    PROGRAMMINGB–62764EN/0114. FUNCTIONS TO SIMPLIFY PROGRAMMING199Before the drilling axis can be changed, the canned cycle must becanceled.In a block that does not contain X, Y, Z, R, or any other axes, drilling isnot performed.Specify R in blocks that perform drilling. If it is specified in a b...

  • Page 221

    PROGRAMMING14. FUNCTIONS TO SIMPLIFY PROGRAMMINGB–62764EN/01200This cycle performs accurate boring.G87 (G98)G87 (G99)G87 X_ Y_ Z_ R_ Q_ P_ F_ K_ ;X_ Y_ : Hole position dataZ_ : The distance from the bottom of the hole to point ZR_ : The distance from the initial level to point R (the botto...

  • Page 222

    PROGRAMMINGB–62764EN/0114. FUNCTIONS TO SIMPLIFY PROGRAMMING201After positioning along the X– and Y–axes, the spindle is stopped at thefixed rotation position. The tool is moved in the direction opposite to thetool tip, positioning (rapid traverse) is performed to the bottom of the hole(po...

  • Page 223

    PROGRAMMING14. FUNCTIONS TO SIMPLIFY PROGRAMMINGB–62764EN/01202This cycle is used to bore a hole.G88 (G98)G88 (G99)G88 X_ Y_ Z_ R_ P_ F_ K_ ;X_ Y_ : Hole position dataZ_ : The distance from point R to the bottom of the holeR_ : The distance from the initial level to point R levelP_ : Dwell...

  • Page 224

    PROGRAMMINGB–62764EN/0114. FUNCTIONS TO SIMPLIFY PROGRAMMING203Before the drilling axis can be changed, the canned cycle must becanceled.In a block that does not contain X, Y, Z, R, or any other axes, drilling isnot performed.Specify R in blocks that perform drilling. If it is specified in a b...

  • Page 225

    PROGRAMMING14. FUNCTIONS TO SIMPLIFY PROGRAMMINGB–62764EN/01204This cycle is used to bore a hole.G89 (G98)G89 (G99)G89 X_ Y_ Z_ R_ P_ F_ K_ ;X_ Y_ : Hole position dataZ_ : The distance from point R to the bottom of the holeR_ : The distance from the initial level to point R levelP_ : Dwell...

  • Page 226

    PROGRAMMINGB–62764EN/0114. FUNCTIONS TO SIMPLIFY PROGRAMMING205Before the drilling axis can be changed, the canned cycle must becanceled.In a block that does not contain X, Y, Z, R, or any other axes, drilling isnot performed.Specify R in blocks that perform drilling. If it is specified in a b...

  • Page 227

    PROGRAMMING14. FUNCTIONS TO SIMPLIFY PROGRAMMINGB–62764EN/01206G80 cancels canned cycles.G80 ;All canned cycles are canceled to perform normal operation. Point R andpoint Z are cleared. This means that R = 0 and Z = 0 in incremental mode.Other drilling data is also canceled (cleared).M3 ...

  • Page 228

    PROGRAMMINGB–62764EN/0114. FUNCTIONS TO SIMPLIFY PROGRAMMING207400150250250150YXXZT 11T 15T 31#1#11#7#3#2#8#13#12#10#9#6#5#4# 11 to 16 Drilling of a 10mm diameter hole# 17 to 10 Drilling of a 20mm diameter hole# 11 to 13 Boring of a 95mm diameter hole(depth 50 mm)190200150250100100100100350200R...

  • Page 229

    PROGRAMMING14. FUNCTIONS TO SIMPLIFY PROGRAMMINGB–62764EN/01208Offset value +200.0 is set in offset No.11, +190.0 is set in offset No.15, and +150.0 is set in offset No.31Program example;N001G92X0Y0Z0;Coordinate setting at reference positionN002G90 G00 Z250.0 T11 M6;Tool changeN003G43 ...

  • Page 230

    PROGRAMMINGB–62764EN/0114. FUNCTIONS TO SIMPLIFY PROGRAMMING209The tapping cycle (G84) and left–handed tapping cycle (G74) may beperformed in standard mode or rigid tapping mode. In standard mode, the spindle is rotated and stopped along with amovement along the tapping axis using miscellane...

  • Page 231

    PROGRAMMING14. FUNCTIONS TO SIMPLIFYPROGRAMMINGB–62764EN/01210When the spindle motor is controlled in rigid mode as if it were a servomotor, a tapping cycle can be sped up.G84(G98)G84(G99)G84 X_ Y_ Z_ R_ P_ F_ K_ ;X_ Y_ : Hole position dataZ_ : The distance from point R to the bottom of the hol...

  • Page 232

    PROGRAMMINGB–62764EN/0114. FUNCTIONS TO SIMPLIFY PROGRAMMING211In feed–per–minute mode, the thread lead is obtained from theexpression, feedrate × spindle speed. In feed–per–revolution mode, thethread lead equals the feedrate speed.If a tool length compensation (G43, G44, or G49) is s...

  • Page 233

    PROGRAMMING14. FUNCTIONS TO SIMPLIFYPROGRAMMINGB–62764EN/01212Z–axis feedrate 1000 mm/minSpindle speed 1000 rpmThread lead 1.0 mm <Programming of feed per minute>G94 ; Specify a feed–per–minute command.G00 X120.0 Y100.0 ;PositioningM29 S1000 ;Rigid mode specificationG84 Z–100...

  • Page 234

    PROGRAMMINGB–62764EN/0114. FUNCTIONS TO SIMPLIFY PROGRAMMING213When the spindle motor is controlled in rigid mode as if it were a servomotor, tapping cycles can be sped up.G74 (G98)G74 (G99)G74 X_ Y_ Z_ R_ P_ F_ K_ ;X_ Y_ : Hole position dataZ_ : The distance from point R to the bottom of the h...

  • Page 235

    PROGRAMMING14. FUNCTIONS TO SIMPLIFYPROGRAMMINGB–62764EN/01214In feed–per–minute mode, the thread lead is obtained from theexpression, feedrate × spindle speed. In feed–per–revolution mode, thethread lead equals the feedrate.If a tool length offset (G43, G44, or G49) is specified in t...

  • Page 236

    PROGRAMMINGB–62764EN/0114. FUNCTIONS TO SIMPLIFY PROGRAMMING215Z–axis feedrate 1000 mm/minSpindle speed 1000 rpmThread lead 1.0 mm <Programming for feed per minute>G94 ;Specify a feed–per–minute command.G00 X120.0 Y100.0 ;PositioningM29 S1000 ;Rigid mode specificationG84 Z–10...

  • Page 237

    PROGRAMMING14. FUNCTIONS TO SIMPLIFYPROGRAMMINGB–62764EN/01216Tapping a deep hole in rigid tapping mode may be difficult due to chipssticking to the tool or increased cutting resistance. In such cases, the peckrigid tapping cycle is useful. In this cycle, cutting is performed several times un...

  • Page 238

    PROGRAMMINGB–62764EN/0114. FUNCTIONS TO SIMPLIFY PROGRAMMING217After positioning along the X– and Y–axes, rapid traverse is performedto point R. From point R, cutting is performed with depth Q (depth of cutfor each cutting feed), then the tool is retracted by distance d. The DOVbit (bit 4...

  • Page 239

    PROGRAMMING14. FUNCTIONS TO SIMPLIFYPROGRAMMINGB–62764EN/01218Do not specify a group 01 G code (G00 to G03) and G73 in the same block.If they are specified together, G73 is canceled.In the canned cycle mode, tool offsets are ignored.The rigid tapping canned cycle is canceled. For how to cancel...

  • Page 240

    PROGRAMMINGB–62764EN/0114. FUNCTIONS TO SIMPLIFY PROGRAMMING219Canned grinding cycles make it easier for the programmer to createprograms that include grinding. With a canned grinding cycle, repetitiveoperation peculiar to grinding can be specified in a single block with a Gfunction; without c...

  • Page 241

    PROGRAMMING14. FUNCTIONS TO SIMPLIFYPROGRAMMINGB–62764EN/01220A plunge grinding cycle is performed.G75G75 I_ J_ K_ X(Z)_ R_ F_ P_ L_ ;I_ : Depth–of–cut 1 (A sign in the command specifies the direction of cutting.)J_ : Depth–of–cut 2 (A sign in the command specifies the directionof cutti...

  • Page 242

    PROGRAMMINGB–62764EN/0114. FUNCTIONS TO SIMPLIFY PROGRAMMING221X, (Z), I, J, and K must all be specified in incremental mode.I, J, X, and Z in canned cycles are modal data common to G75, G77, G78,and G79. They remain valid until new data is specified. They are clearedwhen a group 00 G code ot...

  • Page 243

    PROGRAMMING14. FUNCTIONS TO SIMPLIFYPROGRAMMINGB–62764EN/01222A direct constant–dimension plunge grinding cycle is performed.G77G77 I_ J_ K_ X(Z)_ R_ F_ P_ L_ ;I_ : Depth–of–cut 1 (A sign in the command specifies the directionof cutting.)J_ : Depth–of–cut 2 (A sign in the command spec...

  • Page 244

    PROGRAMMINGB–62764EN/0114. FUNCTIONS TO SIMPLIFY PROGRAMMING223When the cycle is performed using G77, a skip signal can be input toterminate the cycle. When a skip signal is input, the current operationsequence is interrupted or completed, then the cycle is terminated.The following shows how t...

  • Page 245

    PROGRAMMING14. FUNCTIONS TO SIMPLIFYPROGRAMMINGB–62764EN/01224A continuous–feed surface grinding cycle is performed.G78G78 I_ (J_) K_ X_ F_ P_ L_ ;II(J)XP(Dwell) (F) P(Dwell) (F)XZI_ : Depth–of–cut 1 (A sign in the command specifies the directionof cutting.)J_ : Depth–of–cut 2 (A sign...

  • Page 246

    PROGRAMMINGB–62764EN/0114. FUNCTIONS TO SIMPLIFY PROGRAMMING225When J is omitted, it is assumed to be 1. J is valid only in the block whereit is specified.X, (Z), I, J, and K must all be specified in incremental mode.I, J, X, and Z in canned cycles are modal data common to G75, G77, G78,and G7...

  • Page 247

    PROGRAMMING14. FUNCTIONS TO SIMPLIFYPROGRAMMINGB–62764EN/01226An intermittent–feed surface grinding cycle is performed.G79G79 I_ J_ K_ X_ R_ F_ P_ L_ ;IJX(R) P (F) PXZ (F) (R)I_ : Depth–of–cut 1 (A sign in the command specifies the directionof cutting.)J_ : Depth–of–cut 2 (A sign in t...

  • Page 248

    PROGRAMMINGB–62764EN/0114. FUNCTIONS TO SIMPLIFY PROGRAMMING227X, (Z), I, J, and K must all be specified in incremental mode.I, J, X, and Z in canned cycles are modal data common to G75, G77, G78,and G79. They remain valid until new data is specified. They are clearedwhen a group 00 G code ot...

  • Page 249

    PROGRAMMING14. FUNCTIONS TO SIMPLIFYPROGRAMMINGB–62764EN/01228This function enables continuous dressing. When G75, G77, G78, or G79 is specified, grinding wheel cutting anddresser cutting are compensated continuously according to the amount ofcontinuous dressing during grinding.Specify an offs...

  • Page 250

    PROGRAMMINGB–62764EN/0114. FUNCTIONS TO SIMPLIFY PROGRAMMING229Compensation amounts set in offset memory can be modified by using theexternal tool compensation function or programming (by changingoffsets using custom macro variables).With these functions, the compensation amount for the diamete...

  • Page 251

    PROGRAMMING14. FUNCTIONS TO SIMPLIFYPROGRAMMINGB–62764EN/01230Every time an external signal is input, cutting is performed by a fixedamount according to the programmed profile in the specified Y–Z plane.G161 R_ ;G160 ;profile programSpecify the start of an operation mode and profile program....

  • Page 252

    PROGRAMMINGB–62764EN/0114. FUNCTIONS TO SIMPLIFY PROGRAMMING231Chamfering and corner rounding blocks can be inserted automaticallybetween the following:⋅Between linear interpolation and linear interpolation blocks⋅Between linear interpolation and circular interpolation blocks ⋅Between cir...

  • Page 253

    PROGRAMMING14. FUNCTIONS TO SIMPLIFYPROGRAMMINGB–62764EN/01232N001 G92 G90 X0 Y0 ;N002 G00 X10.0 Y10.0 ;N003 G01 X50.0 F10.0 ,C5.0 ;N004 Y25.0 ,R8.0 ;N005 G03 X80.0 Y50.0 R30.0 ,R8.0 ;N006 G01 X50.0 ,R8.0 ;N007 Y70.0 ,C5.0 ;N008 X10.0 ,C5.0 ;N009 Y10.0 ;N010 G00 X0 Y0 ;N011 M0 ;010.020.030.040....

  • Page 254

    PROGRAMMINGB–62764EN/0114. FUNCTIONS TO SIMPLIFY PROGRAMMING233Chamfering and corner rounding can be performed only in the planespecified by plane selection (G17, G18, or G19). These functions cannotbe performed for parallel axes.A block specifying chamfering or corner rounding must be followe...

  • Page 255

    PROGRAMMING14. FUNCTIONS TO SIMPLIFYPROGRAMMINGB–62764EN/01234Upon completion of positioning in each block in the program, an externaloperation function signal can be output to allow the machine to performspecific operation.Concerning this operation, refer to the manual supplied by the machinet...

  • Page 256

    PROGRAMMINGB–62764EN/0114. FUNCTIONS TO SIMPLIFY PROGRAMMING235Machining can be repeated after moving or rotating the figure using asubprogram.D Rotational copyXp–Yp plane (specified by G17) : G72.1 P_ L_ Xp_ Yp_ R_ ;Zp–Xp plane (specified by G18) : G72.1 P_ L_ Zp_ Xp_ R_ ;Yp–Zp plane (sp...

  • Page 257

    PROGRAMMING14. FUNCTIONS TO SIMPLIFYPROGRAMMINGB–62764EN/01236(Example of a correct program)O1000 G00 G90 X100.0 Y200.0 ;⋅⋅⋅⋅ ;⋅⋅⋅⋅ ;M99 ;The linear copy command can be specified in a subprogram for arotational copy. Also, the rotational copy command can be specified ina subpro...

  • Page 258

    PROGRAMMINGB–62764EN/0114. FUNCTIONS TO SIMPLIFY PROGRAMMING237Y90P0P1P2P3P4P5P6P7XEnd point of the first copyStart point of the second copyStart pointDDDDDDDDDO1000 ;N10 G92 X–20.0 Y0 ;N20 G00 G90 X0 Y0 ;N30 G01 G17 G41 X20. Y0 D01 F10 ;(P0)N40 Y20. ;(P1)N50 X30. ;(P2)N60 G72.2 P2000 L3 I90....

  • Page 259

    PROGRAMMING14. FUNCTIONS TO SIMPLIFYPROGRAMMINGB–62764EN/01238The figure cannot be copied during chamfering, corner rounding, or tooloffset.The two axes of the plane for copying a figure must have an identical unitsystem.Single–block stops are not performed in a block with G721.1 or G72.2.In ...

  • Page 260

    PROGRAMMINGB–62764EN/0114. FUNCTIONS TO SIMPLIFY PROGRAMMING239D Rotational copy (spot boring)O3000 ;N10 G92 G17 X80.0 Y50.0 ;(P0)N20 G72.1 P4000 L6 X0 Y0 R60.0 ;N30 G80 G00 X80.0 Y50.0 ;(P0)N40 M30 ;O4000 N100 G90 G81 X_ Y_ R_ Z_ F_ ;(P1)N200 M99 ;YP1P060°XStart pointMain programSubprogram

  • Page 261

    PROGRAMMING14. FUNCTIONS TO SIMPLIFYPROGRAMMINGB–62764EN/01240D Linear copyO1000 ;N10 G92 X–20.0 Y0 ;N20 G00 G90 X0 Y0 ;N30 G01 G17 G41 X_ Y_ D01 F10 ;(P0)N40 Y_ ;(P1)N50 X_ ;(P2)N60 G72.2 P2000 L3 I70.0 J0 ;N70 X_ Y_ ;(P8)N80 X0 ;N90 G00 G40 X–20.0 Y0 ;N100 M30 ;O2000 G90 G01 X_ ;(P3)N100 ...

  • Page 262

    PROGRAMMINGB–62764EN/0114. FUNCTIONS TO SIMPLIFY PROGRAMMING241D Combination of rotationalcopying and linearcopying (bolt hole circle)O1000 ;N10 G92 G17 X100.0 Y80.0 ;(P0)N20 G72.1 P2000 X0 Y0 L8 R45.0 ;N30 G80 G00 X100.0 Y80.0 ;(P0)N40 M30 ;O2000 N100 G72.2 P3000 I0 J_ L3 ;N200 M99 ;YX45°P1P0...

  • Page 263

    PROGRAMMING14. FUNCTIONS TO SIMPLIFYPROGRAMMINGB–62764EN/01242Coordinate conversion about an axis can be carried out if the center ofrotation, direction of the axis of rotation, and angular displacement arespecified. This function is very useful in three–dimensional machiningby a die–sinki...

  • Page 264

    PROGRAMMINGB–62764EN/0114. FUNCTIONS TO SIMPLIFY PROGRAMMING243subsequent N3 block, coordinates in the X’’Y’’Z’’ coordinate system arespecified with Xp, Yp, and Zp. The X’’Y’’Z’’ coordinate system is calledthe program coordinate system.If (Xp, Yp, Zp) is not specified i...

  • Page 265

    PROGRAMMING14. FUNCTIONS TO SIMPLIFYPROGRAMMINGB–62764EN/01244The following equation shows the general relationship between (x, y, z)in the program coordinate system and (X, Y, Z) in the original coordinatesystem (workpiece coordinate system).XYZ=M1xyz+x1y1z1XYZ=M1xyz+x2y2z2M2+x1y1z1M1X, Y, Z :...

  • Page 266

    PROGRAMMINGB–62764EN/0114. FUNCTIONS TO SIMPLIFY PROGRAMMING245Three–dimensional coordinate conversion can be applied to a desiredcombination of three axes selected out of the basic three axes (X, Y, Z) andtheir parallel axes. The three–dimensional coordinate system subjectedto three–dim...

  • Page 267

    PROGRAMMING14. FUNCTIONS TO SIMPLIFYPROGRAMMINGB–62764EN/01246G53Selecting the machine coordinate systemG65Custom macro callingG66Continuous–state custom macro callingG67Canceling continuous–state custom macro callingG73Canned cycle (peck drilling cycle)G74Canned cycle (reverse tapping cycl...

  • Page 268

    PROGRAMMINGB–62764EN/0114. FUNCTIONS TO SIMPLIFY PROGRAMMING247Three–dimensional coordinate conversion does not affect the degree ofmanual intervention or manual handle interrupt.Three–dimensional coordinate conversion does not affect positioning inthe machine coordinate system (e.g. specif...

  • Page 269

    PROGRAMMING14. FUNCTIONS TO SIMPLIFYPROGRAMMINGB–62764EN/01248N1 G90 X0 Y0 Z0 ; Carries out positioning to zero point H.N2 G68 X10. Y0 Z0 I0 J1 K0 R30. ; Forms new coordinate system X’Y’Z’.N3 G68 X0 Y–10. Z0 I0 J0 K1 R–90. ; Forms other coordinate system X’’Y’’Z’’. The or...

  • Page 270

    PROGRAMMINGB–62764EN/0114. FUNCTIONS TO SIMPLIFY PROGRAMMING249By specifying indexing positions (angles) for the indexing axis (onerotation axis, A, B, or C), the index table of the machining center can beindexed.Before and after indexing, the index table is automatically unclamped orclamped .S...

  • Page 271

    PROGRAMMING14. FUNCTIONS TO SIMPLIFYPROGRAMMINGB–62764EN/012502. Using no miscellaneous functionsBy setting to bits 2, 3, and 4 of parameter ABS, INC,G90 No.5500,operation can be selected from the following two options.Select the operation by referring to the manual written by the machinetool b...

  • Page 272

    PROGRAMMINGB–62764EN/0114. FUNCTIONS TO SIMPLIFY PROGRAMMING251Table14.11 (a) Index indexing function and other functionsItemExplanationRelative position displayThis value is rounded down when bit 1 of parameter REL No. 5500specifies this option.Absolute position displayThis value is rounded d...

  • Page 273

    PROGRAMMING15. COMPENSATION FUNCTIONB–62764EN/0125215 COMPENSATION FUNCTIONThis chapter describes the following compensation functions:15.1 TOOL LENGTH OFFSET (G43, G44, G49)15.2 AUTOMATIC TOOL LENGTH MEASUREMENT (G37)15.3 TOOL OFFSET (G45–G48)15.4 CUTTER COMPENSATION B (G39–G42)15.5 CUTTER...

  • Page 274

    PROGRAMMINGB–62764EN/0115. COMPENSATION FUNCTION253This function can be used by setting the difference between the tool lengthassumed during programming and the actual tool length of the tool usedinto the offset memory. It is possible to compensate the difference withoutchanging the program.Sp...

  • Page 275

    PROGRAMMING15. COMPENSATION FUNCTIONB–62764EN/01254Select tool length offset A, B, or C, by setting bits 0 and 1 of parameterTLC,TLB No. 5001.When G43 is specified, the tool length offset value (stored in offsetmemory) specified with the H code is added to the coordinates of the endposition spe...

  • Page 276

    PROGRAMMINGB–62764EN/0115. COMPENSATION FUNCTION255(2) Cutter compensation CWhen the offset numbers for cutter compensation C are specified ormodified, the offset number validation order varies, depending on thecondition, as described below.O××××; H01 ; :G43P_ ;(1) :G44P_H02 ;(2) ...

  • Page 277

    PROGRAMMING15. COMPENSATION FUNCTIONB–62764EN/01256NOTEThe tool length offset value corresponding to offset No. 0,that is, H0 always means 0. It is impossible to set any othertool length offset value to H0.Tool length offset B can be executed along two or more axes when the axesare specified i...

  • Page 278

    PROGRAMMINGB–62764EN/0115. COMPENSATION FUNCTION257Actual positionProgrammed positionoffsetvalueε=4mmt1203030120t3t2+Y+X3050+Z3353018228Tool length offset (in boring holes No.1, 2, and 3)(1)(2)(3)(4)(5)(6)(7) (8)(9)(13)(10)(11)(12)⋅ProgramH1=–4.0(Tool length offset value)N1 G91 G00 X120.0 ...

  • Page 279

    PROGRAMMING15. COMPENSATION FUNCTIONB–62764EN/01258This section describes the tool length offset cancellation and restorationperformed when G53, G28, G30, or G31 is specified in tool length offsetmode. Also described is the timing of tool length offset. (1) Tool length offset vector cancellati...

  • Page 280

    PROGRAMMINGB–62764EN/0115. COMPENSATION FUNCTION259NOTEWhen tool length offset is applied to multiple axes, allspecified axes involved in reference position return aresubject to cancellation.When tool length offset cancellation is specified at the same time, toollength offset vector cancellatio...

  • Page 281

    PROGRAMMING15. COMPENSATION FUNCTIONB–62764EN/01260In tool length offset modeTypeEVO (bit 6 of pa-rameter No. 5001)Restoration blockA/B1Block containing a G43/G44blockA/B0Block containing an H commandand G43/44 commandCIgnoredBlock containing aG43P_H_/G44P_H_ commandWARNINGWhen tool length offs...

  • Page 282

    PROGRAMMINGB–62764EN/0115. COMPENSATION FUNCTION261By issuing G37 the tool starts moving to the measurement position andkeeps on moving till the approach end signal from the measurementdevice is output. Movement of the tool is stopped when the tool tipreaches the measurement position.Differenc...

  • Page 283

    PROGRAMMING15. COMPENSATION FUNCTIONB–62764EN/01262The difference between the coordinates of the position at which the toolreaches for measurement and the coordinates specified by G37 is addedto the current tool length offset value.Offset value = (Current compensation value) + [(Coordinates of ...

  • Page 284

    PROGRAMMINGB–62764EN/0115. COMPENSATION FUNCTION263WARNINGWhen a manual movement is inserted into a movement ata measurement federate, return the tool to the!positionbefore the inserted manual movement for restart.NOTE1 When an H code is specified in the same block as G37, analarm is generated....

  • Page 285

    PROGRAMMING15. COMPENSATION FUNCTIONB–62764EN/01264G92 Z760.0 X1100.0 ; Sets a workpiece coordinate system withrespect to the programmed absolute zero point.G00 G90 X850.0 ;Moves the tool to X850.0.That is the tool is moved to a position that is aspecified distance from the measurementposition ...

  • Page 286

    PROGRAMMINGB–62764EN/0115. COMPENSATION FUNCTION265The programmed travel distance of the tool can be increased or decreasedby a specified tool offset value or by twice the offset value.The tool offset function can also be applied to an additionalaxis.ÇÇÇÇÇÇÇÇÇProgrammed pathTool center...

  • Page 287

    PROGRAMMING15. COMPENSATION FUNCTIONB–62764EN/01266As shown in Table 15.3(a), the travel distance of the tool is increased ordecreased by the specified tool offset value.In the absolute mode, the travel distance is increased or decreased as thetool is moved from the end position of the previous...

  • Page 288

    PROGRAMMINGB–62764EN/0115. COMPENSATION FUNCTION267WARNING1 When G45 to G48 is specified to n axes (n=1–6) simultaneously in a motion block, offset isapplied to all n axes.When the cutter is offset only for cutter radius or diameter in taper cutting, overcutting orundercutting occurs. Theref...

  • Page 289

    PROGRAMMING15. COMPENSATION FUNCTIONB–62764EN/01268NOTE1 When the specified direction is reversed by decrease as shown in the figure below, the toolmoves in the opposite direction.2 Tool offset can be applied to circular interpolation (G02, G03) with the G45 to G48 commandsonly for 1/4 and 3/4 ...

  • Page 290

    PROGRAMMINGB–62764EN/0115. COMPENSATION FUNCTION269ÇÇÇÇÇÇÇÇÇTool diameter:20φOffset No.:01Tool offset value:+10.0805040504030RN1N2N3N4N5N6N7N8N9N10N11N12N13N14303040X axisY axisProgram using tool offsetOrigin30RProgramN1 G91 G46 G00 X80.0 Y50.0 D01 ;N2 G47 G01 X50.0 F120.0 ;N3 Y40.0 ;...

  • Page 291

    PROGRAMMING15. COMPENSATION FUNCTIONB–62764EN/01270When the tool is moved, the tool path can be shifted by the radius of thetool (Fig. 15.4).To make an offset as large as the radius of the tool, first create an offsetvector with a length equal to the radius of the tool (start–up). The offset...

  • Page 292

    PROGRAMMINGB–62764EN/0115. COMPENSATION FUNCTION271G39(or ) ;D Start up(Cutter compensationstart)G00 (or G01) G41 (or G42)H_ ;G41G42R_I _H_: Command for axis movement: Cutter compensation left (Group 07): Cutter compensation right (Group 07): Incremental value from the end position. ...

  • Page 293

    PROGRAMMING15. COMPENSATION FUNCTIONB–62764EN/01272Cutter compensation is carried out in the plane determined by G17, G18and G19 (G codes for plane selection.). This plane is called the offsetplane. If the offset plane is not specified, G17 is assumed to beprogrammed.Compensation is not execu...

  • Page 294

    PROGRAMMINGB–62764EN/0115. COMPENSATION FUNCTION273G41 offsets the tool towards the left of the workpiece as you see when youface in the same direction as the movement of the cutting tool.G41 X_ Y_ I_ J_ H_ ;specifies a new vector to be created at right angles with the direction of(I, J) on the...

  • Page 295

    PROGRAMMING15. COMPENSATION FUNCTIONB–62764EN/01274G41… ; :G02 (or G03) X_ Y_ R_ ;Above command specifies a new vector to be created to the left lookingtoward the direction in which an arc advances on a line connecting the arccenter and the arc end point, and the tool center to move along...

  • Page 296

    PROGRAMMINGB–62764EN/0115. COMPENSATION FUNCTION275G42, contrary to G41, specifies a tool to be offset to the right of work piecelooking toward the direction in which the tool advances.G42 has the same function as G41, except that the directions of the vectorscreated by the commands are the opp...

  • Page 297

    PROGRAMMING15. COMPENSATION FUNCTIONB–62764EN/01276G42… ; :G02 (or G03) X_ Y_ R_;ÇÇÇÇÇÇÇÇÇÇÇÇÇÇÇÇÇÇÇÇÇÇÇÇÇÇÇÇÇÇÇÇÇÇÇÇÇÇÇÇRR(X, Y)ÇÇÇÇÇÇÇÇÇÇÇÇÇÇÇÇÇÇÇÇÇÇÇÇÇÇÇÇÇÇÇÇÇÇÇÇÇÇÇÇÇÇÇÇÇ(X, Y)Tool center pathNew vect...

  • Page 298

    PROGRAMMINGB–62764EN/0115. COMPENSATION FUNCTION277When the following command is specified in the G01, G02, or G03 mode,corner offset circular interpolation can be executed with respect to theradius of the tool.G39 X_ Y_ ; or G39 I_ J_ ;A new vector is created to the left (G41) or to the right ...

  • Page 299

    PROGRAMMING15. COMPENSATION FUNCTIONB–62764EN/01278When the following command is specified in the G00 or G01 mode, thetool moves from the head of the old vector at the start position to the endposition (X, Y). In the G01 mode, the tool moves linearly. In the G00mode, rapid traverse is carried...

  • Page 300

    PROGRAMMINGB–62764EN/0115. COMPENSATION FUNCTION279The offset direction is switched from left to right, or from right to leftgenerally through the offset cancel mode, but can be switched not throughit only in positioning (G00) or linear interpolation (G01). In this case, thetool path is as show...

  • Page 301

    PROGRAMMING15. COMPENSATION FUNCTIONB–62764EN/01280The offset amount is changed generally when the tool is changed in theoffset cancel mode, but can be changed in the offset mode only inpositioning (G00) or linear interpolation (G01).Program as described below:G00 (or G01) X_ Y_ H_ ; (H_ indica...

  • Page 302

    PROGRAMMINGB–62764EN/0115. COMPENSATION FUNCTION281If the tool compensation value is made negative (–), it is equal that G41and G42 are replaced with each other in the process sheet. Consequently,if the tool center is passing around the outside of the workbench it willpass around the inside ...

  • Page 303

    PROGRAMMING15. COMPENSATION FUNCTIONB–62764EN/01282ÇÇÇÇÇÇN1N2N3N4N5N6N7N8N9N10N11R2=20.0R1=40.0Y axisX axis20.020.040.040.020.020.0Unit : mmN1 G91 G17 G00 G41 X20.0 Y20.0 H08 ; N2 G01 Z–25.0 F100 ;N3 Y40.0 F250 ;N4 G39 I40.0 J20.0 ;N5 X40.0 Y20.0 ;N6 G39 I40.0 ;N7 G02 X40.0 Y–40.0 R40...

  • Page 304

    PROGRAMMINGB–62764EN/0115. COMPENSATION FUNCTION283When the tool is moved, the tool path can be shifted by the radius of thetool (Fig. 15.5 (a)). To make an offset as large as the radius of the tool, CNC first creates anoffset vector with a length equal to the radius of the tool (start–up). ...

  • Page 305

    PROGRAMMING15. COMPENSATION FUNCTIONB–62764EN/01284D Start up(Tool compensationstart)G00(or G01)G41(or G42)P_ D_ ;G41G42P_D_: Cutter compensation left (Group07): Cutter compensation right (Group07): Command for axis movement: Code for specifying as the cutter compensation value(1–3digits) (D...

  • Page 306

    PROGRAMMINGB–62764EN/0115. COMPENSATION FUNCTION285In the offset mode, when a block which satisfies any one of the followingconditions is executed, the CNC enters the offset cancel mode, and theaction of this block is called the offset cancel. 1. G40 has been commanded. 2. 0 has been command...

  • Page 307

    PROGRAMMING15. COMPENSATION FUNCTIONB–62764EN/01286If the offset amount is negative (–), distribution is made for a figure inwhich G41’s and G42’s are all replaced with each other on the program.Consequently, if the tool center is passing around the outside of theworkpiece, it will pass a...

  • Page 308

    PROGRAMMINGB–62764EN/0115. COMPENSATION FUNCTION287Offset calculation is carried out in the plane determined by G17, G18 andG19, (G codes for plane selection). This plane is called the offset plane.Compensation is not executed for the coordinate of a position which is notin the specified plane...

  • Page 309

    PROGRAMMING15. COMPENSATION FUNCTIONB–62764EN/01288ÇÇÇÇÇÇÇÇÇY axisX axisUnit : mmN1Start position650RC2 (1550,1550)650RC3 (–150,1150)250RC1(700,1300)P4(500,1150) P5(900,1150)P6(950,900)P9(700,650)P8(1150,550)P7(1150,900)P1(250,550)P3(450,900)P2(250,900)N2N3N4N5N6N7N8N9N10N11G92 X0 Y...

  • Page 310

    PROGRAMMINGB–62764EN/0115. COMPENSATION FUNCTION289This section provides a detailed explanation of the movement of the toolfor cutter compensation C outlined in Section 15.5.This section consists of the following subsections:15.6.1 General15.6.2 Tool Movement in Start–up15.6.3 Tool Movement i...

  • Page 311

    PROGRAMMING15. COMPENSATION FUNCTIONB–62764EN/01290When the offset cancel mode is changed to offset mode, the tool movesas illustrated below (start–up):αLSG42rLαSrLCG42Tool center pathStart positionProgrammed pathWork-pieceLinear→CircularStart positionWorkpieceTool center pathLinear→Lin...

  • Page 312

    PROGRAMMINGB–62764EN/0115. COMPENSATION FUNCTION291Tool path in start–up has two types A and B, and they are selected byparameter SUP (No. 5003#0).Linear→LinearαProgrammed pathTool center pathLSG42rLLinear→CircularrType AType BαLSG42LWorkpieceStart positionrLLinear→LinearLinear...

  • Page 313

    PROGRAMMING15. COMPENSATION FUNCTIONB–62764EN/01292Tool path in start–up has two types A and B, and they are selected byparameter SUP (No.5003#0).αLSG42rLS CType AType BrG42LG42LLLLSrrG42LLLSrrCLLLinear→LinearLinear→CircularLinear→LinearLinear→CircularWorkpieceWork-pieceWorkpiece...

  • Page 314

    PROGRAMMINGB–62764EN/0115. COMPENSATION FUNCTION293If the command is specified at start–up, the offset vector is not created.SN9N6N7N8SSG91 G40 … ; :N6 X100.0 Y100.0 ;N7 G41 X0 ;N8 Y–100.0 ;N9 Y–100.0 X100.0 ;Programmed pathTool center pathrNOTEFor the definition of blocks that d...

  • Page 315

    PROGRAMMING15. COMPENSATION FUNCTIONB–62764EN/01294In the offset mode, the tool moves as illustrated below:αLLαCSLSCLSCSCLinear→CircularLinear→LinearProgrammed pathIntersectionTool center pathWorkpieceWork-pieceTool center pathIntersectionProgrammed pathWorkpieceProgrammed pathTool center...

  • Page 316

    PROGRAMMINGB–62764EN/0115. COMPENSATION FUNCTION295rrSrIntersectionProgrammed pathTool center pathIntersectionAlso in case of arc to straight line, straight line to arc and arc to arc, thereader should infer in the same procedure.D Tool movement aroundthe inside(α<1°) with anabnormally lon...

  • Page 317

    PROGRAMMING15. COMPENSATION FUNCTIONB–62764EN/01296αLrCSLSCLSLLrLLLSrr Linear→LinearLinear→CircularProgrammed pathTool center pathIntersectionWorkpieceCircular→LinearCircular→CircularIntersectionTool center path Programmed pathWork-pieceIntersectionTool center pathProgrammed pathWorkpi...

  • Page 318

    PROGRAMMINGB–62764EN/0115. COMPENSATION FUNCTION297αLLLLSrrLLrrCLLLLLLrrLSLSrrLCCLLinear→LinearProgrammed pathTool center pathWorkpieceLinear→CircularCircular→LinearCircular→CircularProgrammed pathWork-pieceTool center pathWorkpieceProgrammed pathTool center pathWork-pieceTool center p...

  • Page 319

    PROGRAMMING15. COMPENSATION FUNCTIONB–62764EN/01298If the end of a line leading to an arc is programmed as the end of the arcby mistake as illustrated below, the system assumes that cuttercompensation has been executed with respect to an imaginary circle thathas the same center as the arc and p...

  • Page 320

    PROGRAMMINGB–62764EN/0115. COMPENSATION FUNCTION299If the center of the arc is identical with the start position or end point, P/Salarm (No. 038) is displayed, and the tool will stop at the end position ofthe preceding block.N5N6N7rAlarm(No.038)is displayed and the toolstops(G41)N5 G01 X100.0 ;...

  • Page 321

    PROGRAMMING15. COMPENSATION FUNCTIONB–62764EN/01300LLLSrrG42G41G41G42rrSCrrLCSSG41G41G42G42CCrrLinear→LinearLinear→CircularProgrammed pathTool center pathWorkpieceProgrammed pathTool center pathWorkpieceWorkpieceWorkpieceWorkpieceProgrammed pathTool center pathCircular→LinearCircular→Ci...

  • Page 322

    PROGRAMMINGB–62764EN/0115. COMPENSATION FUNCTION301When changing the offset direction in block A to block B using G41 andG42, if intersection with the offset path is not required, the vector normalto block B is created at the start point of block B.G41(G42)(G42)LLLABrrSG42G41LSLS(G41)G42ABLSrLL...

  • Page 323

    PROGRAMMING15. COMPENSATION FUNCTIONB–62764EN/01302Normally there is almost no possibility of generating this situation.However, when G41 and G42 are changed, or when a G40 wascommanded with address I, J, and K this situation can occur.In this case of the figure, the cutter compensation is not ...

  • Page 324

    PROGRAMMINGB–62764EN/0115. COMPENSATION FUNCTION303If the following command is specified in the offset mode, the offset modeis temporarily canceled then automatically restored. The offset mode canbe canceled and started as described in II–15.6.2 and 15.6.4.If G28 is specified in the offset ...

  • Page 325

    PROGRAMMING15. COMPENSATION FUNCTIONB–62764EN/01304The offset vector can be set to form a right angle to the moving directionin the previous block, irrespective of machining inner or outer side, bycommanding the cutter compensation G code (G41, G42) in the offsetmode, independently. If this co...

  • Page 326

    PROGRAMMINGB–62764EN/0115. COMPENSATION FUNCTION305The following blocks have no tool movement. In these blocks, the toolwill not move even if cutter compensation is effected.M05 ;M code output. S21 ;S code output. G04 X10.0 ; DwellG10 L11 P01 R10.0 ; Cutter compensation value setting(G17) Z200...

  • Page 327

    PROGRAMMING15. COMPENSATION FUNCTIONB–62764EN/01306When two or more vectors are produced at the end of a block, the toolmoves linearly from one vector to another. This movement is called thecorner movement. If these vectors almost coincide with each other, the corner movementisn’t performed ...

  • Page 328

    PROGRAMMINGB–62764EN/0115. COMPENSATION FUNCTION307N4 G41 G91 G01 X150.0Y200.‘0 ;N5 X150.0 Y200.0 ;N6 G02 J–600.0 ; N7 G01 X150.0 Y–200.0 ; N8 G40 X150.0 Y–200.0 ;P1P2 P3 P4P5P6N5N6N4N7N8Programmed pathTool center pathIf the vector is not ignored, the tool path is as follows:P1 → P2 ...

  • Page 329

    PROGRAMMING15. COMPENSATION FUNCTIONB–62764EN/01308αSrLCαLSG40rLWorkpieceG40LProgrammed pathProgrammed pathTool center pathTool center pathWork-pieceLinear→LinearCircular→Linear15.6.4Tool Movement inOffset Mode CancelExplanationsD Tool movement aroundan inside corner(180°xα)

  • Page 330

    PROGRAMMINGB–62764EN/0115. COMPENSATION FUNCTION309Tool path has two types, A and B; and they are selected by parameter SUP(No. 5003#0).αLSG40rLαSrCType AType BαLSG40LIntersectionrαSCrrLLG40LG40LProgrammed pathWorkpieceTool center pathLinear→LinearCircular→LinearLinear→LinearWor...

  • Page 331

    PROGRAMMING15. COMPENSATION FUNCTIONB–62764EN/01310Tool path has two types, A and B : and they are selected by parameter SUP(No. 5003#0)αLSG40rLSCType AType BrαG40LLLLrrLLSrrCLLG42αG40LG42LαSLinear→LinearCircular→LinearProgrammed pathTool center pathWorkpieceWork-pieceTool center ...

  • Page 332

    PROGRAMMINGB–62764EN/0115. COMPENSATION FUNCTION311Start positionrG40(G42)LLS1°or lessProgrammed pathTool center pathWhen a block without tool movement is commanded together with anoffset cancel, a vector whose length is equal to the offset value is producedin a normal direction to tool motion...

  • Page 333

    PROGRAMMING15. COMPENSATION FUNCTIONB–62764EN/01312If a G41 or G42 block precedes a block in which G40 and I_, J_, K_ arespecified, the system assumes that the path is programmed as a path fromthe end position determined by the former block to a vector determinedby (I,J), (I,K), or (J,K). The ...

  • Page 334

    PROGRAMMINGB–62764EN/0115. COMPENSATION FUNCTION313In the example shown below, the tool does not trace the circle more thanonce. It moves along the arc from P1 to P2. The interference checkfunction described in II–15.6.5 may raise an alarm. (I, J)N5N6N7P1P2(G41)N5 G01 G91 X100.0 ;N6 G02 J...

  • Page 335

    PROGRAMMING15. COMPENSATION FUNCTIONB–62764EN/01314Tool overcutting is called interference. The interference check functionchecks for tool overcutting in advance. However, all interference cannotbe checked by this function. The interference check is performed even ifovercutting does not occur.(...

  • Page 336

    PROGRAMMINGB–62764EN/0115. COMPENSATION FUNCTION315(2) In addition to the condition (1), the angle between the start point andend point on the tool center path is quite different from that betweenthe start point and end point on the programmed path in circularmachining(more than 180 degrees).Ce...

  • Page 337

    PROGRAMMING15. COMPENSATION FUNCTIONB–62764EN/01316(1) Removal of the vector causing the interference When cutter compensation is performed for blocks A, B and C andvectors V1, V2, V3 and V4 between blocks A and B, and V5, V6, V7and V8 between B and C are produced, the nearest vectors are check...

  • Page 338

    PROGRAMMINGB–62764EN/0115. COMPENSATION FUNCTION317(Example 2) The tool moves linearly from V1, V2, V7, to V8V6V3V5CCCrrV1V2V4V7V8AO1 O2BV4, V5 : InterferenceV3, V6 : InterferenceV2, V7 : No InterferenceProgrammed pathTool centerpath(2) If the interference occurs after correction (1), the too...

  • Page 339

    PROGRAMMING15. COMPENSATION FUNCTIONB–62764EN/01318(1) Depression which is smaller than the cutter compensation valueTool center pathABCStoppedProgrammed pathThere is no actual interference, but since the direction programmed inblock B is opposite to that of the path after cutter compensation t...

  • Page 340

    PROGRAMMINGB–62764EN/0115. COMPENSATION FUNCTION319When the radius of a corner is smaller than the cutter radius, because theinner offsetting of the cutter will result in overcuttings, an alarm isdisplayed and the CNC stops at the start of the block. In single blockoperation, the overcutting i...

  • Page 341

    PROGRAMMING15. COMPENSATION FUNCTIONB–62764EN/01320When machining of the step is commanded by circular machining in thecase of a program containing a step smaller than the tool radius, the pathof the center of tool with the ordinary offset becomes reverse to theprogrammed direction. In this ca...

  • Page 342

    PROGRAMMINGB–62764EN/0115. COMPENSATION FUNCTION321The above example should be modified as follows:ÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊN1N1 G91 G00 G41 X500.0 Y500.0 D1 ;N3 G01 Z–250.0 ;N5 G01 Z–50.0 F100 ;N6 Y1000.0 F200 ;N6(500, 500)N3, N5:Move command for the Z axisAfter co...

  • Page 343

    PROGRAMMING15. COMPENSATION FUNCTIONB–62764EN/01322Cutter compensation C is not performed for commands input from theMDI.However, when automatic operation using the absolute commands istemporarily stopped by the single block function, MDI operation isperformed, then automatic operation starts a...

  • Page 344

    B–62764EN/0115. COMPENSATION FUNCTIONPROGRAMMING323A function has been added which performs positioning by automaticallycanceling a cutter compensation vector when G53 is specified in cuttercompensation C mode, then automatically restoring that cuttercompensation vector with the execution of th...

  • Page 345

    15. COMPENSATION FUNCTIONB–62764EN/01PROGRAMMING324(1) G53 specified in offset modeWhen CCN (bit 2 of parameter No.5003)=0 Oxxxx;G90G41_ _;G53X_Y_; G00[Type A]Start–uprrss(G41G00)G53sG00[Type B]Start–uprrssG53sG00G00When CCN (bit 2 of parameter No.5003)=1G00[FS15 Type]rss(G41G00)G53sG00 (2)...

  • Page 346

    B–62764EN/0115. COMPENSATION FUNCTIONPROGRAMMING325When CCN (bit2 of parameter No.5003)=1G90G00[FS15 Type]rss(G91G41G00)G53G00(3) G53 specified in offset mode with no movement specified When CCN (bit2 of parameter No.5003)=0Oxxxx;G90G41_ _;G00X20.Y20. ;G53X20.Y20. ; G00[Type A]Start–uprrss(G4...

  • Page 347

    15. COMPENSATION FUNCTIONB–62764EN/01PROGRAMMING326WARNING1 When cutter compensation C mode is set and all–axis machine lock is applied, the G53command does not perform positioning along the axes to which machine lock is applied. Thevector, however, is preserved. When CCN (bit 2 of paramete...

  • Page 348

    B–62764EN/0115. COMPENSATION FUNCTIONPROGRAMMING327NOTE1 When a G53 command specifies an axis that is not in the cutter compensation C plane, aperpendicular vector is generated at the end point of the previous block, and the tool does notmove. In the next block, offset mode is automatically re...

  • Page 349

    15. COMPENSATION FUNCTIONB–62764EN/01PROGRAMMING328When G28, G30, or G30.1 is specified in cutter compensation C mode,an operation of FS15 type is performed if CCN (bit 2 of parameter No.5003) is set to 1.This means that an intersection vector is generated in the previous block,and a perpendicu...

  • Page 350

    B–62764EN/0115. COMPENSATION FUNCTIONPROGRAMMING329(b) For return by G00When CCN (bit 2 of parameter No. 5503) = 0G00[Type A](G42G01)G01srrssOxxxx;G91G41_ _ _;G28X40.Y0 ;G00[Type B]s(G42G01)G01srrssReference position or floatingreference positionReference position or floatingreference position...

  • Page 351

    15. COMPENSATION FUNCTIONB–62764EN/01PROGRAMMING330When CCN (bit 2 of parameter No. 5503) = 1G29[FS15 Type]G28/30/30.1s(G42G01)G01srsG01Intermediate position = return positionReference position or floatingreference position(b) For return by G00When CCN (bit 2 of parameter No.5503)=0Oxxxx;G91G41...

  • Page 352

    B–62764EN/0115. COMPENSATION FUNCTIONPROGRAMMING331(3) G28, G30, or G30.1, specified in offset mode (with movement to a reference position not performed)(a) For return by G29When CCN (bit 2 of parameter No.5503)=0Oxxxx;G91G41_ _ _;G28X40.Y–40.;G29X40.Y40.;G29[Type A]rs(G42G01)[Type B]G28/30/3...

  • Page 353

    15. COMPENSATION FUNCTIONB–62764EN/01PROGRAMMING332(4) G28, G30, or G30.1 specified in offset mode (with no movementperformed)(a) For return by G29When CCN (bit 2 of parameter No.5503)=0O××××;G91G41_ _ _;G28X0Y0;G29X0Y0;[Type A]rs(G41G01)[Type B]G28/30/30.1/G29(G41G01)G28/30/30.1/G29G01rsG0...

  • Page 354

    B–62764EN/0115. COMPENSATION FUNCTIONPROGRAMMING333When CCN (bit 2 of parameter No.5503)=1G00[FS15 Type]G28/30/30.1(G41G01)G01rsReference position or floatingreference position=Intermediate positionWARNING1 When a G28, G30, or G30.1 command is specified during all–axis machine lock, aperpendi...

  • Page 355

    15. COMPENSATION FUNCTIONB–62764EN/01PROGRAMMING334NOTE1 When a G28, G30, or G30.1 command specifies an axis that is not in the cutter compensationC plane, a perpendicular vector is generated at the end point of the previous block, and the tooldoes not move. In the next block, offset mode is a...

  • Page 356

    B–62764EN/0115. COMPENSATION FUNCTIONPROGRAMMING335When G29 is specified in cutter compensation C mode, an operation ofFS15 type is performed if CCN (bit 2 of parameter No. 5003) is set to 1.This means that an intersection vector is generated in the previous block,and vector cancellation is per...

  • Page 357

    15. COMPENSATION FUNCTIONB–62764EN/01PROGRAMMING336(b) For specification made other than immediately after automaticreference position returnWhen CCN (bit 2 of parameter No.5003)=0O××××;G91G41_ _ _;G29X40.Y40.; [Type A]G29[Type B](G42G01)G01ssrssssr(G42G01)rrG01Return positionIntermediate p...

  • Page 358

    B–62764EN/0115. COMPENSATION FUNCTIONPROGRAMMING337When CCN (bit 2 of parameter No.5003)=1G29[FS15 Type]G28/30/30.1(G42G01)G01srssReturn positionReference position or floatingreference position=Intermedi-ate position(b) For specification made other than immediately after automaticreference posi...

  • Page 359

    15. COMPENSATION FUNCTIONB–62764EN/01PROGRAMMING338(3) G29 specified in offset mode (with movement to a reference positionnot performed)(a) For specification made immediately after automatic referenceposition returnWhen CCN (bit 2 of parameter No.5003)=0O××××;G91G41_ _ _;G28X0Y0;G29X0Y0; [T...

  • Page 360

    B–62764EN/0115. COMPENSATION FUNCTIONPROGRAMMING339(b) For specification made other than immediately after automaticreference position returnO××××;G91G41_ _ _;G29X0Y0; [Type A](G42G01)G29[Type B]s(G42G01)ssrssG29sG01G01G01G01Intermediate position=Return positionIntermediate position=Return ...

  • Page 361

    15. COMPENSATION FUNCTIONB–62764EN/01PROGRAMMING340(4) G29 specified in offset mode (with movement to an intermediateposition and reference position not performed)(a) For specification made immediately after automatic referenceposition return When CCN (bit 2 of parameter No.5003)=0O××××;G91...

  • Page 362

    B–62764EN/0115. COMPENSATION FUNCTIONPROGRAMMING341(b) For specification made other than immediately after automaticreference position returnWhen CCN (bit 2 of parameter No.5003)=0O××××;G91G41_ _ _;G29X0Y0;[Type A](G41G01)sr[Type B](G41G01)ssrG01G01G01G01sG29G29Intermediate position=return ...

  • Page 363

    PROGRAMMING15. COMPENSATION FUNCTIONB–62764EN/01342In cutter compensation C, two–dimensional offsetting is performed for aselected plane. In three–dimensional tool compensation, the tool can beshifted three–dimensionally when a three–dimensional offset direction isprogrammed.D Start up...

  • Page 364

    PROGRAMMINGB–62764EN/0115. COMPENSATION FUNCTION343In three–dimensional tool compensation mode, the following three–dimensional compensation vector is generated at the end of each block:Vx =pi ⋅ rVy =pj ⋅ rVz =pk ⋅ rp=i2 + j2 + k2p=i2 + j2 + k2G41G40Programmed pathPath after three–d...

  • Page 365

    PROGRAMMING15. COMPENSATION FUNCTIONB–62764EN/01344Addresses I, J, and K must all be specified to start three–dimensional toolcompensation. When even one of the three addresses is omitted,two–dimensional cutter compensation C is activated. When a blockspecified in three–dimensional tool...

  • Page 366

    PROGRAMMINGB–62764EN/0115. COMPENSATION FUNCTION345When one of the following G codes is specified in three–dimensional toolcompensation mode, the vector is cleared:G73Peck drilling cycleG74Reverse tapping cycleG76Fine boring G80Canned cycle cancelG81Drill cycle, spot boringG82Drill cycle, cou...

  • Page 367

    PROGRAMMING15. COMPENSATION FUNCTIONB–62764EN/01346Tool compensation values include tool geometry compensationvalues and tool wear compensation (Fig. 15.8 (a)).OFSGOFSWOFSG:Geometric compensation valueOFSW:Wear compensation valueÇÇÇÇÇÇÇÇÇÇReference positionFig15.8 (a) Geometric compen...

  • Page 368

    PROGRAMMINGB–62764EN/0115. COMPENSATION FUNCTION347Tool compensation memory A, B, or C can be used.The tool compensation memory determines the tool compensation valuesthat are entered (set) (Table 15.8 (b)).Table15.8 (b) Setting contents tool compensation memory and tool compensation valueTool ...

  • Page 369

    PROGRAMMING15. COMPENSATION FUNCTIONB–62764EN/01348A programmed figure can be magnified or reduced (scaling).The dimensions specified with X_, Y_, and Z_ can each be scaled up ordown with the same or different rates of magnification.The magnification rate can be specified in the program.Unless ...

  • Page 370

    PROGRAMMINGB–62764EN/0115. COMPENSATION FUNCTION349Least input increment of scaling magnification is: 0.001 or 0.00001 It isdepended on parameter SCR (No. 5400#7) which value is selected. Ifscaling P is not specified on the block of scaling (G51X_Y_Z_P_ ;), thescaling magnification set to para...

  • Page 371

    PROGRAMMING15. COMPENSATION FUNCTIONB–62764EN/01350Even if different magnifications are applie to each axis in circularinterpolation, the tool will not trace an ellipse.When different magnifications are applied to axes and a circularinterpolation is specified with radius R, it becomes as follow...

  • Page 372

    PROGRAMMINGB–62764EN/0115. COMPENSATION FUNCTION351This scaling is not applicable to cutter compensation values, tool lengthoffset values, and tool offset values (Fig. 15.9 (e) ).Cutter compensation values are not scaled.Programmed figureScaled figureFig15.9(e) Scaling during cutter compensati...

  • Page 373

    PROGRAMMING15. COMPENSATION FUNCTIONB–62764EN/01352Example of a mirror image programSubprogramO9000 ;G00 G90 X60.0 Y60.0;G01 X100.0 F100; G01 Y100.0;G01 X60.0 Y60.0;M99;Main programN10 G00 G90;N20M98P9000;N30 G51 X50.0 Y50.0 I–1000 J1000;N40 M98 P9000;N50 G51 X50.0 Y50.0 I–1000 J–1000;N60...

  • Page 374

    PROGRAMMINGB–62764EN/0115. COMPENSATION FUNCTION353A programmed shape can be rotated. By using this function it becomespossible, for example, to modify a program using a rotation commandwhen a workpiece has been placed with some angle rotated from theprogrammed position on the machine.Further...

  • Page 375

    PROGRAMMING15. COMPENSATION FUNCTIONB–62764EN/01354(α, β)XZCenter ofrotationAngle of rotation R (incremental value)Angle of rotation (absolute value)Fig15.10 (b) Coordinate system rotationNOTEWhen a decimal fraction is used to specify angulardisplacement (R_), the 1’s digit corresponds to ...

  • Page 376

    PROGRAMMINGB–62764EN/0115. COMPENSATION FUNCTION355N1 G92 X*5000 Y*5000 G69 G17 ;N2 G68 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 G69 G90 X*5000 Y*5000 M02 ;Tool path when the incremental comma...

  • Page 377

    PROGRAMMING15. COMPENSATION FUNCTIONB–62764EN/01356N1 G92 X0 Y0 G69 G01 ;N2 G42 G90 X1000 Y1000 F1000 D01 ;N3 G68 R*30000 ;N4 G91 X2000 ;N5 G03 Y1000 R1000 J500 ;N6 G01 X*2000 ;N7 Y*1000 ;N8 G69 G40 G90 X0 Y0 M30 ;It is possible to specify G68 and G69 in cutter compensation C mode.The rotation ...

  • Page 378

    PROGRAMMINGB–62764EN/0115. COMPENSATION FUNCTION3572. When the system is in cutter compensation model C, specify thecommands in the following order (Fig.15.10(e)) :(cutter compensation C cancel)G51 ; scaling mode startG68 ; coordinate system rotation start: G41 ;cutter compensation C mode start...

  • Page 379

    PROGRAMMING15. COMPENSATION FUNCTIONB–62764EN/01358It is possible to store one program as a subprogram and recall subprogramby changing the angle.Programmed pathWhen offset isapplied(0, –10.0)Subprogram(0, 0)Sample program for when the RIN bit (bit 0 of parameter 5400) is setto 1. The specif...

  • Page 380

    PROGRAMMINGB–62764EN/0115. COMPENSATION FUNCTION359When a tool with a rotation axis (C–axis) is moved in the XY plane duringcutting, the normal direction control function can control the tool so thatthe C–axis is always perpendicular to the tool path (Fig. 15.11 (a)). ToolToolProgrammed too...

  • Page 381

    PROGRAMMING15. COMPENSATION FUNCTIONB–62764EN/01360Center of the arcFig15.11 (c) Normal direction control right (G42.1)Programmed pathCutter center pathFig15.11 (b) Normal direction control left (G41.1)Cutter center pathProgrammed path When viewed from the center of rotation around the C–a...

  • Page 382

    PROGRAMMINGB–62764EN/0115. COMPENSATION FUNCTION361 SN1N2SN3SProgrammed pathS : Single block stop pointCutter center pathFig15.11 (e) Point at which a Single–Block Stop Occurs in the Normal Direction Control ModeBefore circular interpolation is started, the C–axis is rotated ...

  • Page 383

    PROGRAMMING15. COMPENSATION FUNCTIONB–62764EN/01362Movement of the tool inserted at the beginning of each block is executedat 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–andY–axes in rapid t...

  • Page 384

    PROGRAMMINGB–62764EN/0115. COMPENSATION FUNCTION363Specify the maximum distance for which machining is performed withthe same normal direction as that of the preceding block.D Linear movementWhen distance N2, shown below, is smaller than the set value,machining for block N2 is performed using t...

  • Page 385

    PROGRAMMING15. COMPENSATION FUNCTIONB–62764EN/01364A mirror image of a programmed command can be produced with respectto a programmed axis of symmetry (Fig. 15.12 (a)).Y100605050X60100(1)(2)(3)(4)(1) Original image of a programmed commandAxis of symmetry (X=50)Axis of symmetry(Y=50)(2) Image sy...

  • Page 386

    PROGRAMMINGB–62764EN/0115. COMPENSATION FUNCTION365If the programmable mirror image function is specified when thecommand for producing a mirror image is also selected by a CNC externalswitch or CNC setting (see III–4.7), the programmable mirror imagefunction is executed first.Applying a mirr...

  • Page 387

    PROGRAMMING15. COMPENSATION FUNCTIONB–62764EN/01366The grinding wheel compensation function creates a compensation vectorby extending the line between the specified compensation center and thespecified end point, on the specified compensation plane.Compensation vectorProgrammed pathTool center ...

  • Page 388

    PROGRAMMINGB–62764EN/0115. COMPENSATION FUNCTION367A compensation vector is created by extending the line between thecompensation center and the specified end point. The length of thecompensation vector equals to the offset value corresponding to the offsetnumber specified with the D code.When...

  • Page 389

    PROGRAMMING15. COMPENSATION FUNCTIONB–62764EN/01368Grinding wheel wear compensation can also be applied to circularinterpolation and helical interpolation. If the radius at the start pointdiffers from that at the end point, the figure does not become an arc; itbecomes a helix.Compensation vect...

  • Page 390

    PROGRAMMINGB–62764EN/0115. COMPENSATION FUNCTION369(Example 1)When the compensation axes are the Y– and Z–axes andlinear interpolation is performed for the X– and Y–axesProgrammed path: a → b, compensated path: a’ → b’+Yaa’VayVbyb’bX+Paths on the XY plane+YVaya’aVbyb’b...

  • Page 391

    PROGRAMMING16. CUSTOM MACROB–62764EN/0137016 CUSTOM MACROAlthough subprograms are useful for repeating the same operation, thecustom macro function also allows use of variables, arithmetic and logicoperations, and conditional branches for easy development of generalprograms such as pocketing an...

  • Page 392

    PROGRAMMINGB–62764EN/0116. CUSTOM MACRO371An ordinary machining program specifies a G code and the travel distancedirectly with a numeric value; examples are G100 and X100.0.With a custom macro, numeric values can be specified directly or usinga variable number. When a variable number is used,...

  • Page 393

    PROGRAMMING16. CUSTOM MACROB–62764EN/01372Local and common variables can have value 0 or a value in the followingranges :–1047 to –10–2910–29 to 1047If the result of calculation turns out to be invalid, an P/S alarm No. 111is issued.When a variable value is defined in a program, the dec...

  • Page 394

    PROGRAMMINGB–62764EN/0116. CUSTOM MACRO373(b) Operation< vacant > is the same as 0 except when replaced by < vacant>When #1 = < vacant >When #1 = 0#2 = #1##2 = < vacant >#2 = #1##2 = 0#2 = #1*5##2 = 0#2 = #1*5##2 = 0#2 = #1+#1##2 = 0#2 = #1 + #1##2 = 0(c) Conditional ex...

  • Page 395

    PROGRAMMING16. CUSTOM MACROB–62764EN/01374Program numbers, sequence numbers, and optional block skip numberscannot be referenced using variables.Example:Variables cannot be used in the following ways:O#1;/#2G00X100.0;N#3Y200.0;Limitations

  • Page 396

    PROGRAMMINGB–62764EN/0116. CUSTOM MACRO375System variables can be used to read and write internal NC data such astool compensation values and current position data. Note, however, thatsome system variables can only be read. System variables are essentialfor automation and general–purpose pr...

  • Page 397

    PROGRAMMING16. CUSTOM MACROB–62764EN/01376Table 16.2(d) System variables for tool compensation memory CCompensationTool length compensation (H)Cutter compensation(D)CompensationnumberGeometriccompensationWear compensationGeometriccom-pensationWearcom-pensation1:200:999#11001(#2201):#11201(#240...

  • Page 398

    PROGRAMMINGB–62764EN/0116. CUSTOM MACRO377The control state of automatic operation can be changed.Table 16.2(g) System variable (#3003) for automatic operation control#3003Single blockCompletion of an auxiliaryfunction0EnabledTo be awaited1DisabledTo be awaited2EnabledNot to be awaited3Disable...

  • Page 399

    PROGRAMMING16. CUSTOM MACROB–62764EN/01378S When exact stop check is disabled, no exact stop check (positioncheck) is made even in blocks including those which do not performcutting.O0001 ;N1 G00 G91 X#24 Y#25 ;N2 Z#18 ;G04 ;N3 #3003=3 ;N4 #3004=7 ;N5 G01 Z#26 F#9 ;N6 M04 ;N7 G01Z–[ROUND[#18]...

  • Page 400

    PROGRAMMINGB–62764EN/0116. CUSTOM MACRO379S When mirror–image signals for axes other than the controlled axes areturned on, they are still read into system variable #3007.S System variable #3007 is a write–protected system variable. If anattempt is made to write data in the variable, P/S 1...

  • Page 401

    PROGRAMMING16. CUSTOM MACROB–62764EN/01380Example:When #1=#4001; is executed, the resulting value in #1 is 0, 1, 2, 3, or33.If the specified system variable for reading modal informationcorresponds to a G code group which cannot be used, a P/S alarm isissued.Position information cannot be writt...

  • Page 402

    PROGRAMMINGB–62764EN/0116. CUSTOM MACRO381Workpiece zero point offset values can be read and written.Table 16.2(l) System variables for workpiece zero point offset valuesVariablenumberFunction#5201:#5208First–axis external workpiece zero point offset value :Eighth–axis ext...

  • Page 403

    PROGRAMMING16. CUSTOM MACROB–62764EN/01382The operations listed in Table 16.3(a) can be performed on variables. Theexpression to the right of the operator can contain constants and/orvariables combined by a function or operator. Variables #j and #K in anexpression can be replaced with a const...

  • Page 404

    PROGRAMMINGB–62764EN/0116. CUSTOM MACRO383Example:Creation of a drilling program that cuts according to the values ofvariables #1 and #2, then returns to the original position Suppose that the increment system is 1/1000 mm, variable #1 holds1.2345, and variable #2 holds 2.3456. Then, G00 G91 X...

  • Page 405

    PROGRAMMING16. CUSTOM MACROB–62764EN/01384Brackets are used to change the order of operations. Brackets can be usedto a depth of five levels including the brackets used to enclose a function.When a depth of five levels is exceeded, P/S alarm No. 118 occurs.Example) #1=SIN [ [ [#2+#3] *#4 +#5] ...

  • Page 406

    PROGRAMMINGB–62764EN/0116. CUSTOM MACRO385Example:When an attempt is made to assign the following values to variables#1 and #2: #1=9876543210123.456 #2=9876543277777.777the values of the variables become: #1=9876543200000.000 #2=9876543300000.000In this case, when #3=#2–#1; is calcu...

  • Page 407

    PROGRAMMING16. CUSTOM MACROB–62764EN/01386The following blocks are referred to as macro statements:S Blocks containing an arithmetic or logic operation (=) S Blocks containing a control statement (such as GOTO, DO, END)S Blocks containing a macro call command (such as macro calls byG65, G66, G6...

  • Page 408

    PROGRAMMINGB–62764EN/0116. CUSTOM MACRO387In a program, the flow of control can be changed using the GOTOstatement and IF statement. Three types of branch and repetitionoperations are used:Branch and repetitionGOTO statement (unconditional branch)IF statement (conditional branch: if ..., then....

  • Page 409

    PROGRAMMING16. CUSTOM MACROB–62764EN/01388Specify a conditional expression after IF. If the specified conditionalexpression is satisfied, a branch to sequence number n occurs. If thespecified condition is not satisfied, the next block is executed.IF [#1 GT 10] GOTO 2 ;N2 G00 G91 X10.0 ; ...

  • Page 410

    PROGRAMMINGB–62764EN/0116. CUSTOM MACRO389Specify a conditional expression after WHILE. While the specifiedcondition is satisfied, the program from DO to END is executed. If thespecified condition is not satisfied, program execution proceeds to theblock after END.WHILE [conditional expression...

  • Page 411

    PROGRAMMING16. CUSTOM MACROB–62764EN/01390The identification numbers (1 to 3) in a DO–END loop can be used asmany times as desired. Note, however, when a program includes crossingrepetition loops (overlapped DO ranges), P/S alarm No. 124 occurs.1. The identification numbers(1 to 3) can be us...

  • Page 412

    PROGRAMMINGB–62764EN/0116. CUSTOM MACRO391The 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;Sample program

  • Page 413

    PROGRAMMING16. CUSTOM MACROB–62764EN/01392A macro program can be called using the following methods:Macro callSimple call (G65)modal call (G66, G67)Macro call with G codeMacro call with M codeSubprogram call with M codeSubprogram call with T codeMacro call (G65) differs from subprogram call (M9...

  • Page 414

    PROGRAMMINGB–62764EN/0116. CUSTOM MACRO393When G65 is specified, the custom macro specified at address P is called.Data (argument) can be passed to the custom macro program.G65 P p L <argument–specification> ;P : Number of the program to call: Repetition count (1 by default)Argument ...

  • Page 415

    PROGRAMMING16. CUSTOM MACROB–62764EN/01394Argument specification II Argument specification II uses A, B, and C once each and uses I, J, andK up to ten times. Argument specification II is used to pass values suchas three–dimensional coordinates as arguments.ABCI1J1K1I2J2K2I3J3#1#2#3#4#5#6#7#8...

  • Page 416

    PROGRAMMINGB–62764EN/0116. CUSTOM MACRO395S When M99 is executed in a macro program, control returns to thecalling program. At that time, the local variable level is decrementedby one; the values of the local variables saved when the macro wascalled are restored.O0001 ; :#1=1 ;G65 P2 A2 ; ...

  • Page 417

    PROGRAMMING16. CUSTOM MACROB–62764EN/01396G65 P9100 X x Y y Z z R r F f I i A a B b H h ;X: X coordinate of the center of the circle (absolute or incremental specification)(#24)Y: Y coordinate of the center of the circle (absolute or incremental specification)(#25)Z : Hole depth (#26)...

  • Page 418

    PROGRAMMINGB–62764EN/0116. CUSTOM MACRO397Once G66 is issued to specify a modal call a macro is called after a blockspecifying movement along axes is executed. This continues until G67is issued to cancel a modal call.O0001 ; :G66 P9100 L2 A1.0 B2.0 ;G00 G90 X100.0 ;Y200.0 ;X150.0 Y300.0 ;G...

  • Page 419

    PROGRAMMING16. CUSTOM MACROB–62764EN/01398The same operation as the drilling canned cycle G81 is created using acustom macro and the machining program makes a modal macro call. Forprogram simplicity, all drilling data is specified using absolute values.Z=0RZThe canned cycle consists of the fol...

  • Page 420

    PROGRAMMINGB–62764EN/0116. CUSTOM MACRO399By setting a G code number used to call a macro program in a parameter,the macro program can be called in the same way as for a simple call(G65).O0001 ; :G81 X10.0 Y20.0 Z–10.0 ; :M30 ;O9010 ; : : :N9 M99 ;Parameter No.6050 = 81By ...

  • Page 421

    PROGRAMMING16. CUSTOM MACROB–62764EN/01400By setting an M code number used to call a macro program in a parameter,the macro program can be called in the same way as with a simple call(G65).O0001 ; :M50 A1.0 B2.0 ; :M30 ;O9020 ; : : :M99 ;Parameter No.6080 = 50By setting an M...

  • Page 422

    PROGRAMMINGB–62764EN/0116. CUSTOM MACRO401By setting an M code number used to call a subprogram (macro program)in a parameter, the macro program can be called in the same way as witha subprogram call (M98).O0001 ; :M03 ; :M30 ;O9001 ; : : :M99 ;Parameter No.6071 = 03By setti...

  • Page 423

    PROGRAMMING16. CUSTOM MACROB–62764EN/01402By enabling subprograms (macro program) to be called with a T code ina parameter, a macro program can be called each time the T code isspecified in the machining program.O0001 ; :T23 ; :M30 ;O9000 ; : : :M99 ;Bit 5 of parameter 6001 ...

  • Page 424

    PROGRAMMINGB–62764EN/0116. CUSTOM MACRO403By using the subprogram call function that uses M codes, the cumulativeusage time of each tool is measured.S The cumulative usage time of each of tools T01 to T05 is measured.No measurement is made for tools with numbers greater than T05.S The following...

  • Page 425

    PROGRAMMING16. CUSTOM MACROB–62764EN/01404O9001(M03);Macro to start countingM01;IF[#4120 EQ 0]GOTO 9;No tool specifiedIF[#4120 GT 5]GOTO 9;Out–of–range tool number#3002=0;Clears the timer.N9 M03;Rotates the spindle in the forward direction.M99;O9002(M05);Macro to end countingM01;IF[#4120 EQ...

  • Page 426

    PROGRAMMINGB–62764EN/0116. CUSTOM MACRO405For smooth machining, the CNC prereads the NC statement to beperformed next. This operation is referred to as buffering. In cuttercompensation mode (G41, G42), the NC prereads NC statements two orthree blocks ahead to find intersections. Macro statem...

  • Page 427

    PROGRAMMING16. CUSTOM MACROB–62764EN/01406N1 G01 G41 G91 X50.0 Y30.0 F100 Dd ;>> : Block being executedj : Blocks read into the bufferNC statementexecutionMacro statementexecutionBufferN1N2N3N2 #1=100 ;N3 X100.0 ;N4 #2=200 ;N5 Y50.0 ; :N4N5N3When N1 is being executed, the NC statem...

  • Page 428

    PROGRAMMINGB–62764EN/0116. CUSTOM MACRO407Custom macro programs are similar to subprograms. They can beregistered and edited in the same way as subprograms. The storagecapacity is determined by the total length of tape used to store both custommacros and subprograms.16.8REGISTERINGCUSTOM MACR...

  • Page 429

    PROGRAMMING16. CUSTOM MACROB–62764EN/01408The macro call command can be specified in MDI mode. Duringautomatic operation, however, it is impossible to switch to the MDI modefor a macro program call.A custom macro program cannot be searched for a sequence number.Even while a macro program is b...

  • Page 430

    PROGRAMMINGB–62764EN/0116. CUSTOM MACRO409In addition to the standard custom macro commands, the following macrocommands are available. They are referred to as external outputcommands.– BPRNT– DPRNT– POPEN– PCLOSThese commands are provided to output variable values and charactersth...

  • Page 431

    PROGRAMMING16. CUSTOM MACROB–62764EN/01410Example )LF12 (0000000C)M–1638400(FFE70000)Y410 (0000019A)XSpaceCBPRNT [ C** X#100 [3] Y#101 [3] M#10 [0] ]Variable value #100=0.40956 #101=–1638.4 #10=12.34DPRNT [ a #b [ c d ] … ]Number of significant decimal placesNumber of sig...

  • Page 432

    PROGRAMMINGB–62764EN/0116. CUSTOM MACRO411Example )spspspspspspDPRNT [ 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)=0L FTY –X9120012847423spLFT23Y–91.200X128.474(2) Parameter PRT(No.6001#1)=0PCLOS ;The PCLOS command releas...

  • Page 433

    PROGRAMMING16. CUSTOM MACROB–62764EN/01412NOTE1 It is not necessary to always specify the open command(POPEN), data output command (BPRNT, DPRNT), andclose command (PCLOS) together. Once an opencommand is specified at the beginning of a program, it doesnot need to be specified again except aft...

  • Page 434

    PROGRAMMINGB–62764EN/0116. CUSTOM MACRO413When a program is being executed, another program can be called byinputting an interrupt signal (UINT) from the machine. This function isreferred to as an interruption type custom macro function. Program aninterrupt command in the following format:M96...

  • Page 435

    PROGRAMMING16. CUSTOM MACROB–62764EN/01414A custom macro interrupt is available only during program execution. Itis enabled under the following conditions– When memory operation or MDI operation is selected– When STL (start lamp) is on– When a custom macro interrupt is not currently b...

  • Page 436

    PROGRAMMINGB–62764EN/0116. CUSTOM MACRO415There are two types of custom macro interrupts: Subprogram–typeinterrupts and macro–type interrupts. The interrupt type used is selectedby MSB (bit 5 of parameter 6003).(a) Subprogram–type interruptAn interrupt program is called as a subprogram....

  • Page 437

    PROGRAMMING16. CUSTOM MACROB–62764EN/01416(iii) If there are no NC statements in the interrupt program, control isreturned to the interrupted program by M99, then the program isrestarted from the command in the interrupted block.ÉÉÉÉÉÉÉÉÉÉÉÉExecution in progressNormal programInterru...

  • Page 438

    PROGRAMMINGB–62764EN/0116. CUSTOM MACRO417The interrupt signal becomes valid after execution starts of a block thatcontains M96 for enabling custom macro interrupts. The signal becomesinvalid when execution starts of a block that contains M97.While an interrupt program is being executed, the i...

  • Page 439

    PROGRAMMING16. CUSTOM MACROB–62764EN/01418There are two schemes for custom macro interrupt signal (UINT) input:The status–triggered scheme and edge– triggered scheme. When thestatus–triggered scheme is used, the signal is valid when it is on. Whenthe edge triggered scheme is used, the s...

  • Page 440

    PROGRAMMINGB–62764EN/0116. CUSTOM MACRO419To return control from a custom macro interrupt to the interruptedprogram, specify M99. A sequence number in the interrupted programcan also be specified using address P. If this is specified, the program issearched from the beginning for the specifie...

  • Page 441

    PROGRAMMING16. CUSTOM MACROB–62764EN/01420NOTEWhen an M99 block consists only of address O, N, P, L, orM, this block is regarded as belonging to the previous blockin the program. Therefore, a single–block stop does notoccur for this block. In terms of programming, the followingand are basic...

  • Page 442

    PROGRAMMINGB–62764EN/0116. CUSTOM MACRO421(2) After control is returned to the interrupted program, modalinformation is specified again as necessary.O∆∆∆∆M96PxxxNffff;M99(Pffff);Oxxx;Interrupt signal (UINT)(Without P specification)Modify modalinformationModalinformation remainsunchanged...

  • Page 443

    PROGRAMMING16. CUSTOM MACROB–62764EN/01422When the interrupt signal (UINT) is input and an interrupt program iscalled, the custom macro modal call is canceled (G67). However, whenG66 is specified in the interrupt program, the custom macro modal callbecomes valid. When control is returned from...

  • Page 444

    PROGRAMMINGB–62764EN/0117. PATTERN DATA INPUT FUNCTION42317 PATTERN DATA INPUT FUNCTIONThis function enables users to perform programming simply by extractingnumeric data (pattern data) from a drawing and specifying the numericalvalues from the CRT/MDI panel. This eliminates the need for progr...

  • Page 445

    PROGRAMMING17. PATTERN DATA INPUTFUNCTIONB–62764EN/01424Pressing the OFFSETSETTING key and [MENU] is displayed on the followingpattern menu screen. 1. TAPPING 2. DRILLING 3. BORING 4. POCKET 5. BOLT HOLE 6. LINE ANGLE 7. GRID 8. PECK 9. TEST PATRN10. BACKMENU : HOLE PATTERN ...

  • Page 446

    PROGRAMMINGB–62764EN/0117. PATTERN DATA INPUT FUNCTION425Menu title : C1 C2 C3 C4 C5 C6 C7 C8 C9C10 C11 C12C1,C2, ,C12 : Characters in the menu title (12 characters)Macro instructionG65 H90 Pp Qq Rr Ii Jj Kk :H90:Specifies the menu titlep : Assume a1 and a2 to be the codes of characters C1 and ...

  • Page 447

    PROGRAMMING17. PATTERN DATA INPUTFUNCTIONB–62764EN/01426Pattern name: C1 C2 C3 C4 C5 C6 C7 C8 C9C10C1, C2, ,C10: Characters in the pattern name (10 characters)Macro instructionG65 H91 Pn Qq Rr Ii Jj Kk ;H91: Specifies the menu titlen : Specifies the menu No. of the pattern namen=1 to 10 q : As...

  • Page 448

    PROGRAMMINGB–62764EN/0117. PATTERN DATA INPUT FUNCTION427Custom macros for the menu title and hole pattern names. 1. TAPPING 2. DRILLING 3. BORING 4. POCKET 5. BOLT HOLE 6. LINE ANGLE 7. GRID 8. PECK 9. TEST PATRN10. BACKMENU : HOLE PATTERN O0000 N00000> _MDI **** *** **...

  • Page 449

    PROGRAMMING17. PATTERN DATA INPUTFUNCTIONB–62764EN/01428When a pattern menu is selected, the necessary pattern data isdisplayed.NO. NAME DATA COMMENT500 TOOL 0.000501 STANDARD X 0.000 *BOLT HOLE502 STANDARD Y 0.000 CIRCLE*503 RADIUS 0.000 SET PATTERN504 S. ANGL 0.000 DATA TO VAR.505 HOLES NO0...

  • Page 450

    PROGRAMMINGB–62764EN/0117. PATTERN DATA INPUT FUNCTION429Menu title : C1 C2 C3 C4 C5 C6 C7 C8 C9C10C11C12C1 ,C2,…, C12 : Characters in the menu title (12 characters)Macro instructionG65 H92 Pn Qq Rr Ii Jj Kk ;H92 : Specifies the pattern namep : Assume a1 and a2 to be the codes of characters ...

  • Page 451

    PROGRAMMING17. PATTERN DATA INPUTFUNCTIONB–62764EN/01430One comment line: C1 C2 C3 C4 C5 C6 C7 C8 C9 C10 C11 C12C1, C2,…, C12 : Character string in one comment line (12 characters)Macro instructionG65 H94 Pn Qq Rr Ii Jj Kk ; H94 : Specifies the commentp : Assume a1 and a2 to be the codes of ...

  • Page 452

    PROGRAMMINGB–62764EN/0117. PATTERN DATA INPUT FUNCTION431Macro instruction to describe a parameter title , the variable name, anda comment.NO. NAME DATA COMMENT500 TOOL 0.000501 STANDARD X 0.000 *BOLT HOLE502 STANDARD Y 0.000 CIRCLE*503 RADIUS 0.000 SET PATTERN504 S. ANGL 0.000 DATA TO VAR.50...

  • Page 453

    PROGRAMMING17. PATTERN DATA INPUTFUNCTIONB–62764EN/01432Table.17.3(a) Characters and codes to be used for the pattern data input functionChar-acterCodeCommentChar-acterCodeCommentA0656054B0667055C0678056D0689057E069032SpaceF070!033Exclama–tion markG071”034QuotationmarkH072#035Hash signI073...

  • Page 454

    PROGRAMMINGB–62764EN/0117. PATTERN DATA INPUT FUNCTION433Table 17.3 (b)Numbers of subprograms employed in the pattern data input functionSubprogram No.FunctionO9500Specifies character strings displayed on the pattern data menu.O9501Specifies a character string of the pattern data corresponding ...

  • Page 455

    PROGRAMMING18. PROGRAMMABLE PARAMETERENTRY (G10)B–62764EN/0143418 PROGRAMMABLE PARAMETER ENTRY (G10)The values of parameters can be entered in a lprogram. This function isused for setting pitch error compensation data when attachments arechanged or the maximum cutting feedrate or cutting time c...

  • Page 456

    PROGRAMMINGB–62764EN/0118. PROGRAMMABLE PARAMETERENTRY (G10)4351. Set bit 2 (SPB) of bit type parameter No. 3404G10L50 ; Parameter entry modeN3404 R 00000100 ; SBP settingG11 ; cancel parameter entry mode 2. Change the values for the Z–axis (3rd axis) and A–axis (4th axis) inaxis type param...

  • Page 457

    PROGRAMMING19. MEMORY OPERATION USING FS15 TAPE FORMATB–62764EN/0143619 MEMORY OPERATION USING FS15 TAPE FORMATMemory operation of the program registered by FS15 tape format ispossible with setting of the setting parameter (No. 0001#1).Data formats for cutter compensation, subprogram calling,...

  • Page 458

    PROGRAMMINGB–62764EN/0120. HIGH SPEED CUTTING FUNCTIONS43720 HIGH SPEED CUTTING FUNCTIONS

  • Page 459

    PROGRAMMING20. HIGH SPEED CUTTING FUNCTIONSB–62764EN/01438This function can convert the machining profile to a data group that canbe distributed as pulses at high–speed by the macro compiler and macroexecutor. The function can also call and execute the data group as amachining cycle using th...

  • Page 460

    PROGRAMMINGB–62764EN/0120. HIGH SPEED CUTTING FUNCTIONS439AlarmnumberDescriptions115The contents of the header are invalid. This alarm is issued inthe following cases.1. The header corresponding to the number of the specifiedcall machining cycle was not found.2. A cycle connection data value i...

  • Page 461

    PROGRAMMING20. HIGH SPEED CUTTING FUNCTIONSB–62764EN/01440When an arc is cut at a high speed in circular interpolation, a radial errorexists between the actual tool path and the programmed arc. Anapproximation of this error can be obtained from the followingexpression:0YXr∆r:Error∆r :Maxim...

  • Page 462

    PROGRAMMINGB–62764EN/0120. HIGH SPEED CUTTING FUNCTIONS441This function is designed for high–speed precise machining. With thisfunction, the delay due to acceleration/deceleration and the delay in theservo system which increase as the feedrate becomes higher can besuppressed.The tool can the...

  • Page 463

    PROGRAMMING20. HIGH SPEED CUTTING FUNCTIONSB–62764EN/01442In the look–ahead control mode, the functions listed below cannot bespecified. To specify these functions, cancel the look–ahead controlmode, specify the desired function, then set look–ahead control modeagain.⋅ Rigid tapping fu...

  • Page 464

    PROGRAMMINGB–62764EN/0120. HIGH SPEED CUTTING FUNCTIONS443A remote buffer can continuously supply a large amount of data to theCNC at high speeds when connected to the host computer or input/outputequipment via a serial interface.CNCRS–232–C / RS–422Remote bufferHost computerInput/output ...

  • Page 465

    PROGRAMMING20. HIGH SPEED CUTTING FUNCTIONSB–62764EN/01444VBinary input operation enabled :G05;VBinary input operation disabled :The travel distance alongall axes are set to zero.VData format for binary input operationL Data sequence1st axis2nd axisNth axisCheck byteByteHigh byteHigh byteHig...

  • Page 466

    PROGRAMMINGB–62764EN/0120. HIGH SPEED CUTTING FUNCTIONS445**************1514131211109876543210000000000000111111Example: When the travel distance is 700 µm per unit time (millimeter machine with increment system IS–B)1514131211109876543210All bytes of the block except for the check byte ([2...

  • Page 467

    PROGRAMMING20. HIGH SPEED CUTTING FUNCTIONSB–62764EN/01446High–speed remote buffer A uses binary data. On the other hand,high–speed remote buffer B can directly use NC language coded withequipment such as an automatic programming unit to perform high–speedmachining.G05P01 ;Start high–s...

  • Page 468

    PROGRAMMINGB–62764EN/0120. HIGH SPEED CUTTING FUNCTIONS447Some machining errors are due to the CNC. Such errors includemachining errors caused by acceleration/deceleration after interpolation.To eliminate these errors, the following functions are performed at highspeed by an RISC processor. T...

  • Page 469

    PROGRAMMING20. HIGH SPEED CUTTING FUNCTIONSB–62764EN/01448I, J, K, R : I, J, K, and R specified for circular interpolationData for movement along axis : Data for moving the tool along theaxis set in parameter No. 1020 (anyaxis selected from X, Y, Z, U, V, W, A,B, and C)( ): Control–in and con...

  • Page 470

    PROGRAMMINGB–62764EN/0120. HIGH SPEED CUTTING FUNCTIONS449When the cutter compensation C option is provided, cutter compensationC is enabled even in HPCC mode. Operation in the offset mode is thesame as when HPCC mode is not set, except in the following cases:S When the end point for an arc do...

  • Page 471

    PROGRAMMING20. HIGH SPEED CUTTING FUNCTIONSB–62764EN/01450G05 P10000 ;G41 X__ Y__ D01 ;G40 X__ Y__ ;G42 X__ Y__ D02 ;G40 X__ Y__ ; G05 P0 ;L(Example of a correct program)Cutter compensation (G41) modeCutter compensation(G42) modeHPCC modeG41 X__ Y__ D01 ;G05 P10000 ;LLG05 P10000 ;G41 X__ Y__ D0...

  • Page 472

    PROGRAMMINGB–62764EN/0120. HIGH SPEED CUTTING FUNCTIONS451N6N7N8N6 G91 X100. Z100. ;N7 G40 ;N8 X100. ;LLN6 G91 X100. Z100. ;N7 G40 ;N8 G05 P0 ;LLIf cutter compensation mode is canceled while a vector still remainsand HPCC mode is canceled before a move command is specified,the P/S alarm No.5013...

  • Page 473

    PROGRAMMING20. HIGH SPEED CUTTING FUNCTIONSB–62764EN/01452When bit 1 of parameter MSU No. 8403 is set to 1, G00, M, S, T, and Bcodes can be specified even in HPCC mode. When specifying these codesin HPCC mode, note the following:(1)When a G00, M, S, T, or B code is specified in cutter compensa...

  • Page 474

    PROGRAMMINGB–62764EN/0120. HIGH SPEED CUTTING FUNCTIONS453(2)When G00 is specified with bit 7 of parameter SG0 No. 8403 set to 1,the following points should be noted:⋅Since the G00 command is replaced by the G01 command, the tool moves at the feedrate set in parameter No. 8481 even when data ...

  • Page 475

    PROGRAMMING20. HIGH SPEED CUTTING FUNCTIONSB–62764EN/01454Before G05P10000 can be specified, the following modal values must beset. If they are not set, the P/S alarm No. 5012 is issued.G codeMeaning G13.1 Cancels polar coordinate interpolation. G15 Cancels a polar coordinate command. G40 C...

  • Page 476

    PROGRAMMINGB–62764EN/0120. HIGH SPEED CUTTING FUNCTIONS455O0001 ;G91 G01 F1000. ;X10. Y20. Z30. ;G05 P10000 ;X100. Y100. ;G02 I10. ;G01 X100. Y300. F1500. ;X30. Y–10. ;G05 P0 ;G04 X5. ;G900 G00 X100. Y300. ;M02 ;LSetting HPCC modeCanceling HPCC modeExamples

  • Page 477

    PROGRAMMING20. HIGH SPEED CUTTING FUNCTIONSB–62764EN/01456During high–speed machining, the distribution processing status ismonitored. When distribution processing terminates, P/S alarm No. 000and P/S alarm No. 179 are issued upon completion of the high–speedmachining command (according to...

  • Page 478

    PROGRAMMINGB–62764EN/0121. AXIS CONTROL FUNCTIONS45721 AXIS CONTROL FUNCTIONS

  • Page 479

    PROGRAMMING21. AXIS CONTROL FUNCTIONSB–62764EN/01458It is possible to change the operating mode for two or more specified axesto either synchronous operation or normal operation by an input signalfrom the machine.The following operating modes are applicable to machines having twotables driven i...

  • Page 480

    PROGRAMMINGB–62764EN/0121. AXIS CONTROL FUNCTIONS459This operating mode is used for machining different workpieces on eachtable. The operation is the same as in ordinary CNC control, where themovement of the master axis and slave axis is controlled by theindependent axis address (Y and V). It...

  • Page 481

    PROGRAMMING21. AXIS CONTROL FUNCTIONSB–62764EN/01460In synchronous axis control, commands that require no axis motion, suchas the workpiece coordinate system setup command (G92) and the localcoordinate system setup command (G52), are set to the Y axis by programcommand Yyyyy issued to the maste...

  • Page 482

    PROGRAMMINGB–62764EN/0121. AXIS CONTROL FUNCTIONS461The roll–over function prevents coordinates for the rotation axis fromoverflowing. The roll–over function is enabled by setting bit 0 ofparameter ROAx 1008 to 1.For an incremental command, the tool moves the angle specified in thecommand....

  • Page 483

    PROGRAMMING21. AXIS CONTROL FUNCTIONSB–62764EN/01462To replace the tool damaged during machining or to check the status ofmachining, the tool can be withdrawn from a workpiece. The tool canthen be advanced again to restart machining efficiently.The tool withdrawal and return operation consists...

  • Page 484

    PROGRAMMINGB–62764EN/0121. AXIS CONTROL FUNCTIONS463When the TOOL WITHDRAW switch on the machine operator’s panelis turned on during automatic operation or in the automatic operation stopor hold state, the tool is retracted the length of the programmed retractiondistance. This operation is c...

  • Page 485

    PROGRAMMING21. AXIS CONTROL FUNCTIONSB–62764EN/01464If the origin, presetting, or workpiece origin offset value (or Externalworkpiece origin offset value) is changed after retraction is specified withG10.6 in absolute mode, the change is not reflected in the retractionposition. After such chan...

  • Page 486

    PROGRAMMINGB–62764EN/0121. AXIS CONTROL FUNCTIONS465When enough torque for driving a large table cannot be produced by onlyone motor, two motors can be used for movement along a single axis.Positioning is performed by the main motor only. The submotor is usedonly to produce torque. With this ...

  • Page 487

    PROGRAMMING21. AXIS CONTROL FUNCTIONSB–62764EN/01466When the angular axis makes an angle other than 90° with theperpendicular axis, the angular axis control function controls the distancetraveled along each axis according to the inclination angle. For theordinary angular axis control function...

  • Page 488

    PROGRAMMINGB–62764EN/0121. AXIS CONTROL FUNCTIONS467An absolute and a relative position are indicated in the programmedCartesian coordinate system.A machine position indication is provided in the machine coordinatesystem where an actual movement is taking place according to aninclination angle....

  • Page 489

    PROGRAMMING21. AXIS CONTROL FUNCTIONSB–62764EN/01468When contour grinding is performed, the chopping function can be usedto grind the side face of a workpiece. By means of this function, whilethe grinding axis (the axis with the grinding wheel) is being movedvertically, a contour program can b...

  • Page 490

    PROGRAMMINGB–62764EN/0121. AXIS CONTROL FUNCTIONS469The chopping feedrate is clamped to the maximum chopping feedrate (setwith parameter No. 8375) if the specified feedrate is greater than themaximum chopping feedrate.The feedrate can be overridden by 0% to 150% by applying the choppingfeedrate...

  • Page 491

    PROGRAMMING21. AXIS CONTROL FUNCTIONSB–62764EN/01470(2) When the lower dead point is changed during movement from theupper dead point to the lower dead pointPrevious upper dead pointNew lower dead pointPrevious lower dead pointThe tool first moves to the previous lower dead point, then to the u...

  • Page 492

    PROGRAMMINGB–62764EN/0121. AXIS CONTROL FUNCTIONS471When high–speed chopping is performed with the grinding axis, a servodelay and acceleration/deceleration delay occur. These delays prevent thetool from actually reaching the specified position. The control unitmeasures the difference betwe...

  • Page 493

    PROGRAMMING21. AXIS CONTROL FUNCTIONSB–62764EN/01472If the mode is changed during chopping, chopping does not stop. Inmanual mode, the chopping axis cannot be moved manually. It can,however, be moved manually by means of the manual interrupt.When a reset is performed during chopping, the tool...

  • Page 494

    PROGRAMMINGB–62764EN/0121. AXIS CONTROL FUNCTIONS473When a program contains G codes for starting chopping (G81.1) andstopping chopping (G80), an attempt to restart that program results in aP/S 5050 alarm being output.When a program that does not include the chopping axis is restartedduring chop...

  • Page 495

    PROGRAMMING21. AXIS CONTROL FUNCTIONSB–62764EN/01474To machine (grind/cut) a gear, the rotation of the workpiece axisconnected to a servo motor is synchronized with the rotation of the toolaxis (grinding wheel/hob) connected to the spindle motor. Tosynchronize the tool axis with the workpiece ...

  • Page 496

    PROGRAMMINGB–62764EN/0121. AXIS CONTROL FUNCTIONS475The rotation direction of the workpiece axis depends on the rotationdirection of the tool axis. That is, when the rotation direction of thetool axis is positive, the rotation direction of the workpiece axis is alsopositive; when the rotation ...

  • Page 497

    PROGRAMMING21. AXIS CONTROL FUNCTIONSB–62764EN/014761 When bit 2 (HDR) of parameter No. 7700 = 1(a)C : +Z : +P : +Compensationdirection: ++C+Z– Z(b)+C+Z– Z(c)+C+Z– Z(d)+C+Z– ZC : +Z : +P : –Compensationdirection: –C : +Z : –P : +Compensationdirection: –C ...

  • Page 498

    PROGRAMMINGB–62764EN/0121. AXIS CONTROL FUNCTIONS477In helical compensation, the machine coordinates and absolutecoordinates of the workpiece axis (4th axis) are updated by the amount ofhelical compensation.By turning on the retract signal RTRCT (on a rising edge) in automaticoperation mode or ...

  • Page 499

    PROGRAMMING21. AXIS CONTROL FUNCTIONSB–62764EN/01478O1000 ;N0010 M19 ;Performs tool axis orientation.N0020 G28 G91 C0 ;Performs reference position returnoperation of the workpiece axis.N0030 G81 T20 L1 ;Starts synchronization between the toolaxis and workpiece axis. (The workpiece a...

  • Page 500

    PROGRAMMINGB–62764EN/0121. AXIS CONTROL FUNCTIONS479The retreat and retry functions incorporate those functions that are neededto enable retreat and retry operations with a PMC and custom macros.Even if machining is interrupted by a reset or emergency stop, the tool canbe returned from the inte...

  • Page 501

    PROGRAMMING21. AXIS CONTROL FUNCTIONSB–62764EN/01480(1) After specifying positioning at a machining start point, specify asequence number from 7000 to 7998 in a block where variouspreparatory functions (M, S, and T) for machining cycles are specified.The start point of a block where a sequence ...

  • Page 502

    PROGRAMMINGB–62764EN/0121. AXIS CONTROL FUNCTIONS481Each machine tool builder is to create a retreat function program, whichis started from the PMC by using a workpiece number search capabilityor program number search capability. For detailed information, refer tothe relevant manual provided b...

  • Page 503

    PROGRAMMING21. AXIS CONTROL FUNCTIONSB–62764EN/01482(Example)Machining program⋅ ⋅ ⋅ ⋅ ⋅ ⋅ ⋅ ⋅ ⋅ ⋅ ⋅ ⋅ N7000 M29 S1000 ; N8000 G84 X20. Y20. R–10. Z–30. F500 ; N8010 X50. Y50. ; N8020 X100. Y100 . ; G80 ; ⋅ ⋅ ⋅ ⋅ ⋅ ⋅ ⋅ ...

  • Page 504

    PROGRAMMINGB–62764EN/0121. AXIS CONTROL FUNCTIONS483Information required for the machining return and restart functions isstored in macro variables. The start number of those variables is to be setin parameter No. 7351. Twenty–five successive variables starting withthe variable specified in...

  • Page 505

    PROGRAMMING21. AXIS CONTROL FUNCTIONSB–62764EN/01484O1000 ;⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅G00 X100. Y100. Z100. ;(A)N7010 M101 T10 S100 ;(B)G00 X0. Y0. Z0. ;(C)N8010 G01 Z– 20. F100 ;(D)Z– 40. ;(E)Y20. ;(F)N9010 G00 Z0. ;(G...

  • Page 506

    PROGRAMMINGB–62764EN/0122. TWO–PATH CONTROLFUNCTION48522 TWO-PATH CONTROL FUNCTION

  • Page 507

    PROGRAMMING22. TWO–PATH CONTROLFUNCTIONB–62764EN/01486The two–path control function is designed for use on a machining centerwhere two systems are operated independently to simultaneously performcutting.The operations of two path are programmed independently of each other,and each program i...

  • Page 508

    PROGRAMMINGB–62764EN/0122. TWO–PATH CONTROLFUNCTION487Control based on M codes is used to cause one path to wait for the otherduring machining. By specifying an M code in a machining program foreach path, the two paths can wait for each other at a specified block. Whenan M code for waiting ...

  • Page 509

    PROGRAMMING22. TWO–PATH CONTROLFUNCTIONB–62764EN/01488NOTE1 An M code for waiting must always be specified in a single block.2 If one path is waiting because of an M code for waiting specified, and a different M code forwaiting is specified with the other path, an P/S alarm (No. 160) is raise...

  • Page 510

    PROGRAMMINGB–62764EN/0122. TWO–PATH CONTROLFUNCTION489A machine with two paths have different custom macro commonvariables and tool compensation memory areas for path 1 and 2. Paths 1and 2 can share the custom macro common variables and toolcompensation memory areas provided certain parame...

  • Page 511

    III. OPERATION

  • Page 512

    OPERATIONB–62764EN/011. GENERAL4931 GENERAL

  • Page 513

    OPERATION1. GENERALB–62764EN/01494The CNC machine tool has a position used to determine the machineposition.This position is called the reference position, where the tool is replacedor the coordinate are set. Ordinarily, after the power is turned on, the toolis moved to the reference position....

  • Page 514

    OPERATIONB–62764EN/011. GENERAL495Using machine operator’s panel switches, pushbuttons, or the manualhandle, the tool can be moved along each axis.ToolWorkpieceMachine operator’s panelManualpulse generatorFig.1.1 (b) The tool movement by manual operationThe tool can be moved in the followi...

  • Page 515

    OPERATION1. GENERALB–62764EN/01496Automatic operation is to operate the machine according to the createdprogram. It includes memory, MDI and DNC operations. (See SectionIII–4).ProgramTool01000;M_S_T;G92_X_ ;G00...;G01...... ;....Fig.1.2 (a) Tool Movement by ProgrammingAfter the program is o...

  • Page 516

    OPERATIONB–62764EN/011. GENERAL497Select the program used for the workpiece. Ordinarily, one program isprepared for one workpiece. If two or more programs are in memory,select the program to be used, by searching the program number (SectionIII–9.3).G92O1001Program numberM30G92O1002G92M30Pro...

  • Page 517

    OPERATION1. GENERALB–62764EN/01498While automatic operation is being executed, tool movement can overlapautomatic operation by rotating the manual handle.ZXProgrammeddepth of cutDepth of cut by handle interruptionTool position afterhandle interruptionTool position during automatic operationFig....

  • Page 518

    OPERATIONB–62764EN/011. GENERAL499Before machining is started, the automatic running check can beexecuted. It checks whether the created program can operate the machineas desired. This check can be accomplished by running the machineactually or viewing the position display change (without run...

  • Page 519

    OPERATION1. GENERALB–62764EN/01500When the cycle start pushbutton is pressed, the tool executes oneoperation then stops. By pressing the cycle start again, the tool executesthe next operation then stops. The program is checked in this manner.Cycle startCycle startCycle startCycle startStopSto...

  • Page 520

    OPERATIONB–62764EN/011. GENERAL501After a created program is once registered in memory, it can be correctedor modified from the CRT/MDI panel (See Section III–9).This operation can be executed using the part program storage/editfunction.Program registrationCRT/MDI CNC CNCProgram correction o...

  • Page 521

    OPERATION1. GENERALB–62764EN/01502The operator can display or change a value stored in CNC internalmemory by key operation on the CRT/MDI screen (See III–11).Data settingCRT/MDIData displayScreen KeysCNC memoryFig.1.6 (a) Displaying and Setting DataTool compensationnumber1 12.3 25.0...

  • Page 522

    OPERATIONB–62764EN/011. GENERAL503Machinedshape1st tool path2nd tool pathOffset value of the 1st toolOffset value of the 2nd toolFig.1.6 (c) Offset ValueApart from parameters, there is data that is set by the operator inoperation. This data causes machine characteristics to change.For example...

  • Page 523

    OPERATION1. GENERALB–62764EN/01504The CNC functions have versatility in order to take action incharacteristics of various machines.For example, CNC can specify the following:S Rapid traverse rate of each axisS Whether increment system is based on metric system or inch system.S How to set comman...

  • Page 524

    OPERATIONB–62764EN/011. GENERAL505The contents of the currently active program are displayed. In addition,the programs scheduled next and the program list are displayed.(See Section III–11.2.1)PROGRAMMEM STOP * * * * * *13 : 18 : 14110000005>_PRGRMN1 G90 G17 G00 G41 D07 X250.0 Y550.0 ;N2 ...

  • Page 525

    OPERATION1. GENERALB–62764EN/01506The current position of the tool is displayed with the coordinate values.The distance from the current position to the target position can also bedisplayed. (See Section III–11.1.1 to 11.1.3)YXxyWorkpiece coordinate system ACTUAL POSITION (ABSOLUTE)* * * * * ...

  • Page 526

    OPERATIONB–62764EN/011. GENERAL507When this option is selected, two types of run time and number of partsare displayed on the screen. (See Section lll–11.4.5)ACTUAL POSITION (ABSOLUTE)* * * *O0003 N00003(OPRT)X 150.000Y 300.000Z 100.000MEM STRT20 : 22 : 23RUN TIME0H16M CYCLE TIME 0H 1M 0S...

  • Page 527

    OPERATION1. GENERALB–62764EN/01508Programs, offset values, parameters, etc. input in CNC memory can beoutput to paper tape, cassette, or a floppy disk for saving. After onceoutput to a medium, the data can be input into CNC memory.MemoryProgramOffsetParametersReader/puncherinterfacePortable t...

  • Page 528

    OPERATIONB–62764EN/012. OPERATIONAL DEVICES5092 OPERATIONAL DEVICESThe peripheral devices available include the CRT/MDI (or LCD/MDI,PDP/MDI, Separate type MDI) attached to the CNC, machine operator’spanel and external input/output devices such as tape reader, PPR, floppycassette, and FA card....

  • Page 529

    OPERATION2. OPERATIONAL DEVICESB–62764EN/01510The following Setting and Display units are avairable.2.1.19″ Monochrome CRT/MDI (Small Type)2.1.29″ Monochrome CRT/MDI (Standard Type)2.1.39″ Monochrome PDP/MDI (Standard Type)2.1.48.4″ Color LCD/MDI (Small Type, Sheet Key)2.1.58.4″ Colo...

  • Page 530

    OPERATIONB–62764EN/012. OPERATIONAL DEVICES511(10) FUNCTION KEYS(5) ADDRESS/NUMERIC KEYS(6) SHIFT KEY(8) CANCEL KEY(7) INPUT KEY(9) EDIT KEYS(3) HELP KEY(2) RESET KEY(11) CURSOR KEYS(12) PAGE–UP/DOWN KEYS(4) SOFT KEYS(1) POWER ON/OFF BUTTONS(4) SOFT KEYS(6) SHIFT KEY(12) PAGE–UP/DOWN KEYS(1...

  • Page 531

    OPERATION2. OPERATIONAL DEVICESB–62764EN/01512(1) POWER ON/OFF BUTTONS(4) SOFT KEYS(6) SHIFT KEY(12) PAGE–UP/DOWN KEYS(11) CURSOR KEYS(10) FUNCTION KEYS(7) INPUT KEY(8) CANCEL KEY(9) EDIT KEYS(5) ADDRESS/NUMERIC KEYS(2) RESET KEY(3) HELP KEY(4) SOFT KEYS(6) SHIFT KEY(12) PAGE–UP/DOWN KEYS(1...

  • Page 532

    OPERATIONB–62764EN/012. OPERATIONAL DEVICES513(10) FUNCTION KEYS(5) ADDRESS/NUMERIC KEYS(1) POWER ON/OFF BUTTONS(4) SOFT KEYS(12) PAGE–UP/DOWN KEYS(11) CURSOR KEYS(9) EDIT KEYS(8) CANCEL KEY(6) SHIFT KEY(7) INPUT KEY(3) HELP KEY(2) RESET KEY(10) FUNCTION KEYS(5) ADDRESS/NUMERIC KEYS(1) POWER ...

  • Page 533

    OPERATION2. OPERATIONAL DEVICESB–62764EN/01514(1) POWER ON/OFFBUTTONS(4) SOFT KEYS(2) RESET KEY(3) HELP KEY(6) SHIFT KEY(5) ADDRESS/NUMERIC KEYS(8) CANCEL KEY(10) FUNCTION KEYS(7) INPUT KEY(12) PAGE–UP/DOWN KEYS(11) CURSOR KEYS(9) EDIT KEYS2.1.79.5″ Color LCD/MDI(Vertical Type)

  • Page 534

    OPERATIONB–62764EN/012. OPERATIONAL DEVICES515(1) POWER ON/OFF BUTTONS(2) RESET KEY(3) HELP KEY(4) SOFT KEYS(5) ADDRESS/NUMERIC KEYS(6) SHIFT KEY(7) INPUT KEY(8) CANCEL KEY(9) EDIT KEYS(10) FUNCTION KEYS(11) CURSOR KEYS(12) PAGE–UP/DOWN KEYS2.1.814″ Color CRT/MDI(Horizontal Type)

  • Page 535

    OPERATION2. OPERATIONAL DEVICESB–62764EN/01516(1) POWER ON/OFF BUTTONS(2) RESET KEY(3) HELP KEY(4) SOFT KEYS(5) ADDRESS/NUMERIC KEYS(6) SHIFT KEY(7) INPUT KEY(8) CANCEL KEY(9) EDIT KEYS(10) FUNCTION KEYS(11) CURSOR KEYS(12) PAGE–UP/DOWN KEYS2.1.914″ Color CRT/MDI(Vertical Type)

  • Page 536

    OPERATIONB–62764EN/012. OPERATIONAL DEVICES517(4) SOFT KEYS(4) SOFT KEYS2.1.109″ Monochrome CRT(Separate Type)2.1.119″ Monochrome PDP(Separate Type)

  • Page 537

    OPERATION2. OPERATIONAL DEVICESB–62764EN/01518(4) SOFT KEYS(4) SOFT KEYS2.1.127.2″ Monochrome LCD(Separate type)2.1.138.4″ Color LCD(Separate type)

  • Page 538

    OPERATIONB–62764EN/012. OPERATIONAL DEVICES519(4) SOFT KEYS(10) FUNCTION KEYS(5) ADDRESS/NUMERIC KEYS(6) SHIFT KEY(8) CANCEL KEY(7) INPUT KEY(9) EDIT KEYS(3) HELP KEY(2) RESET KEY(11) CURSOR KEYS(12) PAGE–UP/DOWN KEYS2.1.149.5″ Color LCD(Separate Type)2.1.15Separate Type MDI(Small Key) for ...

  • Page 539

    OPERATION2. OPERATIONAL DEVICESB–62764EN/01520(6) SHIFT KEY(12)PAGE–UP/DOWN KEYS(11) CURSOR KEYS(10) FUNCTION KEYS(7) INPUT KEY(8) CANCEL KEY(9) EDIT KEYS(5) ADDRESS/NUMERIC KEYS(2) RESET KEY(3) HELP KEY2.1.16Separate Type MDI(Standard Key) for9″CRT/PDP,8.4″/7.2″LCD

  • Page 540

    OPERATIONB–62764EN/012. OPERATIONAL DEVICES521(10) FUNCTION KEYS(5) ADDRESS/NUMERIC KEYS(12) PAGE–UP/DOWN KEYS(11) CURSOR KEYS(9) EDIT KEYS(8) CANCEL KEY(6) SHIFT KEY(7) INPUT KEY(3) HELP KEY(2) RESET KEY2.1.17Separate Type MDI(Vertical Type) for 9.5″ LCD

  • Page 541

    OPERATION2. OPERATIONAL DEVICESB–62764EN/01522(10) FUNCTION KEYS(5) ADDRESS/NUMERIC KEYS(12) PAGE–UP/DOWN KEYS(11) CURSOR KEYS(9) EDIT KEYS(8) CANCEL KEY(6) SHIFT KEY(7) INPUT KEY(3) HELP KEY(2) RESET KEY2.1.18Separate Type MDI(Horizontal Type) for9.5″LCD

  • Page 542

    OPERATIONB–62764EN/012. OPERATIONAL DEVICES523Table2.2 Explanation of the MDI keyboardNumberNameExplanation1Power ON and OFF buttonsPress theses buttons to turn CNC power ON and OFF.2RESET keyPress this key to reset the CNC, to cancel an alarm, etc.3HELP keyPress this button to use the help fu...

  • Page 543

    OPERATION2. OPERATIONAL DEVICESB–62764EN/01524Table2.2 Explanation of the MDI keyboardNumberExplanationName11Cursor move keysThere are four different cursor move keys. :This key is used to move the cursor to the right or in the forwarddirection. The cursor is moved in short units in the forwa...

  • Page 544

    OPERATIONB–62764EN/012. OPERATIONAL DEVICES525The function keys are used to select the type of screen (function) to bedisplayed. When a soft key (section select soft key) is pressedimmediately after a function key, the screen (section) corresponding to theselected function can be selected.1Pre...

  • Page 545

    OPERATION2. OPERATIONAL DEVICESB–62764EN/01526Function keys are provided to select the type of screen to be displayed.The following function keys are provided on the MDI panel:Press this key to display the position screen.Press this key to display the program screen.Press this key to display th...

  • Page 546

    OPERATIONB–62764EN/012. OPERATIONAL DEVICES527To display a more detailed screen, press a function key followed by a softkey. Soft keys are also used for actual operations.The following illustrates how soft key displays are changed by pressingeach function key.: Indicates a screen that can be d...

  • Page 547

    OPERATION2. OPERATIONAL DEVICESB–62764EN/01528Monitor screen[(OPRT)][PTSPRE][EXEC][RUNPRE][EXEC][ABS]Absolute coordinate displayPOS[(OPRT)][REL](Axis or numeral)[ORIGIN][PRESET][ALLEXE](Axis name)[EXEC][PTSPRE][EXEC][RUNPRE][EXEC][ALL][(OPRT)][PTSPRE][EXEC][RUNPRE][EXEC][HNDL][(OPRT)][PTSPRE][E...

  • Page 548

    OPERATIONB–62764EN/012. OPERATIONAL DEVICES529[ABS][(OPRT)][BG–EDT][O SRH][PRGRM]Program display screenPROGSoft key transition triggered by the function keyin the MEM modePROG[N SRH][REWIND]See “When the soft key [BG–EDT] is pressed”[(OPRT)][CHECK]Program check display screen[REL]Curren...

  • Page 549

    OPERATION2. OPERATIONAL DEVICESB–62764EN/01530[FL.SDL][PRGRM]File directory display screen[(OPRT)][DIR][SELECT][EXEC](number)[F SET]Schedule operation display screen[(OPRT)][SCHDUL][CLEAR](Schedule data)[CAN][EXEC][INPUT]Return to(1) (Program display)(2)2/2

  • Page 550

    OPERATIONB–62764EN/012. OPERATIONAL DEVICES5311/2[(OPRT)][BG–EDT](O number)[O SRH][PRGRM]Program displayPROG(Address)[SRH↓][REWIND](Address)[SRH↑][F SRH][CAN](N number)[EXEC][READ][CHAIN][STOP][CAN][EXEC][PUNCH][STOP][CAN][EXEC][DELETE][CAN][EXEC][EX–EDT][COPY][CRSR∼][∼CRSR][∼BTTM...

  • Page 551

    OPERATION2. OPERATIONAL DEVICESB–62764EN/01532(1)[C.A.P.]Graphic Conversational Programming[PRGRM][G.MENU](G number)[BLOCK](Data)[INPUT]INSERTWhen a G number is omitted, the standard screen appears.[(OPRT)][INPUT]2/2Return to the program[(OPRT)][BG–EDT](O number)[O SRH][LIB]Program directory ...

  • Page 552

    OPERATIONB–62764EN/012. OPERATIONAL DEVICES533[(OPRT)][BG–EDT][PRGRM]Program displayPROGSoft key transition triggered by the function keyin the MDI modePROGPROGRAM SCREEN[(OPRT)][BG–EDT][MDI]Program input screen(Address)(Address)[SRH↓][SRH↑]Current block display screen[(OPRT)][BG–EDT]...

  • Page 553

    OPERATION2. OPERATIONAL DEVICESB–62764EN/01534[(OPRT)][BG–EDT][PRGRM]Program displayPROGSoft key transition triggered by the function keyin the HNDL, JOG, or REF modePROGPROGRAM SCREENCurrent block display screen[(OPRT)][BG–EDT][CURRNT]Next block display screen[(OPRT)][BG–EDT][NEXT]Progra...

  • Page 554

    OPERATIONB–62764EN/012. OPERATIONAL DEVICES5351/2[(OPRT)][BG–END](O number)[O SRH][PRGRM]Program displayPROG(Address)[SRH↓][REWIND](Address)[SRH↑][F SRH][CAN](N number)[EXEC][READ][CHAIN][STOP][CAN][EXEC][PUNCH][STOP][CAN][EXEC][DELETE][CAN][EXEC][EX–EDT][COPY][CRSR∼][∼CRSR][∼BTTM...

  • Page 555

    OPERATION2. OPERATIONAL DEVICESB–62764EN/01536[(OPRT)][BG–EDT](O number)[O SRH][LIB]Program directory display[READ][CHAIN][STOP][CAN][EXEC][PUNCH][STOP][CAN][EXEC](1)(O number)(O number)[C.A.P.]Graphic Conversational Programming[PRGRM][G.MENU](G number)[BLOCK](Data)When a G number is omitted,...

  • Page 556

    OPERATIONB–62764EN/012. OPERATIONAL DEVICES537[(OPRT)][OFFSET]Tool offset screenSoft key transition triggered by the function keyOFFSETSETTING(Number)(Axis name)(Numeral)(Numeral)[NO SRH][INP.C.][+INPUT][INPUT][(OPRT)][SETING]Setting screen(Numeral)(Numeral)[NO SRH][+INPUT][INPUT][ON:1][OFF:0][...

  • Page 557

    OPERATION2. OPERATIONAL DEVICESB–62764EN/01538[(OPRT)][MENU]Menu programming screen[SELECT](Number)[OPR]Software operator’s panel screen[(OPRT)][TOOLLF]Tool life management setting screen(Numeral)[NO SRH][INPUT](Number)[CAN][EXEC][CLEAR]2/2(1)

  • Page 558

    OPERATIONB–62764EN/012. OPERATIONAL DEVICES539Soft key transition triggered by the function key[(OPRT)][PARAM]Parameter screen(Numeral)(Numeral)[NO SRH][+INPUT][INPUT][ON:1][OFF:0](Number)SYSTEMSYSTEM[READ][CAN][EXEC][PUNCH][CAN][EXEC][(OPRT)][DGNOS]Diagnosis screen[NO SRH](Number)[PMC]PMC scre...

  • Page 559

    OPERATION2. OPERATIONAL DEVICESB–62764EN/01540[W.DGNS]Waveform diagnosis screen(4)[W.PRM][W.GRPH][STSRT][TIME→][←TIME][H–DOBL][H–HALF][STSRT][CH–1↑][V–DOBL][V–HALF][CH–1↓][STSRT][CH–2↑][V–DOBL][V–HALF][CH–2↓]2/2[(OPRT)][SV.PRM]Servo parameter screen[ON:1][OFF:0][...

  • Page 560

    OPERATIONB–62764EN/012. OPERATIONAL DEVICES541Soft key transition triggered by the function key[ALARM]Alarm display screenMESSAGEMESSAGE[MSG]Message display screen[HISTRY]Alarm history screen[(OPRT)][CLEAR]MESSAGE SCREEN[1 ALAM]Soft key transition triggered by the function keyAlarm detail scree...

  • Page 561

    OPERATION2. OPERATIONAL DEVICESB–62764EN/01542Soft key transition triggered by the function key[(OPRT)][PARAM]Solid graphicsGRAPHGRAPH[BLANK][ANEW][(OPRT)][3–PLN][ ][←][→][↑][↓][(OPRT)][EXEC][A.ST][F.ST][STOP][REWIND][+ROT][–ROT][+TILT][–TILT][(OPRT)][REVIEW][ANEW][+ROT][–RO...

  • Page 562

    OPERATIONB–62764EN/012. OPERATIONAL DEVICES543When an address and a numerical key are pressed, the charactercorresponding to that key is input once into the key input buffer. Thecontents of the key input buffer is displayed at the bottom of the CRTscreen. In order to indicate that it is key ...

  • Page 563

    OPERATION2. OPERATIONAL DEVICESB–62764EN/01544After a character or number has been input from the MDI panel, a datacheck is executed when INPUTkey or a soft key is pressed. In the case ofincorrect input data or the wrong operation a flashing warning messagewill be displayed on the status displ...

  • Page 564

    OPERATIONB–62764EN/012. OPERATIONAL DEVICES545There are 12 soft keys in the 14″CRT/MDI or 9.5″LCD/MDI. Asillustrated below, the 5 soft keys on the right and those on the right andleft edges operate in the same way as the 9″CRT or 8.4″ LCD, whereasthe 5 keys on the left hand side are ex...

  • Page 565

    OPERATION2. OPERATIONAL DEVICESB–62764EN/01546Five types of external input/output devices are available. This sectionoutlines each device. For details on these devices, refer to thecorresponding manuals listed below.Table 2.4 (a) External I/O deviceDevice nameUsageMax.storagecapacityReferenc...

  • Page 566

    OPERATIONB–62764EN/012. OPERATIONAL DEVICES547Before an external input/output device can be used, parameters must beset as follows.CNCMAIN CPU BOARDOPTION–1 BOARDChannel 1Channel 2Channel 3JD5AJD5BRS–422RS–232–CRS–232–CJD5CJD6ARS–232–CReader/puncherHost computerHost computerRead...

  • Page 567

    OPERATION2. OPERATIONAL DEVICESB–62764EN/01548The Handy File is an easy–to–use, multi function floppy diskinput/output device designed for FA equipment. By operating the HandyFile directly or remotely from a unit connected to the Handy File,programs can be transferred and edited.The Handy ...

  • Page 568

    OPERATIONB–62764EN/012. OPERATIONAL DEVICES549An FA Card is a memory card used as an input medium in the FA field.It is compact, but has a large memory capacity with high reliability, andrequires no special maintenance.When an FA Card is connected to the CNC via the card adapter,machining progr...

  • Page 569

    OPERATION2. OPERATIONAL DEVICESB–62764EN/01550The portable tape reader is used to input data from paper tape.}+++RS–232–C Interface(Punch panel, etc.)2.4.5Portable Tape Reader

  • Page 570

    OPERATIONB–62764EN/012. OPERATIONAL DEVICES551Procedure of turning on the power1Check that the appearance of the CNC machine tool is normal. (For example, check that front door and rear door are closed.)2Turn on the power according to the manual issued by the machinetool builder.3After the po...

  • Page 571

    OPERATION2. OPERATIONAL DEVICESB–62764EN/01552If a hardware failure or installation error occurs, the system displays oneof the following three types of screens then stops.Information such as the type of printed circuit board installed in each slotis indicated. This information and the LED sta...

  • Page 572

    OPERATIONB–62764EN/012. OPERATIONAL DEVICES553B0B1 – 01SLOT 01 (3046) : ENDSLOT 02 (3050) :Blank: Setting not completedModule IDSlot numberEND: Setting completedB0B1 – 01CNC control softwareSERVO : 9070–01SUB : xxxx–xxOMM : yyyy–yyPMC : zzzz–zzDigital servo ROMSub CPU (remo...

  • Page 573

    OPERATION3.MANUAL OPERATIONB–62764EN/015543 MANUAL OPERATIONMANUAL OPERATION are six kinds as follows :3.1 Manual reference position return3.2 Jog feed3.3 Incremental feed3.4 Manual handle feed3.5 Manual absolute on/off3.6 Tool axis direction handle feed/Tool axis direction handle feed B

  • Page 574

    OPERATIONB–62764EN/013. MANUAL OPERATION555The tool is returned to the reference position as follows :The tool is moved in the direction specified in parameter ZMI (bit 5 of No.1006) for each axis with the reference position return switch on themachine operator’s panel. The tool moves to the ...

  • Page 575

    OPERATION3.MANUAL OPERATIONB–62764EN/01556Bit 0 (ZPR) of parameter No. 1201 is used for automatically setting thecoordinate system. When ZPR is set, the coordinate system isautomatically determined when manual reference position return isperformed. When a, b and g are set in parameter 1250, t...

  • Page 576

    OPERATIONB–62764EN/013. MANUAL OPERATION557In the jog mode, pressing a feed axis and direction selection switch on themachine operator’s panel continuously moves the tool along the selectedaxis in the selected direction.The jog feedrate is specified in a parameter (No.1423)The jog feedrate ca...

  • Page 577

    OPERATION3.MANUAL OPERATIONB–62764EN/01558Feedrate, time constant and method of automatic acceleration/deceleration for manual rapid traverse are the same as G00 in programmedcommand.Changing the mode to the jog mode while pressing a feed axis anddirection selection switch does not enable jog f...

  • Page 578

    OPERATIONB–62764EN/013. MANUAL OPERATION559In the incremental (INC) mode, pressing a feed axis and directionselection switch on the machine operator’s panel moves the tool one stepalong the selected axis in the selected direction. The minimum distancethe tool is moved is the least input incr...

  • Page 579

    OPERATION3.MANUAL OPERATIONB–62764EN/01560In the handle mode, the tool can be minutely moved by rotating themanual pulse generator on the machine operator’s panel. Select the axisalong which the tool is to be moved with the handle feed axis selectionswitches.The minimum distance the tool is ...

  • Page 580

    OPERATIONB–62764EN/013. MANUAL OPERATION561Parameter JHD (bit 0 of No. 7100) enables or disables the manual handlefeed in the JOG mode.When the parameter JHD( bit 0 of No. 7100) is set 1,both manual handlefeed and incremental feed are enabled.Parameter THD (bit 1 of No. 7100) enables or disable...

  • Page 581

    OPERATION3.MANUAL OPERATIONB–62764EN/01562WARNINGRotating the handle quickly with a large magnification suchas x100 moves the tool too fast. The feedrate is clampedat the rapid traverse feedrate.NOTERotate the manual pulse generator at a rate of five rotationsper second or lower. If the manua...

  • Page 582

    OPERATIONB–62764EN/013. MANUAL OPERATION563Whether the distance the tool is moved by manual operation is added tothe coordinates can be selected by turning the manual absolute switch onor off on the machine operator’s panel. When the switch is turned on, thedistance the tool is moved by manu...

  • Page 583

    OPERATION3.MANUAL OPERATIONB–62764EN/01564The following describes the relation between manual operation andcoordinates when the manual absolute switch is turned on or off, using aprogram example.G01G90X200.0Y150.0X100.0Y100.0F010X300.0Y200.0;;;The subsequent figures use the following notation:M...

  • Page 584

    OPERATIONB–62764EN/013. MANUAL OPERATION565Coordinates when the feed hold button is pressed while block is beingexecuted, manual operation (Y–axis +75.0) is performed, the control unitis reset with the RESET button, and block is read again(300.0 , 275.0)(200.0,150.0)(300.0 , 200.0)(150.0 , 20...

  • Page 585

    OPERATION3.MANUAL OPERATIONB–62764EN/01566When the switch is ON during cutter compensationOperation of the machine upon return to automatic operation after manualintervention with the switch is ON during execution with an absolutecommand program in the cutter compensation mode will be described...

  • Page 586

    OPERATIONB–62764EN/013. MANUAL OPERATION567Manual operation during corneringThis is an example when manual operation is performed during cornering.VA2’, VB1’, and VB2’ are vectors moved in parallel with VA2, VB1 and VB2by the amount of manual movement. The new vectors are calculatedfr...

  • Page 587

    OPERATION3.MANUAL OPERATIONB–62764EN/01568Tool axis direction handle feed moves the tool over a specified distanceby handle feed in the direction of the tool axis tilted by the rotation of therotary axis.Tool axis direction handle feed B has the function of tool axis directionhandle feed, and a...

  • Page 588

    OPERATIONB–62764EN/013. MANUAL OPERATION569Assume that the rotary axes for basic axes X, Y, and Z are A, B, and C,respectively. Assume also that the Z–axis represents the tool axis.Depending on the axis configuration of the machine, four types of toolaxis directions are available. Specify t...

  • Page 589

    OPERATION3.MANUAL OPERATIONB–62764EN/01570(2) B–C axis typeXp = Hp sin (b) cos (c)Yp = Hp sin (b) sin (c)Zp = Hp cos (b)ZXYZpHpYpHpxyXp(3) A–B axis (A axis master) typeXp = Hp sin (b)Yp = –Hp cos (b) sin (a)Zp = Hp cos (b) cos (a)ZYXpXZpYp(4)A–B axis (B axis master) typeXp = Hp cos (a) ...

  • Page 590

    OPERATIONB–62764EN/013. MANUAL OPERATION571In the figures above, a, b, and c represent the positions (angles) of theA–axis, B–axis, and C–axis from the machine zero point; those valuespresent when the tool axis direction handle feed mode is set or a resetoccurs are used. To change the fe...

  • Page 591

    OPERATION3.MANUAL OPERATIONB–62764EN/01572Tool Axis Direction Handle Feed1Select the HANDLE switch from the mode selection switches.2Select the tool axis normal direction handle feed switch.3 Select the tool axis direction handle feed mode axis as the handle feedaxis for the first manual pulse ...

  • Page 592

    OPERATIONB–62764EN/013. MANUAL OPERATION573The figure below shows handle pulse (Hp) distribution to the X–axis,Y–axis, and Z–axis for each of the four directions.(1) A–C axis type (X–axis direction)Xp = Hp COS (C)Yp = Hp SIN (C)Zp = 00CYYpXXp0’CX’CHp(X direction)The XY plane is dr...

  • Page 593

    OPERATION3.MANUAL OPERATIONB–62764EN/01574(3) B–C axis type (X–axis direction)Xp = Hp COS (B) COS (C)Yp = Hp COS (B) SIN (C)Zp = –Hp SIN (B)(4) B–C axis type (Y–axis direction)Xp = –Hp SIN (C)Yp = Hp COS (C)Zp = 0Z00’ZpBCYHpxyYpX’CXXpHp(X direction)0CYYpXXp0’Y’CHp(Y directio...

  • Page 594

    OPERATIONB–62764EN/013. MANUAL OPERATION575Basic axes X, Y, and Z are determined by parameter No. 1022 (planeselection). Rotary axes A, B, and C are determined by parameter No.1020 (axis name).The direction of the tool X axis is determined by setting bit 0 (TLX) ofparameter No. 7104.This funct...

  • Page 595

    OPERATION3.MANUAL OPERATIONB–62764EN/01576In manual handle feed or jog feed, the following types of feed operationsare enabled in addition to the conventional feed operation along aspecified single axis (X–axis, Y–axis, Z–axis, and so forth) based onsimultaneous 1–axis control:D Feed a...

  • Page 596

    OPERATIONB–62764EN/013. MANUAL OPERATION577For jog feedThe feedrate can be overridden using the manual feedrate overridedial.The procedure above is just an example. For actual operations, referto the relevant manual provided by the machine tool builder.For feed along an axis, no straight line/...

  • Page 597

    OPERATION3.MANUAL OPERATIONB–62764EN/01578(2) Linear feed (simultaneous 2–axis control)By turning a manual handle, the tool can be moved along the straightline parallel to a specified straight line on a simultaneous 2–axiscontrol basis. This manual handle is referred to as the guidance han...

  • Page 598

    OPERATIONB–62764EN/013. MANUAL OPERATION579FeedrateThe feedrate depends on the speed at which a manual handle is turned.A distance to be traveled by the tool (along a tangent in the case of linearor circular feed) when a manual handle is turned by one pulse can beselected using the manual handl...

  • Page 599

    OPERATION3.MANUAL OPERATIONB–62764EN/01580Even in JOG mode, manual handle feed can be enabled using bit 0 (JHD)of parameter No. 7100. In this case, however, manual handle feed isenabled only when the tool is not moved along any axis by jog feed.Never use the mirror image function when performi...

  • Page 600

    OPERATIONB–62764EN/013. MANUAL OPERATION581For execution of rigid tapping, set rigid mode, then switch to handle modeand move the tapping axis with a manual handle. For more informationabout rigid tapping, see Section II–14.2 and refer to the relevant manualprovided by the machine tool build...

  • Page 601

    OPERATION3.MANUAL OPERATIONB–62764EN/01582Manual rigid tapping is enabled by setting bit 0 (HRG) of parameter No.5203 to 1.To cancel rigid mode, specify G80 as same the normal rigid tapping.When the reset key is pressed, rigid mode is canceled, but the canned cycleis not canceled.When the rigid...

  • Page 602

    OPERATIONB–62764EN/014. AUTOMATIC OPERATION5834 AUTOMATIC OPERATIONProgrammed operation of a CNC machine tool is referred to as automaticoperation.This chapter explains the following types of automatic operation:• MEMORY OPERATIONOperation by executing a program registered in CNC memory• MD...

  • Page 603

    OPERATION4. AUTOMATIC OPERATIONB–62764EN/01584Programs are registered in memory in advance. When one of theseprograms is selected and the cycle start switch on the machine operator’spanel is pressed, automatic operation starts, and the cycle start LED goeson.When the feed hold switch on the ...

  • Page 604

    OPERATIONB–62764EN/014. AUTOMATIC OPERATION585b. Terminating memory operationPress the RESET key on the MDI panel. Automatic operation is terminated and the reset state is entered. When a reset is applied during movement, movement deceleratesthen stops.After memory operation is started, the fo...

  • Page 605

    OPERATION4. AUTOMATIC OPERATIONB–62764EN/01586When the optional block skip switch on the machine operator’s panel isturned on, blocks containing a slash (/) are ignored.For the two–path control, a cycle start switch is provided for each toolpost. This allows the operator to activate a singl...

  • Page 606

    OPERATIONB–62764EN/014. AUTOMATIC OPERATION587In the MDI mode, a program consisting of up to 10 lines can be createdin the same format as normal programs and executed from the MDI panel.MDI operation is used for simple test operations.The following procedure is given as an example. For actual ...

  • Page 607

    OPERATION4. AUTOMATIC OPERATIONB–62764EN/015885To execute a program, set the cursor on the head of the program. (Startfrom an intermediate point is possible.) Push Cycle Start button onthe operator’s panel. By this action, the prepared program will start.(For the two–path control, sele...

  • Page 608

    OPERATIONB–62764EN/014. AUTOMATIC OPERATION589The previous explanation of how to execute and stop memory operationalso applies to MDI operation, except that in MDI operation, M30 doesnot return control to the beginning of the program (M99 performs thisfunction).Programs prepared in the MDI mode...

  • Page 609

    OPERATION4. AUTOMATIC OPERATIONB–62764EN/01590When the custom macro option is provided, macro programs can also becreated, called, and executed in the MDI mode. However, macro callcommands cannot be executed when the mode is changed to MDI modeafter memory operation is stopped during execution ...

  • Page 610

    OPERATIONB–62764EN/014. AUTOMATIC OPERATION591By activating automatic operation during the DNC operation mode(RMT), it is possible to perform machining (DNC operation) while aprogram is being read in via reader/puncher interface, or remote buffer.If the floppy cassette directory display option ...

  • Page 611

    OPERATION4. AUTOMATIC OPERATIONB–62764EN/01592PROGRAMO0001 N00020N020 X100.0 Z100.0 (DNC–PROG) ;N030X200.0Z200.0 ;N040X300.0 Z300.0 ;N050X400.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 ;N110 x1000.0 z1000.0 ;N120 x800.0 z800.0 ...

  • Page 612

    OPERATIONB–62764EN/014. AUTOMATIC OPERATION593In program display, no more than 256 characters can be displayed.Accordingly, character display may be truncated in the middle of a block.In DNC operation, M198 cannot be executed. If M198 is executed, P/Salarm No. 210 is issued.In DNC operation, c...

  • Page 613

    OPERATION4. AUTOMATIC OPERATIONB–62764EN/01594While an automation operation is being performed, a program input froman I/O device connected to the reader/punch interface can be executed andoutput through the reader/punch interface at the same time.Simultaneous Input/Output1Search for the progr...

  • Page 614

    OPERATIONB–62764EN/014. AUTOMATIC OPERATION595M198 cannot be executed in the input, output and run simultaneous mode.An attempt to do so results in alarm No. 210.A macro control command cannot be executed in the input, output and runsimultaneous mode. An attempt to do so results in P/S alarm N...

  • Page 615

    OPERATION4. AUTOMATIC OPERATIONB–62764EN/01596This function specifies Sequence No. of a block to be restarted when a toolis broken down or when it is desired to restart machining operation aftera day off, and restarts the machining operation from that block. It can alsobe used as a high–spe...

  • Page 616

    OPERATIONB–62764EN/014. AUTOMATIC OPERATION597Procedure for Program Restart by Specifying a Sequence Number1Retract the tool and replace it with a new one. When necessary,change the offset. (Go to step 2.)1When power is turned ON or emergency stop is released, perform allnecessary operations ...

  • Page 617

    OPERATION4. AUTOMATIC OPERATIONB–62764EN/015985 The sequence number is searched for, and the program restart screenappears on the CRT display.PROGRAM RESTARTDESTINATIONX 57. 096Y 56. 877Z 56. 943M12121212121 **************** ********T ******** ********S *****O0002 N01000S 0 T0000MEM *...

  • Page 618

    OPERATIONB–62764EN/014. AUTOMATIC OPERATION599Procedure for Program Restart by Specifying a Block Number1Retract the tool and replace it with a new one. When necessary,change the offset. (Go to step 2.)1When power is turned ON or emergency stop is released, perform allnecessary operations at ...

  • Page 619

    OPERATION4. AUTOMATIC OPERATIONB–62764EN/01600The coordinates and amount of travel for restarting the program canbe displayed for up to five axes. If your system supports six or moreaxes, pressing the [RSTR] soft key again displays the data for thesixth and subsequent axes. (The program resta...

  • Page 620

    OPERATIONB–62764EN/014. AUTOMATIC OPERATION601< Example 2 >CNC ProgramNumber of blocksO 0001 ;G90 G92 X0 Y0 Z0 ;G90 G00 Z100. ;G81 X100. Y0. Z–120. R–80. F50. ;#1 = #1 + 1 ;#2 = #2 + 1 ;#3 = #3 + 1 ;G00 X0 Z0 ;M30 ;123444456Macro statements are not counted as blocks.The block number i...

  • Page 621

    OPERATION4. AUTOMATIC OPERATIONB–62764EN/01602When single block operation is ON during movement to the restartposition, operation stops every time the tool completes movement alongan axis. When operation is stopped in the single block mode, MDIintervention cannot be performed.During movement t...

  • Page 622

    OPERATIONB–62764EN/014. AUTOMATIC OPERATION603The schedule function allows the operator to select files (programs)registered on a floppy–disk in an external input/output device (HandyFile, Floppy Cassette, or FA Card) and specify the execution order andnumber of repetitions (scheduling) for p...

  • Page 623

    OPERATION4. AUTOMATIC OPERATIONB–62764EN/01604Procedure for Scheduling Function1Press the MEMORY switch on the machine operator’s panel, thenpress the PROG function key on the MDI panel.2Press the rightmost soft key (continuous menu key), then press the[FL. SDL] soft key. A list of files reg...

  • Page 624

    OPERATIONB–62764EN/014. AUTOMATIC OPERATION6054Press the REMOTE switch on the machine operator’s panel to enterthe RMT mode, then press the cycle start switch. The selected file isexecuted. For details on the REMOTE switch, refer to the manualsupplied by the machine tool builder. The selec...

  • Page 625

    OPERATION4. AUTOMATIC OPERATIONB–62764EN/01606Move the cursor and enter the file numbers and number of repetitionsin the order in which to execute the files. At this time, the currentnumber of repetitions “CUR.REP” is 0.5Press the REMOTE switch on the machine operator’s panel to enterthe ...

  • Page 626

    OPERATIONB–62764EN/014. AUTOMATIC OPERATION607During the execution of file, the floppy directory display of backgroundediting cannot be referenced.To resume automatic operation after it is suspended for scheduledoperation, press the reset button.The scheduling function can be used only for a si...

  • Page 627

    OPERATION4. AUTOMATIC OPERATIONB–62764EN/01608The subprogram call function is provided to call and execute subprogramfiles stored in an external input/output device(Handy File, FLOPPYCASSETTE, FA Card)during memory operation.When the following block in a program in CNC memory is executed, asubp...

  • Page 628

    OPERATIONB–62764EN/014. AUTOMATIC OPERATION609For the two–path control, subprograms in a floppy cassette cannot becalled for the two tool posts at the same time.NOTE1 When M198 in the program of the file saved in a floppycassette is executed, a P/S alarm (No.210) is given. Whena program in t...

  • Page 629

    OPERATION4. AUTOMATIC OPERATIONB–62764EN/01610The movement by manual handle operation can be done by overlappingit with the movement by automatic operation in the automatic operationmode.ZXProgrammed depth of cutDepth of cut by handle interruptionTool position afterhandle interruptionTool posit...

  • Page 630

    OPERATIONB–62764EN/014. AUTOMATIC OPERATION611The following table indicates the relation between other functions and themovement by handle interrupt.DisplayRelationMachine lockMachine lock is effective. The tool does not moveeven when this signal turns on.InterlockInterlock is effective. Th...

  • Page 631

    OPERATION4. AUTOMATIC OPERATIONB–62764EN/01612(a) INPUT UNIT: Handle interrupt move amount in input unitsystem Indicates the travel distance specified by handleinterruption according to the least inputincrement.(b) OUTPUT UNI : Handle interrupt move amount in output unitsystem Indicates the tra...

  • Page 632

    OPERATIONB–62764EN/014. AUTOMATIC OPERATION613During automatic operation, the mirror image function can be used formovement along an axis. To use this function, set the mirror image switchto ON on the machine operator’s panel, or set the mirror image setting toON from the MDI panel.YXY–axis...

  • Page 633

    OPERATION4. AUTOMATIC OPERATIONB–62764EN/016142–4 Move the cursor to the mirror image setting position, then set thetarget axis to 1.3Enter an automatic operation mode (memory mode or MDI mode),then press the cycle start button to start automatic operation.D The mirror image function can also...

  • Page 634

    OPERATIONB–62764EN/014. AUTOMATIC OPERATION615The tool can be withdrawn from a workpiece in order to replace the toolwhen it is damaged during machining, or merely to check the status ofmachining. The tool can then be advanced again to restart machiningefficiently.XYZ: Position where the TOOL ...

  • Page 635

    OPERATION4. AUTOMATIC OPERATIONB–62764EN/01616Suppose that the TOOL WITHDRAW switch on the machine operator’spanel is turned on when the tool is positioned at point A during executionof the N30 block.N30AMachine operator’s panelTOOLBEING WITH-DRAWNRETRAC-TION POSITIONTOOLWITH-DRAWTOOL RETUR...

  • Page 636

    OPERATIONB–62764EN/014. AUTOMATIC OPERATION617Set the manual operation mode, then withdraw the tool. For manualoperation, either jog feed or handle feed is possible.3XYZ12456789101112E pointA pointProcedure3Withdrawal

  • Page 637

    OPERATION4. AUTOMATIC OPERATIONB–62764EN/01618After withdrawing the tool and any additional operation such as replacingthe tool, move the tool back to the previous retraction position. To return the tool to the retraction position, return the mode to automaticoperation mode, then turn the TOOL ...

  • Page 638

    OPERATIONB–62764EN/014. AUTOMATIC OPERATION619While the tool is at the retraction position (point E in the figure below)and the RETRACTION POSITION LED is on, press the cycle startswitch. The tool is then repositioned at the point where retraction wasstarted (i.e. where the TOOL WITHDRAW switc...

  • Page 639

    OPERATION4. AUTOMATIC OPERATIONB–62764EN/01620To move the tool along an axis, select the corresponding axis selectionsignal. Never specify axis selection signals for two or more axes at a time.When the tool is moved in manual operation along an axis, the control unitmemorizes up to ten paths o...

  • Page 640

    OPERATIONB–62764EN/014. AUTOMATIC OPERATION621With the retrace function, the tool can be moved in the reverse direction(reverse movement) by using the REVERSE switch during automaticoperation to trace the programmed path. The retrace function also enablesthe user to move the tool in the forwar...

  • Page 641

    OPERATION4. AUTOMATIC OPERATIONB–62764EN/01622Feed hold stopREVERSE switchrurned on cycle startCycle start(forward movement started)Reverse movement startedForward movementReverse movementThree methods are available for moving the tool in the forward directionagain along the retraced path.1) Wh...

  • Page 642

    OPERATIONB–62764EN/014. AUTOMATIC OPERATION623Cycle start(forward movement started)Feed hold stop REVERSEswitch turned offCycle startForward return movement startedReverse movement startedForward movementReverse movementForward returnmovementWhen there are no more blocks for which to perform re...

  • Page 643

    OPERATION4. AUTOMATIC OPERATIONB–62764EN/01624Cycle start (forward movement started)Feed hold stopReverse movementsignal=1,cycle startReverse movement startedForward return movement startedForward movement startedForward movementReverse movementForward returnmovementIn automatic operation, a pr...

  • Page 644

    OPERATIONB–62764EN/014. AUTOMATIC OPERATION625Upon reset (when the RESET key on the CRT/MDI panel is pressed, theexternal reset signal is applied, or the reset and rewind signal is applied),the memorized reverse movement blocks are cleared.A feedrate for reverse movement can be specified using ...

  • Page 645

    OPERATION4. AUTOMATIC OPERATIONB–62764EN/01626Be sure to specify the radius of an arc with R.WARNINGIf an end point is not correctly placed on an arc (if a leadingline is produced) when an arc center is specified using I, J,and K, the tool does not perform correct reverse movement.1. Never init...

  • Page 646

    OPERATIONB–62764EN/014. AUTOMATIC OPERATION627In reverse movement and forward return movement, the skip signal andautomatic tool length measurement signal are ignored. In reversemovement and forward return movement, the tool moves along the pathactually followed in forward movement.Forward ret...

  • Page 647

    OPERATION4. AUTOMATIC OPERATIONB–62764EN/01628The M, S, and T functions, and secondary auxiliary functions (Bfunctions) are output directly in reverse movement and forward returnmovement.When an M, S, or T function, or secondary auxiliary function (B function)is specified in a block containing ...

  • Page 648

    OPERATIONB–62764EN/014. AUTOMATIC OPERATION629In cases such as when tool movement along an axis is stopped by feed holdduring automatic operation so that manual intervention can be used toreplace the tool: When automatic operation is restarted, this functionreturns the tool to the position whe...

  • Page 649

    OPERATION4. AUTOMATIC OPERATIONB–62764EN/01630N1N2N1 Point AN2N1 Point AN2Point BN1 Point AN2B1. The N1 block cuts a workpieceToolBlock start point2. The tool is stopped by pressing the feed hold switch inthe middle of the N1 block (point A).3. After retracting the tool manually to point ...

  • Page 650

    OPERATIONB–62764EN/014. AUTOMATIC OPERATION631The retreat and retry functions incorporate those functions that are neededto enable retreat and retry operations with a PMC and custom macros.Even if machining is interrupted by a reset or emergency stop, the tool canbe returned from the interrupti...

  • Page 651

    OPERATION4. AUTOMATIC OPERATIONB–62764EN/01632Procedure for Retreat and Retry FunctionsThe retreat and retry sequences are explained using the sample machiningprogram below.O1000 ;⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅G00 X100. Y100. Z100. ;(A)N7010 M101 T1...

  • Page 652

    OPERATIONB–62764EN/014. AUTOMATIC OPERATION633If a machining cycle being executed is interrupted by a reset or emergencystop at (X), the retreat program is called and executed with a workpiecenumber search or program number search capability. For informationabout the workpiece number search an...

  • Page 653

    OPERATION4. AUTOMATIC OPERATIONB–62764EN/01634If a machining cycle being executed is interrupted by a reset or emergencystop at (X), machining can be restarted at machining cycle start point (H)after starting the machining retreat program. In this case, use thefollowing sequence:1. Return the ...

  • Page 654

    OPERATIONB–62764EN/015. TEST OPERATION6355 TEST OPERATIONThe following functions are used to check before actual machiningwhether the machine operates as specified by the created program.5.1 Machine Lock and Auxiliary Function Lock5.2 Feedrate Override5.3 Rapid Traverse Override5.4 Dry Run5.5 S...

  • Page 655

    OPERATION5. TEST OPERATIONB–62764EN/01636To display the change in the position without moving the tool, usemachine lock.There are two types of machine lock: all–axis machine lock, which stopsthe movement along all axes, and specified–axis machine lock, whichstops the movement along specifi...

  • Page 656

    OPERATIONB–62764EN/015. TEST OPERATION637M, S, and T commands are executed in the machine lock state.When a G27, G28, or G30 command is issued in the machine lock state,the command is accepted but the tool does not move to the referenceposition and the reference position return LED does not go ...

  • Page 657

    OPERATION5. TEST OPERATIONB–62764EN/01638A programmed feedrate can be reduced or increased by a percentage (%)selected by the override dial.This feature is used to check a program.For example, when a feedrate of 100 mm/min is specified in the program,setting the override dial to 50% moves the t...

  • Page 658

    OPERATIONB–62764EN/015. TEST OPERATION639An override of four steps (F0, 25%, 50%, and 100%) can be applied to therapid traverse rate. F0 is set by a parameter (No. 1421).ÇÇÇÇÇÇÇÇÇÇÇÇRapid traverserate10m/minOverride50%5m/minFig. 5.3 Rapid traverse overrideRapid Traverse OverrideSel...

  • Page 659

    OPERATION5. TEST OPERATIONB–62764EN/01640The tool is moved at the feedrate specified by a parameter regardless ofthe feedrate specified in the program. This function is used for checkingthe movement of the tool under the state taht the workpiece is removedfrom the table.ToolTableFig. 5.4 Dry r...

  • Page 660

    OPERATIONB–62764EN/015. TEST OPERATION641Pressing the single block switch starts the single block mode. When thecycle start button is pressed in the single block mode, the tool stops aftera single block in the program is executed. Check the program in the singleblock mode by executing the pro...

  • Page 661

    OPERATION5. TEST OPERATIONB–62764EN/01642If G28 to G30 are issued, the single block function is effective at theintermediate point.In a canned cycle, the single block stop points are the end of , , and shown below. When the single block stop is made after the point or , the feed hold LED light...

  • Page 662

    OPERATIONB–62764EN/016. SAFETY FUNCTIONS6436 SAFETY FUNCTIONSTo immediately stop the machine for safety, press the Emergency stopbutton. To prevent the tool from exceeding the stroke ends, Overtravelcheck and Stroke check are available. This chapter describes emergencystop., overtravel check,...

  • Page 663

    OPERATION6. SAFETY FUNCTIONSB–62764EN/01644If you press Emergency Stop button on the machine operator’s panel, themachine movement stops in a moment.EMERGENCY STOPRedFig. 6.1 Emergency stopThis button is locked when it is pressed. Although it varies with themachine tool builder, the button c...

  • Page 664

    OPERATIONB–62764EN/016. SAFETY FUNCTIONS645When the tool tries to move beyond the stroke end set by the machine toollimit switch, the tool decelerates and stops because of working the limitswitch and an OVER TRAVEL is displayed.YXDeceleration and stopStroke endLimit switchFig. 6.2 OvertravelWhe...

  • Page 665

    OPERATION6. SAFETY FUNCTIONSB–62764EN/01646Three areas which the tool cannot enter can be specified with stored strokecheck 1, stored stroke check 2, and stored stroke check 3.ÇÇÇÇÇÇÇÇÇÇÇÇÇÇÇÇÇÇÇÇÇÇÇÇÇÇÇÇÇÇÇÇÇÇÇÇÇÇÇÇÇÇÇÇÇÇÇÇÇÇÇÇÇÇÇÇÇÇÇ...

  • Page 666

    OPERATIONB–62764EN/016. SAFETY FUNCTIONS647(I,J,K)ÇÇÇÇÇÇÇÇÇÇÇÇÇÇÇÇÇÇÇÇÇÇÇÇÇÇÇÇÇÇÇÇ(X,Y,Z)ÇÇÇÇÇÇÇÇÇÇÇÇÇÇÇÇX>I, Y>J, Z>KX–I > 2000 (In least command increment)Y–J > 2000 (In least command increment)Z–K > 2000 ((In least comma...

  • Page 667

    OPERATION6. SAFETY FUNCTIONSB–62764EN/01648ÇÇÇÇÇÇÇÇÇÇÇÇÇÇÇÇÇÇÇÇÇÇÇÇÇÇÇÇABabThe position of thetool after referenceposition returnArea boundaryFig. 6.3 (d) Setting the forbidden areaArea can be set in piles.ÇÇÇÇÇÇÇÇÇÇÇÇÇÇÇÇÇÇÇÇÇÇÇÇÇÇÇÇÇÇ...

  • Page 668

    OPERATIONB–62764EN/016. SAFETY FUNCTIONS649When G23 is switched to G22 in the forbidden area, the following results.(1) When the forbidden area is inside, an alarm is informed in the nextmove.(2) When the forbidden area is outside, an alarm is informed immediately.Parameter BFA (bit 7 of No. 13...

  • Page 669

    OPERATION6. SAFETY FUNCTIONSB–62764EN/01650During automatic operation, before the movement specified by a givenblock is started, whether the tool enters the inhibited area defined bystored stroke limit 1, 2, or 3 is checked by determining the position of theend point from the current position o...

  • Page 670

    OPERATIONB–62764EN/016. SAFETY FUNCTIONS651Example 2)Start pointEnd pointThe tool is stopped at point a accordingto stored stroke limit 1 or 2.Immediately upon movement commencingfrom the start point, the tool is stopped toenable a stroke limit check to be performedbefore movement.aInhibited ar...

  • Page 671

    OPERATION6. SAFETY FUNCTIONSB–62764EN/01652In cylindrical interpolation mode, no check is made.In polar coordinate interpolation mode, no check is made.When the angulalr axis control option is selected, no check is made.In simple synchronous control, only the master axis is checked; no slaveaxe...

  • Page 672

    OPERATIONB–62764EN/017. ALARM AND SELF–DIAGNOSISFUNCTIONS6537 ALARM AND SELF-DIAGNOSIS FUNCTIONSWhen an alarm occurs, the corresponding alarm screen appears to indicatethe cause of the alarm. The causes of alarms are classified by error codes.Up to 25 previous alarms can be stored and displa...

  • Page 673

    OPERATION7. ALARM AND SELF–DIAGNOSIS FUNCTIONSB–62764EN/01654When an alarm occurs, the alarm screen appears.ARALMALARM MESSAGEMDI**********18 : 52 : 05000000000100PARAMETER WRITE ENABLE510OVER TR1AVEL :+X520OVER TRAVEL:+2530OVER TRAVEL:+3MSGHISTRYS 0 T0000ALM In some cases, the alarm s...

  • Page 674

    OPERATIONB–62764EN/017. ALARM AND SELF–DIAGNOSISFUNCTIONS655Error codes and messages indicate the cause of an alarm. To recover froman alarm, eliminate the cause and press the reset key.The error codes are classified as follows:No. 000 to 255: P/S alarm (Program errors) (*)No. 300 to 349: Ab...

  • Page 675

    OPERATION7. ALARM AND SELF–DIAGNOSIS FUNCTIONSB–62764EN/01656Up to 25 of the most recent CNC alarms are stored and displayed on thescreen.Display the alarm history as follows:Procedure for Alarm History Display1 Press the function key MESSAGE .2Press the chapter selection soft key [HISTRY]...

  • Page 676

    OPERATIONB–62764EN/017. ALARM AND SELF–DIAGNOSISFUNCTIONS657The system may sometimes seem to be at a halt, although no alarm hasoccurred. In this case, the system may be performing some processing.The state of the system can be checked by displaying the self–diagnosticscreen.Procedure for ...

  • Page 677

    OPERATION7. ALARM AND SELF–DIAGNOSIS FUNCTIONSB–62764EN/01658Diagnostic numbers 000 to 015 indicate states when a command is beingspecified but appears as if it were not being executed. The table belowlists the internal states when 1 is displayed at the right end of each line onthe screen....

  • Page 678

    OPERATIONB–62764EN/017. ALARM AND SELF–DIAGNOSISFUNCTIONS659The table below shows the signals and states which are enabled when eachdiagnostic data item is 1. Each combination of the values of the diagnosticdata indicates a unique state.0200210220230240251111111111111100000000000000000000000...

  • Page 679

    OPERATION8. DATA INPUT/OUTPUTB–62764EN/016608 DATA INPUT/OUTPUTNC data is transferred between the NC and external input/output devicessuch as the Handy File. The following types of data can be entered and output :1.Program2.Offset data3.Parameter4.Pitch error compensation data5.Custom macro co...

  • Page 680

    OPERATIONB–62764EN/018. DATA INPUT/OUTPUT661Of the external input/output devices, the FANUC Handy File and FANUCFloppy Cassette use floppy disks as their input/output medium, and theFANUC FA Card uses an FA card as its input/output medium.In this manual, these input/output medium is generally r...

  • Page 681

    OPERATION8. DATA INPUT/OUTPUTB–62764EN/01662The floppy is provided with the write protect switch. Set the switch tothe write enable state. Then, start output operation.Write protect switch(2) Write–enabled (Reading, writing, and deletion are possible.)Write protect switch of a cassetteWrite ...

  • Page 682

    OPERATIONB–62764EN/018. DATA INPUT/OUTPUT663When the program is input from the floppy, the file to be input firstmust be searched.For this purpose, proceed as follows:File 1File searching of the file nFile nBlankFile 2File 3File heading1 Press the EDIT or MEMORY switch on the machine operator...

  • Page 683

    OPERATION8. DATA INPUT/OUTPUTB–62764EN/01664Alarm No.Description86The ready signal (DR) of an input/output device is off.An alarm is not immediately indicated in the CNC even when analarm occurs during head searching (when a file is not found, orthe like).An alarm is given when the input/output...

  • Page 684

    OPERATIONB–62764EN/018. DATA INPUT/OUTPUT665Files stored on a floppy can be deleted file by file as required.File deletion1Insert the floppy into the input/output device so that it is ready forwriting.2Press the EDIT switch on the machine operator’s panel.3Press function key PROG, then the pr...

  • Page 685

    OPERATION8. DATA INPUT/OUTPUTB–62764EN/01666This section describes how to load a program into the CNC from a floppyor NC tape.Inputting a program1Make sure the input device is ready for reading.For the two–path control, select the tool post for which a program tobe input is used with the tool...

  • Page 686

    OPERATIONB–62764EN/018. DATA INPUT/OUTPUT667• When a program is entered without specifying a program number.⋅ The O–number of the program on the NC tape is assigned to theprogram. If the program has no O–number, the N–number in the first block isassigned to the program.⋅ When the p...

  • Page 687

    OPERATION8. DATA INPUT/OUTPUTB–62764EN/01668S Pressing the [CHAIN] soft key positions the cursor to the end of theregistered program. Once a program has been input, the cursor ispositioned to the start of the new program.S Additional input is possible only when a program has already beenregist...

  • Page 688

    OPERATIONB–62764EN/018. DATA INPUT/OUTPUT669A program stored in the memory of the CNC unit is output to a floppy orNC tape.Outputting a program1Make sure the output device is ready for output.For the two–path control, select the tool post for which a program tobe output is used with the tool ...

  • Page 689

    OPERATION8. DATA INPUT/OUTPUTB–62764EN/01670Head searching with a file No. is necessary when a file output from theCNC to the floppy is again input to the CNC memory or compared withthe content of the CNC memory. Therefore, immediately after a file isoutput from the CNC to the floppy, record t...

  • Page 690

    OPERATIONB–62764EN/018. DATA INPUT/OUTPUT671Offset data is loaded into the memory of the CNC from a floppy or NCtape. The input format is the same as for offset value output. See III– 8.5.2.When an offset value is loaded which has the same offset number as anoffset number already registered i...

  • Page 691

    OPERATION8. DATA INPUT/OUTPUTB–62764EN/01672All offset data is output in a output format from the memory of the CNCto a floppy or NC tape.Outputting offset data1Make sure the output device is ready for output.For the two–path control, select the tool post for which offset data tobe input is u...

  • Page 692

    OPERATIONB–62764EN/018. DATA INPUT/OUTPUT673Parameters and pitch error compensation data are input and output fromdifferent screens, respectively. This chapter describes how to enter them.Parameters are loaded into the memory of the CNC unit from a floppy orNC tape. The input format is the sam...

  • Page 693

    OPERATION8. DATA INPUT/OUTPUTB–62764EN/0167415Turn the power to the CNC back on.16Release the EMERGENCY STOP button on the machine operator’spanel.All parameters are output in the defined format from the memory of theCNC to a floppy or NC tape.Outputting parameters1Make sure the output device...

  • Page 694

    OPERATIONB–62764EN/018. DATA INPUT/OUTPUT675When the floppy disk directory display function is used, the name of theoutput file is PARAMETER.Once all parameters have been output, the output file is named ALLPARAMETER. Once only parameters which are set to other than 0 havebeen output, the outp...

  • Page 695

    OPERATION8. DATA INPUT/OUTPUTB–62764EN/0167615Turn the power to the CNC back on.16Release the EMERGENCY STOP button on the machine operator’spanel.Parameters 3620 to 3624 and pitch error compensation data must be setcorrectly to apply pitch error compensation correctly (See III–11.5.2).All ...

  • Page 696

    OPERATIONB–62764EN/018. DATA INPUT/OUTPUT677The value of a custom macro common variable (#500 to #999) is loadedinto the memory of the CNC from a floppy or NC tape. The same formatused to output custom macro common variables is used for input. SeeIII–8.7.2. For a custom macro common variab...

  • Page 697

    OPERATION8. DATA INPUT/OUTPUTB–62764EN/01678Custom macro common variables (#500 to #999) stored in the memoryof the CNC can be output in the defined format to a floppy or NC tape.Outputting custom macro common variable1Make sure the output device is ready for output.2Specify the punch code syst...

  • Page 698

    OPERATIONB–62764EN/018. DATA INPUT/OUTPUT679On the floppy directory display screen, a directory of the FANUC HandyFile, FANUC Floppy Cassette, or FANUC FA Card files can be displayed.In addition, those files can be loaded, output, and deleted. O0001 N00000 (METER) VOLEDIT **********11 : 51 : 1...

  • Page 699

    OPERATION8. DATA INPUT/OUTPUTB–62764EN/01680Displaying the directory of floppy cassette filesUse the following procedure to display a directory of all thefiles stored in a floppy:1Press the EDIT switch on the machine operator’s panel.2Press function key PROG.3Press the rightmost soft key (nex...

  • Page 700

    OPERATIONB–62764EN/018. DATA INPUT/OUTPUT681Use the following procedure to display a directory of filesstarting with a specified file number :1Press the EDIT switch on the machine operator’s panel.2Press function key PROG.3Press the rightmost soft key(next–menu key).4Press soft key [FLOPPY]...

  • Page 701

    OPERATION8. DATA INPUT/OUTPUTB–62764EN/01682NO :Displays the file numberFILE NAME : Displays the file name.(METER): Converts and prints out the file capacity to paper tapelength.You can also produce H(FEET)I by setting the INPUT UNIT to INCH of the setting data.VOL.: When the file is multi–vo...

  • Page 702

    OPERATIONB–62764EN/018. DATA INPUT/OUTPUT683The contents of the specified file number are read to the memory of NC.Reading files1Press the EDIT switch on the machine operator’s panel.For the two–path control, select the tool post for which a file is to beinput in memory with the tool post s...

  • Page 703

    OPERATION8. DATA INPUT/OUTPUTB–62764EN/01684Any program in the memory of the CNC unit can be output to a floppyas a file.Outputting programs1Press the EDIT switch on the machine operator’s panel.For the two–path control, select the tool post for which a file is to beinput in memory with the...

  • Page 704

    OPERATIONB–62764EN/018. DATA INPUT/OUTPUT685The file with the specified file number is deleted.Deleting files1Press the EDIT switch on the machine operator’s panel.2Press function key PROG.3Press the rightmost soft key (next–menu key).4Press soft key [FLOPPY].5Press soft key [(OPRT)].6Pres...

  • Page 705

    OPERATION8. DATA INPUT/OUTPUTB–62764EN/01686If [F SET] or [O SET] is pressed without key inputting file number andprogram number, file number or program number shows blank. When0 is entered for file numbers or program numbers, 1 is displayed.To use channel 0 ,set a device number in parameter...

  • Page 706

    OPERATIONB–62764EN/018. DATA INPUT/OUTPUT687CNC programs stored in memory can be grouped according to theirnames, thus enabling the output of CNC programs in group units. SectionIII–11.3.3 explains the display of a program listing for a specified group.Procedure for Outputting a Program List...

  • Page 707

    OPERATION9. EDITING PROGRAMSB–62764EN/016889 EDITING PROGRAMSThis chapter describes how to edit programs registered in the CNC.Editing includes the insertion, modification, deletion, and replacement ofwords. Editing also includes deletion of the entire program and automaticinsertion of sequenc...

  • Page 708

    OPERATIONB–62764EN/019. EDITING PROGRAMS689This section outlines the procedure for inserting, modifying, and deletinga word in a program registered in memory.Procedure for inserting, altering and deleting a word1Select EDIT mode.2Press PROG.3Select a program to be edited.If a program to be edit...

  • Page 709

    OPERATION9. EDITING PROGRAMSB–62764EN/01690A 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 program1Press the cursor key .The cursor moves forward word by word on the screen; the cursor isdisplayed a...

  • Page 710

    OPERATIONB–62764EN/019. EDITING PROGRAMS691Procedure for searching a wordExample) of Searching for S12PROGRAMO0050 N01234O0050 ;X100.0 Z1250.0 ;S12 ;N56789 M03 ;M02 ;%N01234N01234 is beingsearched for/scanned currently.S12 is searchedfor.1Key in addressS .2Key in 12 .⋅ S12 cannot be s...

  • Page 711

    OPERATION9. EDITING PROGRAMSB–62764EN/01692The cursor can be jumped to the top of a program. This function is calledheading the program pointer. This section describes the three methodsfor heading the program pointer.Procedure for Heading a Program1Press RESET when the program screen is sele...

  • Page 712

    OPERATIONB–62764EN/019. EDITING PROGRAMS693Procedure for inserting a word1Search for or scan the word immediately before a word to be inserted.2Key in an address to be inserted.3Key in data.4Press the INSERT key.Example of Inserting T151Search for or scan Z1250.ProgramO0050 N01234O0050 ;N0123...

  • Page 713

    OPERATION9. EDITING PROGRAMSB–62764EN/01694Procedure for altering a word1Search for or scan a word to be altered.2Key in an address to be inserted.3Key in data.4Press the ALTER key.Example of changing T15 to M151Search for or scan T15.ProgramO0050 N01234O0050 ;N01234 X100.0 Z1250.0S12 ;N56...

  • Page 714

    OPERATIONB–62764EN/019. EDITING PROGRAMS695Procedure for deleting a word1Search for or scan a word to be deleted.2Press the DELETE key.Example of deleting X100.01Search for or scan X100.0.ProgramO0050 N01234O0050 ;N01234S12 ;N56789 M03 ;M02 ;%X100.0X100.0 issearched for/scanned.Z1250.0 M...

  • Page 715

    OPERATION9. EDITING PROGRAMSB–62764EN/01696A block or blocks can be deleted in a program.The procedure below deletes a block up to its EOB code; the cursoradvances to the address of the next word.Procedure for deleting a block1Search for or scan address N for a block to be deleted.2Key in EOB.3...

  • Page 716

    OPERATIONB–62764EN/019. EDITING PROGRAMS697The blocks from the currently displayed word to the block with a specifiedsequence number can be deleted.Procedure for deleting multiple blocks1Search for or scan a word in the first block of a portion to be deleted.2Key in address N .3Key in the seque...

  • Page 717

    OPERATION9. EDITING PROGRAMSB–62764EN/01698When memory holds multiple programs, a program can be searched for.There are three methods as follows.Procedure for program number search1Select EDIT or MEMORY mode.2Press PROGto display the program screen.3Key in addressO .4Key in a program number to ...

  • Page 718

    OPERATIONB–62764EN/019. EDITING PROGRAMS699Sequence number search operation is usually used to search for asequence number in the middle of a program so that execution can bestarted or restarted at the block of the sequence number. Example)Sequence number 02346 in a program (O0002) issearched f...

  • Page 719

    OPERATION9. EDITING PROGRAMSB–62764EN/01700Those blocks that are skipped do not affect the CNC. This means that thedata in the skipped blocks such as coordinates and M, S, and T codes doesnot alter the CNC coordinates and modal values.So, in the first block where execution is to be started or ...

  • Page 720

    OPERATIONB–62764EN/019. EDITING PROGRAMS701Programs registered in memory can be deleted,either one program by oneprogram or all at once. Also, More than one program can be deleted byspecifying a range.A program registered in memory can be deleted.Procedure for deleting one program1Select the E...

  • Page 721

    OPERATION9. EDITING PROGRAMSB–62764EN/01702Programs within a specified range in memory are deleted.Procedure for deleting more than one program by specifying a range1Select the EDIT mode.2Press PROGto display the program screen.3Enter the range of program numbers to be deleted with address andn...

  • Page 722

    OPERATIONB–62764EN/019. EDITING PROGRAMS703With the extended part program editing function, the operations describedbelow can be performed using soft keys for programs that have beenregistered in memory.Following editing operations are available :⋅ All or part of a program can be copied or mo...

  • Page 723

    OPERATION9. EDITING PROGRAMSB–62764EN/01704A new program can be created by copying a program.AOxxxxAOxxxxAfter copyAOyyyyCopyBefore copyFig. 9.6.1 Copying an Entire ProgramIn Fig. 9.6.1, the program with program number xxxx is copied to a newlycreated program with program number yyyy. The prog...

  • Page 724

    OPERATIONB–62764EN/019. EDITING PROGRAMS705A new program can be created by copying part of a program.BOxxxxOxxxxAfter copyBOyyyyCopyBefore copyFig. 9.6.2 Copying Part of a ProgramACBACIn Fig. 9.6.2, part B of the program with program number xxxx is copiedto a newly created program with program...

  • Page 725

    OPERATION9. EDITING PROGRAMSB–62764EN/01706A new program can be created by moving part of a program.BOxxxxOxxxxAfter copyBOyyyyCopyBefore copyFig. 9.6.3 Moving Part of a ProgramACACIn Fig. 9.6.3, part B of the program with program number xxxx is movedto a newly created program with program num...

  • Page 726

    OPERATIONB–62764EN/019. EDITING PROGRAMS707Another program can be inserted at an arbitrary position in the currentprogram.OxxxxBefore mergeBOyyyyMergeFig. 9.6.4 Merging a program at a specified locationAOxxxxAfter mergeBOyyyyBACCMergelocationIn Fig. 9.6.4, the program with program number XXXX ...

  • Page 727

    OPERATION9. EDITING PROGRAMSB–62764EN/01708The setting of an editing range start point with [CRSR] can be changedfreely until an editing range end point is set with [CRSR] or [BTTM].If an editing range start point is set after an editing range end point, theediting range must be reset starting ...

  • Page 728

    OPERATIONB–62764EN/019. EDITING PROGRAMS709Alarm no.Contents70101Memory became insufficient while copying or insertinga program. Copy or insertion is terminated.The power was interrupted during copying, moving, orinserting a program and memory used for editing mustbe cleared. When this alarm oc...

  • Page 729

    OPERATION9. EDITING PROGRAMSB–62764EN/01710Replace one or more specified words.Replacement can be applied to all occurrences or just one occurrence ofspecified words or addresses in the program.Procedure for hange of words or addresses1Perform steps 1 to 5 in III–9.6.1.2Press soft key [CHANGE...

  • Page 730

    OPERATIONB–62764EN/019. EDITING PROGRAMS711The following custom macro words are replaceable:IF, WHILE, GOTO, END, DO, BPRNT, DPRINT, POPEN, PCLOSThe abbreviations of custom macro words can be specified.When abbreviations are used, however, the screen displays theabbreviations as they are key in...

  • Page 731

    OPERATION9. EDITING PROGRAMSB–62764EN/01712Unlike ordinary programs, custom macro programs are modified,inserted, or deleted based on editing units.Custom macro words can be entered in abbreviated form.Comments can be entered in a program.Refer to the III–10.1 for the comments of a program.Wh...

  • Page 732

    OPERATIONB–62764EN/019. EDITING PROGRAMS713Editing a program while executing another program is called backgroundediting. The method of editing is the same as for ordinary editing(foreground editing).A program edited in the background should be registered in foregroundprogram memory by performi...

  • Page 733

    OPERATION9. EDITING PROGRAMSB–62764EN/01714The password function (bit 4 (NE9) of parameter No. 3202) can be lockedusing parameter No. 3210 (PASSWD) and parameter No. 3211(KEYWD) to protect program Nos. 9000 to 9999. In the locked state,parameter NE9 cannot be set to 0. In this state, program ...

  • Page 734

    OPERATIONB–62764EN/019. EDITING PROGRAMS715When 0 is set in the parameter PASSWD, the number 0 is displayed, andthe password function is disabled. In other words, the password functioncan be disabled by either not setting parameter PASSWD at all, or bysetting 0 in parameter PASSWD after step 3...

  • Page 735

    OPERATION10. CREATING PROGRAMSB–62764EN/0171610 CREATING PROGRAMSPrograms can be created using any of the following methods:⋅ MDI keyboard⋅ PROGRAMMING IN TEACH IN MODE⋅ CONVERSATIONAL PROGRAMMING INPUT WITH GRAPHICFUNCTION⋅ CONVERSATIONAL AUTOMATIC PROGRAMMING FUNCTION⋅ AUTOMATIC PRO...

  • Page 736

    OPERATIONB–62764EN/0110. CREATING PROGRAMS717Programs can be created in the EDIT mode using the program editingfunctions described in III–9.Procedure for Creating Programs Using the MDI Panel1Enter the EDIT mode.2Press the PROGkey.3Press address key O and enter the program number.4Press the I...

  • Page 737

    OPERATION10. CREATING PROGRAMSB–62764EN/01718Sequence numbers can be automatically inserted in each block when aprogram is created using the MDI keys in the EDIT mode.Set the increment for sequence numbers in parameter 3216.Procedure for automatic insertion of sequence numbers1Set 1 for SEQUENC...

  • Page 738

    OPERATIONB–62764EN/0110. CREATING PROGRAMS7199Press INSERT. The EOB is registered in memory and sequence numbersare automatically inserted. For example, if the initial value of N is 10and the parameter for the increment is set to 2, N12 inserted anddisplayed below the line where a new block i...

  • Page 739

    OPERATION10. CREATING PROGRAMSB–62764EN/01720When the playback option is selected, the TEACH IN JOG mode andTEACH IN HANDLE mode are added. In these modes, a machine positionalong the X, Y, and Z axes obtained by manual operation is stored inmemory as a program position to create a program.The...

  • Page 740

    OPERATIONB–62764EN/0110. CREATING PROGRAMS7211 Set the setting data SEQUENCE NO. to 1 (on). (The incremental valueparameter (No. 3216) is assumed to be “1”.)2 Select the TEACH IN HANDLE mode.3 Make positioning at position P0 by the manual pulse generator.4 Select the program screen.5 Enter...

  • Page 741

    OPERATION10. CREATING PROGRAMSB–62764EN/01722The contents of memory can be checked in the TEACH IN mode by usingthe same procedure as in EDIT mode.PROGRAMO1234 N00004(RELATIVE)(ABSOLUTE)X –6.975X 3.025Y 23.723Y 23.723Z –10.325Z –0.325O1234 ;N1 G92 X10000...

  • Page 742

    OPERATIONB–62764EN/0110. CREATING PROGRAMS723Programs can be created block after block on the conversational screenwhile displaying the G code menu.Blocks in a program can be modified, inserted, or deleted using the G codemenu and conversational screen.Procedure for Conversational Programming w...

  • Page 743

    OPERATION10. CREATING PROGRAMSB–62764EN/017244Press the [C.A.P] soft key. The following G code menu is displayedon the screen.If soft keys different from those shown in step 2 are displayed, pressthe menu return key to display the correct soft keys.PROGRAMO1234 N00004G00: POSITIONINGG01: LINE...

  • Page 744

    OPERATIONB–62764EN/0110. CREATING PROGRAMS725**********O0010 N00000PROGRAMGGGGXYZHFRMSTB IJKPQL :EDIT14 : 41 : 10(OPRT)PRGRMG.MENUBLOCK7Move the cursor to the block to be modified on the program screen.At this time, a data address with the cursor blinks.8Enter numeric data by pressing the nume...

  • Page 745

    OPERATION10. CREATING PROGRAMSB–62764EN/017264After data is changed completely, press the ALTER key. This operationreplaces an entire block of a program.1On the conversational screen, display the block immediately before anew block is to be inserted, by using the page keys. On the programscre...

  • Page 746

    OPERATIONB–62764EN/0111. SETTING AND DISPLAYING DATA72711 SETTING AND DISPLAYING DATATo operate a CNC machine tool, various data must be set on the MDI panelfor the CNC. The operator can monitor the state of operation with datadisplayed during operation.This chapter describes how to display an...

  • Page 747

    OPERATION11. SETTING AND DISPLAYING DATAB–62764EN/01728POSScreen transition triggered by the function key POSPOSITION DISPLAY SCREENCurrent position screenPosition display ofwork coordinatesystem⇒ See III-11.1.1.Display of partcount and runtime⇒ See III-11.1.6.Display of actualspeed⇒ See ...

  • Page 748

    OPERATIONB–62764EN/0111. SETTING AND DISPLAYING DATA729Program screenDisplay ofprogram contents⇒ See III-11.2.1.Display ofcurrentblock and modaldata⇒ See III-11.2.2.PRGRMCHECKCURRNTNEXT(OPRT)PROGScreen transition triggered by the function keyin the MEMORY or MDI modePROGPROGRAM SCREENMEMDi...

  • Page 749

    OPERATION11. SETTING AND DISPLAYING DATAB–62764EN/01730Program editingscreen⇒ See III-9Program memoryand program directory⇒ See III-11.3.1.PRGRMLIBC.A.P.(OPRT)PROGEDITConversationalprogrammingscreen⇒ See III-10.4FLOPPY(OPRT)EDITFile directoryscreen forfloppy disks⇒ See III-8.8Program sc...

  • Page 750

    OPERATIONB–62764EN/0111. SETTING AND DISPLAYING DATA731Software operator's panel switchåSee subsec. 11.4.10.Tool offset valueDisplay of tooloffset value⇒ See III-11.4.1.OFFSETSETTINGWORK(OPRT)Screen transition triggered by the function keyOFFSETSETTINGOFFSETSETTINGOFFSET/SETTING SCREENDispla...

  • Page 751

    OPERATION11. SETTING AND DISPLAYING DATAB–62764EN/01732Parameter screenPARAMDGNOSSYSTEM(OPRT)PITCH(OPRT)SYSTEMSYSTEMSYSTEM SCREENPMCDisplay ofparameter screen⇒ See III-11.5.1Setting of parameter⇒ See III-11.5.1Display ofdiagnosisscreen⇒ See III-7.3SV.PRMSP.PRMDisplay of pitcherror data⇒...

  • Page 752

    OPERATIONB–62764EN/0111. SETTING AND DISPLAYING DATA733The table below lists the data set on each screen.Table.11. Setting screens and data on themNo.Setting screenContents of settingReferenceitem1Tool offset valueTool offset valueTool length offset valueCutter compensation valueIII–11.4.1Too...

  • Page 753

    OPERATION11. SETTING AND DISPLAYING DATAB–62764EN/01734Press function key POS to display the current position of the tool.The following three screens are used to display the current position of thetool:⋅Position display screen for the work coordinate system.⋅Position display screen for the ...

  • Page 754

    OPERATIONB–62764EN/0111. SETTING AND DISPLAYING DATA735Displays the current position of the tool in the workpiece coordinatesystem. The current position changes as the tool moves. The least inputincrement is used as the unit for numeric values. The title at the top ofthe screen indicates tha...

  • Page 755

    OPERATION11. SETTING AND DISPLAYING DATAB–62764EN/01736ACTUAL POSITIONO1000 N10010X1100.000Y1200.000Z1300.000(ACTUAL SPEED)F :0MM/MINS :0RPM(PARTS COUNT)114(RUN TIME)5H 3M(CYCLE TIME)0H 0M 6S+O2000 N20010X2400.000Y2500.000Z2600.000ALLD Display with two–path control(14″CRT, 9.5″ LCD)(ACTUA...

  • Page 756

    OPERATIONB–62764EN/0111. SETTING AND DISPLAYING DATA737Displays the current position of the tool in a relative coordinate systembased on the coordinates set by the operator. The current position changesas the tool moves. The increment system is used as the unit for numericvalues. The title a...

  • Page 757

    OPERATION11. SETTING AND DISPLAYING DATAB–62764EN/01738MEM STRT MTN *** 09:06:35 HEAD1[ ABS ] [ REL ] [ ALL ] [ HNDL ] [(OPRT)]ACTUAL POSITION(RELATIVE) O1000 N00010PART COUNT 5RUN TIME 0H15MCYCLE TIME 0H 0M38SACT.F 3000 MM/M S 0 T0000X11...

  • Page 758

    OPERATIONB–62764EN/0111. SETTING AND DISPLAYING DATA739The current position of the tool in the relative coordinate system can bereset to 0 or preset to a specified value as follows:Procedure to set the axis coordinate to a specified value1Enter an axis address (such as X or Y) on the screen for...

  • Page 759

    OPERATION11. SETTING AND DISPLAYING DATAB–62764EN/01740Displays the following positions on a screen : Current positions of thetool in the workpiece coordinate system, relative coordinate system, andmachine coordinate system, and the remaining distance. The relativecoordinates can also be set...

  • Page 760

    OPERATIONB–62764EN/0111. SETTING AND DISPLAYING DATA741ACTUAL POSITIONO1000 N10010(ACTUAL SPEED)F :0MM/MINS :0RPM(PARTS COUNT)114(RUN TIME) 5H 3M(CYCLE TIME) 0H 0M 6SABSREL+O2000 N20010ALLD Display with two–path control(14″CRT, 9.5″ LCD)(RELATIVE)(ACTUAL SPEED)F :0MM/MINS :0RPM(PARTS COUN...

  • Page 761

    OPERATION11. SETTING AND DISPLAYING DATAB–62764EN/01742A workpiece coordinate system shifted by an operation such as manualintervention can be preset using MDI operations to a pre–shift workpiececoordinate system. The latter coordinate system is displaced from themachine zero point by a work...

  • Page 762

    OPERATIONB–62764EN/0111. SETTING AND DISPLAYING DATA743The actual feedrate on the machine (per minute) can be displayed on acurrent position display screen or program check screen by setting bit 0(DPF) of parameter 3105. On a 14–inch CRT or 9.5″/8.4″ LCD, the actualfeedrate is always dis...

  • Page 763

    OPERATION11. SETTING AND DISPLAYING DATAB–62764EN/01744In the case of movement of rotary axis, the speed is displayed in units ofdeg/min but is displayed on the screen in units of input system at that time.For example, when the rotary axis moves at 50 deg/min, the following isdisplayed: 0.50 IN...

  • Page 764

    OPERATIONB–62764EN/0111. SETTING AND DISPLAYING DATA745The run time, cycle time, and the number of machined parts are displayedon the current position display screens.Procedure for displaying run time and parts count on the current position display screen1Press function key POS to display a cur...

  • Page 765

    OPERATION11. SETTING AND DISPLAYING DATAB–62764EN/01746To perform floating reference position return with a G30.1 command, thefloating reference position must be set beforehand.Procedure for setting the floating reference position1Press function key POS to display a screen used for displaying t...

  • Page 766

    OPERATIONB–62764EN/0111. SETTING AND DISPLAYING DATA747The reading on the load meter can be displayed for each servo axis andthe serial spindle by setting bit 5 (OPM) of parameter 3111 to 1. Thereading on the speedometer can also be displayed for the serial spindle.Procedure for displaying the...

  • Page 767

    OPERATION11. SETTING AND DISPLAYING DATAB–62764EN/01748Although the speedometer normally indicates the speed of the spindlemotor, it can also be used to indicate the speed of the spindle by settingbit 6 (OPS) of parameter 3111 to 1.The spindle speed to be displayed during operation monitoring i...

  • Page 768

    OPERATIONB–62764EN/0111. SETTING AND DISPLAYING DATA749This section describes the screens displayed by pressing function keyPROG in MEMORY or MDI mode.The first four of the following screensdisplay the execution state for the program currently being executed inMEMORY or MDI mode and the last sc...

  • Page 769

    OPERATION11. SETTING AND DISPLAYING DATAB–62764EN/01750Displays the program currently being executed in MEMORY or MDImode.Procedure for displaying the program contents1Press function key PROG to display the program screen.2Press chapter selection soft key [PRGRM].The cursor is positioned at the...

  • Page 770

    OPERATIONB–62764EN/0111. SETTING AND DISPLAYING DATA751Displays the block currently being executed and modal data in theMEMORY or MDI mode.Procedure for displaying the current block display screen1Press function key PROG.2Press chapter selection soft key [CURRNT].The block currently being execu...

  • Page 771

    OPERATION11. SETTING AND DISPLAYING DATAB–62764EN/01752Displays the block currently being executed and the block to be executednext in the MEMORY or MDI mode.Procedure for displaying the next block display screen1Press function key PROG.2Press chapter selection soft key [NEXT].The block current...

  • Page 772

    OPERATIONB–62764EN/0111. SETTING AND DISPLAYING DATA753Displays the program currently being executed, current position of thetool, and modal data in the MEMORY mode.Procedure for displaying the program check screen1Press function key PROG.2Press chapter selection soft key [CHECK].The program cu...

  • Page 773

    OPERATION11. SETTING AND DISPLAYING DATAB–62764EN/01754PROGRAM CHECKO1000 N01010 (MODAL)G00G22G40G98 MG17G94G49G50 MG90G21G80G67 M H TBF 1000.000 (ACT.F) 0MM/MINS 20 (ACT.S) 0RPM>_PRGRM(OPRT)+CHECKNEXT(RELATIVE)(ABSOLUTE)(DIST T...

  • Page 774

    OPERATIONB–62764EN/0111. SETTING AND DISPLAYING DATA755The program check screen is not provided for 14–inch CRTs or 9.5–inchLCDs. Press soft key [PRGRM] to display the contents of the programon the right half of the screen. The block currently being executed isindicated by the cursor. Th...

  • Page 775

    OPERATION11. SETTING AND DISPLAYING DATAB–62764EN/01756Displays the program input from the MDI and modal data in the MDImode.Procedure for displaying the program screen for MDI operation1Press function key PROG.2Press chapter selection soft key [MDI].The program input from the MDI and modal dat...

  • Page 776

    OPERATIONB–62764EN/0111. SETTING AND DISPLAYING DATA757When a machining program is executed, the machining time of the mainprogram is displayed on the program machining time display screen. Themachining times of up to ten main programs are displayed inhours/minutes/seconds. When more than ten...

  • Page 777

    OPERATION11. SETTING AND DISPLAYING DATAB–62764EN/017585 To calculate the machining times of additional programs, repeat theabove procedure. The machining time display screen displays theexecuted main program numbers and their machining timessequentially.Note, that machining time data cannot b...

  • Page 778

    OPERATIONB–62764EN/0111. SETTING AND DISPLAYING DATA7591To insert the calculated machining time of a program in a program as acomment, the machining time of the program must be displayed onthe machining time display screen. Before stamping the machiningtime of the program, check that the machi...

  • Page 779

    OPERATION11. SETTING AND DISPLAYING DATAB–62764EN/017604If a comment already exists in the block containing the programnumber of a program whose machining time is to be inserted, themachining time is inserted after the existing comment.O0100(SHAFT XSF001) ;N10G92X100. Z10. ;N20S1500 M03 ;N30 G0...

  • Page 780

    OPERATIONB–62764EN/0111. SETTING AND DISPLAYING DATA761Machining time is counted from the initial start after a reset in memoryoperation mode to the next reset. If a reset does not occur duringoperation, machining time is counted from the start to M03 (or M30).However, note that the time durin...

  • Page 781

    OPERATION11. SETTING AND DISPLAYING DATAB–62764EN/01762When the machining time inserted into a program is displayed on theprogram directory screen and the comment after the program numberconsists of only machining time data, the machining time is displayed inboth the program name display field ...

  • Page 782

    OPERATIONB–62764EN/0111. SETTING AND DISPLAYING DATA763 EDIT *** *** *** *** 16:52:13[ INS–TM ] [ ] [ ] [ ] [ ]PROGRAM O0260 N00000O0260 (SHAFT XSF302) (001H15M59S) (001H20...

  • Page 783

    OPERATION11. SETTING AND DISPLAYING DATAB–62764EN/01764PROGRAM O0280 N00000O0280 (SHAFT XSF303) (1H10M59S)N10 G92 X100. Z10. ;N20 S1500 M03 ;N30 G00 X20.5 Z5. T0101 ;N40 G01 Z–10. F25. ;N50 G02 X16.5 Z–12. R2. ;N60 G01 X40. ;N70 X42. Z–13. ;N80 Z–50. ;N90 X44. Z–51. ;N10...

  • Page 784

    OPERATIONB–62764EN/0111. SETTING AND DISPLAYING DATA765This section describes the screens displayed by pressing function keyPROG in the EDIT mode. Function key PROG in the EDIT mode candisplay the program editing screen and the program list screen (displaysmemory used and a list of programs). ...

  • Page 785

    OPERATION11. SETTING AND DISPLAYING DATAB–62764EN/01766PROGRAM NO. USEDPROGRAM NO. USED: The number of the programs registered (including the subprograms)FREE: The number of programs which can beregistered additionally.MEMORY AREA USEDMEMORY AREA USED: The capacity of the program memory in whic...

  • Page 786

    OPERATIONB–62764EN/0111. SETTING AND DISPLAYING DATA767When no program has been deleted from the list, each program isregistered at the end of the list.If some programs in the list were deleted, then a new program isregistered, the new program is inserted in the empty location in the listcreat...

  • Page 787

    OPERATION11. SETTING AND DISPLAYING DATAB–62764EN/01768In addition to the normal listing of the numbers and names of CNCprograms stored in memory, programs can be listed in units of groups,according to the product to be machined, for example.To assign CNC programs to the same group, assign name...

  • Page 788

    OPERATIONB–62764EN/0111. SETTING AND DISPLAYING DATA7698Pressing the [EXEC] operation soft key displays the group–unitprogram list screen, listing all those programs whose name includesthe specified character string. PROGRAM (NUM.)MEMORY (CHAR.) USED:603321FREE: 2 429O0020 (GEAR–1000 ...

  • Page 789

    OPERATION11. SETTING AND DISPLAYING DATAB–62764EN/01770[Example of using wild cards](Entered character string)(Group for which the search will be made)(a)“*”CNC programs having any name(b)“*ABC”CNC programs having names which endwith “ABC”(c)“ABC*”CNC programs having names which...

  • Page 790

    OPERATIONB–62764EN/0111. SETTING AND DISPLAYING DATA771Press function key OFFSETSETTING to display or set tool compensation values andother data.This section describes how to display or set the following data:1. Tool offset value2. Settings3. Run time and part count4. Workpiece origin offset va...

  • Page 791

    OPERATION11. SETTING AND DISPLAYING DATAB–62764EN/01772Tool offset values, tool length offset values, and cutter compensationvalues are specified by D codes or H codes in a program. Compensationvalues corresponding to D codes or H codes are displayed or set on thescreen.Procedure for setting a...

  • Page 792

    OPERATIONB–62764EN/0111. SETTING AND DISPLAYING DATA7733Move the cursor to the compensation value to be set or changed usingpage keys and cursor keys, or enter the compensation number for thecompensation value to be set or changed and press soft key[NO.SRH].4To set a compensation value, enter a...

  • Page 793

    OPERATION11. SETTING AND DISPLAYING DATAB–62764EN/01774OFFSETNO.DATANO.DATA 001 0.000 017 0.000 002 0.000 018 0.000 003 0.000 019 0.000 004 0.000 020 0.000 005 0.000 021 0.000 006 0.000 022 0.000 007 0.000 023 0.000 008 0.000 024 0.000 009 0.000 025 0.000 010 0.000 026 0.000 011 0.000 027 0.000...

  • Page 794

    OPERATIONB–62764EN/0111. SETTING AND DISPLAYING DATA775The length of the tool can be measured and registered as the tool lengthoffset value by moving the reference tool and the tool to be measured untilthey touch the specified position on the machine. The tool length can be measured along the ...

  • Page 795

    OPERATION11. SETTING AND DISPLAYING DATAB–62764EN/017768Press the soft key [INP.C.]. The Z axis relative coordinate value isinput and displayed as an tool length offset value.ÇÇÇÇÇÇÇÇÇÇÇÇÇÇÇÇÇA prefixed positionReferencetoolThe difference is set as a toollength offset valueINP.C.

  • Page 796

    OPERATIONB–62764EN/0111. SETTING AND DISPLAYING DATA777Data such as the TV check flag and punch code is set on the setting datascreen. On this screen, the operator can also enable/disable parameterwriting, enable/disable the automatic insertion of sequence numbers inprogram editing, and perfor...

  • Page 797

    OPERATION11. SETTING AND DISPLAYING DATAB–62764EN/017784Move the cursor to the item to be changed by pressing cursor keys , , , or .5Enter a new value and press soft key [INPUT].Setting whether parameter writing is enabled or disabled.0 : Disabled1 : EnabledSetting to perform TV check.0 : ...

  • Page 798

    OPERATIONB–62764EN/0111. SETTING AND DISPLAYING DATA779If a block containing a specified sequence number appears in the programbeing executed, operation enters single block mode after the block isexecuted.Procedure for sequence number comparison and stop1Select the MDI mode.2Press function key ...

  • Page 799

    OPERATION11. SETTING AND DISPLAYING DATAB–62764EN/01780After the specified sequence number is found during the execution of theprogram, the sequence number set for sequence number compensationand stop is decremented by one. When the power is turned on, the settingof the sequence number is 0.If...

  • Page 800

    OPERATIONB–62764EN/0111. SETTING AND DISPLAYING DATA781Various run times, the total number of machined parts, number of partsrequired, and number of machined parts can be displayed. This data canbe set by parameters or on this screen (except for the total number ofmachined parts and the time d...

  • Page 801

    OPERATION11. SETTING AND DISPLAYING DATAB–62764EN/01782This value is incremented by one when M02, M30, or an M code specifiedby parameter 6710 is executed. The value can also be set by parameter6711. In general, this value is reset when it reaches the number of partsrequired. Refer to the ma...

  • Page 802

    OPERATIONB–62764EN/0111. SETTING AND DISPLAYING DATA783Displays the workpiece origin offset for each workpiece coordinatesystem (G54 to G59, G54.1 P1 to G54.1 P48 and G54.1 P1 to G54.1P300) and external workpiece origin offset. The workpiece origin offsetand external workpiece origin offset ca...

  • Page 803

    OPERATION11. SETTING AND DISPLAYING DATAB–62764EN/01784This function is used to compensate for the difference between theprogrammed workpiece coordinate system and the actual workpiececoordinate system. The measured offset for the origin of the workpiececoordinate system can be input on the sc...

  • Page 804

    OPERATIONB–62764EN/0111. SETTING AND DISPLAYING DATA7855To display the workpiece origin offset setting screen, press thechapter selection soft key [WORK]. NO. DATA NO. DATA 00X0.00002 X0.000 (EXT) Y0.000(G55) Y0.000 Z0.000Z0.000 01X0.00003 X0.000 (G54) Y0.000(G5...

  • Page 805

    OPERATION11. SETTING AND DISPLAYING DATAB–62764EN/01786Displays common variables (#100 to #149 or #100 to #199, and #500 to#531 or #500 to #999) on the CRT. When the absolute value for a commonvariable exceeds 99999999, ******** is displayed. The values forvariables can be set on this screen....

  • Page 806

    OPERATIONB–62764EN/0111. SETTING AND DISPLAYING DATA787This subsection uses an example to describe how to display or setmachining menus (pattern menus) created by the machine tool builder.Refer to the manual issued by the machine tool builder for the actualpattern menus and pattern data. See I...

  • Page 807

    OPERATION11. SETTING AND DISPLAYING DATAB–62764EN/017884Enter necessary pattern data and press INPUT.5After entering all necessary data, enter the MEMORY mode and pressthe cycle start button to start machining.HOLE PATTERN : Menu titleAn optional character string can be displayed within 12 cha...

  • Page 808

    OPERATIONB–62764EN/0111. SETTING AND DISPLAYING DATA789With this function, functions of the switches on the machine operator’spanel can be controlled from the CRT/MDI panel.Jog feed can be performed using numeric keys.Procedure for displaying and setting the software operator’s panel1Press ...

  • Page 809

    OPERATION11. SETTING AND DISPLAYING DATAB–62764EN/017904Move the cursor to the desired switch by pressing cursor key or .5Push the cursor move key or to match the markJ to anarbitrary position and set the desired condition.6Press one of the following arrow keys to perform jog feed. Press the...

  • Page 810

    OPERATIONB–62764EN/0111. SETTING AND DISPLAYING DATA791Tool life data can be displayed to inform the operator of the current stateof tool life management. Groups which require tool changes are alsodisplayed.The tool life counter for each group can be preset to an arbitraryvalue. Tool data (ex...

  • Page 811

    OPERATION11. SETTING AND DISPLAYING DATAB–62764EN/017927To reset the tool data, move the cursor on the group to reset, then pressthe [(OPRT)], [CLEAR], and [EXEC] soft keys in this order.All execution data for the group indicated by the cursor is clearedtogether with the marks (@, #, or *).The ...

  • Page 812

    OPERATIONB–62764EN/0111. SETTING AND DISPLAYING DATA793TOOL LIFE DATA : O3000 N00060 SELECTED GROUP 000GROUP 001 :LIFE 0150 COUNT 00070034007800120056009000350026006100000000000000000000000000000000GROUP 002 :LIFE 1400 COUNT 000000620024004400740000000000...

  • Page 813

    OPERATION11. SETTING AND DISPLAYING DATAB–62764EN/01794The extended tool life management function provides more detailed datadisplay and more data editing functions than the ordinary tool lifemanagement function.Moreover, if the tool life is specified in units of time, the time which hasbeen se...

  • Page 814

    OPERATIONB–62764EN/0111. SETTING AND DISPLAYING DATA795⋅ Deleting a tool group :7–4⋅ Deleting tool data (T, H, or D code) :7–5⋅ Skipping a tool :7–6⋅ Clearing the life count (resetting the life) :7–77–1Setting the life count type, life value, current life count, and tooldata (...

  • Page 815

    OPERATION11. SETTING AND DISPLAYING DATAB–62764EN/017967–4Deleting a tool group(1) In step 3, position the cusor on a group to be deleted and display theediting screen.(2) Press soft key [DELETE].(3) Press soft key [GROUP].(4) Press soft key [EXEC].7–5Deleting tool data (T, H, or D code)(1)...

  • Page 816

    OPERATIONB–62764EN/0111. SETTING AND DISPLAYING DATA797LIFE DATA EDIT GROUP : 001 O0010 N00001 TYPE: 1 (1:C 2:M)NEXT GROUP: *** LIFE: 9800USE GROUP : *** COUNT : 6501SELECTED GROUP : 001NO.STATET–CODEH–CODED–CODE01*003401100502#007800003303@001200401804*005600000005009000000006...

  • Page 817

    OPERATION11. SETTING AND DISPLAYING DATAB–62764EN/01798When the extended tool life management function is provided, thefollowing items are added to the tool life management screen:S NEXT: Tool group to be used nextS USE: Tool group in useS Life counter type for each tool group (C: Cycles, M:...

  • Page 818

    OPERATIONB–62764EN/0111. SETTING AND DISPLAYING DATA799Chopping data, including the reference point (R point), upper dead point,lower dead point, and chopping feedrate, can be displayed and set byusing the chopping screen.Procedure for displaying and setting chopping data1Press the OFFSETSETTIN...

  • Page 819

    OPERATION11. SETTING AND DISPLAYING DATAB–62764EN/01800If bit 7 (CHPX) of parameter No. 8360 is set to 1, the chopping feedratecannot be set by using the chopping screen.The chopping screen can be used to set chopping data regardless of thecurrent mode, even during automatic or manual operation...

  • Page 820

    OPERATIONB–62764EN/0111. SETTING AND DISPLAYING DATA801When the CNC and machine are connected, parameters must be set todetermine the specifications and functions of the machine in order to fullyutilize the characteristics of the servo motor or other parts.This chapter describes how to set para...

  • Page 821

    OPERATION11. SETTING AND DISPLAYING DATAB–62764EN/01802When the CNC and machine are connected, parameters are set todetermine the specifications and functions of the machine in order to fullyutilize the characteristics of the servo motor. The setting of parametersdepends on the machine. Refer...

  • Page 822

    OPERATIONB–62764EN/0111. SETTING AND DISPLAYING DATA803Procedure for enabling/displaying parameter writing1Select the MDI mode or enter state emergency stop.2Press function key OFFSETSETTING.3Press soft key [SETING] to display the setting screen.SETTING (HANDY) O0001 N00000&g...

  • Page 823

    OPERATION11. SETTING AND DISPLAYING DATAB–62764EN/01804If pitch error compensation data is specified, pitch errors of each axis canbe compensated in detection unit per axis. Pitch error compensation data is set for each compensation point at theintervals specified for each axis. The origin of...

  • Page 824

    OPERATIONB–62764EN/0111. SETTING AND DISPLAYING DATA805Procedure for displaying and setting the pitch error compensation data1Set the following parameters:S Number of the pitch error compensation point at the referenceposition (for each axis): Parameter 3620S Number of the pitch error compensa...

  • Page 825

    OPERATION11. SETTING AND DISPLAYING DATAB–62764EN/01806The program number, sequence number, and current CNC status arealways displayed on the screen except when the power is turned on, asystem alarm occurs, or the PMC screen is displayed.If data setting or the input/output operation is incorrec...

  • Page 826

    OPERATIONB–62764EN/0111. SETTING AND DISPLAYING DATA807The current mode, automatic operation state, alarm state, and programediting state are displayed on the next to last line on the CRT screenallowing the operator to readily understand the operation condition of thesystem.If data setting or t...

  • Page 827

    OPERATION11. SETTING AND DISPLAYING DATAB–62764EN/01808FIN: Indicates the state in which an auxiliary function is beingexecuted. (Waiting for the complete signal from the PMC)***: Indicates a state other than the above.––EMG––:: Indicates emergency stop.(Blinks in reversed display.)–...

  • Page 828

    OPERATIONB–62764EN/0111. SETTING AND DISPLAYING DATA809By pressing the function key MESSAGE, data such as alarms, alarm historydata, and external messages can be displayed.For information relating to alarm display, see Section III.7.1. Forinformation relating to alarm history display, see Sec...

  • Page 829

    OPERATION11. SETTING AND DISPLAYING DATAB–62764EN/01810When an external operator message number is specified, updating of theexternal operator message history data is started; this updating iscontinued until a new external operator message number is specified ordeletion of the external operator...

  • Page 830

    OPERATIONB–62764EN/0111. SETTING AND DISPLAYING DATA811Displaying the same characters in the same positions on the screen causesa CRT or LCD to degrade relatively quickly. To help prevent this, thescreen can be cleared by pressing specific keys. It is also possible tospecify the automatic cle...

  • Page 831

    OPERATION11. SETTING AND DISPLAYING DATAB–62764EN/01812The CNC screen is automatically cleared if no keys are pressed during theperiod (in minutes) specified with a parameter. The screen is restored bypressing any key.Procedure for automatic erase CRT screen displayThe CNC screen is cleared on...

  • Page 832

    OPERATIONB–62764EN/0112. GRAPHICS FUNCTION81312 GRAPHICS FUNCTIONTwo graphic functions are available. One is a graphic display function,and the other is a dynamic graphic display function.The graphic display function can draw the tool path specified by aprogram being executed on a 9–inch CRT...

  • Page 833

    OPERATION12. GRAPHICS FUNCTIONB–62764EN/01814It is possible to draw the programmed tool path on the 9–inch, 14–inchCRT screen, or 9.5/8.4–inch LCD screen, which makes it possible tocheck the progress of machining, while observing the path on the CRTscreen.In addition, it is also possible ...

  • Page 834

    OPERATIONB–62764EN/0112. GRAPHICS FUNCTION8156Automatic operation is started and machine movement is drawn onthe screen.MEM **********14 : 23 : 03000100012GRAPHPARAMZXYS 0TX 0.000Y 0.000Z 0.000The size of the graphic screen will be as follows:Gc : Center of the screenNo...

  • Page 835

    OPERATION12. GRAPHICS FUNCTIONB–62764EN/01816Set the center of the graphic range to the center of the screen. If thedrawing range in the program can be contained in the above actualgraphics range, set the magnification to 1 (actual value set is 100).When the drawing range is larger than the ma...

  • Page 836

    OPERATIONB–62764EN/0112. GRAPHICS FUNCTION817When the actual tool path is not near the center of the screen, method 1will cause the tool path to be drawn out of the geaphics range if graphicsmagnification is not set properly.To avoid such cases, the following six graphic parameters are prepared...

  • Page 837

    OPERATION12. GRAPHICS FUNCTIONB–62764EN/01818⋅ AXESSpecify the plane to use for drawing. The user can choose from thefollowing six coordinate systems.With two–path control, a different drawing coordinate system can beselected for each tool post.YZXXXXYYZZZZYY(1)(2)(3)(4)(5)(6)= 0 : Selec...

  • Page 838

    OPERATIONB–62764EN/0112. GRAPHICS FUNCTION819⋅ GRAPHIC CENTERX=Y=Z=Set the coordinate value on the workpiece coordinate system atgraphic center.NOTE1 When MAX. and MIN. of RANGE are set, the values will beset automatically once drawing is executed2 When setting the graphics range with the gra...

  • Page 839

    OPERATION12. GRAPHICS FUNCTIONB–62764EN/01820There are the following two functions in Dynamic Graphics.Path graphicSolid graphicThis is used to draw the path of tool center com-manded by the part program.This is used to draw the workpiece figure machined bytool movement commanded by the part pr...

  • Page 840

    OPERATIONB–62764EN/0112. GRAPHICS FUNCTION821Coordinate axes and actual size dimension lines are displayed togetherwith the drawing so that actual size can be referenced.The first six functions above (1. to 6.) are available by setting the graphicparameters. The seventh to ninth functions (7. ...

  • Page 841

    OPERATION12. GRAPHICS FUNCTIONB–62764EN/018222There are two screens for setting drawing parameters.Press the page key according to the setting items for selectingscreens.3Set the cursor to an item to be set by cursor keys.4Input numerics by numeric keys.5Press the INPUT key.The input numerics a...

  • Page 842

    OPERATIONB–62764EN/0112. GRAPHICS FUNCTION82311For partial drawing enlargement, display the PATH GRAPHIC(SCALE) screen by pressing the soft key [ZOOM] on the PATHGRAPHIC (PARAMETER) screen of step 1 above. The tool path isdisplayed. Next, press soft key [(OPRT)].MEM **********10 : 10 : 40PATH...

  • Page 843

    OPERATION12. GRAPHICS FUNCTIONB–62764EN/0182415To display a mark at the current tool position, display the PATHGRAPHIC (POSITION) screen by pressing soft key [POS] on thePATH GRAPHIC (PARAMETER) screen of step 1 above. Thismark blinks at the current tool center position on the tool path.14 : 2...

  • Page 844

    OPERATIONB–62764EN/0112. GRAPHICS FUNCTION825Projector view by isometric can be drawn.YXYZXZYZXYXZP=4P=5Fig.12.1(f) Coordinate systems for the isometric projectionXYZXP=6Fig.12.1 (g) Coordinate systems for the biplane viewBiplanes (XY and XZ) can be drawn simultaneously. The maximum andminimu...

  • Page 845

    OPERATION12. GRAPHICS FUNCTIONB–62764EN/01826The tilting angle of the vertical axis is set in the range of –90°to +90°inreference to the horizontal axis crossing the vertical axis at a right angle.When a positive value is set, the vertical axis slants to the other side ofthe graphic screen....

  • Page 846

    OPERATIONB–62764EN/0112. GRAPHICS FUNCTION827It is possible to set whether the tool path is drawn by making the toollength offset or cutter compensation valid or invalid.Setting valueTool length offset or cutter compensation0Perform drawing by making tool compensation valid(An actual tool path...

  • Page 847

    OPERATION12. GRAPHICS FUNCTIONB–62764EN/01828No part program which has not been registered in memory can be drawn.Also, it is necessary that the M02 or M30 should be commanded at theend of the part program.The period of mark blinking is short when the tool is moving and becomeslonger when the ...

  • Page 848

    OPERATIONB–62764EN/0112. GRAPHICS FUNCTION829The solid graphics draws the figure of a workpieces machined by themovement of a tool.The following graphic functions are provided :Solid model graphic is drawn by surfaces so that the machined figure canbe recognized concretely.It is possible to dra...

  • Page 849

    OPERATION12. GRAPHICS FUNCTIONB–62764EN/01830Solid graphics drawing procedure1To draw a machining profile, necessary data must be set beforehand.So press the function key GRAPH ( CUSTOM GRAPH for the small MDI).The screen of ”SOLID GRAPHIC (PARAMETER)” is displayed.SOLID GRAPHIC (PARAMETER)...

  • Page 850

    OPERATIONB–62764EN/0112. GRAPHICS FUNCTION8316Press soft key [ANEW]. This allows the blank figure drawing to beperformed based on the blank figure data set.7Press soft keys [+ROT] [–ROT] [+TILT], and [–TILT], whenperforming drawing by changing the drawing directions. ParametersP and Q for...

  • Page 851

    OPERATION12. GRAPHICS FUNCTIONB–62764EN/0183210Press soft key [(OPRT)] and press either soft key [A.ST] or [F.ST].When [A.ST] is pressed, the status of machining in progress is drawnby simulation. When [F.ST] is pressed, the profile during machiningis not drawn. Only the finished profile prod...

  • Page 852

    OPERATIONB–62764EN/0112. GRAPHICS FUNCTION83315To redraw the figure in a different mode, press soft key [+ROT],[–ROT], [+TILT], or [–TILT]. Parameters P and Q for the drawingdirection are changed and the figure is redrawn with the newparamaters.16The machined figure can be drawn on the tri...

  • Page 853

    OPERATION12. GRAPHICS FUNCTIONB–62764EN/01834Set the type of blank figure under P. The relationship between the settingvalue and figure is as follows:PBlank figure0Rectangular parallelepiped (Cubed)1Column or cylinder (parallel to Z–axis)2Column or cylinder (parallel to X–axis)3Column or ...

  • Page 854

    OPERATIONB–62764EN/0112. GRAPHICS FUNCTION835Set the machining direction of tools. The relationship between the settingvalue and machining direction is as shown below.PMachining direction of tools0,1Parallel to the Z–axis (perform machining from the + direction)2Parallel to the X–axis (pe...

  • Page 855

    OPERATION12. GRAPHICS FUNCTIONB–62764EN/01836Set the slant direction of the projection axis in the case of obliqueprojection drawing. Moreover, plane view can be specified. Therelationship between the setting value and slant direction is as shownbelow:QSlant direction3Plane view2(0,2) directi...

  • Page 856

    OPERATIONB–62764EN/0112. GRAPHICS FUNCTION837Set the direction of the vertical axis.RVERTICAL AXIS0, 1Z–axis2X–axis3Y–axisThe direction of the vertical axis which is set is effective by executinggraph.Specify the intensity of the drawing screen when performing drawing onthe monochrome CRT...

  • Page 857

    OPERATION12. GRAPHICS FUNCTIONB–62764EN/01838PQP+QPQBlankPP+QQOblique projection viewPlane viewTriplan viewSpecify the start sequence number and end sequence number of eachdrawing in a five–digit numeric. The subject part program is executedfrom the head. But only the part enclosed by the s...

  • Page 858

    OPERATIONB–62764EN/0112. GRAPHICS FUNCTION839It is possible to specify BLANK FORM and TOOL FORM in the partprogram. The command format is as shown below. If it is commandedduring execution of drawing, the item corresponding to the screen of“SOLID GRAPHIC (PARAMETER)” is set and drawing co...

  • Page 859

    OPERATION12. GRAPHICS FUNCTIONB–62764EN/01840Right view and rear view[ ]Rear view and left viewFront view and right viewLeft view and front view[ ][ ][ ]Rear viewTop viewRight side viewLeft side viewFront viewExample) The side views of the figure bel...

  • Page 860

    OPERATIONB–62764EN/0112. GRAPHICS FUNCTION841Some examples of cross–sectional views are given below for the left viewand front view shown on the previous page.ÔÔÔÔÔÔÔÔÔÔÔÔÔÔÔSectional view 1ÔÔÔÔÔÔÔÔÔÔÔÔÔÔÔÔÔÔÔÔÔÔÔÔÔÔÔÔÔÔÔÔÔÔÔÔÔÔÔÔSectiona...

  • Page 861

    OPERATION12. GRAPHICS FUNCTIONB–62764EN/01842The background drawing function enables the drawing of a figure for oneprogram while machining a workpiece under the control of anotherprogram.Procedure for Background Drawing1Press the GRAPH function key ( CUSTOM GRAPH for a small MDI).2 Press the ...

  • Page 862

    OPERATIONB–62764EN/0112. GRAPHICS FUNCTION843Separate tool offsets are internally provided for machining andbackground drawing. Upon starting drawing or when selecting a programfor drawing, the tool offset data for machining is copied to the tool offsetdata for background drawing. Changing a ...

  • Page 863

    OPERATION12. GRAPHICS FUNCTIONB–62764EN/01844Bit 5 (DPO) of parameter No. 6500 can be used to specify whether thecoordinates of the current position are to be displayed on the tool pathdrawing.In background drawing mode, modal information F, S, and T is displayed,together with the current posit...

  • Page 864

    OPERATIONB–62764EN/0113. HELP FUNCTION84513 HELP FUNCTIONThe help function displays on the screen detailed information aboutalarms issued in the CNC and about CNC operations. The followinginformation is displayed.When the CNC is operated incorrectly or an erroneous machiningprogram is executed...

  • Page 865

    OPERATION13. HELP FUNCTIONB–62764EN/018462Press soft key [1 ALAM] on the HELP (INITIAL MENU) screen todisplay detailed information about an alarm currently beingraised.Normal explana–tion on alarmFig.13(b) ALARM DETAIL Screen when Alarm P/S 027 is issuedFunction classificationAlarm detailsAla...

  • Page 866

    OPERATIONB–62764EN/0113. HELP FUNCTION8473To get details on another alarm number, first enter the alarm number,then press soft key [SELECT]. This operation is useful forinvestigating alarms not currently being raised.Fig.13(d) How to select each ALARM DETAILS>100S 0 T0000MEM **** *** **...

  • Page 867

    OPERATION13. HELP FUNCTIONB–62764EN/01848Fig.13(g) How to select each OPERATION METHOD screen>1S 0 T0000MEM **** *** ***10:12:25[ ] [ ][ ] [ ][ SELECT ]When “1. PROGRAM EDIT” is selected, for example, the screen inFigure 13 (...

  • Page 868

    OPERATIONB–62764EN/0113. HELP FUNCTION849The current page No. is shown at the upper right corner on the screen.Fig. 13(i) PARAMETER TABLE screenHELP (PARAMETER TABLE)01234 N000011/4* SETTEING(No. 0000∼)* READER/PUNCHER INTERFACE(No. 0100∼)* AXIS CONTROL/SETTING UNIT(No. 1000∼)* COORDINAT...

  • Page 869

    IV. MAINTENANCE

  • Page 870

    MAINTENANCEB–62764EN/011. METHOD OF REPLACING BATTERY8531 METHOD OF REPLACING BATTERYThis chapter describes the method of replacing batteries as follows.1.1 REPLACING CNC BATTERY FOR MEMORY BACK–UP1.2 REPLACING BATTERIES FOR ABSOLUTE PULSE CODER1.3 REPLACING BATTERY FOR ABSOLUTE PULSE CODER...

  • Page 871

    MAINTENANCE1. METHOD OF REPLACING BATTERYB–62764EN/01854Replace CNC battery (lithium battery) for memory back–up by thefollowing procedure.Prepare lithium battery A02B–0200–K102 in advance.Procedure for replacing CNC battery for memory back–up1Turn machine (NC) power ON. (See Notes bel...

  • Page 872

    MAINTENANCEB–62764EN/011. METHOD OF REPLACING BATTERY855Replace the alkaline batteries for the absolute pulse coder, used by theservo amplifier, as described below.Prepare 4 alkaline batteries (UM–1type) commercially available inadvance.Procedure for replacing batteries for absolute pulse cod...

  • Page 873

    MAINTENANCE1. METHOD OF REPLACING BATTERYB–62764EN/01856In case that the a series servo drive is used, the battery for absolute pulsecoder could be provided on the a series servo amplifier module insteadof the battery case as shown in 1.3. In this case the battery is not anAlkaline battery but...

  • Page 874

    APPENDIX

  • Page 875

    APPENDIXB–62764EN/01A. TAPE CODE LIST859ATAPE CODE LISTISO codeEIA codeMeaningCharacter 8 7 6 5 43 2 1Character 8 7 6 5 43 2 1WithoutCUSTOMMACURO BWithCUSTOMMACRO B0f ff0ffNumber 01ff fff1ff Number 12ff fff2ffNumber 23f fff f3fff f Number 34ff fff4ffNumber 45f ffff5ffff Number 56f fff f6fff fNu...

  • Page 876

    APPENDIXA. TAPE CODE LISTB–62764EN/01860ISO codeEIA codeMeaningCharacter 8 7 6 5 43 2 1Character8 7 6 5 43 2 1WithoutCUSTOMMACRO BWithCUSTOMMACRO BDELf f f f f ff f fDelf f f f ff f f××NULfBlankf××BSff fBSff ff××HTf ffTabf f f ff f××LF or NLf ffCR or EOBffCRff fff___××SPfffSPffjj%ffff...

  • Page 877

    APPENDIXB–62764EN/01A. TAPE CODE LIST861NOTE1 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 not...

  • Page 878

    APPENDIXB. LIST OF FUNCTIONS AND TAPE FORMATB–62764EN/01862BLIST OF FUNCTIONS AND TAPE FORMATSome functions cannot be added as options depending on the model.In the tables below, PI:presents a combination of arbitrary axisaddresses using X,Y,Z,A,B and C (such as X_Y_Z_A_).x = 1st basic axis (X ...

  • Page 879

    APPENDIXB–62764EN/01B. LIST OF FUNCTIONS AND TAPE FORMAT863FunctionsIllustrationTape formatG04X_;VelocityTimeDwell (G04)Exact stop (G09)Change of offsetvalue by program(G10)P_PI _;G09G02G03G01G10 L11 P_R_;G10 L1 P_R_;Inch/millimeter conversion (G20, G21)Inch inputMillimeter inputG20 ;G21 ;(X...

  • Page 880

    APPENDIXB. LIST OF FUNCTIONS AND TAPE FORMATB–62764EN/01864ÇÇÇÇÇÇÇÇÇCutter compensation C (G40 – G42)ÇÇÇÇÇÇÇÇÇÇÇÇÇÇÇÇÇÇG41G42G17G18G19G41G42D_ ;Tool length offset A (G43, G44, G49)G43Z_ H_ ;ZOffsetG44G43H_ ;G44H : Tool offsetG49 : CancelTool length offset B (G43, G...

  • Page 881

    APPENDIXB–62764EN/01B. LIST OF FUNCTIONS AND TAPE FORMAT865FunctionsIllustrationTape formatvtG64vG61tCutting mode/Exactstop mode, Tappingmode, Automaticcorner overrideOne–shot call G65 P_ L_ <Argument assignment> ; P : Program No. L : Number of repeatitionModal call G66 G67 ; ...

  • Page 882

    APPENDIXB. LIST OF FUNCTIONS AND TAPE FORMATB–62764EN/01866Absolute/incremental programming (G90/G91)G90_ ;Absolute commandG91_ ;Incremental commandG90_ G91_ ;Combined useChange of workpiece coordinate system (G92)ÇÇÇÇPIG92 _ ;PIInitial point return / R point return (G98, G99)G99G98Initi...

  • Page 883

    APPENDIXB–62764EN/01C. RANGE OF COMMAND VALUE867CRANGEOFCOMMANDVALUEIncrement systemIS–BIS–CLeast input increment0.001 mm0.0001 mmLeast command increment0.001 mm0.0001 mmMax. programmable dimension±99999.999 mm±9999.9999 mmMax. rapid traverse Note240000 mm/min100000 mm/minFeedrate range ...

  • Page 884

    APPENDIXC. RANGE OF COMMAND VALUEB–62764EN/01868Increment systemIS–BIS–CLeast input increment0.0001 inch0.00001 inchLeast command increment0.0001 inch0.00001 inchMax. programmable dimension±9999.9999 inch±9999.9999 inchMax. rapid traverse Note9600 inch/min4000 inch/minFeedrate range Not...

  • Page 885

    APPENDIXB–62764EN/01C. RANGE OF COMMAND VALUE869Increment systemIS–BIS–CLeast input increment0.001 deg0.0001 degLeast command increment0.001 deg0.0001 degMax. programmable dimension±99999.999 deg±9999.9999 degMax. rapid traverse Note240000 deg/min100000 deg/minFeedrate range Note1 to 2400...

  • Page 886

    APPENDIXD. NOMOGRAPHSB–62764EN/01870DNOMOGRAPHS

  • Page 887

    APPENDIXB–62764EN/01D. NOMOGRAPHS871The leads of a thread are generally incorrect in δ1 and δ2, as shown in Fig.D.1 (a), due to automatic acceleration and deceleration.Thus distance allowances must be made to the extent of δ1 and δ2 in theprogram.Fig.D.1(a) Incorrect thread positionδ2δ...

  • Page 888

    APPENDIXD. NOMOGRAPHSB–62764EN/01872First specify the class and the lead of a thread. The thread accuracy, α,will be obtained at (1), and depending on the time constant of cutting feedacceleration/ deceleration, the δ1 value when V = 10mm / s will beobtained at (2). Then, depending on the s...

  • Page 889

    APPENDIXB–62764EN/01D. NOMOGRAPHS873Fig. D.2 (a) Incorrect threaded portionδ2δ1R : Spindle speed (rpm)L : Thread lead (mm)* When time constant T of the servo system is 0.033 s.d2+ LR1800 * (mm)d1+ LR1800 *(–1–lna)+ d2(–1–lna)Following a is a permited value of thread.a–1–lna0.0054...

  • Page 890

    APPENDIXD. NOMOGRAPHSB–62764EN/01874Fig D.2 (b) Nomograph for obtaining approach distance δ1D Reference

  • Page 891

    APPENDIXB–62764EN/01D. NOMOGRAPHS875When servo system delay (by exponential acceleration/deceleration atcutting or caused by the positioning system when a servo motor is used)is accompanied by cornering, a slight deviation is produced between thetool path (tool center path) and the programmed p...

  • Page 892

    APPENDIXD. NOMOGRAPHSB–62764EN/01876The tool path shown in Fig. D.3 (b) is analyzed based on the followingconditions:Feedrate is constant at both blocks before and after cornering.The controller has a buffer register. (The error differs with the readingspeed of the tape reader, number of chara...

  • Page 893

    APPENDIXB–62764EN/01D. NOMOGRAPHS877Fig. D.3(c) Initial valueY0X0V0The initial value when cornering begins, that is, the X and Y coordinatesat the end of command distribution by the controller, is determined by thefeedrate and the positioning system time constant of the servo motor.X0+ VX1(T1) ...

  • Page 894

    APPENDIXD. NOMOGRAPHSB–62764EN/01878When a servo motor is used, the positioning system causes an errorbetween input commands and output results. Since the tool advancesalong the specified segment, an error is not produced in linearinterpolation. In circular interpolation, however, radial errors...

  • Page 895

    APPENDIXB–62764EN/01E. STATUS WHEN TURNING POWER ON,WHEN CLEAR AND WHEN RESET879E STATUS WHEN TURNING POWER ON, WHEN CLEARAND WHEN RESETParameter CLR (No. 3402#6) is used to select whether resetting the CNCplaces it in the cleared state or in the reset state (0: reset state/1: clearedstate).The...

  • Page 896

    APPENDIXE. STATUS WHEN TURNING POWER ON,WHEN CLEAR AND WHEN RESETB–62764EN/01880ItemResetClearedWhen turning power onAction in Movement×××opera-tionDwell×××tionIssuance of M, S and Tcodes×××Tool length compensa-tion×Depending onparameterLVK(No.5003#6)f : MDI modeOther modes dependon p...

  • Page 897

    APPENDIXB–62764EN/01F. CHARACTER–TO–CODES CORRESPONDENCE TABLE881F CHARACTER-TO-CODES CORRESPONDENCE TABLEChar-acterCodeCommentChar-acterCodeCommentA0656054B0667055C0678056D0689057E069032SpaceF070!033Exclamation markG071”034Quotation markH072#035Hash signI073$036Dollar signJ074%0...

  • Page 898

    APPENDIXG. ALARM LISTB–62764EN/01882GALARM LIST1) Program errors (P/S alarm)NumberMessageContents000PLEASE TURN OFF POWERA parameter which requires the power off was input, turn off power.001TH PARITY ALARMTH alarm (A character with incorrect parity was input). Correct the tape.002TV PARITY ALA...

  • Page 899

    APPENDIXB–62764EN/01G. ALARM LIST883NumberContentsMessage028ILLEGAL PLANE SELECTIn the plane selection command, two or more axes in the same directionare commanded.Modify the program.029ILLEGAL OFFSET VALUEThe offset values specified by H code is too large.Modify the program.030ILLEGAL OFFSET N...

  • Page 900

    APPENDIXG. ALARM LISTB–62764EN/01884NumberContentsMessage053TOO MANY ADDRESS COM-MANDSFor systems without the arbitary angle chamfering or corner R cutting,a comma was specified. For systems with this feature, a comma was fol-lowed by something other than R or C Correct the program.055MISSING ...

  • Page 901

    APPENDIXB–62764EN/01G. ALARM LIST885NumberContentsMessage085COMMUNICATION ERRORWhen entering data in the memory by using Reader / Puncher interface,an overrun, parity or framing error was generated. The number of bitsof input data or setting of baud rate or specification No. of I/O unit is in-c...

  • Page 902

    APPENDIXG. ALARM LISTB–62764EN/01886NumberContentsMessage112DIVIDED BY ZERODivision by zero was specified. (including tan 90°)113IMPROPER COMMANDA function which cannot be used in custom macro is commanded.Modify the program.114FORMAT ERROR IN MACROThere is an error in other formats than <F...

  • Page 903

    APPENDIXB–62764EN/01G. ALARM LIST887NumberContentsMessage135ILLEGAL ANGLE COMMANDThe index table indexing positioning angle was instructed in otherthan an integral multiple of the value of the minimum angle.Modify the program.136ILLEGAL AXIS COMMANDIn index table indexing, another control axis ...

  • Page 904

    APPENDIXG. ALARM LISTB–62764EN/01888NumberContentsMessage159TOOL DATA SETTING INCOM-PLETEDuring executing a life data setting program, power was turned off. Set again.160G72.1 NESTING ERRORCode G72.1 was specified in a sub–program after the same codehad already been specified for copying with...

  • Page 905

    APPENDIXB–62764EN/01G. ALARM LIST889NumberContentsMessage194SPINDLE COMMAND IN SYN-CHRO–MODEA contour control mode, spindle positioning (Cs–axis control) mode,or rigid tapping mode was specified during the serial spindle synchronous control mode. Correct the program so that the serialspindl...

  • Page 906

    APPENDIXG. ALARM LISTB–62764EN/01890NumberContentsMessage231ILLEGAL FORMAT IN G10 OR L50Any of the following errors occurred in the specified format at the programmable–parameter input.1) Address N or R was not entered.2) A number not specified for a parameter was entered.3) The axis number ...

  • Page 907

    APPENDIXB–62764EN/01G. ALARM LIST891NumberMessageContents5000ILLEGAL COMMAND CODEThe specified code was incorrect in the high–precision contour con-trol (HPCC) mode.5003ILLEGAL PARAMETER (HPCC)The parameter setting is incorrect.5004HPCC NOT READYHigh–precision contour control is not ready.5...

  • Page 908

    APPENDIXG. ALARM LISTB–62764EN/01892NumberContentsMessage5051M–NET CODE ERRORWhen the chopping function is used, a move command was specifiedfor a chopping axis in chopping mode (during reciprocation betweena top dead point and bottom dead point).5052M–NET ETX ERROR“ETX” code is abnorma...

  • Page 909

    APPENDIXB–62764EN/01G. ALARM LIST8932) Background edit alarmNumberMessageContents???BP/S alarmBP/S alarm occurs in the same number as the P/S alarm that occurs inordinary program edit.(P/S alarm No. 070, 071, 072, 073, 074, 085 to 087)Modify the program.140BP/S alarmIt was attempted to select o...

  • Page 910

    APPENDIXG. ALARM LISTB–62764EN/018944) Serial pulse coder (SPC) alarms When either of the following alarms is issued, a possible cause is a faulty serial pulse coder or cable.NumberMessageContents350SPC ALARM: n AXIS PULSE COD-ERThe n axis (axis 1–8) pulse coder has a fault. Refer to diagnos...

  • Page 911

    APPENDIXB–62764EN/01G. ALARM LIST8955) Servo alarmsNumberMessageContents400SERVO ALARM: n–TH AXIS OVER-LOADThe n–th axis (axis 1–8) overload signal is on. Refer to diagnosis dis-play No. 201 for details.401SERVO ALARM: n–TH AXIS VRDYOFFThe n–th axis (axis 1–8) servo amplifier READY...

  • Page 912

    APPENDIXG. ALARM LISTB–62764EN/01896NumberMessageContents420SYNC TORQUE’ : EXCESS ERRORWhen simple synchronous control is applied, the torque command dif-ference between the master and slave axes exceeded the value set inparameter No. 2031.421EXCESS ER(D)’ : EXCESS ERRORWhile the dual posit...

  • Page 913

    APPENDIXB–62764EN/01G. ALARM LIST897The details of servo alarms No. 400 and No. 416 are displayed in thediagnosis display (No. 201) as shown below.#7#6#5#4#3#2#1#0ALDEXP201When OVL equal 1 in diagnostic data No.200 (servo alarm No. 400 is being generated):ALD0 : Motor overheating1 : Amplifier o...

  • Page 914

    APPENDIXG. ALARM LISTB–62764EN/018987) Overheat alarmsNumberMessageContents700OVERHEAT: CONTROL UNITControl unit overheatCheck that the fan motor operates normally, and clean the air filter.701OVERHEAT: FAN MOTORThe fan motor on the top of the cabinet for the contorl unit is overheated.Check th...

  • Page 915

    APPENDIXB–62764EN/01G. ALARM LIST899NumberContentsMessage752FIRST SPINDLE MODE CHANGEFAULTThis alarm is generated if the system does not properly terminate amode change. The modes include the Cs contouring, spindle position-ing, rigid tapping, and spindle control modes. The alarm is activated...

  • Page 916

    APPENDIXG. ALARM LISTB–62764EN/0190010) System alarms (These alarms cannot be reset with reset key.)NumberMessageContents900ROM PARITYROM parity error (CNC/OMM/Servo)Rewrite the flash ROM with the indicated ROM number.910RAM PARITY : (4N)RAM parity error in the tape memory RAM module. Clear th...

  • Page 917

    APPENDIXB–62764EN/01G. ALARM LIST90111) Alarms Displayed on spindle Servo UnitAlarmNo.MeaningDescriptionRemedy“A”displayProgram ROM abnormality(not installed)Detects that control program is not started (due to program ROM not installed, etc.)Install normal programROMAL–01MotoroverheatDete...

  • Page 918

    APPENDIXG. ALARM LISTB–62764EN/01902AlarmNo.RemedyDescriptionMeaningAL–26Disconnection of speeddetection signal for Cs con-touring controlDetects abnormality in position coder signal(suchas unconnected cable and parameter setting er-ror).Remove cause, then resetalarm.AL–27Position coder sig...

  • Page 919

    APPENDIXB–62764EN/01G. ALARM LIST903AlarmNo.RemedyDescriptionMeaningAL–46Alarm for indicating failure indetecting position coder1–rotation signal in threadcutting operation.Detects failure in detecting position coder 1–rota-tion signasl in thread cutting operation.Make 1–rotation signal...

  • Page 920

    APPENDIXH. OPERATION OF PORTABLE TAPE READERB–62764EN/01904HOPERATION OF PORTABLE TAPE READERPortable tape reader is the device which inputs the NC program and thedata on the paper tape to CNC.2. Optical reader12. Photoamplifier13. Reader/punch interface adapter11. Cable storage6. Handle3...

  • Page 921

    APPENDIXB–62764EN/01H. OPERATION OF PORTABLE TAPE READER905No.DescriptionsName7WinderUsed to advance or rewind the tape.8Metal AFastener(usually kept open)When removing the rolled tape, reduce theinternal diameter by pushing the fastener.PushPaper tapePaper tapeInsert9Cover lockBe sure to use t...

  • Page 922

    APPENDIXH. OPERATION OF PORTABLE TAPE READERB–62764EN/019064Lift the Light Source Unit, and insert an NC tape between the gap.The tape must be positioned as shown in the figure, when viewedlooking downward.Direction in which the tape advancesFeed holes5Pull the tape until the top of the tape go...

  • Page 923

    APPENDIXB–62764EN/01H. OPERATION OF PORTABLE TAPE READER907CAUTION2 DISCONNECTION AND CONNECTION OF A PORTABLE TAPE READER CONNECTIONCABLEDon’t disconnect or connect CNC tape reader connection cable (signal cable) without turningoff the CNC power supply, otherwise the PCB of the tape reader a...

  • Page 924

    IndexB–62764EN/01i–1Numbers14″ color CRT/LMDI (Vertical type), 51614″ color CRT/MDI (horizontal type), 51514″CRT and 9.5″LCD soft key configuration, 5452nd, 3rd, and 4th reference position return (G30), 1057.2″ monochrome LCD (separate type), 5188.4″ color LCD (separate type), 518...

  • Page 925

    INDEXB–62764EN/01i–2BBackground drawing, 842Background editing, 713Base circle specification, 59Biplane view, 825Blank figure graphics, 829Blank form, 834Block, 24Block configuration (word and address), 162Block containing G40 and I_J_K_, 312Block end position, 236Block that disables reverse ...

  • Page 926

    INDEXB–62764EN/01i–3Constant surface speed control (G96, G97), 133Constant surface speed control cancel command, 133Constant surface speed control command, 133Constant surface speed control command (G96), 134Constant surface speed control on/off (G96, G97), 627Constant surface speed controlle...

  • Page 927

    INDEXB–62764EN/01i–4Details of memory used, 766Differences between macro calls and subprogram calls, 392Differences from NC statements, 386Direct constant–dimension plunge grinding cycle (G77), 222Direction and value of rotation, 249Direction of the offset, 254Disabling entry of compensatio...

  • Page 928

    INDEXB–62764EN/01i–5Exceeding the move range, 233Exceptional blocks, 780Executing drawing only, 819Explanation of the pattern data screen, 788Explanation of the pattern menu screen, 788Exponential interpolation (G02.3, G03.3), 63Exponential relational expressions, 64Extended part program edit...

  • Page 929

    INDEXB–62764EN/01i–6How to indicate command dimensions for moving the tool –absolute, incremental commands, 19How to use nomograph, 872How to view the position display change without running themachine, 500HPCC mode, 447HPF, 561Hypothetical axis interpolation (G07), 71II/O channel, 778I/O d...

  • Page 930

    INDEXB–62764EN/01i–7Machine position display, 467Machining a groove smaller than the tool radius, 319Machining a step smaller than the tool radius, 320Machining an inside corner at a radius smaller than the cutterradius, 319Machining time, 761Machining using the end of cutter – Tool length ...

  • Page 931

    INDEXB–62764EN/01i–8Offset/setting screen, 537, 731Omission of the decimal point, 372On the memo record, 669One–digit F code feed, 88Open command POPEN, 409Operating motor display, 747Operating time, 782Operation after completion of repositioning, 620Operation during search, 700Operation er...

  • Page 932

    INDEXB–62764EN/01i–9Power on/off, 551Preparatory function (G function), 33Presetting by setting a coordinate system, 739Presetting relative coordinates, 742Presetting the relative coordinate system, 746Presetting the workpiece coordinate system, 742Priority of operations, 383Procedure for man...

  • Page 933

    INDEXB–62764EN/01i–10Program input/output, 666Program library list, 766Program name, 766Program number, 160Program number search, 698Program numbers on a NC tape, 667Program registration, 589Program registration in the background, 667Program restart, 52, 596Program screen, 529, 531, 533, 534,...

  • Page 934

    INDEXB–62764EN/01i–11Rigid tapping, 209Rigid tapping (G84), 210Rotary axis roll–over, 461Rotation, 825Rotational copy, 235, 238Rotational copy (spot boring), 239ROUND function, 382Rounding up and down to an integer, 383Run time, 745Run time and part count settings, 782SS5–Digit command, ...

  • Page 935

    INDEXB–62764EN/01i–12Significant digits, 686Simple calculation of incorrect thread length, 873Simple call (G65), 393Simple electric gear box (G80, G81), 474Simple synchronous control, 458Simultaneous input/output, 594Single block, 193, 500, 602, 620, 629, 641Single block during a canned cycle...

  • Page 936

    INDEXB–62764EN/01i–13Subprogram call using an M code, 401Subprogram calling, 236Subprogram calls using a T code, 402Subprogram configuration, 166Subprogram nesting, 589Subprogram–type interrupt and macro–type interrupt, 415Supplementary explanation for copying, moving and merging,708Surfa...

  • Page 937

    INDEXB–62764EN/01i–14Tool movement around the outside corner at an acute angle (at 90°), 297Tool movement around the outside corner at an obtuse angle(90° x a t 180°), 296Tool movement around the outside linear → linear at an acuteangle less than 1 degree (a t 1°), 311Tool movement arou...

  • Page 938

    Revision RecordFANUC Series 16/18/160/180–MC OPERATOR’S MANUAL (B–62764EN)01Dec., ’95________________________________________EditionDateContentsEditionDateContents

  • Page 939

    · No part of this manual may bereproduced in any form.· All specifications and designsare subject to change withoutnotice.

  • Page 940

    TECHNICAL REPORT NO.TMN 02/081E Date Aug. 21, 2002 General Manager of Software Development Center FANUC Series 16/18-MA/MB/MC FANUC Series 16i/18i/21i-MA/MB,18i-MB5 FANUC Series 0-M/0i-MA/21-MB/20i-FA Concerning the correction of Rigid tapping (G84) / Left-handed rigid tapping cycle (G74) ...

  • Page 941

    FANUC Series 16/18/160/180-MC OPERATOR'S MANUAL Concerning the correction of Rigid tapping (G84) / Left-handed rigid tapping (G74) 1.Type of applied technical documents Name FANUC Series 16/18/160/180-MC OPERATOR'S MANUAL Spec.No./Ed. B-62764EN/01 2.Summary of Change Group Name/Outline N...

  • Page 942

    2/2 PAGEEDT. DATE DESIGN DESCRIPTION TITLENo. FANUC Series 16/18/160/180-MC OPERATOR'S MANUAL Concerning the correction of Rigid tapping(G84) / Left-handed rigid tapping(G74) B-62764EN/01-04 01 02.08.21 T.Inagaki Newly Registered Outline Descriptions are changed as follows. ...

  • Page 943

    TECHNICAL REPORTNO.TMN 01/059EDate Apr. 12, 2001General Manager ofSoftware Development CenterFANUC Series 16/18/160/180-MC OPERATOR’S MANUALModification of “Linear interpolation positioning”1. Communicate this report to :○Your information○GE Fanuc-N, GE Fanuc-EFANUC RoboticsCINCINATI M...

  • Page 944

    EDIT.FANUC LTDSHEETDRAW. NO.CUST.TITLE1/2DESCRIPTIONDESIG.DATE0101.04.11First issue.FS16/18/160/180-MC OPERATOR’S MANUALModification of “Linear interpolation positioning”B-62764EN/01-2FANUC Series 16/18/160/180-MC OPERATOR’S MANUALModification of “Linear interpolation positioning”1. T...

  • Page 945

    EDIT.FANUC LTDSHEETDRAW. NO.CUST.TITLE2/2DESCRIPTIONDESIG.DATE0101.04.11First issue.FS16/18/160/180-MC OPERATOR’S MANUALModification of “Linear interpolation positioning”B-62764EN/01-21 ApplicationThis report is applied to following CNCs.Series 16-MCSeries 18-MCSeries 160-MCSeries 180-MCThi...

  • Page 946

    TECHNICAL REPORTNO.TMN 01/083EDate Jun. 8, 2001General Manager ofSoftware Development CenterFANUC Series 16/18/160/180-TC/MC OPERATOR’S MANUALFANUC Series 16i/18i/160i/180i/160is/180is - TA/MA OPERATOR’S MANUALFANUC Series 21i/210i/210is - TA/MA OPERATOR’S MANUALChanging of “Linear inter...

  • Page 947

    FANUC LTD.1/30101.06.08First issue.FS16/18/160/180-MC OPERATOR’S MANUALChanging of “Linear interpolation positioning”explanationB-62764EN/01-3FANUC Series 16/18/160/180-MC OPERATOR’S MANUALChanging of “Linear interpolation positioning” explanation1. Type of applied technical documents...

  • Page 948

    FANUC LTD.2/30101.06.08First issue.FS16/18/160/180-MC OPERATOR’S MANUALChanging of “Linear interpolation positioning”explanationB-62764EN/01-31 ApplicationThis report is applied to following CNCs.Series 16-MCSeries 18-MCSeries 160-MCSeries 180-MCThis report is a supplement for a following m...

  • Page 949

    FANUC LTD.3/30101.06.08First issue.FS16/18/160/180-MC OPERATOR’S MANUALChanging of “Linear interpolation positioning”explanationB-62764EN/01-33 DetailsThe explanation of “4.1 POSITIONING (G00) Linear interpolation positioning” is changed as follows.(Before change)Linear interpolation po...

  • Page 950

  • Page 951

    Ed. Date Design Description Date 2007.07.11 Desig. Check Apprv. Sheet TitleDraw No. 1/3 FS 16/18 For Lathe/Machining, FS 16/18-B/C, FS 16i/18i-A/B OPERATOR’S MANUAL Addition of caution sentence of “parameter OLV(No.3202#1)” B-61804E/04-2, B-61874E/...

  • Page 952

    Ed. Date Design Description Date 2007.07.11 Desig. Check Apprv. Sheet TitleDraw No. 2/3 FS 16/18 For Lathe/Machining, FS 16/18-B/C, FS 16i/18i-A/B OPERATOR’S MANUAL Addition of caution sentence of “parameter OLV(No.3202#1)” B-61804E/04-2, B-61874E/...

  • Page 953

    Ed. Date Design Description Date 2007.07.11 Desig. Check Apprv. Sheet TitleDraw No. 3/3 FS 16/18 For Lathe/Machining, FS 16/18-B/C, FS 16i/18i-A/B OPERATOR’S MANUAL Addition of caution sentence of “parameter OLV(No.3202#1)” B-61804E/04-2, B-61874E/...