Navigation

  • Page 1

    OPERATOR’S MANUALB-63834EN/02

  • 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–63834EN/02s–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–63834EN/02SAFETY 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–63834EN/02s–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–63834EN/02SAFETY 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–63834EN/02s–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–63834EN/02SAFETY 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–63834EN/02s–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–63834EN/02SAFETY PRECAUTIONSs–95 WARNINGS RELATED TO DAILY MAINTENANCEWARNING1. Memory backup battery replacementWhen replacing the memory backup batteries, keep the power to the machine (CNC) turned on,and apply an emergency stop to the machine. Because this work is performed with the pow...

  • Page 12

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

  • Page 13

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

  • Page 14

  • Page 15

    B–63834EN/02Table of Contentsc–1SAFETY PRECAUTIONSs–1. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . I. GENERAL1. GENERAL3. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . ...

  • Page 16

    B–63834EN/02Table of Contentsc–24.11MULTISTAGE SKIP62. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4.12TORQUE LIMIT SKIP (G31 P99)63. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . ....

  • Page 17

    B–63834EN/02Table of Contentsc–311.1AUXILIARY FUNCTION (M FUNCTION)113. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11.2MULTIPLE M COMMANDS IN A SINGLE BLOCK114. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11.3THE SECOND AUXILIAR...

  • Page 18

    B–63834EN/02Table of Contentsc–414.2.5Notes on Tool Nose Radius Compensation201. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14.3DETAILS OF TOOL NOSE RADIUS COMPENSATION204. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14.3.1Gener...

  • Page 19

    B–63834EN/02Table of Contentsc–517.6CANNED DRILLING CYCLE FORMATS310. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18.AXIS CONTROL FUNCTION314. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18.1POLYGONAL TURNING3...

  • Page 20

    B–63834EN/02Table of Contentsc–62.5POWER ON/OFF386. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2.5.1Turning on the Power386. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . ....

  • Page 21

    B–63834EN/02Table of Contentsc–78.4PROGRAM INPUT/OUTPUT471. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8.4.1Inputting a Program471. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . ...

  • Page 22

    B–63834EN/02Table of Contentsc–89.8BACKGROUND EDITING534. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9.9PASSWORD FUNCTION535. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . ...

  • Page 23

    B–63834EN/02Table of Contentsc–911.6DISPLAYING THE PROGRAM NUMBER, SEQUENCE NUMBER, AND STATUS, AND WARNING MESSAGES FOR DATA SETTING OR INPUT/OUTPUT OPERATION614. . . . . 11.6.1Displaying the Program Number and Sequence Number614. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . ....

  • Page 24

    B–63834EN/02Table of Contentsc–101.5.2.1 Arc669. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1.5.2.2 Corner R669. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . ....

  • Page 25

    B–63834EN/02Table of Contentsc–11G. ALARM LIST745. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

  • Page 26

  • Page 27

    I. GENERAL

  • Page 28

  • Page 29

    GENERALB–63834EN/021. 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 30

    GENERAL1. GENERALB–63834EN/024This manual uses the following symbols:Indicates a combination of axes such as X__ Y__ Z (used inPROGRAMMING.).Indicates the end of a block. It actually corresponds to the ISO code LFor EIA code CR.The following table lists the manuals related to Series 0i–B and...

  • Page 31

    GENERALB–63834EN/021. GENERAL5The following table lists the manuals related to Servo Motor αi series.Manual nameSpecificationnumberFANUC AC SERVO MOTOR αi series DESCRIPTIONSB–65262ENFANUC AC SERVO MOTOR αi series PARAMETER MANUALB–65270ENFANUC AC SPINDLE MOTOR αi series DESCRIPTIONSB...

  • Page 32

    GENERAL1. GENERALB–63834EN/026When 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 33

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

  • Page 34

    GENERAL1. GENERALB–63834EN/028CAUTION1 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 ...

  • Page 35

    II. PROGRAMMING

  • Page 36

  • Page 37

    PROGRAMMINGB–63834EN/021. GENERAL111 GENERAL

  • Page 38

    PROGRAMMING1. GENERALB–63834EN/0212The 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 39

    PROGRAMMINGB–63834EN/021. 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 40

    PROGRAMMING1. GENERALB–63834EN/0214ProgramG32X––Z––F––;ZFXToolWorkpieceFig. 1.1 (f) Taper thread cuttingMovement of the tool at a specified speed for cutting a workpiece is calledthe feed.ToolWorkpieceChuckFig. 1.2 Feed functionFeedrates can be specified by using actual numerics. ...

  • Page 41

    PROGRAMMINGB–63834EN/021. GENERAL15A CNC machine tool is provided with a fixed position. Normally, toolchange and programming of absolute zero point as described later areperformed at this position. This position is called the reference position.ReferencepositionTool postChuckFig. 1.3.1 Refere...

  • Page 42

    PROGRAMMING1. GENERALB–63834EN/0216CNCXZXZXZPart 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 43

    PROGRAMMINGB–63834EN/021. GENERAL17The 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 44

    PROGRAMMING1. GENERALB–63834EN/02182. 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 45

    PROGRAMMINGB–63834EN/021. GENERAL19Methods 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 46

    PROGRAMMING1. GENERALB–63834EN/0220Specify 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 47

    PROGRAMMINGB–63834EN/021. GENERAL212. Radius programmingIn radius programming, specify the distance from the center of theworkpiece, i.e. the radius value as the value of the X axis.Coordinate values of points A and BA(15.0, 80.0), B(20.0, 60.0)ZX6080AB2015WorkpieceFig. 1.3.3 (d) Radius progr...

  • Page 48

    PROGRAMMING1. GENERALB–63834EN/0222When 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–63834EN/021. GENERAL23A group of commands given to the CNC for operating the machine iscalled the program. By specifying the commands, the tool is moved alonga straight line or an arc, or the spindle motor is turned on and off.In the program, specify the commands in the sequence o...

  • Page 50

    PROGRAMMING1. GENERALB–63834EN/0224 The block and the program have the following configurations. NfffffGffXff.f Zfff.fMffSffTff ;1 blockSequencenumberPreparatoryfunctionDimension wordMiscel-laneousfunctionSpindlefunctionToolfunc-tionEnd ofblockFig. 1.7 (b) Block configurationA block begins w...

  • Page 51

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

  • Page 52

    PROGRAMMING1. GENERALB–63834EN/0226Usually, 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 53

    PROGRAMMINGB–63834EN/021. GENERAL27Limit switches are installed at the ends of each axis on the machine toprevent tools from moving beyond the ends. The range in which tools canmove is called the stroke. Besides the stroke limits, data in memory canbe used to define an area which tools cannot e...

  • Page 54

    PROGRAMMING2. CONTROLLED AXESB–63834EN/02282 CONTROLLED AXES

  • Page 55

    PROGRAMMINGB–63834EN/022. CONTROLLED AXES29Item0i–TBNumber 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 axesNOTEThe number of simultaneo...

  • Page 56

    PROGRAMMING2. CONTROLLED AXESB–63834EN/0230The 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 57

    PROGRAMMINGB–63834EN/022. CONTROLLED AXES31An axis in the metric system cannot be used together with a one in the inchsystem, or vice versa. In addition, some features such as circularinterpolation and tool–nose radius compensation cannot be used for bothaxes in different units. For the uni...

  • Page 58

    PROGRAMMING3. PREPARATORY FUNCTION(G FUNCTION)B–63834EN/02323 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 59

    PROGRAMMINGB–63834EN/023. PREPARATORY FUNCTION(G FUNCTION)331. 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 60

    PROGRAMMING3. PREPARATORY FUNCTION(G FUNCTION)B–63834EN/0234Table 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 61

    PROGRAMMINGB–63834EN/023. PREPARATORY FUNCTION(G FUNCTION)35Table 3 G code list (2/2)G codeABCGroupFunctionG54G54G54Workpiece coordinate system 1 selectionG55G55G55Workpiece coordinate system 2 selectionG56G56G56Workpiece coordinate system 3 selectionG57G57G5714Workpiece coordinate system 4 sel...

  • Page 62

    PROGRAMMING4. INTERPOLATION FUNCTIONSB–63834EN/02364 INTERPOLATION FUNCTIONS

  • Page 63

    PROGRAMMINGB–63834EN/024. INTERPOLATION FUNCTIONS37The 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 64

    PROGRAMMING4. INTERPOLATION FUNCTIONSB–63834EN/0238< 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 65

    PROGRAMMINGB–63834EN/024. INTERPOLATION FUNCTIONS39Tools 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 66

    PROGRAMMING4. INTERPOLATION FUNCTIONSB–63834EN/0240The command below will move a tool along a circular arc.G17G03 Arc 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 67

    PROGRAMMINGB–63834EN/024. INTERPOLATION FUNCTIONS41NOTEThe 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 p...

  • Page 68

    PROGRAMMING4. INTERPOLATION FUNCTIONSB–63834EN/0242The 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 69

    PROGRAMMINGB–63834EN/024. INTERPOLATION FUNCTIONS43If an arc having a central angle approaching 180 is specified with R, thecalculation of the center coordinates may produce an error. In such a case,specify the center of the arc with I, J, and K.XZKXKZZRG02X_Z_I_K_F_;G03X_Z_I_K_F_;G02X_Z_R_F_...

  • Page 70

    PROGRAMMING4. INTERPOLATION FUNCTIONSB–63834EN/0244Polar 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 71

    PROGRAMMINGB–63834EN/024. INTERPOLATION FUNCTIONS45In 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 72

    PROGRAMMING4. INTERPOLATION FUNCTIONSB–63834EN/0246Before 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 73

    PROGRAMMINGB–63834EN/024. INTERPOLATION FUNCTIONS47Example 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 74

    PROGRAMMING4. INTERPOLATION FUNCTIONSB–63834EN/0248The 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 75

    PROGRAMMINGB–63834EN/024. INTERPOLATION FUNCTIONS49In 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 76

    PROGRAMMING4. INTERPOLATION FUNCTIONSB–63834EN/0250In 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 77

    PROGRAMMINGB–63834EN/024. INTERPOLATION FUNCTIONS51Example of a Cylindrical Interpolation ProgramO0001 (CYLINDRICAL INTERPOLATION ); N01 G00 Z100.0 C0 ; N02 G01 G18 W0 H0 ; N03 G07.1 H57299 ;N04 G01 G42 Z120.0 D01 F250 ; N05 C30.0 ; N06 G02 Z90.0 C60.0 R30.0 ; N07 G01 Z70.0 ; N08 G03 Z60.0 C70....

  • Page 78

    PROGRAMMING4. INTERPOLATION FUNCTIONSB–63834EN/0252Tapered 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 79

    PROGRAMMINGB–63834EN/024. INTERPOLATION FUNCTIONS53XLXα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 80

    PROGRAMMING4. INTERPOLATION FUNCTIONSB–63834EN/0254Z 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 81

    PROGRAMMINGB–63834EN/024. INTERPOLATION FUNCTIONS55WARNING1 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 82

    PROGRAMMING4. INTERPOLATION FUNCTIONSB–63834EN/0256Specifying 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 83

    PROGRAMMINGB–63834EN/024. INTERPOLATION FUNCTIONS57This 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 84

    PROGRAMMING4. INTERPOLATION FUNCTIONSB–63834EN/0258Using 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 85

    PROGRAMMINGB–63834EN/024. INTERPOLATION FUNCTIONS59Program 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 86

    PROGRAMMING4. INTERPOLATION FUNCTIONSB–63834EN/0260Linear 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 87

    PROGRAMMINGB–63834EN/024. INTERPOLATION FUNCTIONS61G31W100.0 F100;U50.0;U50.050.0100.0Skip signal is input hereActual motionMotion without skip signalW100XZFig.4.10(a) The next block is an incremental command G31Z200.00 F100;X100.0;X100.0X200.0Skip signal is input hereActual motionMotion withou...

  • Page 88

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

  • Page 89

    PROGRAMMINGB–63834EN/024. INTERPOLATION FUNCTIONS63With 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 90

    PROGRAMMING4. INTERPOLATION FUNCTIONSB–63834EN/0264G31 P99/98 cannot be used for axes subject to simplified synchronizationor the X–axis or Z–axis when under slanted axis control.Bit 7 (SKF) of parameter No. 6200 must be set to disable dry run,override, and auto acceleration or deceleration...

  • Page 91

    PROGRAMMINGB–63834EN/025. FEED FUNCTIONS655 FEED FUNCTIONS

  • Page 92

    PROGRAMMING5. FEED FUNCTIONSB–63834EN/0266The 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 93

    PROGRAMMINGB–63834EN/025. FEED FUNCTIONS67If 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 94

    PROGRAMMING5. FEED FUNCTIONSB–63834EN/0268Feedrate 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 95

    PROGRAMMINGB–63834EN/025. FEED FUNCTIONS69Feed 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 96

    PROGRAMMING5. FEED FUNCTIONSB–63834EN/0270NOTEAn 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 respect to a...

  • Page 97

    PROGRAMMINGB–63834EN/026. REFERENCE POSITION716 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 98

    PROGRAMMING6. REFERENCE POSITIONB–63834EN/0272The 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 99

    PROGRAMMINGB–63834EN/026. REFERENCE POSITION73Tools 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 posit...

  • Page 100

    PROGRAMMING6. REFERENCE POSITIONB–63834EN/0274Positioning 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 101

    PROGRAMMINGB–63834EN/027. COORDINATE SYSTEM757 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 102

    PROGRAMMING7. COORDINATE SYSTEMB–63834EN/0276The 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 103

    PROGRAMMINGB–63834EN/027. COORDINATE SYSTEM77A 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 104

    PROGRAMMING7. COORDINATE SYSTEMB–63834EN/0278Setting 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 105

    PROGRAMMINGB–63834EN/027. COORDINATE SYSTEM79The 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 106

    PROGRAMMING7. COORDINATE SYSTEMB–63834EN/0280The 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 107

    PROGRAMMINGB–63834EN/027. COORDINATE SYSTEM81With 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 108

    PROGRAMMING7. COORDINATE SYSTEMB–63834EN/0282The 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 109

    PROGRAMMINGB–63834EN/027. COORDINATE SYSTEM83In 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 110

    PROGRAMMING7. COORDINATE SYSTEMB–63834EN/0284When 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 111

    PROGRAMMINGB–63834EN/027. COORDINATE SYSTEM85When 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 112

    PROGRAMMING7. COORDINATE SYSTEMB–63834EN/0286WARNING1 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 113

    PROGRAMMINGB–63834EN/027. COORDINATE SYSTEM87Select the planes for circular interpolation, tool nose radiuscompensation, coordinate system rotation, 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 codeSelectedpl...

  • Page 114

    PROGRAMMING8. COORDINATE VALUEAND DIMENSIONB–63834EN/02888 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 115

    PROGRAMMINGB–63834EN/028. COORDINATE VALUEAND DIMENSION89There 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 itse...

  • Page 116

    PROGRAMMING8. COORDINATE VALUEAND DIMENSIONB–63834EN/0290Either 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 117

    PROGRAMMINGB–63834EN/028. COORDINATE VALUEAND DIMENSION91Numerical 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 118

    PROGRAMMING8. COORDINATE VALUEAND DIMENSIONB–63834EN/0292Since 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 119

    PROGRAMMINGB–63834EN/029. SPINDLE SPEED FUNCTION939 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 120

    PROGRAMMING9. SPINDLE SPEED FUNCTIONB–63834EN/0294Specifying 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 121

    PROGRAMMINGB–63834EN/029. SPINDLE SPEED FUNCTION95Specify the surface speed (relative speed between the tool and workpiece)following S. The spindle is rotated so that the surface speed is constantregardless of the position of the tool.G96 Sfffff ;↑Surface speed (m/min or feet/min)Note : This...

  • Page 122

    PROGRAMMING9. SPINDLE SPEED FUNCTIONB–63834EN/0296G96 (constant surface speed control command) is a modal G code. Aftera G96 command is specified, the program enters the constant surfacespeed control mode (G96 mode) and specified S values are assumed as asurface speed. A G96 command must spec...

  • Page 123

    PROGRAMMINGB–63834EN/029. SPINDLE SPEED FUNCTION97G96 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(min–1) is usedNot specifiedThe surface speed (m/min orfeet/...

  • Page 124

    PROGRAMMING9. SPINDLE SPEED FUNCTIONB–63834EN/0298In 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 po...

  • Page 125

    PROGRAMMINGB–63834EN/029. SPINDLE SPEED FUNCTION99With 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 126

    PROGRAMMING9. SPINDLE SPEED FUNCTIONB–63834EN/02100The 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 127

    PROGRAMMINGB–63834EN/029. SPINDLE SPEED FUNCTION101NOTE1 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 128

    PROGRAMMING9. SPINDLE SPEED FUNCTIONB–63834EN/02102In 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 129

    PROGRAMMINGB–63834EN/029. SPINDLE SPEED FUNCTION103Specify 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 130

    PROGRAMMING9. SPINDLE SPEED FUNCTIONB–63834EN/02104The 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 131

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

  • Page 132

    PROGRAMMING10. TOOL FUNCTION (T FUNCTION)B–63834EN/02106By 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 133

    PROGRAMMINGB–63834EN/0210. TOOL FUNCTION (T FUNCTION)107Tools 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 134

    PROGRAMMING10. TOOL FUNCTION (T FUNCTION)B–63834EN/02108A 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 135

    PROGRAMMINGB–63834EN/0210. TOOL FUNCTION (T FUNCTION)109O0001 ;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 136

    PROGRAMMING10. TOOL FUNCTION (T FUNCTION)B–63834EN/02110Between 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 137

    PROGRAMMINGB–63834EN/0210. TOOL FUNCTION (T FUNCTION)111In 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 138

    PROGRAMMING11. AUXILIARY FUNCTIONB–63834EN/0211211 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 f...

  • Page 139

    PROGRAMMING11. AUXILIARY FUNCTIONB–63834EN/02113When 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 140

    PROGRAMMING11. AUXILIARY FUNCTIONB–63834EN/02114So 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 141

    PROGRAMMING11. AUXILIARY FUNCTIONB–63834EN/02115Indexing 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 142

    PROGRAMMING12. PROGRAM CONFIGURATIONB–63834EN/0211612 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 143

    PROGRAMMINGB–63834EN/0212. PROGRAM CONFIGURATION117A 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 144

    PROGRAMMING12. PROGRAM CONFIGURATIONB–63834EN/02118This 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 145

    PROGRAMMINGB–63834EN/0212. PROGRAM CONFIGURATION119NOTEIf 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 146

    PROGRAMMING12. PROGRAM CONFIGURATIONB–63834EN/02120A 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 outp...

  • Page 147

    PROGRAMMINGB–63834EN/0212. PROGRAM CONFIGURATION121This 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 148

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

  • Page 149

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

  • Page 150

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

  • Page 151

    PROGRAMMINGB–63834EN/0212. PROGRAM CONFIGURATION125When 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 152

    PROGRAMMING12. PROGRAM CONFIGURATIONB–63834EN/02126The 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 program...

  • Page 153

    PROGRAMMINGB–63834EN/0212. PROGRAM CONFIGURATION127If 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 154

    PROGRAMMING12. PROGRAM CONFIGURATIONB–63834EN/02128NOTE1 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 155

    PROGRAMMINGB–63834EN/0212. PROGRAM CONFIGURATION129If 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 exec...

  • Page 156

    PROGRAMMING13. FUNCTIONS TO SIMPLIFYPROGRAMMINGB–63834EN/0213013 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 CANNED GRINDING CYCLE (FOR GR...

  • Page 157

    PROGRAMMINGB–63834EN/0213. FUNCTIONS TO SIMPLIFY PROGRAMMING131There 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 158

    PROGRAMMING13. FUNCTIONS TO SIMPLIFYPROGRAMMINGB–63834EN/02132G90X(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 address...

  • Page 159

    PROGRAMMINGB–63834EN/0213. FUNCTIONS TO SIMPLIFY PROGRAMMING133G92X(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 160

    PROGRAMMING13. FUNCTIONS TO SIMPLIFYPROGRAMMINGB–63834EN/02134WARNINGNotes on this thread cutting are the same as in threadcutting in G32. However, a stop by feed hold is as follows; Stop after completion of path 3 of thread cutting cycle.CAUTIONThe tool retreats while chamfering and returns ...

  • Page 161

    PROGRAMMINGB–63834EN/0213. FUNCTIONS TO SIMPLIFY PROGRAMMING135X 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 162

    PROGRAMMING13. FUNCTIONS TO SIMPLIFYPROGRAMMINGB–63834EN/02136G94X(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 163

    PROGRAMMINGB–63834EN/0213. FUNCTIONS TO SIMPLIFY PROGRAMMING137X 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 164

    PROGRAMMING13. FUNCTIONS TO SIMPLIFYPROGRAMMINGB–63834EN/02138NOTE1 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 165

    PROGRAMMINGB–63834EN/0213. FUNCTIONS TO SIMPLIFY PROGRAMMING139An 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 166

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

  • Page 167

    PROGRAMMINGB–63834EN/0213. FUNCTIONS TO SIMPLIFY PROGRAMMING141There are several types of predefined canned cycles that makeprogramming easier. For instance, the data of the finish work shapedescribes the tool path for rough machining. And also, a canned cyclesfor the thread cutting is availa...

  • Page 168

    PROGRAMMING13. FUNCTIONS TO SIMPLIFYPROGRAMMINGB–63834EN/02142NOTE1 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 169

    PROGRAMMINGB–63834EN/0213. FUNCTIONS TO SIMPLIFY PROGRAMMING143Type 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 170

    PROGRAMMING13. FUNCTIONS TO SIMPLIFYPROGRAMMINGB–63834EN/02144e (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 171

    PROGRAMMINGB–63834EN/0213. FUNCTIONS TO SIMPLIFY PROGRAMMING145As 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 172

    PROGRAMMING13. FUNCTIONS TO SIMPLIFYPROGRAMMINGB–63834EN/02146This 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 173

    PROGRAMMINGB–63834EN/0213. FUNCTIONS TO SIMPLIFY PROGRAMMING147NOTE1 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 174

    PROGRAMMING13. FUNCTIONS TO SIMPLIFYPROGRAMMINGB–63834EN/02148 φ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 175

    PROGRAMMINGB–63834EN/0213. FUNCTIONS TO SIMPLIFY PROGRAMMING149(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 176

    PROGRAMMING13. FUNCTIONS TO SIMPLIFYPROGRAMMINGB–63834EN/02150The 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 177

    PROGRAMMINGB–63834EN/0213. FUNCTIONS TO SIMPLIFY PROGRAMMING151The 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 178

    PROGRAMMING13. FUNCTIONS TO SIMPLIFYPROGRAMMINGB–63834EN/02152The 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 179

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

  • Page 180

    PROGRAMMING13. FUNCTIONS TO SIMPLIFYPROGRAMMINGB–63834EN/02154When 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 181

    PROGRAMMINGB–63834EN/0213. FUNCTIONS TO SIMPLIFY PROGRAMMING155ÅÅÅÅÅÅÅÅÅÅÅÅÅÅÅÔÔÔÔÔÔ 1.83.68G76 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 182

    PROGRAMMING13. FUNCTIONS TO SIMPLIFYPROGRAMMINGB–63834EN/021561. 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 183

    PROGRAMMINGB–63834EN/0213. FUNCTIONS TO SIMPLIFY PROGRAMMING157The canned cycle for drilling simplifies the program normally bydirecting the machining operation commanded with a few blocks, usingone block including G code.Following is the canned cycle table.Table 13.3(a) Canned cyclesG codeDri...

  • Page 184

    PROGRAMMING13. FUNCTIONS TO SIMPLIFYPROGRAMMINGB–63834EN/02158A 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 185

    PROGRAMMINGB–63834EN/0213. FUNCTIONS TO SIMPLIFY PROGRAMMING159In G code system A, the tool returns to the initial level from the bottomof a hole. In G code system B or C, specifying G98 returns the tool to theinitial level from the bottom of a hole and specifying G99 returns the toolto the po...

  • Page 186

    PROGRAMMING13. FUNCTIONS TO SIMPLIFYPROGRAMMINGB–63834EN/02160Subsequent sections explain the individual canned cycles. Figures inthese explanations use the following symbols:Dwell specified in the programP1Positioning (rapid traverse G00)Cutting feed (linear interpolation G01)Manual feedP1Mα...

  • Page 187

    PROGRAMMINGB–63834EN/0213. FUNCTIONS TO SIMPLIFY PROGRAMMING161The 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 188

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

  • Page 189

    PROGRAMMINGB–63834EN/0213. FUNCTIONS TO SIMPLIFY PROGRAMMING163If depth of cut is not specified for each drilling, the normal drilling cycleis used. The tool is then retracted from the bottom of the hole in rapidtraverse.M(a+1), P2G83 or G87 (G98 mode)G83 or G87 (G99 mode)G83 X(U)_ C(H)_ Z(W)_...

  • Page 190

    PROGRAMMING13. FUNCTIONS TO SIMPLIFYPROGRAMMINGB–63834EN/02164This cycle performs tapping. In this tapping cycle, when the bottom of the hole has been reached, thespindle is rotated in the reverse direction.G84 or G88 (G98 mode)G84 or G88 (G99 mode)G84 X(U)_ C(H)_ Z(W)_ R_ P_ F_ K_ M_ ; orG88 Z...

  • Page 191

    PROGRAMMINGB–63834EN/0213. FUNCTIONS TO SIMPLIFY PROGRAMMING165NOTEBit 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 192

    PROGRAMMING13. FUNCTIONS TO SIMPLIFYPROGRAMMINGB–63834EN/02166This 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 193

    PROGRAMMINGB–63834EN/0213. FUNCTIONS TO SIMPLIFY PROGRAMMING167G80 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 194

    PROGRAMMING13. FUNCTIONS TO SIMPLIFYPROGRAMMINGB–63834EN/02168Even 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 195

    PROGRAMMINGB–63834EN/0213. FUNCTIONS TO SIMPLIFY PROGRAMMING169There are four grinding canned cycles : the traverse grinding cycle (G71),traverse direct fixed–dimension grinding cycle, oscillation grindingcycle, and oscillation direct fixed–dimension grinding cycle.With a machine tool that ...

  • Page 196

    PROGRAMMING13. FUNCTIONS TO SIMPLIFYPROGRAMMINGB–63834EN/02170G72 P_ A_ B_ W_ U_ I_ K_ H_ ;P : Gauge number (1 to 4)A : First depth of cutB : Second depth of cutW : Grinding rangeU : Dwell time Maximum specification time : 99999.999secondsI : Feedrate of A and BK : Feedrate of WH : Number of ...

  • Page 197

    PROGRAMMINGB–63834EN/0213. FUNCTIONS TO SIMPLIFY PROGRAMMING171(B)(1)(2) (K)(3)(4) (K)XZU (dwell)AU (dwell)G73 A_ (B_) W_ U_ K_ H_ ;A : Depth of cutB : Depth of cutW : Grinding rangeU : Dwell timeK : FeedrateH : Number of repetitions Setting value : 1A9999WA, B, and W are to be specified in a...

  • Page 198

    PROGRAMMING13. FUNCTIONS TO SIMPLIFYPROGRAMMINGB–63834EN/02172G74 P_ A_ (B_) W_ U_ K_ H_ ;P : Gauge number (1 to 4)A : Depth of cut B : Depth of cutW : Grinding rangeU : Dwell timeK : Feedrate of WH : Number of repetitions Setting value : 1 to 9999When the multistage skip operation is used, a...

  • Page 199

    PROGRAMMINGB–63834EN/0213. 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 200

    PROGRAMMING13. FUNCTIONS TO SIMPLIFYPROGRAMMINGB–63834EN/02174(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 201

    PROGRAMMINGB–63834EN/0213. FUNCTIONS TO SIMPLIFY PROGRAMMING175A program for machining along the curve shown in Fig. 13.5 (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 202

    PROGRAMMING13. FUNCTIONS TO SIMPLIFYPROGRAMMINGB–63834EN/02176NOTE1 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 ...

  • Page 203

    PROGRAMMINGB–63834EN/0213. 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 204

    PROGRAMMING13. FUNCTIONS TO SIMPLIFYPROGRAMMINGB–63834EN/02178Front 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 205

    PROGRAMMINGB–63834EN/0213. 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 206

    PROGRAMMING13. FUNCTIONS TO SIMPLIFYPROGRAMMINGB–63834EN/02180In 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 207

    PROGRAMMINGB–63834EN/0213. FUNCTIONS TO SIMPLIFY PROGRAMMING181Tapping axis feedrate: 1000 mm/minSpindle speed: 1000 min–1Screw 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...

  • Page 208

    PROGRAMMING14. COMPENSATION FUNCTIONB–63834EN/0218214 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 209

    PROGRAMMINGB–63834EN/0214. 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 210

    PROGRAMMING14. COMPENSATION FUNCTIONB–63834EN/02184There 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 offsetnumber...

  • Page 211

    PROGRAMMINGB–63834EN/0214. 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 212

    PROGRAMMING14. COMPENSATION FUNCTIONB–63834EN/02186Parameter LVC (No.5003#6) can be set so that offset will not be cancelledby pressing the reset key or by reset input.When only a T code is specified in a block, the tool is moved by the wearoffset value without a move command. The movement is ...

  • Page 213

    PROGRAMMINGB–63834EN/0214. 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 T0...

  • Page 214

    PROGRAMMING14. COMPENSATION FUNCTIONB–63834EN/02188This section describes the following operations when tool position offsetis applied: G53, G28, and G30 commands, manual reference positionreturn, and the canceling of tool position offset with a T00 command.Executing reference position return ...

  • Page 215

    PROGRAMMINGB–63834EN/0214. COMPENSATION FUNCTION189Executing manual reference position return when tool offset is applieddoes not cancel the tool position offset vector. The absolute positiondisplay is as follows, however, according to the setting of bit 4 (LGT) ofparameter No. 5002.LGT = 0 (T...

  • Page 216

    PROGRAMMING14. COMPENSATION FUNCTIONB–63834EN/02190Whether 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 217

    PROGRAMMINGB–63834EN/0214. 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 218

    PROGRAMMING14. COMPENSATION FUNCTIONB–63834EN/02192CAUTIONIn 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 219

    PROGRAMMINGB–63834EN/0214. 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 220

    PROGRAMMING14. COMPENSATION FUNCTIONB–63834EN/02194Imaginary 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 221

    PROGRAMMINGB–63834EN/0214. COMPENSATION FUNCTION195Table 14.2.3(b) Tool wear offsetWearoffsetnumberOFGX(X–axiswear offsetamount)OFGZ(Z–axiswear offsetamount)OFGR(Tool noseradiuswear offsetvalue)OFT(Imaginarytool nosedirection)OFGY(Y–axiswear offsetamount)W01W02W03W04W05:0.0400.0600:::0.02...

  • Page 222

    PROGRAMMING14. COMPENSATION FUNCTIONB–63834EN/02196In tool nose radius compensation, the position of the workpiece withrespect to the tool must be specified.G codeWorkpiece positionTool pathG40(Cancel)Moving along the programmed pathG41Right sideMoving on the left side the programmed pathG42Lef...

  • Page 223

    PROGRAMMINGB–63834EN/0214. 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 If the tool nose radiuscompensation value isnegative, th...

  • Page 224

    PROGRAMMING14. COMPENSATION FUNCTIONB–63834EN/02198The 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 225

    PROGRAMMINGB–63834EN/0214. 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 226

    PROGRAMMING14. COMPENSATION FUNCTIONB–63834EN/02200The workpiece position specified by addresses I and K is the same as thatin the preceding block.G40 X_ Z_ I_ K_ ;Tool nose radius compensationG40 G02 X_ Z_ I_ K_ ;Circular interpolationIf I and/or K is specified with G40 in the cancel mode, the...

  • Page 227

    PROGRAMMINGB–63834EN/0214. 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 228

    PROGRAMMING14. COMPENSATION FUNCTIONB–63834EN/022022. 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 229

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

  • Page 230

    PROGRAMMING14. COMPENSATION FUNCTIONB–63834EN/02204This 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 231

    PROGRAMMINGB–63834EN/0214. 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 232

    PROGRAMMING14. COMPENSATION FUNCTIONB–63834EN/02206When 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 233

    PROGRAMMINGB–63834EN/0214. COMPENSATION FUNCTION207G42LLLLSrrG42LLLSrrCLLLinear→LinearLinear→CircularWorkpieceWork-pieceStart positionStart positionProgrammed pathProgrammed pathTool nose radius center pathTool nose radius center pathααrG41G41LLSStart positionTool nose radius center pathP...

  • Page 234

    PROGRAMMING14. COMPENSATION FUNCTIONB–63834EN/02208In 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 235

    PROGRAMMINGB–63834EN/0214. 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 236

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

  • Page 237

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

  • Page 238

    PROGRAMMING14. COMPENSATION FUNCTIONB–63834EN/02212If 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 239

    PROGRAMMINGB–63834EN/0214. 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 240

    PROGRAMMING14. COMPENSATION FUNCTIONB–63834EN/02214The 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 241

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

  • Page 242

    PROGRAMMING14. COMPENSATION FUNCTIONB–63834EN/02216When 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 243

    PROGRAMMINGB–63834EN/0214. 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 specifie...

  • Page 244

    PROGRAMMING14. COMPENSATION FUNCTIONB–63834EN/02218During 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 245

    PROGRAMMINGB–63834EN/0214. 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 246

    PROGRAMMING14. COMPENSATION FUNCTIONB–63834EN/02220When 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 247

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

  • Page 248

    PROGRAMMING14. COMPENSATION FUNCTIONB–63834EN/02222α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 249

    PROGRAMMINGB–63834EN/0214. 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 250

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

  • Page 251

    PROGRAMMINGB–63834EN/0214. 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 252

    PROGRAMMING14. COMPENSATION FUNCTIONB–63834EN/02226(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 253

    PROGRAMMINGB–63834EN/0214. 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 254

    PROGRAMMING14. COMPENSATION FUNCTIONB–63834EN/02228(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 255

    PROGRAMMINGB–63834EN/0214. 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 256

    PROGRAMMING14. COMPENSATION FUNCTIONB–63834EN/02230When 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 257

    PROGRAMMINGB–63834EN/0214. 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 258

    PROGRAMMING14. COMPENSATION FUNCTIONB–63834EN/02232In 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 259

    PROGRAMMINGB–63834EN/0214. 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 260

    PROGRAMMING14. COMPENSATION FUNCTIONB–63834EN/02234- 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[FS15 type](G41 G00)rssG53G00G00- When bit 2 (CCN) of parameter No. ...

  • Page 261

    PROGRAMMINGB–63834EN/0214. 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 262

    PROGRAMMING14. COMPENSATION FUNCTIONB–63834EN/02236WARNING2 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. (TheFS15 can...

  • Page 263

    PROGRAMMINGB–63834EN/0214. 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 264

    PROGRAMMING14. COMPENSATION FUNCTIONB–63834EN/02238- 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[FS15 t...

  • Page 265

    PROGRAMMINGB–63834EN/0214. 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[FS15 type](G41 G...

  • Page 266

    PROGRAMMING14. COMPENSATION FUNCTIONB–63834EN/02240WARNING1 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 267

    PROGRAMMINGB–63834EN/0214. 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 268

    PROGRAMMING14. COMPENSATION FUNCTIONB–63834EN/02242Tool compensation values include tool geometry compensation valuesand tool wear compensation (Fig. 14.4).X axis geometryoffset valueX axis wearoffset valuePoint on the programImaginary toolActual toolFig. 14.4 Tool geometry offset and tool wea...

  • Page 269

    PROGRAMMINGB–63834EN/0214. 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–64 : Command of tool wear offset valueCommand value is off...

  • Page 270

    PROGRAMMING14. COMPENSATION FUNCTIONB–63834EN/02244When 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 271

    PROGRAMMINGB–63834EN/0214. 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 272

    PROGRAMMING14. COMPENSATION FUNCTIONB–63834EN/02246G36 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 273

    PROGRAMMING15. CUSTOM MACROB–63834EN/0224715 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 274

    PROGRAMMING15. CUSTOM MACROB–63834EN/02248An 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 275

    PROGRAMMING15. CUSTOM MACROB–63834EN/02249When a variable value is defined in a program, the decimal point can beomitted.Example:When #1=123; is defined, the actual value of variable #1 is123.000.To reference the value of a variable in a program, specify a word addressfollowed by the variable n...

  • Page 276

    PROGRAMMING15. CUSTOM MACROB–63834EN/02250(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 277

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

  • Page 278

    PROGRAMMING15. CUSTOM MACROB–63834EN/02252System 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 279

    PROGRAMMING15. CUSTOM MACROB–63834EN/02253A workpiece coordinate system shift amount can be read. The amount canalso be changed by entering a value.Controlled axisWorkpiece coordinate system shift amountX axis#2501Z axis#2601Table 15.2 (d) System variable for macro alarmsVariablenumberFunctio...

  • Page 280

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

  • Page 281

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

  • Page 282

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

  • Page 283

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

  • Page 284

    PROGRAMMING15. CUSTOM MACROB–63834EN/02258Workpiece zero point offset values can be read and written.Table 15.2(k) System variables for workpiece zero pointoffset valuesVariablenumberFunction#5201:#5204First–axis external workpiece zero point offset value :Fourth–axis exte...

  • Page 285

    PROGRAMMING15. CUSTOM MACROB–63834EN/02259The 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 const...

  • Page 286

    PROGRAMMING15. CUSTOM MACROB–63834EN/02260S 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 287

    PROGRAMMING15. CUSTOM MACROB–63834EN/02261With 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 288

    PROGRAMMING15. CUSTOM MACROB–63834EN/02262Errors 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 289

    PROGRAMMING15. CUSTOM MACROB–63834EN/02263S Also be aware of errors that can result from conditional expressionsusing EQ, NE, GE, GT, LE, and LT.Example:IF[#1 EQ #2] is effected by errors in both #1 and #2, possiblyresulting in an incorrect decision.Therefore, instead find the difference betwee...

  • Page 290

    PROGRAMMING15. CUSTOM MACROB–63834EN/02264The 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 291

    PROGRAMMING15. CUSTOM MACROB–63834EN/02265In 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 292

    PROGRAMMING15. CUSTOM MACROB–63834EN/02266Specify 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 293

    PROGRAMMING15. CUSTOM MACROB–63834EN/02267Specify 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 294

    PROGRAMMING15. CUSTOM MACROB–63834EN/02268The 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 295

    PROGRAMMING15. CUSTOM MACROB–63834EN/02269The 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 296

    PROGRAMMING15. CUSTOM MACROB–63834EN/02270A 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 297

    PROGRAMMING15. CUSTOM MACROB–63834EN/02271When 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 298

    PROGRAMMING15. CUSTOM MACROB–63834EN/02272Argument 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 299

    PROGRAMMING15. CUSTOM MACROB–63834EN/02273D 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 300

    PROGRAMMING15. CUSTOM MACROB–63834EN/02274G65 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 301

    PROGRAMMING15. CUSTOM MACROB–63834EN/02275Once 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 302

    PROGRAMMING15. CUSTOM MACROB–63834EN/02276This program makes a groove at a specified position.UG66 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.0 Z200.0 ...

  • Page 303

    PROGRAMMING15. CUSTOM MACROB–63834EN/02277By 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 settin...

  • Page 304

    PROGRAMMING15. CUSTOM MACROB–63834EN/02278By 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 305

    PROGRAMMING15. CUSTOM MACROB–63834EN/02279By 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 306

    PROGRAMMING15. CUSTOM MACROB–63834EN/02280By 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 307

    PROGRAMMING15. CUSTOM MACROB–63834EN/02281By 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 308

    PROGRAMMING15. CUSTOM MACROB–63834EN/02282O9001(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 309

    PROGRAMMING15. CUSTOM MACROB–63834EN/02283For 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 310

    PROGRAMMING15. CUSTOM MACROB–63834EN/02284N1 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 311

    PROGRAMMING15. CUSTOM MACROB–63834EN/02285Custom 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 312

    PROGRAMMING15. CUSTOM MACROB–63834EN/02286The 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 ...

  • Page 313

    PROGRAMMING15. CUSTOM MACROB–63834EN/02287In 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 314

    PROGRAMMING15. CUSTOM MACROB–63834EN/02288Example )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 315

    PROGRAMMING15. CUSTOM MACROB–63834EN/02289Example )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 re...

  • Page 316

    PROGRAMMING15. CUSTOM MACROB–63834EN/02290NOTE1 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 317

    PROGRAMMING15. CUSTOM MACROB–63834EN/02291When 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 318

    PROGRAMMING15. CUSTOM MACROB–63834EN/02292CAUTIONWhen 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 319

    PROGRAMMING15. CUSTOM MACROB–63834EN/02293There are two types of custom macro interrupts: Subprogram–typeinterrupts and macro–type interrupts. The interrupt type used is selectedby MSB (bit 5 of parameter 6003).(a) Subprogram–type interruptAn interrupt program is called as a subprogram....

  • Page 320

    PROGRAMMING15. CUSTOM MACROB–63834EN/02294(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 321

    PROGRAMMING15. CUSTOM MACROB–63834EN/02295The 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 322

    PROGRAMMING15. CUSTOM MACROB–63834EN/02296There 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 323

    PROGRAMMING15. CUSTOM MACROB–63834EN/02297To 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 324

    PROGRAMMING15. CUSTOM MACROB–63834EN/02298A 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 325

    PROGRAMMING15. CUSTOM MACROB–63834EN/02299D 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 326

    PROGRAMMING16. PROGRAMMABLE PARAMETERENTRY (G10)B–63834EN/0230016 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 327

    PROGRAMMINGB–63834EN/0216. 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 328

    PROGRAMMING16. PROGRAMMABLE PARAMETERENTRY (G10)B–63834EN/023021. 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 329

    B–63834EN/0217. MEMORY OPERATION BYSeries 10/11 TAPE FORMATPROGRAMMING30317 MEMORY OPERATION BY Series 10/11 TAPE FORMATPrograms in the Series 10/11 tape format can be registered in memory formemory operation by setting bit 1 of parameter No. 0001. Registrationto memory and memory operation ar...

  • Page 330

    17. MEMORY OPERATION BY Series 10/11 TAPE FORMATB–63834EN/02PROGRAMMING304Some addresses which cannot be used for the this CNC can be used in theSeries 10/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 ...

  • Page 331

    B–63834EN/0217. MEMORY OPERATION BYSeries 10/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 specif...

  • Page 332

    17. MEMORY OPERATION BY Series 10/11 TAPE FORMATB–63834EN/02PROGRAMMING306M98PffffLffff;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 v...

  • Page 333

    B–63834EN/0217. MEMORY OPERATION BYSeries 10/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 (ta...

  • Page 334

    17. MEMORY OPERATION BY Series 10/11 TAPE FORMATB–63834EN/02PROGRAMMING308Multiple 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 ...

  • Page 335

    B–63834EN/0217. MEMORY OPERATION BYSeries 10/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 multipl...

  • Page 336

    17. MEMORY OPERATION BY Series 10/11 TAPE FORMATB–63834EN/02PROGRAMMING310Drilling 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 cycleG83X_C_Z_R_Q_P...

  • Page 337

    B–63834EN/0217. MEMORY OPERATION BYSeries 10/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 Series 10/11 tape format G81, G82, G83.1, G84....

  • Page 338

    17. MEMORY OPERATION BY Series 10/11 TAPE FORMATB–63834EN/02PROGRAMMING312The 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 abs...

  • Page 339

    B–63834EN/0217. MEMORY OPERATION BYSeries 10/11 TAPE FORMATPROGRAMMING313For Series 0i, 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 Series 0i, G84/G84.2 causes the tool to dwell be...

  • Page 340

    18. AXIS CONTROL FUNCTIONB–63834EN/02PROGRAMMING31418 AXIS CONTROL FUNCTION

  • Page 341

    B–63834EN/0218. 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 cu...

  • Page 342

    18. AXIS CONTROL FUNCTIONB–63834EN/02PROGRAMMING316Tool 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 343

    B–63834EN/0218. 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 coordinates isassumed to be the center o...

  • Page 344

    18. AXIS CONTROL FUNCTIONB–63834EN/02PROGRAMMING318Then consider the case when one tool is set at 180° symmetrical positions,for atotal of two. It is seen that a square can be machined with these toolsas shown below.ÇÇÇÇÇÇÇÇÇÇÇÇÇÇÇÇÇÇÇÇÇÇÇÇÇÇÇÇÇÇÇÇÇÇÇÇÇÇ...

  • Page 345

    B–63834EN/0218. 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 346

    18. AXIS CONTROL FUNCTIONB–63834EN/02PROGRAMMING320The 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 347

    B–63834EN/0218. 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 348

    18. AXIS CONTROL FUNCTIONB–63834EN/02PROGRAMMING3222 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 349

    B–63834EN/0218. AXIS CONTROL FUNCTIONPROGRAMMING323When the angular axis makes an angle other than 90° with theperpendicular axis, the angular axis control function controls the distancetraveled along each axis according to the inclination angle. For theordinary angular axis control function, ...

  • Page 350

    18. AXIS CONTROL FUNCTIONB–63834EN/02PROGRAMMING324An absolute and a relative position are indicated in the programmedCartesian coordinate system. Machine position displayA machine position indication is provided in the machine coordinatesystem where an actual movement is taking place according...

  • Page 351

    PROGRAMMINGB–63834EN/0219. PATTERN DATA INPUT FUNCTION32519 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 352

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

  • Page 353

    PROGRAMMINGB–63834EN/0219. PATTERN DATA INPUT FUNCTION327Menu 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 354

    PROGRAMMING19. PATTERN DATA INPUT FUNCTIONB–63834EN/02328Pattern 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 355

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

  • Page 356

    PROGRAMMING19. PATTERN DATA INPUT FUNCTIONB–63834EN/02330When 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 357

    PROGRAMMINGB–63834EN/0219. PATTERN DATA INPUT FUNCTION331Menu 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 358

    PROGRAMMING19. PATTERN DATA INPUT FUNCTIONB–63834EN/02332One 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 359

    PROGRAMMINGB–63834EN/0219. PATTERN DATA INPUT FUNCTION333Macro 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 360

    PROGRAMMING19. PATTERN DATA INPUT FUNCTIONB–63834EN/02334Table.19.3(a) Characters and codes to be used for the pattern data input functionCharac-terCodeCommentCharac-terCodeCommentA0656054B0667055C0678056D0689057E069032SpaceF070!033Exclama–tion markG071”034QuotationmarkH072#035Hash signI07...

  • Page 361

    PROGRAMMINGB–63834EN/0219. PATTERN DATA INPUT FUNCTION335Table 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 corresponding ...

  • Page 362

  • Page 363

    III. OPERATION

  • Page 364

  • Page 365

    OPERATIONB–63834EN/021. GENERAL3391 GENERAL

  • Page 366

    OPERATION1. GENERALB–63834EN/02340The 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 367

    OPERATIONB–63834EN/021. GENERAL341Using 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 368

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

  • Page 369

    OPERATIONB–63834EN/021. GENERAL343Select 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 370

    OPERATION1. GENERALB–63834EN/02344While 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 opera...

  • Page 371

    OPERATIONB–63834EN/021. GENERAL345Before 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 372

    OPERATION1. GENERALB–63834EN/02346When 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 (SeeSection III–5.5).Cycle startCycle startCycle...

  • Page 373

    OPERATIONB–63834EN/021. GENERAL347After 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 374

    OPERATION1. GENERALB–63834EN/02348The 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 com...

  • Page 375

    OPERATIONB–63834EN/021. GENERAL349Offset 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 376

    OPERATION1. GENERALB–63834EN/02350The 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 377

    OPERATIONB–63834EN/021. GENERAL351The 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 378

    OPERATION1. GENERALB–63834EN/02352The 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 to 11.1.3)XxWorkpiece coordinate systemZzMEM *** *** *** 19:47:45[ ABS...

  • Page 379

    OPERATIONB–63834EN/021. GENERAL353Two types of run time and number of parts are displayed on thescreen.(See Section lll–11.4.9)MEM STRT *** FIN 20:22:23[ ABS ] [ REL ] [ ALL ] [ ] [(OPRT)]ACTUAL POSITION(ABSOLUTE) O0003 N00003PART COUNT 18RUN TIME 0H16MCYCL...

  • Page 380

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

  • Page 381

    OPERATIONB–63834EN/022. OPERATIONAL DEVICES3552 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.

  • Page 382

    OPERATION2. OPERATIONAL DEVICESB–63834EN/02356The setting and display units are shown in Subsections 2.1.1 to 2.1.5 ofPart III.9″ monochrome CRT/MDI unitIII–2.1.1. . . . . . . . . . . . . . . . . . . . . 7.2″ monochrome/8.4″ color LCD/MDI unitIII–2.1.2. . . . . . . . . . 10.4″ color...

  • Page 383

    OPERATIONB–63834EN/022. OPERATIONAL DEVICES3572.1.19I MonochromeCRT/MDI Unit2.1.27.2″ Monochrome/8.4″ Color LCD/MDI Unit

  • Page 384

    OPERATION2. OPERATIONAL DEVICESB–63834EN/02358Address/numeric keysFunction keysCursor move keysPage change keysSHIFT keyCancel keyINPUT keyEdit keysHELP keyRESET key2.1.310.4″ Color LCD Panel2.1.4Key Location of MDI

  • Page 385

    OPERATIONB–63834EN/022. OPERATIONAL DEVICES359Shift keyPage change keysCursor keysFunction keysInput keyCancel (CAN) keyEdit keysAddress/numeric keysReset keyHelp key2.1.5Stand–Alone TypeStandard MDI Unit

  • Page 386

    OPERATION2. OPERATIONAL DEVICESB–63834EN/02360Table 2.2 Explanation of the MDI keyboardNumberNameExplanation1RESET keyRESETPress this key to reset the CNC, to cancel an alarm, etc.2HELP keyHELPPress this key to display how to operate the machine tool, such as MDI key operation,or the details o...

  • Page 387

    OPERATIONB–63834EN/022. OPERATIONAL DEVICES361Table 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 388

    OPERATION2. OPERATIONAL DEVICESB–63834EN/02362The 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 389

    OPERATIONB–63834EN/022. OPERATIONAL DEVICES363Function 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 390

    OPERATION2. OPERATIONAL DEVICESB–63834EN/02364To 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 391

    OPERATIONB–63834EN/022. OPERATIONAL DEVICES365Monitor 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 392

    OPERATION2. OPERATIONAL DEVICESB–63834EN/02366[EXEC][ABS][(OPRT)][BG–EDT][O SRH][PRGRM]Program display screenPROGSoft key transition triggered by the function keyin the MEM modePROG[N SRH][REWIND]SeeWhen the soft key [BG-EDT]is pressed"[(OPRT)][CHECK]Program check display screen[REL]Cur...

  • Page 393

    OPERATIONB–63834EN/022. OPERATIONAL DEVICES367[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 394

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

  • Page 395

    OPERATIONB–63834EN/022. OPERATIONAL DEVICES369[(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)[F SRH][CAN][EXEC][READ][STOP][CAN][PUNCH][F SET][F SET][EXEC][O SET][STOP][CAN][F SET][EXEC][O SET][DELETE...

  • Page 396

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

  • Page 397

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

  • Page 398

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

  • Page 399

    OPERATIONB–63834EN/022. OPERATIONAL DEVICES373[(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)[F SRH][CAN][EXEC][READ][STOP][CAN][PUNCH][F SET][F SET][EXEC][O SET][STOP][CAN][F SET][EXEC][O SET][DELETE...

  • Page 400

    OPERATION2. OPERATIONAL DEVICESB–63834EN/02374[(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 401

    OPERATIONB–63834EN/022. OPERATIONAL DEVICES375[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 402

    OPERATION2. OPERATIONAL DEVICESB–63834EN/02376Soft 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 SCREEN[SYSTEM]...

  • Page 403

    OPERATIONB–63834EN/022. OPERATIONAL DEVICES377[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 404

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

  • Page 405

    OPERATIONB–63834EN/022. OPERATIONAL DEVICES379Soft key transition triggered by the function keyGRAPHGRAPHIC SCREENTool path graphics[(OPRT)][G.PRM]Tool path graphicsGRAPH[GRAPH][ERASE][(OPRT)][ZOOM][(OPRT)][NORMAL][ACT][HI/LO]Mode 0Soft key transition triggered by the function keyCUSTOMCUSTOM S...

  • Page 406

    OPERATION2. OPERATIONAL DEVICESB–63834EN/02380When 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 407

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

  • Page 408

    OPERATION2. OPERATIONAL DEVICESB–63834EN/02382There are 12 soft keys in the 10.4″ LCD/MDI. As illustrated below, the5 soft keys on the right and those on the right and left edges operate in thesame way as the 9″ CRT/7.2″ LCD/8.4″ LCD, whereas the 5 keys on theleft hand side are expansi...

  • Page 409

    OPERATIONB–63834EN/022. OPERATIONAL DEVICES383Handy File of external input/output device is available. For detail onHandy File, refer to the corresponding manual listed below.Table 2.4 External I/O deviceDevice nameUsageMax.storagecapacityReferencemanualFANUC Handy FileEasy–to–use, multi ...

  • Page 410

    OPERATION2. OPERATIONAL DEVICESB–63834EN/02384Before an external input/output device can be used, parameters must beset as follows.CNCMAIN CPU BOARDChannel 1Channel 2JD36AJD36BRS–232–CRS–232–CReader/puncherReader/puncherI/O CHANNEL=0orI/O CHANNEL=1I/O CHANNEL=2CNC has two channels of ...

  • Page 411

    OPERATIONB–63834EN/022. OPERATIONAL DEVICES385The 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 412

    OPERATION2. OPERATIONAL DEVICESB–63834EN/02386Procedure 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 413

    OPERATIONB–63834EN/022. OPERATIONAL DEVICES387If 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 414

    OPERATION2. OPERATIONAL DEVICESB–63834EN/02388D6A1 – 01SLOT 01 (3046) : ENDSLOT 02 (3050) :Blank: Setting not com-pletedModule IDSlot numberEND: Setting completedD6A1 – 01CNC control softwareOMM : yyyy–yyPMC : zzzz–zzOrder–made macro/macrocompilerPMCThe software configuration...

  • Page 415

    OPERATIONB–63834EN/023. MANUAL OPERATION3893 MANUAL OPERATIONMANUAL OPERATION are six kinds as follows :3.1 Manual reference position return3.2 Jog feed3.3 Incremental feed3.4 Manual handle feed3.5 Manual absolute on and off

  • Page 416

    OPERATION3. MANUAL OPERATIONB–63834EN/02390The 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 417

    OPERATIONB–63834EN/023. MANUAL OPERATION391The coordinate system is automatically determined when manualreference position return is performed.When α and γ are set in workpiece zero point offcet, the workpiececoordinate system is determined so that the reference point on the toolholder or the...

  • Page 418

    OPERATION3. MANUAL OPERATIONB–63834EN/02392In 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 419

    OPERATIONB–63834EN/023. MANUAL OPERATION393Depending on the setting of JRV (bit 4 of parameter No. 1402), jog feedchanges to manual feed per revolution.In manual feed per revolution, jog feed is performed at the feedrate equalto the feed amount per revolution (which is determined by multiplying...

  • Page 420

    OPERATION3. MANUAL OPERATIONB–63834EN/02394In 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 421

    OPERATIONB–63834EN/023. MANUAL OPERATION395In 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 422

    OPERATION3. MANUAL OPERATIONB–63834EN/02396Parameter 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 423

    OPERATIONB–63834EN/023. MANUAL OPERATION397Manual pulse generators for up two axes can be set. The two axes can bemoved simultaneously.WARNINGRotating the handle quickly with a large magnification suchas x100 moves the tool too fast. The feedrate is clampedat the rapid traverse feedrate.NOTER...

  • Page 424

    OPERATION3. MANUAL OPERATIONB–63834EN/02398Whether 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 425

    OPERATIONB–63834EN/023. MANUAL OPERATION399The 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 ...

  • Page 426

    OPERATION3. MANUAL OPERATIONB–63834EN/02400Coordinates 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(275.0 , 300.0)(200.0 , 150.0)(200.0 , 300.0)(...

  • Page 427

    OPERATIONB–63834EN/023. MANUAL OPERATION401When 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 m...

  • Page 428

    OPERATION3. MANUAL OPERATIONB–63834EN/02402Manual 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 429

    OPERATIONB–63834EN/024. AUTOMATIC OPERATION4034 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 430

    OPERATION4. AUTOMATIC OPERATIONB–63834EN/02404Programs 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 431

    OPERATIONB–63834EN/024. AUTOMATIC OPERATION405When 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 432

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

  • Page 433

    OPERATIONB–63834EN/024. AUTOMATIC OPERATION407In 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 434

    OPERATION4. AUTOMATIC OPERATIONB–63834EN/02408By command of M99, control returns to the head of the preparedprogram.O0001 N00003MDI* * * * * * * * * *12 : 42 : 39PRGRMCURRNTNEXT(OPRT)PROGRAM ( MDI )G00 X100.0 Z200. ;M03 ;G01 Z120.0 F500 ;M93 P9010 ;G00 Z0.0 ;%G00G90G94G40G80...

  • Page 435

    OPERATIONB–63834EN/024. AUTOMATIC OPERATION409D Background editing is performed.D When O and DELETE keys were pressed.D Upon reset when bit 7 (MCL) of parameter No. 3203 is set to 1After the editing operation during the stop of MDI operation was done,operation starts from the current cursor po...

  • Page 436

    OPERATION4. AUTOMATIC OPERATIONB–63834EN/02410This 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 437

    OPERATIONB–63834EN/024. AUTOMATIC OPERATION411Procedure 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 438

    OPERATION4. AUTOMATIC OPERATIONB–63834EN/024125 The sequence number is searched for, and the program restart screenappears on the screen. PROGRAM RESTARTDESTINATIONX 57. 096Z 56. 943DISTANCE TO GO1 X 1. 4592 Z 7. 320M1 2121212121* * * * * * * ** * * * * * * ** * * * * * * *T* * * * * * * ** * ...

  • Page 439

    OPERATIONB–63834EN/024. AUTOMATIC OPERATION413Procedure 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 440

    OPERATION4. AUTOMATIC OPERATIONB–63834EN/02414The coordinates and amount of travel for restarting the program canbe displayed for up to four axes. (The program restart screen displaysonly the data for CNC–controlled axes.)M: Fourteen most recently specified M codesT: Two most recently spec...

  • Page 441

    OPERATIONB–63834EN/024. AUTOMATIC OPERATION415< 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 442

    OPERATION4. AUTOMATIC OPERATIONB–63834EN/02416When 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 443

    OPERATIONB–63834EN/024. AUTOMATIC OPERATION417WARNINGAs a rule, the tool cannot be returned to a correct positionunder the following conditions.Special care must be taken in the following cases sincenone of them cause an alarm:S Manual operation is performed when the manualabsolute mode is OFF....

  • Page 444

    OPERATION4. AUTOMATIC OPERATIONB–63834EN/02418The 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 445

    OPERATIONB–63834EN/024. AUTOMATIC OPERATION419FILE 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 446

    OPERATION4. AUTOMATIC OPERATIONB–63834EN/02420F0007 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 executin...

  • Page 447

    OPERATIONB–63834EN/024. AUTOMATIC OPERATION421O0000 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 specifie...

  • Page 448

    OPERATION4. AUTOMATIC OPERATIONB–63834EN/02422Alarm No.Description086An attempt was made to execute a file that was not registeredin the floppy disk.210M198 and M99 were executed during scheduled operation, orM198 was executed during DNC operation.Alarm

  • Page 449

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

  • Page 450

    OPERATION4. AUTOMATIC OPERATIONB–63834EN/02424NOTE1 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 451

    OPERATIONB–63834EN/024. AUTOMATIC OPERATION425The 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 452

    OPERATION4. AUTOMATIC OPERATIONB–63834EN/02426The 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 453

    OPERATIONB–63834EN/024. AUTOMATIC OPERATION427(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 454

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

  • Page 455

    OPERATIONB–63834EN/024. AUTOMATIC OPERATION4293Enter 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 m...

  • Page 456

    OPERATION4. AUTOMATIC OPERATIONB–63834EN/02430In 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 457

    OPERATIONB–63834EN/024. AUTOMATIC OPERATION431N1N2N1 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 458

    OPERATION4. AUTOMATIC OPERATIONB–63834EN/02432By 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 459

    OPERATIONB–63834EN/024. AUTOMATIC OPERATION433PROGRAMN020 X100.0 (DNC–PROG) ;N030 X90.0 ;N040 X80.0 ;N050 X70.0 ;N060 X60.0 ;N070 X50.0 ;N080 X40.0 ;N090 X30.0 ;N100 X20.0 ;N110 X10.0 ;N120 X0.0 ;N130 Z100.0 ;N140 Z90.0 ;N150 Z80.0 ;N160 Z70.0 ;N170 Z60.0 ;+N180 Z50.0 ;N190 Z40.0 ;N200 Z30.0 ...

  • Page 460

    OPERATION4. AUTOMATIC OPERATIONB–63834EN/02434During DNC operation, the main program cannot specify multiplerepetitive canned cycles (G70 to G78).NumberMessageContents086DR SIGNAL OFFWhen entering data in the memory by us-ing Reader / Puncher interface, the readysignal (DR) of reader / puncher ...

  • Page 461

    OPERATIONB–63834EN/025. TEST OPERATION4355 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 462

    OPERATION5. TEST OPERATIONB–63834EN/02436To 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 463

    OPERATIONB–63834EN/025. TEST OPERATION437M, 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 464

    OPERATION5. TEST OPERATIONB–63834EN/02438A 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 465

    OPERATIONB–63834EN/025. TEST OPERATION439An 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 of...

  • Page 466

    OPERATION5. TEST OPERATIONB–63834EN/02440The 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 467

    OPERATIONB–63834EN/025. TEST OPERATION441Pressing 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 468

    OPERATION5. TEST OPERATIONB–63834EN/02442If 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 469

    OPERATIONB–63834EN/025. TEST OPERATION443lG73(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 470

    6. SAFETY FUNCTIONSB–63834EN/02OPERATION4446 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 471

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

  • Page 472

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

  • Page 473

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

  • Page 474

    6. SAFETY FUNCTIONSB–63834EN/02OPERATION448G 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 setti...

  • Page 475

    B–63834EN/026. SAFETY FUNCTIONSOPERATION449The parameter setting or programmed value (X, Z, I, and K) depends onwhich part of the tool or tool holder is checked for entering the forbiddenarea.Confirm the checking position (the top of the tool or the tool chuck) beforeprogramming the forbidden a...

  • Page 476

    6. SAFETY FUNCTIONSB–63834EN/02OPERATION450When G23 is switched to G22 in the forbidden area, the following results.(1) When the forbidden area is inside, an alarm is informed in the nextmove.(2) When the forbidden area is outside, an alarm is informed immediately.NOTEIn setting a forbidden ar...

  • Page 477

    B–63834EN/026. SAFETY FUNCTIONSOPERATION451The chuck–tailstock barrier function prevents damage to the machine bychecking whether the tool tip fouls either the chuck or tailstock.Specify an area into which the tool may not enter (entry–inhibition area).This is done using the special setting...

  • Page 478

    6. SAFETY FUNCTIONSB–63834EN/02OPERATION452Tailstock barrier setting screen/L = 100.000 D = 200.000 L1= 50.000 D1= 100.000 L2= 50.000 D2= 50.000 D3= 30.000 TZ= 100.000 BARRIER (TAILSTOCK) O0000 N00000>_MDI **** *** *** 14:46:09[ INPUT ][ +INPUT ][ ...

  • Page 479

    B–63834EN/026. SAFETY FUNCTIONSOPERATION4531Return the tool to the reference position along the X– and Z–axes.The chuck–tailstock barrier function becomes effective only oncereference position return has been completed after power on.When an absolute position detector is provided, referen...

  • Page 480

    6. SAFETY FUNCTIONSB–63834EN/02OPERATION454SymbolDescriptionTYChuck–shape selection (0: Holding the inner face of a tool, 1: Holding the outerface of a tool)CXChuck position (along X–axis)CZChuck position (along Z–axis)LLength of chuck jawsWDepth of chuck jaws (radius)L1Holding length o...

  • Page 481

    B–63834EN/026. SAFETY FUNCTIONSOPERATION455ZOrigin of theworkpiececoordinatesystemLL1L2D3D2D1DTZWork-pieceBSymbolDescriptionTZTailstock position (along the Z–axis)LTailstock lengthDTailstock diameterL1Tailstock length (1)D1Tailstock diameter (1)L2Tailstock length (2)D2Tailstock diameter (2)D3...

  • Page 482

    6. SAFETY FUNCTIONSB–63834EN/02OPERATION456Table 4 UnitsIncrementData unitIncrementsystemIS-AIS-BValid data rangeMetric input0.001 mm0.0001 mm–99999999 to +99999999Inch input0.0001 inch0.00001 inch–99999999 to +99999999The tip angle of the tailstock is 60 degrees. The entry–inhibition ar...

  • Page 483

    B–63834EN/026. SAFETY FUNCTIONSOPERATION457An entry–inhibition area is defined using the workpiece coordinatesystem. Note the following.1 When the workpiece coordinate system is shifted by means of acommand or operation, the entry–inhibition area is also shifted by thesame amount.Machine c...

  • Page 484

    OPERATION7. ALARM AND SELF–DIAGNOSISFUNCTIONSB–63834EN/024587 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 alarmnumbers. Up to 50 previous alarms can be stored and d...

  • Page 485

    OPERATIONB–63834EN/027. ALARM AND SELF–DIAGNOSISFUNCTIONS459When an alarm occurs, the alarm screen appears.ARALMALARM MESSAGEMDI* * * * * * * * * *18 : 52 : 05000000000100PARAMETER WRITE ENABLE510OVER TRAVEL:+X417SERVO ALARM : X AXIS DGTL PARAMMSGHISTRYALM417SERVO ALARM : Z AXIS DGTL PAR...

  • Page 486

    OPERATION7. ALARM AND SELF–DIAGNOSISFUNCTIONSB–63834EN/02460Alarm numbers and messages indicate the cause of an alarm. To recoverfrom an alarm, eliminate the cause and press the reset key.The error codes are classified as follows:No. 000 to 255: P/S alarm (Program errors) (*)No. 300 to 349: ...

  • Page 487

    OPERATIONB–63834EN/027. ALARM AND SELF–DIAGNOSISFUNCTIONS461Up 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 MESSAGE .2Press the chapter selection soft key [HISTRY].The...

  • Page 488

    OPERATION7. ALARM AND SELF–DIAGNOSISFUNCTIONSB–63834EN/02462The 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 489

    OPERATIONB–63834EN/027. ALARM AND SELF–DIAGNOSISFUNCTIONS463Diagnostic 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 490

    OPERATION7. ALARM AND SELF–DIAGNOSISFUNCTIONSB–63834EN/02464The 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 491

    B–63834EN/028. DATA INPUT/OUTPUTOPERATION4658 DATA INPUT/OUTPUTNC data is transferred between the NC and external input/output devicessuch as the Handy File. Information can be read into the CNC from a memory card and writtenfrom the CNC to the memory card, using the memory card interface at t...

  • Page 492

    8. DATA INPUT/OUTPUTB–63834EN/02OPERATION466Of 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 493

    B–63834EN/028. DATA INPUT/OUTPUTOPERATION467The 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(Onl...

  • Page 494

    8. DATA INPUT/OUTPUTB–63834EN/02OPERATION468When 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 Heading1 Press the EDIT or MEMORY switch on the mach...

  • Page 495

    B–63834EN/028. DATA INPUT/OUTPUTOPERATION469No.Description86The ready signal (DR) of an input/output device is off.An alarm is not immediately indicated in the CNC even when analarm occurs during head searching (when a file is not found, orthe like).An alarm is given when the input/output opera...

  • Page 496

    8. DATA INPUT/OUTPUTB–63834EN/02OPERATION470Files 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 497

    B–63834EN/028. DATA INPUT/OUTPUTOPERATION471This section describes how to load a program into the CNC from a floppyor NC tape.Procedure for Inputting a Program1Make sure the input device is ready for reading.2Press the EDIT switch on the machine operator’s panel.3When using a floppy, search f...

  • Page 498

    8. DATA INPUT/OUTPUTB–63834EN/02OPERATION472- 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 499

    B–63834EN/028. DATA INPUT/OUTPUTOPERATION473S 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 500

    8. DATA INPUT/OUTPUTB–63834EN/02OPERATION474A 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 501

    B–63834EN/028. DATA INPUT/OUTPUTOPERATION475Punch 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 502

    8. DATA INPUT/OUTPUTB–63834EN/02OPERATION476Offset 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 regi...

  • Page 503

    B–63834EN/028. DATA INPUT/OUTPUTOPERATION477All 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 504

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

  • Page 505

    B–63834EN/028. DATA INPUT/OUTPUTOPERATION47915Turn 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 506

    8. DATA INPUT/OUTPUTB–63834EN/02OPERATION480When 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 507

    B–63834EN/028. DATA INPUT/OUTPUTOPERATION48116Release 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 508

    8. DATA INPUT/OUTPUTB–63834EN/02OPERATION482The 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 509

    B–63834EN/028. DATA INPUT/OUTPUTOPERATION483Custom macro common variables (#500 to #999) stored in the memoryof the CNC can be output in the defined output format to a floppy or NCtape.Procedure for Outputting Custom Macro Common Variable1Make sure the output device is ready for output.2Specify...

  • Page 510

    8. DATA INPUT/OUTPUTB–63834EN/02OPERATION484On 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 511

    B–63834EN/028. DATA INPUT/OUTPUTOPERATION485Displaying 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 (contin...

  • Page 512

    8. DATA INPUT/OUTPUTB–63834EN/02OPERATION486Use 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 (continuous menu key).4Press soft key [FL...

  • Page 513

    B–63834EN/028. DATA INPUT/OUTPUTOPERATION487NO:Displays the file numberFILE NAME :Displays the file name.(METER):Converts and prints out the file capacity to paper tape length. You can also produce H (FEET)I by setting the INPUT UNIT to INCH of the setting data.VOL.:When the file is multi–vo...

  • Page 514

    8. DATA INPUT/OUTPUTB–63834EN/02OPERATION488The 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 (continuous menu key).4Press soft key [FL...

  • Page 515

    B–63834EN/028. DATA INPUT/OUTPUTOPERATION489Any 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 (continuous menu key).4Press ...

  • Page 516

    8. DATA INPUT/OUTPUTB–63834EN/02OPERATION490The 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 (continuous menu key).4Press soft key [FLOPPY].5Press soft ...

  • Page 517

    B–63834EN/028. DATA INPUT/OUTPUTOPERATION491If [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 518

    8. DATA INPUT/OUTPUTB–63834EN/02OPERATION492CNC 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 519

    B–63834EN/028. DATA INPUT/OUTPUTOPERATION493To input/output a particular type of data, the corresponding screen isusually selected. For example, the parameter screen is used forparameter input from or output to an external input/output unit, whilethe program screen is used for program input or...

  • Page 520

    8. DATA INPUT/OUTPUTB–63834EN/02OPERATION494Input/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 (continuous menu key) severaltimes.3Pre...

  • Page 521

    B–63834EN/028. DATA INPUT/OUTPUTOPERATION495A 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 522

    8. DATA INPUT/OUTPUTB–63834EN/02OPERATION496When 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 523

    B–63834EN/028. DATA INPUT/OUTPUTOPERATION4975Press 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 524

    8. DATA INPUT/OUTPUTB–63834EN/02OPERATION498Deleting files1Press soft key [PRGRM] on the ALL IO screen, described in SectionIII–8.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 display...

  • Page 525

    B–63834EN/028. DATA INPUT/OUTPUTOPERATION499Parameters can be input and output using the ALL IO screen.Inputting parameters1Press soft key [PARAM] on the ALL IO screen, described in SectionIII–8.10.1.2Select EDIT mode.3Press soft key [(OPRT)]. The screen and soft keys change as shownbelow.RE...

  • Page 526

    8. DATA INPUT/OUTPUTB–63834EN/02OPERATION500Outputting parameters1Press soft key [PARAM] on the ALL IO screen, described in SectionIII–8.10.1.2Select EDIT mode.3Press soft key [(OPRT)]. The screen and soft keys change as shownbelow.READ/PUNCH (PARAMETER)O1234 N12345MDI * * * * * * * *...

  • Page 527

    B–63834EN/028. DATA INPUT/OUTPUTOPERATION501Offset data can be input and output using the ALL IO screen. Inputting offset data1Press soft key [OFFSET] on the ALL IO screen, described in SectionIII–8.10.1.2Select EDIT mode.3Press soft key [(OPRT)]. The screen and soft keys change as shownbelo...

  • Page 528

    8. DATA INPUT/OUTPUTB–63834EN/02OPERATION502Outputting offset data1Press soft key [OFFSET] on the ALL IO screen, described in SectionIII–8.10.1.2Select EDIT mode.3Press soft key [(OPRT)]. The screen and soft keys change as shownbelow.READ/PUNCH (OFFSET)O1234 N12345MDI * * * * * * * * ...

  • Page 529

    B–63834EN/028. DATA INPUT/OUTPUTOPERATION503Custom 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 SectionIII–8.10.1.2Select EDIT mode.3Press soft key [(OPRT)]. The screen and soft...

  • Page 530

    8. DATA INPUT/OUTPUTB–63834EN/02OPERATION504The 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 (continuous menu key) on the ALLIO screen, described in Section III–8.10....

  • Page 531

    B–63834EN/028. DATA INPUT/OUTPUTOPERATION5057Press 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 532

    8. DATA INPUT/OUTPUTB–63834EN/02OPERATION506Inputting a file1Press the rightmost soft key (continuous menu key) on the ALLIO screen, described in Section III–8.10.1.2Press soft key [FLOPPY].3Select EDIT mode. The floppy screen is displayed.4Press soft key [(OPRT)]. The screen and soft keys...

  • Page 533

    B–63834EN/028. DATA INPUT/OUTPUTOPERATION507Outputting a file1Press the rightmost soft key (continuous menu key) on the ALLIO screen, described in Section III–8.10.1.2Press soft key [FLOPPY].3Select EDIT mode. The floppy screen is displayed.4Press soft key [(OPRT)]. The screen and soft key...

  • Page 534

    8. DATA INPUT/OUTPUTB–63834EN/02OPERATION508Deleting a file1Press the rightmost soft key (continuous menu key) on the ALLIO screen, described in Section III–8.10.1.2Press soft key [FLOPPY].3Select EDIT mode. The floppy screen is displayed.4Press soft key [(OPRT)]. The screen and soft keys ...

  • Page 535

    B–63834EN/029. EDITING PROGRAMSOPERATION5099 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 536

    9. EDITING PROGRAMSB–63834EN/02OPERATION510This 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 537

    B–63834EN/029. EDITING PROGRAMSOPERATION511A 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 538

    9. EDITING PROGRAMSB–63834EN/02OPERATION512Procedure 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 539

    B–63834EN/029. EDITING PROGRAMSOPERATION513The 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 RESETwhen the program screen is selec...

  • Page 540

    9. EDITING PROGRAMSB–63834EN/02OPERATION514Procedure 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 541

    B–63834EN/029. EDITING PROGRAMSOPERATION515Procedure 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 542

    9. EDITING PROGRAMSB–63834EN/02OPERATION516Procedure 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 543

    B–63834EN/029. EDITING PROGRAMSOPERATION517A 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 544

    9. EDITING PROGRAMSB–63834EN/02OPERATION518The 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 545

    B–63834EN/029. EDITING PROGRAMSOPERATION519When 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 addressO .4Key in a program number to...

  • Page 546

    9. EDITING PROGRAMSB–63834EN/02OPERATION520Sequence 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 547

    B–63834EN/029. EDITING PROGRAMSOPERATION521Those 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 548

    9. EDITING PROGRAMSB–63834EN/02OPERATION522Programs 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 549

    B–63834EN/029. EDITING PROGRAMSOPERATION523Programs 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 550

    9. EDITING PROGRAMSB–63834EN/02OPERATION524With 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 551

    B–63834EN/029. EDITING PROGRAMSOPERATION525A new program can be created by copying a program.AOxxxxAOxxxxAfter copyAOyyyyCopyBefore copyFig. 9.6.1 Copying an entire programIn Fig. 9.6.1, the program with program number xxxx is copied to a newlycreated program with program number yyyy. The prog...

  • Page 552

    9. EDITING PROGRAMSB–63834EN/02OPERATION526A 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 553

    B–63834EN/029. EDITING PROGRAMSOPERATION527A 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 554

    9. EDITING PROGRAMSB–63834EN/02OPERATION528Another 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 555

    B–63834EN/029. EDITING PROGRAMSOPERATION529The 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 556

    9. EDITING PROGRAMSB–63834EN/02OPERATION530Alarm No.Contents70Memory became insufficient while copying or inserting a program.Copy or insertion is terminated.101The power was interrupted during copying, moving, or inserting aprogram and memory used for editing must be cleared.When this alarm oc...

  • Page 557

    B–63834EN/029. EDITING PROGRAMSOPERATION531Replace 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 558

    9. EDITING PROGRAMSB–63834EN/02OPERATION532Up 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 n...

  • Page 559

    B–63834EN/029. EDITING PROGRAMSOPERATION533Unlike 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 560

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

  • Page 561

    B–63834EN/029. EDITING PROGRAMSOPERATION535The 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 562

    9. EDITING PROGRAMSB–63834EN/02OPERATION536The 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 563

    OPERATIONB–63834EN/0210. CREATING PROGRAMS53710 CREATING PROGRAMSPrograms can be created using any of the following methods:⋅ MDI keyboard⋅ PROGRAMMING IN TEACH IN MODE⋅ CONVERSATIONAL PROGRAMMING WITH GRAPHIC FUNCTION⋅ AUTOMATIC PROGRAM PREPARATION DEVICE (FANUCSYSTEM P)This chapter de...

  • Page 564

    OPERATION10. CREATING PROGRAMSB–63834EN/02538Programs 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 565

    OPERATIONB–63834EN/0210. CREATING PROGRAMS539Sequence 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 566

    OPERATION10. CREATING PROGRAMSB–63834EN/025409Press 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 567

    OPERATIONB–63834EN/0210. CREATING PROGRAMS541In the 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...

  • Page 568

    OPERATION10. CREATING PROGRAMSB–63834EN/02542O1234 ;N1 G50 X100000 Z200000 ;N2 G00 X14784 Z8736 ;N3 G01 Z103480 F300 ;N4 M02 ;XZP0 (100.0,200.0)P1P2 (14.784,103.480)(14.784,8.736)1Set the setting data SEQUENCE NO. to 1 (on). (The incrementalvalue parameter (No. 3212) is assumed to be “1”.)...

  • Page 569

    OPERATIONB–63834EN/0210. CREATING PROGRAMS54310Enter 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 570

    OPERATION10. CREATING PROGRAMSB–63834EN/02544Programs 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 571

    OPERATIONB–63834EN/0210. CREATING PROGRAMS5454Press 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 572

    OPERATION10. CREATING PROGRAMSB–63834EN/02546When 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 573

    OPERATIONB–63834EN/0210. CREATING PROGRAMS5471Move 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 574

    OPERATION11. SETTING AND DISPLAYING DATAB–63834EN/0254811 SETTING AND DISPLAYING DATATo operate a CNC machine tool, various data must be set on the MDI forthe CNC. The operator can monitor the state of operation with datadisplayed during operation.This chapter describes how to display and set ...

  • Page 575

    OPERATIONB–63834EN/0211. SETTING AND DISPLAYING DATA549POSScreen transition triggered by the function key POSPOSITION DISPLAY SCREENCurrent position screenPosition display ofwork coordinatesystem⇒See III-11.1.1.Display of partcount and runtime⇒See III-11.1.6.Display of actualspeed⇒See III...

  • Page 576

    OPERATION11. SETTING AND DISPLAYING DATAB–63834EN/02550Program screenDisplay of program 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 SCREENMDI*ME...

  • Page 577

    OPERATIONB–63834EN/0211. SETTING AND DISPLAYING DATA551Program editingscreen⇒See III-10Program memoryand program directory⇒See III-11.3.1.PRGRMLIBC.A.P.(OPRT)PROGEDITFLOPPY(OPRT)EDITFile directoryscreen forfloppy disks⇒See III-8.8Program screenPROGRAM SCREENScreen transition triggered by ...

  • Page 578

    OPERATION11. SETTING AND DISPLAYING DATAB–63834EN/02552Software operator's panel 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 SCREENDisplay of...

  • Page 579

    OPERATIONB–63834EN/0211. SETTING AND DISPLAYING DATA5532/21*Setting of workpiece coordinateshift value by direct input functionB for tool offsetmeasured 2.⇒See III–11.4.3.Tool offset valueOFST.2W.SHFT(OPRT)Display of Y axisoffset value⇒See III-11.4.6.Display of workcoordinatesystem value...

  • Page 580

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

  • Page 581

    OPERATIONB–63834EN/0211. SETTING AND DISPLAYING DATA555The table below lists the data set on each screen.Table 11 Setting screens and data on themNo.Setting screenContents of settingReference item1Tool offset valueTool offset valueTool nose radius compensation valueSubsec. 11.4.1Direct input o...

  • Page 582

    OPERATION11. SETTING AND DISPLAYING DATAB–63834EN/02556Press 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 583

    OPERATIONB–63834EN/0211. SETTING AND DISPLAYING DATA557Bits 6 and 7 of parameter 3104 can be used to select whether the displayedvalues include tool offset value and tool nose radius compensation.Displays the current position of the tool in a relative coordinate systembased on the coordinates s...

  • Page 584

    OPERATION11. SETTING AND DISPLAYING DATAB–63834EN/02558Procedure to reset all axes1Press soft key [(OPRT)].2Press soft key [ORIGIN].3Press soft key [ALLEXE].The relative coordinates for all axes are reset to 0.Bits 4 (DRL) and 5 (DRC) of parameter 3104 can be used to selectwhether the displayed...

  • Page 585

    OPERATIONB–63834EN/0211. SETTING AND DISPLAYING DATA559Displays 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 586

    OPERATION11. SETTING AND DISPLAYING DATAB–63834EN/02560A 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 587

    OPERATIONB–63834EN/0211. SETTING AND DISPLAYING DATA561The 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. On 12 soft keys display unit, the actual feedrateis always displayed.Disp...

  • Page 588

    OPERATION11. SETTING AND DISPLAYING DATAB–63834EN/02562In 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 589

    OPERATIONB–63834EN/0211. SETTING AND DISPLAYING DATA563The 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 590

    OPERATION11. SETTING AND DISPLAYING DATAB–63834EN/02564The 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 591

    OPERATIONB–63834EN/0211. SETTING AND DISPLAYING DATA565The 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 592

    OPERATION11. SETTING AND DISPLAYING DATAB–63834EN/02566This 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 593

    OPERATIONB–63834EN/0211. SETTING AND DISPLAYING DATA567Displays 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 594

    OPERATION11. SETTING AND DISPLAYING DATAB–63834EN/02568Displays 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 595

    OPERATIONB–63834EN/0211. SETTING AND DISPLAYING DATA569ACTUAL POSITION(ABSOLUTE)X0.000Z30.000G00 G40 G54 F500 M3G17 G43 G64G90 G80 G69 H 5G22 G90 G15 DT9G94 G50 G25G21 G67S 6000SACT0O3001 N00000F 0ABSRELALLPRGRMNEXT (OPRT)PROGRAMO3001 ;G40 ;G49 M06 T9 ;G0 G54 G90 X0 Z0 ;G43 Z...

  • Page 596

    OPERATION11. SETTING AND DISPLAYING DATAB–63834EN/02570Displays 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 597

    OPERATIONB–63834EN/0211. SETTING AND DISPLAYING DATA571The program check screen is not provided for 12 soft keys display unit.Press soft key [PRGRM] to display the contents of the program on theright half of the screen. The block currently being executed is indicatedby the cursor. The current...

  • Page 598

    OPERATION11. SETTING AND DISPLAYING DATAB–63834EN/02572Displays 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 599

    OPERATIONB–63834EN/0211. SETTING AND DISPLAYING DATA573This 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 600

    OPERATION11. SETTING AND DISPLAYING DATAB–63834EN/02574Displays 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 601

    OPERATIONB–63834EN/0211. SETTING AND DISPLAYING DATA575PROGRAM 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 602

    OPERATION11. SETTING AND DISPLAYING DATAB–63834EN/02576O NO.SIZE (CHAR.)DATEO00013602001–06–12 14:40O00022402001–06–12 14:55O00104202001–07–01 11:02O00201802001–08–14 09:40O00401,1402001–03–25 18:40O0050 602001–08–26 16:40O01001202001–04–30 13:11> _EDIT **** *** *...

  • Page 603

    OPERATIONB–63834EN/0211. SETTING AND DISPLAYING DATA577In 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 604

    OPERATION11. SETTING AND DISPLAYING DATAB–63834EN/025788Pressing 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:140127839O0020 (GEAR–1000...

  • Page 605

    OPERATIONB–63834EN/0211. SETTING AND DISPLAYING DATA579[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 606

    OPERATION11. SETTING AND DISPLAYING DATAB–63834EN/02580Press 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 607

    OPERATIONB–63834EN/0211. SETTING AND DISPLAYING DATA581Dedicated 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 608

    OPERATION11. SETTING AND DISPLAYING DATAB–63834EN/025822–2 Pressing soft key [WEAR] displays tool wear compensationvalues.OFFSET/WEAR O0001 N00000 NO. X Z. R T W 001 0.000 1.000 0.000 0 W 002 1.486 –49.5...

  • Page 609

    OPERATIONB–63834EN/0211. SETTING AND DISPLAYING DATA583In some cases, tool wear compensation or tool geometry compensationvalues cannot be input because of the settings in bits 0 (WOF) and 1(GOF) of parameter 3290. The input of tool compensation values fromthe MDI can be inhibited for a specif...

  • Page 610

    OPERATION11. SETTING AND DISPLAYING DATAB–63834EN/02584To 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 611

    OPERATIONB–63834EN/0211. SETTING AND DISPLAYING DATA5853–3 Press the address key Z to be set.3–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 ...

  • Page 612

    OPERATION11. SETTING AND DISPLAYING DATAB–63834EN/02586The 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 613

    OPERATIONB–63834EN/0211. SETTING AND DISPLAYING DATA5879Set the offset writing signal mode GOQSM to LOW.The writing mode is canceled and the blinking “OFST” indicator lightgoes off.Procedure for setting the workpiece coordinate system shift amountTool position offset values can be automatic...

  • Page 614

    OPERATION11. SETTING AND DISPLAYING DATAB–63834EN/02588By 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 615

    OPERATIONB–63834EN/0211. SETTING AND DISPLAYING DATA589The 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 616

    OPERATION11. SETTING AND DISPLAYING DATAB–63834EN/02590Shift 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 617

    OPERATIONB–63834EN/0211. SETTING AND DISPLAYING DATA591Tool 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 618

    OPERATION11. SETTING AND DISPLAYING DATAB–63834EN/025923–2 Press soft key [WEAR] to display the tool wear compensationvalues along the Y–axis.OFFSET/WEAR O0001 N00000 NO. Y W 01 10.000 W 02 0.000 ...

  • Page 619

    OPERATIONB–63834EN/0211. SETTING AND DISPLAYING DATA593Procedure 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 620

    OPERATION11. SETTING AND DISPLAYING DATAB–63834EN/02594Data 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 621

    OPERATIONB–63834EN/0211. SETTING AND DISPLAYING DATA5954Move 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 622

    OPERATION11. SETTING AND DISPLAYING DATAB–63834EN/02596If 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 623

    OPERATIONB–63834EN/0211. SETTING AND DISPLAYING DATA597After 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 624

    OPERATION11. SETTING AND DISPLAYING DATAB–63834EN/02598Various 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 625

    OPERATIONB–63834EN/0211. SETTING AND DISPLAYING DATA599This 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 626

    OPERATION11. SETTING AND DISPLAYING DATAB–63834EN/02600Displays 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 627

    OPERATIONB–63834EN/0211. SETTING AND DISPLAYING DATA601This 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 628

    OPERATION11. SETTING AND DISPLAYING DATAB–63834EN/026025To 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 629

    OPERATIONB–63834EN/0211. SETTING AND DISPLAYING DATA603Displays common variables (#100 to #199 and #500 to #999). When theabsolute value for a common variable exceeds 99999999, ******** isdisplayed. The values for variables can be set on this screen. Relativecoordinates can also be set to va...

  • Page 630

    OPERATION11. SETTING AND DISPLAYING DATAB–63834EN/02604With 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 631

    OPERATIONB–63834EN/0211. SETTING AND DISPLAYING DATA6055Push the cursor move key or to match the markJ to anarbitrary position and set the desired condition.6On a screen where jog feed is enabled, pressing a desired arrow key,shown below, performs jog feed. Press the 5 key together with anarr...

  • Page 632

    OPERATION11. SETTING AND DISPLAYING DATAB–63834EN/02606Tool 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 633

    OPERATIONB–63834EN/0211. SETTING AND DISPLAYING DATA6077To 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 634

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

  • Page 635

    OPERATIONB–63834EN/0211. SETTING AND DISPLAYING DATA609When 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 636

    OPERATION11. SETTING AND DISPLAYING DATAB–63834EN/02610When 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 637

    OPERATIONB–63834EN/0211. SETTING AND DISPLAYING DATA611Procedure 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 638

    OPERATION11. SETTING AND DISPLAYING DATAB–63834EN/02612If 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 639

    OPERATIONB–63834EN/0211. SETTING AND DISPLAYING DATA613Procedure 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 640

    OPERATION11. SETTING AND DISPLAYING DATAB–63834EN/02614The 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 641

    OPERATIONB–63834EN/0211. SETTING AND DISPLAYING DATA615The 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 642

    OPERATION11. SETTING AND DISPLAYING DATAB–63834EN/02616ALM: 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 643

    OPERATIONB–63834EN/0211. SETTING AND DISPLAYING DATA617By 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 644

    OPERATION11. SETTING AND DISPLAYING DATAB–63834EN/02618When 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 645

    OPERATIONB–63834EN/0211. SETTING AND DISPLAYING DATA619When screen indication isn’t necessary, the life of the back light for LCDcan be put off by turning off the back light.The screen can be cleared by pressing specific keys. It is also possible tospecify the automatic clearing of the scree...

  • Page 646

    OPERATION11. SETTING AND DISPLAYING DATAB–63834EN/02620The 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 Screen DisplayThe CNC screen is cleared once t...

  • Page 647

    OPERATIONB–63834EN/0212. GRAPHICS FUNCTION62112 GRAPHICS FUNCTIONThe graphic function indicates how the tool moves during automaticoperation or manual operation.

  • Page 648

    OPERATION12. GRAPHICS FUNCTIONB–63834EN/02622It 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 649

    OPERATIONB–63834EN/0212. GRAPHICS FUNCTION6236Automatic 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 650

    OPERATION12. GRAPHICS FUNCTIONB–63834EN/0262410Resume 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 651

    OPERATIONB–63834EN/0212. GRAPHICS FUNCTION625WORK 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.000...

  • Page 652

    OPERATION12. GRAPHICS FUNCTIONB–63834EN/02626Since 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 653

    OPERATIONB–63834EN/0212. GRAPHICS FUNCTION627The dynamic graphic drawing function allows you to display a machiningmovement path without having to performing actual machine operation.When performing dynamic graphic drawing, you need not actuallyoperate the machine. Before starting to draw a pa...

  • Page 654

    OPERATION13. HELP FUNCTIONB–63834EN/0262813 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 655

    OPERATIONB–63834EN/0213. HELP FUNCTION6292Press soft key [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 COMPENSATION ...

  • Page 656

    OPERATION13. HELP FUNCTIONB–63834EN/026303To 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 657

    OPERATIONB–63834EN/0213. HELP FUNCTION631Fig.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 OPERATION M...

  • Page 658

    OPERATION13. HELP FUNCTIONB–63834EN/02632HELP (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 659

    IV. MANUAL GUIDE 0i

  • Page 660

  • Page 661

    B-63834EN/02 MANUAL GUIDE 0i 1.MANUAL GUIDE 0i- 635 -1 MANUAL GUIDE 0i

  • Page 662

    1.MANUAL GUIDE 0i MANUAL GUIDE 0i B-63834EN/02- 636 -1.1 OVERVIEWMANUAL GUIDE 0i was developed to aid in the generation of partprograms for Series 0i-TB control systems. A part program consistsof a set of machining instru...

  • Page 663

    B-63834EN/02 MANUAL GUIDE 0i 1.MANUAL GUIDE 0i- 637 -1.2 INTRODUCTIONMANUAL GUIDE 0i is just one of the screens available to the userduring CNC operation. It can be accessed at any time by pressing the“CUSTOM” p...

  • Page 664

    1.MANUAL GUIDE 0i MANUAL GUIDE 0i B-63834EN/02- 638 -1.3 PROGRAM CREATING OPERATIONS1.3.1 Start upThe MANUAL GUIDE 0i screen can be brought up at any time bypressing the “CUSTOM” pushbutton on the MDI panel. From this...

  • Page 665

    B-63834EN/02 MANUAL GUIDE 0i 1.MANUAL GUIDE 0i- 639 -1.3.2 Start upThe MANUAL GUIDE 0i screen can be brought up at any time bypressing the “CUSTOM” pushbutton on the MDI panel. From thisscreen the user can enter...

  • Page 666

    1.MANUAL GUIDE 0i MANUAL GUIDE 0i B-63834EN/02- 640 -1.3.3 Creating a New Part ProgramTo create a new part program, enter the number of the program youwish to create on the MANUAL GUIDE 0i main screen. If the systemdoes n...

  • Page 667

    B-63834EN/02 MANUAL GUIDE 0i 1.MANUAL GUIDE 0i- 641 -The user can continue to insert part program information or use thefive soft-keys for interactive program development. While the user isediting a program, all cha...

  • Page 668

    1.MANUAL GUIDE 0i MANUAL GUIDE 0i B-63834EN/02- 642 -1.3.4 Process AssistanceWe have already learned that, after we have created a new partprogram (or edited one that already exists), we can use the editor toenter informa...

  • Page 669

    B-63834EN/02 MANUAL GUIDE 0i 1.MANUAL GUIDE 0i- 643 -display unit. The information is inserted into the program and thecursor remains where you originally placed it.Let’s move the cursor position to the “M7” l...

  • Page 670

    1.MANUAL GUIDE 0i MANUAL GUIDE 0i B-63834EN/02- 644 -1.3.5 G-code AssistanceNow that we have added process information to the part program,machine tool movement is usually needed to complete the machiningoperation. Machin...

  • Page 671

    B-63834EN/02 MANUAL GUIDE 0i 1.MANUAL GUIDE 0i- 645 -When the user first enters the help topic, text-based information isdisplayed. When the user presses the “GRAPH.” soft-key, anygraphical information for that ...

  • Page 672

    1.MANUAL GUIDE 0i MANUAL GUIDE 0i B-63834EN/02- 646 -MDII key panel), and then press the “INSERT” key on the MDI keypanel. After inserting the line of code into the part program, the editorscreen with our new command ...

  • Page 673

    B-63834EN/02 MANUAL GUIDE 0i 1.MANUAL GUIDE 0i- 647 -1.3.6 M-code AssistanceM-codes are used by the CNC to request the execution of machineauxiliary processes. An example is stopping the machine at the end ofa part ...

  • Page 674

    1.MANUAL GUIDE 0i MANUAL GUIDE 0i B-63834EN/02- 648 -Just as with the G-code help menu, we can either return to the editoror type in the command while on this page. For our example, we’llenter “M01[EOB]” and then pr...

  • Page 675

    B-63834EN/02 MANUAL GUIDE 0i 1.MANUAL GUIDE 0i- 649 -1.4 CANNED CYCLE MACHININGMANUAL GUIDE 0i utilizes “canned cycle machining,” whichallows the user to enter canned cycle blocks. These canned cyclesgive the us...

  • Page 676

    1.MANUAL GUIDE 0i MANUAL GUIDE 0i B-63834EN/02- 650 -1.4.1 OperationTo use “canned cycle machining” press the “CYCLE” soft-key on thedisplay unit. The cycle machining menu will appear.This cycle machining menu lis...

  • Page 677

    B-63834EN/02 MANUAL GUIDE 0i 1.MANUAL GUIDE 0i- 651 -and then pressing “INPUT.” Then, by pressing the “ACCEPT” soft-key, the original canned cycle block is changed to new one.The canned cycles provided by MA...

  • Page 678

    1.MANUAL GUIDE 0i MANUAL GUIDE 0i B-63834EN/02- 652 -1.4.2 Data for Each Canned Cycle1.4.2.1 Machining type block of Lathe drillingCenter drilling : G1100Data itemCommentFFEED RATECutting feedratePDWELL TIMEDwell time at ...

  • Page 679

    B-63834EN/02 MANUAL GUIDE 0i 1.MANUAL GUIDE 0i- 653 -1.4.2.2 Machining type block of Stock removal in turningOuter Bar Roughing : G1120Inner Bar Roughing : G1121End Face Roughing : G1122Data itemCommentPCUTTING DIRE...

  • Page 680

    1.MANUAL GUIDE 0i MANUAL GUIDE 0i B-63834EN/02- 654 -1.4.2.4 Figure block of Stock removal in turning and FinishingNOTE1 There are two ways of entering the figure block for stockremoval cycles.The first involves using the...

  • Page 681

    B-63834EN/02 MANUAL GUIDE 0i 1.MANUAL GUIDE 0i- 655 -1.4.2.5 Machining type block of Groove roughing in turningOuter Groove Roughing: G1130End face Groove Roughing : G1132Data itemCommentFFEED RATECutting feedrateET...

  • Page 682

    1.MANUAL GUIDE 0i MANUAL GUIDE 0i B-63834EN/02- 656 -1.4.2.7 Figure block of Grooving in turningNormal Groove : G1460Data itemCommentCCHAMFER AMOUNTChamfer amount of a groove (radius)XSTART POINT XX-axis coordinate of a p...

  • Page 683

    B-63834EN/02 MANUAL GUIDE 0i 1.MANUAL GUIDE 0i- 657 -NOTEWhen both of Corner R and Chamfering data areentered at the same time for each point respectively,Corner R data is used and Chamfering data will beneglected.1...

  • Page 684

    1.MANUAL GUIDE 0i MANUAL GUIDE 0i B-63834EN/02- 658 -1.4.2.9 Figure block of ThreadingThread figure : G1450Data itemCommentRTHREAD TYPE1 : General thread2 : Metric thread3 : Unified thread4 : PT thread5 : PF threadLTHREAD...

  • Page 685

    B-63834EN/02 MANUAL GUIDE 0i 1.MANUAL GUIDE 0i- 659 -1.5 CONTOUR PROGRAMMINGMANUAL GUIDE 0i also offers “contour programming,” by whichthe user can enter contour figures consisting of lines and circles. This“c...

  • Page 686

    1.MANUAL GUIDE 0i MANUAL GUIDE 0i B-63834EN/02- 660 -1.5.1 Operations of Contour Programming1.5.1.1 Calling Contour Programming ScreenTo create a program with G01/G02/G03, press [CONTUR] on theMANUAL GUIDE 0i program scre...

  • Page 687

    B-63834EN/02 MANUAL GUIDE 0i 1.MANUAL GUIDE 0i- 661 -1.5.1.2 Selecting of Method to Edit of Contour ProgramPressing “CONTUR” causes the initial screen for contourprogramming to be displayed.After the contour pro...

  • Page 688

    1.MANUAL GUIDE 0i MANUAL GUIDE 0i B-63834EN/02- 662 -1.5.1.3 Entering of Contour ProgramStart PointWhen the user selects new program entry, the data item screen for thestart point will be displayed first.Data itemCommentS...

  • Page 689

    B-63834EN/02 MANUAL GUIDE 0i 1.MANUAL GUIDE 0i- 663 -When G41 or G42 is selected, the “OFFSET NO.” item will bedisplayed. So, input the necessary offset number data.NOTEBy setting bit 5 (DCD) of parameter No.934...

  • Page 690

    1.MANUAL GUIDE 0i MANUAL GUIDE 0i B-63834EN/02- 664 -Example of data entering for contour figureIf you select a line, the line screen is displayed, allowing you to enterall the figure data written on a drawing.Even though...

  • Page 691

    B-63834EN/02 MANUAL GUIDE 0i 1.MANUAL GUIDE 0i- 665 -Insert a new contour figurePosition the cursor to the figure block immediately before the positionwhere a new figure should be inserted. Then, using the procedure...

  • Page 692

    1.MANUAL GUIDE 0i MANUAL GUIDE 0i B-63834EN/02- 666 -1.5.1.4 Checking Contour FiguresEntered contour figures can be checked on the screen by means ofoperations such as zooming-in, zooming-out, and so on.On the program lis...

  • Page 693

    B-63834EN/02 MANUAL GUIDE 0i 1.MANUAL GUIDE 0i- 667 -1.5.1.5 Convert to NC ProgramEntered contour figures can be converted to NC programs in the formof G-code.Press [NC CNV]. The following screen appears.By followin...

  • Page 694

    1.MANUAL GUIDE 0i MANUAL GUIDE 0i B-63834EN/02- 668 -NOTE1 Converted NC program blocks are storedimmediately after the block to which the cursor waspositioned.After a return to these previous screens, the cursorwill be po...

  • Page 695

    B-63834EN/02 MANUAL GUIDE 0i 1.MANUAL GUIDE 0i- 669 -1.5.2 Detail of Contour Figure DataThis chapter describes the details of the contour figure data, which isentered on the contour figure data screen.Details of the...

  • Page 696

    1.MANUAL GUIDE 0i MANUAL GUIDE 0i B-63834EN/02- 670 -1.5.2.3 ChamferingData itemCommentCAMFER CChamfering amount, but plus value onlyFEEDRATEFeedrateNOTEThe feedrate data item is displayed when parameterNo.9341#3(FCD) is ...

  • Page 697

    B-63834EN/02 MANUAL GUIDE 0i 1.MANUAL GUIDE 0i- 671 -1.5.3 Detail of Contour CalculationThis chapter explains the details of contour calculations, such as thosefor cross points or tangential points, that are support...

  • Page 698

    1.MANUAL GUIDE 0i MANUAL GUIDE 0i B-63834EN/02- 672 -(3) When the preceding figure is pending, and "TOUCH LAST" isspecified in the line.(a) Both X and Z, and A are inputted->The cross point between the preced...

  • Page 699

    B-63834EN/02 MANUAL GUIDE 0i 1.MANUAL GUIDE 0i- 673 -(c) A and either X or Z are inputted->The tangential point selection screen is displayed, soselect a necessary one.This line will be determined.If the position...

  • Page 700

    1.MANUAL GUIDE 0i MANUAL GUIDE 0i B-63834EN/02- 674 -1.5.3.2 Arc(1) When the preceding figure is not pending, and "TOUCH LAST"is not specified in the arc(a) I and K are inputted->This arc will be pending.(b) ...

  • Page 701

    B-63834EN/02 MANUAL GUIDE 0i 1.MANUAL GUIDE 0i- 675 -(2) When the preceding figure is not pending, and "TOUCH LAST"is specified in the arc(a) X and Z are inputted->The radius is automatically calculated...

  • Page 702

    1.MANUAL GUIDE 0i MANUAL GUIDE 0i B-63834EN/02- 676 -(4) When the preceding figure is pending (for which the start pointhas been determined), and "TOUCH LAST" is specified in thearc(a) R, I an K are inputted->...

  • Page 703

    B-63834EN/02 MANUAL GUIDE 0i 1.MANUAL GUIDE 0i- 677 -(5) When the preceding figure "arc" is pending (for which the startpoint has been determined and only R is to be inputted), and"TOUCH LAST" is...

  • Page 704

    1.MANUAL GUIDE 0i MANUAL GUIDE 0i B-63834EN/02- 678 -1.5.3.3 Line tangential to two arcsBy inputting three successive figures as follows, line (2) that istangential to two arcs can be specified as shown in the above drawi...

  • Page 705

    B-63834EN/02 MANUAL GUIDE 0i 1.MANUAL GUIDE 0i- 679 -1.5.3.4 Arc that Contacts to both Crossing Lines and ArcsBy inputting three successive figures as follows, arc (2) that istangential to two lines or arcs can be s...

  • Page 706

    1.MANUAL GUIDE 0i MANUAL GUIDE 0i B-63834EN/02- 680 -1.5.3.5 Arc that Contacts to Uncrossing Line and ArcBy inputting three successive figures as follows, arc (2) that istangential to line (1) and arc (3) that do not cros...

  • Page 707

    B-63834EN/02 MANUAL GUIDE 0i 1.MANUAL GUIDE 0i- 681 -1.5.3.6 Arc that Contacts to Uncrossing 2 ArcsBy inputting three successive figures as follows, arc (2) that istangential to arcs (1) and (3) that do not cross ca...

  • Page 708

    1.MANUAL GUIDE 0i MANUAL GUIDE 0i B-63834EN/02- 682 -1.5.4 1.5.4 Details of Auxiliary CalculationThis chapter explains the details of the auxiliary calculation.By using this auxiliary calculation, the coordinates of a poi...

  • Page 709

    B-63834EN/02 MANUAL GUIDE 0i 1.MANUAL GUIDE 0i- 683 -1.5.4.2 Start PointSelecting type of calculationOn the data-entry screen for a start point, press [AUX.]. Thefollowing calculation type menu screen will appear.By...

  • Page 710

    1.MANUAL GUIDE 0i MANUAL GUIDE 0i B-63834EN/02- 684 -Entering data for calculation - A point specified by polar coordinateData itemCommentDIST. DDistance between the point and work coordinate originANGLE AAngle of line fr...

  • Page 711

    B-63834EN/02 MANUAL GUIDE 0i 1.MANUAL GUIDE 0i- 685 -(2) When specifying a line with two pointsBy pressing [XZ,XZ], you can specify a line with two passingpoints.By pressing [XZ, A], you can select the above type by...

  • Page 712

    1.MANUAL GUIDE 0i MANUAL GUIDE 0i B-63834EN/02- 686 -Data itemCommentPASS POINT WZ coordinate of the 2nd passing point on the lineSHIFT DIST. DWhen the line should be specified by shifting an originalline, enter the shift...

  • Page 713

    B-63834EN/02 MANUAL GUIDE 0i 1.MANUAL GUIDE 0i- 687 - - Cross point between 2 arcsOn the screen as shown below, data for two arcs can be entered andthe cross point between them can be calculated.Data itemCommentCENT...

  • Page 714

    1.MANUAL GUIDE 0i MANUAL GUIDE 0i B-63834EN/02- 688 -1.5.4.3 LineAs part of the auxiliary calculation for a line, the end point coordinateand angle can be calculated.The following soft-keys are displayed on the auxiliary ...

  • Page 715

    B-63834EN/02 MANUAL GUIDE 0i 1.MANUAL GUIDE 0i- 689 -- Angle of a line rectangular to the line passes 2 pointsThe angle of a line that is rectangular to a line and which passesthrough two points can be calculated.Da...

  • Page 716

    1.MANUAL GUIDE 0i MANUAL GUIDE 0i B-63834EN/02- 690 -1.5.4.4 ArcAs part of the auxiliary calculation for an arc, the end pointcoordinate and center coordinate can be calculated. Furthermore, thearc itself can be specified...

  • Page 717

    B-63834EN/02 MANUAL GUIDE 0i 1.MANUAL GUIDE 0i- 691 -Entering data for calculation - An arc passes 1 point and its center coordinate has been determinedData itemCommentPOINT XX coordinate of a certain point on the a...

  • Page 718

    1.MANUAL GUIDE 0i MANUAL GUIDE 0i B-63834EN/02- 692 -1.5.5 Others1.5.5.1 Calculation of Inputting DataData can be entered for those items on the contour programmingscreen by using pocket calculator type calculation, as fo...

  • Page 719

    B-63834EN/02 MANUAL GUIDE 0i 1.MANUAL GUIDE 0i- 693 -1.5.5.2 Notes should be paid Attention in Contour ProgrammingNOTE1 No more than forty figures can be entered for acontour program.2 During contour program operati...

  • Page 720

    1.MANUAL GUIDE 0i MANUAL GUIDE 0i B-63834EN/02- 694 -1.6 PARAMETER9050STGECFSTFECFCutting feedrate override at the start of cutting in drilling.Valid data range : 0 to 255 Units : 1%9292S1TTMNS1TTMNM-code output before no...

  • Page 721

    B-63834EN/02 MANUAL GUIDE 0i 1.MANUAL GUIDE 0i- 695 -#7#6#5#4#3#2#1#09341M99CMPDCDG41FCDRADIJRIJR= 0 : An arc command in I/J format will be outputted at NC programconversion= 1 : An arc command in R format will be o...

  • Page 722

    1.MANUAL GUIDE 0i MANUAL GUIDE 0i B-63834EN/02- 696 -#7#6#5#4#3#2#1#09764SNCSNC= 0 : In semi-finishing of bar machining, tool back figurecompensation is not carried out.= 1 : The above tool back figure compensation is car...

  • Page 723

    B-63834EN/02 MANUAL GUIDE 0i 1.MANUAL GUIDE 0i- 697 -#7#6#5#4#3#2#1#09772RFNRFN= 0 : Semi finish machining is carried out always.= 1 : Semi finish machining is carried not carried out.NOTEAccording to the position o...

  • Page 724

    1.MANUAL GUIDE 0i MANUAL GUIDE 0i B-63834EN/02- 698 -9802PCOVR1PCOVR1Override of the feed amount when the cutting angle of a tool is greaterthan 90 degrees but less than or equal to 135 degrees.9803PCOVR2PCOVR2Override of...

  • Page 725

    B-63834EN/02 MANUAL GUIDE 0i 1.MANUAL GUIDE 0i- 699 -9820CLGRVXCLGRVXClearance (diameter) of the X-axis in outer or inner grooving.Valid data range : 0 to 99,999,999Units : 0.001mm, 0.0001inch9821CLGRVZCLGRVZClearan...

  • Page 726

    1.MANUAL GUIDE 0i MANUAL GUIDE 0i B-63834EN/02- 700 -9851DRLRETDRLRETReturn clearance for peck or high-speed peck drilling (radius)Valid data range : 0 to 99,999,999Units : 0.001mm, 0.0001inch9852DRLMINDRLMINMinimum depth...

  • Page 727

    B-63834EN/02 MANUAL GUIDE 0i 1.MANUAL GUIDE 0i- 701 -1.7 ALARMSIf one or more of the set of the parameters or inputted programs arenot correct when an attempt is made to execute that program, thefollowing P/S alarms...

  • Page 728

    1.MANUAL GUIDE 0i MANUAL GUIDE 0i B-63834EN/02- 702 -AlarmDescriptionCauseA correct tool path cannot be calculated in bar machining. This alarm is raisedwhen there is a error in the result of internal calculation (for exa...

  • Page 729

    V. MAINTENANCE

  • Page 730

  • Page 731

    MAINTENANCEB–63834EN/021. METHOD OF REPLACING BATTERY7051 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 THE BATTERY FOR CONTROL UNIT1.2 BATTERY FOR THE ABSOLU...

  • Page 732

    MAINTENANCE1. METHOD OF REPLACING BATTERYB–63834EN/02706If a lithium battery is used, have A02B–0200–K102 (FANUC code:A98L–0031–0012) handy.(1) Turn the CNC on. About 30 seconds later, turn the CNC off.(2) Remove the battery from the top area of the CNC unit.Disconnect the connector fi...

  • Page 733

    MAINTENANCEB–63834EN/021. METHOD OF REPLACING BATTERY707NOTEComplete steps (1) to (3) within 30 minutes. (or, for the 210iwith the PC functions, within 5 minutes)If the battery is left removed for a long time, the memorywould lose the contents.Discard the dead battery, observing appropriate mu...

  • Page 734

    MAINTENANCE1. METHOD OF REPLACING BATTERYB–63834EN/02708(1) Have commercial D–size alkaline dry cells handy.(2) Turn the CNC on.(3) Remove the lid from the battery case.(4) Replace the old dry cells with new ones. Mount the dry cells in acorrect orientation.(5) Replace the lid on the battery...

  • Page 735

    MAINTENANCEB–63834EN/021. METHOD OF REPLACING BATTERY709The battery unit for the absolute pulse coder can be connected using[Connection scheme 1] and [Connection scheme 2] explained below. PSMCXA2ASVMSVMBattery caseA06B–6050–K060BatteryA06B–6050–K061ConnectorA06B–6110–K211CXA2ACXA2A...

  • Page 736

    MAINTENANCE1. METHOD OF REPLACING BATTERYB–63834EN/02710WARNING1 Do not connect more than one battery to the same BATL(B3) line. If the output voltage is different between thebatteries, they may be short–circuited, resulting in thebatteries becoming very hot.2 Install the battery with correct...

  • Page 737

    MAINTENANCEB–63834EN/021. METHOD OF REPLACING BATTERY711SVMBatteryA06B–6073–K001CX5XBattery caseA06B–6114–K500SVMBatteryA06B–6073–K001CX5XBattery caseA06B–6114–K500– If a low battery voltage or a battery voltage of 0 V is indicated by an APC(absolute pulse coder) alarm, replac...

  • Page 738

    MAINTENANCE1. METHOD OF REPLACING BATTERYB–63834EN/02712WARNING1 When using the built–in batteries (A06B–6073–K001), donot connect them to the BATL (B3) of connectorCXA2A/CXA2B.The output voltages from different SVM batteries may beshort–circuited, resulting in the batteries becoming ve...

  • Page 739

    MAINTENANCEB–63834EN/021. METHOD OF REPLACING BATTERY713The pulse coder for the a series servo motor is not incorporated with abackup capacitor as standard. To keep the absolute position informationin the absolute pulse coder, you need to keep the control power turned onduring battery replaceme...

  • Page 740

    MAINTENANCE1. METHOD OF REPLACING BATTERYB–63834EN/02714If an excessive strain is applied to a connector when it is inserted orremoved, a poor contact may result. When inserting and removing thebattery connector, therefore, be careful not to apply an excessivewrenching force to it; just follow ...

  • Page 741

    MAINTENANCEB–63834EN/021. METHOD OF REPLACING BATTERY715(2) Detaching the connector<1>Hold both the sidesof the cable insula-tor and the cable,and pull them hori-zontally.<2>10 degrees or lessPull out the cableside while raising itslightly.<3>5 degrees or lessHere, the angle o...

  • Page 742

    MAINTENANCE1. METHOD OF REPLACING BATTERYB–63834EN/02716One battery unit can maintain current position data for six absolute pulsecoders for a year.When the voltage of the battery becomes low, APC alarms 306 to 308 (+axis number) are displayed on the CRT display. When APC alarm 3n7is displayed...

  • Page 743

    MAINTENANCEB–63834EN/021. METHOD OF REPLACING BATTERY717The 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 744

    MAINTENANCE1. METHOD OF REPLACING BATTERYB–63834EN/02718BatteryBattery coverPass the battery cable to this slit.SVU–40, SVU–80CAUTIONSD The connector of the battery can be connected with eitherof CX5X and CX5Y.D Replacement of batteries in the battery case. (Method 2)Replace four D–size a...

  • Page 745

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

  • Page 746

  • Page 747

    APPENDIX

  • Page 748

  • Page 749

    APPENDIXB–63834EN/02A. TAPE CODE LIST723ATAPE 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 750

    APPENDIXA. TAPE CODE LISTB–63834EN/02724ISO 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 751

    APPENDIXB–63834EN/02A. TAPE CODE LIST725NOTE1 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 752

    APPENDIXB. LIST OF FUNCTIONS AND TAPE FORMATB–63834EN/02726BLIST 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 753

    APPENDIXB–63834EN/02B. LIST OF FUNCTIONS AND TAPE FORMAT727(2/4)FunctionsTape formatIllustrationPolar coordinate interpolation(G12.1, G13.1)(G112, G113)G12.1 ;Polar coordinate interpolation modeG13.1 ;Polar coordinate interpolation mode cancelPlane selection(G17, G18, G19)G17 ; XpYp plane selec...

  • Page 754

    APPENDIXB. LIST OF FUNCTIONS AND TAPE FORMATB–63834EN/02728(3/4)FunctionsTape formatIllustrationCutter compensation(G40, G41, G42)ÇÇÇÇÇÇÇÇÇÇÇÇÇÇÇÇÇÇÇÇÇÇÇÇÇÇÇG41G42G40ToolG41G42_ ;PIG40 ; CancelCoordinate system settingSpindle speed setting(G50)XZCoordinate system sett...

  • Page 755

    APPENDIXB–63834EN/02B. LIST OF FUNCTIONS AND TAPE FORMAT729(4/4)FunctionsTape formatIllustrationCanned cycle(G71 to G76)(G90, G92, G94)Refer to II.13. FUNCTIONS TOSIMPLIFY PROGRAMMINGN_ G70 P_ Q_ ;G71 U_ R_ ;G71 P_ Q_ U_ W_ F_ S_ T_ ;G72 W_ R_ ;G72 P_ Q_ U_ W_ F_ S_ T_ ;G73 U_ W_ R_ ;G73 P_ Q_...

  • Page 756

    APPENDIXC. RANGE OF COMMAND VALUEB–63834EN/02730CRANGE OF COMMAND VALUEIncrement systemIS–BIS–CLeast input increment0.001 mm0.0001 mmLeast command increment X : 0.0005 mm (diameter specification)Y : 0.001 mm (radius specification)X : 0.00005 mm (diameter specification)Y : 0.0001 mm (radius ...

  • Page 757

    APPENDIXB–63834EN/02C. RANGE OF COMMAND VALUE731Increment systemIS–BIS–CLeast input increment0.0001 inch0.00001 inchLeast command increment X : 0.00005 inch (diameter specification)Y : 0.0001 inch (radius specification)X : 0.000005 inch (diameter specification)Y : 0.00001 inch (radius speci...

  • Page 758

    APPENDIXC. RANGE OF COMMAND VALUEB–63834EN/02732Increment systemIS–BIS–CLeast input increment0.001 deg0.0001 degLeast command increment0.001 deg0.0001 degMax. programmabledimension±99999.999 deg±9999.9999 degMax. rapid traverse *1240000 deg/min100000 deg/minFeedrate range *11 to 240000 de...

  • Page 759

    APPENDIXB–63834EN/02D. NOMOGRAPHS733DNOMOGRAPHS

  • Page 760

    APPENDIXD. NOMOGRAPHSB–63834EN/02734The 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 761

    APPENDIXB–63834EN/02D. NOMOGRAPHS735First 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 762

    APPENDIXD. NOMOGRAPHSB–63834EN/02736Fig. D.2 Incorrect threaded portionδ2δ1R : Spindle speed (min–1)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.00...

  • Page 763

    APPENDIXB–63834EN/02D. NOMOGRAPHS737Nomograph for obtaining approach distance δ1D Reference

  • Page 764

    APPENDIXD. NOMOGRAPHSB–63834EN/02738When 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 765

    APPENDIXB–63834EN/02D. NOMOGRAPHS739The 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 766

    APPENDIXD. NOMOGRAPHSB–63834EN/02740Fig. 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 767

    APPENDIXB–63834EN/02D. NOMOGRAPHS741When 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 768

    APPENDIXE. STATUS WHEN TURNING POWER ON, WHEN CLEAR AND WHEN RESETB–63834EN/02742E 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 sym...

  • Page 769

    APPENDIXB–63834EN/02E. STATUS WHEN TURNING POWER ON,WHEN CLEAR AND WHEN RESET743ItemResetClearedWhen turning power onAction in Movement×××operationDwell×××Issuance of M, S andT codes×××Tool offset×Depending on parameterLVK(No.5003#6)f : MDI modeOther modes depend onparameterLVK(No.500...

  • Page 770

    APPENDIXF. CHARACTER–TO–CODES CORRESPONDENCE TABLEB–63834EN/02744F CHARACTER–TO–CODES CORRESPONDENCE TABLECharacter CodeCommentCharacter CodeCommentA0656054B0667055C0678056D0689057E069032SpaceF070!033Exclamation markG071”034Quotation markH072#035Hash signI073$036Dollar signJ074%037Per...

  • Page 771

    APPENDIXB–63834EN/02G. ALARM LIST745GALARM 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 772

    APPENDIXG. ALARM LISTB–63834EN/02746NumberContentsMessage028ILLEGAL PLANE SELECTIn the plane selection command, two or more axes in the same directionare commanded.Modify the program.029ILLEGAL OFFSET VALUEThe offset values specified by T code is too large.Modify the program.030ILLEGAL OFFSET N...

  • Page 773

    APPENDIXB–63834EN/02G. ALARM LIST747NumberContentsMessage059PROGRAM NUMBER NOT FOUNDIn an external program number search or external workpiece numbersearch, a specified program number was not found. Otherwise, aprogram specified for searching is being edited in background pro-cessing. Otherwis...

  • Page 774

    APPENDIXG. ALARM LISTB–63834EN/02748NumberContentsMessage075PROTECTAn attempt was made to register a program whose number was pro-tected.076ADDRESS P NOT DEFINEDAddress P (program number) was not commanded in the block whichincludes an M98, G65, or G66 command. Modify the program.077SUB PROGRAM...

  • Page 775

    APPENDIXB–63834EN/02G. ALARM LIST749NumberContentsMessage096P TYPE NOT ALLOWED (WRK OFSCHG)P type cannot be specified when the program is restarted. (After the au-tomatic operation was interrupted, the workpiece offset amountchanged.)Perform the correct operation according to th operator’s m...

  • Page 776

    APPENDIXG. ALARM LISTB–63834EN/02750NumberContentsMessage130ILLEGAL AXIS OPERATIONAn axis control command was given by PMC to an axis controlled byCNC. Or an axis control command was given by CNC to an axis con-trolled by PMC. Modify the program.131TOO MANY EXTERNAL ALARMMESSAGESFive or more a...

  • Page 777

    APPENDIXB–63834EN/02G. ALARM LIST751NumberContentsMessage190ILLEGAL AXIS SELECTIn the constant surface speed control, the axis specification is wrong.(See parameter No. 3770.) The specified axis command (P) contains anillegal value.Correct the program.194SPINDLE COMMAND INSYNCHRO–MODEA contou...

  • Page 778

    APPENDIXG. ALARM LISTB–63834EN/02752NumberContentsMessage224RETURN TO REFERENCE POINTNot returned to reference point before cycle start.231FORMAT 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 enter...

  • Page 779

    APPENDIXB–63834EN/02G. ALARM LIST753NumberContentsMessage5195DIRECTION CAN NOT BE JUDGEDWhen the touch sensor with a single contact signal input is used in thedirect input B function for tool offset measurement values, the storedpulse direction is not constant. One of the following conditions ...

  • Page 780

    APPENDIXG. ALARM LISTB–63834EN/02754NumberContentsMessage5306MODE CHANGE ERRORIn an one–touch macro call, the mode is not normally switched at thebeginning.5311FSSB : ILLEGAL CONNECTION1. This alarm is issued if, in a pair of axes in which one axis has anodd servo axis number (parameter No. 1...

  • Page 781

    APPENDIXB–63834EN/02G. ALARM LIST7554) Serial pulse coder (SPC) alarmsNo.MessageDescription360n AXIS : ABNORMAL CHECKSUM(INT)A checksum error occurred in the built–in pulse coder.361n AXIS : ABNORMAL PHASE DATA(INT)A phase data error occurred in the built–in pulse coder.362n AXIS : ABNORMAL...

  • Page 782

    APPENDIXG. ALARM LISTB–63834EN/02756#7DTE203#6CRC#5STB#4PRM#3#2#1#0#7 (DTE) : Data error has occurred.#6 (CRC) : CRC error has occurred.#5 (STB) : Stop bit error has occurred.#4 (PRM) : Parameter error alarm has occurred. In this case, a servo parameter erroralarm (No. 417) is also output.5) S...

  • Page 783

    APPENDIXB–63834EN/02G. ALARM LIST757NumberContentsMessage417SERVO ALARM: n–TH AXIS –PARAMETER INCORRECTThis alarm occurs when the n–th axis (axis 1–4) is in one of the condi-tions listed below. (Digital servo system alarm)1) The value set in Parameter No. 2020 (motor form) is out of th...

  • Page 784

    APPENDIXG. ALARM LISTB–63834EN/02758NumberContentsMessage441n AXIS : ABNORMAL CURRENTOFFSETThe digital servo software detected an abnormality in the motor currentdetection circuit.442n AXIS : CNV. CHARGE FAILURE1) PSM: The spare discharge circuit of the DC link is abnormal.2) PSMR: The spare ...

  • Page 785

    APPENDIXB–63834EN/02G. ALARM LIST759NumberContentsMessage467n AXIS : ILLEGAL SETTING OFAXISThe servo function for the following has not been enabled when an axisoccupying a single DSP (corresponding to two ordinary axes) is speci-fied on the axis setting screen.1. High–speed current loop (bi...

  • Page 786

    APPENDIXG. ALARM LISTB–63834EN/027606) Over travel alamrsNumberMessageContents500OVER TRAVEL : +nExceeded the n–th axis + side stored stroke limit I.(Parameter No.1320 or 1326 Notes)501OVER TRAVEL : –nExceeded the n–th axis – side stored stroke limit I.(Parameter No.1321 or 1327 Notes)5...

  • Page 787

    APPENDIXB–63834EN/02G. ALARM LIST7619) Rigid tapping alarmNumberMessageContents740RIGID TAP ALARM : EXCESSERRORDuring rigid tapping, the position deviation of the spindle in the stop stateexceeded the setting.741RIGID TAP ALARM : EXCESSERRORDuring rigid tapping, the position deviation of the sp...

  • Page 788

    APPENDIXG. ALARM LISTB–63834EN/02762The details of spindle alarm No. 750 are displayed in the diagnosis display(No. 409) as shown below.#7409#6#5#4#3SPE#2S2E#1S1E#0SHE#3 (SPE) 0 : In the spindle serial control, the serial spindle parameters fulfill thespindle unit startup conditions.1 : In the ...

  • Page 789

    APPENDIXB–63834EN/02G. ALARM LIST763Alarm Numbers and Alarms Displayed on the α Series Spindle AmplifierNo.MessageSPMindica-tion(*1)Faulty location and remedyDescription(750)SPINDLE SERIAL LINKERRORA0A1 Replace the ROM on the SPMcontrol printed circuit board.2 Replace the SPM control printedci...

  • Page 790

    APPENDIXG. ALARM LISTB–63834EN/02764No.DescriptionFaulty location and remedySPMindica-tion(*1)Message7n11SPN_n_ : OVERVOLTPOW CIRCUIT111 Check the selected PSM.2 Check the input power voltageand change in power during motordeceleration. If the voltage ex-ceeds 253 VAC (for the 200–Vsystem) o...

  • Page 791

    APPENDIXB–63834EN/02G. ALARM LIST765No.DescriptionFaulty location and remedySPMindica-tion(*1)Message7n27SPN_n_ : DISCONNECTPOS–CODER271 Replace the cable.2Re–adjust the BZ sensor signal.1 The spindle position coder (con-nector JY4) signal is abnormal.2 The signal amplitude (connectorJY2) o...

  • Page 792

    APPENDIXG. ALARM LISTB–63834EN/02766No.DescriptionFaulty location and remedySPMindica-tion(*1)Message7n37SPN_n_ : SPEED DE-TECT PAR.ERROR37Correct the value according to the pa-rameter manual.The setting of the parameter for thenumber of pulses in the speed detec-tor is incorrect.7n39SPN_n_ : 1...

  • Page 793

    APPENDIXB–63834EN/02G. ALARM LIST767No.DescriptionFaulty location and remedySPMindica-tion(*1)Message7n50SPN_n_ : SPNDL CON-TROL OVER-SPEED50Check whether the calculated valueexceeds the maximum motor speed.In spindle synchronization, the speedcommand calculation value exceed-ed the allowable l...

  • Page 794

    APPENDIXG. ALARM LISTB–63834EN/02768No.DescriptionFaulty location and remedySPMindica-tion(*1)Message7n74SPN_n_ : CPU TEST ER-ROR74Replace the SPM control printed–cir-cuit board.An error was detected in a CPU test.7n75SPN_n_ : CRC ERROR75Replace the SPM control printed–cir-cuit board.An err...

  • Page 795

    APPENDIXB–63834EN/02G. ALARM LIST769No.MessageSPMindica-tion(*1)Faulty location and remedyDescription9001SPN_n_ : MOTOROVERHEAT011 Check and correct the peripheraltemperature and load status.2 If the cooling fan stops, replace it.The thermostat embedded in the mo-tor winding operated.The intern...

  • Page 796

    APPENDIXG. ALARM LISTB–63834EN/02770No.DescriptionFaulty location and remedySPMindica-tion(*1)Message9015SPN_n_ : SP SWITCH CONTROLALARM151 Check and correct the ladder se-quence.2 Replace the switching MC.The switch sequence in spindleswitch/output switch operation is ab-normal.The switching M...

  • Page 797

    APPENDIXB–63834EN/02G. ALARM LIST771No.DescriptionFaulty location and remedySPMindica-tion(*1)Message9030SPN_n_ : OVERCUR-RENT POW CIRCUIT30Check and correct the power supplyvoltage.Overcurrent is detected in PSM maincircuit input. (PSM alarm indication:1)Unbalanced power supply.PSM selection ...

  • Page 798

    APPENDIXG. ALARM LISTB–63834EN/02772No.DescriptionFaulty location and remedySPMindica-tion(*1)Message9042SPN_n_ : NO 1–ROT.POS–CODERDETECT421 Replace the cable.2Re–adjust the BZ sensor signal.1 The 1–rotation signal of thespindle position coder (connectorJY4) is disconnected.2 The 1–r...

  • Page 799

    APPENDIXB–63834EN/02G. ALARM LIST773No.DescriptionFaulty location and remedySPMindica-tion(*1)Message9055SPN_n_ : POWER LINESWITCH ER-ROR551 Replace the magnetic contactor.2 Check and correct the sequence.The power line state signal of themagnetic contactor for selecting aspindle or output is a...

  • Page 800

    APPENDIXG. ALARM LISTB–63834EN/02774No.DescriptionFaulty location and remedySPMindica-tion(*1)Message9084SPN_n_ : SPNDL SEN-SOR DISCON-NECTED841 Replace the feedback cable.2 Check the shield processing.3 Check and correct the connection.4 Check and correct the parameter.5 Adjust the sensor.The ...

  • Page 801

    APPENDIXB–63834EN/02G. ALARM LIST775SPMindica-tion(*1)DescriptionFaulty location and remedy03Check the parameters for the detector for Cs contourcontrol (bit 5 of parameter No. 4001 and bit 4 of parame-ter No. 4018).Although use of a high–resolution magnetic pulse cod-er (bit 5 of parameter N...

  • Page 802

    APPENDIXG. ALARM LISTB–63834EN/02776SPMindica-tion(*1)DescriptionFaulty location and remedy20Check bit 5 of parameter No. 4001, bit 5 of parameter No.4014, and bit 4 of parameter No. 4018.When the use of the slave operation mode function isset (bit 5 of parameter No. 4014 = 1), the use of a hig...

  • Page 803

    APPENDIXB–63834EN/02G. ALARM LIST777NumberContentsMessage930CPU INTERRUPUTCPU error (abnormal interrupt) The main CPU board is faulty.935SRAM ECC ERRORAn error occurred in RAM for part program storage.Action:Replace the master printed circuit board (SRAM module), perform all–clear operation, ...

  • Page 804

  • Page 805

    IndexB–63834EN/02i–1[Numbers]10.4I Color LCD Panel, 3587.2I Monochrome/8.4I Color LCD/MDI Unit, 3579I Monochrome CRT/MDI Unit, 357[A]Absolute and Incremental Programming (G90, G91),89Actual Feedrate Display, 561Address and Specifiable Value Range for Series 10/11Tape Format, 304Alarm and Self...

  • Page 806

    IndexB–63834EN/02i–2Data Input/Output, 465Data Input/Output on the ALL IO Screen, 493Data Output, 354Decimal Point Programming, 91Deleting a Block, 517Deleting a Word, 516Deleting All Programs, 522Deleting Blocks, 517Deleting Files, 490Deleting More Than One Program by Specifying aRange, 523D...

  • Page 807

    B–63834EN/02Indexi–3Function Keys, 363Function Keys and Soft Keys, 362Function to Simplify Programming, 130[G]G–code Assistance, 644G53, G28, and G30 Commands in Tool–tip RadiusCompensation Mode, 233G53, G28, and G30 Commands When Tool PositionOffset is Applied, 188General Flow of Operati...

  • Page 808

    IndexB–63834EN/02i–4Memory Operation by Series 10/11 Tape Format, 303Merging a Program, 528Method of Replacing Battery, 705Mirror Image, 428Modal Call (G66), 275Moving Part of a Program, 527Multiple M Commands in a Single Block, 114Multiple Repetitive Canned Turning Cycle, 308Multiple Repetit...

  • Page 809

    B–63834EN/02Indexi–5Programmable Parameter Entry (G10), 300[R]Radius Direction Error at Circle Cutting, 741Range of Command Value, 730Rapid Traverse, 67Rapid Traverse Override, 439Reading Files, 488Reference Position, 71Reference Position (Machine–Specific Position), 15Reference Position Re...

  • Page 810

    IndexB–63834EN/02i–6The Second Auxiliary Functions (B Codes), 115Thread Cutting Cycle (G92), 133Tool Compensation and Number of Tool Compensa-tion, 242Tool Compensation Values, Number of CompensationValue, and Entering Values from the Program (G10),242Tool Function (T Function), 105Tool Geome...

  • Page 811

    Revision RecordFANUC Series 0i–TB OPERATOR’S MANUAL (B–63834EN)02Feb., 2003DAddition of “Dynamic Graphic” function01Aug., 2002EditionDateContentsEditionDateContents

  • Page 812

  • Page 813

    TECHNICAL REPORT (MANUAL) NO. TMN 03/101E Date: . .2003 General Manager of Software Development Center FANUC Series0i-TB Operator’s Manual Addition of supplemental instructions 1. Communicate this report to: Your information O GE Fanuc-N, GE Fanuc-E FANUC Robotics C...

  • Page 814

    FANUC Series 0i-TB Operator’s Manual Addition of supplemental instructions 1.Type of applied technical documents Name FANUC Series 0i-TB Operator’s Manual Spec.No./Ed. B-63834EN/02 2.Summary of Change Group Name/Outline New,Add, Correct, Delete Applicable Date Basic Fu...

  • Page 815

    1.1 OVERVIEW MANUAL GUIDE 0i was developed to aid in the generation of part programs for Series 0i-TB control systems. A part program consists of a set of machining instructions that the operator wants to execute. A part program uses alphabetic text for its instructions and numeric information...

  • Page 816

    Refer to “1.8 MANUAL GUIDE 0i (Operation Improved version)” about the details of MANUAL GUIDE 0i (Operation Improved version). Refer to the items from “1.3 PROGRAM CREATING OPERATIONS” to “1.5 CONTOUR PROGRAMMING” about the details of MANUAL GUIDE 0i (Current version). Ed. Date Des...

  • Page 817

    1.8 MANUAL GUIDE 0i (Operation Improved version) Ed. Date Design Description Name Draw. FANUC Series 0i-TB OPERATOR’S MANUAL B-63834EN/02-1 Page FANUC LTD. 4/16

  • Page 818

    1.8.1 Start up MANUAL GUIDE 0i needs a temporary program for editing a program. Set the program number to the parameter No.9330. In case of using MANUAL GUIDE 0i, select the editing program on theCNC program screen. And then, display the soft key [C.A.P.] by depressing the function key [PROGR...

  • Page 819

    2) In case of editing a CANNED cycle block Refer to ‘1.8.8 CHANGING A CANNED CYCLE BLOCK’ Ed. Date Design Description Name Draw. FANUC Series 0i-TB OPERATOR’S MANUAL B-63834EN/02-1 Page FANUC LTD. 6/16

  • Page 820

    1.8.2 ENTERING PROCESS ASSISTANCE BLOCK Display Main menu as described ‘1.8.1 START UP’. And, depress the soft key [PROCESS] on the Main menu. Then, PROCESS ASSISTANCE screen is displayed. Please refer to ‘IV. 1.3.4 PROCESS ASSISTANCE’ about the operation on PROCESS ASSISTANCE screen. ...

  • Page 821

    1.8.3 ENTERING G-CODE BLOCK Display Main menu as described ‘1.8.1 START UP’. And, depress the soft key [G CODE] on the Main menu. Then, G-CODE ASSISTANCE screen is displayed. Please refer to ‘IV. 1.3.5 G-CODE ASSISTANCE’ about the operation on G-CODE ASSISTANCE screen. In case of changi...

  • Page 822

    1.8.4 ENTERING M-CODE BLOCK Display Main menu as described ‘1.8.1 START UP’. And, depress the soft key [M CODE] on the Main menu. Then, M-CODE ASSISTANCE screen is displayed. Please refer to ‘IV. 1.3.6 M-CODE ASSISTANCE’ about the operation on M-CODE ASSISTANCE screen. In case of chang...

  • Page 823

    1.8.5 ENTERING A MACHINNING TYPE OF CANNED CYCLE Display Main menu as described ‘1.8.1 START UP’. Select the machinning type (Drilling, Bar machinning, Grooving or Threading) by depressing the soft key on the Main menu. For example, when an operator selects grooving machinning, the follow...

  • Page 824

    Input necessary data and depress the soft key [FIGURE]. The figure block is inserted into the machinning program. And, the Figure menu appears. Please refer to ‘IV. 1.4.2 DATA FOR EACH CANNED CYCLE’ about the details of input data on CANNED cycle screen. In case of cancelling the insert ope...

  • Page 825

    1.8.6 ENTERING A FIGURE OF CANNED CYCLE When a machinning type of canned cycle is inserted, the menu screen for selecting a kind of figure is displayed as the following screen. In the figure menu screen, only the menu of figure which can be used in the already selected machinning type is disp...

  • Page 826

    Input necessary data and depress the soft key [NEXT F] or [END]. Depressing the soft key [END] inserts a figure block into the machinning program and the Main menu screen is displayed. In case of inputting a figure continuously, depress the soft key [NEXT F] on the data input screen. Then, depre...

  • Page 827

    1.8.7 ENTERING A BLOCK WITH CONTOUR PROGRAMMING Display Main menu as described ‘1.8.1 START UP’. And, depress the soft key [CONTUR]. Then, CONTOUR PROGRAMMING screen is displayed. Please refer to ‘IV. 1.5 CONTOUR PROGRAMMING’ about the operation on the Contour programming. In case of c...

  • Page 828

    1.8.8 CHANGING A CANNED CYCLE BLOCK Display the soft key [C.A.P.] by depressing the function key [PROGRAM] several times. In case of editing a Canned cycle block (Machinning type block or Figure block), move the cursor to the word except EOB and depress the soft key [C.A.P.]. Then, the input d...

  • Page 829

    1.8.9 PROCEDURE TO CHANGE OPERATION IMPROVED VERSION In case of changing MANUAL GUIDE 0i from Current version software to the Operation Improved version, it is necessary to clear CNC program memory after installing the software. Since MANUAL GUIDE 0i needs a temporary program for editing a p...

  • Page 830

  • Page 831

    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 832

    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 833

    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