Navigation

  • Page 1

    TC-32BTitle2003/4/211eTCOMNCPRT1.docTC-32BNC PROGRAMMINGMANUALPlease read this manual carefully before starting operation.

  • Page 2

    TC-32BTitle2003/3/202eTCOMNCPRT1.doc1This manual describes the NC-Programming of the TC-32B.The tapping centre is able to perform drilling, tapping, and facing.We shall not bear any responsibility for accidents caused by user's special handling or handlingdeviating from the generally recognized s...

  • Page 3

    TC-32BTitle2003/4/213eTCOMNCPRT1.docINTRODUCTIONCongratulations on your purchase of the Brother CNCtapping center. Correct usage of the machine is of most importance to assure theexpected machine capabilities and functions as well as operator's safety. Read thisManual thoroughly before starting o...

  • Page 4

    TC-32BTitle2003/3/204eTCOMNCPRT1.doc1HOW TO USE THE MANUALThis Instruction Manual consists of the following elements:(1)General descriptionIs an outline of the description given in the section.(2)AlarmIs a alert given against a danger which may cause seriousdamage or death to human being or may d...

  • Page 5

    TC-32BContents2004/01/191eTCOMNCPRC.docChapter 1 Program Composition-------------------------------- 1-11.1 Types and composition of program ------------------------------------1-21.2 Composition of block -------------------------------------------------------1-21.3 Composition of w...

  • Page 6

    TC-32BContents2004/01/232eTCOMNCPRC.doc3.27 Peck drilling cycle (G183) ----------------------------------------------------3-553.28 Local coordinate system function (G52) --------------------------------3-563.29 Single direction positioning function(G60)-----------------------------3-573.30...

  • Page 7

    TC-32BContents2004/01/193eTCOMNCPRC.doc5.4.12 End mill tap cycle (G177) -------------------------------------------------------------------- 5-215.4.13 End mill tap cycle (G178) -------------------------------------------------------------------- 5-225.4.14 Double drilling cycle (G181,G182)...

  • Page 8

    TC-32BContents2004/01/234eTCOMNCPRC.docChapter 9 High Accuracy Mode A--------------------------------- 9-19.1 Outline -------------------------------------------------------------------------------9-29.2 Usage -------------------------------------------------------------------------------...

  • Page 9

    TC-32BContents2004/01/195eTCOMNCPRC.docChapter 13 Option------------------------------------------------------ 13-113.1 Programming precautions when using rotation axis (index table) -----------------------------------------------------------------------13-2

  • Page 10

    TC-32BContents2004/01/236eTCOMNCPRC.doc(This page is a blank.)

  • Page 11

    TC-32BQuick index2004/01/161eTCOMPRIN.doc887654321910111213Chpt. 1PROGRAM COMPOSITIONChpt. 2COORDINATE COMMANDChpt. 3PREPARATION FUNCTIONChpt. 4Chpt. 5PREPARATION FUNCTION (CANNED CYCLE)Chpt. 6Chpt. 7MACROChpt. 8AUTOMATIC WORK MEASUREMENTChpt. 9 HIGH ACCURACY MODEChpt.10SUBPROGRAM FUNCTIONChpt.11...

  • Page 12

    Quick indexTC-32B2003/04/142 TCOMCOOP8-2(This page is a blank.)

  • Page 13

    TC-32BChapter 1 Program Composition2004/01/221 - 1eTCOMNCPR1-1.doc1CHAPTER 1PROGRAM COMPOSITION1.1 Types and composition of program1.2 Composition of block1.3 Composition of word1.4 Numerical values1.5 Sequence number1.6 Optional block skip1.7 Control out/in function

  • Page 14

    Chapter 1 Program Composition TC-32B2004/01/221 - 2eTCOMNCPR1-1.doc11.1 Types and Composition of ProgramThe program is divided into the main program and the subprogram. (1) Main programThe main program is for machining one workpiece. While the main program is in use, asubprogram can be called t...

  • Page 15

    TC-32BChapter 1 Program Composition2004/01/221 - 3eTCOMNCPR1-1.doc11.3 Compositiom of WordA word is composed of an address and some digit of figures as shown below. (Algebraic sign + or - may added before a numerical value.)(Note 1) The address uses one of the alphabetical letters.(Note 2) The...

  • Page 16

    Chapter 1 Program Composition TC-32B2004/01/221 - 4eTCOMNCPR1-1.doc11.5 Sequence NumberA sequence number (1~99999) can be used following the address N for each block.Command formatN *****;i) A sequence number is used following the address N.ii) A sequence number can be specified with up to 5-di...

  • Page 17

    TC-32BChapter2 Coordinate Command2004/01/222 - 1eTCOMNCPR2-1.doc2CHAPTER 2COORDINATE COMMAND2.1 Coordinate system and coordinate value2.2 Machine zero point and machine coordinate system2.3 Working coordinate system

  • Page 18

    Chapter2 Coordinate Command TC-32B2004/01/222 - 2eTCOMNCPR2-1.doc22.1 Coordinate system and coordinate valueCoordinate values should be set in one coordinate system to specify a tool movement.There are two types of coordinate systems.(i) Machine coordinate system(ii) Working coordinate system...

  • Page 19

    TC-32BChapter2 Coordinate Command2004/01/222 - 3eTCOMNCPR2-1.doc22.2 Machine Zero Point and Machine CoordinateSystem(1) Machine zero pointThe machine zero point is the reference point on the machine.(2) Machine coordinate systemThe coordinate systen with the machine zero point as its reference ...

  • Page 20

    Chapter2 Coordinate Command TC-32B2004/01/222 - 4eTCOMNCPR2-1.doc2( This page is a blank.)

  • Page 21

    TC-32BChapter 3 Preparation Function2004/01/223 - 1eTCOMNCPR3.doc3CHAPTER 3PREPARATION FUNCTION3.1Outline of G code3.2Positioning (G00)3.3Linear interpolation (G01)3.4Circular/helical interpolation (G02, G03)3.5Circle cutting (G12, G13)3.6Plane selection (G17, G18, G19)3.7Dwell (G04)3.8Exact stop...

  • Page 22

    Chapter 3 Preparation Function TC-32B2004/01/223 - 2eTCOMNCPR3.doc33.27Peck drilling cycle (G183)3.28Local coordinate system function (G52)3.29Single direction positioning function (G60)3.30G code priority

  • Page 23

    TC-32BChapter 3 Preparation Function2004/01/223 - 3eTCOMNCPR3.doc33.1 Outline of G codeWithin 3-digit number following the address G determines the meaning of the command of theblock concerned.The G codes are divided into the following two types.TypeMeaningModalThe G code is effective until an...

  • Page 24

    Chapter 3 Preparation Function TC-32B2004/01/223 - 4eTCOMNCPR3.doc3GroupG cordContentsModalG00*PositioningG01Linear interpolationG02Circular/ helical interpolation (CW)G03Circular / helical interpolation (CCW)G102XZ Circular interpolation (CW)G103XZ Circular interpolation (CCW)G202YZ Circular int...

  • Page 25

    TC-32BChapter 3 Preparation Function2004/01/223 - 5eTCOMNCPR3.doc3GroupG cordContentsModalG43Tool length offset +G44Tool length offset -G49*Tool length offset cancelModalG50*Scaling cancelG51ScalingModalG50.1Mirror image cancelG51.1Mirror imageModalG52Local coordinate systemG53Machine coordinate ...

  • Page 26

    Chapter 3 Preparation Function TC-32B2004/01/223 - 6eTCOMNCPR3.doc3GroupG cordContentsModalG90*Absolute commandG91Incremental commandModalG92Working coordinate system settingOne-shotG94Feed rate per minuteG98*Return to the initial point levelG99Return to the R point levelModalG73Canned cycle (Hig...

  • Page 27

    TC-32BChapter 3 Preparation Function2004/01/223 - 7eTCOMNCPR3.doc3GroupG cordContentsModalG173Canned cycle (High-speed peck drilling cycle)One-shotG177Canned cycle (End mill tap cycle)G178Canned cycle (End mill tap cycle)ModalG181Canned cycle (Double drilling cycle)G182Canned cycle (Double drilli...

  • Page 28

    Chapter 3 Preparation Function TC-32B2004/01/223 - 8eTCOMNCPR3.doc3GroupG cordContentsModalG120Positioning to the measuring pointOne-shotG121Automatic measurement Corner (Boss)G122Automatic measurement Parallel (Groove)G123Automatic measurement Parallel (Boss)G124Automatic measurement Circle cent...

  • Page 29

    TC-32BChapter 3 Preparation Function2004/01/223 - 9eTCOMNCPR3.doc33.2 Positioning (G00)A tool moves from its current position to the end point at the rapid traverse rate ineach axis direction independently. Therefore, a tool path is not always a linear line.Command formatG00 X_Y_Z_A_B_C_ ;Whe...

  • Page 30

    Chapter 3 Preparation Function TC-32B2004/01/223 - 10eTCOMNCPR3.doc33.3 Linear interpolation (G01)Linear interpolation moves a tool linearly from the current position to the target position at thespecified feedrate.Command formatG01 X_Y_F_ ;Up to X,Y,X and one additional axis can be controll...

  • Page 31

    TC-32BChapter 3 Preparation Function2004/01/223 - 11eTCOMNCPR3.doc3(Note2)The example below shows linear interpolation of linear axis α and rotation axis β.When "G01 G91 Xα Bβ Ff ;" is programmed:α2+β2Time taken for B-axis movement:Tb= f βFeedrate along B axis:Fb= Tb αFeed...

  • Page 32

    Chapter 3 Preparation Function TC-32B2004/01/223 - 12eTCOMNCPR3.doc3(4)When the chamfering amount is longer than the chamfering command block and feedingquantity of the subsequent block, set extended point from each blocks as "chamfer startpoint" and "chamfer end point".Exampl...

  • Page 33

    TC-32BChapter 3 Preparation Function2004/01/223 - 13eTCOMNCPR3.doc3(1)The cornering command block and the subsequent block must contain the interpolationcommand (G01-G03).When the subsequent block does not contain an interpolation or movement command, analarm will occur.(2)The inserted block belo...

  • Page 34

    Chapter 3 Preparation Function TC-32B2004/01/223 - 14eTCOMNCPR3.doc33.4 Circular/Helical Interpolation (G02, G03)3.4.1 Circular interpolationCircular interpolation moves a tool along a circular arc from the current position tothe end point at the specified feedrate.3.4.1.1 Circular interpol...

  • Page 35

    TC-32BChapter 3 Preparation Function2004/01/223 - 15eTCOMNCPR3.doc33.4.1.2 XZ Circular interpolationG102X_ Y_I_ JF_;Command formatG103R_The commands are given in the following format:G 102 Clockwise (CW).Rotation directionG103Counterclockwise (CCW).G90 modeX,YEnd point in the working coordinate...

  • Page 36

    Chapter 3 Preparation Function TC-32B2004/01/223 - 16eTCOMNCPR3.doc33.4.1.3 XZ Circular interpolationG202X_ Y_I_ JF_;Command formatG203R_The commands are given in the following format:G202Clockwise (CW).Rotation directionG203Counterclockwise (CCW).G90 modeX,YEnd point in the working coordinate ...

  • Page 37

    TC-32BChapter 3 Preparation Function2004/01/223 - 17eTCOMNCPR3.doc3The end point of the circular arc takes either the absolute value or the incrementalvalue according to G90 or G91. The incremental value commands the distance from the circulararc start point to the end point.The circular arc cent...

  • Page 38

    Chapter 3 Preparation Function TC-32B2004/01/223 - 18eTCOMNCPR3.doc3eNCPR3.10.aiAbsolute command;G03X-60. Y-10. I-50. J-20. F1000 ;Incremental command;G03X-30. Y30. I-50. J-20. F1000 ;eNCPR3.11.ai(1) G02X-70. Y-50. R25. F1000 ;(2) G02X-70. Y-50. R-25. F1000 ;(Note 1)When either I, J or K is o...

  • Page 39

    TC-32BChapter 3 Preparation Function2004/01/223 - 19eTCOMNCPR3.doc3eNCPR3.15.aieNCPR3.14.ai(Note 6)If the ending radius is extremely larger than that of the starting radius,an alarm will occur.(Note 7)The G36~G39 codes cannot be commanded in the circular arc mode.Transition of radius

  • Page 40

    Chapter 3 Preparation Function TC-32B2004/01/223 - 20eTCOMNCPR3.doc33.4.2 Helical interpolationPutting the other than selected plane axis command in the circular arc block permits a helicalcutting.Command formatX-Y plane:G17G02 X_Y_Z_I_ J_F_;R_G17G03 X_Y_Z_I_ J_F_;R_Z-Y plane:G18G02 Z_X_Y_K_I_F...

  • Page 41

    TC-32BChapter 3 Preparation Function2004/01/223 - 21eTCOMNCPR3.doc33.4.3 Spiral interpolation (G02, G03)An increment or decrement per rotation is specified for the circular interpolation command toperform spiral interpolation.Command formatX-Y plane:{G17}G02X_Y_I_J_Q_L_F_;{G17}G03X_Y_I_J_Q_L_F_...

  • Page 42

    Chapter 3 Preparation Function TC-32B2004/01/223 - 22eTCOMNCPR3.doc3Cutter compensation can be performed only in offset mode. An alarm will occur when this isattempted in startup or cancel mode.The setting for [Cutter compensation] is applied relative to the start point and target point specifie...

  • Page 43

    TC-32BChapter 3 Preparation Function2004/01/223 - 23eTCOMNCPR3.doc33.4.4Conical interpolation (G02, G03)The travel command of another axis in addition to the spiral interpolation command is added andan increment and decrement is specified for that axis per spiral rotation to perform conicalinterp...

  • Page 44

    Chapter 3 Preparation Function TC-32B2004/01/223 - 24eTCOMNCPR3.doc3Example of programStart point(0.,100.,0.)End point(0.,-37.5,62.5)Distance to the center(0.,-100.)Increment/decrement in radius-25.Increment/decrement in height25.No. of rotations3Example of programStart point(0.,100.,0.)End point...

  • Page 45

    TC-32BChapter 3 Preparation Function2004/01/223 - 25eTCOMNCPR3.doc3Cutter compensation can be performed only in offset mode. An alarm will occur when this isattempted in startup or cancel mode.The setting for [Cutter compensation] is applied to the selected plane during cutter compensation,relat...

  • Page 46

    Chapter 3 Preparation Function TC-32B2004/01/223 - 26eTCOMNCPR3.doc33.4.5 Cutter compensation procedure for spiral interpolation and conical interpolation (G02, G03)Assuming a virtual circle with the center of the spiral interpolation as the center for the start pointand end point of the...

  • Page 47

    TC-32BChapter 3 Preparation Function2004/01/223 - 27eTCOMNCPR3.doc33.5 Circle Cutting (G12, G13)Starting from the center of the circle, the tool cuts the inner side of the circle and returns to thecenter of the circle.Command formatG12I_D_F_;G13I_D_F_;G12:Clockwise cutting directionG13:Counterc...

  • Page 48

    Chapter 3 Preparation Function TC-32B2004/01/223 - 28eTCOMNCPR3.doc3An alarm will occur when command "D" is omitted.An alarm will occur when the product of the radius (command "I") minus compensation is zero (0)or a negative value.An alarm will occur when the circle cutting co...

  • Page 49

    TC-32BChapter 3 Preparation Function2004/01/223 - 29eTCOMNCPR3.doc33.7 Dwell (G04)Upon completion of the previous block and in-position check, some time elapses before executingthe next block.Command format G04 P_ ;G04 X_ ;P,X : Dwelling time (sec)3.8 Exact Stop Check (G09, G61, G64...

  • Page 50

    Chapter 3 Preparation Function TC-32B2004/01/223 - 30eTCOMNCPR3.doc3Old blockNew block(Note 2)Cutting feedNo travelingPositioning×××Cutting feed××No traveling×××Cutting mode×Exact stop check modeWhen the old block is clamped while the additional axis is traveling, exact stop check is exe...

  • Page 51

    TC-32BChapter 3 Preparation Function2004/01/223 - 31eTCOMNCPR3.doc33.9 Programmable Data Input (G10)(1) Input of working zero positionCommand format G10L2Pn X_ Y_ Z_ A_ B_ C_ ;n=1 :G54n=2 :G55n=3 :G56n=4 :G57n=5 :G58n=6 :G59When the G90 mode (absolute command) is selected, the commanded offs...

  • Page 52

    Chapter 3 Preparation Function TC-32B2004/01/223 - 32eTCOMNCPR3.doc3(3) Input of tool fine offset valueWhen tool length /Tool diameter compensation command is issued using the program, the data ofthe fine offset number corresponding to the commanded offset number is automatically reflectedin oper...

  • Page 53

    TC-32BChapter 3 Preparation Function2004/01/223 - 33eTCOMNCPR3.doc3 eNCPR3.16.ai(5) Input of tool life.Command format G10L97 P_ Q_ R_ W_ ;P:Tool No.Q:Life category1Non counting2Time (Minutes)3Count of hole machining (Hole)4Programs (Turns)R:Life timeW:preliminary notice of life time(Note)If...

  • Page 54

    Chapter 3 Preparation Function TC-32B2004/01/223 - 34eTCOMNCPR3.doc33.10 Soft LimitThe allowable area of the tool motions can be specified in the following three ways. (1) Stroke setting by the parameter 2 (2) Stroke limit setting by the parameter 1 (3) Programmable stroke limit setting by the ...

  • Page 55

    TC-32BChapter 3 Preparation Function2004/01/223 - 35eTCOMNCPR3.doc33.10.3 Programmable stroke limit (G22)The allowable area of the tool motions is commanded by the program.Command formatG22 X_Y_Z_I_J_K_ ;X : Programmable stroke limit on + direction of X axis.Y : Programmable stroke limit on + d...

  • Page 56

    Chapter 3 Preparation Function TC-32B2004/01/223 - 36eTCOMNCPR3.doc33.11 Return to the Reference Point (G28)Command formatG28X_Y_Z_A_B_C_;This command provides an automatic return to the reference point through anintermediate point for commanded axes. Positioning to the reference point is made ...

  • Page 57

    TC-32BChapter 3 Preparation Function2004/01/223 - 37eTCOMNCPR3.doc33.12 Return from the Reference Point (G29)Command formatG29X_Y_Z_A_B_C_;This command provides positioning to the commanded position through an intermediate point forcommanded axes. At an incremental command, an incremental dista...

  • Page 58

    Chapter 3 Preparation Function TC-32B2004/01/223 - 38eTCOMNCPR3.doc33.15 Selection of working coordinate system (G54~G59)When 6 sets of the coordinate systems for each workpiece are set in the data previously,necessary coordinates system can be selected by commanding the G54 through G59 code...

  • Page 59

    TC-32BChapter 3 Preparation Function2004/01/223 - 39eTCOMNCPR3.doc33.17 Scaling (G50, G51)The programmed shape can be enlarged or reduced by the desired scaling factor.Scaling is possible using the same ratio for all axes or a different ratio for each axis.Scaling using the same ratio for all a...

  • Page 60

    Chapter 3 Preparation Function TC-32B2004/01/223 - 40eTCOMNCPR3.doc3Example of scaling using the same ratio for all axesScaling using the same ratio for all axesP0 Scaling centerP1P2P3P4 P1’P2’P3’P4’ (Note 1)An alarm will occur when scaling is used for an axis that has scalingturned of...

  • Page 61

    TC-32BChapter 3 Preparation Function2004/01/223 - 41eTCOMNCPR3.doc3Precautions for use of scaling function:(Note 1)When scaling is invalidTool offset set for [Cutter compensation] and [Tool length offset] is notsubject to scaling.Additional axes are not subject to scaling.An alarm will occur when...

  • Page 62

    Chapter 3 Preparation Function TC-32B2004/01/223 - 42eTCOMNCPR3.doc3Program example of mirror image using scaling functionWhen a negative number is specified for the scaling factor, programmable mirror image is applied.When a negative value is specified for the scaling factor and there is only on...

  • Page 63

    TC-32BChapter 3 Preparation Function2004/01/223 - 43eTCOMNCPR3.doc33.18 Programmable Mirror Image (G50.1, G51.1)Mirror image is applied to the program commands for the axes specified in the program.Mirror imageCommand formatG51.1X_Y_Z_;Mirror image cancelCommand formatG50.1X_Y_Z_;Mirror image s...

  • Page 64

    Chapter 3 Preparation Function TC-32B2004/01/223 - 44eTCOMNCPR3.doc3Precautions for use of programmable mirror image:(Note 1)When programmable mirror image is invalidMirror image is not applied to the positioning direction for single directionpositioning (G60).Tool length offset is not subject to...

  • Page 65

    TC-32BChapter 3 Preparation Function2004/01/223 - 45eTCOMNCPR3.doc3Coordinates are calculated according to the following sequence: mirror, scaling, and thenrotational transformation. Accordingly, set these in this order in a program. Set these in thereverse order to cancel previous settings. An ...

  • Page 66

    Chapter 3 Preparation Function TC-32B2004/01/223 - 46eTCOMNCPR3.doc33.19 Rotational Transformation Function (G68, G69)The shape specified in the program is rotated.Rotational transformation G17Command format G18 G68 _ _R_; G19Rotational transformation cancelCommand formatG69;αβ: ...

  • Page 67

    TC-32BChapter 3 Preparation Function2004/01/223 - 47eTCOMNCPR3.doc3An alarm will occur when any reference position return related command (G27, G28, G29, G30) isused during rotational transformation.An alarm will occur when ccommand (G52 or G92) during rotational transformation.An alarm will occu...

  • Page 68

    Chapter 3 Preparation Function TC-32B2004/01/223 - 48eTCOMNCPR3.doc33.20 Coordinate rotation using measured results(G168)Command formatG168 X_Y_Q_;X,Y : Rotation center coordinate value.Q :Selects the desired measured result by setting "1"to "4".When the selection is omit...

  • Page 69

    TC-32BChapter 3 Preparation Function2004/01/223 - 49eTCOMNCPR3.doc3(3) When additional axis is commanded 1. Absolute command (e.g., B axis)• When B STROKE of user parameter is set to 1: YES, the B axis rotates to the commandedangle.• When B STROKE of user parameter is set to 0: NO, the B axis...

  • Page 70

    Chapter 3 Preparation Function TC-32B2004/01/223 - 50eTCOMNCPR3.doc33.22 Change of workpiece coordinate system (G92)Change of workpiece zero position can be commanded as follows:Command formatG92X_Y_Z_A_B_C_;This command shifts the zero position in the working coordinate system so that the c...

  • Page 71

    TC-32BChapter 3 Preparation Function2004/01/223 - 51eTCOMNCPR3.doc3eNCPR3.22.aiIn the above figures, G92 is commanded in the coordinate system of G54.When the working zero position of G54 shifts, the other working zero positions of G55 throughG59 also shift the same amount as G54.(Note 4)When G92...

  • Page 72

    Chapter 3 Preparation Function TC-32B2004/01/223 - 52eTCOMNCPR3.doc3(Note 6)When the additional axis is commanded while an optional additionalaxis is not installed, an alarm will occur.3.23 Skip function (G31,G131,G132)The tool moves linearly (linear interpolation) at the specified feedrate fro...

  • Page 73

    TC-32BChapter 3 Preparation Function2004/01/223 - 53eTCOMNCPR3.doc33.24 Continuous skip function (G31)The tool moves linearly (linear interpolation) at the specified feedrate from the current position tothe target position. If the detection signal turns ON in the meantime, the coordinate value ...

  • Page 74

    Chapter 3 Preparation Function TC-32B2004/01/223 - 54eTCOMNCPR3.doc33.26 High speed peck drilling cycle (G173)Command formatG173 X _ Y _ Z _ R _ Q _ F _ ;eNCPR5.19.airapid feedcutting feedR pointZ pointQddQ

  • Page 75

    TC-32BChapter 3 Preparation Function2004/01/223 - 55eTCOMNCPR3.doc33.27 Peck drilling cycle (G183)Command formatG183 X _ Y _ Z _ R _ Q _ F _ ;This is cycle where return operation is removed from G83.eNCPR5.23.airapid feedcutting feedR pointZ pointQQdddwelling for P sec

  • Page 76

    Chapter 3 Preparation Function TC-32B2004/01/223 - 56eTCOMNCPR3.doc33.28 Local coordinate system function (G52)Command formatG52 X_ Y_ Z_ A_ B_ C_ ;X, Y, Z, A, B, C: Amount of shift from workpiece coordinate zero pointOperation will be the same regardless of G90 or G91.Amount of shift is appl...

  • Page 77

    TC-32BChapter 3 Preparation Function2004/01/223 - 57eTCOMNCPR3.doc33.29 Single direction positioning function (G60)Command formatG60 X_Y_Z_A_B_C_ ;X, Y, Z, A, B, C:Command value of the axis for which single directionpositioning is performed.Coordinate of end point for G90 and travel amount for ...

  • Page 78

    Chapter 3 Preparation Function TC-32B2004/01/223 - 58eTCOMNCPR3.doc33.30 G code priority(1)Executed correctly.(2)Error(3)The last G command is effective.(4)One-shot is executed and the modal is updated.(5)One-shot is executed and the modal is updated, but an error occurs when circle arc iscomma...

  • Page 79

    TC-32BChapter 3 Preparation Function2004/01/223 - 59eTCOMNCPR3.doc3Command the same block (Model-Model)G17710101222221122221212221331113G9811111111112211111221111113G941111111111221111122111113G90111111111122111112211113G801010111111112222111221133G731010122222112222121222133G69111111122122221112...

  • Page 80

    Chapter 3 Preparation Function TC-32B2004/01/223 - 60eTCOMNCPR3.doc3Command the same block (Model-One-shot)G1772122222221122222223G981111111111121111111G941111111111121111111G901111111111121111111G801111444441424444443G732122222221122222223G691111111111121111111G68G1682121222221222222222G67222222...

  • Page 81

    TC-32BChapter 3 Preparation Function2004/01/223 - 61eTCOMNCPR3.doc3Command the same block (One-shot -One-shot)G1732122222221122222223G133212222222122222223G13121222232212222223G1212122222221222223G120212222222122223G10021222222212223G922122222221223G65222222222223G6021222221213G531111111113G52212...

  • Page 82

    Chapter 3 Preparation Function TC-32B2004/01/223 - 62eTCOMNCPR3.doc3Command during ModelG0G1G2G3G17 G18G19G22 G23 G40 G41G42G43G44G49 G50 G51 G50.1 G51.1 G54 G54.1 G61 G66 G67 G68G168G69 G73 G80 G90 G94 G98 G177G0,G1111111111111111111115111115G2,G311911119111191191111119115111115G1711111211111111...

  • Page 83

    TC-32B Chapter4 Preparation function (Tool offset function)2004/01/224 - 1eTCOMNCPR4.doc4CHAPTER 44.1 Tool dia offset (G40, G41, G42)4.2 Tool length offset (G43, G44, G49)PREPARATOION FUNCTION(TOOL OFFSET FUNCTION)

  • Page 84

    Chapter4 Preparation function (Tool offset function)TC-32B2004/01/224 - 2eTCOMNCPR4.doc44.1 Tool dia offset (G40, G41, G42)4.1.1 Tool dia offset functionProgramming is done according to the actual workpiece form, but this functionenables the tool to move along the path with an offset from act...

  • Page 85

    TC-32B Chapter4 Preparation function (Tool offset function)2004/01/224 - 3eTCOMNCPR4.doc44.1.2 Cancel modeThe system enters the cancel mode right after the power is turned ON or the[RESET] key is pressed.In the cancel mode, the path of the tool center coincides ...

  • Page 86

    Chapter4 Preparation function (Tool offset function)TC-32B2004/01/224 - 4eTCOMNCPR4.doc44.1.3 Start-upWhen a block which satisfies all the following conditions is executed in the cancel mode, thesystem enters the offset mode. The control in this operation is called the start-up.a) G41 or G42 is...

  • Page 87

    TC-32B Chapter4 Preparation function (Tool offset function)2004/01/224 - 5eTCOMNCPR4.doc44.1.3.2 Outside cutting(a)Type 1 : Linear - LinearType 1 : Linear - Arc(b)Type 2 : Linear - LinearType 2 : Linear - Arc(Note 1)Type 1 and 2 can be selected in parameter 1 fo...

  • Page 88

    Chapter4 Preparation function (Tool offset function)TC-32B2004/01/224 - 6eTCOMNCPR4.doc44.1.3.3 Outside cutting ( θ < 90°)(a)Type 1 : Linear - LinearType 1 : Linear - Arc(b)Type 2 : Linear - LinearType 2 : Linear - Arc(Note 1)Type 1 and 2 can be selected in parameter 1 for start-up and ...

  • Page 89

    TC-32B Chapter4 Preparation function (Tool offset function)2004/01/224 - 7eTCOMNCPR4.doc44.1.4 Offset modeA tool movement command in the offset mode includes a positioning, a linearinterpolation, a circular interpolation and a helical interpolation.4.1.4.1 Insi...

  • Page 90

    Chapter4 Preparation function (Tool offset function)TC-32B2004/01/224 - 8eTCOMNCPR4.doc4(Note 1) When going around at a narrow angle (there is α < 1˚) no cross point of 2perpendicular lines from programme lines, so that tool center path will beexceptionally as follows;Linear - linearLinear ...

  • Page 91

    TC-32B Chapter4 Preparation function (Tool offset function)2004/01/224 - 9eTCOMNCPR4.doc44.1.4.2 Outside cutting (90°≤θ<180°)Linear - LinearLinear - ArcArc - LinearArc - Arc

  • Page 92

    Chapter4 Preparation function (Tool offset function)TC-32B2004/01/224 - 10eTCOMNCPR4.doc4(Note 1) When 179˚ <θ<180˚, tool center path will be as follows;Linear -LinearIt will be processed in the same procedure as above in case of Arc - Linear, Linear - Arc andArc - Arc.4.1.4.3 Outside ...

  • Page 93

    TC-32B Chapter4 Preparation function (Tool offset function)2004/01/224 - 11eTCOMNCPR4.doc4Linear - ArcArc - Arc4.1.4.4 Exceptional caseThere is no cross point at inside cutting.As above figure shows, the cross point of the arcs is present if the offset value is s...

  • Page 94

    Chapter4 Preparation function (Tool offset function)TC-32B2004/01/224 - 12eTCOMNCPR4.doc44.1.5 Offset cancelWhen the command satisfying all the conditions as shown below is executed in the offset mode,the offset cancel mode becomes effective.The tool motion in this status is called an offset ...

  • Page 95

    TC-32B Chapter4 Preparation function (Tool offset function)2004/01/224 - 13eTCOMNCPR4.doc4Type 1:Arc-LinearType 2:Arc-LinearType 2:Linear-Linear(Note 1)Type 1 and 2 can be selected in parameter 1 for start-up and cancelmotions.(Note 2)If the angle is close to 180˚...

  • Page 96

    Chapter4 Preparation function (Tool offset function)TC-32B2004/01/224 - 14eTCOMNCPR4.doc44.1.5.3 Outside cuttingθ < 90˚Type 1:Linear-LinearType 1:Arc-LinearType 2:Linear-LinearType 2:Arc-Linear

  • Page 97

    TC-32B Chapter4 Preparation function (Tool offset function)2004/01/224 - 15eTCOMNCPR4.doc44.1.6 G40 single commandWhen G40 is specified independently, the tool moves to the position offsetperpendicularly in the preceding block and stops.Linear – LinearG41 X_Y_D...

  • Page 98

    Chapter4 Preparation function (Tool offset function)TC-32B2004/01/224 - 16eTCOMNCPR4.doc4Offset amount sign4.1.7 Change of offset direction in offset modeBy commanding G41 or G42, or converting the algebraic sign (+, -) of the offset amount, theoffset direction can be changed even in the offset...

  • Page 99

    TC-32B Chapter4 Preparation function (Tool offset function)2004/01/224 - 17eTCOMNCPR4.doc44.1.8 Change of offset direction in offset mode4.1.8.1 When there is a cross pointLinear - LinearLinear - ArcArc - LinearArc - Arc

  • Page 100

    Chapter4 Preparation function (Tool offset function)TC-32B2004/01/224 - 18eTCOMNCPR4.doc44.1.8.2 When there is no cross pointLinear – LinearLinear – ArcArc – LinearCenter

  • Page 101

    TC-32B Chapter4 Preparation function (Tool offset function)2004/01/224 - 19eTCOMNCPR4.doc4Arc – Arc4.1.8.3 When offset path becomes more than a circleBy changing offset direction offset path becomes more than a circle, but actual offset path is shortcutted as s...

  • Page 102

    Chapter4 Preparation function (Tool offset function)TC-32B2004/01/224 - 20eTCOMNCPR4.doc44.1.9 G code command for tool dia offset in offset modeLinear - LinearLinear - ArcArc - LinearArc - Arc

  • Page 103

    TC-32B Chapter4 Preparation function (Tool offset function)2004/01/224 - 21eTCOMNCPR4.doc44.1.10 Notes on tool dia offset(1) Command of tool dia offset amountThe offset amount is commanded by the number of the D command.When G41 or G42 is commanded, the offset am...

  • Page 104

    Chapter4 Preparation function (Tool offset function)TC-32B2004/01/224 - 22eTCOMNCPR4.doc4(5) Cutting insufficientThis problem occurs in the case of a program containing a step smaller than the toolradius.Cutting insufficient

  • Page 105

    TC-32B Chapter4 Preparation function (Tool offset function)2004/01/224 - 23eTCOMNCPR4.doc4(6) Corner movementWhen cutting the outer side, the tool moves around the corner from different angles.Themovement mode and the feedrate up to the single block stop point are ...

  • Page 106

    Chapter4 Preparation function (Tool offset function)TC-32B2004/01/224 - 24eTCOMNCPR4.doc4The original movement in the above figure are:P0-P1-P2Linear movementP2-P3Linear movementThe tool moves once around the circular arc afterwards with P3 as the target.If this small movement function is used, t...

  • Page 107

    TC-32B Chapter4 Preparation function (Tool offset function)2004/01/224 - 25eTCOMNCPR4.doc4(7) Block without movementWhen the command without any X/Y movement is given for more than 3 blocks during the tooldia offset mode, the movement is as shown below and overcut...

  • Page 108

    Chapter4 Preparation function (Tool offset function)TC-32B2004/01/224 - 26eTCOMNCPR4.doc4(8) Tool movement in case of tool dia offset amount zeroa) Start-upWhen G41 or G42 is commanded in the cancel mode, the offset mode becomeseffective but the start-up motion is not available as the offset amou...

  • Page 109

    TC-32B Chapter4 Preparation function (Tool offset function)2004/01/224 - 27eTCOMNCPR4.doc4(9) Exceptional case or alarm-generating command1.Command to produce the vertical vectorG10 : Programmable data inputG52 : Local coordinate systemG92 : Coordinate system set...

  • Page 110

    Chapter4 Preparation function (Tool offset function)TC-32B2004/01/224 - 28eTCOMNCPR4.doc4(11) Manual interventionWhen moving the tool by manual operation in the offset mode and starting the memory operationagain, the corrected offset path starts from two blocks ahead.04L68.aiWhen moving the tool ...

  • Page 111

    TC-32B Chapter4 Preparation function (Tool offset function)2004/01/224 - 29eTCOMNCPR4.doc44.1.11 Override function related to tool dia offset4.1.11.1 Automatic corner overrideWhen the blocks before and after the inner corner satisfy the following conditions,an ...

  • Page 112

    Chapter4 Preparation function (Tool offset function)TC-32B2004/01/224 - 30eTCOMNCPR4.doc44.1.11.2 Override of the inside circular cuttingWhen cutting along the circular arc whitch is offset inside during the offset mode,the actual feedrate is calculated by multiplying the commanded feedrate by ...

  • Page 113

    TC-32B Chapter4 Preparation function (Tool offset function)2004/01/224 - 31eTCOMNCPR4.doc44.2 Tool Length Offset (G43, G44, G49)This function corrects the tool position so that the tool nose comes to the programmed position.In either the absolute command or the i...

  • Page 114

    Chapter4 Preparation function (Tool offset function)TC-32B2004/01/224 - 32eTCOMNCPR4.doc4(This page is a blank.)

  • Page 115

    TC-32BChapter 5 Preparation function (canned cycle)2004/01/225 - 1eTCOMNCPR5-1.doc5CHAPTER 5PREPARATION FUNCTION(CANNED CYCLE)5.1 List of canned cycle function5.2 Basic motions in canned cycle5.3 General description of canned cycle5.4 Details of canned cycle5.5 Canned cycle for tool change (non-s...

  • Page 116

    Chapter 5 Preparation function (canned cycle)TC-32B2004/01/225 - 2eTCOMNCPR5-1.doc55 CANNED CYCLEFor repetitive machining, a series of paths that is usually specified in a few blockscan be specified in one block.5.1 List of Canned Cycle FunctionTable 5-1 List of canned cycle functionGcodeCont...

  • Page 117

    TC-32BChapter 5 Preparation function (canned cycle)2004/01/225 - 3eTCOMNCPR5-1.doc55.2 Basic Motions in Canned CycleIn general, the canned cycle is composed of the following six motions.Motion 1 : Positioning (at rapid feed) to the drilling position (X/Y)Motion 2 : Positioning to R point (at ra...

  • Page 118

    Chapter 5 Preparation function (canned cycle)TC-32B2004/01/225 - 4eTCOMNCPR5-1.doc55.3 General description of canned cycle5.3.1 Command related to canned cycle motions G90Absolute command(1) Data formatG91 Incremental command G98 Initial point level return(2) Return levelG99 R point le...

  • Page 119

    TC-32BChapter 5 Preparation function (canned cycle)2004/01/225 - 5eTCOMNCPR5-1.doc55.3.3 Types of return point (G98, G99)There are two types of return points - initial point level return (G98) and R point level return (G99)- when the canned cycle motions are finished.eNCPR5.03.ai(Note 1)G98 and...

  • Page 120

    Chapter 5 Preparation function (canned cycle)TC-32B2004/01/225 - 6eTCOMNCPR5-1.doc55.3.5 Machining data of canned cycleCommand formatG * * X _ Y _ Z _ R _ Q _ P _ F _ S _ K _ ;G codeG73, G74, G76~G78, G81~G87, G89, G173, G177, G178, G181~G183, G185,G186and G189.The G c...

  • Page 121

    TC-32BChapter 5 Preparation function (canned cycle)2004/01/225 - 7eTCOMNCPR5-1.doc55.3.6 Repeat number of canned cycleWhen drilling at an equal interval is repeated in the same canned cycle, use the address K andspecify the repeat number.The command range of K is 0 - 9999.K is effective only in...

  • Page 122

    Chapter 5 Preparation function (canned cycle)TC-32B2004/01/225 - 8eTCOMNCPR5-1.doc55.4 Details of canned cycle5.4.1 High-speed peck drilling cycle (G73)Command formatG73 X _ Y _ Z _ R _ P _ Q _ F _ ;eNCPR5.05.ai• The relief amount d is set by the parameter 1.• If the minus value is comman...

  • Page 123

    TC-32BChapter 5 Preparation function (canned cycle)2004/01/225 - 9eTCOMNCPR5-1.doc55.4.2 Reverse tapping cycle (G74)Command formatG74 X _ Y _ Z _ R _ P _ F _ S _ ;eNCPR5.06.aiSpindle rotation stops at Z point.After dwelling for P sec, spindle rotates CW.• When a temporary stop is applied on t...

  • Page 124

    Chapter 5 Preparation function (canned cycle)TC-32B2004/01/225 - 10eTCOMNCPR5-1.doc55.4.3 Fine boring cycle (G76)Command formatG76 X _ Y _ Z _ R _ Q _ P _ F _ S _V _;eNCPR5.07.ai• If the minus value is commanded for the shift amount Q, the algebraic mark (-) is ignored.• The shift direction...

  • Page 125

    TC-32BChapter 5 Preparation function (canned cycle)2004/01/225 - 11eTCOMNCPR5-1.doc55.4.4 Tapping cycle (G77)I_Command formatG77 X _ Y _ Z _ R _ Q _ S _ ;J_eNCPR5.08.ai• The relief amount d is set by the parameter 1.• If the minus value is commanded for the cutting amount Q, the algebraic m...

  • Page 126

    Chapter 5 Preparation function (canned cycle)TC-32B2004/01/225 - 12eTCOMNCPR5-1.doc55.4.5 Reverse tapping cycle (synchro mode) (G78)I_Command formatG78 X _ Y _ Z _ R _ Q _ S _ ;J_• When a temporary stop is applied on the way from the R point to the Z point or the R point,the tool stops after ...

  • Page 127

    TC-32BChapter 5 Preparation function (canned cycle)2004/01/225 - 13eTCOMNCPR5-1.doc5• Tapping high-speed returnThe spindle speed at a return of synchro tapping (G77 or G78) is variable.G77I_Command format X _ Y _ Z _ R _ Q _ S _ L _ ;G78J_• The address L commands the spindle speed during the...

  • Page 128

    Chapter 5 Preparation function (canned cycle)TC-32B2004/01/225 - 14eTCOMNCPR5-1.doc5High speed cycleFeed speed at start and end of drilling cycle (G81 or G82) is variable. G81Command formatX _ Y _ Z _ R _ W _ V _ F _ E _ L _ P _; G82W:Speed changeover pointDistance from point "R", reg...

  • Page 129

    TC-32BChapter 5 Preparation function (canned cycle)2004/01/225 - 15eTCOMNCPR5-1.doc55.4.7 Peck drilling cycle (G83)Command formatG83 X _ Y _ Z _ R _ P _ Q _ F _ ;eNCPR5.12.ai• The cutting start point d is set by the parameter.• If the minus value is commanded for the cutting amount Q, the a...

  • Page 130

    Chapter 5 Preparation function (canned cycle)TC-32B2004/01/225 - 16eTCOMNCPR5-1.doc55.4.8 Tapping cycle (G84)Command formatG84 X _ Y _ Z _ R _ P _ F _ S _ ;eNCPR5.13.aiSpindle rotation stops at Z point.After dwelling for P sec, spindle rotates CW.• When a temporary stop is applied on the way ...

  • Page 131

    TC-32BChapter 5 Preparation function (canned cycle)2004/01/225 - 17eTCOMNCPR5-1.doc55.4.9 Boring cycle (G85, G89) G85Command formatX _ Y _ Z _ R_ P_ F_ ; G89eNCPR5.14.aiHigh speed cycleFree speed at return of boring cycle (G85 or G89) is variable. G85Command formatX _ Y _ Z _ R_ P_ F_ E_ P...

  • Page 132

    Chapter 5 Preparation function (canned cycle)TC-32B2004/01/225 - 18eTCOMNCPR5-1.doc55.4.10 Boring cycle (G86)Command formatG86 X _ Y _ Z _ R _ P _ F _ S_ Q_;eNCPR5.16.aiR pointZ pointReturn pointSpindle stop(Q command omit)Dwelling for P secRapid feedCutting feedSpindle CW

  • Page 133

    TC-32BChapter 5 Preparation function (canned cycle)2004/01/225 - 19eTCOMNCPR5-1.doc5High speed cycleFeed speed at start and end of boring cycle (G86) is variable.Command formatG86 X _ Y _ Z _ R _ W _ V _ F _ E _ L _ P_ Q_ ;W:Speed changeover pointDistance from point "R", regardless o...

  • Page 134

    Chapter 5 Preparation function (canned cycle)TC-32B2004/01/225 - 20eTCOMNCPR5-1.doc55.4.11 Back boring cycle (G87)Command formatG87 X _ Y _ Z _ R _ Q _ P _ F _ S_ V_ ;eNCPR5.18.ai• If the minus value is commanded for the shift amount Q, the algebraic mark (-) is ignored.• The shift dire...

  • Page 135

    TC-32BChapter 5 Preparation function (canned cycle)2004/01/225 - 21eTCOMNCPR5-1.doc55.4.12 End mill tap cycle (G177)I_Command formatG177 X _ Y _ Z _ R _S_ L _ Q _E _ ;J_Q: Feeding speed changeover point.Distance from point "R", regardless of absolute mode (G90) or incremental mode(G...

  • Page 136

    Chapter 5 Preparation function (canned cycle)TC-32B2004/01/225 - 22eTCOMNCPR5-1.doc55.4.13 End mill tap cycle (G178) I_Command formatG178 X _ Y _ Z _ R _ S_ L _ Q _E _ ; J_Q : Feeding speed changeover point.Distance from point "R", regardless of absolute mode (G90) or increment...

  • Page 137

    TC-32BChapter 5 Preparation function (canned cycle)2004/01/225 - 23eTCOMNCPR5-1.doc55.4.14 Double drilling cycle (G181,G182)G181Command formatX _ Y _ Z _ R _ I _ J _ W _ V _ F _ E _ L _P_ ; G182I :Double rapid feed start point (follow G90/G91)Distance from point "R" when incremental...

  • Page 138

    Chapter 5 Preparation function (canned cycle)TC-32B2004/01/225 - 24eTCOMNCPR5-1.doc55.4.15 Double boring cycle (G185,G189)G185Command formatX _ Y _ Z _ R _ I _ J _ F _ E _ P _ ; G189I:Double rapid feed start point (follow G90/G91)Distance from point "R" when incremental mode is spe...

  • Page 139

    TC-32BChapter 5 Preparation function (canned cycle)2004/01/225 - 25eTCOMNCPR5-1.doc55.4.16 Double boring cycle (G186)Command format G186 X _ Y _ Z _ R _ I _ J _ W _ V _ F _ E _ L _ P _ Q _ S _ ;I :Double rapid feed start point (follow G90/G91)Distance from point "R" when increment...

  • Page 140

    Chapter 5 Preparation function (canned cycle)TC-32B2004/01/225 - 26eTCOMNCPR5-1.doc55.4.17 Canned cycle of reducing stepFor G73, G77, G78, G83, G173 and G183 fixed cycles, reducing step is available which reducesthe cutting feed depth gradually.(1) High-speed peck drilling cycle (G73) (Reducing...

  • Page 141

    TC-32BChapter 5 Preparation function (canned cycle)2004/01/225 - 27eTCOMNCPR5-1.doc5(2) Peck drilling cycle (G83) (Reducing step)Command formatG83 X _ Y _ Z _ R _ P _ W _ V _ F _ ;W : 1st cutting feedV : Minimum cutting feedeNCPR5.27.ai• The relief amount d is set by the parameter 1.•...

  • Page 142

    Chapter 5 Preparation function (canned cycle)TC-32B2004/01/225 - 28eTCOMNCPR5-1.doc5(3) Tapping cycle (synchro mode)(G77) (Reducing step)I_Command formatG77 X _ Y _ Z _ R _W _ V _ S;J_W :1st cutting feedV :Minimum cutting feedeNCPR5.28.ai• The relief amount d is set by the parameter 1.• If ...

  • Page 143

    TC-32BChapter 5 Preparation function (canned cycle)2004/01/225 - 29eTCOMNCPR5-1.doc5(4) Reverse tapping cycle (synchro mode)(G78) (Reducing step) I_Command formatG78 X _ Y _ Z _ R_ W _ V _ S _ ; J_W:1st cutting feedV:Minimum cutting feedeNCPR5.29.ai• The relief amount d is set by the p...

  • Page 144

    Chapter 5 Preparation function (canned cycle)TC-32B2004/01/225 - 30eTCOMNCPR5-1.doc5(5) High-speed peck drilling cycle (G173) (Reducing step)Command formatG173 X _ Y _ Z _ R _ W _ V _ F _ ;W : 1st cutting feedV : Minimum cutting feedeNCPR5.30.ai• The relief amount d is set by the param...

  • Page 145

    TC-32BChapter 5 Preparation function (canned cycle)2004/01/225 - 31eTCOMNCPR5-1.doc5(6) Peck drilling cycle (G183) (Reducing step)Command formatG183 X _ Y _ Z _ R _ W _ V _ F _ ;W:1st cutting feedV:Minimum cutting feedeNCPR5.31.ai• The relief amount d is set by the parameter 1.• If a nega...

  • Page 146

    Chapter 5 Preparation function (canned cycle)TC-32B2004/01/225 - 32eTCOMNCPR5-1.doc5(7) For G73, G83, G173 and G183 fixed cycles, the cutting feed after the second time will be as below.Cutting feed depth = Coefficient × 1st cutting feed (W)Time of cutting2345678910Coefficient0.825 0.675 0.525...

  • Page 147

    TC-32BChapter 5 Preparation function (canned cycle)2004/01/225 - 33eTCOMNCPR5-1.doc55.4.19 Notes on canned cycle(1) When commanding the canned cycle (G73, G81 to G83, G85, G89, G173,G181 to G183, G185,G189) which does not control the spindle rotation, the spindle should be rotated in advance by...

  • Page 148

    Chapter 5 Preparation function (canned cycle)TC-32B2004/01/225 - 34eTCOMNCPR5-1.doc55.5 Canned cycle for tool change (non-stop ATC)(G100) (1) When TC-32B.Command formatG100 T _ X _ Y _ Z _ R _ A _ B _ L _ ;eNCPR5.34.aiT _ _ :Tool number.T1 _ _ :Pot number.T9 _ _ : Group number.A, B : Target val...

  • Page 149

    TC-32BChapter 5 Preparation function (canned cycle)2004/01/225 - 35eTCOMNCPR5-1.doc5Operations(1) Tool moves to the Z-axis point "R" while performing 0-degree spindle orientation. When "T" is commanded, magazine swivels.(2) Tool movement to theZ-axis ATC origin, to the X ax...

  • Page 150

    Chapter 5 Preparation function (canned cycle)TC-32B2004/01/225 - 36eTCOMNCPR5-1.doc5• When point "R" command position (5) is lower than Z axis command position(7), tool moves to Z-axis commanded position, and operation (7) is notperformed.Tool change motionTool change motion differs d...

  • Page 151

    TC-32BChapter 5 Preparation function (canned cycle)2004/01/225 - 37eTCOMNCPR5-1.doc5Next tool preparationNext tool preparation is performed after the arm has swiveled or the pot has risen after the armswivels in the ATC sequence.When ATC is not performed, only next tool preparation is performed.N...

  • Page 152

    Chapter 5 Preparation function (canned cycle)TC-32B2004/01/225 - 38eTCOMNCPR5-1.doc5(This page is a blank.)

  • Page 153

    TC-32BChapter6 Preparation function (coordinate calculation)2004/01/226 - 1eTCOMNCPR6-1.doc6CHAPTER 6PREPARATION FUNCTION (COORDINATE CALCULATION)6.1 List of coordinate calculation function6.2 Coordinate calculation parameter6.3 Details of coordinate calculation function6.4 Usage of coordinate ca...

  • Page 154

    Chapter6 Preparation function (coordinate calculation)TC-32B2004/01/226 - 2eTCOMNCPR6-1.doc66 Coordinate calculation functionThis function is for calculating the point group coordinates in one block.Point groups are such as on a linear line, on a grid and on a circular arc.By combining such fun...

  • Page 155

    TC-32BChapter6 Preparation function (coordinate calculation)2004/01/226 - 3eTCOMNCPR6-1.doc6Relation of each calculation function and parameter is as shown below.ParameterFunctionG codeIJKPQBolt hole circleG36●●●●Linear(angle)G37Linear(X,Y)G38●●GridG39●●●●●● : Be sure to ...

  • Page 156

    Chapter6 Preparation function (coordinate calculation)TC-32B2004/01/226 - 4eTCOMNCPR6-1.doc66.3.2 Linear (angle)With the reference point at the commanded coordinate, the coordinate values along the linear lineat the angle (θ°) formed by the X axis are calculated.Command formatG37 X_ Y_ I_ J_...

  • Page 157

    TC-32BChapter6 Preparation function (coordinate calculation)2004/01/226 - 5eTCOMNCPR6-1.doc6(Ex.) G38 X0 Y0 I20 J15 K4 ;eNCPR6.02.ai(Note 1)When K is omitted, it is regarded as 1.(Note 2)The reference point becomes the first machining point.6.3.4 GridWith the reference point at the commande...

  • Page 158

    Chapter6 Preparation function (coordinate calculation)TC-32B2004/01/226 - 6eTCOMNCPR6-1.doc6(Ex.) G39 X0 Y0 I20 J25 K4 P3 Q30 ;eNCPR6.03.ai(Note 1)The reference point becomes the first machining point.(Note 2)The coordinate is calulated in the X direction from the reference point.6.4 Usage ...

  • Page 159

    TC-32BChapter 7 Macro2004/01/227 - 1eTCOMNCPR7-1.doc7CHAPTER 7MACRO7.1 What is a Macro?7.2 Variable Function7.3 Calculation Function7.4 Control Function7.5 Call Function

  • Page 160

    Chapter 7 Macro TC-32B2004/01/227 - 2eTCOMNCPR7-1.doc77.1 What is a Macro?A “macro” has four main functions: variable function, calculation function, control function(condition branch), and call function (performs the same operation repeatedly). Using thesemacro functions allows you to cre...

  • Page 161

    TC-32BChapter 7 Macro2004/03/047 - 3eTCOMNCPR7-1.doc7eNCPR7.01.ai7.2 Variable Function7.2.1 Outline of variable functionFor normal programs, commands are given by directly designating a numerical value(e.g. G90, X200). Using the macro’s variable function allows you to use the valuestored in...

  • Page 162

    Chapter 7 Macro TC-32B2004/01/227 - 4eTCOMNCPR7-1.doc7[Example 2] #100 = #[100+10]This formula specifies that the value stored in variable #110 iswritten to #100.[Example 3] When #1 = 9, #9 = 20, and #20 = 30,#5 = # [# [#1]] is equal to #5 = 30.A variable can be used instead of designating a nume...

  • Page 163

    TC-32BChapter 7 Macro2004/01/227 - 5eTCOMNCPR7-1.doc77.2.4 Types of variablesThere are two types of variables:1.Local variable (#1 ~ #26)2.Common variable (#100 ~ #199, #500 ~ #599)Local variables are provided for each call level of the macro program. When a macro program iscalled, the local v...

  • Page 164

    Chapter 7 Macro TC-32B2004/01/227 - 6eTCOMNCPR7-1.doc77.2.5 Variable display and settingVariables are displayed and manually set on the data bank screen.Press the [3] and [ENT] keys at the data bank menu screen, or shift the cursor to the menu No.3and press the [ENT] key. The following items ar...

  • Page 165

    TC-32BChapter 7 Macro2004/01/227 - 7eTCOMNCPR7-1.doc77.2.6 System variable1.Interface input/output signalSignal input#1000 ~#1015RSignal output#1100 ~ #1115R/WSignal batch reading (16 bits)#1032RSignal batch writing (16 bits)#1132R/W[Example of use]A signal is output from the program to externa...

  • Page 166

    Chapter 7 Macro TC-32B2004/01/227 - 8eTCOMNCPR7-1.doc74.Alarm indication#3000 = n (ALARM MESSAGE)Alarm number 9000 + n (n: 0 ~200) occurs, and the alarm message in the brackets (the first 20characters, reset by the [RESET] key) is displayed.Only alphanumerical characters are used in the brackets ...

  • Page 167

    TC-32BChapter 7 Macro2004/01/227 - 9eTCOMNCPR7-1.doc78.Mirror imageMirror images of each axisNumerical value is converted from binary number to decimal number.Mirror image#3007bit 0: X axisbit 0: Y axisbit 0: Z axisR0: INVALID1:VALID9. Modal informationThe called modal information can be read.No....

  • Page 168

    Chapter 7 Macro TC-32B2004/01/227 - 10eTCOMNCPR7-1.doc710. Current positionNo.ContentsCoordinate SystemTool offsetRead whiletraveling#5001~#5008End pointcoordinateWorkpiece coordinatesystemNot includedPossible#5021~#5028CurrentpositionMachine coordinatesystemIncludedNot possible#5041~#5048Current...

  • Page 169

    TC-32BChapter 7 Macro2004/01/227 - 11eTCOMNCPR7-1.doc712. Workpiece counterRead setting value of the workpiece counter screen and write.#3801Workpiece counter 1 count numberR/W#3802Workpiece counter 1 presentR/W#3803Workpiece counter 1 finishR/W#3804Workpiece counter 1 finish announcementR/W#3811...

  • Page 170

    Chapter 7 Macro TC-32B2004/01/227 - 12eTCOMNCPR7-1.doc77.3 Calculation Function7.3.1 Calculation typeCalculations such as those below are possible for variables and numerical values.[Supplementary explanation]• Numerical values are entered for i, j, and k of #i, #j, and #k (e.g. #10), indic...

  • Page 171

    TC-32BChapter 7 Macro2004/01/227 - 13eTCOMNCPR7-1.doc77.3.3 Precautions for calculation(Note 1)FormulaThe right side of the equation can be connected using a constant,variable, function, or operator. When using a constant, any valuewithout a decimal point is regarded as having a decimal point ...

  • Page 172

    Chapter 7 Macro TC-32B2004/03/047 - 14eTCOMNCPR7-1.doc77.4 Control FunctionThe control function allows you to change the flow of the program in the middle of the program bydesignating certain conditions.The control function has the following three types:1.GOTO statement (Unconditional branch)2....

  • Page 173

    TC-32BChapter 7 Macro2004/01/227 - 15eTCOMNCPR7-1.doc7[Example] : :(1) IF[#100 EQ 50] GOTO 123; : :(2) IF[#101 GT 102] GOTO 123; : :(3) GOTO 124; : :(4) N123; : :(5) N124; : ...

  • Page 174

    Chapter 7 Macro TC-32B2004/01/227 - 16eTCOMNCPR7-1.doc7(Note1)The range of numerical values that can be used in the conditionalexpression is -2147483647 to 2147483647.If a value not within this range is used, an alarm will occur.7.4.4 Precautions for control function(Note1)DOm to ENDm must corr...

  • Page 175

    TC-32BChapter 7 Macro2004/01/227 - 17eTCOMNCPR7-1.doc7WHILE [ ”100 LT 10 ] DO 1; WHILE [ ”101 LT 20 ]DO 2;WHILE [ ”102 LT 30 ]DO 3; WHILE [ ”103 LT 40 ]DO 4;END 4;END 3;END 2;END 1;............................ 4-fold 3-fold 2-fold 1-fold........

  • Page 176

    Chapter 7 Macro TC-32B2004/01/227 - 18eTCOMNCPR7-1.doc7(Note 5)IF statement and WHILE statementIF ~ GOTO within WHILE ~ END cannot be branched to a sectionoutside WHILE ~ END.WHILE [#101 EQ 0] DO 1; : : IF[#101 EQ 10]GOTO 123; : :END 1; : :N1237.5 Call FunctionUsi...

  • Page 177

    TC-32BChapter 7 Macro2004/01/227 - 19eTCOMNCPR7-1.doc77.5.1 Simple call functionG65 is generally used to call a macro program.Command format G65 P_L_(Argument);P:Macro program number to be calledL:Number of calls to be repeated (up to 9999)If “L” is omitted, “1”is automatically s...

  • Page 178

    Chapter 7 Macro TC-32B2004/01/227 - 20eTCOMNCPR7-1.doc77.5.2 Modal call functionWhen a macro program is automatically called each time an axis movement command is givenonce registered, it is called a “modal call function”.Use G66 to register a modal call and G67 to cancel registration. Whe...

  • Page 179

    TC-32BChapter 7 Macro2004/01/227 - 21eTCOMNCPR7-1.doc77.5.3 Macro call argumentArgument(s) must be declared when it is necessary to pass local variables to the macro.Format 1Augments can be declared for all addresses, excluding G, L, N, O, and P.Addresseswith argumentspecifiedMacrovariablesA#1B...

  • Page 180

    Chapter 7 Macro TC-32B2004/01/227 - 22eTCOMNCPR7-1.doc7Format 2A, B, and C, and repeating I, J, K can be designated.(Note 1)Addresses that do not require setting can be omitted.(Note 2)Local variables corresponding to non-designated addresses are null.(Note 3)Conversion between format 1 and 2 is ...

  • Page 181

    TC-32BChapter 7 Macro2004/01/227 - 23eTCOMNCPR7-1.doc77.5.4 Difference between G65 and M981.Arguments can be designated for G65, but cannot be designated for M98.2.Local variables are available for G65 depending on the depth of nesting, but are notavailable for M98.3.Calling depth of nesting fo...

  • Page 182

    Chapter 7 Macro TC-32B2004/01/227 - 24eTCOMNCPR7-1.doc7M30; M99; 99; M99; M99;7.5.5 Multiple nesting callMacro calling depth of nesting is up to 4 -fold.Local variables (#1 ~ #26)are provided for each macro level. When macro is called by G65, local...

  • Page 183

    TC-32BChapter 8 Automatic work measurement2004/01/308 - 1eTCOMNCPR8-1.doc8CHAPTER 8AUTOMATIC WORK MEASUREMENT8.1 Before automatic work measurement8.2 Setting of data on automatic work measurement8.3 Operation of automatic work measurement8.4 Display of the measured results8.5 Lock key operations

  • Page 184

    Chapter 8 Automatic work measurement TC-32B2004/01/308 - 2eTCOMNCPR8-1.doc88 Automatic Work MeasurementAutomatic work measuring functions1. G121 -- X and Y coordinates of a cornereNCPR9.01.ai2. G129 -- X and Y coordinates of a grooveeNCPR9.02.ai3. G122 -- X and Y coordinates of the axis of par...

  • Page 185

    TC-32BChapter 8 Automatic work measurement2004/01/308 - 3eTCOMNCPR8-1.doc85. G124,G126 -- X and Y coordinates of the center of a holeeNCPR9.05.ai6. G125,G127 -- X and Y coordinates of the center of a boss7. G128 -- Z coordinate of the top surface of a workpiece+Y+X+Z+Y+X+Z+Y+X+Z

  • Page 186

    Chapter 8 Automatic work measurement TC-32B2004/01/308 - 4eTCOMNCPR8-1.doc88.1 Before Automatic Work MeasurementSet the necessary parameters of User Parameter 7 (ZERO MEASUREMENT).Unless the parameters are set correctly, the probe may be damaged.8.2 Setting of Data on Automatic WorkMeasuremen...

  • Page 187

    TC-32BChapter 8 Automatic work measurement2004/01/308 - 5eTCOMNCPR8-1.doc8ItemDescriptionMEASURING MOTION(0:TYPE1 1:TYPE2)(0:TYPE1)1) It is checked that the detection signal is off.2) The probe moves in the specified axis direction at the speed preset to MEASURING SPEED 1.3) When the detection s...

  • Page 188

    Chapter 8 Automatic work measurement TC-32B2004/01/308 - 6eTCOMNCPR8-1.doc8ItemDescriptionMEASURING SPEED 1Sets the first measuring speed for MEASURING MOTION(TYPE1).*Relief amount of probe = L (mm)*SKIP FEED TIME CONSTANT 1 = t (msec)*MEASURING SPEED 1 = F1 (mm/min)*Delay in control system = td ...

  • Page 189

    TC-32BChapter 8 Automatic work measurement2004/01/308 - 7eTCOMNCPR8-1.doc8ItemDescriptionMEASURING TRAVEL LMTDISTANCESets the amount of overtravel when the measuring skip has exceededthe estimated value(program command value).Setting range:0.000~99.999 mm 0.0000~9.9999 inchMEASUREMENT TOL...

  • Page 190

    Chapter 8 Automatic work measurement TC-32B2004/01/308 - 8eTCOMNCPR8-1.doc8(Note)-The setting values of MEASURING SPEED, RETURN DISTANCE AFT MEASURNG and soon differ according to the probe mounted. Consult the probe maker and set the values.-During automatic work measurement, the speed that the p...

  • Page 191

    TC-32BChapter 8 Automatic work measurement2004/01/308 - 9eTCOMNCPR8-1.doc88.3 Operation of Automatic Work Measurement8.3.1 CornerCommand formatBossG121 X_ Y_ I_ J_ K_L_D_Z_ R_Q_GrooveG129 X_Y_ I_ J_ K_ L_D_Z_R_Q_ ;+Y+Z+Z+Y+Z+Z

  • Page 192

    Chapter 8 Automatic work measurement TC-32B2004/01/308 - 10eTCOMNCPR8-1.doc8X,Y...Estimated corner valueI ,K...X-axis position when measuring in the Y direction, offset value from (X, Y)J ,L...Y-axis position when measuring in the Y direction, offset value from (X, Y)D...Tool offset numberZ...Z c...

  • Page 193

    TC-32BChapter 8 Automatic work measurement2004/01/308 - 11eTCOMNCPR8-1.doc8Measurment pattern1.The spindle is oriented. The probe moves to the first measurement start point of the X andY axes.2.The probe moves to the Z axis measurement height.3.The first measurement is carried out (Position &quo...

  • Page 194

    Chapter 8 Automatic work measurement TC-32B2004/01/308 - 12eTCOMNCPR8-1.doc8d) I<0, J<0eNCPR9.14.aiMeasurement pattern1.The spindle is oriented. The probe moves to the first measurement start point of the X andY axes.2.The probe moves to the Z axis measurement height.3.The first measuremen...

  • Page 195

    TC-32BChapter 8 Automatic work measurement2004/01/308 - 13eTCOMNCPR8-1.doc8c) I<0, J<0eNCPR9.17.aid) I>0 , J>0eNCPR9.18.ai8.3.2 ParallelgrooveG122 X_ Y_ I_(J_) D_ Z_ R_ Q_bossG123 X_ Y_ I_(J_) D_ Z_ R_ Q_eNCPR9.19.aieNCPR9.20.aiX,Y...Estimated groove (boss) center valueI,J...Width ...

  • Page 196

    Chapter 8 Automatic work measurement TC-32B2004/01/308 - 14eTCOMNCPR8-1.doc8D... Tool offset numberZ...Z coordinate during measurementR...Z coordinate of return point when the Z axis has traveled from one measurement point to the other measurement point or when the movement hascompleted.Q...Regis...

  • Page 197

    TC-32BChapter 8 Automatic work measurement2004/01/308 - 15eTCOMNCPR8-1.doc8BossMeasurement pattern1. Spindle orientation 180°.The probe moves to the first measurement start point of the X and Y axes.2. The probe moves to the Z axis measurement height.3. The first measurement is carried out.4. Th...

  • Page 198

    Chapter 8 Automatic work measurement TC-32B2004/01/308 - 16eTCOMNCPR8-1.doc88.3.3 CircleThe circle center is calculated by measuring three points.hole G124 X_ Y_ I_ D_Z_ R_Q_boss G125 X_ Y_ I_ D_ Z_ R_Q_The circle center is calcutaled by measuring four points.hole G126 X_ Y_ I_D_ Z_ R_Q_boss G1...

  • Page 199

    TC-32BChapter 8 Automatic work measurement2004/01/308 - 17eTCOMNCPR8-1.doc8Measurment patternHole ... Three-point measurement1. Spindle orientation 0 . The probe moves to the first measurement start point of the X and Y axes.2. The probe moves to the Z axis measurement height.3. The first measu...

  • Page 200

    Chapter 8 Automatic work measurement TC-32B2004/01/308 - 18eTCOMNCPR8-1.doc8eNCPR9.26.aiHole ... Four-point measurement1. Spindle orientation 0 . The probe moves to the first measurement start point of the X and Y axes.2. The probe moves to the Z axis measurement height.3. The first measur...

  • Page 201

    TC-32BChapter 8 Automatic work measurement2004/01/308 - 19eTCOMNCPR8-1.doc8Boss ... Four-point measurement1. Spindle orientation 180 . The probe moves to the first measurement start point of the X and Y axes.2. The probe moves to the Z axis measurement height.3. The first measurement is car...

  • Page 202

    Chapter 8 Automatic work measurement TC-32B2004/01/308 - 20eTCOMNCPR8-1.doc88.3.4 Z LEVELCommand formatG128 X_ Y_ Z_Q_X,Y... X and Y coordinates of measuring pointZ... Z coordinate of measuring start pointQ... Register No. that stores the measured results ("1" when omitted)eNCPR9...

  • Page 203

    TC-32BChapter 8 Automatic work measurement2004/01/308 - 21eTCOMNCPR8-1.doc8measyrement positioneNCPR9.30.aiG120 Xa Yb ZcWhen [G120 Xa, Yb, and Zc] is commanded, the probe moves to point P.When the measurement data does not exist, NO MEASRUING DATA alarm willoccur.8.4 Handling of the m...

  • Page 204

    Chapter 8 Automatic work measurement TC-32B2004/01/308 - 22eTCOMNCPR8-1.doc8When you continue to another measurement, previous measurement results are displayed.T07005u2.bmp8.4.2 Reflection of measured results on workpiececoordinate systemThe measured results are reflected in the workpiece coor...

  • Page 205

    TC-32BChapter 8 Automatic work measurement2004/01/308 - 23eTCOMNCPR8-1.doc8The working coordinate data G55 is changed to X = -40.000 and Y = -80.000.-120-80-40G55-40-80-40machinecoordinat system

  • Page 206

    Chapter 8 Automatic work measurement TC-32B2004/01/308 - 24eTCOMNCPR8-1.doc88.5 Lock key operationsDRY RUNThe probe moves to the measurement start point, but measurement is not carried out.Measurement data is not transferred, either.MACHINE LOCKAxes are not moved. The coordinate value on the&l...

  • Page 207

    TC-32BChapter 9 High Accuracy Mode A2004/01/229 - 1eT32BNCPR.9.doc9CHAPTER 9HIGH ACCURACY MODE A1Outline2Usage3Restrictions4Effective Functions

  • Page 208

    Chapter 9 High Accuracy Mode A TC-32B2004/1/229 - 2eT32BNCPR.9.doc99.1 OutlineHigh accuracy mode A is a function for highly accurate machining at high speed. It is ideal forcontouring and 3D workpiece machining. This function enables you to machine workpieces athigh speed yet maintain accuracy....

  • Page 209

    TC-32BChapter 9 High Accuracy Mode A2004/01/229 - 3eT32BNCPR.9.doc99.2 Usage9.2.1 User parameter settingHigh accuracy mode A has three deceleration functions. Adjusting the settings for userparameters (Corner deceleration override, Arc deceleration override, Curve approximationdeceleration o...

  • Page 210

    Chapter 9 High Accuracy Mode A TC-32B2004/1/229 - 4eT32BNCPR.9.doc99.2.2 User parameter descriptionParameter nameDescriptionsSetting range (%)Corner decelerationoverride 1Set the automatic corner deceleration override for level 1(M260) in high accuracy mode A.When 100 is set, automatic corner d...

  • Page 211

    TC-32BChapter 9 High Accuracy Mode A2004/01/229 - 5eT32BNCPR.9.doc99.2.3 Usage in a programUse the following M codes to use high accuracy mode A.An example of use is shown below.ExampleM260 High accuracy mode A (level 1) onM261 High accuracy mode A (level 2) onM262 High accuracy mode A (level 3...

  • Page 212

    Chapter 9 High Accuracy Mode A TC-32B2004/1/229 - 6eT32BNCPR.9.doc99.2.4 Conditions availableG code modal conditions*1) must be as below to use high accuracy mode A. The conditionsbelow are current when the power is turned on.*1)See the Instruction Manual for check method of G code modal condi...

  • Page 213

    TC-32BChapter 9 High Accuracy Mode A2004/01/229 - 7eT32BNCPR.9.doc99.3 Restrictions9.3.1 Functions availableFunctions that can be used while high accuracy mode A is on are given below.1. All M codes2. C codes in the table below.G codeFunctionG codeFunction0Positioning51Scaling1Linear interpol...

  • Page 214

    Chapter 9 High Accuracy Mode A TC-32B2004/1/229 - 8eT32BNCPR.9.doc99.4 Effective FunctionsThe functions below are available while high accuracy mode A is on. (1) Automatic corner deceleration function (2) Automatic arc deceleration function (3) Automatic curve approximation deceleration functio...

  • Page 215

    TC-32BChapter 9 High Accuracy Mode A2004/01/229 - 9eT32BNCPR.9.doc99.4.2 Automatic arc deceleration functionWhen performing circular interpolation, a radial error in the actual tool path occurs relative to thespecified circular arc, and the arc radius decreases. In addition to this, the error ...

  • Page 216

    Chapter 9 High Accuracy Mode A TC-32B2004/1/229 - 10eT32BNCPR.9.doc99.4.3 Automatic curve approximation decelerationThis function automatically decelerates the curve approximation block feed rate according to thecurve approximation deceleration override setting so that the shape accuracy for th...

  • Page 217

    TC-32BChapter10 Subprogram function2004/01/1610 - 1eTCOMNCPR10-1.doc10CHAPTER 10SUBPROGRAM FUNCTION10.1Making Subprogram10.2Simple Call10.3Return No. Designation from Sub Program

  • Page 218

    Chapter10 Subprogram function TC-32B2004/01/1610 - 2eTCOMNCPR10-1.doc1010 Function of SubprogramWhen a program contains fixed sequences or frequently repeated patterns, these sequences orpatterns may be entered into the memory as a subprogram.The subprogram can be called out in the memory oper...

  • Page 219

    TC-32BChapter10 Subprogram function2004/01/1610 - 3eTCOMNCPR10-1.doc10Special uses of M99If the M99 command is executed in the main program, the control returns to the start of themain program.eNCPR11.02.aiIf the programming is done as shown above, and if the optional block skip is OFF, the co...

  • Page 220

    Chapter10 Subprogram function TC-32B2004/01/1610 - 4eTCOMNCPR10-1.doc1010.3 Return No. Designation from ProgramCommand formatM99 P_ ;10.3.1 Command by sub program(Program execution sequence )When the command is executed, the program returns the commanded sequence No.of theparent program....

  • Page 221

    TC-32BChapter11 Feed function2004/01/2211 - 1eTCOMNCPR11-1.doc11CHAPTER 11FEED FUNCTION

  • Page 222

    Chapter11 Feed function TC-32B2004/01/2211 - 2eTCOMNCPR11-1.doc1111 Feed FunctionFeedrate is specified by the number following address F.(1) Command rangeMetric system :1~999999 mm/min1~999999 /minInch system :0.1~99999.9 inch/min0.1~99999.9 /min(2) ClampIf the axis movement at a higher feedra...

  • Page 223

    TC-32BChapter12 S,T,M function2004/01/2212 - 1eTCOMNCPR12.doc12CHAPTER 12S,T,M FUNCTION12. 1S Function12. 2T Function12. 3M Function

  • Page 224

    Chapter12 S,T,M function TC-32B2004/01/2212 - 2eTCOMNCPR12.doc1212 S,T,M FunctionBy commanding the following functions, machine motions other than the axismovements are available.S: Spindle speed commandT: Tool magazine number commandM: ON/OFF command of various solenoids of the machine12.1 ...

  • Page 225

    TC-32BChapter12 S,T,M function2004/01/2212 - 3eTCOMNCPR12.doc1212.3 M FunctionThe M codes are used for commanding ON/OFF of various solenoids of the machine.It is commanded by address M and a following within 3-digit number. When the M command is in the same block as that of the axis movement...

  • Page 226

    Chapter12 S,T,M function TC-32B2004/01/2212 - 4eTCOMNCPR12.doc12List of M code (2)GroupM codeContentOperationorder vs.axis feecModal/one-shotM400M400 ON (Chip shower On)M401*M400 OFF (Chip shower Off)simultaneousmodalM402M402 ONM403*M402 ONsimultaneousmodalM404M404 ONM405*M404 OFFM406M406 ONM407*...

  • Page 227

    TC-32BChapter12 S,T,M function2004/01/2212 - 5eTCOMNCPR12.doc12List of M code (3)GroupM codeContentOperationorder vs.axis feedModal/one-shotM120TOUCH signal checkafterone-shotM121TOUCH signal checkafterone-shotM200Tool breakage detection(with return motion)afterone-shotM201Tool breakage detection...

  • Page 228

    Chapter12 S,T,M function TC-32B2004/01/2212 - 6eTCOMNCPR12.doc12List of M code (4)GroupM codeContentOperationorder vs.axis feedModal/one-shotM440Unclamping B axisM441*Clamping B axismodalM442Unclamping A axisM443*Clamping A axismodalM450M451One-shot output (Proceeds to thenext block after the sig...

  • Page 229

    TC-32BChapter12 S,T,M function2004/01/2212 - 7eTCOMNCPR12.doc1212.3.1 Program stop (M00)The spindle stops after the commanded motions in a block are all finished.The coolant pump is turned OFF at this time.Next sequence is started by pressing the START switch.(Note)When the spindle should be ro...

  • Page 230

    Chapter12 S,T,M function TC-32B2004/01/2212 - 8eTCOMNCPR12.doc12Y ATCposition12.3.6 Tool change (M06)(1) When TC-32BCommand format M06T _ X _ Y _ Z _ R _ A _ B _ L _ ;eNCPR13.03.aiT _ _ : Tool number.T1 _ _ : Pot number.T9 _ _ : Group number.A, B : Target value when moving A and B axes a...

  • Page 231

    TC-32BChapter12 S,T,M function2004/01/2212 - 9eTCOMNCPR12.doc12Operations(1)Tool moves to the Z-axis point "R" while performing 0-degree spindle orientation. When "T" is commanded, magazine swivels.(2)Tool movement to theZ-axis ATC origin, to the X axis origin point and to ...

  • Page 232

    Chapter12 S,T,M function TC-32B2004/01/2212 - 10eTCOMNCPR12.doc12Tool change motionTool change motion differs depending on tool type set on [MAGAZINE TOOL] screen.(When large tool is not set on [MAGAZINE TOOL])The following sequence is performed:(1)Pot raises.(2)Magazine swivels.(3)Pot lowers.(4)...

  • Page 233

    TC-32BChapter12 S,T,M function2004/01/2212 - 11eTCOMNCPR12.doc12Next tool preparationNext tool preparation is performed after the arm has swiveled or the pot has risen afterthe arm swivels in the ATC sequence.When ATC is not performed, only next tool preparation is performed.Next tool preparation...

  • Page 234

    Chapter12 S,T,M function TC-32B2004/01/2212 - 12eTCOMNCPR12.doc1212.3.7 Workpiece counter specification (M211~M214)When M211~M214 are specified to the counter 1~4 respectively, and M211 ~ M214are commanded in the memory operation, the commanded counter counts up byspecified step at the execu...

  • Page 235

    TC-32BChapter12 S,T,M function2004/01/2212 - 13eTCOMNCPR12.doc1212.3.12 Tap time constant selection (M241 to 250)-When the M251 command is given, tap time stay constant when tapping of Z-axis speed .-When the M251 command is given, tap acceleration stay constant when tapping of Z-axisspeed.12.3...

  • Page 236

    Chapter12 S,T,M function TC-32B2004/01/2212 - 14eTCOMNCPR12.doc1212.3.18 Waiting until response is given (M460 to M469)For example-M460 command waits until M460 signal turns on.-M461 command waits until M460 signal turns off-M462 command waits until M462 signal turns on.-M463 com...

  • Page 237

    TC-32BChapter13 Option2004/01/2213 - 1eTCOMNCPR13-1.doc13CHAPTER 13OPTION13.1Programming Precautions When Using Rotation Axis (index table)

  • Page 238

    Chapter13 Option TC-32B2004/01/2213 - 2eTCOMNCPR13-1.doc1313.1 Programming Precautions When UsingRotation Axis (index table)When using the QT table on the TC-31A, 32A, and R2A with the rotation axis installed, be sure toplace the rotation axis positioning command before the cutting command in t...

  • Page 239

    eT32BNCPROKU

  • Page 240

x