Navigation

  • Page 1

    GE Fanuc AutomationComputer Numerical Control ProductsSeries 16i / 18i / 160i / 180i – Model PAOperator's ManualGFZ-63124EN/01September 1997

  • Page 2

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

  • Page 3

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

  • Page 4

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

  • Page 6

    B–63124EN/01SAFETY PRECAUTIONSs–4WARNING9. 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–63124EN/01SAFETY PRECAUTIONSs–53 WARNINGS AND CAUTIONS RELATED TOPROGRAMMINGThis section covers the major safety precautions related to programming. Before attempting toperform programming, read the supplied this manual carefully such that you are fully familiar withtheir contents.WARNING1...

  • Page 8

    B–63124EN/01SAFETY PRECAUTIONSs–6WARNING5. Special M codesIn principle, a block which includes any of the following M codes, which specify the executionof special functions, must not contain any other codes. When it is impossible to avoid specifyingan M code together with another code in the...

  • Page 9

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

  • Page 10

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

  • Page 11

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

  • Page 12

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

  • Page 14

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

  • Page 15

    B–63124EN/01Table of Contentsc–25.4CUTTING FEEDRATE CONTROL50. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5.4.1Exact Stop (G09, G61) Cutting Mode (G64)51. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . ....

  • Page 16

    B–63124EN/01Table of Contentsc–311.3TOOL OFFSET108. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11.4CONTROLLING THE TURRET-AXIS (T-AXIS)109. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . ...

  • Page 17

    B–63124EN/01Table of Contentsc–414.5.3Setting of Machining Method for Multi-Piece Machining174. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14.5.4Command for Restarting Machining Multiple Products175. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . ...

  • Page 18

    B–63124EN/01Table of Contentsc–517.PROGRAMMABLE DATA ENTRY (G10)306. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17.1PROGRAMMABLE PARAMETER ENTRY307. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17.2TOOL DATA ENTRY309. . . . . . . ....

  • Page 19

    B–63124EN/01Table of Contentsc–62.1.1CNC Control Unit with 7.2”/8.4” LCD345. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2.1.2CNC Control Unit with 9.5”/10.4” LCD345. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . ...

  • Page 20

    B–63124EN/01Table of Contentsc–75.5SINGLE BLOCK434. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5.6TOOL SELECTION436. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . ....

  • Page 21

    B–63124EN/01Table of Contentsc–88.8.3Outputting Programs487. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8.8.4Deleting Files488. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . ...

  • Page 22

    B–63124EN/01Table of Contentsc–911.1.1Position Display in the Work Coordinate System577. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11.1.2Position Display in the Relative Coordinate System578. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . ....

  • Page 23

    B–63124EN/01Table of Contentsc–1011.8.1Erase Screen Display644. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11.8.2Automatic Erase Screen Display645. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . ...

  • Page 24

    I. GENERAL

  • Page 25

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

  • Page 26

    GENERAL1. GENERALB–63124EN/014The table below lists manuals related to Series 16i–PA, Series 18i–PA,Series 160i–PA and Series 180i–PA. In the table, this manual is markedwith an asterisk (*). Table 1 Related ManualsManual nameSpecificationnumberFANUC Series 16i/18i/160i/180i–PA DE...

  • Page 27

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

  • Page 28

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

  • Page 29

    II. PROGRAMMING

  • Page 30

    PROGRAMMINGB–63124EN/011. GENERAL91 GENERAL1) Punching is performered after positioning.............. Punching functionTool T01Tool T02Program commandG00X––Y––T01 ;X––T02 ;PunchingPunching2) Continuous, repetitive punching can be performed without halting thepressing process after p...

  • Page 31

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

  • Page 32

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

  • Page 33

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

  • Page 34

    PROGRAMMINGB–63124EN/011. GENERAL13A CNC machine tool is provided with a fixed position. Normally, toolchange and programming of absolute zero point as described later areperformed at this position. This position is called the reference position.ÔÔReference pointDistance between reference poi...

  • Page 35

    PROGRAMMING1. GENERALB–63124EN/0114ZYXPart drawingZYXCoordinate systemZYXToolWorkpieceMachine toolProgramCommandCNCFig. 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...

  • Page 36

    PROGRAMMINGB–63124EN/011. GENERAL15The positional relation between these two coordinate systems isdetermined when a workpiece is set on the table.The tool moves on the coordinate system specified by the CNC inaccordance with the command program generated with respect to thecoordinate system on ...

  • Page 37

    PROGRAMMING1. GENERALB–63124EN/0116Coordinate values of command for moving the tool can be indicated byabsolute or incremental designation (See II–8.1).The tool moves to a point at “the distance from zero point of thecoordinate system” that is to the position of the coordinate values.B(10...

  • Page 38

    PROGRAMMINGB–63124EN/011. GENERAL17When drilling, tapping, or the like, is performed, it is necessary to selecta suitable tool. When a number is assigned to each tool and the numberis specified in the program, the corresponding tool is selected.Tool numberTurret0102030405060708<When No.01 ...

  • Page 39

    PROGRAMMING1. GENERALB–63124EN/0118During machining, on–off operation of work holder and clamper isperformed.For this purpose, on–off operations of workholder and clamper should becontrolled.ClamperWork holderThe function of specifying the on–off operations of the components of themachine...

  • Page 40

    PROGRAMMINGB–63124EN/011. GENERAL19A 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 41

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

  • Page 42

    PROGRAMMINGB–63124EN/011. GENERAL21When 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 43

    PROGRAMMING1. GENERALB–63124EN/0122Because a cutter has a radius, the center of the cutter path goes around theworkpiece with the cutter radius deviated.WorkpieceCutter path using cutter compensationMachined partfigureCutterIf radius of cutters are stored in the CNC (Data Display and Setting : ...

  • Page 44

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

  • Page 45

    PROGRAMMING2. CONTROLLED AXESB–63124EN/01242 CONTROLLED AXES

  • Page 46

    PROGRAMMING2. CONTROLLED AXESB–63124EN/0125Item16i–PA, 160i–PA18i–PA, 180i–PANo. of basic controlled axes3 axes3 axesControlled axes expansion (total)Max. 5 axes(Max. 8 axes in total)Max. 3 axis(Max. 6 axes in total)Basic simultaneously controlledaxes2 axes2 axesSimultaneously controlle...

  • Page 47

    PROGRAMMING2. CONTROLLED AXESB–63124EN/0126Maximum stroke = Least command increment 99999999See 2.3 Incremen System.D T axis is the axis for turret indexing.D The least input increment is not provided for the turret axis. Neithermovement direction nor amount on the turret axis is commanded afte...

  • Page 48

    PROGRAMMINGB–63124EN/013. PREPARATORY FUNCTION(G FUNCTION)273 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 49

    PROGRAMMING3. PREPARATORY FUNCTION(G FUNCTION)B–63124EN/0128Table 3 G code list (1/2)G codeG codeGroupMeaningG00G00Positioning (Rapid traverse)G01G0001Linear interpolation (Cutting feed)G02G02 01Circular interpolation (CW) / Helical interpolation (CW)G03G03Circular interpolation (CCW) / Helical...

  • Page 50

    PROGRAMMINGB–63124EN/013. PREPARATORY FUNCTION(G FUNCTION)29Table 3 G code list (2/2)G codeMeaningGroupG codeG54G54Work coordinates system 1 selectionG55G55Work coordinates system 2 selectionG56G5614Work coordinates system 3 selectionG57G5714Work coordinates system 4 selectionG58G58Work coordin...

  • Page 51

    PROGRAMMING4. INTERPOLATION FUNCTIONSB–63124EN/01304 INTERPOLATION FUNCTIONS

  • Page 52

    PROGRAMMINGB–63124EN/014. INTERPOLATION FUNCTIONS31The 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 53

    PROGRAMMING4. INTERPOLATION FUNCTIONSB–63124EN/0132When G00X_Y_T ; is specified in a machine having a turret axis (T–axis),the X and Y axes move to the specified positions at rapid traverse rate andalso the T–axis moves at the predetermined rapid traverse rate in such away as to select a sp...

  • Page 54

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

  • Page 55

    PROGRAMMING4. INTERPOLATION FUNCTIONSB–63124EN/0134D Punching (1–cycle pressing) is not performed in G01 mode.D T code can’t be specified in G01 mode. If specified, an alarm (No.4600) occurs.However, when T code is specified independently and NMG (No.16181#0) is set, an alarm does not occur...

  • Page 56

    PROGRAMMINGB–63124EN/014. INTERPOLATION FUNCTIONS35The command below will move a tool along a circular arc.G17G03Arc in the XpYp planeArc in the ZpXpplaneG18Arc in the YpZpplaneXp_Yp_G02G03G02G03G02G19Xp_ p_Yp_ Zp_I_ J_R_F_ ;I_ K_R_F_J_ K_R_F_Table.4.3 Description of the Command FormatCommandDe...

  • Page 57

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

  • Page 58

    PROGRAMMINGB–63124EN/014. INTERPOLATION FUNCTIONS37The distance between an arc and the center of a circle that contains the arccan be specified using the radius, R, of the circle instead of I, J, and K.In this case, one arc is less than 180°, and the other is more than 180° areconsidered. Wh...

  • Page 59

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

  • Page 60

    PROGRAMMINGB–63124EN/014. INTERPOLATION FUNCTIONS39Linear interpolation can be commanded by specifying axial movefollowing the G33 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 61

    PROGRAMMING4. INTERPOLATION FUNCTIONSB–63124EN/0140G33G91X100.0 F100;Y50.0;Y50.050.0100.0Skip signal is input hereActual motionMotion without skip signalFig.4.4 (a) The next block is an incremental command G33G90X200.00 F100;Y100.0;Y100.0X200.0Skip signal is input hereActual motionMotion witho...

  • Page 62

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

  • Page 63

    PROGRAMMING5. FEED FUNCTIONSB–63124EN/01425 FEED FUNCTIONS

  • Page 64

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

  • Page 65

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

  • Page 66

    PROGRAMMINGB–63124EN/015. FEED FUNCTIONS45G00 _ ;G00 : G code (group 01) for positioning (rapid traverse)_; Dimension word for the end pointIPIPThe positioning command (G00) positions the tool by rapid traverse andpunching is performed. In rapid traverse, the next block is executed afterthe sp...

  • Page 67

    PROGRAMMING5. FEED FUNCTIONSB–63124EN/0146In the automatic operation, the rapid traverse override is applied to therapid traverse rate by the switch on the machine operator’s panel orF1-digit command.Either rapid traverse override being set by the switch on the machineoperator’s panel or ra...

  • Page 68

    PROGRAMMINGB–63124EN/015. FEED FUNCTIONS47By specifying one-digit number from 1 to 4 following F, and override canbe applied to the rapid traverse rate in automatic operation.One-digit F commandRapid traverse overrideOne-digit F commandX axis, Y axisT axis, C axisF1100%100%F275%100%F350%50%F425...

  • Page 69

    PROGRAMMING5. FEED FUNCTIONSB–63124EN/0148Feedrate 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.Feed per minuteF_ ; ...

  • Page 70

    PROGRAMMINGB–63124EN/015. FEED FUNCTIONS49A common upper limit can be set on the cutting feedrate along each axiswith parameter No. 1422. If an actual cutting feedrate (with an overrideapplied) exceeds a specified upper limit, it is clamped to the upper limit.Parameter No. 1430 can be used to ...

  • Page 71

    PROGRAMMING5. FEED FUNCTIONSB–63124EN/0150Cutting feedrate can be controlled, as indicated in Table 5.4.Table 5.4 Cutting Feedrate ControlFunction nameG codeValidity of G codeDescriptionExact stopG09This function is valid for specifiedblocks only.The tool is decelerated at the end point ofa bl...

  • Page 72

    PROGRAMMINGB–63124EN/015. FEED FUNCTIONS51The inter–block paths followed by the tool in the exact stop mode andcutting mode are different (Fig. 5.4.1).0Y(1)(2)Position checkTool path in the exact stop modeTool path in the cutting modeXFig. 5.4.1 Example of Tool Paths from Block (1) to Block ...

  • Page 73

    PROGRAMMING5. FEED FUNCTIONSB–63124EN/0152This function enables producing a smooth cutting surface by deceleratingtool movement automatically between an inside corner and an inside arcto reduce the load on the cutter during cutter compensation.When G62 is specified, and the tool path with cutte...

  • Page 74

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

  • Page 75

    PROGRAMMING5. FEED FUNCTIONSB–63124EN/0154cdaLsLebLsLe(2)Programmed pathCutter center pathToolFig. 5.4.2.1 (d) Override Range (Straight Line to Arc, Arc to Straight Line)An override value is set with parameter No. 1712. An override value isvalid even for dry run and F1–digit specification.I...

  • Page 76

    PROGRAMMINGB–63124EN/015. FEED FUNCTIONS55If Rc is much smaller than Rp, Rc/Rp80; the tool stops. A minimumdeceleration ratio (MDR) is to be specified with parameter No. 1710.When Rc/RpxMDR, the feedrate of the tool is (F×MDR).WARNINGWhen internal circular cutting must be performed together...

  • Page 77

    PROGRAMMING5. FEED FUNCTIONSB–63124EN/0156The flowchart for feedrate control is shown below.STARTYesYesENDNoIs the corner angle smaller thanthe angle specified in parameterNo. 1740?Are the feedrates along the X– and Y–axes smaller than that specified in parameter No. 1741?Further decelerate...

  • Page 78

    PROGRAMMINGB–63124EN/015. FEED FUNCTIONS57When acceleration/deceleration before interpolation is effective, therelationship between the feedrate and time is as shown below. When theangle between blocks A and B on the selected plane is smaller than theangle specified in parameter No. 1740, and ...

  • Page 79

    PROGRAMMING5. FEED FUNCTIONSB–63124EN/0158Those parameters related to automatic corner deceleration in look–aheadcontrol mode are shown below.Parameter descriptionNormalmodeLook–aheadcontrol modeSwitching the methods for automatic corner de-celeration1602#41602#4Lower limit of feedrate in a...

  • Page 80

    PROGRAMMINGB–63124EN/015. FEED FUNCTIONS59When the feedrate difference between blocks along each axis is larger thanthe value specified in parameter No. 1781, the relationship between thefeedrate and time is as shown below. Although accumulated pulsesequivalent to the hatched area remain at ti...

  • Page 81

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

  • Page 82

    PROGRAMMINGB–63124EN/015. FEED FUNCTIONS61Parameters related to automatic corner deceleration in look–aheadcontrol mode are shown below.Parameter descriptionNormalmodeLook–ahead control modeSwitching the methods for automaticcorner deceleration1602#4←Allowable feedrate difference (for all...

  • Page 83

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

  • Page 84

    PROGRAMMINGB–63124EN/016. REFERENCE POSITION636 REFERENCE POSITION

  • Page 85

    PROGRAMMING6. REFERENCE POSITIONB–63124EN/0164The reference point is a certain fixed point on the machine. It is definedas the point, to which a tool can be moved easily by the reference pointreturn.When setting a workpiece to be machined to general turret punch press,the workpiece is held by ...

  • Page 86

    PROGRAMMINGB–63124EN/016. REFERENCE POSITION65ÏÏÏÏEnd locatorWorkpiece holderReferencepointDistance between reference pointand workpiece holder is intrinsicallydetermined according to machines.The distance between the referencepoint and the end locator is intrinsicallydetermined according t...

  • Page 87

    PROGRAMMING6. REFERENCE POSITIONB–63124EN/0166Tools are automatically moved to the reference position. When referenceposition return is completed, the lamp for indicating the completion ofreturn goes on.A (Start position for reference position return)R (Reference position)Reference position re...

  • Page 88

    PROGRAMMINGB–63124EN/016. REFERENCE POSITION67Tools ca be returned to the floating reference position.A floating reference point is a position on a machine tool, and serves asa reference point for machine tool operation. A floating reference point need not always be fixed, but can be moved asre...

  • Page 89

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

  • Page 90

    PROGRAMMINGB–63124EN/017. COORDINATE SYSTEM69The 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 91

    PROGRAMMING7. COORDINATE SYSTEMB–63124EN/0170A 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 92

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

  • Page 93

    PROGRAMMING7. COORDINATE SYSTEMB–63124EN/0172The 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 94

    PROGRAMMINGB–63124EN/017. COORDINATE SYSTEM73WARNINGWhen a coordinate system is set with G92 after an externalworkpiece zero point offset value is set, the coordinatesystem is not affected by the external workpiece zero pointoffset value. When G92X100.0Y80.0; is specified, forexample, the coor...

  • Page 95

    PROGRAMMING7. COORDINATE SYSTEMB–63124EN/0174When 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 _; Setting the local coordinate systemG5...

  • Page 96

    PROGRAMMINGB–63124EN/017. COORDINATE SYSTEM75WARNING1 When an axis returns to the reference point by the manual reference point return function,thezero point of the local coordinate system of the axis matches that of the work coordinate system.The same is true when the following command is issu...

  • Page 97

    PROGRAMMING7. COORDINATE SYSTEMB–63124EN/0176Select the planes for circular interpolation, cutter compensation, anddrilling by G–code. The following table lists G–codes and the planes selected by them.Table 7.4 Plane selected by G codeG codeSelectedplaneXpYpZpG17Xp Yp planeX–axis or an...

  • Page 98

    PROGRAMMINGB–63124EN/018. COORDINATE VALUEAND DIMENSION778 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 PROGRAMMING

  • Page 99

    PROGRAMMING8. COORDINATE VALUEAND DIMENSIONB–63124EN/0178There 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 100

    PROGRAMMINGB–63124EN/018. COORDINATE VALUEAND DIMENSION79Either 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 101

    PROGRAMMING8. COORDINATE VALUEAND DIMENSIONB–63124EN/0180Numerical 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, C, I, J, K, Q, R, and F.There are two types ...

  • Page 102

    PROGRAMMINGB–63124EN/019. PRESSING FUNCTION819 PRESSING FUNCTION

  • Page 103

    PROGRAMMING9. PRESSING FUNCTIONB–63124EN/0182This control sends a signal “Start press and punch” to the machine aftermoving a tool to the position commanded in a predetermined block.When the machine receives this signal, it starts pressing. As a result,punching is made on a workpiece by th...

  • Page 104

    PROGRAMMINGB–63124EN/019. PRESSING FUNCTION83Tool 01 profileTool 02 profileN711G00G90X50.0Y30.0T02; . . . Punching is done using tool 02N712X50.0Y30.0T01; . . . Punching is made using tool 01The punch profile at (50, 30) position is as shown below.No punching is made in case of N712T01;, N712T0...

  • Page 105

    PROGRAMMING9. PRESSING FUNCTIONB–63124EN/0184Punching is made in a block where the X-axis or Y-axis if positioned atrapid traverse, in principle.Command the following code, if it is not desired to punch a workpieceafter positioning a tool to the commanded position at rapid traverse.G70X__Y__;WA...

  • Page 106

    PROGRAMMINGB–63124EN/019. PRESSING FUNCTION85Nibbling means sequential repeated punching without stopping pressmotion.Assume Tt be the time required for one-cycle press motion. Theremaining time obtained by subtracting punching time Tp from Tt (or, Ti= Tt – Tp) is the time allowable for pos...

  • Page 107

    PROGRAMMING9. PRESSING FUNCTIONB–63124EN/0186The following functions are prepared for nibbling.FunctionsDescriptionCircular nibbling (G68)Linear nibbling (G69)Nibbling by M functionM12;. . . . . .. . . . . .. . . . . .. . . . . .M13;(Note) Other M codes may be used instead of M12 and M13 de-pen...

  • Page 108

    PROGRAMMINGB–63124EN/019. PRESSING FUNCTION87G68I r J θ K ∆θ P d Q p ;Nibbling is made at pitch p using a tool having diameter d, starting withthe point which forms angle θ with reference to the X-axis on thecircumference having radius r, with the preset tool ...

  • Page 109

    PROGRAMMING9. PRESSING FUNCTIONB–63124EN/01886100R135°90°15φ(50, 10)N711G72G90X50.0Y10.0;N712G68I100.0J135.0K-90.0P-15.0Q6.0;Nibbling directionExample1

  • Page 110

    PROGRAMMINGB–63124EN/019. PRESSING FUNCTION89WARNING1 G68 is an one-shot G code.2 The standard point of G68 is the center of arc.3 Pitch specificationThe pitch is specified by the arc length.The pitch is defined as the divided length of the arc having radius r specified in address I. Thepitch ...

  • Page 111

    PROGRAMMING9. PRESSING FUNCTIONB–63124EN/0190WARNING4 Pitch compensationWhen the circumferential length of the specified arc having radius r is divided by pitch p, aremainder may be produced in general. However, it is not desirable from the viewpoints of themachine and product profile to compe...

  • Page 112

    PROGRAMMINGB–63124EN/019. PRESSING FUNCTION91G69I J θ P d Q p ;By the above command, nibbling is made at pitch p using a tool havingdiameter d along a straight line of length which forms angle θ withreference to the X-axis, starting with the present tool position or ...

  • Page 113

    PROGRAMMING9. PRESSING FUNCTIONB–63124EN/0192+X1003150°Nibblingdirection(100,50)10φN721G72G90X100.0Y50.0;N722G69I100.0J150.0P-10.0Q3.0;The N722 block may also be commanded asG69I-100.0J-30.0P-10.0Q3.0;WARNING1 G69 is a one-shot G code.2 The standard point of G69 is the start point.3 The pitch...

  • Page 114

    PROGRAMMINGB–63124EN/019. PRESSING FUNCTION93WARNING1 The maximum pitches in G68 and G69 are set byparameters No. 16186 (for mm input) and No. 16187 (forinch input).2 If T code is commanded in G68 or G69 block, nibbling isstarted after the X and Y axes have moved to the first punchpoint and als...

  • Page 115

    PROGRAMMING9. PRESSING FUNCTIONB–63124EN/0194Movement of toolFig. 9.3.3 (b) Incremental command just after linear nibbling (G69)B240(50, 200)90RA90R(290, 200)20φN731G72G90X290.0Y200. ;N732G68I90. J–90. K180. P–20. Q5. ;N733G69I240. J180. P20. Q5. ;N734G72X50. Y200. ;N735G68I90....

  • Page 116

    PROGRAMMINGB–63124EN/019. PRESSING FUNCTION95In addition to the circular or linear nibbling according to the G68 or G69command, this control can perform nibbling by M function. In otherwords, it can execute nibbling in the blocks from a block with the M codeof nibbling mode to a block with the...

  • Page 117

    PROGRAMMING9. PRESSING FUNCTIONB–63124EN/0196N100G00G90X x1 Y y1 ;N110M12;N120X x2 Y y2 T ;N130X x3 Y y3 ;N140X x4 Y y4 ;N150X x5 Y y5 ;N160X x6 Y y6 ;N170X x7 Y y7 ;N180M13;(1) The first punch point of nibbling is commanded in the blo...

  • Page 118

    PROGRAMMINGB–63124EN/019. PRESSING FUNCTION97Linear nibbling can be done by commanding G01 in the nibbling mode,while circular nibbling can be done by commanding G02 and G03 in thenibbling mode.The tool diameter cannot be offset by G01, G02, G03 commands.Accordingly, these commands are used tog...

  • Page 119

    PROGRAMMING9. PRESSING FUNCTIONB–63124EN/0198(x1, y1)(x2, y2)(x2’, y2’)(x3, y3)(x4, y4)(x5, y5)(x6, y6)(x7, y7)(x7’, y7’)(x8, y8)N220N230N240N250N260N270N290The G40, G41, and G42 codes function as follows.For details, refer to 13.1 Cutter compensation.G codeFunctionG40Cutter compensatio...

  • Page 120

    PROGRAMMINGB–63124EN/019. PRESSING FUNCTION99The straight line and circular arc along which nibbling is done arecommanded in N230 to N270 blocks. The straight line and circulararc obtained by offsetting the commanded straight line and circulararc leftwards by the tool diameter being preset to ...

  • Page 121

    PROGRAMMING9. PRESSING FUNCTIONB–63124EN/01100WARNING1 The following commands only are executable in nibblingmode.(i)X, Y positioning command by G00Provided that the T code and F1-digit command canbe included in the same block where the X, Ypositioning is made by G00 to the first punch point of...

  • Page 122

    PROGRAMMINGB–63124EN/019. PRESSING FUNCTION101Section 9.1 “PUNCH FUNCTIONS (1-CYCLE PRESSING)” explainedthe blocks, in which punching is made after positioning. In certain cases,no punching is made, but tapping and other mechanical motion may beexecuted in these blocks.M80;G00X__Y__T__;X__...

  • Page 123

    PROGRAMMING10. S FUNCTIONB–63124EN/0110210 S FUNCTION

  • Page 124

    PROGRAMMINGB–63124EN/0110. S FUNCTION103S code can be specified by address S followed by a binary code. A blockcan contain only one S code. Refer to the appropriate manual providedby the machine tool builder for details such as the number of digits in anS code or the execution order when a m...

  • Page 125

    PROGRAMMING11. TOOL FUNCTION(T FUNCTION)B–63124EN/0110411 TOOL FUNCTION (T FUNCTION)

  • Page 126

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

  • Page 127

    PROGRAMMING11. TOOL FUNCTION(T FUNCTION)B–63124EN/01106WARNING1 The correspondence between commandable T codes andtools depends upon machine tool builders.The commandable T codes are set in tool registering screenbefore shipment from factory. If a commanded T code wasnot registered, alarm (No....

  • Page 128

    PROGRAMMINGB–63124EN/0111. TOOL FUNCTION (T FUNCTION)107This function ignores the T command. Whether the T command isignored or not is generally selected by a switch on the machine operator’spanel.If the T command is ignored, it is treated, as if no T code command werepresent on a program. ...

  • Page 129

    PROGRAMMING11. TOOL FUNCTION(T FUNCTION)B–63124EN/01108Tool offset is applicable to respective T codes in the X-axis and Y-axisdirections.Since use of this tool offset function depends upon machine tool builders,refer to the machine tool builder’s manual.WARNING1 Tool offset compensation appl...

  • Page 130

    PROGRAMMINGB–63124EN/0111. TOOL FUNCTION (T FUNCTION)109The CNC uses set parameters to control the turret which is indexed for atool to be used. A specified T code is output, and at the same time, theturret is positioned at the location which was specified for the tool on thetool registration ...

  • Page 131

    PROGRAMMING11. TOOL FUNCTION(T FUNCTION)B–63124EN/01110In general, the tool holder of a punch holds one tool (die). To select a toolthe tool holder is first moved to the position at which the tool is changedusing the T command (cartridge indexing). Then, at that position, the toolholder is se...

  • Page 132

    PROGRAMMINGB–63124EN/0111. TOOL FUNCTION (T FUNCTION)111The pot numbers of a multiple-tool system are specified with T codesconsisting of three or four digits, as follows:Tf f ∆ ∆ ;Tool number of the multiple-tool systemPot number (for specifying a tool holder)The T codes used for c...

  • Page 133

    PROGRAMMING11. TOOL FUNCTION(T FUNCTION)B–63124EN/01112The tools of a multiple-tool system are selected by turning the C axis. Atool is selected by placing it at the tool reference position. This positionis parallel to the Y axis and on the center line of the tool holder of amultiple-tool sys...

  • Page 134

    PROGRAMMINGB–63124EN/0111. TOOL FUNCTION (T FUNCTION)113When a multiple-tool system is used, the centers of the dies in themultiple-tool system are not at the center of the tool holder. Therefore,tool compensation is necessary. Tool compensation for tools in amultiple-tool system works in the...

  • Page 135

    PROGRAMMING11. TOOL FUNCTION(T FUNCTION)B–63124EN/01114Tools are classified into various groups, with the tool life (frequency ofuse) for each group being specified.Tool life management data consists of tool numbers, and tool life value.Specify a four–digit number after T.CAUTIONEight–digit...

  • Page 136

    PROGRAMMINGB–63124EN/0111. TOOL FUNCTION (T FUNCTION)115The next commanded T–code is sent to the machine beforehand in theorder execution of program. When this function is used, the nextpreparation of tool change can be performed by the machine side beforeT command is executed. In this functi...

  • Page 137

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

  • Page 138

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

  • Page 139

    PROGRAMMING12. AUXILIARY FUNCTIONB–63124EN/01118Nibbling is executable in a block between M12; and M13;. For details,refer to 9.4 “NIBBLING BY M FUNCTION”. (Other M codes may beused for these functions depending upon machine tool builders)WARNING1 M08, M09, M10, M11, M12 and M13 must be c...

  • Page 140

    PROGRAMMINGB–63124EN/0112. AUXILIARY FUNCTION119The punching mode and laser mode can be switched by specifying Mcodes in parameters. An M code is specified in the first block forpunching and for laser machining in a machining program. This willimprove processing precision in the interpolation...

  • Page 141

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

  • Page 142

    PROGRAMMINGB–63124EN/0112. AUXILIARY FUNCTION121Indexing 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 143

    PROGRAMMING13. PROGRAM CONFIGURATIONB–63124EN/0112213 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 144

    PROGRAMMINGB–63124EN/0113. PROGRAM CONFIGURATION123A program consists of the following components:Table 13 (a) Program componentsComponentsDescriptionsTape startSymbol indicating the start of a program fileLeader sectionUsed for the title of a program file, etc.Program startSymbol indicating t...

  • Page 145

    PROGRAMMING13. PROGRAM CONFIGURATIONB–63124EN/01124This section describes program components other than program sections.See Section 13.2 for a program section.%TITLE;O0001 ;M30 ;%(COMMENT)Tape startProgram sectionLeader sectionProgram startComment sectionTape endFig. 13.1 Program configuratio...

  • Page 146

    PROGRAMMINGB–63124EN/0113. PROGRAM CONFIGURATION125WARNINGIf 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 %...

  • Page 147

    PROGRAMMING13. PROGRAM CONFIGURATIONB–63124EN/01126A 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 display screen. However, when a file isoutput, ...

  • Page 148

    PROGRAMMINGB–63124EN/0113. PROGRAM CONFIGURATION127This section describes elements of a program section. See Section 13.1for program components other than program sections.%(COMMENT)%TITLE;O0001 ;N1… ;M30 ;Program sectionComment sectionProgram numberSequence numberProgram endFig. 13.2 (a) P...

  • Page 149

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

  • Page 150

    PROGRAMMINGB–63124EN/0113. PROGRAM CONFIGURATION129A 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 151

    PROGRAMMING13. PROGRAM CONFIGURATIONB–63124EN/01130Major 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 152

    PROGRAMMINGB–63124EN/0113. PROGRAM CONFIGURATION131NOTEIn ISO code, the colon ( : ) can also be used as the addressof a program number.When 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...

  • Page 153

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

  • Page 154

    PROGRAMMINGB–63124EN/0113. PROGRAM CONFIGURATION133If 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 155

    PROGRAMMING13. PROGRAM CONFIGURATIONB–63124EN/01134See Chapter 10 in Part III for the method of registering a subprogram.NOTE1 The M98 and M99 signals are not output to the machinetool.2 If the subprogram number specified by address P cannotbe found, an alarm (No. 078) is output.l M98 P51002 ;l...

  • Page 156

    PROGRAMMINGB–63124EN/0113. PROGRAM CONFIGURATION135If 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 157

    PROGRAMMING13. PROGRAM CONFIGURATIONB–63124EN/01136The program number is an eight–digit number prefixed with the letter O(O00000001 to O99999999).It is possible to disable editing subprograms identified using programnumbers O00008000 to O00008999, O00009000 to O00009999,O80000000 to O89999999...

  • Page 158

    PROGRAMMINGB–63124EN/0113. PROGRAM CONFIGURATION1372) Macro call using an M codeParameter for Program numbersetting an M codeIf SPR = 0If SPR = 1No. 6080O00009020O90009020No. 6081O00009021O90009021No. 6082O00009022O90009022No. 6083O00009023O90009023No. 6084O00009024O90009024No. 6085O00009025O90...

  • Page 159

    PROGRAMMING13. PROGRAM CONFIGURATIONB–63124EN/01138It is possible to search for a program by a program number specified usingan external input signal. This function selects a program from CNCmemory by specifying a program number, 1 to 99999999, to the CNCfrom the outside of the machine. The C...

  • Page 160

    PROGRAMMINGB–63124EN/0114. FUNCTIONS TO SIMPLIFY PROGRAMMING13914 FUNCTIONS TO SIMPLIFY PROGRAMMING

  • Page 161

    PROGRAMMING14. FUNCTIONS TO SIMPLIFYPROGRAMMINGB–63124EN/01140The pattern function means a function to punch multiple positionsconforming to a certain format by one-block command including Gfunction. This pattern function requires only one block command insteadof several-block commands, and th...

  • Page 162

    PROGRAMMINGB–63124EN/0114. FUNCTIONS TO SIMPLIFY PROGRAMMING141In pattern function, the following two motions are repeatedly done topunch at respective positions.Motion 1 ... Positioning of X, Y axes (rapid traverse)Motion 2 ... Punch by press motionÑÑÑÑÑÑÑÑMotion 1(Positioning)Motion 2...

  • Page 163

    PROGRAMMING14. FUNCTIONS TO SIMPLIFYPROGRAMMINGB–63124EN/01142G26I r J θ K n ;This G26 punches n pieces of equally divided points on thecircumference, starting with the point which forms angle θ with thereference to X axis on the circumference having radius r with the presenttool ...

  • Page 164

    PROGRAMMINGB–63124EN/0114. FUNCTIONS TO SIMPLIFY PROGRAMMING143N521G72G90X100.0Y80.0 ;N522G26I30.0J90.0K-6 ;#1(100, 80)+X#290°#3#4#5#6Punch direction30RIf it is desired to punch the center of the circle, omit G72 of block N521.NOTE1 If the radius is 0 or the number of punch points is 0, an ala...

  • Page 165

    PROGRAMMING14. FUNCTIONS TO SIMPLIFYPROGRAMMINGB–63124EN/01144G76I d J θ K n ;By the above command, punching is made at n pieces of points which lieevery intervals of d along the straight line which forms angle θ withreference to the X axis, starting with the present tool position...

  • Page 166

    PROGRAMMINGB–63124EN/0114. FUNCTIONS TO SIMPLIFY PROGRAMMING145G77I r J θ P ∆θ K n ;By the above command, punching is made at n pieces of points everyincremental ∆θ angle, starting with the point which forms θ angle withreference to the X-axis on the circumference of rad...

  • Page 167

    PROGRAMMING14. FUNCTIONS TO SIMPLIFYPROGRAMMINGB–63124EN/01146G78I dx P nx J dy K ny ; orG79I dx P nx J dy K ny ;By the above command, punching is made at matrix points consisting ofnx pieces at intervals of dx in the X-axis direction and ny pieces atintervals of...

  • Page 168

    PROGRAMMINGB–63124EN/0114. FUNCTIONS TO SIMPLIFY PROGRAMMING147dy : Punch point intervals in the Y-axis directionThis is commanded by a positive number when the first punch pointin the Y-axis direction is located in the +Y direction as viewed fromthe start point.nx : Number of punch points in t...

  • Page 169

    PROGRAMMING14. FUNCTIONS TO SIMPLIFYPROGRAMMINGB–63124EN/01148G86I J θ P w1 Q w2 ;With the current position or the coordinates designated by G72 as a startpoint, this function allows to punch length in the direction of angle θfor the X-axis, using a rectangular tool with w1 as...

  • Page 170

    PROGRAMMINGB–63124EN/0114. FUNCTIONS TO SIMPLIFY PROGRAMMING149The punching method is as follows.1 Punch the first point.2 Set the pitch to 0.95 w1.3 Calculate –w10.95 w1 = nIf nv1, the pitch shall be “ – w1”. If n is an integer, the pitch shallbe 0.95 w1.When n is not an integer, [n] ...

  • Page 171

    PROGRAMMING14. FUNCTIONS TO SIMPLIFYPROGRAMMINGB–63124EN/01150G87I x J y P w1 Q w2 ;With the current position or the coordinates designated by G72 as astarting point, it allows to punch a rectangle with length x in the X-axisdirection and length y in the Y-axis direction, using a ...

  • Page 172

    PROGRAMMINGB–63124EN/0114. FUNCTIONS TO SIMPLIFY PROGRAMMING151G88I r J θ K ∆θ P d Q p ;The punching operation is performed at pitch P between a point havingangle θ for the X-axis on the circumference (diameter r) and a point havingangle θ + ∆θ for the X-axis with t...

  • Page 173

    PROGRAMMING14. FUNCTIONS TO SIMPLIFYPROGRAMMINGB–63124EN/01152G89I J θ P d Q p ;This function allows to punch a straight line with length having angleθ to X-axis with the current tool position or the position designated byG72 as a starting point, at pitch P, using a tool with ...

  • Page 174

    PROGRAMMINGB–63124EN/0114. FUNCTIONS TO SIMPLIFY PROGRAMMING153If an incremental command is given in a block just after the patternfunction, the tool may not move by the incremental amount from the endpoint of the pattern function. In case of bolt hole circle (G26), share proofs(G86), square (...

  • Page 175

    PROGRAMMING14. FUNCTIONS TO SIMPLIFYPROGRAMMINGB–63124EN/01154When the block execution of the bolt hole circle (G26) has been finished,the tool is located at the end point, in practice.However, a programmer shall make a program assuming that the tool belocated at the base point, i.e., the cente...

  • Page 176

    PROGRAMMINGB–63124EN/0114. FUNCTIONS TO SIMPLIFY PROGRAMMING155G86G88G89Base point (start point)End pointBase point (center)Base point (start point)End pointEnd point

  • Page 177

    PROGRAMMING14. FUNCTIONS TO SIMPLIFYPROGRAMMINGB–63124EN/01156WARNING1 Don’t command M code in a block where the patternfunction is commanded.2 If a T code is commanded in a block where the patternfunction is commanded, the X, Y axes are positioned to thefirst punch point and also a tool is s...

  • Page 178

    PROGRAMMINGB–63124EN/0114. FUNCTIONS TO SIMPLIFY PROGRAMMING157When it is desired to repeatedly use a pattern with the same figure amongthe pattern functions, this function can store it in memory with a givennumber and access it as needed. Programs other than those using thepattern functions c...

  • Page 179

    PROGRAMMING14. FUNCTIONS TO SIMPLIFYPROGRAMMINGB–63124EN/01158By changing the hold position of a workpiece by the workpiece holders,a workpiece having a size larger than the stroke in X-axis direction of themachine can be machined.If it is desired to punch a workpiece at the workpiece holder po...

  • Page 180

    PROGRAMMINGB–63124EN/0114. FUNCTIONS TO SIMPLIFY PROGRAMMING1593) The workpiece holder moves in the X-axis direction to relocate thehold position.XY4) The workpiece holder moves in the Y-axis direction to return to theposition where it can hold the workpiece.ÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑ...

  • Page 181

    PROGRAMMING14. FUNCTIONS TO SIMPLIFYPROGRAMMINGB–63124EN/01160Blocks (1) - (5) correspond to operation steps 1) - 5), respectively. A reliefor a return mount R in the Y-axis direction is preset by parameter (No.16209: for metric input, No. 16210: for inch input). For this amount, referto the ...

  • Page 182

    PROGRAMMINGB–63124EN/0114. FUNCTIONS TO SIMPLIFY PROGRAMMING161ÑÑÑÑ2001000WorkpieceWork holderEnd locatorReference pointRefer to the above figure as an example.The reference point is assumed as the start point of the tool. Assume thatthe distance between the reference point and the end loc...

  • Page 183

    PROGRAMMING14. FUNCTIONS TO SIMPLIFYPROGRAMMINGB–63124EN/01162ÑÑÑÑXY3002001000WorkpieceWorkpiece holderEnd locatorWhen a new workpiece is set by attaching it to the end locator afterremoving the workpiece, the zero point of the work coordinate systemmust be positioned at the end locator.Acc...

  • Page 184

    PROGRAMMINGB–63124EN/0114. FUNCTIONS TO SIMPLIFY PROGRAMMING163WARNING1 Neither T code nor M code should be commanded in G75block.2 The repositioning amount of the workpiece holder isspecified by a numerical value following address X in G75command. If repositioning is made in the +X direction ...

  • Page 185

    PROGRAMMING14. FUNCTIONS TO SIMPLIFYPROGRAMMINGB–63124EN/01164The macro function enables commands consisting of several blocks to bestored in the NC memory as a single macro and to be called whennecessary.To store several blocks as a single macro, attach numerics of 2 digits (01to 89) following...

  • Page 186

    PROGRAMMINGB–63124EN/0114. FUNCTIONS TO SIMPLIFY PROGRAMMING165. . . . . . . . . . U10 ;G90X10000Y50000T32 ;G72X15000Y70000 ;G87I10000J30000P1000 ;N100M100 ;U20 ;G72X50000Y30000T26 ;A03G26I10000J0K4 ;G72X80000Y30000 ;B03 ;V20 ;G90X20000Y10000T20 ;V10 ;As shown in the above example, another macr...

  • Page 187

    PROGRAMMING14. FUNCTIONS TO SIMPLIFYPROGRAMMINGB–63124EN/01166A certain macro can call another macro and then further the latter macrocan call any other macro. The depth of nesting call is up to 3.U05 ; j : Signifies a block number ; . . . . ; . . . . V05 ;U20 ; ; . . . . W05 ; ; . . . . V20 ...

  • Page 188

    PROGRAMMINGB–63124EN/0114. FUNCTIONS TO SIMPLIFY PROGRAMMING167The storage capacity of each macro 01 to 89 is variable. However theentire storage capacity is limited to 3200 characters.Effective use of the storage area for storing macros is guaranteed sincepreviously stored macros are erased i...

  • Page 189

    PROGRAMMING14. FUNCTIONS TO SIMPLIFYPROGRAMMINGB–63124EN/01168With macro numbers 90 to 99, several macros can be stored and called asa single macro, though the item 14.4.1 “Storage of macros” describes thatanother macro cannot be stored while a certain macro is being stored.Macro numbers 90...

  • Page 190

    PROGRAMMINGB–63124EN/0114. FUNCTIONS TO SIMPLIFY PROGRAMMING169Macros stored therefore are all deleted in the following cases:(1) Reset (including reset due to M02, M30, etc.)(2) Controller power offThe stored macros can be prevented from deletion by setting of theparameter UVC (No. 16200#0).NO...

  • Page 191

    PROGRAMMING14. FUNCTIONS TO SIMPLIFYPROGRAMMINGB–63124EN/01170The multi-piece machining function enables several sheets of productwith the same punching shape to be produced from a single sheet ofmaterial at a time by simple commands.This function allows so called “trial machining” that per...

  • Page 192

    PROGRAMMINGB–63124EN/0114. FUNCTIONS TO SIMPLIFY PROGRAMMING171nx: The number of products in the X axial direction (Note)ny: The number of products in the Y axial direction (Note)NOTEProduct part is not counted.After command of G98, specify machining commands on the lower leftproduct part ( ...

  • Page 193

    PROGRAMMING14. FUNCTIONS TO SIMPLIFYPROGRAMMINGB–63124EN/01172Method 1In this method, the machining commands to punch on one product partare stored as a single macro.U01 ; T31 ;. . . . . . . . . . . . . . . . . . . . . . . . T22 ;. . . . . . . . . . . . . . . . . . . . . . . . T33 ;. . . . . ...

  • Page 194

    PROGRAMMINGB–63124EN/0114. FUNCTIONS TO SIMPLIFY PROGRAMMING173. . . . . . . . . . V04 ;If macro numbers 01, 02, 03 and 04 are called sequentially by themulti-piece machining command in this case, machining proceeds asfollows.1) Tool T31 performs full machining on all product parts.2) Then, T22...

  • Page 195

    PROGRAMMING14. FUNCTIONS TO SIMPLIFYPROGRAMMINGB–63124EN/01174U01 ; T31 ;. . . . . . . . . . . . . . V01 ;U02 ; T22 ;. . . . . . . . . . . . . . V02 ;U04 ; T11 ;. . . . . . . . . . . . . . V04 ;V90 ;In this case, the command of “G73 W90 Q1” becomes identical with thefollowing series of comm...

  • Page 196

    PROGRAMMINGB–63124EN/0114. FUNCTIONS TO SIMPLIFY PROGRAMMING175Specifying the position from which machining multiple products restartswith address P in a block in which the G73 or G74 command formachining multiple products is specified enables machining multipleproducts to restart from the spec...

  • Page 197

    PROGRAMMING14. FUNCTIONS TO SIMPLIFYPROGRAMMINGB–63124EN/01176(2) When machining starts(a) Q1 command: Products are machined in the order of E, F, G, and H.(b) Q2 command: Products are machined in the order of H, G, F, andE.(c) Q3 command: Products are machined in the order of D, C, B, andA....

  • Page 198

    PROGRAMMINGB–63124EN/0114. FUNCTIONS TO SIMPLIFY PROGRAMMING177The hole position gap accompanied bending is compensated and thedrilling is performed.Program formatD Bending compensation for X axis directionG38I X1 J X2 K X3 P X4 Q X5 R α ;D Bending compensation for Y...

  • Page 199

    PROGRAMMING14. FUNCTIONS TO SIMPLIFYPROGRAMMINGB–63124EN/01178When the bending compensation of only X axis direction is performed.AreaIAreaIIAreaIII180260420Program:G52X100.Y0 ;Specifications of standard pointG38I180.J260.K420.R-1. ;Bending compensation commandG90X-50. ;Absolute coordinate (X...

  • Page 200

    PROGRAMMINGB–63124EN/0114. FUNCTIONS TO SIMPLIFY PROGRAMMING179This command specifies the punch operation from the current position orthe position specified by the G72 command to an end point at coordinates(x, y) with a tool which is dx wide and dy long.G45X y Y y P dx Q dy R r D j ...

  • Page 201

    PROGRAMMING14. FUNCTIONS TO SIMPLIFYPROGRAMMINGB–63124EN/01180(2) G72X10.Y10. ;G45X100.Y10.P20.Q10. (R0) ;+10++(100, 10)20(10, 10)The punch moves along the programmed line without shift.G72X10.Y10. ;G45X100.Y10.P20.Q10.R1 ;+10++(100, 10)20(10, 10)The punch moves along the programmed line with...

  • Page 202

    PROGRAMMINGB–63124EN/0114. FUNCTIONS TO SIMPLIFY PROGRAMMING181G72X10.Y10. ;G45X100.Y10.P20.Q10.R1 D-5. ;+++(100, 10)5(10, 10)By setting the width of a micro-joint, j, the dimension of the punchedportion can be changed at the punch start and end points to compensatefor the punch error.The foll...

  • Page 203

    PROGRAMMING14. FUNCTIONS TO SIMPLIFYPROGRAMMINGB–63124EN/01182These commands specify the punch operation from the current positionor the position specified by the G72 command to an end point atcoordinates (x, y) with an interval of q using a tool of diameter d alongan arc of radius r. G46X x ...

  • Page 204

    PROGRAMMINGB–63124EN/0114. FUNCTIONS TO SIMPLIFY PROGRAMMING183(1) G72G90X100.Y100. ;G46X200.Y200.R100.P-20.Q10. ; G47X100.Y100.R-100.P20.Q10. ; r=100r=100(200, 200)(100, 100)NOTE1 When the start and end points of an arc are the same in aG46 or G47 command, if either the radius of the arc is ...

  • Page 205

    PROGRAMMING14. FUNCTIONS TO SIMPLIFYPROGRAMMINGB–63124EN/01184The M–codes which is set by parameters (No. 16610 to 16614) arecommanded, the crack between work coordinate system and machinecoordinate system of Y–axis repositioning motion is canceled.Y 1 5 2 5 M 3 0 ;Y–axis moves including ...

  • Page 206

    PROGRAMMINGB–63124EN/0115. COMPENSATION FUNCTION18515 COMPENSATION FUNCTIONThis chapter describes the following compensation functions:CUTTER COMPENSATION C (G40–G42)Sec.15.1, 15.2. . . . . . . . . . . TOOL COMPENSATION VALUES, NUMBER OF COMPENSATIONVALUES, AND ENTERING VALUES FROM THE PROGRA...

  • Page 207

    PROGRAMMING15. COMPENSATION FUNCTIONB–63124EN/01186When the tool is moved, the tool path can be shifted by the radius of thetool (Fig. 15.1 (a)). To make an offset as large as the radius of the tool, CNC first creates anoffset vector with a length equal to the radius of the tool (start–up). ...

  • Page 208

    PROGRAMMINGB–63124EN/0115. COMPENSATION FUNCTION187IPIPIPIPIPD Start up(Tool compensationstart)G00(or G01)G41(or G42)D_ ;G41G42D_: Cutter compensation left (Group07): Cutter compensation right (Group07): Command for axis movement: Code for specifying as the cutter compensation value(1 to 3digit...

  • Page 209

    PROGRAMMING15. COMPENSATION FUNCTIONB–63124EN/01188In the offset mode, when a block which satisfies any one of the followingconditions is executed, the equipment enters the offset cancel mode, andthe action of this block is called the offset cancel. 1. G40 has been commanded. 2. 0 has been c...

  • Page 210

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

  • Page 211

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

  • Page 212

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

  • Page 213

    PROGRAMMING15. COMPENSATION FUNCTIONB–63124EN/01192This section provides a detailed explanation of the movement of the toolfor cutter compensation C outlined in Section 15.1.This section consists of the following subsections:15.2.1 General15.2.2 Tool Movement in Start–up15.2.3 Tool Movemen...

  • Page 214

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

  • Page 215

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

  • Page 216

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

  • Page 217

    PROGRAMMING15. COMPENSATION FUNCTIONB–63124EN/01196If the command is specified at start–up, the offset vector is not created.SN9N6N7N8SSG91 G40… ; :N6 X1000.0 Y1000.0 ;N7 G41 X0 ;N8 Y–1000.0 ;N9 Y–1000.0 X1000.0 ;Programmed pathTool center pathNOTEFor the definition of blocks tha...

  • Page 218

    PROGRAMMINGB–63124EN/0115. COMPENSATION FUNCTION197In the offset mode, the tool moves as illustrated below:αLLαCSLSCLSLinear→CircularLinear→LinearProgrammed pathIntersectionTool center pathWorkpieceWork-pieceTool center pathIntersectionProgrammed pathWorkpieceProgrammed pathTool center pa...

  • Page 219

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

  • Page 220

    PROGRAMMINGB–63124EN/0115. COMPENSATION FUNCTION199αLrCSLSCLSLLrLLLSrr Linear→LinearLinear→CircularProgrammed pathTool center pathIntersectionWorkpieceCircular→LinearCircular→CircularIntersectionTool center path Programmed pathWork-pieceIntersectionTool center pathProgrammed pathWorkpi...

  • Page 221

    PROGRAMMING15. COMPENSATION FUNCTIONB–63124EN/01200αLLLLSrrLLSrrCLLLLLLSrrLSLSrrLCCLLinear→LinearProgrammed pathTool center pathWorkpieceLinear→CircularCircular→LinearCircular→CircularProgrammed pathWork-pieceTool center pathWorkpieceProgrammed pathTool center pathWork-pieceTool center...

  • Page 222

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

  • Page 223

    PROGRAMMING15. COMPENSATION FUNCTIONB–63124EN/01202If the center of the arc is identical with the start position or end point,alarm (No. 038) is displayed, and the tool will stop at the end position ofthe preceding block.N5N6N7rAlarm(No.038)is displayed and the toolstops(G41)N5 G01 X100.0 ;N6 G...

  • Page 224

    PROGRAMMINGB–63124EN/0115. COMPENSATION FUNCTION203LLLSrrG42G41G41G42rrSCrrLCSSG41G41G42G42CCrrLinear→LinearLinear→CircularProgrammed pathTool center pathWorkpieceProgrammed pathTool center pathWorkpieceWorkpieceWorkpieceWorkpieceProgrammed pathTool center pathCircular→LinearCircular→Ci...

  • Page 225

    PROGRAMMING15. COMPENSATION FUNCTIONB–63124EN/01204When 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 226

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

  • Page 227

    PROGRAMMING15. COMPENSATION FUNCTIONB–63124EN/01206If the following command is specified in the offset mode, the offset modeis temporarily canceled then automatically restored. The offset mode canbe canceled and started as described in Subsections 15.2.2 and 15.2.4.If G28 is specified in the ...

  • Page 228

    PROGRAMMINGB–63124EN/0115. COMPENSATION FUNCTION207During offset mode, if G92 (absolute zero point programming) iscommanded,the offset vector is temporarily cancelled and thereafteroffset mode is automatically restored.In this case, without movement of offset cancel, the tool moves directlyfrom...

  • Page 229

    PROGRAMMING15. COMPENSATION FUNCTIONB–63124EN/01208When a single block without tool movement is commanded in the offsetmode, the vector and tool center path are the same as those when the blockis not commanded. This block is executed at the single block stop point.LN6N7N8LSSN6 G91 X100.0 Y100....

  • Page 230

    PROGRAMMINGB–63124EN/0115. COMPENSATION FUNCTION209When 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 231

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

  • Page 232

    PROGRAMMINGB–63124EN/0115. COMPENSATION FUNCTION211αSrLCαLSG40rLWorkpieceG40LProgrammed pathProgrammed pathTool center pathTool center pathWork-pieceLinear→LinearCircular→Linear15.2.4Tool Movement inOffset Mode CancelExplanationsD Tool movement aroundan inside corner(180°xα)

  • Page 233

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

  • Page 234

    PROGRAMMINGB–63124EN/0115. COMPENSATION FUNCTION213Tool path has two types, A and B : and they are selected by parameter SUP(No. 5003#0)αLSG40rLSCType AType BrαG40LLLLrrLLSrrCLLG42αG40LG42LαSSLinear→LinearCircular→LinearProgrammed pathTool center pathWorkpieceWork-pieceTool center...

  • Page 235

    PROGRAMMING15. COMPENSATION FUNCTIONB–63124EN/01214Start positionrG41G42LLS1°or lessProgrammed pathTool center pathWhen a block without tool movement is commanded together with anoffset cancel, a vector whose length is equal to the offset value is producedin a normal direction to tool motion i...

  • Page 236

    PROGRAMMINGB–63124EN/0115. COMPENSATION FUNCTION215If 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 237

    PROGRAMMING15. COMPENSATION FUNCTIONB–63124EN/01216In the example shown below, the tool does not trace the circle more thanonce. It moves along the arc from P1 to P2. The interference checkfunction described in Subsection 15.2.5 may raise an alarm. (I, J)N5N6N7P1P2(G41)N5 G01 G91 X1000.0 ;N6...

  • Page 238

    PROGRAMMINGB–63124EN/0115. COMPENSATION FUNCTION217Tool 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 239

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

  • Page 240

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

  • Page 241

    PROGRAMMING15. COMPENSATION FUNCTIONB–63124EN/01220(2) If the interference occurs after correction (1), the tool is stopped withan alarm.If the interference occurs after correction (1) or if there are only onepair of vectors from the beginning of checking and the vectorsinterfere, the alarm (No...

  • Page 242

    PROGRAMMINGB–63124EN/0115. COMPENSATION FUNCTION221(1)Depression which is smaller than the cutter compensation valueTool center pathABCStoppedProgrammed pathThere is no actual interference, but since the direction programmed inblock B is opposite to that of the path after cutter compensation th...

  • Page 243

    PROGRAMMING15. COMPENSATION FUNCTIONB–63124EN/01222When 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 244

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

  • Page 245

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

  • Page 246

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

  • Page 247

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

  • Page 248

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

  • Page 249

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

  • Page 250

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

  • Page 251

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

  • Page 252

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

  • Page 253

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

  • Page 254

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

  • Page 255

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

  • Page 256

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

  • Page 257

    PROGRAMMING15. COMPENSATION FUNCTIONB–63124EN/01236Tool compensation values can be entered into CNC memory from theMDI panel (see section III–8.1) or from a program.A tool compensation value is selected from the CNC memory when thecorresponding code is specified after address D in a program. ...

  • Page 258

    PROGRAMMINGB–63124EN/0115. COMPENSATION FUNCTION237A programmed figure can be magnified or reduced (scaling).The dimensions specified with X_, and Y_, can each be scaled up or downwith the same or different rates of magnification.The magnification rate can be specified in the program.Unless sp...

  • Page 259

    PROGRAMMING15. COMPENSATION FUNCTIONB–63124EN/01238Least input increment of scaling magnification is: 0.001 or 0.00001 It isdepended on parameter (No. 5400#07) which value is selected. If scalingP is not specified on the block of scaling (G51X_Y_P_ ;), the scalingmagnification set to parameter...

  • Page 260

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

  • Page 261

    PROGRAMMING15. COMPENSATION FUNCTIONB–63124EN/01240This scaling is not applicable to cutter compensation values and tooloffset values (Fig. 15.4 (e) ).Cutter compensation values are not scaled.Fig15.4 (e) Scaling during cutter compensationIn manual operation, the travel distance cannot be incr...

  • Page 262

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

  • Page 263

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

  • Page 264

    PROGRAMMINGB–63124EN/0115. COMPENSATION FUNCTION243(α, β)XZCenter ofrotationAngle of rotation R (incremental value)Angle of rotation (absolute value)Fig15.5 (b) Coordinate system rotationNOTEWhen a decimal fraction is used to specify angulardisplacement (R_), the 1’s digit corresponds to d...

  • Page 265

    PROGRAMMING15. COMPENSATION FUNCTIONB–63124EN/01244N1 G92 X*5000 Y*5000 G85 G17 ;N2 G84 X7000 Y3000 R60000 ;N3 G90 G01 X0 Y0 F200 ;(G91X5000Y5000)N4 G91 X10000 ;N5 G02 Y10000 R10000 ;N6 G03 X*10000 I*5000 J*5000 ;N7 G01 Y*10000 ;N8 G85 G90 X*5000 Y*5000 M02 ;Tool path when the incremental comma...

  • Page 266

    PROGRAMMINGB–63124EN/0115. COMPENSATION FUNCTION245N1 G92 X0 Y0 G85 G01 ;N2 G42 G90 X1000 Y1000 F1000 D01 ;N3 G84 R*30000 ;N4 G91 X2000 ;N5 G03 Y1000 R1000 J500 ;N6 G01 X*2000 ;N7 Y*1000 ;N8 G85 G40 G90 X0 Y0 M30 ;It is possible to specify G84 and G85 in cutter compensation C mode.The rotation ...

  • Page 267

    PROGRAMMING15. COMPENSATION FUNCTIONB–63124EN/012462. When the system is in cutter compensation model C, specify the commands in the following order (Fig.15.5 (e)) : (cutter compensation C cancel)G51 ; scaling mode startG84 ; coordinate system rotation start: G41 ;cutter compensation C mode sta...

  • Page 268

    PROGRAMMINGB–63124EN/0115. COMPENSATION FUNCTION247It is possible to store one program as a subprogram and recall subprogramby changing the angle.Sample program for when the RIN bit (bit 0 of parameter 5400) is set to1. The specified angular displancement is treated as an absolute orincrementa...

  • Page 269

    PROGRAMMING15. COMPENSATION FUNCTIONB–63124EN/01248When a tool with a rotation axis (C–axis) is moved in the XY plane duringcutting, the normal direction control function can control the tool so thatthe C–axis is always perpendicular to the tool path (Fig. 15.6 (a)). ToolToolProgrammed tool...

  • Page 270

    PROGRAMMINGB–63124EN/0115. COMPENSATION FUNCTION249Center of the arcFig15.6 (c) Normal direction control right (G42.1)Programmed pathCutter center pathFig15.6 (b) Normal direction control left (G41.1)Cutter center pathProgrammed pathWhen viewed from the center of rotation around the C–axis,...

  • Page 271

    PROGRAMMING15. COMPENSATION FUNCTIONB–63124EN/01250SN1N2SN3SProgrammed pathS : Single block stop pointCutter center pathFig15.6 (e) Point at which a Single–Block Stop Occurs in the Normal Direction Control ModeBefore circular interpolation is started, the C–axis is rotated so...

  • Page 272

    PROGRAMMINGB–63124EN/0115. COMPENSATION FUNCTION251Movement of the tool inserted at the beginning of each block is executedat the feedrate set in parameter 5481. If dry run mode is on at that time,the dry run feedrate is applied. If the tool is to be moved along the X–andY–axes in rapid t...

  • Page 273

    PROGRAMMING15. COMPENSATION FUNCTIONB–63124EN/01252Specify the maximum distance for which machining is performed withthe same normal direction as that of the preceding block.D Linear movementWhen distance N2, shown below, is smaller than the set value,machining for block N2 is performed using t...

  • Page 274

    PROGRAMMINGB–63124EN/0115. COMPENSATION FUNCTION2531) During normal–line direction control, the T command results in analarm (No. 4606) except when the TANDC parameter (bit 7 ofparameter No. 16263) is 1, in which case a single–tool command isvalid.2) During normal–line direction control, ...

  • Page 275

    PROGRAMMING16. CUSTOM MACROB–63124EN/0125416 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 276

    PROGRAMMINGB–63124EN/0116. CUSTOM MACRO255An 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 277

    PROGRAMMING16. CUSTOM MACROB–63124EN/01256(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 278

    PROGRAMMINGB–63124EN/0116. CUSTOM MACRO257Variables are classified into four types by variable number.Table 16.1 Types of variablesVariablenumberType ofvariableFunction#0AlwaysnullThis variable is always null. No value canbe assigned to this variable.#1 to #33LocalvariablesLocal variables can...

  • Page 279

    PROGRAMMING16. CUSTOM MACROB–63124EN/01258Procedure for displaying variable values1Press the OFFSETSETTINGkey to display the tool compensation screen.2Press the continuous menu key .3Press the soft key [MACRO] to display the macro variable screen.4Enter a variable number, then press soft key [N...

  • Page 280

    PROGRAMMINGB–63124EN/0116. CUSTOM MACRO259System 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 281

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

  • Page 282

    PROGRAMMINGB–63124EN/0116. CUSTOM MACRO261S When a wait for the completion of auxiliary functions (M, S, and Tfunctions) is not specified, program execution proceeds to the nextblock before completion of auxiliary functions. Also, distributioncompletion signal DEN is not output.Table 16.2 (f) ...

  • Page 283

    PROGRAMMING16. CUSTOM MACROB–63124EN/01262Settings can be read and written. Binary values are converted todecimals.#5 (SEQ) : Whether to automatically insert sequence numbers#2 (INI): Millimeter input or inch input#1 (ISO): Whether to use EIA or ISO as the output code#0 (TVC) : Whether to make...

  • Page 284

    PROGRAMMINGB–63124EN/0116. CUSTOM MACRO263Modal information specified in blocks up to the immediately precedingblock can be read.Table 16.2 (h) System variables for modal informationVariable numberFunction#4001#4002#4003#4004#4005#4006#4007#4008#4009#4010#4011#4012#4014#4015#4016:#4022#4102#41...

  • Page 285

    PROGRAMMING16. CUSTOM MACROB–63124EN/01264Position information cannot be written but can be read.Table 16.2 (i) System variables for position informationVariable num-berPositioninformationCoordinatesystemTool com-pensationvalueReadoperationduringmovement#5001 to #5008Block end pointWorkpiececo...

  • Page 286

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

  • Page 287

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

  • Page 288

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

  • Page 289

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

  • Page 290

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

  • Page 291

    PROGRAMMING16. CUSTOM MACROB–63124EN/01270The 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 292

    PROGRAMMINGB–63124EN/0116. CUSTOM MACRO271In 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 293

    PROGRAMMING16. CUSTOM MACROB–63124EN/01272Operators each consist of two letters and are used to compare two valuesto determine whether they are equal or one value is smaller or greater thanthe other value. Note that the inequality sign cannot be used.Table 16.5.2 OperatorsOperatorMeaningEQEqu...

  • Page 294

    PROGRAMMINGB–63124EN/0116. CUSTOM MACRO273The identification numbers (1 to 3) in a DO–END loop can be used asmany times as desired. Note, however, when a program includes crossingrepetition loops (overlapped DO ranges), alarm No. 124 occurs.1. The identification numbers(1 to 3) can be used a...

  • Page 295

    PROGRAMMING16. CUSTOM MACROB–63124EN/01274The 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

    PROGRAMMINGB–63124EN/0116. CUSTOM MACRO275A macro program can be called using the following methods:Macro callSimple call (G65)modal call (G66, G67)Macro call with G codeMacro call with M codeSubprogram call with M codeSubprogram call with T codeMacro call (G65) differs from subprogram call (M9...

  • Page 297

    PROGRAMMING16. CUSTOM MACROB–63124EN/01276Two types of argument specification are available. Argumentspecification I uses letters other than G, L, O, N, and P once each.Argument specification II uses A, B, and C once each and also uses I, J,and K up to ten times. The type of argument specific...

  • Page 298

    PROGRAMMINGB–63124EN/0116. CUSTOM MACRO277Calls can be nested to a depth of four levels including simple calls (G65)and modal calls (G66). This does not include subprogram calls (M98).S Local variables from level 0 to 4 are provided for nesting.S The level of the main program is 0.S Each time ...

  • Page 299

    PROGRAMMING16. CUSTOM MACROB–63124EN/01278A macro is created which drills H holes at intervals of B degrees after astart angle of A degrees along the periphery of a circle with radius I.The center of the circle is (X,Y). Commands can be specified in eitherthe absolute or incremental mode. To ...

  • Page 300

    PROGRAMMINGB–63124EN/0116. CUSTOM MACRO279O0002;G90 G92 X0 Y0 Z100.0;G65 P9100 X100.0 Y50.0 R30.0 Z–50.0 F500 I100.0 A0 B45.0 H5;M30;O9100;#3=#4003;Stores G code of group 3.. . . . . . . . . . . . . . . . . . . . . . . . . . G81 Z#26 R#18 F#9 K0; (Note)\Drilling cycle.. . . . . . . . . . . . ...

  • Page 301

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

  • Page 302

    PROGRAMMINGB–63124EN/0116. CUSTOM MACRO281The drilling cycle is created using a custom macro and the machiningprogram makes a modal macro call. For program simplicity, all drillingdata is specified using absolute values.Z=0RZThe canned cycle consists of the follow-ing basic operations:Operatio...

  • Page 303

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

  • Page 304

    PROGRAMMINGB–63124EN/0116. CUSTOM MACRO283By 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

    PROGRAMMING16. CUSTOM MACROB–63124EN/01284By 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

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

  • Page 307

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

  • Page 308

    PROGRAMMINGB–63124EN/0116. CUSTOM MACRO287O9001(M03);Macro to start counting. . . . . . . . . . . . . . . . . . . . . . . . . . M01;IF[#4120 EQ 0]GOTO 9;No tool specified. . . . . . . . . . . . . . . . . . . . . IF[#4120 GT 5]GOTO 9;Out–of–range tool number. . . . . . . . . . . . . . #3002=...

  • Page 309

    PROGRAMMING16. CUSTOM MACROB–63124EN/01288For smooth machining, the NC prereads the NC statement to beperformed next. This operation is referred to as buffering. In cuttercompensation mode (G41, G42), the NC prereads NC statements two orthree blocks ahead to find intersections. Macro stateme...

  • Page 310

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

  • Page 311

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

  • Page 312

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

  • Page 313

    PROGRAMMING16. CUSTOM MACROB–63124EN/01292+0.0000001 to +99999999–99999999 to –0.0000001The number of significant digits is 8 (decimal). If this range is exceeded,alarm No. 003 occurs.D Constant values that canbe used in <expression>

  • Page 314

    PROGRAMMINGB–63124EN/0116. CUSTOM MACRO293In 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 315

    PROGRAMMING16. CUSTOM MACROB–63124EN/01294Example)BPRINT [ C** X#100 [3] Y#101 [3] M#10 [0] ]Variable value #100=0.40596 #101=–1638.4 #10=12.34LF12 (0000000C)M–1638400(FFE70000)Y110 (0000019A)XSpaceCDPRNT [ a #b [ c d ] … ]Number of significant decimal placesNumber of sign...

  • Page 316

    PROGRAMMINGB–63124EN/0116. CUSTOM MACRO295Example)DPRINT [ X#2 [53] Y#5 [53] T#30 [20] ]Variable value #2=128.47398 #5=–91.2 #30=123.456spspspspspsp(1) Parameter PRT(No.6001#1)=0L FTY –X9120012847423spLFT23Y–91.200X128.474(2) Parameter PRT(No.6001#1)=0PCLOS ;The PCLOS command releas...

  • Page 317

    PROGRAMMING16. CUSTOM MACROB–63124EN/01296Specify the channel use for parameter 020. According to the specificationof this parameter, set data items (such as the baud rate) for thereader/punch interface.I/O channel 0 : Parameters 101 and 103I/O channel 1 : Parameters 111 and 113I/O channel 2 :...

  • Page 318

    PROGRAMMINGB–63124EN/0116. CUSTOM MACRO297When 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 319

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

  • Page 320

    PROGRAMMINGB–63124EN/0116. CUSTOM MACRO299There 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 321

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

  • Page 322

    PROGRAMMINGB–63124EN/0116. CUSTOM MACRO301The 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 323

    PROGRAMMING16. CUSTOM MACROB–63124EN/01302There 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 324

    PROGRAMMINGB–63124EN/0116. CUSTOM MACRO303To 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 325

    PROGRAMMING16. CUSTOM MACROB–63124EN/01304NOTEWhen an M99 block consists only of address O, N, P, L, orM, this block is regarded as belonging to the previous blockin the program. Therefore, a single–block stop does notoccur for this block. In terms of programming, thefollowing (1) and (2) a...

  • Page 326

    PROGRAMMINGB–63124EN/0116. CUSTOM MACRO305The modal information present before the interrupt becomes valid. Thenew modal information modified by the interrupt program is madeinvalid.The new modal information modified by the interrupt program remainsvalid even after control is returned. The ol...

  • Page 327

    PROGRAMMING17. PROGRAMMABLE DATA ENTRY (G10)B–63124EN/0130617 PROGRAMMABLE DATA ENTRY (G10)The values of parameters can be entered in a lprogram. This function isused for setting pitch error compensation data when attachments arechanged or the maximum cutting feedrate or cutting time constants ...

  • Page 328

    PROGRAMMINGB–63124EN/0117. PROGRAMMABLE DATAENTRY (G10)307G10L50; 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. for pitch errors compensation +10,00...

  • Page 329

    PROGRAMMING17. PROGRAMMABLE DATA ENTRY (G10)B–63124EN/013081. Set bit 2 (SPB) of bit type parameter No. 3404G10L50 ; Parameter entry modeN3404 R 00000100 ; SBP settingG11 ; cancel parameter entry mode2. Change the values for the Z–axis and A–axis in axis type parameter No. 1322 (the coordin...

  • Page 330

    PROGRAMMINGB–63124EN/0117. PROGRAMMABLE DATAENTRY (G10)309G10L30; Tool data entry mode settingN_P_R_; Tool data entryG11;Tool data entry mode cancelN_ : Tool data No. or multiple tool data No. +200P01 : Tool No. or multi–tool No. settingP02 : Turret position or angle for indexing turret of mu...

  • Page 331

    PROGRAMMING18. HIGH SPEED CUTTING FUNCTIONSB–63124EN/0131018 HIGH SPEED CUTTING FUNCTIONS

  • Page 332

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

  • Page 333

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

  • Page 334

    PROGRAMMINGB–63124EN/0119. AXIS CONTROL FUNCTIONS31319 AXIS CONTROL FUNCTIONS

  • Page 335

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

  • Page 336

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

  • Page 337

    PROGRAMMING19. AXIS CONTROL FUNCTIONSB–63124EN/01316When the power is turned on, compensation pulses are output for the slaveaxis to match the machine position of the master axis with the machineposition of the slave axis. (This is enabled only when the absoluteposition detection function is u...

  • Page 338

    PROGRAMMINGB–63124EN/0119. AXIS CONTROL FUNCTIONS317The 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 339

    PROGRAMMING19. AXIS CONTROL FUNCTIONSB–63124EN/01318For predetermined dies (tools) on a turret, the angular position of the diecan be changed with a command from a tape, a memory or MDI.In the past, it was necessary to use many dies when the die shape is thesame but the die arrangement is diffe...

  • Page 340

    PROGRAMMINGB–63124EN/0119. AXIS CONTROL FUNCTIONS319X, Y and T or X, Y and C when automatic operation.Least input increment IS-A : 0.01 deg, IS-B : 0.001 degLeast command increment IS-A : 0.01 deg, IS-B : 0.001 degIS-A : 999999.99 degIS-B : 99999.999 degLinear acceleration/deceleration is possi...

  • Page 341

    PROGRAMMING19. AXIS CONTROL FUNCTIONSB–63124EN/01320C axis command can be specified in the following blocks:(a) A block where no one shot G code exists.However, a block with U, V, W or B command is excluded:(Example)X _ Y _ C _ ;(b) G70 command(Example)G70X _ Y _ C _ ;(c) Pattern function (Incl...

  • Page 342

    PROGRAMMINGB–63124EN/0119. AXIS CONTROL FUNCTIONS321In 19.3.8, the blocks which C-axis command can be performed werelisted. However, unless the die (tool) which allows C-axis control hasbeen selected, C-axis commands cannot be made. Therefore, if the diewhich does not allow C-axis control is ...

  • Page 343

    PROGRAMMING19. AXIS CONTROL FUNCTIONSB–63124EN/01322The C-axis command in blocks of G26 (Bolt Hole Circle), G76 (Line AtAngle), G77 (Arc), G78/G97 (Grid), G86 (Shear Proof), G87 (Square),G68 (Nibbling Arc), G69 (Nibbling Lin), G88 (Radius) and G89 (Cut AtAngle) are described below. Of these, t...

  • Page 344

    PROGRAMMINGB–63124EN/0119. AXIS CONTROL FUNCTIONS323For the C-axis commands between the M code for nibbling mode and theM code for nibling mode cancel, an alarm is indicated if the C-axismovement amount per block exceeds the value set with the parameter(No. 16194).The C-axis command is ignored ...

  • Page 345

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

  • Page 346

    III. OPERATION

  • Page 347

    OPERATIONB–63124EN/011. GENERAL3271 GENERAL

  • Page 348

    OPERATION1. GENERALB–63124EN/01328The 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 349

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

  • Page 350

    OPERATION1. GENERALB–63124EN/01330Automatic operation is to operate the machine according to the createdprogram. It includes memory and MDI operations. (See Section III–4).ProgramTool01000;M_S_T;G92_X_ ;G00...;G01...... ;....Fig.1.2 (a) Tool movement by programmingAfter the program is once ...

  • Page 351

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

  • Page 352

    OPERATION1. GENERALB–63124EN/01332While automatic operation is being executed, tool movement can overlapautomatic operation by rotating the manual handle.ZXDepth of cutspecified by aprogramDepth of cutby manualfeedTool position of cutby manual feedTool positionunder automaticoperationFig.1.3 (c...

  • Page 353

    OPERATIONB–63124EN/011. GENERAL333Before 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 354

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

  • Page 355

    OPERATIONB–63124EN/011. GENERAL335After 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 registrationMDI CNC CNCProgram correction or modifi...

  • Page 356

    OPERATION1. GENERALB–63124EN/01336The 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 memoryFig1.6 (a) Displaying and setting dataTool compensationnumber112.3Tool compensationnumber2...

  • Page 357

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

  • Page 358

    OPERATION1. GENERALB–63124EN/01338The 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 359

    OPERATIONB–63124EN/011. GENERAL339The contents of the currently active program are displayed. In addition,the programs scheduled next and the program list are displayed.PROGRAMMEM STOP * * * * * * *13 : 18 : 14O1100 N00005>_PRGRMN1 G90 G17 G00 G41 D07 X250.0 Y550.0 ;N2 G01 Y900.0 F150 ;N3 X...

  • Page 360

    OPERATION1. GENERALB–63124EN/01340The current position of the tool is displayed with the coordinate values.The distance from the current position to the target position can also bedisplayed.YXxyWorkpiece coordinate systemACTUAL POSITION (ABSOLUTE)O0017 N01234 X 1850.000 Y 1550.000 T ...

  • Page 361

    OPERATIONB–63124EN/011. GENERAL341When this option is selected, two types of run time and number of partsare displayed on the screen.ACTUAL POSITION (ABSOLUTE)O0017 N01234 X 1850.000 Y 1550.000 T 1 C 0.000 PART COUNT 493RUN TIME 33H43...

  • Page 362

    OPERATION1. GENERALB–63124EN/01342Programs, 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 363

    OPERATIONB–63124EN/012. OPERATIONAL DEVICES3432 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 tape reader, PPR, Handy File, FloppyCassette, and FA Card.

  • Page 364

    OPERATION2. OPERATIONAL DEVICESB–63124EN/01344The setting and display units are shown in Subsections 2.1.1 to 2.1.6 ofPart III.CNC control unit with 7.2”/8.4” LCDIII–2.1.1. . . . . . . . . . . . . . . . . CNC control unit with 9.5”/10.4” LCDIII–2.1.2. . . . . . . . . . . . . . . . S...

  • Page 365

    OPERATIONB–63124EN/012. OPERATIONAL DEVICES3452.1.1CNC Control Unit with7.2”/8.4” LCD2.1.2CNC Control Unit with9.5”/10.4” LCD

  • Page 366

    OPERATION2. OPERATIONAL DEVICESB–63124EN/01346Function keysAddress/numeric keysShift keyCancel (CAN) keyInput keyEdit keysHelp keyReset keyCursor keysPage change keys2.1.3Separate–Type SmallMDI Unit

  • Page 367

    OPERATIONB–63124EN/012. OPERATIONAL DEVICES347Shift keyPage change keysCursor keysFunction keysInput keyCancel (CAN) keyEdit keysAddress/numeric keysReset keyHelp key2.1.4Separate–TypeStandard MDI Unit(Horizontal Type)

  • Page 368

    OPERATION2. OPERATIONAL DEVICESB–63124EN/01348Shift keyPage change keysCursor keysFunction keysInput keyCancel (CAN) keyEdit keysAddress/numeric keysReset keyHelp key2.1.5Separate–TypeStandard MDI Unit(Vertical Type)

  • Page 369

    OPERATIONB–63124EN/012. OPERATIONAL DEVICES349Shift keyPage change keysCursor keysFunction keysInput keyCancel (CAN) keyEdit keysAddress/numeric keysReset keyHelp key2.1.6Separate–TypeStandard MDI Unit(Vertical Type) (for160i/180i)

  • Page 370

    OPERATION2. OPERATIONAL DEVICESB–63124EN/01350Table2.2 Explanation of the MDI keyboardNumberNameExplanation1RESET keyPress this key to reset the CNC, to cancel an alarm, etc.2HELP keyPress this button to use the help function when uncertain about the operation ofan MDI key (help function).3Sof...

  • Page 371

    OPERATIONB–63124EN/012. OPERATIONAL DEVICES351Table2.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 forwa...

  • Page 372

    OPERATION2. OPERATIONAL DEVICESB–63124EN/01352The 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 373

    OPERATIONB–63124EN/012. OPERATIONAL DEVICES353Function 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 374

    OPERATION2. OPERATIONAL DEVICESB–63124EN/01354To 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 375

    OPERATIONB–63124EN/012. OPERATIONAL DEVICES355Monitor screen[(OPRT)][PTSPRE][EXEC][RUNPRE][ABS]Absolute coordinate displayPOS[(OPRT)][REL](Axis or numeral)[ORIGIN][PRESET][ALLEXE](Axis name)[PTSPRE][RUNPRE][ALL][(OPRT)][PTSPRE][RUNPRE][HNDL][(OPRT)][PTSPRE][RUNPRE][MONI]Soft key transition trig...

  • Page 376

    OPERATION2. OPERATIONAL DEVICESB–63124EN/01356[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]Current ...

  • Page 377

    OPERATIONB–63124EN/012. OPERATIONAL DEVICES357[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 378

    OPERATION2. OPERATIONAL DEVICESB–63124EN/013581/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][PUNCH][STOP][CAN][DELETE][EX–EDT][COPY][CRSRX][XCRSR][XBTTM][ALL][MOVE][CRSRX][XCRSR][XB...

  • Page 379

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

  • Page 380

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

  • Page 381

    OPERATIONB–63124EN/012. OPERATIONAL DEVICES361[(OPRT)][BG–EDT][PRGRM]Program displayPROGSoft key transition triggered by the function keyinthe HNDL, JOG, or REF modePROGPROGRAM SCREENCurrent block display screen[(OPRT)][BG–EDT][CURRNT]Next block display screen[(OPRT)][BG–EDT][NEXT]SeeWhe...

  • Page 382

    OPERATION2. OPERATIONAL DEVICESB–63124EN/013621/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][PUNCH][DELETE][CAN][EX–EDT][COPY][CRSRX][XCRSR][XBTTM][ALL][MOVE][CRSRX][XCRSR][XBTTM][ALL][M...

  • Page 383

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

  • Page 384

    OPERATION2. OPERATIONAL DEVICESB–63124EN/01364[INP.C.][(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)[ON:1][OFF:0][(OPRT)][WORK]Wo...

  • Page 385

    OPERATIONB–63124EN/012. OPERATIONAL DEVICES365[(OPRT)][TOOL]Tool registration screen[+INPUT](Numeral)Safety zone setting screen2/2(1)(Numeral)[INPUT][T.NUM.][T.CHG.][T.CNT.][SHARE][(OPRT)](Number)(Numeral)(Numeral)[READ][CAN][EXEC][PUNCH][No.SRH][+INPUT][INPUT][M.TOOL][TOOLLF]Tool life manageme...

  • Page 386

    OPERATION2. OPERATIONAL DEVICESB–63124EN/01366Soft 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)[PMC]PMC screen(1)1/2SYS...

  • Page 387

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

  • Page 388

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

  • Page 389

    OPERATIONB–63124EN/012. OPERATIONAL DEVICES369Soft key transition triggered by the function key GRAPHGRAPHIC SCREEN[PARAM]Tool path graphicsGRAPH[GRAPH][START][STOP][SBK][SEQ.][ERASE]

  • Page 390

    OPERATION2. OPERATIONAL DEVICESB–63124EN/01370When 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 391

    OPERATIONB–63124EN/012. OPERATIONAL DEVICES371After 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 392

    OPERATION2. OPERATIONAL DEVICESB–63124EN/01372There are 12 soft keys in the 10.4″LCD/MDI or 9.5″LCD/MDI. Asillustrated below, the 5 soft keys on the right and those on the right andleft edges operate in the same way as the 7.2″LCD or 8.4″ LCD, whereasthe 5 keys on the left hand side ar...

  • Page 393

    OPERATIONB–63124EN/012. OPERATIONAL DEVICES373Five types of external input/output devices are available. This sectionoutlines each device. For details on these devices, refer to thecorresponding manuals listed below.Table 2.4 External I/O deviceDevice nameUsageMax.storagecapacityReferenceman...

  • Page 394

    OPERATION2. OPERATIONAL DEVICESB–63124EN/01374Before an external input/output device can be used, parameters must beset as follows.Series 16MAIN CPU BOARDOPTION–1 BOARDChannel 1Channel 2Channel 3JD5AJD5BRS–422RS–232–CRS–232–CJD5CJD6ARS–232–CReader/puncherHost computerHost comput...

  • Page 395

    OPERATIONB–63124EN/012. OPERATIONAL DEVICES375The 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 396

    OPERATION2. OPERATIONAL DEVICESB–63124EN/01376An FA Card is a memory card used as an input medium in the FA field.It is compact, but has a large memory capacity with high reliability, andrequires no special maintenance.When an FA Card is connected to the CNC via the card adapter, NCmachining pr...

  • Page 397

    OPERATIONB–63124EN/012. OPERATIONAL DEVICES377The portable tape reader is used to input data from paper tape.}+++RS–232–C Interface(Punch panel, etc.)2.4.5Portable Tape Reader

  • Page 398

    OPERATION2. OPERATIONAL DEVICESB–63124EN/01378Procedure 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 399

    OPERATIONB–63124EN/012. OPERATIONAL DEVICES379If 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 400

    OPERATION2. OPERATIONAL DEVICESB–63124EN/01380B7F1 – 01SLOT 01 (3046) : ENDSLOT 02 (3050) :Blank: Setting not completedModule IDSlot numberEND: Setting completedB7F1 – 01CNC control softwareSERVO : 9070–01SUB : xxxx–xxOMM : yyyy–yyPMC : zzzz–zzDigital servo ROMSub CPU (remo...

  • Page 401

    OPERATIONB–63124EN/013. MANUAL OPERATION3813 MANUAL OPERATIONMANUAL OPERATION are four kinds as follows :3.1. Manual reference position return3.2. Jog feed3.3. Incremental feed3.4. Manual handle feed3.5. Manual absolute on

  • Page 402

    OPERATION3. MANUAL OPERATIONB–63124EN/01382The 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 switchon the machine operator’s panel. The tool moves to the...

  • Page 403

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

  • Page 404

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

  • Page 405

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

  • Page 406

    OPERATION3. MANUAL OPERATIONB–63124EN/01386In 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 407

    OPERATIONB–63124EN/013. MANUAL OPERATION387In 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 408

    OPERATION3. MANUAL OPERATIONB–63124EN/01388Parameter 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 409

    OPERATIONB–63124EN/013. MANUAL OPERATION389The distance of the tool is moved by manual operation is added to thecoordinates.OP1P2Y axisX axisManual operationThe coordinates values change by the amount of manual operation.The following describes the relation between manual operation andcoordinat...

  • Page 410

    OPERATION3. MANUAL OPERATIONB–63124EN/01390Coordinates when the feed hold button is pressed while block is beingexecuted, manual operation (Y–axis +75.0) is performed, the control unitis reset with the RESET button, and block is read again(200.0,150.0)(300.0 , 200.0)(150.0 , 200.0)(150.0 , 12...

  • Page 411

    OPERATIONB–63124EN/013. MANUAL OPERATION391Manual operation performed in other than corneringAssume that the feed hold was applied at point PH while moving from PAto PB of programmed path PA, PB, and PC and that the tool was manuallymoved to PH’. The block end point PB moves to the point PB...

  • Page 412

    OPERATION3. MANUAL OPERATIONB–63124EN/01392Manual operation after single block stopManual operation was performed when execution of a block wasterminated by single block stop.Vectors VB1 and VB2 are shifted by the amount of manual operation.Sub–sequent processing is the same as case a describ...

  • Page 413

    OPERATIONB–63124EN/014. AUTOMATIC OPERATION3934 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 414

    OPERATION4. AUTOMATIC OPERATIONB–63124EN/01394Programs 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 415

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

  • Page 416

    OPERATION4. AUTOMATIC OPERATIONB–63124EN/01396When the optional block skip switch on the machine operator’s panel isturned on, blocks containing a slash (/) are ignored.A file (subprogram) in an external input/output device such as a FloppyCassette can be called and executed during memory ope...

  • Page 417

    OPERATIONB–63124EN/014. AUTOMATIC OPERATION397In 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 418

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

  • Page 419

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

  • Page 420

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

  • Page 421

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

  • Page 422

    OPERATION4. AUTOMATIC OPERATIONB–63124EN/01402PROGRAMO0001 N00020N020 X100.0 Z100.0 (DNC–PROG) ;N030X200.0Z200.0 ;N040X300.0 Z300.0 ;N050X400.0 Z400.0 ;N060 X500.0 Z500.0 ;N070 X600.0 Z600.0 ;N080 X700.0 Z400.0 ;N090 X800.0 Z400.0 ;N100 x900.0 z400.0 ;N110 x1000.0 z1000.0 ;N120 x800.0 z800.0 ...

  • Page 423

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

  • Page 424

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

  • Page 425

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

  • Page 426

    OPERATION4. AUTOMATIC OPERATIONB–63124EN/01406The 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 427

    OPERATIONB–63124EN/014. AUTOMATIC OPERATION407FILE 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 O0040 1.900...

  • Page 428

    OPERATION4. AUTOMATIC OPERATIONB–63124EN/01408F0007 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 executing one f...

  • Page 429

    OPERATIONB–63124EN/014. AUTOMATIC OPERATION409O0000 N02000RMT* * * * * * * * * *10 : 10 : 40FILE DIRECTORYORDER FILE NO.REQ.REPCUR.REP 01 5 5 02 0003 23 23 03 0004 9999 156 04 0005 LOOP 0 05 06 07 08 09 10PRGRM(OPRT)DI...

  • Page 430

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

  • Page 431

    OPERATIONB–63124EN/014. AUTOMATIC OPERATION411The 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 432

    OPERATION4. AUTOMATIC OPERATIONB–63124EN/01412CAUTION1 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...

  • Page 433

    OPERATIONB–63124EN/014. AUTOMATIC OPERATION413The 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 434

    OPERATION4. AUTOMATIC OPERATIONB–63124EN/01414The following table indicates the relation between other functions and themovement by handle interrupt.SignalRelationMachine lockMachine lock is effective. When the machine lock signalis on, handle interrupt is ignored.InterlockInterlock is effe...

  • Page 435

    OPERATIONB–63124EN/014. AUTOMATIC OPERATION415(d) DISTANCE TO GO :The remaining travel distance in the currentblock has no effect on the travel distancespecified by handle interruption.The handle interrupt move amount is cleared when the low speedreference position return (the first reference p...

  • Page 436

    OPERATION4. AUTOMATIC OPERATIONB–63124EN/01416During 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 LCD/MDI panel.YXY–...

  • Page 437

    OPERATIONB–63124EN/014. AUTOMATIC OPERATION4172–4 Move the cursor to the mirror image setting position, then setthe target axis to 1.3Enter an automatic operation mode (memory mode or MDI mode),then press the cycle start button to start automatic operation.⋅ The mirror image function can al...

  • Page 438

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

  • Page 439

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

  • Page 440

    OPERATION4. AUTOMATIC OPERATIONB–63124EN/01420When there are no more blocks for which to perform reverse movement(when the tool has moved back to the initial forward movement block orthe tool has not yet started forward movement), the reverse movementcompletion state is entered and operation st...

  • Page 441

    OPERATIONB–63124EN/014. AUTOMATIC OPERATION421In automatic operation, a program is usually executed in the order thatcommands are specified. This mode of execution is referred to as forwardmovement. The retrace function can execute in reverse, program blocksthat have already been executed. T...

  • Page 442

    OPERATION4. AUTOMATIC OPERATIONB–63124EN/01422Reverse movement stops when any of the commands or modes listedbelow appears. If an attempt is made during forward movement to stopforward movement with feed hold stop and then move the tool in thereverse direction when any of the commands and mode...

  • Page 443

    OPERATIONB–63124EN/014. AUTOMATIC OPERATION423The dwell command (G04) is executed in reverse movement and forwardreturn movement in the same way as during ordinary operation.A tool compensation value, parameter, pitch error data, workpiece zeropoint offset value, and tool life management settin...

  • Page 444

    OPERATION4. AUTOMATIC OPERATIONB–63124EN/01424When the tool has been moved by manual intervention, return the tool tothe original position before moving the tool in the reverse direction aftera feed hold stop or single block stop.In reverse movement, the tool cannotmove along the path made duri...

  • Page 445

    OPERATIONB–63124EN/014. AUTOMATIC OPERATION425If a multiple–workpiece machining skip signal is input for a retracere–forward movement during multiple–workpiece machining,machining of the current workpiece is stopped and machining of anotherworkpiece begins.ExplanationG98 X_ Y_ I_ J_ P2 K1...

  • Page 446

    OPERATION4. AUTOMATIC OPERATIONB–63124EN/01426CAUTION1 A skip does not occur during trial multiple–workpiecemachining (when the setting of multiple–workpiecemachining is 1).2 The multiple–workpiece skip signal can be detected onlyduring a re–forward movement. The skip signal cannot bed...

  • Page 447

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

  • Page 448

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

  • Page 449

    OPERATIONB–63124EN/015. TEST OPERATION429M, S, and T commands are executed in the machine lock state.When a G28 command is issued in the machine lock state, the commandis accepted but the tool does not move to the reference position and thereference position return LED does not go on.M00, M01, ...

  • Page 450

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

  • Page 451

    OPERATIONB–63124EN/015. TEST OPERATION431An override of four steps (25%, 50%, 75% and 100%) can be applied tothe rapid traverse rate.ÇÇÇÇÇÇÇÇÇÇÇÇRapid traverserate10m/minOverride50%5m/minFig.5.3 Rapid traverse overrideRapid Traverse OverrideSelect one of the four feedrates with the...

  • Page 452

    OPERATION5. TEST OPERATIONB–63124EN/01432WARNING1 For the manual rapid traverse and rapid traverse in manualreference point return, the rapid traverse override functionis ineffective.2 For the rapid traverse attained to each pitch from the firstpunch point to the last punch point in nibbling fu...

  • Page 453

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

  • Page 454

    OPERATION5. TEST OPERATIONB–63124EN/01434Pressing 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 455

    OPERATIONB–63124EN/015. TEST OPERATION435Example) G26I100.0J0K4 ;100RWhen single block stop has been made in, , , the feed holdlamp lights.When single block stop has been made in, the feed hold lamp doesnot light.WARNING1 If a pattern function (G26, G76, G77, G78, G79) is executedby the single ...

  • Page 456

    OPERATION5. TEST OPERATIONB–63124EN/01436This switch selects whether the T code command is effective or not in thetape, memory, and MDI modes.Tool selectionIneffectiveOFF. . . ONEffective. . . WARNINGSince whether the T-code function is effective or not isjudged when data are read from the tape...

  • Page 457

    OPERATIONB–63124EN/015. TEST OPERATION437This function makes punch (including nibbling) ineffective in a blockwhere punching is made by press motion during the tape or memory modeoperation.PUNCHPunch is ineffectiveOFF. . . . ONPunch is effective. . . 5.7PUNCH

  • Page 458

    OPERATION5. TEST OPERATIONB–63124EN/01438Manual PunchWhen depressing this button, punching is made by press motion. Whendepressing this button again after releasing it once, punching is madeagain.Generally, when this button is depressed, while the punch ON/OFFswitch in 6.8 is being set to ON, ...

  • Page 459

    OPERATIONB–63124EN/016. SAFETY FUNCTIONS4396 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 460

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

  • Page 461

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

  • Page 462

    OPERATION6. SAFETY FUNCTIONSB–63124EN/01442Two areas which the tool cannot enter can be specified with stored strokelimit 1 and stored stroke check 2.(2) Forbidden area on the inside(1) Forbidden area on the outside(I,J)ÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂ...

  • Page 463

    OPERATIONB–63124EN/016. SAFETY FUNCTIONS443When setting the area by parameters, points A and B in the figure belowmust be set.B (I,J)A (X,Y)X>I, Y>JX–I>2000 (In least command increment)Y–J>2000 (In least command increment)Fig. 6.3 (c) Creating or changing the forbidden area usi...

  • Page 464

    OPERATION6. SAFETY FUNCTIONSB–63124EN/01444When 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.WARNINGIn setting a forbidden...

  • Page 465

    OPERATIONB–63124EN/016. SAFETY FUNCTIONS445When the tool starts to move for positioning by rapid traverse (G00) ofautomatic operation, this function checks the end point coordinates fromthe machine’s current position and the specified amount of movement.It checks if the tool will enter a forb...

  • Page 466

    OPERATION6. SAFETY FUNCTIONSB–63124EN/01446This is the safety function to set the safety zone for protecting theworkpiece holder that holds the workpiece set on the carriage, and disablepunching in that area or forbid the tool to approach thereinto.Tool figure areaCarriage# 0Table# 3# 4Safetyzo...

  • Page 467

    OPERATIONB–63124EN/016. SAFETY FUNCTIONS447The safety zone is settable in two types, punch forbidden area andapproach forbidden area, that are set by the parameter SZ1 to SZ4 (No.16501#0 - #3) shown below.1) Punch forbidden areaWhen the tool figure area goes into the safety zone and the punchin...

  • Page 468

    OPERATION6. SAFETY FUNCTIONSB–63124EN/01448By setting bit 0 (SF0) of parameter No. 16500, the type B safety zonecheck can be selected. With type B, no alarm is issued even if a tool entersa safety zone; after confirming the safety of the situation, the operator canperform a punch operation, or...

  • Page 469

    OPERATIONB–63124EN/016. SAFETY FUNCTIONS449Set the machine coordinate value when the workpiece holder is positionedat the tool center (punching position), in the parameters 16505 - 16516 inoutput units.# 1H1wzYa# 2XwzX2aX1aYwz# 3YbYc# 4Yd+Y+X0X2aX1aX2bX1bX2cX1cX2dX1dYaPunching positionOrigin of...

  • Page 470

    OPERATION6. SAFETY FUNCTIONSB–63124EN/01450PFig. 6.5.4 (a)The specification of the area of tool figure sets the size in the X directionand Y direction of the tool by the parameter (No.16517 to 16532 andNo.16551 to 16558).The setting unit is output unit.12 kinds of or less tool figure can be set...

  • Page 471

    OPERATIONB–63124EN/016. SAFETY FUNCTIONS451The detector on the machine automatically detects the positions of theworkpiece holders mounted on the carriage. Values representing thedetected positions are then set in the safety zone parameters.# 1F# 2# 3# 4CarriageDetector (secured to the machine...

  • Page 472

    OPERATION6. SAFETY FUNCTIONSB–63124EN/01452∆E=T1 F+T2 F (exponential function acceleration/deceleration)∆E=1/2T1 F+T2 F (linear acceleration/deceleration)where,∆E :Lag in the servo systemT1 : Time constant for automatic acceleration/decelerationT2 : Servo time constantF : Feed rateThe...

  • Page 473

    OPERATIONB–63124EN/016. SAFETY FUNCTIONS453After safety zone values are set automatically, they can be displayed onthe safety zone screen as shown below. With this screen, the user cancheck whether the set values are valid.SAFETY ZONE (ABSOLUTE)O0017 N01234 AREA #1AREA #3 X2= 100.000 X2= 1...

  • Page 474

    OPERATION6. SAFETY FUNCTIONSB–63124EN/01454If the tool is positioned to the normal height (for punching), as shownbelow, the tool will interfere with the workpiece holder when theworkpiece holder moves into the turret.By means of this function, the CNC monitors the positions of the tool andwork...

  • Page 475

    OPERATIONB–63124EN/016. SAFETY FUNCTIONS455If, during automatic operation, a positioning operation may cause the toolarea to interfere with the workpiece holder area, this function first movesthe tool along a non–interfering axis, which may be either the X–axis orY–axis, then moves the to...

  • Page 476

    OPERATION6. SAFETY FUNCTIONSB–63124EN/01456(2) When the start and end points of movement along the Y–axis are abovethe Y area of the workpiece holdersYXToolTool (3) When the tool does not cross the X area of a workpiece holder formovement along the X–axisYXToolToolWhen both the start and en...

  • Page 477

    OPERATIONB–63124EN/016. SAFETY FUNCTIONS457(1) The workpiece holder area (parameter Nos. 16505 to 16516) of thesafety zone function is used.(2) The tool area (parameter Nos. 16517 to 16532, 16551 to 16558) of thesafety zone function is used.NOTE1 This function is optional.2 The optional safety ...

  • Page 478

    OPERATION7. ALARM AND SELF–DIAGNOSISFUNCTIONSB–63124EN/014587 ALARM AND SELF–DIAGNOSIS FUNCTIONSWhen an alarm occurs, the corresponding alarm screen appears to indicatethe cause of the alarm. The causes of alarms are classified by error codes.Up to 25 previous alarms can be stored and disp...

  • Page 479

    OPERATIONB–63124EN/017. ALARM AND SELF–DIAGNOSISFUNCTIONS459When an alarm occurs, the alarm screen appears.ARALMALARM MESSAGEMDI* * * * * * * * * *18 : 52 : 05O0000 N00000100PARAMETER WRITE ENABLE510OVER TRAVEL:+1520OVER TRAVEL:+2530OVER TRAVEL:+3MSGHISTRYS 0 T0000In some cases, the ala...

  • Page 480

    OPERATION7. ALARM AND SELF–DIAGNOSISFUNCTIONSB–63124EN/01460Error codes and messages indicate the cause of an alarm. To recover froman alarm, eliminate the cause and press the reset key.The error codes are classified as follows:No. 000 to 232: Program errors(*)No. 300 to 308: Absolute pulse ...

  • Page 481

    OPERATIONB–63124EN/017. ALARM AND SELF–DIAGNOSISFUNCTIONS461Up to 25 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 482

    OPERATION7. ALARM AND SELF–DIAGNOSISFUNCTIONSB–63124EN/01462The 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 483

    OPERATIONB–63124EN/017. 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 484

    OPERATION7. ALARM AND SELF–DIAGNOSISFUNCTIONSB–63124EN/01464The table below shows the signals and states which are enabled when eachdiagnostic data item is 1. Each combination of the values of the diagnosticdata indicates a unique state.0200210220230240251111111111111100000000000000000000000...

  • Page 485

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

  • Page 486

    OPERATION8. DATA INPUT/OUTPUTB–63124EN/01466Of the external input/output devices, the FANUC Handy File and FANUCFloppy Cassette use floppy disks as their input/output medium, and theFANUC FA Card uses an FA card as its input/output medium.In this manual, an input/output medium is generally refe...

  • Page 487

    OPERATIONB–63124EN/018. DATA INPUT/OUTPUT467The floppy is provided with the write protect switch. Set the switch tothe write enable state. Then, start output operation.Write protect switch(2) Write–enabled (Reading, writing, anddeletion are possible.)Write protect switch of a cassetteWrite p...

  • Page 488

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

  • Page 489

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

  • Page 490

    OPERATION8. DATA INPUT/OUTPUTB–63124EN/01470This section describes how to load a program into the CNC from a floppyor NC tape.Inputting a program1Make sure the input device is ready for reading.2Press the EDIT switch on the machine operator’s panel.3When using a floppy, search for the require...

  • Page 491

    OPERATIONB–63124EN/018. DATA INPUT/OUTPUT471- 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 492

    OPERATION8. DATA INPUT/OUTPUTB–63124EN/01472D Immediately after the [CHAIN] soft key is pressed, the cursor ispositioned to the end of the registered program. After the enteredprogram is appended, the cursor is positioned to the beginning of theresulting program.D A program cannot be appended ...

  • Page 493

    OPERATIONB–63124EN/018. DATA INPUT/OUTPUT473When P/S alarm 86 occurs during program output, the floppy is restoredto the condition before the output.When program output is conducted after N1 to N9999 head searching, thenew file is output as the designated n–th position. In this case, 1 to n...

  • Page 494

    OPERATION8. DATA INPUT/OUTPUTB–63124EN/01474Offset data is loaded into the memory of the CNC from a floppy or NCtape. The input format is the same as for offset value output. See section8.5.2.When an offset value is loaded which has the same offset number as anoffset number already registered i...

  • Page 495

    OPERATIONB–63124EN/018. DATA INPUT/OUTPUT475All offset data is output in a output format from the memory of the CNCto a floppy or NC tape.Outputting offset data1Make sure the output device is ready for output.2Specify the punch code system (ISO or EIA) using a parameter.3Press the EDIT switch o...

  • Page 496

    OPERATION8. DATA INPUT/OUTPUTB–63124EN/01476Parameters 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 497

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

  • Page 498

    OPERATION8. DATA INPUT/OUTPUTB–63124EN/01478Pitch error compensation data are loaded into the memory of the CNCfrom a floppy or NC tape. The input format is the same as the outputformat. See Section 8.6.4. When a pitch error compensation data isloaded which has the corresponding data number ...

  • Page 499

    OPERATIONB–63124EN/018. DATA INPUT/OUTPUT479All pitch error compensation data are output in the defined format fromthe memory of the CNC to a floppy or NC tape.Outputting Pitch Error Compensation Data1Make sure the output device is ready for output.2Specify the punch code system (ISO or EIA) us...

  • Page 500

    OPERATION8. DATA INPUT/OUTPUTB–63124EN/01480The 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. SeeSection 8.7.2. For a custom macro common vari...

  • Page 501

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

  • Page 502

    OPERATION8. DATA INPUT/OUTPUTB–63124EN/01482On 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 503

    OPERATIONB–63124EN/018. DATA INPUT/OUTPUT483Displaying the directory of floppy disk filesUse the following procedure to display a directory of all thefiles stored in a floppy:1Press the EDIT switch on the machine operator’s panel.2Press function key PROG.3Press the rightmost soft key (next–...

  • Page 504

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

  • Page 505

    OPERATIONB–63124EN/018. DATA INPUT/OUTPUT485NO: Displays the file numberFILE NAME: Displays the file name.(METER): Converts and prints out the file capacity to papertape length.You can also produce H(FEET)I by setting the INPUT UNIT to INCH ofthe setting data.VOL: When the file is multi–volum...

  • Page 506

    OPERATION8. DATA INPUT/OUTPUTB–63124EN/01486The contents of the specified file number are read to the memory of NC.Reading files1Press the EDIT switch on the machine operator’s panel.2Press function key PROG.3Press the rightmost soft key (next–menu key).4Press soft key [FLOPPY].5Press soft ...

  • Page 507

    OPERATIONB–63124EN/018. DATA INPUT/OUTPUT487Any program in the memory of the CNC unit can be output to a floppyas a file.Outputting programs1Press the EDIT switch on the machine operator’s panel.2Press function key PROG.3Press the rightmost soft key(next–menu key).4Press soft key [FLOPPY].5...

  • Page 508

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

  • Page 509

    OPERATIONB–63124EN/018. DATA INPUT/OUTPUT489For the numeral input in the data input area with FILE NO. andPROGRAM NO., only lower 4 digits become valid.When the data protection key on the machine operator’s panel is ON, noprograms are read from the floppy. They are verified against the conte...

  • Page 510

    OPERATION8. DATA INPUT/OUTPUTB–63124EN/01490The value of a tool data is loaded into the memory of the CNC from afloppy or NC tape. The same format used to output tool data is used forinput. See Section 8.9.2. When the value of a tool data is loaded intomemory, this value replaces the value of t...

  • Page 511

    OPERATIONB–63124EN/018. DATA INPUT/OUTPUT491All tool data are output in the defined format from the memory of the CNCto a floppy or NC tape.Outputting Tool Data1Make sure the output device is ready for output.2Specify the punch code system (ISO or EIA) using a parameter.3Press the EDIT switch o...

  • Page 512

    OPERATION8. DATA INPUT/OUTPUTB–63124EN/01492Items (1) to (13) are as follows :(1) Tool registration numberWhen the optional multiple tool function is used. the tool numbersregistered for multiple tools are output with N200 to N299.(2) Tool number(3) Turret position(4) X–axis offset(5) Y–axi...

  • Page 513

    OPERATIONB–63124EN/018. DATA INPUT/OUTPUT493CNC programs stored in memory can be grouped according to theirnames, thus enabling the output of CNC programs in group units.Procedure for Outputting a Program List for a Specified Group1Display the program list screen for a group of programs.PROGRAM...

  • Page 514

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

  • Page 515

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

  • Page 516

    OPERATION8. DATA INPUT/OUTPUTB–63124EN/01496A 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 517

    OPERATIONB–63124EN/018. DATA INPUT/OUTPUT4976Press soft keys [F SRH] and [EXEC]. The specified file is found.When 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...

  • Page 518

    OPERATION8. DATA INPUT/OUTPUTB–63124EN/01498Inputting a program1Press soft key [PRGRM] on the ALL IO screen, described in Section8.11.1.2Select EDIT mode. A program directory is displayed.3Press soft key [(OPRT)]. The screen and soft keys change as shownbelow.⋅ A program directory is displa...

  • Page 519

    OPERATIONB–63124EN/018. DATA INPUT/OUTPUT499Outputting programs1Press soft key [PRGRM] on the ALL IO screen, described in Section8.11.1.2Select EDIT mode. A program directory is displayed.3Press soft key [(OPRT)]. The screen and soft keys change as shownbelow.⋅ A program directory is displa...

  • Page 520

    OPERATION8. DATA INPUT/OUTPUTB–63124EN/01500Deleting files1Press soft key [PRGRM] on the ALL IO screen, described in Section8.11.1.2Select EDIT mode. A program directory is displayed.3Press soft key [(OPRT)]. The screen and soft keys change as shownbelow.⋅ A program directory is displayed o...

  • Page 521

    OPERATIONB–63124EN/018. DATA INPUT/OUTPUT501Parameters can be input and output using the ALL IO screen.Inputting parameters1Press soft key [PARAM] on the ALL IO screen, described in Section8.11.1.2Select EDIT mode.3Press soft key [(OPRT)]. The screen and soft keys change as shownbelow.READ/PUN...

  • Page 522

    OPERATION8. DATA INPUT/OUTPUTB–63124EN/01502Outputting parameters1Press soft key [PARAM] on the ALL IO screen, described in Section8.11.1.2Select EDIT mode.3Press soft key [(OPRT)]. The screen and soft keys change as shownbelow.READ/PUNCH (PARAMETER)O1234 N12345MDI *************12:34:56READPUN...

  • Page 523

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

  • Page 524

    OPERATION8. DATA INPUT/OUTPUTB–63124EN/01504Outputting offset data1Press soft key [OFFSET] on the ALL IO screen, described in Section8.11.1.2Select EDIT mode.3Press soft key [(OPRT)]. The screen and soft keys change as shownbelow.READ/PUNCH (OFFSET)O1234 N12345MDI *************12:34:56READPUNC...

  • Page 525

    OPERATIONB–63124EN/018. DATA INPUT/OUTPUT505Custom macro common variables can be output using the ALL IO screen.Outputting custom macro common variables1Press soft key [MACRO] on the ALL IO screen, described in Section8.11.1.2Select EDIT mode.3Press soft key [(OPRT)]. The screen and soft keys ...

  • Page 526

    OPERATION8. DATA INPUT/OUTPUTB–63124EN/01506The ALL IO screen supports the display of a directory of floppy files, aswell as the input and output of floppy files.Displaying a file directory1Press the rightmost soft key (next–menu key) on the ALL IOscreen, described in Section 8.11.1.2Press s...

  • Page 527

    OPERATIONB–63124EN/018. DATA INPUT/OUTPUT507READ/PUNCH (FLOPPY) No.FILE NAMEO1234 N12345(Meter) VOLEDIT *************12:34:56F SRHEXEC0001PARAMETER0002ALL.PROGRAM0003O00010004O00020005O00030006O00040007O00050008O00100009O0020F SRHFile No.=2>2_CAN46.112.311.911.911.911.911.911.911.9A directo...

  • Page 528

    OPERATION8. DATA INPUT/OUTPUTB–63124EN/01508Inputting a file1Press the rightmost soft key (next–menu key) on the ALL IOscreen, described in Section 8.11.1.2Press soft key [FLOPPY].3Select EDIT mode. The floppy screen is displayed.4Press soft key [(OPRT)]. The screen and soft keys change as...

  • Page 529

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

  • Page 530

    OPERATION8. DATA INPUT/OUTPUTB–63124EN/01510Deleting a file1Press the rightmost soft key (next–menu key) on the ALL IOscreen, described in Section 8.11.1.2Press soft key [FLOPPY].3Select EDIT mode. The floppy screen is displayed.4Press soft key [(OPRT)]. The screen and soft keys change as ...

  • Page 531

    OPERATIONB–63124EN/018. DATA INPUT/OUTPUT511Data held in CNC memory can be saved to a memory card in MS–DOSformat. Data held on a memory card can be loaded into CNC memory.A save or load operation can be performed using soft keys while the CNCis operating.Loading can be performed in either o...

  • Page 532

    OPERATION8. DATA INPUT/OUTPUTB–63124EN/01512Data held in CNC memory can be saved to a memory card in MS–DOSformat.Saving memory data1Press the rightmost soft key (next–menu key) on the ALL IOscreen, described in Section 8.11.1.2Press soft key [M–CARD].3Place the CNC in the emergency stop...

  • Page 533

    OPERATIONB–63124EN/018. DATA INPUT/OUTPUT513The file name used for save operation is determined by the amount ofSRAM mounted in the CNC. A file holding saved data is divided intoblocks of 512KB.HEAD1 SRAM fileAmount of SRAM256KB0.5 MB1.0 MB2.5 MBNumber of files12345SRAM256A. FDBSRAM0_5A. FDBSR...

  • Page 534

    OPERATION8. DATA INPUT/OUTPUTB–63124EN/01514CNC memory data that has been saved to a memory card can be loaded(restored) back into CNC memory.CNC memory data can be loaded in either of two ways. In the firstmethod, all saved memory data is loaded. In the second method, onlyselected data is lo...

  • Page 535

    OPERATIONB–63124EN/018. DATA INPUT/OUTPUT5159During loading, the message ”RUNNING” blinks, and the number ofbytes loaded is displayed in the message field.10Upon the completion of loading, the message ”COMPLETED” isdisplayed in the message field, with the message ”PRESS RESETKEY.” d...

  • Page 536

    OPERATION8. DATA INPUT/OUTPUTB–63124EN/01516Before a file can be saved to a memory card, the memory card must beformatted.Formatting a memory card1Press the rightmost soft key (next–menu key) on the ALL IOscreen, described in Section 8.11.1.2Press soft key [M–CARD].3Place the CNC in the em...

  • Page 537

    OPERATIONB–63124EN/018. DATA INPUT/OUTPUT517Unnecessary saved files can be deleted from a memory card.Deleting files1Press the rightmost soft key (next–menu key) on the ALL IOscreen, described in Section 8.11.1.2Press soft key [M–CARD].3Place the CNC in the emergency stop state.4When a mem...

  • Page 538

    OPERATION8. DATA INPUT/OUTPUTB–63124EN/01518MessageDescriptionINSERT MEMORY CARD.No memory card is inserted.UNUSABLE MEMORY CARDThe memory card does not contain device information.FORMAT MEMORY CARD.The memory card is not formatted. Format the memory card before use.THE FILE IS UNUSABLE.The fo...

  • Page 539

    OPERATIONB–63124EN/018. DATA INPUT/OUTPUT519CodeMeaning102The memory card does not have sufficient free space.105No memory card is mounted.106A memory card is already mounted.110The specified directory cannot be found.111There are too many files under the root directory to allow adirectory to b...

  • Page 540

    OPERATION8. DATA INPUT/OUTPUTB–63124EN/01520By setting the I/O channel (parameter No. 20) to 4, files on a memory cardcan be referenced, and different types of data such as part programs,parameters, and offset data on a memory card can be input and output intext file format.The major functions ...

  • Page 541

    OPERATIONB–63124EN/018. DATA INPUT/OUTPUT521Displaying a directory of stored files1Press the EDIT switch on the machine operator’s panel.2Press function key PROG.3Press the rightmost soft key (next–menu key).4Press soft key [CARD]. The screen shown below is displayed. Usingpage keys and...

  • Page 542

    OPERATION8. DATA INPUT/OUTPUTB–63124EN/01522Searching for a file1Press the EDIT switch on the machine operator’s panel.2Press function key PROG.3Press the rightmost soft key (next–menu key).4Press soft key [CARD]. The screen shown below is displayed.PROG(OPRT)DIR +DIRECTORY (M–CARD) N...

  • Page 543

    OPERATIONB–63124EN/018. DATA INPUT/OUTPUT523Reading a file1Press the EDIT switch on the machine operator’s panel.2Press function key PROG.3Press the rightmost soft key (next–menu key).4Press soft key [CARD]. Then, the screen shown below is displayed.PROG(OPRT)DIR +DIRECTORY (M–CARD...

  • Page 544

    OPERATION8. DATA INPUT/OUTPUTB–63124EN/015248To specify a file with its file name, press soft key [N READ] in step 6above. The screen shown below is displayed.F NAMEEXECSTOPO SETCANDIRECTORY (M–CARD) No.FILE NAMECOMMENTO0001 N000100012O0050(MAIN PROGRAM)0013 TESTPRO(SUB PROGRAM–1)0014O00...

  • Page 545

    OPERATIONB–63124EN/018. DATA INPUT/OUTPUT525Writing a file1Press the EDIT switch on the machine operator’s panel.2Press function key PROG.3Press the rightmost soft key (next–menu key).4Press soft key [CARD]. The screen shown below is displayed.PROG(OPRT)DIR +DIRECTORY (M–CARD) No.FILE...

  • Page 546

    OPERATION8. DATA INPUT/OUTPUTB–63124EN/01526When a file having the same name is already registered in the memorycard, the existing file will be overwritten.To write all programs, set program number = –9999. If no file name isspecified in this case, file name PROGRAM.ALL is used for registrat...

  • Page 547

    OPERATIONB–63124EN/018. DATA INPUT/OUTPUT527Deleting a file1Press the EDIT switch on the machine operator’s panel.2Press function key PROG.3Press the rightmost soft key (next–menu key).4Press soft key [CARD]. The screen shown below is displayed.PROG(OPRT)DIR +DIRECTORY (M–CARD) No.FIL...

  • Page 548

    OPERATION8. DATA INPUT/OUTPUTB–63124EN/01528Batch input/output with a memory cardOn the ALL IO screen, different types of data including part programs,parameters, offset data, pitch error data, custom macros, and workpiececoordinate system data can be input and output using a memory card; thesc...

  • Page 549

    OPERATIONB–63124EN/018. DATA INPUT/OUTPUT529When this screen is displayed, the program data item is selected. The softkeys for other screens are displayed by pressing the rightmost soft key (next–menu key). Soft key [M–CARD] represents a separatememory card function for saving and restori...

  • Page 550

    OPERATION8. DATA INPUT/OUTPUTB–63124EN/01530File format and error messagesAll files that are read from and written to a memory card are of text format.The format is described below.A file starts with % or LF, followed by the actual data. A file always endswith %. In a read operation, data bet...

  • Page 551

    OPERATIONB–63124EN/018. DATA INPUT/OUTPUT531CodeMeaning102The memory card does not have sufficient free space.105No memory card is mounted.106A memory card is already mounted.110The specified directory cannot be found.111There are too many files under the root directory to allow adirectory to b...

  • Page 552

    OPERATION9. EDITING PROGRAMSB–63124EN/015329 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 553

    OPERATIONB–63124EN/019. EDITING PROGRAMS533This 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 554

    OPERATION9. EDITING PROGRAMSB–63124EN/01534A 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 555

    OPERATIONB–63124EN/019. EDITING PROGRAMS535Procedure for searching a wordExample) of Searching for T12PROGRAMO0050 N01234O0050 ;X100.0 Y1250.0 ;T12 ;N56789 M03 ;M02 ;%N01234N01234 is beingsearched for/scanned currently.T12 is searchedfor.1Key in addressT .2Key in 12 .⋅T12 cannot be se...

  • Page 556

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

  • Page 557

    OPERATIONB–63124EN/019. EDITING PROGRAMS537Procedure 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 Y1250.ProgramO0050 N01234O0050 ;N0123...

  • Page 558

    OPERATION9. EDITING PROGRAMSB–63124EN/01538Procedure 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 Y1250.0T12 ;N56...

  • Page 559

    OPERATIONB–63124EN/019. EDITING PROGRAMS539Procedure 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 ;N01234T12 ;N56789 M03 ;M02 ;%X100.0X100.0 issearched for/scanned.Y1250.0 M...

  • Page 560

    OPERATION9. EDITING PROGRAMSB–63124EN/01540A 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 561

    OPERATIONB–63124EN/019. EDITING PROGRAMS541The 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 562

    OPERATION9. EDITING PROGRAMSB–63124EN/01542NOTESpecifying the deletion of too many blocks may result in aP/S alarm (No. 070) being issued. In such a case, reducethe number of blocks to be deleted.

  • Page 563

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

  • Page 564

    OPERATION9. EDITING PROGRAMSB–63124EN/01544Sequence 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 searched...

  • Page 565

    OPERATIONB–63124EN/019. EDITING PROGRAMS545Those 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 566

    OPERATION9. EDITING PROGRAMSB–63124EN/01546Programs 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 567

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

  • Page 568

    OPERATION9. EDITING PROGRAMSB–63124EN/01548With 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 :S All or part of a program can be copied or move...

  • Page 569

    OPERATIONB–63124EN/019. EDITING PROGRAMS549A 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 570

    OPERATION9. EDITING PROGRAMSB–63124EN/01550A 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 571

    OPERATIONB–63124EN/019. EDITING PROGRAMS551A 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 572

    OPERATION9. EDITING PROGRAMSB–63124EN/01552Another 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 573

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

  • Page 574

    OPERATION9. EDITING PROGRAMSB–63124EN/01554Alarm no.Contents70101Memory became insufficient while copying or insertinga program. Copy or insertion is terminated.The power was interrupted during copying, moving, orinserting a program and memory used for editing mustbe cleared. When this alarm o...

  • Page 575

    OPERATIONB–63124EN/019. EDITING PROGRAMS555[CHANGE]X100 [BEFORE] Y200[AFTER][EXEC][CHANGE]X100Y200 [BEFORE]X30 [AFTER][EXEC][CHANGE]IF [BEFORE] WHILE [AFTER][EXEC][CHANGE]X [BEFOR] ,C10 [AFTER][EXEC]The following custom macro words are replaceable:IF, WHILE, GOTO, END, DO, BPRNT, DPRINT, POPEN,...

  • Page 576

    OPERATION9. EDITING PROGRAMSB–63124EN/01556Unlike 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 577

    OPERATIONB–63124EN/019. EDITING PROGRAMS557Editing 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 578

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

  • Page 579

    OPERATIONB–63124EN/019. EDITING PROGRAMS559The 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 580

    OPERATION10. CREATING PROGRAMSB–63124EN/0156010 CREATING PROGRAMSPrograms can be created using any of the following methods:⋅ MDI keyboard⋅ CONVERSATIONAL PROGRAMMING INPUT WITH GRAPHICFUNCTION⋅ AUTOMATIC PROGRAM PREPARATION DEVICE (FANUCSYSTEM P)This chapter describes creating programs u...

  • Page 581

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

  • Page 582

    OPERATION10. CREATING PROGRAMSB–63124EN/01562Sequence 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 583

    OPERATIONB–63124EN/0110. CREATING PROGRAMS5639Press 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 584

    OPERATION10. CREATING PROGRAMSB–63124EN/01564Programs 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 585

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

  • Page 586

    OPERATION10. CREATING PROGRAMSB–63124EN/01566When no keys are pressed, the standard details screen is displayed.PROGRAMO0010 N00000STANDARD FORMAT G G G G X Y C I J K P Q R F M S T D L H ;EDIT **** *** ***11:5...

  • Page 587

    OPERATIONB–63124EN/0110. CREATING PROGRAMS5671Move 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 588

    OPERATION11. SETTING AND DISPLAYING DATAB–63124EN/0156811 SETTING AND DISPLAYING DATATo operate a CNC machine tool, various data must be set on the LCD/MDIpanel for the CNC. The operator can monitor the state of operation withdata displayed during operation.This chapter describes how to displa...

  • Page 589

    OPERATIONB–63124EN/0111. SETTING AND DISPLAYING DATA569POSScreen transition triggered by the function key POSPOSITION DISPLAY SCREENCurrent position screenPosition display ofwork coordinatesystemåSee subsec. 11.1.1.Display of partcount and runtimeåSee subsec. 11.1.5.Display of actualspeedåSe...

  • Page 590

    OPERATION11. SETTING AND DISPLAYING DATAB–63124EN/01570Program screenDisplay of program contentsåSee subsec. 11.2.1.Display of currentblock and modaldataåSee subsec. 11.2.2.PRGRMCHECKCURRNTNEXT(OPRT)PROGScreen transition triggered by the function keyin the MEMORY or MDI modePROGPROGRAM SCREEN...

  • Page 591

    OPERATIONB–63124EN/0111. SETTING AND DISPLAYING DATA571Program editingscreenåSee chapter 10Program memoryand program directoryåSee subsec. 11.3.1.PRGRMLIBC.A.P.(OPRT)PROGEDITConversationalprogrammingscreenåSee chapter 10FLOPPY(OPRT)EDITFile directoryscreen forfloppy disksåSee chapter 9Progr...

  • Page 592

    OPERATION11. SETTING AND DISPLAYING DATAB–63124EN/01572Software operator's panel switchåSee subsec. 11.4.9.Tool offset valueDisplay of tooloffsetvalueåSee subsec. 11.4.1.OFFSETSETTINGWORK(OPRT)Screen transition triggered by the function keyOFFSETSETTINGOFFSETSETTINGOFFSET/SETTING SCREENDispla...

  • Page 593

    OPERATIONB–63124EN/0111. SETTING AND DISPLAYING DATA573Tool data, Safety zoneDisplay of tooldataåSee subsec. 11.4.3.TOOLM.TOOLSAFETY(OPRT)Display of multipleåSee subsec.11.4.3.6Setting tooldataSetting safetyzoneDisplay of safetyzoneåSee subsec. 11.4.4.Setting multipletool

  • Page 594

    OPERATION11. SETTING AND DISPLAYING DATAB–63124EN/01574Parameter screenPARAMDGNOSSYSTEM(OPRT)PITCH(OPRT)SYSTEMSYSTEMSYSTEM SCREENPMCDisplay of parameter screenåsee Subsec.11.5.1.Setting of parameteråsee Subsec.11.5.1.Display of diagnosis screenåSee chapter 7SV.PRMDisplay of pitcherror dataå...

  • Page 595

    OPERATIONB–63124EN/0111. SETTING AND DISPLAYING DATA575The table below lists the data set on each screen.Table11 Setting screens and data on themNo.Setting screenContents of settingReferenceitem1Tool offset valueCutter compensation valueSubsec. 11.4.12Setting data(handy)Parameter writeTV checkP...

  • Page 596

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

  • Page 597

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

  • Page 598

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

  • Page 599

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

  • Page 600

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

    OPERATIONB–63124EN/0111. SETTING AND DISPLAYING DATA581Relative coordinates cannot be displayed together with absolutecoordinates whenever there are five or more controlled axes. Pressing the[ALL] soft key toggles the display between absolute and relativecoordinates.A workpiece coordinate syst...

  • Page 602

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

  • Page 603

    OPERATIONB–63124EN/0111. SETTING AND DISPLAYING DATA583The 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 604

    OPERATION11. SETTING AND DISPLAYING DATAB–63124EN/01584The reading on the load meter can be displayed for each servo axis bysetting bit 5 (OPM) of parameter 3111 to 1. Procedure for displaying the operating monitor1Press function key POS to display a current position display screen.2Press the c...

  • Page 605

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

  • Page 606

    OPERATION11. SETTING AND DISPLAYING DATAB–63124EN/01586This 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 607

    OPERATIONB–63124EN/0111. SETTING AND DISPLAYING DATA587Displays the program currently being executed in MEMORY or MDImode.Procedure for displaying the program contents1Press function key PROG to display a current position display screen.2Press chapter selection soft key [PRGRM].The cursor is po...

  • Page 608

    OPERATION11. SETTING AND DISPLAYING DATAB–63124EN/01588Displays 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 609

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

  • Page 610

    OPERATION11. SETTING AND DISPLAYING DATAB–63124EN/01590Displays 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 611

    OPERATIONB–63124EN/0111. SETTING AND DISPLAYING DATA591The program check screen is not provided for 9.5″/10.4″ LCD. Press softkey [PRGRM] to display the contents of the program on the right half ofthe screen. The block currently being executed is indicated by the cursor.The current positi...

  • Page 612

    OPERATION11. SETTING AND DISPLAYING DATAB–63124EN/01592Displays 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 613

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

  • Page 614

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

  • Page 615

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

  • Page 616

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

  • Page 617

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

  • Page 618

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

  • Page 619

    OPERATIONB–63124EN/0111. SETTING AND DISPLAYING DATA599EDIT *** *** *** ***16:52:13[INS–TM][ ][ ][ ][ ]PROGRAMO0260 N0000O0260 (SHAFT XSF302) (001H15M59S) (001H20M01S) ;N10 G92 X100. Y10. ;N20 S1500 M03 ;N30 G00 X20.5 Y5. T0101 ;N40 G01 Y–10. F25. ;N50 G02 X16.5 Y...

  • Page 620

    OPERATION11. SETTING AND DISPLAYING DATAB–63124EN/01600EDIT *** *** *** ***16:52:13[INS–TM][ ][ ][ ][ ]PROGRAMO0280 N0000O0280 (SHAFT XSF303) (1H10M59S)N10 G92 X100. Y10. ;N20 S1500 M03 ;N30 G00 X20.5 Y5. T0101 ;N40 G01 Y–10. F25. ;N50 G02 X16.5 Y–12. R2. ;N60 G01...

  • Page 621

    OPERATIONB–63124EN/0111. SETTING AND DISPLAYING DATA601This 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 library screen (displaysmemory used and a list of programs). Pres...

  • Page 622

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

  • Page 623

    OPERATIONB–63124EN/0111. SETTING AND DISPLAYING DATA603Immediately after all programs are cleared (by turning on the power whilepressing the DELETE key), each program is registered after the last programin the list.If some programs in the list were deleted, then a new program isregistered, the ...

  • Page 624

    OPERATION11. SETTING AND DISPLAYING DATAB–63124EN/01604Press 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 625

    OPERATIONB–63124EN/0111. SETTING AND DISPLAYING DATA605Cutter compensation values are specified by D codes in a program.Compensation values corresponding to D codes are displayed or set on thescreen.Procedure for setting and displaying the cutter compensation value1Press function key OFFSETSETT...

  • Page 626

    OPERATION11. SETTING AND DISPLAYING DATAB–63124EN/01606A decimal point can be used when entering a compensation value.An external input/output device can be used to input or output a cuttercompensation value. See Chapter 8.OFFSETNO.DATANO.DATA 001 0.000 017 0.000 002 0.000 018 0.000 003 0.000 ...

  • Page 627

    OPERATIONB–63124EN/0111. SETTING AND DISPLAYING DATA607Data 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 628

    OPERATION11. SETTING AND DISPLAYING DATAB–63124EN/016084Move 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 629

    OPERATIONB–63124EN/0111. SETTING AND DISPLAYING DATA609Items concerning tools, such as the number of a tool to be used inmachining, the position at which the turret is indexed for a tool, and toolposition compensation, can be displayed or specified on the toolregistration screens. Refer to the...

  • Page 630

    OPERATION11. SETTING AND DISPLAYING DATAB–63124EN/01610(b) Number of tools for which the turret is indexed (parameter No. 16266)When T-axis control is specified (TCL, bit 4 of parameter No. 16260,is set to 1), specify the total number of tools for which the turret isindexed. The setting must n...

  • Page 631

    OPERATIONB–63124EN/0111. SETTING AND DISPLAYING DATA611The numbers of the tools to be used, tool position compensation, andturret positions (mechanical positions around the T-axis) indexed for toolscan be displayed and specified.(1) Displaying the screen1 Press the OFFSETSETTINGfunction key.2 P...

  • Page 632

    OPERATION11. SETTING AND DISPLAYING DATAB–63124EN/016125 For absolute programming, enter the data and press the [INPUT]soft key.For incremental programming, enter an increment or decrementand press the [+INPUT] soft key.Data items to be entered are as follows:(a) Tool numberSpecify the numbers ...

  • Page 633

    OPERATIONB–63124EN/0111. SETTING AND DISPLAYING DATA613When the tool change function is used, the numbers of tools to besubstituted for tools registered on the tool number registration screen(Item 11.4.3.2) can be displayed and specified.(1) Displaying the screen1 Press the OFFSETSETTINGfunctio...

  • Page 634

    OPERATION11. SETTING AND DISPLAYING DATAB–63124EN/01614Method 2Change the mode of the soft keys to the operation selection modeusing the [(OPERATION)] soft key. Enter the registration numberof the tool for which data is to be changed, then press the[NO.SEARCH] soft key.5 For absolute programmi...

  • Page 635

    OPERATIONB–63124EN/0111. SETTING AND DISPLAYING DATA6153 Display the screen for the number of punch operations by followingthe steps described in (1).4 Move the cursor to an item to be changed.Method 1Move the cursor to the item to be changed with the page keys andcursor keys.Method 2Change the...

  • Page 636

    OPERATION11. SETTING AND DISPLAYING DATAB–63124EN/01616(2) Setting items from the MDI1 Set the mode to MDI.2 Press the OFFSETSETTINGfunction key. Then press the [SETTING] soft keyto enable the parameter write operation. The CNC indicates alarmNo. 100.3 Display the tool figure registration scr...

  • Page 637

    OPERATIONB–63124EN/0111. SETTING AND DISPLAYING DATA617When the optional function for controlling multiple tools is used, sub-toolnumbers, the angles used for indexing the turret for sub-tools, andposition compensation along the Y-axis can be displayed and specified.(1) Displaying the screen1 P...

  • Page 638

    OPERATION11. SETTING AND DISPLAYING DATAB–63124EN/016185 For absolute programming, enter the data and press the [INPUT]soft key.For incremental programming, enter an increment or decrementand press the [+INPUT] soft key.Sub-tool registration data items to be entered are as follows:(a) Sub-tool ...

  • Page 639

    OPERATIONB–63124EN/0111. SETTING AND DISPLAYING DATA619(2) Setting items from the MDI1 Set the mode to MDI.2 Press the OFFSETSETTINGfunction key. Then press the [SETTING] soft keyto enable the parameter write operation. The CNC indicates alarmNo. 100.3 Display the tool figure registration scr...

  • Page 640

    OPERATION11. SETTING AND DISPLAYING DATAB–63124EN/01620Tool data can be customized, as listed below, by specifying parameters.Individual tools cannot have more than one setting. All registered toolswill have the same setting.Size (byte)Data024DescriptionTool number×ff2 bytes: T command havin...

  • Page 641

    OPERATIONB–63124EN/0111. SETTING AND DISPLAYING DATA621Select this when drawing a tool using the graphic function. Each toolrequires 13 bytes of data.Figure data: 1 byteVertical dimension data: 4 bytesHorizontal dimension data : 4 bytesAngle data: 4 bytesSelect this when using the tool lif...

  • Page 642

    OPERATION11. SETTING AND DISPLAYING DATAB–63124EN/01622When the optional safety zone check function is used, the current safetyzone can be displayed and changed.(1) Displaying the screen1 Press the OFFSETSETTINGfunction key.2 Press the menu key several times until the [SAFETY] softkey appears....

  • Page 643

    OPERATIONB–63124EN/0111. SETTING AND DISPLAYING DATA623Safety zoneY dimension of toolX dimension of toolX2#1#1#2#3#40Y#4Y#3Y#2Y#1X1#1X2#2X1#2X2#3X1#3X2#4X1#4Origin of the workppiece coordinate system(a) Safety zone #n (n: 1 to 4) (parameters No. 16505 to No. 16516)Up to four safety zones can b...

  • Page 644

    OPERATION11. SETTING AND DISPLAYING DATAB–63124EN/01624If 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 645

    OPERATIONB–63124EN/0111. SETTING AND DISPLAYING DATA625After 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 646

    OPERATION11. SETTING AND DISPLAYING DATAB–63124EN/01626Various 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 647

    OPERATIONB–63124EN/0111. SETTING AND DISPLAYING DATA627This 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 648

    OPERATION11. SETTING AND DISPLAYING DATAB–63124EN/01628Displays 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 649

    OPERATIONB–63124EN/0111. SETTING AND DISPLAYING DATA629This 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 650

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

  • Page 651

    OPERATIONB–63124EN/0111. SETTING AND DISPLAYING DATA631Displays common variables (#100 to #149 or #100 to #199, and #500 to#531 or #500 to #999) on the screen. When the absolute value for acommon variable exceeds 99999999, ******** is displayed. The valuesfor variables can be set on this scre...

  • Page 652

    OPERATION11. SETTING AND DISPLAYING DATAB–63124EN/01632With 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 653

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

  • Page 654

    OPERATION11. SETTING AND DISPLAYING DATAB–63124EN/01634When 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 655

    OPERATIONB–63124EN/0111. SETTING AND DISPLAYING DATA635When 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 656

    OPERATION11. SETTING AND DISPLAYING DATAB–63124EN/01636Procedure 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 657

    OPERATIONB–63124EN/0111. SETTING AND DISPLAYING DATA637If 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 658

    OPERATION11. SETTING AND DISPLAYING DATAB–63124EN/01638Procedure for displaying and setting the pitch error compensation data1Set the following parameters:S Number of the pitch error compensation point at the referenceposition (for each axis): Parameter 3620S Number of the pitch error compensa...

  • Page 659

    OPERATIONB–63124EN/0111. SETTING AND DISPLAYING DATA639The 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 660

    OPERATION11. SETTING AND DISPLAYING DATAB–63124EN/01640The current mode, automatic operation state, alarm state, and programediting state are displayed on the next to last line on the screen allowingthe operator to readily understand the operation condition of the system.If data setting or the ...

  • Page 661

    OPERATIONB–63124EN/0111. SETTING AND DISPLAYING DATA641hh:mm:ss – Hours, minutes, and secondsINPUT: Indicates that data is being input.OUTPUT : Indicates that data is being output.SRCH: Indicates that a search is being performed.EDIT: Indicates that another editing operation is being perfo...

  • Page 662

    OPERATION11. SETTING AND DISPLAYING DATAB–63124EN/01642By pressing the function key MESSAGE, data such as alarms, alarm historydata, and external messages can be displayed.For information relating to alarm display, see Section III.7.1. Forinformation relating to alarm history display, see Sec...

  • Page 663

    OPERATIONB–63124EN/0111. SETTING AND DISPLAYING DATA643When 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 664

    OPERATION11. SETTING AND DISPLAYING DATAB–63124EN/01644Displaying the same characters in the same positions on the screen causesa LCD to degrade relatively quickly. To help prevent this, the screen canbe cleared by pressing specific keys. It is also possible to specify theautomatic clearing o...

  • Page 665

    OPERATIONB–63124EN/0111. SETTING AND DISPLAYING DATA645The 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 666

    12. GRAPHICS FUNCTIONB–63124EN/01OPERATION64612 GRAPHICS FUNCTIONWhen programming is completed, the optional graphic function can beused to check whether machining will be performed as desired withoutoperating the machine by drawing the programmed tool path andmachining profile on the graphic d...

  • Page 667

    OPERATIONB–63124EN/0112. GRAPHICS FUNCTION647The following flowchart shows an example of drawing a programmedfigure on the screen. Refer to the flowchart if you forget the procedure.Enter the EDIT mode and correct the program. IncorrectCorrectCorrect program?StartMachine ready for machiningRec...

  • Page 668

    12. GRAPHICS FUNCTIONB–63124EN/01OPERATION648To draw a machining profile, register the dimensions of the tool on thetool figure registration screen.12.2REGISTERING THETOOL FIGURE

  • Page 669

    OPERATIONB–63124EN/0112. GRAPHICS FUNCTION649Specify the parameters for graphic drawing.(1) Procedure1 Press the function key GRAPH. The graphic parameter setting screenappears. If it does not appear, press the soft key [PARA].GRAPHIC PARAMETERO1234 N00200 AXES ( 0,1,2,3,4 )P= 0 RANG...

  • Page 670

    12. GRAPHICS FUNCTIONB–63124EN/01OPERATION650(a) Drawing planeThis parameter specifies a plane for drawing.XYP=0P=1P=2P=30YYYXXX000(b) Drawing range (maximum and minimum values)This parameter specifies the desired drawing range for each axis usingthe maximum and minimum values. Specifying thes...

  • Page 671

    OPERATIONB–63124EN/0112. GRAPHICS FUNCTION651(f) Automatic deletion1 : Previously drawn figures are automatically deleted when automaticoperation is started in the reset state.0 : Previously drawn figures are not automatically deleted.(g) Drawing start positionWhen a coordinate system command, ...

  • Page 672

    12. GRAPHICS FUNCTIONB–63124EN/01OPERATION652(i) Rapid traverse1 : A tool path for rapid traverse is drawn as a dotted line.0 : No tool path for a rapid traverse is drawn.GRAPHICO1234 N00200X 0.000Y 0.000 123.076MEM **** *** ***16:25:42[ START ][ STOP ][ SBK ][ SEQ. ][ ERASE ...

  • Page 673

    OPERATIONB–63124EN/0112. GRAPHICS FUNCTION653(k) Length of a workpiece holderThis parameter specifies the horizontal length and vertical length of aworkpiece holder.(Setting: 0 to"99999999, unit is specified in the parameter)XYNOTEWhen an optional safety zone check function is provided,da...

  • Page 674

    12. GRAPHICS FUNCTIONB–63124EN/01OPERATION6541) Drawing screenPress [GRAPH] key after pressing GRAPH key, the following graphicdisplay screen appears.GRAPHICO1234 N00200X 0.000Y 0.000 123.076MEM **** *** ***16:24:05[ START ][ STOP ][ SBK ][ SEQ. ][ ERASE ]YXBe selecting this ...

  • Page 675

    OPERATIONB–63124EN/0112. GRAPHICS FUNCTION655GRAPHICO1234 N00200X 0.000Y 0.000 123.076MEM **** *** ***16:24:05[ START ][ STOP ][ SBK ][ SEQ. ][ ERASE ]YX3 Depress [SEQ] and [START] keys (continuous drawing). ....Drawing is started and continued up to the end of the NC progra...

  • Page 676

    12. GRAPHICS FUNCTIONB–63124EN/01OPERATION656Since drawing is done under such a condition as MACHINE LOCK,the modal information, absolute coordinate value, etc. are updated.When the mode is switched from the machining operation mode to thedrawing mode, the following information is stored.(1) Re...

  • Page 677

    OPERATIONB–63124EN/0112. GRAPHICS FUNCTION657Set drawing parameters for drawing the following NC program asfollows.650mm1100mm: 00002 ; (NC program)G92X1270. Y1270. ;G76I40. J90. K8T02 ;G72X800. Y400. ;G90G00X15. Y15. T02 ;G72X1050. Y200. ;G77I150. J90. P-5K18 ;X1085. Y15. ;G76I40. ...

  • Page 678

    12. GRAPHICS FUNCTIONB–63124EN/01OPERATION658GRAPHIC PARAMETERO1234 N00200 START POINT X= 0Y= 0 Z= 0 WORK LENGTH X= 1100000Y= 650000 RAPID PATH (1:ON 0:OFF)P= 0 HOLDER POSITIONHOLDER LENGTH X1= 300000X= 40000 Y= 20000 X2= 700000X= 40000 Y...

  • Page 679

    OPERATIONB–63124EN/0113. HELP FUNCTION65913 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 680

    OPERATION13. HELP FUNCTIONB–63124EN/016602Press soft key [ALM] on the HELP (INITIAL MENU) screen to displaydetailed information about an alarm currently beingraised.Normal explana–tion on alarmFig.13(b) ALARM DETAIL Screen when Alarm P/S 027 is issuedFunction classificationAlarm detailsAlarm ...

  • Page 681

    OPERATIONB–63124EN/0113. HELP FUNCTION6613To 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 682

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

  • Page 683

    OPERATIONB–63124EN/0113. HELP FUNCTION663The current page No. is shown at the upper right corner on the screen.Fig.13(j) PARAMETER TABLE screenHELP (PARAMETER TABLE)01234 N000011/4* SETTEING(No. 0000∼)* READER/PUNCHER INTERFACE(No. 0100∼)* AXIS CONTROL/SETTING UNIT(No. 1000∼)* COORDINATE...

  • Page 684

    IV. MAINTENANCE

  • Page 685

    MAINTENANCEB–63124EN/011. METHOD OF REPLACING BATTERY6671 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 ALKALINE DRY CELLS (SIZE D)1.2 USE OF ALKALINE DRY...

  • Page 686

    MAINTENANCE1. METHOD OF REPLACING BATTERYB–63124EN/016681 Obtain a new lithium battery (ordering drawing number:A02B–0200–K102).2 Turn the Series 16i/18i/160i/180i on for about 30 seconds.3 Turn the Series 16i/18i/160i/180i off.4 Remove the old battery from the top of the CNC control unit.F...

  • Page 687

    MAINTENANCEB–63124EN/011. METHOD OF REPLACING BATTERY669Dispose of used batteries as follows:(1) Small quantities (less than 10)Discharge the batteries and dispose of them as ordinary unburnablewaste.(2) Large quantitiesPlease consult FANUC.

  • Page 688

    MAINTENANCE1. METHOD OF REPLACING BATTERYB–63124EN/016701 Obtain two new alkaline dry cells (size D).2 Turn the Series 16i/18i/160i/180i on.3 Remove the battery case cover.4 Replace the batteries, paying careful attention to their orientation.5 Replace the battery case cover.NOTEWhen replacing ...

  • Page 689

    MAINTENANCEB–63124EN/011. METHOD OF REPLACING BATTERY671Power from external batteries is supplied through the same connector asthat to which the lithium battery is connected. The lithium battery,provided as standard, can be replaced with external batteries in a batterycase (A02B–0236–C281)...

  • Page 690

    MAINTENANCE1. METHOD OF REPLACING BATTERYB–63124EN/01672One battery unit can maintain the current position data held in an absolutepulse coder for about one year.When the battery voltage falls, APC alarms 306 to 308 are displayed onthe screen. When APC alarm 307 is displayed, replace the batte...

  • Page 691

    APPENDIX

  • Page 692

    APPENDIXB–63124EN/01A. TAPE CODE LIST675A TAPE CODE LISTISO codeEIA codeMeaningCharacter 8 7 6 5 43 2 1Character 8 7 6 5 43 2 1WithoutCUSTOMMACURO BWithCUSTOMMACRO B0f ff0ffNumber 01ff fff1ff Number 12ff fff2ffNumber 23f fff f3fff f Number 34ff fff4ffNumber 45f ffff5ffff Number 56f fff f6fff fN...

  • Page 693

    APPENDIXA. TAPE CODE LISTB–63124EN/01676ISO codeEIA codeMeaningCharacter 8 7 6 5 43 2 1Character8 7 6 5 43 2 1WithoutCUSTOMMACRO BWithCUSTOMMACRO BDELf f f f f ff f fDelf f f f ff f f××NULfBlankf××BSff fBSff ff××HTf ffTabf f f ff f××LF or NLf ffCR or EOBffCRff fff___××SPfffSPffjj%ffff...

  • Page 694

    APPENDIXB–63124EN/01A. TAPE CODE LIST677NOTE1 The symbols used in the remark column have the following meanings.(Space) : The character will be registered in memory and has a specific meaning.It it is used incorrectly in a statement other than a comment, an alarm occurs.×: The character will n...

  • Page 695

    APPENDIXB. LIST OF FUNCTIONS AND TAPE FORMATB–63124EN/01678B LIST OF FUNCTIONS AND TAPE FORMATSome functions cannot be added as options depending on the model.FunctionsIllustrationTape formatPositioning (G00)Start pointIPG00X_Y_C_ ;Linear interpolation (G01)Start pointIPG01X_Y_F_ ;Circular int...

  • Page 696

    APPENDIXB–63124EN/01B. LIST OF FUNCTIONS AND TAPEFORMAT679FunctionsTape formatIllustrationChange of offset value by pro-gram (G10)G10 P_R_;Cutter compensation C (G40 – G42)ÇÇÇÇÇÇÇÇÇÇÇÇÇÇÇÇÇÇÇÇÇÇÇÇÇÇÇÇÇÇG41G42G40ToolG40G41G42D : Tool offsetX_Y_D_ ;Normal–line ...

  • Page 697

    APPENDIXB. LIST OF FUNCTIONS AND TAPE FORMATB–63124EN/01680FunctionsTape formatIllustrationSetting in workcoordinate sytem(X, Y)Work coordinatesystemMachine coordinatesystemWork zero point offsetG54 : G59X_Y_ ;Pattern function(G26, G76, G77, G78, G79,G86, G87, G88, G89)Refer to “Pattern Fu...

  • Page 698

    APPENDIXB–63124EN/01B. LIST OF FUNCTIONS AND TAPEFORMAT681FunctionsTape formatIllustrationAutomatic repositioning(G75)XG75X_ ;Multi–piece machining function(G73, G74, G98)Refer to “Multi–piece machining”.G73G74W:Macro numberG98X_Y_I_P_J_K_ ;W_Q_ ;Coordinate rotation(G84, G85)θÂÂÂÂ...

  • Page 699

    APPENDIXC. RANGE OF COMMAND VALUEB–63124EN/01682C RANGE OF COMMAND VALUEIncrement systemIS–AIS–BLeast input increment0.01 mm0.001 mmLeast command increment0.01 mm0.001 mmMax. programmable dimension±999999.99 mm±99999.999 mmMax. rapid traverse Note 240000 mm/min240000 mm/minFeedrate rangeN...

  • Page 700

    APPENDIXB–63124EN/01C. RANGE OF COMMAND VALUE683Increment systemIS–AIS–BLeast input increment0.001 inch0.0001 inchLeast command increment0.001 inch0.0001 inchMax. programmable dimension±99999.999 inch±9999.9999 inchMax. rapid traverseNote 9600 inch/min9600 inch/minFeedrate rangeNote 0.01 ...

  • Page 701

    APPENDIXC. RANGE OF COMMAND VALUEB–63124EN/01684NOTEThe feedrate range shown above are limitations dependingon CNC interpolation capacity. As a whole system,limitations depending on servo system must also beconsidered.

  • Page 702

    B–63124EN/01D. NOMOGRAPHSAPPENDIX685D NOMOGRAPHS

  • Page 703

    D. NOMOGRAPHSB–63124EN/01APPENDIX686When 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 704

    B–63124EN/01D. NOMOGRAPHSAPPENDIX687The tool path shown in Fig. D.1 (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 705

    D. NOMOGRAPHSB–63124EN/01APPENDIX688Fig. D.1(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 706

    B–63124EN/01D. NOMOGRAPHSAPPENDIX689When 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 707

    APPENDIXE. STATUS WHEN TURNING POWER ON, WHEN CLEAR AND WHEN RESETB–63124EN/01690E 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 708

    APPENDIXB–63124EN/01E. STATUS WHEN TURNING POWER ON,WHEN CLEAR AND WHEN RESET691ItemResetClearedWhen turning power onOutput signalsCNC alarm signal ALExtinguish if there is nocause for the alarmExtinguish if there is nocause for the alarmExtinguish if there is nocause for the alarmReference pos...

  • Page 709

    APPENDIXF. CHARACTER–TO–CODE CORRESPONDENCE TABLEB–63124EN/01692F CHARACTER–TO–CODES CORRESPONDENCE TABLECharacterCodeCommentCharac-terCodeCommentA0656054B0667055C0678056D0689057E069032SpaceF070!033Exclamation markG071”034Quotation markH072#035Hash signI073$036Dollar signJ074%037Perce...

  • Page 710

    APPENDIXB–63124EN/01G. ALARM LIST693G ALARM LIST5) 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 AL...

  • Page 711

    APPENDIXG. ALARM LISTB–63124EN/01694NumberContentsMessage033NO SOLUTION AT CRCA point of intersection cannot be determined for cutter compensation C.Modify the program.034NO CIRC ALLOWED IN ST–UP /EXTBLKThe start up or cancel was going to be performed in the G02 or G03mode in cutter compensat...

  • Page 712

    APPENDIXB–63124EN/01G. ALARM LIST695NumberContentsMessage086DR SIGNAL OFFWhen entering data in the memory by using Reader / Puncher interface,the ready signal (DR) of reader / puncher was off.Power supply of I/O unit is off or cable is not connected or a P.C.B. is de-fective.087BUFFER OVERFLOWW...

  • Page 713

    APPENDIXG. ALARM LISTB–63124EN/01696NumberContentsMessage118PARENTHESIS NESTING ERRORThe nesting of bracket exceeds the upper limit (quintuple).Modify the program.119ILLEGAL ARGUMENTThe SQRT argument is negative, BCD argument is negative, or othervalues than 0 to 9 are present on each line of B...

  • Page 714

    APPENDIXB–63124EN/01G. ALARM LIST697NumberContentsMessage213ILLEGAL COMMAND IN SYNCHRO–MODEAny of the following alarms occurred in the operation with the simplesynchronization control.1) The program issued the move command to the slave axis.2) The program issued the manual continuous feed/man...

  • Page 715

    APPENDIXG. ALARM LISTB–63124EN/01698NumberContentsMessage4509ILLEGAL COMMAND IN CUT ATANGLEIn a cut-at-angle (G89) command, the traveling pitch (Q) was set to zero,negative value, or another value larger than or equal to the length (I).Alternatively, I, J, P, or Q was not specified.4510ILLEGAL ...

  • Page 716

    APPENDIXB–63124EN/01G. ALARM LIST699NumberContentsMessage4540MULTI-PIECE COMMAND WITHINMACROThe command for taking multiple workpieces (G73, G74) was specifiedwhen a U or V macro was being stored.4542MULTI-PIECE COMMAND ERRORAlthough G98P0 was specified, the G73 command was issued.Although G98K...

  • Page 717

    APPENDIXG. ALARM LISTB–63124EN/01700NumberContentsMessage5046ILLEGAL PARAMETER (ST.COMP)The parameter settings for straightness compensation contain an error.Possible causes are as follows:1. A parameter for a movement axis or compensation axis contains anaxis number which is not used.2. More t...

  • Page 718

    APPENDIXB–63124EN/01G. ALARM LIST7016) Background edit alarmNumberMessageContents???BP/S alarmBP/S alarm occurs in the same number as the P/S alarm that occurs inordinary program edit.140BP/S alarmIt was attempted to select or delete in the background a program beingselected in the foreground. ...

  • Page 719

    APPENDIXG. ALARM LISTB–63124EN/01702No.DescriptionMessage363n AXIS : ABNORMAL CLOCK (INT)A clock error occurred in the built–in pulse coder.364n AXIS : SOFT PHASE ALARM (INT) The digital servo software detected invalid data in the built–in pulsecoder.365n AXIS : BROKEN LED (INT)An LED error...

  • Page 720

    APPENDIXB–63124EN/01G. ALARM LIST7039) Servo alarmsNumberMessageContents400SERVO ALARM: n–TH AXIS OVER-LOADThe n–th axis (axis 1 to 8) overload signal is on. Refer to diagnosis dis-play No. 201 for details.401SERVO ALARM: n–TH AXIS VRDYOFFThe n–th axis (axis 1 to 8) servo amplifier REA...

  • Page 721

    APPENDIXG. ALARM LISTB–63124EN/01704NumberContentsMessage422SERVO ALARM: n AXISIn torque control of PMC axis control, a specified allowable speedhas been exceeded.423SERVO ALARM: n AXISIn torque control of PMC axis control, the parameter–set allowablecumulative travel distance has been exceed...

  • Page 722

    APPENDIXB–63124EN/01G. ALARM LIST705NumberContentsMessage449n AXIS : INV. IPM ALARM1) SVM: IPM (intelligent power module) detected an alarm.2)α series SVU: IPM (intelligent power module) detected an alarm.460n AXIS : FSSB DISCONNECTFSSB communication was disconnected suddenly. The possiblec...

  • Page 723

    APPENDIXG. ALARM LISTB–63124EN/01706#7ALD201#6#5#4EXP#3#2#1#0When OVL equal 1 in diagnostic data No.200 (servo alarm No. 400 isbeing generated):#7 (ALD) 0 : Motor overheating1 : Amplifier overheatingWhen FBAL equal 1 in diagnostic data No.200 (servo alarm No. 416 isbeing generated):ALDEXPAlarm ...

  • Page 724

    APPENDIXB–63124EN/01G. ALARM LIST70712) Safety zone alarmsNumberMessageContents4800ZONE : PUNCHING INHIBITED 1When a safety zone check was executed, a punch command wasspecified in area 1 where punching is inhibited.4801ZONE : PUNCHING INHIBITED 2When a safety zone check was executed, a punch c...

  • Page 725

    APPENDIXG. ALARM LISTB–63124EN/01708NumberContentsMessage4871AUTO SETTING PIECES ERRORIn safety zone auto setting, the safety zone pieces are not correct. Orthe position detector has gone wrong, please tell your machine toolbuilder.4872AUTO SETTING COMMANDERRORM code, S code or T code is specif...

  • Page 726

    APPENDIXB–63124EN/01G. ALARM LIST709NumberContentsMessage971NMI OCCURRED IN SLCAn alarm condition occurred in the interface with an I/O unit. For PMC–RA and PMC–RB, check that the PMC control module on the main CPUboard is conneted to the I/O unit securely. For PMC–RC, check that thePMC c...

  • Page 727

    APPENDIXH. OPERATION OF PORTABLE TAPE READERB–63124EN/01710H OPERATION OF PORTABLE TAPE READERPortable tape reader is the device which inputs the NC program and thedata on the paper tape to CNC.2. Optical reader12. Photoamplifier13. Reader/punch interface adapter11. Cable storage6. Handle...

  • Page 728

    APPENDIXB–63124EN/01H. OPERATION OF PORTABLE TAPE READER711No.DescriptionsName7WinderUsed to advance or rewind the tape.8Metal AFastener(usually kept open)When removing the rolled tape, reduce theinternal diameter by pushing the fastener.PushPaper tapePaper tapeInsert9Cover lockBe sure to use t...

  • Page 729

    APPENDIXH. OPERATION OF PORTABLE TAPE READERB–63124EN/01712Procedure for Operating the Portable Tape Reader1Unlock the cover locks 9. Raise the tape reader with the handle 6 untilit clicks, then lower the tape reader. The tape reader then appears andis secured. Check that the lowering lock l...

  • Page 730

    APPENDIXB–63124EN/01H. OPERATION OF PORTABLE TAPE READER713WARNINGSETTING OF A TAPEWhen the NC tape is loaded, the Label Skip functionactivates to read but skip data until first End of Block code(CR in EIA code or LF in ISO code) is read. When loadingan NC tape, the location within the tape, ...

  • Page 731

    APPENDIXI.GLOSSARYB–63124EN/01714I GLOSSARYTermDescription[A]Absolute linear scaleDetector for an absolute position on a straight line.Absolute position detectorDetector that indicates the absolute coordinates of a machine element, rela-tive to a selected origin.Absolute programmingMethod of pr...

  • Page 732

    APPENDIXB–63124EN/01I. GLOSSARY715TermDescriptionAutomatic reference position returnAutomatically feeding a specified axis to a reference position using a programcommand.Automatic tool length measurementIssuing an automatic measurement command to the CNC to move the tool tothe measurement posit...

  • Page 733

    APPENDIXI.GLOSSARYB–63124EN/01716TermDescription[C]C–axis controlControlling a tool angle using a C command.C–axis synchronous controlUsing two motors to synchronously control the punch and die of a tool underC–axis control.Calling a subprogram stored in externalmemoryCalling and executin...

  • Page 734

    APPENDIXB–63124EN/01I. GLOSSARY717TermDescriptionConversational automatic programmingfunctionProgramming by entering data in response to figures and guidance displayedon the screen,Conversational programming withgraphic functionInteractively programming blocks, one at a time, based on a G code ...

  • Page 735

    APPENDIXI.GLOSSARYB–63124EN/01718TermDescriptionDiameter programmingProgramming for turning in which the amount of movement along the X–axis(or coordinates) is represented using diameters.Dimension wordWord that represents an amount related to axis movement. It can be an axismovement destina...

  • Page 736

    APPENDIXB–63124EN/01I. GLOSSARY719TermDescriptionExternal I/O deviceDevice connected to the CNC to transfer programs and tool offset data withthe CNC.External motion functionOutputting a signal (external operation function signal) from the CNC eachtime a block in a program finishes positioning,...

  • Page 737

    APPENDIXI.GLOSSARYB–63124EN/01720TermDescriptionGroup numberCommon number assigned to G codes having similar functions. For example,group number 00 is assigned to one–shot G codes such as G04, G05 andG45.[H]H codeCoded number, following the H address, that specifies a tool offset number ina ...

  • Page 738

    APPENDIXB–63124EN/01I. GLOSSARY721TermDescriptionIndex table indexing functionIndexing on the index table of a machining center.Initial positionLevel in a hole axial direction to which positioning is performed for the firsttime during a canned hole machining cycle. Succeeding drills return to t...

  • Page 739

    APPENDIXI.GLOSSARYB–63124EN/01722TermDescriptionLinear axisAxis along which a machine element moves linearly with the X–, Y–, or Z–axisof the machine coordinate system, or axis parallel to that axis.Linear copyRepetitive machining performed by moving a subprogram–specified figure inpara...

  • Page 740

    APPENDIXB–63124EN/01I. GLOSSARY723TermDescriptionManual handle feedFeeding a specified controlled axis by rotating the handle to generate com-mand pulses.Manual handle interruptionManual handle feed performed during automatic operation, in such a way thatthe manual–feed amount is added to the...

  • Page 741

    APPENDIXI.GLOSSARYB–63124EN/01724TermDescriptionMulti–piece machining functionUsing simplified commands to punch out two or more products of the sameshape from a workpiece.MultibufferPreventing interpolation from being stopped between blocks by buffering mul-tiple blocks.Multiple M commands i...

  • Page 742

    APPENDIXB–63124EN/01I. GLOSSARY725TermDescriptionOperator message displayScreen used to inform the operator of the current machine status, and to dis-play prompts to the operator.Optional block skipAdding a “/”, followed by a number, to the beginning of a block so that thatblock can be sele...

  • Page 743

    APPENDIXI.GLOSSARYB–63124EN/01726TermDescriptionPlane conversion functionMachining in which a machining program created on a G17 plane is con-verted so that the resulting figure looks the same when viewed from anotherplane in an orthogonal coordinate system.Plane selectionSelecting a plane for ...

  • Page 744

    APPENDIXB–63124EN/01I. GLOSSARY727TermDescriptionProgram startSymbol signifying the start of a program.Program stopMiscellaneous function for temporarily stopping program execution.Programmable mirror imageThe ability, in the part program, to command mirror image of axes(is).Programmable parame...

  • Page 745

    APPENDIXI.GLOSSARYB–63124EN/01728TermDescriptionRigid tappingHigh–precision tapping achieved by controlling spindle rotation and drill axisfeed as two–axis linear interpolation so that no tapping pitch error occurs atthe bottom of the hole during acceleration/deceleration.Rotary axisAxis (s...

  • Page 746

    APPENDIXB–63124EN/01I. GLOSSARY729TermDescriptionSimple callCustom macro program calling in which a call instruction is issued each timethe program is to be executed.Simple conversational programmingCreating a program according to a menu displayed on a screen.Simple synchronous controlControlli...

  • Page 747

    APPENDIXI.GLOSSARYB–63124EN/01730TermDescriptionStart–upTool movement when cutter compensation is started in offset cancel mode.Status displayDisplaying the status of the CNC operation.Storage of macroRegistering a macro by placing the U address, followed by a two–digit num-ber, before two ...

  • Page 748

    APPENDIXB–63124EN/01I. GLOSSARY731TermDescriptionTH checkChecking whether the total number of 1 bits in a character is even or odd.Thread cuttingThreading performed by feeding the tool at the cutting feedrate, per minute,determined from spindle speeds that are read at constant intervals.Three...

  • Page 749

    APPENDIXI.GLOSSARYB–63124EN/01732TermDescriptionTool retract and recoverRetracting a tool from the workpiece, allowing the tool to be exchanged duringmachining (if broken) or the state of machining to be checked, and subse-quently repositioning the tool to restart machining.Tool selection func...

  • Page 750

    IndexB–63124EN/01i–1[A]Absolute and incremental programming (G90, G91),78Actual feedrate display, 582Alarm and self–diagnosis functions, 458Alarm display, 340, 459Alarm history display, 461Alarm list, 693Altering a word, 538Arc (G77), 145Arithmetic and logic operation, 266Automatic accelera...

  • Page 751

    IndexB–63124EN/01i–2Decimal point programming, 80Deleting a block, 540Deleting a word, 539Deleting all programs, 546Deleting blocks, 540Deleting files, 488Deleting more than one program by specifying arange, 547Deleting multiple blocks, 541Deleting one program, 546Deleting programs, 546Deleti...

  • Page 752

    B–63124EN/01Indexi–3Function keys and soft keys, 352Functions to simplify programming, 139[G]G00 command in nibbling mode, 96G01, G02, and G03 commands in nibbling mode, 97G53,G28,G30,G30.1 and G29 commands in cuttercompensation C mode, 224General screen operations, 352Glossary, 714Graphic di...

  • Page 753

    IndexB–63124EN/01i–4Manual handle feed, 387Manual handle interruption, 413Manual operation, 328, 381Manual punch, 438Manual reference position return, 382Maximum programmable dimension, 319Maximum stroke, 26MDI operation, 397Memory and call by A/B macro, 157Memory card input/output, 511Memory...

  • Page 754

    B–63124EN/01Indexi–5Programmable data entry (G10), 306Programmable parameter entry, 307Punch, 437Punch forbidden area and approach forbidden area(type A), 447Punch forbidden area and approach forbidden area(type B), 448Punch function (1–cycle pressing), 82[R]Radius (G88), 151Radius directio...

  • Page 755

    IndexB–63124EN/01i–6Storage and call of multiple macros (macro numbers90 to 99), 168Storage of macros, 164Stroke check, 442Stroke check before movement, 445Subprogram, 133Subprogram call function, 411Subprogram call using an M code, 284Subprogram calls using a T code, 285Supplementary explana...

  • Page 756

    Revision RecordFANUC Series 16i/18i/160i/180i–PA OPERATOR’S MANUAL (B–63124EN)01Sep., ’97EditionDateContentsEditionDateContents

  • Page 757

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

x