Navigation

  • Page 1

    OPERATOR’S MANUALB-63504EN/01

  • Page 2

    No part of this manual may be reproduced in any form.All specifications and designs are subject to change without notice.In this manual we have tried as much as possible to describe all thevarious matters.However, we cannot describe all the matters which must not be done,or which cannot be done, ...

  • 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–63504EN/01s–21 DEFINITION OF WARNING, CAUTION, AND NOTEThis manual includes safety precautions for protecting the user and preventing damage to themachine. Precautions are classified into Warning and Caution according to their bearing on safety.Also, supplementary informa...

  • Page 5

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

  • Page 6

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

  • Page 7

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

  • Page 8

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

  • Page 9

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

  • Page 10

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

  • Page 11

    B–63504EN/01SAFETY PRECAUTIONSs–95 WARNINGS RELATED TO DAILY MAINTENANCEWARNING1. Memory backup battery replacementOnly those personnel who have received approved safety and maintenance training may performthis work.When replacing the batteries, be careful not to touch the high–voltage circ...

  • Page 12

    SAFETY PRECAUTIONSB–63504EN/01s–10WARNING2. Absolute pulse coder battery replacementOnly those personnel who have received approved safety and maintenance training may performthis work.When replacing the batteries, be careful not to touch the high–voltage circuits (marked andfitted with an...

  • Page 13

    B–63504EN/01SAFETY 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 replac...

  • Page 14

  • Page 15

    B–63504EN/01Table of Contentsc–1SAFETY PRECAUTIONSs–1. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . I. GENERAL1. GENERAL3. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . ...

  • Page 16

    B–63504EN/01Table of Contentsc–25. FEED FUNCTIONS68. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5.1GENERAL69. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . ...

  • Page 17

    B–63504EN/01Table of Contentsc–312.PROGRAM CONFIGURATION120. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12.1PROGRAM COMPONENTS OTHER THAN PROGRAM SECTIONS122. . . . . . . . . . . . . . . . . . . . . 12.2PROGRAM SECTION CONFIGURATION125. . . . . . . . . ....

  • Page 18

    B–63504EN/01Table of Contentsc–414.3.9G53, G28, and G30 Commands in Tool–tip Radius Compensation Mode233. . . . . . . . . . . . . . . . . . . . . . 14.4TOOL COMPENSATION VALUES, NUMBER OF COMPENSATION VALUES, AND ENTERING VALUES FROM THE PROGRAM (G10)242. . . . . . . . . . . . . . . . . . ....

  • Page 19

    B–63504EN/01Table of Contentsc–519.1DISPLAYING THE PATTERN MENU324. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19.2PATTERN DATA DISPLAY328. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . ...

  • Page 20

    B–63504EN/01Table of Contentsc–63.5MANUAL ABSOLUTE ON AND OFF395. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4. AUTOMATIC OPERATION400. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4.1MEMORY OPERATIO...

  • Page 21

    B–63504EN/01Table of Contentsc–78.7INPUTTING / OUTPUTTING CUSTOM MACRO COMMON VARIABLES473. . . . . . . . . . . . . . . . 8.7.1Inputting Custom Macro Common Variables473. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8.7.2Outputting Custom Macro Common ...

  • Page 22

    B–63504EN/01Table of Contentsc–811.SETTING AND DISPLAYING DATA540. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11.1SCREENS DISPLAYED BY FUNCTION KEY POS548. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11.1.1Position Display in the Workpiece ...

  • Page 23

    B–63504EN/01Table of Contentsc–912.GRAPHICS FUNCTION613. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12.1GRAPHICS DISPLAY614. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . ....

  • Page 24

  • Page 25

    I. GENERAL

  • Page 26

  • Page 27

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

  • Page 28

    GENERAL1. GENERALB–63504EN/014The table below lists manuals related to MODEL A of Series 0i.In the table, this manual is marked with an asterisk (*).Table 1 Related ManualsManual nameSpecificationnumberDESCRIPTIONSB–63502ENCONNECTION MANUAL (HARDWARE)B–63503ENCONNECTION MANUAL (FUNCTION)B...

  • Page 29

    GENERALB–63504EN/011. GENERAL5Related manuals of SERVO MOTOR α series, β seriesManual nameSpecificationnumberFANUC AC SERVO MOTOR α series DESCRIPTIONSB–65142EFANUC AC SERVO MOTOR α series PARAMETERMANUALB–65150EFANUC AC SPINDLE MOTOR α series DESCRIPTIONSB–65152EFANUC AC SPINDLE MOT...

  • Page 30

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

  • Page 31

    GENERALB–63504EN/011. GENERAL7WorkpieceOuter diameter cuttingEnd face cuttingGroovingPrepare the program of the tool path and cutting condition according tothe workpiece figure, for each cutting.

  • Page 32

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

  • Page 33

    II. PROGRAMMING

  • Page 34

  • Page 35

    PROGRAMMINGB–63504EN/011. GENERAL111 GENERAL

  • Page 36

    PROGRAMMING1. GENERALB–63504EN/0112The tool moves along straight lines and arcs constituting the workpieceparts figure (See II–4).ProgramG01 Z...;ToolZXWorkpieceFig.1.1 (a) Tool movement along the straight line which is parallel to Z–axisProgramG01 X ... Z... ;ToolZXWorkpieceFig.1.1 (b) ...

  • Page 37

    PROGRAMMINGB–63504EN/011. GENERAL13The term interpolation refers to an operation in which the tool movesalong a straight line or arc in the way described above.Symbols of the programmed commands G01, G02, ... are called thepreparatory function and specify the type of interpolation conducted int...

  • Page 38

    PROGRAMMING1. GENERALB–63504EN/0114ProgramG32X––Z––F––;ZFXToolWorkpieceFig. 1.1 (f) Taper thread cutting

  • Page 39

    PROGRAMMINGB–63504EN/011. GENERAL15Movement of the tool at a specified speed for cutting a workpiece is calledthe feed.ToolWorkpieceChuckFig. 1.2 (a) Feed functionFeedrates can be specified by using actual numerics. For example, the following command can be used to feed the tool 2 mmwhile the ...

  • Page 40

    PROGRAMMING1. GENERALB–63504EN/0116A 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.ReferencepositionTool postChuckFig. 1.3.1 (a) Re...

  • Page 41

    PROGRAMMINGB–63504EN/011. GENERAL17CNCXZXZXZPart drawingProgramCoordinate systemCommandWorkpieceMachine toolFig. 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 written o...

  • Page 42

    PROGRAMMING1. GENERALB–63504EN/0118The tool moves on the coordinate system specified by the CNC inaccordance with the command program generated with respect to thecoordinate system on the part drawing, and cuts a workpiece into a shapeon the drawing.Therefore, in order to correctly cut the work...

  • Page 43

    PROGRAMMINGB–63504EN/011. GENERAL192. When coordinate zero point is set at work end face.XZ60303080100WorkpieceFig. 1.3.2 (e) Coordinates and dimensions on part drawingXZWorkpieceFig. 1.3.2 (f) Coordinate system on lathe as specified by CNC(made to coincide with the coordinate system on part...

  • Page 44

    PROGRAMMING1. GENERALB–63504EN/0120Methods of command for moving the tool can be indicated by absoluteor 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.ToolCommand sp...

  • Page 45

    PROGRAMMINGB–63504EN/011. GENERAL21Specify the distance from the previous tool position to the next toolposition.Distance and direction for movement along each axisToolCommand specifying movement from point A to point Bφ30ABX40φ60U–30.0W–40.0ZFig. 1.3.3 (b) Incremental commandDimensions ...

  • Page 46

    PROGRAMMING1. GENERALB–63504EN/01222. Radius programmingIn radius programming, specify the distance from the center of theworkpiece, i.e. the radius value as the value of the X axis.A(15.0, 80.0), B(20.0, 60.0)Coordinate values of points A and BZX6080AB2015WorkpieceFig. 1.3.3 (d) Radius progr...

  • Page 47

    PROGRAMMINGB–63504EN/011. GENERAL23The 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.ToolV: Cutting speedφDN rpmWorkpiecev m/minFig. 1.4 Cutting speed<...

  • Page 48

    PROGRAMMING1. GENERALB–63504EN/0124When 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.Tool number010602050403Tool postFig...

  • Page 49

    PROGRAMMINGB–63504EN/011. GENERAL25When machining is actually started, it is necessary to rotate the spindle,and feed coolant. For this purpose, on–off operations of spindle motor andcoolant valve should be controlled (See II–11).WorkpieceChuck open/closeCoolant on/offCW spindle rotationFig...

  • Page 50

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

  • Page 51

    PROGRAMMINGB–63504EN/011. GENERAL27The block and the program have the following configurations. N fffffG ffXff.f Zfff.fM ffS ffT ff ;1 blockSequencenumberPreparatoryfunctionDimension wordMiscel-laneousfunctionSpindlefunctionToolfunc-tionEnd ofblockFig. 1.7 (b) Block configurationA block begi...

  • Page 52

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

  • Page 53

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

  • Page 54

    PROGRAMMING1. GENERALB–63504EN/0130Limit 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. Besides the stroke limits, data in memory canbe used to define an area which tools cannot e...

  • Page 55

    PROGRAMMINGB–63504EN/012. CONTROLLED AXES312 CONTROLLED AXES

  • Page 56

    PROGRAMMING2. CONTROLLED AXESB–63504EN/0132Item0i–TANumber of basic controlled axes2 axesControlled axis expansion (total)Max. 4 axes(Included in Cs axis)Number of basic simultaneously controlled axes2 axesSimultaneously controlled axis expansion (total)Max. 4 axesCAUTIONThe number of simulta...

  • Page 57

    PROGRAMMINGB–63504EN/012. CONTROLLED AXES33The names of two basic axes are always X and Z; the names of additionalaxes can be optionally selected from A, B, C, U, V, W, and Y by usingparameter No.1020.Each axis name is determined according to parameter No. 1020. If theparameter specifies 0 or...

  • Page 58

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

  • Page 59

    PROGRAMMINGB–63504EN/012. CONTROLLED AXES35The maximum stroke controlled by this CNC is shown in the table below:Maximum stroke+Least command increment "99999999.Table 2.4 Maximum strokesIncrement systemMaximum strokesMetric machine system"99999.999 mm"99999.999 degIS–BInch ma...

  • Page 60

    PROGRAMMING3. PREPARATORY FUNCTION(G FUNCTION)B–63504EN/01363 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 t...

  • Page 61

    PROGRAMMINGB–63504EN/013. PREPARATORY FUNCTION(G FUNCTION)371. If the CNC enters the clear state (see bit 6 (CLR) of parameter 3402)when the power is turned on or the CNC is reset, the modal G codeschange as follows.(1) G codes marked with in Table 3 are enabled.(2) When the system is cleared ...

  • Page 62

    PROGRAMMING3. PREPARATORY FUNCTION(G FUNCTION)B–63504EN/0138Table 3 G code list (1/2)G codeABCGroupFunctionG00G00G00Positioning (Rapid traverse)G01G01G01Linear interpolation (Cutting feed)G02G02G0201Circular interpolation CWG03G03G03Circular interpolation CCWG04G04G04DwellG07.1(G107)G07.1(G107...

  • Page 63

    PROGRAMMINGB–63504EN/013. PREPARATORY FUNCTION(G FUNCTION)39Table 3 G code list (2/2)G codeABCGroupFunctionG54G54G54Workpiece coordinate system 1 selectionG55G55G55Workpiece coordinate system 2 selectionG56G56G5614Workpiece coordinate system 3 selectionG57G57G5714Workpiece coordinate system 4 ...

  • Page 64

    PROGRAMMING4. INTERPOLATION FUNCTIONSB–63504EN/01404 INTERPOLATION FUNCTIONS

  • Page 65

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

  • Page 66

    PROGRAMMING4. INTERPOLATION FUNCTIONSB–63504EN/0142< Radius programming >G00X40.0Z56.0 ; (Absolute command)orG00U–60.0W–30.5;(Incremental command)Z56.0ÎÎÎÎÎÎÎÎÎ30.530.0φ40.0XThe rapid traverse rate cannot be specified in the address F.Even if linear interpolation positioning...

  • Page 67

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

  • Page 68

    PROGRAMMING4. INTERPOLATION FUNCTIONSB–63504EN/0144The 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_F_R_Table 4.3 Description of the Command FormatCommandDescr...

  • Page 69

    PROGRAMMINGB–63504EN/014. INTERPOLATION FUNCTIONS45NOTEThe U–, V–, and W–axes (parallel with the basic axis) canbe used with G–codes B and C.“Clockwise” (G02) and “counterclockwise” (G03) on the XpYp plane(ZpXp plane or YpZp plane) are defined when the XpYp plane is viewedin the...

  • Page 70

    PROGRAMMING4. INTERPOLATION FUNCTIONSB–63504EN/0146The 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. An...

  • Page 71

    PROGRAMMINGB–63504EN/014. INTERPOLATION FUNCTIONS47NOTE1 Specifying an arc center with addresses I, K, and JWhen the distance from the arc start point to the arc centeris specified with addresses I, K, and J, a P/S alarm (No.5059) is issued if:Example: When IS–B and metric input are selected,...

  • Page 72

    PROGRAMMING4. INTERPOLATION FUNCTIONSB–63504EN/0148XZKXKZZRG02X_Z_I_K_F_;G03X_Z_I_K_F_;G02X_Z_R_F_;X–axisEnd pointX–axisX–axisEnd pointCenter of arcCenter of arcStart pointStart point(Diameter programming)(Diameter programming)(Diameter programming)(Absolute programming)(Absolute program...

  • Page 73

    PROGRAMMINGB–63504EN/014. INTERPOLATION FUNCTIONS49Polar coordinate interpolation is a function that exercises contour controlin converting a command programmed in a Cartesian coordinate systemto the movement of a linear axis (movement of a tool) and the movementof a rotary axis (rotation of a ...

  • Page 74

    PROGRAMMING4. INTERPOLATION FUNCTIONSB–63504EN/0150In the polar coordinate interpolation mode, program commands arespecified with Cartesian coordinates on the polar coordinate interpolationplane. The axis address for the rotation axis is used as the axis addressfor the second axis (virtual axi...

  • Page 75

    PROGRAMMINGB–63504EN/014. INTERPOLATION FUNCTIONS51Before G12.1 is specified, a workpiece coordinate system) where thecenter of the rotary axis is the origin of the coordinate system must be set.In the G12.1 mode, the coordinate system must not be changed (G92,G52, G53, relative coordinate rese...

  • Page 76

    PROGRAMMING4. INTERPOLATION FUNCTIONSB–63504EN/0152Example of Polar Coordinate Interpolation Program Based on X Axis(Linear Axis) and C Axis (Rotary Axis)C′ (hypothetical axis)C axisPath after tool nose radius compensationProgram pathN204N205N206N203N202N201N208N207X axisZ axisN200ToolO0001 ;...

  • Page 77

    PROGRAMMINGB–63504EN/014. INTERPOLATION FUNCTIONS53The amount of travel of a rotary axis specified by an angle is onceinternally converted to a distance of a linear axis along the outer surfaceso that linear interpolation or circular interpolation can be performed withanother axis. After inter...

  • Page 78

    PROGRAMMING4. INTERPOLATION FUNCTIONSB–63504EN/0154In the cylindrical interpolation mode, circular interpolation is possiblewith the rotation axis and another linear axis. Radius R is used incommands in the same way as described in Section 4.4. The unit for a radius is not degrees but millime...

  • Page 79

    PROGRAMMINGB–63504EN/014. INTERPOLATION FUNCTIONS55In the cylindrical interpolation mode, positioning operations (includingthose that produce rapid traverse cycles such as G28, G80 through G89)cannot be specified. Before positioning can be specified, the cylindricalinterpolation mode must be c...

  • Page 80

    PROGRAMMING4. INTERPOLATION FUNCTIONSB–63504EN/0156Tapered screws and scroll threads in addition to equal lead straight threadscan be cut by using a G32 command.The spindle speed is read from the position coder on the spindle in realtime and converted to a cutting feedrate for feed–per minute...

  • Page 81

    PROGRAMMINGB–63504EN/014. INTERPOLATION FUNCTIONS57XLXαLZZαx45° lead is LZαy45° lead is LXTapered threadFig. 4.6 (e) LZ and LX of a Tapered ThreadIn general, the lag of the servo system, etc. will produce somewhatincorrect leads at the starting and ending points of a thread cut. Tocompen...

  • Page 82

    PROGRAMMING4. INTERPOLATION FUNCTIONSB–63504EN/0158Z axisX axis30mm70The following values are used in programming :Thread lead :4mmδ1=3mmδ2=1.5mmDepth of cut :1mm (cut twice) (Metric input, Diameter programming)G00U–62.0 ;G32W–74.5 F4.0 ;G00U62.0 ;W74.5 ; U–64.0 ;(For the second cut, ...

  • Page 83

    PROGRAMMINGB–63504EN/014. INTERPOLATION FUNCTIONS59WARNING1 Feedrate override is effective (fixed at 100%) during thread cutting.2 It is very dangerous to stop feeding the thread cutter without stopping the spindle. This willsuddenly increase the cutting depth. Thus, the feed hold function is...

  • Page 84

    PROGRAMMING4. INTERPOLATION FUNCTIONSB–63504EN/0160Specifying an increment or a decrement value for a lead per screwrevolution enables variable–lead thread cutting to be performed.Fig. 4.7 Variable–lead screwG34 IP_F_K_;IP : End pointF : Lead in longitudinal axis direction at the start poi...

  • Page 85

    PROGRAMMINGB–63504EN/014. INTERPOLATION FUNCTIONS61This function for continuous thread cutting is such that fractional pulsesoutput to a joint between move blocks are overlapped with the next movefor pulse processing and output (block overlap) . Therefore, discontinuous machining sections caus...

  • Page 86

    PROGRAMMING4. INTERPOLATION FUNCTIONSB–63504EN/0162Using the Q address to specify an angle between the one–spindle–rotationsignal and the start of threading shifts the threading start angle, makingit possible to produce multiple–thread screws with ease.Multiple–thread screws.IP_ : End p...

  • Page 87

    PROGRAMMINGB–63504EN/014. INTERPOLATION FUNCTIONS63Program for producing double–threaded screws (with start angles of 0 and 180 degrees)G00 X40.0 ;G32 W–38.0 F4.0 Q0 ;G00 X72.0 ;W38.0 ;X40.0 ;G32 W–38.0 F4.0 Q180000 ;G00 X72.0 ;W38.0 ;Examples

  • Page 88

    PROGRAMMING4. INTERPOLATION FUNCTIONSB–63504EN/0164Linear interpolation can be commanded by specifying axial movefollowing the G31 command, like G01. If an external skip signal is inputduring the execution of this command, execution of the command isinterrupted and the next block is executed.T...

  • Page 89

    PROGRAMMINGB–63504EN/014. INTERPOLATION FUNCTIONS65G31W100.0 F100;U50.0;50.0100.0Skip signal is input hereActual motionMotion without skip signalXZFig.4.10 (a) The next block is an incremental command G31Z200.00 F100;X100.0;X100.0Z200.0Skip signal is input hereActual motionMotion without skip ...

  • Page 90

    PROGRAMMING4. INTERPOLATION FUNCTIONSB–63504EN/0166With the motor torque limited (for example, by a torque limit command,issued through the PMC window), a move command following G31 P99(or G31 P98) can cause the same type of cutting feed as with G01 (linearinterpolation).With the issue of a sig...

  • Page 91

    PROGRAMMINGB–63504EN/014. INTERPOLATION FUNCTIONS67G31 P99/98 cannot be used for axes subject to simplifiedsynchronization.Bit 7 (SKF) of parameter No. 6200 must be set to disable dry run,override, and auto acceleration or deceleration for G31 skip commands.Do not use G31 P99/98 in consecutive ...

  • Page 92

    PROGRAMMING5. FEED FUNCTIONSB–63504EN/01685 FEED FUNCTIONS

  • Page 93

    PROGRAMMINGB–63504EN/015. FEED FUNCTIONS69The 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 at!arapid traverse feedrate set in the CNC (parameter No. 1420).2. Cutti...

  • Page 94

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

  • Page 95

    PROGRAMMINGB–63504EN/015. FEED FUNCTIONS71G00 IP_ ;G00 : G code (group 01) for positioning (rapid traverse)IP_ ; 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...

  • Page 96

    PROGRAMMING5. FEED FUNCTIONSB–63504EN/0172Feedrate 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.Two modes of specifi...

  • Page 97

    PROGRAMMINGB–63504EN/015. FEED FUNCTIONS73Feed amount per minute(mm/min or inch/min)FFig. 5.3 (b) Feed per minuteWARNINGNo override can be used for some commands such as forthreading.After specifying G99 (in the feed per revolution mode), the amount offeed of the tool per spindle revolution is...

  • Page 98

    PROGRAMMING5. FEED FUNCTIONSB–63504EN/0174NOTEAn upper limit is set in mm/min or inch/min. CNC calculationmay involve a feedrate error of "2% with respect to aspecified value. However, this is not true foracceleration/deceleration. To be more specific, this error iscalculated with respe...

  • Page 99

    PROGRAMMINGB–63504EN/015. FEED FUNCTIONS75DwellG04 X_ ; or G04 U_ ; or G04 P_ ; X_ : Specify a time (decimal point permitted) U_ : 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 thesp...

  • Page 100

    PROGRAMMING6. REFERENCE POSITIONB–63504EN/01766 REFERENCE POSITIONA CNC machine tool has a special position where, generally, the tool isexchanged or the coordinate system is set, as described later. Thisposition is referred to as a reference position.

  • Page 101

    PROGRAMMINGB–63504EN/016. REFERENCE POSITION77The 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 changed. Up to fou...

  • Page 102

    PROGRAMMING6. REFERENCE POSITIONB–63504EN/0178Tools are automatically moved to the reference position via anintermediate position along a specified axis. When reference positionreturn is completed, the lamp for indicating the completion of return goeson.XZIntermediate positionReference positio...

  • Page 103

    PROGRAMMINGB–63504EN/016. REFERENCE POSITION79Positioning to the intermediate or reference positions are performed at therapid traverse rate of each axis.Therefore, for safety, the tool nose radius compensation, and tool offsetshould be cancelled before executing this command.In a system withou...

  • Page 104

    PROGRAMMING7. COORDINATE SYSTEMB–63504EN/01807 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 two program axes, the...

  • Page 105

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

  • Page 106

    PROGRAMMING7. COORDINATE SYSTEMB–63504EN/0182A 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 coordina...

  • Page 107

    PROGRAMMINGB–63504EN/017. COORDINATE SYSTEM83Setting the coordinate system by theG50X128.7Z375.1; command (Diameter designation)Setting the coordinate system by the G50X1200.0Z700.0; command (Diameter designation)Base pointExample 1Example 2ÎÎÎÎÎÎÎÎÎZX375.1φ128.7ÎÎÎÎÎÎZX700.0φ...

  • Page 108

    PROGRAMMING7. COORDINATE SYSTEMB–63504EN/0184The user can choose from set workpiece coordinate systems as describedbelow. (For information about the methods of setting, see Subsec.II–7.2.1.)(1) G50 or automatic workpiece coordinate system settingOnce a workpiece coordinate system is selected...

  • Page 109

    PROGRAMMINGB–63504EN/017. COORDINATE SYSTEM85The 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. Three methods are available to change an external workpiece zero pointoffset ...

  • Page 110

    PROGRAMMING7. COORDINATE SYSTEMB–63504EN/0186With the G10 command, each workpiece coordinate system can bechanged separately.By specifying G50IP_;, a workpiece coordinate system (selected with acode from G54 to G59) is shifted to set a new workpiece coordinatesystem so that the current tool pos...

  • Page 111

    PROGRAMMINGB–63504EN/017. COORDINATE SYSTEM87The workpiece coordinate system preset function presets a workpiececoordinate system shifted by manual intervention to the pre–shiftworkpiece coordinate system. The latter system is displaced from themachine zero point by a workpiece zero point of...

  • Page 112

    PROGRAMMING7. COORDINATE SYSTEMB–63504EN/0188In the case of (a) above, the workpiece coordinate system is shifted by theamount of movement during manual intervention.PoPnWZnWZoG54 workpiece coordinate system before manual interventionWorkpiece zeropoint offset valueG54 workpiece coordinatesyste...

  • Page 113

    PROGRAMMINGB–63504EN/017. COORDINATE SYSTEM89When the coordinate system actually set by the G50 command or theautomatic system setting deviates from the programmed work system, theset coordinate system can be shifted (see III–3.1).Set the desired shift amount in the work coordinate system shi...

  • Page 114

    PROGRAMMING7. COORDINATE SYSTEMB–63504EN/0190When 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.G52 IP _; Setting the local coordinate syste...

  • Page 115

    PROGRAMMINGB–63504EN/017. COORDINATE SYSTEM91WARNING1 The local coordinate system setting does not change theworkpiece and machine coordinate systems.2 When G50 is used to define a work coordinate system, ifcoordinates are not specified for all axes of a localcoordinate system, the local coordi...

  • Page 116

    PROGRAMMING7. COORDINATE SYSTEMB–63504EN/0192Select the planes for circular interpolation, tool nose radiuscompensation, and drilling 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–...

  • Page 117

    PROGRAMMINGB–63504EN/018. COORDINATE VALUEAND DIMENSION938 COORDINATE VALUE AND DIMENSIONThis chapter contains the following topics.8.1 ABSOLUTE AND INCREMENTAL PROGRAMMING (G90, G91)8.2 INCH/METRIC CONVERSION (G20, G21)8.3 DECIMAL POINT PROGRAMMING8.4 DIAMETER AND RADIUS PROGRAMMING

  • Page 118

    PROGRAMMING8. COORDINATE VALUEAND DIMENSIONB–63504EN/0194There are two ways to command travels of the tool; the absolutecommand, and the incremental command. In the absolute command,coordinate value of the end position is programmed; in the incrementalcommand, move distance of the position its...

  • Page 119

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

  • Page 120

    PROGRAMMING8. COORDINATE VALUEAND DIMENSIONB–63504EN/0196Numerical 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, R, and F.There ar...

  • Page 121

    PROGRAMMINGB–63504EN/018. COORDINATE VALUEAND DIMENSION97Since the work cross section is usually circular in CNC lathe controlprogramming, its dimensions can be specified in two ways :Diameter and RadiusWhen the diameter is specified, it is called diameter programming andwhen the radius is spec...

  • Page 122

    PROGRAMMING9. SPINDLE SPEED FUNCTIONB–63504EN/01989 SPINDLE SPEED FUNCTIONThe spindle speed can be controlled by specifying a value followingaddress S.In addition, the spindle can be rotated by a specified angle.This chapter contains the following topics.9.1 SPECIFYING THE SPINDLE SPEED WITH A ...

  • Page 123

    PROGRAMMINGB–63504EN/019. SPINDLE SPEED FUNCTION99Specifying a value following address S sends code and strobe signals tothe machine. On the machine, the signals are used to control the spindlespeed. A block can contain only one S code. Refer to the appropriatemanual provided by the machine ...

  • Page 124

    PROGRAMMING9. SPINDLE SPEED FUNCTIONB–63504EN/01100G96 (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 G97 command cancels ...

  • Page 125

    PROGRAMMINGB–63504EN/019. SPINDLE SPEED FUNCTION101G96 modeG97 modeSpecify the surface speed in m/min (or feet/min)G97 commandStore the surface speed in m/min (or feet/min)Command forthe spindlespeedSpecifiedThe specifiedspindle speed(rpm) is usedNot specifiedThe surface speed (m/min orfeet/min...

  • Page 126

    PROGRAMMING9. SPINDLE SPEED FUNCTIONB–63504EN/01102In a rapid traverse block specified by G00, the constant surface speedcontrol is not made by calculating the surface speed to a transient changeof the tool position, but is made by calculating the surface speed based onthe position at the end p...

  • Page 127

    PROGRAMMINGB–63504EN/019. SPINDLE SPEED FUNCTION103With this function, an overheat alarm (No. 704) is raised when the spindlespeed deviates from the specified speed due to machine conditions.This function is useful, for example, for preventing the seizure of theguide bushing.G26 enables spindle...

  • Page 128

    PROGRAMMING9. SPINDLE SPEED FUNCTIONB–63504EN/01104The fluctuation of the spindle speed is detected as follows:1. When an alarm is issued after a specified spindle speed is reachedSpindle speedCheckCheckNo checkrrqqddSpecification of another speedStart of checkAlarmTimeSpecified speedActual spe...

  • Page 129

    PROGRAMMINGB–63504EN/019. SPINDLE SPEED FUNCTION105NOTE1 When an alarm is issued in automatic operation, a singleblock stop occurs. The spindle overheat alarm is indicatedon the CRT screen, and the alarm signal “SPAL” is output(set to 1 for the presence of an alarm). This signal is cleare...

  • Page 130

    PROGRAMMING9. SPINDLE SPEED FUNCTIONB–63504EN/01106In turning, the spindle connected to the spindle motor is rotated at a certainspeed to rotate the workpiece mounted on the spindle. The spindlepositioning function turns the spindle connected to the spindle motor bya certain angle to position ...

  • Page 131

    PROGRAMMINGB–63504EN/019. SPINDLE SPEED FUNCTION107Specify the position using address C or H followed by a signed numericvalue or numeric values. Addresses C and H must be specified in the G00mode.(Example) C–1000H4500The end point must be specified with a distance from the programreference ...

  • Page 132

    PROGRAMMING9. SPINDLE SPEED FUNCTIONB–63504EN/01108The feedrate during positioning equals the rapid traverse speed specifiedin parameter No. 1420. Linear acceleration/deceleration is performed.For the specified speed, an override of 100%, 50%, 25%, and F0(parameter No. 1421) can be applied.The...

  • Page 133

    PROGRAMMINGB–63504EN/0110. TOOL FUNCTION (T FUNCTION)10910 TOOL FUNCTION (T FUNCTION)Two tool functions are available. One is the tool selection function, andthe other is the tool life management function.

  • Page 134

    PROGRAMMING10. TOOL FUNCTION (T FUNCTION)B–63504EN/01110By specifying a 2–digit/4–digit numerical value following address T, acode signal and a strobe signal are transmitted to the machine tool. Thisis mainly used to select tools on the machine.One T code can be commanded in a block. Refe...

  • Page 135

    PROGRAMMINGB–63504EN/0110. TOOL FUNCTION (T FUNCTION)111Tools are classified into some groups. For each group, a tool life (timeor frequency of use) is specified. Each time a tool is used, the time forwhich the tool is used is accumulated. When the tool life has beenreached, the next tool p...

  • Page 136

    PROGRAMMING10. TOOL FUNCTION (T FUNCTION)B–63504EN/01112A tool life is specified either as the time of use (in minutes) or thefrequency of use, which depends on the parameter setting parameter No.6800#2 (LTM) .Up to 4300 minutes in time or 9999 times in frequency can be specifiedfor a tool life...

  • Page 137

    PROGRAMMINGB–63504EN/0110. TOOL FUNCTION (T FUNCTION)113O0001 ;G10L3 ;P001L0150 ;T0011 ;T0132 ;T0068 ;P002L1400 ;T0061;T0241 ;T0134;T0074;P003L0700 ;T0012;T0202 ;G11 ;M02 ;Data of group 1Data of group 2Data of group 3The group numbers specified in P need not be serial. They need not beassigned...

  • Page 138

    PROGRAMMING10. TOOL FUNCTION (T FUNCTION)B–63504EN/01114Between T∆∆99(∆∆=Tool group number) and T∆∆88 in a machiningprogram, the time for which the tool is used in the cutting mode is countedat intervals of 4 seconds. The time taken for single–block stoppage, feedhold, rapid trav...

  • Page 139

    PROGRAMMINGB–63504EN/0110. TOOL FUNCTION (T FUNCTION)115In machining programs, T codes are used to specify tool groups asfollows:Tape formatMeaningTnn99;Ends the tool used by now, and starts to use the tool of the ∆∆group. “99” distinguishes this specification from ordinary specificatio...

  • Page 140

    PROGRAMMING11. AUXILIARY FUNCTIONB–63504EN/0111611 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).When a move command and miscellaneous func...

  • Page 141

    PROGRAMMING11. AUXILIARY FUNCTIONB–63504EN/01117When address M followed by a number is specified, a code signal andstrobe signal are transmitted. These signals are used for turning on/off thepower to the machine.In general, only one M code is valid in a block but up to three M codescan be spec...

  • Page 142

    PROGRAMMING11. AUXILIARY FUNCTIONB–63504EN/01118So far, one block has been able to contain only one M code. Up to threeM codes can be specified in a single block when bit 7 (M3B) of parameterNo. 3404 is set to 1.Up to three M codes specified in a block are simultaneously output to themachine. ...

  • Page 143

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

  • Page 144

    PROGRAMMING12. PROGRAM CONFIGURATIONB–63504EN/0112012 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 145

    PROGRAMMINGB–63504EN/0112. PROGRAM CONFIGURATION121A 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 s...

  • Page 146

    PROGRAMMING12. PROGRAM CONFIGURATIONB–63504EN/01122This section describes program components other than program sections.See Section II–12.2 for a program section.Fig. 12.1 Program configurationThe tape start indicates the start of a file that contains CNC programs.The mark is not required w...

  • Page 147

    PROGRAMMINGB–63504EN/0112. PROGRAM CONFIGURATION123NOTEIf 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 %.An...

  • Page 148

    PROGRAMMING12. PROGRAM CONFIGURATIONB–63504EN/01124A tape end is to be placed at the end of a file containing NC programs.If programs are entered using the automatic programming system, themark need not be entered. The mark is not displayed on the CRT displayscreen. However, when a file is ou...

  • Page 149

    PROGRAMMINGB–63504EN/0112. PROGRAM CONFIGURATION125This section describes elements of a program section. See Section II–12.1for program components other than program sections.%(COMMENT)%TITLE ;O0001 ;N1 … ;M30 ;Program sectionProgram numberSequence numberProgram endFig. 12.2 (a) Program c...

  • Page 150

    PROGRAMMING12. PROGRAM CONFIGURATIONB–63504EN/01126A program consists of several commands. One command unit is calleda block. One block is separated from another with an EOB of end of blockcode.Table 12.2 (a) EOB codeNameISOcodeEIAcodeNotation in thismanualEnd of block (EOB)LFCR;At the head ...

  • Page 151

    PROGRAMMINGB–63504EN/0112. PROGRAM CONFIGURATION127A 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 t...

  • Page 152

    PROGRAMMING12. PROGRAM CONFIGURATIONB–63504EN/01128Major 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 ...

  • Page 153

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

  • Page 154

    PROGRAMMING12. PROGRAM CONFIGURATIONB–63504EN/01130The end of a program is indicated by punching one of the following codesat the end of the program:Table 12.2 (d) Code of a program endCodeMeaning usageM02For main programM30M99For subprogramIf one of the program end codes is executed in progra...

  • Page 155

    PROGRAMMINGB–63504EN/0112. PROGRAM CONFIGURATION131If a program contains a fixed sequence or frequently repeated pattern, sucha sequence or pattern can be stored as a subprogram in memory to simplifythe program.A subprogram can be called from the main program. A called subprogram can also call ...

  • Page 156

    PROGRAMMING12. PROGRAM CONFIGURATIONB–63504EN/01132NOTE1 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 X1000.0 M98 P1200 ;l Execution sequence of subprograms called from a ...

  • Page 157

    PROGRAMMINGB–63504EN/0112. PROGRAM CONFIGURATION133If 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 exe...

  • Page 158

    PROGRAMMING13. FUNCTIONS TO SIMPLIFYPROGRAMMINGB–63504EN/0113413 FUNCTIONS TO SIMPLIFY PROGRAMMINGThis chapter explains the following items:13.1 CANNED CYCLE (G90, G92, G94)13.2 MULTIPLE REPETITIVE CYCLE (G70–G76)13.3 CANNED CYCLE FOR DRILLING (G80–G89)13.4 DIRECT DRAWING DIMENSIONS PROGRAM...

  • Page 159

    PROGRAMMINGB–63504EN/0113. FUNCTIONS TO SIMPLIFY PROGRAMMING135There are three canned cycles : the outer diameter/internal diametercutting canned cycle (G90), the thread cutting canned cycle (G92), and theend face turning canned cycle (G94).U/23(F)G90X (U)__Z (W)__F__ ;X/2X axisZ axis2(F)R…...

  • Page 160

    PROGRAMMING13. FUNCTIONS TO SIMPLIFYPROGRAMMINGB–63504EN/01136G90X(U)__ Z(W)__ R__ F__ ;X axisR2(F)R…Rapid traverseF…Specified by F code3(F)X/24(R)ZU/21(R)WZ axisFig. 13.1.1 (b) Taper Cutting CycleIn incremental programming, the relationship between the signs of thenumbers following addres...

  • Page 161

    PROGRAMMINGB–63504EN/0113. FUNCTIONS TO SIMPLIFY PROGRAMMING137G92X(U)__ Z(W)__ F__ ; Lead (L) is specified.X/2X axisZ axisR……Rapid traverseF…… Specified by F codeZL1(R)2(F)3(R)4(R)Approx. 45°(The chamfered angle in the left figure is 45 degrees or less because of the delay in the ser...

  • Page 162

    PROGRAMMING13. FUNCTIONS TO SIMPLIFYPROGRAMMINGB–63504EN/01138CAUTIONThe tool retreats while chamfering and returns to the startpoint on the X axis then the Z axis, as soon as the feed holdstatus is entered during thread cutting (motion 2).Another feed hold cannot be made during retreat. Thech...

  • Page 163

    PROGRAMMINGB–63504EN/0113. FUNCTIONS TO SIMPLIFY PROGRAMMING139X axis (R) 0Rapid traverse (F) 0Specified by F code2(F)4(R)X/21(R)Z axis3(R)rLZG92X(U)__ Z(W)__ R__ F__ ; Lead (L) is specified.WU/2RApprox. 45°(The chamfered angle in the left figure is 45 degrees or less because of the delay in ...

  • Page 164

    PROGRAMMING13. FUNCTIONS TO SIMPLIFYPROGRAMMINGB–63504EN/01140G94X(U)__ Z(W)__ F__ ;X axis04(R)X/23(F)Z axis1(R)2(F)U/2ZW(R)……Rapid traverse(F)……Specified by F codeX/2U/2ZFig. 13.1.3 (a) Face Cutting CycleIn incremental programming, the sign of numbers following addresses Uand W depend...

  • Page 165

    PROGRAMMINGB–63504EN/0113. FUNCTIONS TO SIMPLIFY PROGRAMMING141X axis(R) Rapid traverse(F) Specified by F code4(R)X/23(F)Z axis1(R)2(F)U/2ZWRFig. 13.1.3 (b) In incremental programming, the relationship between the signs of thenumbers following address U, W, and R, and the tool paths are as fol...

  • Page 166

    PROGRAMMING13. FUNCTIONS TO SIMPLIFYPROGRAMMINGB–63504EN/01142NOTE1 Since data values of X (U), Z (W) and R during canned cycle aremodal, if X (U), Z (W), or R is not newly commanded, the previouslyspecified data is effective. Thus, when the Z axis movementamount does not vary as in the exampl...

  • Page 167

    PROGRAMMINGB–63504EN/0113. FUNCTIONS TO SIMPLIFY PROGRAMMING143An appropriate canned cycle is selected according to the shape of thematerial and the shape of the product.Shape of materialShape of productShape of materialShape of product13.1.4How to Use CannedCycles (G90, G92, G94)D Straight cut...

  • Page 168

    PROGRAMMING13. FUNCTIONS TO SIMPLIFYPROGRAMMINGB–63504EN/01144Shape of materialShape of productShape of materialShape of productD Face cutting cycle (G94)D Face taper cutting cycle(G94)

  • Page 169

    PROGRAMMINGB–63504EN/0113. FUNCTIONS TO SIMPLIFY PROGRAMMING145This canned cycle functions to make CNC programming easy. Forinstance, the data of the finish work shape describes the tool path for roughmachining. And also, a canned cycles for the thread cutting is available.There are two types...

  • Page 170

    PROGRAMMING13. FUNCTIONS TO SIMPLIFYPROGRAMMINGB–63504EN/01146NOTE1 While both ∆d and ∆u, are specified by address U, themeanings of them are determined by the presence ofaddresses P and Q.2 The cycle machining is performed by G71 command with Pand Q specification.F, S, and T functions whic...

  • Page 171

    PROGRAMMINGB–63504EN/0113. FUNCTIONS TO SIMPLIFY PROGRAMMING147Type II differs from type I in the following : The profile need not showmonotone increase or monotone decrease along the X axis, and it mayhave up to 10 concaves (pockets).12310......Fig. 13.2.1 (b) Number of Pockets in Stock Remov...

  • Page 172

    PROGRAMMING13. FUNCTIONS TO SIMPLIFYPROGRAMMINGB–63504EN/01148e (set by a parameter)Fig. 13.2.1 (e) Chamfering in Stock Removal in Turning (Type II)The clearance e (specified in R) to be provided after cutting can also beset in parameter No. 5133.A sample cutting path is given below:1823283027...

  • Page 173

    PROGRAMMINGB–63504EN/0113. FUNCTIONS TO SIMPLIFY PROGRAMMING149As shown in the figure below, this cycle is the same as G71 except thatcutting is made by a operation parallel to X axis.A′ ∆u/2 ∆dB(F)(R)e 45°(R)(F)AC ∆wG72 W(∆d) R(e) ;G72 P(ns) Q(nf) U(∆u) W(∆w) F(f) S(s) T(t) ;The...

  • Page 174

    PROGRAMMING13. FUNCTIONS TO SIMPLIFYPROGRAMMINGB–63504EN/01150This function permits cutting a fixed pattern repeatedly, with a patternbeing displaced bit by bit. By this cutting cycle, it is possible to efficientlycut work whose rough shape has already been made by a roughmachining, forging or...

  • Page 175

    PROGRAMMINGB–63504EN/0113. FUNCTIONS TO SIMPLIFY PROGRAMMING151NOTE1 While the values ∆i and ∆k, or ∆u and ∆w are specified byaddress U and W respectively, the meanings of them aredetermined by the presence of addresses P and Q in G73block. When P and Q are not specified in a same bloc...

  • Page 176

    PROGRAMMING13. FUNCTIONS TO SIMPLIFYPROGRAMMINGB–63504EN/01152 φ80 φ40 φ160 20 2 88ÅÅÅÅÅÅÅÅÅÅÅÅÅÅÅÅÅÅ 20 10 40 10 10 190 110 7(Diameter designation, metric input)N010 G50 X220.0 Z190.0 ;N011 G00 X176.0 Z132.0 ;N012 G72 W7.0 R1.0 ;N013 G72 P014 Q019 U4.0 W2.0 F0.3 S550 ;N014...

  • Page 177

    PROGRAMMINGB–63504EN/0113. FUNCTIONS TO SIMPLIFY PROGRAMMING153(Diameter designation, metric input)N010 G50 X260.0 Z220.0 ;N011 G00 X220.0 Z160.0 ;N012 G73 U14.0 W14.0 R3 ;N013 G73 P014 Q019 U4.0 W2.0 F0.3 S0180 ;N014 G00 X80.0 W–40.0 ;N015 G01 W–20.0 F0.15 S0600 ;N017 W–20.0 S0400 ;N018 ...

  • Page 178

    PROGRAMMING13. FUNCTIONS TO SIMPLIFYPROGRAMMINGB–63504EN/01154The following program generates the cutting path shown in Fig. 13.2.5.Chip breaking is possible in this cycle as shown below. If X (U) and Pareomitted, operation only in the Z axis results, to be used for drilling.e: Return amountTh...

  • Page 179

    PROGRAMMINGB–63504EN/0113. FUNCTIONS TO SIMPLIFY PROGRAMMING155The following program generates the cutting path shown in Fig. 13.2.6.This is equivalent to G74 except that X is replaced by Z. Chip breakingis possible in this cycle, and grooving in X axis and peck drilling in X axis(in this case...

  • Page 180

    PROGRAMMING13. FUNCTIONS TO SIMPLIFYPROGRAMMINGB–63504EN/01156The thread cutting cycle as shown in Fig.13.2.7 (a) is programmed by theG76 command. WC (F) (R) A U/2 Dd E i X Z r D k (R) BFig. 13.2.7 (a) Cutting Path in Multiple thread cutting cycle13.2.7Multiple Thread CuttingCycle (G76)

  • Page 181

    PROGRAMMINGB–63504EN/0113. FUNCTIONS TO SIMPLIFY PROGRAMMING157ÅÅÅÅÅÅÅÅÅÅÅÅÅÅÅÅÅÅÅÅÅÅÅÅÅÅÅÅÅÅÅÅÅÅÅÅÅÅÅÅÅÅÅÅÅÅÅÅÅÅÅÅÅÅÅÅÅÅÅÅÅÅÅÅÅÅÅÅÅÅÅÅ k∆ d ∆pn a BdG76P (m) (r) (a) Q (∆d min) R(d);G76X (u) _ Z(W) _ R(i) P(k) Q(∆d)...

  • Page 182

    PROGRAMMING13. FUNCTIONS TO SIMPLIFYPROGRAMMINGB–63504EN/01158When feed hold is applied during threading in the multiple thread cuttingcycle (G76), the tool quickly retracts in the same way as in chamferingperformed at the end of the thread cutting cycle. The tool goes back tothe start point o...

  • Page 183

    PROGRAMMINGB–63504EN/0113. FUNCTIONS TO SIMPLIFY PROGRAMMING159ÅÅÅÅÅÅÅÅÅÔÔÔÔÔÔ 1.83.68G80 X80.0 Z130.0 ;G76 P011060 Q100 R200 ;G76 X60640 Z25000 P3680 Q1800 F6.0 ; 6 105ÅÅÅ 25 ϕ60.64 1.8X axis0 ϕ68Z axisMultiple repetitive cycle (G76)Specifying P2 can perform staggered threa...

  • Page 184

    PROGRAMMING13. FUNCTIONS TO SIMPLIFYPROGRAMMINGB–63504EN/011601. In the blocks where the multiple repetitive cycle are commanded, theaddresses P, Q, X, Z, U, W, and R should be specified correctly for eachblock.2. In the block which is specified by address P of G71, G72 or G73, G00or G01 group ...

  • Page 185

    PROGRAMMINGB–63504EN/0113. FUNCTIONS TO SIMPLIFY PROGRAMMING161The canned cycle for drilling simplifies the program normally bydirecting the machining operation commanded with a few blocks, usingone block including G code.This canned cycle conforms to JIS B 6314.Following is the canned cycle ta...

  • Page 186

    PROGRAMMING13. FUNCTIONS TO SIMPLIFYPROGRAMMINGB–63504EN/01162A drilling G code specifies positioning axes and a drilling axis as shownbelow. The C–axis and X– or Z–axis are used as positioning axes. TheX– or Z–axis, which is not used as a positioning axis, is used as a drillingaxis...

  • Page 187

    PROGRAMMINGB–63504EN/0113. FUNCTIONS TO SIMPLIFY PROGRAMMING163To 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. If it is specified in absolute mode,...

  • Page 188

    PROGRAMMING13. FUNCTIONS TO SIMPLIFYPROGRAMMINGB–63504EN/01164CAUTIOND In each canned cycle, R_ (distance between the initial level and point R) is alwayshandled as a radius. Z_ or X_ (distance between point R and the bottom of thehole) is, however, handled either as a diameter or radius,depen...

  • Page 189

    PROGRAMMINGB–63504EN/0113. FUNCTIONS TO SIMPLIFY PROGRAMMING165The peck drilling cycle or high–speed peck drilling cycle is useddepending on the setting in RTR, bit 2 of parameter No. 5101. If depthof cut for each drilling is not specified, the normal drilling cycle is used.This cycle perfor...

  • Page 190

    PROGRAMMING13. FUNCTIONS TO SIMPLIFYPROGRAMMINGB–63504EN/01166G83 or G87 (G98 mode)G83 or G87 (G99 mode)G83 X(U)_ C(H)_ Z(W)_ R_ Q_ P_ F_ M_ K_ ; orG87 Z(W)_ C(H)_ X(U)_ R_ Q_ P_ F_ M_ K_ ;X_ C_ or Z_ C_ : Hole position dataZ_ or X_ : The distance from point R to the bottom of the holeR_ : The ...

  • Page 191

    PROGRAMMINGB–63504EN/0113. FUNCTIONS TO SIMPLIFY PROGRAMMING167NOTEIf the depth of cut for each cutting feed (Q) is notcommanded, normal drilling is performed. (See thedescription of the drilling cycle.)If depth of cut is not specified for each drilling, the normal drilling cycleis used. The ...

  • Page 192

    PROGRAMMING13. FUNCTIONS TO SIMPLIFYPROGRAMMINGB–63504EN/01168M51 : Setting C–axis index mode ONM3 S2000 ; Rotating the drillG00 X50.0 C0.0 ; Positioning the drill along the X– and C–axesG83 Z–40.0 R–5.0 P500 F5.0 M31 ; Drilling hole 1C90.0 M31; Drilling hole 2C180.0 M31 ; Drilling ho...

  • Page 193

    PROGRAMMINGB–63504EN/0113. FUNCTIONS TO SIMPLIFY PROGRAMMING169NOTEBit 6 (M5T) of parameter No. 5101 specifies whether thespindle stop command (M05) is issued before the directionin which the spindle rotates is specified with M03 or M04.For details, refer to the operator’s manual created by t...

  • Page 194

    PROGRAMMING13. FUNCTIONS TO SIMPLIFYPROGRAMMINGB–63504EN/01170This cycle is used to bore a hole.G85 or G89 (G98 mode)G85 or G89 (G99 mode)G85 X(U)_ C(H)_ Z(W)_ R_ P_ F_ K_ M_ ; orG89 Z(W)_ C(H)_ X(U)_ R_ P_ F_ K_ M_ ;Point RInitial levelPoint R levelPoint RX_ C_ or Z_ C_ : Hole position dataZ_ ...

  • Page 195

    PROGRAMMINGB–63504EN/0113. FUNCTIONS TO SIMPLIFY PROGRAMMING171G80 cancels canned cycle.G80 ;Canned cycle for drilling is canceled to perform normal operation. Point R and point Z are cleared. Other drilling data is also canceled(cleared).M51 ;Setting C–axis index mode ONM3 S2000 ; Rotating...

  • Page 196

    PROGRAMMING13. FUNCTIONS TO SIMPLIFYPROGRAMMINGB–63504EN/01172Even when the controller is stopped by resetting or emergency stop in thecourse of drilling cycle, the drilling mode and drilling data are saved ; withthis mind, therefore, restart operation.When drilling cycle is performed with a si...

  • Page 197

    PROGRAMMINGB–63504EN/0113. FUNCTIONS TO SIMPLIFY PROGRAMMING173Angles of straight lines, chamfering value, corner rounding values, andother dimensional values on machining drawings can be programmed bydirectly inputting these values. In addition, the chamfering and cornerrounding can be insert...

  • Page 198

    PROGRAMMING13. FUNCTIONS TO SIMPLIFYPROGRAMMINGB–63504EN/01174(X1 , Z1)XZA1R1A2(X3 , Z3)(X4 , Z4)R2(X2 , Z2)(X1 , Z1)(X3 , Z3)(X2 , Z2)XZA1A2C1(X4 , Z4)C2(X1 , Z1)(X3 , Z3)(X2 , Z2)XZA2(X4 , Z4)C2A1R1(X1 , Z1)(X3 , Z3)(X2 , Z2)XZA1A2C1(X4 , Z4)R25678X2_ Z2_ , R1_ ;X3_ Z3_ , R2_ ;X4_ Z4_ ;or,A1_...

  • Page 199

    PROGRAMMINGB–63504EN/0113. FUNCTIONS TO SIMPLIFY PROGRAMMING175A program for machining along the curve shown in Fig. 13.4 (a) is asfollows :a1a2,A (a1) , C (c1) ;X (x3) Z (z3) , A (a2) , R (r2) ;X (x4) Z (z4) ;(x3, z3)(x4, z4)a3c1(x2, z2)(x1, z1)X (x2) Z (z2) , C (c1) ;X (x3) Z (z3) , R (r2) ;X...

  • Page 200

    PROGRAMMING13. FUNCTIONS TO SIMPLIFYPROGRAMMINGB–63504EN/01176NOTE1 The following G codes are not applicable to the same blockas commanded by direct input of drawing dimensions orbetween blocks of direct input of drawing dimensions whichdefine sequential figures.1) G codes (other than G04) in g...

  • Page 201

    PROGRAMMINGB–63504EN/0113. FUNCTIONS TO SIMPLIFY PROGRAMMING17722°180301×45°10°R20R6Xφ 100φ 300Zφ 60(Diameter specification, metric input)N001 G50 X0.0 Z0.0 ;N002 G01 X60.0, A90.0, C1.0 F80 ;N003 Z–30.0, A180.0, R6.0 ;N004 X100.0, A90.0 ;N005 ,A170.0, R20.0 ;N006 X300.0...

  • Page 202

    PROGRAMMING13. FUNCTIONS TO SIMPLIFYPROGRAMMINGB–63504EN/01178Front face tapping cycles (G84) and side face tapping cycles (G88) canbe performed either in conventional mode or rigid mode. In conventional mode, the spindle is rotated or stopped, insynchronization with the motion along the tappi...

  • Page 203

    PROGRAMMINGB–63504EN/0113. FUNCTIONS TO SIMPLIFY PROGRAMMING179Controlling the spindle motor in the same way as a servo motor in rigidmode enables high–speed tapping.G84 or G88 (G98 mode)G84 or G88 (G99 mode)G84 X(U)_ C(H)_ Z(W)_ R_ P_ F_ K_ M_ ; orG88 Z(W)_ C(H)_ X(U)_ R_ P_ F_ K_ M_ ;X_ C_ ...

  • Page 204

    PROGRAMMING13. FUNCTIONS TO SIMPLIFYPROGRAMMINGB–63504EN/01180In feed per minute mode, the feedrate divided by the spindle speed is equalto the screw lead. In feed per rotation mode, the feedrate is equal to thescrew lead.When a value exceeding the maximum rotation speed for the gear beingused...

  • Page 205

    PROGRAMMINGB–63504EN/0113. FUNCTIONS TO SIMPLIFY PROGRAMMING181Tapping axis feedrate: 1000 mm/minSpindle speed: 1000 rpmScrew lead: 1.0 mm<Programming for feed per minute>G98 ;Command for feed per minuteG00 X100.0 ;PositioningM29 S1000 ;Command for specifying rigid mode G84 Z–100.0 R...

  • Page 206

    PROGRAMMING14. COMPENSATION FUNCTIONB–63504EN/0118214 COMPENSATION FUNCTIONThis chapter describes the following compensation functions:14.1 TOOL OFFSET14.2 OVERVIEW OF TOOL NOSE RADIUS COMPENSATION14.3 DETAILS OF TOOL NOSE RADIUS COMPENSATION14.4 TOOL COMPENSATION VALUES, NUMBER OF COMPENSATION...

  • Page 207

    PROGRAMMINGB–63504EN/0114. COMPENSATION FUNCTION183Tool offset is used to compensate for the difference when the tool actuallyused differs from the imagined tool used in programming (usually,standard tool).Offset amounton X axisStandard toolActual toolOffset amounton Z axisFig. 14.1 Tool offse...

  • Page 208

    PROGRAMMING14. COMPENSATION FUNCTIONB–63504EN/01184There are two methods for specifying a T code as shown in Table 14.1.2(a) and Table 14.1.2 (b).Table 14.1.2 (a)Kind of T codeMeaning of T codeParameter setting for specifying ofoffset No.2–digitcommandT f fTool wear and toolgeometry offsetnum...

  • Page 209

    PROGRAMMINGB–63504EN/0114. COMPENSATION FUNCTION185There are two types of offset. One is tool wear offset and the other is toolgeometry offset.The tool path is offset by the X, Y, and Z wear offset values for theprogrammed path. The offset distance corresponding to the numberspecified by the ...

  • Page 210

    PROGRAMMING14. COMPENSATION FUNCTIONB–63504EN/01186When only a T code is specified in a block, the tool is moved by the wearoffset value without a move command. The movement is performed atrapid traverse rate in the G00 mode . It is performed at feedrate in othermodes.When a T code with offse...

  • Page 211

    PROGRAMMINGB–63504EN/0114. COMPENSATION FUNCTION1871. When a tool geometry offset number and tool wear offset number arespecified with the last two digits of a T code(when LGN, bit 1 of parameter No. 5002, is set 0),N1 X50.0 Z100.0 T0202 ; Specifies offset number 02N2 Z200.0 ;N3 X100.0 Z250.0 T...

  • Page 212

    PROGRAMMING14. COMPENSATION FUNCTIONB–63504EN/01188This section describes the following operations when tool position offsetis applied: G53, G28, G30, and G30.1 commands, manual referenceposition return, and the canceling of tool position offset with a T00command.Executing reference position r...

  • Page 213

    PROGRAMMINGB–63504EN/0114. COMPENSATION FUNCTION189Executing manual reference position return when tool position offset isapplied does not cancel the tool position offset vector. The absoluteposition display is as follows, however, according to the setting of bit 4(LGT) of parameter No. 5002.L...

  • Page 214

    PROGRAMMING14. COMPENSATION FUNCTIONB–63504EN/01190Whether specifying T00 alone, while tool position offset is applied,cancels the offset depends on the settings of the following parameters:LGN = 0LGN (No.5002#1)LGT (No.5002#4)LGC (No.5002#5)The geometry offset number is:0: Same as the wear off...

  • Page 215

    PROGRAMMINGB–63504EN/0114. COMPENSATION FUNCTION191It is difficult to produce the compensation necessary to form accurate partswhen using only the tool offset function due to tool nose roundness intaper cutting or circular cutting. The tool nose radius compensationfunction compensates automati...

  • Page 216

    PROGRAMMING14. COMPENSATION FUNCTIONB–63504EN/01192CAUTIONIn a machine with reference positions, a standard position like the turret center can be placedover the start position. The distance from this standard position to the nose radius center orthe imaginary tool nose is set as the tool offs...

  • Page 217

    PROGRAMMINGB–63504EN/0114. COMPENSATION FUNCTION193The direction of the imaginary tool nose viewed from the tool nose centeris determined by the direction of the tool during cutting, so it must be setin advance as well as offset values.The direction of the imaginary tool nose can be selected fr...

  • Page 218

    PROGRAMMING14. COMPENSATION FUNCTIONB–63504EN/01194Imaginary tool nose numbers 0 and 9 are used when the tool nose centercoincides with the start position. Set imaginary tool nose number toaddress OFT for each offset number.Bit 7 (WNP) of parameter No. 5002 is used to determine whether the too...

  • Page 219

    PROGRAMMINGB–63504EN/0114. COMPENSATION FUNCTION195Table 14.2.3 (a) Tool geometry offsetGeome-tryoffsetnumberOFGX(X–axisgeometryoffsetamount)OFGZ(Z–axis geometryoffsetamount)OFGR(Tool noseradius ge-ometry off-set value)OFT(Imaginarytool nosedirection)OFGY(Y–axisgeometryoffsetamount)G01G0...

  • Page 220

    PROGRAMMING14. COMPENSATION FUNCTIONB–63504EN/01196The range of the offset value is an follows :Increment systemmetric systemInch systemIS–B0 to"999.999 mm0 to"99.9999 inchIS–C0 to"999.9999 mm0 to"99.99999 inchThe offset value corresponding to the offset number 0 is alw...

  • Page 221

    PROGRAMMINGB–63504EN/0114. COMPENSATION FUNCTION197The workpiece position can be changed by setting the coordinate systemas shown below.WorkpieceX axisZ axisG41 (the workpiece ison the left side)G42 (the workpiece ison the right side)Note NOTEIf the tool nose radius compensation value is negati...

  • Page 222

    PROGRAMMING14. COMPENSATION FUNCTIONB–63504EN/01198The workpiece position against the toll changes at the corner of theprogrammed path as shown in the following figure.WorkpiecepositionWorkpiecepositionG42G42G41G41AABCBCAlthough the workpiece does not exist on the right side of theprogrammed pa...

  • Page 223

    PROGRAMMINGB–63504EN/0114. COMPENSATION FUNCTION199The block in which the mode changes to G40 from G41 or G42 is calledthe offset cancel block. G41 _ ; G40 _ ; (Offset cancel block)The tool nose center moves to a position vertical to the programmed pathin the block before the cancel block. T...

  • Page 224

    PROGRAMMING14. COMPENSATION FUNCTIONB–63504EN/01200The workpiece position specified by addresses I and K is the same as thatin the preceding block. If I and/or K is specified with G40 in the cancelmode, the I and/or K is ignored.G40 X_ Z_ I_ K_ ;Tool nose radius compensationG40 G02 X_ Z_ I_ K_...

  • Page 225

    PROGRAMMINGB–63504EN/0114. COMPENSATION FUNCTION2011.M05 ;M code output2.S210 ;S code output 3.G04 X1000 ;Dwell4.G01 U0 ;Feed distance of zero5.G98 ;G code only6.G10 P01 X10.0 Z20.0 R0.5 Q2 ; Offset changeIf two or more of the above blocks are specified consecutively, the toolnose center comes ...

  • Page 226

    PROGRAMMING14. COMPENSATION FUNCTIONB–63504EN/012022. Direction of the offsetThe offset direction is indicated in the figure below regardless of theG41/G42 mode.G90G94When one of following cycles is specified, the cycle deviates by a toolnose radius compensation vector. During the cycle, no in...

  • Page 227

    PROGRAMMINGB–63504EN/0114. COMPENSATION FUNCTION203In this case, tool nose radius compensation is not performed.D Tool nose radiuscompensation when theblock is specified fromthe MDI

  • Page 228

    PROGRAMMING14. COMPENSATION FUNCTIONB–63504EN/01204This section provides a detailed explanation of the movement of the toolfor tool nose radius compensation outlined in Section 14.2.This section consists of the following subsections:14.3.1 General14.3.2 Tool Movement in Start–up14.3.3 Tool Mo...

  • Page 229

    PROGRAMMINGB–63504EN/0114. COMPENSATION FUNCTION205When a block which satisfies all the following conditions is executed incancel mode, the system enters the offset mode. Control during thisoperation is called start–up.D G41 or G42 is contained in the block, or has been specified to set thes...

  • Page 230

    PROGRAMMING14. COMPENSATION FUNCTIONB–63504EN/01206When the offset cancel mode is changed to offset mode, the tool movesas illustrated below (start–up):Linear→LinearαProgrammed pathLSG42rLLinear→CircularαSG42rLTool nose radius center pathCWorkpieceStart positionStart positionProgrammed ...

  • Page 231

    PROGRAMMINGB–63504EN/0114. COMPENSATION FUNCTION207G42LLLLSrrG42LLLSrrCLLLinear→LinearLinear→CircularWorkpieceWork-pieceStart positionStart positionProgrammed pathProgrammed pathTool nose radius center pathTool nose radius center pathααrG41(G41)LLSStart positionTool nose radius center pat...

  • Page 232

    PROGRAMMING14. COMPENSATION FUNCTIONB–63504EN/01208In the offset mode, the tool moves as illustrated below:Programmed pathαLLαCSLSCLSCSCLinear→CircularLinear→LinearProgrammed pathIntersectionTool nose radius center pathWorkpieceWork-pieceTool nose radius center pathIntersectionProgrammed ...

  • Page 233

    PROGRAMMINGB–63504EN/0114. COMPENSATION FUNCTION209rrSrIntersectionProgrammed pathTool nose radius center pathIntersectionAlso in case of arc to straight line, straight line to arc and arc to arc, thereader should infer in the same procedure.D Tool movement aroundthe inside (α<1°) with ana...

  • Page 234

    PROGRAMMING14. COMPENSATION FUNCTIONB–63504EN/01210αLrCSLSCLSLLrLLLrr Linear→LinearLinear→CircularProgrammed pathTool nose radius center pathIntersectionWorkpieceCircular→LinearCircular→CircularIntersectionTool nose radius center pathProgrammed pathWork-pieceIntersectionTool nose radiu...

  • Page 235

    PROGRAMMINGB–63504EN/0114. COMPENSATION FUNCTION211αLLLLSrrLLSrrCLLLLLLrrLSCLinear→LinearProgrammed pathTool nose radius center pathWorkpieceLinear→CircularCircular→LinearCircular→CircularProgrammed pathWork-pieceTool nose radius center pathWorkpieceProgrammed pathTool nose radius cent...

  • Page 236

    PROGRAMMING14. COMPENSATION FUNCTIONB–63504EN/01212If 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 tool nose radiuscompensation has been executed with respect to an imaginary circle thathas the same center as the...

  • Page 237

    PROGRAMMINGB–63504EN/0114. COMPENSATION FUNCTION213If the tool nose radius compensation value is sufficiently small, the twocircular Tool nose radius center paths made after compensation intersectat a position (P). Intersection P may not occur if an excessively largevalue is specified for tool...

  • Page 238

    PROGRAMMING14. COMPENSATION FUNCTIONB–63504EN/01214The offset direction is decided by G codes (G41 and G42) for tool noseradius and the sign of tool nose radius compensation value as follows. Sign of offset valueG code+–G41Left side offsetRight side offsetG42Right sid...

  • Page 239

    PROGRAMMINGB–63504EN/0114. COMPENSATION FUNCTION215LLLSrrG42G41G41G42rrSCrrLCSSG41G41G42G42CCrrLinear→LinearLinear→CircularProgrammed pathTool nose radius center pathWorkpieceProgrammed pathTool nose radius center pathWorkpieceWorkpieceWorkpieceWorkpieceProgrammed pathTool nose radius cente...

  • Page 240

    PROGRAMMING14. COMPENSATION FUNCTIONB–63504EN/01216When 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)LLLABrrSG42G41LSLSG41G42ABLSrLLG41C...

  • Page 241

    PROGRAMMINGB–63504EN/0114. COMPENSATION FUNCTION217If 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 II–14.3.2 andII–14.3.4.If G28 is specified...

  • Page 242

    PROGRAMMING14. COMPENSATION FUNCTIONB–63504EN/01218During offset mode, if G50 is commanded,the offset vector is temporarilycancelled and thereafter offset mode is automatically restored.In this case, without movement of offset cancel, the tool moves directlyfrom the intersecting point to the co...

  • Page 243

    PROGRAMMINGB–63504EN/0114. COMPENSATION FUNCTION219The following blocks have no tool movement. In these blocks, the toolwill not move even if tool nose radius compensation is effected.1. M05 ; M code output2. S21 ; S code output3. G04 X10.0 ; Dwell4. G10 P01 X10 Z20 R10.0 ; tool nose radius co...

  • Page 244

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

  • Page 245

    PROGRAMMINGB–63504EN/0114. COMPENSATION FUNCTION221αSrLCαLSG40rLWorkpieceG40LProgrammed pathProgrammed pathTool nose radius center pathTool nose radius center pathWork-pieceLinear→LinearCircular→LinearrαLSG40LIntersectionαSCrrLLG40LLinear→LinearWorkpieceProgrammed pathTool nose radius...

  • Page 246

    PROGRAMMING14. COMPENSATION FUNCTIONB–63504EN/01222αG40LLLLrrLLSrrCLLLαSSLinear→LinearCircular→LinearWorkpieceProgrammed pathTool nose radius center pathProgrammed pathTool nose radius center pathWork-piecerG40G42LLS1°or lessProgrammed pathTool nose radius center pathWhen a block without...

  • Page 247

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

  • Page 248

    PROGRAMMING14. COMPENSATION FUNCTIONB–63504EN/01224Tool 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 occu...

  • Page 249

    PROGRAMMINGB–63504EN/0114. COMPENSATION FUNCTION225(2) In addition to the condition (1), the angle between the start point andend point on the Tool nose radius center path is quite different fromthat between the start point and end point on the programmed pathin circular machining(more than 180...

  • Page 250

    PROGRAMMING14. COMPENSATION FUNCTIONB–63504EN/01226(1) Removal of the vector causing the interference When tool nose radius compensation is performed for blocks A, Band C and vectors V1, V2, V3 and V4 between blocks A and B, andV5, V6, V7 and V8 between B and C are produced, the nearest vectors...

  • Page 251

    PROGRAMMINGB–63504EN/0114. COMPENSATION FUNCTION227(Example 2) The tool moves linearly from V1, V2, V7, to V8rCCCrRASSV4, V5 : InterferenceV3, V6 : InterferenceV2, V7 : No InterferenceO1 O2V1V2V8V3V6V5 V4V7Programmed pathTool nose radiuscenter path(2) If the interference occurs after correcti...

  • Page 252

    PROGRAMMING14. COMPENSATION FUNCTIONB–63504EN/01228(1) Depression which is smaller than the tool nose radiuscompensation valueTool nose radiuscenter pathABCStoppedProgrammed pathThere is no actual interference, but since the direction programmed inblock B is opposite to that of the path after t...

  • Page 253

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

  • Page 254

    PROGRAMMING14. COMPENSATION FUNCTIONB–63504EN/01230When machining of the step is commanded by circular machining in thecase of a program containing a step smaller than the tool nose radius, thepath of the center of tool with the ordinary offset becomes reverse to theprogrammed direction. In th...

  • Page 255

    PROGRAMMINGB–63504EN/0114. COMPENSATION FUNCTION231Tool nose radius compensation is not performed for commands inputfrom the MDI.However, when automatic operation using absolute commands istemporarily stopped by the single block function, MDI operation isperformed, then automatic operation star...

  • Page 256

    PROGRAMMING14. COMPENSATION FUNCTIONB–63504EN/01232In general, the offset value is changed in cancel mode, or when changingtools. If the offset value is changed in offset mode, the vector at the endpoint of the block is calculated for the new offset value.N8N6N7Calculated from offsetvalue in b...

  • Page 257

    PROGRAMMINGB–63504EN/0114. COMPENSATION FUNCTION233D When a G53 command is executed in tool–tip radius compensationmode, the tool–tip radius compensation vector is automaticallycanceled before positioning, that vector being automatically restoredby a subsequent move command. The format for...

  • Page 258

    PROGRAMMING14. COMPENSATION FUNCTIONB–63504EN/01234- When bit 2 (CCN) of parameter No. 5003 is set to 0O×××× ;G41 G00_ ; :G53 U_ W_ ; :(G41 G00)rrssG53G00G00Start–up- When bit 2 (CCN) of parameter No. 5003 is set to 1[FS10/11 type](G41 G00)rssG53G00G00- When bit 2 (CCN) of parameter N...

  • Page 259

    PROGRAMMINGB–63504EN/0114. COMPENSATION FUNCTION235WARNING1 When a G53 command is executed in tool–tip radiuscompensation mode when all–axis machine lock is applied,positioning is not performed for those axes to whichmachine lock is applied and the offset vector is notcanceled. When bit 2 ...

  • Page 260

    PROGRAMMING14. COMPENSATION FUNCTIONB–63504EN/01236WARNING2 When a compensation axis is specified in a G53 commandin tool–tip radius compensation mode, the vectors for othercompensation axes are also canceled. This also applieswhen bit 2 (CCN) of parameter No. 5003 is set to 1. (TheFS10/11 ...

  • Page 261

    PROGRAMMINGB–63504EN/0114. COMPENSATION FUNCTION237NOTE1 When an axis not included in the tool–tip radiuscompensation plane is specified in a G53 command, avector perpendicular to the direction in which the tool movesis created at the end of the preceding block and the tooldoes not move. Off...

  • Page 262

    PROGRAMMING14. COMPENSATION FUNCTIONB–63504EN/01238- When bit 2 (CCN) of parameter No. 5003 is set to 0O×××× ;G91 G41_ ; :G28 X40. Z0 ; :rs(G42 G01)sssG00G01G28/30Intermediate positionReference position- When bit 2 (CCN) of parameter No. 5003 is set to 1rs(G42 G01)sssG00G01G28/30[FS10/1...

  • Page 263

    PROGRAMMINGB–63504EN/0114. COMPENSATION FUNCTION239- When bit 2 (CCN) of parameter No. 5003 is set to 0Reference position=Intermediate positionStart–upO×××× ;G91 G41_ ; :G28 X40. Y–40. ; :(G41 G01)rrssG00G01G28/30s- When bit 2 (CCN) of parameter No. 5003 is set to 1[FS10/11 type](G4...

  • Page 264

    PROGRAMMING14. COMPENSATION FUNCTIONB–63504EN/01240WARNING1 When a G28 or G30 command is executed when all–axismachine lock is applied, a vector perpendicular to thedirection in which the tool moves is created at theintermediate position. In this case, the tool does not moveto the reference ...

  • Page 265

    PROGRAMMINGB–63504EN/0114. COMPENSATION FUNCTION241NOTE1 When an axis not included in the tool–tip radiuscompensation plane is specified in a G28 or G30 command,a vector perpendicular to the direction in which the toolmoves is created at the end of the preceding block and thetool does not mov...

  • Page 266

    PROGRAMMING14. COMPENSATION FUNCTIONB–63504EN/01242Tool compensation values include tool geometry compensation valuesand tool wear compensation (Fig. 14.4).X axisgeometryoffsetvalueX axiswearoffsetvaluePoint on the programImaginary toolActualtoolFig. 14.4 tool geometry offset and tool wear off...

  • Page 267

    PROGRAMMINGB–63504EN/0114. COMPENSATION FUNCTION243Offset values can be input by a program using the following command :G10 P_ X_ Y_ Z_ R_ Q_ ;orG10 P_ U_ V_ W_ C_ Q_ ;P : Offset number0: Command of work coordinate system shift value1–32 : Command of tool wear offset valueCommand value is off...

  • Page 268

    PROGRAMMING14. COMPENSATION FUNCTIONB–63504EN/01244When a tool is moved to the measurement position by execution of acommand given to the CNC, the CNC automatically measures thedifference between the current coordinate value and the coordinate valueof the command measurement position and uses i...

  • Page 269

    PROGRAMMINGB–63504EN/0114. COMPENSATION FUNCTION245The tool, when moving from the stating position toward the measurementposition predicted by xa or za in G36 or G37, is fed at the rapid traverserate across area A. Then the tool stops at point T (xa–γx or za–γz) andmoves at the measureme...

  • Page 270

    PROGRAMMING14. COMPENSATION FUNCTIONB–63504EN/01246G36 X200.0 ;Moves to the measurement positionIf the tool has reached the measurement positionat X198.0 ; since the correct measurementposition is 200 mm, the offset value is altered by198.0–200.0=–2.0mm.G00 X204.0 ;Refracts a little along t...

  • Page 271

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

  • Page 272

    PROGRAMMING15. CUSTOM MACROB–63504EN/01248An 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 273

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

  • Page 274

    PROGRAMMING15. CUSTOM MACROB–63504EN/01250(b)Operation< vacant > is the same as 0 except when replaced by < vacant>When #1 = < vacant >When #1 = 0#2 = #1##2 = < vacant >#2 = #1##2 = 0#2 = #1*5##2 = 0#2 = #1*5##2 = 0#2 = #1+#1##2 = 0#2 = #1 + #1##2 = 0(c) Conditional exp...

  • Page 275

    PROGRAMMING15. CUSTOM MACROB–63504EN/01251 VARIABLE O1234 N12345 NO. DATA NO. DATA100123.4561081010.000109102110103********111104112105113106114107 115 ACTUAL POSITION (RELATIVE) X 0.000 Y 0.000 Z 0.000 ...

  • Page 276

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

  • Page 277

    PROGRAMMING15. CUSTOM MACROB–63504EN/01253Table 15.2 (c) System variable for macro alarmsVariablenumberFunction#3000When a value from 0 to 200 is assigned to variable #3000,the CNC stops with an alarm. After an expression, an alarmmessage not longer than 26 characters can be described.The CRT...

  • Page 278

    PROGRAMMING15. CUSTOM MACROB–63504EN/01254The control state of automatic operation can be changed.Table 15.2 (e) System variable (#3003) for automatic operation control#3003Single blockCompletion of an auxiliaryfunction0EnabledTo be awaited1DisabledTo be awaited2EnabledNot to be awaited3Disabl...

  • Page 279

    PROGRAMMING15. CUSTOM MACROB–63504EN/01255Settings can be read and written. Binary values are converted to decimals.#9 (FCV): Whether to use the FS10/11 tape format conversion capability#5 (SEQ): Whether to automatically insert sequence numbers#2 (INI): Millimeter input or inch input#1 (ISO): ...

  • Page 280

    PROGRAMMING15. CUSTOM MACROB–63504EN/01256The number (target number) of parts required and the number (completionnumber) of machined parts can be read and written.Table 15.2 (g) System variables for the number of parts required and thenumber of machined partsVariable numberFunction#3901Number ...

  • Page 281

    PROGRAMMING15. CUSTOM MACROB–63504EN/01257Position information cannot be written but can be read.Table 15.2 (i) System variables for position informationVariablenumberPositioninformationCoordinatesystemTool com-pensationvalueReadoperationduringmovement#5001–#5004Block end pointWorkpiececoord...

  • Page 282

    PROGRAMMING15. CUSTOM MACROB–63504EN/01258Workpiece zero point offset values can be read and written.Table 15.2 (j) System variables for workpiece zero point offset valuesVariablenumberFunction#5201:#5204First–axis external workpiece zero point offset value :Fourth–axis ex...

  • Page 283

    PROGRAMMING15. CUSTOM MACROB–63504EN/01259The operations listed in Table 15.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 284

    PROGRAMMING15. CUSTOM MACROB–63504EN/01260S The solution ranges from 180° to 0°.S When #j is beyond the range of –1 to 1, P/S alarm No. 111 is issued.S A constant can be used instead of the #j variable.S Specify the lengths of two sides, separated by a slash (/).S The solution ranges are as...

  • Page 285

    PROGRAMMING15. CUSTOM MACROB–63504EN/01261With CNC, when the absolute value of the integer produced by anoperation on a number is greater than the absolute value of the originalnumber, such an operation is referred to as rounding up to an integer.Conversely, when the absolute value of the integ...

  • Page 286

    PROGRAMMING15. CUSTOM MACROB–63504EN/01262Errors may occur when operations are performed.Table 15.3 (b) Errors involved in operationsOperationAverageerrorMaximumerrorType of errora = b*c1.55×10–104.66×10–10a = b / c4.66×10–101.88×10–91.24×10–93.73×10–9a = b + ca = b – c2.3...

  • Page 287

    PROGRAMMING15. CUSTOM MACROB–63504EN/01263S Also, be careful when rounding down a value.Example:When #2=#1*1000; is calculated where #1=0.002;, the resultingvalue of variable #2 is not exactly 2 but 1.99999997. Here, when #3=FIX[#2]; is specified, the resulting value ofvariable #1 is not 2.0 b...

  • Page 288

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

  • Page 289

    PROGRAMMING15. CUSTOM MACROB–63504EN/01265In 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 290

    PROGRAMMING15. CUSTOM MACROB–63504EN/01266Specify a conditional expression after IF. IF [<conditional expression>]GOTO n If the specified conditional expression is satisfied, a branch tosequence number n occurs. If the specified condition is not satisfied, thenext block is executed.IF [...

  • Page 291

    PROGRAMMING15. CUSTOM MACROB–63504EN/01267Specify a conditional expression after WHILE. While the specifiedcondition is satisfied, the program from DO to END is executed. If thespecified condition is not satisfied, program execution proceeds to theblock after END.WHILE [conditional expression...

  • Page 292

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

  • Page 293

    PROGRAMMING15. CUSTOM MACROB–63504EN/01269The sample program below finds the total of numbers 1 to 10.O0001;#1=0;#2=1;WHILE[#2 LE 10]DO 1;#1=#1+#2;#2=#2+1;END 1;M30;Sample program

  • Page 294

    PROGRAMMING15. CUSTOM MACROB–63504EN/01270A 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 (M...

  • Page 295

    PROGRAMMING15. CUSTOM MACROB–63504EN/01271When G65 is specified, the custom macro specified at address P is called.Data (argument) can be passed to the custom macro program.G65 P_ L_ <argument–specification> ;P_:Number of the program to callL_: Repetition count (1 by default)Argument...

  • Page 296

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

  • Page 297

    PROGRAMMING15. CUSTOM MACROB–63504EN/01273D Local variables from level 0 to 4 are provided for nesting.D The level of the main program is 0.D Each time a macro is called (with G65 or G66), the local variable levelis incremented by one. The values of the local variables at the previouslevel are...

  • Page 298

    PROGRAMMING15. CUSTOM MACROB–63504EN/01274G65 P9100 Kk Ff ;ZzWwZ : Hole depth (absolute specification)U: Hole depth (incremental specification)K: Cutting amount per cycleF : Cutting feedrateO0002;G50 X100.0 Z200.0 ;G00 X0 Z102.0 S1000 M03 ;G65 P9100 Z50.0 K20.0 F0.3 ;G00 X100.0 Z2...

  • Page 299

    PROGRAMMING15. CUSTOM MACROB–63504EN/01275Once 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 ;X125.0 ;X150.0 ;G67 ; ...

  • Page 300

    PROGRAMMING15. CUSTOM MACROB–63504EN/01276This program makes a groove at a specified position.UZX30508060G66 P9110 Uu Ff ;U: Groove depth (incremental specification)F : Cutting feed of groovingO0003 ; G50 X100.0 Z200.0 ;S1000 M03 ;G66 P9110 U5.0 F0.5 ;G00 X60.0 Z80.0 ;Z50.0 ;Z30.0 ;G67 ;G00 X00...

  • Page 301

    PROGRAMMING15. CUSTOM MACROB–63504EN/01277By 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 Z–10.0 ; :M30 ;O9010 ; : : :N9 M99 ;Parameter No. 6050 = 81By setti...

  • Page 302

    PROGRAMMING15. CUSTOM MACROB–63504EN/01278By 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 6080 = 50By setting an M co...

  • Page 303

    PROGRAMMING15. CUSTOM MACROB–63504EN/01279By 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 6071 = 03By setting ...

  • Page 304

    PROGRAMMING15. CUSTOM MACROB–63504EN/01280By 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 ; :T0203 ; :M30 ;O9000 ; : : :M99 ;Bit 5(TCS) of paramete...

  • Page 305

    PROGRAMMING15. CUSTOM MACROB–63504EN/01281By 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 tool numbers 1 to 5 is measured.The time is not measured for tools whose number is 6 or more.D The followin...

  • Page 306

    PROGRAMMING15. CUSTOM MACROB–63504EN/01282O9001(M03);Macro to start counting. . . . . . . . . . . . . . . . . . . . . . . . . . M01;IF[FIX[#4120/100] EQ 0]GOTO 9;No tool specified. . . . . . . . . . . . . IF[FIX[#4120/100] GT 5]GOTO 9;Out–of–range tool number. . . . . #3002=0;Clears the tim...

  • Page 307

    PROGRAMMING15. CUSTOM MACROB–63504EN/01283For smooth machining, the CNC prereads the CNC statement to beperformed next. This operation is referred to as buffering. In tool noseradius compensation mode (G41, G42), the NC prereads NC statementstwo or three blocks ahead to find intersections. M...

  • Page 308

    PROGRAMMING15. CUSTOM MACROB–63504EN/01284N1 G01 G41 G91 Z100.0 F100 T0101 ;>> : Block being executedV : Blocks read into the bufferNC statementexecutionMacro statementexecutionBufferN1N2N3N2 #1=100 ;N3 X100.0 ;N4 #2=200 ;N5 Z50.0 ; :N4N5N3When N1 is being executed, the NC statemen...

  • Page 309

    PROGRAMMING15. CUSTOM MACROB–63504EN/01285Custom macro programs are similar to subprograms. They can beregistered and edited in the same way as subprograms. The storagecapacity is determined by the total length of tape used to store both custommacros and subprograms.15.8REGISTERINGCUSTOM MACR...

  • Page 310

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

  • Page 311

    PROGRAMMING15. CUSTOM MACROB–63504EN/01287In addition to the standard custom macro commands, the following macrocommands are available. They are referred to as external outputcommands.– BPRNT– DPRNT– POPEN– PCLOSThese commands are provided to output variable values and charactersth...

  • Page 312

    PROGRAMMING15. CUSTOM MACROB–63504EN/01288Example )BPRINT [ C** X#100 [3] Z#101 [3] M#10 [0] ]Variable value #100=0.40596 #101=–1638.4 #10=12.34LF12 (0000000C)M–1638400(FFE70000)Z406(00000196)XSpaceCDPRNT [ a #b [ c d ] … ]Number of significant decimal placesNumber of sig...

  • Page 313

    PROGRAMMING15. CUSTOM MACROB–63504EN/01289Example )DPRNT [ X#2 [53] Z#5 [53] T#30 [20] ]Variable value #2=128.47398 #5=–91.2 #30=123.456(1) Parameter PRT(No. 6001#1)=0(2) Parameter PRT(No. 6001#1)=1spspspspspspL FTZ –X91.200128.47423spspLFT23Z–91.200X128.474PCLOS ;The PCLOS command ...

  • Page 314

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

  • Page 315

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

  • Page 316

    PROGRAMMING15. CUSTOM MACROB–63504EN/01292CAUTIONWhen the interrupt signal (UINT, marked by * in Fig. 15.11)is input after M97 is specified, it is ignored. And the interruptsignal must not be input during execution of the interruptprogram.A custom macro interrupt is available only during progr...

  • Page 317

    PROGRAMMING15. CUSTOM MACROB–63504EN/01293NOTEFor the status–triggered and edge–triggered schemes, seeItem “Custom macro interrupt signal (UINT)” of Subsec.15.11.2.There are two types of custom macro interrupts: Subprogram–typeinterrupts and macro–type interrupts. The interrupt ty...

  • Page 318

    PROGRAMMING15. CUSTOM MACROB–63504EN/01294(i) When the interrupt signal (UINT) is input, any movement or dwellbeing performed is stopped immediately and the interrupt program isexecuted.(ii) If there are NC statements in the interrupt program, the command inthe interrupted block is lost and the...

  • Page 319

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

  • Page 320

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

  • Page 321

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

  • Page 322

    PROGRAMMING15. CUSTOM MACROB–63504EN/01298A custom macro interrupt is different from a normal program call. It isinitiated by an interrupt signal (UINT) during program execution. Ingeneral, any modifications of modal information made by the interruptprogram should not affect the interrupted p...

  • Page 323

    PROGRAMMING15. CUSTOM MACROB–63504EN/01299D The coordinates of point A can be read using system variables #5001and up until the first NC statement is encountered.D The coordinates of point A′ can be read after an NC statement with nomove specifications appears.D The machine coordinates and wo...

  • Page 324

    PROGRAMMING16. PROGRAMMABLE PARAMETERENTRY (G10)B–63504EN/0130016 PROGRAMMABLE PARAMETER ENTRY (G10)The values of parameters can be entered in a program. This function isused for setting pitch error compensation data when attachments arechanged or the maximum cutting feedrate or cutting time co...

  • Page 325

    PROGRAMMINGB–63504EN/0116. PROGRAMMABLE PARAMETERENTRY (G10)301G10L50; Parameter entry mode settingN_R_;For parameters other than the axis typeN_P_R_; For axis type parametersG11;Parameter entry mode cancelN_:Parameter No. (4digits) or compensation position No.(0 to1023) forpitch errors compens...

  • Page 326

    PROGRAMMING16. PROGRAMMABLE PARAMETERENTRY (G10)B–63504EN/013021. Set bit 2 (SPB) of bit type parameter No. 3404G10L50 ; Parameter entry modeN3404 R 00000100 ; SBP settingG11 ; cancel parameter entry mode 2. Change the values for the Z–axis (2nd axis) and C–axis (4th axis) inaxis type param...

  • Page 327

    B–63504EN/0117. MEMORY OPERATION BY FS10/11 TAPE FORMATPROGRAMMING30317 MEMORY OPERATION BY FS10/11 TAPE FORMATPrograms in the FS10/11 tape format can be registered in memory formemory operation by setting bit 1 of parameter No. 0001. Registrationto memory and memory operation are possible for...

  • Page 328

    17. MMEMORY OPERATION BY FS10/11 TAPE FORMATB–63504EN/01PROGRAMMING304Some addresses which cannot be used for the this CNC can be used in theFS10/11 tape format. The specifiable value range for the FS10/11 tapeformat is basically the same as that for the this CNC. Sections II–17.2 toII–17...

  • Page 329

    B–63504EN/0117. MEMORY OPERATION BY FS10/11 TAPE FORMATPROGRAMMING305G32IP_F_Q_; orG32IP_E_Q_;I :Combination of axis addressesF :Lead along the longitudinal axisE :Lead along the longitudinal axisQ :Sight of the threading start anglePAlthough the FS10/11 allows the operator to specify th...

  • Page 330

    17. MMEMORY OPERATION BY FS10/11 TAPE FORMATB–63504EN/01PROGRAMMING306M98PffffLffff;P:Subprogram numberL:Repetition countAddress L cannot be used in this CNC tape format but can be used in theFS10/11 tape format.The specifiable value range is the same as that for this CNC (1 to 9999).If a value...

  • Page 331

    B–63504EN/0117. MEMORY OPERATION BY FS10/11 TAPE FORMATPROGRAMMING307End surface turning cycle (front taper cutting cycle)G94X_Z_K_F_;K:Length of the taper section along the Z–axisOuter / inner surface turning cycle (straight cutting cycle)G90X_Z_F_;Outer / inner surface turning cycle (taper ...

  • Page 332

    17. MMEMORY OPERATION BY FS10/11 TAPE FORMATB–63504EN/01PROGRAMMING308Multiple repetitive threading cycleG76X_Z_I_K_D_F_A_P_Q_;I : Difference of radiuses at threadsK : Height of thread crest (radius)D : Depth of the first cut (radius)A : Angle of the tool tip (angle of ridges)P : Method of cutt...

  • Page 333

    B–63504EN/0117. MEMORY OPERATION BY FS10/11 TAPE FORMATPROGRAMMING309If the following addresses are specified in the FS10/11 tape format, theyare ignored.D I and K for the outer/inner surface rough machining cycle (G71)D I and K for the end surface rough machining cycle (G72)For the multiple re...

  • Page 334

    17. MMEMORY OPERATION BY FS10/11 TAPE FORMATB–63504EN/01PROGRAMMING310Drilling cycleG81X_C_Z_F_L_ ; or G82X_C_Z_R_F_L_ ;R : Distance from the initial level to the R positionP : Dwell time at the bottom of the holeF : Cutting feedrateL : Number of repetitionsPeck drilling cycleG81X_C_Z_R_Q_P_F_L...

  • Page 335

    B–63504EN/0117. MEMORY OPERATION BY FS10/11 TAPE FORMATPROGRAMMING311Some G codes are valid only for this CNC tape format or FS10/11 tapeformat. Specifying an invalid G code results in P/S alarm No. 10 beinggenerated.G codes valid only for the FS10/11 tape formatG81, G82, G83.1, G84.2G codes v...

  • Page 336

    17. MMEMORY OPERATION BY FS10/11 TAPE FORMATB–63504EN/01PROGRAMMING312The R position is specified as an incremental value for the distancebetween the initial level to the R position. For the FS10/11 tape format,the parameter and the G code system used determine whether anincremental or absolut...

  • Page 337

    B–63504EN/0117. MEMORY OPERATION BY FS10/11 TAPE FORMATPROGRAMMING313For FS10/11, G83 or G83.1 does not cause the tool to dwell. For theFS10/11 tape format, the tool dwells at the bottom of the hole only if theblock contains a P address.In FS 10/11, G84/G84.2 causes the tool to dwell before th...

  • Page 338

    18. AXIS CONTROL FUNCTIONB–63504EN/01PROGRAMMING31418 AXIS CONTROL FUNCTION

  • Page 339

    B–63504EN/0118. AXIS CONTROL FUNCTIONPROGRAMMING315Polygonal turning means machining a polygonal figure by rotating theworkpiece and tool at a certain ratio.WorkpieceToolFig. 18.1 (a) Polygonal turningWorkpieceBy changing conditions which are rotation ratio of workpiece and tool andnumber of c...

  • Page 340

    18. AXIS CONTROL FUNCTIONB–63504EN/01PROGRAMMING316Tool rotation for polygonal turning is controlled by CNC controlled axis.This rotary axis of tool is called Y axis in the following description.The Y axis is controlled by G51.2 command, so that the rotation speedsof the workpiece mounted on th...

  • Page 341

    B–63504EN/0118. AXIS CONTROL FUNCTIONPROGRAMMING317The principle of polygonal turning is explained below. In the figure belowthe radius of tool and workpiece are A and B, and the angular speeds oftool and workpiece are aand b. The origin of XY cartesian coordinatesis assumed to be the center ...

  • Page 342

    18. AXIS CONTROL FUNCTIONB–63504EN/01PROGRAMMING318ÇÇÇÇÇÇÇÇÇÇÇÇÇÇÇÇÇÇÇÇÇÇÇÇÇÇÇÇÇÇÇÇÇÇÇÇÇÇÇÇÇÇÇÇÇÇÇÇÇÇÇÇÇÇÇÇÇÇÇÇÇÇÇÇIf three tools are set at every 120°, the machining figure will be a hexagonas shown below.ÇÇÇÇÇÇÇÇÇÇÇÇ...

  • Page 343

    B–63504EN/0118. AXIS CONTROL FUNCTIONPROGRAMMING319WARNING1 The starting point of the threading process becomes inconsistent when performed duringsynchronous operation. Cancel the synchronizing by executing G50.2 when threading.2 The following signals become either valid or invalid in relation...

  • Page 344

    18. AXIS CONTROL FUNCTIONB–63504EN/01PROGRAMMING320The roll–over function prevents coordinates for the rotation axis fromoverflowing. The roll–over function is enabled by setting bit 0 ofparameter 1008 to 1.For an incremental command, the tool moves the angle specified in thecommand. For ...

  • Page 345

    B–63504EN/0118. AXIS CONTROL FUNCTIONPROGRAMMING321The simple synchronization control function allows synchronous andnormal operations on two specified axes to be switched, according to aninput signal from the machine.For a machine with two tool posts that can be independently driven withdiffer...

  • Page 346

    18. AXIS CONTROL FUNCTIONB–63504EN/01PROGRAMMING3222 According to the Yyyyy command programmed for the slave axis,movement is performed along the Y–axis, as in normal mode.3 According to the Xxxxx Yyyyy command, simultaneous movementsare performed along both the X–axis and Y–axis, as in n...

  • Page 347

    PROGRAMMINGB–63504EN/0119. PATTERN DATA INPUT FUNCTION32319 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 MDI panel. This eliminates the need for programmi...

  • Page 348

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

  • Page 349

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

  • Page 350

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

  • Page 351

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

  • Page 352

    PROGRAMMING19. PATTERN DATA INPUT FUNCTIONB–63504EN/01328When a pattern menu is selected, the necessary pattern data is displayed.NO. NAMEDATA COMMENT500TOOL0.000501STANDARD X0.000*BOLT HOLE502STANDARD Y0.000CIRCLE*503RADIUS0.000SET PATTERN504S. ANGL0.000DATA TO VAR.505HOLES NO0.000NO.500–5...

  • Page 353

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

  • Page 354

    PROGRAMMING19. PATTERN DATA INPUT FUNCTIONB–63504EN/01330One 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 355

    PROGRAMMINGB–63504EN/0119. PATTERN DATA INPUT FUNCTION331Macro instruction to describe a parameter title , the variable name, anda comment.NO. NAMEDATA COMMENT500TOOL0.000501STANDARD X0.000*BOLT HOLE502STANDARD Y0.000CIRCLE*503RADIUS0.000SET PATTERN504S. ANGL0.000DATA TO VAR.505HOLES NO0.000N...

  • Page 356

    PROGRAMMING19. PATTERN DATA INPUT FUNCTIONB–63504EN/01332Table.19.3 (a) Characters and codes to be used for the pattern data input functionChar-acterCodeCommentChar-acterCodeCommentA0656054B0667055C0678056D0689057E069032SpaceF070!033Exclama–tion markG071”034QuotationmarkH072#035Hash signI07...

  • Page 357

    PROGRAMMINGB–63504EN/0119. PATTERN DATA INPUT FUNCTION333Table 19.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 correspondin...

  • Page 358

  • Page 359

    III. OPERATION

  • Page 360

  • Page 361

    OPERATIONB–63504EN/011. GENERAL3371 GENERAL

  • Page 362

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

  • Page 363

    OPERATIONB–63504EN/011. GENERAL339Using machine operator’s panel switches, push buttons, or the manualhandle, the tool can be moved along each axis.ToolMachine operator’s panelManualpulse generatorWorkpieceFig. 1.1 (b) The tool movement by manual operationThe tool can be moved in the follo...

  • Page 364

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

  • Page 365

    OPERATIONB–63504EN/011. GENERAL341Select 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).M30– – – – – –Program numberPr...

  • Page 366

    OPERATION1. GENERALB–63504EN/01342While automatic operation is being executed, tool movement can overlapautomatic operation by rotating the manual handle.Grindingwheel (tool)Depth of cut bymanual feedDepth of cut specifiedby a programWorkpieceFig. 1.3 (c) Handle Interruption for Automatic Oper...

  • Page 367

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

  • Page 368

    OPERATION1. GENERALB–63504EN/01344When the cycle start push button 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 startToolWo...

  • Page 369

    OPERATIONB–63504EN/011. GENERAL345After a created program is once registered in memory, it can be correctedor modified from the MDI panel (See Section III–9).This operation can be executed using the part program storage/editfunction.Program registration CNCProgram correction or modificationT...

  • Page 370

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

  • Page 371

    OPERATIONB–63504EN/011. GENERAL347Offset value of the toolOffset value of the toolWorkpieceToolFig. 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, the following data can be set:...

  • Page 372

    OPERATION1. GENERALB–63504EN/01348The 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 373

    OPERATIONB–63504EN/011. GENERAL349The contents of the currently active program are displayed. In addition,the programs scheduled next and the program list are displayed.(See Section III–11.2.1)PROGRAMMEM STOP * * * * * *13 : 18 : 14O1100 N00005>_PRGRMN1 G90 G17 G00 G41 X250.0 Z550.0...

  • Page 374

    OPERATION1. GENERALB–63504EN/01350The current position of the tool is displayed with the coordinate values.The distance from the current position to the target position can also bedisplayed. (See Section III–11.1.1 to 11.1.3)XxWorkpiece coordinate systemZzMEM STRT MTN *** 09:06:35[ ...

  • Page 375

    OPERATIONB–63504EN/011. GENERAL351Two types of run time and number of parts are displayed on the screen.(See Section lll–11.4.9)MEM STRT MTN *** 09:06:35[ ABS ] [ REL ] [ ALL ] [ HNDL ] [ ] [(OPRT)]ACTUAL POSITION(ABSOLUTE) O1000 N00010PART COUNT 5RUN TIME ...

  • Page 376

    OPERATION1. GENERALB–63504EN/01352The graphic can be used to draw a tool path for automatic operation andmanual operation, thereby indicating the progress of cutting and theposition of the tool. (See Section III–12)* * * * O0001 N00021MEM STRT08 : 00 : 53FINX 200.000Z 200.000XZ(OPRT)G.PRMZOO...

  • Page 377

    OPERATIONB–63504EN/011. GENERAL353Programs, 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 378

    OPERATION2. OPERATIONAL DEVICESB–63504EN/013542 OPERATIONAL DEVICESThe available operational devices include the setting and display unitattached to the CNC, the machine operator’s panel, and externalinput/output devices such as a Handy File and etc.

  • Page 379

    OPERATIONB–63504EN/012. OPERATIONAL DEVICES355The setting and display units are shown in Subsections 2.1.1 to 2.1.2 ofPart III.9″monochrome CRT/MDI unit: III–2.1.18.4″color LCD/MDI unit: III–2.1.22.1SETTING ANDDISPLAY UNITS

  • Page 380

    OPERATION2. OPERATIONAL DEVICESB–63504EN/013562.1.1 9″monochromeCRT/MDI Unit2.1.2 8.4″ Color LCD/MDIUnit

  • Page 381

    OPERATIONB–63504EN/012. OPERATIONAL DEVICES357Address/numerickeysFunction keysCursor move keysPage change keysSHIFT keyCancel keyINPUT keyEdit keysHELP keyRESET key2.1.3Location of MDI keys

  • Page 382

    OPERATION2. OPERATIONAL DEVICESB–63504EN/01358Table 2.2 Explanation of the MDI keyboardNumberNameExplanation1RESET keyRESETPress this key to reset the CNC, to cancel an alarm, etc.2HELP keyHERPPress this key to display how to operate the machine tool, such as MDI key op-eration, or the details...

  • Page 383

    OPERATIONB–63504EN/012. OPERATIONAL DEVICES359Table 2.2 Explanation of the MDI keyboardNumberExplanationName10Cursor move keysThere are four different cursor move keys. : This key is used to move the cursor to the right or in the forwarddirection. The cursor is moved in short units in the for...

  • Page 384

    OPERATION2. OPERATIONAL DEVICESB–63504EN/01360The function keys are used to select the type of screen (function) to bedisplayed. When a soft key (section select soft key) is pressedimmediately after a function key, the screen (section) corresponding to theselected function can be selected.1Pre...

  • Page 385

    OPERATIONB–63504EN/012. OPERATIONAL DEVICES361Function keys are provided to select the type of screen to be displayed.The following function keys are provided on the MDI panel:Press this key to display the position screen.Press this key to display the program screen.Press this key to display th...

  • Page 386

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

  • Page 387

    OPERATIONB–63504EN/012. OPERATIONAL DEVICES363Monitor screen[(OPRT)][PTSPRE][EXEC][RUNPRE][EXEC][ABS]Absolute coordinate displayPOS[(OPRT)][REL](Axis or numeral)[ORIGIN][PRESET][ALLEXE](Axis name)[EXEC][PTSPRE][EXEC][RUNPRE][EXEC][ALL][(OPRT)][PTSPRE][EXEC][RUNPRE][EXEC][HNDL][(OPRT)][PTSPRE][E...

  • Page 388

    OPERATION2. OPERATIONAL DEVICESB–63504EN/01364Soft key transition triggered by the function keyin the MEM modePROGPROG[ABS][(OPRT)][BG–EDT][O SRH][PRGRM]Program display screen[N SRH][REWIND]See “When the soft key [BG–EDT] is pressed”[(OPRT)][CHECK]Program check display screen[REL]Curren...

  • Page 389

    OPERATIONB–63504EN/012. OPERATIONAL DEVICES365[FL.SDL][PRGRM]File directory display screen[(OPRT)][DIR][SELECT][EXEC](File No. )[F SET]Schedule operation display screen[(OPRT)][SCHDUL][CLEAR](Schedule data)[CAN][EXEC][INPUT]Return to (1) (Program display)(2)2/2

  • Page 390

    OPERATION2. OPERATIONAL DEVICESB–63504EN/01366Soft key transition triggered by the function keyin the EDIT modePROG1/2[(OPRT)][BG–EDT](O number)[O SRH][PRGRM]Program display(Address)[SRH↓][REWIND](Address)[SRH↑][F SRH][CAN](N number)[EXEC][READ][CHAIN][STOP][CAN][EXEC][PUNCH][STOP][CAN][E...

  • Page 391

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

  • Page 392

    OPERATION2. OPERATIONAL DEVICESB–63504EN/01368PROGSoft key transition triggered by the function keyin the MDI mode[(OPRT)][BG–EDT][PRGRM]Program displayPROGRAM SCREEN[(OPRT)][BG–EDT][MDI]Program input screen(Address)(Address)[SRH↓][SRH↑]Current block display screen[(OPRT)][BG–EDT][CUR...

  • Page 393

    OPERATIONB–63504EN/012. OPERATIONAL DEVICES369Soft key transition triggered by the function keyin the HNDL, JOG, or REF modePROG[(OPRT)][BG–EDT][PRGRM]Program displayPROGRAM SCREENCurrent block display screen[(OPRT)][BG–EDT][CURRNT]Next block display screen[(OPRT)][BG–EDT][NEXT]Program re...

  • Page 394

    OPERATION2. OPERATIONAL DEVICESB–63504EN/01370PROG1/2[(OPRT)][BG–END](O number)[O SRH][PRGRM]Program display(Address)[SRH↓][REWIND](Address)[SRH↑][F SRH][CAN](N number)[EXEC][READ][CHAIN][STOP][CAN][EXEC][PUNCH][STOP][CAN][EXEC][DELETE][CAN][EXEC][EX–EDT][COPY][CRSR∼][∼CRSR][∼BTTM...

  • Page 395

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

  • Page 396

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

  • Page 397

    OPERATIONB–63504EN/012. OPERATIONAL DEVICES373[OPR]Software operator’s panel screen[(OPRT)][TOOLLF]Tool life management setting screen(Numeral)[NO SRH][INPUT](Number)[CAN][EXEC][CLEAR](1)2/2[(OPRT)][OFST.2]Y axis tool offset screen(Number)(Axis name)(Numeral)(Numeral)[NO SRH][INP.C.][+INPUT][...

  • Page 398

    OPERATION2. OPERATIONAL DEVICESB–63504EN/01374Soft key transition triggered by the function key[(OPRT)][PARAM]Parameter screen(Numeral)(Numeral)[NO SRH][+INPUT][INPUT][ON:1][OFF:0](Number)SYSTEMSYSTEM[READ][CAN][EXEC][PUNCH][(OPRT)][DGNOS]Diagnosis screen[NO SRH](Number)1/2SYSTEM SCREENNote) Se...

  • Page 399

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

  • Page 400

    OPERATION2. OPERATIONAL DEVICESB–63504EN/01376MESSAGESoft key transition triggered by the function key MESSAGE[ALARM]Alarm display screen[MSG]Message display screen[HISTRY]Alarm history screen[(OPRT)][CLEAR]MESSAGE SCREEN[ALAM]Soft key transition triggered by the function keyAlarm detail screen...

  • Page 401

    OPERATIONB–63504EN/012. OPERATIONAL DEVICES377Soft key transition triggered by the function keyGRAPHIC/CUSTOM SCREENTool path graphics[(OPRT)][G.PRM]Tool path graphicsGRAPH[GRAPH][ERASE][(OPRT)][ZOOM][(OPRT)][NORMAL][ACT][HI/LO]CUSTOMGRAPHCustom screenCustom screenCustom screenGRAPHOriginal scr...

  • Page 402

    OPERATION2. OPERATIONAL DEVICESB–63504EN/01378When 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 screen.In order to indicate that it is key input ...

  • Page 403

    OPERATIONB–63504EN/012. OPERATIONAL DEVICES379After a character or number has been input from the MDI panel, a datacheck is executed when INPUT key or a soft key is pressed. In the case ofincorrect input data or the wrong operation a flashing warning messagewill be displayed on the status disp...

  • Page 404

    OPERATION2. OPERATIONAL DEVICESB–63504EN/01380External input/output devices such as FANUC Handy File etc. areavailable. This section outlines each device. For details on the devices,refer to the manuals listed below.Table 2.4 External I/O deviceDevice nameUsageMax.storagecapacityReferenceman...

  • Page 405

    OPERATIONB–63504EN/012. OPERATIONAL DEVICES381Before an external input/output device can be used, parameters must beset as follows.CNCI/O BOARDChannel 1Channel 2JD5AJD5BRS–232–CRS–232–CReader/puncherReader/puncherI/O CHANNEL=0orI/O CHANNEL=1I/O CHANNEL=2This CNC has two channels of re...

  • Page 406

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

  • Page 407

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

  • Page 408

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

  • Page 409

    OPERATIONB–63504EN/012. OPERATIONAL DEVICES385D601 – 01SLOT 01 (01D9) : ENDSLOT 02 (0050) :Blank: Setting not com-pletedModule IDSlot numberEND: Setting completedD601 – 01CNC control softwareSERVO : 9066–01OMM : yyyy–yyPMC : zzzz–zzDigital servo ROMMicro libraryPMC ladderProc...

  • Page 410

    OPERATION3.MANUAL OPERATIONB–63504EN/013863 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 411

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

  • Page 412

    OPERATION3.MANUAL OPERATIONB–63504EN/01388Coordinate system is automatically determined when manual referenceposition return is performed.When α and γ are set in workpiece origin offset, the workpiece coordinatesystem is determined so that the reference point on the tool holder or theposition...

  • Page 413

    OPERATIONB–63504EN/013. MANUAL OPERATION389In the JOG mode, pressing a feed axis and direction selection switch onthe machine operator’s panel continuously moves the tool along theselected axis in the selected direction.The manual continuous feedrate is specified in a parameter (No.1423)The m...

  • Page 414

    OPERATION3.MANUAL OPERATIONB–63504EN/01390To enable manual per revolution feed, set bit 4 (JRV) of parameter No.1402 to 1.During manual per revolution feed, the tool is jogged at the followingfeedrate: Feed distance per rotation of the spindle (mm/rev) (specified withparameter No. 1423) x JOG ...

  • Page 415

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

  • Page 416

    OPERATION3.MANUAL OPERATIONB–63504EN/01392In 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 417

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

  • Page 418

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

  • Page 419

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

  • Page 420

    OPERATION3.MANUAL OPERATIONB–63504EN/01396The following describes the relation between manual operation andcoordinates when the manual absolute switch is turned on or off, using aprogram example.G01G90X200.0Z150.0X100.0Z100.0F010X300.0Z200.0;(1);(2);(3)The subsequent figures use the following n...

  • Page 421

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

  • Page 422

    OPERATION3.MANUAL OPERATIONB–63504EN/01398When the switch is ON during tool nose radius compensationOperation of the machine upon return to automatic operation after manualintervention with the switch is ON during execution with an absolutecommand program in the tool nose radius compensation mo...

  • Page 423

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

  • Page 424

    OPERATION4. AUTOMATIC OPERATIONB–63504EN/014004 AUTOMATIC OPERATIONProgrammed operation of a CNC machine tool is referred to as automaticoperation.This chapter explains the following types of automatic operation:S MEMORY OPERATIONOperation by executing a program registered in CNC memoryS MDI OP...

  • Page 425

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

  • Page 426

    OPERATION4. AUTOMATIC OPERATIONB–63504EN/01402When a reset is applied during movement, movementdecelerates then stops.After memory operation is started, the following are executed:(1) A one–block command is read from the specified program.(2) The block command is decoded.(3) The command execu...

  • Page 427

    OPERATIONB–63504EN/014. AUTOMATIC OPERATION403A file (subprogram) in an external input/output device such as a FloppyCassette can be called and executed during memory operation. Fordetails, see Section 4.5.Calling a subprogramstored in an externalinput/output device

  • Page 428

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

  • Page 429

    OPERATIONB–63504EN/014. AUTOMATIC OPERATION4055To execute a program, set the cursor on the head of the program. (Startfrom an intermediate point is possible.) Push Cycle Start button onthe operator’s panel. By this action, the prepared program will start.When the program end (M02, M30) or ...

  • Page 430

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

  • Page 431

    OPERATIONB–63504EN/014. AUTOMATIC OPERATION407Macro programs can also be created, called, and executed in the MDImode. However, macro call commands cannot be executed when themode is changed to MDI mode after memory operation is stopped duringexecution of a subprogram.When a program is created...

  • Page 432

    OPERATION4. AUTOMATIC OPERATIONB–63504EN/01408This function specifies Sequence No. or Block No. of a block to berestarted when a tool is broken down or when it is desired to restartmachining operation after a day off, and restarts the machining operationfrom that block. It can also be used as...

  • Page 433

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

  • Page 434

    OPERATION4. AUTOMATIC OPERATIONB–63504EN/014105 The sequence number is searched for, and the program restart screenappears on the CRT display.PROGRAM RESTARTDESTINATIONX 57. 096Z 56. 943DISTANCE TO GO1 X 1. 4592 Z 7. 320M 1 2 1 2 1 2 1 2 1 2 1 * * * * * * * ** * * * * * * ** * * * * ...

  • Page 435

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

  • Page 436

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

  • Page 437

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

  • Page 438

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

  • Page 439

    OPERATIONB–63504EN/014. AUTOMATIC OPERATION415WARNINGAs a rule, the tool cannot be returned to a correct positionunder the following conditions.S Special care must be taken in the following cases sincenone of them cause an alarm:S Manual operation is performed when the manual absolutemode is OF...

  • Page 440

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

  • Page 441

    OPERATIONB–63504EN/014. AUTOMATIC OPERATION417FILE DIRECTORYO0001 N00000MEM * * * * * * * * * *19 : 14 : 47PRGRM(OPRT)CURRENT SELECTED : SCHEDULENO.FILE NAME (METER) VOL0000 SCHEDULE0001 PARAMETER 58.50002 ALL PROGRAM 11.00003 O0001 1.90004 O0002 1.90005 O0010 1.90006 O0020 1.90007 O00...

  • Page 442

    OPERATION4. AUTOMATIC OPERATIONB–63504EN/01418F0007 N00000RMT* * * * * * * * * *13 : 27 : 54FILE DIRECTORYCURRENT SELECTED:O0040PRGRM(OPRT)SCHDULScreen No. 3DIR1Display the list of files registered in the Floppy Cassette. The displayprocedure is the same as in steps 1 and 2 for executi...

  • Page 443

    OPERATIONB–63504EN/014. AUTOMATIC OPERATION419O0000 N02000RMT* * * * * * * * * *10 : 10 : 40FILE DIRECTORYORDERFILE NO.REQ.REPCUR.REP 010007 5 5 020003 23 23 0300049999156 040005LOOP 0 05 06 07 08 09 10PRGRM(OPRT)DIRScreen No. 5SCHDULIf no file number is specifi...

  • Page 444

    OPERATION4. AUTOMATIC OPERATIONB–63504EN/01420Alarm No.Description086An attempt was made to execute a file that was not regis-tered in the floppy disk.210M198 and M99 were executed during scheduled operation,or M198 was executed during DNC operation.Alarm

  • Page 445

    OPERATIONB–63504EN/014. AUTOMATIC OPERATION421The 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, asu...

  • Page 446

    OPERATION4. AUTOMATIC OPERATIONB–63504EN/01422NOTE1 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, M...

  • Page 447

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

  • Page 448

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

  • Page 449

    OPERATIONB–63504EN/014. AUTOMATIC OPERATION425(c) RELATIVE : Position in relative coordinate systemThese values have no effect on the travel distance specified by handleinterruption.(d) DISTANCE TO GO : The remaining travel distance in the current block has no effect on thetravel distance spe...

  • Page 450

    OPERATION4. AUTOMATIC OPERATIONB–63504EN/01426During 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 (or LCD/MDI)...

  • Page 451

    OPERATIONB–63504EN/014. AUTOMATIC OPERATION4273Enter an automatic operation mode (memory mode or MDI mode),then press the cycle start button to start automatic operation.D The mirror image function can also be turned on and off by setting bit0 (MIRx) of parameter (No. 0012) to 1 or 0.D For the ...

  • Page 452

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

  • Page 453

    OPERATIONB–63504EN/014. AUTOMATIC OPERATION429N1N2N1 Point AN2N1 Point AN2Point BN1 Point AN2Point B1. The N1 block cuts a workpieceToolBlock start point2. The tool is stopped by pressing the feed hold switch in the middle of the N1 block (point A).3. After retracting the tool manually to...

  • Page 454

    OPERATION4. AUTOMATIC OPERATIONB–63504EN/01430By activating automatic operation during the DNC operation mode(RMT), it is possible to perform machining (DNC operation) while aprogram is being read in via reader/puncher interface. It is possible toselect files (programs) saved in an external in...

  • Page 455

    OPERATIONB–63504EN/014. AUTOMATIC OPERATION431During DNC operation, the program currently being executed isdisplayed on the program check screen and program screen.The number of displayed program blocks depends on the program beingexecuted.Any comment enclosed between a control–out mark (() a...

  • Page 456

    OPERATION4. AUTOMATIC OPERATIONB–63504EN/01432NumberMessageContents086DR SIGNAL OFFWhen entering data in the memory byusing Reader / Puncher interface, theready signal (DR) of reader / puncherwas turned off.Power supply of I/O unit is off or cable isnot connected or a P.C.B. is defective.123CAN...

  • Page 457

    OPERATIONB–63504EN/015. TEST OPERATION4335 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 458

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

  • Page 459

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

  • Page 460

    OPERATION5. TEST OPERATIONB–63504EN/01436A 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...

  • Page 461

    OPERATIONB–63504EN/015. TEST OPERATION437An override of four steps (F0, 25%, 50%, and 100%) can be applied to therapid traverse rate. F0 is set by a parameter (No. 1421).Rapid traverserate10m/minOverride50%5m/minFig. 5.3 Rapid traverse overrideProcedure for Rapid Traverse OverrideSelect one o...

  • Page 462

    OPERATION5. TEST OPERATIONB–63504EN/01438The 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 that the workpiece is removedfrom the table.ToolÇÇÇÇÇÇÇÇÇ...

  • Page 463

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

  • Page 464

    OPERATION5. TEST OPERATIONB–63504EN/01440If G28 to G30 are issued, the single block function is effective at theintermediate point.In a canned cycle, the single block stop points are as follows.lG90(Outer/inner turning cycle)1234S1234SStraight cutting cycleTaper cutting cycleTool pathExplanatio...

  • Page 465

    OPERATIONB–63504EN/015. TEST OPERATION441lG73(Closed–loop cutting cycle)Rapid traverseCutting feedS : Single–block stopTool path 1to 6 is as-sumed asone cycle.After 10 isfinished, astop ismade.lG74(End surface cutting–off cycle) G75(Outer/inner surface cutting–offcycle)12345678910This f...

  • Page 466

    6. SAFETY FUNCTIONSB–63504EN/01OPERATION4426 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 467

    B–63504EN/016. SAFETY FUNCTIONSOPERATION443If 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 ...

  • Page 468

    6. SAFETY FUNCTIONSB–63504EN/01OPERATION444When 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 OvertravelWh...

  • Page 469

    B–63504EN/016. SAFETY FUNCTIONSOPERATION445There areas which the tool cannot enter can be specified with stored strokecheck 1, stored stroke check 2, and stored stroke check 3.ÇÇÇÇ:Forbidden area for the toolStored stroke limit 1ÇÇÇÇÇÇÇÇÇÇÇÇÇÇÇÇÇÇÇÇÇÇÇÇÇÇÇÇÇÇÇ...

  • Page 470

    6. SAFETY FUNCTIONSB–63504EN/01OPERATION446G 22X_Z_I_K_;A(X,Z)X>I,Z>KX–I>ζZ–K>ζB(I,K)ζ is the distance the tool travels in 8 ms. It is 2000 in least command increments when the feedrate is 15 m/min.Fig. 6.3 (b) Creating or changing the forbidden area using a programWhen sett...

  • Page 471

    B–63504EN/016. SAFETY FUNCTIONSOPERATION447The parameter setting or programmed value (XZIK) depends on whichpart of the tool or tool holder is checked for entering the forbidden area.Confirm the checking position (the top of the tool or the tool chuck) beforeprogramming the forbidden area.If po...

  • Page 472

    6. SAFETY FUNCTIONSB–63504EN/01OPERATION448NOTEIn setting a forbidden area, if the two points to be set arethesame, the area is as follows:(1)When the forbidden area is stored stroke check 1, allareas are forbidden areas.(2)When the forbidden area is stored stroke check 2 orstored stroke check...

  • Page 473

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

  • Page 474

    OPERATION7. ALARM AND SELF–DIAGNOSISFUNCTIONSB–63504EN/01450When an alarm occurs, the alarm screen appears.ALARMALARM MESSAGEMDI* * * * * * * * * *18 : 52 : 05000000000100PARAMETER WRITE ENABLE510OVER TRAVEL:+X520OVER TRAVEL:+2530OVER TRAVEL:+3MSGHISTRYS 0 T0000ALMIn some cases, the a...

  • Page 475

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

  • Page 476

    OPERATION7. ALARM AND SELF–DIAGNOSISFUNCTIONSB–63504EN/01452Up to 50 of the most recent CNC alarms are stored and displayed on thescreen.Display the alarm history as follows:Procedure for Alarm History Display1Press the function key MESSAGE2Press the chapter selection soft key [HISTRY].The a...

  • Page 477

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

  • Page 478

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

  • Page 479

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

  • Page 480

    8. DATA INPUT/OUTPUTB–63504EN/01OPERATION4568 DATA INPUT/OUTPUTNC data is transferred between the CNC 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...

  • Page 481

    B–63504EN/018. DATA INPUT/OUTPUTOPERATION457Of the external input/output devices, the FANUC Handy File use floppydisks as their input/output medium.In this manual, an input/output medium is generally referred to as afloppy.Unlike an NC tape, a floppy allows the user to freely choose from severa...

  • Page 482

    8. DATA INPUT/OUTPUTB–63504EN/01OPERATION458The floppy is provided with the write protect switch. Set the switch tothe write enable state. Then, start output operation.(2) Write–enabled (Reading, writ-ing, and deletion are possible.)Write protect switch of a cassette(1) Write–protected(On...

  • Page 483

    B–63504EN/018. DATA INPUT/OUTPUTOPERATION459When the program is input from the floppy, the file to be input firstmust be searched.For this purpose, proceed as follows:File 1File searching of the file nFile nBlankFile 2File 3Procedure for File Heading1Press the EDIT or MEMORY switch on the machi...

  • Page 484

    8. DATA INPUT/OUTPUTB–63504EN/01OPERATION460No.Description86The ready signal (DR) of an input/output device is off.An alarm is not immediately indicated in the CNC even whenan alarm occurs during head searching (when a file is notfound, or the like).An alarm is given when the input/output opera...

  • Page 485

    B–63504EN/018. DATA INPUT/OUTPUTOPERATION461Files 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 key PRO...

  • Page 486

    8. DATA INPUT/OUTPUTB–63504EN/01OPERATION462This 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.For the two–path control, select the tool post for which a program tobe input is used...

  • Page 487

    B–63504EN/018. DATA INPUT/OUTPUTOPERATION463- When a program is entered without specifying a program number.S 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 thefirst block is assigned to the program.S When the program...

  • Page 488

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

  • Page 489

    B–63504EN/018. DATA INPUT/OUTPUTOPERATION465A 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.3Pr...

  • Page 490

    8. DATA INPUT/OUTPUTB–63504EN/01OPERATION466Punch operation can be performed in the same way as in the foreground.This function alone can punch out a program selected for foregroundoperation.<O> (Program No.) [PUNCH] [EXEC]: Punches out a specified program.<O> H–9999I [PUNCH] [EXE...

  • Page 491

    B–63504EN/018. DATA INPUT/OUTPUTOPERATION467Offset 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 sectionIII–8.5.2. When an offset value is loaded which has the same offsetnumber as an offset number already re...

  • Page 492

    8. DATA INPUT/OUTPUTB–63504EN/01OPERATION468All 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 493

    B–63504EN/018. DATA INPUT/OUTPUTOPERATION469Parameters 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 sa...

  • Page 494

    8. DATA INPUT/OUTPUTB–63504EN/01OPERATION47015Turn the power to the NC back on.16Release the EMERGENCY STOP button on the machine operator’spanel.All parameters are output in the defined format from the memory of theCNC to a floppy or NC tape.Procedure for Outputting Parameters1Make sure the ...

  • Page 495

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

  • Page 496

    8. DATA INPUT/OUTPUTB–63504EN/01OPERATION47216Release the EMERGENCY STOP button on the machine operator’spanel.Parameters 3620 to 3624 and pitch error compensation data must be setcorrectly to apply pitch error compensation correctly (See subsec. III–11.5.2)All pitch error compensation data...

  • Page 497

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

  • Page 498

    8. DATA INPUT/OUTPUTB–63504EN/01OPERATION474Custom 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.Procedure for Outputting Custom Macro Common Variable1Make sure the output device is ready for output.2Specify the p...

  • Page 499

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

  • Page 500

    8. DATA INPUT/OUTPUTB–63504EN/01OPERATION476Displaying the Directory of Floppy Disk FilesUse the following procedure to display a directory of all the filesstored in a floppy:1Press the EDIT switch on the machine operator’s panel.2Press function key PROG.3Press the rightmost soft key (next...

  • Page 501

    B–63504EN/018. DATA INPUT/OUTPUTOPERATION477Use the following procedure to display a directory of files startingwith a specified file number :1Press the EDIT switch on the machine operator’s panel.2Press function key PROG.3Press the rightmost soft key (next–menu key).4Press soft key [FLOPPY...

  • Page 502

    8. DATA INPUT/OUTPUTB–63504EN/01OPERATION478NO: Displays the file numberFILE NAME : Displays the file name.(METER): Converts and prints out the file capacity topaper tape length. You can also produce H(FEET)I by setting the INPUT UNIT to INCHof the setting data.VOL.: When the file is multi–v...

  • Page 503

    B–63504EN/018. DATA INPUT/OUTPUTOPERATION479The contents of the specified file number are read to the memory of NC.Procedure for Reading Files1Press the EDIT switch on the machine operator’s panel.2Press function key PROG.3Press the rightmost soft key (next–menu key).4Press soft key [FLOPP...

  • Page 504

    8. DATA INPUT/OUTPUTB–63504EN/01OPERATION480Any program in the memory of the CNC unit can be output to a floppyas a file.Procedure for Outputting Programs1Press the EDIT switch on the machine operator’s panel.2Press function key PROG.3Press the rightmost soft key (next–menu key).4Press soft...

  • Page 505

    B–63504EN/018. DATA INPUT/OUTPUTOPERATION481The file with the specified file number is deleted.Procedure for Deleting Files1Press the EDIT switch on the machine operator’s panel.2Press function key PROG.3Press the rightmost soft key (next–menu key).4Press soft key [FLOPPY].5Press soft key [...

  • Page 506

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

  • Page 507

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

  • Page 508

    8. DATA INPUT/OUTPUTB–63504EN/01OPERATION484To input/output a particular type of data, the corresponding screen isusually selected. For example, the parameter screen is used for parameterinput from or output to an external input/output unit, while the programscreen is used for program input or...

  • Page 509

    B–63504EN/018. DATA INPUT/OUTPUTOPERATION485Input/output–related parameters can be set on the ALL IO screen.Parameters can be set, regardless of the mode. Setting input/output–related parameters1Press function key SYSTEM.2Press the rightmost soft key (next–menu key) several times.3Press ...

  • Page 510

    8. DATA INPUT/OUTPUTB–63504EN/01OPERATION486A program can be input and output using the ALL IO screen.When entering a program using a cassette or card, the user must specifythe input file containing the program (file search).File search1Press soft key [PRGRM] on the ALL IO screen, described in ...

  • Page 511

    B–63504EN/018. DATA INPUT/OUTPUTOPERATION487When a file already exists in a cassette or card, specifying N0 or N1 hasthe same effect. If N1 is specified when there is no file on the cassette orcard, an alarm is issued because the first file cannot be found. SpecifyingN0 places the head at the...

  • Page 512

    8. DATA INPUT/OUTPUTB–63504EN/01OPERATION4885Press soft key [READ], then [EXEC].The program is input with the program number specified in step 4assigned.To cancel input, press soft key [CAN].To stop input prior to its completion, press soft key [STOP].Outputting a program1Press soft key [PRGRM]...

  • Page 513

    B–63504EN/018. DATA INPUT/OUTPUTOPERATION489Deleting files1Press soft key [PRGRM] on the ALL IO screen, described in Section8.10.1.2Select EDIT mode. A program directory is displayed.3Press soft key [(OPRT)]. The screen and soft keys change as shownbelow.D A program directory is displayed onl...

  • Page 514

    8. DATA INPUT/OUTPUTB–63504EN/01OPERATION490Parameters can be input and output using the ALL IO screen.Inputting parameters1Press soft key [PARAM] on the ALL IO screen, described in Section8.10.1.2Select EDIT mode.3Press soft key [(OPRT)]. The screen and soft keys change as shownbelow.READ/PUN...

  • Page 515

    B–63504EN/018. DATA INPUT/OUTPUTOPERATION491Outputting parameters1Press soft key [PARAM] on the ALL IO screen, described in Section8.10.1.2Select EDIT mode.3Press soft key [(OPRT)]. The screen and soft keys change as shownbelow.READ/PUNCH (PARAMETER)O1234 N12345MDI * * * * * * * * * * ...

  • Page 516

    8. DATA INPUT/OUTPUTB–63504EN/01OPERATION492Offset data can be input and output using the ALL IO screen. Inputting offset data1Press soft key [OFFSET] on the ALL IO screen, described in Section8.10.1.2Select EDIT mode.3Press soft key [(OPRT)]. The screen and soft keys change as shownbelow.READ...

  • Page 517

    B–63504EN/018. DATA INPUT/OUTPUTOPERATION493Outputting offset data1Press soft key [OFFSET] on the ALL IO screen, described in Section8.10.1.2Select EDIT mode.3Press soft key [(OPRT)]. The screen and soft keys change as shownbelow.READ/PUNCH (OFFSET)O1234 N12345MDI * * * * * * * * * * ...

  • Page 518

    8. DATA INPUT/OUTPUTB–63504EN/01OPERATION494Custom macro common variables can be output using the ALL IO screen.Outputting custom macro common variables1Press soft key [MACRO] on the ALL IO screen, described in Section8.10.1.2Select EDIT mode.3Press soft key [(OPRT)]. The screen and soft keys ...

  • Page 519

    B–63504EN/018. DATA INPUT/OUTPUTOPERATION495The ALL IO screen supports the display of a directory of floppy files, aswell as the input and output of floppy files.Displaying a file directory1Press the rightmost soft key (next–menu key) on the ALL IOscreen, described in Section 8.10.1.2Press s...

  • Page 520

    8. DATA INPUT/OUTPUTB–63504EN/01OPERATION4967Press soft key [EXEC]. A directory is displayed, with the specifiedfile uppermost. Subsequent files in the directory can be displayed bypressing the page key.READ/PUNCH (FLOPPY) No.FILE NAMEO1234 N12345(Meter) VOLEDIT * * * * * * * * * * ...

  • Page 521

    B–63504EN/018. DATA INPUT/OUTPUTOPERATION497Inputting a file1Press the rightmost soft key (next–menu key) on the ALL IOscreen, described in Section 8.10.1.2Press soft key [FLOPPY].3Select EDIT mode. The floppy screen is displayed.4Press soft key [(OPRT)]. The screen and soft keys change as...

  • Page 522

    8. DATA INPUT/OUTPUTB–63504EN/01OPERATION498Outputting a file1Press the rightmost soft key (next–menu key) on the ALL IOscreen, described in Section 8.10.1.2Press soft key [FLOPPY].3Select EDIT mode. The floppy screen is displayed.4Press soft key [(OPRT)]. The screen and soft keys change a...

  • Page 523

    B–63504EN/018. DATA INPUT/OUTPUTOPERATION499Deleting a file1Press the rightmost soft key (next–menu key) on the ALL IOscreen, described in Section 8.10.1.2Press soft key [FLOPPY].3Select EDIT mode. The floppy screen is displayed.4Press soft key [(OPRT)]. The screen and soft keys change as ...

  • Page 524

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

  • Page 525

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

  • Page 526

    9. EDITING PROGRAMSB–63504EN/01OPERATION502A 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 527

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

  • Page 528

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

  • Page 529

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

  • Page 530

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

  • Page 531

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

  • Page 532

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

  • Page 533

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

  • Page 534

    9. EDITING PROGRAMSB–63504EN/01OPERATION510CAUTIONWhen there are too many blocks to be deleted, a P/S alarm(No. 070) may be generated. If this happens, reduce thenumber of blocks to be deleted.

  • Page 535

    B–63504EN/019. EDITING PROGRAMSOPERATION511When memory holds multiple programs, a program can be searched for.There are three methods as follows.Procedure for program number search1Select EDIT or MEMORY mode.2Press PROG to display the program screen.3Key in address O .4Key in a program number t...

  • Page 536

    9. EDITING PROGRAMSB–63504EN/01OPERATION512Sequence number search operation is usually used to search for asequence number in the middle of a program so that execution can bestarted or restarted at the block of the sequence number. Example) Sequence number 02346 in a program (O0002) is searche...

  • Page 537

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

  • Page 538

    9. EDITING PROGRAMSB–63504EN/01OPERATION514Programs 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 539

    B–63504EN/019. EDITING PROGRAMSOPERATION515Programs within a specified range in memory are deleted.Procedure for deleting more than one program by specifying a range1Select the EDIT mode.2Press PROG to display the program screen.3Enter the range of program numbers to be deleted with address and...

  • Page 540

    9. EDITING PROGRAMSB–63504EN/01OPERATION516With 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 move...

  • Page 541

    B–63504EN/019. EDITING PROGRAMSOPERATION517A new program can be created by copying a program.AOxxxxAOxxxxAfter copyAOyyyyCopyBefore copyFig. 9.6.1 Copying an Entire ProgramIn Fig. 9.6.1, the program with program number xxxx is copied to a newlycreated program with program number yyyy. The pro...

  • Page 542

    9. EDITING PROGRAMSB–63504EN/01OPERATION518A new program can be created by copying part of a program.BOxxxxOxxxxAfter copyBOyyyyCopyBefore copyFig. 9.6.2 Copying Part of a ProgramACBACIn Fig. 9.6.2, part B of the program with program number xxxx is copiedto a newly created program with program...

  • Page 543

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

  • Page 544

    9. EDITING PROGRAMSB–63504EN/01OPERATION520Another program can be inserted at an arbitrary position in the currentprogram.OxxxxBefore mergeBOyyyyMergeFig. 9.6.4 Merging a program at a specified locationAOxxxxAfter mergeBOyyyyBACCMergelocationIn Fig. 9.6.4, the program with program number XXXX ...

  • Page 545

    B–63504EN/019. EDITING PROGRAMSOPERATION521The setting of an editing range start point with [CRSR∼] can be changedfreely until an editing range end point is set with [∼CRSR] or [∼BTTM].If an editing range start point is set after an editing range end point, theediting range must be reset ...

  • Page 546

    9. EDITING PROGRAMSB–63504EN/01OPERATION522Alarm No.Contents70Memory became insufficient while copying or inserting a pro-gram. Copy or insertion is terminated.101The power was interrupted during copying, moving, or insertinga program and memory used for editing must be cleared.When this alarm...

  • Page 547

    B–63504EN/019. EDITING PROGRAMSOPERATION523Replace 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 change of words or addresses1Perform steps 1 to 5 in subsection 9.6.1.2Press soft key [...

  • Page 548

    9. EDITING PROGRAMSB–63504EN/01OPERATION524Up to 15 characters can be specified for words before or after replacement.(Sixteen or more characters cannot be specified.)Words before or after replacement must start with a character representingan address. (A format error occurs.)RestrictionsD The...

  • Page 549

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

  • Page 550

    9. EDITING PROGRAMSB–63504EN/01OPERATION526Editing a program while executing another program is called backgroundediting. The method of editing is the same as for ordinary editing(foreground editing).A program edited in the background should be registered in foregroundprogram memory by perform...

  • Page 551

    B–63504EN/019. EDITING PROGRAMSOPERATION527The password function (bit 4 (NE9) of parameter No. 3202) can be lockedusing parameter No. 3210 (PASSWD) and parameter No. 3211(KEYWD) to protect program Nos. O9000 to O9999. In the locked state,parameter NE9 cannot be set to 0. In this state, progra...

  • Page 552

    9. EDITING PROGRAMSB–63504EN/01OPERATION528The locked state is set when a value is set in the parameter PASSWD.However, note that parameter PASSWD can be set only when the lockedstate is not set (when PASSWD = 0, or PASSWD = KEYWD). If anattempt is made to set parameter PASSWD in other cases, ...

  • Page 553

    OPERATIONB–63504EN/0110. CREATING PROGRAMS52910 CREATING PROGRAMSPrograms can be created using any of the following methods:⋅ MDI keyboard⋅ PROGRAMMING IN TEACH IN MODE⋅ CONVERSATIONAL PROGRAMMING INPUT WITH GRAPHICFUNCTION⋅ AUTOMATIC PROGRAM PREPARATION DEVICE (FANUCSYSTEM P)This chapt...

  • Page 554

    OPERATION10. CREATING PROGRAMSB–63504EN/01530Programs can be created in the EDIT mode using the program editingfunctions described in Chapter III–9.Procedure for Creating Programs Using the MDI Panel1Enter the EDIT mode.2Press the PROGkey.3Press address key O and enter the program number.4Pre...

  • Page 555

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

  • Page 556

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

  • Page 557

    OPERATIONB–63504EN/0110. CREATING PROGRAMS533In TEACH IN JOG mode and TEACH IN HANDLE mode, a machineposition along the X, Z, and Y axes obtained by manual operation is storedin memory as a program position to create a program.The words other than X, Z, and Y, which include O, N, G, R, F, C, M,...

  • Page 558

    OPERATION10. CREATING PROGRAMSB–63504EN/01534O1234 ;N1 G50 X100000 Z200000 ;N2 G00 X14784 Z8736 ;N3 G01 Z103480 F300 ;N4 M02 ;XZP0 (100000,200000)P1P2 (10000,103480)(14784,8736)1Set the setting data SEQUENCE NO. to 1 (on). (The incrementalvalue parameter (No. 3212) is assumed to be “1”.)2S...

  • Page 559

    OPERATIONB–63504EN/0110. CREATING PROGRAMS53510Enter the P2 machine position for data of the third block as follows:G01INSERTZINSERTF300INSERTEOBINSERTThis operation registers G01 Z103480 F300; in memory. The automatic sequence number insertion function registers N4 of thefourth block in memor...

  • Page 560

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

  • Page 561

    OPERATIONB–63504EN/0110. CREATING PROGRAMS5374Press the [C.A.P] soft key. The following G code menu is displayedon the screen.If soft keys different from those shown in step 2 are displayed, pressthe menu return key to display the correct soft keys.PROGRAMO1234 N00004G00: POSITIONINGG01: LIN...

  • Page 562

    OPERATION10. CREATING PROGRAMSB–63504EN/01538When no keys are pressed, the standard details screen is displayed.* * * * * * * * * *O0010 N00000PROGRAMGGGGXUZWACFHIKPQRMST :EDIT14 : 41 : 10(OPRT)PRGRMG.MENU BLOCK7Move the cursor to the block to be modified on the program screen.At this t...

  • Page 563

    OPERATIONB–63504EN/0110. CREATING PROGRAMS5391Move 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 conversational screen, then press the or pagekey until the block to be modified is displayed.2When...

  • Page 564

    OPERATION11. SETTING AND DISPLAYING DATAB–63504EN/0154011 SETTING AND DISPLAYING DATATo operate a CNC machine tool, various data must be set on the CRT/MDIor LCD/MDI for the CNC. The operator can monitor the state ofoperation with data displayed during operation.This chapter describes how to d...

  • Page 565

    OPERATIONB–63504EN/0111. SETTING AND DISPLAYING DATA541POSScreen transition triggered by the function key POSPOSITION DISPLAY SCREENCurrent position screenPosition display ofwork coordinatesystem⇒See III–11.1.1.Display of partcount and run time⇒See III–11.1.6.Display of actualspeed⇒Se...

  • Page 566

    OPERATION11. SETTING AND DISPLAYING DATAB–63504EN/01542Program screenDisplay of pro-gram contents⇒See III–11.2.1.Display of currentblock and modaldata⇒See III–11.2.2.PRGRMCHECKCURRNTNEXT(OPRT)PROGScreen transition triggered by the function keyin the MEMORY or MDI modePROGPROGRAM SCREENM...

  • Page 567

    OPERATIONB–63504EN/0111. SETTING AND DISPLAYING DATA543Program editingscreen⇒See III–10Program memoryand program di-rectory⇒See III–11.3.1.PRGRMLIBC.A.P.(OPRT)PROGEDITConversational programming screen⇒See III–10FLOPPY(OPRT)EDITFile directoryscreen forfloppy disks⇒See III–8Progra...

  • Page 568

    OPERATION11. SETTING AND DISPLAYING DATAB–63504EN/01544Software operator’spanel switch⇒See III–11.4.13.Tool offset valueDisplay of tooloffset value⇒See III–11.4.1.OFFSETSETTINGWORK(OPRT)Screen transition triggered by the function keyOFFSETSETTINGOFFSETSETTINGOFFSET/SETTING SCREENDispl...

  • Page 569

    OPERATIONB–63504EN/0111. SETTING AND DISPLAYING DATA5452/21*Setting of work-piece coordinateshift value by di-rect input functionB for tool offsetmeasured 2.⇒See III–11.4.3.Tool offset valueOFST.2W.SHFT(OPRT)Display of Yaxis offset value⇒See III–11.4.6.Display of workcoordinate system v...

  • Page 570

    OPERATION11. SETTING AND DISPLAYING DATAB–63504EN/01546Parameter screenPARAMDGNOSSYSTEM(OPRT)PITCH(OPRT)SYSTEMSYSTEMSYSTEM SCREENPMCDisplay of param-eter screen⇒see III–11.5.1Setting of parameter⇒see III–11.5.1Display of diag-nosis screen⇒See III–7SV.PRMSP.PRMDisplay of pitcherror d...

  • Page 571

    OPERATIONB–63504EN/0111. SETTING AND DISPLAYING DATA547The table below lists the data set on each screen.Table 11. Setting screens and data on themNo.Setting screenContents of settingReferenceitem1Tool offset valueTool offset valueTool nose radius compensation valueSubsec. 11.4.1Direct input o...

  • Page 572

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

  • Page 573

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

  • Page 574

    OPERATION11. SETTING AND DISPLAYING DATAB–63504EN/01550Displays the current position of the tool in a relative coordinate systembased on the coordinates set by the operator. The current position changesas the tool moves. The increment system is used as the unit for numericvalues. The title a...

  • Page 575

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

  • Page 576

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

  • Page 577

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

  • Page 578

    OPERATION11. SETTING AND DISPLAYING DATAB–63504EN/01554The actual feedrate on the machine (per minute) can be displayed on acurrent position display screen or program check screen by setting bit 0(DPF) of parameter 3015.Display procedure for the actual feedrate on the current position display s...

  • Page 579

    OPERATIONB–63504EN/0111. SETTING AND DISPLAYING DATA555In the case of feed per revolution and thread cutting, the actual feedratedisplayed is the feed per minute rather than feed per revolution.In the case of movement of rotary axis, the speed is displayed in units ofdeg/min but is displayed on...

  • Page 580

    OPERATION11. SETTING AND DISPLAYING DATAB–63504EN/01556The run time, cycle time, and the number of machined parts are displayedon the current position display screens.Procedure for displaying run time and parts count on the current position display screen1Press function key POS to display a cur...

  • Page 581

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

  • Page 582

    OPERATION11. SETTING AND DISPLAYING DATAB–63504EN/01558The reading on the load meter depends on servo parameter 2086 andspindle parameter 4127.Although the speedometer normally indicates the speed of the spindlemotor, it can also be used to indicate the speed of the spindle by settingbit 6 (OPS...

  • Page 583

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

  • Page 584

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

  • Page 585

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

  • Page 586

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

  • Page 587

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

  • Page 588

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

  • Page 589

    OPERATIONB–63504EN/0111. SETTING AND DISPLAYING DATA565This section describes the screens displayed by pressing function keyPROG in the EDIT mode. Function key PROG in the EDIT mode candisplay the program editing screen and the program display screen(displays memory used and a list of programs...

  • Page 590

    OPERATION11. SETTING AND DISPLAYING DATAB–63504EN/01566Displays 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 PROG.3Press chapter selection soft key [LIB]. O00...

  • Page 591

    OPERATIONB–63504EN/0111. SETTING AND DISPLAYING DATA567PROGRAM NO. USEDPROGRAM NO. USED : The number of the programs registered (including the subprograms)FREE :The number of programs which can beregistered additionally.MEMORY AREA USEDMEMORY AREA USED : The capacity of the program memory in...

  • Page 592

    OPERATION11. SETTING AND DISPLAYING DATAB–63504EN/01568Always enter a program name between the control out and control incodes immediately after the program number. Up to 31 characters can be used for naming a program within theparentheses. If 31 characters are exceeded, the exceeded characte...

  • Page 593

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

  • Page 594

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

  • Page 595

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

  • Page 596

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

  • Page 597

    OPERATIONB–63504EN/0111. SETTING AND DISPLAYING DATA573Dedicated screens are provided for displaying and setting tool offsetvalues and tool nose radius compensation values.Procedure for setting and displaying the tool offset value and the tool nose radiuscompensation value1Press function key OF...

  • Page 598

    OPERATION11. SETTING AND DISPLAYING DATAB–63504EN/015744To set a compensation value, enter a value and press soft key [INPUT].To change the compensation value, enter a value to add to the currentvalue (a negative value to reduce the current value) and press soft key[+INPUT]. Or, enter a new va...

  • Page 599

    OPERATIONB–63504EN/0111. SETTING AND DISPLAYING DATA575When offset values have been changed during automatic operation, bit 4(LGT) and bit 6 (LWM) of parameter 5002 can be used for specifyingwhether new offset values become valid in the next move command or inthe next T code command.LGTLWMChang...

  • Page 600

    OPERATION11. SETTING AND DISPLAYING DATAB–63504EN/01576To set the difference between the tool reference position used inprogramming (the nose of the standard tool, turret center, etc.) and the tooltip position of a tool actually used as an offset valueProcedure for direct input of tool offset v...

  • Page 601

    OPERATIONB–63504EN/0111. SETTING AND DISPLAYING DATA5773–4 Key in the measured value (β).3–5 Press the soft key [MESURE].The difference between measured value β and the coordinate isset as the offset value.4Cut surface B in manual mode.5Release the tool in the Z–axis direction without m...

  • Page 602

    OPERATION11. SETTING AND DISPLAYING DATAB–63504EN/01578The direct input function B for tool offset measured is used to set toolcompensation values and workpiece coordinate system shift values.Procedure for setting the tool offset valueTool position offset values can be automatically set by manu...

  • Page 603

    OPERATIONB–63504EN/0111. SETTING AND DISPLAYING DATA5799Set the offset writing signal mode GOQSM to LOW.The writing mode is canceled and the blinking “OFST” indicator lightgoes off.Procedure for setting the work coordinate system shift amountTool position offset values can be automatically ...

  • Page 604

    OPERATION11. SETTING AND DISPLAYING DATAB–63504EN/01580By moving the tool until it reaches the desired reference position, thecorresponding tool offset value can be set. Procedure for counter input of offset value1Manually move the reference tool to the reference position.2Reset the relative c...

  • Page 605

    OPERATIONB–63504EN/0111. SETTING AND DISPLAYING DATA581The set coordinate system can be shifted when the coordinate systemwhich has been set by a G50 command (or G92 command for G codesystem B or C) or automatic coordinate system setting is different fromthe workpiece coordinate system assumed ...

  • Page 606

    OPERATION11. SETTING AND DISPLAYING DATAB–63504EN/01582Shift values become valid immediately after they are set.Setting a command (G50 or G92) for setting a coordinate system disablesthe set shift values.Example When G50 X100.0 Z80.0; is specified, the coordinate systemis set so that the curren...

  • Page 607

    OPERATIONB–63504EN/0111. SETTING AND DISPLAYING DATA583Tool position offset values along the Y–axis can be set. Counter input ofoffset values is also possible.Direct input of tool offset value and direct input function B for tool offsetmeasured are not available for the Y–axis.Procedure fo...

  • Page 608

    OPERATION11. SETTING AND DISPLAYING DATAB–63504EN/015844Position the cursor at the offset number to be changed by using eitherof the following methods:DMove the cursor to the offset number to be changed using pagekeys and cursor keys.DType the offset number and press soft key [NO.SRH].5Type the...

  • Page 609

    OPERATIONB–63504EN/0111. SETTING AND DISPLAYING DATA585Procedure for counter input of the offset valueTo set relative coordinates along the Y–axis as offset values:1Move the reference tool to the reference point.2Reset relative coordinate Y to 0 (see subsec. III–11.1.2).3Move the tool for w...

  • Page 610

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

  • Page 611

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

  • Page 612

    OPERATION11. SETTING AND DISPLAYING DATAB–63504EN/01588If a block containing a specified sequence number appears in the programbeing executed, operation enters single block mode after the block isexecuted.Procedure for sequence number comparison and stop1Select the MDI mode.2Press function key ...

  • Page 613

    OPERATIONB–63504EN/0111. SETTING AND DISPLAYING DATA589After 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 614

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

  • Page 615

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

  • Page 616

    OPERATION11. SETTING AND DISPLAYING DATAB–63504EN/01592Displays the workpiece origin offset for each workpiece coordinatesystem (G54 to G59) and external workpiece origin offset. The workpieceorigin offset and external workpiece origin offset can be set on this screen.Procedure for Displaying ...

  • Page 617

    OPERATIONB–63504EN/0111. SETTING AND DISPLAYING DATA593This function is used to compensate for the difference between theprogrammed workpiece coordinate system and the actual workpiececoordinate system. The measured offset for the origin of the workpiececoordinate system can be input on the sc...

  • Page 618

    OPERATION11. SETTING AND DISPLAYING DATAB–63504EN/015945To display the workpiece origin offset setting screen, press thechapter selection soft key [WORK]. NO. DATA NO. DATA 00X0.00002X0.000 (EXT) Z0.000(G55)Z0.000 01X0.00003X0.000 (G54) Z0.000(G56)Z0.000 WORK ...

  • Page 619

    OPERATIONB–63504EN/0111. SETTING AND DISPLAYING DATA595Displays common variables (#100 to #199 and #500 to #999) on the CRT.When the absolute value for a common variable exceeds 99999999,******** is displayed. The values for variables can be set on this screen.Relative coordinates can also be ...

  • Page 620

    OPERATION11. SETTING AND DISPLAYING DATAB–63504EN/01596With this function, functions of the switches on the machine operator’spanel can be controlled from the MDI panel.Jog feed can be performed using numeric keys.Procedure for displaying and setting the software operator’s panel1Press func...

  • Page 621

    OPERATIONB–63504EN/0111. SETTING AND DISPLAYING DATA5975Push the cursor move key or to match the markJ to anarbitrary position and set the desired condition.6Press one of the following arrow keys to perform jog feed. Press the5 key together with an arrow key to perform manual continuousrapid ...

  • Page 622

    OPERATION11. SETTING AND DISPLAYING DATAB–63504EN/01598Tool 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 anarbitrary value. Tool data (...

  • Page 623

    OPERATIONB–63504EN/0111. SETTING AND DISPLAYING DATA5997To reset the tool data, move the cursor on the group to reset, then pressthe [(OPRT)], [CLEAR], and [EXEC] soft keys in this order.All execution data for the group indicated by the cursor is clearedtogether with the marks (@, #, or *).The ...

  • Page 624

    OPERATION11. SETTING AND DISPLAYING DATAB–63504EN/01600TOOL LIFE DATA : O3000 N00060 SELECTED GROUP 000GROUP 001 : LIFE 0150 COUNT 0007 * 0034 # 0078 @ 00120056009000350026006100000000000000000000000000000000GROUP 002 : LIFE 1400 COUNT 00000062002400440074...

  • Page 625

    OPERATIONB–63504EN/0111. SETTING AND DISPLAYING DATA601When the CNC and machine are connected, parameters must be set todetermine the specifications and functions of the machine in order to fullyutilize the characteristics of the servo motor or other parts.This chapter describes how to set para...

  • Page 626

    OPERATION11. SETTING AND DISPLAYING DATAB–63504EN/01602When the CNC and machine are connected, parameters are set todetermine the specifications and functions of the machine in order to fullyutilize the characteristics of the servo motor. The setting of parametersdepends on the machine. Refer...

  • Page 627

    OPERATIONB–63504EN/0111. SETTING AND DISPLAYING DATA603Procedure for enabling/displaying parameter writing1Select the MDI mode or enter state emergency stop.2Press function key OFFSETSETTING.3Press soft key [SETING] to display the setting screen.SETTING (HANDY) O0001 N00000&g...

  • Page 628

    OPERATION11. SETTING AND DISPLAYING DATAB–63504EN/01604If pitch error compensation data is specified, pitch errors of each axis canbe compensated in detection unit per axis. Pitch error compensation data is set for each compensation point at theintervals specified for each axis. The origin of...

  • Page 629

    OPERATIONB–63504EN/0111. SETTING AND DISPLAYING DATA605Procedure for displaying and setting the pitch error compensation data1Set the following parameters:D Number of the pitch error compensation point at the referenceposition (for each axis): Parameter 3620D Number of the pitch error compensa...

  • Page 630

    OPERATION11. SETTING AND DISPLAYING DATAB–63504EN/01606The program number, sequence number, and current CNC status arealways displayed on the screen except when the power is turned on, asystem alarm occurs, or the PMC screen is displayed.If data setting or the input/output operation is incorrec...

  • Page 631

    OPERATIONB–63504EN/0111. SETTING AND DISPLAYING DATA607The current mode, automatic operation state, alarm state, and programediting state are displayed on the next to last line on the CRT screenallowing the operator to readily understand the operation condition of thesystem.If data setting or t...

  • Page 632

    OPERATION11. SETTING AND DISPLAYING DATAB–63504EN/01608ALM: Indicates that an alarm is issued. (Blinks in reversed display.)BAT: Indicates that the battery is low. (Blinks in reversed display.)Space: Indicates a state other than the above.hh:mm:ss – Hours, minutes, and secondsINPUT : Ind...

  • Page 633

    OPERATIONB–63504EN/0111. SETTING AND DISPLAYING DATA609By pressing the MESSAGE function key, data such as alarms, alarmhistory data, and external messages can be displayed.For information relating to alarm display, see Section III.7.1. Forinformation relating to alarm history display, see Sect...

  • Page 634

    OPERATION11. SETTING AND DISPLAYING DATAB–63504EN/01610When an external operator message number is specified, updating of theexternal operator message history data is started; this updating iscontinued until a new external operator message number is specified ordeletion of the external operator...

  • Page 635

    OPERATIONB–63504EN/0111. SETTING AND DISPLAYING DATA611When screen indication isn’t necessary, the life of the display unit can beput off by turning off the screen.The screen can be cleared by pressing specific keys. It is also possible tospecify the automatic clearing of the screen if no ke...

  • Page 636

    OPERATION11. SETTING AND DISPLAYING DATAB–63504EN/01612The CNC screen is automatically cleared if no keys are pressed during theperiod (in minutes) specified with a parameter. The screen is restored bypressing any key.Procedure for Automatic Erase CRT Screen DisplayThe CNC screen is cleared on...

  • Page 637

    OPERATIONB–63504EN/0112. GRAPHICS FUNCTION61312 GRAPHICS FUNCTIONThe graphic function indicates how the tool moves during automaticoperation or manual operation.

  • Page 638

    OPERATION12. GRAPHICS FUNCTIONB–63504EN/01614It is possible to draw the programmed tool path on the screen, whichmakes it possible to check the progress of machining, while observing thepath on the screen.In addition, it is also possible to enlarge/reduce the screen.The drawing coordinates (par...

  • Page 639

    OPERATIONB–63504EN/0112. GRAPHICS FUNCTION6156Automatic or manual operation is started and machine movement isdrawn on the screen.000100021X 200.000Z 200.000XZ>_MEM STRT **** FIN 12:12:24 [ G.PRM ][ ][ GRAPH ][ ZOOM ][ (OPRT) ]Part of a drawing on the screen can be magnified.7Pre...

  • Page 640

    OPERATION12. GRAPHICS FUNCTIONB–63504EN/0161610Resume the previous operation. The part of the drawing specifiedwith the zoom cursors will be magnified.000100012X 200.000Z 200.000XZS0.81>_MEM STRT **** FIN 12:12:24 [ G.PRM ][ GRAPH ][ ][ ][ ]11To display the origina...

  • Page 641

    OPERATIONB–63504EN/0112. GRAPHICS FUNCTION617WORK LENGTH (W), WORK DIAMETER (D)Specify work length and work diameter. The table below lists the inputunit and valid data range.WDXZWDZXTable 12.1 Unit and Range of Drawing DataUnitIncrement systemmm inputInch inputValid rangeIS–B0.001 mm0.0001...

  • Page 642

    OPERATION12. GRAPHICS FUNCTIONB–63504EN/01618Since the graphic drawing is done when coordinate value is renewedduring automatic operation, etc., it is necessary to start the program byautomatic operation. To execute drawing without moving the machine,therefore, enter the machine lock state.P...

  • Page 643

    OPERATIONB–63504EN/0113. HELP FUNCTION61913 HELP FUNCTIONThe help function displays on the screen detailed information aboutalarms issued in the CNC and about CNC operations. The followinginformation is displayed.When the CNC is operated incorrectly or an erroneous machiningprogram is executed...

  • Page 644

    OPERATION13. HELP FUNCTIONB–63504EN/016202Press soft key [1 ALAM] on the HELP (INITIAL MENU) screen todisplay detailed information about an alarm currently being raised.HELP (ALARM DETAIL)O0010 N00001NUMBER : 027M‘SAGE : NO AXES COMMANDED IN G43/G44FUNCTION : TOOL LENGTH COMPENSATIO...

  • Page 645

    OPERATIONB–63504EN/0113. HELP FUNCTION6213To get details on another alarm number, first enter the alarm number,then press soft key [SELECT]. This operation is useful forinvestigating alarms not currently being raised.Fig. 13 (d) How to select each ALARM DETAILS>100S 0 T0000MEM **** ***...

  • Page 646

    OPERATION13. HELP FUNCTIONB–63504EN/01622Fig. 13 (g) How to select each OPERATION METHOD screen>1S 0 T0000MEM **** *** ***10:12:25[ ][ ][ ][ ][ SELECT ]When “1. PROGRAM EDIT” is selected, for example, the screen inFigure 13 (g) is displayed.On each OPERATIO...

  • Page 647

    OPERATIONB–63504EN/0113. HELP FUNCTION623HELP (PARAMETER TABLE)01234 N000011/4* SETTEING(No. 0000∼)* READER/PUNCHER INTERFACE(No. 0100∼)* AXIS CONTROL/SETTING UNIT(No. 1000∼)* COORDINATE SYSTEM(No. 1200∼)* STROKE LIMIT(No. 1300∼)* FEED RATE(No. 1400∼)* ACCEL/DECELERATION CTRL(No. 1...

  • Page 648

  • Page 649

    IV. MAINTENANCE

  • Page 650

  • Page 651

    MAINTENANCEB–63504EN/011. METHOD OF REPLACING BATTERY6271 METHOD OF REPLACING BATTERYThis chapter describes how to replace the CNC backup battery andabsolute pulse coder battery. This chapter consists of the followingsections:1.1 REPLACING BATTERY FOR CONTROL UNIT1.2 BATTERY FOR SEPARATE ABSOL...

  • Page 652

    MAINTENANCE1. METHOD OF REPLACING BATTERYB–63504EN/016281 Use a litium battery (ordering drawing number :A02B–0177–K106)2 Turn on the Series 0i.3 Remove the battery case from the front panel of the power supply unit.The case can be removed easily by holding the top and bottom of it andpulli...

  • Page 653

    MAINTENANCEB–63504EN/011. METHOD OF REPLACING BATTERY6294 Remove the connector from the battery.BATTERYMEMORYCARDCNMCBattery connectorBatteryFront panel of controlunit main boardCP8Fig.1.1.1(b) Replacing the battery(2)5 Replace the battery and reconnect the connector.6 Install the battery case...

  • Page 654

    MAINTENANCE1. METHOD OF REPLACING BATTERYB–63504EN/01630One battery unit can maintain current position data for six absolute pulsecoders for a year.When the voltage of the battery becomes low, APC alarms 3n6 to 3n8 (n:axis number) are displayed on the CRT display. When APC alarm 3n7is displaye...

  • Page 655

    MAINTENANCEB–63504EN/011. METHOD OF REPLACING BATTERY631When the battery voltage falls, APC alarms 306 to 308 are displayed onthe screen. When APC alarm 307 is displayed, replace the battery as soonas possible. In general, the battery should be replaced within one or twoweeks of the alarm first...

  • Page 656

    MAINTENANCE1. METHOD OF REPLACING BATTERYB–63504EN/01632WARNING• The power magnetic cabinet in which the servo units aremounted has a high–voltage section. Don’t touch thissection that presents a severe risk of the electric shock.• In case of SERVO AMPLIFIER Alfa series, replace thebatt...

  • Page 657

    MAINTENANCEB–63504EN/011. METHOD OF REPLACING BATTERY633The battery is connected in either of 2 ways as follows.Method 1: Attach the lithium battery to the SVM.Use the battery: A06B–6073–K001.Method 2: Use the battery case (A06B–6050–K060).Use the battery: A06B–6050–K061 or D–size...

  • Page 658

    MAINTENANCE1. METHOD OF REPLACING BATTERYB–63504EN/01634CAUTION• The connector of the battery can be connected with eitherof CX5X and CX5Y.• Pay attention that the battery cable doesn’t have a stretchcondition. If this cable is connected on a stretch condition,a bad conductivity may be oc...

  • Page 659

    MAINTENANCEB–63504EN/011. METHOD OF REPLACING BATTERY635The battery is connected in either of 2 ways as follows.Method 1: Attach the lithium battery to the SVM.Use the battery: A06B–6093–K001.Method 2: Use the battery case (A06B–6050–K060).Use the battery: A06B–6050–K061 or D–size...

  • Page 660

    MAINTENANCE1. METHOD OF REPLACING BATTERYB–63504EN/01636BatteryBattery coverPass the battery cable to this slit.SVU-40, SVU-80CAUTIONThe connector of the battery can be connected with eitherof CX5X and CX5Y.Replace four D–size alkaline batteries in the battery case installed in themachine.[At...

  • Page 661

    MAINTENANCEB–63504EN/011. METHOD OF REPLACING BATTERY637ScrewsCoverOld batteries should be disposed as ”INDUSTRIAL WASTES”according to the regulations of the country or autonomy where yourmachine has been installed.Used batteries

  • Page 662

  • Page 663

    APPENDIX

  • Page 664

  • Page 665

    APPENDIXB–63504EN/01A. TAPE CODE LIST641ATAPE CODE LISTISO codeEIA codeRemarksCustommacro BCharacter8 7 6 5 43 2 1Character8 7 6 5 43 2 1NotusedUsed0f ff0ffNumber 01ff fff1ff Number 12ff fff2ffNumber 23f fff f3fff f Number 34ff fff4ffNumber 45f ffff5ffff Number 56f fff f6fff fNumber 67ff fff f ...

  • Page 666

    APPENDIXA. TAPE CODE LISTB–63504EN/01642ISO codeEIA codeRemarksCustommacro BCharacter 8 7 6 5 43 2 1Character8 7 6 5 43 2 1NotusedUsedDELf f f f f ff f fDelf f f f ff f fDelete (deleting a mispunch)××NULfBlankfNo punch. With EIAcode, this code can-not be used in a sig-nificant informationsec...

  • Page 667

    APPENDIXB–63504EN/01A. TAPE CODE LIST643NOTE1 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 not...

  • Page 668

    APPENDIXB. LIST OF FUNCTIONS AND TAPE FORMATB–63504EN/01644BLIST 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 and Z.x = 1st basic axis (X usually) z = 2nd basic axis...

  • Page 669

    APPENDIXB–63504EN/01B. LIST OF FUNCTIONS AND TAPE FORMAT645ÇÇÇÇÇÇÇÇÇCutter compensation(G40, G41, G42)ÇÇÇÇÇÇÇÇÇÇÇÇÇÇÇÇÇÇG41G42G41G42P_ ;PICoordinate system settingSpindle speed setting(G50)P : Tool offset numberG40 : CancelFunctionsIllustrationTape formatG40ToolRefere...

  • Page 670

    APPENDIXB. LIST OF FUNCTIONS AND TAPE FORMATB–63504EN/01646Feed per minute (G98)Feed per revolution (G99)Constant surface speedcontrol (G96/G97)G96 S_ ;G97 ; CancelRefer to II.13. FUNCTIONS TOSIMPLIFY PROGRAMMINGCanned cycle(G71 to G76)(G90, G92, G94)FunctionsIllustrationTape formatmm/min in...

  • Page 671

    APPENDIXB–63504EN/01C. RANGE OF COMMAND VALUE647CRANGE OF COMMAND VALUEIncrement systemIS–BIS–CLeast input increment0.001 mm0.0001 mmLeast command incrementX : 0.0005 mmZ : 0.001 mmX : 0.00005 mmZ : 0.0001 mmMax. programmable dimension±99999.999 mm±9999.9999 mmMax. rapid traverse *1240000...

  • Page 672

    APPENDIXC. RANGE OF COMMAND VALUEB–63504EN/01648Increment systemIS–BIS–CLeast input increment0.0001 inch0.00001 inchLeast command incrementX : 0.00005 inchZ : 0.0001 inchX : 0.000005 inchZ : 0.00001 inchMax. programmable dimension±9999.9999 inch±999.99999 inchMax. rapid traverse *19600 in...

  • Page 673

    APPENDIXB–63504EN/01C. RANGE OF COMMAND VALUE649Increment systemIS–BIS–CLeast input increment0.001 deg0.0001 degLeast command increment±0.001 deg±0.0001 degMax. programmabledimension±99999.999 deg±9999.9999 degMax. rapid traverse *1240000 deg/min100000 deg/minFeedrate range *11 to 24000...

  • Page 674

    APPENDIXD. NOMOGRAPHSB–63504EN/01650DNOMOGRAPHS

  • Page 675

    APPENDIXB–63504EN/01D. NOMOGRAPHS651The leads of a thread are generally incorrect in δ1 and δ2, as shown in Fig.D.1 (a), due to automatic acceleration and deceleration.Thus distance allowances must be made to the extent of δ1 and δ2 in theprogram.Fig. D.1 (a) Incorrect thread positionδ2...

  • Page 676

    APPENDIXD. NOMOGRAPHSB–63504EN/01652First specify the class and the lead of a thread. The thread accuracy, α,will be obtained at (1), and depending on the time constant of cutting feedacceleration/ deceleration, the δ1 value when V = 10mm / s will beobtained at (2). Then, depending on the s...

  • Page 677

    APPENDIXB–63504EN/01D. NOMOGRAPHS653Fig. D.2 Incorrect threaded portionδ2δ1R : Spindle speed (rpm)L : Thread lead (mm)* When time constant T of the servo system is 0.033 s.d2+ LR1800 * (mm)d1+ LR1800 *(–1–lna)+ d2(–1–lna)Following a is a permitted value of thread.a–1–lna0.0054.2...

  • Page 678

    APPENDIXD. NOMOGRAPHSB–63504EN/01654Nomograph for obtaining approach distance δ1D Reference

  • Page 679

    APPENDIXB–63504EN/01D. NOMOGRAPHS655When servo system delay (by exponential acceleration/deceleration atcutting or caused by the positioning system when a servo motor is used)is accompanied by cornering, a slight deviation is produced between thetool path (tool center path) and the programmed p...

  • Page 680

    APPENDIXD. NOMOGRAPHSB–63504EN/01656The tool path shown in Fig. D.3 (b) is analyzed based on the followingconditions:Feedrate is constant at both blocks before and after cornering.The controller has a buffer register. (The error differs with the readingspeed of the tape reader, number of chara...

  • Page 681

    APPENDIXB–63504EN/01D. NOMOGRAPHS657Fig. D.3 (c) Initial valueY0X0V0The initial value when cornering begins, that is, the X and Y coordinatesat the end of command distribution by the controller, is determined by thefeedrate and the positioning system time constant of the servo motor.X0+ VX1(T1)...

  • Page 682

    APPENDIXD. NOMOGRAPHSB–63504EN/01658When 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 683

    APPENDIXB–63504EN/01E. STATUS WHEN TURNING POWER ON,WHEN CLEAR AND WHEN RESET659E STATUS WHEN TURNING POWER ON, WHEN CLEARAND WHEN RESETParameter 3402 (CLR) 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 symb...

  • Page 684

    APPENDIXE. STATUS WHEN TURNING POWER ON, WHEN CLEAR AND WHEN RESETB–63504EN/01660ItemResetClearedWhen turning power onAction in Movement×××operationDwell×××Issuance of M, S andT codes×××Tool offset×Depending on parame-ter LVK(No.5003#6)f : MDI modeOther modes depend onparameterLVK(No....

  • Page 685

    APPENDIXB–63504EN/01F. CHARACTER–TO–CODESCORRESPONDENCE TABLE661F CHARACTER–TO–CODES CORRESPONDENCE TABLECharacter CodeCommentCharacter CodeCommentA0656054B0667055C0678056D0689057E069032SpaceF070!033Exclamation markG071”034Quotation markH072#035Hash signI073$036Dollar signJ074%037Perc...

  • Page 686

    APPENDIXG. ALARM LISTB–63504EN/01662GALARM LIST1) Program errors (P/S alarm)NumberMessageContents000PLEASE TURN OFF POWERA parameter which requires the power off was input, turn off power.001TH PARITY ALARMTH alarm (A character with incorrect parity was input). Correct the tape.002TV PARITY ALA...

  • Page 687

    APPENDIXB–63504EN/01G. ALARM LIST663NumberContentsMessage023ILLEGAL RADIUS COMMANDIn circular interpolation by radius designation, negative value wascommanded for address R. Modify the program.028ILLEGAL PLANE SELECTIn the plane selection command, two or more axes in the same direc-tion are co...

  • Page 688

    APPENDIXG. ALARM LISTB–63504EN/01664NumberContentsMessage062ILLEGAL COMMAND IN G71–G761 The depth of cut in G71 or G72 is zero or negative value.2 The repetitive count in G73 is zero or negative value.3 The negative value is specified to ∆i or ∆k is zero in G74 or G75.4 A value other than...

  • Page 689

    APPENDIXB–63504EN/01G. ALARM LIST665NumberContentsMessage078NUMBER NOT FOUNDA program number or a sequence number which was specified byaddress P in the block which includes an M98, M99, M65 or G66 wasnot found. The sequence number specified by a GOTO statementwas not found. Otherwise, a calle...

  • Page 690

    APPENDIXG. ALARM LISTB–63504EN/01666NumberContentsMessage098G28 FOUND IN SEQUENCERETURNA command of the program restart was specified without the refer-ence position return operation after power ON or emergency stop,and G28 was found during search.Perform the reference position return.099MDI EX...

  • Page 691

    APPENDIXB–63504EN/01G. ALARM LIST667NumberContentsMessage133ILLEGAL DATA IN EXT. ALARMMSGSmall section data is erroneous in external alarm message or exter-nal operator message. Check the PMC ladder diagram.135SPINDLE ORIENTATION PLEASEWithout any spindle orientation , an attempt was made for s...

  • Page 692

    APPENDIXG. ALARM LISTB–63504EN/01668NumberContentsMessage194SPINDLE COMMAND INSYNCHRO–MODEA contour control mode, spindle positioning (Cs–axis control) mode,or rigid tapping mode was specified during the serial spindle synchronous control mode. Correct the program so that the serialspindle ...

  • Page 693

    APPENDIXB–63504EN/01G. ALARM LIST669NumberContentsMessage231FORMAT ERROR IN G10 OR L50Any of the following errors occurred in the specified format at the pro-grammable–parameter input.1 Address N or R was not entered.2 A number not specified for a parameter was entered.3 The axis number was t...

  • Page 694

    APPENDIXG. ALARM LISTB–63504EN/016702) Background edit alarmNumberMessageContents070 to 074085 to 087BP/S alarmBP/S alarm occurs in the same number as the P/S alarm that occursin ordinary program edit.140BP/S alarmIt was attempted to select or delete in the background a program be-ing selected ...

  • Page 695

    APPENDIXB–63504EN/01G. ALARM LIST671#7202#6CSA#5BLA#4PHA#3PCA#2BZA#1CKA#0SPH#6 (CSA) : Check sum alarm has occurred.#5 (BLA) : Battery low alarm has occurred.#4 (PHA) : Phase data trouble alarm has occurred.#3 (PCA) : Speed count trouble alarm has occurred.#2 (BZA) : Battery zero alarm has occu...

  • Page 696

    APPENDIXG. ALARM LISTB–63504EN/01672NumberContentsMessage417SERVO ALARM: n–TH AXIS –PARAMETER INCORRECTThis alarm occurs when the n–th axis (axis 1–4) is in one of theconditions listed below. (Digital servo system alarm)1) The value set in Parameter No. 2020 (motor form) is out of the ...

  • Page 697

    APPENDIXB–63504EN/01G. ALARM LIST673FBA : A disconnection alarm is being generated.(This bit causes servo alarm No.416.The details are indicated indiagnostic data No. 201)OFA : An overflow alarm is being generated inside of digital servo.ALD201EXP#7#6#5#4#3#2#1#0When OVL equal 1 in diagnostic d...

  • Page 698

    APPENDIXG. ALARM LISTB–63504EN/016747) Overheat alarmsNumberMessageContents700OVERHEAT: CONTROL UNITControl unit overheatCheck that the fan motor operates normally, and clean the air filter.701OVERHEAT: FAN MOTORThe fan motor on the top of the cabinet for the control unit is over-heated. Check ...

  • Page 699

    APPENDIXB–63504EN/01G. ALARM LIST675NumberContentsMessage752FIRST SPINDLE MODE CHANGEFAULTThis alarm is generated if the system does not properly terminate amode change. The modes include the Cs contouring, spindle position-ing, rigid tapping, and spindle control modes. The alarm is activated...

  • Page 700

    APPENDIXG. ALARM LISTB–63504EN/01676NOTE*1Note that the meanings of the SPM indications differdepending on which LED, the red or yellow LED, is on.When the red LED is on, the SPM indicates a 2–digit alarmnumber. When the yellow LED is on, the SPM indicates anerror number that designates a se...

  • Page 701

    APPENDIXB–63504EN/01G. ALARM LIST677SPMindica-tion(*1)DescriptionFaulty location and remedy121 Check the motor insulation status.2 Check the spindle parameters.3 Replace the SPM unit.The motor output current is abnormally high.A motor–specific parameter does not match the motormodel.Poor moto...

  • Page 702

    APPENDIXG. ALARM LISTB–63504EN/01678SPMindica-tion(*1)DescriptionFaulty location and remedy331 Check and correct the power supply voltage.2 Replace the PSM unit.Charging of direct current power supply voltage in thepower circuit section is insufficient when the magneticcontractor in the amplifi...

  • Page 703

    APPENDIXB–63504EN/01G. ALARM LIST679SPMindica-tion(*1)DescriptionFaulty location and remedy50Check whether the calculated value exceeds the maxi-mum motor speed.In spindle synchronization, the speed command cal-culation value exceeded the allowable limit (the motorspeed is calculated by multipl...

  • Page 704

    APPENDIXG. ALARM LISTB–63504EN/01680NOTE*1Note that the meanings of the SPM indications differdepending on which LED, the red or yellow LED, is on.When the yellow LED is on, an error code is indicated witha 2–digit number. The error code is not displayed on theCNC screen.When the red LED is ...

  • Page 705

    APPENDIXB–63504EN/01G. ALARM LIST681SPMindica-tion(*1)DescriptionFaulty location and remedy12During execution of the spindle synchronization com-mand, do not specify another operation mode. Beforeentering another mode, cancel the spindle synchroniza-tion command.Although spindle synchronizatio...

  • Page 706

    APPENDIXG. ALARM LISTB–63504EN/0168210) System alarms (These alarms cannot be reset with reset key.)NumberMessageContents900ROM PARITYFROM and SRAM modules parity error in a ROM file (control soft-ware), such as CNC, macro, or digital servo. The FROM and SRAMmodules may be defective.910DRAM PAR...

  • Page 707

    IndexB–63504EN/01i–1[A]Absolute and Incremental Programming (G90, G91), 94Actual Feedrate Display, 554Address and Specifiable Value Range for Series 15 Tape Format,304Alarm and Self-diagnosis Functions, 449Alarm Display, 350, 450Alarm History Display, 452Alarm List, 662Altering a Word, 506Ari...

  • Page 708

    IndexB–63504EN/01i–2Displaying and Setting Parameters, 602Displaying and Setting Pitch Error Compensation Data, 604Displaying and Setting Run Time, Parts Count, and Time, 590Displaying and Setting the Software Operator's Panel, 596Displaying and Setting the Workpiece Origin Offset Value, 592D...

  • Page 709

    B–63504EN/01Indexi–3[J]Jog Feed, 389[K]Key Input and Input Buffer, 378[L]Limitations, 286Linear Interpolation (G01), 43List of Functions and Tape Format, 644Local Coordinate System, 90[M]Machine Coordinate System, 81Machine Lock and Auxiliary Function Lock, 434Macro Call, 270Macro Call Using ...

  • Page 710

    IndexB–63504EN/01i–4Program Contents Display, 560Program Display, 349Program Input/Output, 462Program Number Search, 511Program of Tool Life Data, 111Program Restart, 408Program Screen for MDI Operation, 564Program Section Configuration, 125Programmable Parameter Entry (G10), 300[R]Radius Dir...

  • Page 711

    B–63504EN/01Indexi–5Tool Movement by Programing - Automatic Operation, 340Tool Movement in Offset Mode, 208Tool Movement in Offset Mode Cancel, 221Tool Movement in Start-up, 206Tool Movement Range - Stroke, 30Tool Offset, 183Tool Path at Corner, 655Tool Selection, 110, 184Torque Limit Skip (G...

  • Page 712

  • Page 713

    Revision RecordFANUC Series 0i–TA OPERATOR’S MANUAL (B–63504EN)01Jun., 2000EditionDateContentsEditionDateContents

  • Page 714

  • Page 715

  • Page 716

    Ed. Date Design Description Date 2007.07.11 Desig. Check Apprv. Sheet TitleDraw No. 1/3 FS 0i-TA/MA/TB/MB/TC/MC, FS 20-FA/TA, FS 20i-A/B OPERATOR’S MANUAL Addition of caution sentence of “parameter OLV(No.3202#1)” B-63504EN/01-2, B-63514EN/01-3, B-63834E...

  • Page 717

    Ed. Date Design Description Date 2007.07.11 Desig. Check Apprv. Sheet TitleDraw No. 2/3 FS 0i-TA/MA/TB/MB/TC/MC, FS 20-FA/TA, FS 20i-A/B OPERATOR’S MANUAL Addition of caution sentence of “parameter OLV(No.3202#1)” B-63504EN/01-2, B-63514EN/01-3, B-63834E...

  • Page 718

    Ed. Date Design Description Date 2007.07.11 Desig. Check Apprv. Sheet TitleDraw No. 3/3 FS 0i-TA/MA/TB/MB/TC/MC, FS 20-FA/TA, FS 20i-A/B OPERATOR’S MANUAL Addition of caution sentence of “parameter OLV(No.3202#1)” B-63504EN/01-2, B-63514EN/01-3, B-63834E...

x