Navigation

  • Page 1

    OPERRATOR’S MANUAL (PROGRAMMING)B-63784EN/01

  • Page 2

    • No part of this manual may be reproduced in any form. • All specifications and designs are subject to change without notice.The export of this product is subject to the authorization of the government of the countryfrom where the product is exported.In this manual we have tried as much as ...

  • Page 3

    B-63784EN/01 SAFETY PRECAUTIONS s-1This section describes the safety precautions related to the use of CNC units.It is essential that these precautions be observed by users to ens...

  • Page 4

    SAFETY PRECAUTIONS B-63784EN/01s-2DEFINITION OF WARNING, CAUTION, AND NOTEThis manual includes safety precautions for protecting the user and preventing damage to the machine.Precautio...

  • Page 5

    B-63784EN/01 SAFETY PRECAUTIONS s-3GENERAL WARNINGS AND CAUTIONS WARNING1. Never attempt to machine a workpiece without first checking the operation of the machine. Beforestartin...

  • Page 6

    SAFETY PRECAUTIONS B-63784EN/01s-4 WARNING8. Some functions may have been implemented at the request of the machine-tool builder. When usingsuch functions, refer to the manual supplie...

  • Page 7

    B-63784EN/01 SAFETY PRECAUTIONS s-5WARNINGS AND CAUTIONS RELATED TOPROGRAMMINGThis section covers the major safety precautions related to programming. Before attempting to perfor...

  • Page 8

    SAFETY PRECAUTIONS B-63784EN/01s-6 WARNING6.Stroke checkAfter switching on the power, perform a manual reference position return as required. Stroke check isnot possible before manual...

  • Page 9

    B-63784EN/01 SAFETY PRECAUTIONS s-7WARNINGS AND CAUTIONS RELATED TOHANDLINGThis section presents safety precautions related to the handling of machine tools. Before attempting to...

  • Page 10

    SAFETY PRECAUTIONS B-63784EN/01s-8 WARNING6.Origin/preset operationBasically, never attempt an origin/preset operation when the machine is operating under the control of aprogram. Oth...

  • Page 11

    B-63784EN/01 SAFETY PRECAUTIONS s-9 WARNING12.Cutter and tool nose radius compensation in MDI modePay careful attention to a tool path specified by a command in MDI mode, because ...

  • Page 12

    SAFETY PRECAUTIONS B-63784EN/01s-10WARNINGS RELATED TO DAILY MAINTENANCE WARNING1.Memory backup battery replacementWhen replacing the memory backup batteries, keep the power to the mac...

  • Page 13

    B-63784EN/01 SAFETY PRECAUTIONS s-11 WARNING2.Absolute pulse coder battery replacementWhen replacing the memory backup batteries, keep the power to the machine (CNC) turned on, an...

  • Page 14

    SAFETY PRECAUTIONS B-63784EN/01s-12 WARNING3.Fuse replacementFor some units, the chapter covering daily maintenance in the operator's manual or programmingmanual describes the fuse rep...

  • Page 15

    B-63784EN/01 TABLE OF CONTENTSc-1TABLE OF CONTENTSSAFETY PRECAUTIONS .......................................................................... s-1I. GENERAL1GENERAL ..........................

  • Page 16

    TABLE OF CONTENTS B-63784EN/01c-24INTERPOLATION FUNCTIONS...........................................................394.1POSITIONING (G00) ............................................................

  • Page 17

    B-63784EN/01 TABLE OF CONTENTSc-35.6AUTOMATIC VELOCITY CONTROL ........................................................1685.6.1Automatic Velocity Vontrol during Involute Interpolation.........

  • Page 18

    TABLE OF CONTENTS B-63784EN/01c-49.3.1Spindle Positioning.............................................................................................. 2339.3.2Orientation............................

  • Page 19

    B-63784EN/01 TABLE OF CONTENTSc-513.1.13 Canned Cycle Cancel (G80) ................................................................................ 31813.1.14 Example of Canned Cycle .........

  • Page 20

    TABLE OF CONTENTS B-63784EN/01c-614.7NUMBER OF TOOL COMPENSATION SETTINGS..................................48214.8CHANGING THE TOOL COMPENSATION AMOUNT ..............................48314.9SCALING...

  • Page 21

    B-63784EN/01 TABLE OF CONTENTSc-717.4MACRO STATEMENTS AND NC STATEMENTS.....................................66817.5BRANCH AND REPETITION........................................................

  • Page 22

    TABLE OF CONTENTS B-63784EN/01c-818.3ADVANCED PREVIEW CONTROL(G05.1)...............................................73218.4LOOK-AHEAD ACCELERATION/DECELERATION BEFOREINTERPOLATION (G05.1).............

  • Page 23

    B-63784EN/01 TABLE OF CONTENTSc-9D.2SIMPLE CALCULATION OF INCORRECT THREAD LENGTH ................826D.3TOOL PATH AT CORNER ....................................................................

  • Page 24

  • Page 25

    I. GENERAL

  • Page 26

  • Page 27

    B-63784EN/01 GENERAL 1.GENERAL- 3 -1 GENERALOperator’s Manuals consist of the PROGRAMMING Manual andOPERATION Manual.About this Operator’s ManualOPERATOR’S MANUAL (PROGRAMMING) (B-63...

  • Page 28

    1.GENERAL GENERAL B-63784EN/01- 4 -Special symbolsThis manual uses the following symbols:P_ : Indicates a combination of axes such as X__ Y__ Z (used inPROGRAMMING.).; : Indicates the end of...

  • Page 29

    B-63784EN/01 GENERAL 1.GENERAL- 5 -1.1 GENERAL FLOW OF OPERATION OF CNC MACHINETOOLWhen machining the part using the CNC machine tool, first prepare theprogram, then operate the CNC machin...

  • Page 30

    1.GENERAL GENERAL B-63784EN/01- 6 -Prepare the program of the tool path and machining conditionaccording to the workpiece figure, for each machining.Hole machiningFace cuttingSide cuttingTool

  • Page 31

    B-63784EN/01 GENERAL 1.GENERAL- 7 -1.2 NOTES ON READING THIS MANUALNOTE1 The function of an CNC machine tool systemdepends not only on the CNC, but on thecombination of the machine tool, i...

  • Page 32

  • Page 33

    II PROGRAMING

  • Page 34

  • Page 35

    B-63784EN/01 PROGRAMMING 1.GENERAL- 11 -1 GENERAL

  • Page 36

    1.GENERAL PROGRAMMING B-63784EN/01- 12 -1.1 TOOL MOVEMENT ALONG WORKPIECE PARTS FIGURE-INTERPOLATIONThe tool moves along straight lines and arcs constituting the workpieceparts figure (See II-4).Expla...

  • Page 37

    B-63784EN/01 PROGRAMMING 1.GENERAL- 13 -Symbols of the programmed commands G01, G02, ... are called thepreparatory function and specify the type of interpolation conducted inthe control unit.Fig.1.1...

  • Page 38

    1.GENERAL PROGRAMMING B-63784EN/01- 14 -1.2 FEED-FEED FUNCTIONMovement of the tool at a specified speed for cutting a workpiece iscalled the feed.Fig.1.2 (a) Feed functionFeedrates can be specified b...

  • Page 39

    B-63784EN/01 PROGRAMMING 1.GENERAL- 15 -1.3 PART DRAWING AND TOOL MOVEMENT1.3.1 Reference Position (Machine-Specific Position)A CNC machine tool is provided with a fixed position. Normally, toolchan...

  • Page 40

    1.GENERAL PROGRAMMING B-63784EN/01- 16 -1.3.2 Coordinate System on Part Drawing and Coordinate SystemSpecified by CNC - Coordinate SystemFig.1.3.2 (a) Coordinate systemExplanation-Coordinate systemTh...

  • Page 41

    B-63784EN/01 PROGRAMMING 1.GENERAL- 17 -The positional relation between these two coordinate systems isdetermined when a workpiece is set on the table.Fig. 1.3.2 (c) Coordinate system specified by ...

  • Page 42

    1.GENERAL PROGRAMMING B-63784EN/01- 18 -2Mounting a workpiece directly against the jig3Mounting a workpiece on a pallet, then mounting the workpieceand pallet on the jigJigProgram zero pointMeet the t...

  • Page 43

    B-63784EN/01 PROGRAMMING 1.GENERAL- 19 -1.3.3 How to Indicate Command Dimensions for Moving the Tool -Absolute, Incremental CommandsExplanationCommand for moving the tool can be indicated by absolut...

  • Page 44

    1.GENERAL PROGRAMMING B-63784EN/01- 20 --Incremental commandSpecify the distance from the previous tool position to the next toolposition.YZAToolX=40.0Z=-10.0Y-30.0XBG91 X40.0 Y-30.0 Z-10.0Distance an...

  • Page 45

    B-63784EN/01 PROGRAMMING 1.GENERAL- 21 -1.4 CUTTING SPEED - SPINDLE SPEED FUNCTIONThe speed of the tool with respect to the workpiece when the workpieceis cut is called the cutting speed.As for the...

  • Page 46

    1.GENERAL PROGRAMMING B-63784EN/01- 22 -1.5 SELECTION OF TOOL USED FOR VARIOUS MACHINING -TOOL FUNCTIONWhen drilling, tapping, boring, milling or the like, is performed, it isnecessary to select a sui...

  • Page 47

    B-63784EN/01 PROGRAMMING 1.GENERAL- 23 -1.6 COMMAND FOR MACHINE OPERATIONS -MISCELLANEOUS FUNCTIONWhen machining is actually started, it is necessary to rotate the spindle,and feed coolant. For this...

  • Page 48

    1.GENERAL PROGRAMMING B-63784EN/01- 24 -1.7 PROGRAM CONFIGURATIONA group of commands given to the CNC for operating the machine iscalled the program. By specifying the commands, the tool is movedalon...

  • Page 49

    B-63784EN/01 PROGRAMMING 1.GENERAL- 25 -Explanation- BlockThe block and the program have the following configurations.SequencenumberPreparatoryfunctionMiscellaneousfunctionSpindlefunctionToolfunctio...

  • Page 50

    1.GENERAL PROGRAMMING B-63784EN/01- 26 -- Main program and subprogramWhen machining of the same pattern appears at many portions of aprogram, a program for the pattern is created. This is called thes...

  • Page 51

    B-63784EN/01 PROGRAMMING 1.GENERAL- 27 -1.8 TOOL FIGURE AND TOOL MOTION BY PROGRAMExplanation-Machining using the end of cutter - Tool length compensation functionUsually, several tools are used for...

  • Page 52

    1.GENERAL PROGRAMMING B-63784EN/01- 28 -1.9 TOOL MOVEMENT RANGE - STROKELimit switches are installed at the ends of each axis on the machine toprevent tools from moving beyond the ends.The range in wh...

  • Page 53

    B-63784EN/01 PROGRAMMING 2.CONROLLED AXES- 29 -2 CONROLLED AXES

  • Page 54

    2.CONROLLED AXES PROGRAMMING B-63784EN/01- 30 -2.1 CONTROLLED AXESSeries 15i/150iItemStandard typeMultiple axes typeNo. of basic controlled axes3 axes (2 axes)Controlled axes expansion(total)Max. 10 axes(Cs axis is 2 axes...

  • Page 55

    B-63784EN/01 PROGRAMMING 2.CONROLLED AXES- 31 -2.2 AXIS NAMENames of axes can be optionally selected from X, Y, Z, A, B, C, U, V,and W. They can be set by parameter No. 1020.Explanation- Axis name expansion function...

  • Page 56

    2.CONROLLED AXES PROGRAMMING B-63784EN/01- 32 -2.3 INCREMENT SYSTEMThe increment system uses least input increment (for input) and leastcommand increment (for output). The least input increment is the leastincrement for ...

  • Page 57

    B-63784EN/01 PROGRAMMING 2.CONROLLED AXES- 33 -By setting bit 0 (IM0) of parameter No. 1013 for ten-fold input unit,each increment system is set as shown in Table2.3 (b).Table2.3 (b)Name ofincrementsystemLeast input...

  • Page 58

    2.CONROLLED AXES PROGRAMMING B-63784EN/01- 34 -2.4 MAXIMUM STROKEMaximum stroke = Least command increment × 99999999(For IS-D and IS-E, 999999999)See 2.3 Increment System.Table2.4 (a) Maximum strokeIncrement systemMaxim...

  • Page 59

    B-63784EN/01 PROGRAMMING 3.PREPARATORY FUNCTION (G FUNCTION)- 35 -3 PREPARATORY FUNCTION (G FUNCTION)A preparatory function is specified using a numeric value followingaddress G. This determines the meanings of the commands specified ...

  • Page 60

    3.PREPARATORY FUNCTION (G FUNCTION) PROGRAMMING B-63784EN/01- 36 - Table3 G code listCodeGroupFunctionG00PositioningG01Linear interpolationG02Circular interpolation/Helical interpolation CWG03Circular interpolation/Helical interpolation CCWG02.2In...

  • Page 61

    B-63784EN/01 PROGRAMMING 3.PREPARATORY FUNCTION (G FUNCTION)- 37 - Table3 G code listCodeGroupFunctionG3301ThreadingG37Automatic tool length measurementG38Cutter compensation C vector retentionG3900Cutter compensation C corner roundin...

  • Page 62

    3.PREPARATORY FUNCTION (G FUNCTION) PROGRAMMING B-63784EN/01- 38 - Table3 G code listCodeGroupFunctionG73Peck drilling cycleG74Counter tapping cycleG76Fine boring cycleG80Canned cycle cancel / external operation functioncancel / Electronic gear bo...

  • Page 63

    B-63784EN/01 PROGRAMING 4.INTERPOLATION FUNCTIONS- 39 -4 INTERPOLATION FUNCTIONS

  • Page 64

    4.INTERPOLATION FUNCTIONS PROGRAMING B-63784EN/01- 40 -4.1 POSITIONING (G00)The G00 command moves a tool to the position in the workpiece systemspecified with an absolute or an incremental command at a rapid traversera...

  • Page 65

    B-63784EN/01 PROGRAMING 4.INTERPOLATION FUNCTIONS- 41 -This range is determined by the machine tool builder by setting toparameter (No. 1827).In-position check for each block can be disabled by setting bit 0 (CIP) ofparameter No.1...

  • Page 66

    4.INTERPOLATION FUNCTIONS PROGRAMING B-63784EN/01- 42 -4.2 SINGLE DIRECTION POSITIONING (G60)For accurate positioning without play of the machine (backlash), finalpositioning from one direction is available.Fig.4.2 (a)...

  • Page 67

    B-63784EN/01 PROGRAMING 4.INTERPOLATION FUNCTIONS- 43 -Limitation- During canned cycle for drilling(G81to G89, G73, G74, G76), nosingle direction positioning is effected in drilling axis.- No single direction positioning is effect...

  • Page 68

    4.INTERPOLATION FUNCTIONS PROGRAMING B-63784EN/01- 44 -4.3 LINEAR INTERPOLATION (G01)Tools can move along a lineFormatExplanationA tools move along a line to the specified position at the feedratespecified in F. The f...

  • Page 69

    B-63784EN/01 PROGRAMING 4.INTERPOLATION FUNCTIONS- 45 --In simultaneous 3 axes control, the feed rate is calculated the sameway as in 2 axes control.Example- Linear interpolationFig.4.3 (a) Linear interpolation- Feedrate for the ...

  • Page 70

    4.INTERPOLATION FUNCTIONS PROGRAMING B-63784EN/01- 46 -4.4 CIRCULAR INTERPOLATION (G02,G03)The command below will move a tool along a circular arc.FormatDescription of the Command FormatCommandDescriptionG17Specificati...

  • Page 71

    B-63784EN/01 PROGRAMING 4.INTERPOLATION FUNCTIONS- 47 -Explanation- Direction of the circular interpolation"Clockwise"(G02) and "counterclockwise"(G03) on the XpYp plane(ZpXp plane or YpZp plane) are defined wh...

  • Page 72

    4.INTERPOLATION FUNCTIONS PROGRAMING B-63784EN/01- 48 -- Arc radiusThe distance between an arc and the center of a circle that contains thearc can be specified using the radius, R, of the circle instead of I, J, andK.I...

  • Page 73

    B-63784EN/01 PROGRAMING 4.INTERPOLATION FUNCTIONS- 49 -- Cases where a spiral resultsWhen an end point does not lie on the arc, a spiral results, as shownbelow.Fig.4.4 (d) Case Where a Spiral Is ProducedThe arc radius changes lin...

  • Page 74

    4.INTERPOLATION FUNCTIONS PROGRAMING B-63784EN/01- 50 -ExampleFig.4.4 (e) Sample programThe above tool path can be programmed as follows ;(1) In absolute programmingG92X200.0 Y40.0 Z0 ;G90 G03 X140.0 Y100.0R60.0 F300...

  • Page 75

    B-63784EN/01 PROGRAMING 4.INTERPOLATION FUNCTIONS- 51 -4.5 HELICAL INTERPOLATION (G02,G03)Helical interpolation which moved helically is enabled by specifying upto two other axes which move synchronously with the circularinterpola...

  • Page 76

    4.INTERPOLATION FUNCTIONS PROGRAMING B-63784EN/01- 52 -Fig.4.5 (a) Feedrate When Parameter HTG = 0When bit 2 (HTG) of parameter No. 1401 is set to 1, the speed commandspecifies the feedrate along the actual tool path,...

  • Page 77

    B-63784EN/01 PROGRAMING 4.INTERPOLATION FUNCTIONS- 53 -4.6 HELICAL INTERPOLATION B (G02,G03)Helical interpolation B allows the tool to move in helically. This can bedone by specifying the circular interpolation command together w...

  • Page 78

    4.INTERPOLATION FUNCTIONS PROGRAMING B-63784EN/01- 54 -4.7 HYPOTHETICAL AXIS INTERPOLATION (G07)In helical interpolation, when pulses are distributed with one of thecircular interpolation axes set to a hypothetical axi...

  • Page 79

    B-63784EN/01 PROGRAMING 4.INTERPOLATION FUNCTIONS- 55 -- Handle interruptSpecify hypothetical axis interpolation only in the incremental mode.Limitation- Manual operationThe hypothetical axis can be used only in automatic operatio...

  • Page 80

    4.INTERPOLATION FUNCTIONS PROGRAMING B-63784EN/01- 56 -- Changing the feedrate to form a sine curve(Sample program)G07Z0 ; The Z-axis is set to a hypothetical axis.G02X0Z0I10.0F4. ; The feedrate on the X-axis changess...

  • Page 81

    B-63784EN/01 PROGRAMING 4.INTERPOLATION FUNCTIONS- 57 -4.8 POLAR COORDINATE INTERPOLATION (G12.1,G13.1)Polar coordinate interpolation is a function that exercises contour controlin converting a command programmed in a Cartesian co...

  • Page 82

    4.INTERPOLATION FUNCTIONS PROGRAMMING B-63784EN/01- 58 - CAUTIONThe plane used before G12.1 is specified (planeselected by G17, G18, or G19) is canceled. It isrestored when G13.1 (canceling polar coordinateinterpolation) is specified.When the s...

  • Page 83

    B-63784EN/01 PROGRAMMING 4.INTERPOLATION FUNCTIONS- 59 -- Movement along axes not in the polar coordinate interpolation plane in the polarcoordinate interpolation modeThe tool moves along such axes normally, independent of polarcoor...

  • Page 84

    4.INTERPOLATION FUNCTIONS PROGRAMMING B-63784EN/01- 60 - WARNING1 Consider lines L1, L2, and L3. ∆X is the distance thetool moves per time unit at the feedrate specifiedwith address F in the Cartesian coordinate system.As the tool moves from ...

  • Page 85

    B-63784EN/01 PROGRAMMING 4.INTERPOLATION FUNCTIONS- 61 -ExampleExample of Polar Coordinate Interpolation Program Based on X Axis(Linear Axis) and C Axis (RotaryAxis)Fig.4.8 (b) Polar Coordinate Interpolation Program Based on X Axis...

  • Page 86

    4.INTERPOLATION FUNCTIONS PROGRAMMING B-63784EN/01- 62 -4.8.1 Virtual Axis Direction Compensation for Polar CoordinateInterpolationIn polar coordinate interpolation, this function compensates a machineif it has an error on the virtual axis, that...

  • Page 87

    B-63784EN/01 PROGRAMMING 4.INTERPOLATION FUNCTIONS- 63 - - Polar coordinate travel distance and calculation expressionIn the following figure, if the point (X2, C2) is specified when the tool isat the point (X1, C1) where the X-axis...

  • Page 88

    4.INTERPOLATION FUNCIONS PROGRAMMING B-63784EN/01- 64 -4.9 CYLINDRICAL INTERPOLATION (G07.1)The amount of travel of a rotary axis specified by an angle is onceinternally converted to a distance of a linear axis along the outersurface so that ...

  • Page 89

    B-63784EN/01 PROGRAMMING 4.INTERPOLATION FUNCIONS- 65 -- Circular interpolation (G02,G03)In the cylindrical interpolation mode, circular interpolation is possiblewith the rotation axis and another linear axis. Radius R is used i...

  • Page 90

    4.INTERPOLATION FUNCIONS PROGRAMMING B-63784EN/01- 66 -Limitation- Arc radius specification in the cylindrical interpolation modeIn the cylindrical interpolation mode, an arc radius cannot be specifiedwith word address I, J, or K.- Cutter com...

  • Page 91

    B-63784EN/01 PROGRAMMING 4.INTERPOLATION FUNCIONS- 67 -- Multiple-rotary axis control functionIf the rotation axis for which the multiple-rotary-axis control functionis used is specified as the rotation axis used with cylindric...

  • Page 92

    4.INTERPOLATION FUNCIONS PROGRAMMING B-63784EN/01- 68 -4.10 CYLINDRICAL INTERPOLATION CUTTING POINTCONTROL (G07.1)The conventional cylindrical interpolation function controls the toolcenter so that the tool axis always moves along a specified...

  • Page 93

    B-63784EN/01 PROGRAMMING 4.INTERPOLATION FUNCIONS- 69 -- Cutting point compensation(1) Cutting point compensation between blocksAs shown in Fig.4.10(b), cutting point compensation is achieved bymoving between blocks N1 and N2.1)...

  • Page 94

    4.INTERPOLATION FUNCIONS PROGRAMMING B-63784EN/01- 70 -rVY)(180∆π∆−=∆V:Cutting point compensation value (∆V2 - ∆V1) for movement of ∆L∆V1 :C-axis component of the vector normal to N1 from thetool center of the start po...

  • Page 95

    B-63784EN/01 PROGRAMMING 4.INTERPOLATION FUNCIONS- 71 -Fig.4.10(d) When Bit 6 (CYS) of Parameter No. 6004 Is Set to 12) When bit 6 (CYS) of parameter No. 6004 is set to 0Cutting point compensation is not performed between block...

  • Page 96

    4.INTERPOLATION FUNCIONS PROGRAMMING B-63784EN/01- 72 -3) When the amount of travel (L1) of block N2 is less than thevalue set in parameter No. 6113, as shown in Fig.4.10(f),cutting point compensation is not applied between blocks N1and N2. ...

  • Page 97

    B-63784EN/01 PROGRAMMING 4.INTERPOLATION FUNCIONS- 73 -Fig.4.10(g) When the Diameter of an Arc Is Less Than the ParameterValue- Applying cutting point compensation together with normal direction controlWhen applying cutting poi...

  • Page 98

    4.INTERPOLATION FUNCIONS PROGRAMMING B-63784EN/01- 74 -(1) When the normal direction changes between blocks N1 and N2,cutting point compensation is applied between blocks N1 and N2. As shown in Fig.4.10(i), cutting point compensation is appli...

  • Page 99

    B-63784EN/01 PROGRAMMING 4.INTERPOLATION FUNCIONS- 75 -Fig.4.10(j) Gradual Curve Normal Direction Control(3) If normal direction control is applied in a specified block with thenormal direction at the end point of the previous ...

  • Page 100

    4.INTERPOLATION FUNCIONS PROGRAMMING B-63784EN/01- 76 -Fig.4.10 (k)- Feedrate during cutting point compensation(1) The tool moves at a specified feedrate while cutting point compensation is being applied between blocks.(2) The actual speed ...

  • Page 101

    B-63784EN/01 PROGRAMMING 4.INTERPOLATION FUNCIONS- 77 -Fig.4.10 (l) Actual Speed Indication during Circular Interpolation- Usable G codes(1) In any of the following G code modes, cylindrical interpolationcutting point compensat...

  • Page 102

    4.INTERPOLATION FUNCIONS PROGRAMMING B-63784EN/01- 78 -Limitation- Overcutting during inner corner cuttingTheoretically, when the inner area of a corner is cut using linearinterpolation as shown in Fig. 4.10(m), this function slightly overcut...

  • Page 103

    B-63784EN/01 PROGRAMMING 4.INTERPOLATION FUNCIONS- 79 -Fig.4.10 (n) Path of Sample Program for Cylindrical Interpolation CuttingPoint CompensationZ-axisC-axis on the Cylindrical surfaceTool center pathProgrammed pathTool20 3060...

  • Page 104

    4.INTERPOLATION FUNCIONS PROGRAMMING B-63784EN/01- 80 -Fig.4.10 (o) Positional Relationships between Workpiece and Tool ofSample ProgramWorkpieceRotationRotationToolTool centerY-axisY-axisPositional relationship between theworkpiece and tool...

  • Page 105

    B-63784EN/01 PROGRAMMING 4.INTERPOLATION FUNCIONS- 81 -- Example of specifying cylindrical interpolation cutting point compensation andnormal direction control at the same timeCutter compensation value No. 01 = 30 mmO0002(CYLIND...

  • Page 106

    4.INTERPOLATION FUNCIONS PROGRAMMING B-63784EN/01- 82 -4.11 EXPONENTIAL INTERPOLATION (G02.3,G03.3)Exponential interpolation exponentially changes the rotation of aworkpiece with respect to movement on the rotary axis. Furthermore,exponentia...

  • Page 107

    B-63784EN/01 PROGRAMMING 4.INTERPOLATION FUNCIONS- 83 -Formatpositive rotation (ωωωω=0)G02.3 X_ Y_ Z_ I_ J_ K_ R_ F_ Q_ ;Negative rotation (ωωωω=1)G03.3 X_ Y_ Z_ I_ J_ K_ R_ F_ Q_ ;X_ : Specifies an end point with an abs...

  • Page 108

    4.INTERPOLATION FUNCIONS PROGRAMMING B-63784EN/01- 84 -Explanation- Exponential relational expressionsExponential relational expressions for a linear axis and rotary axis aredefined as follows:)tan(1)1()(lkeRX×−×=θθMovement on the linea...

  • Page 109

    B-63784EN/01 PROGRAMMING 4.INTERPOLATION FUNCIONS- 85 -- Rotation angle θθθθIn exponential interpolation, the X coordinate and angulardisplacement θ of the A axis to X are expressed by equation (1).1)Rtan(I) xln(Kθ(X)+××...

  • Page 110

    4.INTERPOLATION FUNCIONS PROGRAMMING B-63784EN/01- 86 -- Gradient IThe relationship between the machining profile and the sign of thegradient I is as follows:- For a slope going upward from left to right, I is a positive value.- For a slope g...

  • Page 111

    B-63784EN/01 PROGRAMMING 4.INTERPOLATION FUNCIONS- 87 -Limitation- Cases where linear interpolation is performedEven when the G02.3 or G03.3 mode is set, linear interpolation isperformed in the following cases:- When the linear ...

  • Page 112

    4.INTERPOLATION FUNCIONS PROGRAMMING B-63784EN/01- 88 -ExampleFig.4.11 (e) Constant Helix Machining for Producing a Tapered FigureRelational expressions)0()tan()tan()1()tan(2)(ZlBkeIUrZ+×−××−=þýüîíìθθ(3)UlkeIUrX+×−××−=...

  • Page 113

    B-63784EN/01 PROGRAMMING 4.INTERPOLATION FUNCIONS- 89 -ω: Helix direction (0: Positive, 1: Negative)θ: Workpiece rotation angleFrom expressions (3) and (4), the following is obtained ;)0())(()tan()(ZUXBZ+−×=θθ(5)The gro...

  • Page 114

    4.INTERPOLATION FUNCIONS PROGRAMMING B-63784EN/01- 90 -4.12 INVOLUTE INTERPOLATION (G02.2,G03.2)Involute curve machining can be performed by using involuteinterpolation. Involute interpolation ensures continuous pulsedistribution even in hig...

  • Page 115

    B-63784EN/01 PROGRAMMING 4.INTERPOLATION FUNCIONS- 91 -YpYpXpPe0RXpPsBase circlePePoPoR0StartpointEnd pointEnd pointIIJPsClockwise involute interpolation (G02.2)YpPePsPoR0Pe0YpRoStart pointEndpointIIEnd pointStart pointRPsXpXpCo...

  • Page 116

    4.INTERPOLATION FUNCIONS PROGRAMMING B-63784EN/01- 92 -Explanation- Involute curveAn involute curve on the X-Y plane is defined as follows ;X(θ)=R[cos θ + (θ – θo) sin θ] + XoY(θ)=R[sin θ + (θ – θo) cos θ] + Yowhere,YoXo,: Coord...

  • Page 117

    B-63784EN/01 PROGRAMMING 4.INTERPOLATION FUNCIONS- 93 -- Choosing from two types of involute curvesWhen only a start point and I, J, and K data are given, two types ofinvolute curves can be created. One type of involute curve e...

  • Page 118

    4.INTERPOLATION FUNCIONS PROGRAMMING B-63784EN/01- 94 -- Modes that allow involute interpolation specificationInvolute interpolation can be specified in the following G code modes:G41: Cutter compensation leftG42: Cutter compensation rightG51...

  • Page 119

    B-63784EN/01 PROGRAMMING 4.INTERPOLATION FUNCIONS- 95 -4.12.1 Involute Interpolation with a Linear Axis and Rotation Axis(G02.2,G03.3)In the polar coordinate interpolation mode, an involute curve can bemachined using involute in...

  • Page 120

    4.INTERPOLATION FUNCIONS PROGRAMMING B-63784EN/01- 96 -- Specifying end coordinatesIn polar coordinate interpolation mode, each position is represented bya distance from the center and an angle. The end coordinates arespecified using Cartesi...

  • Page 121

    B-63784EN/01 PROGRAMMING 4.INTERPOLATION FUNCIONS- 97 -O0001 ; :N010 T0101 ; :N100 G90 G00 X15.0 C0 Z0 ;Positioning to the start positionN200 G12.1 ;Start of polar coordinateinterpolationN201 G41 G00 X-1.0 ;N202 G01 Z-2.0 F_ ;...

  • Page 122

    4.INTERPOLATION FUNCIONS PROGRAMMING B-63784EN/01- 98 -4.13 HELICAL INVOLUTE INTERPOLATION (G02.2,G03.3)This interpolation function applies involute Interpolation to two axesand directs movement for up to four other axes at the same time. Thi...

  • Page 123

    B-63784EN/01 PROGRAMMING 4.INTERPOLATION FUNCTIONS- 99 -4.14 SPLINE INTERPOLATION (G06.1)Spline interpolation produces a spline curve connecting specifiedpoints. When this function is used, the tool moves along the smoothcurve conn...

  • Page 124

    4.INTERPOLATION FUNCTIONS PROGRAMMING B-63784EN/01- 100 -- Specifying a G06.1 block or next blockThe axes to be specified in spline interpolation mode must all bespecified in a block containing G06.1 or the next block.- When a tangent vector is ...

  • Page 125

    B-63784EN/01 PROGRAMMING 4.INTERPOLATION FUNCTIONS- 101 -- Modes in which spline interpolation can be specifiedThe spline interpolation mode can be specified in the following G-codemodes: G17: Selection of the XY plane G18: Select...

  • Page 126

    4.INTERPOLATION FUNCTIONS PROGRAMMING B-63784EN/01- 102 -Fig.4.14 (a) Spline interpolation- Three-dimensional offsetSpline interpolation can be executed in the three-dimensional toolcompensation mode. The spline interpolation function automati...

  • Page 127

    B-63784EN/01 PROGRAMMING 4.INTERPOLATION FUNCTIONS- 103 -3) Three-dimensional tool compensation vector at the last pointPosition: The vector is on the plane containing the point,previous point, and next point. It is perpendicular t...

  • Page 128

    4.INTERPOLATION FUNCTIONS PROGRAMMING B-63784EN/01- 104 -angle of 90° or less, the vector may not be produced in the correctdirection.Fig.4.14 (d) Vector 3- Sample program of three-dimensional tool offsetThe system is in the spline interpolati...

  • Page 129

    B-63784EN/01 PROGRAMMING 4.INTERPOLATION FUNCTIONS- 105 -Limitation- Modes not allowedBefore specifying G06.1, cancel canned cycle mode, tool offset mode,and cutter compensation mode if these modes are set.- First block of the subpr...

  • Page 130

    4.INTERPOLATION FUNCTIONS PROGRAMMING B-63784EN/01- 106 -4.15 SPIRAL INTERPOLATION, CONICAL INTERPOLATION(G02,G03)Spiral interpolation is enabled by specifying the circular interpolationcommand together with a desired number of revolutions or a ...

  • Page 131

    B-63784EN/01 PROGRAMMING 4.INTERPOLATION FUNCTIONS- 107 -(*1) Either the number of revolutions (L) or the radiusincrement or decrement (Q) can be omitted. When Lis omitted, the number of revolutions is automaticallycalculated from ...

  • Page 132

    4.INTERPOLATION FUNCTIONS PROGRAMMING B-63784EN/01- 108 -- Conical interpolationXp-Yp planeG02G17X_ Y_ I_ J_ Z_ Q_ L_ F_ ;G03Zp-Yp planeG02G18Z_ X_ K_ I_ Y_ Q_ L_ F_ ;G03Yp-Zp planeG02G19Y_ Z_ J_ K_ X_ Q_ L_ F_ ;G03X,Y,Z:Coordinates of the end p...

  • Page 133

    B-63784EN/01 PROGRAMMING 4.INTERPOLATION FUNCTIONS- 109 -(*1) One of the height increment/decrement (I, J, K),radius increment/decrement (Q), and the number ofrevolutions (L) must be specified. The other twoitems can be omitted.- S...

  • Page 134

    4.INTERPOLATION FUNCTIONS PROGRAMMING B-63784EN/01- 110 -Explanation- Function of spiral interpolationSpiral interpolation in the XY plane is defined as follows:(X-X0)2+(Y-Y0)2=(R+Q')2X0 : X coordinate of the centerY0 : Y coordinate of the cente...

  • Page 135

    B-63784EN/01 PROGRAMMING 4.INTERPOLATION FUNCTIONS- 111 - Q-20. G90 G02 X0 Y-33.5 I0 J-100. F300 ; L4When the specified end point is (0, -33.5), the calculated end point is (0, -30.0).Specify a value...

  • Page 136

    4.INTERPOLATION FUNCTIONS PROGRAMMING B-63784EN/01- 112 -- Tool offset The spiral interpolation function and conical interpolation functioncan be used in cutter compensation C mode. The same compensation isapplied as that described in (d) Except...

  • Page 137

    B-63784EN/01 PROGRAMMING 4.INTERPOLATION FUNCTIONS- 113 -- Feedrate clamping by accelerationDuring spiral interpolation, the function for clamping the feedrate byacceleration (parameter No. 1663) is enabled. The feedrate maydecreas...

  • Page 138

    4.INTERPOLATION FUNCTIONS PROGRAMMING B-63784EN/01- 114 -This sample path has the following values:- Start point: (0,100.0)- End point (X,Y): (0,-30.0)- Distance to the center (I,J): (0,-100.0)- Radius increment or decrement (Q): -20.0- Number o...

  • Page 139

    B-63784EN/01 PROGRAMMING 4.INTERPOLATION FUNCTIONS- 115 -4.16 SMOOTH INTERPOLATION (G05.1)Either of two types of machining can be selected, depending on theprogram command.1)For those portions where the accuracy of the figure is cri...

  • Page 140

    4.INTERPOLATION FUNCTIONS PROGRAMMING B-63784EN/01- 116 -which precisely follows a programmed path, the uneven surfaces willbe judged as being unsatisfactory when smooth surfaces are required.Table 4.16 (a) Profiles and Radius of CurvatureProfi...

  • Page 141

    B-63784EN/01 PROGRAMMING 4.INTERPOLATION FUNCTIONS- 117 -N1N2N3N4N5N6N7N8N17N16N14N13N11N12N15N10N9Linear interpolationInterpolated by smooth curveLinear interpolationInterpolated by smooth curveN1N2N3N4N5N6N7N8N17N16N14N13N11N12N15...

  • Page 142

    4.INTERPOLATION FUNCTIONS PROGRAMMING B-63784EN/01- 118 -- Commands which cancel smooth interpolationWhen one of the following commands is specified, smoothinterpolation is canceled:(1) G04 : DwellG09 : Exact stop checkG31,G31.1,G31.2,G31.3: Ski...

  • Page 143

    B-63784EN/01 PROGRAMMING 4.INTERPOLATION FUNCTIONS- 119 -Example<Sample program of smooth interpolation>G91G5. 1 Q2 X0 Y0 Z0N01 G01 X1000 Z-300 F500N02 X1000 Z-200N03 X1000 Z-50N04 X1000 Z50N05 X1000 Z50N06 X1000 Z-25N07 X1000...

  • Page 144

    4.INTERPOLATION FUNCTIONS PROGRAMMING B-63784EN/01- 120 -- Intervals of specified pointsThe intervals of specified points must be equal wherever possible.Otherwise, the path may rise greatly.The figure below shows an enlarged view of the rises ...

  • Page 145

    B-63784EN/01 PROGRAMMING 4.INTERPOLATION FUNCTIONS- 121 -4.17 NURBS INTERPOLATION (G06.2)Many computer-aided design (CAD) systems used to design metal diesfor automobiles utilize non-uniform rational B-spline (NURBS) toexpress a scu...

  • Page 146

    4.INTERPOLATION FUNCTIONS PROGRAMMING B-63784EN/01- 122 -FormatG06.2 [P_ ] K_ IP_ [R_ ] [F_ ] ;K_ IP_ [R_ ] ;K_ IP_ [R_ ] ;K_ IP_ [R_ ] ;:K_ IP_ [R_ ] ;K_ ;…K_ ;G01… :G06.2: Start NURBS interpolation modeP_ : Rank of NUR...

  • Page 147

    B-63784EN/01 PROGRAMMING 4.INTERPOLATION FUNCTIONS- 123 -- KnotThe number of specified knots must equal the number of control pointsplus the rank value. In the blocks specifying the first to last controlpoints, each control point an...

  • Page 148

    4.INTERPOLATION FUNCTIONS PROGRAMMING B-63784EN/01- 124 -- NUBRS curved line segmentsFrom the definition of NUBRS curved lines given above, it can be seenthat the points on an NURBS curved line of rank n (degree (n-1))consist of n successive con...

  • Page 149

    B-63784EN/01 PROGRAMMING 4.INTERPOLATION FUNCTIONS- 125 -- Valid speed command rangeAn NUBRS curved line of rank n (degree (n-1)) that has m controlpoints includes (m - n + 1) segments. The speed command (address F)for a block that...

  • Page 150

    4.INTERPOLATION FUNCTIONS PROGRAMMING B-63784EN/01- 126 -At a corner, automatic speed control is exercised so that speed changeson each axis do not exceed the allowable speed difference limitspecified with parameter No. 1478. (See Fig.4.17 (f))...

  • Page 151

    B-63784EN/01 PROGRAMMING 4.INTERPOLATION FUNCTIONS- 127 -AlarmNo.Display messageDescriptionPS1001NURBS interpolationerrorA rank specification is incorrect.PS1002NURBS interpolationerrorNo knot is specified. (In NURBSinterpolation m...

  • Page 152

    4.INTERPOLATION FUNCTIONS PROGRAMMING B-63784EN/01- 128 -- PS1002 NO KNOT SPECIFIEDA knot must be specified in each block of NURBS interpolation. Ifthere is a block without address K, alarm PS1002 is issued.O0002G06.2 P4 X0. Y0. Z0. K0.X10. Y...

  • Page 153

    B-63784EN/01 PROGRAMMING 4.INTERPOLATION FUNCTIONS- 129 -G06.2 P4 X0. Y0. Z0. K0.X10. Y10. Z10. K0.X20. Y20. Z20. K0.X30. Y30. Z30. K0.K1.K1.K1.K1.G01O0005G06.2 P4 X0. Y0. Z0. K0.X10. Y10. Z10. K0.X20. Y20. Z20. K0.X30. Y30. Z30. K0...

  • Page 154

    4.INTERPOLATION FUNCTIONS PROGRAMMING B-63784EN/01- 130 -- PS1004 INSUFFICIENT SIMPLE KNOT BLOCKSIn NURBS interpolation, the end of a NURBS curve command isdetermined by detecting as many knot commands as the number oforders. If the system en...

  • Page 155

    B-63784EN/01 PROGRAMMING 4.INTERPOLATION FUNCTIONS- 131 -N3 X20. Y20. Z20. K0.N4 X30. Y30. Z30. K0. (No alarm is issued.)N5 X40. Y40. Z40. K1.N6 X50. Y50. Z50. K2.N7 K3.N8 K3.N9 K3.N10 K3. (Alarm PS1007 is issued.)O0010G06.2 P4 X0. ...

  • Page 156

    4.INTERPOLATION FUNCTIONS PROGRAMMING B-63784EN/01- 132 -K2.K2.- PS1009 WRONG FIRST CONTROL POINTThe first control point of NURBS interpolation must be the start pointof a NURBS curve, which is the current position when the previousblock ends....

  • Page 157

    B-63784EN/01 PROGRAMMING 4.INTERPOLATION FUNCTIONS- 133 -...G01 ...YZX1000.2000.Fig.4.17 (g) Sample Program

  • Page 158

    4.INTERPOLATION FUNCTIONS PROGRAMMING B-63784EN/01- 134 -4.17.1 NURBS Interpolation Additional FunctionsThe functions below are added to NURBS interpolation of the FANUCSeries 15i.- Parametric feedrate controlThe maximum feedrate of each segmen...

  • Page 159

    B-63784EN/01 PROGRAMMING 4.INTERPOLATION FUNCTIONS- 135 -X50. Y50. K2.K3.K3.K3.K3.2. Specified feedrateFeedrateTime1500180020003. Parametric feedrate controlFeedrateTime1500180020004. After acceleration/deceleration before interp...

  • Page 160

    4.INTERPOLATION FUNCTIONS PROGRAMMING B-63784EN/01- 136 -- High-precision knot commandWhen bit 1 (HIK) of parameter No. 8412 is set to 1, a knot commandconsisting of up to 12 integer digits and up to 12 fraction digits can bespecified. This fu...

  • Page 161

    B-63784EN/01 PROGRAMMING 4.INTERPOLATION FUNCTIONS- 137 -- Simple start commandWhen bit 0 (EST) of parameter No. 8412 is set to 1, a control pointcommand can be omitted at the first control point. The knot values ofthe first block...

  • Page 162

    4.INTERPOLATION FUNCTIONS PROGRAMMING B-63784EN/01- 138 -- Maximum cutting feedrate along each axisWith the conventional specification, the specified feedrate F duringNURBS interpolation is clamped to the minimum value of themaximum cutting fee...

  • Page 163

    B-63784EN/01 PROGRAMMING 4.INTERPOLATION FUNCTIONS- 139 -)())()(Max()())()(Max()())()(Max()())()(Max()())()(Max(maxmaxmaxmaxmaxBFFtFtFAFFtFtFZFFtFtFYFFtFtFXFFtFtFbazyx≤≤≤≤≤(t=0 to 1)So, F is clamped as follows:)))()(Max()(...

  • Page 164

    4.INTERPOLATION FUNCTIONS PROGRAMMING B-63784EN/01- 140 -- RolloverIf a control point is specified in the absolute mode (G90) for a rotationaxis subject to rollover, the relative position shift of the control pointbased on a shortcut is calcula...

  • Page 165

    B-63784EN/01 PROGRAMMING 4.INTERPOLATION FUNCTIONS- 141 -4.18 3-DIMENSIONAL CIRCULAR INTERPOLATION (G02.4 ANDG03.4)GeneralSpecifying an intermediate and end point on an arc enables circularinterpolation in a 3-dimensional space.Form...

  • Page 166

    4.INTERPOLATION FUNCTIONS PROGRAMMING B-63784EN/01- 142 -- Movement along axes other than the 3-dimensional circular interpolation axisIn addition to the 3-dimensional circular interpolation axis (X/Y/Z), upto two arbitrary axes ( / ) can be spe...

  • Page 167

    B-63784EN/01 PROGRAMMING 4.INTERPOLATION FUNCTIONS- 143 -- Cylindrical interpolation- Drilling canned cycle/electronic gearbox- Modal call- Exact stop mode- Automatic corner override- Tapping mode- Chopping- Interrupt-type c...

  • Page 168

    4.INTERPOLATION FUNCTIONS PROGRAMMING B-63784EN/01- 144 -- Cases in which linear interpolation is performed- If the start point, mid-point, and end-point are on the same line, linearinterpolation is performed.- If the start point coincides wit...

  • Page 169

    B-63784EN/01 PROGRAMMING 4.INTERPOLATION FUNCTIONS- 145 -4.19 THREADING (G33)The G33 command produces a straight or tapered thread having aconstant lead.FormatExplanationIn general, thread cutting is repeated along the same tool pat...

  • Page 170

    4.INTERPOLATION FUNCTIONS PROGRAMMING B-63784EN/01- 146 -In general, the lag of the servo system, etc. will produce somewhatincorrect leads at the starting and ending points of a thread cut. Tocompensate for this, a thread cutting length somewh...

  • Page 171

    B-63784EN/01 PROGRAMMING 4.INTERPOLATION FUNCTIONS- 147 -ExampleFig.4.19 (b) ThreadingN20,N21 The center of the tool is aligned with the center of a prepared hole. Thespindle rotates in the forward direction.N22The first step of t...

  • Page 172

    4.INTERPOLATION FUNCTIONS PROGRAMMING B-63784EN/01- 148 -4.20 INCH THREADING (G33)When a number of thread ridges per inch is specified with address E, aninch thread can be produced with high precision.FormatExampleFig.4.20 (a) Inch threadingG33...

  • Page 173

    B-63784EN/01 PROGRAMMING 4.INTERPOLATION FUNCTIONS- 149 -4.21 CONTINUOUS THREADING (G33)Continuous threading can be executed when multiple blocks containingthe threading command are specified in succession.ExplanationAt the interfac...

  • Page 174

    5.FEED FUNCTIONS PROGRAMMING B-63784EN/01- 150 -5 FEED FUNCTIONS

  • Page 175

    B-63784EN/01 PROGRAMMING 5.FEED FUNCTIONS- 151 -5.1 GENERALThe feed functions control the feedrate of the tool. The following twofeed functions are available:- Feed functions1.Rapid traverseWhen the positioning c...

  • Page 176

    5.FEED FUNCTIONS PROGRAMMING B-63784EN/01- 152 -- Tool path in a cutting feedIf the direction of movement changes between specified blocks duringcutting feed, a rounded-corner path may result (Fig.5.1(b)).Fig.5.1(b) Ex...

  • Page 177

    B-63784EN/01 PROGRAMMING 5.FEED FUNCTIONS- 153 -5.2 RAPID TRAVERSEFormatG00 IP ;G00 : G code (group 01) for positioning (rapid traverse)IP; Dimension word for the end pointExplanationThe positioning command (G00) ...

  • Page 178

    5.FEED FUNCTIONS PROGRAMMING B-63784EN/01- 154 -5.3 CUTTING FEEDFeedrate of linear interpolation (G01), circular interpolation (G02,G03), etc. are commanded with numbers after the F code. In cuttingfeed, the next block...

  • Page 179

    B-63784EN/01 PROGRAMMING 5.FEED FUNCTIONS- 155 -- Feed per minute (G94)After specifying G94 (in the feed per minute mode), the amount of feedof the tool per minute is to be directly specified by setting a numberaf...

  • Page 180

    5.FEED FUNCTIONS PROGRAMMING B-63784EN/01- 156 -For detailed information, see the appropriate manual of the machinetool builder.FFeed amount per spindlerevolution(mm/rev or inch/rev)Fig.5.3 (c) Feed per revolution CAUT...

  • Page 181

    B-63784EN/01 PROGRAMMING 5.FEED FUNCTIONS- 157 -Explanation- For linear interpolation (G01)cetandisfeedrate(min) time1FRN==Feedrate:mm/min (for metric input)inch/min (for inch input)Distance:mm (for metric input)...

  • Page 182

    5.FEED FUNCTIONS PROGRAMMING B-63784EN/01- 158 -than the arc distance. Inverse time feed can also be used for cutting feedin a canned cycle. CAUTIONWhen the cutter compensation function is used,actual movement is made a...

  • Page 183

    B-63784EN/01 PROGRAMMING 5.FEED FUNCTIONS- 159 - CAUTIONAn upper limit is set in mm/min or inch/min.CNC calculation may involve a feedrate error of +2%with respect to a specified value. However, this is nottrue fo...

  • Page 184

    5.FEED FUNCTIONS PROGRAMMING B-63784EN/01- 160 -5.4 OVERRIDEThe rapid traverse rate and cutting feedrate can be overridden from themachine operator's panel.5.4.1 Feedrate OverrideA programmed feedrate can be reduced or ...

  • Page 185

    B-63784EN/01 PROGRAMMING 5.FEED FUNCTIONS- 161 -5.4.2 Rapid Traverse OverrideThe rapid traverse rate can be overridden as follows:F0, F1%, 50%, 100%F0 : Feedrate to be set for each axis (parameter No. 1421)F1 : Pe...

  • Page 186

    5.FEED FUNCTIONS PROGRAMMING B-63784EN/01- 162 -5.5 CUTTING FEEDRATE CONTROLCutting feedrate can be controlled, as indicated in Table 5.5 (a).Table 5.5 (a) Cutting Feedrate ControlFunction nameG codeValidity of G codeD...

  • Page 187

    B-63784EN/01 PROGRAMMING 5.FEED FUNCTIONS- 163 -5.5.1 Exact Stop (G09, G61)Cutting Mode (G64)Tapping Mode (G63)ExplanationThe inter-block paths followed by the tool in the exact stop mode,cutting mode, and tapping...

  • Page 188

    5.FEED FUNCTIONS PROGRAMMING B-63784EN/01- 164 -5.5.2 Automatic Corner OverrideWhen cutter compensation is performed, the movement of the tool isautomatically decelerated at an inner corner and internal circular area.Th...

  • Page 189

    B-63784EN/01 PROGRAMMING 5.FEED FUNCTIONS- 165 -- Override rangeWhen a corner is determined to be an inner corner, the feedrate isoverridden before and after the inner corner. The distances Ls and Le,where the fee...

  • Page 190

    5.FEED FUNCTIONS PROGRAMMING B-63784EN/01- 166 -Fig.5.5.2 (d) Override Range (Straight Line to Arc, Arc to Straight Line)- Override valueAn override value is set with parameter No. 6612. An override value isvalid even...

  • Page 191

    B-63784EN/01 PROGRAMMING 5.FEED FUNCTIONS- 167 -5.5.2.2 Circular cutting feedrate changeThe feedrate along a programmed path is set to a specified feedrate (F)by setting a circular cutting feedrate with respect to...

  • Page 192

    5.FEED FUNCTIONS PROGRAMMING B-63784EN/01- 168 -5.6 AUTOMATIC VELOCITY CONTROL5.6.1 Automatic Velocity Control during Involute InterpolationTo enhance the machining precision, the function for automaticvelocity control ...

  • Page 193

    B-63784EN/01 PROGRAMMING 5.FEED FUNCTIONS- 169 - RcpOVR = × 100 (for external offset) Rcp + Rofs RcpOVR = × 100 (for internal offset) Rcp - RofsRcp : Radius of the involute cu...

  • Page 194

    5.FEED FUNCTIONS PROGRAMMING B-63784EN/01- 170 -- Acceleration/deceleration clamping near a base circleIf an acceleration calculated from the curvature radius of an involutecurve exceeds the value specified in the param...

  • Page 195

    B-63784EN/01 PROGRAMMING 5.FEED FUNCTIONS- 171 -5.6.2 Automatic Velocity Control during Polar Coordinate InterpolationIf the feedrate component of a rotation axis exceeds a maximumallowable cutting feedrate in pol...

  • Page 196

    5.FEED FUNCTIONS PROGRAMMING B-63784EN/01- 172 -NOTE1 The machine lock or interlock function sometimesdoes not work as soon as the corresponding switchis turned on while the automatic clamp function isbeing executed.2 I...

  • Page 197

    B-63784EN/01 PROGRAMMING 5.FEED FUNCTIONS- 173 -5.7 DWELLFormatDwellG04 X_ ; or G04 P_ ;X ; Specify a time (decimal point permitted)P ; Specify a time (decimal point not permitted)ExplanationBy specifying a dwell,...

  • Page 198

    5.FEED FUNCTIONS PROGRAMMING B-63784EN/01- 174 -5.8 FEEDRATE SPECIFICATION ON A VIRTUAL CIRCLE FORA ROTARY AXISThe method of feedrate specification on a machine with a rotation axisis improved.[Conventional method]Sampl...

  • Page 199

    B-63784EN/01 PROGRAMMING 5.FEED FUNCTIONS- 175 -[Method of feedrate specification on a virtual circle for a rotation axis]With the method of feedrate specification on a virtual circle for arotation axis, feedrate ...

  • Page 200

    5.FEED FUNCTIONS PROGRAMMING B-63784EN/01- 176 -Limitations- Unusable functionsThis function cannot be used with the following functions:- G functions of group 01 listed belowPositioningCircular interpolation, helical...

  • Page 201

    B-63784EN/01 PROGRAMMING 5.FEED FUNCTIONS- 177 -Reference itemsFANUC Series15i/150i-MBOperator’s Manual(Programming)(B-63784EN)II. 5.3Cutting Feed

  • Page 202

    5.FEED FUNCTIONS PROGRAMMING B-63784EN/01- 178 -5.9 AUTOMATIC FEEDRATE CONTROL BY AREAOverviewWhen an area on the XY plane(*1) is specified in cutting mode inautomatic operation, the area override can be applied to a sp...

  • Page 203

    B-63784EN/01 PROGRAMMING 5.FEED FUNCTIONS- 179 -X-axisY-axisVertex pair 1Vertex pair 1Vertex pair 2Vertex pair 2Fig.5.9 (c) Two Pairs of Diagonal Vertexes of a QuadrangleX-axisY-axisArea 4, area override 4Area 1,...

  • Page 204

    5.FEED FUNCTIONS PROGRAMMING B-63784EN/01- 180 -Setting an area overrideAn area override is set within the range of 0% to 127%.For each of the four areas, a separate area override can be set.There are two methods of set...

  • Page 205

    B-63784EN/01 PROGRAMMING 6.REFERENCE POSITION- 181 -6 REFERENCE POSITIONA CNC machine tool has a special position where, generally, the tool isexchanged or the coordinate system is set, as described later. Thisposition i...

  • Page 206

    6.REFERENCE POSITION PROGRAMMING B-63784EN/01- 182 -6.1 REFERENCE POSITION RETURNThe reference position is a fixed position on a machine tool to whichthe tool can easily be moved by the reference position return function.For exampl...

  • Page 207

    B-63784EN/01 PROGRAMMING 6.REFERENCE POSITION- 183 -- Reference position return checkThe reference position return check (G27) is the function which checkswhether the tool has correctly returned to the reference position ...

  • Page 208

    6.REFERENCE POSITION PROGRAMMING B-63784EN/01- 184 -- Return from the reference position (G29)In general, it is commanded immediately following the G28 commandor G30.For incremental programming, the command value specifies theincre...

  • Page 209

    B-63784EN/01 PROGRAMMING 6.REFERENCE POSITION- 185 -- Lighting the lamp when the programmed position does not coincide with the reference positionWhen the machine tool system is an inch system with metric input, therefer...

  • Page 210

    6.REFERENCE POSITION PROGRAMMING B-63784EN/01- 186 -6.2 FLOATING REFERENCE POSITION RETURN (G30.1)Tools ca be returned to the floating reference position. A floatingreference point is a position on a machine tool, and serves as ar...

  • Page 211

    B-63784EN/01 PROGRAMMING 6.REFERENCE POSITION- 187 - ExampleYXWorkpieceIntermediate position (50,40)Floating reference positionG30.1 G90 X50.0 Y40.0 ;

  • Page 212

    7.COORDINATE SYSTEM PROGRAMMING B-63784EN/01- 188 -7 COORDINATE SYSTEMBy teaching the CNC a desired tool position, the tool can be moved tothe position. Such a tool position is represented by coordinates in acoordinate system. Coo...

  • Page 213

    B-63784EN/01 PROGRAMMING 7.COORDINATE SYSTEM- 189 -7.1 MACHINE COORDINATE SYSTEMThe point that is specific to a machine and serves as the reference of themachine is referred to as the machine zero point. A machine toolbu...

  • Page 214

    7.COORDINATE SYSTEM PROGRAMMING B-63784EN/01- 190 -Reference- Machine coordinate systemWhen manual reference position return is performed after power-on, amachine coordinate system is set so that the reference position is at theco...

  • Page 215

    B-63784EN/01 PROGRAMMING 7.COORDINATE SYSTEM- 191 -7.2 WORKPIECE COORDINATE SYSTEMA coordinate system used for machining a workpiece is referred to as aworkpiece coordinate system.A workpiece coordinate system can be set ...

  • Page 216

    7.COORDINATE SYSTEM PROGRAMMING B-63784EN/01- 192 -7.2.1 Setting a Workpiece Coordinate System (G92)A programmed command establishes a workpiece coordinate systemaccording to the value after G92.Format(G90) G92 IPExplanationA work...

  • Page 217

    B-63784EN/01 PROGRAMMING 7.COORDINATE SYSTEM- 193 -7.2.2 Setting Workpiece Coordinate System (G54 to G59)Explanation- Setting workpiece coordinate systemSix workpiece coordinate systems can be set. These six systems arede...

  • Page 218

    7.COORDINATE SYSTEM PROGRAMMING B-63784EN/01- 194 - CAUTION1 The external workpiece zero point offset amount canbe set within +7.999 mm or +0.79999 inch for everyaxis.2 When G92 is specified after a shift value has beenspecified, ...

  • Page 219

    B-63784EN/01 PROGRAMMING 7.COORDINATE SYSTEM- 195 -7.2.3 Selecting Workpiece Coordinate System(G54 to G59)A set workpiece coordinate system is selected with a programmedcommand.FormatG54 . . . . . . Workpiece coordinate s...

  • Page 220

    7.COORDINATE SYSTEM PROGRAMMING B-63784EN/01- 196 -7.2.4 Changing Workpiece Coordinate SystemThe six workpiece coordinate systems specified with G54 to G59 canbe changed by changing an common workpiece zero point offset valueor wo...

  • Page 221

    B-63784EN/01 PROGRAMMING 7.COORDINATE SYSTEM- 197 -Explanation- Changing by G10With the G10 command, each workpiece coordinate system can bechanged separately.- Changing by G92By specifying G92IP_;, a workpiece coordinate...

  • Page 222

    7.COORDINATE SYSTEM PROGRAMMING B-63784EN/01- 198 -Suppose that a G54 workpiece coordinatesystem is specified. Then, a G55 workpiececoordinate system where the black circle onthe tool (figure at the left) is at(600.0,12000.0) can...

  • Page 223

    B-63784EN/01 PROGRAMMING 7.COORDINATE SYSTEM- 199 -7.2.5 Adding Workpiece Coordinate Systems (G54.1)Besides the six workpiece coordinate systems (standard workpiececoordinate systems) selectable with G54 to G59, 48 additi...

  • Page 224

    7.COORDINATE SYSTEM PROGRAMMING B-63784EN/01- 200 -- Setting of the workpiece origin offset in an additional workpiece coordinate system(G10)The following command can be used to set the workpiece origin offsetin an additional wor...

  • Page 225

    B-63784EN/01 PROGRAMMING 7.COORDINATE SYSTEM- 201 -7.2.6 Workpiece Coordinate System Preset (G92.1)The workpiece coordinate system preset function presets a workpiececoordinate system shifted by manual intervention to the...

  • Page 226

    7.COORDINATE SYSTEM PROGRAMMING B-63784EN/01- 202 -these operations is shifted from the machine coordinate system usingthe commands and operations listed following case.(a) Manual intervention performed when the manual absolute si...

  • Page 227

    B-63784EN/01 PROGRAMMING 7.COORDINATE SYSTEM- 203 -7.2.7 Automatically Presetting the Workpiece Coordinate SystemThis function automatically presets the workpiece coordinate system tothe position where machine lock is app...

  • Page 228

    7.COORDINATE SYSTEM PROGRAMMING B-63784EN/01- 204 -7.3 LOCAL COORDINATE SYSTEMWhen a program is created in a workpiece coordinate system, a childworkpiece coordinate system can be set for easier programming. Sucha child coordinat...

  • Page 229

    B-63784EN/01 PROGRAMMING 7.COORDINATE SYSTEM- 205 - CAUTION1 When an axis returns to the reference point by themanual reference point return function,the zero pointof the local coordinate system of the axis matchesthat of...

  • Page 230

    7.COORDINATE SYSTEM PROGRAMMING B-63784EN/01- 206 -7.4 PLANE SELECTIONSelect the planes for circular interpolation, cutter compensation, anddrilling by G-code. The following table lists G-codes and the planesselected by them.Expl...

  • Page 231

    B-63784EN/01 PROGRAMMING 7.COORDINATE SYSTEM- 207 -7.5 PLANE CONVERSION FUNCTIONThis function converts a machining program created on the G17 planein the right-hand Cartesian coordinate system to programs for otherplanes ...

  • Page 232

    7.COORDINATE SYSTEM PROGRAMMING B-63784EN/01- 208 -(2)ZXG17.1 P2G18 planeY indicates that the negative direction of the axis perpendicular to thepage is the direction coming out the page (in this case, the Y-axisperpendicular to t...

  • Page 233

    B-63784EN/01 PROGRAMMING 7.COORDINATE SYSTEM- 209 -(5)G17.1 P5ZXG19 planeYProgram commands on the G17 plane are converted to the followingcommands by plane conversion:CommandG17.1P1G17.1P2G17.1P3G17.1P4G17.1P5XYZG02G03IJK...

  • Page 234

    7.COORDINATE SYSTEM PROGRAMMING B-63784EN/01- 210 -ExampleG54G55XZYYZX-ZXYG17G17.1P2Program coordinate systemMachine coordinate systemYYYXZXG54-ZXXYG55Machine coordinate systemMachine coordinate systemO1000 (MAIN PROGRAM)N10 G91 G...

  • Page 235

    B-63784EN/01 PROGRAMMING 7.COORDINATE SYSTEM- 211 - CAUTION1 Plane conversion can be performed only forcommands for the X-, Y-, or Z-axis.2 Plane conversion cannot be performed for manualoperation.3 Plane conversion canno...

  • Page 236

    7.COORDINATE SYSTEM PROGRAMMING B-63784EN/01- 212 - CAUTION9 When 1 is set in NCM (bit 7 of parameter No. 2401),resetting the system in the plane conversion modedoes not change the mode.Fig.7.5 Plane Conversion and G92Table 7.5 (...

  • Page 237

    B-63784EN/01 PROGRAMMING 8.COORDINATE VALUE AND DIMENSION- 213 -8 COORDINATE VALUE AND DIMENSIONThis chapter contains the following topics.8.1 ABSOLUTE AND INCREMENTAL PROGRAMMING(G90, G91)8.2 POLAR COORDINATE COMMAND (G15, G16)8.3 INCH...

  • Page 238

    8.COORDINATE VALUE AND DIMENSION PROGRAMMING B-63784EN/01- 214 -8.1 ABSOLUTE AND INCREMENTAL PROGRAMMINGThere are two ways to command travels of the tool; the absolutecommand, and the incremental command. In the absolute command,coordinate value of t...

  • Page 239

    B-63784EN/01 PROGRAMMING 8.COORDINATE VALUE AND DIMENSION- 215 -8.2 POLAR COORDINATE COMMAND (G15,G16)The end point coordinate value can be input in polar coordinates(radius and angle).The plus direction of the angle is counterclockwise...

  • Page 240

    8.COORDINATE VALUE AND DIMENSION PROGRAMMING B-63784EN/01- 216 -- When the radius is specified with incremental commandThe current position is used as the origin of the polar coordinatesystem.Examples Bolt hole circle- Specifying angles and a radius ...

  • Page 241

    B-63784EN/01 PROGRAMMING 8.COORDINATE VALUE AND DIMENSION- 217 -- Specifying angles with incremental commands and a radius with absolutecommandsN1 G17 G90 G16;Specifying the polar coordinate command and selecting the XYplaneSetting the ...

  • Page 242

    8.COORDINATE VALUE AND DIMENSION PROGRAMMING B-63784EN/01- 218 -8.3 INCH/METRIC CONVERSION (G20,G21)Either inch or metric input can be selected by G code.FormatG20 ; Inch inputG21 ; mm inputThis G code must be specified in an independent block before...

  • Page 243

    B-63784EN/01 PROGRAMMING 8.COORDINATE VALUE AND DIMENSION- 219 -8.4 DECIMAL POINT INPUT/POCKET CALCULATOR TYPEDECIMAL POINT INPUTNumerals can be input with decimal points. Decimal points can beused basically in numerals with units of d...

  • Page 244

    8.COORDINATE VALUE AND DIMENSION PROGRAMMING B-63784EN/01- 220 -NOTE1 A value is rounded off to the number of decimalplaces of the least input increment.ExampleX1.23456: When the least input increment is 0.001mm, the value is set to X1.235.When the ...

  • Page 245

    B-63784EN/01 PROGRAMMING 8.COORDINATE VALUE AND DIMENSION- 221 -8.5 DIAMETER AND RADIUS PROGRAMMINGSince the section of a workpiece to be machined in a lathe is usuallycircular, the sectional dimensions can be programmed with diameterso...

  • Page 246

    8.COORDINATE VALUE AND DIMENSION PROGRAMMING B-63784EN/01- 222 -8.6 PROGRAMMABLE SWITCHING OF DIAMETER/RADIUSSPECIFICATIONAssume that diameter or radius specification has been selected for eachcontrolled axis by using bit 3 (DIA) of parameter No. 100...

  • Page 247

    B-63784EN/01 PROGRAMMING 8.COORDINATE VALUE AND DIMENSION- 223 -ExampleProgramO0010N01 T1001N02 G10.9 X1 Z0N03 S200N04 M03N05 G00 G90 X240. Z180.N06 X60. Z170.N07 G01 Z90.N08 X90. Z70.N09 G00 X240.N10 Z180.N11 M05N12 T2002N13 G10.9 X0 Z...

  • Page 248

    9.SPINDLE SPEED FUNCTION (S FUNCTION) PROGRAMMING B-63784EN/01- 224 -9 SPINDLE SPEED FUNCTION (S FUNCTION)The spindle speed can be controlled by specifying a value followingaddress S.9.1 SPECIFYING THE SPINDLE SPEED WITH A CODE9.2 CONSTANT SURFACE S...

  • Page 249

    B-63784EN/01 PROGRAMMING 9.SPINDLE SPEED FUNCTION (S FUNCTION)- 225 -9.1 SPECIFYING THE SPINDLE SPEED WITH A CODEWhen a value is specified after address S, the code signal and strobesignal are sent to the machine to control the spindle...

  • Page 250

    9.SPINDLE SPEED FUNCTION (S FUNCTION) PROGRAMMING B-63784EN/01- 226 -9.2 CONSTANT SURFACE SPEED CONTROL (G96, G97)Specify the surface speed (relative speed between the tool andworkpiece) following S. The spindle is rotated so that the surfacespeed ...

  • Page 251

    B-63784EN/01 PROGRAMMING 9.SPINDLE SPEED FUNCTION (S FUNCTION)- 227 -im/min j‚Ì ”’l‚ªˆê’vThe spindle speed (min-1) almost coincideswith the surface speed (m/min) at approx.160 mm (radius).spindle speed (min-1)radius (mm)S...

  • Page 252

    9.SPINDLE SPEED FUNCTION (S FUNCTION) PROGRAMMING B-63784EN/01- 228 -- Setting the workpiece coordinate system for constant surface speed controlTo execute the constant surface speed control, it is necessary to set thework coordinate system , and so...

  • Page 253

    B-63784EN/01 PROGRAMMING 9.SPINDLE SPEED FUNCTION (S FUNCTION)- 229 -- Position coder-less feed per revolution and constant surface speed controlThese functions are enabled when bit 6 (FPR) of parameter No. 2405 isset to 1.On a machine...

  • Page 254

    9.SPINDLE SPEED FUNCTION (S FUNCTION) PROGRAMMING B-63784EN/01- 230 -Limitation- Constant surface speed control for threadingThe constant surface speed control is also effective during threading.If face threading or taper threading is performed in G...

  • Page 255

    B-63784EN/01 PROGRAMMING 9.SPINDLE SPEED FUNCTION (S FUNCTION)- 231 -9.3 SPINDLE POSITIONING FUNCTIONTurning is described as follows: The spindle connected to the spindlemotor is rotated at a certain speed. As a result, the workpiece...

  • Page 256

    9.SPINDLE SPEED FUNCTION (S FUNCTION) PROGRAMMING B-63784EN/01- 232 -Fig.9.3 spindle control system- Least command increment(detection unit)The table below indicates the least command increment for a spindlepositioning axis.Table9.3 Least command ...

  • Page 257

    B-63784EN/01 PROGRAMMING 9.SPINDLE SPEED FUNCTION (S FUNCTION)- 233 -9.3.1 Spindle PositioningExplanationThere are two programming methods: indexing at an arbitrary angle,and indexing at a semi-fixed angle.- Indexing at a semi-fixed an...

  • Page 258

    9.SPINDLE SPEED FUNCTION (S FUNCTION) PROGRAMMING B-63784EN/01- 234 -9.3.2 OrientationOrientation must be performed before:- the spindle is positioned (indexed) for the first time after thespindle is used in normal machining.- the positioning of the...

  • Page 259

    B-63784EN/01 PROGRAMMING 9.SPINDLE SPEED FUNCTION (S FUNCTION)- 235 -9.3.3 Canceling the Spindle Positioning ModeExplanationThe mode can be switched from spindle positioning mode to spindlerotation mode (with positioning cancelled) by ...

  • Page 260

    9.SPINDLE SPEED FUNCTION (S FUNCTION) PROGRAMMING B-63784EN/01- 236 -NOTE11 The spindle positioning function is enabled only whenthe number of position coder pulses is 4096, and thegear ratio between the spindle and position coder isas follows: 1 :...

  • Page 261

    B-63784EN/01 PROGRAMMING 9.SPINDLE SPEED FUNCTION (S FUNCTION)- 237 -9.4 SPINDLE SPEED FLUCTUATION DETECTION (G26, G25)GeneralIf the actual spindle speed becomes lower or higher than that specifiedbecause of the condition of the machin...

  • Page 262

    9.SPINDLE SPEED FUNCTION (S FUNCTION) PROGRAMMING B-63784EN/01- 238 -Command addressParameter numberQ5701R5702I5721P5722If any of the P, Q, R, and I command addresses is omitted, spindlespeed fluctuation detection is performed with the value set in ...

  • Page 263

    B-63784EN/01 PROGRAMMING 9.SPINDLE SPEED FUNCTION (S FUNCTION)- 239 -NOTEEven when the conditions for issuing an alarmrelated to spindle speed fluctuation detection havenot been satisfied in spindle speed detectionenabled mode (G26), a...

  • Page 264

    9.SPINDLE SPEED FUNCTION (S FUNCTION) PROGRAMMING B-63784EN/01- 240 -2) Analog spindleGS4sGS2sGS1sMaximum spindle speed parameter000No.5621001No.5622010No.5623011No.5624100No.5625101No.5626110No.5627111No.5628 - Actual spindle speedThe actual spin...

  • Page 265

    B-63784EN/01 PROGRAMMING 9.SPINDLE SPEED FUNCTION (S FUNCTION)- 241 -- Examples of alarms issued for spindle speed fluctuation detection1) Example where an alarm is issued after the specified spindle speedis reached2) Example in whic...

  • Page 266

    9.SPINDLE SPEED FUNCTION (S FUNCTION) PROGRAMMING B-63784EN/01- 242 - - System with more than one spindleIn a system with more than one spindle, spindle speed fluctuationdetection is performed for the spindle described below.1) If the system has n...

  • Page 267

    B-63784EN/01 PROGRAMMING 10.TOOL FUNCTION (T FUNCTION)- 243 -10 TOOL FUNCTION (T FUNCTION)Two tool functions are available. One is the tool selection function, andthe other is the tool life management function.

  • Page 268

    10.TOOL FUNCTION (T FUNCTION) PROGRAMMING B-63784EN/01- 244 -10.1 TOOL SELECTION FUNCTIONBy specifying an up to 10-digit numerical value following address T,tools can be selected on the machine.One T code can be commanded in a bloc...

  • Page 269

    B-63784EN/01 PROGRAMMING 10.TOOL FUNCTION (T FUNCTION)- 245 -10.2 TOOL LIFE MANAGEMENT FUNCTIONTools are classified into various groups, with the tool life (time orfrequency of use) for each group being specified.The function of accumulat...

  • Page 270

    10.TOOL FUNCTION (T FUNCTION) PROGRAMMING B-63784EN/01- 246 -10.2.1 Tool Life Management DataTool life management data consists of tool group numbers, toolnumbers, codes specifying tool compensation values, and tool lifevalue.Explanations- Tool group n...

  • Page 271

    B-63784EN/01 PROGRAMMING 10.TOOL FUNCTION (T FUNCTION)- 247 -10.2.2 Register, Change and Delete of Tool Life Management DataIn a program, tool life management data can be registered in the CNCunit, and registered tool life management data...

  • Page 272

    10.TOOL FUNCTION (T FUNCTION) PROGRAMMING B-63784EN/01- 248 -- Addition and change of tool life management dataFormatMeaning of commandG10L3P1;P-L-;T-H-D-;T-H-D-; :P-L-;T-H-D-;T-H-D-; :G11;M02(M30);G10L3P1: Addition and change of groupP-: Group numberL...

  • Page 273

    B-63784EN/01 PROGRAMMING 10.TOOL FUNCTION (T FUNCTION)- 249 -Life valuesA life value can be registered as either a time or frequency, by using bit3 (LTM) of parameter No. 7400 or setting the corresponding count type(with the Q command). ...

  • Page 274

    10.TOOL FUNCTION (T FUNCTION) PROGRAMMING B-63784EN/01- 250 -10.2.3 Tool Life Management Command in a Machining ProgramExplanations- CommandThe following command is used for tool life management:Txxxxxxxx ; Specifies a tool group number.The tool life ...

  • Page 275

    B-63784EN/01 PROGRAMMING 10.TOOL FUNCTION (T FUNCTION)- 251 -- TypesFor tool life management, the four tool change types (types A to D)indicated below are available. The type used varies from one machineto another. For details, refer to ...

  • Page 276

    10.TOOL FUNCTION (T FUNCTION) PROGRAMMING B-63784EN/01- 252 -Example- Tool change method AA tool group command (T code) specified in a block containing the toolchange command (M06) functions as a command for returning the toolto the magazine. By speci...

  • Page 277

    B-63784EN/01 PROGRAMMING 10.TOOL FUNCTION (T FUNCTION)- 253 -- Tool change methods B and CA tool group command (T code) specified in a block containing the toolchange command (M06) functions as a tool group number commandthat performs lif...

  • Page 278

    10.TOOL FUNCTION (T FUNCTION) PROGRAMMING B-63784EN/01- 254 -- Tool change method DThe life of the tool selected with a tool group command (T code) iscounted with the tool change command (M06) specified in the sameblock. If the T command is not specif...

  • Page 279

    B-63784EN/01 PROGRAMMING 10.TOOL FUNCTION (T FUNCTION)- 255 -10.2.4 Tool Service Life Count and Tool SelectionA count-based or time-based tool service life count system is selectedusing bit 3 (LTM) of parameter No. 7400. Service life cou...

  • Page 280

    10.TOOL FUNCTION (T FUNCTION) PROGRAMMING B-63784EN/01- 256 -- Time specification (LTM = 1)Once all the registered tool life management data has been deleted,programmed tool life management data is registered.When a tool group command (T code) is speci...

  • Page 281

    B-63784EN/01 PROGRAMMING 10.TOOL FUNCTION (T FUNCTION)- 257 -10.2.5 Tool Life Count Restart M CodeExplanationsWhen the life count type is frequency, a tool-change signal is output ifat least one tool group has expired when the tool life c...

  • Page 282

    11.AUXILIARY FUNCTION PROGRAMMING B-63784EN/01- 258 -11 AUXILIARY FUNCTIONGeneralThere are two types of auxiliary functions ; miscellaneous function (Mcode) for specifying spindle start, spindle stop program end, and so on,and seco...

  • Page 283

    B-63784EN/01 PROGRAMMING 11.AUXILIARY FUNCTION- 259 -11.1 AUXILIARY FUNCTION (M FUNCTION)When a numeral is specified following address M, code signal and astrobe signal are sent to the machine. The machine uses these sign...

  • Page 284

    11.AUXILIARY FUNCTION PROGRAMMING B-63784EN/01- 260 -NOTEThe block following M00, M01, M02, or M30 is notpre-read (buffered). Similarly, eight M codes which donot buffer can be set by parameters (Nos. 2411 to2418). Refer to the ma...

  • Page 285

    B-63784EN/01 PROGRAMMING 11.AUXILIARY FUNCTION- 261 -11.2 MULTIPLE M COMMANDS IN A SINGLE BLOCKIn general, only one M code can be specified in a block. However, upto five M codes can be specified at once in a block. Up to...

  • Page 286

    11.AUXILIARY FUNCTION PROGRAMMING B-63784EN/01- 262 -11.3 SECOND AUXILIARY FUNCTIONSWhen a numeric value is specified after address B, the code signal andstrobe signal are output. This code is held until the next B code isoutput. A...

  • Page 287

    B-63784EN/01 PROGRAMMING 12.PROGRAM CONFIGURATION- 263 -12 PROGRAM CONFIGURATIONGeneral- Main program and subprogramThere are two program types, main program and subprogram.Normally, the CNC operates according to the main program. H...

  • Page 288

    12.PROGRAM CONFIGURATION PROGRAMMING B-63784EN/01- 264 -- Program componentsA program consists of the following components:Table12 Program componentsComponentsDescriptionsFile startSymbol indicating the start of a program fileLeader sectionUsed ...

  • Page 289

    B-63784EN/01 PROGRAMMING 12.PROGRAM CONFIGURATION- 265 -12.1 PROGRAM SECTION CONFIGURATIONThis section describes elements of a program section.See II-12.4 for program components other than program sections.Fig.12.1 (a) Program confi...

  • Page 290

    12.PROGRAM CONFIGURATION PROGRAMMING B-63784EN/01- 266 -At the head of a block, a sequence number consisting of address Nfollowed by a number not longer than eight digits (1 to 99999999) canbe placed. Sequence numbers can be specified in a random...

  • Page 291

    B-63784EN/01 PROGRAMMING 12.PROGRAM CONFIGURATION- 267 -FunctionAddressMeaningX,Y,Z,U,V,W,A,B,C Coordinate axis move commandI,J,KCoordinate of the arc centerDimension wordRArc radiusFeed functionFRate of feed per minute,Rate of feed ...

  • Page 292

    12.PROGRAM CONFIGURATION PROGRAMMING B-63784EN/01- 268 -Table12.1 (c) Major addresses and ranges of command valuesFunctionAddressInput in mmInput in inchProgram numberO*11 to 999999991 to 99999999Sequence numberN1 to 999999991 to 99999999Prepara...

  • Page 293

    B-63784EN/01 PROGRAMMING 12.PROGRAM CONFIGURATION- 269 -*3 When a millimeter machine is used with inch input, themaximum specifiable range of a dimension word is asfollows:Increment systemThe maximum specifiable rangeIS-A±39370.078i...

  • Page 294

    12.PROGRAM CONFIGURATION PROGRAMMING B-63784EN/01- 270 - CAUTION1 Position of a slashA slash (/) must be specified at the head of a block. Ifa slash is placed elsewhere, the information from theslash to immediately before the EOB code is ignored....

  • Page 295

    B-63784EN/01 PROGRAMMING 12.PROGRAM CONFIGURATION- 271 -12.2 SUBPROGRAM (M98, M99)If a program contains a fixed sequence or frequently repeated pattern,such a sequence or pattern can be stored as a subprogram in memory tosimplify the...

  • Page 296

    12.PROGRAM CONFIGURATION PROGRAMMING B-63784EN/01- 272 -A single call command can repeatedly call a subprogram up to 9999times.For compatibility with automatic programming systems, in the firstblock, Nxxxx can be used instead of a subprogram numb...

  • Page 297

    B-63784EN/01 PROGRAMMING 12.PROGRAM CONFIGURATION- 273 -Special Usage- Specifying the sequence number for the return destination in the main programIf P is used to specify a sequence number when a subprogram isterminated, control doe...

  • Page 298

    12.PROGRAM CONFIGURATION PROGRAMMING B-63784EN/01- 274 -- Using a subprogram onlyA subprogram can be executed just like a main program by searchingfor the start of the subprogram with the MDI. (See Operation II-10.3-for information about search ...

  • Page 299

    B-63784EN/01 PROGRAMMING 12.PROGRAM CONFIGURATION- 275 -12.3 PROGRAM NUMBERThe 8-digit program number function enables specification of programnumbers with eight digits following address O (1 to 99999999).Explanation- Disabling editi...

  • Page 300

    12.PROGRAM CONFIGURATION PROGRAMMING B-63784EN/01- 276 -12.4 PROGRAM COMPONENTS OTHER THAN PROGRAMSECTIONSThis section describes program components other than programsections. See Operation II-12.1 for a program section.Fig.12.4 Program configu...

  • Page 301

    B-63784EN/01 PROGRAMMING 12.PROGRAM CONFIGURATION- 277 -- Program startThe program start code is to be entered immediately after a leadersection, that is, immediately before a program section.This code indicates the start of a progra...

  • Page 302

    12.PROGRAM CONFIGURATION PROGRAMMING B-63784EN/01- 278 -- File endA 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 d...

  • Page 303

    B-63784EN/01 PROGRAMMING 12.PROGRAM CONFIGURATION- 279 -12.5 EXTERNAL DEVICE SUBPROGRAM CALL (M198)During memory operation, subprograms registered in an externaldevice (such as Handy File, data server, and so forth) connected to theC...

  • Page 304

    12.PROGRAM CONFIGURATION PROGRAMMING B-63784EN/01- 280 -NOTE3 External device subprograms can be called onlyduring memory operation. If an attempt is made tocall an external device subprogram in other thanmemory mode, an alarm (PS0081) is output...

  • Page 305

    B-63784EN/01 PROGRAMMING 13.FUNCTIONS TO SIMPLIFY PROGRAMMING- 281 -13 FUNCTIONS TO SIMPLIFY PROGRAMMINGThis chapter explains the following items:13.1 CANNED CYCLE13.2 RIGID TAPPING13.3 EXTERNAL MOTION FUNCTION13.4 OPTIONAL ANGLE CHAMFE...

  • Page 306

    13.FUNCTIONS TO SIMPLIFY PROGRAMMING PROGRAMMING B-63784EN/01- 282 -13.1 CANNED CYCLECanned 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...

  • Page 307

    B-63784EN/01 PROGRAMMING 13.FUNCTIONS TO SIMPLIFY PROGRAMMING- 283 -ExplanationA canned cycle consists of a sequence of six operations (Fig. 13.1 (a))Operation 1 ..... Positioning of axes X and Y (including also another axis)Operati...

  • Page 308

    13.FUNCTIONS TO SIMPLIFY PROGRAMMING PROGRAMMING B-63784EN/01- 284 -- Drilling axisAlthough canned cycles include tapping and boring cycles as well asdrilling cycles, in this chapter, only the term drilling will be used torefer to operations implement...

  • Page 309

    B-63784EN/01 PROGRAMMING 13.FUNCTIONS TO SIMPLIFY PROGRAMMING- 285 -- Travel distance along the drilling axis G90/G91The travel distance along the drilling axis varies for G90 and G91 asfollows:Z=0RZPoint RPoint ZG90 (Absolute Command)R...

  • Page 310

    13.FUNCTIONS TO SIMPLIFY PROGRAMMING PROGRAMMING B-63784EN/01- 286 -- Return point level G98/G99When 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 G98and G99.The...

  • Page 311

    B-63784EN/01 PROGRAMMING 13.FUNCTIONS TO SIMPLIFY PROGRAMMING- 287 -- Symbols in figuresSubsequent sections explain the individual canned cycles. Figures inthese explanations use the following symbols:Positioning (rapid traverse G00)Cu...

  • Page 312

    13.FUNCTIONS TO SIMPLIFY PROGRAMMING PROGRAMMING B-63784EN/01- 288 -13.1.1 High-speed Peck Drilling Cycle (G73)This cycle performs high-speed peck drilling.It performs intermittent cutting feed to the bottom of a hole whileremoving chips from the hole...

  • Page 313

    B-63784EN/01 PROGRAMMING 13.FUNCTIONS TO SIMPLIFY PROGRAMMING- 289 -- Miscellaneous functionWhen the G73 code and an M code are specified in the same block, theM code is executed at the time of the first positioning operation. WhenL is...

  • Page 314

    13.FUNCTIONS TO SIMPLIFY PROGRAMMING PROGRAMMING B-63784EN/01- 290 -13.1.2 Left-handed Tapping Cycle (G74)This cycle performs left-handed tapping.In the left-handed tapping cycle, when the bottom of the hole has beenreached, the spindle rotates clockw...

  • Page 315

    B-63784EN/01 PROGRAMMING 13.FUNCTIONS TO SIMPLIFY PROGRAMMING- 291 -- Spindle rotationBefore G74 is specified, turn the spindle in the reverse direction with amiscellaneous function (M code).When successive hole machining operations whi...

  • Page 316

    13.FUNCTIONS TO SIMPLIFY PROGRAMMING PROGRAMMING B-63784EN/01- 292 -ExampleM4 S100 ;Cause the spindle to start rotating.G90 G99 G74 X300. Y-250. Z-150. R -120. F120. ;Position, tapping hole 1, then return to point R.Y-550. ;Position, tapping hole 2, t...

  • Page 317

    B-63784EN/01 PROGRAMMING 13.FUNCTIONS TO SIMPLIFY PROGRAMMING- 293 -13.1.3 Fine Boring Cycle (G76)The fine boring cycle bores a hole precisely.When the bottom of the hole has been reached, the spindle stops, andthe tool is moved away fr...

  • Page 318

    13.FUNCTIONS TO SIMPLIFY PROGRAMMING PROGRAMMING B-63784EN/01- 294 -- Miscellaneous functionWhen the G76 command and an M code are specified in the same block,the M code is executed at the time of the first positioning operation.When L is used to spec...

  • Page 319

    B-63784EN/01 PROGRAMMING 13.FUNCTIONS TO SIMPLIFY PROGRAMMING- 295 -Limitation- Axis switchingBefore the drilling axis can be changed, the canned cycle must becanceled.- DrillingIn a block that does not contain X, Y, Z, R, or any additi...

  • Page 320

    13.FUNCTIONS TO SIMPLIFY PROGRAMMING PROGRAMMING B-63784EN/01- 296 -13.1.4 Drilling Cycle, Spot Drilling (G81)This cycle is used for normal drilling.Cutting feed is performed to the bottom of the hole. The tool is thenretracted from the bottom of the...

  • Page 321

    B-63784EN/01 PROGRAMMING 13.FUNCTIONS TO SIMPLIFY PROGRAMMING- 297 -- Tool length compensationWhen a tool length offset (G43, G44, or G49) is specified in the cannedcycle, the offset is applied at the time of positioning to point R.Rest...

  • Page 322

    13.FUNCTIONS TO SIMPLIFY PROGRAMMING PROGRAMMING B-63784EN/01- 298 -13.1.5 Drilling Cycle Counter Boring Cycle (G82)This cycle is used for normal drilling.Cutting feed is performed to the bottom of the hole. At the bottom, adwell is performed, then t...

  • Page 323

    B-63784EN/01 PROGRAMMING 13.FUNCTIONS TO SIMPLIFY PROGRAMMING- 299 -- Tool length compensationWhen a tool length offset (G43, G44, or G49) is specified in the cannedcycle, the offset is applied at the time of positioning to point R.Rest...

  • Page 324

    13.FUNCTIONS TO SIMPLIFY PROGRAMMING PROGRAMMING B-63784EN/01- 300 -13.1.6 Peck Drilling Cycle (G83)This cycle performs peck drilling.It performs intermittent cutting feed to the bottom of a hole whileremoving shavings from the hole.FormatG83(G98)G83(...

  • Page 325

    B-63784EN/01 PROGRAMMING 13.FUNCTIONS TO SIMPLIFY PROGRAMMING- 301 -- Tool length compensationWhen a tool length offset (G43, G44, or G49) is specified in the cannedcycle, the offset is applied at the time of positioning to point R.Limi...

  • Page 326

    13.FUNCTIONS TO SIMPLIFY PROGRAMMING PROGRAMMING B-63784EN/01- 302 -13.1.7 Tapping Cycle (G84)This cycle performs tapping.In this tapping cycle, when the bottom of the hole has been reached, thespindle is rotated in the reverse direction.FormatG84(G98...

  • Page 327

    B-63784EN/01 PROGRAMMING 13.FUNCTIONS TO SIMPLIFY PROGRAMMING- 303 -- Spindle rotationBefore G84 is specified, turn the spindle in the reverse direction with amiscellaneous function (M code).When successive hole machining operations whi...

  • Page 328

    13.FUNCTIONS TO SIMPLIFY PROGRAMMING PROGRAMMING B-63784EN/01- 304 -ExampleM3 S100 ;Cause the spindle to start rotating.G90 G99 G84 X300. Y-250. Z-150. R-120. P300 F120. ;Position, drill hole 1, then return to point R.Y-550. ;Position, drill hole 2, t...

  • Page 329

    B-63784EN/01 PROGRAMMING 13.FUNCTIONS TO SIMPLIFY PROGRAMMING- 305 -13.1.8 Boring Cycle (G85)This cycle is used to bore a hole.FormatG85(G98)G85(G99)G85 X_ Y_ Z_ R_ F_ L_ ;X_ Y_: Hole position dataZ_: The distance from point R to the bo...

  • Page 330

    13.FUNCTIONS TO SIMPLIFY PROGRAMMING PROGRAMMING B-63784EN/01- 306 -- Tool length compensationWhen a tool length offset (G43, G44, or G49) is specified in the cannedcycle, the offset is applied at the time of positioning to point R.Limitation- Axis sw...

  • Page 331

    B-63784EN/01 PROGRAMMING 13.FUNCTIONS TO SIMPLIFY PROGRAMMING- 307 -13.1.9 Boring Cycle (G86)This cycle is used to bore a hole.FormatG86(G98)G86(G99)G86 X_ Y_ Z_ R_ F_ L_ ;X_ Y_: Hole position dataZ_: The distance from point R to the bo...

  • Page 332

    13.FUNCTIONS TO SIMPLIFY PROGRAMMING PROGRAMMING B-63784EN/01- 308 -- Miscellaneous functionWhen the G86 command and an M code are specified in the same block,the M code is executed at the time of the first positioning operation.When L is used to spec...

  • Page 333

    B-63784EN/01 PROGRAMMING 13.FUNCTIONS TO SIMPLIFY PROGRAMMING- 309 -13.1.10 Boring Cycle/Back Boring Cycle (G87)This cycle performs accurate boring.Format- Canned cycle I (boring cycle)G87(G98)G87(G99)G87 X_ Y_ Z_ R_ F_ L_ ;X_ Y_: Hole ...

  • Page 334

    13.FUNCTIONS TO SIMPLIFY PROGRAMMING PROGRAMMING B-63784EN/01- 310 -- Canned cycle II (back boring cycle)G87(G98)G87(G99)Spindle CWPoint RPoint ZqOSSOSSNot usedToolPSpindle CWShift amount qOriented spindle stopG87 X_ Y_ Z_ R_ I_ J_ P_ F_ L_ ; (when th...

  • Page 335

    B-63784EN/01 PROGRAMMING 13.FUNCTIONS TO SIMPLIFY PROGRAMMING- 311 -At point Z, the spindle is stopped at the fixed rotation position again,the tool is shifted in the direction opposite to the tool tip, then the tool isreturned to the i...

  • Page 336

    13.FUNCTIONS TO SIMPLIFY PROGRAMMING PROGRAMMING B-63784EN/01- 312 -G18 (ZpXp plane): To be specified by K and IG19 (YpZp plane): To be specified by J and KWhen the XY plane is selected, for example, a shift is made along theX-axis and Y-axis by lin...

  • Page 337

    B-63784EN/01 PROGRAMMING 13.FUNCTIONS TO SIMPLIFY PROGRAMMING- 313 -ExampleM3 S500 ;Cause the spindle to start rotating.G90 G87 X300. Y-250.Position, bore hole 1. Z-150. R-120. Q5. Orient at the initial level, then shift by 5 mm. P100...

  • Page 338

    13.FUNCTIONS TO SIMPLIFY PROGRAMMING PROGRAMMING B-63784EN/01- 314 -13.1.11 Boring Cycle (G88)This cycle is used to bore a hole.FormatG88(G98)G88(G99)G88 X_ Y_ Z_ R_ P_ F_ L_ ;X_ Y_: Hole position dataZ_: The distance from point R to the bottom of the...

  • Page 339

    B-63784EN/01 PROGRAMMING 13.FUNCTIONS TO SIMPLIFY PROGRAMMING- 315 -- Miscellaneous functionWhen the G88 command and an M code are specified in the same block,the M code is executed at the time of the first positioning operation.When L ...

  • Page 340

    13.FUNCTIONS TO SIMPLIFY PROGRAMMING PROGRAMMING B-63784EN/01- 316 -13.1.12 Boring Cycle (G89)This cycle is used to bore a hole.FormatPoint R levelG89(G98)G89(G99)G89 X_ Y_ Z_ R_ P_ F_ L_ ;X_ Y_: Hole position dataZ_ : The distance from point R ...

  • Page 341

    B-63784EN/01 PROGRAMMING 13.FUNCTIONS TO SIMPLIFY PROGRAMMING- 317 -Limitation- Axis switchingBefore the drilling axis can be changed, the canned cycle must becanceled.- DrillingIn a block that does not contain X, Y, Z, R, or any other ...

  • Page 342

    13.FUNCTIONS TO SIMPLIFY PROGRAMMING PROGRAMMING B-63784EN/01- 318 -13.1.13 Canned Cycle Cancel (G80)G80 cancels canned cycles.FormatG80 ;ExplanationAll canned cycles are canceled to perform normal operation.This means that R = 0 and Z = 0 in incremen...

  • Page 343

    B-63784EN/01 PROGRAMMING 13.FUNCTIONS TO SIMPLIFY PROGRAMMING- 319 -13.1.14 Example of Canned CycleOffset 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.31N001G92X0Y0Z0;Coordinate sett...

  • Page 344

    13.FUNCTIONS TO SIMPLIFY PROGRAMMING PROGRAMMING B-63784EN/01- 320 -# 11 to 13 Boring of a 95mm diameter hole(depth 50 mm)400150250250150YXXZT 11T 15T 31#1#11#7#3#2#8#13#12#10#9#6#5#4# 1 to 6Drilling of a 10mm diameter hole# 7 to 10Drilling of a 20mm ...

  • Page 345

    B-63784EN/01 PROGRAMMING 13.FUNCTIONS TO SIMPLIFY PROGRAMMING- 321 -13.2 RIGID TAPPINGIn tapping, an amount of travel per spindle revolution along the Z-axismust match the screw pitch of the tapper. This means that the optimumtapping m...

  • Page 346

    13.FUNCTIONS TO SIMPLIFY PROGRAMMING PROGRAMMING B-63784EN/01- 322 -13.2.1 Rigid Tapping (G84.2)When the spindle motor is controlled as if it were a servo motor, atapping cycle can be sped up.The only difference from the reverse rigid tapping cycle (G...

  • Page 347

    B-63784EN/01 PROGRAMMING 13.FUNCTIONS TO SIMPLIFY PROGRAMMING- 323 -- Thread leadIn feed-per-minute mode, the thread lead is obtained from theexpression, feedrate y spindle speed. In feed-per-revolution mode, thethread lead equals the ...

  • Page 348

    13.FUNCTIONS TO SIMPLIFY PROGRAMMING PROGRAMMING B-63784EN/01- 324 -- Feedrate commandAs indicated in the table below, the function of an F command with adecimal point depends on the setting of bit 3 (RFA) of parameter No.6201 and bit 7 (RFE) of param...

  • Page 349

    B-63784EN/01 PROGRAMMING 13.FUNCTIONS TO SIMPLIFY PROGRAMMING- 325 -13.2.2 Left-handed Rigid Tapping Cycle (G84.3)When the spindle motor is controlled as if it were a servo motor,tapping cycles can be sped up.The only difference from th...

  • Page 350

    13.FUNCTIONS TO SIMPLIFY PROGRAMMING PROGRAMMING B-63784EN/01- 326 -- Tool length compensationIf a tool length offset (G43, G44, or G49) is specified in the cannedcycle, the offset is applied at the time of positioning to point R.Limitation- Axis swit...

  • Page 351

    B-63784EN/01 PROGRAMMING 13.FUNCTIONS TO SIMPLIFY PROGRAMMING- 327 - CAUTIONFor inch inputs, an F command with no decimal pointis assumed to have a decimal point in between itssecond and third places as counted from the lowestplace. No...

  • Page 352

    13.FUNCTIONS TO SIMPLIFY PROGRAMMING PROGRAMMING B-63784EN/01- 328 -13.2.3 Rigid tapping Orientation FunctionBefore performing rigid tapping, the spindle can be oriented.FormatExplanationAfter positioning along the X-axis and Y-axis, movement is made ...

  • Page 353

    B-63784EN/01 PROGRAMMING 13.FUNCTIONS TO SIMPLIFY PROGRAMMING- 329 -- Orientation operation and speed1. For an analog spindleWhen orientation is specified, movement starts at the rapid traverserate set in parameter No. 5977. Then, upon...

  • Page 354

    13.FUNCTIONS TO SIMPLIFY PROGRAMMING PROGRAMMING B-63784EN/01- 330 -13.2.4 Peck Rigid Tapping Cycle (G84 or G74)Tapping a deep hole in rigid tapping mode may be difficult due to chipssticking to the tool or increased cutting resistance. In such cases...

  • Page 355

    B-63784EN/01 PROGRAMMING 13.FUNCTIONS TO SIMPLIFY PROGRAMMING- 331 -- Retraction feedrateTo the feedrate used for each retraction operation, an override valuefrom 1% to 200% can be applied by using parameter No. 5883.During rigid tappin...

  • Page 356

    13.FUNCTIONS TO SIMPLIFY PROGRAMMING PROGRAMMING B-63784EN/01- 332 -13.2.5 Three-dimensional rigid tappingWhen the machine is provided with axes for swiveling the tool, thisfunction allows rigid tapping in the direction in which the tool ispointing a...

  • Page 357

    B-63784EN/01 PROGRAMMING 13.FUNCTIONS TO SIMPLIFY PROGRAMMING- 333 -Fig. 13.2.5 Three-dimensional rigid tappingBAZZ’YY’X’XY’X’#4#4#4#4#3#3#3#3#1#1#1#1#2#2#2#2

  • Page 358

    13.FUNCTIONS TO SIMPLIFY PROGRAMMING PROGRAMMING B-63784EN/01- 334 -13.3 EXTERNAL MOTION FUNCTION (G81)Upon completion of positioning in each block in the program, anexternal operation function signal can be output to allow the machine toperform speci...

  • Page 359

    B-63784EN/01 PROGRAMMING 13.FUNCTIONS TO SIMPLIFY PROGRAMMING- 335 -13.4 OPTIONAL ANGLE CHAMFERING AND CORNERROUNDINGChamfering and corner rounding blocks can be inserted automaticallybetween the following:- Between linear interpolation...

  • Page 360

    13.FUNCTIONS TO SIMPLIFY PROGRAMMING PROGRAMMING B-63784EN/01- 336 -- Corner RAfter R, specify the radius for corner rounding.(1) G91 G01 X100.0 ,R10.0 ;(2) X100.0 Y100.0 ;Center of a circle with radius RRRadius R block to beinsertedFig.13.4 (b) Corn...

  • Page 361

    B-63784EN/01 PROGRAMMING 13.FUNCTIONS TO SIMPLIFY PROGRAMMING- 337 -- Coordinate systemIn a block that comes immediately after the coordinate system ischanged (G92, or G52 to G59) or a return to the reference position(G28 to G30) is spe...

  • Page 362

    13.FUNCTIONS TO SIMPLIFY PROGRAMMING PROGRAMMING B-63784EN/01- 338 -ExampleN001 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...

  • Page 363

    B-63784EN/01 PROGRAMMING 13.FUNCTIONS TO SIMPLIFY PROGRAMMING- 339 -13.5 PROGRAMMABLE MIRROR IMAGE (G50.1, G51.1)By a programmed command, the mirror image function can be used foreach axis.Y1006050050X60100(1)(2)(3)(4)Axis of symmetry (...

  • Page 364

    13.FUNCTIONS TO SIMPLIFY PROGRAMMING PROGRAMMING B-63784EN/01- 340 -Explanation- Mirror image by settingIf the programmable mirror image function is specified when thecommand for producing a mirror image is also selected by a CNCexternal switch or CNC...

  • Page 365

    B-63784EN/01 PROGRAMMING 13.FUNCTIONS TO SIMPLIFY PROGRAMMING- 341 -- Three-dimensional cutter compensation / tool center point controlIn mirror operation, there must be no conflict between the linear axesand rotation axes.Firstquadrant...

  • Page 366

    13.FUNCTIONS TO SIMPLIFY PROGRAMMING PROGRAMMING B-63784EN/01- 342 -- Three-dimensional coordinate conversionWhen three-dimensional coordinate conversion and programmablemirror image are used at the same time, programmable mirror image isapplied to th...

  • Page 367

    B-63784EN/01 PROGRAMMING 13.FUNCTIONS TO SIMPLIFY PROGRAMMING- 343 -Additional programmable mirror image functions•A programmable mirror image will not be cleared with a reset (ifbit 0 of parameter No. 6401 is 1).•An alarm will be i...

  • Page 368

    13.FUNCTIONS TO SIMPLIFY PROGRAMMING PROGRAMMING B-63784EN/01- 344 -13.6 INDEX TABLE INDEXING FUNCTIONBy specifying indexing positions (angles) for the indexing axis (onearbitrary axis), the index table of the machining center can be indexed.Before an...

  • Page 369

    B-63784EN/01 PROGRAMMING 13.FUNCTIONS TO SIMPLIFY PROGRAMMING- 345 -- Indexing directionIf a value other than 0 is set in the M code for specifying negativedirection rotation (parameter No.7632), movement in the negativedirection is mad...

  • Page 370

    13.FUNCTIONS TO SIMPLIFY PROGRAMMING PROGRAMMING B-63784EN/01- 346 -ItemExplanationOperation during index table indexingaxis movementUnless otherwise processed by the machine, feed hold, interlock, andemergency stop can be executed during index table ...

  • Page 371

    B-63784EN/01 PROGRAMMING 13.FUNCTIONS TO SIMPLIFY PROGRAMMING- 347 -13.7 FIGURE COPY (G72.1,G72.2)Machining can be repeated after moving or rotating the figure using asubprogram.Format- Rotational copyXp-Yp plane (specified by G17) : G7...

  • Page 372

    13.FUNCTIONS TO SIMPLIFY PROGRAMMING PROGRAMMING B-63784EN/01- 348 -- Linear copyXp-Yp plane (specified by G17) : G72.2 P_ L_ I_ J_ ;Zp-Xp plane (specified by G18) : G72.2 P_ L_ K_ I_ ;Yp-Zp plane (specified by G19) : G72.2 P_ L_ J_ K_;P : Subprogram ...

  • Page 373

    B-63784EN/01 PROGRAMMING 13.FUNCTIONS TO SIMPLIFY PROGRAMMING- 349 -- Block end positionThe coordinates of a figure moved rotationally or linearly (block endposition) can be read from #5001 and subsequent system variables ofthe custom m...

  • Page 374

    13.FUNCTIONS TO SIMPLIFY PROGRAMMING PROGRAMMING B-63784EN/01- 350 -Limitation- Specifying two or more commands to copy a figureG72.1 cannot be specified more than once in a subprogram for makinga rotational copy (If this is attempted, alarm PS0900 wi...

  • Page 375

    B-63784EN/01 PROGRAMMING 13.FUNCTIONS TO SIMPLIFY PROGRAMMING- 351 -Example- Rotational copyMain programO1000 ;N10 G90 G00 X80. Y100. ;N20 Y50. ;(P0)N30 G01 G17 G42 X43.301 Y25. D01 F100 ; (P1)N40 G72.1 P1100 L3 X0 Y0 R120. ;N50 G90 G40...

  • Page 376

    13.FUNCTIONS TO SIMPLIFY PROGRAMMING PROGRAMMING B-63784EN/01- 352 -- Rotational copy (Spot boring)Main programO2000 ;N10 G90 G00 G17 X250. Y100. Z100. ; (P0)N20 G72.1 P2100 L6 X100. Y50. R60. ;N30 G80 G00 X250. Y100. ; (P0)N40 M30 ;Sub programO2100 N...

  • Page 377

    B-63784EN/01 PROGRAMMING 13.FUNCTIONS TO SIMPLIFY PROGRAMMING- 353 -- Linear copyMain programO3000 ;N10 G90 G00 X-30. Y0 ;N20 X0 ;N30 G01 G17 G41 X30. D01 F100 ; (P0)N40 Y20. ; (P1)N50 X40. ; (P2)N60 G72.2 P3100 L3 I90.0 J0 ;N70 G90 X31...

  • Page 378

    13.FUNCTIONS TO SIMPLIFY PROGRAMMING PROGRAMMING B-63784EN/01- 354 -- Combination of rotational copying and linear copying (Bolt hole circle)Main programO4000 ;N10 G90 G00 G17 X240. Y230. Z100. ; (P0)N20 G72.1 P4100 X120. Y120. L8 R45. ;N30 G80 G00 X...

  • Page 379

    B-63784EN/01 PROGRAMMING 13.FUNCTIONS TO SIMPLIFY PROGRAMMING- 355 -13.8 NORMAL DIRECTION CONTROL (G40.1, G41.1, G42.1)When a tool with a rotation axis (C-axis) is moved in the XY planeduring cutting, the normal direction control functi...

  • Page 380

    13.FUNCTIONS TO SIMPLIFY PROGRAMMING PROGRAMMING B-63784EN/01- 356 -Fig.13.8 (b) Normal direction control left (G41.1) Fig.13.8 (c) Normal direction control right (G42.1)Explanation- Angle of the C axisWhen viewed from the center of r...

  • Page 381

    B-63784EN/01 PROGRAMMING 13.FUNCTIONS TO SIMPLIFY PROGRAMMING- 357 -for rotation of the tool and a command for movement along the X- andY-axes. A single-block stop always occurs after the tool is movedalong the X- and Y-axes.Fig.13.8 (...

  • Page 382

    13.FUNCTIONS TO SIMPLIFY PROGRAMMING PROGRAMMING B-63784EN/01- 358 -- C axis feedrateMovement of the tool inserted at the beginning of each block isexecuted at the feedrate set in parameter 1472. If dry run mode is on atthat time, the dry run feedrat...

  • Page 383

    B-63784EN/01 PROGRAMMING 13.FUNCTIONS TO SIMPLIFY PROGRAMMING- 359 -13.9 THREE-DIMENSIONAL COORDINATE CONVERSION(G68,G69)Coordinate conversion about an axis can be carried out if the center ofrotation, direction of the axis of rotation,...

  • Page 384

    13.FUNCTIONS TO SIMPLIFY PROGRAMMING PROGRAMMING B-63784EN/01- 360 -NOTE1 Use absolute programming for Xp, Yp, and Zpspecified in G68.2 When only one rotation is sufficient, the second G68is not required.3 If the second G68 does not specify Xp, Yp, or...

  • Page 385

    B-63784EN/01 PROGRAMMING 13.FUNCTIONS TO SIMPLIFY PROGRAMMING- 361 -Programmed values Xp, Yp, and Zp in N3 are regarded as being thecoordinates in program coordinate system X", Y", and Z".Examble) G68 Xx0 Xy0 Zz0 10 JO K1...

  • Page 386

    13.FUNCTIONS TO SIMPLIFY PROGRAMMING PROGRAMMING B-63784EN/01- 362 -NOTEEven if bit 4 (D3R) of parameter No. 6400 is set to 1,G69 mode is assumed when program execution isrestarted.- Custom macro system variableIf the workpiece coordinates of the tool...

  • Page 387

    B-63784EN/01 PROGRAMMING 13.FUNCTIONS TO SIMPLIFY PROGRAMMING- 363 -X, Y ,Z:Coordinate system before conversion (workpiececoordinate system)X', Y' ,Z' :Coordinate system after conversion (programcoordinate system)ZXZ'X'YYWhen manual mov...

  • Page 388

    13.FUNCTIONS TO SIMPLIFY PROGRAMMING PROGRAMMING B-63784EN/01- 364 -- Indication of remaining amounts of travelBy setting bit 5 (D3D) of parameter No. 2208, the user can choosewhether a remaining amount of travel in three-dimensional coordinateconvers...

  • Page 389

    B-63784EN/01 PROGRAMMING 13.FUNCTIONS TO SIMPLIFY PROGRAMMING- 365 -Limitation- Increment systemNOTEThe same increment system must be used for all ofthe three basic axes used for three-dimensionalcoordinate conversion.- Diameter and rad...

  • Page 390

    13.FUNCTIONS TO SIMPLIFY PROGRAMMING PROGRAMMING B-63784EN/01- 366 -2)During three-dimensional coordinate conversion, specify absolutecommands for axes subjected to three-dimensional coordinateconversion after these modes are turned off. Then, specif...

  • Page 391

    B-63784EN/01 PROGRAMMING 13.FUNCTIONS TO SIMPLIFY PROGRAMMING- 367 -M1 and M2 are conversion matrices determined by an angulardisplacement and rotation axis. Generally, the matrices are expressedas shown below:úúúûùêêêëé−++...

  • Page 392

    13.FUNCTIONS TO SIMPLIFY PROGRAMMING PROGRAMMING B-63784EN/01- 368 -ExampleN1 G90 X0 Y0 Z0 ;(1)N2 G68 X10. Y0 Z0 I0 J1 K0 R30. ; (2)N3 G68 X0 Y-10. Z0 I0 J0 K1 R-90. ; (3)N4 G90 X0 Y0 Z0 ;(4)N5 X10. Y10. Z0 ; (5)(1) Carries out positioning to zero poi...

  • Page 393

    B-63784EN/01 PROGRAMMING 13.FUNCTIONS TO SIMPLIFY PROGRAMMING- 369 -- Programmable mirror imageWhen three-dimensional coordinate conversion and programmablemirror image are used at the same time, programmable mirror image isapplied to c...

  • Page 394

    13.FUNCTIONS TO SIMPLIFY PROGRAMMING PROGRAMMING B-63784EN/01- 370 -13.9.1 Three-dimensional Coordinate Conversion and Parallel AxisControlOverviewIf three-dimensional coordinate conversion is to be performed on amachine operating with parallel axis c...

  • Page 395

    B-63784EN/01 PROGRAMMING 13.FUNCTIONS TO SIMPLIFY PROGRAMMING- 371 -13.10 TILTED WORKING PLANE COMMANDOverviewProgramming for creating holes and pockets in a surface tilted from thedatum plane of a workpiece would be easy if commands ca...

  • Page 396

    13.FUNCTIONS TO SIMPLIFY PROGRAMMING PROGRAMMING B-63784EN/01- 372 -This function sets the direction normal to the cut surface as the +Z-axisdirection of the feature coordinate system. Once G53.1 is issued, thetool is kept perpendicular to the cut sur...

  • Page 397

    B-63784EN/01 PROGRAMMING 13.FUNCTIONS TO SIMPLIFY PROGRAMMING- 373 -This function is applicable to the following machine configurations.(See Fig.13.10(d).)<1> Tool rotation type machine controlled with two tool rotary axes<2>...

  • Page 398

    13.FUNCTIONS TO SIMPLIFY PROGRAMMING PROGRAMMING B-63784EN/01- 374 -Format - Feature coordinate system settingFormatG68.2 X x0 Y y0 Z z0 Iαααα Jββββ Kγγγγ ;Feature coordinate system settingG69 ;Cancels the feature coordinate system setting...

  • Page 399

    B-63784EN/01 PROGRAMMING 13.FUNCTIONS TO SIMPLIFY PROGRAMMING- 375 -Coordinate conversion in which an Euler's angle is usedCoordinate conversion by rotation is assumed to be performed aroundthe workpiece coordinate system origin.Let the...

  • Page 400

    13.FUNCTIONS TO SIMPLIFY PROGRAMMING PROGRAMMING B-63784EN/01- 376 -Tool rotation type machineThe following paragraphs describe several operations of a tool rotationtype machine. - Operation description 1:If G43 (tool length compensation) is issued on...

  • Page 401

    B-63784EN/01 PROGRAMMING 13.FUNCTIONS TO SIMPLIFY PROGRAMMING- 377 -Fig.13.10(f) shows the behavior of the machine when it is under controlof sample program 1.Workpiececoordinate systemX-Y-ZFeature coordinate systemXc-Yc-ZcN3 commandXYZ...

  • Page 402

    13.FUNCTIONS TO SIMPLIFY PROGRAMMING PROGRAMMING B-63784EN/01- 378 - - Operation description 2:If G43 (tool length compensation) is issued on a machine with no axis crossinganotherIn this example, no axis crosses another.Let us see how sample program ...

  • Page 403

    B-63784EN/01 PROGRAMMING 13.FUNCTIONS TO SIMPLIFY PROGRAMMING- 379 -XYZXcYcZcXcYcZcXcYcZcXcYcZcXcYcZcThe intersection offset vector between the toolaxis and the B-axis with automatic control forrotary axes taken into consideration is ou...

  • Page 404

    13.FUNCTIONS TO SIMPLIFY PROGRAMMING PROGRAMMING B-63784EN/01- 380 -- Operation description 3:If no G43 (tool length compensation) is issued or if no G53.1 (tool axis directioncontrol) is issuedSample program 2 (O200) is equivalent to sample program 1...

  • Page 405

    B-63784EN/01 PROGRAMMING 13.FUNCTIONS TO SIMPLIFY PROGRAMMING- 381 -XYZXcYcZcXcYcZcXYZXcYcZcXcYcZcWorkpiececoordinate systemX-Y-ZFeature coordinate systemXc-Yc-ZcN3 commandSample program 2 (with the axes crossing one another)Control poi...

  • Page 406

    13.FUNCTIONS TO SIMPLIFY PROGRAMMING PROGRAMMING B-63784EN/01- 382 -XYZXcYcZcXcYcZcXYZXcYcZcXcYcZcWorkpiececoordinate systemX-Y-ZFeature coordinate systemXc-Yc-ZcN3 commandSample program 2 (with the axes crossing one another)Control pointN4 commandSam...

  • Page 407

    B-63784EN/01 PROGRAMMING 13.FUNCTIONS TO SIMPLIFY PROGRAMMING- 383 -Mixed-type machine - Basic operationThis function is usable also for a mixed-type machine in which the toolhead rotates on the tool rotary axis and the table rotates on...

  • Page 408

    13.FUNCTIONS TO SIMPLIFY PROGRAMMING PROGRAMMING B-63784EN/01- 384 - - Feature coordinate system with the table rotated by G53.1 (tool axis directioncontrol)Let's take a mixed-type machine shown in Fig.13.10(j) as an example.If the table rotates under...

  • Page 409

    B-63784EN/01 PROGRAMMING 13.FUNCTIONS TO SIMPLIFY PROGRAMMING- 385 - - Rotation direction of the table rotary axisLet's take a mixed type machine shown Fig.13.10(j) as an example.Setting parameter No. 6170 to 1 specifies that the rotati...

  • Page 410

    13.FUNCTIONS TO SIMPLIFY PROGRAMMING PROGRAMMING B-63784EN/01- 386 -Table rotation type machine - Basic operationThis function is usable also for a table rotation type machine with twotable rotary axes.The feature coordinate system Xc-Yc-Zc is set wit...

  • Page 411

    B-63784EN/01 PROGRAMMING 13.FUNCTIONS TO SIMPLIFY PROGRAMMING- 387 - - Feature coordinate system with the table rotated by G53.1 (tool axis directioncontrol)Let's take a table rotation type machine shown in Fig.13.10(m) as anexample.If ...

  • Page 412

    13.FUNCTIONS TO SIMPLIFY PROGRAMMING PROGRAMMING B-63784EN/01- 388 -Restrictions - Basic restrictionsThe restrictions for incline cutting commands are similarto those for three-dimensional coordinate conversion.Following are the restrictions that requ...

  • Page 413

    B-63784EN/01 PROGRAMMING 13.FUNCTIONS TO SIMPLIFY PROGRAMMING- 389 -- Relationships with other modal commandsG41, G42, and G40 (cutter compensation), G43 and G49 (tool lengthcompensation), and G51.1 and G50.1 (programmable mirror image)...

  • Page 414

    14.COMPENSATION FUNCTION PROGRAMMING B-63784EN/01- 390 -14 COMPENSATION FUNCTIONGeneralThis chapter describes the following compensation functions:14.1TOOL LENGTH OFFSET (G43,G44,G49)14.2TOOL OFFSET (G45 TO G48)14.3OVERVIEW OF CUTTER COMPENSATIO...

  • Page 415

    B-63784EN/01 PROGRAMMING 14.COMPENSATION FUNCTION- 391 -14.1 TOOL LENGTH OFFSET (G43,G44,G49)This function can be used by setting the difference between the toollength assumed during programming and the actual tool length of thetool...

  • Page 416

    14.COMPENSATION FUNCTION PROGRAMMING B-63784EN/01- 392 -14.1.1 GeneralFormatTool lengthoffsetG43 α_H_ ;G44 α_H_ ;Tool lengthoffsetcancelG49;or H0;(when the parameterLXY (No.6000#4) :s1)Explanation of each addressG43 : Positive offsetG44 : Nega...

  • Page 417

    B-63784EN/01 PROGRAMMING 14.COMPENSATION FUNCTION- 393 -NOTEThe tool length offset value corresponding to offsetNo. 0, that is, H0 always means 0. It is impossible toset any other tool length offset value to H0.- Performing tool le...

  • Page 418

    14.COMPENSATION FUNCTION PROGRAMMING B-63784EN/01- 394 -Example- ProgramH1=-4.0 (Tool length offset value)N1G91 G00 X120.0 Y80.0 ; .................(1)N2G43 Z-32.0 H1 ;.......................(2)N3G01 Z-21.0 F1000 ;....................(3)N4G04 P2...

  • Page 419

    B-63784EN/01 PROGRAMMING 14.COMPENSATION FUNCTION- 395 -14.2 TOOL OFFSET(G45-G48)The programmed travel distance of the tool can be increased ordecreased by a specified tool offset value or by twice the offset value.The tool offset f...

  • Page 420

    14.COMPENSATION FUNCTION PROGRAMMING B-63784EN/01- 396 -Explanation- Increase and decreaseAs shown in Table 14.2(a), the travel distance of the tool is increased ordecreased by the specified tool offset value.In the absolute mode, the travel dis...

  • Page 421

    B-63784EN/01 PROGRAMMING 14.COMPENSATION FUNCTION- 397 - WARNING1 When G45 to G48 is specified to n axes (n=1-6)simultaneously in a motion block, offset is applied toall n axes.When the cutter is offset only for cutter radius ordiam...

  • Page 422

    14.COMPENSATION FUNCTION PROGRAMMING B-63784EN/01- 398 -NOTE1 When the specified direction is reversed by decreaseas shown in the figure below, the tool moves in theopposite direction.2 Tool offset can be applied to circular interpolation(G02, G...

  • Page 423

    B-63784EN/01 PROGRAMMING 14.COMPENSATION FUNCTION- 399 -ExampleProgramN1 G91 G46 G00 X80.0 Y50.0 D01 ;N2 G47 G01 X50.0 F120.0 ;N3 Y40.0 ;N4 G48 X40.0 ;N5 Y-40.0 ;N6 G45 X30.0 ;N7 G45 G03 X30.0 Y30.0 J30.0 ;N8 G45 G01 Y20.0 ;N9 G46 X...

  • Page 424

    14.COMPENSATION FUNCTION PROGRAMMING B-63784EN/01- 400 -14.3 OVERVIEW OF CUTTER COMPENSATION (G40 - G42)When the tool is moved, the tool path can be shifted by the radius of thetool (Fig.14.3 (a)).To make an offset as large as the radius of the ...

  • Page 425

    B-63784EN/01 PROGRAMMING 14.COMPENSATION FUNCTION- 401 -Format- Start up(Tool compensation start)- Cutter compensation cancel (offset mode cancel)- Selection of the offset planeExplanation- Offset cancel modeAt the beginning when...

  • Page 426

    14.COMPENSATION FUNCTION PROGRAMMING B-63784EN/01- 402 -- Offset mode cancelIn the offset mode, when a block which satisfies any one of thefollowing conditions is executed, the CNC enters the offset cancelmode, and the action of this block is ca...

  • Page 427

    B-63784EN/01 PROGRAMMING 14.COMPENSATION FUNCTION- 403 -- Positive/negative cutter compensation value and tool center pathIf the offset amount is negative (-), distribution is made for a figure inwhich G41's and G42's are all replac...

  • Page 428

    14.COMPENSATION FUNCTION PROGRAMMING B-63784EN/01- 404 -- Specifying a cutter compensation valueSpecify a cutter compensation value with a number assigned to it. Thenumber consists of 1 to 3 digits after address D (D code). The D code isvalid ...

  • Page 429

    B-63784EN/01 PROGRAMMING 14.COMPENSATION FUNCTION- 405 -ExampleY 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)P...

  • Page 430

    14.COMPENSATION FUNCTION PROGRAMMING B-63784EN/01- 406 -14.4 DETAILS OF CUTTER COMPENSATIONThis section provides a detailed explanation of the movement of thetool for cutter compensation outlined in Section 14.6.This section consists of the foll...

  • Page 431

    B-63784EN/01 PROGRAMMING 14.COMPENSATION FUNCTION- 407 -14.4.1 General- Inner side and outer sideWhen an angle of intersection created by tool paths specified withmove commands for two blocks is over 180deg., it is referred to as&qu...

  • Page 432

    14.COMPENSATION FUNCTION PROGRAMMING B-63784EN/01- 408 -- Start of cutter compensation (start-up)If a block satisfying all the conditions listed below is executed in cancelmode, the machine is placed in cutter compensation mode. Thisoperation i...

  • Page 433

    B-63784EN/01 PROGRAMMING 14.COMPENSATION FUNCTION- 409 -CSC CSUTypeOperation101Type C When the start-up block or cancellation block specifies nomovement, the tool is shifted by the cutter compensation valuein the direction perpendic...

  • Page 434

    14.COMPENSATION FUNCTION PROGRAMMING B-63784EN/01- 410 -- Symbols used in the figuresThe symbols used in the figures of Section II-14.4.2 and later have thefollowing meanings:-S represents a point where single block operation is performedonce.-S...

  • Page 435

    B-63784EN/01 PROGRAMMING 14.COMPENSATION FUNCTION- 411 -14.4.2 Tool Movement in Start-upWhen the offset cancel mode is changed to offset mode, the tool movesas illustrated below (start-up):Explanation- Tool movement around an inner ...

  • Page 436

    14.COMPENSATION FUNCTION PROGRAMMING B-63784EN/01- 412 -- When a start-up block involves an outer and obtuse movement(90deg.≤≤≤≤αααα<180deg.)Tool path in start-up has two types A and B, and they are selected byparameter CSU (No. 6...

  • Page 437

    B-63784EN/01 PROGRAMMING 14.COMPENSATION FUNCTION- 413 -rType BαProgrammed pathTool center pathCSG42LWorkpieceStart positionProgrammed pathTool center pathStart positionLrαSCG42WorkpiecerCLrLinear→Linear(Circularconnectiontype)L...

  • Page 438

    14.COMPENSATION FUNCTION PROGRAMMING B-63784EN/01- 414 -- When a start-up block involves an outer and acute movement(αααα<90deg.)Tool path in start-up has two types A and B, and they are selected byparameter CSU (No.6001#0).Linear→Linea...

  • Page 439

    B-63784EN/01 PROGRAMMING 14.COMPENSATION FUNCTION- 415 -Programmed pathType BαG42Start positionLCLSrrTool center pathαG42Start positionLCSrrProgrammed pathTool center pathCWorkpieceWorkpieceLinear→Linear(Circularconnectiontype)L...

  • Page 440

    14.COMPENSATION FUNCTION PROGRAMMING B-63784EN/01- 416 -- Tool movement around the outside linear →→→→ linear at an acute angle less than 1 degree (αααα<1deg.)- A block without tool movement specified at start-upWhen type A ...

  • Page 441

    B-63784EN/01 PROGRAMMING 14.COMPENSATION FUNCTION- 417 -When type C is selectedThe programmed path is shifted by an offset, perpendicularly from theblock specifying movement after start-up.Programmed pathTool center pathSLαIntersec...

  • Page 442

    14.COMPENSATION FUNCTION PROGRAMMING B-63784EN/01- 418 -14.4.3 Tool Movement in the Offset ModeIn offset mode, compensation is carried out for positioning commandsas well as for linear and circular interpolation commands. To performintersection ...

  • Page 443

    B-63784EN/01 PROGRAMMING 14.COMPENSATION FUNCTION- 419 -- Tool movement around the inside of a corner (180deg. ≤≤≤≤αααα)Linear to LinearαProgrammed pathTool center pathLLαProgrammed pathTool center pathCWorkpieceWorkpi...

  • Page 444

    14.COMPENSATION FUNCTION PROGRAMMING B-63784EN/01- 420 -- Tool movement around the inside (αααα<1deg.) with an abnormally long vector, linear to linearAlso in case of arc to straight line, straight line to arc and arc to arc, thereader s...

  • Page 445

    B-63784EN/01 PROGRAMMING 14.COMPENSATION FUNCTION- 421 -- Tool movement around the outside corner at an obtuse angle (90°°°° ≤≤≤≤ αααα < 180°°°°)Linear to Linear(linear connection type)αProgrammed pathTool ce...

  • Page 446

    14.COMPENSATION FUNCTION PROGRAMMING B-63784EN/01- 422 -Linear to Linear(circular connection type)αProgrammed pathTool center pathLrαProgrammed pathTool center pathCWorkpieceWorkpieceSLCSαProgrammed pathTool center pathCLSWorkpieceLCrCαWorkp...

  • Page 447

    B-63784EN/01 PROGRAMMING 14.COMPENSATION FUNCTION- 423 -- Tool movement around the outside corner at an acute angle (αααα<90°°°°)Linear to Linear(linear connectiontype)αProgrammed pathLLLLSrrTool center pathαLLSrrProgra...

  • Page 448

    14.COMPENSATION FUNCTION PROGRAMMING B-63784EN/01- 424 -Linear to Linear(circularconnection type)αProgrammed pathLCLSrrTool center pathαCrrProgrammed pathTool center pathCLαProgrammed pathCLrTool center pathαrrCCS Programmed pathTool cent...

  • Page 449

    B-63784EN/01 PROGRAMMING 14.COMPENSATION FUNCTION- 425 -- When it is exceptional End position for the arc is not on the arcIf the end of a line leading to an arc is programmed as the end of the arcby mistake as illustrated below,...

  • Page 450

    14.COMPENSATION FUNCTION PROGRAMMING B-63784EN/01- 426 - There is no inner intersectionIf the cutter compensation value is sufficiently small, the two circulartool center paths made after compensation intersect at a position (P).Intersection ...

  • Page 451

    B-63784EN/01 PROGRAMMING 14.COMPENSATION FUNCTION- 427 -Tool center path with an intersectionLLinear to linearLinear to circularProgrammed pathTool center pathCircular to linearCircular to circularLLSrrG42G41G41G42rrSCTool center pa...

  • Page 452

    14.COMPENSATION FUNCTION PROGRAMMING B-63784EN/01- 428 -Tool center path without an intersectionWhen changing the offset direction in block A to block B using G41and G42, if intersection with the offset path is not required, the vectornormal to ...

  • Page 453

    B-63784EN/01 PROGRAMMING 14.COMPENSATION FUNCTION- 429 -The length of tool center path larger than the circumference of a circleNormally there is almost no possibility of generating this situation.However, when G41 and G42 are chang...

  • Page 454

    14.COMPENSATION FUNCTION PROGRAMMING B-63784EN/01- 430 -- Cutter compensation G code in the offset modeThe offset vector can be set to form a right angle to the movingdirection in the previous block, irrespective of machining inner or outerside,...

  • Page 455

    B-63784EN/01 PROGRAMMING 14.COMPENSATION FUNCTION- 431 -- Command canceling the offset vector temporarilyDuring offset mode, if G92 (absolute zero point programming) iscommanded, the offset vector is temporarily cancelled and therea...

  • Page 456

    14.COMPENSATION FUNCTION PROGRAMMING B-63784EN/01- 432 -- If I, J, and K are specified in G00/G01 mode blockWhen cutter compensation begins or is already being applied,specifying I, J, and K in a block specifying positioning mode (G00) orlinear...

  • Page 457

    B-63784EN/01 PROGRAMMING 14.COMPENSATION FUNCTION- 433 - ExampleProgrammed pathD1N10N50N40N30N20N60 (G40)N10 G91 G41 X100.0 Y100.0 I1 D1 ;N20 G04 X1000 ;N30 G01 F1000 ;N40 S300 ;N50 M50 ;N60 X150. ;Note) In N10, I1 specifi...

  • Page 458

    14.COMPENSATION FUNCTION PROGRAMMING B-63784EN/01- 434 - RestrictionsIf the IJ-type vector is specified, it may cause tool interferencedepending on its direction vector even if no additional vector isspecified. In this case, a tool interfer...

  • Page 459

    B-63784EN/01 PROGRAMMING 14.COMPENSATION FUNCTION- 435 -- A block without tool movementThe following blocks have no tool movement. In these blocks, the toolwill not move even if cutter compensation is effected.A block without tool ...

  • Page 460

    14.COMPENSATION FUNCTION PROGRAMMING B-63784EN/01- 436 -Do not specify more than N-2 blocks not involving tool movement(where N is the number of blocks read in offset mode and which isspecified by parameter No. 6009) continuously in offset mode....

  • Page 461

    B-63784EN/01 PROGRAMMING 14.COMPENSATION FUNCTION- 437 -- Corner movementIf more than one offset vector is produced at the end point of a block,these vectors are connected using either a straight line or arc,depending on the specifi...

  • Page 462

    14.COMPENSATION FUNCTION PROGRAMMING B-63784EN/01- 438 -If the vectors are not judged as being almost equal (or cannot beremoved), commands for movement around the corner are executed.Tool movement around the corner before the single-block stop ...

  • Page 463

    B-63784EN/01 PROGRAMMING 14.COMPENSATION FUNCTION- 439 -14.4.4 Tool Movement in Offset Mode CancelExplanation- When a cancellation block involves an inner movement (180deg.≤≤≤≤αααα)Circular→LinearαSrCWorkpieceLinear...

  • Page 464

    14.COMPENSATION FUNCTION PROGRAMMING B-63784EN/01- 440 -- When a cancellation block involves an outer and obtuse movement (90≤≤≤≤αααα<180deg.)Two types are supported: type A and type B. The user can select fromthe two types by s...

  • Page 465

    B-63784EN/01 PROGRAMMING 14.COMPENSATION FUNCTION- 441 -rType BLinear→Linear(Circularconnectiontype)αTool center pathCSG40LWorkpieceαSProgrammed pathTool center pathCrWorkpiecerCProgrammed pathG40LCircular→Linear(Circularconne...

  • Page 466

    14.COMPENSATION FUNCTION PROGRAMMING B-63784EN/01- 442 -- When a cancellation block involves an outer and acute movement (αααα<90deg.)Tool path has two types, A and B : and they are selected by parameterCSU (No. 6001#0)Linear→LinearαPr...

  • Page 467

    B-63784EN/01 PROGRAMMING 14.COMPENSATION FUNCTION- 443 -Type BLinear→Linear(Circularconnectiontype)Circular→Linear(Circularconnection type)αProgrammed pathG40LLrrTool center pathCrrProgrammed pathTool center pathCLαSWorkpieceW...

  • Page 468

    14.COMPENSATION FUNCTION PROGRAMMING B-63784EN/01- 444 -When a cancellation block involves linear-to-linear movement around the outsideof an acute angle not greater than 1°°°° (αααα≤≤≤≤1°°°°)- A block without tool movement sp...

  • Page 469

    B-63784EN/01 PROGRAMMING 14.COMPENSATION FUNCTION- 445 -- Block containing G40 and I_J_K_The previous block contains G41 or G42If a G41 or G42 block precedes a block in which G40 and I_, J_, K_ arespecified, the system assumes that ...

  • Page 470

    14.COMPENSATION FUNCTION PROGRAMMING B-63784EN/01- 446 -When an intersection is not obtainable, the tool comes to the normalposition to the previous block at the end of the previous block.The length of the tool center path larger than the circum...

  • Page 471

    B-63784EN/01 PROGRAMMING 14.COMPENSATION FUNCTION- 447 -14.4.5 Overcutting by Cutter CompensationExplanations- Machining an inside corner at a radius smaller than the cutter radiusWhen the radius of a corner is smaller than the cutt...

  • Page 472

    14.COMPENSATION FUNCTION PROGRAMMING B-63784EN/01- 448 -- Machining a step smaller than the tool radiusWhen machining of the step is commanded by circular machining inthe case of a program containing a step smaller than the tool radius, thepath ...

  • Page 473

    B-63784EN/01 PROGRAMMING 14.COMPENSATION FUNCTION- 449 -- Starting compensation and cutting along the Z-axisIt is usually used such a method that the tool is moved along the Z axisafter the cutter compensation is effected at some di...

  • Page 474

    14.COMPENSATION FUNCTION PROGRAMMING B-63784EN/01- 450 -To prevent overcutting in this case, instruct the tool to move in thedirection in which it is fed after moving along the Z axis according tothe above rule immediately before the tool is mov...

  • Page 475

    B-63784EN/01 PROGRAMMING 14.COMPENSATION FUNCTION- 451 -14.4.6 Interference CheckTool overcutting is called interference. The interference check functionchecks for tool overcutting in advance. However, not all instances ofinterferen...

  • Page 476

    14.COMPENSATION FUNCTION PROGRAMMING B-63784EN/01- 452 -- Criterion 1 for detecting interference (direction check)Let N be the number of blocks that are read during tool compensation.The check method first checks the compensation vector groupca...

  • Page 477

    B-63784EN/01 PROGRAMMING 14.COMPENSATION FUNCTION- 453 -Example for criterion 1 for detecting interference (when the vector atthe end point of block 1 intersects with the vector at the end point ofblock 7)Example for criterion 1 for...

  • Page 478

    14.COMPENSATION FUNCTION PROGRAMMING B-63784EN/01- 454 -- Criterion 2 for detecting interference (arc angle check)In a check for interference between three adjacent blocks, that is, acheck between the compensation vector group calculated betwee...

  • Page 479

    B-63784EN/01 PROGRAMMING 14.COMPENSATION FUNCTION- 455 -- When interference is assumed although actual interference does not occur1 Depression which is smaller than a cutter compensation valueThere is no actual interference, but s...

  • Page 480

    14.COMPENSATION FUNCTION PROGRAMMING B-63784EN/01- 456 -Correction of interference in advanceIf interference check detects interference (overcutting), the operation tobe performed is selected from the following two types, according to thesetting...

  • Page 481

    B-63784EN/01 PROGRAMMING 14.COMPENSATION FUNCTION- 457 -- Interference between three adjacent blocksIf interference is detected between three adjacent blocks, theinterfering vectors and those within them are removed, and a path isp...

  • Page 482

    14.COMPENSATION FUNCTION PROGRAMMING B-63784EN/01- 458 -Interference avoidance function- OverviewUpon the issue of a command that satisfies a condition under which aninterference alarm (PS272) is displayed by the interference checkalarm functio...

  • Page 483

    B-63784EN/01 PROGRAMMING 14.COMPENSATION FUNCTION- 459 -If the post-compensation intersection vector between block 1 and gapvector intersects again with the post-compensation vector between thegap vector and block N, vector removal ...

  • Page 484

    14.COMPENSATION FUNCTION PROGRAMMING B-63784EN/01- 460 -If a cutter compensation value is larger than the radius of a specified arcand a compensation command is issued for the inside of the arc asshown below, interference is avoided by performin...

  • Page 485

    B-63784EN/01 PROGRAMMING 14.COMPENSATION FUNCTION- 461 -- If there is no interference avoidance vectorIn parallel pocketing shown below, interference is detected between thevector at the end point of block 1 and that at the end poi...

  • Page 486

    14.COMPENSATION FUNCTION PROGRAMMING B-63784EN/01- 462 -In the circular pocketing shown below, interference is detectedbetween the vector at the end point of block 1 and that of the end pointof block 2, and an attempt is made to calculate an int...

  • Page 487

    B-63784EN/01 PROGRAMMING 14.COMPENSATION FUNCTION- 463 -- If interference avoidance is judged as being dangerousIn the acute-angle pocketing shown below, interference is detectedbetween the vector at the end point of block 1 and th...

  • Page 488

    14.COMPENSATION FUNCTION PROGRAMMING B-63784EN/01- 464 -Tool center pathProgrammed pathPost-compensation intersectionbetween the paths specified inblocks 1 and 3Block 1Block 2Block 3Stopped

  • Page 489

    B-63784EN/01 PROGRAMMING 14.COMPENSATION FUNCTION- 465 -- If an interference avoidance vector may result in interference againIn the pocketing shown below, interference is detected between thevector at the end point of block 1 and ...

  • Page 490

    14.COMPENSATION FUNCTION PROGRAMMING B-63784EN/01- 466 -14.4.7 Cutter Compensation by Input from MDIExplanation- MDI operationIf MDI operation is performed, that is, if a cycle is started from the resetstate by a programmed command in MDI mode, ...

  • Page 491

    B-63784EN/01 PROGRAMMING 14.COMPENSATION FUNCTION- 467 -- MDI interruptIf an MDI interrupt is generated, that is, if a single block stop is causedduring memory operation or DNC operation to enter the automaticoperation stop state, t...

  • Page 492

    14.COMPENSATION FUNCTION PROGRAMMING B-63784EN/01- 468 -14.4.8 Vector Holding (G38)Issuing G38 in the offset mode when the cutter compensation Cfunction is effective enables the offset vector at the end point for theprevious block to be held wit...

  • Page 493

    B-63784EN/01 PROGRAMMING 14.COMPENSATION FUNCTION- 469 -ExampleX axisY axis(10.0, 0.0)(15.0, 5.0)Block N1Offset vectorBlock N2Block N3Programmed pathTool center path : : (In offset mode) (G90)N1 G38 X10.0 Y0.0 ;N2 G...

  • Page 494

    14.COMPENSATION FUNCTION PROGRAMMING B-63784EN/01- 470 -14.4.9 Corner Circular Interpolation (G39)By specifying G39 in offset mode during cutter compensation C, cornercircular interpolation can be performed. The radius of the cornercircular int...

  • Page 495

    B-63784EN/01 PROGRAMMING 14.COMPENSATION FUNCTION- 471 -Example- G39 without I, J, or K:: (In offset mode) (G90)N1 X10.0 ;N2 G39 ;N3 Y-10.0 ;::X axisY axis(10.0, 0.0)(10.0, -10.0)Block N1Offset vectorBlock N2 (Corner Circular)Blo...

  • Page 496

    14.COMPENSATION FUNCTION PROGRAMMING B-63784EN/01- 472 -- G39 with I, J, and K:: (In offset mode) (G90)N1 X10.0 ;N2 G39 I1.0 J-3.0 ;N3 X0.0 Y-10.0 ;::X axisY axisBlock N1Offset vectorBlock N2 (Corner Circular)Block N3Tool center path(I=1.0, J...

  • Page 497

    B-63784EN/01 PROGRAMMING 14.COMPENSATION FUNCTION- 473 -14.5 THREE-DIMENSIONAL TOOL COMPENSATION (G40, G41)In cutter compensation C, two-dimensional offsetting is performed fora selected plane. In three-dimensional tool compensatio...

  • Page 498

    14.COMPENSATION FUNCTION PROGRAMMING B-63784EN/01- 474 -Format- Start up (Starting three-dimensional tool compensation)When the following command is executed in the cuttercompensation cancel mode, the three-dimensional toolcompensation mode is s...

  • Page 499

    B-63784EN/01 PROGRAMMING 14.COMPENSATION FUNCTION- 475 -Explanation- Three-dimensional tool compensation vectorIn three-dimensional tool compensation mode, the following three -dimensional compensation vector is generated at the end...

  • Page 500

    14.COMPENSATION FUNCTION PROGRAMMING B-63784EN/01- 476 -- Specifying I, J, and KAddresses I, J, and K must all be specified to start three-dimensionaltool compensation. When even one of the three addresses is omitted,two-dimensional cutter comp...

  • Page 501

    B-63784EN/01 PROGRAMMING 14.COMPENSATION FUNCTION- 477 -NOTE1 When bit 0 (ONI) of parameter No. 6029 is set to 1,the functions using the I, J, and K commands listedbelow must not be used in three-dimensional toolcompensation mode. ...

  • Page 502

    14.COMPENSATION FUNCTION PROGRAMMING B-63784EN/01- 478 -- Reference position return check (G27)Before specifying reference position return check (G27), cancel three-dimensional tool compensation.- Alarm during three-dimensional tool compensatio...

  • Page 503

    B-63784EN/01 PROGRAMMING 14.COMPENSATION FUNCTION- 479 -14.6 TOOL COMPENSATION VALUESTool compensation values include tool geometry compensation valuesand tool wear compensation (Fig. 14.6 (a)).OFSGOFSWOFSG : Geometric compensation ...

  • Page 504

    14.COMPENSATION FUNCTION PROGRAMMING B-63784EN/01- 480 -Explanation- Increment system and valid range of tool offset valuesThe increment system and valid range of tool offset values depend onthe following parameters:Parameter OFA(No.6002#0)Param...

  • Page 505

    B-63784EN/01 PROGRAMMING 14.COMPENSATION FUNCTION- 481 -14.6.1 Tool Compensation Memory AThe memory for geometric compensation and that for wearcompensation are not separated in tool compensation memory A.Therefore, the sum of the g...

  • Page 506

    14.COMPENSATION FUNCTION PROGRAMMING B-63784EN/01- 482 -14.7 NUMBER OF TOOL COMPENSATION SETTINGS(1) 32 tool compensation settingsApplicable offset Nos. (D code/H code) are 0 to 32.D00 to D32 or H00 to H32(2) 99 tool compensation settingsApplica...

  • Page 507

    B-63784EN/01 PROGRAMMING 14.COMPENSATION FUNCTION- 483 -14.8 CHANGING THE TOOL COMPENSATION AMOUNTThe tool compensation amount can be set or changed with the G10command.When G10 is used in absolute input (G90), the compensation amou...

  • Page 508

    14.COMPENSATION FUNCTION PROGRAMMING B-63784EN/01- 484 -14.9 SCALING (G50,G51)A programmed figure can be magnified or reduced (scaling).Two types of scaling are supported. One type applies the same rate ofmagnification to all axes (X, Y, and Z)...

  • Page 509

    B-63784EN/01 PROGRAMMING 14.COMPENSATION FUNCTION- 485 -NOTE1 Specify G51 in a separate block.2 After the figure is enlarged or reduced, specify G50 tocancel the scaling mode.3 No decimal point must be used to specify rates ofscalin...

  • Page 510

    14.COMPENSATION FUNCTION PROGRAMMING B-63784EN/01- 486 -cY axisX axisbada/b: Scaling magnification of X axisc/d: Scaling magnification of Y axis0: Scaling centerProgrammed figureScaled figureOFig.14.9 (b) Scaling of each axis- Scaling of circul...

  • Page 511

    B-63784EN/01 PROGRAMMING 14.COMPENSATION FUNCTION- 487 -- Scaling and coordinate system rotationWhen both scaling and coordinate system rotation are specified, thecoordinate system is rotated after scaling is applied. In this case,...

  • Page 512

    14.COMPENSATION FUNCTION PROGRAMMING B-63784EN/01- 488 -- Scaling and optional angle chamfering and corner roundingChanferingScalingTwice along the X-axisOnce along the Y-axisCorner roundingScalingTwice along the X-axisOnce along the Y-axisThe c...

  • Page 513

    B-63784EN/01 PROGRAMMING 14.COMPENSATION FUNCTION- 489 -- Invalid scalingScaling is not applicable to the Z-axis movement in case of thefollowing canned cycle.-Cut-in value Q and retraction value d of peck drilling cycle(G83,G73).-F...

  • Page 514

    14.COMPENSATION FUNCTION PROGRAMMING B-63784EN/01- 490 -14.10 COORDINATE SYSTEM ROTATION (G68,G69)A programmed shape can be rotated. By using this function it becomespossible, for example, to modify a program using a rotation commandwhen a work...

  • Page 515

    B-63784EN/01 PROGRAMMING 14.COMPENSATION FUNCTION- 491 -Explanation- G code for selecting a plane: G17,G18 or G19The G code for selecting a plane (G17,G18,or G19) can be specifiedbefore the block containing the G code for coordinate...

  • Page 516

    14.COMPENSATION FUNCTION PROGRAMMING B-63784EN/01- 492 -Limitation- Coordinate system rotation commandSpecify the coordinate system rotation command (G68) in G00 or G01mode.- Commands related to reference position return and the coordinate syste...

  • Page 517

    B-63784EN/01 PROGRAMMING 14.COMPENSATION FUNCTION- 493 -- Cutter compensation and coordinate system rotationIt is possible to specify G68 and G69 in cutter compensation mode.The rotation plane must coincide with the plane of cutterc...

  • Page 518

    14.COMPENSATION FUNCTION PROGRAMMING B-63784EN/01- 494 -- Scaling and coordinate system rotationIf a coordinate system rotation command is executed in the scalingmode (G51 mode), the coordinate value (α, β) of the rotation centerwill also be s...

  • Page 519

    B-63784EN/01 PROGRAMMING 14.COMPENSATION FUNCTION- 495 -- Repetitive commands for coordinate system rotationIt is possible to store one program as a subprogram and recallsubprogram by changing the angle.Sample program for when the R...

  • Page 520

    14.COMPENSATION FUNCTION PROGRAMMING B-63784EN/01- 496 -14.11 TOOL OFFSETS BASED ON TOOL NUMBERSCutter compensation data, tool length compensation data, and the toolpot number can be set for a specific tool number (T code). Up to 300sets of dat...

  • Page 521

    B-63784EN/01 PROGRAMMING 14.COMPENSATION FUNCTION- 497 -14.11.1 Tool Data Registration, Modification, and DeletionExplanation- Setting tool dataAfter all the registered tool data has been deleted, programmed tooldata can be register...

  • Page 522

    14.COMPENSATION FUNCTION PROGRAMMING B-63784EN/01- 498 -Deleting tool dataFormatMeaning of commandG10L72;T-;:P-;:T- P-;:G11;MO2(M30);G10L72 : Starts the deletion of registered tool data.T- : Delete tool data for the specified tool number.P- : De...

  • Page 523

    B-63784EN/01 PROGRAMMING 14.COMPENSATION FUNCTION- 499 -14.11.2 Tool Offset Based on Tool NumbersExplanation- Tool pot number outputWhen a tool number (T code) is specified, the corresponding tool potnumber is read from the tool dat...

  • Page 524

    14.COMPENSATION FUNCTION PROGRAMMING B-63784EN/01- 500 -- Tool change methodsThe execution of an M code for tool change and tool number (T code)that are specified in the same block depends on the settings of bit 1(CT2) and bit 0 (CT1) of paramet...

  • Page 525

    B-63784EN/01 PROGRAMMING 14.COMPENSATION FUNCTION- 501 -Example- Tool change method A- Tool change methods B and C- Tool change method DExample:N01 T10 ; : The tool pot number corresponding to T10 is output as a code signal.N02 M06 ...

  • Page 526

    14.COMPENSATION FUNCTION PROGRAMMING B-63784EN/01- 502 -- Notification output to the machine when tools having the same pot number arespecifiedIf there are two or more programmed tool numbers having the same potnumber, the pot number duplication...

  • Page 527

    B-63784EN/01 PROGRAMMING 14.COMPENSATION FUNCTION- 503 -14.11.3 Relationships with Other FunctionsTool life managementWhen tool offset based on tool numbers is enabled (when bit 5 (NOT)of parameter No. 0011 is set to 0), a D code an...

  • Page 528

    14.COMPENSATION FUNCTION PROGRAMMING B-63784EN/01- 504 -Automatic tool length measurementWith the automatic tool length measurement command (G37), the toollength compensation value for the currently valid tool number isupdated.Never specify the ...

  • Page 529

    B-63784EN/01 PROGRAMMING 14.COMPENSATION FUNCTION- 505 -14.12 TOOL AXIS DIRECTION TOOL LENGTH COMPENSATIONWhen a five-axis machine that has two axes for rotating the tool is used,tool length compensation can be performed in a specif...

  • Page 530

    14.COMPENSATION FUNCTION PROGRAMMING B-63784EN/01- 506 -- Examples of machine configuration and rotation axis calculation formatsLet Vx, Vy, Vz, Lc, a, b, and c be as follows :Vx,Vy,Vz : Tool compensation vectors along the X-axis, Y-axis,and Z-a...

  • Page 531

    B-63784EN/01 PROGRAMMING 14.COMPENSATION FUNCTION- 507 -(2) B-axis and C-axis, with the tool axis on the Z-axisCBZYXWorkpieceCBVx = Lc * sin(b) * cos(c)Vy = Lc * sin(b) * sin(c)Vz = Lc * cos(b)(3) A-axis and B-axis, with the tool ax...

  • Page 532

    14.COMPENSATION FUNCTION PROGRAMMING B-63784EN/01- 508 -(4) A-axis and B-axis, with the tool axis on the Z-axis, and the B-axisused as the masterBAZYXWorkpieceBAVx = Lc * cos(a) * sin(b)Vy = -Lc * sin(a)Vz = Lc * cos(a) * cos(b)(5) A-axis and B-...

  • Page 533

    B-63784EN/01 PROGRAMMING 14.COMPENSATION FUNCTION- 509 -- Tool holder offsetThe machine-specific length from the rotation center of the toolrotation axes (A- and B-axes, A- and C-axes, and B- and C-axes) to thetool mounting position...

  • Page 534

    14.COMPENSATION FUNCTION PROGRAMMING B-63784EN/01- 510 -- Rotation axis offsetSet offsets relative to the rotation angles of the rotation axes inparameter No. 7517. The compensation vector calculation formula isthe same as that used for rotation...

  • Page 535

    B-63784EN/01 PROGRAMMING 14.COMPENSATION FUNCTION- 511 -- Machine coordinate system positioning (G53)When machine coordinate system positioning (G53) is performed, thecompensation vector is temporarily cancelled in the block, but is...

  • Page 536

    14.COMPENSATION FUNCTION PROGRAMMING B-63784EN/01- 512 -14.13 ROTARY TABLE DYNAMIC FIXTURE OFFSETThe rotary table dynamic fixture offset function saves the operator thetrouble of re-setting the workpiece coordinate system when the rotarytable ro...

  • Page 537

    B-63784EN/01 PROGRAMMING 14.COMPENSATION FUNCTION- 513 -Explanation- Fixture offset commandWhen command G54.2 Pn is specified, a fixture offset is calculatedfrom the rotary axis angular displacement and the data of n. The fixtureof...

  • Page 538

    14.COMPENSATION FUNCTION PROGRAMMING B-63784EN/01- 514 -(2) Setting the reference angle of the rotation axis and thecorresponding reference fixture offsetSet the reference angle of the rotation axis and the fixture offsetthat corresponds to the ...

  • Page 539

    B-63784EN/01 PROGRAMMING 14.COMPENSATION FUNCTION- 515 -(3) Reading and writing the data by the PMC windowThe data can be read and written as a system variable of a custommacro by the PMC window.NOTEThe NC window function and custom...

  • Page 540

    14.COMPENSATION FUNCTION PROGRAMMING B-63784EN/01- 516 -()()()()()( )()()úúúûùêêêëéúúúûùêêêëé−−−−−úúúûùêêêëé−−−−−=úúúûùêêêëéZYXAZAYAXFFFFFF000000000001000cossin0sincoscos0sin010sin0cos...

  • Page 541

    B-63784EN/01 PROGRAMMING 14.COMPENSATION FUNCTION- 517 -- When compensation is applied to a rotation axisIn calculation of the fixture offset, the coordinate of the rotation axis onthe workpiece coordinate system is used. If a tool...

  • Page 542

    14.COMPENSATION FUNCTION PROGRAMMING B-63784EN/01- 518 -N2YXZero POINT of the machinecoordinate system[N3]N3N5N4C=180°C=90°CFig.14.13 (b) Example of fixture offsetWhen G54.2 P1 is specified in the N2 block, the fixture offset vector (0,10.0) i...

  • Page 543

    B-63784EN/01 PROGRAMMING 14.COMPENSATION FUNCTION- 519 -14.14 THREE-DIMENSIONAL CUTTER COMPENSATIONThe three-dimensional cutter compensation function is used withmachines that can control the direction of tool axis movement by using...

  • Page 544

    14.COMPENSATION FUNCTION PROGRAMMING B-63784EN/01- 520 -14.14.1 Tool Side CompensationTool side compensation is a type of cutter compensation that performsthree-dimensional compensation on a plane (compensation plane)perpendicular to a tool dire...

  • Page 545

    B-63784EN/01 PROGRAMMING 14.COMPENSATION FUNCTION- 521 -Explanation- Operation at compensation start-up and cancellation(1) Type AType A operation is similar to cutter compensation as shownbelow.ToolG41.2G40: Tool center path: Progr...

  • Page 546

    14.COMPENSATION FUNCTION PROGRAMMING B-63784EN/01- 522 -: Tool center path: Programmed tool pathToolG42.2G40Operation in circular interpolationFig.14.14.1 (c) Operation at compensation start-up and cancellation(Type B)(3) Type CAs shown in the ...

  • Page 547

    B-63784EN/01 PROGRAMMING 14.COMPENSATION FUNCTION- 523 -NOTEFor type C operation, the following conditions must besatisfied when tool side compensation is started up orcanceled :1 The block containing G40, G41.2, or G42.2 must beexe...

  • Page 548

    14.COMPENSATION FUNCTION PROGRAMMING B-63784EN/01- 524 - : Tool center path : Programmed tool pathExample(1)-3Example(1)-4Actual toolReference toolActual toolReference toolWorkpieceWorkpiece : Tool offcet valueFig.14.14.1 (f) Operation in the c...

  • Page 549

    B-63784EN/01 PROGRAMMING 14.COMPENSATION FUNCTION- 525 -: Tool center path: Programmed tool pathExample(3)-1 Tool movement whenchanging G41.2 to G42.2(G41.2 mode)G91 G01 X100.0G42.2 X-100.0Example(3)-2 Tool movement when theG code i...

  • Page 550

    14.COMPENSATION FUNCTION PROGRAMMING B-63784EN/01- 526 -ZXYToolTool axisStart pointEnd pointActual tool center pathTool center path created in thecompensation plane(Compensation plane = XY plane)Offset vector created inthe compensation planeActu...

  • Page 551

    B-63784EN/01 PROGRAMMING 14.COMPENSATION FUNCTION- 527 -- Coordinate system C2 : {O; e2, e3, e1}Cartesian coordinate system whose fundamental vectors arethe following unit vectors :e2e3e1where, e2, e3, and e1 are defined as follow...

  • Page 552

    14.COMPENSATION FUNCTION PROGRAMMING B-63784EN/01- 528 -e3e2P'Q'R'VD'Fig.14.14.1 (k) Compensation vector calculationThe e1 component of VD' is assumed to be always 0. Thecalculation is similar to the calculation of cutter compensation C.Althoug...

  • Page 553

    B-63784EN/01 PROGRAMMING 14.COMPENSATION FUNCTION- 529 -Vector calculation at the end point (Q) of block N2- The tool vector (VT) and coordinate conversion matrix (M)are calculated using the coordinates (Bq, Cq) of the rotationaxis ...

  • Page 554

    14.COMPENSATION FUNCTION PROGRAMMING B-63784EN/01- 530 -OPN1N2Q=R(N3)N4SP'Q'=R'S'VN2 =VN3Fig.14.14.1 (m) When a rotation axis is specified alone- Interference check made when the compensation plane is changedAn interference check is made when t...

  • Page 555

    B-63784EN/01 PROGRAMMING 14.COMPENSATION FUNCTION- 531 -YZVaVb46°45°Va: Tool direction vector when A = -46Vb: Tool direction vector when A=45A: End point of N3B: End point of N4C: End point of N6ABCFig.14.14.1 (o) Tool Directi...

  • Page 556

    14.COMPENSATION FUNCTION PROGRAMMING B-63784EN/01- 532 -Ua: Vector ABUb: Vector BCVa: Tool direction vector between A and BVb: Tool direction vector between B and CWa: Va × UaWb: Vb × Ub(Here, × represents an outer product operator.)YZVaVbABC...

  • Page 557

    B-63784EN/01 PROGRAMMING 14.COMPENSATION FUNCTION- 533 -Wb : Direction of a compensation vector to be generatedby the BC block.Wa = Va × UaWb = Vb × Ub(Wa,Wb) ≥ 0(3) The path angle difference on the compensation plane islarge.(R...

  • Page 558

    14.COMPENSATION FUNCTION PROGRAMMING B-63784EN/01- 534 -(3) Q3 commandBy inserting a Q3 command, the issue of the alarm can besuppressed.Example) N4 Y-200 Z-200 Q3The two vectors (V1 and V2) are not deleted.e3e2A’C’B’V1V2Fig.14.14.1 (u) ...

  • Page 559

    B-63784EN/01 PROGRAMMING 14.COMPENSATION FUNCTION- 535 -- Programmable mirror imageIn mirror operation, there must be no conflict between the linear axesand rotation axes.FirstquadrantSecondquadrantThirdquadrantFourthquadrantXYExamp...

  • Page 560

    14.COMPENSATION FUNCTION PROGRAMMING B-63784EN/01- 536 -14.14.2 Leading Edge OffsetLeading edge offset is a type of cutter compensation that is used when aworkpiece is machined with the edge of a tool. A tool is automaticallyshifted by a specif...

  • Page 561

    B-63784EN/01 PROGRAMMING 14.COMPENSATION FUNCTION- 537 -Explanation- Operation at compensation start-up and cancellationUnlike tool side compensation the operation performed at leading edgecompensation start-up and cancellation does...

  • Page 562

    14.COMPENSATION FUNCTION PROGRAMMING B-63784EN/01- 538 -- Operation in the compensation modeThe tool center moves so that a compensation vector (VC)perpendicular to the tool vector (VT) is created in the plane formed bythe tool vector (VT) at th...

  • Page 563

    B-63784EN/01 PROGRAMMING 14.COMPENSATION FUNCTION- 539 -- Block immediately before the offset cancel command (G40)In the block immediately before the compensation cancel command(G40), a compensation vector is created from the moveme...

  • Page 564

    14.COMPENSATION FUNCTION PROGRAMMING B-63784EN/01- 540 -(2) (VMn+1,VTn) < 0 (90deg < θ < 180deg.)VTnVCnVMn+1VTnθθVCnVMn+1Direction of VCn -(VMn+1 × VTn)× VTnFig.14.14.2 (h) Direction of the compensation vector (2)The compensation...

  • Page 565

    B-63784EN/01 PROGRAMMING 14.COMPENSATION FUNCTION- 541 -- Compensation performed when θθθθ is approximately 0deg., 90deg., or 180deg.When the included angle θ between VMn+1 and VTn is regarded as 0deg.,180deg., or 90deg., the c...

  • Page 566

    14.COMPENSATION FUNCTION PROGRAMMING B-63784EN/01- 542 -(2) Compensation vector when θ is regarded as 0deg.or 180deg.If θ is regarded as 0deg.or 180deg.when G41.3 is specified to startleading edge compensation, alarm PS998 is issued. This mea...

  • Page 567

    B-63784EN/01 PROGRAMMING 14.COMPENSATION FUNCTION- 543 -If the previous compensation vector (VCn-1) points in the samedirection ( -(VMn × VTn-1) × VTn-1 direction) as VMn with respect toVTn-1 , the current compensation vector (VCn...

  • Page 568

    14.COMPENSATION FUNCTION PROGRAMMING B-63784EN/01- 544 -14.14.3 Three-dimensional Cutter Compensation at Tool Center PointFor machines with a rotation axis for rotating a tool, this functionperforms three-dimensional cutter compensation at the t...

  • Page 569

    B-63784EN/01 PROGRAMMING 14.COMPENSATION FUNCTION- 545 -Program-specifiedpoint (pivot point)WorkpieceTool centerTool sideDistance from program-specifiedpoint (pivot point) to cutting point(set for parameter)Vector from program-speci...

  • Page 570

    14.COMPENSATION FUNCTION PROGRAMMING B-63784EN/01- 546 -Fig.14.14.3 (b) Calculation method- Cautions CAUTION1 This function is not effective for leading edge offset.2 With a command for a rotation axis only, this functiondoes not calculate a c...

  • Page 571

    B-63784EN/01 PROGRAMMING 14.COMPENSATION FUNCTION- 547 -- Specification of parametersThe parameters used with this function are described below. Parameternumbers are enclosed in brackets [ ].Relationships between rotation axes and...

  • Page 572

    14.COMPENSATION FUNCTION PROGRAMMING B-63784EN/01- 548 -Up to two sets of such parameter settings can be specified. Thus, it ispossible to compensate a slant rotary head controlled with two rotationaxes. For the calculation of the compensation...

  • Page 573

    B-63784EN/01 PROGRAMMING 14.COMPENSATION FUNCTION- 549 -14.15 DESIGNATION DIRECTION TOOL LENGHTCOMPENSATIONIn a five-axis machine tool having three basic axes and two rotationaxes for turning the tool, tool length compensation can b...

  • Page 574

    14.COMPENSATION FUNCTION PROGRAMMING B-63784EN/01- 550 -NOTE1 The format of specified-direction tool lengthcompensation is the same as that for three-dimensional tool compensation. When usingspecified-direction tool length compensation, set bit...

  • Page 575

    B-63784EN/01 PROGRAMMING 14.COMPENSATION FUNCTION- 551 -IJcKJIbKJIKlZzKJIJlYyKJIIlXx1221222222222tantan−−=+=+++=+++=+++=zyx ,,: Tool center positioncb,: Rotation axis positionZYX,,: tip position(programmed position)KJI,,: Tool a...

  • Page 576

    14.COMPENSATION FUNCTION PROGRAMMING B-63784EN/01- 552 -- Specification of the magnitude of a compensation vectorBy setting parameter No. 6011, the magnitude of a compensationvector can be specified.SIlXx+=SJlYy+=SKlZz+=where,zyx ,, : Tool cent...

  • Page 577

    B-63784EN/01 PROGRAMMING 14.COMPENSATION FUNCTION- 553 -(2) When the rotation axes are the B- and C-axes, and the tool axis isthe Z-axisCBZYXWorkpieceCBIJcKJIb1221tantan−−=+=(3) When the rotation axes are the A- and B-axes, and ...

  • Page 578

    14.COMPENSATION FUNCTION PROGRAMMING B-63784EN/01- 554 -(4) When the rotation axes are the A- and B-axes, and the tool axis isthe Z-axis (master axis : B-axis)BAZYXWorkpieceBAKIbKIJa1221tantan−−=+−=(5) When the rotation axes are the A- a...

  • Page 579

    B-63784EN/01 PROGRAMMING 14.COMPENSATION FUNCTION- 555 -Limitation- Rotation axis specificationA rotation axis must not be specified in specified-direction tool lengthcompensation mode. Otherwise, an alarm (PS0809) is issued.- Comm...

  • Page 580

    14.COMPENSATION FUNCTION PROGRAMMING B-63784EN/01- 556 -14.16 TOOL CENTER POINT CONTROLOn a five-axis machine having two rotation axes that turn a tool, toollength compensation can be performed momentarily even in the middleof a block.This tool ...

  • Page 581

    B-63784EN/01 PROGRAMMING 14.COMPENSATION FUNCTION- 557 -NOTEThe length from the tool tip to tool pivot point mustequal the sum of the tool length compensationamount and tool holder offset value.The difference between tool center poi...

  • Page 582

    14.COMPENSATION FUNCTION PROGRAMMING B-63784EN/01- 558 -Explanations- Specification of tool center point controlThe tool compensation vector changes in the following cases:Type 1 : The offset value is changed, or the rotation axis position(B, C)...

  • Page 583

    B-63784EN/01 PROGRAMMING 14.COMPENSATION FUNCTION- 559 -- Programmed pointIn programming, the position of the tool tip center is specified.Ball-end millProgrammed pathTool tip centerFlat-end millProgrammed pathTool tip centerCorner-...

  • Page 584

    14.COMPENSATION FUNCTION PROGRAMMING B-63784EN/01- 560 -- Specification of rotation axes(1) Type 1When only the rotation axes are specified in tool center pointcontrol (type 1) mode, the feedrate of the rotation axes is set to themaximum cutting...

  • Page 585

    B-63784EN/01 PROGRAMMING 14.COMPENSATION FUNCTION- 561 -- Operation of tool center point control (type 2)The following item is the same as for tool length compensation alongthe tool axis:- Tool holder offsetThe following items are t...

  • Page 586

    14.COMPENSATION FUNCTION PROGRAMMING B-63784EN/01- 562 -position of the B-axis to 30.0. In tool center point control,therefore, the compensation vector is calculated with B set to30.0.- Look-ahead acceleration/deceleration before interpolationW...

  • Page 587

    B-63784EN/01 PROGRAMMING 14.COMPENSATION FUNCTION- 563 -- Functions resulting in the same operation as tool length compensation along thetool axisFunctions resulting in the same operation as tool length compensation in aspecified di...

  • Page 588

    14.COMPENSATION FUNCTION PROGRAMMING B-63784EN/01- 564 -ReferenceII.14.12Tool Length Compensationalong Tool AxisThis ManualII.14.17Tool Length Compensationin a Specified DirectionFANUC Series15i/150i-MBParameter Manual(B-63790EN)4.4.29Parameters...

  • Page 589

    B-63784EN/01 PROGRAMMING 14.COMPENSATION FUNCTION- 565 -14.16.1 Tool Center Point Control for 5-Axis MachiningOverviewThere are three different types of five-axis machines. They are <1> atool rotation type, <2> a table r...

  • Page 590

    14.COMPENSATION FUNCTION PROGRAMMING B-63784EN/01- 566 -X’Y’Z’BAX’Y’Z’Table rotation type machineTool center point pathY’X’Z’Fig.14.16.1 (b)

  • Page 591

    B-63784EN/01 PROGRAMMING 14.COMPENSATION FUNCTION- 567 -As the table rotates, the position and orientation of a workpiece fixedon the table change. However, programmed positions are specified inthe coordinate system fixed on the tab...

  • Page 592

    14.COMPENSATION FUNCTION PROGRAMMING B-63784EN/01- 568 -<1> Tool rotationtype machineXCBZYBCXZYBYXZC<2> Table rotationtype machine<3> Mixed typemachineFig.14.16.1 (d)This function can be used also when the rotary axis for contr...

  • Page 593

    B-63784EN/01 PROGRAMMING 14.COMPENSATION FUNCTION- 569 -Format - Tool center control commandFormatG43.4 H ; Starts tool center point control (TYPE1)G49 ; Cancels tool center point control.Symbol descriptionH : Tool offse...

  • Page 594

    14.COMPENSATION FUNCTION PROGRAMMING B-63784EN/01- 570 -Programming coordinate systemIssuing G43.4 makes the CNC use the current workpiece coordinatesystem as its programming coordinate system (fixed on the table).The programming coordinate syst...

  • Page 595

    B-63784EN/01 PROGRAMMING 14.COMPENSATION FUNCTION- 571 -Operation descriptions - Tool center point control commandWhen tool center point control is in use, a move command is issued inthe programming coordinate system.The program spe...

  • Page 596

    14.COMPENSATION FUNCTION PROGRAMMING B-63784EN/01- 572 - - Current position display when tool center point control is in useFor a machine coordinate system for which tool center control is in use,the position of the controlled point (rotation ce...

  • Page 597

    B-63784EN/01 PROGRAMMING 14.COMPENSATION FUNCTION- 573 -Concrete examples of operationsOne of the examples explained below uses two table rotary axes. Theother example uses one table rotary axis and one tool rotary axis. - Table rot...

  • Page 598

    14.COMPENSATION FUNCTION PROGRAMMING B-63784EN/01- 574 -X’Y’Z’BAX’Y’Z’Y’X’Z’Table rotation type machineControlled point path(in the machine coordinate system)Tool center point path (in the programming coordinate system)XZ’Y...

  • Page 599

    B-63784EN/01 PROGRAMMING 14.COMPENSATION FUNCTION- 575 - - Mixed typeExplained below is a mixed-type machine configuration with one tablerotary axis (X-axis) and one tool rotary axis (Y-axis). (SeeFig.14.16.1(h).)If commands for a r...

  • Page 600

    14.COMPENSATION FUNCTION PROGRAMMING B-63784EN/01- 576 -X’Y’Z’BAX’Y’Z’X’Y’Z’X’Z’Y’X’Z’Y’X’Z’Y’Mixed type machineControlled point path(in the machine coordinate system)Tool center point path (in the programming...

  • Page 601

    B-63784EN/01 PROGRAMMING 14.COMPENSATION FUNCTION- 577 -ExamplesO300 is sample program 3.In this example, each side, 100 mm long, of an equilateral triangle iscreated with the B-axis set, respectively, to 0, 30 to 60, and 60 degrees...

  • Page 602

    14.COMPENSATION FUNCTION PROGRAMMING B-63784EN/01- 578 -Mixed type (B-axis as the tool rotary axis, C-axis as the tablerotary axis, and tool axis in the Z direction)CG55 workpiece coordinatesystemB-axis rotationcenterXZYBC-axis rotationcenterFig...

  • Page 603

    B-63784EN/01 PROGRAMMING 14.COMPENSATION FUNCTION- 579 -Fig.14.16.1(j) shows the attitude of the workpiece and the attitude ofthe tool head relative to the workpiece as viewed in the +Z direction onthe assumption that the table rota...

  • Page 604

    14.COMPENSATION FUNCTION PROGRAMMING B-63784EN/01- 580 -Step-by-step operation diagram of each blockYX(C 0)(B 30.0)(B 0)Behavior of thetool center pointBehavior of the controlledpoint (machine coordinates)(B 30.0)The C-axis rotates toC120 degree...

  • Page 605

    B-63784EN/01 PROGRAMMING 14.COMPENSATION FUNCTION- 581 -The C-axis rotates toC240 degrees.(C 120.0)(B 60.0)(B 60.0)(C 240.0)(C 360.0)(B 0)The C-axis rotates toC360 degrees.N80 blockN90 blockN100 block(C 240.0)(B 60.0)(B 60.0)Fig.14....

  • Page 606

    14.COMPENSATION FUNCTION PROGRAMMING B-63784EN/01- 582 -Restrictions - Deceleration at a cornerWhen tool center point control is in use, the controlled point may moveon a curved line even if a straight-line command is issued. Somecommands may ca...

  • Page 607

    B-63784EN/01 PROGRAMMING 14.COMPENSATION FUNCTION- 583 - - Hypothetical axis as the table rotary axisIf a hypothetical axis is used as the table rotary axis, tool center pointcontrol is performed with the table rotary axis set to 0 ...

  • Page 608

    14.COMPENSATION FUNCTION PROGRAMMING B-63784EN/01- 584 -14.17 CONTROL POINT COMPENSATION OF TOOL LENGTHCOMPENSATION ALONG TOOL AXIS AND TOOL CENTERPOINT CONTROLNormally, the control point of tool length compensation along the toolaxis and tool c...

  • Page 609

    B-63784EN/01 PROGRAMMING 14.COMPENSATION FUNCTION- 585 -According to the machine type, set the values listed in the followingtable:Table 14.17 (a) Setting the Tool Holder Offset and Rotation CenterCompensation VectorMachine typeToo...

  • Page 610

    14.COMPENSATION FUNCTION PROGRAMMING B-63784EN/01- 586 -Shifting the control pointConventionally, the center of a rotation axis was used as the controlpoint. The control point can now be shifted as shown in the figurebelow.Then, when the rotati...

  • Page 611

    B-63784EN/01 PROGRAMMING 14.COMPENSATION FUNCTION- 587 -The method for shifting the control point can be selected using thefollowing parameters:Table 14.17 (b) Methods of Shifting the Control PointBit 5 (SVC) ofparameter No.7540Bit...

  • Page 612

    14.COMPENSATION FUNCTION PROGRAMMING B-63784EN/01- 588 -14.18 GRINDING WHEEL WEAR COMPENSATIONOn a specified compensation plane, a compensation vector is created on anextension of a straight line starting from a specified point (compensationcent...

  • Page 613

    B-63784EN/01 PROGRAMMING 14.COMPENSATION FUNCTION- 589 -Description- Grinding wheel wear compensation (start of grinding wheel wear compensation)Up to three compensation center positions can be set. Set thecoordinates (in the workp...

  • Page 614

    14.COMPENSATION FUNCTION PROGRAMMING B-63784EN/01- 590 -- Canceling grinding wheel wear compensationWhen G40 and D0 are specified at the same time, the compensationvector is canceled, movement due to the cancellation occurs, and thengrinding whe...

  • Page 615

    B-63784EN/01 PROGRAMMING 14.COMPENSATION FUNCTION- 591 -- Compensation vectorA compensation vector is created only on the plane (compensationplane) of the axes (compensation axes) set in parameter Nos. 6056 and6057.On an extension o...

  • Page 616

    14.COMPENSATION FUNCTION PROGRAMMING B-63784EN/01- 592 -- Compensation plane and plane selection by G17/G18/G19The creation of a compensation vector is not related to plane selectionby G17/G18/G19.For example, while circular interpolation is bei...

  • Page 617

    B-63784EN/01 PROGRAMMING 14.COMPENSATION FUNCTION- 593 -- Circular interpolation/helical interpolationWhen circular interpolation (G02/G03) is specified in grinding wheelwear compensation mode, the radius at the start point of an ar...

  • Page 618

    14.COMPENSATION FUNCTION PROGRAMMING B-63784EN/01- 594 -- Available compensation functionsThe commands listed below can be used in grinding wheel wearcompensation mode. In these command modes, grinding wheel wearcompensation can also be used.- ...

  • Page 619

    B-63784EN/01 PROGRAMMING 14.COMPENSATION FUNCTION- 595 -- Relation with compensation functionsThe commands listed below cannot be used in grinding wheel wearcompensation function mode. Before using these commands, cancelgrinding wh...

  • Page 620

    14.COMPENSATION FUNCTION PROGRAMMING B-63784EN/01- 596 -- Relation with other functions-Background drawingA program producing a spiral tool center path cannot be drawncorrectly.-Binary input operation by a remote bufferThis function cannot be us...

  • Page 621

    B-63784EN/01 PROGRAMMING 14.COMPENSATION FUNCTION- 597 -14.19 CUTTER COMPENSATION FOR ROTARY TABLEOverviewFor machines having a rotary table, such as that shown in the figurebelow, cutter compensation can be performed.BAZXYXYZWorkpi...

  • Page 622

    14.COMPENSATION FUNCTION PROGRAMMING B-63784EN/01- 598 -- Selection of an offset planeOffset planePlane selectioncommandIP_XpYpG17 ;Xp_Yp_ZpXpG18 ;Xp_Zp_YpZpG19 ;Yp_Zp_The selected plane, or two axes, must be included in the three linearaxes (p...

  • Page 623

    B-63784EN/01 PROGRAMMING 14.COMPENSATION FUNCTION- 599 -Example- Parameter specification exampleOn the machine shown in Fig.14.19 (a), parameters must be specifiedas follows:The axis numbers are assumed as follows: X = 1, Y = 2, Z...

  • Page 624

    14.COMPENSATION FUNCTION PROGRAMMING B-63784EN/01- 600 -3P conversion matrixúúúûùêêêëé−úúúûùêêêëé−=333333333cos0sin010sin0coscossin0sincos0001bbbbaaaaM(3) Calculation of three points '1P, '2P, '3P used to calculate cutter...

  • Page 625

    B-63784EN/01 PROGRAMMING 14.COMPENSATION FUNCTION- 601 -Alarm and messageNo.MessageDescriptionPS1062ILLEGAL USE OF G41.4/G42.4(1) Any of the parameters Nos. 6140 to 6146, related to the cuttercompensation for Rotary table, is not co...

  • Page 626

    14.COMPENSATION FUNCTION PROGRAMMING B-63784EN/01- 602 -14.20 THREE-DIMENSIONAL CUTTER COMPENSATION FORROTARY TABLEOverviewThis function allows three-dimensional cutter compensation to beperformed on a 5-axis machine having a rotary table and a ...

  • Page 627

    B-63784EN/01 PROGRAMMING 14.COMPENSATION FUNCTION- 603 -Format - Startup (start of three-dimensional cutter compensation rotary table) (tool sideoffset)G41.5 (or G42.5) IP_ D_ ;G41.5 : Cutter compensation, left (group 07)G42.5 : ...

  • Page 628

    14.COMPENSATION FUNCTION PROGRAMMING B-63784EN/01- 604 - - Offset mode cancellationIn offset mode, executing a block satisfying either or both of thefollowing conditions causes the CNC to enter offset cancel mode:1G40 is specified.20 is specifi...

  • Page 629

    B-63784EN/01 PROGRAMMING 14.COMPENSATION FUNCTION- 605 -3. Conversion of program coordinates using the table rotation axis(1) Conversion from the workpiece coordinate system to thetable coordinate system using the table rotation axi...

  • Page 630

    14.COMPENSATION FUNCTION PROGRAMMING B-63784EN/01- 606 -Limitations - Interference checkIn G41.5 or G42.5 mode, an interference check is performed using aspecified position in the workpiece coordinate system and acompensation vector. The interfe...

  • Page 631

    B-63784EN/01 PROGRAMMING 14.COMPENSATION FUNCTION- 607 -Alarm and messageNo.MessageDescriptionPS1070ILLEGAL USE OF G41.5/G42.5The parameters related to the three-dimensional cuttercompensation for rotary table are not specified prop...

  • Page 632

    15.PROGRAMMABLE PARAMETER INPUT (G10) PROGRAMMING B-63784EN/01- 608 -15 PROGRAMMABLE PARAMETER INPUT (G10)GeneralThe values of parameters can be entered in a lprogram. This function isused for setting pitch error compensation data when attachments ar...

  • Page 633

    B-63784EN/01 PROGRAMMING 15.PROGRAMMABLE PARAMETER INPUT (G10)- 609 -Example1.Set bit 0 (CIP) of bit type parameter No.1000G10L52 ; Parameter entry modeN1000 R00000001 ;SBP settingG11 ;cancel parameter entry mode2.Change the values for ...

  • Page 634

    16.MEASUREMENT FUNCTIOM PROGRAMMING B-63784EN/01- 610 -16 MEASUREMENT FUNCTIOM

  • Page 635

    B-63784EN/01 PROGRAMMING 16.MEASUREMENT FUNCTIOM- 611 -16.1 SKIP FUNCTION (G31)Linear interpolation can be commanded by specifying axial movefollowing the G31 command, like G01. If an external skip signal isinput during the executi...

  • Page 636

    16.MEASUREMENT FUNCTIOM PROGRAMMING B-63784EN/01- 612 -Coordinatesystem originSkip signal input positionPncPQPnc : Current position in the CNC when the skip signal is turned on (mm or inch)P : Distance to be measured (mm or inch)Q : Servo delay...

  • Page 637

    B-63784EN/01 PROGRAMMING 16.MEASUREMENT FUNCTIOM- 613 -Example- The next block to G31 is an incremental commandFig.16.1 (a) The next block is an incremental command- The next block to G31 is an absolute command for 1 axisFig.16.1 (...

  • Page 638

    16.MEASUREMENT FUNCTIOM PROGRAMMING B-63784EN/01- 614 -16.2 SKIPPING THE COMMANDS FOR SEVERAL AXESMove commands can be specified for several axes at one time in a G31block. If an external skip signal is input during such commands, thecommand i...

  • Page 639

    B-63784EN/01 PROGRAMMING 16.MEASUREMENT FUNCTIOM- 615 -16.3 HIGH SPEED SKIP SIGNAL (G31)The skip function operates based on a high-speed skip signal(connected directly to the NC; not via the PMC) instead of an ordinaryskip signal. ...

  • Page 640

    16.MEASUREMENT FUNCTIOM PROGRAMMING B-63784EN/01- 616 -16.4 MULTISTAGE SKIP (G31.1 TO G31.4)The multistage skip function can be used for a block specifying G31.1to G31.4. The function stores, in the custom macro variable, thecoordinates when fo...

  • Page 641

    B-63784EN/01 PROGRAMMING 16.MEASUREMENT FUNCTIOM- 617 -- Correspondence to skip signalsParameter Nos. 7205 to 7208 can be used to specify whether the 4-pointor 8-point skip signal is used (when a high-speed skip signal is used).Spe...

  • Page 642

    16.MEASUREMENT FUNCTIOM PROGRAMMING B-63784EN/01- 618 -16.5 AUTOMATIC TOOL LENGTH MEASUREMENT (G37)By issuing G37 the tool starts moving to the measurement position andkeeps on moving till the approach end signal from the measurementdevice is o...

  • Page 643

    B-63784EN/01 PROGRAMMING 16.MEASUREMENT FUNCTIOM- 619 -- Specifying G37Specify the absolute coordinates of the correct measurement position.Execution of this command moves the tool at the rapid traverse ratetoward the measurement p...

  • Page 644

    16.MEASUREMENT FUNCTIOM PROGRAMMING B-63784EN/01- 620 -NOTE1 When an H code is specified in the same block asG37, an alarm is generated. Specify H code beforethe block!of G37.2 The measurement speed (parameter No. 7311),deceleration position (...

  • Page 645

    B-63784EN/01 PROGRAMMING 16.MEASUREMENT FUNCTIOM- 621 -ExamplesG92 Z760.0 X1100.0 ;Sets a workpiece coordinate system withrespectG00 G90 X850.0 ;Moves the tool to X850.0.That is the tool is moved to a position thatis a specified di...

  • Page 646

    16.MEASUREMENT FUNCTIOM PROGRAMMING B-63784EN/01- 622 -16.6 TORQUE LIMIT SKIPIf a move command is specified after G31 P99 (or G31 P98) when theservo motor torque limit(*1) is overridden, the same cutting feed as thatachieved by linear interpola...

  • Page 647

    B-63784EN/01 PROGRAMMING 16.MEASUREMENT FUNCTIOM- 623 -Explanation- Skip operation conditionCommandConditionG31P98G31P99When a torque limit is reachedAAWhen a skip signal is enteredBAA : Skip operation is performed.B : Skip offset ...

  • Page 648

    16.MEASUREMENT FUNCTIOM PROGRAMMING B-63784EN/01- 624 -- Torque limit commandIf a torque limit skip command specifies no torque limit override valuein address Q, and no torque limit is specified using the PMC window, aPS alarm (PS151) is output...

  • Page 649

    B-63784EN/01 PROGRAMMING 16.MEASUREMENT FUNCTIOM- 625 -NOTE1 Specify a torque limit skip command for one axis only.If no axis is specified, or if multiple axes are specified,a PS alarm (PS0150) is output.2 Never specify a torque li...

  • Page 650

    17.CUSTOM MACRO PROGRAMMING B-63784EN/01- 626 -17 CUSTOM MACROAlthough subprograms are useful for repeating the same operation, thecustom macro function also allows use of variables, arithmetic andlogic operations, and c...

  • Page 651

    B-63784EN/01 PROGRAMMING 17.CUSTOM MACRO- 627 -17.1 VARIABLESAn ordinary machining program specifies a G code and the traveldistance directly with a numeric value; examples are G100 and X100.0.With a custom macro,...

  • Page 652

    17.CUSTOM MACRO PROGRAMMING B-63784EN/01- 628 -- Common variables #100 - #199, #500 - #999Just as a local variable is used locally in the macro, a common variableis in common use throughout the main program, throughout e...

  • Page 653

    B-63784EN/01 PROGRAMMING 17.CUSTOM MACRO- 629 -n (1 to 9) of optional block skip/n cannot be replaced with avariable.No variable number can be specified directly using a variable.[Example] When replacing 5 of #5 w...

  • Page 654

    17.CUSTOM MACRO PROGRAMMING B-63784EN/01- 630 -Original arithmetic expression(example of common variable)#100=#1#100=#1*5#100=#1+#1Replacement result (if #1=<null>)<null>00Replacement result (if #1=0)000Origi...

  • Page 655

    B-63784EN/01 PROGRAMMING 17.CUSTOM MACRO- 631 -NOTE1 If an unregistered variable name is specified, aPS0098 alarm is issued.2 If an invalid value (such as a negative value) isspecified as suffix n, a PS0099 alarm ...

  • Page 656

    17.CUSTOM MACRO PROGRAMMING B-63784EN/01- 632 -17.2 SYSTEM VARIABLESSystem variables can be used to read and write internal CNC data suchas tool compensation values and current position data. Systemvariables are essenti...

  • Page 657

    B-63784EN/01 PROGRAMMING 17.CUSTOM MACRO- 633 -System variablenumberSystem variablenameAttributeDescription #2201 to #2400 #11001 to #11999 [#_OFSW[n]]R/W Tool compensation values (wear) in compensationmemory B No...

  • Page 658

    17.CUSTOM MACRO PROGRAMMING B-63784EN/01- 634 -System variablenumberSystem variablenameAttributeDescription #3003 bit1 [#_M_FIN]R/W Auxiliary function completion signal awaited/notawaited #3004 [#_CNTL2]R/W Feed hold ena...

  • Page 659

    B-63784EN/01 PROGRAMMING 17.CUSTOM MACRO- 635 -- Modal informationSystem variablenumberSystem variablenameAttributeDescription #4001 to #4030 [#_BUFG[n]]R Modal information of blocks up to the immediatelypreceding...

  • Page 660

    17.CUSTOM MACRO PROGRAMMING B-63784EN/01- 636 -System variablenumberSystem variablenameAttributeDescription #4330 [#_ACTWZP]R Modal information of the block currently beingexecuted (additional workpiece coordinate system...

  • Page 661

    B-63784EN/01 PROGRAMMING 17.CUSTOM MACRO- 637 -- Manual handle interrupt valuesSystem variablenumberSystem variablenameAttributeDescription #5121 to #5140 [#_MIRTP[n]]R Manual handle interrupt value Note) Suffix n...

  • Page 662

    17.CUSTOM MACRO PROGRAMMING B-63784EN/01- 638 -- Dynamic reference tool compensation valuesSystem variablenumberSystem variablenameAttributeDescription #16001 to #16020 [#_DOFS1[n]]R/W Dynamic reference tool compensation...

  • Page 663

    B-63784EN/01 PROGRAMMING 17.CUSTOM MACRO- 639 -- Interface signals #1000 to #1031, #1032, #1033 to #1035 (Attribute : R) #1100 to #1115, #1132, #1133 to #1135 (Attribute : R/W)[Inp...

  • Page 664

    17.CUSTOM MACRO PROGRAMMING B-63784EN/01- 640 -3121031#i2]i1000[#300i1032#×−×+Σ=={}31V312iVi2300i]n1032[#×−×Σ==+where, Vi = 0 when UIni is 0 Vi = 1 when UIni is 1 n : 0 to 3

  • Page 665

    B-63784EN/01 PROGRAMMING 17.CUSTOM MACRO- 641 -[Output signals]By assigning values to system variables #1100 to #1132, for outputtinginterface signals, interface output signals can be output.VariablenumberVariable...

  • Page 666

    17.CUSTOM MACRO PROGRAMMING B-63784EN/01- 642 -VariablenumberVariablenameNumber ofpointsInterface input signal#1132[#_UOL[0]]32UO000 to UO031#1133[#_UOL[1]]32UO100 to UO131#1134[#_UOL[2]]32UO200 to UO231#1135[#_UOL[3]]32...

  • Page 667

    B-63784EN/01 PROGRAMMING 17.CUSTOM MACRO- 643 -[Example]DI configuration215214213212211 210 29 2827 26 25 2423 22 21 20DO configuration282726252423222120(1) Signed three BCD...

  • Page 668

    17.CUSTOM MACRO PROGRAMMING B-63784EN/01- 644 -- Tool compensation values #2000 to #2800, #10001 to #13999 (Attribute : R/W)Compensation values can be checked by reading system variables#2001 to #2800 and #10001 to #13...

  • Page 669

    B-63784EN/01 PROGRAMMING 17.CUSTOM MACRO- 645 --When the number of compensation values exceeds 200 (Thevalues of the compensation numbers up to 200 can also bereferenced using #2001 to #2400.)GeometricWearCompensa...

  • Page 670

    17.CUSTOM MACRO PROGRAMMING B-63784EN/01- 646 --When the number of compensation values exceeds 200 (Thevalues of the compensation numbers up to 200 can also bereferenced using #2001 to #2800.)H codeGeometricWearCompensat...

  • Page 671

    B-63784EN/01 PROGRAMMING 17.CUSTOM MACRO- 647 -- Clocks #3001, #3002 (Attribute : R/W)By reading the system variables for clocks #3001 and #3002, the timesof the clocks can be checked. The time of a clock can b...

  • Page 672

    17.CUSTOM MACRO PROGRAMMING B-63784EN/01- 648 -Variable numberor variable nameValueSingle block stopCompletion of anauxiliary function0Enabled_[#_M_SBK]1Disabled_0_To be awaited[#_M_FIN]1_Not to be awaited[Example]Drilli...

  • Page 673

    B-63784EN/01 PROGRAMMING 17.CUSTOM MACRO- 649 -By using the following variable names, feed hold, feedrate override,and exact stop in G61 mode or by G09 can be individually enabled ordisabled.VariablenumberVariable...

  • Page 674

    17.CUSTOM MACRO PROGRAMMING B-63784EN/01- 650 -- Mirror image state #3007 (Attribute : R)By reading #3007, the mirror image (setting or DI) state at that time canbe checked for each axis.Value numberValue nameDescripti...

  • Page 675

    B-63784EN/01 PROGRAMMING 17.CUSTOM MACRO- 651 -- Cutting time #3016 (Attribute: R/W)By using the custom macro system variable #3016, the cumulativecutting time parameters (No. 103, No. 104) can be read and preset...

  • Page 676

    17.CUSTOM MACRO PROGRAMMING B-63784EN/01- 652 -- Main program number #4000 (Attribute : R)System variable #4000, even when placed in a subprogram of any level,can be used to read the main program number.Value numberVal...

  • Page 677

    B-63784EN/01 PROGRAMMING 17.CUSTOM MACRO- 653 -- Modal information #4001 to #4130, #4201 to #4330, #4401 to #4530 (Attribute : R)By reading system variables #4001 to #4130, the modal informationspecified in the ...

  • Page 678

    17.CUSTOM MACRO PROGRAMMING B-63784EN/01- 654 -Classifi-cationValuenumberValue nameDescription(1)(2)(3)#4119#4319#4519[#_BUFS][#_ACTS][#_INTS] Modal information (S code)(1)(2)(3)#4120#4320#4520[#_BUFT][#_ACTT][#_INTT] Mo...

  • Page 679

    B-63784EN/01 PROGRAMMING 17.CUSTOM MACRO- 655 -- Position information #5001 to #5080 (Attribute : R)By reading system variables #5001 to #5080, the end point positions ofthe immediately preceding block, the curr...

  • Page 680

    17.CUSTOM MACRO PROGRAMMING B-63784EN/01- 656 -- Tool length compensation #5081 to #5100 (Attribute : R)By reading system variables #5081 to #5100, the tool lengthcompensation value of each axis in the block currently ...

  • Page 681

    B-63784EN/01 PROGRAMMING 17.CUSTOM MACRO- 657 -NOTE A variable value greater than the number ofcontrolled axes is undefined.- Workpiece origin offsets #5201 to #5340, #7001 to #7960 (Attribute : R)Workpiece o...

  • Page 682

    17.CUSTOM MACRO PROGRAMMING B-63784EN/01- 658 -The workpiece origin offsets of additional workpiece coordinatesystems can be handled as system variables as with a standardworkpiece coordinate system. The system variable...

  • Page 683

    B-63784EN/01 PROGRAMMING 17.CUSTOM MACRO- 659 -- Reference fixture offset values #15001 to #15160 (Attribute : R/W)By reading system variables #15001 to #15160, the reference fixtureoffset values used with the r...

  • Page 684

    17.CUSTOM MACRO PROGRAMMING B-63784EN/01- 660 -- Dynamic reference tool compensation values #16001 to #16160 (Attribute : R/W)By reading system variables #16001 to #16160, the dynamic referencetool compensation values ...

  • Page 685

    B-63784EN/01 PROGRAMMING 17.CUSTOM MACRO- 661 -NOTE A variable value greater than the number ofcontrolled axes is undefined.- System constants #0, #3100 to #3102 (Attribute : R)Fixed values or constants used wi...

  • Page 686

    17.CUSTOM MACRO PROGRAMMING B-63784EN/01- 662 -17.3 ARITHMETIC COMMANDSA variety of arithmetic operations can be performed on variables. Anarithmetic command must be specified the same as in generalarithmetic expressions...

  • Page 687

    B-63784EN/01 PROGRAMMING 17.CUSTOM MACRO- 663 -Explanation- Angle unitsThe units of angles used with the SIN, COS, ASIN, ACOS, TAN, andATAN functions are degrees. For example, 90 degrees and 30 minutesis represen...

  • Page 688

    17.CUSTOM MACRO PROGRAMMING B-63784EN/01- 664 -- Natural logarithm #i = LN[#j];- When the antilogarithm (#j) is zero or smaller, alarm PS0119 isissued.- A constant can be used instead of the #j variable.- Exponential fun...

  • Page 689

    B-63784EN/01 PROGRAMMING 17.CUSTOM MACRO- 665 -- Rounding up and down to an integerWith CNC, when the absolute value of the integer produced by anoperation on a number is greater than the absolute value of the ori...

  • Page 690

    17.CUSTOM MACRO PROGRAMMING B-63784EN/01- 666 -Limitation- Data typeThe numeric data handled by custom macros are double-precision realdata, as laid down in the applicable IEEE standard. Any errorsassociated with the ex...

  • Page 691

    B-63784EN/01 PROGRAMMING 17.CUSTOM MACRO- 667 -#2=2.0000000000000000 but instead be equal to a slightlysmaller value, such as#2=1.9999999999999997To prevent this from occurring, change the N30 line as follows : N...

  • Page 692

    17.CUSTOM MACRO PROGRAMMING B-63784EN/01- 668 -17.4 MACRO STATEMENTS AND NC STATEMENTSThe following blocks are referred to as macro statements :- Blocks containing an arithmetic or logic operation (=)- Blocks containing ...

  • Page 693

    B-63784EN/01 PROGRAMMING 17.CUSTOM MACRO- 669 -17.5 BRANCH AND REPETITIONIn a program, the flow of control can be changed using the GOTOstatement and IF statement. Three types of branch and repetitionoperations a...

  • Page 694

    17.CUSTOM MACRO PROGRAMMING B-63784EN/01- 670 -17.5.2 Conditional Branch (IF Statement)A <conditional expression> is specified after IF.IF[<conditional expression>]GOTOnIf the <conditional expression> i...

  • Page 695

    B-63784EN/01 PROGRAMMING 17.CUSTOM MACRO- 671 -- Relational operatorA relational operator consists of two alphabetic characters as shown inthe table below and is used to judge whether an operand is greater,smaller...

  • Page 696

    17.CUSTOM MACRO PROGRAMMING B-63784EN/01- 672 -17.5.3 Repetition (While Statement)Specify a conditional expression after WHILE. While the specifiedcondition is satisfied, the program from DO to END is executed. If thes...

  • Page 697

    B-63784EN/01 PROGRAMMING 17.CUSTOM MACRO- 673 -- NestingThe identification numbers (1 to 3) in a DO-END loop can be used asmany times as desired. Note, however, when a program includescrossing repetition loops (o...

  • Page 698

    17.CUSTOM MACRO PROGRAMMING B-63784EN/01- 674 -- Undefined variableIn a conditional expression that uses EQ or NE, a <vacant> and zerohave different effects. In other types of conditional expressions, a<vacant&g...

  • Page 699

    B-63784EN/01 PROGRAMMING 17.CUSTOM MACRO- 675 -17.6 MACRO CALLA macro program can be called using the following methods:Macro callSimple call (G65)modal call (G66, G66.1, G67)Macro call with G codeMacro call with ...

  • Page 700

    17.CUSTOM MACRO PROGRAMMING B-63784EN/01- 676 -17.6.1 Simple Call (G65)When G65 is specified, the custom macro specified at address P iscalled. Data (argument) can be passed to the custom macro program.Explanation- Call...

  • Page 701

    B-63784EN/01 PROGRAMMING 17.CUSTOM MACRO- 677 -- Argument specificationIIArgument specification II uses A, B, and C once each and uses I, J,and K up to ten times. Argument specification II is used to passvalues s...

  • Page 702

    17.CUSTOM MACRO PROGRAMMING B-63784EN/01- 678 -NOTE1 If address E is used as an axis name, using theprogram axis name expansion option, *2 and *3apply.2 The value of α differs with the increment system ofthe axis for wh...

  • Page 703

    B-63784EN/01 PROGRAMMING 17.CUSTOM MACRO- 679 -- Local variable levels- Local variables from level 0 to 5 are provided for nesting.- The level of the main program is 0.- Each time a macro is called (with G65, G66 ...

  • Page 704

    17.CUSTOM MACRO PROGRAMMING B-63784EN/01- 680 -Sample program (bolt hole circle)A macro is created which drills H holes at intervals of B degrees after astart angle of A degrees along the periphery of a circle with radiu...

  • Page 705

    B-63784EN/01 PROGRAMMING 17.CUSTOM MACRO- 681 -- Program calling a macro programO0002;G90 G92 X0 Y0 Z100.0;G65 P9100 X100.0 Y50.0 R30.0 Z-50.0 F500 I100.0 A0 B45.0 H5;M30;- Macro program (called program)O9100;#3=#...

  • Page 706

    17.CUSTOM MACRO PROGRAMMING B-63784EN/01- 682 -17.6.2 Modal Call : Move Command Call (G66)Once G66 is issued to specify a modal call a macro is called after ablock specifying movement along axes is executed. This continu...

  • Page 707

    B-63784EN/01 PROGRAMMING 17.CUSTOM MACRO- 683 -Sample programThe same operation as the drilling canned cycle G81 is created using acustom macro and the machining program makes a modal macro call.For program simpli...

  • Page 708

    17.CUSTOM MACRO PROGRAMMING B-63784EN/01- 684 -- Macro program (program called)O9110;#1=#4001; ................................... Stores G00/G01.#3=#4003; ................................... Stores G90/G91.#4=#4109; ......

  • Page 709

    B-63784EN/01 PROGRAMMING 17.CUSTOM MACRO- 685 -17.6.3 Modal Call : Per-Block Call (G66.1)In this macro call mode, a specified macro is called unconditionally ineach NC command block. All the commands in each block...

  • Page 710

    17.CUSTOM MACRO PROGRAMMING B-63784EN/01- 686 -17.6.4 Macro Call Using G CodeBy setting a G code number used to call a macro program in aparameter, the macro program can be called in the same way as for asimple call (G65...

  • Page 711

    B-63784EN/01 PROGRAMMING 17.CUSTOM MACRO- 687 -- Argument specificationAs with a simple call, two types of argument specification areavailable: Argument specificationIand argument specification II. Thetype of ar...

  • Page 712

    17.CUSTOM MACRO PROGRAMMING B-63784EN/01- 688 -17.6.5 Macro Calls with G Codes (Specification of Multiple G Codes)By setting the first G code to be used for a macro program call, thenumber of the first program to be call...

  • Page 713

    B-63784EN/01 PROGRAMMING 17.CUSTOM MACRO- 689 -17.6.6 Macro Calls with G Codes with the Decimal Point(Specification of Multiple G Codes)By setting the first G code with the decimal point to be used for a macroprog...

  • Page 714

    17.CUSTOM MACRO PROGRAMMING B-63784EN/01- 690 -17.6.7 Macro Call Using an M CodeBy setting an M code number used to call a macro program in aparameter, the macro program can be called in the same way as with asimple call...

  • Page 715

    B-63784EN/01 PROGRAMMING 17.CUSTOM MACRO- 691 -17.6.8 Macro Calls with M Codes with the Decimal Point(Specification of Multiple G Codes)By setting the first M code with the decimal point to be used for amacro prog...

  • Page 716

    17.CUSTOM MACRO PROGRAMMING B-63784EN/01- 692 -17.6.9 Subprogram Call Using an M CodeBy setting an M code number used to call a subprogram (macroprogram) in a parameter, the macro program can be called in the sameway as ...

  • Page 717

    B-63784EN/01 PROGRAMMING 17.CUSTOM MACRO- 693 -17.6.10 Subprogram Call Using an M Code (Specification of Multiple GCodes)By setting the first M code to be used for a subprogram call, the numberof the first program...

  • Page 718

    17.CUSTOM MACRO PROGRAMMING B-63784EN/01- 694 -17.6.11 Subprogram Calls Using a T CodeBy enabling subprograms (macro program) to be called with a T codein a parameter, a macro program can be called each time the T code i...

  • Page 719

    B-63784EN/01 PROGRAMMING 17.CUSTOM MACRO- 695 -17.6.12 Subprogram Calls Using a S CodeBy enabling subprograms (macro program) to be called with a S code ina parameter, a macro program can be called each time the S...

  • Page 720

    17.CUSTOM MACRO PROGRAMMING B-63784EN/01- 696 -17.6.13 Subprogram Calls Using a 2nd Auxiliary Function CodeBy enabling subprograms (macro program) to be called with a 2ndauxiliary function code in a parameter, a macro pr...

  • Page 721

    B-63784EN/01 PROGRAMMING 17.CUSTOM MACRO- 697 -17.6.14 Sample ProgramBy using the subprogram call function that uses M codes, thecumulative usage time of each tool is measured.- Conditions- The cumulative usage ti...

  • Page 722

    17.CUSTOM MACRO PROGRAMMING B-63784EN/01- 698 -- Program that calls a macro programO0001;T01 M06;M03; :M05; ..........................................Changes #501.T02 M06;M03; :M05; .......................................

  • Page 723

    B-63784EN/01 PROGRAMMING 17.CUSTOM MACRO- 699 -17.7 PROCESSING MACRO STATEMENTSFor smooth machining, the CNC prereads the NC statement to beperformed next. This operation is referred to as buffering.In multi-buff...

  • Page 724

    17.CUSTOM MACRO PROGRAMMING B-63784EN/01- 700 -- Buffering the next block in other than cutter compensation mode (G41, G42)When N1 is being executed, the next NC statement (N4) is read into thebuffer.The macro statements...

  • Page 725

    B-63784EN/01 PROGRAMMING 17.CUSTOM MACRO- 701 -17.8 REGISTERING CUSTOM MACRO PROGRAMSCustom macro programs are similar to subprograms. They can beregistered and edited in the same way as subprograms.The storage ca...

  • Page 726

    17.CUSTOM MACRO PROGRAMMING B-63784EN/01- 702 -17.9 CODES AND RESERVED WORDS USED IN CUSTOMMACROSThe following codes can be used in custom macro programs, inaddition to the codes used in ordinary programs.Explanation- Co...

  • Page 727

    B-63784EN/01 PROGRAMMING 17.CUSTOM MACRO- 703 -- Reserved wordsThe following reserved words can be used in custom macros:AND, OR, XOR, MOD, EQ, NE, GT, LT, GE, LE , SIN, COS,TAN, ASIN, ACOS, ATAN, ATN, SQRT, SQR, ...

  • Page 728

    17.CUSTOM MACRO PROGRAMMING B-63784EN/01- 704 -17.10 WRITE-PROTECTING COMMON VARIABLESBy setting variable numbers for parameters Nos. 7029 to 7032, multiplecommon variables (#500 to #999 or #200 to #499) can be protected...

  • Page 729

    B-63784EN/01 PROGRAMMING 17.CUSTOM MACRO- 705 -17.11 DISPLAYING A MACRO ALARM AND MACRO MESSAGEIN JAPANESEExplanationKanji, katakana and hiragana characters as well as alphanumericcharacters and special characters...

  • Page 730

    17.CUSTOM MACRO PROGRAMMING B-63784EN/01- 706 -17.12 EXTERNAL OUTPUT COMMANDSIn addition to the standard custom macro commands, the followingmacro commands are available. They are referred to as external outputcommands....

  • Page 731

    B-63784EN/01 PROGRAMMING 17.CUSTOM MACRO- 707 -(ii) All variables are stored with a decimal point. Specify a variablefollowed by the number of significant decimal places enclosed inbrackets. A variable value is tr...

  • Page 732

    17.CUSTOM MACRO PROGRAMMING B-63784EN/01- 708 -- Data output command DPRNTThe DPRNT command outputs characters and each digit in the value ofa variable according to the code set in the settings (ISO).(i) For an explanati...

  • Page 733

    B-63784EN/01 PROGRAMMING 17.CUSTOM MACRO- 709 -Example)- Close command PCLOSThe PCLOS command releases a connection to an externalinput/output device. Specify this command when all data outputcommands have termina...

  • Page 734

    17.CUSTOM MACRO PROGRAMMING B-63784EN/01- 710 -- Required settingSpecify the specification number use for I/O device specificationnumber . According to the specification of this data, set data items(such as the baud rat...

  • Page 735

    B-63784EN/01 PROGRAMMING 17.CUSTOM MACRO- 711 -17.13 LIMITATIONS- Sequence number searchA custom macro program cannot be searched for a sequence number.- Single blockEven while a macro program is being executed, b...

  • Page 736

    17.CUSTOM MACRO PROGRAMMING B-63784EN/01- 712 -- ResetWith a reset operation, local variables and common variables #100 to#199 are cleared to null values. They can be prevented from clearing bysetting, CLV (bit 6 of para...

  • Page 737

    B-63784EN/01 PROGRAMMING 17.CUSTOM MACRO- 713 -17.14 INTERRUPTION TYPE CUSTOM MACROWhen a program is being executed, another program can be called byinputting an interrupt signal (UINT) from the machine. This fun...

  • Page 738

    17.CUSTOM MACRO PROGRAMMING B-63784EN/01- 714 -17.14.1 Specification MethodExplanations- Interrupt conditionsA custom macro interrupt is available only during program execution.It is enabled under the following condition...

  • Page 739

    B-63784EN/01 PROGRAMMING 17.CUSTOM MACRO- 715 -17.14.2 Details of FunctionsExplanations- Subprogram-type interrupt and macro-type interruptThere are two types of custom macro interrupts: Subprogram-typeinterrupts ...

  • Page 740

    17.CUSTOM MACRO PROGRAMMING B-63784EN/01- 716 -Type I (when an interrupt is performed even in the middle of a block)(i) When the interrupt signal (UINT) is input, any movement or dwellbeing performed is stopped immediate...

  • Page 741

    B-63784EN/01 PROGRAMMING 17.CUSTOM MACRO- 717 -Type II (when an interrupt is performed at the end of the block)(i) If the block being executed is not a block that consists of severalcycle operations such as a dril...

  • Page 742

    17.CUSTOM MACRO PROGRAMMING B-63784EN/01- 718 -- Custom macro interrupt during execution of a block that involves cycle operation For type IEven when cycle operation is in progress, movement is interrupted, andthe ...

  • Page 743

    B-63784EN/01 PROGRAMMING 17.CUSTOM MACRO- 719 -Fig.17.14.2 (c) Custom macro interrupt signal- Return from a custom macro interruptTo return control from a custom macro interrupt to the interruptedprogram, specify...

  • Page 744

    17.CUSTOM MACRO PROGRAMMING B-63784EN/01- 720 -Fig.17.14.2 (d) Return from a custom macro interruptM96 P1234 ;O1234InterruptGxx Xxxxx ;M99 ;M96 P5678O5678M97InterruptInterrupt Gxx Xxxxx ; M96 ; M99 ;M97O1000 ;InterruptN...

  • Page 745

    B-63784EN/01 PROGRAMMING 17.CUSTOM MACRO- 721 -- Custom macro interrupt and modal informationA custom macro interrupt is different from a normal program call. It isinitiated by an interrupt signal (UINT) during p...

  • Page 746

    17.CUSTOM MACRO PROGRAMMING B-63784EN/01- 722 - Modal information when control is returned by M99The modal information present before the interrupt becomes valid. Thenew modal information modified by the interrupt pro...

  • Page 747

    B-63784EN/01 PROGRAMMING 17.CUSTOM MACRO- 723 -- Custom macro interrupt and custom macro modal callWhen the interrupt signal (UINT) is input and an interrupt program iscalled, the custom macro modal call is cancel...

  • Page 748

    17.CUSTOM MACRO PROGRAMMING B-63784EN/01- 724 -Cautions CAUTION1 If the setting of bit 3 of parameter No. 7004 and thesettings of parameter No. 7102 are changed, thechanges will take effect the next time the power isturn...

  • Page 749

    B-63784EN/01 PROGRAMMING 18.HIGH-SPEED CUTTING FUNCTICNS- 725 -18 HIGH-SPEED CUTTING FUNCTICNS

  • Page 750

    18.HIGH-SPEED CUTTING FUNCTICNS PROGRAMMING B-63784EN/01- 726 -18.1 MULTIBUFFER (G05.1)While executing a block, the CNC usually calculates the next block toconvert it to an applicable data form for execution (executable form).This feature is call...

  • Page 751

    B-63784EN/01 PROGRAMMING 18.HIGH-SPEED CUTTING FUNCTICNS- 727 -CodeFunctionG52Local coordinate system setting*1M00Program stopM01Optional stopM02End of programM30End of programIn addition, M codes to suppress buffering can be set wit...

  • Page 752

    18.HIGH-SPEED CUTTING FUNCTICNS PROGRAMMING B-63784EN/01- 728 -NOTE2 If many small blocks are specified in succession, aninterruption in pulse distribution may occur betweenblocks. Such an interruption can be prevented if thetime for executing b...

  • Page 753

    B-63784EN/01 PROGRAMMING 18.HIGH-SPEED CUTTING FUNCTICNS- 729 -NOTE6 Processing performed at bufferingThe following processes performed at buffering arealso performed at buffering in the multibuffer mode(1) Tool selection according t...

  • Page 754

    18.HIGH-SPEED CUTTING FUNCTICNS PROGRAMMING B-63784EN/01- 730 -18.2 DECELERATION BASED ON ACCELERATION DURINGCIRCULAR INTERPOLATIONProgrammed pathActual path∆r : Maximum radial error (mm)v : Feedrate (mm/sec)r: Arc radius (mm)a : Acceleration (...

  • Page 755

    B-63784EN/01 PROGRAMMING 18.HIGH-SPEED CUTTING FUNCTICNS- 731 -If the radius of the arc is small, the calculated deceleration speed v maybecome very small. To prevent the feedrate from becoming too low,the minimum feedrate can be sp...

  • Page 756

    18.HIGH-SPEED CUTTING FUNCTICNS PROGRAMMING B-63784EN/01- 732 -18.3 ADVANCED PREVIEW CONTROL(G05.1)With the FANUC Series 15i, the look-ahead acceleration/decelerationbefore interpolation function is used for high-speed, high-precisionmachining, i...

  • Page 757

    B-63784EN/01 PROGRAMMING 18.HIGH-SPEED CUTTING FUNCTICNS- 733 -18.4 LOOK-AHEAD ACCELERATION/DECELERATION BEFOREINTERPOLATION (G05.1)This function is designed to achieve high-speed, high-precisionmachining with a program including a c...

  • Page 758

    18.HIGH-SPEED CUTTING FUNCTICNS PROGRAMMING B-63784EN/01- 734 -- Fine high precision contour control (fine HPCC)When the fine HPCC option is selected, fine HPCC mode is also setwhen look-ahead acceleration/deceleration before interpolation modeis...

  • Page 759

    B-63784EN/01 PROGRAMMING 18.HIGH-SPEED CUTTING FUNCTICNS- 735 -Limitation- Condition for performing look-ahead acceleration/deceleration beforeinterpolationEven if look-ahead acceleration/deceleration before interpolation modeis spec...

  • Page 760

    18.HIGH-SPEED CUTTING FUNCTICNS PROGRAMMING B-63784EN/01- 736 -18.4.1 Bell-Shaped Acceleration/Deceleration Time ConstantChangeIn Look-ahead bell-shaped acceleration/deceleration beforeinterpolation, the speed during acceleration/deceleration is ...

  • Page 761

    B-63784EN/01 PROGRAMMING 18.HIGH-SPEED CUTTING FUNCTICNS- 737 -If linear acceleration/deceleration not reaching the specifiedacceleration occurs as shown above, this function shortens theacceleration/deceleration time by changing the...

  • Page 762

    18.HIGH-SPEED CUTTING FUNCTICNS PROGRAMMING B-63784EN/01- 738 -Explanation - Specifying the speed in a G05.1 Q1 blockIf an F command is used in a G05.1Q1 block, the speed specified withthe F command is assumed the acceleration/deceleration refere...

  • Page 763

    B-63784EN/01 PROGRAMMING 18.HIGH-SPEED CUTTING FUNCTICNS- 739 - - Setting the speed on the High-speed High-precision Machining Setting ScreenIf the reference speed for each machining mode is set on the High-speed High-precision Machi...

  • Page 764

    18.HIGH-SPEED CUTTING FUNCTICNS PROGRAMMING B-63784EN/01- 740 - - Using the speed specified with the F command issued at the start of cutting as thereference speedThe speed specified with the F command issued when a cutting blockgroup (such as G0...

  • Page 765

    B-63784EN/01 PROGRAMMING 18.HIGH-SPEED CUTTING FUNCTICNS- 741 -(Example 2)The reference speed specified for a parameter (No. 1473, 1539,1559, or 1579) is used (the value specified for the parameter is not0)G05.1 Q1 R3 F9000 ; Selects...

  • Page 766

    18.HIGH-SPEED CUTTING FUNCTICNS PROGRAMMING B-63784EN/01- 742 -(1) If the bell-shaped acceleration/deceleration before interpolationtime constant T2' is calculated under the condition that the bell-shaped acceleration/deceleration before interpol...

  • Page 767

    B-63784EN/01 PROGRAMMING 18.HIGH-SPEED CUTTING FUNCTICNS- 743 -18.5 FINE HPCC (G05.1)This function is designed to achieve high-speed, high-precisionmachining with a program involving a sequence of very small straightlines and NURBS c...

  • Page 768

    18.HIGH-SPEED CUTTING FUNCTICNS PROGRAMMING B-63784EN/01- 744 -With the fine HPCC function, the additional functions listed below canbe used to achieve high-speed, high-precision machining for very smallstraight lines and NURBS curved lines:1)Fee...

  • Page 769

    B-63784EN/01 PROGRAMMING 18.HIGH-SPEED CUTTING FUNCTICNS- 745 -NOTE1 Always specify G05P10000 and G01P0 as a pair.Fine HPCC mode, after being turned on by G05.1Q1,cannot be turned off by G05P0. Fine HPCC mode,after being turned on b...

  • Page 770

    18.HIGH-SPEED CUTTING FUNCTICNS PROGRAMMING B-63784EN/01- 746 -18.6 MACHINING TYPE IN HPCC SCREEN PROGRAMMING(G05.1 OR G10)GeneralThe high-speed high-precision machining setting screen supports threemachining parameter sets (FINE, MEDIUM, and ROU...

  • Page 771

    B-63784EN/01 PROGRAMMING 18.HIGH-SPEED CUTTING FUNCTICNS- 747 -- Program exampleO12345678G05.1 Q1 R3G05.1 Q1 R2G10 L80 R1G05.1 Q0M30Operation is performed with "rough machining" settings.Operation is performed with "s...

  • Page 772

    18.HIGH-SPEED CUTTING FUNCTICNS PROGRAMMING B-63784EN/01- 748 -18.7 JERK CONTROLOverviewLook-ahead acceleration/deceleration before interpolation and fineHPCC, which are high-speed, high-precision machine functions,perform speed control in such a...

  • Page 773

    B-63784EN/01 PROGRAMMING 18.HIGH-SPEED CUTTING FUNCTICNS- 749 -Reference itemSeries15i/150i-BConnection Manual(this manual)(B-63783EN-1)7.2.2Look-aheadacceleration/decelerationbefore interpolationFANUC Series15i/150i-MBOperator’s M...

  • Page 774

    19.AXIS CONTROL FUNCTIONS PROGRAMMING B-63784EN/01- 750 -19 AXIS CONTROL FUNCTIONS

  • Page 775

    B-63784EN/01 PROGRAMMING 19.AXIS CONTROL FUNCTIONS- 751 -19.1 AXIS INTERCHANGEThe machine axis on which the tool actually moves with the X, Y, or Zcommand specified by memory, DNC, or MDI operation can bechanged by using the setting...

  • Page 776

    19.AXIS CONTROL FUNCTIONS PROGRAMMING B-63784EN/01- 752 -(2) Specification with the switches on the machine operator's panelFor an explanation of using the panel switches, refer to the manualprovided by the machine tool builder.The relationships...

  • Page 777

    B-63784EN/01 PROGRAMMING 19.AXIS CONTROL FUNCTIONS- 753 -ExampleWhen axis interchange is performed, the addresses specified with aprogram command are changed according to the axis interchangenumber before the command is executed.Exa...

  • Page 778

    19.AXIS CONTROL FUNCTIONS PROGRAMMING B-63784EN/01- 754 -19.2 TWIN TABLE CONTROLTwo specified axes can be switched to synchronous, independent, ornormal operation, using the appropriate switches on the machineoperator's panel.The following opera...

  • Page 779

    B-63784EN/01 PROGRAMMING 19.AXIS CONTROL FUNCTIONS- 755 -- Independent operationThis mode is used to machine a small workpiece on either of the twotables. The move command specified for the master axis can determinethe movement alo...

  • Page 780

    19.AXIS CONTROL FUNCTIONS PROGRAMMING B-63784EN/01- 756 -- Automatic reference position return checkWhen the automatic reference position return check command (G27) isissued during synchronous operation, the V axis and Y axis move intandem. If ...

  • Page 781

    B-63784EN/01 PROGRAMMING 19.AXIS CONTROL FUNCTIONS- 757 -- Synchronous deviation compensationSynchronous deviation compensation cannot be performed. Thiswould constantly monitor the master axis and a slave axis for any servopositio...

  • Page 782

    19.AXIS CONTROL FUNCTIONS PROGRAMMING B-63784EN/01- 758 -19.2.1 Tool Length Compensation in Tool Axis Direction with TwinTable ControlFor a machine that applies twin table control to two heads, tool lengthcompensation along the tool axis can be ...

  • Page 783

    B-63784EN/01 PROGRAMMING 19.AXIS CONTROL FUNCTIONS- 759 -- Switching between synchronous and independent operation(1)Synchronous operationTool length compensation along the tool axis performs simultaneouslyfor both heads.The compens...

  • Page 784

    19.AXIS CONTROL FUNCTIONS PROGRAMMING B-63784EN/01- 760 -Restrictions- Changing the tool length compensation value along the tool axisThe tool length compensation value along the tool axis can be changedfor both synchronous and independent opera...

  • Page 785

    B-63784EN/01 PROGRAMMING 19.AXIS CONTROL FUNCTIONS- 761 -19.3 SYNCHRONIZATION CONTROLWhen one axis is driven by two servo motors as in the case of a largegantry machine, a command for one axis can drive two motorssynchronously. Mor...

  • Page 786

    19.AXIS CONTROL FUNCTIONS PROGRAMMING B-63784EN/01- 762 -19.4 TANDEM CONTROLWhen enough torque for driving a large table cannot be produced byonly one motor, two motors can be used for movement along a singleaxis.Positioning is performed by the ...

  • Page 787

    B-63784EN/01 PROGRAMMING 19.AXIS CONTROL FUNCTIONS- 763 -19.5 CHOPPING FUNCTION (G80,G81.1)When contour grinding is performed, the chopping function can be usedto grind the side face of a workpiece. By means of this function, while...

  • Page 788

    19.AXIS CONTROL FUNCTIONS PROGRAMMING B-63784EN/01- 764 -- Chopping with the switch on the machine operator's panelBefore starting chopping, set the chopping axis, reference position, topdead point, bottom dead point, and chopping feedrate from ...

  • Page 789

    B-63784EN/01 PROGRAMMING 19.AXIS CONTROL FUNCTIONS- 765 -- Chopping after the upper dead point or lower dead point has been changedWhen the upper dead point or lower dead point is changed whilechopping is being performed, the tool m...

  • Page 790

    19.AXIS CONTROL FUNCTIONS PROGRAMMING B-63784EN/01- 766 -(3) When the upper dead point is changed during movement from thelower dead point to the upper dead pointNew upper dead pointPrevious upper dead pointPrevious lower dead pointChanging the ...

  • Page 791

    B-63784EN/01 PROGRAMMING 19.AXIS CONTROL FUNCTIONS- 767 -- Chopping delay compensation functionWhen high-speed chopping is performed with the grinding axis, a servodelay and acceleration/deceleration delay occur. These delays preven...

  • Page 792

    19.AXIS CONTROL FUNCTIONS PROGRAMMING B-63784EN/01- 768 -- Mode switching during choppingIf 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...

  • Page 793

    B-63784EN/01 PROGRAMMING 19.AXIS CONTROL FUNCTIONS- 769 -- Three-dimensional coordinate conversionThis function is not effective in three-dimensional coordinateconversion mode. Before starting this function, therefore, cancelthree-d...

  • Page 794

    19.AXIS CONTROL FUNCTIONS PROGRAMMING B-63784EN/01- 770 -19.6 PARALLEL AXIS CONTROLWhen a machine having two or more heads or tables is used tosimultaneously machine two or more identical workpieces, paralleloperation is executed. In parallel o...

  • Page 795

    B-63784EN/01 PROGRAMMING 19.AXIS CONTROL FUNCTIONS- 771 -Explanation- Selection of the coordinate system in parallel axesAn individual offset from the workpiece reference point can bespecified for each of the control axes represente...

  • Page 796

    19.AXIS CONTROL FUNCTIONS PROGRAMMING B-63784EN/01- 772 -(f) Automatic return from the reference position(G29)Positions the tool to the specified position on each axis via the midpoint.(Example)G91 G29 X30. Y50.;- Tool length compensation and to...

  • Page 797

    B-63784EN/01 PROGRAMMING 19.AXIS CONTROL FUNCTIONS- 773 -- Amounts of travel on parallel axesThe amounts of travel on parallel axes differ depending on whether thecommand is incremental or absolute.(1) For an incremental command- Ra...

  • Page 798

    19.AXIS CONTROL FUNCTIONS PROGRAMMING B-63784EN/01- 774 -Limitation- Synchronous control and twin table controlOf the parallel axes with the same axis name, that having the smallestcontrolled axis number is called the master axis.Axes other than...

  • Page 799

    B-63784EN/01 PROGRAMMING 19.AXIS CONTROL FUNCTIONS- 775 -19.7 ROTARY AXIS ROLL-OVERThe roll-over function prevents the coordinate of the rotary axis fromoverflowing because it converts the coordinate to a rotation angle ofless than ...

  • Page 800

    19.AXIS CONTROL FUNCTIONS PROGRAMMING B-63784EN/01- 776 -- Example of rollover with a manual intervention amountWhen this function is used in the absolute mode, if the manual absoluteswitch is turned on to make a manual intervention during autom...

  • Page 801

    B-63784EN/01 PROGRAMMING 19.AXIS CONTROL FUNCTIONS- 777 -19.8 MULTIPLE ROTARY CONTROL AXIS FUNCTIONExplanationA rotary axis is specified in the ROT bit (bit 1 of parameter 1008).When incremental programming is specified for the rota...

  • Page 802

    19.AXIS CONTROL FUNCTIONS PROGRAMMING B-63784EN/01- 778 -(2) When the RSR bit (bit 2 of parameter 1007) is set to 0 and the INCbit (bit 5 of parameter 1007) is set to 1The shortest way to make the movement of (1) is selected.[Example]G90B0 ;Move...

  • Page 803

    B-63784EN/01 PROGRAMMING 19.AXIS CONTROL FUNCTIONS- 779 -19.9 ELECTRONIC GEAR BOX (G80, G81, G80.5, G81.5)The Electronic Gear Box is a function for rotating a workpiece in syncwith a rotating tool, or to move a tool in sync with a r...

  • Page 804

    19.AXIS CONTROL FUNCTIONS PROGRAMMING B-63784EN/01- 780 -19.9.1 Command Specification (G80.5, G81.5)FormatG81.5þþþþýýýýüüüüîîîîííííìììì p P t T þýüîíìLl0 ββ j ; Synchronization startedAmount of tra...

  • Page 805

    B-63784EN/01 PROGRAMMING 19.AXIS CONTROL FUNCTIONS- 781 - CAUTION1 During synchronization, movements for the slave axis andother axes can be specified by programming. Note,however, that a move command must be specified inincremental...

  • Page 806

    19.AXIS CONTROL FUNCTIONS PROGRAMMING B-63784EN/01- 782 -19.9.2 Command Specification Compatible with Hobbing Machine(G80,G81)Synchronization can be specified in the same way as the operation of ahobbing machine is specified.When the canned cycl...

  • Page 807

    B-63784EN/01 PROGRAMMING 19.AXIS CONTROL FUNCTIONS- 783 -NOTEWhile synchronization specified by the methodcompatible with hobbing machine is in progress, feedper revolution is performed according to the rotationspeed about the slave...

  • Page 808

    19.AXIS CONTROL FUNCTIONS PROGRAMMING B-63784EN/01- 784 -- Direction of helical gear compensation About HDR bit (bit 2 of parameter 7612)When the HDR bit is set to 1+CC : +, Z : +, P : +Compensation direction : +(a)-Z+Z+CC : +, Z : +, P : -Compe...

  • Page 809

    B-63784EN/01 PROGRAMMING 19.AXIS CONTROL FUNCTIONS- 785 -19.9.3 Example of Controlled Axis Configuration- Gear grinderSpindle: EGB master axis: Tool axisFirst axis: XSecond axis : YThird axis : C-axis (EGB slave axis: Workpiece axi...

  • Page 810

    19.AXIS CONTROL FUNCTIONS PROGRAMMING B-63784EN/01- 786 -19.9.4 Sample Programs- When the master axis is the spindle, and the slave axis is the C-axis1. G81.5 T10 C0 L1 ;Synchronization between the master axis and C-axis is started atthe ratio o...

  • Page 811

    B-63784EN/01 PROGRAMMING 19.AXIS CONTROL FUNCTIONS- 787 -GrindingDressingGrinding- When two groups of axes are synchronized simultaneouslyBased on the controlled axis configuration described in II-1.1.3, thesample program below sync...

  • Page 812

    19.AXIS CONTROL FUNCTIONS PROGRAMMING B-63784EN/01- 788 -- DressingDressing on a gear grinding machine configured as illustrated belowO9500 ;N01 G01 G91 U_ F100 ;Approach along the dressing axisN02 Maa S100 ;With Maa, the PMC rotates the g...

  • Page 813

    B-63784EN/01 PROGRAMMING 19.AXIS CONTROL FUNCTIONS- 789 -- Command specification for hobbing machinesBased on the controlled axis configuration described in Section 19.9.5,the sample program below sets the C-axis (in parameter 5995)...

  • Page 814

    19.AXIS CONTROL FUNCTIONS PROGRAMMING B-63784EN/01- 790 -19.9.5 Synchronization Ratio Specification RangeThe programmed ratio (synchronization ratio) of a movement along theslave axis to a movement along the master axis is converted to adetectio...

  • Page 815

    B-63784EN/01 PROGRAMMING 19.AXIS CONTROL FUNCTIONS- 791 -(1) When the master axis is the spindle, and the slave axis is the C-axis(a) Command : G81.5 T10 C0 L1 ;Operation : Synchronization between the spindle and C-axis isstarted at...

  • Page 816

    19.AXIS CONTROL FUNCTIONS PROGRAMMING B-63784EN/01- 792 -(d) Command : G81.5 T10 C3.263 ;Operation : Synchronization between the spindle and C-axis isstarted at the ratio of a 3.263-degree rotation aboutthe C-axis to ten spindle rotations.Pm: (N...

  • Page 817

    B-63784EN/01 PROGRAMMING 19.AXIS CONTROL FUNCTIONS- 793 -(b) For a millimeter machine and inch inputCommand :G81.5 T1 V1.0 ;Operation : Synchronization between the spindle and V-axis isstarted at the ratio of a 1.0 inch movement (25...

  • Page 818

    19.AXIS CONTROL FUNCTIONS PROGRAMMING B-63784EN/01- 794 -(1) When the master axis is the spindle, and the slave axis is the C-axis(a) Command : G81.5 T1 C3.263 ;Operation : Synchronization between the spindle and C-axis isstarted at the ratio of...

  • Page 819

    B-63784EN/01 PROGRAMMING 19.AXIS CONTROL FUNCTIONS- 795 -19.9.6 Retract Function- Retract function by an external signalWhen the retract switch on the machine operator's panel is turned on,retraction and feedrate are made by the am...

  • Page 820

    19.AXIS CONTROL FUNCTIONS PROGRAMMING B-63784EN/01- 796 -- Processing of the retract function by a servo/spindle alarmFailure on servo axisFailure in servo amplifierSpindle deceleration started: PMCFailure on spindleFailure in spindle amplifierS...

  • Page 821

    B-63784EN/01 PROGRAMMING 19.AXIS CONTROL FUNCTIONS- 797 -19.9.7 Electronic Gear Box Automatic Phase SynchronizationWhen synchronization start or cancellation is specified, the EGB(Electronic Gear Box) function does not immediately s...

  • Page 822

    19.AXIS CONTROL FUNCTIONS PROGRAMMING B-63784EN/01- 798 -Explanation - Acceleration/deceleration type1. Starting synchronizationWhen synchronization is started, the workpiece axis speed isaccelerated according to the acceleration rate set in the...

  • Page 823

    B-63784EN/01 PROGRAMMING 19.AXIS CONTROL FUNCTIONS- 799 -2. Canceling synchronizationDeceleration starts according to the acceleration rate set in theparameter (No. 7729). CAUTIONThe automatic phase matching speed is specified inpar...

  • Page 824

    19.AXIS CONTROL FUNCTIONS PROGRAMMING B-63784EN/01- 800 -Example- Acceleration/deceleration typeM03 ;Clockwise spindle rotation commandG81 T_ L_ R1 ; Synchronization start commandG00 X_ ;Positions the workpiece at the machining position.Mach...

  • Page 825

    B-63784EN/01 PROGRAMMING 19.AXIS CONTROL FUNCTIONS- 801 -19.10 SKIP FUNCTION FOR EGB AXIS (G31.8)This function validates a skip signal or high-speed skip signal (bothreferred to as the skip signal) for the EGB slave axis in thesynch...

  • Page 826

    19.AXIS CONTROL FUNCTIONS PROGRAMMING B-63784EN/01- 802 -After 200 times of skip signal inputs, 200 skip positions of A axiscorresponding to each skip signal input are set in the custom macrovariables whose numbers are from 500 to 699. And the t...

  • Page 827

    B-63784EN/01 PROGRAMMING 19.AXIS CONTROL FUNCTIONS- 803 -19.11 TOOL WITHDRAWAL AND RETURN (G10.6)To replace the tool damaged during machining or to check the status ofmachining, the tool can be withdrawn from a workpiece. The tool ...

  • Page 828

    19.AXIS CONTROL FUNCTIONS PROGRAMMING B-63784EN/01- 804 -FormatSpecify a retraction axis and distance in the following format:Specify the amount of retraction, using G10.6.G10.6 IP_;IP_ : In incremental mode, retraction distance from theposition...

  • Page 829

    B-63784EN/01 PROGRAMMING 19.AXIS CONTROL FUNCTIONS- 805 -- RepositioningWhen the cycle start button is pressed while the tool is in the retractionposition, the tool moves to the position where the TOOL WITHDRAWswitch was turned on. ...

  • Page 830

    19.AXIS CONTROL FUNCTIONS PROGRAMMING B-63784EN/01- 806 -19.12 HIGH SPEED HRV MODEOverviewHigher speed and higher precision HIGH SPEED HRV control can beperformed by using the servo control card, the servo amplifier, andSeparate Detector I/F Uni...

  • Page 831

    B-63784EN/01 PROGRAMMING 19.AXIS CONTROL FUNCTIONS- 807 -RestrictionsHIGH SPEED HRV mode is disabled under any of the followingconditions, even if an attempt is made to turn it on:- Automatic operation is stopped- PMC axis control...

  • Page 832

  • Page 833

    APPENDIX

  • Page 834

  • Page 835

    B-63784EN/01 APPENDIX A.TAPE CODE LIST- 811 -A TAPE CODE LISTIBC CodeEIA CodeMeaningCharacter 87614321 Character 8765 43210O0ONumber 01OO OOO1ONumber 12OOO2ONumber 23O OOO3OO ONumbe...

  • Page 836

    A.TAPE CODE LIST APPENDIX B-63784EN/01- 812 -ISO codeEIA codeMeaningCharacter 87 61 43 21Character 87 65 43 21DELO OO OO  OO ODelOO OO  O O ODelete(deleting a mispunch)NULBlankNo punch. With EIA ...

  • Page 837

    B-63784EN/01 APPENDIX A.TAPE CODE LIST- 813 -NOTE1 *:Codes with an asterisk that are entered in a comment area are read into memory.When entered in a significant data area, these codes are ignored.x: Co...

  • Page 838

    B.LIST OF FUNCTION AND TAPE FORMAT APPENDIX B-63784EN/01- 814 -B LIST OF FUNCTION AND TAPE FORMATThe symbols in the list represent the following.IP _ : X _ Y _ Z _ A _As seen above, the format consists of a combination of arbitary axisad...

  • Page 839

    B-63784EN/01 APPENDIX B.LIST OF FUNCTION AND TAPE FORMAT- 815 -FunctionsIllustrationTape formatHelical interpolation(G02, G03)Startpoint(x1y1z1)Intermediate point(x2y2z2)End pointα, β : Any axis other than circular interpolatio...

  • Page 840

    B.LIST OF FUNCTION AND TAPE FORMAT APPENDIX B-63784EN/01- 816 -FunctionsIllustrationTape formatStored stroke check (G22, 23)(XYZ) (IJK)G22 X_ Y_ Z_ I_ J_ K_ ;G23 ; CancelReference position returncheck (G27)G27 IP_ ;Reference ...

  • Page 841

    B-63784EN/01 APPENDIX B.LIST OF FUNCTION AND TAPE FORMAT- 817 -FunctionsIllustrationTape formatTool offset(G45 to G48)G 45G 46G 47G 48IncreaseDecreaseDoubledecreaseDoubleincreaseOffset valueIPIPIP_ D_ ;G45G46G47G48D : Tool offset...

  • Page 842

    B.LIST OF FUNCTION AND TAPE FORMAT APPENDIX B-63784EN/01- 818 -FunctionsIllustrationTape formatCoordinate system rotation(G68, G69)YX(x y)α(In case of X-Y plane)G68G17 Xp_ Yp_G18 Zp_ Xp_G19 Yp_ Zp_R α ;G69 ; CancelCanned cycles(G73, G74...

  • Page 843

    B-63784EN/01 APPENDIX C.RANGE OF COMMAND VALUE- 819 -C RANGE OF COMMAND VALUELinear axis- in case of metric thread for feed screw and metric inputIncrement systemIS-AIS-BIS-CIS-DIS-ELeast input increment(mm)0.010.0010.00010....

  • Page 844

    C.RANGE OF COMMAND VALUE APPENDIX B-63784EN/01- 820 -- in case of metric threads for feed screw and inch inputIncrement systemIS-AIS-BIS-CIS-DIS-ELeast input increment(inch)0.0010.00010.000010.0000010.0000001Least commandincrement (inch)...

  • Page 845

    B-63784EN/01 APPENDIX C.RANGE OF COMMAND VALUE- 821 -- in case of inch thread for feed screw and metric input)Increment systemIS-AIS-BIS-CIS-DIS-ELeast input increment(mm)0.010.0010.00010.000010.000001Least commandincrement ...

  • Page 846

    C.RANGE OF COMMAND VALUE APPENDIX B-63784EN/01- 822 -NOTE*1 The feed rate range shown above are limitationsdepending on CNC interpolation capacity. Whenregarded as a whole system, limitations, dependingon the servo system, must also be ...

  • Page 847

    B-63784EN/01 APPENDIX D.NOMOGRAPHS- 823 -D NOMOGRAPHS

  • Page 848

    D.NOMOGRAPHS APPENDIX B-63784EN/01- 824 -D.1 INCORRECT THREADED LENGTHThe leads of a thread are generally incorrect in δ1 and δ2, as shown inFig. D.1 (a), due to automatic acceleration and deceleration....

  • Page 849

    B-63784EN/01 APPENDIX D.NOMOGRAPHS- 825 -The lead at the beginning of thread cutting is shorter than the specifiedlead L, and the allowable lead error is DL. Then as follows.LL∆=αWhen the value o...

  • Page 850

    D.NOMOGRAPHS APPENDIX B-63784EN/01- 826 -D.2 SIMPLE CALCULATION OF INCORRECT THREADLENGTHExplanations- How to determine δδδδ2)mm(*1800LR2 =δ R : Spindle speed (min-1) L : Thread lead (mm)* When time ...

  • Page 851

    B-63784EN/01 APPENDIX D.NOMOGRAPHS- 827 -ExamplesR=350 min-1L=1mma=0.01 then)mm(194.0180013502=×=δ)mm(701.0605.321=×δ=δ- ReferenceV: speed in thread cuttingServo time constantRudges/inch Metr...

  • Page 852

    D.NOMOGRAPHS APPENDIX B-63784EN/01- 828 -D.3 TOOL PATH AT CORNERWhen servo system delay (by exponential acceleration/deceleration atcutting or caused by the positioning system when a servo motor is used)i...

  • Page 853

    B-63784EN/01 APPENDIX D.NOMOGRAPHS- 829 -AnalysisThe 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 co...

  • Page 854

    D.NOMOGRAPHS APPENDIX B-63784EN/01- 830 -- Initial value calculationThe initial value when cornering begins, that is, the X and Ycoordinates at the end of command distribution by the controller, isdetermi...

  • Page 855

    B-63784EN/01 APPENDIX D.NOMOGRAPHS- 831 -D.4 RADIUS DIRECTION ERROR AT CIRCLE CUTTINGWhen a servo motor is used, the positioning system causes an errorbetween input commands and output results. Since...

  • Page 856

    E.TABLE OF KANJI AND HIRAGANA CODES APPENDIX B-63784EN/01- 832 -E TABLE OF KANJI AND HIRAGANACODES- Table of Katakana codes- Table of Kanji and Hiragana codes

  • Page 857

    B-63784EN/01 APPENDIX E.TABLE OF KANJI AND HIRAGANA CODES- 833 -

  • Page 858

    E.TABLE OF KANJI AND HIRAGANA CODES APPENDIX B-63784EN/01- 834 -

  • Page 859

    B-63784EN/01 APPENDIX E.TABLE OF KANJI AND HIRAGANA CODES- 835 -

  • Page 860

    E.TABLE OF KANJI AND HIRAGANA CODES APPENDIX B-63784EN/01- 836 -

  • Page 861

    B-63784EN/01 APPENDIX E.TABLE OF KANJI AND HIRAGANA CODES- 837 -

  • Page 862

    E.TABLE OF KANJI AND HIRAGANA CODES APPENDIX B-63784EN/01- 838 -

  • Page 863

    B-63784EN/01 APPENDIX E.TABLE OF KANJI AND HIRAGANA CODES- 839 -

  • Page 864

    F.ALARM LIST APPENDIX B-63784EN/01- 840 -F ALARM LIST

  • Page 865

    B-63784EN/01 APPENDIX F.ALARM LIST- 841 -F.1 PS ALARM (ALARMS RELATED TO PROGRAM)NumberMessageContentsPS0001AXIS CONTROL MODE ILLEGALIllegal axis control modePS0003TOO MANY DIGITData entered wi...

  • Page 866

    F.ALARM LIST APPENDIX B-63784EN/01- 842 -NumberMessageContentsPS0090DUPLICATE NC,MACROSTATEMENTAn NC statement and macro statement were specified inthe same block.PS0091DUPLICATE SUB-CALL WORDMore...

  • Page 867

    B-63784EN/01 APPENDIX F.ALARM LIST- 843 -NumberMessageContentsPS0124MISSING DO STATEMENTThe DO instruction corresponding to the END instructionwas missing in a custom macro.PS0125ILLEGAL EXPRES...

  • Page 868

    F.ALARM LIST APPENDIX B-63784EN/01- 844 -NumberMessageContentsPS0160COMMAND DATA OVERFLOWAn overflow occurred in the storage length of the CNCinternal data.This alarm is also generated when the re...

  • Page 869

    B-63784EN/01 APPENDIX F.ALARM LIST- 845 -NumberMessageContentsPS0194ZERO RETURN END NOT ON REFThe axis specified in automatic zero return was not at thecorrect zero point when positioning was c...

  • Page 870

    F.ALARM LIST APPENDIX B-63784EN/01- 846 -NumberMessageContentsPS0272CRC:INTERFERENCEThe depth of the cut is too great during cuttercompensation. Check the program.The criteria for judging interfer...

  • Page 871

    B-63784EN/01 APPENDIX F.ALARM LIST- 847 -NumberMessageContentsPS0302ILLEGAL DATA NUMBERA non-existent data No. was found while loadingparameters or pitch error compensation data from a tape orb...

  • Page 872

    F.ALARM LIST APPENDIX B-63784EN/01- 848 -NumberMessageContentsPS0415G37 MEASURING POSITIONREACHED SIGNAL IS NOTPROPERLY INPUTThe measurement position arrival signal became "1" beforeor a...

  • Page 873

    B-63784EN/01 APPENDIX F.ALARM LIST- 849 -NumberMessageContentsPS0449ILLEGAL TOOL LIFE DATATool life management data is damaged for some reason.Reload the tool group and the corresponding tool d...

  • Page 874

    F.ALARM LIST APPENDIX B-63784EN/01- 850 -NumberMessageContentsPS0540ADDRESS E OVERFLOW(OVERRIDE)The speed obtained by applying override to the Einstruction is too fast.PS0541S-CODE ZERO"0&quo...

  • Page 875

    B-63784EN/01 APPENDIX F.ALARM LIST- 851 -NumberMessageContentsPS0592END OF RECORDThe EOR (End of Record) code is specified in the middle ofa block.This alarm is also generated when the percenta...

  • Page 876

    F.ALARM LIST APPENDIX B-63784EN/01- 852 -NumberMessageContentsPS0625TOO MANY G68 NESTING3-dimensional coordinate conversion was specified morethan twice.Cancel 3-dimensional coordinate conversion ...

  • Page 877

    B-63784EN/01 APPENDIX F.ALARM LIST- 853 -NumberMessageContentsPS0807PARAMETER SETTING ERRORAn I/O interface option that has not yet been added on wasspecified.The external I/O device and baud r...

  • Page 878

    F.ALARM LIST APPENDIX B-63784EN/01- 854 -NumberMessageContentsPS0991SPL:ILLEGAL COMMANDA G06.1 code was specified in a G code mode in which theinstruction is not supported.PS0992SPL:ILLEGAL AXIS M...

  • Page 879

    B-63784EN/01 APPENDIX F.ALARM LIST- 855 -NumberMessageContentsPS1070ILLEGAL USE OF G41.5/G42.5The parameters related to three-dimensional cuttercompensation for rotary table are not specified p...

  • Page 880

    F.ALARM LIST APPENDIX B-63784EN/01- 856 -F.2 BG ALARM (ALARMS RELATED TO BACKGROUND EDIT)NumberMessageContentsBG0590TH ERRORA TH error was detected during reading from an inputdevice.The read code...

  • Page 881

    B-63784EN/01 APPENDIX F.ALARM LIST- 857 -NumberMessageContentsBG0852OVERRUN ERROR(4)The next character was received from the I/O deviceconnected to reader/punch interface 4 before it could read...

  • Page 882

    F.ALARM LIST APPENDIX B-63784EN/01- 858 -F.3 SR ALARMNumberMessageContentsSR0125ILLEGAL EXPRESSION FORMATThe description of the custom macro statement iserroneous.The format of the parameter data ...

  • Page 883

    B-63784EN/01 APPENDIX F.ALARM LIST- 859 -NumberMessageContentsSR0807PARAMETER SETTING ERRORAn I/O interface option that has not yet been added on wasspecified.The external I/O device and baud r...

  • Page 884

    F.ALARM LIST APPENDIX B-63784EN/01- 860 -NumberMessageContentsSR0960ACCESS ERROR (MEMORY CARD)Illegal memory card accessingThis alarm is also generated during reading when readingis executed up to...

  • Page 885

    B-63784EN/01 APPENDIX F.ALARM LIST- 861 -F.5 SV ALARM (ALARMS RELATED TO SERVO)NumberMessageContentsSV0008EXCESS ERROR ( STOP )Position deviation during a stop is larger than the value setin pa...

  • Page 886

    F.ALARM LIST APPENDIX B-63784EN/01- 862 -NumberMessageContentsSV0060FSSB:OPEN READY TIME OUTThe FSSB was not in a ready to open state duringinitialization.A probable cause is an axis card malfunct...

  • Page 887

    B-63784EN/01 APPENDIX F.ALARM LIST- 863 -NumberMessageContentsSV0350EXCESS SYNC TORQUEThe difference in torque between the master axis and slaveaxis exceeded the value set in the parameter (No....

  • Page 888

    F.ALARM LIST APPENDIX B-63784EN/01- 864 -NumberMessageContentsSV0442CNV. CHARGE FAULT/INV. DBPSM : The spare charge circuit for the DC link is abnormal.PSMR : The spare charge circuit for the DC l...

  • Page 889

    B-63784EN/01 APPENDIX F.ALARM LIST- 865 -F.6 OT ALARMNumberMessageContentsOT0001+ OVERTRAVEL ( SOFT 1 )The tool entered the prohibited area of stored stroke check1 during movement in the positi...

  • Page 890

    F.ALARM LIST APPENDIX B-63784EN/01- 866 -NumberMessageContentsOT0126SPECIFIED NUMBER NOT FOUND[External data I/O]The No. specified for a program No. or sequence No.search could not be found.There ...

  • Page 891

    B-63784EN/01 APPENDIX F.ALARM LIST- 867 -F.7 IO ALARMNumberMessageContentsIO0001FILE ACCESS ERRORThe resident-type file system could not be accessed as anerror occurred in the resident-type fil...

  • Page 892

    F.ALARM LIST APPENDIX B-63784EN/01- 868 -F.9 SP ALARM (ALARMS RELATED TO SPINDLE)NumberMessageContentsSP0001SSPA:01 MOTOR OVERHEATAn alarm (AL-01) occurred on the spindle amplifier unitFor details...

  • Page 893

    B-63784EN/01 APPENDIX F.ALARM LIST- 869 -NumberMessageContentsSP0029SSPA:29 OVERLOADAn alarm (AL-29) occurred on the spindle amplifier unitFor details, refer to the Serial Spindle User's Manual...

  • Page 894

    F.ALARM LIST APPENDIX B-63784EN/01- 870 -NumberMessageContentsSP0062MOTOR VCMD OVERFLOWEDAn alarm (AL-62) occurred on the spindle amplifier unitFor details, refer to the Serial Spindle User's Manu...

  • Page 895

    B-63784EN/01 APPENDIX F.ALARM LIST- 871 -NumberMessageContentsSP0221ILLEGAL MOTOR NUMBERThe spindle No. and the motor No. are incorrectly matched.SP0222CAN NOT USE ANALOG SPINDLEThe machine too...

  • Page 896

    F.ALARM LIST APPENDIX B-63784EN/01- 872 -NumberMessageContentsSP0977SERIAL SPINDLE COMMUNICATIONERRORAn error occurred in the spindle control software.SP0978SERIAL SPINDLE COMMUNICATIONERRORA time...

  • Page 897

    B-63784EN/01 INDEXi-1INDEX<Number>3-DIMENSIONAL CIRCULAR INTERPOLATION(G02.4 AND G03.4) ..................................................... ...

  • Page 898

    INDEX B-63784EN/01i-2<D>DECELERATION BASED ON ACCELERATIONDURING CIRCULAR INTERPOLATION.................. 730DECIMAL POINT INPUT/POCKETCALCULATOR TYPE DECIMAL POINT INPUT.......

  • Page 899

    B-63784EN/01 INDEXi-3<M>MACHINE COORDINATE SYSTEM ........................ 189MACHINING TYPE IN HPCC SCREENPROGRAMMING (G05.1 OR G10) ..........

  • Page 900

    INDEX B-63784EN/01i-4Retract Function ........................................................... 795RIGID TAPPING ......................................................... 321Rigi...

  • Page 901

    B-63784EN/01 INDEXi-5Tool Life Management Command in a MachiningProgram ........................................................................ 250...

  • Page 902

  • Page 903

    Revision RecordFANUC Series 15i/15i-MB OPERATOR’S MANUAL (PROGRAMMING) (B-63784E) 01Jan., 2002EditionDateContentsEditionDateContents

  • Page 904

x