Navigation

  • Page 1

    FANUC Series 16*-LB FANUC Series 160*-LBOPERATOR’S MANUALB-63664EN/02

  • Page 2

    • No part of this manual may be reproduced in any form. • All specifications and designs are subject to change without notice. The export of this product is subject to the authorization of the government of the country from where the product is exported. In this manua...

  • Page 3

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

  • Page 4

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

  • Page 5

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

  • Page 6

    SAFETY PRECAUTIONSB–63664EN/02s–4CAUTION1. Immediately after switching on the power, do not touch any of the keys on the MDI panel untilthe position display or alarm screen appears on the CNC unit.Some of the keys on the MDI panel are dedicated to maintenance or other special operations.Press...

  • Page 7

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

  • Page 8

    SAFETY PRECAUTIONSB–63664EN/02s–6CAUTION1. Absolute/incremental modeIf a program created with absolute values is run in incremental mode, or vice versa, the machinemay behave unexpectedly.2. Plane selectionIf an incorrect plane is specified for circular interpolation, helical interpolation, o...

  • Page 9

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

  • Page 10

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

  • Page 11

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

  • Page 12

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

  • Page 13

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

  • Page 14

  • Page 15

    B–63664EN/02Table of Contentsc–1SAFETY PRECAUTIONSS–1. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . I. GENERAL1. GENERAL3. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . ...

  • Page 16

    B–63664EN/02Table of Contentsc–25. FEED FUNCTIONS62. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5.1GENERAL63. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . ...

  • Page 17

    B–63664EN/02Table of Contentsc–311.FUNCTIONS TO SIMPLIFY PROGRAMMING131. . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11.1OPTIONAL ANGLE CHAMFERING AND CORNER ROUNDING132. . . . . . . . . . . . . . . . . . . . . . . 11.2FIGURE COPY (G72.1, G72.2)135. . . . . . . . . . . . . . . . ....

  • Page 18

    B–63664EN/02Table of Contentsc–414.PROGRAMMABLE PARAMETER ENTRY (G10)286. . . . . . . . . . . . . . . . . . . . . . . . . . . 15.MEMORY OPERATION USING FS15 TAPE FORMAT288. . . . . . . . . . . . . . . . . . . . . . 16.HIGH SPEED CUTTING FUNCTIONS289. . . . . . . . . . . . . . . . . . . . . . ...

  • Page 19

    B–63664EN/02Table of Contentsc–519.7THREE–DIMENSIONAL TRANSFORM FUNCTION (G98, G99)398. . . . . . . . . . . . . . . . . . . . . . . . 19.8FEEDRATE CLAMP FUNCTION IN POSITION CONTROL B402. . . . . . . . . . . . . . . . . . . . . . . . . . . 19.9AUTOMATIC FEEDRATE OVERRIDE UNDER POSITION CONT...

  • Page 20

    B–63664EN/02Table of Contentsc–63.4MANUAL HANDLE FEED475. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3.5MANUAL ABSOLUTE ON AND OFF478. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . ....

  • Page 21

    B–63664EN/02Table of Contentsc–78. DATA INPUT/OUTPUT555. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8.1FILES556. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . ....

  • Page 22

    B–63664EN/02Table of Contentsc–89.2DELETING BLOCKS635. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9.2.1Deleting a Block635. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . ...

  • Page 23

    B–63664EN/02Table of Contentsc–911.4SCREENS DISPLAYED BY FUNCTION KEY OFFSETSETTING699. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11.4.1Setting and Displaying the Tool Offset Value700. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . ...

  • Page 24

    B–63664EN/02Table of Contentsc–10IV. MAINTENANCE1. METHOD OF REPLACING BATTERY801. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1.1REPLACING BATTERY FOR LCD–MOUNTED TYPE i SERIES802. . . . . . . . . . . . . . . . . . . . . . . . 1.2REPLACING THE BATTERY FOR STAND...

  • Page 25

    I. GENERAL

  • Page 26

  • Page 27

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

  • Page 28

    GENERAL1. GENERALB–63664EN/024Table 1 (a) Manuals Related to the Series 16i/160i–LAManual nameSpecificationnumberFANUC Series 16i/18i/160i/180i–MODEL BDESCRIPTIONSB–63522ENFANUC Series 16i/18i/160i/180i–MODEL BCONNECTION MANUAL (HARDWARE)B–63523ENFANUC Series 16i/18i/160i/180i–MODE...

  • Page 29

    GENERALB–63664EN/021. GENERAL5Table 1 (a) Manuals Related to the SERVO MOTOR α seriesManual nameSpecificationnumberFANUC AC SERVO MOTOR α series DESCRIPTIONSB–65142EFANUC AC SERVO MOTOR α series PARAMETER MANUALB–65150EFANUC SERVO AMPLIFIER α series DESCRIPTIONSB–65162EFANUC SERVO MO...

  • Page 30

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

  • Page 31

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

  • Page 32

  • Page 33

    II. PROGRAMMING

  • Page 34

  • Page 35

    PROGRAMMINGB–63664EN/021. GENERAL111 GENERAL

  • Page 36

    PROGRAMMING1. GENERALB–63664EN/0212The nozzle moves along straight lines and arcs constituting the workpieceparts figure (See II–4).The function of moving the nozzle along straight lines and arcs is calledthe interpolation.ProgramG01 Y__;X__Y__ ;WorkpieceNozzleFig.1.1 (a) Nozzle movement alo...

  • Page 37

    PROGRAMMINGB–63664EN/021. GENERAL13Symbols 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 38

    PROGRAMMING1. GENERALB–63664EN/0214Movement of the nozzle at a specified speed for cutting a workpiece iscalled the feed.NozzleFmm/minWorkpieceTableFig.1.2 (a) Feed functionFeedrates can be specified by using actual numerics. For example, to feedthe nozzle at a rate of 150 mm/min, specify the...

  • Page 39

    PROGRAMMINGB–63664EN/021. GENERAL15A CNC machine tool is provided with a fixed position. Normally,programming of absolute zero point as described later are performed atthis position. This position is called the reference position.Reference positionNozzleWorkpieceTableFig.1.3.1 Reference positi...

  • Page 40

    PROGRAMMING1. GENERALB–63664EN/0216ZYXPart drawingZYXCoordinate systemZYXNozzleWorkpieceMachine toolProgramCommandCNCFig.1.3.2 (a) Coordinate systemThe following two coordinate systems are specified at different locations:(See II–8)(1) Coordinate system on part drawingThe coordinate system i...

  • Page 41

    PROGRAMMINGB–63664EN/021. GENERAL17The positional relation between these two coordinate systems isdetermined when a workpiece is set on the table.Y YTableWorkpieceXXCoordinate system spe-cified by the CNC estab-lished on the tableCoordinate system onpart drawing estab-lished on the work-pieceFi...

  • Page 42

    PROGRAMMING1. GENERALB–63664EN/0218(2) Mounting a workpiece directly against the jigJigProgram zero pointMeet the nozzle center to the reference position. And set the coordinate systemspecified by CNC at this position. (Jig shall be mounted on the predeterminedpoint from the reference positi...

  • Page 43

    PROGRAMMINGB–63664EN/021. GENERAL19Coordinate values of command for moving the tool can be indicated byabsolute or incremental designation (See II–9.1).The nozzle moves to a point at ”the distance from zero point of thecoordinate system” that is to the position of the coordinate values.B(...

  • Page 44

    PROGRAMMING1. GENERALB–63664EN/0220When laser arting is actually started, it is necessary to operate a workshooter, and tip conveyer. For this purpose, on–off operations of workshooter and tip conveyer should be controlled (See II–9).The function of specifying the on–off operations of the...

  • Page 45

    PROGRAMMINGB–63664EN/021. GENERAL21A group of commands given to the CNC for operating the machine iscalled the program. By specifying the commands, the nozzle is movedalong a straight line or an arc.In the program, specify the commands in the sequence of actual nozzlemovements.Block⋅⋅⋅...

  • Page 46

    PROGRAMMING1. GENERALB–63664EN/0222 The block and the program have the following configurations.Nffff Gff Xff.f Yfff.f Mff ;1 blockSequence numberPreparatory functionDimension wordMiscel-laneous functionEnd of blockFig.1.5 (b) Block configurationA block starts with a sequen...

  • Page 47

    PROGRAMMINGB–63664EN/021. GENERAL23When 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 48

    PROGRAMMING1. GENERALB–63664EN/0224Because laserbeam has a radius, the center of the beam path goes aroundthe workpiece with the cutter radius deviated.WorkpieceBeam path using cutter compensationProcessed partfigureBeamIf radius of beam are stored in the CNC (Data Display and Setting : seeIII...

  • Page 49

    PROGRAMMINGB–63664EN/021. GENERAL25Limit 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 50

    PROGRAMMING2. CONTROLLED AXESB–63664EN/02262 CONTROLLED AXES

  • Page 51

    PROGRAMMING2. CONTROLLED AXESB–63664EN/0227Item16i–LB160i–LBNo. of basic controlled axes3 axesControlled axes expansion (total)Max. 8 axesBasic simultaneously controlled axes2 axesSimultaneously controlled axes expansion (total)Max. 6 axesNOTEThe number of simultaneously controllable axes f...

  • Page 52

    PROGRAMMING2. CONTROLLED AXESB–63664EN/0228The names of three basic axes are always X, Y, and Z. The name of anadditional axis can be set to A, B, C, U, V, or W by using parameter 1020.Parameter No. 1020 is used to determine the name of each axis.When this parameter is set to 0 or a character ...

  • Page 53

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

  • Page 54

    PROGRAMMING2. CONTROLLED AXESB–63664EN/0230Maximum stroke = Least command increment99999999 See 2.3 Incremen System.Table 2.4 Maximum strokesIncrement systemMaximum strokeIS–BMetric machine system±99999.999 mm±99999.999 degIS–BInch machine system±9999.9999 inch±99999.999 degNOTE1 A com...

  • Page 55

    PROGRAMMINGB–63664EN/023. PREPARATORY FUNCTION (G FUNCTION)313 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 ...

  • Page 56

    PROGRAMMING3. PREPARATORY FUNCTION(G FUNCTION)B–63664EN/02321.When the clear state (bit 6 (CLR) of parameter No. 3402) is set atpower–up or reset, the modal G codes are placed in the states describedbelow.(1) The modal G codes are placed in the states marked with asindicated in Table 3.(2) ...

  • Page 57

    PROGRAMMINGB–63664EN/023. PREPARATORY FUNCTION (G FUNCTION)33Table 3 G Code List (1/3)CodeGroupFunctionG00 01PositioningG01 01Linear interpolationG02 01Circular interpolation/Helical interpolation CWG03Circular interpolation/Helical interpolation CCWG04 00Dwell, Exact stopG05 00High–speed re...

  • Page 58

    PROGRAMMING3. PREPARATORY FUNCTION(G FUNCTION)B–63664EN/0234Table 3 G Code List (2/3)CodeGroupFunctionG4007Cutter compensation cancelG4107Cutter compensation leftG42Cutter compensation rightG40.1 (G150)18Normal direction control cancel modeG41.1 (G151)18Normal direction control left onG42.1 (G...

  • Page 59

    PROGRAMMINGB–63664EN/023. PREPARATORY FUNCTION (G FUNCTION)35Table 3 G Code List (3/3)CodeGroupFunctionG9003Absolute commandG9103Increment commandG9200Setting for workpiece coordinate systemG92.100Workpiece coordinate system presetG9833Three–dimensional conversionG9933Three–dimensional con...

  • Page 60

    PROGRAMMING4. INTERPOLATION FUNCTIONSB–63664EN/02364 INTERPOLATION FUNCTIONS

  • Page 61

    PROGRAMMINGB–63664EN/024. INTERPOLATION FUNCTIONS37In the absolute command, coordinate value of the end point isprogrammed.In the incremental command the distance the nozzle moves isprogrammed. _: For an absolute command, the coordinates of an end position, and for an incremental commnad, the...

  • Page 62

    PROGRAMMING4. INTERPOLATION FUNCTIONSB–63664EN/0238The rapid traverse rate cannot be specified in the address F.Even if linear interpolation positioning is specified, nonlinearinterpolation positioning is used in the following cases. Therefore, becareful to ensure that the tool does not foul t...

  • Page 63

    PROGRAMMINGB–63664EN/024. INTERPOLATION FUNCTIONS39For accurate positioning without play of the machine (backlash), finalpositioning from one direction is available.Start positionTemporary stopEnd positionOverrunStart position _ : For an absolute command, the coordinates of an end position, an...

  • Page 64

    PROGRAMMING4. INTERPOLATION FUNCTIONSB–63664EN/0240Nozzle can move along a lineF_:Speed of nozzle feed (Feedrate) _:For an absolute command, the coordinates of an end point , and for an incremental commnad, the distance the nozzle moves.G01 _F_;IPIPA tools move along a line to the specified...

  • Page 65

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

  • Page 66

    PROGRAMMING4. INTERPOLATION FUNCTIONSB–63664EN/0242The command below will move a nozzle along a circular arc.G17G03 Arc 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.4 Description of the Command FormatComma...

  • Page 67

    PROGRAMMINGB–63664EN/024. INTERPOLATION FUNCTIONS43“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 68

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

    PROGRAMMINGB–63664EN/024. INTERPOLATION FUNCTIONS45 1006040090120 14020060R50RY axisX axisThe above tool path can be programmed as follows ;(1) In absolute programmingG92X200.0 Y40.0 Z0 ;G90 G03 X140.0 Y100.0R60.0 F300.;G02 X120.0 Y60.0R50.0 ;orG92X200.0 Y40.0Z0 ;G90 G03 X140.0 Y100.0I-60.0 F30...

  • Page 70

    PROGRAMMING4. INTERPOLATION FUNCTIONSB–63664EN/0246Helical 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 71

    PROGRAMMINGB–63664EN/024. INTERPOLATION FUNCTIONS47Helical interpolation B moves the nozzle in a helical manner. Thisinterpolation can be executed by specifying the circular interpolationcommand together with up to four additional axes in simplehigh–precision contour control mode (see II–N...

  • Page 72

    PROGRAMMING4. INTERPOLATION FUNCTIONSB–63664EN/0248Polar coordinate interpolation is a function that exercises contour controlin converting a command programmed in a Cartesian coordinate systemto the movement of a linear axis (movement of a tool) and the movementof a rotary axis (rotation of a ...

  • Page 73

    PROGRAMMINGB–63664EN/024. INTERPOLATION FUNCTIONS49In the polar coordinate interpolation mode, program commands arespecified with Cartesian coordinates on the polar coordinate interpolationplane. The axis address for the rotation axis is used as the axis addressfor the second axis (virtual axi...

  • Page 74

    PROGRAMMING4. INTERPOLATION FUNCTIONSB–63664EN/0250A tool offset must be specified before the G12.1 mode is set. No offsetcan be changed in the G12.1 mode.For a block in the G12.1 mode, the program cannot be restarted.Polar coordinate interpolation converts the tool movement for a figureprogra...

  • Page 75

    PROGRAMMINGB–63664EN/024. INTERPOLATION FUNCTIONS51Example of Polar Coordinate Interpolation Program Based on X Axis (Linear Axis) and C Axis (Rotary Axis) C’(hypothetical axis)C axisPath after cutter compensationProgram pathN204N205N206N203N202N201N208N207X axisZ axisN200beamO0001 ; N010 T01...

  • Page 76

    PROGRAMMING4. INTERPOLATION FUNCTIONSB–63664EN/0252The amount of travel of a rotary axis specified by an angle is onceinternally converted to a distance of a linear axis along the outer surfaceso that linear interpolation or circular interpolation can be performed withanother axis. After inter...

  • Page 77

    PROGRAMMINGB–63664EN/024. INTERPOLATION FUNCTIONS53In the cylindrical interpolation mode, the amount of travel of a rotary axisspecified by an angle is once internally converted to a distance of a linearaxis on the outer surface so that linear interpolation or circularinterpolation can be perfo...

  • Page 78

    PROGRAMMING4. INTERPOLATION FUNCTIONSB–63664EN/0254Example of a Cylindrical Interpolation ProgramCmmZN10N11N12N1312011090706003060 70150190230270360degN05N06N07N08N09O0001 (CYLINDRICAL INTERPOLATION ); N01 G00 G90 Z100.0 C0 ; N02 G01 G91 G18 Z0 C0 ; N03 G07.1 C57299 ;N04 G90 G01 G42 Z120.0 D01 ...

  • Page 79

    PROGRAMMINGB–63664EN/024. INTERPOLATION FUNCTIONS55One of the X–, Y–, and X–axes can be specified as a hypothetical axis.Although the axis specified as a hypothetical axis does not allowoperation by any subsequent program commands, interpolation isperformed internally. If, therefore, one ...

  • Page 80

    PROGRAMMING4. INTERPOLATION FUNCTIONSB–63664EN/0256YZ2πOrπ1Interlock, stroke limits, and external deceleration are effective even forthe hypothetical axis.Handle interrupts are effective even on the hypothetical axis. Thus,movement is performed by a handle interrupt.An axis can be specified a...

  • Page 81

    PROGRAMMINGB–63664EN/024. INTERPOLATION FUNCTIONS57YZ20.0010.0N001 G07 X0 ;N002 G91 G17 G03 X–20.2 Y0.0 I–10.0 Z20.0 F100 ;N003 G01 X10.0 ;N004 G07 X1 ; From the N002 to N003 blocks, the X–axis is set to a hypothetical axis.The N002 block specifies helical cutting in which ...

  • Page 82

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

  • Page 83

    PROGRAMMINGB–63664EN/024. INTERPOLATION FUNCTIONS59G31G91X100.0 F100;Y50.0;50.0100.0Skip signal is input hereActual motionMotion without skip signalYXFig.4.10 (a) The next block is an incremental command G31G90X200.00 F100;Y100.0;Y100.0X200.0Skip signal is input hereActual motionMotion without...

  • Page 84

    PROGRAMMING4. INTERPOLATION FUNCTIONSB–63664EN/0260In a block specifying P1 to P4 after G31, the multi–step skip functionstores coordinates in a custom macro variable when a skip signal (4–pointor 8–point) is turned on.Parameters No. 6202 to No. 6205 can be used to select a 4–point or8...

  • Page 85

    PROGRAMMINGB–63664EN/024. INTERPOLATION FUNCTIONS61The skip function operates based on a high–speed skip signal (connecteddirectly to the NC; not via the PMC) instead of an ordinary skip signal.In this case, up to eight signals can be input. Delay and error of skip signal input is 0 – 2 ms...

  • Page 86

    PROGRAMMING5. FEED FUNCTIONSB–63664EN/02625 FEED FUNCTIONS

  • Page 87

    PROGRAMMINGB–63664EN/025. FEED FUNCTIONS63The feed functions control the feedrate of the nozzle. The following twofeed functions are available:1. Rapid traverseWhen the positioning command (G00) is specified, the nozzle movesat a rapid traverse feedrate set in the CNC (parameter No. 1420).2. C...

  • Page 88

    PROGRAMMING5. FEED FUNCTIONSB–63664EN/0264If 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 radial...

  • Page 89

    PROGRAMMINGB–63664EN/025. FEED FUNCTIONS65G00 IP_ ;G00 : G code (group 01) for positioning (rapid traverse) IP_ ; Dimension word for the end pointIPIPThe positioning command (G00) positions the nozzle by rapid traverse.In rapid traverse, the next block is executed after the specified feedrateb...

  • Page 90

    PROGRAMMING5. FEED FUNCTIONSB–63664EN/0266Feedrate of linear interpolation (G01), circular interpolation (G02, G03),etc. are commanded with numbers after the F code. In machining feed, the next block is executed so that the feedrate changefrom the previous block is minimized.Two modes of speci...

  • Page 91

    PROGRAMMINGB–63664EN/025. FEED FUNCTIONS67WARNINGNo override can be used for some commands.When a one–digit number from 1 to 9 is specified after F, the feedrateset for that number in a parameter (Nos. 1451 to 1459) is used. WhenF0 is specified, the rapid traverse rate is applied.The feedrat...

  • Page 92

    PROGRAMMING5. FEED FUNCTIONSB–63664EN/0268Cutting 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 nozzle is decelerated at the endpoint of a ...

  • Page 93

    PROGRAMMINGB–63664EN/025. FEED FUNCTIONS69The inter–block paths followed by the beam in the exact stop mode,cutting mode, and tapping mode are different (Fig.5.4.1).0Y(1)(2)In–position checkBeam path in the exact stop modeBeam path in the machining modeXFig.5.4.1 Example of Beam Paths from...

  • Page 94

    PROGRAMMING5. FEED FUNCTIONSB–63664EN/0270When cutter compensation is performed, the movement of the nozzle isautomatically decelerated at an inner corner and internal circular area.This produces a smoothly machined surface.When G62 is specified, and the nozzle path with cutter compensationappl...

  • Page 95

    PROGRAMMINGB–63664EN/025. FEED FUNCTIONS71When a corner is determined to be an inner corner, the feedrate isoverridden before and after the inner corner. The distances Ls and Le,where the feedrate is overridden, are distances from points on the beamcenter path to the corner (Fig.5.4.2.1 (b), Fi...

  • Page 96

    PROGRAMMING5. FEED FUNCTIONSB–63664EN/0272An override value is set with parameter No. 1712. An override value isvalid even for dry run and F1–digit specification.In the feed per minute mode, the actual feedrate is as follows:F × (automatic override for inner corners) × (feedrate override)O...

  • Page 97

    PROGRAMMINGB–63664EN/025. FEED FUNCTIONS73This function automatically controls the feedrate at a corner according tothe corner angle between the machining blocks or the feedrate differencebetween the blocks along each axis.This function is effective when ACD, bit 6 of parameter No. 1601, is set...

  • Page 98

    PROGRAMMING5. FEED FUNCTIONSB–63664EN/0274When the corner angle is smaller than the angle specified in theparameter, the relationship between the feedrate and time is as shownbelow. Although accumulated pulses equivalent to the hatched arearemain at time t, the next block is executed because t...

  • Page 99

    PROGRAMMINGB–63664EN/025. FEED FUNCTIONS75The machining angle is compared with the angle specified in parameter(No. 1740) for movements on the selected plane only. Machiningfeedrates are compared with that specified in parameter (No. 1741) formovement along the first and second axes on the sel...

  • Page 100

    PROGRAMMING5. FEED FUNCTIONSB–63664EN/0276This function decelerates the feedrate when the difference between thefeedrates at the end point of block A and the start point of block B alongeach axis is larger than the value specified in parameter No. 1781. Thefunction executes block B when the fe...

  • Page 101

    PROGRAMMINGB–63664EN/025. FEED FUNCTIONS77When acceleration/deceleration before interpolation is effective, therelationship between the feedrate and time is as described below. When the feedrate difference between blocks A and B along each axis islarger than the value specified in parameter No....

  • Page 102

    PROGRAMMING5. FEED FUNCTIONSB–63664EN/0278N1N2tFRmax1Vc [Y]Vc [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 No. ...

  • Page 103

    PROGRAMMINGB–63664EN/025. FEED FUNCTIONS79Parameters related to automatic corner deceleration in advancedpreview control mode are shown below.Parameter descriptionNormalmodeAdvancedpreview control modeSwitching the methods for automatic cornerdecelerationNo.1602#4No.1602#4Allowable feedrate dif...

  • Page 104

    PROGRAMMING5. FEED FUNCTIONSB–63664EN/0280DwellG04 X_ ; or G04 P_ ; X_ : Specify a time P_ : Specify a timeBy specifying a dwell, the execution of the next block is delayed by thespecified time. In addition, a dwell can be specified to make an exactcheck in the machining mode (G64 mode).Table 5...

  • Page 105

    PROGRAMMINGB–63664EN/026. REFERENCE POSITION816 REFERENCE POSITIONA CNC machine tool has a special position where, generally, the nozzleis exchanged or the coordinate system is set, as described later. Thisposition is referred to as a reference position.

  • Page 106

    PROGRAMMING6. REFERENCE POSITIONB–63664EN/0282The reference position is a fixed position on a machine nozzle to whichthe tool can easily be moved by the reference position return function.Up to four reference positions can be specified by setting coordinates inthe machine coordinate system in p...

  • Page 107

    PROGRAMMINGB–63664EN/026. REFERENCE POSITION83Tools are automatically moved to the reference position via anintermediate position along a specified axis. Or, tools are automaticallymoved from the reference position to a specified position via anintermediate position along a specified axis. Wh...

  • Page 108

    PROGRAMMING6. REFERENCE POSITIONB–63664EN/0284Positioning to the intermediate or reference positions are performed at therapid traverse rate of each axis.Therefore, for safety, the cutter compensation, and tool lengthcompensation should be cancelled before executing this command.The coordinates...

  • Page 109

    PROGRAMMINGB–63664EN/026. REFERENCE POSITION85NOTE1 To this feedrate, a rapid traverse override (F0 ,25,50,100%)is applied, for which the setting is 100%.2 After a machine coordinate system has been establishedupon the completion of reference position return, theautomatic reference position ret...

  • Page 110

    PROGRAMMING6. REFERENCE POSITIONB–63664EN/0286The lamp for indicating the completion of return does not go on when themachine lock is turned on, even when the tool has automatically returnedto the reference position. In this case, it is not checked whether the toolhas returned to the reference...

  • Page 111

    PROGRAMMINGB–63664EN/026. REFERENCE POSITION87Tools 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 112

    PROGRAMMING7. COORDINATE SYSTEMB–63664EN/02887 COORDINATE SYSTEMBy teaching the CNC a desired nozzle position, the nozzle can be movedto the position. Such a nozzle position is represented by coordinates ina coordinate system. Coordinates are specified using program axes.When three program ax...

  • Page 113

    PROGRAMMINGB–63664EN/027. COORDINATE SYSTEM89The 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 114

    PROGRAMMING7. COORDINATE SYSTEMB–63664EN/0290A coordinate system used for machining a workpiece is referred to as aworkpiece coordinate system. A workpiece coordinate system is to be setwith the CNC beforehand (setting a workpiece coordinate system).A machining program sets a workpiece coordin...

  • Page 115

    PROGRAMMINGB–63664EN/027. COORDINATE SYSTEM9125.2XZ23.00XZ600.01200.0If an absolute command is is-sued, the base point moves tothe commanded position. Inorder to move the nozzle tip tothe commanded position, thedifference from the nozzle tipto the base point is compen-sated by tool length offs...

  • Page 116

    PROGRAMMING7. COORDINATE SYSTEMB–63664EN/0292The six workpiece coordinate systems specified with G54 to G59 canbe changed by changing an external workpiece zero point offset valueor workpiece zero point offset value. Three methods are available to change an external workpiece zeropoint offset ...

  • Page 117

    PROGRAMMINGB–63664EN/027. COORDINATE SYSTEM93With the G10 command, each workpiece coordinate system can bechanged separately.By specifying G92IP_;, a workpiece coordinate system (selected with acode from G54 to G59) is shifted to set a new workpiece coordinatesystem so that the current tool pos...

  • Page 118

    PROGRAMMING7. COORDINATE SYSTEMB–63664EN/0294XXYYA160100100100200If G92X100Y100; is commanded when the toolis positioned at (200, 160) in G54 mode, work-piece coordinate system 1 (X’ – Y’) shifted byvector A is created.60G54 workpiece coordinate systemNozzle positionNew workpiece coordina...

  • Page 119

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

  • Page 120

    PROGRAMMING7. COORDINATE SYSTEMB–63664EN/0296(a) Manual intervention performed when the manual absolute signal is off(b) Move command executed in the machine lock state(c) Movement by handle interrupt(d) Operation using the mirror image function (e) Setting the local coordinate system using G52...

  • Page 121

    PROGRAMMINGB–63664EN/027. COORDINATE SYSTEM97Besides the six workpiece coordinate systems (standard workpiececoordinate systems) selectable with G54 to G59, 48 additional workpiececoordinate systems (additional workpiece coordinate systems) can beused. Alternatively, up to 300 additional workp...

  • Page 122

    PROGRAMMING7. COORDINATE SYSTEMB–63664EN/0298When an absolute workpiece zero point offset value is specified, thespecified value becomes a new offset value. When an incrementalworkpiece zero point offset value is specified, the specified value is addedto the current offset value to produce a n...

  • Page 123

    PROGRAMMINGB–63664EN/027. COORDINATE SYSTEM99When a program is created in a workpiece coordinate system, a childworkpiece coordinate system can be set for easier programming. Such achild coordinate system is referred to as a local coordinate system.G52 IP _; Setting the local coordinate syste...

  • Page 124

    PROGRAMMING7. COORDINATE SYSTEMB–63664EN/02100WARNING1 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 iss...

  • Page 125

    PROGRAMMINGB–63664EN/027. COORDINATE SYSTEM101Select the planes for circular interpolation, cutter compensation. The following table lists G–codes and the planes selected by them.Table 7.4 Plane selected by G codeG codeSelectedplaneXpYpZpG17Xp Yp planeX–axis or anY–axis or an Z–axis o...

  • Page 126

    PROGRAMMING8. COORDINATE VALUE AND DIMENSIONB–63664EN/021028 COORDINATE VALUE AND DIMENSIONThis chapter contains the following topics.8.1 ABSOLUTE AND INCREMENTAL PROGRAMMING (G90, G91)8.2 POLAR COORDINATE COMMAND (G15, G16)8.3 INCH/METRIC CONVERSION (G20, G21)8.4 DECIMAL POINT PROGRAMMING

  • Page 127

    PROGRAMMINGB–63664EN/028. COORDINATE VALUEAND DIMENSION103There are two ways to command travels of the nozzle; 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 i...

  • Page 128

    PROGRAMMING8. COORDINATE VALUE AND DIMENSIONB–63664EN/02104The end point coordinate value can be input in polar coordinates (radiusand angle). The plus direction of the angle is counterclockwise of the selected planefirst axis + direction, and the minus direction is clockwise.Both radius and ...

  • Page 129

    PROGRAMMINGB–63664EN/028. COORDINATE VALUEAND DIMENSION105Specify the radius (the distance between the current position and thepoint) to be programmed with an incremental command. The currentposition is set as the origin of the polar coordinate system.RadiusCommand positionActual positionAngle...

  • Page 130

    PROGRAMMING8. COORDINATE VALUE AND DIMENSIONB–63664EN/02106N2 G00 X100.0 Y30.0;Radius: 100 mm, angle: 30 deg.N3 G65 P1000;Drilling macro callN4 G91 G00 Y120.0;Radius: 100 mm, angle: +120 deg.N5 G65 P1000;Drilling macro callN6 G91 G00 Y120.0;Radius: 100 mm, angle: +120 deg.N7 G65 P1000;Drillin...

  • Page 131

    PROGRAMMINGB–63664EN/028. COORDINATE VALUEAND DIMENSION107Either 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 132

    PROGRAMMING8. COORDINATE VALUE AND DIMENSIONB–63664EN/02108Numerical values can be entered with a decimal point. A decimal pointcan be used when entering a distance, time, or speed. Decimal points canbe specified with the following addresses:X, Y, Z, U, V, W, A, B, C, I, J, K, Q, R, and F.T...

  • Page 133

    PROGRAMMINGB–63664EN/029. AUXILIARY FUNCTION1099 AUXILIARY FUNCTIONThere are two types of auxiliary functions ; miscellaneous function (Mcode) for specifying program end and so on, and secondary auxiliaryfunction (B code) for specifying index table positioning.When a move command and miscellane...

  • Page 134

    PROGRAMMING9. AUXILIARY FUNCTIONB–63664EN/02110When 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, up...

  • Page 135

    PROGRAMMINGB–63664EN/029. AUXILIARY FUNCTION111In 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 ma...

  • Page 136

    PROGRAMMING9. AUXILIARY FUNCTIONB–63664EN/02112The M code group check function checks if a combination of multiple Mcodes (up to three M codes) contained in a block is correct.This function has two purposes. One is to detect if any of the multiple Mcodes specified in a block include an M code ...

  • Page 137

    PROGRAMMINGB–63664EN/029. AUXILIARY FUNCTION113After a value that follows address B is issued, the code and strobe signalsare output. The code is preserved until another B code is issued. Themachine uses it to index the rotation axis. Each block can contain only oneB code. Setting parameter No....

  • Page 138

    PROGRAMMING10. PROGRAM CONFIGURATIONB–63664EN/0211410 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 139

    PROGRAMMINGB–63664EN/0210. PROGRAM CONFIGURATION115A program consists of the following components:Table 10 Program componentsComponentsDescriptionsTape startSymbol indicating the start of a program fileLeader sectionUsed for the title of a program file, etc.Program startSymbol indicating the s...

  • Page 140

    PROGRAMMING10. PROGRAM CONFIGURATIONB–63664EN/02116This section describes program components other than program sections.See II–10.2 for a program section.%TITLE;O0001 ;M30 ;%(COMMENT)Tape startProgram sectionLeader sectionProgram startComment sectionTape endFig.10.1 Program configurationThe...

  • Page 141

    PROGRAMMINGB–63664EN/0210. PROGRAM CONFIGURATION117Any information enclosed by the control–out and control–in codes isregarded as a comment.The user can enter a header, comments, directions to the operator, etc. ina comment section.Table 10.1 (c) Codes of a control–in and a control–out...

  • Page 142

    PROGRAMMING10. PROGRAM CONFIGURATIONB–63664EN/02118This section describes elements of a program section. See II–10.1 forprogram components other than program sections.%(COMMENT)%TITLE;O0001 ;N1 … ;M30 ;Program sectionComment sectionProgram numberSequence numberProgram endFig.10.2 (a) Pr...

  • Page 143

    PROGRAMMINGB–63664EN/0210. PROGRAM CONFIGURATION119A 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 10.2 (a) EOB codeNameISOcodeEIAcodeNotation in thismanualEnd of block (EOB)LFCR;At the head of...

  • Page 144

    PROGRAMMING10. PROGRAM CONFIGURATIONB–63664EN/02120A 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 145

    PROGRAMMINGB–63664EN/0210. PROGRAM CONFIGURATION121Major 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 146

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

  • Page 147

    PROGRAMMINGB–63664EN/0210. PROGRAM CONFIGURATION123The end of a program is indicated by programming one of the followingcodes at the end of the program:Table 10.2 (d) Code of a program endCodeMeaning usageM02For main programM30M99For subprogramIf one of the program end codes is executed in pro...

  • Page 148

    PROGRAMMING10. PROGRAM CONFIGURATIONB–63664EN/02124If 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 149

    PROGRAMMINGB–63664EN/0210. PROGRAM CONFIGURATION125See III–10 for the method of registering a subprogram.NOTE1 The M98 and M99 code signal and strobe signal are notoutput to the machine tool.2 If the subprogram number specified by address P cannot befound, an alarm (No. 078) is output.l M98 P...

  • Page 150

    PROGRAMMING10. PROGRAM CONFIGURATIONB–63664EN/02126If P is used to specify a sequence number when a subprogram isterminated, control does not return to the block after the calling block, butreturns to the block with the sequence number specified by P. Note,however, that P is ignored if the mai...

  • Page 151

    PROGRAMMINGB–63664EN/0210. PROGRAM CONFIGURATION127A subprogram can be executed just like a main program by searching forthe start of the subprogram with the MDI.(See III–9.3 for information about search operation.)In this case, if a block containing M99 is executed, control returns to thesta...

  • Page 152

    PROGRAMMING10. PROGRAM CONFIGURATIONB–63664EN/02128The 8–digit program number function enables specification of programnumbers with eight digits following address O (O00000001 toO99999999).Editing of subprograms O00008000 to O00008999, O00009000 toO00009999, O80000000 to O89999999, and O90000...

  • Page 153

    PROGRAMMINGB–63664EN/0210. PROGRAM CONFIGURATION1292) Macro call using M codeParameter used tospecify M codeProgram numberspecify M codeWhen SPR = 0When SPR = 1No.6080No.6081No.6082No.6083No.6084No.6085No.6086No.6087No.6088No.6089O00009020O00009021O00009022O00009023O00009024O00009025O00009026O0...

  • Page 154

    PROGRAMMING10. PROGRAM CONFIGURATIONB–63664EN/02130This function disables subprogram call unless FS15 tape format (seeII–15) is used. This restriction also applies to calling a program inexternal I/O devices (M198).(Example)M98 P12345678 ; Subprogram number only. The repetition count is not...

  • Page 155

    PROGRAMMINGB–63664EN/0211. FUNCTIONS TO SIMPLIFY PROGRAMMING13111 FUNCTIONS TO SIMPLIFY PROGRAMMINGThis chapter explains the following items:11.1OPTIONAL ANGLE CHAMFERING AND CORNER ROUNDING11.2FIGURE COPY (G72.1, G72.2)General

  • Page 156

    PROGRAMMING11. FUNCTIONS TO SIMPLIFYPROGRAMMINGB–63664EN/02132Chamfering and corner rounding blocks can be inserted automaticallybetween the following:⋅Between linear interpolation and linear interpolation blocks⋅Between linear interpolation and circular interpolation blocks ⋅Between circ...

  • Page 157

    PROGRAMMINGB–63664EN/0211. FUNCTIONS TO SIMPLIFY PROGRAMMING133N001 G92 G90 X0 Y0 ;N002 G00 X10.0 Y10.0 ;N003 G01 X50.0 F10.0 ,C5.0 ;N004 Y25.0 ,R8.0 ;N005 G03 X80.0 Y50.0 R30.0 ,R8.0 ;N006 G01 X50.0 ,R8.0 ;N007 Y70.0 ,C5.0 ;N008 X10.0 ,C5.0 ;N009 Y10.0 ;N010 G00 X0 Y0 ;N011 M0 ;010.020.030.040...

  • Page 158

    PROGRAMMING11. FUNCTIONS TO SIMPLIFYPROGRAMMINGB–63664EN/02134Chamfering and corner rounding can be performed only in the planespecified by plane selection (G17, G18, or G19). These functions cannotbe performed for parallel axes.A block specifying chamfering or corner rounding must be followed...

  • Page 159

    PROGRAMMINGB–63664EN/0211. FUNCTIONS TO SIMPLIFY PROGRAMMING135Machining can be repeated after moving or rotating the figure using asubprogram.D Rotational copyXp–Yp plane (specified by G17) : G72.1 P_ L_ Xp_ Yp_ R_ ;Zp–Xp plane (specified by G18) : G72.1 P_ L_ Zp_ Xp_ R_ ;Yp–Zp plane (sp...

  • Page 160

    PROGRAMMING11. FUNCTIONS TO SIMPLIFYPROGRAMMINGB–63664EN/02136The linear copy command can be specified in a subprogram for arotational copy. Also, the rotational copy command can be specified ina subprogram for a linear copy.In a subprogram for rotational or linear copying, M98 for calling ano...

  • Page 161

    PROGRAMMINGB–63664EN/0211. FUNCTIONS TO SIMPLIFY PROGRAMMING137O1000 ;N10 G92 X–20.0 Y0 ;N20 G00 G90 X0 Y0 ;N30 G01 G17 G41 X20. Y0 D01 F10 ;(P0)N40 Y20. ;(P1)N50 X30. ;(P2)N60 G72.2 P2000 L3 I90. J0 ;O2000 G90 G01 X40. ;(P3)N100 Y40. ; (P4)N200 G01 X80. ; (P5)N300 G01 Y20. ; (P6)N400 X100. ;...

  • Page 162

    PROGRAMMING11. FUNCTIONS TO SIMPLIFYPROGRAMMINGB–63664EN/02138120YP3P0P1XP6P5P4P2D Rotational copyO1000 ;N10 G92 X40.0 Y50.0 ;N20 G00 G90 X_ Y_ ;(P0)N30 G01 G17 G41 X_ Y_ D01 F10 ;(P1)N40 G72.1 P2000 L3 X0 Y0 R120.0 ;N50 G40 G01 X_ Y_ I_ J_;(P0)N60 G00 X40.0 Y50.0 ;N70 M30 ;O2000 G03 X_ Y_ R30....

  • Page 163

    PROGRAMMINGB–63664EN/0211. FUNCTIONS TO SIMPLIFY PROGRAMMING139D Rotational copy (spot boring)O3000 ;N10 G92 G17 X80.0 Y50.0 ;(P0)N20 G72.1 P4000 L6 X0 Y0 R60.0 ;N30 G80 G00 X80.0 Y50.0 ;(P0)N40 M30 ;O4000 N100 G90 G81 X_ Y_ R_ Z_ F_ ;(P1)N200 M99 ;YP1P060°XStart pointMain programSubprogram

  • Page 164

    PROGRAMMING11. FUNCTIONS TO SIMPLIFYPROGRAMMINGB–63664EN/02140D Linear copyO1000 ;N10 G92 X–20.0 Y0 ;N20 G00 G90 X0 Y0 ;N30 G01 G17 G41 X_ Y_ D01 F10 ;(P0)N40 Y_ ;(P1)N50 X_ ;(P2)N60 G72.2 P2000 L3 I70.0 J0 ;N70 X_ Y_ ;(P8)N80 X0 ;N90 G00 G40 X–20.0 Y0 ;N100 M30 ;O2000 G90 G01 X_ ;(P3)N100 ...

  • Page 165

    PROGRAMMINGB–63664EN/0211. FUNCTIONS TO SIMPLIFY PROGRAMMING141D Combination of rotationalcopying and linearcopying (bolt hole circle)O1000 ;N10 G92 G17 X100.0 Y80.0 ;(P0)N20 G72.1 P2000 X0 Y0 L8 R45.0 ;N30 G80 G00 X100.0 Y80.0 ;(P0)N40 M30 ;O2000 N100 G72.2 P3000 I0 J_ L3 ;N200 M99 ;YX45°P1P0...

  • Page 166

    PROGRAMMING12. COMPENSATION FUNCTIONB–63664EN/0214212 COMPENSATION FUNCTIONThis chapter describes the following compensation functions:12.1 TOOL OFFSET (G45–G48)12.2 OVERVIEW OF CUTTER COMPENSATION C (G40–G42)12.3 DETAILS OF CUTTER COMPENSATION C12.4 CUTTER COMPENSATION VALUES, NUMBER OFCOM...

  • Page 167

    PROGRAMMINGB–63664EN/0212. COMPENSATION FUNCTION143The programmed travel distance of the nozzle can be increased ordecreased by a specified tool offset value or by twice the offset value.The tool offset function can also be applied to an additionalaxis.ÇÇÇÇÇÇÇÇÇProgrammed pathNozzle ce...

  • Page 168

    PROGRAMMING12. COMPENSATION FUNCTIONB–63664EN/02144As shown in Table 12.1 (a), the travel distance of the nozzle is increasedor decreased by the specified tool offset value.In the absolute mode, the travel distance is increased or decreased as thenozzle is moved from the end position of the pre...

  • Page 169

    PROGRAMMINGB–63664EN/0212. COMPENSATION FUNCTION145WARNING1 When G45 to G48 is specified to n axes (n=1–6) simultaneously in a motion block, offset isapplied to all n axes.When the cutter is offset only for cutter radius or diameter in taper cutting, overcutting orundercutting occurs. Theref...

  • Page 170

    PROGRAMMING12. COMPENSATION FUNCTIONB–63664EN/02146NOTE1 When the specified direction is reversed by decrease as shown in the figure below, the toolmoves in the opposite direction.2 Tool offset can be applied to circular interpolation (G02, G03) with the G45 to G48 commandsonly for 1/4 and 3/4 ...

  • Page 171

    PROGRAMMINGB–63664EN/0212. COMPENSATION FUNCTION147ÇÇÇÇÇÇÇÇÇTool (beam) diameter:20φOffset No.:01Tool offset value:+10.0805040504030RN1N2N3N4N5N6N7N8N9N10N11N12N13N14303040X axisY axisProgram using tool offsetOrigin30RProgramN1 G91 G46 G00 X80.0 Y50.0 D01 ;N2 G47 G01 X50.0 F120.0 ;N3 ...

  • Page 172

    PROGRAMMING12. COMPENSATION FUNCTIONB–63664EN/02148When the beam is moved, the nozzle path can be shifted by the radius ofthe nozzle (Fig.12.2 (a)). To make an offset as large as the radius of the beam, CNC first creates anoffset vector with a length equal to the radius of the nozzle (start–...

  • Page 173

    PROGRAMMINGB–63664EN/0212. COMPENSATION FUNCTION149D Start up(Cutter compensationstart)G00(or G01)G41(or G42)P_ D_ ;G41G42P_D_: Cutter compensation left (Group07): Cutter compensation right (Group07): Command for axis movement: Code for specifying as the cutter compensation value(1–3digits) ...

  • Page 174

    PROGRAMMING12. COMPENSATION FUNCTIONB–63664EN/02150In the offset mode, when a block which satisfies any one of the followingconditions is executed, the CNC enters the offset cancel mode, and theaction of this block is called the offset cancel. 1. G40 has been commanded. 2. 0 has been command...

  • Page 175

    PROGRAMMINGB–63664EN/0212. COMPENSATION FUNCTION151If 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 nozzle center is passing around the outside of theworkpiece, it will pass...

  • Page 176

    PROGRAMMING12. COMPENSATION FUNCTIONB–63664EN/02152Offset 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 177

    PROGRAMMINGB–63664EN/0212. COMPENSATION FUNCTION153ÇÇÇÇÇÇÇÇÇ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 178

    PROGRAMMING12. COMPENSATION FUNCTIONB–63664EN/02154This section provides a detailed explanation of the movement of the beamfor cutter compensation C outlined in Section 12.2.This section consists of the following subsections:12.3.1 General12.3.2 Nozzle Movement in Start–up12.3.3 Nozzle Moveme...

  • Page 179

    PROGRAMMINGB–63664EN/0212. COMPENSATION FUNCTION155When the offset cancel mode is changed to offset mode, the nozzle movesas illustrated below (start–up):αLSG42rLαSrLCG42Beam center pathStart positionProgrammed pathWork-pieceLinear→CircularStart positionWorkpieceBeam center pathLinear→L...

  • Page 180

    PROGRAMMING12. COMPENSATION FUNCTIONB–63664EN/02156Beam path in start–up has two types A and B, and they are selected byparameter SUP (No. 5003#0).Linear→LinearαProgrammed pathBeam center pathLSG42rLLinear→CircularrType AType BαLSG42LWorkpieceStart positionrLLinear→LinearLinear...

  • Page 181

    PROGRAMMINGB–63664EN/0212. COMPENSATION FUNCTION157Beam 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 182

    PROGRAMMING12. COMPENSATION FUNCTIONB–63664EN/02158If the command is specified at start–up, the offset vector is not created.SN9N6N7N8SSG91 G40 … ; :N6 X100.0 Y100.0 ;N7 G41 X0 ;N8 Y–100.0 ;N9 Y–100.0 X100.0 ;Programmed pathBeam center pathrNOTEFor the definition of blocks that d...

  • Page 183

    PROGRAMMINGB–63664EN/0212. COMPENSATION FUNCTION159In the offset mode, the nozzle moves as illustrated below:αLLαCSLSCLSCSCLinear→CircularLinear→LinearProgrammed pathIntersectionBeam center pathWorkpieceWork-pieceBeam center pathIntersectionProgrammed pathWorkpieceProgrammed pathBeam cent...

  • Page 184

    PROGRAMMING12. COMPENSATION FUNCTIONB–63664EN/02160rrSrIntersectionProgrammed pathBeam 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 Nozzle movementaround the inside(α<1°)with an abnormally l...

  • Page 185

    PROGRAMMINGB–63664EN/0212. COMPENSATION FUNCTION161αLrCSLSCLSLLrLLLSrr Linear→LinearLinear→CircularProgrammed pathBeam center pathIntersectionWorkpieceCircular→LinearCircular→CircularIntersectionBeam center pathProgrammed pathWork-pieceIntersectionBeam center pathProgrammed pathWorkpie...

  • Page 186

    PROGRAMMING12. COMPENSATION FUNCTIONB–63664EN/02162αLLLLSrrLLrrCLLLLLLrrLSLSrrLCCLLinear→LinearProgrammed pathBeam center pathWorkpieceLinear→CircularCircular→LinearCircular→CircularProgrammed pathWork-pieceBeam center pathWorkpieceProgrammed pathBeam center pathWork-pieceBeam center p...

  • Page 187

    PROGRAMMINGB–63664EN/0212. COMPENSATION FUNCTION163If 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 188

    PROGRAMMING12. COMPENSATION FUNCTIONB–63664EN/02164If the center of the arc is identical with the start position or end point, P/Salarm (No. 038) is displayed, and the nozzle will stop at the end positionof the preceding block.N5N6N7rAlarm(No.038)is displayed and the toolstops(G41)N5 G01 X100.0...

  • Page 189

    PROGRAMMINGB–63664EN/0212. COMPENSATION FUNCTION165LLLSrrG42G41G41G42rrSCrrLCSSG41G41G42G42CCrrLinear→LinearLinear→CircularProgrammed pathBeam center pathWorkpieceProgrammed pathBeam center pathWorkpieceWorkpieceWorkpieceWorkpieceProgrammed pathBeam center pathCircular→LinearCircular→Ci...

  • Page 190

    PROGRAMMING12. COMPENSATION FUNCTIONB–63664EN/02166When 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.G41(G42)(G42)LLLABrrSG42G41LSLS(G41)G42ABLSrLL...

  • Page 191

    PROGRAMMINGB–63664EN/0212. COMPENSATION FUNCTION167Normally 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 192

    PROGRAMMING12. COMPENSATION FUNCTIONB–63664EN/02168If 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 II–12.3.2 and 12.3.4.If G28 is specified in the offset ...

  • Page 193

    PROGRAMMINGB–63664EN/0212. COMPENSATION FUNCTION169The offset vector can be set to form a right angle to the moving directionin the previous block, irrespective of machining inner or outer side, bycommanding the cutter compensation G code (G41, G42) in the offsetmode, independently. If this co...

  • Page 194

    PROGRAMMING12. COMPENSATION FUNCTIONB–63664EN/02170The following blocks have no beam movement. In these blocks, the beamwill not move even if cutter compensation is effected.M05 ;M code output. . . . . . . . . . . . S21 ;S code output. . . . . . . . . . . . G04 X10.0 ;Dwell. . . . . . . G10 L1...

  • Page 195

    PROGRAMMINGB–63664EN/0212. COMPENSATION FUNCTION171When two or more vectors are produced at the end of a block, the beammoves 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 196

    PROGRAMMING12. COMPENSATION FUNCTIONB–63664EN/02172N4 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 pathBeam center pathIf the vector is not ignored, the beam path is as follows:P1 → P2 ...

  • Page 197

    PROGRAMMINGB–63664EN/0212. COMPENSATION FUNCTION173αSrLCαLSG40rLWorkpieceG40LProgrammed pathProgrammed pathBeam center pathBeam center pathWork-pieceLinear→LinearCircular→Linear12.3.4Nozzle Movement inOffset Mode CancelExplanationsD Nozzle movementaround an inside corner(180°xα)

  • Page 198

    PROGRAMMING12. COMPENSATION FUNCTIONB–63664EN/02174Beam path has two types, A and B; and they are selected by parameterSUP (No. 5003#0).αLSG40rLαSrCType AType BαLSG40LIntersectionrαSCrrLLG40LG40LProgrammed pathWorkpieceBeam center pathLinear→LinearCircular→LinearLinear→LinearWor...

  • Page 199

    PROGRAMMINGB–63664EN/0212. COMPENSATION FUNCTION175Beam path has two types, A and B : and they are selected by parameterSUP (No. 5003#0)αLSG40rLSCType AType BrαG40LLLLrrLLSrrCLLG42αG40LG42LαSLinear→LinearCircular→LinearProgrammed pathBeam center pathWorkpieceWork-pieceBeam center ...

  • Page 200

    PROGRAMMING12. COMPENSATION FUNCTIONB–63664EN/02176Start positionrG40(G42)LLS1°or lessProgrammed pathTool center pathWhen a block without beam movement is commanded together with anoffset cancel, a vector whose length is equal to the offset value is producedin a normal direction to beam motion...

  • Page 201

    PROGRAMMINGB–63664EN/0212. COMPENSATION FUNCTION177If 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 202

    PROGRAMMING12. COMPENSATION FUNCTIONB–63664EN/02178In the example shown below, the beam does not trace the circle more thanonce. It moves along the arc from P1 to P2. The interference checkfunction described in II–12.3.5 may raise an alarm. (I, J)N5N6N7P1P2(G41)N5 G01 G91 X100.0 ;N6 G02 J...

  • Page 203

    PROGRAMMINGB–63664EN/0212. COMPENSATION FUNCTION179Beam 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 204

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

  • Page 205

    PROGRAMMINGB–63664EN/0212. COMPENSATION FUNCTION181(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 206

    PROGRAMMING12. COMPENSATION FUNCTIONB–63664EN/02182(Example 2) The beam moves linearly from V1, V2, V7, to V8V6V3V5CCCrrV1V2V4V7V8AO1 O2BV4, V5 : InterferenceV3, V6 : InterferenceV2, V7 : No InterferenceProgrammed pathBeam centerpath(2) If the interference occurs after correction (1), the bea...

  • Page 207

    PROGRAMMINGB–63664EN/0212. COMPENSATION FUNCTION183(1) Depression which is smaller than the cutter compensation valueBeam center pathABCStoppedProgrammed pathThere is no actual interference, but since the direction programmed inblock B is opposite to that of the path after cutter compensation t...

  • Page 208

    PROGRAMMING12. COMPENSATION FUNCTIONB–63664EN/02184When the radius of a corner is smaller than the beam radius, because theinner offsetting of the cutter will result in overcuttings, an alarm isdisplayed and the CNC stops at the start of the block. In single blockoperation, the overcutting is ...

  • Page 209

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

  • Page 210

    PROGRAMMING12. COMPENSATION FUNCTIONB–63664EN/02186The above example should be modified as follows:ÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊN1N1 G91 G00 G41 X500.0 Y500.0 D1 ;N3 G01 Z–250.0 ;N5 G01 Z–50.0 F100 ;N6 Y1000.0 F200 ;N6(500, 500)N3, N5:Move command for the Z axisAfter co...

  • Page 211

    PROGRAMMINGB–63664EN/0212. COMPENSATION FUNCTION187Cutter compensation C is not performed for commands input from theMDI.However, when automatic operation using the absolute commands istemporarily stopped by the single block function, MDI operation isperformed, then automatic operation starts a...

  • Page 212

    PROGRAMMING12. COMPENSATION FUNCTIONB–63664EN/02188A 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 213

    PROGRAMMINGB–63664EN/0212. COMPENSATION FUNCTION189(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 214

    PROGRAMMING12. COMPENSATION FUNCTIONB–63664EN/02190When 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 215

    PROGRAMMINGB–63664EN/0212. COMPENSATION FUNCTION191WARNING1 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 216

    PROGRAMMING12. COMPENSATION FUNCTIONB–63664EN/02192NOTE1 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 beam doesnot move. In the next block, offset mode is automatically re...

  • Page 217

    PROGRAMMINGB–63664EN/0212. COMPENSATION FUNCTION193When 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 218

    PROGRAMMING12. COMPENSATION FUNCTIONB–63664EN/02194(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 219

    PROGRAMMINGB–63664EN/0212. COMPENSATION FUNCTION195When 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 220

    PROGRAMMING12. COMPENSATION FUNCTIONB–63664EN/02196(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 221

    PROGRAMMINGB–63664EN/0212. COMPENSATION FUNCTION197(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 222

    PROGRAMMING12. COMPENSATION FUNCTIONB–63664EN/02198When 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 223

    PROGRAMMINGB–63664EN/0212. COMPENSATION FUNCTION199NOTE1 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 224

    PROGRAMMING12. COMPENSATION FUNCTIONB–63664EN/02200When G29 is specified in cutter compensation C mode, an operation ofFS15 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 vector cancellation is per...

  • Page 225

    PROGRAMMINGB–63664EN/0212. COMPENSATION FUNCTION201(b) For specification made other than immediately after automaticreference position returnWhen CCN (bit 2 of parameter No.5003)=0O××××;G91G41_ _ _;G29X40.Y40.; [Type A]G29[Type B](G42G01)G01ssrssssr(G42G01)rrG01Return positionIntermediate p...

  • Page 226

    PROGRAMMING12. COMPENSATION FUNCTIONB–63664EN/02202When CCN (bit 2 of parameter No.5003)=1G29[FS15 Type]G28/30/30.1(G42G01)G01srssReturn positionReference position or floatingreference position=Intermedi-ate position(b) For specification made other than immediately after automaticreference posi...

  • Page 227

    PROGRAMMINGB–63664EN/0212. COMPENSATION FUNCTION203(3) G29 specified in offset mode (with movement to a reference positionnot performed)(a) For specification made immediately after automatic referenceposition returnWhen CCN (bit 2 of parameter No.5003)=0O××××;G91G41_ _ _;G28X0Y0;G29X0Y0; [T...

  • Page 228

    PROGRAMMING12. COMPENSATION FUNCTIONB–63664EN/02204(b) For specification made other than immediately after automaticreference position returnO××××;G91G41_ _ _;G29X0Y0; [Type A](G42G01)G29[Type B]s(G42G01)ssrssG29sG01G01G01G01Intermediate position=Return positionIntermediate position=Return ...

  • Page 229

    PROGRAMMINGB–63664EN/0212. COMPENSATION FUNCTION205(4) G29 specified in offset mode (with movement to an intermediateposition and reference position not performed)(a) For specification made immediately after automatic referenceposition return When CCN (bit 2 of parameter No.5003)=0O××××;G91...

  • Page 230

    PROGRAMMING12. COMPENSATION FUNCTIONB–63664EN/02206(b) For specification made other than immediately after automaticreference position returnWhen CCN (bit 2 of parameter No.5003)=0O××××;G91G41_ _ _;G29X0Y0;[Type A](G41G01)sr[Type B](G41G01)ssrG01G01G01G01sG29G29Intermediate position=return ...

  • Page 231

    PROGRAMMINGB–63664EN/0212. COMPENSATION FUNCTION207By specifying G39 in offset mode during cutter compensation C, cornercircular interpolation can be performed. The radius of the corner circularinterpolation equals the compensation value. In offset modeorG39 ;;I_J_I_K_J_K_G39When the command...

  • Page 232

    PROGRAMMING12. COMPENSATION FUNCTIONB–63664EN/02208X axisY axis(0.0, 10.0)(–10.0, 10.0)Block N1Offset vectorBlock N2Block N3Programmed pathBeam center path(In offset mode)N1 Y10.0 ; N2 G39 ; N3 X-10.0 ; ........X axisY axis(In offset mode)N1 Y10.0 ; N2 G39 I–1.0 J2.0 ; N3 X-10.0 Y20.0 ;.....

  • Page 233

    PROGRAMMINGB–63664EN/0212. COMPENSATION FUNCTION209Cutter compensation values include beam geometry compensationvalues and beam wear compensation (Fig.12.4 (a)).ÇÇÇÇÇÇÇÇÇÇÇÇÇÇÇOFSGOFSWOFSG:Geometric compensation valueOFSW:Wear compensation valueReference positionFig.12.4 (a) Geo...

  • Page 234

    PROGRAMMING12. COMPENSATION FUNCTIONB–63664EN/02210Cutter compensation memory A, B, or C can be used.The cutter compensation memory determines the cutter compensationvalues that are entered (set) (Table 12.4 (b)).Table 12.4 (b) Setting contents cutter compensation memory and cutter compensatio...

  • Page 235

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

  • Page 236

    PROGRAMMING12. COMPENSATION FUNCTIONB–63664EN/02212Least input increment of scaling magnification is: 0.001 or 0.00001 It isdepended on parameter SCR (No. 5400#7) which value is selected. Ifscaling P is not specified on the block of scaling (G51X_Y_Z_P_ ;), thescaling magnification set to para...

  • Page 237

    PROGRAMMINGB–63664EN/0212. COMPENSATION FUNCTION213Even if different magnifications are applie to each axis in circularinterpolation, the beam 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 238

    PROGRAMMING12. COMPENSATION FUNCTIONB–63664EN/02214This scaling is not applicable to cutter compensation values, beam lengthoffset values, and tool offset values (Fig.12.5 (e)).Cutter compensation values are not scaled.Programmed figureScaled figureFig.12.5 (e) Scaling during cutter compensati...

  • Page 239

    PROGRAMMINGB–63664EN/0212. COMPENSATION FUNCTION215Example 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 240

    PROGRAMMING12. COMPENSATION FUNCTIONB–63664EN/02216A 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. Furth...

  • Page 241

    PROGRAMMINGB–63664EN/0212. COMPENSATION FUNCTION217(α, β)XZCenter ofrotationAngle of rotation R (incremental value)Angle of rotation (absolute value)Fig.12.6 (b) Coordinate system rotationNOTEWhen a decimal fraction is used to specify angulardisplacement (R_), the 1’s digit corresponds to ...

  • Page 242

    PROGRAMMING12. COMPENSATION FUNCTIONB–63664EN/02218In coordinate system rotation mode, G codes related to reference positionreturn (G27, G28, G29, G30, etc.) and those for changing the coordinatesystem (G52 to G59, G92, etc.) must not be specified. If any of these Gcodes is necessary, specify...

  • Page 243

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

  • Page 244

    PROGRAMMING12. COMPENSATION FUNCTIONB–63664EN/022202. When the system is in cutter compensation model C, specify thecommands in the following order (Fig.12.6(e)) :(cutter compensation C cancel)G51 ; scaling mode startG68 ; coordinate system rotation start: G41 ;cutter compensation C mode start:...

  • Page 245

    PROGRAMMINGB–63664EN/0212. COMPENSATION FUNCTION221It is possible to store one program as a subprogram and recall subprogramby changing the angle.Programmed pathWhen offset isapplied(0, –10.0)Subprogram(0, 0)Sample program for when the RIN bit (bit 0 of parameter 5400) is setto 1. The specif...

  • Page 246

    PROGRAMMING12. COMPENSATION FUNCTIONB–63664EN/02222When a beam with a rotation axis (C–axis) is moved in the XY planeduring cutting, the normal direction control function can control the beamso that the C–axis is always perpendicular to the beam path (Fig.12.7 (a)).C–axisProgrammedbeam pa...

  • Page 247

    PROGRAMMINGB–63664EN/0212. COMPENSATION FUNCTION223Center of the arcFig.12.7 (c) Normal direction control right (G42.1)Programmed pathBeam center pathFig.12.7 (b) Normal direction control left (G41.1)Beam center pathProgrammed pathWhen viewed from the center of rotation around the C–axis, t...

  • Page 248

    PROGRAMMING12. COMPENSATION FUNCTIONB–63664EN/02224SN1N2SN3SProgrammed pathS : Single block stop pointBeam center pathFig.12.7 (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 that theC–axi...

  • Page 249

    PROGRAMMINGB–63664EN/0212. COMPENSATION FUNCTION225Movement 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 250

    PROGRAMMING12. COMPENSATION FUNCTIONB–63664EN/02226Specify 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 251

    PROGRAMMINGB–63664EN/0212. COMPENSATION FUNCTION227A mirror image of a programmed command can be produced with respectto a programmed axis of symmetry (Fig.12.8 (a)).Y100605050X60100(1)(2)(3)(4)(1) Original image of a programmed commandAxis of symmetry (X=50)Axis of symmetry(Y=50)(2) Image symm...

  • Page 252

    PROGRAMMING12. COMPENSATION FUNCTIONB–63664EN/02228If the programmable mirror image function is specified when thecommand for producing a mirror image is also selected by a CNC externalswitch or CNC setting (see III–4.7), the programmable mirror imagefunction is executed first.Applying a mirr...

  • Page 253

    PROGRAMMINGB–63664EN/0213. CUSTOM MACRO22913 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 254

    PROGRAMMING13. CUSTOM MACROB–63664EN/02230An 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 255

    PROGRAMMINGB–63664EN/0213. CUSTOM MACRO231Local and common variables can have value 0 or a value in the followingranges :–1047 to –10–29010–29 to 1047If the result of calculation turns out to be invalid, an P/S alarm No. 111is issued.When a variable value is defined in a program, the de...

  • Page 256

    PROGRAMMING13. CUSTOM MACROB–63664EN/02232(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 ex...

  • Page 257

    PROGRAMMINGB–63664EN/0213. CUSTOM MACRO233Program numbers, sequence numbers, and optional block skip numberscannot be referenced using variables.Example:Variables cannot be used in the following ways:O#1;/#2G00X100.0;N#3Y200.0;Limitations

  • Page 258

    PROGRAMMING13. CUSTOM MACROB–63664EN/02234System variables can be used to read and write internal NC data such ascutter compensation values and current position data. Note, however, thatsome system variables can only be read. System variables are essentialfor automation and general–purpose ...

  • Page 259

    PROGRAMMINGB–63664EN/0213. CUSTOM MACRO235Table 13.2 (d) System variables for tool compensation memory CCompensationBeam length compensation (H)Cutter compensation(D)CompensationnumberGeometriccompensationWear compensationGeomet-ric com-pensationWearcom-pensation1:200:999#11001(#2201):#11201(#...

  • Page 260

    PROGRAMMING13. CUSTOM MACROB–63664EN/02236Time information can be read and written.Table 13.2 (f) System variables for time informationVariablenumberFunction#3001This variable functions as a timer that counts in 1–millisecondincrements at all times. When the power is turned on, the val-ue o...

  • Page 261

    PROGRAMMINGB–63664EN/0213. CUSTOM MACRO237Table 13.2 (h) System variable (#3004) for automatic operation control#3004Feed holdFeedrate OverrideExact stop0EnabledEnabledEnabled1DisabledEnabledEnabled2EnabledDisabledEnabled3DisabledDisabledEnabled4EnabledEnabledDisabled5DisabledEnabledDisabled6E...

  • Page 262

    PROGRAMMING13. CUSTOM MACROB–63664EN/02238The mirror–image status for each axis set using an external switch orsetting operation can be read through the output signal (mirror–imagecheck signal). The mirror–image status present at that time can bechecked. (See III–4.7)The value obtaine...

  • Page 263

    PROGRAMMINGB–63664EN/0213. CUSTOM MACRO239Modal information specified in blocks up to the immediately precedingblock can be read.Table 13.2 (j) System variables for modal informationVariable numberFunction#4001#4002#4003#4004#4005#4006#4007#4008#4009#4010#4011#4012#4013#4014#4015#4016:#4022#41...

  • Page 264

    PROGRAMMING13. CUSTOM MACROB–63664EN/02240Position information cannot be written but can be read.Table 13.2 (k) System variables for position informationVariablenumberPositioninformationCoordinatesystemCutter com-pensationvalueReadoperationduringmovement#5001–#5008Block end pointWorkpiececoo...

  • Page 265

    PROGRAMMINGB–63664EN/0213. CUSTOM MACRO241Workpiece zero point offset values can be read and written.Table 13.2 (l) System variables for workpiece zero point offset valuesVariablenumberFunction#5201:#5208First–axis external workpiece zero point offset value :Eighth–axis ex...

  • Page 266

    PROGRAMMING13. CUSTOM MACROB–63664EN/02242The following variables can also be used:AxisFunctionVariable numberFirst axisExternal workpiece zero point offsetG54 workpiece zero point offsetG55 workpiece zero point offsetG56 workpiece zero point offsetG57 workpiece zero point offsetG58 workpiece z...

  • Page 267

    PROGRAMMINGB–63664EN/0213. CUSTOM MACRO243By reading the following custom macro variables, the most recentlyspecified E code including program preprocessing can be read.Table 13.2 (m) System variables for the cutting condition setting functionVariablenumberFunction#6032Look–ahead piercing E ...

  • Page 268

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

  • Page 269

    PROGRAMMINGB–63664EN/0213. CUSTOM MACRO245S Specify the lengths of two sides, separated by a slash (/).S The solution ranges are as follows:When the NAT bit (bit 0 of parameter 6004) is set to 0: 0_ to 360_[Example] When #1 = ATAN[–1]/[–1]; is specified, #1 is 225.0.When the NAT bit (bit ...

  • Page 270

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

  • Page 271

    PROGRAMMINGB–63664EN/0213. CUSTOM MACRO247Brackets ([, ]) are used to enclose an expression. Note that parenthesesare used for comments.Errors may occur when operations are performed.Table 13.3 (b) Errors involved in operationsOperationAverageerrorMaximumerrorType of errora = b*c1.55×10–10...

  • Page 272

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

  • Page 273

    PROGRAMMINGB–63664EN/0213. CUSTOM MACRO249The 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, G6...

  • Page 274

    PROGRAMMING13. CUSTOM MACROB–63664EN/02250In 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 275

    PROGRAMMINGB–63664EN/0213. CUSTOM MACRO251Specify a conditional expression after IF.If the specified conditional expression is satisfied, a branch to sequencenumber n occurs. If the specified condition is not satisfied, the next blockis executed.IF [#1 GT 10] GOTO 2 ;N2 G00 G91 X10.0 ; ...

  • Page 276

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

  • Page 277

    PROGRAMMINGB–63664EN/0213. CUSTOM MACRO253When DO m is specified without specifying the WHILE statement, aninfinite loop ranging from DO to END is produced.When a branch to the sequence number specified in a GOTO statementoccurs, the sequence number is searched for. For this reason, processing...

  • Page 278

    PROGRAMMING13. CUSTOM MACROB–63664EN/02254A 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 279

    PROGRAMMINGB–63664EN/0213. CUSTOM MACRO255When G65 is specified, the custom macro specified at address P is called.Data (argument) can be passed to the custom macro program.G65 P p L <argument–specification> ;P : Number of the program to call: Repetition count (1 by default)Argument ...

  • Page 280

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

  • Page 281

    PROGRAMMINGB–63664EN/0213. CUSTOM MACRO257S When M99 is executed in a macro program, control returns to thecalling program. At that time, the local variable level is decrementedby one; the values of the local variables saved when the macro wascalled are restored.O0001 ; :#1=1 ;G65 P2 A2 ; ...

  • Page 282

    PROGRAMMING13. CUSTOM MACROB–63664EN/02258G65 P9100 X x Y y Z z F f I i A a B b H h ;X: X coordinate of the center of the circle (absolute or incremental specification)(#24)Y: Y coordinate of the center of the circle (absolute or incremental specification)(#25)Z : Hole radius (#26)F : ...

  • Page 283

    PROGRAMMINGB–63664EN/0213. CUSTOM MACRO259Once 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 284

    PROGRAMMING13. CUSTOM MACROB–63664EN/02260Bolt hole circles are machined. Each time positioning is performed, a bolthole is machined at that location.270°Bolt holeXYD The origin of the polar coordinate system is the same as that of theworkpiece coordinate system.D The plane is the X–Y plane....

  • Page 285

    PROGRAMMINGB–63664EN/0213. CUSTOM MACRO261By 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 No.6050 = 81By ...

  • Page 286

    PROGRAMMING13. CUSTOM MACROB–63664EN/02262By 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 No.6080 = 50By setting an M...

  • Page 287

    PROGRAMMINGB–63664EN/0213. CUSTOM MACRO263S Because system variable #3002 is used as the timer for time measurement, the time during which the cycle start lamp is lit is measured. However, the stop time due to single–block operation and feed hold is excluded.Set 15 for parameter No. 6080.Set ...

  • Page 288

    PROGRAMMING13. CUSTOM MACROB–63664EN/02264By 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 No.6071 = 03By setti...

  • Page 289

    PROGRAMMINGB–63664EN/0213. CUSTOM MACRO265By 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 290

    PROGRAMMING13. CUSTOM MACROB–63664EN/02266For smooth machining, the CNC prereads the NC statement to beperformed next. This operation is referred to as buffering. During AIcontour control mode, the CNC prereads not only the next block but alsothe multiple blocks. And in the cutter compensation ...

  • Page 291

    PROGRAMMINGB–63664EN/0213. CUSTOM MACRO267N1 X100.0 ;>> : Block being executedj : Block read into the bufferNC statementexecutionMacro statementexecutionBufferN1N2N3N4N2 #1=100 ;N3 #2=200 ;N4 Y200.0 ; :N4When N1 is being executed, the next NC statement (N4) is read into thebuffer. ...

  • Page 292

    PROGRAMMING13. CUSTOM MACROB–63664EN/02268N1 G01 G41 X100.0 G100 Dd ;>> : Block being executedj : Blocks read into the bufferN1N2N3N2 #1=100 ;N3 Y100.0 ;N4 #2=200 ;N5 M08 ;N6 #3=300 ;N7 X200.0 ; :N4N3N5N6N7NC statementexecutionMacro statementexecutionBufferWhen the NC1 block is bei...

  • Page 293

    PROGRAMMINGB–63664EN/0213. CUSTOM MACRO269MeaningNote(In case not to command M code preventing buffer-ing or G53 block.)Number of VariableReadWriteTime informationReadWrite#3001,#3002The data is read / writ-ten at buffering a mac-ro program.Read#3011,#3012The data is read atbuffering a macro pr...

  • Page 294

    PROGRAMMING13. CUSTOM MACROB–63664EN/02270Example)O0001O2000N1 X10.Y10.;(Mxx ;) Specify preventing buffering M code or G53N2 M98P2000;N100 #1=#5041;(Reading X axis current position)N3 Y200.0; N101 #2=#5042;(Reading Y axis current position) : : M99;In above case, the buffering of N2 bl...

  • Page 295

    PROGRAMMINGB–63664EN/0213. CUSTOM MACRO271Custom 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.13.8REGISTERINGCUSTOM MACR...

  • Page 296

    PROGRAMMING13. CUSTOM MACROB–63664EN/02272The 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 297

    PROGRAMMINGB–63664EN/0213. CUSTOM MACRO273In 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 298

    PROGRAMMING13. CUSTOM MACROB–63664EN/02274Example )LF12 (0000000C)M–1638400(FFE70000)Y410 (0000019A)XSpaceCBPRNT [ C** X#100 [3] Y#101 [3] M#10 [0] ]Variable value #100=0.40956 #101=–1638.4 #10=12.34DPRNT [ a #b [ c d ] … ]Number of significant decimal placesNumber of sig...

  • Page 299

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

  • Page 300

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

  • Page 301

    PROGRAMMINGB–63664EN/0213. CUSTOM MACRO277When 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 302

    PROGRAMMING13. CUSTOM MACROB–63664EN/02278A 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 303

    PROGRAMMINGB–63664EN/0213. CUSTOM MACRO279There 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 304

    PROGRAMMING13. CUSTOM MACROB–63664EN/02280(iii) If there are no NC statements in the interrupt program, control isreturned to the interrupted program by M99, then the program isrestarted from the command in the interrupted block.ÉÉÉÉÉÉÉÉÉÉÉÉExecution in progressNormal programInterru...

  • Page 305

    PROGRAMMINGB–63664EN/0213. CUSTOM MACRO281The 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 306

    PROGRAMMING13. CUSTOM MACROB–63664EN/02282There 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 307

    PROGRAMMINGB–63664EN/0213. CUSTOM MACRO283To 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 308

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

  • Page 309

    PROGRAMMINGB–63664EN/0213. CUSTOM MACRO285S The coordinates of point A can be read using system variables #5001and up until the first NC statement is encountered.S The coordinates of point A’ can be read after an NC statement with nomove specifications appears.S The machine coordinates and wo...

  • Page 310

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

  • Page 311

    PROGRAMMINGB–63664EN/0214. PROGRAMMABLE PARAMETERENTRY (G10)2871. Set bit 2 (SBP) of bit type parameter No. 3404G10L50 ; Parameter entry modeN3404 R 00000100 ; SBP settingG11 ; cancel parameter entry mode 2. Change the values for the Z–axis (3rd axis) and A–axis (4th axis) inaxis type param...

  • Page 312

    PROGRAMMING15. MEMORY OPERATION USING FS15 TAPE FORMATB–63664EN/0228815 MEMORY OPERATION USING FS15 TAPE FORMATMemory operation of the program registered by FS15 tape format ispossible with setting of the setting parameter (No. 0001#1).Data formats for cutter compensation and subprogram calli...

  • Page 313

    PROGRAMMINGB–63664EN/0216. HIGH SPEED CUTTING FUNCTIONS28916 HIGH SPEED CUTTING FUNCTIONS

  • Page 314

    PROGRAMMING16. HIGH SPEED CUTTING FUNCTIONSB–63664EN/02290When an arc is cut at a high speed in circular interpolation, a radial errorexists between the actual beam path and the programmed arc. Anapproximation of this error can be obtained from the followingexpression: 0YXr∆r:Error∆r :Maxi...

  • Page 315

    PROGRAMMINGB–63664EN/0216. HIGH SPEED CUTTING FUNCTIONS291This 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 beam can the...

  • Page 316

    PROGRAMMING16. HIGH SPEED CUTTING FUNCTIONSB–63664EN/02292⋅ High–precision contour control⋅ Axis control by the PMC(Bits 4 (G8R) and 3 (G8C) of parameter No. 8004 can be set to also usethis function in the look–ahead control mode.)⋅ Single direction positioning⋅ Polar coordinate com...

  • Page 317

    PROGRAMMINGB–63664EN/0216. HIGH SPEED CUTTING FUNCTIONS293A remote buffer can continuously supply a large amount of data to theCNC at high speeds when connected to the host computer or input/outputequipment via a serial interface.CNCRS–232–C / RS–422Remote bufferHost computerInput/output ...

  • Page 318

    PROGRAMMING16. HIGH SPEED CUTTING FUNCTIONSB–63664EN/02294VBinary input operation enabled :G05;VBinary input operation disabled :The travel distance alongall axes are set to zero.VData format for binary input operationL Data sequence1st axis2nd axisNth axisCheck byteByteHigh byteHigh byteHig...

  • Page 319

    PROGRAMMINGB–63664EN/0216. HIGH SPEED CUTTING FUNCTIONS295**************1514131211109876543210000000000000111111Example: When the travel distance is 700 µm per unit time (millimeter machine with increment system IS–B)1514131211109876543210All bytes of the block except for the check byte ([2...

  • Page 320

    PROGRAMMING16. HIGH SPEED CUTTING FUNCTIONSB–63664EN/02296During high–speed machining, the distribution processing status ismonitored. When distribution processing terminates, P/S alarm No. 000and P/S alarm No. 179 are issued upon completion of the high–speedmachining command (according to...

  • Page 321

    PROGRAMMINGB–63664EN/0216. HIGH SPEED CUTTING FUNCTIONS297Some machining errors are due to the CNC. Such errors includemachining errors caused by acceleration/deceleration after interpolation.To eliminate these errors, the following functions are performed at highspeed by an RISC processor. T...

  • Page 322

    PROGRAMMING16. HIGH SPEED CUTTING FUNCTIONSB–63664EN/02298S, P, Q, E : Specifying a laser output condition (the feedrate and tool compensation amount cannot be changed)Data for movement along axis : Data for moving the tool along theaxis set in parameter No. 1020 (anyaxis selected from X, Y, Z,...

  • Page 323

    PROGRAMMINGB–63664EN/0216. HIGH SPEED CUTTING FUNCTIONS299In the HPCC mode, specifying unspecifiable data causes an alarm. Tospecify a program containing unspecifiable data, specify G05P0 to exitfrom the HPCC mode before specifying the program.< Sample program >O0001 ;G05P10000 ; HPCC–...

  • Page 324

    PROGRAMMING16. HIGH SPEED CUTTING FUNCTIONSB–63664EN/02300S When the offset mode is canceled temporarilyIn the HPCC mode, automatic reference position return (G28) andautomatic return from the reference position (G29) cannot bespecified. Therefore, commands that must cancel the offset modetemp...

  • Page 325

    PROGRAMMINGB–63664EN/0216. HIGH SPEED CUTTING FUNCTIONS301(2) When a block containing no movement operation is specified togetherwith the cutter compensation cancel code (G40), a vector with a lengthequal to the offset value is created in a direction perpendicular to themovement direction of th...

  • Page 326

    PROGRAMMING16. HIGH SPEED CUTTING FUNCTIONSB–63664EN/02302When bit 1 of parameter MSU No. 8403 is set to 1, G00, M, T, and B codescan be specified even in HPCC mode. When specifying these codes inHPCC mode, note the following:(1)When a G00, M, S, T, or B code is specified in cutter compensatio...

  • Page 327

    PROGRAMMINGB–63664EN/0216. HIGH SPEED CUTTING FUNCTIONS303(2)When G00 is specified with bit 7 of parameter SG0 No. 8403 set to 1,the following points should be noted:⋅Since the G00 command is replaced by the G01 command, the beam moves at the feedrate set in parameter No. 8481 even when data ...

  • Page 328

    PROGRAMMING16. HIGH SPEED CUTTING FUNCTIONSB–63664EN/02304Before G05P10000 can be specified, the following modal values must beset. If they are not set, the P/S alarm No. 5012 is issued.G codeMeaning G13.1 Cancels polar coordinate interpolation. G15 Cancels a polar coordinate command. G40 C...

  • Page 329

    PROGRAMMINGB–63664EN/0216. HIGH SPEED CUTTING FUNCTIONS305The high–speed linear interpolation function processes a move commandrelated to a controlled axis not by ordinary linear interpolation but byhigh–speed linear interpolation. The function enables the high–speedexecution of an NC pr...

  • Page 330

    PROGRAMMING16. HIGH SPEED CUTTING FUNCTIONSB–63664EN/02306Minimum feedrateInterpolation period: 8 msecInterpolation period: 4 msec(IS–B, metric input)4mm/min8mm/min(IS–B, inch input)0.38 inch/min0.76 inch/mim(Minimum feedrate) = 4 (interpolation period)8 (IS–B, metric input)In high–...

  • Page 331

    PROGRAMMINGB–63664EN/0216. HIGH SPEED CUTTING FUNCTIONS307Single–block operation is disabled in high–speed linear interpolationmode.:G05 P2 ; X10 Z20 F1000 ; : : : Y30 ; G05 P0 ; :Handled as a single blockFeed hold is disabled in high–speed linear interpolation mode.The cutting feed over...

  • Page 332

    PROGRAMMING16. HIGH SPEED CUTTING FUNCTIONSB–63664EN/02308The AI contour control/AI nano contour control function is provided forhigh–speed, high–precision machining. This function enablessuppression of acceleration/deceleration delays and servo delays thatbecome larger with increases in t...

  • Page 333

    PROGRAMMINGB–63664EN/0216. HIGH SPEED CUTTING FUNCTIONS309The functions listed below are valid in the AI contour control/AI nanocontour control mode:⋅ Nano–interpolation (only in the AI nano contour control mode)⋅ Look–ahead linear acceleration/deceleration before interpolation⋅ Look...

  • Page 334

    PROGRAMMING16. HIGH SPEED CUTTING FUNCTIONSB–63664EN/02310Linear interpolation, circular interpolation, etc.DistributionpulseSpecifiedfeedrateLinear accelera-tion/deceleration before interpolationFeedrate calculationServo controlAcceleration/deceleration after interpolationInterpolation calcula...

  • Page 335

    PROGRAMMINGB–63664EN/0216. HIGH SPEED CUTTING FUNCTIONS311Linear acceleration/deceleration before interpolation for cutting feed inthe AI contour control/AI nano contour control mode can be changed tobell–shaped acceleration/deceleration before interpolation. Withbell–shaped acceleration/d...

  • Page 336

    PROGRAMMING16. HIGH SPEED CUTTING FUNCTIONSB–63664EN/02312When the feedrate is changed, deceleration and acceleration areperformed as follows:For deceleration: Bell–shaped deceleration is started in the precedingblock so that deceleration terminates by the beginning of the block inwhich the f...

  • Page 337

    PROGRAMMINGB–63664EN/0216. HIGH SPEED CUTTING FUNCTIONS313Feedrate along the X–axisN1N2N2N1F1000 F500F1000 F500F1000 F500N2N1Tool path when decelerationis not performed at the cornerTool path when deceleration isperformed at the cornerN1 G01 G91 X100. F1000 ;N2 Y100. ;FeedrateFeedrateFeedrate...

  • Page 338

    PROGRAMMING16. HIGH SPEED CUTTING FUNCTIONSB–63664EN/02314When continuous minute straight lines form curves as shown in theexample in the figure below, the feedrate difference for each axis at eachcorner is not so large. For this reason, deceleration according to thefeedrate difference is not ...

  • Page 339

    PROGRAMMINGB–63664EN/0216. HIGH SPEED CUTTING FUNCTIONS315N9N5N1N9N5N1The maximum allowable feedrate v for an arc of radius r specified in aprogram is calculated using the arc radius R and maximum allowablefeedrate V (setting of a parameter) for the radius as follows so that theacceleration in ...

  • Page 340

    PROGRAMMING16. HIGH SPEED CUTTING FUNCTIONSB–63664EN/02316By setting the corresponding parameter, the linear or non–linearinterpolation type can be selected. (In the AI nano contour control mode,the non–linear interpolation type cannot be selected.)When the linear interpolation type is sel...

  • Page 341

    PROGRAMMINGB–63664EN/0216. HIGH SPEED CUTTING FUNCTIONS317tbtbtbtbtatatctcFeedrateTime Linear acceleration/deceleration Bell–shaped acceleration/decelerationtaDepends on the linear acceleration.tbTime constant for bell–shaped acceleration/decelerationtcBell–shaped acceleration/deceleratio...

  • Page 342

    PROGRAMMING16. HIGH SPEED CUTTING FUNCTIONSB–63664EN/02318If the feedrate during movement is F, the acceleration for linearacceleration/deceleration is A, the time constant for bell–shapedacceleration/deceleration is T, the time required for acceleration/deceleration can be obtained as follow...

  • Page 343

    PROGRAMMINGB–63664EN/0216. HIGH SPEED CUTTING FUNCTIONS319In the following tables, AI control means the AI contour control/AI nanocontour control mode.(1) Parameters related to linear acceleration/deceleration beforeinterpolationParameterParameter numberParameterNormalAd-vancedpreviewcontrolAI ...

  • Page 344

    PROGRAMMING16. HIGH SPEED CUTTING FUNCTIONSB–63664EN/02320(4) Parameters related to feedrate clamping by arc radiusParameterParameter numberParameterNormalAd-vancedpreviewcontrolAI contourArc radius corresponding to the upper fee-drate limit1731Upper feedrate limit at arc radius R1730Lower clam...

  • Page 345

    PROGRAMMINGB–63664EN/0216. HIGH SPEED CUTTING FUNCTIONS321Num-berDescriptionMessage5156ILLEGAL AXIS OPERATION(AICC)In the AI contour control/AI nano contourcontrol mode, the controlled axis selectionsignal (PMC axis control) changed.In the AI contour control/AI nano contourcontrol mode, the sim...

  • Page 346

    PROGRAMMING16. HIGH SPEED CUTTING FUNCTIONSB–63664EN/02322Axis controlf : Can be specified. : Cannot be specified.NameFunctionNumber of controlled axes3 to 8To use four to eight axes, another option is required.Number of simultaneously con-trolled axesUp to 6To use three or more simultaneously...

  • Page 347

    PROGRAMMINGB–63664EN/0216. HIGH SPEED CUTTING FUNCTIONS323NameFunctionDwell (G04)f (Dwell with the time in seconds or speed speci-fied) For dwell with the speed specified, anoth-er option is required.Polar coordinate interpolation(G12.1, G13.1) Cylindrical interpolation (G07.1) Helical interpol...

  • Page 348

    PROGRAMMING16. HIGH SPEED CUTTING FUNCTIONSB–63664EN/02324NameFunctionOne–digit F code feedf To enable feedrate change using a manualhandle, set bit 1 (AF1) of parameter No. 7055to 1.Override cancelfExternal decelerationfLook–ahead bell–shaped accel-eration/deceleration before inter-polat...

  • Page 349

    PROGRAMMINGB–63664EN/0216. HIGH SPEED CUTTING FUNCTIONS325Auxiliary functions/spindle–speed functionsf : Can be specified. : Cannot be specified.NameFunctionAuxiliary function (Mxxxx)f The function code and function strobe signalsare output only.Second auxiliary function (Bxxxx)f The functio...

  • Page 350

    PROGRAMMING16. HIGH SPEED CUTTING FUNCTIONSB–63664EN/02326Tool compensation functionsf : Can be specified. : Cannot be specified.NameFunctionTool function (Txxxx)f The function code and function strobe signalsare output only.Tool offset memory BfTool offset memory CfTool offset (G45 to G48) Cu...

  • Page 351

    PROGRAMMINGB–63664EN/0217. AXIS CONTROL FUNCTIONS32717 AXIS CONTROL FUNCTIONS

  • Page 352

    PROGRAMMING17. AXIS CONTROL FUNCTIONSB–63664EN/02328It 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.Synchronous control can be performed for up to four pairs of axes withthe Series 1...

  • Page 353

    PROGRAMMINGB–63664EN/0217. AXIS CONTROL FUNCTIONS329This 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 354

    PROGRAMMING17. AXIS CONTROL FUNCTIONSB–63664EN/02330In synchronous axis control, commands that require no axis motion, suchas the workpiece coordinate system setup command (G92) and the localcoordinate system setup command (G52), are set to the Y axis by programcommand Yyyyy issued to the maste...

  • Page 355

    PROGRAMMINGB–63664EN/0217. AXIS CONTROL FUNCTIONS331The roll–over function prevents coordinates for the rotation axis fromoverflowing. The roll–over function is enabled by setting bit 0 ofparameter ROAx 1008 to 1.For an incremental command, the tool moves the angle specified in thecommand....

  • Page 356

    PROGRAMMING17. AXIS CONTROL FUNCTIONSB–63664EN/02332When 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 357

    PROGRAMMING18. SPECIFYING THE LASER FUNCTIONB–63664EN/0233318 SPECIFYING THE LASER FUNCTION

  • Page 358

    PROGRAMMING18. SPECIFYING THE LASER FUNCTIONB–63664EN/02334The laser power can be controlled in a block containing machiningcommands (linear interpolation G01 and circular interpolation G02 andG03).G03G02G01S_P_Q_;S_: Peak power (W)P_: Pulse frequency(Hz)Q_: Pulse duty (%)When a machining comma...

  • Page 359

    PROGRAMMING18. SPECIFYING THE LASER FUNCTIONB–63664EN/02335The peak power that can actually be output is limited by the capacity ofthe laser oscillator. Thus, the maximum and minimum peak powers thatcan be specified are specified by parameters (PRM.15210 for themaximum, PRM.15211 for the minimu...

  • Page 360

    PROGRAMMING18. SPECIFYING THE LASER FUNCTIONB–63664EN/02336Stable piercing can be performed in the shortest time by changing theoutput during piercing (drilling) in a step fashion to achieve the optimumpower.G24 S_P_Q_I_J_K_H_R_;S_ : Peak power (W)P_ : Initial pulse frequency (Hz)Q_ : Initial p...

  • Page 361

    PROGRAMMING18. SPECIFYING THE LASER FUNCTIONB–63664EN/02337Specifies the initial pulse duty (ratio of the pulse ON time to the pulseperiod) during piercing.Specifies the pulse frequency increment per step during piercing.Specifies the increment of the pulse duty (ratio of the pulse ON time toth...

  • Page 362

    PROGRAMMING18. SPECIFYING THE LASER FUNCTIONB–63664EN/02338#715003#6#5#4#3#2#1HPT#0HPT Specifies whether the piercing time is to be updated when Extend orShorten is performed.1 : Does not update the time.0 : Updates the time (default).Override cannot be applied to the data items for piercing (p...

  • Page 363

    PROGRAMMING18. SPECIFYING THE LASER FUNCTIONB–63664EN/02339The laser power control function ensures uniform machining bycontrolling the peak power, pulse frequency, and pulse duty when theactual feedrate changes from that specified for corners and otherlocations.G63 P1;Laser power control modeG...

  • Page 364

    PROGRAMMING18. SPECIFYING THE LASER FUNCTIONB–63664EN/02340Whether the laser power control function is to be enabled or disabled canbe specified using the laser setup screen or a parameter.1) Specification using the laser setup screenThe laser power control function is enabled by setting the po...

  • Page 365

    PROGRAMMING18. SPECIFYING THE LASER FUNCTIONB–63664EN/02341The power control mode can be turned on and off also by specifying Ecodes.Ten types of cutting conditions for the power control function can beregistered as cutting data for the cutting condition setting function.These condition data ty...

  • Page 366

    PROGRAMMING18. SPECIFYING THE LASER FUNCTIONB–63664EN/02342[POWER CONTROL]ACTIVE DATA NO. CUTTING = 5PIERCING = 103NO.POWERFREQUENCYDUTYPWR./SPEED VAR.MINF=0MINF=0MINF=0901***************************902***************************903***************************904***************************905***...

  • Page 367

    PROGRAMMING18. SPECIFYING THE LASER FUNCTIONB–63664EN/02343When G01 is used instead of G00 to perform positioning, beam outputmust be stopped during positioning operation.When G01S0 or G01Q0 is specified because G01 is used for positioningin the power control mode, the power and pulse duty cycl...

  • Page 368

    PROGRAMMING18. SPECIFYING THE LASER FUNCTIONB–63664EN/02344Laser outputThe laser output increases becausethe reference feedrate lowers.Actual feedrateOverride changed (large to small value)TimeReference feedrate Fc afteroverride is changedAs the feedrate becomessteady, the original laseroutput ...

  • Page 369

    PROGRAMMING18. SPECIFYING THE LASER FUNCTIONB–63664EN/02345ProgramCutting condition screenPower control condition screenPOWER CTLPOWERFREQUENCYDUTYPWR./SPEED VAR.0001 ;-----------------E001 ;G91 G01 X70.0 ; G01 Y100.0 ; G01 X–70.0 ; E003 ; G01 X–30.0 ; ----------------M30 ;E001 901E00...

  • Page 370

    PROGRAMMING18. SPECIFYING THE LASER FUNCTIONB–63664EN/0234615090Minimum power specification value[Data unit] W[Data range] 0 to 7000Minimum clamp value for the power specification value that correspondsto Mmin. If the power specification value calculated from the currentfeedrate is less than th...

  • Page 371

    PROGRAMMING18. SPECIFYING THE LASER FUNCTIONB–63664EN/02347#7EGM15096#6SDB#5FOV#4SQ0#3#2PCD#1PCF#0PCPPCP Specifies whether to control the power specification value with thefeedrate.0 : Does not control the value.1 : Controls the value.PCF Specifies whether to control the pulse frequency with th...

  • Page 372

    PROGRAMMING18. SPECIFYING THE LASER FUNCTIONB–63664EN/0234815098Parameter for calculating the rate of frequency change (frequency at a feedrate(F) of 0)[Data unit] Hz[Data range] 5 to 2000Sets the frequency corresponding to Mo, i.e., the frequency assumedwhen the feedrate (F) is equal to 0. The...

  • Page 373

    PROGRAMMING18. SPECIFYING THE LASER FUNCTIONB–63664EN/02349If the laser beam output conditions are to be changed when there areconsecutive machining blocks, the output conditions are changed to thosefor the next block at the deceleration position of the current block. Thelarger the feedrate, th...

  • Page 374

    PROGRAMMING18. SPECIFYING THE LASER FUNCTIONB–63664EN/02350A dedicated parameter (PRM.15410) is provided so that another delaytime can be set in high–precision contour control mode (HPCC mode).1) Of the functions controlling the output conditions, the followingcannot be used together with the...

  • Page 375

    PROGRAMMING18. SPECIFYING THE LASER FUNCTIONB–63664EN/02351The step function controls the laser power in steps for a set distance,starting from the weld start point and for another set distance ending atthe weld end point when welding is performed with laser beammachining, to achieve good weldi...

  • Page 376

    PROGRAMMING18. SPECIFYING THE LASER FUNCTIONB–63664EN/02352StepStep power distancemm12345678910301Up00.0000000000000000000000000000000000000000000301Down00.0000000000000000000000000000000000000000000302Up00.0000000000000000000000000000000000000000000302Down00.00000000000000000000000000000000000...

  • Page 377

    PROGRAMMING18. SPECIFYING THE LASER FUNCTIONB–63664EN/02353The following is a machining program example:O0010;G92G90X0Y0;(1) E1;Cutting/machining condition definition. . . (2) E301;Step control mode & condition definition. . . (3) G01X100;(4) E302;Step control condition definition. . . (5) ...

  • Page 378

    PROGRAMMING18. SPECIFYING THE LASER FUNCTIONB–63664EN/02354In step control mode, only the laser power is changed according to the setdistances; other conditions such as the frequency, duty, and feedrate arenot changed. The data effective at that time is inherited. After the 10thstep, where ramp...

  • Page 379

    PROGRAMMING18. SPECIFYING THE LASER FUNCTIONB–63664EN/0235515745Distance for one step during ramp DOWN operation[Data format] Word[Data unit] 1/1000 mm[Data range] 0 to 65000Sets the distance for one step during ramp DOWN operation in stepcontrol.15746Ramp DOWN step power 115747Ramp DOWN step p...

  • Page 380

    PROGRAMMING18. SPECIFYING THE LASER FUNCTIONB–63664EN/02356The assist gas command (G32) performs assist gas control. Two methodsof assist gas control are supported: flow pattern specification and directgas pressure control specification.G32 is specified to output, switch, or stop the assist gas...

  • Page 381

    PROGRAMMING18. SPECIFYING THE LASER FUNCTIONB–63664EN/02357When assist gas is output with G32, the shutter is opened. When theoutput of assist gas is stopped with G32P0, the shutter is closed.Whether to use flow pattern specification or direct gas pressure controlspecification is determined by ...

  • Page 382

    PROGRAMMING18. SPECIFYING THE LASER FUNCTIONB–63664EN/02358Specify a settling time for the assist gas. The settling time is the periodfrom the assist gas first being output until a specified assist gas pressureis reached. Machining is started once this settling time has elapsed.ÔÔÔÔÔÔÔÔ...

  • Page 383

    PROGRAMMING18. SPECIFYING THE LASER FUNCTIONB–63664EN/02359When the machining condition setting function is used, assist gasspecification data for piercing and machining can be registeredbeforehand. Then, a desired type of assist gas operation can be specifiedfor execution in address L after G3...

  • Page 384

    PROGRAMMING18. SPECIFYING THE LASER FUNCTIONB–63664EN/02360Data consisting of a set of items required for laser machining can benumbered and registered in a data area. Then, when a program specifiesa data number, the corresponding data is read to perform laser machining.This data area has an en...

  • Page 385

    PROGRAMMING18. SPECIFYING THE LASER FUNCTIONB–63664EN/02361By specifying an E code together with G24, the conditions required formachining can be set.S When an E code is combined with the G codeG24 E__;S When an E code is specified aloneE__;G24;S E_: Piercing data set number (101 to 103, 101 to...

  • Page 386

    PROGRAMMING18. SPECIFYING THE LASER FUNCTIONB–63664EN/02362An M code for transferring a comment is provided.This code can be set in parameter No. 15350.Use of this M code allows a comment consisting of up to 24 alphanumericcharacters to be posted to the PMC via the window function.In a comment,...

  • Page 387

    PROGRAMMING18. SPECIFYING THE LASER FUNCTIONB–63664EN/02363The edge machining function is used to sharpen an edge of a workpiece.This function consists of edge detection, gradual stop control, piercing,and control over the power and feedrate used in the transition frompiercing to machining. Thi...

  • Page 388

    PROGRAMMING18. SPECIFYING THE LASER FUNCTIONB–63664EN/02364In G64 mode (machining feed), the angle θ of the corner formed by twomachining feed blocks (A and B) is calculated.θ(a) Straight line with straight lineB(G01)A(G01)(b) Straight line with arcθB(G01)A(G02)θA(G01)B(G03)(c) Arc with arc...

  • Page 389

    PROGRAMMING18. SPECIFYING THE LASER FUNCTIONB–63664EN/02365At the transition from block A to block B, machining is performed asshown below.Se,Pe,QeSa,Pa,QaFaFrSb,Pr,QrSb,Pb,QbFbTimeFeedrate/powerBlock ATeLrBlock BFa : Feedrate of block ASa : Output peak value of block APa : Pulse frequency of b...

  • Page 390

    PROGRAMMING18. SPECIFYING THE LASER FUNCTIONB–63664EN/02366When the cutter compensation function is used in edge machining mode,a miniature block that does not exist in the machining program may begenerated, depending on the mode (G41 or G42). The figure below showshow edge machining is perform...

  • Page 391

    PROGRAMMING18. SPECIFYING THE LASER FUNCTIONB–63664EN/02367When assist gas switching is performed for piercing in edge machining,whether to output a beam for the assist gas settling time can be specifiedby setting bit 4 of parameter No. 15004.When assist gas switching is not to be performed for...

  • Page 392

    PROGRAMMING18. SPECIFYING THE LASER FUNCTIONB–63664EN/02368If portions at or around a corner that are left uncut in edge cutting, settingbit 2 of parameter No. 15007 or bit 7 of parameter No. 15012 to 1 mayimprove this phenomenon.If you want to perform edge cutting even in the exact stop mode, ...

  • Page 393

    PROGRAMMING18. SPECIFYING THE LASER FUNCTIONB–63664EN/02369#715007#6#5#4XSC#3ECK#2ESE#1#0[Data type] BitESE If piercing is to be executed in edge machining, it is:0 : Executed upon the completion of distribution.1 : Executed after a smoothing error check is performed upon thecompletion of distr...

  • Page 394

    PROGRAMMING18. SPECIFYING THE LASER FUNCTIONB–63664EN/02370CAUTIONThis setting is ignored if bit 0 of parameter No. 15011 is setto 1.CSC In the startup machining mode, when S, P, Q, or F is specified at the sametime in the first G01, G02, or G03 block that appears after G24:0 : Startup machinin...

  • Page 395

    PROGRAMMING18. SPECIFYING THE LASER FUNCTIONB–63664EN/02371When selecting startup machining mode, set a desired number from 201to 205 in the startup selection item on the machining data group screenof the machining condition setting screen in the same way as in edgemachining mode selection. At ...

  • Page 396

    PROGRAMMING18. SPECIFYING THE LASER FUNCTIONB–63664EN/02372The high–speed laser machining function offers the following functions:(1) RISC control(2) Beam on/off control in the RISC mode(3) Beam output condition delay control(4) Power control function(5) Parameter switch function for high–s...

  • Page 397

    PROGRAMMING18. SPECIFYING THE LASER FUNCTIONB–63664EN/02373S Method that rewrites parameter settings with G10S Method that rewrites specified output condition values with thePMC–CNC windowS Method that rewrites specified output condition values with systemvariables of the macro executorS Meth...

  • Page 398

    PROGRAMMING18. SPECIFYING THE LASER FUNCTIONB–63664EN/02374Whether to enable or disable the power control function can be set usingthe laser setting screen or a parameter.Setting using the laser setting screenBy setting the power control item on the laser setting screen to 1, thepower control f...

  • Page 399

    PROGRAMMING18. SPECIFYING THE LASER FUNCTIONB–63664EN/02375Three modes of laser machining are supported to satisfy differentmachining needs:(1) Normal machining modeThis mode does not use the high–speed high–precision contouringfunction. The G13, G14, G24, G32, and G63 commands can be used....

  • Page 400

    PROGRAMMING18. SPECIFYING THE LASER FUNCTIONB–63664EN/02376(1) An E code is specified to select a parameter. When an E code isspecified, it is stored as an active E code.(2) An E code from E501 to E506 is used.(3) When a command for setting RISC mode is executed, parameterswitching is performed...

  • Page 401

    PROGRAMMING18. SPECIFYING THE LASER FUNCTIONB–63664EN/02377[Classification] Output signal[Function] Notifies the PMC that the power control mode is set.[Operation] Output when transition to the power control mode is completed.#7G0224#6#5#4#3#2#1PWCTL#0#7G0224#6#5#4#3#2#1PCMD#0#715000#6#5FLT#4#3...

  • Page 402

    PROGRAMMING18. SPECIFYING THE LASER FUNCTIONB–63664EN/0237815091Minimum pulse frequency[Unit of data ] Hz[Valid data range] 5 to 2000This parameter specifies a minimum pulse frequency clamp value. If thefrequency calculated from the current feedrate becomes lower than thevalue set in this param...

  • Page 403

    PROGRAMMING18. SPECIFYING THE LASER FUNCTIONB–63664EN/02379#7EGM15096#6#5#4#3#2PCD#1PCF#0PCPPCP Power value control based on feedrate is0 : Not applied.1 : Applied.PCF Pulse frequency control based on feedrate is0 : Not applied.1 : Applied.PCD Pulse duty cycle control based on feedrate is0 : No...

  • Page 404

    PROGRAMMING18. SPECIFYING THE LASER FUNCTIONB–63664EN/02380NOTE1 With the parameter switch function, the parameter for theZ–axis cannot be changed.2 With the parameter switch function, the parameter for themirror axis used for constant optical path length controlcannot be changed.3 A display ...

  • Page 405

    PROGRAMMING18. SPECIFYING THE LASER FUNCTIONB–63664EN/02381When inputting the signal from a sensor which is installed at the end ofthe nozzle of the laser processing system to detect the distance from theworkpiece, the CNC issues a move command for the Z–axis (or W–axis)to obtain a specifie...

  • Page 406

    PROGRAMMING18. SPECIFYING THE LASER FUNCTIONB–63664EN/02382This function enables laser output functions in the AI contour controlmode and the AI nano contour control mode. For details of the AI contourcontrol mode and the AI nano contour control mode, refer to theFS16i–MB Operator’s Manual...

  • Page 407

    PROGRAMMING18. SPECIFYING THE LASER FUNCTIONB–63664EN/02383The beam delay control function controls the laser output timingaccording to the delay in the machine.The beam output timing can be delayed according to the delay timing setin parameter No. 15219.In the AI contour control mode and AI na...

  • Page 408

    PROGRAMMING18. SPECIFYING THE LASER FUNCTIONB–63664EN/02384#7DLY15005#6#5#4#3#2#1#0DLY0 : Disables the beam delay function.1 : Enables the beam delay function.15219Beam output condition delay time[Unit of data ] 8msec or 2msec (depending on the batch transfer quantity)[Valid data range] 0 to 8S...

  • Page 409

    PROGRAMMING19. THREE–DIMENSIONALCUTTING FUNCTIONB–63664EN/0238519 THREE–DIMENSIONAL CUTTING FUNCTION

  • Page 410

    PROGRAMMING19. THREE–DIMENSIONALCUTTING FUNCTIONB–63664EN/02386If attitude control is specified with five or more controlled axes specified,nozzles are put under attitude control with the fourth and fifth axes usedas rotational axes, thus realizing a three–dimensional machine tool.The follo...

  • Page 411

    PROGRAMMING19. THREE–DIMENSIONALCUTTING FUNCTIONB–63664EN/02387Spatial circular interpolation can be performed by specifying midpointsand end points following G12.G12Xm__Ym__Zm__Am__Bm__;Xe__Ye__Ze__Ae__Be__;A: Fourth axisB: Fifth axisTable 19.2 Explanation of the Command FormatCommandExplan...

  • Page 412

    PROGRAMMING19. THREE–DIMENSIONALCUTTING FUNCTIONB–63664EN/023881) For spatial circular interpolation, the path to the end point along an arccan be obtained by specifying the midpoint as well as the end point.The movement can be divided into the following two blocks: a blockfrom the start poin...

  • Page 413

    PROGRAMMING19. THREE–DIMENSIONALCUTTING FUNCTIONB–63664EN/02389Spatial corner rounding automatically inserts an arc of the specifiedradius into the corner made by two linear movements in space.G33G01X__Y__Z__A__B__R__F__;X__Y__Z__A__B__;R__;X__Y__Z__A__B__;G34;Table 19.3 Explanation of the C...

  • Page 414

    PROGRAMMING19. THREE–DIMENSIONALCUTTING FUNCTIONB–63664EN/023901)When the angle made by the current block with the next block is lessthan 1° or 180°± 1° , the nozzle moves linearly at the corner with noarc inserted.2)During single–block operation, the nozzle moves to the end point ofthe...

  • Page 415

    PROGRAMMING19. THREE–DIMENSIONALCUTTING FUNCTIONB–63664EN/02391The origin of coordinate conversion, nozzle direction, and positiveX–axis direction can be specified in the block in which thethree–dimensional coordinate conversion command (G68) is specified tochange the programmed coordinat...

  • Page 416

    PROGRAMMING19. THREE–DIMENSIONALCUTTING FUNCTIONB–63664EN/02392For the nozzle direction, three–dimensional coordinate conversion is notperformed. That is, the nozzle direction is assumed to be oriented in theZ–axis direction.Specify the vector with incremental values starting from the ori...

  • Page 417

    PROGRAMMING19. THREE–DIMENSIONALCUTTING FUNCTIONB–63664EN/02393The length of the second arm of a three–dimensional offset–type machinemay be changed due to replacement of the processing head. In this case,nozzle tip fixing control cannot operate normally without referenceposition return.T...

  • Page 418

    PROGRAMMING19. THREE–DIMENSIONALCUTTING FUNCTIONB–63664EN/0239415616Second arm lengthSets the length of the second arm.Range of valid settings: 0 to 500000 (metric output)0 to 196850 (inch output)Unit: 0.001 mm (metric output)0.0001 inch (inch output)15619Nozzle lengthSets the length of the n...

  • Page 419

    PROGRAMMING19. THREE–DIMENSIONALCUTTING FUNCTIONB–63664EN/02395Normally, the travel distance in G71R_ is used for executing a positioningcommand (Fig. 19.6 (a)), but it can be used for interpolation at the sametime when the next move command is executed. (Fig. 19.6 (b))<1> Movementfor...

  • Page 420

    PROGRAMMING19. THREE–DIMENSIONALCUTTING FUNCTIONB–63664EN/02396If bit 1 (NZB) of parameter No. 15625 is set to 1, the compensation valuein G71R_ is stored in the NC, and it is used for interpolation at the sametime when the move command specified in the next or a subsequent blockis executed. ...

  • Page 421

    PROGRAMMING19. THREE–DIMENSIONALCUTTING FUNCTIONB–63664EN/02397Bit 1 (NZB) of parameter No. 15625 is set to 1. (A: Fourth axis, B: Fifthaxis)SSN01 G71 R piercing position;...2nd arm length compensation (no axis movement)N02 G01 X_ Y_ F_;...Perform interpolation of compensation value to...

  • Page 422

    PROGRAMMING19. THREE–DIMENSIONALCUTTING FUNCTIONB–63664EN/02398When a given point in the coordinate system for the processing programis specified as the base point and a target point corresponding to the basepoint is also specified, the processing program, transformed in threedimensions, runs...

  • Page 423

    PROGRAMMING19. THREE–DIMENSIONALCUTTING FUNCTIONB–63664EN/02399Set the coordinates at the base and target points on the setting screen (seePart III, ”Operation”) in advance and specify the above command in theprogram.When the program is executed and the above command is read, transformpro...

  • Page 424

    PROGRAMMING19. THREE–DIMENSIONALCUTTING FUNCTIONB–63664EN/02400Mirror image transform and movement transform can be specifiedsimultaneously.For example, when a movement transform is specified, then a mirrorimage transform is specified without specifying a cancel command asfollows, both transf...

  • Page 425

    PROGRAMMING19. THREE–DIMENSIONALCUTTING FUNCTIONB–63664EN/024017) Immediately after G98, three–dimensional transform is performed onnozzle movement based on the current position of the nozzle. So,unexpected changes may occur to the nozzle position. Before issuingG98, therefore, position t...

  • Page 426

    √√PROGRAMMING19. THREE–DIMENSIONALCUTTING FUNCTIONB–63664EN/02402If the fourth and fifth axes are specified simultaneously with the X–, Y–,and Z–...

  • Page 427

    √√√PROGRAMMING19. THREE–DIMENSIONALCUTTING FUNCTIONB–63664EN/02403Therefore, the following expressions give clamp values for the feedrates.fx=Rpdx/{1+[a/L*(π*R/180)]+[b/L*(π*P/180)]}fy=Rpdy/{1+[a/L*(π*R/180...

  • Page 428

    PROGRAMMING19. THREE–DIMENSIONALCUTTING FUNCTIONB–63664EN/02404The estimated maximum X–axis feedrate is:FXMAX=FXL+FXA+FXB=10.442*fThe estimated maximum Y–axis feedrate is:FYMAX=FYL+FYA+FYB=10.71*fThe estimated maximum Z–axis feedrate is:FZMAX=FZL+0+FZB=6.888*fIf f is determined so that ...

  • Page 429

    PROGRAMMING19. THREE–DIMENSIONALCUTTING FUNCTIONB–63664EN/02405If a specified feedrate output to the motor of each axis exceeds theparameter–specified feedrate, this function applies automatic overridinginstantly so that the output feedrate is lowered to within theparameter–specified feed...

  • Page 430

    PROGRAMMING19. THREE–DIMENSIONALCUTTING FUNCTIONB–63664EN/0240615621Maximum speed 1 after position control[Data type] Two–word axis[Unit of data, valid data range]Increment systemUnit of dataIS–A, IS–BIS–CMillimeter machine1 mm/min or 1 deg/min0 to 2400000 to 100000Inch machine0.1 inc...

  • Page 431

    PROGRAMMING19. THREE–DIMENSIONALCUTTING FUNCTIONB–63664EN/02407When beveling is performed, the bevel torch must always be positionedin a direction normal to a specified straight line or arc. The torch turningcontrol function controls the bevel torch so that it is positioned in thenormal dire...

  • Page 432

    PROGRAMMING19. THREE–DIMENSIONALCUTTING FUNCTIONB–63664EN/02408Torch turning control is specified with the following G codes:G41.1 (G151) : Turn torch leftG42.1 (G152) : Turn torch rightG40.1 (G150) : Cancel torch turningThese G codes are the same as for normal direction control. Whether tou...

  • Page 433

    PROGRAMMING19. THREE–DIMENSIONALCUTTING FUNCTIONB–63664EN/02409Turn torch right(Sample program)For circular interpolation,always turning in direction normal to arcArc centerWorkpieceTurned while movedN01 G90N02 G42.1N03 G01Xx1Yy1N04 G03Xx2Yy2Rr2(x2,y2)(x1,y1)Fig. 19.10 (c) Turning the torch ...

  • Page 434

    PROGRAMMING19. THREE–DIMENSIONALCUTTING FUNCTIONB–63664EN/02410#71006#6#5#4#3#2#1#0ROTx[Data type] Bit axisROTx Setting linear or rotary axis.0 : Linear axis1 : Rotary axis#71008#6#5#4#3#2#1#0ROAx[Data type] Bit axisROAx The rotary axis roll–over function is:0 : Invalid1 : Valid1260Amount o...

  • Page 435

    PROGRAMMING19. THREE–DIMENSIONALCUTTING FUNCTIONB–63664EN/024115483Limit value of movement that is executed at the normal direction angle of apreceding block[Data type] 2–word[Unit of data]Increment systemIS–BUnitMillimeter input0.001mmInch input0.0001inch[Valid data range] 1 to 99999999T...

  • Page 436

    PROGRAMMING19. THREE–DIMENSIONALCUTTING FUNCTIONB–63664EN/02412[Classification][Function] When this signal is driven to “1”, specifying G41.1 or G42.1 (G151 orG152) enables torch turning control.When this signal is “0”, normal direction control is enabled.This signal status can be cha...

  • Page 437

    III. OPERATION

  • Page 438

  • Page 439

    OPERATIONB–63664EN/021. GENERAL4151 GENERAL

  • Page 440

    OPERATION1. GENERALB–63664EN/02416The CNC machine nozzle has a position used to determine the machineposition.This position is called the reference position.Generally, the nozzle is moved to the reference position immediately afterthe power is turned on. Moving the nozzle to the reference posit...

  • Page 441

    OPERATIONB–63664EN/021. GENERAL417The machine operator’s panel switches, buttons, and manual handle canbe used to move the nozzle along each axis.NozzleWorkpieceMachine operator’s panelManual handleFig.1.1 (b) Moving the Nozzle Manually(i) Jog feed (See Section III–3.2.)The nozzle moves ...

  • Page 442

    OPERATION1. GENERALB–63664EN/02418Moving the machine according to a created program is calledautomatic operation.Automatic operation includes memory and MDI operations. (SeeSection III–4.)ProgramNozzle01000;G92_X_ ;G00...;G01......;....Fig.1.2 (a) Moving the Nozzle Using a ProgramA program c...

  • Page 443

    OPERATIONB–63664EN/021. GENERAL419In this mode of operation, the program is not registered in the CNCmemory. It is read from the external input/output devices instead. Thisis called DNC operation. This mode is useful when the program is toolarge to fit the CNC memory.D DNC operation

  • Page 444

    OPERATION1. GENERALB–63664EN/02420Select a program for the workpiece to be processed. Generally, oneprogram is prepared for one workpiece. When multiple programs arestored on a tape or in memory, search the tape or memory for the programnumber (see Section III–9.3.) to select the program to b...

  • Page 445

    OPERATIONB–63664EN/021. GENERAL421The manual handle can be rotated during automatic operation to add themanual–feed amount to the automatic–feed amount for the nozzlemovement. (See Section III–4.8.)WorkpieceNozzleDepth of cutspecified in theprogramDepth of cut spe-cified using themanual h...

  • Page 446

    OPERATION1. GENERALB–63664EN/02422Before processing is started for a production run, automatic operationmay be performed to check the created program to see whether themachine moves as desired.This check can be made by running the machine or checking the currentposition display change without a...

  • Page 447

    OPERATIONB–63664EN/021. GENERAL423When the cycle start button is pressed, the nozzle performs one operation,then stops. When the cycle start button is pressed again, the nozzleperforms the next operation, then stops. The program is checked in thisway. (See Section III–5.5.)CyclestartNozzleCyc...

  • Page 448

    OPERATION1. GENERALB–63664EN/02424After a created program has been stored into memory, it can be correctedor modified from the MDI panel (see Section III–9).This operation can be performed using the part program storage and editfunction.Storing a programCorrecting or modifying the programMDIT...

  • Page 449

    OPERATIONB–63664EN/021. GENERAL425A new value can be set for the data stored in CNC internal memory on thescreen by key operation, and memory data can be displayed on the screen.(See Chapter III–11.)Setting dataDisplaying dataScreenMDICNC memoryKeysFig.1.6 (a) Displaying and Setting DataSett...

  • Page 450

    OPERATION1. GENERALB–63664EN/02426Proces-sing pro-fileProcessing path of the second nozzle (beam)Processing path of the first nozzle (beam)Offset value for the first nozzle (beam)Offset value for the second nozzle (beam)Fig.1.6 (c) Offset ValuesAside from parameters, data is set by the operato...

  • Page 451

    OPERATIONB–63664EN/021. GENERAL427The CNC functions are compatible with the characteristics of a widevariety of machines.For example, the following items can be specified:D The rapid traverse rate to be used for each axisD Whether the metric or inch system is to be used for the least commandinc...

  • Page 452

    OPERATION1. GENERALB–63664EN/02428The contents of the program currently being executed are displayed.The program to be executed next and a list of programs are also displayed.(See Section III–11.2.1.)PROGRAMMEM STOP * * * * * * *13 : 18 : 14O1100 N00005>_PRGRMN1 G90 G17 G00 G41 D07 X...

  • Page 453

    OPERATIONB–63664EN/021. GENERAL429The current position of the nozzle is displayed with the coordinates ineach coordinate system.The distance from the current position to the target position can also bedisplayed. (See Sections III–11.1.1 to III–11.1.3.)YXxyWorkpiece coordinate system* * * * ...

  • Page 454

    OPERATION1. GENERALB–63664EN/02430When this option is selected, the following two items are displayed on thescreen: Run time and part count. (See Section III–11.4.4.)X150.000Y300.000Z100.000ACTUAL POSITION (ABSOLUTE)* * * O0003 N00003(OPRT)MEM STRT20 : 22 : 23RUNTIME0H16M CYCLE TIME 0H 1M ...

  • Page 455

    OPERATIONB–63664EN/021. GENERAL431Programs, 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.(Refer to III–8)MemoryProgramOffsetParametersReader/puncheri...

  • Page 456

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

  • Page 457

    OPERATIONB–63664EN/022. OPERATIONAL DEVICES433The setting and display units are shown in Subsections 2.1.1 to 2.1.5 ofPart III.7.2”/8.4” LCD–mounted type CNC control unitIII–2.1.1. . . . . . . . 9.5”/10.4” LCD–mounted type CNC control unitIII–2.1.2. . . . . . . Stand–alone typ...

  • Page 458

    OPERATION2. OPERATIONAL DEVICESB–63664EN/024342.1.17.2″/8.4″ LCD–mountedType CNC Control Unit2.1.29.5″/10.4″ LCD–mountedType CNC Control Unit

  • Page 459

    OPERATIONB–63664EN/022. OPERATIONAL DEVICES435Function keysAddress/numeric keysShift keyCancel (CAN) keyInput keyEdit keysHelp keyReset keyCursor keysPage change keys2.1.3Stand–alone TypeSmall MDI Unit

  • Page 460

    OPERATION2. OPERATIONAL DEVICESB–63664EN/02436Shift keyPage change keysCursor keysFunction keysInput keyCancel (CAN) keyEdit keysAddress/numeric keysReset keyHelp key2.1.4Stand–alone TypeStandard MDI Unit

  • Page 461

    OPERATIONB–63664EN/022. OPERATIONAL DEVICES437Page change keysHelp keyAddress/numeric keysCursor keysShift keyFunction keysEdit keysCancel (CAN) keyInput keyReset key2.1.5Stand–alone Type 61Fullkey MDI Unit

  • Page 462

    OPERATION2. OPERATIONAL DEVICESB–63664EN/02438Table 2.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).In ...

  • Page 463

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

  • Page 464

    OPERATION2. OPERATIONAL DEVICESB–63664EN/02440The 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 465

    OPERATIONB–63664EN/022. OPERATIONAL DEVICES441Function 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 466

    OPERATION2. OPERATIONAL DEVICESB–63664EN/02442To 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 467

    OPERATIONB–63664EN/022. OPERATIONAL DEVICES443Monitor screen[(OPRT)][PTSPRE][EXEC][RUNPRE][EXEC][ABS]Absolute coordinate displayPOS[(OPRT)][REL](Axis or numeral)[ORIGIN][PRESET][ALLEXE](Axis name)[EXEC][PTSPRE][EXEC][RUNPRE][EXEC][ALL][HNDL][MONI]Soft key transition triggered by the function ke...

  • Page 468

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

  • Page 469

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

  • Page 470

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

  • Page 471

    OPERATIONB–63664EN/022. OPERATIONAL DEVICES447(1)2/2[(OPRT)][BG–EDT](O number)[O SRH][LIB]Program directory display[READ][CHAIN][STOP][CAN][EXEC][PUNCH][STOP][CAN][EXEC](O number)(O number)Return to the programSee"When the soft key [BG-EDT] is pressed"[F SRH][CAN][EXEC][READ][STOP][...

  • Page 472

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

  • Page 473

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

  • Page 474

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

  • Page 475

    OPERATIONB–63664EN/022. OPERATIONAL DEVICES451[(OPRT)][BG–EDT](O number)[O SRH][LIB]Program directory display[READ][CHAIN][STOP][CAN][EXEC][PUNCH][STOP][CAN][EXEC](1)(O number)(O number)[F SRH][CAN][EXEC][READ][STOP][CAN][PUNCH][F SET][F SET][EXEC][O SET][STOP][CAN][F SET][EXEC][O SET][DELETE...

  • Page 476

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

  • Page 477

    OPERATIONB–63664EN/022. OPERATIONAL DEVICES453[OPR]Software operator’s panel screen2/2(1)[MODEM]Modem card screen[MD.MON][MD.SET]

  • Page 478

    OPERATION2. OPERATIONAL DEVICESB–63664EN/02454[POWER]Laser power display screenSoft keytransition triggered by the function key[TRACE][SET]Laser setting screen[ZERO][STATUS]Laser status display screenOFFSETSETTINGLASER SETTING SCREEN[(OPRT)][START][END][W–AXIS][CUT][DATA]Processing condition ...

  • Page 479

    OPERATIONB–63664EN/022. OPERATIONAL DEVICES4552/2(1)[PW.OFS][MAINT.]Laser maintenance screen[CAN][(OPRT)][PUNCH][EXEC][ACT.TM][CAN][(OPRT)][PUNCH][EXEC][DISCH.][CAN][(OPRT)][PUNCH][EXEC][L ALM][CAN][(OPRT)][PUNCH][EXEC][PWR FB][+INPUT][(OPRT)](Numeral)[INPUT](Numeral)[PS TC][(OPRT)][CAN][EXEC][...

  • Page 480

    OPERATION2. OPERATIONAL DEVICESB–63664EN/02456Soft 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][CAN][EXEC][(OPRT)][DGNOS]Diagnosis screen[NO SRH](Number)[PMC]PMC scre...

  • Page 481

    OPERATIONB–63664EN/022. OPERATIONAL DEVICES457[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 482

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

  • Page 483

    OPERATIONB–63664EN/022. OPERATIONAL DEVICES459Soft key transition triggered by the function key[(OPRT)][PARAM]Solid graphicsGRAPHGRAPH[BLANK][ANEW][(OPRT)][3–PLN][ ][←][→][↑][↓][(OPRT)][EXEC][A.ST][F.ST][STOP][REWIND][+ROT][–ROT][+TILT][–TILT][(OPRT)][REVIEW][ANEW][+ROT][–RO...

  • Page 484

    OPERATION2. OPERATIONAL DEVICESB–63664EN/02460When an address and a numerical key are pressed, the charactercorresponding to that key is input once into the key input buffer. Thecontents of the key input buffer is displayed at the bottom of the CRTscreen. In order to indicate that it is key ...

  • Page 485

    OPERATIONB–63664EN/022. OPERATIONAL DEVICES461After 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 486

    OPERATION2. OPERATIONAL DEVICESB–63664EN/02462There 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 487

    OPERATIONB–63664EN/022. OPERATIONAL DEVICES463Five 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 488

    OPERATION2. OPERATIONAL DEVICESB–63664EN/02464Before an external input/output device can be used, parameters must beset as follows.CNCMAIN CPU BOARDOPTION–1 BOARDChannel 1Channel 2Channel 3JD5AJD5BRS–422RS–232–CRS–232–CJD5CJD6ARS–232–CReader/puncherHost computerHost computerRead...

  • Page 489

    OPERATIONB–63664EN/022. OPERATIONAL DEVICES4650020I/O CHANNELSpecify a channel for an input/output device.I/O CHANNEL = 0 : Channel 1 = 1 : Channel 1 = 2 : Channel 2 = 3 : Channel 3 = 4 : Memory card = 4 : interfaceI/O CHANNEL=0(channel 1)0101Stop bit and other data0102Number specified forthe ...

  • Page 490

    OPERATION2. OPERATIONAL DEVICESB–63664EN/02466Procedure 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 491

    OPERATIONB–63664EN/022. OPERATIONAL DEVICES467If 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 492

    OPERATION2. OPERATIONAL DEVICESB–63664EN/02468B8H1 – 01SLOT 01 (3046) : ENDSLOT 02 (3050) :Blank: Setting not completedModule IDSlot numberEND: Setting completedB8H1 – 01CNC control softwareSERVO : 90B0–01SUB : xxxx–xxOMM : yyyy–yyPMC : zzzz–zzDigital servo ROMSub CPU (remo...

  • Page 493

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

  • Page 494

    OPERATION3. MANUAL OPERATIONB–63664EN/02470The nozzle is returned to the reference position as follows :The nozzle is moved in the direction specified in parameter ZMI (bit 5 ofNo. 1006) for each axis with the reference position return switch on themachine operator’s panel. The nozzle moves t...

  • Page 495

    OPERATIONB–63664EN/023. MANUAL OPERATION471Bit 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 496

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

  • Page 497

    OPERATIONB–63664EN/023. MANUAL OPERATION473Feedrate, 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 498

    OPERATION3. MANUAL OPERATIONB–63664EN/02474In the incremental (INC) mode, pressing a feed axis and directionselection switch on the machine operator’s panel moves the nozzle onestep along the selected axis in the selected direction. The minimumdistance the nozzle is moved is the least input ...

  • Page 499

    OPERATIONB–63664EN/023. MANUAL OPERATION475In the handle mode, the nozzle can be minutely moved by rotating themanual pulse generator on the machine operator’s panel. Select the axisalong which the nozzle is to be moved with the handle feed axis selectionswitches.The minimum distance the noz...

  • Page 500

    OPERATION3. MANUAL OPERATIONB–63664EN/02476Parameter JHD (bit 0 of No. 7100) enables or disables the manual handlefeed 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 disable...

  • Page 501

    OPERATIONB–63664EN/023. MANUAL OPERATION477Up to three manual pulse generators can be connected, one for each axis.The three manual pulse generators can be simultaneously operated.WARNINGRotating the handle quickly with a large magnification suchas x100 moves the nozzle too fast. The feedrate ...

  • Page 502

    OPERATION3. MANUAL OPERATIONB–63664EN/02478Whether the distance the nozzle is moved by manual operation is addedto the coordinates can be selected by turning the manual absolute switchon or off on the machine operator’s panel. When the switch is turned on,the distance the nozzle is moved by ...

  • Page 503

    OPERATIONB–63664EN/023. MANUAL OPERATION479The following describes the relation between manual operation andcoordinates when the manual absolute switch is turned on or off, using aprogram example.G01G90X200.0Y150.0X100.0Y100.0F010X300.0Y200.0;;;The subsequent figures use the following notation:...

  • Page 504

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

  • Page 505

    OPERATIONB–63664EN/023. MANUAL OPERATION481When the switch is ON during cutter compensationOperation of the machine upon return to automatic operation after manualintervention with the switch is ON during execution with an absolutecommand program in the cutter compensation mode will be describe...

  • Page 506

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

  • Page 507

    OPERATIONB–63664EN/024. AUTOMATIC OPERATION4834 AUTOMATIC OPERATIONProgrammed operation of a CNC machine tool is referred to as automaticoperation.This chapter explains the following types of automatic operation:• MEMORY OPERATIONOperation by executing a program registered in CNC memory• MD...

  • Page 508

    OPERATION4. AUTOMATIC OPERATIONB–63664EN/02484Programs 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 509

    OPERATIONB–63664EN/024. AUTOMATIC OPERATION485After memory operation is started, the following are executed:(1)A one–block command is read from the specified program.(2)The block command is decoded.(3)The command execution is started.(4)The command in the next block is read.(5)Buffering is ex...

  • Page 510

    OPERATION4. AUTOMATIC OPERATIONB–63664EN/02486In 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 511

    OPERATIONB–63664EN/024. AUTOMATIC OPERATION4875To 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 512

    OPERATION4. AUTOMATIC OPERATIONB–63664EN/02488The 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 513

    OPERATIONB–63664EN/024. AUTOMATIC OPERATION489When 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 514

    OPERATION4. AUTOMATIC OPERATIONB–63664EN/02490By 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 515

    OPERATIONB–63664EN/024. AUTOMATIC OPERATION491PROGRAMO0001 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 516

    OPERATION4. AUTOMATIC OPERATIONB–63664EN/02492In 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 517

    OPERATIONB–63664EN/024. AUTOMATIC OPERATION493While an automation operation is being performed, a program input froman I/O device connected to the reader/punch interface can be executed andthe program can be registered in memory at the same time.In addition, a program can be output through the...

  • Page 518

    OPERATION4. AUTOMATIC OPERATIONB–63664EN/02494M198 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 519

    OPERATIONB–63664EN/024. AUTOMATIC OPERATION495When you want to restart the machining operation after a day off, you canuse this function. Machining can be restarted from the target block byspecifying the sequence or block number of that block.This function can also be used as a high–speed pro...

  • Page 520

    OPERATION4. AUTOMATIC OPERATIONB–63664EN/02496Procedure for program restart by specifying a sequence number (P and Q types)1Retract the nozzle and perform the required operations (such asreplacement of the nozzle). Change the offset value if required. (Go toProcedure 2.)[Q type]1When the power ...

  • Page 521

    OPERATIONB–63664EN/024. AUTOMATIC OPERATION4975A search is made for the sequence number, and the program restartscreen appears on the screen.PROGRAM RESTARTDESTINATIONX 57. 096Y 56. 877Z 56. 943M12121212121* * * * * * * ** * * * * * * ** * * * * * * *T* * * * * * * ** * * * * * * *S * * * * *O...

  • Page 522

    OPERATION4. AUTOMATIC OPERATIONB–63664EN/02498Procedure for program restart by specifying a block number (P and Q types)1Retract the nozzle and perform the required operations (such asreplacement of the nozzle). Change the offset value if required. (Go toProcedure 2.)1When the power is turned o...

  • Page 523

    OPERATIONB–63664EN/024. AUTOMATIC OPERATION4995A search in made for the block number, and the program restart screenappears on the screen.PROGRAM RESTARTDESTINATIONX 57. 096Y 56. 877Z 56. 943DISTANCE TO GOX 1. 459Y 10. 309Z 7. 320M12121212121* * * * * * * ** * * * * * * ** * * * * * * *T* * * *...

  • Page 524

    OPERATION4. AUTOMATIC OPERATIONB–63664EN/02500When the NC is stopped, the number of executed blocks is displayed onthe program screen or program restart screen. The operator can specify thenumber of the block from which the program is to be restarted, by notingthe number displayed on the screen...

  • Page 525

    OPERATIONB–63664EN/024. AUTOMATIC OPERATION501Procedure for program restart by specifying a block (laser specification)1Retract the nozzle and perform required operations (such asreplacement of the nozzle).1Select EDIT mode, then move the cursor to the block from which theprogram is to be resta...

  • Page 526

    OPERATION4. AUTOMATIC OPERATIONB–63664EN/02502Regardless of whether processing has started, manual absolute modemust be set when manual operation is performed.If no absolute–position detector (absolute pulse coder) is provided, beforerestart, always perform reference position return after tur...

  • Page 527

    OPERATIONB–63664EN/024. AUTOMATIC OPERATION503CAUTIONAs a rule, the nozzle cannot be returned to the correctposition in any of the following cases.Special care must be taken in the following cases becausenone of them causes an alarm: S Manual operation is performed when the manualabsolute mode ...

  • Page 528

    OPERATION4. AUTOMATIC OPERATIONB–63664EN/02504The 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 529

    OPERATIONB–63664EN/024. AUTOMATIC OPERATION505Procedure for Scheduling Function1Press the MEMORY switch on the machine operator’s panel, thenpress the PROG function key on the MDI panel.2Press the rightmost soft key (continuous menu key), then press the[FL. SDL] soft key. A list of files reg...

  • Page 530

    OPERATION4. AUTOMATIC OPERATIONB–63664EN/025064Press the REMOTE switch on the machine operator’s panel to enterthe RMT mode, then press the cycle start switch. The selected file isexecuted. For details on the REMOTE switch, refer to the manualsupplied by the machine tool builder. The selec...

  • Page 531

    OPERATIONB–63664EN/024. AUTOMATIC OPERATION5075Press the REMOTE switch on the machine operator’s panel to enterthe RMT mode, then press the start switch. The files are executed inthe specified order. When a file is being executed, the cursor ispositioned at the number of that file.The curre...

  • Page 532

    OPERATION4. AUTOMATIC OPERATIONB–63664EN/02508To resume automatic operation after it is suspended for scheduledoperation, press the reset button.Alarm No.Description086An attempt was made to execute a file that was not regis-tered in the floppy disk.210M198 and M099 were executed during schedul...

  • Page 533

    OPERATIONB–63664EN/024. AUTOMATIC OPERATION509The 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 534

    OPERATION4. AUTOMATIC OPERATIONB–63664EN/02510NOTE1 When M198 in the program of the file saved in a floppycassette is executed, a P/S alarm (No.210) is given. Whena program in the memory of CNC is called and M198 isexecuted during execution of a program of the file saved ina floppy cassette, M...

  • Page 535

    OPERATIONB–63664EN/024. AUTOMATIC OPERATION511The movement by manual handle operation can be done by overlappingit with the movement by automatic operation in the automatic operationmode.ZXDepth of cutspecified byhandle inter-ruptionNozzle positionafter handle inter-ruptionNozzle positionduring...

  • Page 536

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

  • Page 537

    OPERATIONB–63664EN/024. AUTOMATIC OPERATION513(c) RELATIVE: Position in relative coordinate system These values have no effect on the travel distancespecified by handle interruption.(d) DISTANCE TO GO :The remaining travel distance in the currentblock has no effect on the travel distancespecif...

  • Page 538

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

  • Page 539

    OPERATIONB–63664EN/024. AUTOMATIC OPERATION5152–4 Move the cursor to the mirror image setting position, then set thetarget axis to 1.3Enter an automatic operation mode (memory mode or MDI mode),then press the cycle start button to start automatic operation.D The mirror image function can also...

  • Page 540

    OPERATION4. AUTOMATIC OPERATIONB–63664EN/02516With the retrace function, the nozzle 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 nozzle in the fo...

  • Page 541

    OPERATIONB–63664EN/024. AUTOMATIC OPERATION517In the case of 3) above, the nozzle starts reverse movement at the positionof a feed hold stop when the cycle start switch is pressed.Feed hold stopREVERSE switchrurned on cycle startCycle start(forward movement started)Reverse movement startedForwa...

  • Page 542

    OPERATION4. AUTOMATIC OPERATIONB–63664EN/02518In the case of 3) above, the nozzle starts forward return movement at theposition of a feed hold stop when the cycle start switch is pressed.Cycle start(forward movement started)Feed hold stop REVERSEswitch turned offCycle startForward return moveme...

  • Page 543

    OPERATIONB–63664EN/024. AUTOMATIC OPERATION519If the beam moves in the reverse direction after a feed hold stop, the beamstops forward return movement at the position of the feed hold stop, thenresumes forward movement. If the beam moves in the reverse directionafter a single block stop, the n...

  • Page 544

    OPERATION4. AUTOMATIC OPERATIONB–63664EN/02520When there are no more blocks for which to perform reverse movement(when the nozzle has moved back along the path of all memorized blocksor the nozzle has not yet started forward movement), operation stops.This is referred to as reverse movement com...

  • Page 545

    OPERATIONB–63664EN/024. AUTOMATIC OPERATION521Be sure to specify the radius of an arc with R.WARNINGIf an end point is not correctly placed on an arc (if a leadingline is produced) when an arc center is specified using I, J,and K, the nozzle does not perform correct reversemovement.1. Never ini...

  • Page 546

    OPERATION4. AUTOMATIC OPERATIONB–63664EN/02522In reverse movement and forward return movement, the skip signal isignored. In reverse movement and forward return movement, the beammoves along the path actually followed in forward movement.Forward return movementReversemovementWhen the signal is...

  • Page 547

    OPERATIONB–63664EN/024. AUTOMATIC OPERATION523In cases such as when beam movement along an axis is stopped by feedhold during automatic operation so that manual intervention can be usedto replace the nozzle: When automatic operation is restarted, this functionreturns the nozzle to the position...

  • Page 548

    OPERATION4. AUTOMATIC OPERATIONB–63664EN/02524Block startpointN11.Processing is performed for block N1.NozzleN22.The nozzle is stopped by feed hold during the execution of block N1 (point A).3.The nozzle is manually retracted to point B, then nozzle movement is restarted.B4.The nozzle automatic...

  • Page 549

    OPERATIONB–63664EN/024. AUTOMATIC OPERATION525“DNC operation with Memory Card” is a function that it is possible toperform machining with executing the program in the memory card,which is assembled to the memory card interface, where is the left sideof the screen.There are two methods to us...

  • Page 550

    OPERATION4. AUTOMATIC OPERATIONB–63664EN/02526NOTE1 To use this function, it is necessary to set the parameter ofNo.20 to 4 by setting screen. No.20 [I/O CHANEL: Setting to select an input/output unit]Setting value is 4.: It means using the memory cardinterface.2 When CNC control unit is a st...

  • Page 551

    OPERATIONB–63664EN/024. AUTOMATIC OPERATION527When the following block in a program in CNC memory is executed, asubprogram file in memory card is called.1. Normal formatM198 Pffff ∆∆∆∆ ;File number for a file inthe memory cardNumber of repetitionMemory card call instruction2. FS15 tap...

  • Page 552

    OPERATION4. AUTOMATIC OPERATIONB–63664EN/02528(1) The memory card can not be accessed, such as display of memory cardlist and so on, during the DNC operation with memory card.(2) It is possible to execute the DNC operation with memory card on multipath system. However, it is not possible to ca...

  • Page 553

    OPERATIONB–63664EN/024. AUTOMATIC OPERATION529SpecificationRemarksA02B–0236–K160For 7.2″ LCD or 8.4″ LCDA02B–0236–K161For 9.5″ LCD or 10.4″ LCD1) How to assemble to the unitAssemble an attachment guide and a control unit to the cabinet byscrewing together as follow figure.The at...

  • Page 554

    OPERATION4. AUTOMATIC OPERATIONB–63664EN/025302) How to mount the card(a) Insert the card to slit of the attachment. Please pay attention to thedirection of the card. (Please mach the direction of ditch on thecard.)(b) Push up the card to the upper end of the attachment.3) Assembling of the a...

  • Page 555

    OPERATIONB–63664EN/024. AUTOMATIC OPERATION5314) Appearance after connectionNOTE1 In both case of stand–alone type i series and LCD mountedtype i series, the memory card interface where is the left sideof the screen of the display unit. (The memory card interfaceon the stand–alone type con...

  • Page 556

    OPERATION5. TEST OPERATIONB–63664EN/025325 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 557

    OPERATIONB–63664EN/025. TEST OPERATION533To display the change in the position without moving the nozzle, 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 speci...

  • Page 558

    OPERATION5. TEST OPERATIONB–63664EN/02534M, T, and B commands are executed in the machine lock state.When a G27, G28, or G30 command is issued in the machine lock state,the command is accepted but the nozzle does not move to the referenceposition and the reference position return LED does not g...

  • Page 559

    OPERATIONB–63664EN/025. TEST OPERATION535A 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 560

    OPERATION5. TEST OPERATIONB–63664EN/02536An override of four steps (F0, 25%, 50%, and 100%) can be applied to therapid traverse rate. F0 is set by a parameter (No. 1421).Rapid traverserate: 10 m/minOverride:50%5m/minFig.5.3 Rapid traverse overrideRapid Traverse OverrideSelect one of the four ...

  • Page 561

    OPERATIONB–63664EN/025. TEST OPERATION537The nozzle is moved at the feedrate specified by a parameter regardlessof the feedrate specified in the program. This function is used forchecking the movement of the beam under the state that the workpiece isremoved from the table.NozzleTableFig.5.4 D...

  • Page 562

    OPERATION5. TEST OPERATIONB–63664EN/02538Pressing the single block switch starts the single block mode. When thecycle start button is pressed in the single block mode, the nozzle stopsafter a single block in the program is executed. Check the program in thesingle block mode by executing the p...

  • Page 563

    OPERATIONB–63664EN/026. SAFETY FUNCTIONS5396 SAFETY FUNCTIONSTo immediately stop the machine for safety, press the Emergency stopbutton. To prevent the nozzle from exceeding the stroke ends, Overtravelcheck and Stroke check are available. This chapter describes emergencystop., overtravel chec...

  • Page 564

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

  • Page 565

    OPERATIONB–63664EN/026. SAFETY FUNCTIONS541When the beam tries to move beyond the stroke end set by the machinetool limit switch, the nozzle decelerates and stops because of working thelimit switch and an OVER TRAVEL is displayed.Decelerationand stopStrokeendLimitswitchYXFig.6.2 OvertravelWhen...

  • Page 566

    OPERATION6. SAFETY FUNCTIONSB–63664EN/02542Two forbidden areas for tool can be specified with stored stroke check 1,stored stroke check 2, and stored stroke check 3.ÇÇÇÇÇÇÇÇÇÇÇÇÇÇÇÇÇÇÇÇÇÇÇÇÇÇÇÇÇÇÇÇÇÇÇÇÇÇÇÇÇÇÇÇÇÇÇÇÇÇÇÇÇÇÇÇÇÇÇÇÇÇÇÇÇ...

  • Page 567

    OPERATIONB–63664EN/026. SAFETY FUNCTIONS543(I,J,K)ÇÇÇÇÇÇÇÇÇÇÇÇÇÇÇÇÇÇÇÇÇÇÇÇÇÇÇÇÇÇÇÇ(X,Y,Z)X>I, Y>J, Z>KX–I >ζ (In least command increment)Y–J >ζ (In least command increment)Z–K >ζ ((In least command increment)G 22X_Y_Z_I_J_K_;ζ (mm)=750...

  • Page 568

    OPERATION6. SAFETY FUNCTIONSB–63664EN/02544Depending on the result of checking whether the nozzle enters theforbidden area or which part of the nozzle enters the forbidden area, theway of measuring X, Y, Z, I, J, and K varies.If point A (The top of the nozzle) is checked in Fig.6.3 (d) , the di...

  • Page 569

    OPERATIONB–63664EN/026. SAFETY FUNCTIONS545If the enters a forbidden area and an alarm is generated, the nozzle can bemoved only in the backward direction. To cancel the alarm, move thenozzle backward until it is outside the forbidden area and reset the system.When the alarm is canceled, the n...

  • Page 570

    OPERATION6. SAFETY FUNCTIONSB–63664EN/02546During automatic operation, before the movement specified by a givenblock is started, whether the nozzle enters the inhibited area defined bystored stroke limit 1 is checked by determining the position of the endpoint from the current position of the X...

  • Page 571

    OPERATIONB–63664EN/026. SAFETY FUNCTIONS547When a stroke limit check prior to movement is performed, whether tocheck the movement performed by a G31 (skip) block can be determinedusing NPC (bit 2 of parameter No. 15600).If machine lock is applied at the start of movement, no stroke limit checkm...

  • Page 572

    OPERATION7. ALARM AND SELF–DIAGNOSIS FUNCTIONSB–63664EN/025487 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 dis...

  • Page 573

    OPERATIONB–63664EN/027. ALARM AND SELF–DIAGNOSISFUNCTIONS549When an alarm occurs, the alarm screen appears.ARALMALARM MESSAGEMDI* * * * * * * * * *18 : 52 : 05000000000100PARAMETER WRITE ENABLE510OVER TR1AVEL :+X520OVER TRAVEL:+2530OVER TRAVEL:+3MSGHISTRYS 0 T0000ALM In some cases...

  • Page 574

    OPERATION7. ALARM AND SELF–DIAGNOSIS FUNCTIONSB–63664EN/02550Error codes and messages indicate the cause of an alarm. To recover froman alarm, eliminate the cause and press the reset key.The error codes are classified as follows:No. 000 to 255: P/S alarm (Program errors) (*)No. 300 to 349:...

  • Page 575

    OPERATIONB–63664EN/027. ALARM AND SELF–DIAGNOSISFUNCTIONS551Up to 25 of the most recent CNC alarms are stored and displayed on thescreen.Display the alarm history as follows:Procedure for Alarm History Display1 Press the function key MESSAGE .2Press the chapter selection soft key [HISTRY].Th...

  • Page 576

    OPERATION7. ALARM AND SELF–DIAGNOSIS FUNCTIONSB–63664EN/02552The 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 f...

  • Page 577

    OPERATIONB–63664EN/027. ALARM AND SELF–DIAGNOSISFUNCTIONS553Diagnostic 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 578

    OPERATION7. ALARM AND SELF–DIAGNOSIS FUNCTIONSB–63664EN/02554The 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.0200210220230240251111111111111100000000000000000000...

  • Page 579

    OPERATIONB–63664EN/028. DATA INPUT/OUTPUT5558 DATA INPUT/OUTPUTNC data is transferred between the NC and external input/output devicessuch as the Handy File. The memory card interface located to the left of the display can be usedto read information on a memory card in the CNC or write it to t...

  • Page 580

    OPERATION8. DATA INPUT/OUTPUTB–63664EN/02556Of the external input/output devices, the FANUC Handy File use floppydisks as their input/output medium.In this manual, these input/output medium is generally referred to as afloppy.Unlike an NC tape, a floppy allows the user to freely choose from sev...

  • Page 581

    OPERATIONB–63664EN/028. DATA INPUT/OUTPUT557The floppy is provided with the write protect switch. Set the switch tothe write enable state. Then, start output operation.(2) Write–enabled (Reading, writing, and deletion are possible.)Write protect switch of a cassette(1) Write–protected(Only...

  • Page 582

    OPERATION8. DATA INPUT/OUTPUTB–63664EN/02558When 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 583

    OPERATIONB–63664EN/028. DATA INPUT/OUTPUT559Files 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 PROG, then the pr...

  • Page 584

    OPERATION8. DATA INPUT/OUTPUTB–63664EN/02560This 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 585

    OPERATIONB–63664EN/028. DATA INPUT/OUTPUT561• When a program is entered without specifying a program number.⋅ The O–number of the program on the NC tape is assigned to theprogram. If the program has no O–number, the N–number in the first block isassigned to the program.⋅ When the p...

  • Page 586

    OPERATION8. DATA INPUT/OUTPUTB–63664EN/02562If an attempt has been made to register a program having the same numberas that of a previously registered program, P/S alarm 073 is issued and theprogram cannot be registered.Alarm No.Description70The size of memory is not sufficient to store the inp...

  • Page 587

    OPERATIONB–63664EN/028. DATA INPUT/OUTPUT563A program stored in the memory of the CNC unit is output to a floppy orNC tape.Outputting a program1Make sure the output device is ready for output.2To output to an NC tape, specify the punch code system (ISO or EIA)using a parameter.3Press the EDIT s...

  • Page 588

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

  • Page 589

    OPERATIONB–63664EN/028. DATA INPUT/OUTPUT565Offset 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 III– 8.5.2.When an offset value is loaded which has the same offset number as anoffset number already registered i...

  • Page 590

    OPERATION8. DATA INPUT/OUTPUTB–63664EN/02566All 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 591

    OPERATIONB–63664EN/028. DATA INPUT/OUTPUT567Parameters 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 592

    OPERATION8. DATA INPUT/OUTPUTB–63664EN/02568All 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 593

    OPERATIONB–63664EN/028. DATA INPUT/OUTPUT569Pitch 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 III–8.6.4. When a pitch error compensation data is loadedwhich has the corresponding data number as...

  • Page 594

    OPERATION8. DATA INPUT/OUTPUTB–63664EN/02570All 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 595

    OPERATIONB–63664EN/028. DATA INPUT/OUTPUT571The 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. SeeIII–8.7.2. For a custom macro common variab...

  • Page 596

    OPERATION8. DATA INPUT/OUTPUTB–63664EN/02572Custom 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 597

    OPERATIONB–63664EN/028. DATA INPUT/OUTPUT573On the floppy directory display screen, a directory of the FANUC HandyFile, FANUC FLOPPY CASSETTE, or FANUC FA Card files can bedisplayed. In addition, those files can be loaded, output, and deleted. O0001 N00000 (METER) VOLEDIT * * * * * * * ...

  • Page 598

    OPERATION8. DATA INPUT/OUTPUTB–63664EN/02574Displaying the directory of floppy cassette 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 (nex...

  • Page 599

    OPERATIONB–63664EN/028. DATA INPUT/OUTPUT575Use 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 600

    OPERATION8. DATA INPUT/OUTPUTB–63664EN/02576NO :Displays the file numberFILE NAME: Displays the file name.(METER): Converts and prints out the file capacity to paper tapelength.You can also produce H(FEET)I by setting the INPUT UNIT to INCH of the setting data.VOL.: When the file is multi–vol...

  • Page 601

    OPERATIONB–63664EN/028. DATA INPUT/OUTPUT577The 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 602

    OPERATION8. DATA INPUT/OUTPUTB–63664EN/02578Any 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 603

    OPERATIONB–63664EN/028. DATA INPUT/OUTPUT579The 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 604

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

  • Page 605

    OPERATIONB–63664EN/028. DATA INPUT/OUTPUT581CNC programs stored in memory can be grouped according to theirnames, thus enabling the output of CNC programs in group units. SectionIII–11.3.2 explains the display of a program listing for a specified group.Procedure for Outputting a Program List...

  • Page 606

    OPERATION8. DATA INPUT/OUTPUTB–63664EN/02582To 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 607

    OPERATIONB–63664EN/028. DATA INPUT/OUTPUT583Input/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 608

    OPERATION8. DATA INPUT/OUTPUTB–63664EN/02584A 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 609

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

  • Page 610

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

  • Page 611

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

  • Page 612

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

  • Page 613

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

  • Page 614

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

  • Page 615

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

  • Page 616

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

  • Page 617

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

  • Page 618

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

  • Page 619

    OPERATIONB–63664EN/028. DATA INPUT/OUTPUT595READ/PUNCH (FLOPPY) No.FILE NAMEO1234 N12345(Meter) VOLEDIT * * * * * * * * * * * * *12:34:56F SRHEXEC0001PARAMETER0002ALL.PROGRAM0003O00010004O00020005O00030006O00040007O00050008O00100009O0020F SRHFile No.=2>2_CAN46.112.311.911.911.911...

  • Page 620

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

  • Page 621

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

  • Page 622

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

  • Page 623

    OPERATIONB–63664EN/028. DATA INPUT/OUTPUT599By 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 624

    OPERATION8. DATA INPUT/OUTPUTB–63664EN/02600Displaying 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 625

    OPERATIONB–63664EN/028. DATA INPUT/OUTPUT601Searching 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 626

    OPERATION8. DATA INPUT/OUTPUTB–63664EN/02602Reading 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 627

    OPERATIONB–63664EN/028. DATA INPUT/OUTPUT6038To 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 628

    OPERATION8. DATA INPUT/OUTPUTB–63664EN/02604Writing 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 629

    OPERATIONB–63664EN/028. DATA INPUT/OUTPUT605When 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 630

    OPERATION8. DATA INPUT/OUTPUTB–63664EN/02606Deleting 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 631

    OPERATIONB–63664EN/028. DATA INPUT/OUTPUT607Batch 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 632

    OPERATION8. DATA INPUT/OUTPUTB–63664EN/026086With page keys and , scroll through the file directory orprogram directory.When 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 ...

  • Page 633

    OPERATIONB–63664EN/028. DATA INPUT/OUTPUT609NOTEWith a memory card, RMT mode operation and thesubprogram call function (based on the M198 command)cannot be used.File format and error messagesAll files that are read from and written to a memory card are of text format.The format is described bel...

  • Page 634

    OPERATION8. DATA INPUT/OUTPUTB–63664EN/02610CodeMeaning99Part preceding the FAT area on the memory card is destroyed.102The 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 to...

  • Page 635

    OPERATIONB–63664EN/028. DATA INPUT/OUTPUT611The operation of the FTP file transfer function is described below.A list of the files held on the hard disk embedded to the host computer isdisplayed.1Press the function key PROG.2Press the continuous menu key at the right end of the soft key display...

  • Page 636

    OPERATION8. DATA INPUT/OUTPUTB–63664EN/02612NOTEDepending on the FTP server software, the number ofdisplayed programs may differ between the host file listscreen above and the host file list (detail) screen describedbelow.5When a list of files is larger than one page, the screen display can bes...

  • Page 637

    OPERATIONB–63664EN/028. DATA INPUT/OUTPUT613NOTEThe host file list (detail) screen shown above is an exampleof screen display, and information displayed may varyaccording to the specification of the FTP server used withthe host computer.Display itemsThe number of files registered in the directo...

  • Page 638

    OPERATION8. DATA INPUT/OUTPUTB–63664EN/02614This operation outputs a file held in the CNC part program storage to thehard disk embedded to the host computer. This soft key is displayed onlywhen 9 is set as the input/output device number of the CNC, and the CNCis placed in the EDIT mode.When a ...

  • Page 639

    OPERATIONB–63664EN/028. DATA INPUT/OUTPUT615A file (NC program) on the host computer can be read to the CNCmemory.For the host file list screen1Place the CNC in the EDIT mode.2Display the host file list screen.3Press the [READ] soft key.4Type the file number or file name of an NC program to be ...

  • Page 640

    OPERATION8. DATA INPUT/OUTPUTB–63664EN/02616For the program screen1Place the CNC in the EDIT mode.2Press the function key PROG.3Press the continuous menu key at the right end of the soft key display.4Press the [PRGRM] soft key. The program screen appears.5Press the [(OPRT)] soft key.6Press the...

  • Page 641

    OPERATIONB–63664EN/028. DATA INPUT/OUTPUT617A file (NC program) in the CNC memory can be output to the hostcomputer.For the host file list screen1Place the CNC in the EDIT mode.2Display the host file list screen.3Press the [PUNCH] soft key.4Type the O number of an NC program to be output, with ...

  • Page 642

    OPERATION8. DATA INPUT/OUTPUTB–63664EN/026189Press the [EXEC] soft key.10During output, “OUTPUT” blinks in the lower–right corner of thescreen.NOTEAn outputted file name is Oxxxx.With the FTP file transfer function, the types of data listed below can beinput/output. This subsection descr...

  • Page 643

    OPERATIONB–63664EN/028. DATA INPUT/OUTPUT619Parameter outputThe file (NC parameter) in the CNC memory can be output to the hostcomputer.1Place the CNC in the EDIT mode.2Press the function key SYSTEM.3Press the continuous menu key at the right end of the soft key display.4Press the [PARAM] soft ...

  • Page 644

    OPERATION8. DATA INPUT/OUTPUTB–63664EN/02620Tool offset value outputThe file (tool offset value) in the CNC memory can be output to the hostcomputer.1Place the CNC in the EDIT mode.2Press the function key OFFSETSETTING.3Press the continuous menu key at the right end of the soft key display.4Pre...

  • Page 645

    OPERATIONB–63664EN/028. DATA INPUT/OUTPUT621Workpiece origin offset value outputThe file (workpiece origin offset value) in the CNC memory can be outputto the host computer.1Place the CNC in the EDIT mode.2Press the function key OFFSETSETTING.3Press the continuous menu key at the right end of t...

  • Page 646

    OPERATION8. DATA INPUT/OUTPUTB–63664EN/02622Pitch error compensation outputThe file (pitch error compensation) in the CNC memory can be output tothe host computer.1Place the CNC in the EDIT mode.2Press the function key SYSTEM.3Press the continuous menu key at the right end of the soft key displ...

  • Page 647

    OPERATIONB–63664EN/028. DATA INPUT/OUTPUT623M code group outputThe file (M code group) in the CNC memory can be output to the hostcomputer.1Place the CNC in the EDIT mode.2Press the function key SYSTEM.3Press the continuous menu key at the right end of the soft key display.4Press the [M–CODE]...

  • Page 648

    OPERATION8. DATA INPUT/OUTPUTB–63664EN/02624Operation history data outputThe file (operation history data) in the CNC memory can be output to thehost computer.1Place the CNC in the EDIT mode.2Press the function key SYSTEM.3Press the continuous menu key at the right end of the soft key display.4...

  • Page 649

    OPERATIONB–63664EN/028. DATA INPUT/OUTPUT625The upper row displays the usable embedded Ethernet functiondevice.The embedded port or PCMCIA card is displayed.The lower row displays the usable Ethernet option boards. When nooption board is installed, no information is displayed.4When you press t...

  • Page 650

    OPERATION8. DATA INPUT/OUTPUTB–63664EN/02626NOTEThe title of the host computer that is the currentcommunication destination of the data server board isdisplayed in reverse video.5The connected host can be changed by pressing the [CON–1],[CON–2], or [CON–3] soft key.Display itemsThose valu...

  • Page 651

    OPERATIONB–63664EN/029. EDITING PROGRAMS6279 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 652

    OPERATION9. EDITING PROGRAMSB–63664EN/02628This 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 653

    OPERATIONB–63664EN/029. EDITING PROGRAMS629A 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 a...

  • Page 654

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

  • Page 655

    OPERATIONB–63664EN/029. EDITING PROGRAMS631The 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 656

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

  • Page 657

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

  • Page 658

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

  • Page 659

    OPERATIONB–63664EN/029. EDITING PROGRAMS635A 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 660

    OPERATION9. EDITING PROGRAMSB–63664EN/02636The 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 661

    OPERATIONB–63664EN/029. EDITING PROGRAMS637When 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 662

    OPERATION9. EDITING PROGRAMSB–63664EN/02638Sequence 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) issearched f...

  • Page 663

    OPERATIONB–63664EN/029. EDITING PROGRAMS639Those blocks that are skipped do not affect the CNC. This means that thedata in the skipped blocks such as coordinates and M, T codes does notalter the CNC coordinates and modal values.So, in the first block where execution is to be started or restart...

  • Page 664

    OPERATION9. EDITING PROGRAMSB–63664EN/02640Programs 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 665

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

  • Page 666

    OPERATION9. EDITING PROGRAMSB–63664EN/02642With 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 :⋅ All or part of a program can be copied or mo...

  • Page 667

    OPERATIONB–63664EN/029. EDITING PROGRAMS643A 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 n...

  • Page 668

    OPERATION9. EDITING PROGRAMSB–63664EN/02644A 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 numbe...

  • Page 669

    OPERATIONB–63664EN/029. EDITING PROGRAMS645Another 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 is...

  • Page 670

    OPERATION9. EDITING PROGRAMSB–63664EN/02646The 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 671

    OPERATIONB–63664EN/029. EDITING PROGRAMS647Alarm 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 oc...

  • Page 672

    OPERATION9. EDITING PROGRAMSB–63664EN/02648Replace one or more specified words.Replacement can be applied to all occurrences or just one occurrence ofspecified words or addresses in the program.Procedure for replacement of words or addresses1Perform steps 1 to 5 in III–9.6.1.2Press soft key [...

  • Page 673

    OPERATIONB–63664EN/029. EDITING PROGRAMS649The following custom macro words are replaceable:IF, WHILE, GOTO, END, DO, BPRNT, DPRINT, POPEN, PCLOSThe abbreviations of custom macro words can be specified.When abbreviations are used, however, the screen displays theabbreviations as they are key in...

  • Page 674

    OPERATION9. EDITING PROGRAMSB–63664EN/02650Unlike 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 III–10.1 for the comments of a program.Wh...

  • Page 675

    OPERATIONB–63664EN/029. EDITING PROGRAMS651Editing 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 676

    OPERATION9. EDITING PROGRAMSB–63664EN/02652The 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 677

    OPERATIONB–63664EN/029. EDITING PROGRAMS653When 0 is set in the parameter PASSWD, the number 0 is displayed, andthe password function is disabled. In other words, the password functioncan be disabled by either not setting parameter PASSWD at all, or bysetting 0 in parameter PASSWD after step 3...

  • Page 678

    OPERATION10. CREATING PROGRAMSB–63664EN/0265410 CREATING PROGRAMSPrograms can be created using any of the following methods:⋅ MDI keyboard⋅ PROGRAMMING IN TEACH IN MODE⋅ AUTOMATIC PROGRAM PREPARATION DEVICE (FANUCSYSTEM P)This chapter describes creating programs using the MDI panel, Teach...

  • Page 679

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

  • Page 680

    OPERATION10. CREATING PROGRAMSB–63664EN/02656Sequence 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 681

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

  • Page 682

    OPERATION10. CREATING PROGRAMSB–63664EN/026581 Set the setting data SEQUENCE NO. to 1 (on). (The incremental valueparameter (No. 3216) is assumed to be “1”.)2 Select the TEACH IN HANDLE mode.3 Make positioning at position P0 by the manual pulse generator.4 Select the program screen.5 Enter...

  • Page 683

    OPERATIONB–63664EN/0210. CREATING PROGRAMS659The contents of memory can be checked in the TEACH IN mode by usingthe same procedure as in EDIT mode.PROGRAMO1234 N00004(RELATIVE)(ABSOLUTE)X –6.975X 3.025Y 23.723Y 23.723Z –10.325Z –0.325O1234 ;N1 G92 X10000...

  • Page 684

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

  • Page 685

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

  • Page 686

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

  • Page 687

    OPERATIONB–63664EN/0211. SETTING AND DISPLAYING DATA663Program editingscreen⇒ See III-9Program memoryand program directory⇒ See III-11.3.1.PRGRMLIB(OPRT)PROGEDITFLOPPY(OPRT)EDITFile directoryscreen forfloppy disks⇒ See III-8.8Program screenPROGRAM SCREENScreen transition triggered by the...

  • Page 688

    OPERATION11. SETTING AND DISPLAYING DATAB–63664EN/02664Software operator's panelswitchåSee subsec. 11.4.9.Tool offset valueDisplay of tooloffset value⇒ See III-11.4.1.OFFSETSETTINGWORK(OPRT)Screen transition triggered by the function keyOFFSETSETTINGOFFSETSETTINGOFFSET/SETTING SCREENDisplay ...

  • Page 689

    OPERATIONB–63664EN/0211. SETTING AND DISPLAYING DATA665Laser Setting ScreenScreen transition triggered by the function key OFFSETSETTINGLaser display screenPOWERSETDATAOFFSETSETTINGSTATUSLaser display screen3D. TRNLaser settingfunctionåSee sec. 15.2Cutting conditionsetting functionåSee sec. 1...

  • Page 690

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

  • Page 691

    OPERATIONB–63664EN/0211. SETTING AND DISPLAYING DATA667The table below lists the data set on each screen.Table 11 Setting screens and data on themNo.Setting screenContents of settingReferenceitem1Tool offset valueTool offset valueTool length offset valueIII–11.4.1Tool length offset valueCutte...

  • Page 692

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

  • Page 693

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

  • Page 694

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

  • Page 695

    OPERATIONB–63664EN/0211. SETTING AND DISPLAYING DATA671The 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 696

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

  • Page 697

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

  • Page 698

    OPERATION11. SETTING AND DISPLAYING DATAB–63664EN/02674The 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 3105. On the 12 soft keys type, the actual feedrateis always displayed.Display ...

  • Page 699

    OPERATIONB–63664EN/0211. SETTING AND DISPLAYING DATA675The 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 700

    OPERATION11. SETTING AND DISPLAYING DATAB–63664EN/02676To 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 701

    OPERATIONB–63664EN/0211. SETTING AND DISPLAYING DATA677The reading on the load meter can be displayed for each servo axis andthe serial spindle by setting bit 5 (OPM) of parameter No. 3111 to 1.Procedure for displaying the operating monitor1Press function key POS to display a current position d...

  • Page 702

    OPERATION11. SETTING AND DISPLAYING DATAB–63664EN/02678This 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 703

    OPERATIONB–63664EN/0211. SETTING AND DISPLAYING DATA679Displays the program currently being executed in MEMORY or MDImode.Procedure for displaying the program contents1Press function key PROG to display the program screen.2Press chapter selection soft key [PRGRM].The cursor is positioned at the...

  • Page 704

    OPERATION11. SETTING AND DISPLAYING DATAB–63664EN/02680Displays 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 705

    OPERATIONB–63664EN/0211. SETTING AND DISPLAYING DATA681Displays 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 706

    OPERATION11. SETTING AND DISPLAYING DATAB–63664EN/02682Displays the program currently being executed, current position of thebeam, 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 707

    OPERATIONB–63664EN/0211. SETTING AND DISPLAYING DATA683The program check screen is not provided for 12 soft keys type. 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 positio...

  • Page 708

    OPERATION11. SETTING AND DISPLAYING DATAB–63664EN/02684Displays 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 709

    OPERATIONB–63664EN/0211. SETTING AND DISPLAYING DATA685When 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 710

    OPERATION11. SETTING AND DISPLAYING DATAB–63664EN/026865 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 711

    OPERATIONB–63664EN/0211. SETTING AND DISPLAYING DATA6871To 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 712

    OPERATION11. SETTING AND DISPLAYING DATAB–63664EN/026884If 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. Z10. ;N20S1500 M03 ;N30 G0...

  • Page 713

    OPERATIONB–63664EN/0211. SETTING AND DISPLAYING DATA689Machining 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 M02 (or M30).However, note that the time durin...

  • Page 714

    OPERATION11. SETTING AND DISPLAYING DATAB–63664EN/02690When 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 715

    OPERATIONB–63664EN/0211. SETTING AND DISPLAYING DATA691 EDIT **** *** *** 16:52:13[ INS–TM ] [ ] [ ] [ ] [ ]PROGRAM O0260 N00000O0260 (SHAFT XSF302) (001H15M59S) (001H2...

  • Page 716

    OPERATION11. SETTING AND DISPLAYING DATAB–63664EN/02692PROGRAM O0280 N00000O0280 (SHAFT XSF303) (1H10M59S)N10 G92 X100. Z10. ;N20 S1500 M03 ;N30 G00 X20.5 Z5. T0101 ;N40 G01 Z–10. F25. ;N50 G02 X16.5 Z–12. R2. ;N60 G01 X40. ;N70 X42. Z–13. ;N80 Z–50. ;N90 X44. Z–51. ;N10...

  • Page 717

    OPERATIONB–63664EN/0211. SETTING AND DISPLAYING DATA693This section describes the screens displayed by pressing function keyPROG in the EDIT mode. Function key PROG in the EDIT mode candisplay the program editing screen and the program list screen (displaysmemory used and a list of programs). ...

  • Page 718

    OPERATION11. SETTING AND DISPLAYING DATAB–63664EN/02694PROGRAM 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 719

    OPERATIONB–63664EN/0211. SETTING AND DISPLAYING DATA695 PROGRAM (NUM.)MEMORY (CHAR.) USED:603321FREE: 2 429O00011,3601996–06–1214:40O00021,2401996–06–1214:55O00101,4201996–07–0111:02O00201,1801996–08–1409:40O00401,1401996–03–2518:40O00501,1601996–08–2616:40O01001,1...

  • Page 720

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

  • Page 721

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

  • Page 722

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

  • Page 723

    OPERATIONB–63664EN/0211. SETTING AND DISPLAYING DATA699Press function key OFFSETSETTING to display or set cutter 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 ...

  • Page 724

    OPERATION11. SETTING AND DISPLAYING DATAB–63664EN/02700Tool offset values, beam length offset values, and cutter compensationvalues are specified by D codes or H codes in a program. Compensationvalues corresponding to D codes or H codes are displayed or set on thescreen.Procedure for setting a...

  • Page 725

    OPERATIONB–63664EN/0211. SETTING AND DISPLAYING DATA7013Move the cursor to the compensation value to be set or changed usingpage keys and cursor keys, or enter the compensation number for thecompensation value to be set or changed and press soft key[NO.SRH].4To set a compensation value, enter a...

  • Page 726

    OPERATION11. SETTING AND DISPLAYING DATAB–63664EN/02702OFFSETNO.DATANO.DATA 001 0.000 017 0.000 002 0.000 018 0.000 003 0.000 019 0.000 004 0.000 020 0.000 005 0.000 021 0.000 006 0.000 022 0.000 007 0.000 023 0.000 008 0.000 024 0.000 009 0.000 025 0.000 010 0.000 026 0.000 011 0.000 027 0.000...

  • Page 727

    OPERATIONB–63664EN/0211. SETTING AND DISPLAYING DATA703Data 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 728

    OPERATION11. SETTING AND DISPLAYING DATAB–63664EN/027044Move 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 729

    OPERATIONB–63664EN/0211. SETTING AND DISPLAYING DATA705If 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 730

    OPERATION11. SETTING AND DISPLAYING DATAB–63664EN/02706After 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 731

    OPERATIONB–63664EN/0211. SETTING AND DISPLAYING DATA707Various 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 732

    OPERATION11. SETTING AND DISPLAYING DATAB–63664EN/02708This value is incremented by one when M02, M30, or an M code specifiedby parameter 6710 is executed. This value cannot be set on this screen.Set the value in parameter 6712.It is used for setting the number of machined parts required.When ...

  • Page 733

    OPERATIONB–63664EN/0211. SETTING AND DISPLAYING DATA709Displays the workpiece origin offset for each workpiece coordinatesystem (G54 to G59, G54.1 P1 to G54.1 P48 and G54.1 P1 to G54.1P300) and external workpiece origin offset. The workpiece origin offsetand external workpiece origin offset ca...

  • Page 734

    OPERATION11. SETTING AND DISPLAYING DATAB–63664EN/02710This 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 735

    OPERATIONB–63664EN/0211. SETTING AND DISPLAYING DATA7115To display the workpiece origin offset setting screen, press thechapter selection soft key [WORK]. NO. DATA NO. DATA 00X0.00002 X0.000 (EXT) Y0.000(G55) Y0.000 Z0.000Z0.000 01X0.00003 X0.000 (G54) Y0.000(G5...

  • Page 736

    OPERATION11. SETTING AND DISPLAYING DATAB–63664EN/02712Displays 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 737

    OPERATIONB–63664EN/0211. SETTING AND DISPLAYING DATA713This subsection uses an example to describe how to display or setmachining menus (pattern menus) created by the machine tool builder.Refer to the manual issued by the machine tool builder for the actualpattern menus and pattern data. See I...

  • Page 738

    OPERATION11. SETTING AND DISPLAYING DATAB–63664EN/027144Enter necessary pattern data and press INPUT.5After entering all necessary data, enter the MEMORY mode and pressthe cycle start button to start machining.HOLE PATTERN : Menu titleAn optional character string can be displayed within 12 cha...

  • Page 739

    OPERATIONB–63664EN/0211. SETTING AND DISPLAYING DATA715With this function, functions of the switches on the machine operator’spanel can be controlled from the MDI panel.This means that mode selection and jog feed override selection can beperformed on the MDI panel and the corresponding switch...

  • Page 740

    OPERATION11. SETTING AND DISPLAYING DATAB–63664EN/027164Move the cursor to the desired switch by pressing cursor key or .5Push the cursor move key or to match the mark J to anarbitrary position and set the desired condition.6Press one of the following arrow keys to perform jog feed. Press th...

  • Page 741

    OPERATIONB–63664EN/0211. SETTING AND DISPLAYING DATA717When 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 742

    OPERATION11. SETTING AND DISPLAYING DATAB–63664EN/02718When 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 743

    OPERATIONB–63664EN/0211. SETTING AND DISPLAYING DATA719Procedure 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 744

    OPERATION11. SETTING AND DISPLAYING DATAB–63664EN/02720If 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 745

    OPERATIONB–63664EN/0211. SETTING AND DISPLAYING DATA721Procedure 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 No. 3620S Number of the pitch error comp...

  • Page 746

    OPERATION11. SETTING AND DISPLAYING DATAB–63664EN/02722The 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 747

    OPERATIONB–63664EN/0211. SETTING AND DISPLAYING DATA723The 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 748

    OPERATION11. SETTING AND DISPLAYING DATAB–63664EN/02724––EMG––:: Indicates emergency stop.(Blinks in reversed display.)––RESET–– : Indicates that the reset signal is being received.ALM: Indicates that an alarm is issued. (Blinks in reversed display.)BAT: Indicates that the batt...

  • Page 749

    OPERATIONB–63664EN/0211. SETTING AND DISPLAYING DATA725By 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 S...

  • Page 750

    OPERATION11. SETTING AND DISPLAYING DATAB–63664EN/02726When 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 751

    OPERATIONB–63664EN/0211. SETTING AND DISPLAYING DATA727Displaying 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 752

    OPERATION11. SETTING AND DISPLAYING DATAB–63664EN/02728The CNC screen is automatically cleared if no keys are pressed during theperiod (in minutes) specified with a parameter. The CNC screen isrestored by pressing any key.Procedure for automatic erase screen displayThe CNC screen is cleared on...

  • Page 753

    OPERATIONB–63664EN/0212. GRAPHICS FUNCTION72912 GRAPHICS FUNCTIONTwo graphic functions are available. One is a graphic display function,and the other is a dynamic graphic display function.The graphic display function can draw the beam path specified by aprogram being executed on a screen. The...

  • Page 754

    OPERATION12. GRAPHICS FUNCTIONB–63664EN/02730It is possible to draw the programmed beam path on the screen, whichmakes it possible to check the progress of machining, while observing thepath on the screen.In addition, it is also possible to enlarge/reduce the screen.Before drawing, graphic para...

  • Page 755

    OPERATIONB–63664EN/0212. GRAPHICS FUNCTION7316Automatic operation is started and machine movement is drawn onthe screen.MEM * * * * * * * * * *14 : 23 : 03000100012GRAPHPARAMZXYS 0TX 0.000Y 0.000Z 0.000The size of the graphic screen will be as follows:Gc : Center...

  • Page 756

    OPERATION12. GRAPHICS FUNCTIONB–63664EN/02732Set the center of the graphic range to the center of the screen. If thedrawing range in the program can be contained in the above actualgraphics range, set the magnification to 1 (actual value set is 100).When the drawing range is larger than the ma...

  • Page 757

    OPERATIONB–63664EN/0212. GRAPHICS FUNCTION733When the actual beam path is not near the center of the screen, method 1will cause the beam path to be drawn out of the geaphics range if graphicsmagnification is not set properly.To avoid such cases, the following six graphic parameters are prepared...

  • Page 758

    OPERATION12. GRAPHICS FUNCTIONB–63664EN/02734⋅ AXESSpecify the plane to use for drawing. The user can choose from thefollowing six coordinate systems.YZXXXXYYZZZZYY(1)(2)(3)(4)(5)(6)= 0 : Select (1)= 1 : Select (2)= 2 : Select (3)= 3 : Select (4)= 4 : Select (5)= 5 : Select (6)Th...

  • Page 759

    OPERATIONB–63664EN/0212. GRAPHICS FUNCTION735⋅ GRAPHIC CENTERX=Y=Z=Set the coordinate value on the workpiece coordinate system atgraphic center.NOTE1 When MAX. and MIN. of RANGE are set, the values will beset automatically once drawing is executed2 When setting the graphics range with the gra...

  • Page 760

    OPERATION12. GRAPHICS FUNCTIONB–63664EN/02736There are the following two functions in Dynamic Graphics.Path graphicSolid graphicThis is used to draw the path of beam center com-manded by the part program.This is used to draw the workpiece figure machined bytool movement commanded by the part pr...

  • Page 761

    OPERATIONB–63664EN/0212. GRAPHICS FUNCTION737Coordinate axes and actual size dimension lines are displayed togetherwith the drawing so that actual size can be referenced.The first six functions above (1. to 6.) are available by setting the graphicparameters. The seventh to ninth functions (7. ...

  • Page 762

    OPERATION12. GRAPHICS FUNCTIONB–63664EN/027384Input numerics by numeric keys.5Press the INPUT key.The input numerics are set by these operations and the cursorautomatically moves to the next setting items. The set data is held evenafter the power is turned off.6Set the operation mode to the me...

  • Page 763

    OPERATIONB–63664EN/0212. GRAPHICS FUNCTION73911For partial drawing enlargement, display the PATH GRAPHIC(SCALE) screen by pressing the soft key [ZOOM] on the PATHGRAPHIC (PARAMETER) screen of step 1 above. The beam pathis displayed. Next, press soft key [(OPRT)].MEM * * * * * * * * * *...

  • Page 764

    OPERATION12. GRAPHICS FUNCTIONB–63664EN/0274015To display a mark at the current nozzle position, display thePATH GRAPHIC (POSITION) screen by pressing soft key [POS]on the PATH GRAPHIC (PARAMETER) screen of step 1 above.This mark blinks at the current nozzle center position on the beampath.14 :...

  • Page 765

    OPERATIONB–63664EN/0212. GRAPHICS FUNCTION741Projector view by isometric can be drawn.YXYZXZYZXYXZP=4P=5Fig.12.2.1 (b) Coordinate systems for the isometric projectionXYZXP=6Fig.12.2.1 (c) Coordinate systems for the biplane viewBiplanes (XY and XZ) can be drawn simultaneously. The maximum andm...

  • Page 766

    OPERATION12. GRAPHICS FUNCTIONB–63664EN/02742The tilting angle of the vertical axis is set in the range of –90°to +90°inreference to the horizontal axis crossing the vertical axis at a right angle.When a positive value is set, the vertical axis slants to the other side ofthe graphic screen....

  • Page 767

    OPERATIONB–63664EN/0212. GRAPHICS FUNCTION743It is possible to set whether the beam path is drawn by making the beamlength offset or cutter compensation valid or invalid.Setting valueCutter compensation0Perform drawing by making cutter compensation valid(An actual beam path is drawn.)1Perform ...

  • Page 768

    OPERATION12. GRAPHICS FUNCTIONB–63664EN/02744No part program which has not been registered in memory can be drawn.Also, it is necessary that the M02 or M30 should be commanded at theend of the part program.The period of mark blinking is short when the nozzle is moving andbecomes longer when th...

  • Page 769

    OPERATIONB–63664EN/0212. GRAPHICS FUNCTION745The solid graphics draws the figure of a workpieces machined by themovement of a beam.The following graphic functions are provided :Solid model graphic is drawn by surfaces so that the machined figure canbe recognized concretely.It is possible to dra...

  • Page 770

    OPERATION12. GRAPHICS FUNCTIONB–63664EN/02746Solid graphics drawing procedure1To draw a machining profile, necessary data must be set beforehand.So press the function key GRAPH ( CUSTOM GRAPH for the small MDI).The screen of ”SOLID GRAPHIC (PARAMETER)” is displayed.SOLID GRAPHIC (PARAMETER)...

  • Page 771

    OPERATIONB–63664EN/0212. GRAPHICS FUNCTION7477Press soft keys [+ROT] [–ROT] [+TILT], and [–TILT], whenperforming drawing by changing the drawing directions. ParametersP and Q for the drawing direction are changed and the figure isredrawn with the new parameters.8Set the operation mode to t...

  • Page 772

    OPERATION12. GRAPHICS FUNCTIONB–63664EN/0274811Press soft key [STOP] to stop drawing temporarily. Drawing isstopped after drawing the current block and “STOP” blinks at thelower right corner of CRT screen. Press soft key [A.ST] or [F.ST]when restarting drawing. Press soft key [REWIND] an...

  • Page 773

    OPERATIONB–63664EN/0212. GRAPHICS FUNCTION74916The machined figure can be drawn on the tri–plane view.To draw a triplane view, press the rightmost soft key (next–menu key)on the SOLID GRAPHIC (PARAMETER) screen of step 1 above, thenpress soft key [3–PLN] and [(OPRT)]. The SOLID GRAPHIC(3...

  • Page 774

    OPERATION12. GRAPHICS FUNCTIONB–63664EN/02750Set the type of blank figure under P. The relationship between the settingvalue and figure is as follows:PBlank figure0Rectangular parallelepiped (Cubed)1Column or cylinder (parallel to Z–axis)Set the X–axis, Y–axis, and Z–axis coordinate v...

  • Page 775

    OPERATIONB–63664EN/0212. GRAPHICS FUNCTION751Set the machining direction of nozzle. The relationship between thesetting value and machining direction is as shown below.PMachining direction of tools0,1Parallel to the Z–axis (perform machining from the + direction)Set the dimensions of beam. ...

  • Page 776

    OPERATION12. GRAPHICS FUNCTIONB–63664EN/02752Specify the intensity of the drawing screen when performing drawing onthe monochrome, and the color of the drawing screen when performingdrawing on the color screen. The relationship between the setting,intensity, and color is as shown below:However...

  • Page 777

    OPERATIONB–63664EN/0212. GRAPHICS FUNCTION753Set interval of animated simulation drawing ranging from 0 to 255.Every time the machining proceeds by the number set, the drawing isrepeated. If 0 is set, drawing is repeated at every 1 block execution.Soft keyFunction[A.ST]Simulate and draw the pr...

  • Page 778

    OPERATION12. GRAPHICS FUNCTIONB–63664EN/02754Right view and rear view[ ]Rear view and left viewFront view and right viewLeft view and front view[ ][ ][ ]Rear viewTop viewRight side viewLeft side viewFront viewExample) The side views of the figure bel...

  • Page 779

    OPERATIONB–63664EN/0212. GRAPHICS FUNCTION755Some examples of cross–sectional views are given below for the left viewand front view shown on the previous page.ÕÕÕÕÕÕÕÕÕÕÕÕÕÕÕSectional view 1ÕÕÕÕÕÕÕÕÕÕÕÕÕÕÕÕÕÕÕÕÕÕÕÕÕÕÕÕÕÕÕÕÕÕÕÕÕÕÕÕSectiona...

  • Page 780

    OPERATION13. HELP FUNCTIONB–63664EN/0275613 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 781

    OPERATIONB–63664EN/0213. HELP FUNCTION7572Press soft key [ALARM] on the HELP (INITIAL MENU) screen todisplay detailed information about an alarm currently beingraised.Normal explana–tion on alarmFig.13 (b) ALARM DETAIL Screen when Alarm P/S 027 is issuedFunction classificationAlarm detailsAl...

  • Page 782

    OPERATION13. HELP FUNCTIONB–63664EN/027583To 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 783

    OPERATIONB–63664EN/0213. HELP FUNCTION759Fig.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 784

    OPERATION13. HELP FUNCTIONB–63664EN/02760The 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∼)* COORDINA...

  • Page 785

    OPERATIONB–63664EN/0214. SCREEN HARDCOPY76114 SCREEN HARDCOPYThe screen hardcopy function outputs the information displayed on theCNC screen as 640*480–dot bitmap data. This function makes it possibleto produce a hard copy of a still image displayed on the CNC.The created bitmap data can be ...

  • Page 786

    OPERATION14. SCREEN HARDCOPYB–63664EN/02762NOTE1 During the screen hardcopy operation, key input is disabledfor several tens of seconds. Until the screen hardcopyoperation ends, the screen image lies still. During thisperiod, the hardcopy in progress signal (F061#3) is tied to1. No other sig...

  • Page 787

    OPERATIONB–63664EN/0214. SCREEN HARDCOPY763The number of colors used in created bitmap data depend on the displaycontrol card, the LCD hardware, and the display mode of the CNC screen.Table 14 (a) indicates the relationships.Table 14 (a) Colors of BMP data created by the screen hardcopy functi...

  • Page 788

    OPERATION15. LASER FUNCTIONB–63664EN/0276415 LASER FUNCTION

  • Page 789

    OPERATIONB–63664EN/0215. LASER FUNCTION765The following data items are displayed on the laser power screen.@ Current output power@ Actual output power@ Pulse frequency@ Pulse duty@ Error1Press the OFFSETSETTINGfunction key.2Press the [POWER] soft key.LASER POWERO0000 N00000 PC 1000 W PA 100...

  • Page 790

    OPERATION15. LASER FUNCTIONB–63664EN/02766The data necessary to laser processing can be set on these screens.* For operating the tracing setting screen, see the description of Z-axis gapcontrol.1Press the OFFSETSETTINGfunction key.2Press the [SET] soft key.3Press the page key to select a desire...

  • Page 791

    OPERATIONB–63664EN/0215. LASER FUNCTION767LASER SETTINGO0000 N00000GAS FLOW 3 PRE–TIME= 1.00 SPRE–PRES.= 100WORK–PRES.= 200AFTER–TIME= 1.00 SAFTER–PRES.= 100>_ S0 T0000MDI **** *** ***21:14:54[ POWER ][ SET ][ ][ AGING ][ ]Fig.15.2 (c)Specify the laser po...

  • Page 792

    OPERATION15. LASER FUNCTIONB–63664EN/02768Specify the minimum duty to be clamped for laser power control. Whenthe calculated pulse duty is less than this setting during laser powercontrol, this setting is used.Specify the type of assist gas to be used 0 to 3 or 0 to 7 (which depends:on the sett...

  • Page 793

    OPERATIONB–63664EN/0215. LASER FUNCTION769The power compensation function prevents the actual output power frombecoming less than the specified power because of a dirty mirror or otherreasons.Procedure for power compensation1Setting the parametersNo. 15000#4 : Power compensation enable/ disable...

  • Page 794

    OPERATION15. LASER FUNCTIONB–63664EN/02770The automatic aging function setting screen shows a list of settingsrequired for the automatic aging function. On this screen, settingsrequired for aging operation and power compensation can be referencedand changed at a time. This screen is displayed...

  • Page 795

    OPERATIONB–63664EN/0215. LASER FUNCTION771The items displayed on the first page are listed below. The valid datarange in the following applies when a value is input on this screen.NameAging (0: Off, 1: On)MeaningDisables or enables the automatic aging function.ParameterNo.15008#6Valid data r...

  • Page 796

    OPERATION15. LASER FUNCTIONB–63664EN/02772NOTEThe time data is updated when the oscillator is in the LSTRand subsequent later stages. When LSTR is turned off, thevalues present at this point of time are maintained. Whenthe automatic aging function is disabled (bit 6 of parameterNo. 15008 is s...

  • Page 797

    OPERATIONB–63664EN/0215. LASER FUNCTION773Screen display Second pageAGING FUNCTION[AGING SETTING 2]POWER= * WFREQUENCY= *** HZDUTY=**** %CAL. TIME=**** SGAS PRESS.(50Hz)=****GAS PRESS.(60Hz)=****INTERVAL=**** H[ ][ ][ ][ ][ ]Corresponding parameter Nos.No.15326N...

  • Page 798

    OPERATION15. LASER FUNCTIONB–63664EN/02774NameGas pressure (50 Hz)MeaningValue of pressure in tubes during aging operationParameterNo.15330Valid data range0 to 32767NameGas pressure (60 Hz)MeaningValue of pressure in tubes during aging operationParameterNo.15331Valid data range0 to 32767NameSto...

  • Page 799

    OPERATIONB–63664EN/0215. LASER FUNCTION775NamePower (half)MeaningSpecified power compensation output value when half ofdischarge tubes are usedParameterNo.15200Valid data range0 to 9999NamePower (all)MeaningSpecified power compensation output value when alldischarge tubes are usedParameterNo.15...

  • Page 800

    OPERATION15. LASER FUNCTIONB–63664EN/02776When the aging operation is to be started manually at the time ofmaintenance of the oscillator, it can be started by setting on the agingsetting screen. At power–up of the CNC, the “Manual mode” item on thefirst page of the aging function setting...

  • Page 801

    OPERATIONB–63664EN/0215. LASER FUNCTION777#715014#6#5#4MAG#3#2#1#0[Data type] BitMAG On the aging setting screen:1 : All items on all pages are displayed. As the No. of manual operations,a value from 2 to 255 may be set.0 : Only the first page is displayed, and the on/off setting for the manua...

  • Page 802

    OPERATION15. LASER FUNCTIONB–63664EN/02778The block satisfied as follows is searched for , and the laser nozzle ispositioned to the start point of the block and the machine is set in the feedhold status.1Where the distance Ls between the start point of the block and thecurrent position of the l...

  • Page 803

    OPERATIONB–63664EN/0215. LASER FUNCTION779(4) If there is no block in which the distance Ls between the currentnozzle position and block start point is shorter than the value set inparameter 15635 during a near–point search, alarm PS4000 occurs.(5) If the current nozzle position is near the m...

  • Page 804

    OPERATION15. LASER FUNCTIONB–63664EN/02780If the three–dimensional cutting function supports W–axis gap control,setting the gap control feed signal to “1” selects the Z–axis as a gap controlaxis. Activating Z–axis gap control enables the Z–axis to gap controlmovement along the X...

  • Page 805

    OPERATIONB–63664EN/0215. LASER FUNCTION781The approach feed mode is ON , if the gap control feed signal is turnedon when the W-axis tracing control function is added.The signal from the gap sennsor is monitored in approach feed mode.If the signal from the sensor is 0 or more (too close to the w...

  • Page 806

    OPERATION15. LASER FUNCTIONB–63664EN/02782The term ”hand coordinate system” refers to a coordinate system definedbased on the nozzle attitude with the nozzle tip position regarded as theorigin in attitude control A or B. In a hand coordinate system defined inan arbitrary space, axis moveme...

  • Page 807

    OPERATIONB–63664EN/0215. LASER FUNCTION783(2) Attitude control BS Letting +Zh be a direction normal to the nozzle;S Letting +Xh be the α–axis arm direction;S With the thumb and the first and second fingers of the left handextended at right angles to one another, letting +Xh and +Zh be thedir...

  • Page 808

    OPERATION15. LASER FUNCTIONB–63664EN/02784The sets of cutting data of the relevant items are registered, under the titleof the proper number in the corresponding data area, which can be calledand used for cutting when commanded by that number in a part program.This data area has an enough capac...

  • Page 809

    OPERATIONB–63664EN/0215. LASER FUNCTION785b. With the option for additional cutting condition registrationE ;The number of cutting data set (1 to 30)The number of piercing data set (101 to 110)4) Auxiliary data groups are specified from data items in cutting datagroups. It is impossible to s...

  • Page 810

    OPERATION15. LASER FUNCTIONB–63664EN/02786Cutting data consists of the items listed below.For the meaning of cutting data, see Section 18.1, “CONTOURMACHINING”, in Part II, “PROGRAMMING”.1) Setting itemsData itemSetting rangeUnitWithoutadditional cuttingconditionregistrationWith additio...

  • Page 811

    OPERATIONB–63664EN/0215. LASER FUNCTION787Edge cutting data groups and power control data groups are provided asauxiliary data groups.1.Edge cutting data groupEdge cutting data is used for edge cutting, which is performed to cut acorner sharply, and for using the startup function, which operate...

  • Page 812

    OPERATION15. LASER FUNCTIONB–63664EN/02788(2) Specified frequency[Data type]Word[Unit of data]Hz[Valid data range] 0 to 2000Set a frequency to be specified for each data table.(3) Specified duty cycle[Data type]Word[Unit of data]%[Valid data range] 0 to 100Set a duty cycle to be specified for e...

  • Page 813

    OPERATIONB–63664EN/0215. LASER FUNCTION7891) Displaying each cutting data group registration screena. Press the OFFSET/SETTING function key several times. Then,the following soft keys are displayed:POWERSETDATA3D.TRNb. Press the [DATA] soft key. Then, the following soft keys aredisplayed:CUTP...

  • Page 814

    OPERATION15. LASER FUNCTIONB–63664EN/02790Piercing data screen[PIERCING]ACTIVE DATA NO. CUTTING = 5PIERCING = 103No.PWR.[INITIAL][INCREM.][STEP]PIRC [ASSIST GAS] DEFFREQ.DUTYFREQ.DUTY TIMECNTTIME PRESS. KIND TIME101**** ************** *.***** ***.*** **.* ***.* –*.***102**** ************** *...

  • Page 815

    OPERATIONB–63664EN/0215. LASER FUNCTION7911) Function for changing cutting condition data by screen operationsSelect and display a screen, and press the [OPRT] soft key. Then,modification becomes possible. Move the cursor to the item tochange, and modify data.a. When data with a currently act...

  • Page 816

    OPERATION15. LASER FUNCTIONB–63664EN/02792Start addressItem to change[Data type] Byte[Valid data range] 1 to 255Item to changeDataFeedrate1Peak power2Pulse frequency3Pulse duty cycle4Gap control reference displacement5Assist gas pressure6Start address + 1Change amount[Data type] Byte[Valid data...

  • Page 817

    OPERATIONB–63664EN/0215. LASER FUNCTION793An override can be applied to the cutting condition data listed below byusing an external signal.For details of override, refer to “FS16i Connection Manual (Function)”(B–63523EN–1) and “FS16i–LB Connection Manual” (B–63663EN).– Feedrat...

  • Page 818

    OPERATION15. LASER FUNCTIONB–63664EN/02794a. Piercing dataData itemE101E102E103Peak power#6500#6515#6530Initial frequency#6501#6516#6531Initial duty#6502#6517#6532Step frequency#6503#6518#6533Step duty#6504#6519#6534Step time#6505#6520#6535Step number#6506#6521#6536Piercing time#6507#6522#6537A...

  • Page 819

    OPERATIONB–63664EN/0215. LASER FUNCTION795c. Edge dataData itemE201E202E203E204E205Judge angle for edge#6700#6715#6730#6745#6760Piercing power#6701#6716#6731#6746#6761Piercing frequency#6702#6717#6732#6747#6762Piercing duty#6703#6718#6733#6748#6763Piercing time#6704#6719#6734#6749#6764Piercing ...

  • Page 820

    OPERATION15. LASER FUNCTIONB–63664EN/027964 Data transfer using FOCAS1With the FOCAS1 (FANUC Open CNC API Specifications version 1)window function, cutting condition data can be transferred between apersonal computer, the CNC, and the PMC via Ethernet (TCP/IP) orHSSB (High Speed Serial Bus).Thi...

  • Page 821

    OPERATIONB–63664EN/0215. LASER FUNCTION797The current data of laser are displayed. 1Press OFFSETSETTING key, and the following soft keys are displayed.POWERSETDATA2Press next- menu key .3Press [STATUS] key.4Laser status screen is displayed as follows.MAT. ***********E CODE CUTTING ***PIERCING ...

  • Page 822

    OPERATION15. LASER FUNCTIONB–63664EN/02798When the target point and the basic point is specified, an arbitrary pointin the coordinate system of a part program is converted into the partprogram by three dimensions. The mirror image conversion and threedimension movement conversion are prepared...

  • Page 823

    IV. MAINTENANCE

  • Page 824

  • Page 825

    MAINTENANCEB–63664EN/021. METHOD OF REPLACING BATTERY8011 METHOD OF REPLACING BATTERYThis chapter describes how to replace the CNC backup battery andabsolute pulse coder battery. This chapter consists of the followingsections:1.1 REPLACING BATTERY FOR LCD–MOUNTED TYPE iSERIES1.2 REPLACING TH...

  • Page 826

    MAINTENANCE1. METHOD OF REPLACING BATTERYB–63664EN/02802When a lithium battery is usedPrepare a new lithium battery (ordering code: A02B–0200–K102(FANUC specification: A98L–0031–0012)).1) Turn on the power to the CNC. After about 30 seconds, turn off thepower.2) Remove the old battery ...

  • Page 827

    MAINTENANCEB–63664EN/021. METHOD OF REPLACING BATTERY803CAUTIONSteps 1) to 3) should be completed within 30 minutes (orwithin 5 minutes for the 160i/180i with the PC function). Donot leave the control unit without a battery for any longerthan the specified period. Otherwise, the contents ofme...

  • Page 828

    MAINTENANCE1. METHOD OF REPLACING BATTERYB–63664EN/028041) Prepare two alkaline dry cells (size D) commercially available.2) Turn on the power to the Series 16i/18i/160i/180i.3) Remove the battery case cover.4) Replace the cells, paying careful attention to their orientation.5) Reinstall the co...

  • Page 829

    MAINTENANCEB–63664EN/021. METHOD OF REPLACING BATTERY805If a lithium battery is used, have A02B–0200–K102 (FANUC internalcode: A98L–0031–0012) handy.(1) Turn the CNC on. About 30 seconds later, turn the CNC off.(2) Remove the battery from the top area of the CNC unit.Disconnect the co...

  • Page 830

    MAINTENANCE1. METHOD OF REPLACING BATTERYB–63664EN/02806NOTEComplete steps (1) to (3) within 30 minutes.If the battery is left removed for a long time, the memorywould lose the contents.If there is a danger that the replacement cannot becompleted within 30 minutes, save the whole contents of th...

  • Page 831

    MAINTENANCEB–63664EN/021. METHOD OF REPLACING BATTERY807Connection terminalon the backCase4 mounting holes2 dry cellsLid

  • Page 832

    MAINTENANCE1. METHOD OF REPLACING BATTERYB–63664EN/02808A lithium battery is used to back up BIOS data in the CNC display unitwith PC functions. This battery is factory–set in the CNC display unitwith PC functions. This battery has sufficient capacity to retain BIOSdata for one year.When th...

  • Page 833

    MAINTENANCEB–63664EN/021. METHOD OF REPLACING BATTERY809Lithium batteryA02B–0200–K102Battery holderConnector(BAT1)Fig. 1.3 Lithium battery connection for CNC display unit with PC functions

  • Page 834

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

  • Page 835

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

  • Page 836

    MAINTENANCE1. METHOD OF REPLACING BATTERYB–63664EN/02812– The service life of the batteries is about two years if they are used ina six–axis configuration with ai series servo motors and one year ifthey are used in a six–axis configuration with a series servo motors.FANUC recommends that ...

  • Page 837

    MAINTENANCEB–63664EN/021. METHOD OF REPLACING BATTERY813– The absolute pulse coder of the ai series servo motor is incorporatedwith a backup capacitor as standard. This backup capacitor enables anabsolute position detection to be continued for about 10 minutes.Therefore, no zero point return ...

  • Page 838

    MAINTENANCE1. METHOD OF REPLACING BATTERYB–63664EN/02814[Installation procedure for the battery](1) Remove the battery cover from the SVM.(2) Install the battery in the SVM as shown in the figure below.(3) Install the battery cover.(4) Attach the battery connector to CX5X of the SVM.BatterySVMB...

  • Page 839

    MAINTENANCEB–63664EN/021. METHOD OF REPLACING BATTERY815WARNING1 When replacing the battery, be careful not to touch baremetal parts in the panel. In particular, be careful not to touchany high–voltage circuits due to the electric shock hazard.2 Before replacing the battery, check that the D...

  • Page 840

    MAINTENANCE1. METHOD OF REPLACING BATTERYB–63664EN/02816(2) Detaching the connector<1>Hold both the sides of the cable insulatorand the cable, and pull them horizontally.<2>10 degrees or lessPull out the cable side while raising it slightly.<3>5 degrees or lessHere, the angle ...

  • Page 841

    MAINTENANCEB–63664EN/021. METHOD OF REPLACING BATTERY817The battery is connected in either of 2 ways as follows.Method 1: Use the battery case (A06B–6050–K060).Use the battery: A06B–6050–K061 or D–size alkaline battery.Method 2: Attach the lithium battery to the SVM.Use the battery: A...

  • Page 842

    MAINTENANCE1. METHOD OF REPLACING BATTERYB–63664EN/02818(5) Remove the battery from the servo unit.(6) Replace the battery and connect the battery cable with theconnector CX5X or CX5Y of the servo unit.(7) Mount the battery cover.SVU–12, SVU–20BatteryBattery coverPass the battery cable to t...

  • Page 843

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

  • Page 844

  • Page 845

    APPENDIX

  • Page 846

  • Page 847

    APPENDIXB–63664EN/02A. TAPE CODE LIST823ATAPE CODE LISTISO codeEIA codeMeaningCharacter 8 7 6 5 43 2 1 Character 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 848

    APPENDIXA. TAPE CODE LISTB–63664EN/02824ISO codeEIA codeMeaningCharacter 8 7 6 5 43 2 1Character8 7 6 5 43 2 1WithoutCUSTOMMACROBWithCUSTOMMACROBDELf f f f f ff f fDelf f f f ff f f Delete (deleting a mispunch)××NULfBlankfNo punch. With EIAcode, this code cannotbe used in a significantinform...

  • Page 849

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

  • Page 850

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

  • Page 851

    APPENDIXB–63664EN/02B. LIST OF FUNCTIONS AND TAPE FORMAT827FunctionsTape formatIllustrationCylindrical interpolation(G07.1)G07 _R_; Cylindrical interpolationR: Radius of cylinderG07 0;Cylindrical interpolationcancelPIPILook–ahead control (G08)G08 P1:Look–ahead control mode onG08 P0:Loo...

  • Page 852

    APPENDIXB. LIST OF FUNCTIONS AND TAPE FORMATB–63664EN/02828FunctionsTape formatIllustrationPiercingRI,JKP,QS:POWER H:STEPFlequencydutyTimeG24 S_P_Q_I_J_K_H_R_Reference position return check (G27)PIStart pointG27 _ ;PIReference position return(G28)2nd, reference position re-turn (G30)PIStar...

  • Page 853

    APPENDIXB–63664EN/02B. LIST OF FUNCTIONS AND TAPE FORMAT829FunctionsTape formatIllustrationTool offset (G45 to G48)G 45G 46G 47G 48IncreaseDecrease2 timesincreaseComIPIP2 timeDecrease _ D_;IPG45G46D : Tool offset numberG47G48Scaling (G50, G51)P1’P1P2P4P3P2’P4’P3’PIG51 _ P_;P, I, ...

  • Page 854

    APPENDIXB. LIST OF FUNCTIONS AND TAPE FORMATB–63664EN/02830FunctionsTape formatIllustrationCustom macro(G65, G66, G67)G65 P_L _ ;O_ ;M99 ;MacroOne–shot call G65 P_ L_ <Argument assignment> ; P : Program No. L : Number of repeatitionModal call G66 G67 ; CancelP_L_ <Argument...

  • Page 855

    APPENDIXB–63664EN/02B. LIST OF FUNCTIONS AND TAPE FORMAT831FunctionsTape formatIllustrationWorkpiece coordinate sys-tem preset (G92.1)G92.1 0 ;PIThree–dimensional trans-form (G98, G99)P0Q0P1P2P3Q1Q2Q3Mirror image transformG98 P0 X_Y_Z_; Base pointG98 Q0 X_Y_Z_; Target pointMovement tra...

  • Page 856

    APPENDIXC. RANGE OF COMMAND VALUEB–63664EN/02832CRANGEOFCOMMANDVALUEIncrement systemIS–BLeast input increment0.001 mmLeast command increment0.001 mmMax. programmable dimension±99999.999 mmMax. rapid traverse Note240000 mm/minFeedrate range Note1 to 240000 mm/minIncremental feed0.001, 0.01,...

  • Page 857

    APPENDIXB–63664EN/02C. RANGE OF COMMAND VALUE833Increment systemIS–BLeast input increment0.0001 inchLeast command increment0.0001 inchMax. programmable dimension±9999.9999 inchMax. rapid traverse Note9600 inch/minFeedrate range Note0.01 to 9600 inch/minIncremental feed0.0001, 0.001, 0.01, ...

  • Page 858

    APPENDIXC. RANGE OF COMMAND VALUEB–63664EN/02834Increment systemIS–BLeast input increment0.001 degLeast command increment0.001 degMax. programmable dimension±99999.999 degMax. rapid traverse Note240000 deg/minFeedrate range Note1 to 240000 deg/minIncremental feed0.001, 0.01, 0.1, 1 deg/stepN...

  • Page 859

    APPENDIXB–63664EN/02D. NOMOGRAPHS835DNOMOGRAPHS

  • Page 860

    APPENDIXD. NOMOGRAPHSB–63664EN/02836When 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 thebeam path (nozzle center path) and the programmed...

  • Page 861

    APPENDIXB–63664EN/02D. NOMOGRAPHS837The beam 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 charac...

  • Page 862

    APPENDIXD. NOMOGRAPHSB–63664EN/02838Fig.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 863

    APPENDIXB–63664EN/02D. NOMOGRAPHS839When a servo motor is used, the positioning system causes an errorbetween input commands and output results. Since the beam advancesalong the specified segment, an error is not produced in linearinterpolation. In circular interpolation, however, radial errors...

  • Page 864

    APPENDIXE. STATUS WHEN TURNING POWER ON,WHEN CLEAR AND WHEN RESETB–63664EN/02840E STATUS WHEN TURNING POWER ON, WHEN CLEARAND WHEN RESETParameter CLR (No. 3402#6) is used to select whether resetting the CNCplaces it in the cleared state or in the reset state (0: reset state/1: clearedstate).The...

  • Page 865

    APPENDIXB–63664EN/02E. STATUS WHEN TURNING POWER ON,WHEN CLEAR AND WHEN RESET841ItemResetClearedWhen turning power onAction in Movement×××opera-tionDwell×××tionIssuance of M, Tcodes×××Length compensation×Depending onparameterLVK(No.5003#6)f : MDI modeOther modes dependon parameterLVK...

  • Page 866

    F. CHARACTER–TO–CODE CORRESPONDENCE TABLEB–63664EN/02842F CHARACTER-TO-CODES CORRESPONDENCE TABLEChar-acterCodeCommentChar-acterCodeCommentA0656054B0667055C0678056D0689057E069032SpaceF070!033Exclamation markG071”034Quotation markH072#035Hash signI073$036Dollar signJ074%037PercentK075&...

  • Page 867

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

  • Page 868

    APPENDIXG. ALARM LISTB–63664EN/02844NumberContentsMessage033NO 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 869

    APPENDIXB–63664EN/02G. ALARM LIST845NumberContentsMessage078NUMBER NOT FOUNDA program number or a sequence number which was specified by ad-dress P in the block which includes an M98, M99, M65 or G66 was notfound. The sequence number specified by a GOTO statement was notfound. Otherwise, a cal...

  • Page 870

    APPENDIXG. ALARM LISTB–63664EN/02846NumberContentsMessage111CALCULATED DATA OVERFLOWThe result of calculation is out of the allowable range (–1047 to –10–29,0, and 10–29 to 1047).112DIVIDED BY ZERODivision by zero was specified. (including tan 90°)113IMPROPER COMMANDA function which ca...

  • Page 871

    APPENDIXB–63664EN/02G. ALARM LIST847NumberContentsMessage142ILLEGAL SCALE RATEScaling magnification is commanded in other than 1 – 999999.Correct the scaling magnification setting (G51 Ppor parameter. . 5411 or 5421).143SCALED MOTION DATA OVER-FLOWThe scaling results, move distance, coordinat...

  • Page 872

    APPENDIXG. ALARM LISTB–63664EN/02848NumberContentsMessage222DNC OP. NOT ALLOWED IN BG.–EDITInput and output are executed at a time in the background edition.Execute a correct operation.224RETURN TO REFERENCE POINTReference position return has not been performed before the automaticoperation s...

  • Page 873

    APPENDIXB–63664EN/02G. ALARM LIST849NumberContentsMessage4026COMMUNICATION ERRORAn overrun, parity, or framing error occurred during read via the interfaceof the teaching box.The number of the input data bits is incorrect, or the set baud rate or I/Odevice specification number is illegal.4027DR...

  • Page 874

    APPENDIXG. ALARM LISTB–63664EN/02850NumberContentsMessage5046ILLEGAL PARAMETER (ST.COMP)An illegal parameter has been specified for straightness compensa-tion.Possible reasons are as follows:1There is no axis corresponding to the axis number specified in themove axis or compensation axis parame...

  • Page 875

    APPENDIXB–63664EN/02G. ALARM LIST851NumberContentsMessage5136FSSB : NUMBER OF AMPS ISSMALLIn comparison with the number of controlled axes, the number of amplifi-ers recognized by FSSB is not enough.5137FSSB : CONFIGURATION ERRORFSSB detected a configuration error.5138FSSB : AXIS SETTING NOT CO...

  • Page 876

    APPENDIXG. ALARM LISTB–63664EN/02852NumberContentsMessage5222SRAM CORRECTABLE ERRORThe SRAM correctable error cannot be corrected.Cause:A memory problem occurred during memory initialization.Action:Replace the master printed circuit board (SRAM module).5227FILE NOT FOUNDA specified file is not ...

  • Page 877

    APPENDIXB–63664EN/02G. ALARM LIST8532) Background edit alarmNumberMessageContents???BP/S alarmBP/S alarm occurs in the same number as the P/S alarm that occurs inordinary program edit.(P/S alarm No. 070, 071, 072, 073, 074, 085 to 087)Modify the program.140BP/S alarmIt was attempted to select o...

  • Page 878

    APPENDIXG. ALARM LISTB–63664EN/028545) Serial pulse coder (SPC) alarms When either of the following alarms is issued, a possible cause is a faulty serial pulse coder or cable.NumberMessageDescription360n AXIS : ABNORMAL CHECKSUM(INT)A checksum error occurred in the built–in pulse coder.361n A...

  • Page 879

    APPENDIXB–63664EN/02G. ALARM LIST855The details of serial pulse coder alarm No. 351 (communication alarm)are displayed in the diagnosis display (No. 203) as shown below.#7#6#5#4#3#2#1#0DTECRCSTBPRM203PRM: An invalid parameter was found. Alarm No. 417 (invalid servo parameter) is also issued.STB...

  • Page 880

    APPENDIXG. ALARM LISTB–63664EN/02856NumberContentsMessage417SERVO ALARM: n–TH AXIS – PA-RAMETER INCORRECTThis alarm occurs when the n–th axis (axis 1 to 8) is in one of the condi-tions listed below. (Digital servo system alarm)1) The value set in Parameter No. 2020 (motor form) is out of...

  • Page 881

    APPENDIXB–63664EN/02G. ALARM LIST857NumberContentsMessage441n AXIS : ABNORMAL CURRENTOFFSETThe digital servo software detected an abnormality in the motor cur-rent detection circuit.442n AXIS : CNV. CHARGE FAULT/INV.DB1)αiPS: The spare discharge circuit of the DC link is abnormal.2)αiPSR: T...

  • Page 882

    APPENDIXG. ALARM LISTB–63664EN/02858NumberContentsMessage465n AXIS : READ ID DATA FAILEDAt power–up, amplifier initial ID information could not be read.466n AXIS : MOTOR/AMP COMBINA-TIONThe maximum current rating for the amplifier does not match that forthe motor.467n AXIS : ILLEGAL SETTING O...

  • Page 883

    APPENDIXB–63664EN/02G. ALARM LIST859When FBA equal 1 in diagnostic data No.200 (servo alarm No. 416 is being generated):ALDEXPAlarm details10Built–in pulse coder disconnection (hardware)11Separately installed pulse coder disconnection (hardware)00Pulse coder is not connected due to software.7...

  • Page 884

    APPENDIXG. ALARM LISTB–63664EN/02860NumberContentsMessage4054E CODE DATA ERRORThe specified E code value is beyond the allowable range.4055E CODE NOT COMMANDEDBecause no E code is specified, a laser output calculation cannot beperformed.4056OPT. PATH NOT SETIn constant optical path control, the...

  • Page 885

    APPENDIXB–63664EN/02G. ALARM LIST861NumberContentsMessage4094VANE PUMPThe vacuum pump is abnormal. A thermal trip occurred in the magneticcontactor because of overload on the vacuum pump.4095A/D CONVERTER–3A/D converter 3 (for reading gap displacement) does not operatenormally. Check the an...

  • Page 886

    APPENDIXG. ALARM LISTB–63664EN/02862NumberContentsMessage4137MIXER POWER FAILUREThis alarm is issued when a power failure occurs on the relay printedcircuit board in the laser gas mixer.4138INSUFFICIENT DEGREE OF VACUUMThis alarm is issued when a specified degree of vacuum cannot beachieved wit...

  • Page 887

    APPENDIXB–63664EN/02H. GLOSSARY863HGLOSSARYTermDescription[A]Absolute linear scaleDetector for an absolute position on a straight line.Absolute position detectorDetector that indicates the absolute coordinates of a machine element, relativeto a selected origin.Absolute programmingMethod of prog...

  • Page 888

    APPENDIXH. GLOSSARYB–63664EN/02864TermDescriptionAutomatic override for inner cornerAutomatically overriding a cutting feedrate at each end of an inner corner, pro-duced based on a tool path that has been subjected to cutter compensation.ToolWorkpieceαInner corner is defined by 180° v αAuto...

  • Page 889

    APPENDIXB–63664EN/02H. GLOSSARY865TermDescriptionBlock restartResuming automatic operation from the start, or an intermediate point, of a blockif automatic operation has been interrupted in that block due, for example, to toolbreakage.BufferingStandby state set up before a command is executed.[...

  • Page 890

    APPENDIXH. GLOSSARYB–63664EN/02866TermDescriptionConversational programming with graphicfunctionInteractively programming blocks, one at a time, based on a G code menu dis-played on the screen.Coordinate systemRight–hand orthogonal coordinate system in which three linear axes, X, Y, andZ, are...

  • Page 891

    APPENDIXB–63664EN/02H. GLOSSARY867TermDescriptionDistance to goThe remaining amount of movement specified in a block.Distribution amountNumber of pulses to be distributed during pulse distribution.DNC operationAutomatic operation based on a program being loaded into the CNC via an inter-face. ...

  • Page 892

    APPENDIXH. GLOSSARYB–63664EN/02868TermDescriptionFeed per minuteCutting feed in which the distance the tool is to advance is specified per minute.Feed per revolutionCutting feed in which the distance the tool is to advance is specified per spindlerotation.Feedrate clamp based on arc radiusAutom...

  • Page 893

    APPENDIXB–63664EN/02H. GLOSSARY869TermDescriptionHigh–speed remote buffer BHigh–speed remote buffer for supplying movement data as source code createdin an automatic programming unit.HPCC modeMode in which high–precision contour control (HPCC) is performed.Hypothetical axis interpolationD...

  • Page 894

    APPENDIXH. GLOSSARYB–63664EN/02870TermDescriptionLaser beam on/off controlTurning on and off a laser beam. A laser beam can be turned on and off eithermanually or automatically.Laser sequence controlControl applied to the series of operations from activation to stop of the laser os-cillator. Co...

  • Page 895

    APPENDIXB–63664EN/02H. GLOSSARY871TermDescriptionMacro compiler/macro executerPrograms used to convert a custom macro source to an executable form (macrocompiler), save the conversion results into ROM, and execute them (macro exe-cuter).Macro statementBlock containing a calculation command, con...

  • Page 896

    APPENDIXH. GLOSSARYB–63664EN/02872TermDescriptionMode selectionSelecting an operation mode.Move command callingCalling a specific custom program from a block containing a move command,after the move command has been executed.Multi–edit functionDisplaying two programs side–by–side so that ...

  • Page 897

    APPENDIXB–63664EN/02H. GLOSSARY873TermDescriptionOperator message displayScreen used to inform the operator of the current machine status, and to displayprompts to the operator.Optional block skipAdding a “/”, followed by a number, to the beginning of a block so that that blockcan be select...

  • Page 898

    APPENDIXH. GLOSSARYB–63664EN/02874TermDescriptionPMCSequence controller configured in the CNC and used to execute ladder program.The term PMC stands for programmable machine controller. The PMC is placedbetween the CNC and machine to control the input/output of signals betweenthem.Pocket calcu...

  • Page 899

    APPENDIXB–63664EN/02H. GLOSSARY875TermDescriptionProgrammed pathTool path drawn using a specific point on a cutting tool when compensation hasnot been applied for that tool. In a program, a programmed tool path and com-pensation (such as tool length compensation or cutter compensation) are spe...

  • Page 900

    APPENDIXH. GLOSSARYB–63664EN/02876TermDescription[S]S codeCoded number, following the S address, that specifies the rotational speed of thespindle.S functionControlling the rotational speed of the spindle by specifying a number after theS address.ScalingReducing or enlarging a programmed figure...

  • Page 901

    APPENDIXB–63664EN/02H. GLOSSARY877TermDescriptionSingle direction positioningFinal positioning performed in a single direction to accurately position a tool orworkpiece by excluding play, or lost motion, in the mechanical section.Start pointOvertravelEndpointEndpointTemporary stopStart pointSk...

  • Page 902

    APPENDIXH. GLOSSARYB–63664EN/02878TermDescriptionSynchronous operationOperation in which an axis is controlled using a move command for another axisso that both axes are synchronized. This is used to machine extremely largeworkpieces that extend over two tables.System variableMacro variable us...

  • Page 903

    APPENDIXB–63664EN/02H. GLOSSARY879TermDescriptionTool length compensation along the toolaxisTool length compensation for a tool (tool axis) that is oriented in an arbitrary direc-tion in three–dimensional space.Tool length measurementManual operation in which a reference tool and the tool to ...

  • Page 904

    APPENDIXH. GLOSSARYB–63664EN/02880TermDescriptionWorkpiece coordiate system shiftShifting a workpiece coordinate system set in the CNC as required so that itmatches a workpiece coordinate system assumed during programming.Workpiece coordinate systemCoordinate system that is fixed for a workpiec...

  • Page 905

    IndexB–63664EN/02i–1[Numbers]7.2″/8.4″ LCD–mounted Type CNC Control Unit, 4348–Digit Program Number, 1289.5″/10.4″ LCD–mounted Type CNC Control Unit,434[A]Absolute and Incremental Programming (G90, G91),103Actual Feedrate Display, 674Adding Workpiece Coordinate Systems (G54.1 or...

  • Page 906

    IndexB–63664EN/02i–2Cutting Command, 361Cutting Condition Setting Function, 784Cutting Feedrate Control, 68Cylindrical Interpolation (G07.1), 52[D]Data Input/Output, 431, 555Data Input/Output by Embedded Ethernet, 611Data Input/Output on the All IO Screen, 582Data Input/Output Using a Memory ...

  • Page 907

    B–63664EN/02Indexi–3Files, 556Floating Reference Position Return (G30.1), 87Flow Pattern Specification, 356FTP File Transfer Function, 611Function Keys, 441Function Keys and Soft Keys, 440Functions to Simplify Programming, 131[G]G53, G28, G30, G30.1 and G29 Commands in CutterCompensation C Mo...

  • Page 908

    IndexB–63664EN/02i–4[M]M Code Group Check Function, 112Machine Coordinate System, 89Machine Lock and Auxiliary Function Lock, 533Machining Condition Setting Function (E Code), 360Machining Feed, 66Macro Call, 254Macro Call Using an M Code, 262Macro Call Using G Code, 261Macro Statements and N...

  • Page 909

    B–63664EN/02Indexi–5Power Compensation, 769Power Disconnection, 468Power ON/OFF, 466Preparatory Function (G Function), 31Presetting the Workpiece Coordinate System, 673Processing Head A–Axis Length CompensationFunction (G71), 393Processing Macro Statements, 266Program Check Screen, 682Progr...

  • Page 910

    IndexB–63664EN/02i–6Stand–alone Type 61 Fullkey MDI Unit, 437Stand–alone Type Small MDI Unit, 435Stand–alone Type Standard MDI Unit, 436Startup Machining Function, 370Status when Turning Power ON, when Clear andwhen Reset, 840Step Function, 351Stroke Check, 542Stroke Limit Check Prior t...

  • Page 911

    Revision RecordFANUCSeries16i/160i–LBOPERATOR’S MANUAL (B–63664EN)02May, 2005DAddition of following items: High–speed skip signal (G31), AI nano contour control,Machining condition setting function (E code), Gap controlfunction, Laser high–speed control function, Improvementin nozzle le...

  • Page 912

x