You are on page 1of 314
YASNAC MX3 CNC SYSTEM FOR MACHINING CENTERS Before intial operation, read these instructions thorough. arc! elain for future vetorence. 7 YASKAWA This manual is primarily intended with 9" CRT char- acter display (basic) to give operators instructions for YASNAC MX3 programming, operation and maintenance. For operation of 1a" CRT character display (ACGC, optional), refer to the instruction manual (TOE-C843-8, 31) separately provided. This manual applies to the basic and optional fea- tures of YASNAC MX3. The optional features are marked with a dagger. For the specifications of your YASNAC MX3, refer to the machine tool builder's manual. 43.704 be) a 12) 3) bo] a i] 2) YASNAC MX3 Operator's Station with 9" CRT Character Display CONTENTS: 1. PREFACE « 2. PROGRAMMING 21 INPUT FORMAT 22 PROGRAM NUMBER AND SEQUENCE NUMBER 23 COORDINATE WORD ~ 24 TRAVERSE AND FEED FUNCTIONS 35 SPINDLE. SPEED FUNCTION (SFUNCTION) ~ 26 TOOLFUNCTION (r-FUNCTION) 27 TOOL COMPENSATION 28 MISCELLANEOUS FUNCTIONS (M-FUNCTION) 29 PREPARATORY FUNCTION (G-FUCNTION) = 210 USER MESSAGE DISPLAY 1 stsvssissrovssecccssecconsee 2.11 USER MACRO (G6 AND G56) 212. SOLID TAP FUNCTION f 213. AUTOMATIC CORNER OVERRIDE * 2114 HIGH-SPEED CONTOURING FUNCTION* 8, PART PROGRAM TAPE CODING. 34 TAPECODE 32 PROGRAMMING « 133 PART PROGRAM TAPE PUNCHING. 344 PART PROGRAM TAPE HANDLING * ‘4. NC OPERATOR'S STATION WITH" CRT CHARACTER DISPLAY +1 ++++0 41 PUSHBUTTONS, LAMPS AND KEYS 42. POWER ON/OFF OPERATION ‘43 DISPLAY AND WRITING OPERATION ‘44 "TAPE INPUT/OUTPUT OPERATIONS OF NCDATA. ‘45. LOADING PART PROGRAMS INTO MEMORY 46 Er ‘47. SUPPLEMENT TO DATA INPUT/OUTPUT INTERFACE ~ 43 TAPE VERIFYING. wisssssrsesesessoesees 5. MACHINE CONTROL STATION $51 SWITCHING UNITS ON THE CONTROL STATION 52 OPERATION PROCEDURE. ~ 6. OPERATION PROCEDURE -- 61 INSPECTION BEFORE TURNING ON FOWER (62. TURNING ON POWER ° 63, MANUAL OPERATION {64 PREPARATION FOR STORED LEADSCREW ERROR COMPENSATION ‘AND STORED STROKE LIMIT T ; (65 PREPARATION FOR AUTOMATIC OPERATION === 66 OPERATION IN TAPE AND MEMORY MODE --- ‘67, MANUAL OFERATION INTERRUPTING AUTOMATIC OPERATION: ‘68 AUTOMATIC OPERATION IN MDI MODE. (69. MDI OPERATION INTERRUPTING AUTOMATIC OPERATION 610 PREPARATION FOR TURNING OFF POWER 611 TURNING OFF FOWER - 17, MAINTENANCE - 711 ROUTINE INSPECTION SCHEDULE 112. BATTERY REPLACEMENT 73 POWER SUPPLY TA. THERMAL OVERLOAD RELAY OF SERVO UNIT 115 MOLDED-CASE CIRCUIT BREAKERS (MCCB) + 16 TROUBLE CAUSES AND REMEDIES =ss-srsessesssccsseosees [APPENDIX-1 LIST OF SETTING NUMBERS, ‘APPENDIX LIST OF PARAMETER NUMBERS « APPENDIX STORED LEADSCREW ERROR COMPENSATION [APPENDXX-4 LIST OF STANOARD INPUT/OUTPUT SIGNALS ~ [APPENDXS LISTOF ALARM CODES. «++ ‘APPENDIX-6 LIST OF ADDRESS CHARACTERS ~ INDEX Subject Chapter Par. Page ABSOLLUTE/INCREMENTAL PROGRAMMING (G9, GBI) sossstsessssseees Qesseseees 2926 « 9 ‘ADDING PART PROGRAM (INSRT KEY). * : 1 68 +168 ADDRESS AND FUNCTION CHARACTERS. BIZ sree SS so 145 ‘ADDRESS KEYS "+-~ sees . 414 ‘ADDRESS SEARCH ° 4300 sesso 160 ALARM CODE DISPLAY 4312 6 ‘ALARM CODES AND REMEDIES «+ fe 762 esses 213 ALARM MESSAGE DISPLAY BY #8000 COMMAND =="+=+- 2101 + 8 ALARM NUMBER OF USER MACROS ; £21110 +123 ‘ARGUMENT DESIGNATION - QNDE AUTO MODE HANDLE OFFSET * 2031+ + 98 ‘AUTOMATIC ACCELERATION AND DECELERATION *-*-+-~ cero 243) 3 ‘AUTOMATIC COORDINATE SYSTEM SETTING T~ sess $23. S87 ‘AOUTOMATIC CORNER OVERRIDE. + 23 +134 ‘AOUTOMATIC OPERATION IN MDI MODE sete . +205 AOUTOMATIC RETURN TO REFERENCE POINT (628) 2214 ‘AOUTOMATIC TOOL LENGTH MEASUREMENT T 188 [AXIS INTERLOCK INPUT «sssvecvseeersees 183 BATTERY: se - 210 BATTERY REPLACEMENT ------ 210 BETORE MAINTENANCE CALL - ea 26 BUFFER REGISTER 3 (CABLE CONNECTOR SPECIFICATIONS o m CANNED CYCLES (G73, G74, 676,071, G80 T0 G89, G8, G9) T~ 1 ‘CAUTIONS IN PROGRAMMING = wa GIRCLE CUTTING (612,61) 1 = foes 30 CIRCUTT PROTECTOR TRIP (ALARM NO. 331 TO 335) an CIRCULAR INTERPOLATION (G02, G03) 6 CIRCULAR PATH MODE ONIOFF GN TOOL RADIUS COMPENSATION C (M97, M96)» 6 20 ‘CIRCULAR PROTECTION COMPENSATION - 43 38 3 COMMAND DATA DISPLAY. se+vser-se00s ‘CONDITIONS FOR ADDING SOLID TAP FUNCTIONS. CONSIDERATIONS AND REMARKS FOR USER MACROS » CONSTANT DISPLAY « ‘CONTROL COMMANDS CONTROL PANEL. +=-" COORDINATE WORD « ‘COORDINATE WORD «+--+ ‘ORT CHARACTER DISPLAY. *+-- CURRENT VALUE NUMERICAL SETTING FUNCTION CURSOR KEYS eossssteen CYCLE START PUSHBUTTON AND LAMP DATA Keys Decal Post PROGRAMMING <-- DELETING PART PROGRAM BLOCK. DESCRIPTION ON FROGKAMMING DISPLAY AND WRITE GF LOCAL, VARIARLES 'AND COMMON VARIABLES DISPLAY AND WRITING OPERATION: == DISPLAY INTHE. (SETTING) FUNCTION DISPLAY LOCKMACHINE LOCK SWITCH ===. : DISPLAY OP REGISIERED PROGKAM NUMBER .s---000 DISPLAYING AND RESETTING CURRENT POSTTION DISPLAYING AND WRITING PARAMETERS ------~ . DISPLAYING AND WRITING TOOL OFFSET AND WORK OFFSET DISPLAYING ON(OFT INPUT/OUTPUT SIGNALS ==" DRY RUN SWITCH #0000000 DWELL (G04) 149 Per meey o: ape gauan BEE 2 4 4 4 7 2 2 2 2 2 3 2 ‘ 2 5 5 7 7 7 2 4 2 3 2 7 2 2 gate ro 2 2 4 2 7 2 2 4 5 4 5 4 2 4 2 2 4 4 3 4 4 4 4 3 2 are INDEX (Cont'd) Subject Chapter pore ete EDIT KEYS EDIT LOCK SWITCH t + EIAISO AUTO-SELECT . EMERGENCY STOP PUSHBUTTON EXACT STOP (Go, G61, G64) EXERCISES OF USER MACRO. EXTERNAL DECELERATION INPUT SIGNALS ¢ F 1-DIGIT PROGRAMMING f «+> FEED HOLD PUSHBUTTON AND LAMP + FEED STOP FUNCTION BY FEEDRATE (FUNCTION) FEEDRATE 1/10 FEEDRATE OVERRIDE CANCEL SWITCH FEEDRATE OVERRIDE SWITCH 0700000070 PEEDRATE, SPINDLE SPEED EDITING FUNCTION: STH AXIS CONTROL +++-+->> STH AXIS NEGLECTINPUT --~ FORM COMPENSATION FUNCTION 4TH AXIS CONTROLT + 000'-+ STH AXIS NEGLECT INPUT = FUNCTION KEYS *-"~ GENERAL PART PROGRAM FORM +" H. AND D-FUNCTION (HD CODES) HANDLE AXIS SELECT SWITCH HANDLE DIAL ? (MANUAL PULSE GENERATOR) = HANDLE DIALS FOR SIMULTANEOUS CONTROL OF UPTOTHREE AXEST =~ HELICAL INTERPOLATION (G02,G03)T ++ HIGH-SPEED CONTOURING FUNCTION* HOLE PATTERN CYCLES (G70, G71, G72) + IMPORTANT ALARM CODES - INCHMETRIC DESIGNATION BY G CODE (620,621) T= INPUT FORMAT INPUT FORMAT -~ INPUTOUTPUT SIGNALS. INPUTTING SETTING DATA AND PARAMETER INPUTTING TOOL OFFSETS FROM TAPE INSPECTION BEFORE TURNING ON POWER + INTERNAL TOGGLE SWITCHES. =-*"-~ + se JOG FEEDRATE OVERRIDE SWITCHT Ses SUdaB sees 19 JOG FEEDRATE SWITCH =" Se SIO 0G PUSHBUTTONS **+++ + 519+ KEEPING NCTAPE. 342 + LABEL SKIP FUNCTION «+++ 00200 2d TEASTINPUTINCREMENT AND LEAST OUTPUT 237+ LINEAR INTERPOLATION (G01) fed os 293 + LIST OF ADDRESS CHARACTERS "APPENDIXGG sseereet+ LIST OF ALARM CODES + APPENDIXGS ¢0+005+0° LIST OF G CODES AND GROUPS 2: 29.1 LOST OF PARAMETER NUMBERS -*~ © APPENDIC2 +000707> LIST OF SETTING NUMBERS + 1-++02+0+ + APPENDDGL * LIST OF STANDARD INPUT(OUTPUT SIGNALS LOADING PART PROGRAMS BY MDI ** LOADING PART PROGRAM TAPE INTO MEMORY - LOADING PART PROGRAMS INTO MEMORY. *~ APPENDIX +++ ry +453 45 a3 INDEX (Cont'd) Subject M CODES FOR INTERNAL. PROCESSING (M90 TO M199) MCCODES FOR STOP (M00, MO1, M02, M30) M FUNCTION LOCK SWITCH (AUXILIARY FUNCTION LOCK) MACHINE CONTROL STATION == MACHINING INTERRUPTION POINT RETURN FUNCTION MAINTENANCE ++ MAKING ADDITION TO A PART PROGRAM MANUAL ABSOLUTE SWITCH += ‘MANUAL CENTERING FUNCTION MANUAL OPERATION s++vse0srr5+2 MANUAL OPERATION INTERRUPTING AUTOMATIC OPERATION ‘MANUAL PULSE MULTIPLY SELECT SWITCH MANUAL REFERENCE POINT RETURN SWITCH t MANUAL RETURN TO REFERENCE POINT =77+"++ ‘MANUAL SKIP FUNCTION: > ves MAXIMUM PROGRAMMABLE DIMENSIONS MDI OFERATION INTERRUPTING AUTOMATIC OFERATION ‘MEM DATA (MEMORY DATA) KEYS or MESSAGE DISPLAY BY CONTROL-OUT AND CONTROL:IN MIRROR IMAGE AXIS SELECTOR SWITCH == [MIRROR IMAGE ON/OFF (M95, M4). -=>- MISCELLANEOUS FUNCTION (M-FUNCTION) « MODE SELECT SWITCH fetteeee MODIFYING PART PROGRAM BLOCK 7+...s--- fe MOLDED-CASE CIRCUIT BREAKERS (MCB) » MULTL ACTIVE REGISTERS ON/OFF (93, M92) MULTLACTIVE REGISTERS ? > NC OPERATOR'S STATION WITH S" CRT CHARACTER DISPLAY NC TAPE CHECK" NC TAPE PUNCH NEXT KEY ‘ON-LINE DIAGNOSTICS + ‘OPERATION COMMANDS: ~~~ sete QPFRATIONIN TAPE AND MEMORY MODE "=" OPERATION PROCEDURE. * OPERATION PROCEDURE OPERATION TIME DISPLAY-~--» QPERATIONS USING DATA INPUTIOUTPUT INTERFACE OPTIONAL BLOCK SKIP (1-9) f=" OPTIONAL BLOCK SKIP SWITCH OPTIONAL STOP SWITCH ORG ORIG) KEY «00ers ees eeosee ‘OTHER M CODES OUTLINE OF TOOL COMPENSATION OUTPUTTING PART PROGRAM TO PAPER TAPE. ‘OUTPUTEING SETTING DATA AND PARAMETER DATATO PAPER TAPE =""~ ‘OUTPUTTING TOOL OFFSETS TO PAPER TAPE. OVERLOAD (ALARM NO. 351 70355) « OVERVIEW == ‘OVERVIEW OF USER MACRO BODY PAGEKEYS sossosss PAPER TAPE SELECT. “ PART PROGRAM DISPLAY +++ +1000 PART PROGRAM TAPE CODING see PART PROGRAM TAPE HANDLING 0000000000 INDEX (Cont'd) Subject PART PROGRAM TAPE PUNCHING "a5 V, 412." LEDS (RED) LIT = SAV" LED @ED) LIT PLANE DESIGNATION (G17, G18, G19) "12000000000 PLAYBACK FUNCTION + > sete POSITIONING (G00, 60s) --- POWER ON/OFF OPERATION POWER ON/OFF PUSHBUTTONS ~ POWER SUPPLY "+++" : Pemeacea ccna eeececsttee PREPARATION FOR AUTOMATIC OPERATION. =-++ PREPARATION FOR STORED LEADSCREW ERROR ‘COMPENSATION 'AND STORED STROKE LIMIT PREPARATION FOR TURNING OFF POWER PREPARATORY FUNCTION (G-FUNCTION) PROCESS SHEET +0+s+002 000» PROGRAM COPY t (G2s)~ PROGRAM INTERRUPTION ON/OFF (M91, M90) PROGRAM NUMBER -+= PROGRAM NUMBER AND SEQUENCE NUMBER +" PROGRAM RESTART T PROGRAMMING PROGRAMMING é PROORAMMING OF ABSOLUTE ZEXO POINT (092) PUSHBUTTONS, LAMPS AND KEYS += RAPID TRAVERSERATE =---~ RAPID TRAVERSE RATE OVERRIDE: ‘swine REFERENCE POINT CHECK (G27) ------ REFERENCE POINT LAMPS Fo s0+200++ REGISTRATION OF USER MACROS REMOTE POWER ON/OFF PUSHBUTTONS RESET KEY 00+ RETURN FROM REFERENCE ZERO (029) ROTATION OF COORDINATES (G68, G69): ROUTINE INSPECTION SCHEDULE ==" 2.DIGIT PROGRAMMING eel § SDIGIT PROGRAMMING ‘+00 2 252 SCALING FUNCTION (G30, G51) t=" “ +2921 sso IND MISCELLANEOUS FUNCTION (® FUNCTION) T+ -+ + 289 ND, SRD AND 4TH REFERENCE POINT RETURN (630) 7 + 28.16 so SEQUENCENO, COLLATION STOP FUNCTION - 2 ASL cesses 160 SEQUENCE NUMBER - 25222 SERVO ALARM (ALARM NO. 381 T0 395) Hy SE IAG on SERVOMOTOR AND DC MOTOR FOR SPINDLE *+-1-000072-~ qa SETTING AND PARAMETER TAPE VERIFYING * . vereeeee ABT © SETTING OF BAUD RATE AND OTHERS OF SERIAL INTERFACE sores 4 6 ang oe SETTIGN OF DATA INPUTIOUTPUT INTERFACE TO BE USED fa serteens a2 vere SETTING OF LOCAL COORDINATE SYSTEM (G32) ==000>>"> Bove 2930+ SIMULTANEOUSLY CONTROLLABLE AXES OF FIVE-AXIS CONTROL P ¢vsvscsctesesoss seen +134 8 SIMULTANEOUSLY CONTROLLABLE AXES OF FOUR-AXIS CONTROL fT sversstesesssese Dover BBB ee 7 SIMULTANEOUSLY CONTROLLABLE AXES OF "THREE-AXIS CONTROL" Besser 232 1 SINGLE BLOCK SWITCH ==700++++ : BD IS ap SKIPFUNCTION (G31) #¢0000sesssreeoooo SD see 2S site ao SOLID TAP FUNCTION T * Tae Bie 8 SOLID TAP AND ITS RELATION WITH SPINDLE CONTROL 1/0 seen - Bang ee 130 INDEX (Cont'd) Subject SOLID TAP RELATED FUNCTION )LID TAP RELATED PARAMETER SOURCE™ LED [GREEN] UNIT. +++ ‘SPINDLE INDEXING FUNCTION += ++-+ += SPINDLE SPEED OVERRIDE SWITCH t + SSPINDLE-SPEED FUNCTION (S-FUNCTION) SPLICING NC TAPE START LOCK INPUT (OR SWITCH) t - STORED LEADSCREW ERKOR COMPENSATION STORED STROKE LIMIT (G22, G23) T= +" SUBROUTINE PROGRAM (M98, M99). +++ SUMMARY OF EDITING OPERATION SUPPLEMENT TO DATA INPUTOUTPUT INTERFACE ==" [SWITCHING UNITS ON THE CONTROL STATION *++++++++ /APPENDICS + ‘T2.,DIGIT PROGRAMMING TADIGITT PROGRAMMING TAPECODE ‘TAPE CODE ‘TAPE INPUT/OUTPUT OPERATIONS OF NC DATA TAPE VERIFYING THERMAL OVERLOADE RELAY OF SERVO UNIT ‘THIRD TO FIETH STORED STROKET =~ * ‘TOOL COMPENSATION: "== sete ‘TOOL FUNCTION (T-FUNCTION) ‘TOOL LENGTH COMPENSATION (G43, G44, G4) ‘TOOL LENGTII MEASUREMENT PUSIIBUTTON AND LAMP TOOL LIFE CONTROL (6122, 6123) ~ ‘TOOL OFFSET MEMORY + ‘TOOL OFFSET VALUE DESIGNATION (G10) ‘TOOL OFFSET VALUE TAPE VERIFYING ‘TOOL POSITION OFFSET (G45 TO G48) «+ ‘TOOL RADIUS COMPENSATION C (G40, G81, G2) t ‘TRAVERSE AND FEED FUNCTIONS - ‘TROUBLE CAUSES AND REMEDIES.“ ‘TURNING OFF POWER - ‘TURNING OFF POWER ‘TURNING ON POWER = TURNING ON POWER ‘TYPES AND FUNCTIONS OF INTERFACE UNIDIRECTIONAL APPROACH (G60) + ; USER MACRO (G65 AND G66) * : a USER MACRO CALL COMMANDS + see USER MESSAGE DISPLAY T VARIABLES + VERIFYING PART PROGRAM TAPE WORK COORDINATE SYSTEM SETTING A (G52 T0.G39)T +++ WORK COORDINATE SYSTEM SETTING B (G52 TO G38) + WORK COORDINATE SYSTEM SETTING C (G52 TO G59) F_ ++ \WRITING IN BLOCKS AND DISPLAYING CONTENTS BY MDI. = ‘Z-AXIS FEED NEGLECT SWITCH ce 54 1383 SS aan Slo “12 1, PREFACE When reading thie menual keep in mind that the information contained herein does not cover every possible contingency which might be met during the operation. Any operation not deseribed in this manual should not be attempted with the control. ‘The functions and performance as NC machine are datermined by 2 combination of machine and the NG control. For operation of your NC machin the machine tool builder's mandal shall take pri- ority over this manual. The illustration of machine control station should be used for your reference in understanding the function. For detailed array of operator's devices and names, refer to machine tool builder's manual. Unless otherwise specified, the following rules apply to the description of programming exam= ples shown in this manual ~ Aorotte Zao Pant Dimensions: in MM 2. PROGRMMING 2.1 INPUT FORMAT 2.1.1 INPUT FORMAT A variable block format conforming to Jis*s 6313 Is used for YASNAC MX3, EXAMPLE x + 5 3 Gaon eee Five digits of integer Table 2.1 shows the input format. Numerals following the address characters in Table 2.1 indicate the programmable number of digits, }x Sign Address character: X Note: A decimal point should be omitted in actual pro~ gramming, when you make a program including decimal points, refer to 2.1.3.” DECIMAL POINT. PROGRAMMING” on page 5. ‘The leading zeros can be suppressed for all ad- dress codes. but all minus cigne must be programmed, In the manual, BOB (end of block) code in a prow gram example is represented by a semicolon (3). In actual programming, CR (BIA code) or LF/NL. {180 code) should be Used instead of the semi- # Japanese Industrial Standard Plus signs need not be programmed. + Metric Input format 04 N4 G3 and3 FS S2 TZ M3 _D(H)2 BB: Inch input format O4 N4 G3 av34F31 $2 T2 M3 D(W)2 B3: Notes: "a" represents X,Y, Z, 1, J or K. P,Q, R and L are omitted in the above format because they are used for various meanings. 2.1.1 INPUT FORMAT (CONT'D) 1] Metric Output No. i | [Mewic input) I:iéh Input 1 [ Program No. T 38 a 2] Sequence no. Na 3 26 function oe Sy «| ‘Corainate [Bee avs] ats Yo eee Retry os] poss | b+ 5 5 | “Feed/min "50 F3L © | Feedimin alos i Fe Be sz 7 3 2 8 Pa 9 He M3 . # 0 Mor Da ih es Te 1z P53, : ce 14 | Sence No, dligratan | OR 15 ee Ls Eee No. of repititions 2.1.2 ADDRESS AND FUNCTION CHARAETERS Address characters and their meanings dre’ shown in Table 2.2. Tabike:2 e a Pcadacesetna [ag ease cet gan naan Ta Characters ope toate Aadiighil xptizy ants parallel wo ‘aayledaheodry ale pall we © 3 ; =| ‘Radignalroory ae pari to Fa Te 5 Zeal radios offer number Bo oi Jace wre character 3 F Feedrate °~ Preparatory function W Tool Tength offeet number B i | X-coordinate of are center - B Radius for cirele cutting ° : Cutting depth for circle cutting B..0. ae %-coorditiate are center B L Number of repetitions B,O M Miscellaneoug‘functions = - B : TWN | Sequence number B ° Progrim number oo eo anita Dwill line, Program No. and sequence No. 3 Gesignations in subprogram ° Q Depth of cist’ shift of canned cycles ° x Point & foF caine Cyctes Radius deighation of a circular are $ Spindle-speed function T “Fool function u Additional linear axis parallel to X-axis On. Vion near ania parle ania > 3 Ww F “Additional 4 9 x Xcoordiridte eae ¥ Y=coor dings 2 z Z-coordinate’ 2 B 2.1.2 ADDRESS AND FUNCTION CHARACTERS (CONT'D) ‘Table 2.3 Function Characters EIA Code | 180 Code Meanings Remarke Blank Hall ureececed ine eueineea eae BS BS Disregarded Tab ur Dioregarded oR ueINL_ | End of Block (EOB) CR | Disregerdea sP SP ‘Space ER * Rewind stop vc Upper shift ie ower shift 24-5 bite qi Control out (Comment staré) Eerone | __) | Central in (Comment end) Special code + + Disregarded, User macro operator 2 Minus eign, User macro operator O09 09 | Numerals atoz | AtoZ | Address charactors, User macro operator 7 1 Optional block skip Del DEL | Disregarded (Including All Mark) Decimal point ee ’ Sharp (Variable) e ba Astrisk (Multiplication operator) . : Equal mark C t Left bracket 1 I Right bracket ee a ° + User macro operator code $ 3 User macro operator ° ° User macro operator ? 2 User macro operator Notes! 1. Characters other than the above cause error in significant data area. 2. Information between Control Out and Control In is ignored as insignificant data. 3. Tape code (EIA or IS0) can be switched by setting. 2.1.3 DECIMAL POINT PROGRAMMING + 2% in Numerals containing a decimal point may e died! as the dimensional. data of addresses related 40 ° feordinates (distance). tine and speed. t Decimal points can be used in the followin? ad +7 Gress words mere X,Y, 2,0, 3, 6, ALBA, Coordinate words U,V, W,Q.R Time word: P Feed vate word: F ; EXAMPLE, Lom} Linch} x15, 15,000 mm or X15.0000 inches ¥20.5 ¥20.500 mm or ¥20.5000 inches (G94)F25,6~ £25.0 mm/min or F25.6 inches /min (for F4.0) (for F3.1) coae 1, Dwell 1.000 see Normally, when data without a decimal point is input, the control regards "1" as 0.001 mm (er 070001 inches, or 0.001 deg.). 2.1.0 LABEL SKIP FUNCTION In the cases named below, the label skip function becomes effective, and LSK is displayed on the crt. + When the power supply is turned on. + When the RESET key is pushed. While the label skip function is effective, all data on the punched tape up to the first EOB code are neglected. When LSK is displayed on the CRT in the MEM (memory) or EDIT (editing) mode, it in- Gicates the presence of a pointer at the leading end of the part program vl2ht 7s? BUFFER REGISTER E:sDriiig Rormal.operation / one block of data is 5 yead'in’advanés and compensation computing is, 30, made.for-the-follow-on operation. 7) (2 Tf) thie tBol"radius compensation C* mode, two ‘piace af dita ‘or. up to 4 blocks of data are read 7] i'adyance,and compensation computing required for the next operation isiexecuted. One block can 1\ contain up to 126 characters including EOB. 2.4:6- MULTI-ACTIVE RECISTERS* For the portion of part programs sandwiched in between M93 and M¥2, up to 4 blocks of data are read in advance M code Meaning, Mee Mult register off M93 Multi-active register on Note: When power is applied or the control is reset, the control is in the state of M code marked with“. Inter-block stoppage can be eliminated when the program is so made that the automatic operation time of advance reading of 4 blocks is longer than processing time of advance reading of next 4 blocks of data. Note Advance reading is not made for every 4 blocks but is always ready to be made up to 4 blocks in M93 mode . 2.2 PROGRAM NUMBER AND SEQUENCE NUMBER 2.2.1 PROGRAM NUMBER Program numbers may be prefixed to programs for the purpose of program identification Up to 4 digits may be written after an address character "0" as program numbers. Up to 99 program numbers can be registered in the con trol, and up to 199 or 999 can be registered employing an option. One program begins with a program number, and ends with M02, M30 or M99. M02 and M30 are placed at the ends of main programs, and M99 is placed at the ends of subprograms. 01234; a) PROGRAM WITH PROGRAM NO. 10 es PROGRAM WITH PROGRAM NO. 1234 ER (or $ at ISO code) is punched on the tape at the top and end of the program. Notes : ‘The blocks for optional block skip such as IM02;, /M30;, /M99; are not regarded as ends: of programs: + To make the reading of MO2, M30, and M99 in~ effective as a program end, and to make the succeeding ER (BTA) or § (180) as a sign of program ends is possible with a parameter change. (#6021p9) 2.2.2 SEQUENCE NUMBER Integers consisting of up to 4 digits may be writ- ten following an address character Nae sequence numbers Sequence numbers are reference numbers for blocks, and do not have any influence on the meaning and sequence of machining processes ‘Therefore, they may be sequential, non-sequen tial, and duplicated numbers, and also not using any sequence number is also possible. Generally, sequential numbers are convenient as sequence numbers When searching for sequence numbers, be sure to search or specify program numbers before- hand. Notes When 5 or more digits are written as a sequence number, only the digits up to the 4th from the trailing end are effective. When two or more blocks have the same sequence number, only one is retrieved and read, and no more searching is performed, Blocks without sequence numbers can also be searched for with respect to the address data contained in the blocks 2.2.3 OPTIONAL BLOCK SKIP (/1 ~ /9)* Those blocks in which "Jn" (n = 1 - 9) is inelud= ed are neglected between /n and the end of that block, when the external optional block skip switeh for that number *n® is on EXAMPLE 12 N1234 GOL x100 13. ¥200: When the ewitch for [2 is on, the entire block is neglected, and when the switch for /3 is om, this block is read as if N 1234 Gol x100:. With "1", "2" may be omitted. Notes The optional block skipping process is executed while the blocks are read into the buffer resis ter. If the blocks have been read, subsequent switching on is ineffective to skip the blocks While reading or punching out programe, this function is ineffective, ‘The optional block skip /2 - /9 is an option function 2.3 COORDINATE WORD Generally, commands for movements in axis direc~ tions and commands for setting coordinate sys tems are called coordinate words, and coordinate words consist of address characters for desired axes and numerals representing dimensions of directions. 2.3.1 a COORDINATE WORD Table. 2.4 Céoridinite Words © Address iS peledription Main axes X.¥,2 | Positiontor distance inX, ¥ or & coordinate direction ALB, © |! These: coordinate words are Heated as commands 4th and 5th *| in the directions of the 4th and 5Th axes. axes". Oe A,B and C are used for rotary motion, and v,v,w '] ULV and W are used for parallel motion Z Circular are Increment in circle culling Circular (G12, G13) interpolation R Generally, radius values of circles auxiliary fee eee EEC data Generally, distances from start point to are Lak center (in X, Y and Z components) 2.3.2 SIMULTANEOUSLY CONTROLLABLE AXES OF THREE-AXIS CONTROL, ‘Table 2.5 shows simultaneously controllable Table 2.5 Simultancously Controllable Axes of Three-axis Control ‘Simultancouwst controllable aces Positioning Goo |X, ¥ and Z axes 2.3.3. SIMULTANEOUSLY CONTROLLABLE AXES OF FOUR-AXIS CONTROLT Table 2. shows simultaneously controllable Table 2.6 Simultancously Controllable Axes of Four-axis Control ‘Simultaneously controllable axes Positioning G00 |X, ¥, Z, and a axes Linear interpola tion GOT X, Y and Z axes X.Y, 2, and dlaxes Circular inter~ polation G02, G03 Two axes: X¥, YZ or 2X (see Note.) Girele cutting? G12, G13 feanee Two axes Dwo axes, XY, YZ, ZX, Xeivabl or zal” Circular inter- polation G02, G03 Gireular cutting? gone two axes: K and Y Circle in X¥-plane and Unear feed in Z-axis direction Refer to 2.9.5 HELICAL INTERPOLATION Helical interpola~ tion? G02, G03 imultaneous control of X, ¥ and Z Manual control Note: Circular arc plane is determined according to the currently effective G codes for plane designation. (G17 to G19) For details, refer to 2.9.4, “CIRCULAR INTER- POLATION’ (G02, G03)" on’ page 24. Helical interpola- tlont G02, GO3 Three axes’ circle in X¥- plane and linear feed in Z~ axis direction. Refer to 2.9.5 HELICAL INTERPO- LATION on page 27. One axis, X, ¥, Z, or ol Manual control (1) The a axis represents any one of axes A, B, C, U, V or W, selected gs the 4th axis. (2) Circular are plane is determined according to the currently effective G codes for plane desig- nation (G17 to G19). For details, refer to 2.9.4," CIRCULAR INTERPOLATION (G02, G03) fon page 24. It (3) For circular interpolation axis a, any one of linear axes U, V, andjW should be designated. t 2.3.4 SIMULTANEOUSLY CONTROLLABLE AXES OF FIVE-AXIS CONTROL! Table 2.7 shows simultaneously controllable axes. Table 2.7. Simutaneously Controllable Axes of Five-axis Control oaasecceeee Simultaneously — Controllable Axes Positioning GOO |X, ¥, Z,a and # axes X, ¥, Z, @ and # axes Even when inch system is selected by parameter, the values for the B-axis remains "deg." unit The control docs not convert B-axis coordinate commands. However, feedrate command F is converted. (Refer to 2.9.9.” LINEAR INTERPO- LATION 2.3.5.2 LINEAR AXIS (U, V OR W AXIS) The near axes are defined as follows, Table 2.9 Linear Axes Gircalor er [tow anal ay We TH Linear axis Definition petation C0208 face, Ya or 2s U-exis | Linear axis parallel to X-axis Gireular cutting? |irwo axes: x an oi2, ais a iene V-axis | Linear axis parallel to Y-axis Helical interpola” [Three axes? civele in XY cane asl iS Hon G02, G03 [plane and linear feed in. 2 greece oe erat eae vis direction. Refer to 2.9.5 HELICAL INTERPO- Note: In this manual, linear axes either U, V LATION, Manual control One axis, X, ¥, Z.dYor 3. (2) Circular interpolation is executed only when the dth axis Is linear. Circular interpolation will not function for the 5th axis, if it is linear (2) Manual pulse generator is of l-axis or 3-axis. 2.3.5 RTH AXIS CONTROL* ‘An additional 4th axis can be incorporated. In this manual, the 4th axis is referred to as a~ axis, and represents any of the 6 axes, A, B, Cy U, Vand W. Address i epecified by parameter 46023. 2.3.5.1 ROTARY AXIS (A, B OR C AXIS) ‘The rotary axis is defined as follows Table 2.8 Rotary Axes for 4th Axis Control Table Rotary axis] Definition ‘axis | Rotary axis parallel to X-axis Baxio | Rotary axis parallel to Y-axis Caxie | Rotary axis parallel to Z-axis Note: In this manual, any one of the three axes, A, Band C, is referred to as Braxis. ‘The unit of output increment and input increment for B-axis is "deg." instead of "mm" used with Unear axes. For the other respects, the treat ments are the came as those in mm. "(Metric system) 8 or W are indicated by c-axis. ‘The unit output increment and input increment for C-anie is the same ag the other Linear axes, X,Y and Z. No discrimination is necessary When inch system Is selected by parameter, input values must be in inches for C-axis. Fig. 2.2. ath Ads in Right hand ‘Coordinate System 2.3.6 STH AXIS CONTROL An additional 5th axis can be incorporated. In this manual, the 5th axie is referred to as B~ axis, and represents any of the 6 axes, A, B, C, U, Vand w. 2.3.6.1 ROTARY AXIS (A, B OR C AXIS) The rotary axis is defined as follows Table 2.10 Rotary Axes for 5th Axis Control Rotary axis Definition A axis | Rotary axis parallel to X-axis Baxis | Rotary axis parallel to Y-axis © axis | Rotary axis parallel to Z-axis Note: In this manual, any one of the three axes, A, B and G, is referred to as beaxis. The unit of output inerement and input increment for b-axis is "deg." instead of "mm" used with linear axes. For the other respects, the treat- ments are the same as those in mm. (Metric system) Bven when inch system is selected by parameter, the values for the b-axds remains "deg." unit ‘The control does not convert b-axis coordinate commands. However, feedrate command F is converted. (Refer to 2.9.3," LINEAR INTERPO- LATION" on page 24.) 2.3.6.2 LINEAR AXIS (U, V OR W AXIS) ‘The linear axes are defined as follows. Table 2.11 Linear Axes for 5th Axis Control ‘The unit output increment and input increment for C-axis is the same as the other linear axes, X, ¥ and Z. No discrimination is necessary When inch system is selected by parameter, input values,must be in inches for G-axis. Fig. 2.2. Sth Axis in Right-hand Coordinate System 2.3.7 LEAST INPUT INCREMENT AND LEAST OUTPUT INCREMENT 2.3.7.1 LEAST INPUT INCREMENT ‘The minimum input units that can be commanded by punched tape or MDI are shown in Table 22. Table 2,12 Least Input Increment (600605 = *0.") Linear Axis | Rotary Axis? Metric input 0.001 mm 0.001 deg Inch input (0.0002 in 0.001 deg Least input increment times ten can be eet by Setting parameter #6006D5 at "1." Input Increthent (He00sDs "1," Linear axis Definition Lineal Axie | Rotary Ane? U-axis | Linear axis parallel to X-axis Metric input [0.01 thm 0.01 deg Veaxio | Linear axis parallel to Y-axis Inch input 0.001 fin. 9-01 deg ey Sig” ~—- Metric Input and Inch input can be selected by Weaxie [Linear axis parallel to Z-axis Mate tapes ord Note: In this manual, linear axes either U, V or W are indicated by c-axis. 2.3.7.1 LEAST INPUT INCREMENT (CONT'D) Notes = Selection of metric system or Inch system is made by setting (46001D0) Selection of « 1 or x 10 is made by param- eter setting (#600605) ‘Tool offset value must always be written in 0.001 im (or 0,000) inch, or 0,001 deg!.), and offset is possible in these units. Im 0,0] mm increment system, the following op: eration must be made in the unit of 0.0) mm. Write operation in MDI mode Programming for operation in MEMORY moder. Program editing operation in EDT modet. Notes: If NC programs set by 0-001 mm is fed in to or stored in an equipment set by 0.01 mm Increment, the machine will move ten times the intended dimensions. If the increment system is switched when the contents of NC tape are stored in memory, the machine will move by ten times or one tenth of the commanded dimensions When the stored program is punched out on the tapet, the stored figures are punched out "as stored” regordless of switching of the incre- ment system 2.3.7.2 LEAST OUTPUT INCREMENT Least output increment is the minimum unit of tool motion. Selection of metric or inch output is made by parameter (#6007D3) setting. Table 2.13 Least Output Increment Linear axis | Rotary axis? Metric output | 0,00 mm 0.001 deg Inch output | 0.0002 in. 0.001 deg. 2.3.8 MAXIMUM PROGRAMMABLE DIMENSIONS, Maximum programmable dimensions of move com- mand are shown below. ‘Table 2.14 Maximum Programmable Dimensions Linear axis | Rotary axis! 159999.999 mm | 199999.999 deg Metric Ace one 3937.0078 in. | 299999.999 deg Inch | Msi mput| #99999,999 mm] +99999.999 deg output a Inch input | 29999,9999 in. | 299999.999 deg, 10 In incremental programming, input values must not exceed the maximum programmable value: In absolute programming, move amount of each axis must not exceed the maximum programmable value Note: The machine may not function properly if ‘a move command over the maximum programmable value ts given. The above maximum program= mable values aiso apply to distance command ad dresses T, J, K, R, Qin addition to move com- mand addresses X,Y, Z, a. The accumulative value must not exceed the maxi- um accumulative values shown below. Table 2.15 Maximum Cumulative Values Linear axis Rotary axist Metric input | + 99999. 999 ma £ 99999..999 deg. Inch input | = 9999.99 in. + 99999. 999 deg Listed input values do not depend on metric/ inch output system. 2.4 TRAVERSE AND FEED FUNCTIONS 2.4.1 RAPID TRAVERSE RATE 2.4.1.1 RAPID TRAVERSE RATE ‘The rapid traverse motion is used for the motion for the Positioning (G00) and for the motion for the Manual Rapid Traverse (RAPID). The trav~ erse rates differ among the axes since they are dependent on the machine specification and are determined by the machine {ool builders. The rapid traverse rates determined by the machine are set by parameters in advance for individual axes, When the tool is moved in rapid traverse in two or three axial directions simultaneously , motions in these axial directions are independent of each other, and the end points are reached at Gifferent times among these motions. Therefore, motion paths are normally not straight. For override rapid traverse rates, Fo, 258, 508 and 1008 of the basic rapid traverse rates, are available. Fo ig a constant feed rate set by a parameter (#6231) 2.4.1.2 SETTING RANGE OF RAPID TRAVERSE RATE For each axis, rapid traverse rates can be set at some suitable multiple of 0.001 mm/min (or deg/ rin). The maximum programmable rapid traverse rate is 24,000 mm/min. However, respective machine tools have their own optimum rapid traverse rates. Refer to the manual provided by the machine tool builder: 2.8.2. FEEDRATE (F FUNCTION) With five digits following an address character F, tool feedrates per minute (mm/min) are program: med. The programmable range of fecdrates is as follows Table 2.16 Programmable Range of Feedrate GOS Xe Vere With this command, F = 200 = fix? + FY? Grom iin) F200 ENTER — Format | Feedrate (Feed nin) range Metric | MOB input] P40 [FL -F24000. m/min output inch input | F31 [Fo.1-F944.8 in. tmin “ inch | Mettic input] F50 | FL, -P60960. mm/min output inch input | F31 | FO.1-2400.0 in. fmin, The maximum feedrate is subject to the perform- ance of the servo system and the machine system. When the maximum feedrate set by the servo or machine system is below the maximum program able feedrate given above, the former is set by ‘a parameter (#6228), and whenever feedrates above the set maximum limit are commanded, the feedrate is clamped at the set maximum value. F commands for linear and circular interpolations involving motions in simultaneously controlled two axial directions specify feedrates in the direc~ tion tangential to the motion path. EXAMPLE. G91 (incremental) Gor x40. ¥30. With this command, F = 500 = [3002 + 4002 4. x component Y component F500 ; (m/min) Fig, 2.4 F commands for linear interpolations involving motions in simultaneously controlled three axial directions specify feedrates also in the direction tangential to the motion path. EXAMPLE, With GOL Xeee Yew Zee) FAO 5 p= 400 =f ix? + 692 + fa? (sm fin) " END POINT 2 Fig. 2.5 F commands for linear interpolations involving motions in simultaneously controlled four axial Girections specify feedrates also in the direction tangential to the motion] path. F (mm/min) = eee f22 + fad W 2.8.2 FEEDRATE (F FUNCTION) (CONT'D) NoTES + If FO is programmed, it is regarded as a data error. (alarm code "030) Donet program commands with minus numerals, otherwise correct operation is not guaranteed: EXAMPLE F250 j seeeees wrong 2.4.3 FEEDRATE 1/10 The feedrate programmed by F commands can be converted to 1/10-th value with a parameter set Ung as follows. + When parameter #6020 po or pj i eet to "L,” the feedrates range becomes as shown below: Table 2.17 Programmable Range of 1/10 Feedrate Table 2.18(a) _F Command and Setting No. Foes Betting No. for — m ¥ a [ses ¥ oo FT [Saree wees Fe ‘es68 9 569 Setung "I" = 0. m/min Table 2.18() F Command and Parameter No. a Foroat] Fete Gattnin) ange Feommnd | Ficcigit wally Trav Pe oe] FY PHOPEW.O nein = stot [Fae [90.01-F84608 I foin m or vocn_ ps neal Pa F1o-Fane0.0 wn a me sspotfronnea [2 [F0.01-F200.00 in foun 7 me When parameter #6020 DO or D) is set to "0," E ee the feedrate range returne to normal re aes 2.4.4 F 1-DIGIT PROGRAMMING? epee et gear (2) Specification of a value 1 to 9 that follows i te PF aclecia the corresponding preset fecdeste. aa ee hea (2) Set the feedrate of each of Fl to £9 to the setting number shown in Table 2.18(a) « (3) By operating the manual pulse generator when FI-DIGIT switch is on, the feedrate of F1- digit command currently specified may be in- creased or decreased. Set the increment or de- crement value per pulse (Fl-digit multiply) to the parameters listed in Table 2.18(b) AS a result of this operation, the contents of the setting number of the Fl-digit feedrate are changed. (4) Upper Limit of Feedrate Set the maximum feedrate of Fl-digit designation to the following parameter. If a value greater than the usual maximum feedrate (the contents of 46228) is set, it is governed by the contents of 46228. 12 Table 2,18(c) Parameter No. for Waximum Feedrate Parameter Nox] Meaning Ce 22? | Max speed of FS wo FA Notes 4. Wen this feature ie installed, the epecitying 1'to'9 mmimin by the uoual # fonction ie not al" lowed. "Specifying 10 mminin or more is alowed soually. 1b. IED a spectied, error "O30" will be caused. e+ When DRY RUN awiteh fs on, the rate of dry 4. For Fi-aigit specification, the feedeate over~ ide feature it Invalid e. The feedrate stored in memory is retained Siter the power is tusned off For the variable command of micro-program Fi-dight command te possible 2,8,5 AUTOMATIC ACCELERATION AND DECELERATION Acceleration and deceleration for rapid traverse and cutting feed are automatically performed. 2.4.5.1 ACCELERATION: AND DECELERATION OF RAPID TRAVERSE AND MANUAL FEED In the following operation, the pattern of auto- matic acceleration and deceleration is, linear. + Positioning (G00) Manual rapid traverse (RAPID) + Manual continuous feeding (JOG) + Manual HANDLE feeding (HANDLE) Fig. 2.6 Rapid traverse rate and acceleration/deceleration constant of rapid traverse rate can be set by parameter. (#6280 to #6302) 2.4.5.2 ACCELERATION /DECELERATION OF FEEDRATE, Automatic acceleration and deceleration of feed motion (G01 - G03) are in the exponential mode. Fig. 2.7. Exponential acceleration, deceleration Jdrate time constants and feedrate bias are set by parameters. During tapping, another time constants and bias other than for ueual feedrate can be set by parameters (#6406-#6434), ‘The automatic acceleration deceleration param ters are set to the eptimum valves for the re Spective machines. Do not change the setting Unless this is required for special purposes 2.5 SPINDLE-SPEED FUNCTION (S-FUNCTION) 2.5.1. § 2-DIGIT PROGRAMMING The spindle speed is specified by two digits fol- lowing the address (800 to $99) For each 5 code and its corresponding spindle speed(t/min), refer to the machine tool builder's manual. When a move command and an S code are issued in a block, whether the S command ia executed together with the move command or after the completion of tool move depends on the machine tool builder. Refer to the machine tool builder's manual. S codes are modal, remaining effective, when ‘once commanded, until next 5 code is commanded. Hf the spindle is stopped by MO5 (spindle stop) command, the § command in the control is kept. EXAMPLE 600 11 mo 'S conmand Spindle CW} si), Estective G00 Kee Yoo Qos MOS o> Spindle stop M03 ool 2s F sr Note:_ The two-dlg BCD ouput in sent to the machine ‘shen S and to digi command Is asc 13 2.5.2. S 5-DIGIT PROGRAMMING With five digits written after an address character S(SCICICICILD, spindie speeds in rpm are directly commanded: ‘The programmed speeds become effective upon the inputting of an S-command-completion-input- signal (SFIN) . When an S command is programmed in the same block with M03 (spindle forward run) or M04 (spindle reverse run), the execution of the next block starts only after the spindle speed reaches the level specified by the $ command, in most cases. However, for exact behavior of the ma- chine tool under consideration, refer to the ma- chine tool builder's manual. ‘The commands are modal, and when it is pro- grammed once, it remains effective until another command is programmed. Even when the spindle is stopped by MOS, the S command remains ef- fective. Therefore, when the spindle starts again with an M03 (or M04), the spindle runs at the speed specified by the 5 command, When the spindle speed is to be changed by a new S command after it is started with an M03 or MO4, attention must be paid to the selected spin dle Speed range Notes : The lower limit of programmable S commands (S0 and other $ commands near 0) is determined by the spindle motor of the machine tool. Refer to the machine tool builder's manual. De not program minus values as 5 commands, When the control is equipped with the $ 5-digit command function, spindle speed overriding Is possible. That is, override speeds between 50 and 1208 of the commanded spindle speed ean be obtained at intervals of 108 ERAMPLE S 1090 03 5 sree 1000 e/nte. SYACSRONATIN .CTUAL SPISOLE SPEED SIRERESN oF FEB Fig. 2.8 14 2.6 TOOL FUNCTION (T-FUNCTION) 2.6.1 T 2-DIGIT PROGRAMMING Two digits, following the address T, apecity the tool number. Leading zeros may be omitted. ro0 ‘Tool number The figures used for the designation of tool num- ber are determined by the machine. Refer to the machine tool builder's manual. When a move command and a T code are iesued simultaneously , the two commands are executed simultaneously. the T command is executed upon completion of the execution of the move command depending on the design of the machine. For this, refer to the machine builder's manual. T codes are modal, and therefore, once they are given, they remain effective until another T command is given T code commands are generally for making automatic tool changers (ATC) to select the tool number to be used next. Therefore, they can be given without regard to the G, Hor D codes which are for offsetting for the length for radius of the tool currently in use 2.6.2 T Y-DIGIT PROGRAMMING Four digits following the address T specifies the tool number: ToOoooo L root number Leading zeros may be omitted. This tool code is the same as the T 2-digit, codes, except for the increased number of digits. 2.7 TOOL COMPENSATION 2.7.1 OUTLINE OF TOOL COMPENSATION ‘The tool compensation function Is In the following, three modes. + Tool length compensation ‘This function is for compensating the differences im tool Tength, and is effective in the Z axis di- rection. Specified length compensation becomes effective from the block in which G43 or G44 is programmed together with an H code, It is cancelled with HO0 or G49, Tool position offset (for simple compensation for tool radius) ‘This function is for compensating for errors in machined dimensions to be introduced by the radius of tools. It is effective in the X, Y, and 2 (4th and Sth) axie directions. It is effec live only for the block in which G45 ~ G48 te programmed together. ‘Tool radius compensation C* (for compensating for tool radius effects with complicated machin= ing contours) ‘This funetion is for compensating for the tool radius effect with any given machining contours Il is effective in X-Y, ¥-Z, and 2-X planes 1t becomes effective {rom the moment Gél, or G42 ie commanded together with a D code, and is cancelled by G40. Note: For details of these compensations func tions, refer to 2.9, "PREPARATORY FUNCTION (G-FUNGTION) 2.7.2 TOOL OFFSET MEMORY For the three groups of offsets, all the necessary offset values must be stored in memory before- hand. The following number of offset values can be stored in the tool offset memory. Offset Value Storage ‘The setting range of offset values is as follows. — Linear axis | Rotary axis? Metric Input] 0 - £999. 999 mm | 0- = 999.999 deg Inch input | 0 - + 99.9999inch] 0- + 999.999 deg Listed input values do not depend on metric/ Input output system, For the procedures of storing values into mem- ory, refer to 4.3.5,"DISPLAYING AND WRITING OF TOOL OFFSET DATA” on page 137. 2.7.3. H+ AND D-FUNCTION (H, © CODES) Two or three! digits, following the address H or D, specify tool offset numbers. xOo0 er 2000 Tool offset number ‘Tho tool offset numbers 01 through 99 directly correspond to the 99 offset-value memory mum- bers. That is, when certain numbers are des ignated, the corresponding offset values stored in the offset memories will be used to offset the tools Tool offset numbers 00 (HO0 or DOO) Have differ- ent meanings! depending on the respective offset functions. For details, refer to the descriptions fon the respective G functions. H- and D-codes must be used properly according to their functions, Code Function Hcode | Tool length offset 8 299 Tool position offset, Tool radius compensation D code ‘The tool offset numbers 01 through 99 can be used freely If combination with the both H and Deodes. | 15 2.7.3 He AND D-FUNCTION (H, D CODES) (CONT'D) However, for programming ease, it is recommend= ed to divide the numbers into H code part and D code part HOI to #30 D3I to DIP H codes: D codes: Table 2.19 H or D Code and Offset Number Offeet method Geode [Hor D code Offset value memory a3 Tool length offset oat Offset value cas frome oss Tool position offset owe oa ais, Tool dia. compensa ad tion C oa 9 (Interseetion com- 3 puting system) bia 2.8 MISCELLANEOUS FUNCTIONS (M-FUNCTION) The miscellancous function is specified with the address M and maximum three digits. The function of each M cade (M00 to M89) Is determined by the machine, except for several M codes. Refer to the machine too! builder's manual for the func- tion of M codes except for the following M codes concerned with the control. 2.8.1 M CODES FOR STOP (M00, MOI, M02, M30) + M00 (Program Stop) This code, when given in automatic operation mode, stops the automatic operation after the commande in the block containing MOO have been completed and MOO R signal is fed. The program may be continued by pressing the CYCLE START button. MO1 (Optional Stop) MO1 performs the same function as program stop MOO whenever the OPTIONAL STOP switch ison. When the OPTIONAL STOP switch is off, the MOL cade is disregarded. M02 (End-of-Program) M02 is used at the end of program. When given in automatic operation mode, this code stops 16 the automatic operation after the commands in. the block containing M02 have been completed. Although the control is reset in most cases, the details are determined by the machine. Re~ fer to the machine tool builder's manual. M30 (End-of- ‘ape) M30 is given at the end of tape. When given in automatic operation mode, this code stops the automatic operation after the commands im the block containing M30 have been completed. In addition, in most cases, the control is reset and rewinds the memory. Since the details are determined by the machine, refer to the machine too! builder's manual. Notes When MOO, MG1, M02 or M30 is given, it pre vents the control from reading ahead the next block of information. ‘The single decoded signal Is fed in addition to the 2-digit BCD output for M codes Whether M00, M01, M02 or M30 executes spin- dle stop, coolant off or some other executions, refer to the machine tool builder's manual 2.8.2. M CODES FOR INTERNAL PROCESSING (0490 TO M199) M90 through M199 are used only for internal pro- cessing, Even when they are programmed, no external output signal (BIN and decoded output) is sent Mo0t: Program interrupt off Mol: Program interrupt on MO2t: Multi-active register off M93t: Multiactive register on M94: Mirror image off M95: Mirror image on M96t: ‘Tool radius compensation C: circular path mode M9TI: Tool radius compensation intersection computing mode M98: Subroutine program call M99: Subroutine program end M100 to 199: Used for enhansed codes 2.8.3 PROGRAM INTERRUPTION ON/OFF (si, mg0)* ‘The following M codes are used for the program interruption function 2.8.8 MULTI-ACTIVE REGISTERS ON/OFF (0493, 92) W code Meaning — Oe M92 Multi-active register OFF Mo Multi-active register ON Note: When power is applied or the control i¢ reset, the control is in the state of M code marked with. + M93 During the time from this command to M92, the Contrel assumes the 4 blocks-advance-reading, trode. Namely, up to 4 blocks of data are read in advance for the following operation. Inter-block stoppage can be eliminated when the program is so made that the operation time of advance reading of 4 blocks is longer than processing time of advance reading of next 4 Blocks of data = M92 ‘This command cancels § blocks-advance-reading, mode. Note: In tool radius compensation G mode, the blocks without move command can be contained(up to two blocks). Under this condition, 6 blocks, in- cluding the two blocks, may be read in advance. 2.8.5 MIRROR IMAGE-ON/OFF (95, M34) M code Meaning : Cerca 690) Program interrupt function OFF eee iieiny ML Program interrupt function ON uaa Mirror image OFF Note: When power is applied or the control is 195 Mirror image OF reset, the control is in the state of M cove barked with Note: When power is applied or the contral is SMO Pec During the time from this command to an M90 command, whenever a program interruption signal is received, the program under execu tion is interrupted (if the machine is in motion, itis stopped after deceleration), and the a jump is made to the program the number of which is written after the P + M905 With this command, the program interrupt func tion is cancelled Note: Program interrupt function during DNC operation is ineffective, reset, the control marked with in the atate of M code With these cdiee, mirror image operation can be started anid stopped at any desired point in the program These commands must always be made on a single block. M94 and M95 are modal. When the power supply ie turned on/ M94 (OFF) is in effect. + The axis on Which mirror image is to be effect= ed is specified by setting #6000p9 t0 py (or mirror image !anis designation switch.) For this procedure, refer to 5.1.25," MIRROR IMAGE AXIS SELECTOR SWITCH “on page 157. 17 2.8.5 MIRROR IMAGE-ON/OFF (M95, M34) (cont'p) + When M96 is given, the subsequent blocks will control the machine in mirror-image fashion that is, movements in the specified coordinate direction will be reversed. X AXIS MIRROR IMAGE 08 Fig. 2.9 With both the absolute and increment move commands, the same mirror image effect will be obtained. The block including M95 command, constitutes the mirror point. When M94 is given, mirror image effect will be cancelled on the subsequent blocks. Mirror image operation must be started and cancelled at the same position, 18 Notes + When G28 or G29 is used to change tools or for ending machining processes, make sure to can- cel the mirror image effect by means of M94. If mirror image effect is not cancelled when G28 or G29 is given, an error "058" is shown The mirror image effect is not effective on the offset movement resulting from the tool length offeet function Do not switch the designation of mirror image axis during operations under M95 (ON) mode. Displayed current position by POS key in mir- ror image fashion indicates the actual motion of tool. Displayed data by COM key show program- med commands Program must be made 0 that mirror image operation starts and stops at the same position If the start position and the stop position are not the same, movements of the machine after cancelling mirror image will be shifted by the difference between both positions. When the operation is reset, it will be in M94 mode. EXAMPLE + 100 X AXIS MIRROR TMAGE ON PROGRAIONED commasiD PATH BY ‘CORRECT PATH ERRONEOUS CANCELLING NOI G92 x0 yO ; oz N03 Noa N05 Nos No7 Nos nog N10 wn M95 seer Mirror image on G9 Gol x4 Y40. F300 5 x12. Yio. ; x40, If "M94 ;" is programmed here,

) How to use the funetion (3) Upon power ON or upon reset #6005, D2 0: M94 mode (mirror image off) 1: M95 mode (mirror image on) (i) Upon power ON, when it is M95 mode (#6005, D2 is "1.") #6005, D1 0: Commands mirror image at the G28 intermediate point 1: Does not command mirror image at the G26 intermediate point NOTE: The specifications are the same as the conventional specifications, when #6005, D2 is "0.' Therefore, turn off mirror image by M34, when commanding G28, or G29 under this mode. Error "058" occurs if not turned off, (©) Program example + Example of commanding mirror image on the G28 intermediate point Program exemple (mirror image of X-axis only is on) y REFERENCE POINT XCAKIS MIRROR IMAGE ON -0 9 of 01 Note: When commanding axis designation under the mirror image mode (M95) by M code, stop the look-ahead by parameter (#6116) of the set/reset M codes. 20 RADIUS COMPENSATION C (M97, M96)" M code Meaning, M96“ Tool radius compensation circular i Jipathioned He asia ‘Tool radius compensation circular a7 | path OFF. (Execution of intersection point) Note: When power is applied or the control is reset, the control is in the state of M code marked with + In the G4l or G42 cutter radius compensation mode, when M% is given, the tool moves along a circular path around 2 corner with an angle ‘of 180° or larger. In the M97 made, the tool does not move along a circular path at the corner, but moves along two intersecting straight lines intersecting at a calculated in- tersecting point shifted from the programmed contour by the tool radius. M96 MODE GERgULAR, el M97 MoDE INTERSECTION —~ PROGRAMMED couroun Fig. 2.11 M96 and M97 are modal. When the power is turned on, M96 takes effect M9 and M97 are effective on the following move command blocks. GOL Xe Yee Bffective from the corner of (GOL) X-1 ¥e++M96 5; J these 2 blocks oan Effective from M96 (or M97); the corner of Reon these 2 blocks 2.8.7 SUBROUTINE PROGRAM (M98, M99) With this function, call of subroutine programs which have been numbered and stored in advance Is made and executed as many times as desiced, ‘The following M codes are used for this function. M code Meaning M98 | Call of subroutine program M99 | Subroutine program end Format of subroutine program (M99) Subroutine programs are written in the fotlow- ing format, and are stored in the part program memory in ‘advance. Os | Program No. Subroutine M99 program end. * Call of cubroutine program (M98) M9B Pee Lee With this command, call of the subroutine pro- gram with the number specified after P ismade and is executed number of times specified after L. When no L code is programmed, the sub- routine is executed once Subroutine programs can be nested up to 4 EXAMPLE Call of subyoutine program and execution of it are made in the sequence shown below. Main program wo01 G00 Noo2 M98 P200 L3 ; 003 : — Noo4 M98 P20; —+ one time | Automatic return command from subroutine pro: gram M99 At the end of subroutine programs, M99 is written in a block of its own. When M99 is commanded in the subroutine program which has been called by M98, the execution of the main program is automatically restarted at the block immediately following the M98 block. Subroutine program Three times! 21 2.8.7 SUBROUTINE PROGRAM (M98, M99) (CONT'D) + Special use of M99 M99 P. With this command, the main program does not return to the block following the M98 block after executing the subroutine program, but returns to the block with a sequence No. specified by the P code Notes If the program number specified by the P code is not found, this is regarded as an error "041." While a subroutine program is repeated L times, the number of remaining repetitions may be displayed. For details, refer to 4.3 DISPLAY AND WRITING OPERATION + This function is usable when subroutine pro- grams are stored in the part program memory. The main program can either be commanded from NC tape or the part program memory. When the nesting of subroutine programs ie attempted more than 4 times, an error state is, caused: + Commanding M99; in main program will return the execution of the program to the head of the main program and control endless operation. 2.8.8 OTHER M CODES For using M codes, other than those mentioned above, refer to the machine tool builder's man= ual. Table 2.20 Typical Examples of M Codes for Machine Meode| Meanings Remarks way | Spindle forwara running | Moa | Spindle reverse] yo3 and M04 are running not switchable M05 (stop) must mos | Spindle stop | be intermediated Mos | Coolant on M09 | Coolant off When these M codes are given in a block together with move command, whether the M commands are executed simultaneously or after completion of move command, are determined by the type of machine. Refer to the machine tool builder's manual 22 2.8.9 2ND MISCELLANEOUS FUNCTION (8-FuNCTION) * B-function and T 4-digitt commands cannot be used simultaneously Three digits following the address B give index table positions. ‘The actual index positions corresponding to the respective B cades depend on the machine tool builder. For this, refer to the specifications of the machine tool builder. When a B-function is given together with a move command in one block the B command is executed simultaneously with the move command, or 5B command is executed after the execution of the move command, depending on the design of the machine tecl, For this refer to the specifications of the ma~ chine tool builder: B codes are modal. When one B code is given, it remains effective until another B-command is given. Notes B function standard interface ig in 3-digit BCD, output With MDI operation on NC panel, "8" is used to specify address for B codes. Therefore, when the control has B-function, the 4th and 5th axis control cannot be added. 2.9 PREPARATORY FUNCTION (G-FUNCTION) 2.9.1 LIST OF G CODES AND GROUPS An address character G and up to 3 digits follow- ing it specify the operation of the block, Ordinary G codes are either non-modal G codes marked with * or modal G codes belonging to groups 01 through 15. Those G codes belonging, to the division B are included in the basic spe~ cifications The G codes belonging to groups 01 through 15 are modal, remaining effective when once commanded until other © codes in the same group will be commanded. The G codes in the * group are non-modal, and are effective only for the block in which they are commanded The G codes belonging to groups 01 through 15 may be programmed twice or more in the same block. However, when different G codes in the same group are programmed, the Iast appear ing Gcode is effective. + When a G code belonging to the 01 group is com- manded during a canned cycle (G73, G74, G76, G77 and G8) through G89), the canned cycle is, A canceled and these codes in the group 09 be~ comes G80. + When the RESET key is depressed during the execution of a tool compensation C (G41, or G42) for a canned cycle, they become respectively G40 or G80 which cancels the programmed com- mands. G43, G44, G49 and C45 through G48 belonging to the * group can be programmed together with the following G codes in the 0) group in the same block. «If * group other than those G codes and G codes of 08 group con be programmed in the same block as G code of 08 group alarm will be performed — Combination G code G43, G44, c49]G00, Gor, Goo G45 - Gas [co0, Gor. Goz, Gos, Gov The transition state of the following G codes can be changed by setting of parameters. « The G codes belonging to the following groups can be specified as to the state immediately after the application of supply power. (#00500 -"D4) Group | _ Initial state Parameter a3 | Gwor at #600500 ot G00 oF GOL #600506 ~ 08 | Gas, cas or cay | no008D3, Da | G codes in the 01 group may selectively be changed to G00 or kept unchanged after re~ setting. (#6005D6) » During the execution of G92, Display may selectively be made. (#6005D5) ‘pon reset | Somsately toe | on ‘pon eeset | Ina bale tt 23 2.5.1. LIST OF 6 CODES AND GROUPS (CONT'D) Table 2.21 List of G codes z i= = = a= etn he Sal Fectn se coo) | Fesitning Bees [or [Unairctonal sppreach 3 cat} [ear ier Betty [arse . irs naan SR cee [Eset wep made tat || Salen tare PO [6s | 7 PRoncedat cll of ser macro o cos |_| gainer 80 “ett fay [toa el of weer mnie 8 et} Git [daa owner mace anal} 8 Fortioning im error detest G68 yg | Coordinate rotation ON 2 duel off mode as9 Coordinate rotation OFF ° ae], [ie nop Be] — [ha i ale 8 Teal get Gi mg so en] « [ive 6 ovo] | eagle, Ta . 2 oe $ Giz Circle cutting CW o mL eee ace e G13 Circle cutting CCW oO — peer ei G18 | 02 [2x plane designation 2 Gr] |, | Gennes crete 13 ° ay Y2 place designation B 080 | | Sanne’ ercie cancel a 20) og [neh input designation © car | | Garmed evcie 2 Output © car] isi ap ign 3 te eae 3 Giz | Slred are nt OW 3 Gevel aide? 3 | ° [Sra sake hn OFF 3 cent est ¢ Serr erecta a Canned eycle 5 o Gar} —[Roteenc pont cia o =) ast 8 coo] | oat ear ovear|” [eared eye? 8 G25| + [Return tom reference point o oie ‘Canned cycle # 7 Reto Indy Bry Wh le =: OP) | point a (690) gy | Absolute command designation ® i] | Sap mater O— “Ght]” | nernentalcrmand desigsion |B Eg GAT] 07 [Fool radius compensation, left o Lae cae Tool radius compensation, right o pee eee ee or is] oi “Tool Tength compensation, plus = id tap mode 0} deat ce] [Reef aT a Gis] 98 | Fool length compensation. winus |g to Leanned cyclen Gi} _| Tol eat coepnanion, cnet | 8 sic S| Pe eat prea ene | 3 “cin 7 [art ear ore 3 ca “Fool position offset, retraction 5 G12 yy | Took register tert [a 2 Gar | * | Feo! position offset, double 7 ss Tool register end_} control 2 a eo oo 3 baneneeonl G19] + | Form offset mode OFF a Ga), [Seating OFF 3 ast Sealing ON o becuase Se ee eae cari ie The cee in the * pou ape tonnes and = s as 2 are effective only for the block in which they os + |aime'symen NEO hora, LS as Shift to work coordinate system 1 oO Is esas eet ie een ee ae rr oss, Shife to work coordinate system 2| Se ce eee one len eter pee eee eer eee ere 7 The code marked —] fe automatically selected G51] " [Stet vor cordate epren «0 pe poner a cst] [Suet wrk cordinne syiew 5] 0 255] [lei work cordinne pren ¢[ 0 24 2.9.2 POSITIONING (600, G06) GOO Xe Yen Zee (ate A (whore a and B= A, 8,6, U,V of W) With this command, the tool is sent to the spect fied position in rapid traverse motions along the Baxes (5 axes") simultaneously. If any of the coordinate positions is not specified, the machine does not move alony that coordinate axis ‘The rapid traverse rate for the respective axes are inherent to the machine tool. Refer to the machine tool builder's manual. Motions in the respective axis directions are In= dependent each other, and therefore, the result ant tool path is not necessarily straight. When programming tool positioning commands, take care to avoid the possibility of tool and workpiece interference. EXAMPLE Gor x40, ¥40, 240. 40, Rapid traverse rate X axis: 8 m/min Y axis: @ m/min Zaxist & m/min Fig. 2.12 G00 is a modal G code belonging to the 01 group. Error detect OFF positioning (G06) COG Xe Vere Bees Cate Berd With this command, the same positioning motions are initiated ae with a G00 command, with the following exceptions. After the completion of the positioning mation, with G06 block, the program advances to the next block in the ERROR DETECT OFF mode (Note). Therefore, the tool path at the corner is rounded G06 is a non modal G code belonging to the * group, and therefore, it is effective only in Which it is programmed, Notes 600 commands position the tool in the ERROR DETECT ON mode, which means that the pro= pram advances to the next block only after the servo lag pulses are decreased below the per- miscible level, and this is detected by the con- trol. With this éommand, therefore the corner of the workpiece is machined sharp. With the ERROR DETECT OFF mode commanded by G06, the program advances to the next block immediately after the completion of pulse distri~ bution’ 2.9.3 LINEAR INTERPOLATION (G01) GOL Xe Yee Bee (abe Bee) Fee where a and 8A, B,C, U,V, orW With this command, the tool is moved simultane= ously im the three (five*) axial directions result~ ing in a linear motion. When a certain axis is missing in the command, the tool does not move in the axial direction of that axis. Feedrate is specified by an F code the feedrate Jn the component axial directions are so control- led that the resultant feedrate becomes the spec~ ified feedrate. FE Fxe (where Fx, Fy. directions.) Fy2 + Fe? + Falls Fp2 are feedrate in the X, ¥ ‘The end point can be programmed either in ab= golute coordinates or in incremental values with G90 or G91 respectively. (Refer to 2.9.31. “Absolute/Incremental Programming (G90, GUI") If no F code Is given in the block containing the G01 or in preceding blocks, the block constitutes an error "030." EXAMPLE | Gor x40, 40. z40- F100 y a 100 an/ate RESULTANT FEEDRATE. (CZANGENTIAL, FEEDEATE) © x a. 40. z 1 I Fig. 2.13 Where the optional 4th or 5th axis is a rotary axis (A,B or C), for the same F code, the feedrates in. the basic three axis directions (X, Yand 2), and the rotary axis [eedrate are as indicated. 25 2.9.3 LINEAR INTERPOLATION (G01) (CONT'D) Table 2.22 Minimum F Command Unit In minimum F command unit, F function Feedrate of basic | puedrate of rotary axes Metric | Metric input | F40 1 mm/min 1 deg iain output] inch input | F31 | Out in. /min 2.54 degimin inch [Metric input | P50 [1 mm/min 9.3957 degimin output Tach input | Fal 0.1 im. ein 1 deg/min Noter Feedrate of Inear Wh asic ao the same as that of basle three axes. 2.8.4 CIRCULAR INTERPOLATION (G02, 603) With the following commands, the tool is control- ZX, or YZ plane, at a tangential speed epecified Jed along the specified circular pathes on the XY, by the F cede xy plane ott {982} aces yen fB ax pane ow {82} 2 x {By de va pane a19 {30} ven ae {Br gb ‘The moving direction of the tool along the circle is as follows. G02: Clockwise G03: Counter-clockwise 2 2. XY plane 2X plane Yr plane (ain (G18) (G19 Fig. 2.14 26 When circular interpolation (G02, G03) is to be programmed, usually, the plane of interpolation should be specified in advance with G17, G18 or as. G17: XY plane or X4 planet G18: ZX plane or 24 planet G19: YZ plane or ¥4 planet In addition to the plane of circular interpolation , these G codes specify planes for tool radius com= EXAMPLE G17 690 G03 X15. ¥40, 1-30. I-10. F150 (a) Absolute command with (G90) END Pom. 03 lewrge =| fn 30, o: START 404 POINT 20. 35. Fig. 2. Instead of the coordinates 1, J, and K of the center of the circle, the radius can be directly specified with an R command. This is called circular interpolation with radius R designation mode G17 G02 Xe. Ye. Ree ‘START POINT pensation (G41, G42). If no selection is made to the contrary, XY plane (G17) is selected auto- matically immediately after the switching of the power supply ‘The end point of the circular arc may be specified by G90 or G91 respectively in absolute or incre~ mental values. However, the center of the circle is always programmed in incremental values from the start point, irrespective of G90 or G91. G17 G91 G03 X-40. ¥20. 1-30, 3-10. F150; (b) Incremental command 20. -10. 15 In this case, when R > 0, a circular are with the center an- gle less than 180°, and when X <0, a circular are with the center an- gle larger than 180° are specified 4 Fig. 2.16 27 2.9.8 CIRCULAR INTERPOLATION (G02, G03) (cont'o) G17 G02(G03) Tee Tee Fee Ln With this command, complete circular interpolations are repeated n times. Without an L designation, the interpolation is executed only once. aapne cis {9%} 2... vaptane 19 {99 Pye. Note vat co x {Ry Fee Where address characters for the 4th axis ie missing as in the above command, the XY plane is automatically selected. Circular interpolation cannot be performed on the axes including rotary 4th axis. Circular pathes covering two or more quadrants can be programmed in a single block. A com= plete closed circle can also be programmed. EXAMPLE Goo x0 vo Go2 x0 YO 110,30 F100 complete circle y Fig. 2.17 When the coordinate values of the end point of a cireular path is not exactly on the correct circular path due to calculation errors, etc., correction is made as shown below. Points 0 are commanded as end point. figure below.) (See the 28 When a linear 4th axis option is used, circular interpolation is possible in the Xa, Za, and Ya planes in addition to the X¥, ¥X, and ZY planes (where a= U. V. or W) F F F x i \ The end point is represented by "*." (CENTER N Up Fig. 2.18 When the end point is programmed in the hatch- ed areas shown above, no alarm state is creat ed, but the tool will keep on rotating, Especially when tool compensation is applied, coordinate values of the point and the center must be programmed accurately. When radius 4 specified as O(1, =0 on G17 plane) in specifying circular arc, alarm 102 (CAL ERROR=DIVISION) is triggered. 2.9.5 HELICAL INTERPOLATION (G02, G03) * A circular interpolation on a certain plane, and a linear interpolation along an axis not included in that plane can be executed in synchroniza~ tion, and thie combined interpolation is called helical interpolation. ‘Command format (a) or xy plane ct? {32} x... ¥.- Cb) or 2x plane cre [982} 2... x (Por va pian aia (S82} vine 2. (@ For xaptne ort {87} x... ae Ce) torzaptane ans {82} 2.0 (© for vaplne ery {SB} x @ Where u is one of the linear 4th axes U,V, or W. Ifno 4th axis is programmed in (a), (e), and (f), they are regarded as equal to (a), (b) and (e). EXAMPLE, END POINT 2.9.6 DOWELL (604) Gos p. This command interrupts feed for the length of time designated by the address P Dwell is programmed as an independent block. The maximum length of time which ean be desig~ nated with address P is as follows. Format | Dwell time (P programmable range) 109. TART POINT, x G17 GOs XO ¥100. R100. Z90. Fi0. ; Fig. 2.19 Notes + The circular are should be within 360°, + As long as above note (a) ie satisfied, the start and end points can be taken at any time, + The feedrate F means the tangential speed on the plane of circular interpolation. There- fore, the speed (F") in the direction of linear interpolation is as follows (Length covered by linear interpolation) te (Length of circular path) Fx + Tool radius compensation Ct can be applied only to the circular path on the plane of cir cular interpolation. p53. [0 - 999,999 ace The value does not depend on metric/inch input or metrie/inch output, EXAMPLE G04 P2500 ; Dwell time: 2.5 sec. ‘Two types of dwell can be selected by parameter Dwell when the specified value in the command block before the d¥ell block is identified by lag pulses of servo, or dwell on completion of pulse distribution. 259.7 EXACT STOP (G08, G61, G64) Exact stop (G09) ning G9 ie executed, the program advances to the next block after com Dieting block it the Error Detect On mode (Note a). This function is used when sharp corners are desifed. G09 in non-modaly and is effective onty in|the block im which #8 #5 con tained. 29 2.9.7 EXACT STOP (G09, G61, G64) (CONT'D) Exact stop mode (G61) When once G61 is commanded, all the following blocks will be completed in the Error Detect On mode before proceeding to the next block + Exact stop mode cancel (G64) ‘This G command is for cancelling the effect of Gel. Notes In the Error Detect On mode, the program pro~ ceeds to thenext block only after the number of servo delay pulses is found to have decreas~ ed below a permissible limit following the com plete distribution of circular interpolation command pulses. In the G09 and G61. off modes, the program pro- ceeds to the next block immediately after the complete distribution of the pulses of ordinary linear and circular interpolations, and there- fore, because of the servo delay. tool pathes are rounded at the corner. This mode is called "Error Detect Off" mode. + For rapid traverse, the Error Detect On and Off modes are controlled only by GOD and G06, and not by the above G codes. 2.9.8 TOOL OFFSET VALUE DESIGNATION (G10) With 2 G10 command, correction of tool offset values and work coordinate system can be made as follows, (A) Designation of tool offset value (G10) Normally, tool offset values are written in by MDI. On the other hand. with a program GJ0 Pree Rese 5, (where P = tool offset number and R = tool offset value), any programmed offset values can be replaced by a designated value. When G10 is commanded in the G90 mode, R is stored a9 is. When G10 is commanded in the G91 mode, R is added in the previous tool offset value. (2) Changing work coordinate system? (a) Corresponding to G54 through G59, separate work coordinate systems are cet up as setting data in advance GIO QZ Pa Kee. Vers Bev (Oe Berye (where Q2 is used to discriminate from tool offset value designation and a means to set up fa work coordinate system. Pm (m= 1 to 6) corresponds to the work coordinate system m to be set up.) For Plies G54 For P2-. G55 For P6: G59. corresponds With the above command, data of any desired work coordinate system can be changed. (b) For the work coordinate system setting B specification, change the setting of the work cooordidnate system by specifying G10 Q2 Pm In Xpe6¥ereZee(@eesBeeu)z» In specifies J1 to 36. The meaning of Q2 and Pm is the same as ‘mentioned in (a).) 2.9.9 CIRCLE CUTTING (G12, G13) ‘This is a canned cycle which includes a complete series of movements for machining a circle in a single block. It includes the following functions. + Format G1aG13) Te. D YARIS Too. X-axIs Fig. 2.20 Designation of rapid traverse section R 12 (G13) Pee Ree Dee Pee With this command, a circular bore is machined as shown below. Numerale following an address character R specifies rapid traverse sections Tool path az O—-O—O--O—-O--O ax ©-O—-O—O—O—O (D) represents a set value of tool radius compensation. Gz: Clockwise (cw) G13: Counterclockwise (CCW) I: Radius of finished circle Gneremental value with sign) R: Rapid traverse section Gneremental value with sign) D: Tool radius compensation No. F: Cutting feed rate Fig. 2.21 + Commanding repeated circle designation G1QG13) Pee Devs Love Fe With this command, the cireular bore surface can be executed L times, Commanding spiral circle Q, K GIAGII) Tee, Deve Kee Qeee Pee With this command, the tool is moved along a spiral before finally finishing a circular hole, as shown below. For the sake of simplification, the diagram shows the tool path with a zero radius (D = 0). Q (radius increment) must be programmed without sign. 1 6 ODDOOO Raprus INCREMENT K = RADIUS oF FINISHED CIRCLE a 2.9.9 CIRCLE CUTTING (G12, 613)+ (CONT'D) Too! path cw: @ o—¢ a: ©-O—-O—-O—-O—D (D) represents a set value of tool radius compensation. G12: Clockwise(cw) G13: Counterclockwise (COW) I: Radius of finished circle Gncremental value with sign) R: Rapid traverse section Gineremental value with sign) D: Tool radius compensation value Fig. 2.23 Combined designation of rapid traverse sec~ If R-d and I-d have different signs, this is tion, repeated circle and spiral circle. also regarded as an error. Rapid traverse section, repeated circle desig- When programming G12(G13), always specify a nation and spiral circle can be commanded in tool radius compensation number D. If this is combination as shown below. not specified, the too] moves without radius G12(G13) 1... Dee Rees (or Sees) Kee ‘compensation oo. Foo EXAMPLE, ee G00 2-40, ; Circle cutting is possible only on the XY plane. vee comme ee eee eee G12 150. R40, DIO F300 ; DIO = 10.0mm ‘The tool speed in the rapid traverse section is set by parameter #6225. ate Feedrate override cannot be applied to rapid traverse rate. While dry run witch is ON, the tool speed conforms to dry run speed, + With a circle cutting command (G12, G13), the tool Is offset for its radius compensation with= out the use of Gl or G42 (tool radius compen- sation). When using G12 or G13, cancel tool radius compensation with G40. + In the explanation above, only motions in the + direction of X-axis is considered. With proper use of signs for I, J, K and D codes, motions in the ~ direction of X-axis (symmetrical with respect to Y-axis) can be commanded. In Fig. 2.24, signs of 1, R and (D) are minus. How~ ever, cutting in’ the Y-axis direction is impos~ sible. I, 3, K, R, Q and L codes in circle cutting com- “x mand are effective only in the block containing them. ‘The radius I of finished circle and the rapid traverse section R are subject to the following, restriction. When values not in conformity with the restriction are programmed, this i= regarded as an error. IR-afe|r-al Fig. 2,24 32 + G00 Z- 40, G13 1-50.37, DIS F300; DIS = G00 240.5 8.0 mn 8.0 TOOL RADIUS 7.0 DEPTH OF CUT AUTOMATICALLY COMPUTED RAPID TRAVERSE SECTION Fig. 2.25 2.9.10 PLANE DESIGNATION (C17, G18, 619) ‘The plane for making circular interpolation and tool radius compensation is designated by G codes i7/G18/619. G17: XY plane G18: 2X plane G19: YZ plane When the 4th axist of linear axis is selected, the following planes are newly added. G17: XY plane or Xo plane 2X plane or Za plane YZ plane or Yo plane means U, V or W axis. The move command in each axis can be program~ med regardless of the plane designation by C1?/ c1g/c19. For example, if GIT Bees is designated, motion is on Z axis. ‘The plane for making tool radius compensation by command G41 or G42 is univecally determined by G17, G18 or G19. Tt is not possible to designate compensation plane including the fourth axis of rotary axis. ‘The X¥ plane (G17) is selected when the power js turned on. 2.9.11 INCH/METRIC DESIGNATION BY G CODE (G20, e21)t Unit of input data are selectively specified by the following G codes between metric and inch. G code Input unit G20 Inch Gai Metric ‘These G codes are programmed at the leading end of a block of its own. If one of these G codes are commanded, the units of al} the following motions are changed afterwards. subsequent programs tool offset values part of setting parameters part of manual movements displays Notes When G20 or G21 is commanded, the setting of inch/metric selection is changed. Therefore, the state of C20/G21 at the time of power ap~ plication depends on the setting by parameter ‘6001 DO. EXAMPLE. Inch input designation When 020/621 setbetion is commanded in the program. take the following procedure before- Rane : 1A. Whon work coordinate system (G54 to 59) qeraed, returs i to bave coordinate sye" te 1. Caneel all toot compensation command, (eat to G4) 2.9.11 INCH/METRIC DESIGNATION BY G CODE —_~ 2nd prohibited area (Stored stroke limit 2) (G20, 62117 (conT'D) The boundary of the 2nd prohibited area is specified by a parameter setting or by G22. + Take the following procedure after the command The inside or the outside of the boundary can of 620/21 selection. selectively be made a prohibited area by means A. Program absolute zero point for all axes of parameter setting. before move command. eee eee eee eee B. In principle, make the display reset opera- Se eee tion when current position display (exter © point D point nal) is used. _ P Upper limit Lower limit + The tool offset values are processed different- ly in the G20 mode and the G21 mode With this command, the checking of the 2nd G20/G2) must be commanded after modifying prohibited area is started, and with 023 3, the tool offset values. the check function is cleared, Stored off- | Processing in | Processing in 2ND PRONTBITED AREA set values | G20 (Inch) Gai (Metric) SLL LAE oe 15000 —}-= 1.5000 15,000 mam 2.9.12 STORED STROKE LIMIT (622, G23)* This function is for checking the current tool position during manual or automatic operation for entry into the prohibited area specified by parameters or by G22. If the tool enters a pro~ hibited area, machine operation is stopped and an error sign is displayed Where 2nd prohibited area is outside + Ist prohibited area (stored stroke limit 1) The area outside the area specified by a param- eter is a prohibited area. Generally, this can be used as a substitute of overtravel checking function. Upper limit point Ay and lower limit point Br are specified by parameters. 2 AREA, Ln BULK) Where 2nd prohibited area is inside. 183, PROHIBITED igs 2.27 EE PED EEA as (a, Ya, 20) Fie: Fig. 2.26 34 Table 2.23 Setting of Stored Strocke Limit for Each Axis Ae x y 2 Division 1st probib- [Point At W601 6602 tea area —--| Parameter < Point Bi #6607 #6608 ana prohib- [Point Az wn wre ied brea —}—--———} Setting Point B2| 6513 | wosi4 ws15 Note: Point A sets plus value of boundary line on the machine coordinate system and point B sets minus value, + The parameters for specifying the inside and the outside of the 2nd prohibited area are as follows 3600700 Meaning "a Inside prohibition, " Outside prohibition + The 2nd prohibited area checking function can also be turned on and off with the following, setting number #6001p1 Meaning tom 2nd prohibited area cheek: off 7 2nd prohibited area cheeks on Note: + The let and the 2nd prohibited area can be specified overlapping each other. + Boundary lines on the minus side are included in the prohibited areas. Boundary lines on the plus side are not included in the prohi- bited areas. + All the prohibited areas become effective after a manual return to reference point or a return to reference point by G28 after turning on the power supply. + If the tool is in the prohibited area at the time when the prohibited area becomes effective, this is immediately regarded as an error. In this case, turn off the 2nd prohibited area by the setting of the setting number, and either rewrite the data or move the tool out of the prohibited area manually If an alarm state is created by the entry of the tool into the prohibited area, the tool can move only in the returning direction. + The stored stroke limit cannot be checked dur~ ing a machine lock operation. 2.9.128 PROGRAM COPYT (G25) 2) The command G25P +sy age Q i L +s, executes L times any program" from Sequence pz of program pl to sequence q2 of program ql. G25: Program copy G code P: pli First 0 number p2i First sequence number (N) i: Last 0 (pi=al) a2 Last sequence Each will be commanded with four digits. The leading zeroes of p2 and q2 cannot be omitted. L: Number of repetitions (One time if omitted) (2) Although the G25 command can be given by tape, MDI or memory operation, it will be ne~ cessary to store the program to be copied in the memory. When sequence numbers are overlapped, the first sequence, number will become effective. (2) The G25 comand may also be used again In the program elng copied.” This te- called multiple’ progran [eopying’ and is possible. up tora maximum of| four levela., However, error “Gabw"wil'occur if four levals are exceeded, 35

You might also like