Navigation

  • Page 1

    OPERATOR’S MANUALB-61404E/08 for Machining CenterFANUC Series 0 / 00 / 0-Mate

  • 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

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

  • Page 4

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

  • Page 5

    B–61404E/08SAFETY PRECAUTIONSs–32 GENERAL WARNINGS AND CAUTIONSWARNING1. Never attempt to machine a workpiece without first checking the operation of the machine.Before starting a production run, ensure that the machine is operating correctly by performinga trial run using, for example, the s...

  • Page 6

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

  • Page 7

    B–61404E/08SAFETY PRECAUTIONSs–53 WARNINGS AND CAUTIONS RELATED TOPROGRAMMINGThis section covers the major safety precautions related to programming. Before attempting toperform programming, read the supplied this manual carefully such that you are fully familiar withtheir contents.WARNING1....

  • Page 8

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

  • Page 9

    B–61404E/08SAFETY PRECAUTIONSs–74 WARNINGS AND CAUTIONS RELATED TO HANDLINGThis section presents safety precautions related to the handling of machine tools. Before attemptingto operate your machine, read the supplied this manual carefully, such that you are fully familiar withtheir contents...

  • Page 10

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

  • Page 11

    B–61404E/08SAFETY PRECAUTIONSs–95 WARNINGS RELATED TO DAILY MAINTENANCEWARNING1. Memory backup battery replacementWhen replacing the memory backup batteries, keep the power to the machine (CNC) turned on,and apply an emergency stop to the machine. Because this work is performed with the powe...

  • Page 12

    SAFETY PRECAUTIONSB–61404E/08s–10WARNING2. Absolute pulse coder battery replacementWhen replacing the memory backup batteries, keep the power to the machine (CNC) turned on,and apply an emergency stop to the machine. Because this work is performed with the poweron and the cabinet open, only ...

  • Page 13

    B–61404E/08SAFETY PRECAUTIONSs–11WARNING3. Fuse replacementBefore replacing a blown fuse, however, it is necessary to locate and remove the cause of theblown fuse.For this reason, only those personnel who have received approved safety and maintenancetraining may perform this work.When replaci...

  • Page 14

    Table of ContentsB–61404E/08c–1SAFETY PRECAUTIONSs–1. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . I. GENERAL1. GENERAL3. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . ....

  • Page 15

    TABLE OF CONTENTSB–61404E/08c–25. FEED FUNCTIONS49. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5.1GENERAL50. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . ....

  • Page 16

    TABLE OF CONTENTSB–61404E/08c–311. AUXILIARY FUNCTION115. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11.1AUXILIARY FUNCTION (M FUNCTION)116. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11.2MULTIPL...

  • Page 17

    TABLE OF CONTENTSB–61404E/08c–414. COMPENSATION FUNCTION191. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14.1TOOL LENGTH OFFSET (G43, G44, G49)192. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14.2AUTOMATIC T...

  • Page 18

    TABLE OF CONTENTSB–61404E/08c–516.5BRANCH AND REPETITION313. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16.5.1Unconditional Branch (GOTO Statement)313. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . ...

  • Page 19

    TABLE OF CONTENTSB–61404E/08c–6III. OPERATION1. GENERAL375. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1.1MANUAL OPERATION376. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . ...

  • Page 20

    TABLE OF CONTENTSB–61404E/08c–74. AUTOMATIC OPERATION423. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4.1MEMORY OPERATION424. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . ....

  • Page 21

    TABLE OF CONTENTSB–61404E/08c–88.8DISPLAYING DIRECTORY OF FLOPPY DISK485. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8.8.1Displaying the Directory486. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8...

  • Page 22

    TABLE OF CONTENTSB–61404E/08c–911.2SCREENS DISPLAYED BY FUNCTION KEY PRGRM (IN AUTO MODE OR MDI MODE)548. . . . 11.2.1Program Contents Display549. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11.2.2Current Block Display Screen550. . ....

  • Page 23

    TABLE OF CONTENTSB–61404E/08c–10APPENDIXA. TAPE CODE LIST631. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . B. LIST OF FUNCTIONS AND TAPE FORMAT634. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . C. RANGE OF ...

  • Page 24

    I. GENERAL

  • Page 25

    B–61404E/081. GENERALGENERAL31 GENERALThis manual consists of the following parts:I. GENERALDescribes chapter organization, applicable models, related manuals,and notes for reading this manual.II. PROGRAMMINGDescribes each function: Format used to program functions in the NClanguage, character...

  • Page 26

    GENERALB–61404E/081. GENERAL4This manual uses the following symbols:IP_: Indicates a combination of axes such as X__ Y__Z (used in PROGRAMMING.).; :Indicates the end of a block. It actually corre-sponds to the ISO code LF or EIA code CR.The table below lists manuals related to the FANUC Series...

  • Page 27

    B–61404E/081. GENERALGENERAL5List of related manualsManual nameSpecificationnumberFANUC Series 0/00/0–Mate CONNECTION MANUAL (HARDWARE)B–61393EFANUC Series 0/00/0–Mate CONNECTION MANUAL (FUNCTION)B–61393E–2FANUC Series 0/00/0–Mate FOR LATHE OPERATOR’S MANUALB–61394EFANUC Seri...

  • Page 28

    GENERALB–61404E/081. GENERAL6When machining the part using the CNC machine tool, first prepare theprogram, then operate the CNC machine by using the program.1) First, prepare the program from a part drawing to operate the CNCmachine tool. Store the program to a media appropriate for the CNC.Ho...

  • Page 29

    B–61404E/081. GENERALGENERAL7ToolSide cuttingFace cuttingHole machiningPrepare the program of the tool path and machining condition accordingto the workpiece figure, for each machining.

  • Page 30

    GENERALB–61404E/081. GENERAL81.2NOTES ON READINGTHIS MANUALNOTE1 The function of an CNC machine tool system depends notonly on the CNC, but on the combination of the machine tool,its magnetic cabinet, the servo system, the CNC, theoperator’s panels, etc. It is too difficult to describe the f...

  • Page 31

    II. PROGRAMMING

  • Page 32

    B–61404E/081. GENERALPROGRAMMING111 GENERAL

  • Page 33

    PROGRAMMINGB–61404E/081. GENERAL12The tool moves along straight lines and arcs constituting the workpieceparts figure (See II–4).ProgramG01 X_ _ Y_ _ ;X_ _ ;ToolWorkpieceFig.1.1 (a) Tool movement along a straight lineProgramG03X_ _Y_ _R_ _;WorkpieceToolFig.1.1 (b) Tool movement along an arc...

  • Page 34

    B–61404E/081. GENERALPROGRAMMING13(a) Movement along straight lineG01 Y__;X––Y––––;(b) Movement along arcG03X––Y––R––;Control unitX axisY axisTool move-mentInterpolationa) Movement along straightlineb) Movement along arcFig.1.1 (c) Interpolation functionNOTESome machine...

  • Page 35

    PROGRAMMINGB–61404E/081. GENERAL14A CNC machine tool is provided with a fixed position. Normally, toolchange and programming of absolute zero point as described later areperformed at this position. This position is called the reference position.Reference positionToolWorkpieceTableFig.1.3.1 Ref...

  • Page 36

    B–61404E/081. GENERALPROGRAMMING15ZYXPart drawingCoordinate systemToolWorkpieceMachine toolProgramCommandCNCZYXZYXFig.1.3.2 (a) Coordinate systemThe following two coordinate systems are specified at different locations:(See II–7)(1) Coordinate system on part drawingThe coordinate system is w...

  • Page 37

    PROGRAMMINGB–61404E/081. GENERAL16TableWorkpieceCoordinate system specifiedby the CNC established onthe tableCoordinate system onpart drawing establishedon the workpieceYXYXFig.1.3.2 (c) Coordinate system specified by CNC and coordinatesystemon part drawingThe tool moves on the coordinate syst...

  • Page 38

    B–61404E/081. GENERALPROGRAMMING17To set the two coordinate systems at the same position, simple methodsshall be used according to workpiece shape, the number of machinings.(1) Using a standard plane and point of the workpiece.Program zero pointWorkpiece’s standard pointFixed distanceBring th...

  • Page 39

    PROGRAMMINGB–61404E/081. GENERAL18Coordinate values of command for moving the tool can be indicated byabsolute or incremental designation (See II–8.1).The tool moves to a point at “the distance from zero point of thecoordinate system” that is to the position of the coordinate values.B(10,...

  • Page 40

    B–61404E/081. GENERALPROGRAMMING19The speed of the tool with respect to the workpiece when the workpieceis cut is called the cutting speed.As for the CNC, the cutting speed can be specified by the spindle speedin rpm unit.rpmø Dmm/minToolV: Cutting speedWorkpieceSpindle speedNmm<When a wor...

  • Page 41

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

  • Page 42

    B–61404E/081. GENERALPROGRAMMING21A group of commands given to the CNC for operating the machine iscalled the program. By specifying the commands, the tool is moved alonga straight line or an arc, or the spindle motor is turned on and off.In the program, specify the commands in the sequence of...

  • Page 43

    PROGRAMMINGB–61404E/081. GENERAL22 The block and the program have the following configurations.N ffffG ffX ff.f Y fff.fM ffS ffT ff ;1 blockSequence numberPreparatory functionDimension wordMiscel-laneous functionSpindle functionTool func-tionEnd of blockFig.1.7 (b) Block configurationA block h...

  • Page 44

    B–61404E/081. GENERALPROGRAMMING23When machining of the same pattern appears at many portions of aprogram, a program for the pattern is created. This is called thesubprogram. On the other hand, the original program is called the mainprogram. When a subprogram execution command appears duringex...

  • Page 45

    PROGRAMMINGB–61404E/081. GENERAL24Usually, several tools are used for machining one workpiece. The toolshave different tool length. It is very troublesome to change the programin accordance with the tools.Therefore, the length of each tool used should be measured in advance.By setting the diff...

  • Page 46

    B–61404E/081. GENERALPROGRAMMING25Limit switches are installed at the ends of each axis on the machine toprevent tools from moving beyond the ends. The range in which tools canmove is called the stroke.ÇÇÇÇÇÇÇÇÇÇÇÇÇÇÇÇÇÇMotorLimit switchTableMachine zero pointSpecify these dis...

  • Page 47

    PROGRAMMINGB–61404E/082. CONTROLLED AXES262 CONTROLLED AXES

  • Page 48

    B–61404E/082. CONTROLLED AXESPROGRAMMING27Series0/00–CSeries0–Mate CSeries 0–DNo. of basic controlled axes3 axes3 axes3 axesControlled axes expansion(PMC axis is not included.)Up to 4 axesUp to 4 axesUp to 4 axesBasic simultaneously con-trolled axes2 axes2 axes2 axesSimultaneously control...

  • Page 49

    PROGRAMMINGB–61404E/083. PREPARATORY FUNCTION(G FUNCTION)283 PREPARATORY FUNCTION (G FUNCTION)A number following address G determines the meaning of the commandfor the concerned block.G codes are divided into the following two types.TypeMeaningOne–shot G codeThe G code is effective only in th...

  • Page 50

    B–61404E/083. PREPARATORY FUNCTION(G FUNCTION)PROGRAMMING29Table 3 G code list (1/3)G codeGroupFunctionG00PositioningG0101Linear interpolationG0201Circular interpolation/Helical interpolation CWG03Circular interpolation/Helical interpolation CCWG04Dwell, Exact stopG05High speed cycle machiningG...

  • Page 51

    PROGRAMMINGB–61404E/083. PREPARATORY FUNCTION(G FUNCTION)30Table 3 G code list (2/3)G codeGroupFunctionG5200Local coordinate system settingG5300Machine coordinate system selectionG54Workpiece coordinate system 1 selectionG55Workpiece coordinate system 2 selectionG5614Workpiece coordinate system...

  • Page 52

    B–61404E/083. PREPARATORY FUNCTION(G FUNCTION)PROGRAMMING31Table 3 G code list (3/3)G codeGroupFunctionG9003Absolute commandG9103Increment commandG9200Setting for work coordinate system or clamp at maximum spindle speedG9405Feed per minuteG9505Feed per rotationG9613Constant surface speed contro...

  • Page 53

    PROGRAMMINGB–61404E/084. INTERPOLATION FUNCTIONS324 INTERPOLATION FUNCTIONS

  • Page 54

    B–61404E/084. INTERPOLATION FUNCTIONSPROGRAMMING33The G00 command moves a tool to the position in the workpiece systemspecified with an absolute or an incremental command at a rapid traverserate.In the absolute command, coordinate value of the end point isprogrammed.In the incremental command t...

  • Page 55

    PROGRAMMINGB–61404E/084. INTERPOLATION FUNCTIONS34For accurate positioning without play of the machine (backlash), finalpositioning from one direction is available.Start positionTemporary stopEnd positionOverrunStart position_: For an absolute command, the coordinates of an end posi-tion, and f...

  • Page 56

    B–61404E/084. INTERPOLATION FUNCTIONSPROGRAMMING35Tools can move along a lineIP_: For an absolute command, the coordinates of an endpoint, and for an incremental command, the distance thetool moves.F_: Speed of tool feed (Feedrate)G01_ F_ ;IPA tools move along a line to the specified position a...

  • Page 57

    PROGRAMMINGB–61404E/084. INTERPOLATION FUNCTIONS36A calculation example is as follows.G91 G01 X20.0B40.0 F300.0 ;This changes the unit of the C axis from 40.0 deg to 40mm with metricinput. The time required for distribution is calculated as follows:202) 402300400.14907The feed rate for the C a...

  • Page 58

    B–61404E/084. INTERPOLATION FUNCTIONSPROGRAMMING37The command below will move a tool along a circular arc.G17G03Arc in the XpYp planeArc in the ZpXp planeG18Arc in the YpZp planeXp_Yp_G02G03G02G03G02G19Xp_Zp_Yp_Zp_I_J_R_F_ ;I_K_R_F_ ;J_K_R_F_ ;Table 4.4 Description of the command formatCommand...

  • Page 59

    PROGRAMMINGB–61404E/084. INTERPOLATION FUNCTIONS38“Clockwise”(G02) and “counterclockwise”(G03) on the XpYp plane(ZpXp plane or YpZp plane) are defined when the XpYp plane is viewedin the positive–to–negative direction of the Zp axis (Yp axis or Xp axis,respectively) in the Cartesian...

  • Page 60

    B–61404E/084. INTERPOLATION FUNCTIONSPROGRAMMING39The distance between an arc and the center of a circle that contains the arccan be specified using the radius, R, of the circle instead of I, J, and K.In this case, one arc is less than 180°, and the other is more than 180° areconsidered. Whe...

  • Page 61

    PROGRAMMINGB–61404E/084. INTERPOLATION FUNCTIONS401006040090120 14020060R50RY axisX axisThe above tool path can be programmed as follows ;(1) In absolute programmingG92X200.0 Y40.0 Z0 ; G90 G03 X140.0 Y100.0R60.0 F300.; G02 X120.0 Y60.0R50.0 ; orG92X200.0 Y40.0Z0 ; G90 G03 X140.0 Y100.0I–60.0...

  • Page 62

    B–61404E/084. INTERPOLATION FUNCTIONSPROGRAMMING41Helical interpolation is possible, by which the tool is moved along a helix,by specifying circular interpolation together with movement along anaxis in a plane other than that specified for circular interpolation.G03Synchronously with arc of XpY...

  • Page 63

    PROGRAMMINGB–61404E/084. INTERPOLATION FUNCTIONS42The amount of travel of a rotary axis specified by an angle is onceinternally converted to a distance of a linear axis along the outer surfaceso that linear interpolation or circular interpolation can be performed withanother axis. After interp...

  • Page 64

    B–61404E/084. INTERPOLATION FUNCTIONSPROGRAMMING43In the cylindrical interpolation mode, the amount of travel of a rotary axisspecified by an angle is once internally converted to a distance of a linearaxis on the outer surface so that linear interpolation or circularinterpolation can be perfor...

  • Page 65

    PROGRAMMINGB–61404E/084. INTERPOLATION FUNCTIONS442301901500mmdeg11090701203060 70270N05N06N07N08N09N10N11N12N1336060ZCExample of a Cylindrical Interpolation ProgramO0001 (CYLINDRICAL INTERPOLATION ); N01 G00 G90 Z100.0 C0 ; N02 G01 G91 G18 Z0 C0 ; N03 G107 C57299 ;N04 G90 G01 G42 Z120.0 D01 F2...

  • Page 66

    B–61404E/084. INTERPOLATION FUNCTIONSPROGRAMMING45Straight threads with a constant lead can be cut. The position codermounted on the spindle reads the spindle speed in real–time. The readspindle speed is converted to the feedrate per minute to feed the tool.F : Long axis direction leadG33_ ...

  • Page 67

    PROGRAMMINGB–61404E/084. INTERPOLATION FUNCTIONS46NOTE1 The spindle speed is limited as follows :1 x spindle speed x Spindle speed : rpmThread lead : mm or inchMaximum feedrate : mm/min or inch/min ; maximumcommand–specified feedrate for feed–per–minute mode ormaximum feedrate that is det...

  • Page 68

    B–61404E/084. INTERPOLATION FUNCTIONSPROGRAMMING47Linear interpolation can be commanded by specifying axial movefollowing the G31 command, like G01. If an external skip signal is inputduring the execution of this command, execution of the command isinterrupted and the next block is executed.Th...

  • Page 69

    PROGRAMMINGB–61404E/084. INTERPOLATION FUNCTIONS48G31G91X100.0 F100;Y50.0;Y50.050.0100.0Skip signal is input hereActual motionMotion without skip signalFig.4.8 (a) The next block is an incremental commandG31G90X200.00 F100;Y100.0;Y100.0X200.0Skip signal is input hereActual motionMotion without...

  • Page 70

    B–61404E/085. FEED FUNCTIONSPROGRAMMING495 FEED FUNCTIONS

  • Page 71

    PROGRAMMINGB–61404E/085. FEED FUNCTIONS50The feed functions control the feedrate of the tool. The following two feedfunctions are available:1. Rapid traverseWhen the positioning command (G00) is specified, the tool moves ata rapid traverse feedrate set in the CNC (parameter No. 518 to 521).2. ...

  • Page 72

    B–61404E/085. FEED FUNCTIONSPROGRAMMING51To prevent a mechanical shock, acceleration/deceleration is automaticallyapplied when the tool starts and ends its movement (Fig. 5.1 (a)).TCFLTJTRTRTCTJFRMAXFJFCTCFCTCRapid traverse rate :TimeFRMAX: Rapid traverse rate: Acceleration/decelerationtime con...

  • Page 73

    PROGRAMMINGB–61404E/085. FEED FUNCTIONS52If the direction of movement changes between specified blocks duringcutting feed, a rounded–corner path may result (Fig. 5.1 (b)).Programmed pathActual tool pathY0XFig. 5.1 (b) Example of tool path between two blocks In circular interpolation, a radia...

  • Page 74

    B–61404E/085. FEED FUNCTIONSPROGRAMMING53IPG00_ ;IPG00 : G code (group 01) for positioning (rapid traverse)_ ; Dimension word for the end pointThe positioning command (G00) positions the tool by rapid traverse. Inrapid traverse, the next block is executed after the specified feedratebecomes 0 ...

  • Page 75

    PROGRAMMINGB–61404E/085. FEED FUNCTIONS54Feedrate of linear interpolation (G01), circular interpolation (G02, G03),etc. are commanded with numbers after the F code. In cutting feed, the next block is executed so that the feedrate change fromthe previous block is minimized.Three modes of specif...

  • Page 76

    B–61404E/085. FEED FUNCTIONSPROGRAMMING55After specifying G94 (in the feed per minute mode), the amount of feedof the tool per minute is to be directly specified by setting a number afterF. G94 is a modal code. Once a G94 is specified, it is valid until G95 (feedper revolution) is specified. ...

  • Page 77

    PROGRAMMINGB–61404E/085. FEED FUNCTIONS56After specifying G95 (in the feed per revolution mode), the amount offeed of the tool per spindle revolution is to be directly specified by settinga number after F. G95 is a modal code. Once a G95 is specified, it is validuntil G94 (feed per minute) is...

  • Page 78

    B–61404E/085. FEED FUNCTIONSPROGRAMMING57When a one–digit number from 1 to 9 is specified after F, the feedrate setfor that number in a parameter (Nos. 788 to 796) is used. When F0 isspecified, the rapid traverse rate is applied.The feedrate corresponding to the number currently selected can...

  • Page 79

    PROGRAMMINGB–61404E/085. FEED FUNCTIONS58Cutting feedrate can be controlled, as indicated in Table 5.4.Table 5.4 Cutting feedrate controlFunction nameG codeValidity of G codeDescriptionExact stopG09This function is valid for specifiedblocks only.The tool is decelerated at the end point ofa blo...

  • Page 80

    B–61404E/085. FEED FUNCTIONSPROGRAMMING59Exact stopG61 ;Cutting modeG64 ;Tapping modeG63 ;Automatic corner overrideG62 ;G09_ ;IPThe inter–block paths followed by the tool in the exact stop mode, cuttingmode, and tapping mode are different (Fig. 5.4.1).0YPosition checkTool path in the exact st...

  • Page 81

    PROGRAMMINGB–61404E/085. FEED FUNCTIONS60When G62 is specified, and the tool path with cutter compensationapplied forms an inner corner, the feedrate is automatically overridden atboth ends of the corner. There are four types of inner corners (Fig. 5.4.2 (a)).2° x q x qp x 178° in Fig. 5.4.2 ...

  • Page 82

    B–61404E/085. FEED FUNCTIONSPROGRAMMING61When 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 inner corner is overridden, are distances from points on thecutter center path to the corner (Fig. 5.4.2 (b)...

  • Page 83

    PROGRAMMINGB–61404E/085. FEED FUNCTIONS62An override value is set with parameter No. 214. An override value isvalid even for dry run and F1–digit specification.In the feed per minute mode, the actual feedrate is as follows:F × (automatic override for inner corners) × (feedrate override)For...

  • Page 84

    B–61404E/085. FEED FUNCTIONSPROGRAMMING63DwellG04 X_ ; or G04 P_ ; X_ : Specify a time (decimal point permitted) P_ : Specify a time (decimal point not permitted)By specifying a dwell, the execution of the next block is delayed by thespecified time. In addition, a dwell can be specified to make...

  • Page 85

    PROGRAMMINGB–61404E/085. FEED FUNCTIONS64By using linear acceleration/deceleration before interpolation, linearacceleration/deceleration can be applied to a specified cutting feedratebefore interpolation. With this function, the machining figure errorresulting from delay in the acceleration/de...

  • Page 86

    B–61404E/085. FEED FUNCTIONSPROGRAMMING65With linear acceleration/deceleration before interpolation, a specifiedfeedrate that takes a feed–per–minute command (G94) override for linearor circular interpolation (G01, G02, G03) into consideration can becontrolled such that the feedrate changes...

  • Page 87

    PROGRAMMINGB–61404E/085. FEED FUNCTIONS66NOTE1 The following cannot be specified during linear acceleration/deceleration before interpolation:D Control along the C–axis normalD Cylindrical interpolation D Polar coordinate specificationD F 1–digit feed/threading/synchronous feed D Index...

  • Page 88

    B–61404E/085. FEED FUNCTIONSPROGRAMMING67With this function, the remaining pulses output upon the completion ofinterpolation of a block are output together with the interpolation pulsesof the next block to suppress the feedrate variations that can occurbetween the two blocks. This function is ...

  • Page 89

    PROGRAMMINGB–61404E/085. FEED FUNCTIONS68In corner machining, this function controls the feedrate by deceleratingthe tool at a corner according to the corner angle between the blocks oraccording to the feedrate difference along each axis to improve themachining precision (acceleration/decelerat...

  • Page 90

    B–61404E/085. FEED FUNCTIONSPROGRAMMING69When the corner angle is smaller than that specified in the parameter, therelationship between the feedrate and time will be as shown below. Themovement of block A equivalent to the hatched area remains at time t.The execution of block B is started, how...

  • Page 91

    PROGRAMMINGB–61404E/085. FEED FUNCTIONS70NOTE1 Comparison between a machining angle and parameter–set angle (parameter No. 865) ismade only for the XY plane. Comparison between a machining feedrate and parameter–setfeedrate (parameter No. 482) is made only for the X–axis and Y–axis. S...

  • Page 92

    B–61404E/085. FEED FUNCTIONSPROGRAMMING71(1) SpecificationWhen the difference between the specified feedrate at the end point ofblock A and the specified feedrate at the start point of block B alongeach axis is larger than the value specified in parameter No. 483, thisfunction reduces the feedr...

  • Page 93

    PROGRAMMINGB–61404E/085. FEED FUNCTIONS72(2) When linear acceleration/deceleration before interpolation is enabledWhen the feedrate difference between block A and block B along eachaxis is larger than the value set in parameter No. 483, the feedrate isreduced in block A to the corner feedrate c...

  • Page 94

    B–61404E/085. FEED FUNCTIONSPROGRAMMING73VmaxVc [X]VmaxVc [Y]Vmax1RmaxF*FN1N2tWhen the feedrate is notreduced at the cornerWhen the feedrate is reduced at the cornerFeedrate along X–axisFeedrate along Y–axisFeedrate along tangentNOTE1 A feedrate difference comparison between machiningblocks...

  • Page 95

    PROGRAMMINGB–61404E/085. FEED FUNCTIONS74Particularly when high–speed circular cutting is performed using circularinterpolation, the actual tool path incurs a radial error with respect to thespecified arc. When a feedrate specified for an arc with a programmedradius can cause a radial error ...

  • Page 96

    B–61404E/085. FEED FUNCTIONSPROGRAMMING75NOTE1 This function is also usable with linear acceleration/deceleration before interpolation. In thiscase, no arc radius error is caused by acceleration/deceleration before interpolation. When thetime constant for acceleration/deceleration after inter...

  • Page 97

    PROGRAMMINGB–61404E/085. FEED FUNCTIONS76This function can apply smooth acceleration/deceleration to a rapidtraverse rate to reduce the mechanical stress and strain caused byacceleration/deceleration variations when the feedrate changes. Thus, asmaller time constant can be set, compared with l...

  • Page 98

    B–61404E/086. REFERENCE POSITIONPROGRAMMING776 REFERENCE POSITIONThe reference position is a fixed position on a machine tool to which thetool can easily be moved by the reference position return function.For example, the reference position is used as a position at which toolsare automatically ...

  • Page 99

    PROGRAMMINGB–61404E/086. REFERENCE POSITION78Tools are automatically moved to the reference position via anintermediate position along a specified axis. Or, tools are automaticallymoved from the reference position to a specified position via anintermediate position along a specified axis. Whe...

  • Page 100

    B–61404E/086. REFERENCE POSITIONPROGRAMMING79Positioning to the intermediate or reference positions are performed at therapid traverse rate of each axis.Therefore, for safety, the cutter compensation, and tool lengthcompensation should be cancelled before executing this command.The coordinates ...

  • Page 101

    PROGRAMMINGB–61404E/086. REFERENCE POSITION80In an offset mode, the position to be reached by the tool with the G27command is the position obtained by adding the offset value. Therefore,if the position with the offset value added is not the reference position, thelamp does not light up, but an...

  • Page 102

    B–61404E/087. COORDINATE SYSTEMPROGRAMMING817 COORDINATE SYSTEMBy teaching the CNC a desired tool position, the tool can be moved to theposition. Such a tool position is represented by coordinates in acoordinate system. Coordinates are specified using program axes.When three program axes, the...

  • Page 103

    PROGRAMMINGB–61404E/087. COORDINATE SYSTEM82The point that is specific to a machine and serves as the reference of themachine is referred to as the machine zero point. A machine tool buildersets a machine zero point for each machine. The machine zero pointmatches the first reference position....

  • Page 104

    B–61404E/087. COORDINATE SYSTEMPROGRAMMING83A coordinate system used for machining a workpiece is referred to as aworkpiece coordinate system. A workpiece coordinate system is to be setwith the NC beforehand (setting a workpiece coordinate system).A machining program sets a workpiece coordinat...

  • Page 105

    PROGRAMMINGB–61404E/087. COORDINATE SYSTEM84The user can choose from set workpiece coordinate systems as describedbelow. (For information about the methods of setting, see Section 7.2.1.)(1) Selecting a workpiece coordinate system set by G92 or automaticworkpiece coordinate system settingOnce ...

  • Page 106

    B–61404E/087. COORDINATE SYSTEMPROGRAMMING85The six workpiece coordinate systems specified with G54 to G59 can bechanged by changing an external workpiece zero point offset value orworkpiece zero point offset value. Four methods are available to change an external workpiece zero pointoffset v...

  • Page 107

    PROGRAMMINGB–61404E/087. COORDINATE SYSTEM86With the G10 command, each workpiece coordinate system can bechanged separately.When an absolute workpiece zero point offset value is specified, thespecified value becomes a new offset value. When an incrementalworkpiece zero point offset value is sp...

  • Page 108

    B–61404E/087. COORDINATE SYSTEMPROGRAMMING87XXYYA160100100100200If G92X100Y100; is commanded when the toolis positioned at (200, 160) in G54 mode, work-piece coordinate system 1 (X’ – Y’) shifted byvector A is created.60G54 workpiece coordinate systemTool positionNew workpiece coordinate ...

  • Page 109

    PROGRAMMINGB–61404E/087. COORDINATE SYSTEM88Besides the six workpiece coordinate systems (standard workpiececoordinate systems) selectable with G54 to G59, 48 additional workpiececoordinate systems (additional workpiece coordinate systems) can beused.G54Pn ;Pn : Codes specifying the additional ...

  • Page 110

    B–61404E/087. COORDINATE SYSTEMPROGRAMMING89A P code must be specified after G54.If a value not within the specifiable range is specified in a P code, an alarm(No. 030) is issued.RestrictionsD Specifying P codes

  • Page 111

    PROGRAMMINGB–61404E/087. COORDINATE SYSTEM90When a program is created in a workpiece coordinate system, a childworkpiece coordinate system may be set for easier programming. Sucha child coordinate system is referred to as a local coordinate system._: Origin of the local coordinate systemG52IP_...

  • Page 112

    B–61404E/087. COORDINATE SYSTEMPROGRAMMING91WARNING1 When an axis returns to the reference point by the manual reference point return function, thezero point of the local coordinate system of the axis matches that of the work coordi–natesystem. The same is true when the following command is ...

  • Page 113

    PROGRAMMINGB–61404E/087. COORDINATE SYSTEM92Select the planes for circular interpolation, cutter compensation, anddrilling by G–code. The following table lists G–codes and the planes selected by them.Table 7.4 Plane selected by G codeG codeSelectedplaneXpYpZpG17Xp Yp planeX–axis or anY...

  • Page 114

    B–61404E/088. COORDINATE VALUEAND DIMENSIONPROGRAMMING938 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/METRIC CONVERSION (G20, G21)8.4 DECIMAL POINT PROGRAMMING

  • Page 115

    PROGRAMMINGB–61404E/088. COORDINATE VALUEAND DIMENSION94There are two ways to command travels of the tool; the absolutecommand, and the incremental command. In the absolute command,coordinate value of the end position is programmed; in the incrementalcommand, move distance of the position itsel...

  • Page 116

    B–61404E/088. COORDINATE VALUEAND DIMENSIONPROGRAMMING95The end point coordinate value can be input in polar coordinates (radiusand angle). The plus direction of the angle is counterclockwise of the selected planefirst axis + direction, and the minus direction is clockwise.Both radius and angle...

  • Page 117

    PROGRAMMINGB–61404E/088. COORDINATE VALUEAND DIMENSION96Specify the radius (the distance between the current position and thepoint) to be programmed with an incremental command. The currentposition is set as the origin of the polar coordinate system.RadiusCommand positionActual positionAngleWh...

  • Page 118

    B–61404E/088. COORDINATE VALUEAND DIMENSIONPROGRAMMING97N1 G17 G90 G16;Specifying the polar coordinate command and selecting the XY planeSetting the zero point of the workpiece coordinate system as the originof the polar coordinate systemN2 G81 X100.0 Y30.0 Z–20.0 R–5.0 F200.0 ; Specifying ...

  • Page 119

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

  • Page 120

    B–61404E/088. COORDINATE VALUEAND DIMENSIONPROGRAMMING99Numerical values can be entered with a decimal point. A decimal pointcan be used when entering a distance, time, or speed. Decimal points canbe specified with the following addresses:X, Y, Z, U, V, W, A, B, C, I, J, K, Q, R, and F.There ...

  • Page 121

    PROGRAMMINGB–61404E/089. SPINDLE SPEED FUNCTION (S FUNCTION)1009 SPINDLE SPEED FUNCTION (S FUNCTION)The spindle speed can be controlled by specifying a value followingaddress S.This chapter contains the following topics.9.1SPECIFYING THE SPINDLE SPEED WITH A BINARY CODE9.2SPECIFYING THE SPINDLE...

  • Page 122

    B–61404E/089. SPINDLE SPEED FUNCTION (S FUNCTION)PROGRAMMING101A 2–digit S code can be specified in a block. For a description of the useof S codes, such as their execution sequence in a block in which a spindlespeed, move command, and S code are specified, see the manual providedby the mach...

  • Page 123

    PROGRAMMINGB–61404E/089. SPINDLE SPEED FUNCTION (S FUNCTION)102Specify the surface speed (relative speed between the tool and workpiece)following S. The spindle is rotated so that the surface speed is constantregardless of the position of the tool.G96 Pα Sfffff ;↑Surface speed (m/min or fee...

  • Page 124

    B–61404E/089. SPINDLE SPEED FUNCTION (S FUNCTION)PROGRAMMING103G96 (constant surface speed control command) is a modal G code. Aftera G96 command is specified, the program enters the constant surfacespeed control mode (G96 mode) and specified S values are assumed as asurface speed. A G96 comm...

  • Page 125

    PROGRAMMINGB–61404E/089. SPINDLE SPEED FUNCTION (S FUNCTION)104To execute the constant surface speed control, it is necessary to set thework coordinate system , and so the coordinate value at the center of therotary axis, for example, Z axis, (axis to which the constant surface speedcontrol app...

  • Page 126

    B–61404E/089. SPINDLE SPEED FUNCTION (S FUNCTION)PROGRAMMING105The constant surface speed control is also effective during threading.Accordingly, it is recommended that the constant surface speed controlbe invalidated with G97 command before starting the scroll threading andtaper threading, bec...

  • Page 127

    PROGRAMMINGB–61404E/0810. TOOL FUNCTION (T FUNCTION)10610 TOOL FUNCTION (T FUNCTION)Two tool functions are available. One is the tool selection function, andthe other is the tool life management function.General

  • Page 128

    B–61404E/0810. TOOL FUNCTION (T FUNCTION)PROGRAMMING107By specifying two or four–digit numerical value following address T,tools can be selected on the machine.One T code can be commanded in a block. Refer to the machine toolbuilder’s manual for the number of digits commandable with addres...

  • Page 129

    PROGRAMMINGB–61404E/0810. TOOL FUNCTION (T FUNCTION)108Tools are classified into various groups, with the tool life (time orfrequency of use) for each group being specified. The function ofaccumulating the tool life of each group in use and selecting and usingthe next tool previously sequenc...

  • Page 130

    B–61404E/0810. TOOL FUNCTION (T FUNCTION)PROGRAMMING109Tool life management data consists of tool group numbers, tool numbers,codes specifying tool compensation values, and tool life value.The Max. number of groups and the number of tools per group that canbe registered are set by parameter (No...

  • Page 131

    PROGRAMMINGB–61404E/0810. TOOL FUNCTION (T FUNCTION)110In a program, tool life management data can be registered in the CNC unit,and registered tool life management data can be changed or deleted.After all registered tool life management data is deleted, programmed toollife management data is r...

  • Page 132

    B–61404E/0810. TOOL FUNCTION (T FUNCTION)PROGRAMMING111The following command is used for tool life management:T∇∇∇∇ ;Specifies a tool group number.The tool life management function selects, from aspecified group, a tool whose life has not expired, andoutputs its T code. In∇∇∇∇,...

  • Page 133

    PROGRAMMINGB–61404E/0810. TOOL FUNCTION (T FUNCTION)112For tool life management, the four tool change types indicated below areavailable. The type used varies from one machine to another. For details,refer to the appropriate manual of each machinde tool builder.Table 10.2.3 Tool change typeToo...

  • Page 134

    B–61404E/0810. TOOL FUNCTION (T FUNCTION)PROGRAMMING113Suppose that the tool life management ignore number is 100.T101;A tool whose life has not expired is selected from group 1.(Suppose that tool number 010 is selected.) Note)M06T102; Tool life counting is performed for the tool in group 1.(T...

  • Page 135

    PROGRAMMINGB–61404E/0810. TOOL FUNCTION (T FUNCTION)114The life of a tool is specified by a usage frequency (count) or usage time(in minutes).The usage count is incremented by 1 for each tool used in a program. Inother words, the usage count is incremented by 1 only when the first toolgroup num...

  • Page 136

    B–61404E/0811. AUXILIARY FUNCTIONPROGRAMMING11511 AUXILIARY FUNCTIONThere are two types of auxiliary functions ; miscellaneous function (Mcode) for specifying spindle start, spindle stop program end, and so on,and secondary auxiliary function (B code) for specifying index tablepositioning.When ...

  • Page 137

    PROGRAMMINGB–61404E/0811. AUXILIARY FUNCTION116When a three–digid numeral is specified following address M, codesignal and a strobe signal are sent to the machine. The machine uses thesesignals to turn on or off its functions.Usually, only one M code can be specified in one block. In some cas...

  • Page 138

    B–61404E/0811. AUXILIARY FUNCTIONPROGRAMMING117So far, one block has been able to contain only one M code. However, thisfunction allows up to three M codes to be contained in one block.Up to three M codes specified in a block are simultaneously output to themachine. This means that compared w...

  • Page 139

    PROGRAMMINGB–61404E/0812. PROGRAM CONFIGURATION11812 PROGRAM CONFIGURATIONThere are two program types, main program and subprogram. Normally,the CNC operates according to the main program. However, when acommand calling a subprogram is encountered in the main program,control is passed to the ...

  • Page 140

    B–61404E/0812. PROGRAM CONFIGURATIONPROGRAMMING119A program consists of the following components:Table 12 Program componentsComponentsDescriptionsTape startSymbol indicating the start of a program fileLeader sectionUsed for the title of a program file, etc.Program startSymbol indicating the st...

  • Page 141

    PROGRAMMINGB–61404E/0812. PROGRAM CONFIGURATION120This section describes program components other than program sections.See Section 12.2 for a program section.%TITLE;O0001 ;M30 ;%(COMMENT)Tape startProgram sectionLeader sectionProgram startComment sectionTape endFig. 12.1 Program configuration...

  • Page 142

    B–61404E/0812. PROGRAM CONFIGURATIONPROGRAMMING121NOTEIf one file contains multiple programs, the EOB code forlabel skip operation must not appear before a second orsubsequent program number. However, an program startis required at the start of a program if the preceding programends with %.Any...

  • Page 143

    PROGRAMMINGB–61404E/0812. PROGRAM CONFIGURATION122A 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. When a file is output, the mark is automaticallyoutput at the end of the file.If...

  • Page 144

    B–61404E/0812. PROGRAM CONFIGURATIONPROGRAMMING123This section describes elements of a program section. See Section 12.1for program components other than program sections.%(COMMENT)%TITLE;O0001 ;N1 … ;M30 ;Program sectionComment sectionProgram numberSequence numberProgram endFig. 12.2 (a) P...

  • Page 145

    PROGRAMMINGB–61404E/0812. PROGRAM CONFIGURATION124A program consists of several commands. One command unit is called ablock. One block is separated from another with an EOB of end of blockcode.Table 12.2 (a) EOB codeNameISOcodeEIAcodeNotation in this manualEnd of block (EOB)LFCR;At the head of...

  • Page 146

    B–61404E/0812. PROGRAM CONFIGURATIONPROGRAMMING125A block consists of one or more words. A word consists of an addressfollowed by a number some digits long. (The plus sign (+) or minus sign(–) may be prefixed to a number.)Word = Address + number (Example : X–1000)For an address, one of the...

  • Page 147

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

  • Page 148

    B–61404E/0812. PROGRAM CONFIGURATIONPROGRAMMING127When a slash followed by a number (/n (n=1 to 9)) is specified at the headof a block, and optional block skip switch n on the machine operator panelis set to on, the information contained in the block for which /ncorresponding to switch number n...

  • Page 149

    PROGRAMMINGB–61404E/0812. PROGRAM CONFIGURATION128The end of a program is indicated by commanding one of the followingcodes at the end of the program:Table 12.2 (d) Code of a program endCodeMeaning usageM02For main programM30For main rogramM99For subprogramIf one of the program end codes is ex...

  • Page 150

    B–61404E/0812. PROGRAM CONFIGURATIONPROGRAMMING129If a program contains a fixed sequence or frequently repeated pattern, sucha sequence or pattern can be stored as a subprogram in memory to simplifythe program.A subprogram can be called from the main program. A called subprogram can also call a...

  • Page 151

    PROGRAMMINGB–61404E/0812. PROGRAM CONFIGURATION130See Chapter 10 in Part III for the method of registering a subprogram.NOTE1 The M98 and M99 signals are not output to the machinetool.2 If the subprogram number specified by address P cannot befound, an alarm (No. 078) is output.l M98 P51002 ;l ...

  • Page 152

    B–61404E/0812. PROGRAM CONFIGURATIONPROGRAMMING131If M99 is executed in a main program, control returns to the start of themain program. For example, M99 can be executed by placing /M99 ; atan appropriate location of the main program and setting the optional blockskip function to off when execu...

  • Page 153

    PROGRAMMINGB–61404E/0813. FUNCTIONS TO SIMPLIFY PROGRAMMING13213 FUNCTIONS TO SIMPLIFY PROGRAMMINGThis chapter explains the following items:13.1CANNED CYCLE13.2RIGID TAPPING13.3CANNED GRINDING CYCLE (0–GSC, 0–GSD/II)13.4GRINDING–WHEEL WEAR COMPENSATION BY CONTINUOUS DRESSING (0–GSC, 0...

  • Page 154

    B–61404E/0813. FUNCTIONS TO SIMPLIFYPROGRAMMINGPROGRAMMING133Canned cycles make it easier for the programmer to create programs.With a canned cycle, a frequently–used machining operation can bespecified in a single block with a G function; without canned cycles,normally more than one block is...

  • Page 155

    PROGRAMMINGB–61404E/0813. FUNCTIONS TO SIMPLIFY PROGRAMMING134Operation 1Operation 2Operation 3Operation 4Operation 5Operation 6Rapid traverseFeedInitial levelPoint R levelFig. 13.1 Canned cycle operation sequenceThe positioning plane is determined by plane selection code G17, G18,or G19. The...

  • Page 156

    B–61404E/0813. FUNCTIONS TO SIMPLIFYPROGRAMMINGPROGRAMMING135The travel distance along the drilling axis varies for G90 and G91 asfollows:RZG90 (Absolute Command)RZG91 (Incremental Command)Point RPoint ZPoint RPoint ZG73, G74, G76, and G81 to G89 are modal G codes and remain in effectuntil canc...

  • Page 157

    PROGRAMMINGB–61404E/0813. FUNCTIONS TO SIMPLIFY PROGRAMMING136To repeat drilling for equally–spaced holes, specify the number of repeatsin K_. K is effective only within the block where it is specified.Specify the first hole position in incremental mode (G91). If it is specified in absolute...

  • Page 158

    B–61404E/0813. FUNCTIONS TO SIMPLIFYPROGRAMMINGPROGRAMMING137This cycle performs high–speed peck drilling. It performs intermittentcutting feed to the bottom of a hole while removing chips from the hole.G73 (G98)G73 (G99)G73 X_ Y_ Z_ R_ Q_ F_ K_ ;X_ Y_: Hole position dataZ_: The distance fro...

  • Page 159

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

  • Page 160

    B–61404E/0813. FUNCTIONS TO SIMPLIFYPROGRAMMINGPROGRAMMING139This cycle performs left–handed tapping. In the left–handed tappingcycle, when the bottom of the hole has been reached, the spindle rotatesclockwise.G74 (G98)G74 (G99)G74 X_ Y_ Z_ R_ P_ F_ K_ ;X_ Y_: Hole position dataZ_: The dis...

  • Page 161

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

  • Page 162

    B–61404E/0813. FUNCTIONS TO SIMPLIFYPROGRAMMINGPROGRAMMING141The fine boring cycle bores a hole precisely. When the bottom of the holehas been reached, the spindle stops, and the tool is moved away from themachined surface of the workpiece and retracted.G76 (G98)G76 (G99)G76 X_ Y_ Z_ R_ Q_ P_ ...

  • Page 163

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

  • Page 164

    B–61404E/0813. FUNCTIONS TO SIMPLIFYPROGRAMMINGPROGRAMMING143This cycle is used for normal drilling. Cutting feed is performed to thebottom of the hole. The tool is then retracted from the bottom of the holein rapid traverse.G81 (G98)G81 (G99)G81 X_ Y_ Z_ R_ F_ K_ ;X_ Y_: Hole position dataZ_...

  • Page 165

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

  • Page 166

    B–61404E/0813. FUNCTIONS TO SIMPLIFYPROGRAMMINGPROGRAMMING145This cycle is used for normal drilling. Cutting feed is performed to the bottom of the hole. At the bottom, a dwellis performed, then the tool is retracted in rapid traverse. This cycle is used to drill holes more accurately with r...

  • Page 167

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

  • Page 168

    B–61404E/0813. FUNCTIONS TO SIMPLIFYPROGRAMMINGPROGRAMMING147This cycle performs peck drilling. It performs intermittent cutting feed to the bottom of a hole whileremoving shavings from the hole.G83 (G98)G83 (G99)G83 X_ Y_ Z_ R_ Q_ F_ K_ ;X_ Y_: Hole position dataZ_: The distance from point R t...

  • Page 169

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

  • Page 170

    B–61404E/0813. FUNCTIONS TO SIMPLIFYPROGRAMMINGPROGRAMMING149This cycle performs tapping. In this tapping cycle, when the bottom of the hole has been reached, thespindle is rotated in the reverse direction.G84 (G98)G84 (G99)G84 X_ Y_ Z_ R_ P_ F_ K_ ;X_ Y_: Hole position dataZ_: The distance fro...

  • Page 171

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

  • Page 172

    B–61404E/0813. FUNCTIONS TO SIMPLIFYPROGRAMMINGPROGRAMMING151This cycle is used to bore a hole.G85 (G98)G85 (G99)G85 X_ Y_ Z_ R_ F_ K_ ;X_ Y_: Hole position dataZ_: The distance from point R to the bottom of the holeR_: The distance from the initial level to point R levelF_: Cutting feed rateK_...

  • Page 173

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

  • Page 174

    B–61404E/0813. FUNCTIONS TO SIMPLIFYPROGRAMMINGPROGRAMMING153This cycle is used to bore a hole.G86 (G98)G86 (G99)G86 X_ Y_ Z_ R_ F_ K_ ;X_ Y_: Hole position dataZ_: The distance from point R to the bottom of the holeR_: The distance from the initial level to point R levelF_: Cutting feed rateK_...

  • Page 175

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

  • Page 176

    B–61404E/0813. FUNCTIONS TO SIMPLIFYPROGRAMMINGPROGRAMMING155This cycle performs accurate boring.G87 (G98)G87 (G99)G87 X_ Y_ Z_ R_ Q_ P_ F_ K_ ;X_ Y_: Hole position dataZ_: The distance from the bottom of the hole to point ZR_: The distance from the initial level to point R (the bottom of the h...

  • Page 177

    PROGRAMMINGB–61404E/0813. FUNCTIONS TO SIMPLIFY PROGRAMMING156After positioning along the X– and Y–axes, the spindle is stopped at thefixed rotation position. The tool is moved in the direction opposite to thetool tip, positioning (rapid traverse) is performed to the bottom of the hole(poi...

  • Page 178

    B–61404E/0813. FUNCTIONS TO SIMPLIFYPROGRAMMINGPROGRAMMING157This cycle is used to bore a hole.G88 (G98)G88 (G99)G88 X_ Y_ Z_ R_ P_ F_ K_ ;X_ Y_: Hole position dataZ_: The distance from point R to the bottom of the holeR_: The distance from the initial level to point R levelP_: Dwell time at th...

  • Page 179

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

  • Page 180

    B–61404E/0813. FUNCTIONS TO SIMPLIFYPROGRAMMINGPROGRAMMING159This cycle is used to bore a hole.G89 (G98)G89 (G99)G89 X_ Y_ Z_ R_ P_ F_ K_ ;X_ Y_: Hole position dataZ_: The distance from point R to the bottom of the holeR_: The distance from the initial level to point R levelP_: Dwell time at th...

  • Page 181

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

  • Page 182

    B–61404E/0813. FUNCTIONS TO SIMPLIFYPROGRAMMINGPROGRAMMING161G80 cancels canned cycles.G80 ;All canned cycles are canceled to perform normal operation. Point R andpoint Z are cleared. This means that R = 0 and Z = 0 in incremental mode.Other drilling data is also canceled (cleared).M3 S100 ;C...

  • Page 183

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

  • Page 184

    B–61404E/0813. FUNCTIONS TO SIMPLIFYPROGRAMMINGPROGRAMMING163Offset value +200.0 is set in offset No.11, +190.0 is set in offset No.15, and +150.0 is set in offset No.31Program example;N001G92X0Y0Z500.0;Coordinate setting at reference positionN002G90 G00 Z250.0 T11 M6;Tool changeN003G43 Z0...

  • Page 185

    PROGRAMMINGB–61404E/0813. FUNCTIONS TO SIMPLIFY PROGRAMMING164The tapping cycle (G84) and left–handed tapping cycle (G74) may beperformed in standard mode or rigid tapping mode. In standard mode, the spindle is rotated and stopped along with amovement along the tapping axis using miscellaneo...

  • Page 186

    B–61404E/0813. FUNCTIONS TO SIMPLIFYPROGRAMMINGPROGRAMMING165When the spindle motor is controlled in rigid mode as if it were a servomotor, a tapping cycle can be sped up.G84(G98)G84(G99)G84 X_ Y_ Z_ R_ P_ F_ K_ ;X_ Y_: Hole position dataZ_: The distance from point R to the bottom of the hole o...

  • Page 187

    PROGRAMMINGB–61404E/0813. FUNCTIONS TO SIMPLIFY PROGRAMMING166In feed–per–minute mode, the thread lead is obtained from theexpression, feedrate × spindle speed. In feed–per–revolution mode, thethread lead equals the feedrate speed.If a tool length offset (G43, G44, or G49) is specifie...

  • Page 188

    B–61404E/0813. FUNCTIONS TO SIMPLIFYPROGRAMMINGPROGRAMMING167When the spindle motor is controlled in rigid mode as if it were a servomotor, tapping cycles can be sped up.G74 (G98)G74 (G99)G74 X_ Y_ Z_ R_ P_ F_ K_ ;X_ Y_: Hole position dataZ_: The distance from point R to the bottom of the hole ...

  • Page 189

    PROGRAMMINGB–61404E/0813. FUNCTIONS TO SIMPLIFY PROGRAMMING168In feed–per–minute mode, the thread lead is obtained from theexpression, feedrate × spindle speed. In feed–per–revolution mode, thethread lead equals the feedrate.If a tool length offset (G43, G44, or G49) is specified in t...

  • Page 190

    B–61404E/0813. FUNCTIONS TO SIMPLIFYPROGRAMMINGPROGRAMMING169Tapping a deep hole in rigid tapping mode may be difficult due to chipssticking to the tool or increased cutting resistance. In such cases, the peckrigid tapping cycle is useful. In this cycle, cutting is performed several times unt...

  • Page 191

    PROGRAMMINGB–61404E/0813. FUNCTIONS TO SIMPLIFY PROGRAMMING170After positioning along the X– and Y–axes, rapid traverse is performedto point R. From point R, cutting is performed with depth Q (depth of cutfor each cutting feed), then the tool is retracted by distance d. The bit (bit4) of ...

  • Page 192

    B–61404E/0813. FUNCTIONS TO SIMPLIFYPROGRAMMINGPROGRAMMING171The rigid tapping canned cycle is canceled. For how to cancel this cycle,see Section 13.1.13.13.2.4Canned Cycle Cancel(G80)

  • Page 193

    PROGRAMMINGB–61404E/0813. FUNCTIONS TO SIMPLIFY PROGRAMMING172Canned grinding cycles make it easier for the programmer to createprograms that include grinding. With a canned grinding cycle, repetitiveoperation peculiar to grinding can be specified in a single block with a Gfunction; without ca...

  • Page 194

    B–61404E/0813. FUNCTIONS TO SIMPLIFYPROGRAMMINGPROGRAMMING173A plunge grinding cycle is performed.G75G75 I_ J_ K_ X(Z)_ R_ F_ P_ L_ ;I_: Depth–of–cut 1 (A sign in the command specifies the direction of cutting.)J_: Depth–of–cut 2 (A sign in the command specifies the directionof cutting....

  • Page 195

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

  • Page 196

    B–61404E/0813. FUNCTIONS TO SIMPLIFYPROGRAMMINGPROGRAMMING175A direct constant–dimension plunge grinding cycle is performed.G77G77 I_ J_ K_ X(Z)_ R_ F_ P_ L_ ;I_: Depth–of–cut 1 (A sign in the command specifies the directionof cutting.)J_: Depth–of–cut 2 (A sign in the command specifi...

  • Page 197

    PROGRAMMINGB–61404E/0813. FUNCTIONS TO SIMPLIFY PROGRAMMING176When the cycle is performed using G77, a skip signal can be input toterminate the cycle. When a skip signal is input, the current operationsequence is interrupted or completed, then the cycle is terminated.The following shows how th...

  • Page 198

    B–61404E/0813. FUNCTIONS TO SIMPLIFYPROGRAMMINGPROGRAMMING177A continuous–feed surface grinding cycle is performed.G78G78 I_ (J_) K_ X_ F_ P_ L_ ;IJX P(Dwell) (F) P(Dwell) (F)XZI_: Depth–of–cut 1 (A sign in the command specifies the directionof cutting.)J_: Depth–of–cut 2 (A sign in t...

  • Page 199

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

  • Page 200

    B–61404E/0813. FUNCTIONS TO SIMPLIFYPROGRAMMINGPROGRAMMING179An intermittent–feed surface grinding cycle is performed.G79G79 I_ J_ K_ X_ R_ F_ P_ L_ ;I_: Depth–of–cut 1 (A sign in the command specifies the directionof cutting.)J_: Depth–of–cut 2 (A sign in the command specifies the di...

  • Page 201

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

  • Page 202

    B–61404E/0813. FUNCTIONS TO SIMPLIFYPROGRAMMINGPROGRAMMING181This function enables continuous dressing. When G75, G77, G78, or G79 is specified, grinding wheel cutting anddresser cutting are compensated continuously according to the amount ofcontinuous dressing during grinding.Specify an offse...

  • Page 203

    PROGRAMMINGB–61404E/0813. FUNCTIONS TO SIMPLIFY PROGRAMMING182Compensation amounts set in offset memory can be modified by using theexternal tool compensation function or programming (by changingoffsets using custom macro variables).With these functions, the compensation amount for the diameter...

  • Page 204

    B–61404E/0813. FUNCTIONS TO SIMPLIFYPROGRAMMINGPROGRAMMING183Every time an external signal is input, cutting is performed by a fixedamount according to the programmed profile in the specified Y–Z plane.G161 R_ ;G160 ;profile programSpecify the start of an operation mode and profile program. ...

  • Page 205

    PROGRAMMINGB–61404E/0813. FUNCTIONS TO SIMPLIFY PROGRAMMING184Chamfering and corner rounding blocks can be inserted automaticallybetween linear interpolation and linear interpolation blocks, C_, R_ChamferingCorner RWhen the above specification is added to the end of a block that specifieslinear...

  • Page 206

    B–61404E/0813. FUNCTIONS TO SIMPLIFYPROGRAMMINGPROGRAMMING185Chamfering and corner rounding can be performed only in the planespecified by plane selection (G17, G18, or G19). These functions cannotbe performed for parallel axes.A block specifying chamfering or corner rounding must be followed ...

  • Page 207

    PROGRAMMINGB–61404E/0813. FUNCTIONS TO SIMPLIFY PROGRAMMING186Upon completion of positioning in each block in the program, an externaloperation function signal can be output to allow the machine to performspecific operation.Concerning this operation, refer to the manual supplied by the machinet...

  • Page 208

    B–61404E/0813. FUNCTIONS TO SIMPLIFYPROGRAMMINGPROGRAMMING187When drilling is performed using a tool with an overload torque detectionfunction, this function allows the small–diameter peck drilling cycle tobe performed by entering an overload torque detection signal as a skipsignal to change ...

  • Page 209

    PROGRAMMINGB–61404E/0813. FUNCTIONS TO SIMPLIFY PROGRAMMING188Mjj ;G83 X_ Y_ Z_ R_ Q_ F_ I_ K_ P_ ;X_ Y_ ;X_ Y_ ;G80 ;SpecificationCodeDescriptionSpecification of small–diameterpeck drilling cycleMjjSpecify an M code for the small–diameterpeck drilling cycle set in parameter No. 304.G83, sp...

  • Page 210

    B–61404E/0813. FUNCTIONS TO SIMPLIFYPROGRAMMINGPROGRAMMING189(1) The small–diameter peck drilling cycle is executed by specifying G83after specifying an M code for the small–diameter peck drilling cycle.During the execution of this cycle, the small–diameter peck drillingcycle in–progres...

  • Page 211

    PROGRAMMINGB–61404E/0813. FUNCTIONS TO SIMPLIFY PROGRAMMING190(4) Advance and retract operations during peck drilling are performed notas positioning by rapid traverse but as cutting feed.(5) When an advance/retract feedrate during peck drilling is to bespecified using an I code, the same forma...

  • Page 212

    B–61404E/0814. COMPENSATION FUNCTIONPROGRAMMING19114 COMPENSATION FUNCTIONThis chapter describes the following compensation functions:TOOL LENGTH OFFSET (G43, G44, G49)Sec.14.1. . . . . . . . . . . . . . . . . AUTOMATIC TOOL LENGTH MEASUREMENT (G37)Sec.14.2. . . . . TOOL OFFSET (G45 TO G48)Sec....

  • Page 213

    PROGRAMMINGB–61404E/0814. COMPENSATION FUNCTION192This function can be used by setting the difference between the tool lengthassumed during programming and the actual tool length of the tool usedinto the offset memory. It is possible to compensate the difference withoutchanging the program.Spe...

  • Page 214

    B–61404E/0814. COMPENSATION FUNCTIONPROGRAMMING193Select tool length offset A, B, or C, by setting bit 6 of parameter 003 andbit 3 of parameter No. 019.When G43 is specified, the tool length offset value (stored in offsetmemory) specified with the H code is added to the coordinates of the endpo...

  • Page 215

    PROGRAMMINGB–61404E/0814. COMPENSATION FUNCTION194Tool length offset B can be executed along two or more axes when the axesare specified in two or more blocks.Offset in X and Y axes.G19 G43 H _ ; Offset in X axis G18 G43 H _ ; Offset in Y axis(Offsets in X and Y axes are performed)If the bit (b...

  • Page 216

    B–61404E/0814. COMPENSATION FUNCTIONPROGRAMMING19512Actual positionProgrammed positionoffsetvalueε=4mm#1203030120#3#2+Y+X3050+Z3353018228 Tool length offset (in boring holes No.1, 2, and 3)1113·ProgramH1=–4.0(Tool length offset value)N1G91 G00 X120.0 Y80.0 ;. . . . . . . . . . . . . . . . ...

  • Page 217

    PROGRAMMINGB–61404E/0814. COMPENSATION FUNCTION196By issuing G37 the tool starts moving to the measurement position andkeeps on moving till the approach end signal from the measurementdevice is output. Movement of the tool is stopped when the tool tipreaches the measurement position.Difference...

  • Page 218

    B–61404E/0814. COMPENSATION FUNCTIONPROGRAMMING197The difference between the coordinates of the position at which the toolreaches for measurement and the coordinates specified by G37 is addedto the current tool length offset value.Offset value = [(Coordinates of the position at which the tool r...

  • Page 219

    PROGRAMMINGB–61404E/0814. COMPENSATION FUNCTION198WARNINGWhen a manual movement is inserted into a movement ata measurement federate, return the tool to the positionbefore the inserted manual movement for restart.NOTE1 When an H code is specified in the same block as G37, analarm is generated. ...

  • Page 220

    B–61404E/0814. COMPENSATION FUNCTIONPROGRAMMING199G92 Z760.0 X1100.0 ; Sets a workpiece coordinate system with respect to the programmed absolute zero point.G00 G90 X850.0 ;Moves the tool to X850.0.That is the tool is moved to a position that is aspecified distance from the measurementposition ...

  • Page 221

    PROGRAMMINGB–61404E/0814. COMPENSATION FUNCTION200The programmed travel distance of the tool can be increased or decreasedby a specified tool offset value or by twice the offset value.The tool offset function can also be applied to an additional axis.ÇÇÇÇÇÇProgrammed pathTool center pathT...

  • Page 222

    B–61404E/0814. COMPENSATION FUNCTIONPROGRAMMING201As shown in Table 14.3 (a), the travel distance of the tool is increased ordecreased by the specified tool offset value.In the absolute mode, the travel distance is increased or decreased as thetool is moved from the end position of the previous...

  • Page 223

    PROGRAMMINGB–61404E/0814. COMPENSATION FUNCTION202WARNINGWhen G45 to G48 is specified to n axes (n=1–4) simultaneously in a motion block, offset isapplied to all n axes.When the cutter is offset only for cutter radius or diameter in taper cutting, overcutting orundercutting occurs. Therefore...

  • Page 224

    B–61404E/0814. COMPENSATION FUNCTIONPROGRAMMING203NOTE1 When the specified direction is reversed by decrease as shown in the figure below, the toolmoves in the opposite direction.2 Tool offset can be applied to circular interpolation (G02, G03) with the G45 to G48 commandsonly for 1/4 and 3/4 c...

  • Page 225

    PROGRAMMINGB–61404E/0814. COMPENSATION FUNCTION204ÇÇÇÇÇÇÇÇÇTool diameter:20φOffset No.:01Tool offset value :+10.080504030R504030RN1N2N3N4N5N6N7N8N9N10N11N12N13N14303040X axisY axisProgram using tool offsetOriginProgramN1 G91 G46 G00 X80.0 Y50.0 D01 ;N2 G47 G01 X50.0 F120.0 ;N3 Y40.0 ;...

  • Page 226

    B–61404E/0814. COMPENSATION FUNCTIONPROGRAMMING205When the tool is moved, the tool path can be shifted by the radius of thetool (Fig. 14.4).To make an offset as large as the radius of the tool, first create an offsetvector with a length equal to the radius of the tool (start–up). The offsetv...

  • Page 227

    PROGRAMMINGB–61404E/0814. COMPENSATION FUNCTION206IP_G00 (or G01) G41 (or G42)G39(or IR_) ;D Start up(Cutter compensation start)IR_ H_ ;G41G42H_:Command for axis movement:Cutter compensation left (Group 07):Cutter compensation right (Group 07):Incremental value from the end position. Perpendi...

  • Page 228

    B–61404E/0814. COMPENSATION FUNCTIONPROGRAMMING207Specify the number assigned to a cutter compensation value with a 1– to3–digit number after address H (H code) in the program. The H code canbe specified in any position before the offset cancel mode is first switchedto the cutter compensat...

  • Page 229

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

  • Page 230

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

  • Page 231

    PROGRAMMINGB–61404E/0814. COMPENSATION FUNCTION210G42, contrary to G41, specifies a tool to be offset to the right of work piecelooking toward the direction in which the tool advances.G42 has the same function as G41, except that the directions of the vectorscreated by the commands are the oppo...

  • Page 232

    B–61404E/0814. COMPENSATION FUNCTIONPROGRAMMING211G42… ; :G02 (or G03) X_ Y_ R_;ÇÇÇÇÇÇÇÇÇÇÇÇÇÇÇÇÇÇÇÇÇÇÇÇÇÇÇÇÇÇÇÇÇÇÇÇÇÇÇÇÇÇÇÇÇR(X, Y)Tool center pathProgrammed pathNew vectorOld vectorStart positionProgrammed pathNew vectorTool center pathOld ve...

  • Page 233

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

  • Page 234

    B–61404E/0814. COMPENSATION FUNCTIONPROGRAMMING213When the following command is specified in the G00 or G01 mode, thetool moves from the head of the old vector at the start position to the endposition (X, Y). In the G01 mode, the tool moves linearly. In the G00mode, rapid traverse is carried ...

  • Page 235

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

  • Page 236

    B–61404E/0814. COMPENSATION FUNCTIONPROGRAMMING215The offset amount is changed generally when the tool is changed in theoffset cancel mode, but can be changed in the offset mode only inpositioning (G00) or linear interpolation (G01).Program as described below:G00 (or G01) X_ Y_ H_ ; (H_ indicat...

  • Page 237

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

  • Page 238

    B–61404E/0814. COMPENSATION FUNCTIONPROGRAMMING217ÇÇÇÇÇÇÇÇÇN1N2N3N4N5N6N7N8N9N10N11R2=20.0R1=40.0Y axisX axis20.020.040.040.020.020.0Unit : mmN1G91 G17 G00 G41 X20.0 Y20.0 J40.0 H08 ; N2G01 Z–25.0 F100 ;N3Y40.0 F250 ;N4G39 I40.0 J20.0 ;N5X40.0 Y20.0 ;N6G39 I40.0 ;N7G02 X40.0 Y–40.0...

  • Page 239

    PROGRAMMINGB–61404E/0814. COMPENSATION FUNCTION218When the tool is moved, the tool path can be shifted by the radius of thetool (Fig. 14.5 (a)). To make an offset as large as the radius of the tool, CNC first creates anoffset vector with a length equal to the radius of the tool (start–up). ...

  • Page 240

    B–61404E/0814. COMPENSATION FUNCTIONPROGRAMMING219G40D Start up(Tool compensation start)G00 (or G01) G41 (or G42)H_ ;G41G42H_:Cutter compensation left (Group07):Cutter compensation right (Group07):Command for axis movement:Code for specifying as the cutter compensation value(1–3digits)(H code...

  • Page 241

    PROGRAMMINGB–61404E/0814. COMPENSATION FUNCTION220In the offset mode, when a block which satisfies any one of the followingconditions is executed, the equipment enters the offset cancel mode, andthe action of this block is called the offset cancel.1. G40 has been commanded.2. 0 has been command...

  • Page 242

    B–61404E/0814. COMPENSATION FUNCTIONPROGRAMMING221If the offset amount is negative (–), distribution is made for a figure inwhich G41’s and G42’s are all replaced with each other on the program.Consequently, if the tool center is passing around the outside of theworkpiece, it will pass ar...

  • Page 243

    PROGRAMMINGB–61404E/0814. COMPENSATION FUNCTION222Specify a cutter compensation value with a number assigned to it. Thenumber consists of 1 to 3 digits after address H (H code). The H code isvalid until another H code is specified. The H code is used to specify thetool offset value as well a...

  • Page 244

    B–61404E/0814. COMPENSATION FUNCTIONPROGRAMMING223ÇÇÇÇÇÇÇÇÇY axisX axisUnit : mmN1Start position650RC2(1550,1550)650RC3 (–150,1150)250RC1(700,1300)P4(500,1150) P5(900,1150)P6(950,900)P9(700,650)P8(1150,550)P1(250,550)P3(450,900)P2(250,900)N2N3N4N5N6N7N8N9N10N11P7(1150,900)G92 X0 Y0 Z...

  • Page 245

    PROGRAMMINGB–61404E/0814. COMPENSATION FUNCTION224This section provides a detailed explanation of the movement of the toolfor cutter compensation C outlined in Section 14.5.This section consists of the following subsections:14.6.1 General14.6.2 Tool Movement in Start–up14.6.3 Tool Movement...

  • Page 246

    B–61404E/0814. COMPENSATION FUNCTIONPROGRAMMING225When the offset cancel mode is changed to offset mode, the tool movesas illustrated below (start–up):Linear→LinearProgrammed pathLSG42rLLinear→CircularWorkpieceStart positionTool center pathWork-pieceααG42Start positionTool center pathPr...

  • Page 247

    PROGRAMMINGB–61404E/0814. COMPENSATION FUNCTION226Tool path in start–up has two types A and B, and they are selected byparameter (No. 016#2).Linear→LinearProgrammed pathTool center pathLSG42rLLinear→CircularType AType BWorkpieceStart positionLinear→LinearLinear→CircularWork-piece...

  • Page 248

    B–61404E/0814. COMPENSATION FUNCTIONPROGRAMMING227Tool path in start–up has two types A and B, and they are selected byparameter (No.016#2).αLSG42rLS CType AType BrG42LG42LLLLSrrG42LLLSrrCLLLinear→LinearLinear→CircularLinear→LinearLinear→CircularWorkpieceWork-pieceWorkpieceWork-p...

  • Page 249

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

  • Page 250

    B–61404E/0814. COMPENSATION FUNCTIONPROGRAMMING229In the offset mode, the tool moves as illustrated below:LLCSLSCLSSCLinear→CircularLinear→LinearProgrammed pathIntersectionTool center pathWorkpieceWork-pieceTool center pathIntersectionProgrammed pathWorkpieceProgrammed pathTool center pathI...

  • Page 251

    PROGRAMMINGB–61404E/0814. COMPENSATION FUNCTION230rrSrIntersectionProgrammed pathTool center pathIntersectionAlso in case of arc to straight line, straight line to arc and arc to arc, thereader should infer in the same procedure.D Tool movement aroundthe inside(αt1°) with anabnormally long ve...

  • Page 252

    B–61404E/0814. COMPENSATION FUNCTIONPROGRAMMING231LrCSLSCLSLLrLLLSrr Linear→LinearLinear→CircularProgrammed pathTool center pathIntersectionWorkpieceCircular→LinearCircular→CircularIntersectionTool center path Programmed pathWork-pieceIntersectionTool center pathProgrammed pathWorkpiece...

  • Page 253

    PROGRAMMINGB–61404E/0814. COMPENSATION FUNCTION232LLLLSrrLLinear→LinearProgrammed pathWorkpieceLinear→CircularCircular→LinearCircular→CircularWork-pieceTool center pathααααTool center pathLLLSLrrProgrammed pathWorkpieceProgrammed pathTool center pathLLLLSCWork-pieceTool center pathP...

  • Page 254

    B–61404E/0814. COMPENSATION FUNCTIONPROGRAMMING233If the end of a line leading to an arc is programmed as the end of the arcby mistake as illustrated below, the system assumes that cuttercompensation has been executed with respect to an imaginary circle thathas the same center as the arc and pa...

  • Page 255

    PROGRAMMINGB–61404E/0814. COMPENSATION FUNCTION234If the center of the arc is identical with the start position or end point,alarm (No. 038) is displayed, and the tool will stop at the end position ofthe preceding block.N5N6N7rAlarm(No.038)is displayed and the toolstops(G41)N5 G01 X100.0 ;N6 G0...

  • Page 256

    B–61404E/0814. COMPENSATION FUNCTIONPROGRAMMING235LLLSrrG42G41G41G42rrSCrrLCSSG41G41G42G42CCrrLinear→LinearLinear→CircularProgrammed pathTool center pathWorkpieceProgrammed pathTool center pathWorkpieceWorkpieceWorkpieceWorkpieceProgrammed pathTool center pathCircular→LinearCircular→Cir...

  • Page 257

    PROGRAMMINGB–61404E/0814. COMPENSATION FUNCTION236When changing the offset direction in block A to block B using G41 andG42, if intersection with the offset path is not required, the vector normalto block B is created at the start point of block B.G41G42(G42)LLLABrrSG42G41LSLSG41G42ABLSrLLG41CC...

  • Page 258

    B–61404E/0814. COMPENSATION FUNCTIONPROGRAMMING237Normally there is almost no possibility of generating this situation.However, when G41 and G42 are changed, or when a G40 wascommanded with address I, J, and K this situation can occur.In this case of the figure, the cutter compensation is not p...

  • Page 259

    PROGRAMMINGB–61404E/0814. COMPENSATION FUNCTION238If the following command is specified in the offset mode, the offset modeis temporarily canceled then automatically restored. The offset mode canbe canceled and started as described in Subsections 15.6.2 and 15.6.4.If G28 is specified in the o...

  • Page 260

    B–61404E/0814. COMPENSATION FUNCTIONPROGRAMMING239The offset vector can be set to form a right angle to the moving directionin the previous block, irrespective of machining inner or outer side, bycommanding the cutter compensation G code (G41, G42) in the offsetmode, independently. If this cod...

  • Page 261

    PROGRAMMINGB–61404E/0814. COMPENSATION FUNCTION240The following blocks have no tool movement. In these blocks, the toolwill not move even if cutter compensation is effected.M05 ;M code output. . . . . . . . . S21 ;S code output. . . . . . . . . G04 X10.0 ;Dwell. . . G10 L11 P01 R10.0 ; Cutter ...

  • Page 262

    B–61404E/0814. COMPENSATION FUNCTIONPROGRAMMING241When two or more vectors are produced at the end of a block, the toolmoves linearly from one vector to another. This movement is called thecorner movement. If these vectors almost coincide with each other, the corner movementisn’t performed a...

  • Page 263

    PROGRAMMINGB–61404E/0814. COMPENSATION FUNCTION242N4 G41 G91 G01 X15.0 Y20.0 ;N5 X15.0 Y20.0 ;N6 G02 J–60.0 ; N7 G01 X15.0 Y–20.0 ; N8 G40 X15.0 Y–20.0 ;P2 P3 P4 P5P6N5N6N4N7N8P1Programmed pathTool center pathIf the vector is not ignored, the tool path is as follows:P1 → P2 → P3 → (...

  • Page 264

    B–61404E/0814. COMPENSATION FUNCTIONPROGRAMMING243SrLCLSG40rLWorkpieceG40LProgrammed pathProgrammed pathTool center pathTool center pathWork-pieceLinear→LinearCircular→Linearαα14.6.4Tool Movement inOffset Mode CancelExplanationsD Tool movement aroundan inside corner(180°xα)

  • Page 265

    PROGRAMMINGB–61404E/0814. COMPENSATION FUNCTION244Tool path has two types, A and B; and they are selected by parameter (No.016#2).IntersectionLSG40rLSrCType AType BLSG40LrSCrrLLG40LG40LProgrammed pathWorkpieceTool center pathLinear→LinearCircular→LinearLinear→LinearWork-pieceProgra...

  • Page 266

    B–61404E/0814. COMPENSATION FUNCTIONPROGRAMMING245Tool path has two types, A and B : and they are selected by parameter (No.016#2)LSG40rLSCType AType BrG40LLLLrrLLSrrCLLG42G40LG42LSSLinear→LinearCircular→LinearProgrammed pathTool center pathWorkpieceWork-pieceTool center pathProgramm...

  • Page 267

    PROGRAMMINGB–61404E/0814. COMPENSATION FUNCTION246Start positionrG40G42LLS1°or lessProgrammed pathTool center pathWhen a block without tool movement is commanded together with anoffset cancel, a vector whose length is equal to the offset value is producedin a normal direction to tool motion in...

  • Page 268

    B–61404E/0814. COMPENSATION FUNCTIONPROGRAMMING247If a G41 or G42 block precedes a block in which G40 and I_, J_, K_ arespecified, the system assumes that the path is programmed as a path fromthe end position determined by the former block to a vector determinedby (I,J), (I,K), or (J,K). The d...

  • Page 269

    PROGRAMMINGB–61404E/0814. COMPENSATION FUNCTION248In the example shown below, the tool does not trace the circle more thanonce. It moves along the arc from P1 to P2. The interference checkfunction described in Subsection 14.6.5 may raise an alarm.(I, J)N6N7P1P2N5Tool center pathProgrammed pat...

  • Page 270

    B–61404E/0814. COMPENSATION FUNCTIONPROGRAMMING249Tool overcutting is called interference. The interference check functionchecks for tool overcutting in advance. However, all interference cannotbe checked by this function. The interference check is performed even ifovercutting does not occur. T...

  • Page 271

    PROGRAMMINGB–61404E/0814. COMPENSATION FUNCTION250 In addition to the condition , the angle between the start point andend point on the tool center path is quite different from that betweenthe start point and end point on the programmed path in circularmachining(more than 180 degrees). N5N6N7r1...

  • Page 272

    B–61404E/0814. COMPENSATION FUNCTIONPROGRAMMING251(Example 1) The tool moves linearly from V1 to V8Toolcenter pathCCCrrV1V2V3V4V5V6V7V8AO1 O2BProgrammed pathV4, V5 : InterferenceV3, V6 : InterferenceV2, V7 : InterferenceV1, V8 : No Interference(Example 2) The tool moves linearly from V1, V2, ...

  • Page 273

    PROGRAMMINGB–61404E/0814. COMPENSATION FUNCTION252 If the interference occurs after correction , the tool is stopped withan alarm.If the interference occurs after correction or if there are only one pairof vectors from the beginning of checking and the vectors interfere, thealarm (No.41) is di...

  • Page 274

    B–61404E/0814. COMPENSATION FUNCTIONPROGRAMMING253 Depression which is smaller than the cutter compensation valueTool center pathABCStoppedProgrammed pathThere is no actual interference, but since the direction programmed inblock B is opposite to that of the path after cutter compensation the t...

  • Page 275

    PROGRAMMINGB–61404E/0814. COMPENSATION FUNCTION254When the radius of a corner is smaller than the cutter radius, because theinner offsetting of the cutter will result in overcuttings, an alarm isdisplayed and the CNC stops at the start of the block. In single blockoperation, the overcutting is...

  • Page 276

    B–61404E/0814. COMPENSATION FUNCTIONPROGRAMMING255When machining of the step is commanded by circular machining in thecase of a program containing a step smaller than the tool radius, the pathof the center of tool with the ordinary offset becomes reverse to theprogrammed direction. In this cas...

  • Page 277

    PROGRAMMINGB–61404E/0814. COMPENSATION FUNCTION256The above example should be modified as follows:ÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊN1N1 G91 G00 G41 X50.0 Y50.0 H1 ;N3 G01 Z–250.0 ;N5 G01 Z–50.0 F100 ;N6 Y100.0 F200 ;N6(50, 50)N3, N5:Move commandfor the Z axisAfter compensat...

  • Page 278

    B–61404E/0814. COMPENSATION FUNCTIONPROGRAMMING257Cutter compensation C is not performed for commands input from theMDI.However, when automatic operation by absolute commands istemporarily stopped by the single block function, MDI operation isperformed, then automatic operation starts again, th...

  • Page 279

    PROGRAMMINGB–61404E/0814. COMPENSATION FUNCTION258Tool compensation values include tool geometry compensation valuesand tool wear compensation (Fig. 14.7).OFSGOFSWOFSG:Geometric compensation valueOFSW:Wear compensation valueÇÇÇÇÇÇÇÇÇÇReference positionFig.14.7 Geometric compensation ...

  • Page 280

    B–61404E/0814. COMPENSATION FUNCTIONPROGRAMMING259Tool compensation memory A or B can be used.The tool compensation memory determines the tool compensation valuesthat are entered (set) (Table 14.7 (b)).Table14.7(b) Setting contents tool compensation memory andtool compensation valueTool compen...

  • Page 281

    PROGRAMMINGB–61404E/0814. COMPENSATION FUNCTION260A programmed figure can be magnified or reduced (scaling).The dimensions specified with X_, Y_, and Z_ can each be scaled up ordown with the same or different rates of magnification.The magnification rate can be specified in the program.Unless s...

  • Page 282

    B–61404E/0814. COMPENSATION FUNCTIONPROGRAMMING261Least input increment of scaling magnification is: 0.001 or 0.00001 It isdepended on parameter (No. 036#07) which value is selected. If scalingP is not specified on the block of scaling (G51X_Y_Z_P_ ;), the scalingmagnification set to parameter...

  • Page 283

    PROGRAMMINGB–61404E/0814. COMPENSATION FUNCTION262Even if different magnifications are applie to each axis in circularinterpolation, the tool will not trace an ellipse.When different magnifications are applied to axes and a circularinterpolation is specified with radius R, it becomes as followi...

  • Page 284

    B–61404E/0814. COMPENSATION FUNCTIONPROGRAMMING263G90 G00 X0.0 Y0.0 ;G51 X0.0 Y0.0 I2000 J1000;G02 X100.0 Y0.0 I0.0 J–100.0 F500 ;Above commands are equivalent to the following commands.G90 G00 X0.0 Y100.0;G02 X200.0 Y0.0 I0.0 J–100.0 F500 ;In this case, the end point does not beet the radi...

  • Page 285

    PROGRAMMINGB–61404E/0814. COMPENSATION FUNCTION264This scaling is not applicable to cutter compensation values, tool lengthoffset values, and tool offset values (Fig. 14.8 (e) ).Programmed figureFigure after scalingCutter compensation values are not scaled.Fig.14.8(e) Scaling during cutter com...

  • Page 286

    B–61404E/0814. COMPENSATION FUNCTIONPROGRAMMING265NOTE1 The position display represents the coordinate value after scaling.2 When a mirror image was applied to one axis of the specified plane, the following results:(1)Circular commandDirection of rotation is reversed.. . . . . . . . . . . . . (...

  • Page 287

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

  • Page 288

    B–61404E/0814. COMPENSATION FUNCTIONPROGRAMMING267(α,β)Angle of rotationCenter ofrotationRotation plane G17RXY0Fig.14.9 (b) Coordinate system rotationNOTEWhen a decimal fraction is used to specify angulardisplacement (R_), the 1’s digit corresponds to degreeunits.The G code for selecting a ...

  • Page 289

    PROGRAMMINGB–61404E/0814. COMPENSATION FUNCTION268N1 G92 X*50.0 Y*50.0 G69 G17 ;N2 G68 X70.0 Y30.0 R60.0 ;N3 G90 G01 X0 Y0 F200 ; (G91X50.0Y50.0)N4 G91 X100.0 ;N5 G02 Y100.0 R100.0 ;N6 G03 X*100.0 I*50.0 J*50.0 ;N7 G01 Y*100.0 ;N8 G69 G90 X*50.0 Y*50.0 M02 ;Tool path when the incremental comma...

  • Page 290

    B–61404E/0814. COMPENSATION FUNCTIONPROGRAMMING269N1 G92 X0 Y0 G69 G01 ;N2 G42 G90 X100.0 Y100.0 F1000 H01 ;N3 G68 R*30.0 ;N4 G91 X200.0 ;N5 G03 Y100.0 R100.0 J50.0 ;N6 G01 X*200.0 ;N7 Y*100.0 ;N8 G69 G40 G90 X0 Y0 M30 ;It is possible to specify G68 and G69 in cutter compensation C mode. The r...

  • Page 291

    PROGRAMMINGB–61404E/0814. COMPENSATION FUNCTION2702. When the system is in cutter compensation model C, specify thecommands in the following order (Fig.14.9(e)) :(cutter compensation C cancel)G51 ; scaling mode startG68 ; coordinate system rotation start: G41 ; cutter compensation C mode start:...

  • Page 292

    B–61404E/0814. COMPENSATION FUNCTIONPROGRAMMING271It is possible to store one program as a subprogram and recall subprogramby changing the angle.(0, 0)(0, –10.0)Sample program for when the bit (bit 0 of parameter 041) is set to 1. The specified angular displancement is treated as an absolute...

  • Page 293

    PROGRAMMINGB–61404E/0814. COMPENSATION FUNCTION272By specifying indexing positions (angles) for the indexing axis (thefourth axis), the index table of the machining center can be indexed.Before and after indexing, the index table is automatically unclamped orclamped .Specify an indexing positio...

  • Page 294

    B–61404E/0814. COMPENSATION FUNCTIONPROGRAMMING2732. Using no miscellaneous functionsBy setting to bits 2, 3, and 4 of parameter 079, operation can beselected from the following two options.Select the operation by referring to the manual written by the machinetool builder.(1) Rotating in the di...

  • Page 295

    PROGRAMMINGB–61404E/0814. COMPENSATION FUNCTION274Table14.10 Index indexing function and other functionsItemExplanationRelative position displayThis value is rounded down when bit 1 of parameter 079 specifies thisoption.Absolute position displayThis value is rounded down when bit 2 of paramete...

  • Page 296

    B–61404E/0814. COMPENSATION FUNCTIONPROGRAMMING275When a tool with a rotation axis (fourth–axis) is moved in the XY planeduring cutting, the normal direction control function can control the toolso that the fourth–axis is always perpendicular to the tool path (Fig. 14.11(a)). ToolToolProgra...

  • Page 297

    PROGRAMMINGB–61404E/0814. COMPENSATION FUNCTION276Direction od the fourth–axisProgrammed pathProgrammed pathDirection od the fourth–axisCenter of the arcFig. 14.11 (c) Normal direction control right (G152)Fig. 14.11 (b) Normal direction control left (G151)When viewed from the center of ro...

  • Page 298

    B–61404E/0814. COMPENSATION FUNCTIONPROGRAMMING277Programmed pathS : Single block stop pointSN1N2SN3SDirection of the fourth axisFig. 14.11 (e) Point at which a single–block stop occurs in the normal direction control modeBefore circular interpolation is started, the fourth–axis is rotated...

  • Page 299

    PROGRAMMINGB–61404E/0814. COMPENSATION FUNCTION278Movement of the tool inserted at the beginning of each block is executedat the feedrate set in parameter 683. If dry run mode is on at that time, thedry run feedrate is applied. If the tool is to be moved along the X–andY–axes in rapid tra...

  • Page 300

    B–61404E/0815. CUSTOM MACRO APROGRAMMING27915 CUSTOM MACRO AA function covering a group of instructions is stored in memory as sameas a subprogram. The stored function is presented by one instruction, sothat only the representative instruction need be specified to execute thefunction. This gr...

  • Page 301

    PROGRAMMINGB–61404E/0815. CUSTOM MACRO A280The custom macro command is the command to call the custom macrobody.Command format is as follows :M98 P__;Called macro body program No.With the above command, the macro body specified by P is called.The subprogram can be called using M code set in par...

  • Page 302

    B–61404E/0815. CUSTOM MACRO APROGRAMMING281When parameter (No. 0040 #5) is set beforehand, subprogram (O9000)can be called using T code.N_ G_ X_T <t> ;the above command results in the same operation of command of thefollowing 2 blocks.#149 = <t> ;N_ G_ X_M98 P9000 ;The T code t__ is...

  • Page 303

    PROGRAMMINGB–61404E/0815. CUSTOM MACRO A282G66 P __ ;Called macro body program No.The above command selects the macro modal call mode for NC. In otherwords, every time each block subsequent to the above command isexecuted, the macro designated by P is called. Also, an argument can bedesignat...

  • Page 304

    B–61404E/0815. CUSTOM MACRO APROGRAMMING283An argument means an actual value given to a variable employed in acalled macro. An argument can be specified at all employable addressesexcept for O. The format of argument specification is the same as innormal CNC command. The limitation at each a...

  • Page 305

    PROGRAMMINGB–61404E/0815. CUSTOM MACRO A28415.1.5 (b) Correspondence between G codes of the argumentspecification and variable numbersVariablenumber(value)Variablenumber(flag)G codegroupnumberG codes of the argumentspecification#8030#813000One shot and others#8031#813101G00, G01, G02, G03#8032...

  • Page 306

    B–61404E/0815. CUSTOM MACRO APROGRAMMING285In the custom macro body, the CNC command, which uses ordinary CNCcommand variables, calculation, and branch command can be used. Thecustom macro body starts from the program No. which immediatelyfollows O and ends at M99.O_____________ ;Program No.G6...

  • Page 307

    PROGRAMMINGB–61404E/0815. CUSTOM MACRO A286NOTE1 No variable can be quoted at address O and N. NeitherO#100 nor N#120 can be programmed.2 It is not possible to command a value exceeding themaximum command value set in each address. When #30=120, G#30 has exceeded the maximumcommand value.Vari...

  • Page 308

    B–61404E/0815. CUSTOM MACRO APROGRAMMING287(b) Interface input signals #1000 to #1015, #1032Interface signals can be known, by reading system variables #1000to #1015 for reading interface signals.#1032+15i+0#(1000) i) 2i215 214213 212 211 210 29282726 252423222120UI15 UI14 UI13 UI12 UI11 UI10 U...

  • Page 309

    PROGRAMMINGB–61404E/0815. CUSTOM MACRO A288CAUTIONIf any other number than ‘0’ or ‘1’ is substituted into systemvariables #1100 to #1115, it is treated as ‘1’.NOTE1 It is possible to read the values of system variables #1100to #1133.2 System variables #1100 to #1115 and #1133 can be...

  • Page 310

    B–61404E/0815. CUSTOM MACRO APROGRAMMING289(f) Modal information #4001 to #4120It is possible to know the current values of modal information(modal command given till immediately preceding block) byreading values of system variables #4001 to #4120.#4001G code (group 01)#4002G code (group 02)#40...

  • Page 311

    PROGRAMMINGB–61404E/0815. CUSTOM MACRO A290(g) Position information #5001 to #5083The position information can be known by reading systemvariables #5001 to #5083. The unit of position information is0.001 mm in metric input and 0.0001 inch in inch input.SystemvariablesPosition informationReadin...

  • Page 312

    B–61404E/0815. CUSTOM MACRO APROGRAMMING291General FormG65HmP#i Q#j R#k ;m :Indicates operation instruction and branch instruction at 01 to 99#i :Variable name to which arithmetic result is loaded.#j :Variable name 1 to be operated. A constant is also acceptable.#k :Variable name 2 to be opera...

  • Page 313

    PROGRAMMINGB–61404E/0815. CUSTOM MACRO A292Table 15.2.3G codeH codeFunctionDefinitionG65H01Definition, substitution#i = #jG65H02Addition#i = #j + #kG65H03Subtraction#i = #j – #kG65H04Product#i = #j #kG65H05Division#i = #jB #kG65H11Logical sum#i = #j. OR. #kG65H12Logical product#i = #j. AND....

  • Page 314

    B–61404E/0815. CUSTOM MACRO APROGRAMMING293(a)Definition and substitution of variable #i = #jG65 H01 P#i Q#j ;[Example]G65 H01 P#101 Q1055 ; (#101=1005)G65 H01 P#101 Q#110 ; (#101=#110)G65 H01 P#101 Q–#112 ; (#101=–#112)(b)Addition #i = #j + #kG65 H02 P#i Q#j R#k;[Example]G65 H02 P#101 Q#10...

  • Page 315

    PROGRAMMINGB–61404E/0815. CUSTOM MACRO A294(o)Combined square root 1 #i = G65 H27 P#i Q#j R#k ;[Example]G65 H27 P#101 Q#102 R#103 ; (#101=)#j2) #k2#1022) 1032(p)Combined square root 2 #i = G65 H28 P#i Q#j R#k ;[Example]G65 H28 P#101 Q#102 R#103 ; (#101=)#j2–#k2#1022–1032(q) Sine #i = #j·...

  • Page 316

    B–61404E/0815. CUSTOM MACRO APROGRAMMING295(a)Unconditional branchG65 H80 Pn ; n : Sequence number[Example]G65 H80 P120 ; (Diverge to N120)(b)Conditional divergence 1 #j. EQ. #k (+)G65 H81 Pn Q#j R#k ; n : Sequence number[Example]G65 H81 P1000 Q#101 R#102 ; #101=#102, go to N1000#1010#102, go t...

  • Page 317

    PROGRAMMINGB–61404E/0815. CUSTOM MACRO A2961) How to input “#”For standard MDI key, when “/# EOB” key is depressed after addressG, X, Y, Z, R, I, J, K, F, H, M, S, T, or P, # code is input2) It is also possible to give a macro instruction in the MDI mode.However address data other than ...

  • Page 318

    B–61404E/0816. CUSTOM MACRO BPROGRAMMING29716 CUSTOM MACRO BAlthough subprograms are useful for repeating the same operation, thecustom macro function also allows use of variables, arithmetic and logicoperations, and conditional branches for easy development of generalprograms such as pocketing...

  • Page 319

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

  • Page 320

    B–61404E/0816. CUSTOM MACRO BPROGRAMMING299Variables are classified into four types by variable number.Table 16.1 Types of variablesVariablenumberType ofvariableFunction#0AlwaysnullThis variable is always null. No value can beassigned to this variable.#1 – #33LocalvariablesLocal variables c...

  • Page 321

    PROGRAMMINGB–61404E/0816. CUSTOM MACRO B300Procedure for displaying variable values1Press the MENUOFFSETkey to display the tool compensation screen.2Press the soft key [MACRO] to display the macro variable screen.3After press the No.key, enter a variable number, then press INPUTkey.The curso...

  • Page 322

    B–61404E/0816. CUSTOM MACRO BPROGRAMMING301System variables can be used to read and write internal NC data such astool compensation values and current position data. Note, however, thatsome system variables can only be read. System variables are essentialfor automation and general–purpose p...

  • Page 323

    PROGRAMMINGB–61404E/0816. CUSTOM MACRO B302Table 16.2(d) System variable for macro alarmsVariablenumberFunction#3000When a value from 0 to 99 is assigned to variable #3000, theNC stops with an alarm. After an expression, an alarm mes-sage not longer than 26 characters can be described. TheCR...

  • Page 324

    B–61404E/0816. CUSTOM MACRO BPROGRAMMING303D When a wait for the completion of auxiliary functions (M, S, and Tfunctions) is not specified, program execution proceeds to the nextblock before completion of auxiliary functions. Also, distributioncompletion signal DEN is not output.Table 16.2(g) ...

  • Page 325

    PROGRAMMINGB–61404E/0816. CUSTOM MACRO B304Settings can be read and written. Binary values are converted todecimals.REVX:X–axis mirror image on/offREVY:Y–axis mirror image on/offTVON:TV check on/offISO:Output code, EIA/ISOINCH:Metric input/inch inputABS:Incremental programming/absolute pro...

  • Page 326

    B–61404E/0816. CUSTOM MACRO BPROGRAMMING305Modal information specified in blocks up to the immediately precedingblock can be read.Table 16.2(i) System variables for modal informationVariablenumberFunction#4001#4002#4003#4004#4005#4006#4007#4008#4009#4010#4011#4012#4014#4015#4016:#4022#4102#410...

  • Page 327

    PROGRAMMINGB–61404E/0816. CUSTOM MACRO B306D The first digit (from 1 to 4) represents an axis number. Digit 1corresponds to the X–axis, digit 2 to the Y–axis, digit 3 to the Z–axis,and digit 4 to the fourth axis.D The tool offset value currently used for execution rather than theimmediat...

  • Page 328

    B–61404E/0816. CUSTOM MACRO BPROGRAMMING307Workpiece zero point offset values can be read and written.Table 16.2 (k) System variables for workpiece zero point offset valuesVariablenumberFunction#2500#2501:#2506First axis external workpiece zero point offset valueFirst axis G54 workpiece zero p...

  • Page 329

    PROGRAMMINGB–61404E/0816. CUSTOM MACRO B308The operations listed in Table 16.3(a) can be performed on variables. Theexpression to the right of the operator can contain constants and/orvariables combined by a function or operator. Variables #j and #K in anexpression can be replaced with a cons...

  • Page 330

    B–61404E/0816. CUSTOM MACRO BPROGRAMMING309D When the ROUND function is used in NC statement addresses, theROUND function rounds off the specified value according to the leastinput increment of the address.Example:Creation of a drilling program that cuts according to the valuesof variables #1 a...

  • Page 331

    PROGRAMMINGB–61404E/0816. CUSTOM MACRO B310Brackets are used to change the order of operations. Brackets can be usedto a depth of five levels including the brackets used to enclose a function.When a depth of five levels is exceeded, alarm No. 118 occurs.Example) #1=SIN [ [ [#2+#3] *#4 +#5] *#6...

  • Page 332

    B–61404E/0816. CUSTOM MACRO BPROGRAMMING311D The precision of variable values is about 8 decimal digits. When verylarge numbers are handled in an addition or subtraction, the expectedresults may not be obtained.Example:When an attempt is made to assign the following values tovariables #1 and #...

  • Page 333

    PROGRAMMINGB–61404E/0816. CUSTOM MACRO B312The following blocks are referred to as macro statements:D Blocks containing an arithmetic or logic operation (=)D Blocks containing a control statement (such as GOTO, DO, END)D Blocks containing a macro call command (such as macro calls byG65, G66, G6...

  • Page 334

    B–61404E/0816. CUSTOM MACRO BPROGRAMMING313In a program, the flow of control can be changed using the GOTOstatement and IF statement. Three types of branch and repetitionoperations are used:Branch and repetitionGOTO statement (unconditional branch)IF statement (conditional branch: if ..., then...

  • Page 335

    PROGRAMMINGB–61404E/0816. CUSTOM MACRO B314Operators each consist of two letters and are used to compare two valuesto determine whether they are equal or one value is smaller or greater thanthe other value. Note that the inequality sign cannot be used.Table 16.5.2 OperatorsOperatorMeaningEQEq...

  • Page 336

    B–61404E/0816. CUSTOM MACRO BPROGRAMMING315The identification numbers (1 to 3) in a DO–END loop can be used asmany times as desired. Note, however, when a program includes crossingrepetition loops (overlapped DO ranges), alarm No. 124 occurs.1. The identification numbers(1 to 3) can be used ...

  • Page 337

    PROGRAMMINGB–61404E/0816. CUSTOM MACRO B316The sample program below finds the total of numbers 1 to 10.O0001;#1=0;#2=1;WHILE[#2 LE 10]DO1;#1=#1+#2;#2=#2+1;END 1;M30;Sample program

  • Page 338

    B–61404E/0816. CUSTOM MACRO BPROGRAMMING317A macro program can be called using the following methods:Macro callSimple call ((G65)modal call (G66, G67)Macro call with G codeMacro call with M codeSubprogram call with M codeSubprogram call with T codeMacro call (G65) differs from subprogram call (...

  • Page 339

    PROGRAMMINGB–61404E/0816. CUSTOM MACRO B318Two types of argument specification are available. Argumentspecification I uses letters other than G, L, O, N, and P once each.Argument specification II uses A, B, and C once each and also uses I, J,and K up to ten times. The type of argument specifi...

  • Page 340

    B–61404E/0816. CUSTOM MACRO BPROGRAMMING319Calls can be nested to a depth of four levels including simple calls (G65)and modal calls (G66). This does not include subprogram calls (M98).D Local variables from level 0 to 4 are provided for nesting.D The level of the main program is 0.D Each time...

  • Page 341

    PROGRAMMINGB–61404E/0816. CUSTOM MACRO B320A 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 radius I.The center of the circle is (X,Y). Commands can be specified in eitherthe absolute or incremental mode. To...

  • Page 342

    B–61404E/0816. CUSTOM MACRO BPROGRAMMING321O0002;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;O9100;#3=#4003;Stores G code of group 3.. . . . . . . . . . . . . . . . . . . . . . . . . . G81 Z#26 R#18 F#9 K0; (Note)Drilling cycle.. . . . . . . . . . . . ...

  • Page 343

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

  • Page 344

    B–61404E/0816. CUSTOM MACRO BPROGRAMMING323The same operation as the drilling canned cycle G81 is created using acustom macro and the machining program makes a modal macro call. Forprogram simplicity, all drilling data is specified using absolute values.Z=0RZThe canned cycle consists of the fo...

  • Page 345

    PROGRAMMINGB–61404E/0816. CUSTOM MACRO B324By setting a G code number used to call a macro program in a parameter,the macro program can be called in the same way as for a simple call(G65).O0001 ; :G81 X10.0 Y20.0 Z–10.0 ; :M30 ;O9010 ; : : :N9 M99 ;Parameter 220 = 81By set...

  • Page 346

    B–61404E/0816. CUSTOM MACRO BPROGRAMMING325By setting an M code number used to call a macro program in a parameter,the macro program can be called in the same way as with a simple call(G65).O0001 ; :M50 A1.0 B2.0 ; :M30 ;O9020 ; : : :M99 ;Parameter 230 = 50By setting an M co...

  • Page 347

    PROGRAMMINGB–61404E/0816. CUSTOM MACRO B326By setting an M code number used to call a subprogram (macro program)in a parameter, the macro program can be called in the same way as witha subprogram call (M98).O0001 ; :M03 ; :M30 ;O9001 ; : : :M99 ;Parameter 240 = 03By setting ...

  • Page 348

    B–61404E/0816. CUSTOM MACRO BPROGRAMMING327By enabling subprograms (macro program) to be called with a T code ina parameter, a macro program can be called each time the T code isspecified in the machining program.O0001 ; :T23 ; :M30 ;O9000 ; : : :M99 ;Bit 5 of parameter 040 ...

  • Page 349

    PROGRAMMINGB–61404E/0816. CUSTOM MACRO B328By using the subprogram call function that uses M codes, the cumulativeusage time of each tool is measured.D The cumulative usage time of each of tools T01 to T05 is measured.No measurement is made for tools with numbers greater than T05.D The followin...

  • Page 350

    B–61404E/0816. CUSTOM MACRO BPROGRAMMING329O9001(M03);Macro to start counting. . . . . . . . . . . . . . . . . . . . . . . . . . M01;IF[#4120 EQ 0]GOTO 9;No tool specified. . . . . . . . . . . . . . . . . . . . . IF[#4120 GT 5]GOTO 9;Out–of–range tool number. . . . . . . . . . . . . . #3002...

  • Page 351

    PROGRAMMINGB–61404E/0816. CUSTOM MACRO B330For smooth machining, the NC statement is preread to be performed next.This operation is referred to as buffering. In cutter compensation mode(G41, G42), the NC prereads NC statements two or three blocks ahead tofind intersections. Macro statements f...

  • Page 352

    B–61404E/0816. CUSTOM MACRO BPROGRAMMING331N1 G01 G41 G91 X50.0 Y30.0 F100 Dd ;>> : Block being executedj : Blocks read into the bufferNC statementexecutionMacro statementexecutionBufferN1N2N3N2 #1=100 ;N3 X100.0 ;N4 #2=200 ;N5 Y50.0 ; :N4N5N3When N1 is being executed, the NC state...

  • Page 353

    PROGRAMMINGB–61404E/0816. CUSTOM MACRO B332Macro call can be specified in automatic operation. During automaticoperation, however, it is impossible to switch to the MDI mode for amacro program call. Macro call can also be specified in MDI operationB.A custom macro program cannot be searched f...

  • Page 354

    B–61404E/0816. CUSTOM MACRO BPROGRAMMING333In addition to the custom macro commands, the following macrocommands are available. They are referred to as external outputcommands.– BPRNT– DPRNT– POPEN– PCLOSThese commands are provided to output variable values and charactersthrough th...

  • Page 355

    PROGRAMMINGB–61404E/0816. CUSTOM MACRO B334LF12 (0000000C)M–1638400(FFE70000)Y410 (0000019A)XSpaceCBPRINT [ C** X#100 [3] Y#101 [3] M#10 [0] ]Variable value#100=0.40596#101=–1638.4#10=12.34DPRNT [ a #b [ c d ] … ]Number of significant decimal placesNumber of significant digits i...

  • Page 356

    B–61404E/0816. CUSTOM MACRO BPROGRAMMING335spDPRINT [ X#2 [53] Y#5 [53] T#30 [20] ]Variable value#2=128.47398#5=–91.2#30=123.456 Parameter (No.040#1)=0L FTY –X91.200128.47423LFT23Y–91.200X128.474 Parameter (No.040#1)=1sp sp spsp sp spPCLOS ;The PCLOS command releases a connection to an ex...

  • Page 357

    PROGRAMMINGB–61404E/0816. CUSTOM MACRO B336NOTE1 It is not necessary to always specify the open command(POPEN), data output command (BPRNT, DPRNT), andclose command (PCLOS) together. Once an opencommand is specified at the beginning of a program, it doesnot need to be specified again except af...

  • Page 358

    B–61404E/0816. CUSTOM MACRO BPROGRAMMING337When a program is being executed, another program can be called byinputting an interrupt signal (UINT) from the machine. This function isreferred to as an interruption type custom macro function. Program aninterrupt command in the following format:M9...

  • Page 359

    PROGRAMMINGB–61404E/0816. CUSTOM MACRO B338A custom macro interrupt is available only during program execution. Itis enabled under the following conditions– When memory operation or MDI operation B is selected– When STL (start lamp) is on– When a custom macro interrupt is not currentl...

  • Page 360

    B–61404E/0816. CUSTOM MACRO BPROGRAMMING339There are two types of custom macro interrupts: Subprogram–typeinterrupts and macro–type interrupts. The interrupt type used is selectedby (bit 5 of parameter 056).(a) Subprogram–type interruptAn interrupt program is called as a subprogram. Th...

  • Page 361

    PROGRAMMINGB–61404E/0816. CUSTOM MACRO B340(i) When the interrupt signal (UINT) is input, any movement or dwellbeing performed is stopped immediately and the interrupt programis executed.(ii) If there are NC statements in the interrupt program, the command inthe interrupted block is lost and th...

  • Page 362

    B–61404E/0816. CUSTOM MACRO BPROGRAMMING341The interrupt signal becomes valid after execution starts of a block thatcontains M96 for enabling custom macro interrupts. The signal becomesinvalid when execution starts of a block that contains M97.While an interrupt program is being executed, the ...

  • Page 363

    PROGRAMMINGB–61404E/0816. CUSTOM MACRO B342There are two schemes for custom macro interrupt signal (UINT) input:The status–triggered scheme and edge– triggered scheme. When thestatus–triggered scheme is used, the signal is valid when it is on. Whenthe edge triggered scheme is used, the ...

  • Page 364

    B–61404E/0816. CUSTOM MACRO BPROGRAMMING343To return control from a custom macro interrupt to the interruptedprogram, specify M99. A sequence number in the interrupted programcan also be specified using address P. If this is specified, the program issearched from the beginning for the specifi...

  • Page 365

    PROGRAMMINGB–61404E/0816. CUSTOM MACRO B344NOTEWhen an M99 block consists only of address O, N, P, L, orM, this block is regarded as belonging to the previous blockin the program. Therefore, a single–block stop does notoccur for this block. In terms of programming, the following and are ba...

  • Page 366

    B–61404E/0816. CUSTOM MACRO BPROGRAMMING345The modal information present before the interrupt becomes valid. Thenew modal information modified by the interrupt program is madeinvalid.The new modal information modified by the interrupt program remainsvalid even after control is returned. The o...

  • Page 367

    PROGRAMMINGB–61404E/0817. PATTERN DATA INPUT FUNCTION34617 PATTERN DATA INPUT FUNCTIONThis function enables users to perform programming simply by extractingnumeric data (pattern data) from a drawing and specifying the numericalvalues from the CRT/MDI panel. This eliminates the need for progra...

  • Page 368

    B–61404E/0817. PATTERN DATA INPUT FUNCTIONPROGRAMMING347Pressing the MENU OFSETkey and the soft key [MENU] is displayed on thefollowing pattern menu screen. 1. BOLT HOLE 2. GRID 3. LINE ANGLE 4. TAPPING 5. DRILLING 6. BORING 7. POCKET 8. PECK 9. TEST PATRN10. BACKMENU : HOLE PATTERN...

  • Page 369

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

  • Page 370

    B–61404E/0817. PATTERN DATA INPUT FUNCTIONPROGRAMMING349Pattern name: C1 C2 C3 C4 C5 C6 C7 C8 C9C10C1, C2,,C10: Characters in the pattern name (10 characters). . . Macro instructionG65 H91 Pn Qq Rr Ii Jj Kk ;H91: Specifies the menu titlen : Specifies the menu No. of the pattern namen=1 to 10q ...

  • Page 371

    PROGRAMMINGB–61404E/0817. PATTERN DATA INPUT FUNCTION350Custom macros for the menu title and hole pattern names. 1. BOLT HOLE 2. GRID 3. LINE ANGLE 4. TAPPING 5. DRILLING 6. BORING 7. POCKET 8. PECK 9. TEST PATRN10. BACKMENU : HOLE PATTERN O0000 N00000SELECT =S0 T 10:01:...

  • Page 372

    B–61404E/0817. PATTERN DATA INPUT FUNCTIONPROGRAMMING351When a pattern menu is selected, the necessary pattern data isdisplayed.NO. NAMEDATA COMMENT500TOOL0501KIJUN X0*BOLT HOLE502KIJUN Y0 CIRCLE*503RADIUS0SET PATTERN504S. ANGL0DATA TO VAR.505HOLES NO0NO.500–505.50605070ACTUAL POSITION ...

  • Page 373

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

  • Page 374

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

  • Page 375

    PROGRAMMINGB–61404E/0817. PATTERN DATA INPUT FUNCTION354Macro instruction to describe a parameter title , the variable name, and acomment.NO. NAMEDATA COMMENT500TOOL0501KIJUN X0*BOLT HOLE502KIJUN Y0 CIRCLE*503RADIUS0SET PATTERN504S. ANGL0DATA TO VAR.505HOLES NO0NO.500–505.50605070ACTUAL...

  • Page 376

    B–61404E/0817. PATTERN DATA INPUT FUNCTIONPROGRAMMING355Table. 17.3(a) Characters and codes to be used for the pattern data inputfunctionChar-acterCodeCommentChar-acterCodeCommentA0656054B0667055C0678056D0689057E069032SpaceF070!033Exclamation markG071”034Quotation markH072#035Hash signI073$0...

  • Page 377

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

  • Page 378

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

  • Page 379

    PROGRAMMINGB–61404E/0818. PROGRAMMABLE PARAMETER ENTRY (G10)358G10L50;Parameter entry mode settingN_P_;G11;Parameter entry mode cancelN_: Parameter No. (4digids) or data No. for pitch errors compensation P_: Parameter setting value (Leading zeros can be omitted.)Meaning of commandFormatCan not ...

  • Page 380

    B–61404E/0819. MEMORY OPERATION USING Series10/11 TAPE FORMATPROGRAMMING35919 MEMORY OPERATION USING Series 10/11 TAPE FORMATMemory operation of the program registered by Series 10/11 tape formatis possible with setting of the setting parameter (TAPEF).Data formats for cutter compensation, sub...

  • Page 381

    PROGRAMMINGB–61404E/0820. HIGH SPEED CYCLE CUTTING36020 HIGH SPEED CYCLE CUTTINGThis function can convert the machining profile to a data group that canbe distributed as pulses at high–speed by the macro compiler or macroexecutor. The function can also call and execute the data group as amac...

  • Page 382

    B–61404E/0820. HIGH SPEED CYCLE CUTTINGPROGRAMMING361Four axes maximum (Four axes can be controlled simultaneously.).Set the number of pulses per cycle in parameter 055 #4 to #6 as a macrovariable (#20000 to #85535) for high speed cycle cutting using the macrocompiler and macro executor.The uni...

  • Page 383

    PROGRAMMINGB–61404E/0820. HIGH SPEED CYCLE CUTTING362Data for the high speed cycle cutting is assigned to variables (#20000 to#85535) for the high speed cycle cutting by the macro compiler andmacro executor.Configuration of the high speed cutting cycle dataNumber of registered cyclesHeader of ...

  • Page 384

    B–61404E/0820. HIGH SPEED CYCLE CUTTINGPROGRAMMING363Specify the repetition count for this cycle. Values from 0 to 32767 canbe specified. When 0 or 1 is specified, the cycle is executed once.Specify the number (1 to 999) of the cycle to be executed after this cycle.When no connection cycle ex...

  • Page 385

    PROGRAMMINGB–61404E/0820. HIGH SPEED CYCLE CUTTING364NOTE1 When the high–speed machining function is used, an extendedRAM is necessary. The length of tape that can be specified islimited to 80 meters.2 An alarm is issued if the function is executed in the G41/G42 mode.3 Single block stop, dr...

  • Page 386

    B–61404E/0821. SIMPLE SYNCHRONOUS CONTROLPROGRAMMING36521 SIMPLE SYNCHRONOUS CONTROLIt is possible to change the operating mode for two or more specified axesto either synchronous operation or normal operation by an input signalfrom the machine.For example, The following operating modes are app...

  • Page 387

    PROGRAMMINGB–61404E/0821. SIMPLE SYNCHRONOUS CONTROL366This mode is used for machining large workpieces that extend over twotables.While operating one axis with a move command, it is possible tosynchronously move the other axis. In the synchronous mode, the axisto which the move command applie...

  • Page 388

    B–61404E/0821. SIMPLE SYNCHRONOUS CONTROLPROGRAMMING367CAUTION1 When the automatic reference position return command (G28) and the 2nd/3rd/4th referenceposition return command (G30) are issued during synchronous operation, the V axis followsthe same movement as the Y axis returns to the referen...

  • Page 389

    PROGRAMMINGB–61404E/0822. ROTARY AXIS ROLL–OVER36822 ROTARY AXIS ROLL–OVERThe roll–over function prevents coordinates for the rotation axis fromoverflowing. The roll–over function is enabled by setting bit 1 ofparameter 398 to 1.For an incremental command, the tool moves the angle spec...

  • Page 390

    B–61404E/0823. ANGULAR AXIS CONTROL (0–GSC, 0–GSD/II)PROGRAMMING36923 ANGULAR AXIS CONTROL (0–GSC, 0–GSD/II)When the Y–axis makes an angle other than 90° with the Z–axis, theinclined axis control function controls the distance traveled along eachaxis according to the inclination an...

  • Page 391

    PROGRAMMINGB–61404E/0823. ANGULAR AXIS CONTROL (0–GSC, 0–GSD/II)370WARNING1 After inclined axis control parameter setting, be sure toperform manual reference point return operation.2 If a movement along the Z–axis occurs in Y–axis manualreference point return operation, be sure to perfo...

  • Page 392

    B–61404E/0824. ADVANCED PREVIEW CONTROLPROGRAMMING37124 ADVANCED PREVIEW CONTROLThis function is designed to enable high–speed, high–precisionmachining. This function can suppress the delay that is incurred byacceleration/deceleration and the servo system and which increases as ahigher fee...

  • Page 393

    PROGRAMMINGB–61404E/0824. ADVANCED PREVIEW CONTROL372NOTE1 In advanced preview control mode, the following cannot bespecified:S Control along the C–axis normalS Cylindrical interpolationS Polar coordinate specificationS F 1–digit feed/threading/synchronous feedS Index table indexingS Rigid ...

  • Page 394

    III. OPERATION

  • Page 395

    B–61404E/081. GENERALOPERATION3751 GENERAL

  • Page 396

    OPERATIONB–61404E/081. GENERAL376The CNC machine tool has a position used to determine the machineposition.This position is called the reference position, where the tool is replacedor the coordinate are set. Ordinarily, after the power is turned on, the toolis moved to the reference position.M...

  • Page 397

    B–61404E/081. GENERALOPERATION377Using machine operator’s panel switches, pushbuttons, or the manualhandle, the tool can be moved along each axis.ToolWorkpieceMachine operator’s panelManualpulse generatorFig. 1.1 (b) The tool movement by manual operationThe tool can be moved in the followi...

  • Page 398

    OPERATIONB–61404E/081. GENERAL378Automatic operation is to operate the machine according to the createdprogram. It includes memory, DNC, and MDI operations. (See Section III–4).ProgramTool01000;M_S_T;G92_X_;G00...;G01......;....Fig. 1.2 (a) Tool Movement by ProgrammingAfter the program is o...

  • Page 399

    B–61404E/081. GENERALOPERATION379After the program is entered, as an command group, from the MDIkeyboard, the machine can be run according to the program. Thisoperation is called MDI operation.MDI keyboardCNCManual program inputMachineFig. 1.2 (c) MDI operationD MDI operation

  • Page 400

    OPERATIONB–61404E/081. GENERAL380Select the program used for the workpiece. Ordinarily, one program isprepared for one workpiece. If two or more programs are in memory,select the program to be used, by searching the program number (SectionIII–9.3).G92O1001Program numberM30G92O1002G92M30Prog...

  • Page 401

    B–61404E/081. GENERALOPERATION381While automatic operation is being executed, tool movement can overlapautomatic operation by rotating the manual handle.ZXProgrammed depth of cutDepth of cut by handle interruptionTool position afterhandle interruptionTool position during automatic operationFig....

  • Page 402

    OPERATIONB–61404E/081. GENERAL382Before machining is started, the automatic running check can beexecuted. It checks whether the created program can operate the machineas desired. This check can be accomplished by running the machineactually or viewing the position display change (without runn...

  • Page 403

    B–61404E/081. GENERALOPERATION383When the cycle start pushbutton is pressed, the tool executes oneoperation then stops. By pressing the cycle start again, the tool executesthe next operation then stops. The program is checked in this manner.Cycle startCycle startCycle startCycle startStopStop...

  • Page 404

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

  • Page 405

    B–61404E/081. GENERALOPERATION385The operator can display or change a value stored in CNC internalmemory by key operation on the CRT/MDI screen (See III–11).Data settingCRT/MDIData displayScreen KeysCNC memoryFig. 1.6 (a) Displaying and setting dataTool compensationnumber1 12.325.0Tool c...

  • Page 406

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

  • Page 407

    B–61404E/081. GENERALOPERATION387The CNC functions have versatility in order to take action incharacteristics of various machines.For example, CNC can specify the following:⋅ Rapid traverse rate of each axis⋅ Whether increment system is based on metric system or inch system.⋅ How to set c...

  • Page 408

    OPERATIONB–61404E/081. GENERAL388The contents of the currently active program are displayed. In addition,the programs scheduled next and the program list are displayed.PROGRAMO1100 N0005N1 G90 G17 G00 G41 D07 X250.0 Y550.0 ;N2 G01 Y900.0 F150 ;N3 X450.0 ;N4 G03 X500.0 Y1150.0 R650.0 ;N5 G...

  • Page 409

    B–61404E/081. GENERALOPERATION389The current position of the tool is displayed with the coordinate values.The distance from the current position to the target position can also bedisplayed.YXxyWorkpiece coordinate systemACTUAL POSITION (ABSOLUTE)O0003 N0003[ ABS ][ REL ][ ALL ][ HNDL ][ ...

  • Page 410

    OPERATIONB–61404E/081. GENERAL390When an option is selected, two types of run time and number of parts aredisplayed on the screen.ACTUAL POSITION (ABSOLUTE)O0003 N0003 PART COUNT 1RUN TIME0H 0M CYCLE TIME0H 0M44SACT.F3000 MM/MS0 T01:35:22 BUF AUTO[ ABS ][ REL ][ ALL ][ H...

  • Page 411

    B–61404E/081. GENERALOPERATION391Programs, offset values, parameters, etc. input in CNC memory can beoutput to paper tape, cassette, or a floppy disk for saving. After onceoutput to a medium, the data can be input into CNC memory.MemoryProgramOffsetParametersReader/puncherinterfacePortable ta...

  • Page 412

    OPERATIONB–61404E/082. OPERATIONAL DEVICES3922 OPERATIONAL DEVICESThe peripheral devices available include the CRT/MDI panel attached tothe CNC, machine operator’s panel and external input/output devicessuch as tape reader, PPR, floppy cassette, and FA card.

  • Page 413

    B–61404E/082. OPERATIONAL DEVICESOPERATION393Figs. 2.1 (a) to 2.1 (e) show the CRT/MDI and LCD/MDI panels.9″ small monochrome or color CRT/MDI panel (with softkey)Fig.2.1(a). . . . . . . . . . . . . . . 9″ monochrome or color CRT/MDI panel (without softkey)Fig.2.1(b). . . . . . . . . . . . ...

  • Page 414

    OPERATIONB–61404E/082. OPERATIONAL DEVICES394Reset keyData input keyProgram edit keyInput keyFunction keyCursor move keyPage change keyStart/output keyFig. 2.1 (c) 9″ monochrome or color CRT/MDI panel (with full key)6–φ41302001905555130130400Fig. 2.1 (d) Thin type display/MDI panel

  • Page 415

    B–61404E/082. OPERATIONAL DEVICESOPERATION39510–φ4.85201681701683701781787777Fig. 2.1 (e) 14″ color CRT/MDI panel

  • Page 416

    OPERATIONB–61404E/082. OPERATIONAL DEVICES3968–φ44002001301301305551905Fig. 2.1 (f) 9″ small monochrome/or color CRT/MDI panel (with soft key)Table 2.1 Explanation of the MDI keyboardNumberNameExplanation1Power ON and OFF but-tonsO OFFI ONPress theses buttons to turn CNC power ON and OFF...

  • Page 417

    B–61404E/082. OPERATIONAL DEVICESOPERATION397Table 2.1 Explanation of the MDI keyboardNumberExplanationName8Cancel keyCANPress this key to delete the last character or symbol input to the key input buffer.9Program edit keysALTERINSRTDELETPress these keys when editing the program.: Alteration:...

  • Page 418

    OPERATIONB–61404E/082. OPERATIONAL DEVICES3981Press a function key on the CRT/MDI panel. The chapter selectionsoft keys that belong to the selected function appear.2Press one of the soft keys. The screen for the selected chapter appears.If the soft key for a target chapter is not displayed, p...

  • Page 419

    B–61404E/082. OPERATIONAL DEVICESOPERATION399Function keys are provided to select the type of screen to be displayed.The following function keys are provided on the CRT/MDI panel:Press this key to display the position screen.Press this key to display the program screen.Press this key to display...

  • Page 420

    OPERATIONB–61404E/082. OPERATIONAL DEVICES400When an address and a numerical key are pressed, the charactercorresponding to that key is input once into the key input buffer. Thecontents of the key input buffer is displayed at the bottom of the CRTscreen. The key input buffer begins with “A...

  • Page 421

    B–61404E/082. OPERATIONAL DEVICESOPERATION401Data of one word (address + numeric value) can be entered into the keyinput buffer at one time. The following data input keys are used to inputaddresses. Each time the key is pressed, the input address changes asshown below:4thBDB4thKJIIJKLPQPQLNO....

  • Page 422

    OPERATIONB–61404E/082. OPERATIONAL DEVICES402To input the lower character of the keys that have two characters inscribedon them, first press the SHIFTkey and then the key in question.When the SHIFT key is pressed, “<” indicating the next character inputposition changes to “Λ”. Now ...

  • Page 423

    B–61404E/082. OPERATIONAL DEVICESOPERATION403Five types of external input/output devices are available. This sectionoutlines each device. For details on these devices, refer to thecorresponding manuals listed below.Table 2.3 External I/O deviceDevice nameUsageMax.storagecapacitReferencemanua...

  • Page 424

    OPERATIONB–61404E/082. OPERATIONAL DEVICES404Before an external input/output device can be used, parameters must beset as follows.Series 0MEMORY CARDChannel 1Channel 2Channel 3M5M74RS–422RS–232–CRS–232–CM77RS–232–CReader/puncherHost computerHost computerReader/puncherI/O = 0orI/O ...

  • Page 425

    B–61404E/082. OPERATIONAL DEVICESOPERATION405The Handy File is an easy–to–use, multi function floppy diskinput/output device designed for FA equipment. By operating the HandyFile directly or remotely from a unit connected to the Handy File,programs can be transferred and edited.The Handy F...

  • Page 426

    OPERATIONB–61404E/082. OPERATIONAL DEVICES406An FA Card is a memory card used as an input medium in the FA field.It is compact, but has a large memory capacity with high reliability, andrequires no special maintenance.When an FA Card is connected to the CNC via the card adapter, NCmachining pro...

  • Page 427

    B–61404E/082. OPERATIONAL DEVICESOPERATION407The portable tape reader is used to input data from paper tape.+++RS–232–C Interface(Punch panel, etc.)2.3.5Portable Tape Reader

  • Page 428

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

  • Page 429

    B–61404E/082. OPERATIONAL DEVICESOPERATION409O466–22CNC control softwareSERVO : 9030–16SUB : xxxx–xxOMM : yyyy–yyPMC : zzzz–zzDigital servo ROMSub CPU (remote buffer)Order–made macro/macrocompilerPMC1Check that the LED indicating the cycle start is off on the operator’spanel.2Chec...

  • Page 430

    OPERATIONB–61404E/083. MANUAL OPERATION4103 MANUAL OPERATIONMANUAL OPERATION are five kinds as follows :3.1 Manual reference position return3.2 Jog feed3.3 Incremental feed3.4 Manual handle feed3.5 Manual absolute on and off

  • Page 431

    B–61404E/083. MANUAL OPERATIONOPERATION411The tool is returned to the reference position as follows :The tool is moved in the direction specified in parameter (bit 0 to #3 ofNo. 003) for each axis with the reference position return switch on themachine operator’s panel. The tool moves to the ...

  • Page 432

    OPERATIONB–61404E/083. MANUAL OPERATION412If the parameter for automatic coordinate system setting (bit 7 ofparameter 010) is specified, the coordinate system is determinedautomatically when a manual reference position return is made. If α, β,γ, and δare specified in parameters 708 to 711,...

  • Page 433

    B–61404E/083. MANUAL OPERATIONOPERATION413In the jog mode, pressing a feed axis and direction selection switch on themachine operator’s panel continuously moves the tool along the selectedaxis in the selected direction.The jog feedrate is specified in Table 3.2.Table 3.2 Jog FeedrateRotarysw...

  • Page 434

    OPERATIONB–61404E/083. MANUAL OPERATION414Procedure for Jog Feed1Press the jog switch, one of the mode selection switches.2Press the feed axis and direction selection switch corresponding to theaxis and direction the tool is to be moved. While the switch is pressed,the tool moves at the feedra...

  • Page 435

    B–61404E/083. MANUAL OPERATIONOPERATION415In the incremental (STEP) mode, pressing a feed axis and directionselection switch on the machine operator’s panel moves the tool one stepalong the selected axis in the selected direction. The minimum distancethe tool is moved is the least input incr...

  • Page 436

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

  • Page 437

    B–61404E/083. MANUAL OPERATIONOPERATION417Parameter (bit 0 of No. 013) enables or disables the manual handle feedin the JOG mode.When the parameter (bit 0 of No. 013) is set 1,both manual handle feedand incremental feed are enabled.Parameter (bit 6 of No. 002) enables or disables the manual han...

  • Page 438

    OPERATIONB–61404E/083. MANUAL OPERATION418Whether the distance the tool is moved by manual operation is added tothe coordinates can be selected by turning the manual absolute switch onor off on the machine operator’s panel. When the switch is turned on, thedistance the tool is moved by manua...

  • Page 439

    B–61404E/083. MANUAL OPERATIONOPERATION419The following describes the relation between manual operation andcoordinates when the manual absolute switch is turned on or off, using aprogram example.G01G90X200.0Y150.0X100.0Y100.0F010X300.0Y200.0;;;The subsequent figures use the following notation:M...

  • Page 440

    OPERATIONB–61404E/083. MANUAL OPERATION420Coordinates when the feed hold button is pressed while block is beingexecuted, manual operation (Y–axis +75.0) is performed, the control unitis reset with the RESET button, and block is read again(300.0 , 275.0)(200.0,150.0)(300.0 , 200.0)(150.0 , 2...

  • Page 441

    B–61404E/083. MANUAL OPERATIONOPERATION421When the switch is ON during cutter compensationOperation of the machine upon return to automatic operation after manualintervention with the switch is ON during execution with an absolutecommand program in the cutter compensation mode will be described...

  • Page 442

    OPERATIONB–61404E/083. MANUAL OPERATION422Manual operation during corneringThis is an example when manual operation is performed during cornering.VA2’, VB1’, and VB2’ are vectors moved in parallel with VA2, VB1 and VB2by the amount of manual movement. The new vectors are calculatedfrom...

  • Page 443

    B–61404E/084. AUTOMATIC OPERATIONOPERATION4234 AUTOMATIC OPERATIONProgrammed operation of a CNC machine tool is referred to as automaticoperation.This chapter explains the following types of automatic operation:D MEMORY OPERATIONOperation by executing a program registered in CNC memoryD MDI OPE...

  • Page 444

    OPERATIONB–61404E/084. AUTOMATIC OPERATION424Programs are registered in memory in advance. When one of theseprograms is selected and the cycle start switch on the machine operator’spanel is pressed, automatic operation starts, and the cycle start lamp goeson.When the feed hold switch on the ...

  • Page 445

    B–61404E/084. AUTOMATIC OPERATIONOPERATION425After memory operation is started, the following are executed: A one–block command is read from the specified program. The block command is decoded. The command execution is started. The command in the next block is read. Buffering is executed. Th...

  • Page 446

    OPERATIONB–61404E/084. AUTOMATIC OPERATION426In the MDI mode, a program can be inputted in the same format as normalprograms and executed from the MDI panel.MDI operation is used for simple test operations.The following procedure is given as an example. For actual operation,refer to the manual...

  • Page 447

    B–61404E/084. AUTOMATIC OPERATIONOPERATION427PROGRAM O9501 N9501 (MDI) (MODAL) X 10.500 G67 G00 F Y 200.500 G54 G17 R G64 G90 P G69 G22 Q G15 G94 H G25 G21 M G40 S G49 T G80 B G98 G50...

  • Page 448

    OPERATIONB–61404E/084. AUTOMATIC OPERATION428Procedure for MDI Operation – B1Press the MDI mode selection switch.2Press the PRGRM function key on the CRT/MDI panel to select theprogram screen. The following screen appears:PROGRAM ( MDI )O0000%G00G90G94G40G80G50G54G69G17G22G21G49G98G67G64F ...

  • Page 449

    B–61404E/084. AUTOMATIC OPERATIONOPERATION4295To execute a program, set the cursor on the head of the program. (Startfrom an intermediate point is possible.) Push Cycle Start button on theoperator’s panel. By this action, the prepared program will start. Whenthe program end (M02, M30) o...

  • Page 450

    OPERATIONB–61404E/084. AUTOMATIC OPERATION430The setting (absolute) determines whether commands are absolute orincremental. If bit 5 of parameter 029 is set to 1, G90/G91 in the programis enabled. To call a subprogram or macro program during MDIoperation, set bit 5 of parameter 029 to 1.Progr...

  • Page 451

    B–61404E/084. AUTOMATIC OPERATIONOPERATION431In DNC operation, the machine is not operated by a program registeredin memory of the CNC, instead being operated by a program read directlyfrom a connected input/output unit. This mode is used when the programis too large to be registered in the me...

  • Page 452

    OPERATIONB–61404E/084. AUTOMATIC OPERATION432This function specifies Sequence No. of a block to be restarted when a toolis broken down or when it is desired to restart machining operation aftera day off, and restarts the machining operation from that block. It can alsobe used as a high–spee...

  • Page 453

    B–61404E/084. AUTOMATIC OPERATIONOPERATION433Procedure for Program restart1Retract the tool and replace it with a new one. When necessary,change the offset. (Go to step 2.)1When power is turned ON or emergency stop is released, perform allnecessary operations at that time, including the refer...

  • Page 454

    OPERATIONB–61404E/084. AUTOMATIC OPERATION4345Once the search to resume the program has been completed, the CRTscreen displays the program resume screen.PROGRAM RESTART O0100 N0123 (DESTINATION) M010 015 050 *** *** X 300.000 *** *** *** *** *** Y 300.000 *** ***...

  • Page 455

    B–61404E/084. AUTOMATIC OPERATIONOPERATION435Under any of the following conditions, P–type restart cannot beperformed:⋅ When automatic operation has not been performed since the powerwas turned on⋅ When automatic operation has not been performed since anemergency stop was released⋅ When...

  • Page 456

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

  • Page 457

    B–61404E/084. AUTOMATIC OPERATIONOPERATION437Procedure for Scheduling Function1Press the AUTO switch on the machine operator’s panel, then pressthe PRGRM function key on the MDI panel.2Press the rightmost soft key (continuous menu key), then press the[FL. SDL] soft key. A list of files regis...

  • Page 458

    OPERATIONB–61404E/084. AUTOMATIC OPERATION4384Press theDNC operation switch on the machine operator’s panel, thenpress the cycle start switch. The selected file is executed. For details onthe DNC operation switch, refer to the manual supplied by the machinetool builder. The selected file n...

  • Page 459

    B–61404E/084. AUTOMATIC OPERATIONOPERATION4395Press the DNC operation switch on the machine operator’s panel, andthen press the start switch. The files are executed in the specifiedorder. When a file is being executed, the cursor is positioned at thenumber of that file.The current number of ...

  • Page 460

    OPERATIONB–61404E/084. AUTOMATIC OPERATION440Up to 9999 can be specified as the number of repetitions. If 0 is set for afile, the file becomes invalid and is not executed.By pressing the page key on screen No. 4, up to 20 files can be registered.When M codes other than M02 and M30 are executed ...

  • Page 461

    B–61404E/084. AUTOMATIC OPERATIONOPERATION441The subprogram call function is provided to call and execute subprogramfiles stored in an external input/output device(Handy File, FLOPPYCASSETTE, FA Card)during memory operation.When the following block in a program in CNC memory is executed, asubpr...

  • Page 462

    OPERATIONB–61404E/084. AUTOMATIC OPERATION442NOTE1 When M198 in the program of the file saved in a floppycassette is executed, a P/S alarm (No.210) is given. Whena program in the memory of CNC is called and M198 isexecuted during execution of a program of the file saved ina floppy cassette, M1...

  • Page 463

    B–61404E/084. AUTOMATIC OPERATIONOPERATION443The movement by manual handle operation can be done by overlappingit with the movement by automatic operation in the automatic operationmode.ZXProgrammed depth of cutDepth of cut by handle interruptionTool position afterhandle interruptionTool positi...

  • Page 464

    OPERATIONB–61404E/084. AUTOMATIC OPERATION444The following table indicates the relation between other functions and themovement by handle interrupt.SignalRelationMachine lockMachine lock is effective. The tool does not move even whenthis signal turns on.InterlockInterlock is effective. The ...

  • Page 465

    B–61404E/084. AUTOMATIC OPERATIONOPERATION445(b) OUTPUT UNIT : Handle interrupt move amount in output unitsystem Indicates the travel distance specified byhandle interruption according to the leastcommand increment.(c) RELATIVE : Position in relative coordinate systemThese values have no effec...

  • Page 466

    OPERATIONB–61404E/084. AUTOMATIC OPERATION446During automatic operation, the mirror image function can be used formovement along an axis. To use this function, set the mirror image switchto ON on the machine operator’s panel, or set the mirror image setting toON from the CRT/MDI panel.YXY–a...

  • Page 467

    B–61404E/084. AUTOMATIC OPERATIONOPERATION4472–3 Press the page key for chapter selection to display the settingscreen.PARAMETER O0100 N0002 (SETTING 1) _REVX= 0 REVY= 0 TVON= 0 ISO= 1 (0:EIA1:ISO ) INCH= 0 (0:MM1:INCH) I/O= 0 ABS= 0 (0:INC1:ABS) SEQ=...

  • Page 468

    OPERATIONB–61404E/084. AUTOMATIC OPERATION448Sequence number search operation is usually used to search for asequence number in the middle of a program so that execution can bestarted or restarted at the block of the sequence number.Example)Sequence number 2346 in a program (O0002) is searched ...

  • Page 469

    B–61404E/084. AUTOMATIC OPERATIONOPERATION449Those blocks that are skipped do not affect the CNC. This means that thedata in the skipped blocks such as coordinates and M, S, and T codes doesnot alter the CNC coordinates and modal values.So, in the first block where execution is to be started o...

  • Page 470

    OPERATIONB–61404E/085. TEST OPERATION4505 TEST OPERATIONThe following functions are used to check before actual machiningwhether the machine operates as specified by the created program.1. Machine Lock and Auxiliary Function Lock2. Feedrate Override3. Rapid Traverse Override4. Dry Run5. Single ...

  • Page 471

    B–61404E/085. TEST OPERATIONOPERATION451To display the change in the position without moving the tool, usemachine lock.There are two types of machine lock: all–axis machine lock, which stopsthe movement along all axes, and Z–axis machine lock, which stops themovement along Z–axis only. ...

  • Page 472

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

  • Page 473

    B–61404E/085. TEST OPERATIONOPERATION453An override of four steps (F0, 25%, 50%, and 100%) can be applied to therapid traverse rate. F0 is set by a parameter (No. 533).ÇÇÇÇÇÇÇÇÇÇÇÇRapid traverserate10m/minOverride50%5m/minFig. 5.3 Rapid traverse overrideRapid Traverse OverrideSele...

  • Page 474

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

  • Page 475

    B–61404E/085. TEST OPERATIONOPERATION455Pressing the single block switch starts the single block mode. When thecycle start button is pressed in the single block mode, the tool stops aftera single block in the program is executed. Check the program in the singleblock mode by executing the prog...

  • Page 476

    OPERATIONB–61404E/085. TEST OPERATION456If G28 to G30 are issued, the single block function is effective at theintermediate point.In a canned cycle, the single block stop points are the end of , , and shown below. When the single block stop is made after the point or , the feed hold LED lights...

  • Page 477

    B–61404E/086. SAFETY FUNCTIONSOPERATION4576 SAFETY FUNCTIONSTo immediately stop the machine for safety, press the Emergency stopbutton. To prevent the tool from exceeding the stroke ends, Overtravelcheck and Stroke check are available. This chapter describes emergencystop., overtravel check, ...

  • Page 478

    OPERATIONB–61404E/086. SAFETY FUNCTIONS458If you press Emergency Stop button on the machine operator’s panel, themachine movement stops in a moment.EMERGENCY STOPRedFig. 6.1 Emergency stopThis button is locked when it is pressed. Although it varies with themachine tool builder, the button c...

  • Page 479

    B–61404E/086. SAFETY FUNCTIONSOPERATION459When the tool tries to move beyond the stroke end set by the machine toollimit switch, the tool decelerates and stops because of working the limitswitch and an OVER TRAVEL is displayed.YXDeceleration and stopStroke endLimit switchFig. 6.2 OvertravelWhe...

  • Page 480

    OPERATIONB–61404E/086. SAFETY FUNCTIONS460Two areas which the tool cannot enter can be specified with stored strokelimit 1, 2 and stored stroke limit 3.ÇÇÇÇÇÇÇÇÇÇÇÇÇÇÇÇÇÇÇÇÇÇÇÇÇÇÇÇÇÇÇÇÇÇÇÇÇÇÇÇÇÇÇÇÇÇÇÇÇÇÇÇÇÇÇÇÇÇÇÇÇÇÇÇÇÇÇÇÇÇÇ...

  • Page 481

    B–61404E/086. SAFETY FUNCTIONSOPERATION461(I,J,K)ÇÇÇÇÇÇÇÇÇÇÇÇÇÇÇÇÇÇÇÇÇÇÇÇÇÇÇÇÇÇÇÇ(X,Y,Z)ÇÇÇÇÇÇÇÇÇÇÇÇÇÇÇÇX>I, Y>J, Z>KX–I > δY–J > δZ–K > δG 22X_Y_Z_I_J_K_;δmm=7500Fmm / minFig. 6.3 (b) Creating or changing the forbidde...

  • Page 482

    OPERATIONB–61404E/086. SAFETY FUNCTIONS462Confirm the checking position (the top of the tool or the tool chuck) beforeprogramming the forbidden area.If point A (The top of the tool) is checked in Fig. 6.3 (d) , the distance “a”should be set as the data for the stored stroke limit function. ...

  • Page 483

    B–61404E/086. SAFETY FUNCTIONSOPERATION463Bit 3 of parameter 065 is used to select whether each stroke limit isenabled, either immediately after power–on or later, after a manualreference position return or reference position return by G28.After the power is turned on, if the reference positi...

  • Page 484

    OPERATIONB–61404E/087. ALARM AND SELF–DIAGNOSISFUNCTIONS4647 ALARM AND SELF-DIAGNOSIS FUNCTIONSWhen an alarm occurs, the corresponding alarm screen appears to indicatethe cause of the alarm. The causes of alarms are classified by error codes.The system may sometimes seem to be at a halt, alt...

  • Page 485

    B–61404E/087. ALARM AND SELF–DIAGNOSISFUNCTIONSOPERATION465When an alarm occurs, the alarm screen appears.ALARM MESSAGE O0000 N0000 100 P/S ALARM 417 SERVO ALARM : X AXIS DGTL PARAM 427 SERVO ALARM : Y AXIS DGTL PARAM S 0 TNOT READY ALARM MDI [ ALARM ][ ...

  • Page 486

    OPERATIONB–61404E/087. ALARM AND SELF–DIAGNOSISFUNCTIONS466Error codes and messages indicate the cause of an alarm. To recover froman alarm, eliminate the cause and press the reset key.The error codes are classified as follows:No. 000 to 250: Program errors(*1)No. 3n0 to 3n8: Absolute pulse ...

  • Page 487

    B–61404E/087. ALARM AND SELF–DIAGNOSISFUNCTIONSOPERATION467The system may sometimes seem to be at a halt, although no alarm hasoccurred. In this case, the system may be performing some processing.The state of the system can be checked by displaying the self–diagnosticscreen.Procedure for D...

  • Page 488

    OPERATIONB–61404E/087. ALARM AND SELF–DIAGNOSISFUNCTIONS468#70701#6#5CRST#4#3#2#1#0CRST One of the following : The reset button on the MDI panel, emergency stop,or remote reset is on.#7STP0712#6REST#5EMS#4#3RSTB#2#1#0CSUIndicates automatic operation stop or feed hold status. These are used f...

  • Page 489

    B–61404E/088. DATA INPUT/OUTPUTOPERATION4698 DATA INPUT/OUTPUTNC data is transferred between the NC and external input/output devicessuch as the Handy File. The following types of data can be entered and output : 1.Program 2.Offset data 3.Parameter 4.Pitch error compensation data 5.Custom macr...

  • Page 490

    OPERATIONB–61404E/088. DATA INPUT/OUTPUT470Of the external input/output devices, the FANUC Handy File and FANUCFloppy Cassette use floppy disks as their input/output medium, and theFANUC FA Card uses an FA card as its input/output medium.In this manual, an input/output medium is generally refer...

  • Page 491

    B–61404E/088. DATA INPUT/OUTPUTOPERATION471The floppy is provided with the write protect switch. Set the switch to thewrite enable state. Then, start output operation.Write protect switch(2) Write–enabled (Reading, writ-ing, and deletion are possible.)Write protect switch of a cassetteWrite ...

  • Page 492

    OPERATIONB–61404E/088. DATA INPUT/OUTPUT472When the program is input from the floppy, the file to be input first mustbe searched.For this purpose, proceed as follows:File 1File searching of the file nFile nBlankFile 2File 3Procedure for File heading1Press the EDIT or AUTO switch on the machine ...

  • Page 493

    B–61404E/088. DATA INPUT/OUTPUTOPERATION473Files stored on a floppy can be deleted file by file as required.Procedure for File Deletion1Insert the floppy into the input/output device so that it is ready forwriting.2Press the EDIT switch on the machine operator’s panel.3Press function PRGRMkey...

  • Page 494

    OPERATIONB–61404E/088. DATA INPUT/OUTPUT474This section describes how to load a program into the CNC from a floppyor NC tape.Procedure for Inputting a Program1Make sure the input device is ready for reading.2Press the EDIT switch on the machine operator’s panel.3When using a floppy, search fo...

  • Page 495

    B–61404E/088. DATA INPUT/OUTPUTOPERATION475j When a program is entered without specifying a program number.⋅ The O–number of the program on the NC tape is assigned to theprogram. If the program has no O–number, the N–number in the firstblock is assigned to the program.⋅ When the prog...

  • Page 496

    OPERATIONB–61404E/088. DATA INPUT/OUTPUT476A program stored in the memory of the CNC unit is output to a floppy orNC tape.Procedure for Outputting a Program1Make sure the output device is ready for output.2To output to an NC tape, specify the punch code system (ISO or EIA)using a parameter. To...

  • Page 497

    B–61404E/088. DATA INPUT/OUTPUTOPERATION477The soft keys can be used to input a program.This operation is enabled if the floppy disk directory display function isnot supported or, if the function is supported, the Floppy Cassette is notspecified as the input/output unit.Procedure for program ou...

  • Page 498

    OPERATIONB–61404E/088. DATA INPUT/OUTPUT478A program is output to paper tape in the following format:ER(%)ProgramER(%)Feed of 3 feetFeed of 3 feetIf three–feet feeding is too long, press the CAN key during feed punchingto cancel the subsequent feed punching.A space code for TV check is automa...

  • Page 499

    B–61404E/088. DATA INPUT/OUTPUTOPERATION479Offset data is loaded into the memory of the CNC from a floppy or NCtape. The input format is the same as for offset value output. See section8.5.2.When an offset value is loaded which has the same offset number as anoffset number already registered in...

  • Page 500

    OPERATIONB–61404E/088. DATA INPUT/OUTPUT480All offset data is output in a output format from the memory of the CNCto a floppy or NC tape.Procedure for Outputting Offset Data1Make sure the output device is ready for output.2Specify the punch code system (ISO or EIA) using a parameter.3Press the ...

  • Page 501

    B–61404E/088. DATA INPUT/OUTPUTOPERATION481Parameters and pitch error compensation data are input and output fromdifferent screens, respectively. This chapter describes how to enter them.Parameters are loaded into the memory of the CNC unit from a floppy orNC tape. The input format is the same...

  • Page 502

    OPERATIONB–61404E/088. DATA INPUT/OUTPUT482All parameters are output in the defined format from the memory of theCNC to a floppy or NC tape.Outputting parameters1Make sure the output device is ready for output.2Specify the punch code system (ISO or EIA) using a parameter.3Press the EDIT switch ...

  • Page 503

    B–61404E/088. DATA INPUT/OUTPUTOPERATION483The value of a custom macro B common variable (#500 to #999) is loadedinto the memory of the CNC from a floppy or NC tape. The same formatused to output custom macro B common variables is used for input. SeeSection 8.7.2. For a custom macro common v...

  • Page 504

    OPERATIONB–61404E/088. DATA INPUT/OUTPUT484Custom macro common variables (#500 to #999) stored in the memoryof the CNC can be output in the defined format to a floppy or NC tape.Outputting custom macro common variable1Make sure the output device is ready for output.2Specify the punch code syste...

  • Page 505

    B–61404E/088. DATA INPUT/OUTPUTOPERATION485On the floppy directory display screen, a directory of the FANUC HandyFile, FANUC Floppy Cassette, or FANUC FA Card files can be displayed.In addition, those files can be loaded, output, and deleted.O0001 N00000 (METER) VOLDIRECTORY (FLOPPY) NO. ...

  • Page 506

    OPERATIONB–61404E/088. DATA INPUT/OUTPUT486Displaying the directory of floppy disk filesUse the following procedure to display a directory of all thefiles stored in a floppy:1Press the EDIT switch on the machine operator’s panel.2Press function PRGRMkey .3Press soft key [FLOPPY].4Press page k...

  • Page 507

    B–61404E/088. DATA INPUT/OUTPUTOPERATION487Use the following procedure to display a directory of filesstarting with a specified file number :1Press the EDIT switch on the machine operator’s panel.2Press function PRGRMkey.3Press soft key [FLOPPY].4Press soft key [F SRH].5Enter a file number, a...

  • Page 508

    OPERATIONB–61404E/088. DATA INPUT/OUTPUT488The contents of the specified file number are read to the memory of NC.Reading files1Press the EDIT switch on the machine operator’s panel.2Press function PRGRMkey.3Press soft key [FLOPPY].4Press soft key [READ].19:38:35READ_FILE NO. =PROGRAM NO. =NU...

  • Page 509

    B–61404E/088. DATA INPUT/OUTPUTOPERATION489Any program in the memory of the CNC unit can be output to a floppyas a file.Outputting programs1Press the EDIT switch on the machine operator’s panel.2Press function PRGRMkey.3Press soft key [FLOPPY].4Press soft key [PUNCH].19:39:17PUNCH_FILE NO. =_...

  • Page 510

    OPERATIONB–61404E/088. DATA INPUT/OUTPUT490The file with the specified file number is deleted.Deleting files1Press the EDIT switch on the machine operator’s panel.2Press function key PRGRM.3Press soft key [FLOPPY].4Press soft key [DELETE].19:39:56DELETE_FILE NO. =NUM.S0 TO0555 N0000(METER) V...

  • Page 511

    B–61404E/088. DATA INPUT/OUTPUTOPERATION491For the numeral input in the data input area with FILE NO. andPROGRAM NO., only lower 4 digits become valid.When the data protection key on the machine operator’s panel is ON, noprograms are read from the floppy. They are verified against the conten...

  • Page 512

    OPERATIONB–61404E/088. DATA INPUT/OUTPUT492Change the name of the file having the specified file number.Procedure for changing the file name1Press the EDIT switch on the machine operator’s panel.2Press function key PRGRM.3Press soft key [FLOPPY].4Press soft key [RENAME].5Position the cursor t...

  • Page 513

    B–61404E/089. EDITING PROGRAMSOPERATION4939 EDITING PROGRAMSThis chapter describes how to edit programs registered in the CNC.Editing includes the insertion, modification, deletion, and replacement ofwords. Editing also includes deletion of the entire program and automaticinsertion of sequence...

  • Page 514

    OPERATIONB–61404E/089. EDITING PROGRAMS494This section outlines the procedure for inserting, modifying, and deletinga word in a program registered in memory.Procedure for inserting, altering and deleting a word1Select EDIT mode.2Press function PRGRMkey and display the program screen.3Select a p...

  • Page 515

    B–61404E/089. EDITING PROGRAMSOPERATION495To enable editing B, note the following:@ The INPUT key is used to identify a breakpoint between words. A program cannot be input or output while a program is displayed.Input or output a program on the program directory screen.@ Input a program number ...

  • Page 516

    OPERATIONB–61404E/089. EDITING PROGRAMS496A word can be searched for by merely moving the cursor through the text(scanning), by word search, or by address search.Procedure for scanning a program1Press the cursor key The cursor moves forward word by word on the screen; the cursor isdisplayed at ...

  • Page 517

    B–61404E/089. EDITING PROGRAMSOPERATION497Procedure for searching a wordExample) of Searching for S12PROGRAMO0050 N1234O0050 ;N1234 X100.0 Z1250.0 ;S12 ;N5678 M03 ;M02 ;%N1234 is beingsearched for/scanned currently.S12 is searched for.1Key in addressS .2Key in 12 .⋅ S12 cannot be sea...

  • Page 518

    OPERATIONB–61404E/089. EDITING PROGRAMS498Alarm numberDescription71The word or address being searched for was not found.The cursor can be jumped to the top of a program. This function is calledheading the program pointer. This section describes the two methods forheading the program pointer....

  • Page 519

    B–61404E/089. EDITING PROGRAMSOPERATION499Procedure for inserting a word1Search for or scan the word immediately before a word to be inserted.2Key in an address to be inserted.3Key in data.4Press the INSRT key.Example of Inserting T151Search for or scan Z1250.0.ProgramO0050 N1234O0050 ;N1234 ...

  • Page 520

    OPERATIONB–61404E/089. EDITING PROGRAMS500Procedure for altering a word1Search for or scan a word to be altered.2Key in an address to be inserted.3Key in data.4Press the ALTER key.Example of changing T15 to M151Search for or scan T15.ProgramO0050 N1234O0050 ;N1234 X100.0 Z1250.0 T15S12 ;N...

  • Page 521

    B–61404E/089. EDITING PROGRAMSOPERATION501Procedure for deleting a word1Search for or scan a word to be deleted.2Press the DELET key.Example of deleting X100.01Search for or scan X100.0.ProgramO0050 N1234O0050 ;N1234 X100.0S12 ;N5678 M03 ;M02 ;%X100.0 issearched for/scanned.Z1250.0 M15 ...

  • Page 522

    OPERATIONB–61404E/089. EDITING PROGRAMS502A block or blocks can be deleted in a program.The procedure below deletes a block up to its EOB code; the cursoradvances to the address of the next word.Procedure for deleting a block1Search for or scan address N for a block to be deleted.2Key in EOB.3P...

  • Page 523

    B–61404E/089. EDITING PROGRAMSOPERATION503The blocks from the currently displayed word to the block with a specifiedsequence number can be deleted.Procedure for deleting multiple blocks1Search for or scan a word in the first block of a portion to be deleted.2Key in address N .3Key in the sequen...

  • Page 524

    OPERATIONB–61404E/089. EDITING PROGRAMS504When memory holds multiple programs, a program can be searched for.There are two methods as follows.Procedure for program number search1Select EDIT or AUTO mode.2Press PRGRMkey to display the program screen.3Key in addressO .4Key in a program number to ...

  • Page 525

    B–61404E/089. EDITING PROGRAMSOPERATION505Programs registered in memory can be deleted, either one program by oneprogram or all at once. Also, More than one program can be deleted byspecifying a range.A program registered in memory can be deleted.Procedure for deleting one program1Select the E...

  • Page 526

    OPERATIONB–61404E/089. EDITING PROGRAMS506Programs within a specified range in memory are deleted.Procedure for deleting more than one program by specifying a range1Select the EDIT mode.2Press PRGRMkey to display the program screen.3Enter the range of program numbers to be deleted with address ...

  • Page 527

    B–61404E/089. EDITING PROGRAMSOPERATION507With the extended part program editing function, the operations describedbelow can be performed using soft keys for programs that have beenregistered in memory.Following editing operations are available :D All or part of a program can be copied or moved...

  • Page 528

    OPERATIONB–61404E/089. EDITING PROGRAMS508A new program can be created by copying a program.AOxxxxAOxxxxAfter copyAOyyyyCopyBefore copyFig. 9.5.1 Copying an entire programIn Fig. 9.5.1, the program with program number xxxx is copied to a newlycreated program with program number yyyy. The progr...

  • Page 529

    B–61404E/089. EDITING PROGRAMSOPERATION509A new program can be created by copying part of a program.BOxxxxOxxxxAfter copyBOyyyyCopyBefore copyACBACFig. 9.5.2 Copying part of a programIn Fig. 9.5.2, part B of the program with program number xxxx is copiedto a newly created program with program ...

  • Page 530

    OPERATIONB–61404E/089. EDITING PROGRAMS510A new program can be created by moving part of a program.BOxxxxOxxxxAfter copyBOyyyyCopyBefore copyACACFig. 9.5.3 Moving part of a programIn Fig. 9.5.3, part B of the program with program number xxxx is movedto a newly created program with program numb...

  • Page 531

    B–61404E/089. EDITING PROGRAMSOPERATION511Another program can be inserted at an arbitrary position in the currentprogram.OxxxxBefore mergeBOyyyyMergeAOxxxxAfter mergeBOyyyyBACCMergelocationFig. 9.5.4 Merging a program at a specified locationIn Fig. 9.5.4, the program with program number XXXX i...

  • Page 532

    OPERATIONB–61404E/089. EDITING PROGRAMS512The setting of an editing range start point with [CRSRX] can be changedfreely until an editing range end point is set with [XCRSR] or [XBTTM].If an editing range start point is set after an editing range end point, theend point must be reset.The setting...

  • Page 533

    B–61404E/089. EDITING PROGRAMSOPERATION513Replace one or more specified words.Replacement can be applied to all occurrences or just one occurrence ofspecified words or addresses in the program.Procedure for hange of words or addresses1Perform steps 1 to 4 in subsection 9.5.1.2Press soft key [CH...

  • Page 534

    OPERATIONB–61404E/089. EDITING PROGRAMS514[CHANGE]X100 [BEFORE] Y200[AFTER][EXEC][CHANGE]X100Y200[BEFORE]X30 [AFTER][EXEC][CHANGE]IF [BEFORE] WHILE[AFTER] [EXEC][CHANGE]X [BEFOR] ,C10 [AFTER][EXEC]The following custom macro B words are replaceable:IF, WHILE, GOTO, END, DO, BPRNT, DPRINT, POPEN,...

  • Page 535

    B–61404E/089. EDITING PROGRAMSOPERATION515Unlike ordinary programs, custom macro B programs are modified,inserted, or deleted based on editing units.Custom macro words can be entered in abbreviated form.Comments can be entered in a program.Refer to the section 10.1 for the comments of a program...

  • Page 536

    OPERATIONB–61404E/089. EDITING PROGRAMS516Editing a program while executing another program is called backgroundediting. The method of editing is the same as for ordinary editing(foreground editing).During background editing, all programs cannot be deleted at once.Procedure for background editi...

  • Page 537

    B–61404E/089. EDITING PROGRAMSOPERATION517NOTE1 If the available part program storage is 80 m or less, freespace in memory is used for background editing. A programto be subjected to background editing is copied into the freearea in memory, then the original program is deleted.Subsequently, ed...

  • Page 538

    OPERATIONB–61404E/089. EDITING PROGRAMS518If the available part program storage is 120 m or more, or if thebackground editing function is supported, repeated program editing willcreate many small, unused areas in memory. Reorganizing memoryarranges these unused areas into a single, contiguous ...

  • Page 539

    B–61404E/0810. CREATING PROGRAMSOPERATION51910 CREATING PROGRAMSPrograms can be created using any of the following methods:⋅ MDI keyboard⋅ PROGRAMMING IN TEACH IN MODE⋅ CONVERSATIONAL PROGRAMMING INPUT WITH GRAPHICFUNCTION⋅ MENU PROGRAMMING FUNCTION⋅ CONVERSATIONAL AUTOMATIC PROGRAMMI...

  • Page 540

    OPERATIONB–61404E/0810. CREATING PROGRAMS520Programs can be created in the EDIT mode using the program editingfunctions described in Chapter 9.Procedure for Creating Programs Using the MDI Panel1Enter the EDIT mode.2Press the PRGRMkey.3Press address key O and enter the program number.4Press the...

  • Page 541

    B–61404E/0810. CREATING PROGRAMSOPERATION521Sequence numbers can be automatically inserted in each block when aprogram is created using the MDI keys in the EDIT mode.Set the increment for sequence numbers in parameter 550.Procedure for automatic insertion of sequence numbers1Set 1 for SEQUENCE ...

  • Page 542

    OPERATIONB–61404E/0810. CREATING PROGRAMS5229Press INSRTkey. The EOB is registered in memory and sequencenumbers are automatically inserted. For example, if the initial valueof N is 10 and the parameter for the increment is set to 2, N12 insertedand displayed below the line where a new block ...

  • Page 543

    B–61404E/0810. CREATING PROGRAMSOPERATION523When the playback option is selected, the TEACH IN JOG mode andTEACH IN HANDLE mode are added. In these modes, a machine positionalong the X, Y, and Z axes obtained by manual operation is stored inmemory as a program position to create a program.The ...

  • Page 544

    OPERATIONB–61404E/0810. CREATING PROGRAMS524Procedure example for creating the program in TEACH IN MODEO1234 ;N1 G92 X10000 Y0 Z10000 ;N2 G00 G90 X3025 Y23723 ;N3 G01 Z–325 F300 ;N4 M02 ;XZYP0(10.000, 0, 10.000)P1P2(3.025, 23.723, 10.000)(3.025, 23.723, –0.325)1Set the setting data SEQUENCE...

  • Page 545

    B–61404E/0810. CREATING PROGRAMSOPERATION5259Position the tool at P2 with the manual pulse generator.10Enter the P2 machine position for data of the third block as follows: G01INSRTZINSRTF300 INSRTEOBINSRTThis operation registers G01Z –325 F300; in memory. The automatic sequence number inser...

  • Page 546

    OPERATIONB–61404E/0810. CREATING PROGRAMS526When a program is created in EDIT mode, the G code menu is displayedon the screen.Procedure for Menu Programming1Select EDIT mode then press the PRGRM function key. The programscreen is displayed.2Press the address key G . The G code menu is display...

  • Page 547

    B–61404E/0810. CREATING PROGRAMSOPERATION5274When a G code selected from the menu is input, The standard formatof the one block corresponding to the G code is indicated. For example, when selecting G01, key in 0 and 1, and then pressINSRT key. G01 is inserted to the memory as shown below, and...

  • Page 548

    OPERATIONB–61404E/0810. CREATING PROGRAMS528Programs can be created block after block on the conversational screenwhile displaying the G code menu.Blocks in a program can be modified, inserted, or deleted using the G codemenu and conversational screen.Procedure for Conversational Programming wi...

  • Page 549

    B–61404E/0810. CREATING PROGRAMSOPERATION5294Press the [C.A.P] soft key. The following G code menu is displayedon the screen.If soft keys different from those shown in step 2 are displayed, pressthe menu return key to display the correct soft keys.PROGRAMO0010 N0000G00 : POSITIONINGG01 : LINEA...

  • Page 550

    OPERATIONB–61404E/0810. CREATING PROGRAMS530When no keys are pressed, the standard details screen is displayed.O0010 N0000PROGRAMGGGGXYZHFRMSTBIJKPQL:EDIT01:28:46[ G.MENU ][ ][ ][ ][ ]7Move the cursor to the block to be modified on the program screen.8Enter numeric data by...

  • Page 551

    B–61404E/0810. CREATING PROGRAMSOPERATION531Procedure for conversational programming with graphic function A Modifying a block "1Move the cursor to the block to be modified on the program screenand press the [C.A.P] soft key. Or, press the [C.A.P] soft key first todisplay the conversation...

  • Page 552

    OPERATIONB–61404E/0811. SETTING AND DISPLAYING DATA53211 SETTING AND DISPLAYING DATATo operate a CNC machine tool, various data must be set on the CRT/MDIpanel. The operator can monitor the state of operation with data displayedduring operation.This chapter describes how to display and set dat...

  • Page 553

    B–61404E/0811. SETTING AND DISPLAYING DATAOPERATION533POSScreen transition triggered by the function key POSPOSITION DISPLAY SCREENCurrent position screenPosition display ofwork coordinatesystemåSee subsec. 11.1.1.Display of run timeand parts countåSee subsec. 11.1.5.Display of actualspeedåS...

  • Page 554

    OPERATIONB–61404E/0811. SETTING AND DISPLAYING DATA534Screen transition triggered by the function keyin the AUTO or MDI modeProgram screenDisplay of pro-gram contentsåSee subsec. 11.2.1.Display of currentblock and modaldataåSee subsec. 11.2.2.PRGRMCHECKCURRNTNEXTPRGRMPROGRAM SCREENAUTO (MDI)...

  • Page 555

    B–61404E/0811. SETTING AND DISPLAYING DATAOPERATION535Program editingscreenåSee chapter 10Program memoryand program direc-toryåSee subsec. 11.3.1.PRGRMLIBC.A.P.EDITConversational programming screenåSee chapter 10.5EDITBack ground edit-ing screenåSee sec. 9.7.Program screenPROGRAM SCREENScre...

  • Page 556

    OPERATIONB–61404E/0811. SETTING AND DISPLAYING DATA536Setting workpiece origin offset valueåSee subsec. 11.4.3.Setting of the work-piece origin offsetvalueåSee subsec. 11.4.3.Tool offset valueDisplay of tool off-set valueåSee subsec. 11.4.1.OFFSETScreen transition triggered by the function k...

  • Page 557

    B–61404E/0811. SETTING AND DISPLAYING DATAOPERATION537Setting of pitch error compensationdataåsee Subsec.11.5.2Parameter screenPARAMDGNOSPARAMETER/DIAGNOSTIC SCREENDisplay of param-eter screenåsee Subsec.11.5.1Setting of parameteråsee Subsec.11.5.1Display of diag-nosis screenåSee Sec. 7.2Sc...

  • Page 558

    OPERATIONB–61404E/0811. SETTING AND DISPLAYING DATA538OPRALARMOPRDisplay of alarmscreenå see sec. 7.1å see Subsec. 11.6.2ALARMDisplay of softwareoperator’s panelALARM SCREENScreen transition triggered by the function keyAlarm screenALARMOPRMSGDisplay of opera-tor’s messageå see Subse...

  • Page 559

    B–61404E/0811. SETTING AND DISPLAYING DATAOPERATION539The table below lists the data set on each screen.Table 11 Setting screen and data on themNo.Setting screenContents of settingReferenceitem1Tool offset valueTool offset valueTool length offset valueCutter compensation valueSubsec. 11.4.1Too...

  • Page 560

    OPERATIONB–61404E/0811. SETTING AND DISPLAYING DATA540Press function key POS to display the current position of the tool.The following three screens are used to display the current position of thetool:D Position display screen for the work coordinate system.D Position display screen for the rel...

  • Page 561

    B–61404E/0811. SETTING AND DISPLAYING DATAOPERATION541Displays the current position of the tool in the workpiece coordinatesystem. The current position changes as the tool moves. The least inputincrement is used as the unit for numeric values. The title at the top ofthe screen indicates that...

  • Page 562

    OPERATIONB–61404E/0811. SETTING AND DISPLAYING DATA542Displays the current position of the tool in a relative coordinate systembased on the coordinates set by the operator. The current position changesas the tool moves. The increment system is used as the unit for numericvalues. The title at...

  • Page 563

    B–61404E/0811. SETTING AND DISPLAYING DATAOPERATION543The current position of the tool in the relative coordinate system can bereset to 0 or preset to a specified value as follows:Procedure to reset the axis coordinate to a specified value1Key in the address of the axis name (X, Y, etc.) on the...

  • Page 564

    OPERATIONB–61404E/0811. SETTING AND DISPLAYING DATA544Displays the following positions on a screen : Current positions of thetool in the workpiece coordinate system, relative coordinate system, andmachine coordinate system, and the remaining distance.Procedure for displaying overall position ...

  • Page 565

    B–61404E/0811. SETTING AND DISPLAYING DATAOPERATION545The actual feedrate on the machine (per minute) can be displayed on acurrent position display screen or program check screen by setting bit 2of parameter 028. On a 14–inch CRT, the actual feedrate is alwaysdisplayed.Display procedure for ...

  • Page 566

    OPERATIONB–61404E/0811. SETTING AND DISPLAYING DATA546The run time, cycle time, and the number of machined parts are displayedon the current position display screens.Procedure for displaying run time and parts count on the current position display screen1Press function key POS to display a curr...

  • Page 567

    B–61404E/0811. SETTING AND DISPLAYING DATAOPERATION547This function displays the loads on the basic axes and serial spindle (firstspindle). This function can also display the speed of the serial spindle(first spindle).Procedure for manipulating the monitor display1Display the current position ...

  • Page 568

    OPERATIONB–61404E/0811. SETTING AND DISPLAYING DATA548This section describes the screens displayed by pressing function keyPRGRMin AUTO or MDI mode.The first four of the following screensdisplay the execution state for the program currently being executed inAUTO or MDI mode and the last screen ...

  • Page 569

    B–61404E/0811. SETTING AND DISPLAYING DATAOPERATION549Displays the program currently being executed in AUTO mode.Procedure for displaying the program contents1Press function PRGRM key to display the program.2Press soft key [PRGRM].The cursor is positioned at the block currently being executed.P...

  • Page 570

    OPERATIONB–61404E/0811. SETTING AND DISPLAYING DATA550Displays the block currently being executed and modal data in the AUTOor MDI mode.Procedure for displaying the current block display screen1Press function key PRGRM.2Press soft key [CURRNT].The block currently being executed and modal data a...

  • Page 571

    B–61404E/0811. SETTING AND DISPLAYING DATAOPERATION551Displays the block currently being executed and the block to be executednext in the AUTO or MDI mode.Procedure for displaying the next block display screen1Press function key PRGRM.2Press soft key [NEXT].The block currently being executed an...

  • Page 572

    OPERATIONB–61404E/0811. SETTING AND DISPLAYING DATA552Displays the program currently being executed, current position of thetool, and modal data in the AUTO mode.Procedure for displaying the program check screen1Press function key PRGRM.2Press soft key [CHECK].The program currently being execut...

  • Page 573

    B–61404E/0811. SETTING AND DISPLAYING DATAOPERATION553The program check screen is not provided for 14–inch CRTs. Press softkey [PRGRM] to display the contents of the program on the right half ofthe screen. The block currently being executed is indicated by the cursor.The current position of...

  • Page 574

    OPERATIONB–61404E/0811. SETTING AND DISPLAYING DATA554Displays the program input from the MDI and modal data in the MDImode.Procedure for displaying the program screen for MDI operation1Press function key PRGRM.2Press soft key [MDI].The program input from the MDI and modal data are displayed.(1...

  • Page 575

    B–61404E/0811. SETTING AND DISPLAYING DATAOPERATION555See Section 4.2 for MDI operation.The modal data is displayed when bit 7 (MDL) of parameter 3107 is setto 1. On a 14–inch CRT, however, the contents of the program aredisplayed on the right half of the screen and the modal data is display...

  • Page 576

    OPERATIONB–61404E/0811. SETTING AND DISPLAYING DATA556This section describes the screens displayed by pressing function keyPRGRM in the EDIT mode. Function key PRGRM in the EDIT mode candisplay the program editing screen and the library screen (displaysmemory used and a list of programs). Pre...

  • Page 577

    B–61404E/0811. SETTING AND DISPLAYING DATAOPERATION557Displays the number of registered programs, memory used, and a list ofregistered programs.Procedure for displaying memory used and a list of programs1Select the EDIT mode.2Press function key PRGRM.3Press soft key [LIB]. SYSTEM EDITION ...

  • Page 578

    OPERATIONB–61404E/0811. SETTING AND DISPLAYING DATA558Program Nos. registered are indicated.Also, the program name can be displayed in the program table by settingparameter No. 040#0. SYSTEM EDITION 0466 – 25 PROGRAM NO. USED :14 FREE :49 MEMORY AREA USED :275 FREE :3820PROGRAM LIB...

  • Page 579

    B–61404E/0811. SETTING AND DISPLAYING DATAOPERATION559Press function key MENUOFSETto display or set tool compensation values andother data.This section describes how to display or set the following data:1. Tool offset value2. Workpiece origin offset value3. Custom macro common variables4. Patte...

  • Page 580

    OPERATIONB–61404E/0811. SETTING AND DISPLAYING DATA560Tool offset values, tool length offset values, and cutter compensationvalues are specified by D codes or H codes in a program. Compensationvalues corresponding to D codes or H codes are displayed or set on thescreen.Procedure for setting an...

  • Page 581

    B–61404E/0811. SETTING AND DISPLAYING DATAOPERATION5613Move the cursor to the compensation value to be set or changed usingpage keys and cursor keys. Press NO. key and enter the compensa–tion number for the compensation value to be set or changed and thenpress INPUTkey.4Enter a compensation ...

  • Page 582

    OPERATIONB–61404E/0811. SETTING AND DISPLAYING DATA562The length of the tool can be measured and registered as the tool lengthoffset value by moving the reference tool and the tool to be measured untilthey touch the specified position on the machine. The tool length can be measured along the X...

  • Page 583

    B–61404E/0811. SETTING AND DISPLAYING DATAOPERATION5638Press the INPUT key. The Z axis relative coordinate value is input anddisplayed as an tool length offset value.ÇÇÇÇÇÇÇÇÇÇÇÇÇÇA prefixed positionReferencetoolThe difference is set as a toollength offset value

  • Page 584

    OPERATIONB–61404E/0811. SETTING AND DISPLAYING DATA564Displays the workpiece origin offset for each workpiece coordinatesystem (G54 to G59 and G54 P1 to G54 P48) and external workpieceorigin offset. The workpiece origin offset and external workpiece originoffset can be set on this screen.Proce...

  • Page 585

    B–61404E/0811. SETTING AND DISPLAYING DATAOPERATION5653The screen for displaying the workpiece origin offset values consistsof two or more pages. Display a desired page in either of thefollowing two ways:Press the page up or page down key.Press NO. key and nter the workpiece coordinate syste...

  • Page 586

    OPERATIONB–61404E/0811. SETTING AND DISPLAYING DATA566Displays common variables (#100 to #149 or #100 to #199, and #500 to#531 or #500 to #999). When the absolute value for a common variableexceeds 99999999, ******** is displayed. The values for variables canbe set on this screen. Relative c...

  • Page 587

    B–61404E/0811. SETTING AND DISPLAYING DATAOPERATION567This subsection uses an example to describe how to display or setmachining menus (pattern menus) created by the machine tool builder.Refer to the manual issued by the machine tool builder for the actualpattern menus and pattern data. See PR...

  • Page 588

    OPERATIONB–61404E/0811. SETTING AND DISPLAYING DATA5684Enter necessary pattern data and press INPUT.5After entering all necessary data, enter the AUTO mode and press thecycle start button to start machining.HOLE PATTERN : Menu titleAn optional character string can be displayed within 12 charac...

  • Page 589

    B–61404E/0811. SETTING AND DISPLAYING DATAOPERATION569Tool life data can be displayed to inform the operator of the current stateof tool life management. Groups which require tool changes are alsodisplayed.The tool life counter for each group can be preset to an arbitraryvalue. To register or...

  • Page 590

    OPERATIONB–61404E/0811. SETTING AND DISPLAYING DATA5706To reset the tool data of a group, position the cursor to that group, keyin –9999, then press the INPUT key. All current execution data for thegroup selected with the cursor is cleared and the tool is considered asnot being used.TOOL LIF...

  • Page 591

    B–61404E/0811. SETTING AND DISPLAYING DATAOPERATION571Parameters must be set to determine the specifications and functions ofthe machine in order to fully utilize the characteristics of the servo motoror other parts.This chapter describes how to set parameters on the MDI panel.Parameters can al...

  • Page 592

    OPERATIONB–61404E/0811. SETTING AND DISPLAYING DATA572Parameters are set to determine the specifications and functions of themachine in order to fully utilize the characteristics of the servo motor. Thesetting of parameters depends on the machine. Refer to the parameter listprepared by the ma...

  • Page 593

    B–61404E/0811. SETTING AND DISPLAYING DATAOPERATION573Procedure for enabling/displaying parameter writing1Select the MDI mode or enter state emergency stop.2Press function key DGNOSPARAM.3Press soft key [PARAM] to display the setting screen.PARAMETER O1224 N0000[ PARAM ][ D...

  • Page 594

    OPERATIONB–61404E/0811. SETTING AND DISPLAYING DATA574If pitch error compensation data is specified, pitch errors of each axis canbe compensated per axis. Pitch error compensation data is set for each compensation point at theintervals specified for each axis. The origin of compensation is th...

  • Page 595

    B–61404E/0811. SETTING AND DISPLAYING DATAOPERATION575128 compensation points from No. 0 to 127 are available for each axis.Specify the compensation number for the reference position of each axisin the corresponding parameter (Parameter n000, n: axis number).Specify the compensation value in t...

  • Page 596

    OPERATIONB–61404E/0811. SETTING AND DISPLAYING DATA576⋅ Machine stroke: –400 mm to +800 mm⋅ Interval between the pitch error compensation points: 50 mm⋅ No. of the compensation point of the reference position: 40If the above is specified, the No. of the farthest compensation point in...

  • Page 597

    B–61404E/0811. SETTING AND DISPLAYING DATAOPERATION577The compensation amount is output at the compensation point No.corresponding to each section between the coordinates. The following is an example of the compensation amounts.CompensationvalueCompensationposition number1034103510361037103810...

  • Page 598

    OPERATIONB–61404E/0811. SETTING AND DISPLAYING DATA578The correspondence between the machine coordinate and thecompensation point No. is as follows:0.045.090.0135.0180.0225.0270.0315.0(68)(60)(67)(66)(65)(64)(63)(62)(61)(+)Reference positionCompensation values are output at the positions indica...

  • Page 599

    B–61404E/0811. SETTING AND DISPLAYING DATAOPERATION579Data such as the TV check flag and punch code is set on the setting datascreen. On this screen, the operator can also enable/disable parameterwriting, enable/disable the automatic insertion of sequence numbers inprogram editing, and perform...

  • Page 600

    OPERATIONB–61404E/0811. SETTING AND DISPLAYING DATA580Setting code when data is output through reader puncher interface.0 : EIA code output1 : ISO code outputSetting a program input unit, inch or metric system0 : Metric1 : InchUsing channel of reader/puncher interface.0 : Channel 01 : Cha...

  • Page 601

    B–61404E/0811. SETTING AND DISPLAYING DATAOPERATION581If a block containing a specified sequence number appears in the programbeing executed, operation enters single block mode after the block isexecuted.Procedure for sequence number comparison and stop1Select the MDI mode.2Press function key D...

  • Page 602

    OPERATIONB–61404E/0811. SETTING AND DISPLAYING DATA582After the specified sequence number is found during the execution of theprogram, the sequence number set for sequence number compensationand stop is decremented by one. When the power is turned on, the settingof the sequence number is 0.If ...

  • Page 603

    B–61404E/0811. SETTING AND DISPLAYING DATAOPERATION583Various run times, the total number of machined parts, number of partsrequired, and number of machined parts can be displayed. The data exceptfor the total number of machined parts can be set on this screen .The time can be displayed and se...

  • Page 604

    OPERATIONB–61404E/0811. SETTING AND DISPLAYING DATA5846To set the clock, move the cursor to DATE or TIME, enter a new dateor time, then press INPUT key.This value is incremented by one when M02, M30, or an M code specifiedby parameter 219 is executed. This value cannot be set on this screen.Se...

  • Page 605

    B–61404E/0811. SETTING AND DISPLAYING DATAOPERATION585Neither negative value nor the value exceeding the value in the followingtable can be set.ItemMaximum valueItemMaximum valueYear99Hour23Month12Minute59Day31Second59D Time settings

  • Page 606

    OPERATIONB–61404E/0811. SETTING AND DISPLAYING DATA586The alarm message and operator message can be displayed by pressing theOPRALARM key. The software operator’s panel can also be displayed andspecified. For details of how to display the alarm message, see Chapter7.The operator message fun...

  • Page 607

    B–61404E/0811. SETTING AND DISPLAYING DATAOPERATION587With this function, functions of the switches on the machine operator’spanel can be controlled from the CRT/MDI panel.Jog feed can be performed using numeric keys.Procedure for displaying and setting the software operator’s panel1Press f...

  • Page 608

    OPERATIONB–61404E/0811. SETTING AND DISPLAYING DATA5885Push the cursor move key / or EOB to match the mark J to anarbitrary position and set the desired condition.6Press one of the following arrow keys to perform jog feed. Press thefunction key 5 together with an arrow key to perform jog rapi...

  • Page 609

    B–61404E/0811. SETTING AND DISPLAYING DATAOPERATION589The program number, sequence number, and current CNC status arealways displayed on the screen except when the power is turned on or asystem alarm occurs.This section describes the display of the program number, sequencenumber, and status.The...

  • Page 610

    OPERATIONB–61404E/0811. SETTING AND DISPLAYING DATA590The current mode, automatic operation state, alarm state, and programediting state are displayed on the next to last line on the CRT screenallowing the operator to readily understand the operation condition of thesystem.NOT READYS500 T0123 1...

  • Page 611

    B–61404E/0812. GRAPHICS FUNCTIONOPERATION59112 GRAPHICS FUNCTIONTwo graphic functions are available. One is a graphic display function,and the other is a dynamic graphic display function.The graphic display function can draw the tool path specified by aprogram being executed. The graphic disp...

  • Page 612

    OPERATIONB–61404E/0812. GRAPHICS FUNCTION592It is possible to draw the programmed tool path, which makes it possibleto check the progress of machining, while observing the path on the CRTscreen.In addition, it is also possible to enlarge/reduce the screen.Before drawing, graphic parameters must...

  • Page 613

    B–61404E/0812. GRAPHICS FUNCTIONOPERATION5936Automatic operation is started and machine movement is drawn onthe screen.O9501 N0014X 0.000Y 0.000Z 0.000S 0 T 10:17:21 AUTO [ G.PRM ][ GRAPH ][ AUX ][ ][ ]ZXYThe size of the graphic screen will be as follows:Gc : Cen...

  • Page 614

    OPERATIONB–61404E/0812. GRAPHICS FUNCTION594Set the center of the graphic range to the center of the screen. If thedrawing range in the program can be contained in the actual graphicsrange, set the magnification to 1 (actual value set is 100).When the drawing range is larger than the maximum g...

  • Page 615

    B–61404E/0812. GRAPHICS FUNCTIONOPERATION595When the actual tool path is not near the center of the screen, method 1will cause the tool path to be drawn out of the geaphics range if graphicsmagnification is not set properly.To avoid such cases, the following six graphic parameters are prepared;...

  • Page 616

    OPERATIONB–61404E/0812. GRAPHICS FUNCTION596D AXESSpecify the plane to use for drawing. The user can choose from thefollowing six coordinate systems:XY(1)= 0 : Select (1)= 1 : Select (2)= 2 : Select (3)= 3 : Select (4)= 4 : Select (5)= 5 : Select (6)The rotating angle (horizontal, ...

  • Page 617

    B–61404E/0812. GRAPHICS FUNCTIONOPERATION597NOTE1 When MAX. and MIN. of RANGE are set, the values will beset automatically once drawing is executed2 When setting the graphics range with the graphicsparameters for the magnification and screen centercoordinates, do not set the parameters for the ...

  • Page 618

    OPERATIONB–61404E/0812. GRAPHICS FUNCTION598There are the following two functions in Dynamic Graphics.Path graphicThis is used to draw the path of tool center commanded by thepart program.Solid graphicThis is used to draw the workpiece figure machined by toolmovement commanded by the part progr...

  • Page 619

    B–61404E/0812. GRAPHICS FUNCTIONOPERATION599Coordinate axes and actual size dimension lines are displayed togetherwith the drawing so that actual size can be referenced.The first six functions above (1. to 6.) are available by setting the graphicparameters. The seventh to ninth functions (7. t...

  • Page 620

    OPERATIONB–61404E/0812. GRAPHICS FUNCTION6003Set the cursor to an item to be set by cursor keys.4Input numerics by numeric keys.5Press the INPUT key.The input numerics are set by these operations and the cursorautomatically moves to the next setting items. The set data is held evenafter the po...

  • Page 621

    B–61404E/0812. GRAPHICS FUNCTIONOPERATION60111For partial drawing enlargement, display the PATH GRAPHIC(SCALE) screen by pressing the soft key [ZOOM] on the PATHGRAPHIC (PARAMETER) screen of step 1 above. The tool path isdisplayed.PATH GRAPHIC (EXECUTION)O9501 N0014[ EXEC ][ ← ][ → ...

  • Page 622

    OPERATIONB–61404E/0812. GRAPHICS FUNCTION60215To display a mark at the current tool position, display the PATHGRAPHIC (POSITION) screen by pressing soft key [POS] on thePATH GRAPHIC (PARAMETER) screen of step 1 above. This markblinks at the current tool center position on the tool path.PATH GR...

  • Page 623

    B–61404E/0812. GRAPHICS FUNCTIONOPERATION603Projector view by isometric can be drawn.YXYZXZYZXYXZP=4P=5Fig. 12.2.1 (b) Coordinate systems for the isometric projectionXYZXP=6Fig. 12.2.1 (c) Coordinate systems for the biplane viewBiplanes (XY and XZ) can be drawn simultaneously. The maximum and...

  • Page 624

    OPERATIONB–61404E/0812. GRAPHICS FUNCTION604TiltingFig. 12.2.1 (e) TiltingSet the magnification rate of drawing from 0.01 to 100.00. When 1.0 isset, drawing is carried out in actual dimensions. When 0 is set, thedrawing magnification rate is automatically set based on the setting ofmaximum a...

  • Page 625

    B–61404E/0812. GRAPHICS FUNCTIONOPERATION605Specify the color of the tool path. In the case of monochrome display, itis not required to set it. The relationship between the setting value andcolor is as shown below:Setting valueColor0White1Red2Green3Yellow4Blue5Purple6Light blueD PATHSpecify t...

  • Page 626

    OPERATIONB–61404E/0812. GRAPHICS FUNCTION606The period of mark blinking is short when the tool is moving and becomeslonger when the tool stops.The mark indicating the current position of tool is displayed on the XYplane view when the biplane drawing is performed.Parameter No. 058#5 is used to ...

  • Page 627

    B–61404E/0812. GRAPHICS FUNCTIONOPERATION607The solid graphics draws the figure of a workpieces machined by themovement of a tool.The following graphic functions are provided :Solid model graphic is drawn by surfaces so that the machined figure canbe recognized concretely.It is possible to draw...

  • Page 628

    OPERATIONB–61404E/0812. GRAPHICS FUNCTION608Solid graphics drawing procedure1To draw a machining profile, necessary data must be set beforehand.So after press the function key AUXGRAPH , press the soft key [SOLID].Then the screen of “SOLID GRAPHIC (PARAMETER)” is displayed.SOLID GRAPHIC (PA...

  • Page 629

    B–61404E/0812. GRAPHICS FUNCTIONOPERATION6096Press soft key [ANEW]. This allows the blank figure drawing to beperformed based on the blank figure data set.7Press soft keys [+ROT] [–ROT] [+TILT], and [–TILT], whenperforming drawing by changing the drawing directions. ParametersP and Q for ...

  • Page 630

    OPERATIONB–61404E/0812. GRAPHICS FUNCTION61013The color, intensity, or drawing direction of a machining figure whichhas been drawn can be changed and the figure redrawn.To redraw the figure, first change the parameters for the color,intensity, or drawing direction on the SOLID GRAPHIC(PARAMETER...

  • Page 631

    B–61404E/0812. GRAPHICS FUNCTIONOPERATION61116The machined figure can be drawn on the tri–plane view.To draw a triplane view, press soft key [3–PLN] on the SOLIDGRAPHIC (PARAMETER) screen of step 1 above. The SOLIDGRAPHIC (3–PLANE) screen appears.SOLID GRAPHIC (3–PLANE)01126 N01126[ ...

  • Page 632

    OPERATIONB–61404E/0812. GRAPHICS FUNCTION612Set the type of blank figure under P. The relationship between the settingvalue and figure is as follows:PBlank figure0Rectangular parallelepiped (Cubed)1Column or cylinder (parallel to Z–axis)2Column or cylinder (parallel to X–axis)3Column or c...

  • Page 633

    B–61404E/0812. GRAPHICS FUNCTIONOPERATION613Set the machining direction of tools. The relationship between the settingvalue and machining direction is as shown below.PMachining direction of tools0,1Parallel to the Z–axis (perform machining from the + direction)2Parallel to the X–axis (per...

  • Page 634

    OPERATIONB–61404E/0812. GRAPHICS FUNCTION614Set the slant direction of the projection axis in the case of obliqueprojection drawing. Moreover, plane view can be specified. Therelationship between the setting value and slant direction is as shownbelow:QSlant direction3Plane view2(0,2) directio...

  • Page 635

    B–61404E/0812. GRAPHICS FUNCTIONOPERATION615Set the direction of the vertical axis.RVERTICAL AXIS0, 1Z–axis2X–axis3Y–axisThe direction of the vertical axis which is set is effective by executinggraph.Specify the intensity of the drawing screen when performing drawing onthe monochrome scre...

  • Page 636

    OPERATIONB–61404E/0812. GRAPHICS FUNCTION616PQP+QPQBlankPP+QQOblique projection viewPlane viewTriplan viewSpecify the start sequence number and end sequence number of eachdrawing in a four–digit numeric. The subject part program is executedfrom the head. But only the part enclosed by the st...

  • Page 637

    B–61404E/0812. GRAPHICS FUNCTIONOPERATION617It is possible to specify BLANK FORM and TOOL FORM in the partprogram. The command format is as shown below. If it is commandedduring execution of drawing, the item corresponding to the screen of“SOLID GRAPHIC (PARAMETER)” is set and drawing con...

  • Page 638

    OPERATIONB–61404E/0812. GRAPHICS FUNCTION618Right view and rear view[ ]Rear view and left viewFront view and right viewLeft view and front view[ ][ ][ ]Rear viewTop viewRight side viewLeft side viewFront viewExample) The side views of the figure belo...

  • Page 639

    B–61404E/0812. GRAPHICS FUNCTIONOPERATION619Some examples of cross–sectional views are given below for the left viewand front view shown on the previous page.ÅÅÅÅÅÅÅÅÅÅÅÅÅÅÅSectional view 1ÅÅÅÅÅÅÅÅÅÅÅÅÅÅÅÅÅÅÅÅÅÅÅÅÅÅÅÅÅÅÅÅSectional view 2If the ma...

  • Page 640

    OPERATIONB–61404E/0813. DISPLAY AND OPERATIONOF 00–MC62013 DISPLAY AND OPERATION OF 00–MCThe CRT/MDI panel of 00–MC consists of a CRT display (14″ color) andkeyboard. Contents of display and operation by key input are completelydifferent depending on whether the CNC screen or MMC scree...

  • Page 641

    B–61404E/0813. DISPLAY AND OPERATION OF 00–MCOPERATION621Press “CNC” key on the CRT/MDI panel to display the CNC screen whenthe MMC screen is displayed on the CRT display of the CRT/MDI panel.The CNC screen consists of a variable section and a fixed section. Thevariable section is the pa...

  • Page 642

    OPERATIONB–61404E/0813. DISPLAY AND OPERATIONOF 00–MC622Key operation can only be done when the CNC screen is displayed on theCRT display of the CRT/MDI panel. Address keys and numerical keysare independently arranged on 00–MB. However, inputting data isexactly the same as that of 0–MB....

  • Page 643

    IV. MAINTENANCE

  • Page 644

    B–61404E/081. METHOD OF REPLACING BATTERYMAINTENANCE6251 METHOD OF REPLACING BATTERYThis chapter describes the method of replacing batteries as follows.1.1 REPLACING CNC BATTERY FOR MEMORY BACK–UP1.2 REPLACING BATTERIES FOR ABSOLUTE PULSE CODER

  • Page 645

    MAINTENANCEB–61404E/081. METHOD OF REPLACING BATTERY626When the message “BAT” appears at the bottom of the screen, replace thebackup batteries for the CNC memory according to the proceduredescribed below.Procedure for replacing CNC battery for memory back–up1Have three commercially availa...

  • Page 646

    B–61404E/081. METHOD OF REPLACING BATTERYMAINTENANCE627If absolute pulse coder alarm 3n7 (where n is an axis number) occurs,replace the batteries (alkaline) for the absolute pulse coder according tothe procedure described below.Procedure for replacing batteries for absolute pulse coder1Have thr...

  • Page 647

    APPENDIX

  • Page 648

    B–61404E/08A. TAPE CODE LISTAPPENDIX631A TAPE CODE LISTISO codeEIA codeMeaningCharacter87654321Character87654321Withoutcustommacro BWith custommacro B0f ff0ffNumber 01ff fff1ff Number 12ff fff2ffNumber 23f fff f3fff f Number 34ff fff4ffNumber 45f ffff5ffff Number 56f fff f6fff fNumber 67ff fff ...

  • Page 649

    APPENDIXB–61404E/08A. TAPE CODE LIST632ISO codeMeaningEIA codeCharacterWith custommacro BWithoutcustommacro B12345678Character12345678DELf f f f f ff f fDelf f f f ff f f NULfBlankf BSff fBSff ff HTf ffTabf f f ff f LF or NLf ffCR or EOBffCRff fff___ SPfffSPffjj%fffffERf ff f(ff f(2–4–...

  • Page 650

    B–61404E/08A. TAPE CODE LISTAPPENDIX633NOTE1 The symbols used in the remark column have the following meanings.(Space) : The character will be registered in memory and has a specific meaning. If it is used incorrectly in a statement other than a comment, an alarm occurs. : The character will n...

  • Page 651

    APPENDIXB–61404E/08B. LIST OF FUNCTIONS AND TAPE FORMAT634B LIST OF FUNCTIONS AND TAPE FORMATSome functions cannot be added as options depending on the model.In the tables below, PI_:presents a combination of arbitrary axisaddresses using X,Y,Z,A,B and C (such as X_Y_Z_A_).x = 1st basic axis (X...

  • Page 652

    B–61404E/08B. LIST OF FUNCTIONS AND TAPE FORMATAPPENDIX635FunctionsTape formatIllustrationExact stop (G09)VelocityTimeInposition checkG09G01_G03_G02__ ;Change of offset value byprogram (G10)Tool offset value (offset memory B)G10 L10 P_ R_ ;Wear offset value (offset memory B)G10 L11 P_ R_ ;Work...

  • Page 653

    APPENDIXB–61404E/08B. LIST OF FUNCTIONS AND TAPE FORMAT636FunctionsTape formatIllustrationLocal coordinate system setting (G52)xyLocal coordinatesystemWorkpiece coordinatesystemPIG52 _ ;PIMachine coordinate system selection (G53)G53 _ ;PIWorkpiece coordinatesystem selection (G54 – ...

  • Page 654

    B–61404E/08B. LIST OF FUNCTIONS AND TAPE FORMATAPPENDIX637FunctionsTape formatIllustrationReturn from reference position to start point (G29)Intermediate positionReference positionPIG29 _ ;PISkip function (G31)Start pointSkip signalPIG31 _ F_;PIThread cutting (G33)FEqual lead thread cutti...

  • Page 655

    APPENDIXB–61404E/08B. LIST OF FUNCTIONS AND TAPE FORMAT638FunctionsTape formatIllustrationCanned cycles (G73, G74, G80 – G89)Refer to II.14. FUNCTIONS TO SIMPLIFYPROGRAMMINGG80 ; CancelG73G74G76G81 :G89X_ Y_ Z_ P_ Q_ R_ F_ K_ ;Absolute/incremental programming (G90/G91)G90_ ; Absolute comma...

  • Page 656

    B–61404E/08C. RANGE OF COMMAND VALUEAPPENDIX639C RANGE OF COMMAND VALUEIncrement systemIS–BIS–CLeast input increment0.001 mm0.0001 mmLeast command increment0.001 mm0.0001 mmMax. program-mable dimension±99999.999 mm±9999.9999 mmMax. rapid traverseNotes100000 mm/min24000 mm/minFeedrate rang...

  • Page 657

    APPENDIXB–61404E/08C. RANGE OF COMMAND VALUE640Increment systemIS–BIS–CLeast input increment0.0001 inch0.00001 inchLeast command increment0.001 mm0.0001 mmMax. program-mable dimension±9999.9999 inch±393.70078 inchMax. rapid traverseNotes100000 mm/min24000 mm/minFeedrate range Notes0.01 to...

  • Page 658

    B–61404E/08C. RANGE OF COMMAND VALUEAPPENDIX641Increment systemIS–BIS–CLeast input increment0.001 mm0.0001 mmLeast command increment0.0001 inch0.00001 inchMax. program-mable dimension±99999.999 mm±9999.9999 mmMax. rapid traverseNotes4000 inch/min960 inch/minFeedrate range Notes1 to 100000...

  • Page 659

    APPENDIXB–61404E/08D. NOMOGRAPHS642D NOMOGRAPHS

  • Page 660

    B–61404E/08D. NOMOGRAPHSAPPENDIX643The leads of a thread are generally incorrect in δ1 and δ2, as shown in Fig.D.1 (a), due to automatic acceleration and deceleration.Thus distance allowances must be made to the extent of δ1 and δ2 in theprogram.δ1δ2Fig. D.1 (a) Incorrect thread posit...

  • Page 661

    APPENDIXB–61404E/08D. NOMOGRAPHS644First specify the class and the lead of a thread. The thread accuracy, a, willbe obtained at , and depending on the time constant of cutting feedacceleration/ deceleration, the δ1 value when V = 10mm / s will beobtained at . Then, depending on the speed of ...

  • Page 662

    B–61404E/08D. NOMOGRAPHSAPPENDIX645δ2δ1Fig. D.2 Incorrect threaded portionR :Spindle speed (rpm)L:Thread lead (mm)*When time constant T of the servo system is 0.033 s.d2+ LR1800 * (mm)d1+ LR1800 *(–1–lna)+ d2(–1–lna)Following a is a permited value of thread.a–1–lna0.0054.2980.01...

  • Page 663

    APPENDIXB–61404E/08D. NOMOGRAPHS646V: speed in thread cuttingTime constant of theservo system50msecV=10mm/sec( 0.39in/sec)V=20mm/sec( 0.79in/sec)V=30mm/sec( 1.18in/sec)V=40mm/sec( 1.57in/sec)V=2in/secV=1in/secδ1 (V=10mm/sec)33msecδ18 (mm)0.3 (in)δ164200.20.10.0070.0100.0150.0200....

  • Page 664

    B–61404E/08D. NOMOGRAPHSAPPENDIX647When servo system delay (by exponential acceleration/deceleration atcutting or caused by the positioning system when a servo motor is used)is accompanied by cornering, a slight deviation is produced between thetool path (tool center path) and the programmed pa...

  • Page 665

    APPENDIXB–61404E/08D. NOMOGRAPHS648The tool path shown in Fig. D.3 (b) is analyzed based on the followingconditions:Feedrate is constant at both blocks before and after cornering.The controller has a buffer register. (The error differs with the readingspeed of the tape reader, number of charac...

  • Page 666

    B–61404E/08D. NOMOGRAPHSAPPENDIX649Y0X0V0Fig. D.3 (c) Initial valueThe initial value when cornering begins, that is, the X and Y coordinatesat the end of command distribution by the controller, is determined by thefeedrate and the positioning system time constant of the servo motor.X0+ VX1(T1)...

  • Page 667

    APPENDIXB–61404E/08D. NOMOGRAPHS650When a servo motor is used, the positioning system causes an errorbetween input commands and output results. Since the tool advancesalong the specified segment, an error is not produced in linearinterpolation. In circular interpolation, however, radial errors ...

  • Page 668

    B–61404E/08E. STATUS WHEN TURNING POWER ON, WHEN CLEAR AND WHEN RESETAPPENDIX651ESTATUS WHEN TURNING POWER ON, WHEN CLEARAND WHEN RESETParameter No. 046 bit6 is used to select whether resetting the CNC placesit in the cleared state or in the reset state (0: reset state/1: cleared state).The sym...

  • Page 669

    APPENDIXB–61404E/08E. STATUS WHEN TURNING POWER ON, WHEN CLEAR AND WHEN RESET652ItemResetClearedWhen turning power onAction in operationMovement o erationDwell Issuance of M, S and Tcodes Tool length compensation Depending on parameterNo.001#3f : MDI modeOther modes depend onparameter No....

  • Page 670

    B–61404E/08F. CHARACTER–TO CODESCORRESPONDENCE TABLEAPPENDIX653F CHARACTER–TO CODES CORRESPONDENCE TABLECharacterCodeCommentCharacterCodeCommentA0656054B0667055C0678056D0689057E069032SpaceF070!033Exclamation markG071”034Quotation markH072#035Hash signI073$036Dollar signJ074%037PercentK075...

  • Page 671

    APPENDIXB–61404E/08G. ALARM LIST654G ALARM LIST1) Program errors (P/S alarm)NumberMeaningContents and remedy000PLEASE TURN OFF POWERA parameter which requires the power off was input, turn off power.001TH PARITY ALARMTH alarm (A character with incorrect parity was input). Correct the tape.002T...

  • Page 672

    B–61404E/08G. ALARM LISTAPPENDIX655NumberContents and remedyMeaning027NO AXES COMMANDED IN G43/G44 No axis is specified in G43 and G44 blocks for the tool length offset typeC.Offset is not canceled but another axis is offset for the tool length offsettype C. Modify the program.028ILLEGAL PLANE...

  • Page 673

    APPENDIXB–61404E/08G. ALARM LIST656NumberContents and remedyMeaning051MISSING MOVE AFTER CHF/CNRImproper movement or the move distance was specified in the blocknext to the chamfering or corner R block.Modify the program.052CODE IS NOT G01 AFTER CHF/CNR The block next to the chamfering or corn...

  • Page 674

    B–61404E/08G. ALARM LISTAPPENDIX657NumberContents and remedyMeaning080G37 ARRIVAL SIGNAL NOT ASSERTEDIn the automatic tool length measurement function (G37), the measure-ment position reach signal (XAE, YAE, or ZAE) is not turned on withinan area specified in parameter (value ε). This is due ...

  • Page 675

    APPENDIXB–61404E/08G. ALARM LIST658NumberContents and remedyMeaning098G28 FOUND IN SEQUENCE RETURNA command of the program restart was specified without the referenceposition return operation after power ON or emergency stop, and G28was found during search.099MDI EXEC NOT ALLOWED AFT.SEARCHAft...

  • Page 676

    B–61404E/08G. ALARM LISTAPPENDIX659NumberContents and remedyMeaning119ILLEGAL ARGUMENTThe SQRT argument is negative. Or BCD argument is negative, andother values than 0 to 9 are present on each line of BIN argument.Modify the program.122DUPLICATE MACRO MODAL–CALL The macro modal call is spec...

  • Page 677

    APPENDIXB–61404E/08G. ALARM LIST660NumberContents and remedyMeaning148ILLEGAL SETTING DATAAutomatic corner override deceleration rate is out of the settable rangeof judgement angle. Modify the parameters (No.1710 to No.1714)150ILLEGAL TOOL GROUP NUMBERTool Group No. exceeds the maximum allowab...

  • Page 678

    B–61404E/08G. ALARM LISTAPPENDIX661NumberContents and remedyMeaning181FORMAT ERROR IN G81 BLOCK(Hobbing machine)G81 block format error1) T (number of teeth) has not been instructed.2) Data outside the command range was instructed by either T, L, Q orP.Modify the program.182G81 NOT COMMANDED(Ho...

  • Page 679

    APPENDIXB–61404E/08G. ALARM LIST662NumberContents and remedyMeaning206CAN NOT CHANGE PLANE (RIGID TAP)Plane changeover was instructed in the rigid mode.Correct the program.210CAN NOT COMAND M198/M199M198 and M199 are executed in the schedule operation. M198 isexecuted in the DNC operation.211C...

  • Page 680

    B–61404E/08G. ALARM LISTAPPENDIX6632) Background edit alarmNumberMeaningContents and remedy???BACKGROUND EDIT ALARMBP/S alarm occurs in the same number as the P/S alarm that occurs inordinary program edit. (070, 071, 072, 073, 074 085,086,087 etc.)140SELECTED PROGRAM ALARMIt was attempted to ...

  • Page 681

    APPENDIXB–61404E/08G. ALARM LIST664The details of serial pulse coder alarm No. 3n9 are displayed in thediagnosis display (No. 760 to 767, 770 to 777) as shown below.#7760 to 767#6CSAL#5BLAL#4PHAL#3RCAL#2BZAL#1CKAL#0SPHLCSAL : The serial pulse coder is defective. Replace it.BLAL : The battery vo...

  • Page 682

    B–61404E/08G. ALARM LISTAPPENDIX665NumberContents and actionsMeaning405SERVO ALARM: ZERO POINT RETURN FAULTPosition control system fault. Due to an NC or servo system fault in thereference position return, there is the possibility that reference positionreturn could not be executed correctly. ...

  • Page 683

    APPENDIXB–61404E/08G. ALARM LIST666NOTEIf an excessive spindle error alarm occurs during rigid tapping, the relevant alarm number forthe tapping feed axis is displayed.The detailed descriptions of servo alarm number 414 are displayed withdiagnosis numbers 720 to 727 in the sequence of axis numb...

  • Page 684

    B–61404E/08G. ALARM LISTAPPENDIX6677) Over travel alarmsNumberMeaningContents and remedy5n0OVER TRAVEL : +nExceeded the n–th axis + side stored stroke limit 1, 2.5n1OVER TRAVEL : –nExceeded the n–th axis – side stored stroke limit 1, 2.5n2OVER TRAVEL : +nExceeded the n–th axis + side ...

  • Page 685

    APPENDIXB–61404E/08G. ALARM LIST668NumberDetails of PMC alarm (No. 607)070* Communication error (no response from the slave)080* Communication error (no response from the slave)090An NMI (for other than alarm codes 110 to 160) occurred.130* An SLC (master) RAM parity error occurred (detected by...

  • Page 686

    B–61404E/08G. ALARM LISTAPPENDIX669(These alarms cannot be reset with reset key.)NumberMeaningContents and remedy910MAIN RAM PARITYThis RAM parity error is related to low–order bytes. Replace thememory PC board.911MAIN RAM PARITYThis RAM parity error is related to high–order bytes. Replac...

  • Page 687

    APPENDIXB–61404E/08G. ALARM LIST67014) Alarms Displayed on spindle Servo UnitAlarmNo.MeaningDescriptionRemedy“A”displayProgram ROM abnormality(not installed)Detects that control program is not started (due toprogram ROM not installed, etc.)Install normal programROMAL01MotoroverheatDetects m...

  • Page 688

    B–61404E/08G. ALARM LISTAPPENDIX671AlarmNo.RemedyDescriptionMeaningAL–24Serial transfer data errorDetects serial transfer data error (such as NC powersupply turned off, etc.)Remove cause, then resetalarm.AL–25Serial data transfer stoppedDetects that serial data transfer has stopped.Remove c...

  • Page 689

    APPENDIXB–61404E/08G. ALARM LIST672AlarmNo.RemedyDescriptionMeaningAL–41Alarm for indicating failure indetecting position coder 1–ro-taion signal.Detects failure in detecting position coder 1–rotationsignal.Make signal adjustment forsignal conversion circuit.Check cable shield status.AL...

  • Page 690

    B–61404E/08H. OPERATION OF PORTABLETAPE READERAPPENDIX673H OPERATION OF PORTABLE TAPE READERPortable tape reader is the device which inputs the NC program and thedata on the paper tape to CNC.2. Opticalreader12. Photoamplifier13. Reader/punchinterface adapter11. Cable storage6. Handle3. Capstan...

  • Page 691

    APPENDIXB–61404E/08H. OPERATION OF PORTABLETAPE READER674Table H Description of each sectionNo.NameDescriptions1Light SourcesAn LED (Light emitting diode) is mounted for each channel and for the feed hole (9diodes in total). A built–in Stop Shoe functions to decelerate the tape. The light so...

  • Page 692

    B–61404E/08H. OPERATION OF PORTABLETAPE READERAPPENDIX675Table H Description of each sectionNo.DescriptionsName10Lowering lock leverWhen the tape reader is raised, the latch mechanism is activated to fix the tape reader.Thus, the tape reader is not lowered. The latch is locked with the loweri...

  • Page 693

    APPENDIXB–61404E/08H. OPERATION OF PORTABLETAPE READER67610Turn the switch to the RELEASE position.11Lift the Light Source and remove the tape.12Lower the Light Source13Store the cables in the cable storage 11.14Push the lowering lock lever 10 at both sides down.15Raise the tape reader with the...

  • Page 694

    B–61404E/08I. Series 0–D SPECIFICATIONSAPPENDIX677I Series 0–D SPECIFICATIONSf : BasicF : Basic optionl : option: : Function included in other optionControlled axisItemSpecification0–MDPackage 10–MDPackage 20–MDPackage 30–MD II0–GSDPackage 10–GSD IINumber of controlled axes3 axe...

  • Page 695

    APPENDIXB–61404E/08I. Series 0–D SPECIFICATIONS678OperationItemSpecification0–MDPackage 10–MDPackage 20–MDPackage 30–MD II0–GSDPackage 10–GSD IIAutomatic operation (Memory)ffffffDNC operationincluded inReader/puncherinterfaceffffffMDI operationffffffMDI operation B———f—fSc...

  • Page 696

    B–61404E/08I. Series 0–D SPECIFICATIONSAPPENDIX679Interpolation functionItemSpecification0–MDPackage 10–MDPackage 20–MDPackage 30–MD II0–GSDPackage 10–GSD IIPositioningG00ffffffSingle direction positioningG60ffffffExact stop modeG61ffffffExact stopG09ffffffLinear interpolationffff...

  • Page 697

    APPENDIXB–61404E/08I. Series 0–D SPECIFICATIONS680Item0–GSD II0–GSDPackage 10–MD II0–MDPackage 30–MDPackage 20–MDPackage 1SpecificationLinear acceleration /deceleration after cuttingfeed interpolation———f—fFeedrate override0 to 150%ffffffF1–digit feed———f—fJog o...

  • Page 698

    B–61404E/08I. Series 0–D SPECIFICATIONSAPPENDIX681Item0–GSD II0–GSDPackage 10–MD II0–MDPackage 30–MDPackage 20–MDPackage 1SpecificationOptional angle chamfering /corner R———f—fProgrammable data inputG10 (Programmableinput of offset)—fffffSub program calltwo–fold nested...

  • Page 699

    APPENDIXB–61404E/08I. Series 0–D SPECIFICATIONS682Miscellaneous function/spindle functionItemSpecification0–MDPackage 10–MDPackage 20–MDPackage 30–MD II0–GSDPackage 10–GSD IIAuxiliary functionM3 digitffffff2nd auxiliary functionB6 digitffff—fAuxiliary function lockffffffHigh spe...

  • Page 700

    B–61404E/08I. Series 0–D SPECIFICATIONSAPPENDIX683Editing operationItemSpecification0–MDPackage 10–MDPackage 20–MDPackage 30–MD II0–GSDPackage 10–GSD IIPart program storage length10m————f—120mff————320m——ff—fRegistered programs63 piecesfff—f—200 pieces...

  • Page 701

    APPENDIXB–61404E/08I. Series 0–D SPECIFICATIONS684Item0–GSD II0–GSDPackage 10–MD II0–MDPackage 30–MDPackage 20–MDPackage 1SpecificationJapanese (Chinesecharacters) display——ff—fGerman / French display——ff—fItalian display——ff—fChinese displayffffffSpanish display...

  • Page 702

    B–61404E/08J. CORRESPONDENCE BETWEEN ENGLISH KEY AND SYMBOLIC KEYAPPENDIX685JCORRESPONDENCE BETWEEN ENGLISH KEY ANDSYMBOLIC KEYTable J Correspondence between english key and symbolic key (Series 0)NameEnglish keySymbolic keyNameEnglish keySymbolic keyRESET keyRESETOPRATION/ALARM keyOPRALARMPAG...

  • Page 703

    IndexB–61404E/08i–1Number14″ CRT soft key configuration, 402AAbsolute and incremental programming (G90, G91), 94Actual feedrate display, 545Adding workpiece coordinate systems, 88Advanced preview control, 371Alarm and self–diagnosis functions, 464Alarm display, 389, 465Alarm list, 654Alte...

  • Page 704

    INDEXB–61404E/08i–2Deleting files, 490Deleting more than one program by specifying a range, 506Deleting multiple blocks, 503Deleting one program, 505Deleting programs, 505Details of cutter compensation C, 224Details of functions, 339Direct constant–dimension plunge grinding cycle (G77), 175...

  • Page 705

    INDEXB–61404E/08i–3Index table indexing function, 272Input command from MDI, 257Inputting a program, 474Inputting and outputting parameters and pitch errorcompensation data, 481Inputting custom macro B common variables, 483Inputting offset data, 479Inputting parameters, 481Inputting/outputtin...

  • Page 706

    INDEXB–61404E/08i–4Peek rigid tapping cycle (G84 or G74), 169Plane selection, 92Plunge grinding cycle (G75), 173Polar coordinate command (G15, G16), 95Portable tape reader, 407Position display in the relative coordinate system, 542Position display in the work coordinate system, 541Positioning...

  • Page 707

    INDEXB–61404E/08i–5Switch between cutter compensation left and cuttercompensation right, 214System variables, 301TTape code list, 631Tapping cycle (G84), 149Test operation, 450Testing a program, 382The second auxiliary functions (B codes), 117Tool compensation values, number of compensation v...

  • Page 708

    Revision RecordFANUC Series 0/00/0–Mate FOR MACHINING CENTER OPERATOR’S MANUAL (B–61404E)05Aug., ’94SAll pages are revised04Aug., ’92SAddition of common variable additionSAlterlation of RS–232–C/RS–422 InterfaceSAlterlation of ParametersSAlterlation of Error Code List08Jun., ’...

  • Page 709

    · No part of this manual may bereproduced in any form.· All specifications and designsare subject to change withoutnotice.

  • Page 710

    TECHNICAL REPORT NO.TMN 02/081E Date Aug. 21, 2002 General Manager of Software Development Center FANUC Series 16/18-MA/MB/MC FANUC Series 16i/18i/21i-MA/MB,18i-MB5 FANUC Series 0-M/0i-MA/21-MB/20i-FA Concerning the correction of Rigid tapping (G84) / Left-handed rigid tapping cycle (G74) ...

  • Page 711

    FANUC Series 0/00/0-Mate FOR MACHINING CENTER OPERATOR'S MANUAL Concerning the correction of Rigid tapping (G84) / Left-handed rigid tapping (G74) 1.Type of applied technical documents Name FANUC Series 0/00/0-Mate FOR MACHINING CENTER OPERATOR'S MANUAL Spec.No./Ed. B-61404E/08 2.Summary ...

  • Page 712

    2/2 PAGEEDT. DATE DESIGN DESCRIPTION TITLENo. FANUC Series 0/00/0-Mate-MC OPERATOR'S MANUAL Concerning the correction of Rigid tapping(G84) / Left-handed rigid tapping(G74) B-61404E/08-01 01 02.08.21 T.Inagaki Newly Registered Outline Descriptions are changed as follows. 1....

x