You are on page 1of 204
CNC SYSTEM OSP5020M _ AUTOMATION FUNCTION MANUAL (Ist Edition) ME51-020-R1 9286-& P-(i) TABLE OF CONTENTS TABLE OF CONTENTS PAGE PARTI ‘TOOL MANAGEMENT FUNCTION 1 SECTION 1 ‘| oe eee eo ee 1 SECTION 2 DESCRIPTION OF MANAGEMENT FOR EACH TOOL NUMBER, 2 1. Tool Offset Number : 2, Group Number (optional) 4 3. Tool Management Mode (optional) 4 4. OKING Evaluation (optional) 2.0.62. pores 5 5, Tool Life Management Data optional)... . 6s es eee ee 6 6. Distinction betwoon Commandod Tool and Spare Too! (optional)... 6 SECTION 3 CHANGEOVER OF SPARE TOOL (optional)... . cece ee 4. Selection of Spare Tool .. 6. 6s 0s cece ee eeeereeee eens eee rea 2. Changeover of Tool Offset Number 2.2... sees eee eee ne eee es 7 SECTION 4 ENTRY AND DISPLAY OF TOOL MANAGEMENT DATA 8 1. Tool Length Offset and Cutter Radius Compensation 8 2. ATC Pat No/Tool No. Table... 10 3. Tool No/ATC Pot No. Table 7 ee " 4, Tool Management Function eee 2 12 5. Tool Group ... ae 7 18 SECTION 5 RESETTING DEFECTIVE TOOL DATA eed SECTION 6 MANAGEMENT OF TOOLS FOR WHICH ATC IS NOT USED ...-...002.005 16 1. Command Format... +++ aise see tees + 16 2. Tool Data Setting . rretiaity 16 3. Cautions 16 SECTION 7 ALARM LIST : gee ee eer eee eee tee OKUMA MACHINERY WORKS LTD. 3286-E P-(i) TABLE OF CONTENTS: PART IT TOOL LIFE MANAGEMENT FUNCTION SECTION1 OVERVIEW SECTION 2 ENTRY OF TOOL LIFE MANAGEMENT DATA 1, Setting Teo! No. for Pot No. 4-4. Setting Too! No. for Pot No. 2. Setting Too! Life Management Data 24. Setting Too! Group. 2-2. Setting Management Mode i 2-3. Setting SET TIME and LEFT TIME Data SECTION 3 COMMAND FOR ACTIVATING TOOL LIFE MANAGEMENT SECTION 4 RESETTING TOOL LIFE DATA 1. For Usable Tools 2. Changing a Life-expired Tool With New One 3. Setting LEFT TIME Data to the Same Value as SET TIME Data for All Tools SECTION 5 PROGRAM EXAMPLES 1, Tool Life Managomont by Tool Used Time Data 2. Tool Lite Management by Count Data of Machining Cyclos SECTION 6 ALARM LIST PAGE 18 18 19 20 20 23. 23. 25, 26 29 a1 at 32. 32 33, 34 34 OKUMA MACHINERY WORKS LTD. 9286-E P-(i) TABLE OF CONTENTS PAGE PART IIL AUTOMATIC TOOL LENGTH OFFSET/ AUTOMATIC TOOL BREAKAGE DETECTION FUNCTION Pe teresa SECTION 1 OVERVIEW 36 1. Automatic Too! Length Oitset - See te 2. Automatic Tool Breakage Detection .....-. 2. ae 36 SECTION2 OPERATIONS ....... ease rare anes esrene rena 7 1. Setting of Toolpot Number/Tool Number Correspondence Table ..... 38 2. Operation Mode Designation... pee : 39 8. Selling of Z-axis Touch Sensor Zero Point... cee . 40 4, Seiting of Y-axis Touch Sensor Zero Point eee ieee teeta aaa 5. Z-axis Automatic Tool Length Offset... 6... see cece eee eee ae 45 6. Y-axis Automatie Tool Length Offset pou : ar 7, Zaxis, ¥-axis Continuous Automatic Tool Length Offset - See eae tae. 8. Seiting of Too! Change Position. 4 ee aa: 9. Zeaxis Automatic Tool Breakage Detection... .-ss.svecesceeseveseecens 8 10. Y-axis Automatic Tool Breakage Detection sees 60 11, Zaxis, Y-axis Continuous Automatic Tool Breakage Detection Pr eaer eB 12, Judgement of Tool Breakage Absence/Presence . . 61 13, Resetting Broken Tool Registration 51 14, Cycle Time Reduction for Automatic Tool Length Offset’ Automatic Too! Breakage Detection Cycle ....... ‘ Pet ee SECTION 8 FOR MGM HORIZONTAL TOOLS paeeeed 84 1. Selting of Z-axis Lowering Position 54 2. Designation of Operation Mode : eau 55, 8. Setting of Horizontal Tool Touch Sensor Zero Point Seaipncettcs 4. Automatic Tool Length Offset Cycle for Horizontal Tools See oe 5. Autornatic Tool Breakage Detection Cycle for Horizontal Tools 58 SECTION 4 VARIABLES USED IN SUBPROGRAMS ae Aaporeeereeeees 4, Table of Variables Used in Subprograms .... See 59 2. Table of Variables Used in Subprograms for Horizontal Tools... 62 3. Explanation of Variables, 65 SECTION § PRECAUTIONS IN OPERATION «0... 000.000. 0ccce cece eeeee een ee eee 75 OKUMA MACHINERY WORKS LTD. 3286-E P-(iv) TABLE OF CONTENTS SECTION 6 PROGRAM EXAMPLES 4. Automatic Too! Length Oitset 2. Tool Breakage Detection SECTION 7 ALARM LIST PART IV AUTOMATIC MEASUREMENT FUNCTION (DIMENSION CHECK AND AUTOMATIC ZERO OFFSET) SECTION 1 OVERVIEW 1. Dimension Check 2. Automatic Zero OffsoT SECTION 2 PATTERNS 41. Setting of the Datum Hole Zero Point 2. Touch Probe Radius Compensation Cycle 3. Touch Probe Length Ottset Cycle 4. Inside Diameter (ID) Gauging Cycle 5. Outside Diameter (OD) Gauging Cycle 6 7. X-axis End Face Gauging Cycle Y-axis End Face Gauging Cycle 8. Z-axis End Face Gauging Cycle SECTION 4 APPROACH SPEED TO THE WORKPIECE SECTION § VARIABLES USED IN SUBPROGRAMS 4, Table of Variables Used in Subprograms 2. Explanation of Variables 3, Common Variables for Storing Gauging Cycle Results SECTION 6 TOUCH PROBE SAFETY FEATURES 4. Conformation of Operation of Proximity Switch 2. Battery Replacement of Touch Probe SECTION 7 PRECAUTIONS IN OPERATION . PAGE 7 7 78 80 89 es 89. 90 st 92 i 93, 96 99 100 102 108 115 u7 119 119 427 134 135 136 136 137 OKUMA MACHINERY WORKS LTD. 3286-E P-(v) TABLE OF CONTENTS SECTION 8 PROGRAM EXAMPLES ID Gauging 0D Gauging End Face Gauging on Z-axis Distance between End Faces (X.axis direction) Automatic Zero Offset Pee Example Program for MCM Horizontal Spindle SECTION 9 ALARM LIST SECTION 10 GAUGING IMPOSSIBLE CAUSE CODE CHART APPENDIX 1 EXAMPLE OF DISPLAY PAGES APPENDIX 2 TOUCH PROBE INSTALLATION ORIENTATION PART V (WHEN FM TYPE TOUCH PROBE IS USED) MEASUREMENT DATA PRINTOUT FUNCTION SECTION 1 OVERVIEW SECTION 2 SETTING 1 2 3 NC Optional Parameter (Bit) No. 2 NC Optional Parameter (Word) No. 46 Parameter Setting for R'S-232C interlace SECTION 3 OPERATIONS SECTION 4 PROGRAM EXAMPLE SECTION 5 PRINTOUT EXAMPLE SECTION 6 PRINTOUT ITEMS SECTION 7 INTERFACE SPECIFICATIONS TO CONNECT AP-8Oll Connection Diagram Paramotor Setting RP-80 Switch Setting 34. Control PCB. 3-2. RS-232C Interface PCB (#8143) PAGE 139 139 140 141 142. 143, 14a 147 4g 160 162 162 163, 163 163 163, 164 165 166 z 167 168 168 169 170 wecees 170 cee 170 OKUMA MACHINERY WORKS LTD. 3286-E P-(vi) TABLE OF CONTENTS PAGE PART VI PALLET POOL LINE CONTROL (PPC) a eae 171 SECTION1 OVERVIEW .......... coves ecole SECTION 2 OUTLINE OF OPERATION ..........- eed ere Tega) 1. Pallet Number and Workpiece Number 173 2. Machining Program Ss See eee 174 3. Pallet Change Program... eee 4. Setting Correspondence between Pallos and Caiors ..-.. ++ -- wee 178 5. Setting Correspondence between Pallets and Workplaces... ee. eee eevee 178 6. Correspondence between Pallets and Machining Order eee Age: 7. Commencement of Cutting. . eee : : 176 SECTION 3 PPC OPERATION PANEL AND OPERATIONS IN PPC ON MODE .... 17 1. Correspondence Settings... tees : vw 2 Automatic Carry vOut (LoadingUnloading) ssc essscseseesetererersees 180 3. Data Display... : : 183 4, Machining Sequence Display... 184 5. Other Operations and Displays ......... fe ae 185 SECTION 4 SYSTEM VARIABLES ........... : 197 4. VPLNO 2.0.2... eee ‘ 187 2. VPLOT[s] - VPLDT(12} and VPPCP 108 SECTION 5 WHEN PALLET POOL LINE CONTROL IS OFF ...... : . 192 SECTION6 PRECAUTIONS .......0... 00sec eeeeeeee eee neees Peet ies SECTION? ERROR LIST . ancients see eee EIS: SECTION 8 PALLET POOL LINE CONTROL OPERATION PANEL «0.2.6... . 197 OKUMA MACHINERY WORKS LTD. 8286-8 Pt SECTION 1 OVERVIEW (PART 1) PART I TOOL MANAGEMENT FUNCTION SECTION 1 OVERVIEW The tools stored in the magazine can be solected by directly designating tool numbers, The command format is. “Txxx” T command: Standard 1 - 60 Option 1 - 800 The T command, which is not restricted by the number of toolpots in the magazine, can manage a lot of tools even if the ATC actually used has less magazine capacity °e o. +O > 0 | U Asian toc! number ae S 7 sone of Magazine capaciy: 10 as The toil numbor of tole used for cuting ys Lnteelorioelfoetoetrtnn \ ff Correspondence Table Toolpot Number | Tool Number | Write the correspondence between the tool number 1 1 and the pot number on the CRT when tools in the 2 magazine are to be 3 3 changed for new setup. 4 20 The bubble memory of the 5 30 OSP5020M can hold the ; 7 life expectancy data of up 10 800 tools. 7 2 Tool selection is com: a __106 mmandled by toot numbers @ 270 10 an OKUMA MACHINERY WORKS LTD, 286-E P-2 SECTION 2. DESCRIPTION OF MANAGEMENT FOR EACH TOOL NUMBER (PART I) SECTION 2 DESCRIPTION OF MANAGEMENT FOR 1 EACH TOOL NUMBER Tool Offset Number ‘The too! offset numbers are normally specified in a part program as H number or D number directly, In addition, 1st offset number, 2nd offset number and 3rd offset number can be used for specification. When the tool offset data is considered to be particular to each tool, the tool offset number is determined solely corresponding to the tool to be used This concept is essential for spare tool changing. Because the tool offset number of a spare tool cannot be specified in a part program. (1) tt Offset Number Specity HA or DA in the part program, HA substitutes for the conventional tool length offset number DA substitutes for the conventional cuiter radius compensation number. When specifying HA or DA, H number or O number will be the same number as the tool ‘umber of the active tool (2) 2nd Offset Numbor Speciy HB or D8 in the part program, = HB substitutes for the conventional tool length offset number. + DB substitutes for the conventional cutter radius compensation number. ‘When specifying HB or DB, the numbor of offset number 2 which has set for the tool number of the active tool will be H or D number, respectively. (3) 3rd Offset Number Specily HC of DC in the part program, HC substitutes for the conventional tool lengIh offset number. DC substitutes for the conventional cutter radius compensation number. When specifying HC or DC, the number of offset number 3 which has set for the tool number of the active tool will be H or D number, respectively. OKUMA MACHINERY WORKS LTD. 9286-E 7-9 SECTION 2. DESCRIPTION OF MANAGEMENT FOR EACH TOOL NUMBER (PART 1) Example: Toolpot Number Tool Number Offset Number 2. | Offset Number 3 1 204 ant 2 202 212 In this example, the tool in the number 2 toslpot is the spare (ool for the tool in the number 1 toolpot. With the settings above, assume that commands have boon spocified as follows: G86 Ht (normal programming method) Gee HA G56 HB. ase HC The numbers selected as tool length olfset numbers are shown in the table below. H Command Tt (Commanded Tool) 72 (Spare Too!) Hi Number 4 Number 2 (Same as the tool number) HA Number 4 Number 2 (Same as the tool number) (Same as the tool number) HB ‘Numbor 201 Number 202 {Specified by offset number 2) _| (Specified by offset number 2) HC ‘Number 2111 Numbor 212 {Specified by offset number 3) _| (Specified by offset number 3) Though the description about the cutter radius compensation number is not given, the concept is quite the same as the tool length offset number, The tool length offset number and the culter radius compensation number cannot be different. For example, if the tool length offset numbers are as above, the cutter radius compensation numbers are as follows. D Command T1 (Commanded Tool) ‘12 (Spare Too!) Di Number 1 Number 2 DA Number 1 Number 2 Da Number 201 Number 202 Dc Number 211 Number 212 OKUMA MACHINERY WORKS LTD. 286-E P-4 SECTION 2 DESCRIPTION OF MANAGEMENT FOR EACH TOOL NUMBER (PART I) 3. Group Number (optional) When the changeover to a spare tool is required, the graup number is required to be set Too! num! bers are classified into groups. If the toot whose too! number is specified by T command is found not usable due to breakage or tool life expiration, the changeover to the other available tool in the san mo group is mado. The group number must be within the range from 0 to 250. For a tool from which the changeover is indesirable or which has no spare tool, the group number must be 0. ‘The changeover from the tool in group number 0 is not performed. Tool Management Mode (optional) The processing after tool life expiration may be determined as required. The tool management mode should be set in a two-digit number with the first digit always zero (0). ‘The second digit sets the following management modes, Determination of Lile Expiration ‘Spare Tool Selection after Too! Lite Expiration 0. | Not made 1 | Tool lite is determined by the time in Mionitie seme compan which the cutting has been fod in a Programmed net | cutting feedrate. Not used No spare tool selection is made and the tool whose life has expired is used when itis programmed again. 4 | Too! life is determined by the number of dried holes or other count data, 6 Note 1: Note Note 3: When the same T command is programmed next. Not used No spare tool selection is made and the tool whose life has expired is used when itis programmed again. In the case of too! wear (MOP), the spare too! selection will be made when the same T command is programmed next. In the case of tool overload (MOP}, the operation will be stopped with an alarm immediately In the case of tool breakage (detected by touch sensor type), the spare tool selection will be made when the same T command is programmed next. OKUMA MACHINERY WORKS LTD. 3286-E PS SECTION 2. DESCRIPTION OF MANAGEMENT FOR EACH TOOL NUMBER (PART 1) OKING Evaluation (optional) Types of tool detects are as follows: (1) Tool life expiration found by tho too! lilo management function (2) Tool breakage found by the automatic too! breakage detection function (3) Tool wear or tool overload found by the overload monitoring function (MOP) (4) Tool defect found by the operator ‘When any problom is found with a tool, the type or cause of the problem will be displayed on the CRT and whether or not the too! should be roplaced with @ sparo tool and whether or not the operation should be stopped with an alarm will be determined. The level of tool defects is cla: ified as follows and the class is displayed on the CRT (0K No defect (2) NGt Spare tool selection will not be made until operator gives any command. (3) NG2 Spare tool selection will be made when the same T command is given next In this case, the operation will be stopped with an alarm if the tool has 1n9 spare tool (4) NGS Even during cutting, the operation will be stopped immediately ‘The detect level depends on the lype of problem (lool defect) as shown in the following table. Next Time the Same T Defect Type. When the Defect is Found | Gon ne on Too! life expiration When MANAGE MODE is | When MANAGE MODE is 03 or 06, the level is NG1. | 03 or 06, the level is NGt When MANAGE MODE is |When MANAGE MODE is 01 oF 04, the level is NG2._{01 or 04, the level is NG3. Tool wear (MOP) NGa| NGS Too! overload (MOP) Naa) NGS: Tool breakage NG2| NG3 Evalvation by operator NG2| NG3 Note: When the contro! is reset, level NG3 of the active tool is switched to level NG2. OKUMA MACHINERY WORKS LTD. 3286-6 P-6 SECTION 2. DESCRIPTION OF MANAGEMENT FOR EACH TOOL NUMBER (PART 1) Tool Life Management Data (optional) Each tool number has the tool life management data ‘The tool life management data consists of the following two types of data, () SET TIME This is the setting value as the hife time, This data is displayed on the CRT but not used for evaluation of life expiration, (2) LEFT TIME This is the time telt before the lle expiration. In TIME is usually set. vital setting, the same value as the SET When this value becomes negative, the life is evaluated to be oxpired. For detail, rofer to Part 11, “Too! Life Management Function”, Distinction between Commanded Tool and Spare Tool (optional) (Once a too! in a group is selected, the tool wilt bo used unti itis found to be dofective. Thus, the data of the tool which is being used in the group is stored. Tools in a group are distinguished as follows and their distinction cades are displayed on the CRT. - ORG Selected to be used according to the command in the part program. = SPR ...... Selected as a spare tool Tho tools which are designated as neither ORG nor SPR will not be selected until the ORG or SPR tool in the same group is found to be defective. To change the designation of the ORGISPR tool, the operator can rewrite the ORGSPR data (See the later pages.) OKUMA MACHINERY WORKS LTD. 3286-€ P-7 SECTION 3 CHANGEOVER OF SPARE TOOL (optional) (PART 1) SECTION 3 CHANGEOVER OF SPARE TOOL (optional) 1 Selection of Spare Tool When the tool commanded in a part program is defective (NG2 or NG3), the changeover to the spare tool in the same group as the commanded tool will be made. It all the tools in the same group set in the magazine are found to be defective, the operation will be stopped with an alarm at the time the commanded tool is set to the spindle. 2. Changeover of Tool Offset Number Designation of the tool offset number can be done either by specifying H number and D number directly or by specifying the 1st offset number, 2nd offset number and the 3rd offset number. Using the former method, only one offset number is available for the tools in the same group when the changeover to the spare tool is made. Using the latter method, up to three offset numbers are available even when the changeover to the spare tool is made. ‘Command in Part | When the Tool Specified by T Command | _ When the Spare Tool Program (the Commanded Tool is Used is Used Di - D3G0 Hi - H300 | Offsst number specified in pan program | Tet offset number of spare tool DA HA | ist offsot number of commanded toot | 1st offset number of spare tool dB. 2nd offset number of commanded tool 2nd offset number of spare tool be HC | Srd offset number of commanded tool | 3rd offset number of spare toot Note: Tools in the same group will be selected in the following order; 1) When started from the initial condition (when ORGISPR is not designated) a) The tool commanded by the part program ) If too! noted in a) is not usable, the first usable tool found in a tool number search beginning with tool 1 and conducted in ascending order 2) When a too! was selected before (when ORGISPR is designated) a) The tool which has been selected b) If the too! of a) is not usable, the foo! commanded by the part program ¢) IF 00! noted in b) is not usable, the first usable foo! found in a tool number search beginning with too! T and conducted in ascending order OKUMA MACHINERY WORKS LTD. 3286-E P-8 SECTION 4 ENTRY AND DISPLAY OF TOOL MANAGEMENT DATA (PART 1) SECTION 4 ENTRY AND DISPLAY OF TOOL MANAGEMENT DATA ‘The following five types of display are provided for the tool management function. + TOOL LENGTH OFFSET, CUTTER R COMP ATC POT NO.TOOL NO. TABLE + TOOL NOVATC POT NO. TABLE - TOOL MANAGEMENT TOOL GROUP 1. Tool Length Offset and Cutter Radius Compensation Setting Procedure: 1) Press the TOOL DATA SET key. This displays tho TOOL LENGTH OFFSET and CUTTER R COMP data in the CRT. TOOL DATA SET i EETEEEEEEE BERRBREREE (ACT POSIT (HOR) 1080.000 1080.508 $88.60 2) When the data is to be set for the tools of tool No. 21 and aa larger, press the page key until the required tool number is | Ca displayed, I 3) Locate the cursor at the data column of the required too! number by pressing the cursor keys. ne FI f OKUMA MACHINERY WORKS LTD. 4) 5) 3285-E P-9 SECTION 4 ENTRY AND DISPLAY OF TOOL MANAGEMENT DATA (PART I) Setting a) When the tool data is known: Prass the function key [F1] (SET) and key in the tool data through the keyboard b) When the tool data has been set and the change amount from the set data is known: Press the function key [F2] (ADD) and key in the change amount through the keyboard. ©) When the tool data is unknown (only for the too! length otfset data}: Set the zero offsat of the axis along which the cutting tool is infed before carrying out sleps 1) through 3) Mount the tool for which the data is to be sel in the spindle and manually align the tool tip, with tho reference surface, Carry out steps 1), 2) and 3). Press the function key [F3] (CAL) and key in the data, which consists of the axis name, the direction, and the current position as viewed from the zero point, through the keyboard. Note: The axis name represents the axis parallel to the axis on which the toot rotates (X-, Y- and Z-axis). The direction is “P” for the positive side of the workpiece, and the “N” for the negative side. The entry of the diection may be omitted. in this case, the control assumes “P* direction. Press the WRITE key. > ? OKUMA MACHINERY WORKS LTD, 3286-E P10 SECTION 4 ENTRY AND DISPLAY OF TOOL MANAGEMENT DATA (PART 1) 2. ATC Pot No./Too! No. Table Setting Procedure: 1) 2) 3) 4) 5) Press the function key [F6] (ITEM t) or [F7] (ITEM |). ‘The CAT will display the ‘ATG POT NO/TOOL NO. TABLE* screen TOOL DATA SET “ATC Por O.r You wo, TELE toa | Por Too. | por Teo | ror Te, to. as | "ho. “tor | "Na. "to, ie EDEDED If the toolpot number for which the tool number is to be sat is larger than "41", press the page key until the roquirod pot number is displayed, Locate the cursor at the ATC POT NO. for which, the toot ‘number is to be set by using the cursor keys. Press the function key {F1] (SET) and key in the tool number. Press the WRITE key. OKUMA MACHINERY WORKS LTD. 3286-E Pott SECTION 4 ENTAY AND DISPLAY OF TOOL MANAGEMENT DATA (PART I) Tool No./ATC Pot No. Table Note: This screen may be used only for reference and setting of the correspondence between the tool cumber and pot number from this screen is impossible. Setting Procedure: 1) Press the iunction key [F6] {ITEM 1) or [F7] (TEM 4). ‘Tho CRT will display the “TOOL NO./ATC POT NO. TABLE® screen. SET Ok wo.7 aT FO 0, TABLES z z z wi tel en te Bs EEBG Thon end ERRSSSSESS 2) For checking the pot number corresponding to the tool which is assigned with the tool number larger than "41", press the page key until the required tool number is displayed. OKUMA MACHINERY WORKS LTD. 9286-E P12 SECTION 4 ENTRY AND DISPLAY OF TOOL MANAGEMENT DATA (PART 1) 4, Tool Management Function Setting Procedure: 1) 2) 3) 4) 5) Press the function key [F6] (ITEM t) or (F7] (ITEM 4) to display the “TOOL MANAGEMENT* screen, DATA SET ston nevzrente For Corp cop oP never oN FO. Ne? to.9 ro. houe i 2 PRERLRTR B, eeecceeace EDVEDEVDEDEDES) When the setting is required for the tool with the tool number eater than “11”, press the page key until the required tool number is displayed, Locate the cursor at the data column for which the data is to be set 1 iW ie Aiter pressing the function key [F] (SET), key in the required data a For the folowing data items, key in the numerical values. COMP NO. 2, COMP NO. 3, GAP NO., MANAGE MODE, SET TIME and LEFT TIME For the following data items, key in the charactor data ORGISPR and OKING Note that numerical values in units of seconds cannot be keyed in for SET TIME and LEFT TIME. Press the WRITE koy. OKUMA MACHINERY WORKS LTD. 9286-E P-13, SECTION 4 ENTRY AND DISPLAY OF TOOL MANAGEMENT DATA (PART 1) Note: When the data in the ATC POT NO./TOOL NO. TABLE has been rewritten after changing tools in the magazine, or the group registration has been changed, the designation of the commanded tool (ORG) and spare tool (SPR) may be changed. ‘Therefore, key in the correct original and spare status for individual tools. However, if any too! may be selected from the designated too! group, then the relationship of the ORG and SPR may not be checked and rewriting is not required. Tool Group Setting Procedure: 1) Press the function key [F8] (EXTEND) and [F6] (GROUP) to display the *TOOL GROUP screen. OOL DATA Seq a2 toe RETERSEGES ag g22352853252 PPRRRRRRAR AR BERSERREE RRRRRRRLE By § 2) Enter the desired group number. 3) Progs tho WRITE koy. 4) Then the tool numbers of the specified group are displayed. ‘When no tool is registered in the specified group, the display will not be changed. When the number of the tools in the specified group exceeds the number which can be contained in one pago, press the BS or the WRITE koy. ‘Whon the BS key is pressed, the subsequent page is displayod, When the WRITE key is pressed, all pages ara displayed. OKUMA MACHINERY WORKS LTD. 3286-E P.14 SECTION § RESETTING DEFECTIVE TOOL DATA (PART 1) SECTION 5 RESETTING DEFECTIVE TOOL DATA Whon a too! is once found to be dofective due to various causes as described in Section 2, “4. OKING Evaluation”, the OKING data of the tool remains NG until the operator rewrites the data to OK. When the cause of the dofect is removed or the tool is changed, enter the data OK, Other tool management data should also be rewritton, as neodod. Even if there are more than one causes for the defect, only ono cause is shown on tho CAT. Thus, when removing the cause displayed and entering the data “OK”, the other cause will be shown on the CRT and the data remains “NG* Only after all the causes are removed, “OK” is shown on the CRT. Precautions in resetting NG data for each cause are as follows: (1) Tool Life (LIFE) When the lower digit of the TOOL MANAGEMENT mode data is 1 or 4 and the LEFT TIME is negative, the tool defect data will be “NG2*. LIFE is displayed as the cause on the CRT. Change the tool with new one and rewrite the too! life data, and then rewrite the OKING data to “OK”. To use the current tool for a while, modify the tool management mode dala or rewrite the LEFT TIME data to be positive, and then rewrite the OKING data to “OK”. (2) Tool Breakage (found by the automatic tool breakage detection function) (BREAK) When the too! breakage is found by the automatic tool breakage detection function, the OKING. data will be sel as "NG2”. BREAK is displayed as the cause. Change the defective tool with new one and then rewrite the OKING data to “OK”. (8) Overload (found by MOP) (OVLOAD) When the MOP sends the overload alarm signal, the OKING data will be “NG3" and the NC will stop. OVLOAD is displayed as the cause on the CRT. When the NC RESET button is pressed, "NG3” will change to *NG2". Examine the cause of overload and take the required measures such as replacement of the tool, and then rowrite the OKING data to “OK" (4) Tool Wear (found by MOP) (WEAR) When the MOP sends the tool wear alarm signal, the OKING data wil be "NG2". WEAR is displayed as the cause on the CRT Examine the causes of the defect and take the required measures such as roplacoment of the tool, and then rewrite the OK/NG data to “OK” (6) User (udgement by operator) (USER) When “NG” is entered as the OK/NG data from the operation panel, the OKING data will be “NG2". USER is displayed as the cause on the CRT, Ater taking the required measures, rewrite the OKING data to “OK” OKUMA MACHINERY WORKS LTD. 3286-E P15 SECTION 6 MANAGEMENT OF TOOLS FOR WHICH ATC IS NOT USED (PART 1} SECTION 6 MANAGEMENT OF TOOLS FOR WHICH ATC IS NOT USED For MDB which is not equipped with ATC, and for large diameter tools and universal attachments ‘which cannot be stored in the ATC magazine, tool life management and automatic tool length offsot are possible. The tool numbers can be designated by either using a program or solting switches after setting a tool manually For a group number used by the tool management function, always set “0” 1 Command Format IN=™ (2 Oto the number of tool offset pairs) Designate the tool number for the next tool The timing at which the set tool number data is transferred ftom the next tool to the active tool ) Without ATG (MDB) ‘Alter the completion of MOS (impossible in the manual mode) b) Manual tool change for ATC specification Alter the completion of M70 ©) Altachment for which ATC cannot be used Aitor the completion of M177 OKUMA MACHINERY WORKS LTD. S286-E P16 SECTION 6 MANAGEMENT OF TOOLS FOR WHICH ATC IS NOT USED (PART 1) Tool Data Setting The toot number of the tool which is set manually can be set by displaying the ATC tool number setting screen, osu [J 0 to the number of too! offset pairs) With the no-ATC specification machine, setting of the next and active too! numbers is also possible. ba et Bau) Setting possible mm Sotiing not possible When the ATC tool is set for the next or active tool, an alarm (2519 Numerical vata) occurs if “.N" is set. If *\N" is set with the tool number which is sot in the toolpot - tool number correspondence table, an alarm (2519 Numerical data) occurs if “,N" is sot The timing at which the set too! number data is transforred from the next tool to the active tool is the same as that explained in Section 1 Cautions (1) When a numerical value outside the allowable range is designated with TN, an alarm occurs. 668 Data word: TN™ Here, * ** represents the command value in hexadecimal 2} Selection of a spare tool in the same tool group is not possible. (3) When the ATC too! number is set for the next or active tool, an alarm occurs if a TN command is designated. (4) An alarm occurs if a too! number, which is set in the toolpot - tool number correspondence tablo, is set with a TN command, (6) With the ATC specification, a T command causes an alarm if the TN number is set for the next tool (6) With the ATC specification, an MO6 command causes an alarm if the TN tool set for the next or active tool. OKUMA MACHINERY WORKS LTD. 3286-E P-A7 SECTION 7 ALARM LIST {PART 1) SECTION 7 ALARM LIST ‘Alarm Message ative toot NOS (ALARM-A 122} ay @ Cause and Measures ‘The MOP outputs the overload alarm signal. In this case, the NC will be stopped during cutting. When the tool which is defective due to the following causes is called by a T command and no spare too! is, available; 2) Life expiration (LIFE) (found by the tool life management) b) Breakage (BREAK) (found by automatic tool breakage detection) c) Wear (WEAR) (found by MOP) 4d) User (USER) {"NG* setting by user) In this case, the system will stop when the called too! is set in the spindle by the MOS command. OKUMA MACHINERY WORKS LTD. 8286-6 P18 SECTION 1 OVERVIEW (PART II) PART II TOOL LIFE MANAGEMENT FUNCTION SECTION 1 OVERVIEW The tool lite management function counts and totals the time used for cutting a workpiece in cutting modes (G01, G02, and G03) as the actual cutting time or counts the number of completed workpieces for each cutting tool. The total cutting time or counted number is compared with the preset tool lite or the count number to determine the serviceability of specific cutting tools. For a Cutting tool whose service life has expired, the control checks whothor a spare tool has been registered for it and if $0, the spare tool is automaticaly selected when the lifo-expired tool is next specified. In case no spare tool is availabe, the cycle stops with alarm cisplay. Too life expiration during cutting cycle: ‘The changeover to a registered spare tool is made when the me T number is next ‘commanded. Number of tools Up to a maximum of 300 tools can be preset based on too! offset pairs Presettable tool lite 0 through 32767 minutes in increments of ane minute Tool length offset (H) and For each spare tool, up to three H (tool length offset) cutter radius compensation (D) | and D (cutter radius compensation) numbers may be codes when a spare tool is assigned, used ‘Spare tools in the same group are solected according to the tool number; starting from the smallest in ascending order. Note that the tool life management function is a part of the tool management function, also refer to Part I, “Tool Management Function" OKUMA MACHINERY WORKS LTD. 3286-E P-19 SECTION 2. ENTRY OF TOOL LIFE MANAGEMENT (PART II) SECTION 2 ENTRY OF TOOL LIFE MANAGEMENT DATA ‘The too! life management data is sot in the following sequence: Setting Procedure: ) 2 3) 4) 8) Set the tool number for a toolpot number Group the too's. Set the management mode. Enter the tool life data - SET TIME and LEFT TIME. ‘When the too! life is counted in terms of “time”, the tool lite should be set in minutes and seconds, and when it is datermined by the “number of finished workpieces”, the tool life should be sot as the number of workpieces that can be finished before the tool fe expires. ‘When the second and the third offset data are to be used, sot the offset numbers for them individually ‘The command “TLFON” programmed atter the above setting, starts the tool life management, ‘The data setting procedure for individual stops 1) through 4) are explained in dotails. For step 5), refer to Part I, “Too! Management Function”. Enter tool numbers corresponding to the pot number in the ATC POT NOJTOOL NO. TABLE since the too! life is monitored for individual tools. OKUMA MACHINERY WORKS LTD. 3286-€ P-20 SECTION 2. ENTRY OF TOOL LIFE MANAGEMENT (PART II) An example of a machine with 10-tool capacity magazine is given below. Assign a tool number to each tool. = The total number of tools used for Mogazine capacity: 10 tools cutting the various types of workpieces is 800. y/ ff // \ \\ Correspondence Tablo Toolpot Number | Toot Number Write the correspondence between the tool number 1 1 and the pot number on the 2 Z CRT when tools in the magazino are to bo 3 3 changed for now setup. 4 20 The bubble memory of the 5 30 OSP5020M can hold the 7 7 life expectancy data of up = to 300 tools. 2 Tool selection is com- 8 manded by tool numbers 3 70 OKUMA MACHINERY WORKS LTD. 9286-6 P21 SECTION 2 ENTRY OF TOOL LIFE MANAGEMENT (PART 11) 14 Setting Tool No. for Pot No. Setting Tool No. for Pot No. Setting Procedure: Examplo:The procedure to enter “21” at the Pot No. of “10” 1), Select the TOOL DATA SET mode by pressing the TOOL DATA key. f=] ta Ga 2) Press the function key {F6] (ITEM 4) or [F7] ([TEM1) until the “ATC POT NOYTOOL NO. TABLE* screen is displayed. FOOL BATA SET stcror Mm. ton no. tite 38) if the pot number, for which the tool number is to be set, is “41” or larger, press the page key unti the required pot number is displayed. 4) Locate the cursor at the POT NO. 10 using the cursor keys. 5) Press the function key [Ft] (SET). es now | sou [cores GED EDEDEHEDED OKUMA MACHINERY WORKS LTD. 3286-E P22 SECTION 2. ENTRY OF TOOL LIFE MANAGEMENT (PART II) 8) Key in "21” through the keyboard. 7) Pross the WRITE key. 8) On the CAT, make sure that the data has been correctly entered. 9} Set other pot No. tool No. correspondence, repeating steps 3) through 8). OKUMA MACHINERY WORKS LTD. 9286-E P-23 SECTION 2. ENTRY OF TOOL LIFE MANAGEMENT (PART II) 2. Setting Tool Life Management Data 2A. Setting Tool Group Setting Procedure’ Example: The procedure for setting TOOL NO. 007 at the @RP NO. 1 1) Press the function key [F6] (TEM 1) or (F7] (ITEM 1) until the ‘TOOL MANAGEMENT* screen is displayed. TOOL BAT & SET rte. rsempeN ENA 2) When the setting is to be made for a tool assigned a tool ; riumbor larger than "11°, press the page key until the desicod cals] oe tool number is displayed. 9) Looato tha caso a tho GAP data poston ef to TOOL NO f 2 (4) I> 4) Press the function key (F1] (SET). ae EDEDEDES OKUMA MACHINERY WORKS LTD. 9206-6 P-24 SECTION 2. ENTRY OF TOOL LIFE MANAGEMENT (PART II) 8) Koy in * through the keyboard. 6) Press the WRITE key. aon 7) On the CRT, make sure that the data has been correctly entered. 8) Set other GRP No., repeating steps 2) through 7}. OKUMA MACHINERY WORKS LTD. 3286-E P25 SECTION 2 ENTRY OF TOOL LIFE MANAGEMENT (PART It) 2.2. Setting Management Mode Setting Procedure: Example: The procedure for setting MANAGEMENT mode “1” for TOOL NO. 007 1) Locate the cursor at the MANAGE MODE column of TOOL NO. 007 using the cursor keys. 2) Press the function key (F1] (SET) CPEDEDEDED! “9 3) Key in “01” through the keyboard 4) Pross the WRITE koy. 5) On the CAT, make sure that the data has been correctly entered, 6) Set the management mode for other tools, repeating steps 1) through 5). OKUMA MACHINERY WORKS LTD, 3286-E P.26 SECTION 2. ENTRY OF TOOL LIFE MANAGEMENT (PART II) Too! management mode ‘The tool management mode should be set in a two-digit number with the first digit always zero (0). The second digit sets the following managoment modes, Determination of Life Expiration Spare Tool Selection after Too! Life Expiration 0 | Not made ‘Too life is determined by the time in which the cutting has been fed in a culling feedrate. When the same T command is programmed next, Not used (Do not set) 3 'No spare tool selection is made and the tool whose Ite nas expired is used when itis programmed again. 4 | Tool lite is determined by the number of | When the same T command is diilled holes or other count data. programmed next. Not used (Do not sat) No spare tool selection is made and the tool whose Ife has expired is used when itis programmed again. Note: For tools on which tool life management control is not required, set “00" as the MANAGE MODE data. OKUMA MACHINERY WORKS LTD. 9286-F P.27 SECTION 2 ENTRY OF TOOL LIFE MANAGEMENT (PART II) a Setting SET TIME and LEFT TIME Data Setting SET TIME Data Setting Procedure: Example: ‘The procedure for setting “2000” at SET TIME of TOOL NO. 1) Locate the cursor at the SET TIME data column of TOOL (1) NO. 001 using the cursor keys. 2) Press the function key [Ft] (SET). GVEDes) Bees 8) Key in "2000" through the keyboard, 4) Press the WRITE key. 5) On the CRT, make sure that the data has been correctly enterad, 6) Set SET TIME data for other tools, repeating steps 1) through 5). Note 1: When the selting of MANAGE MODE is 01 through 03, the data may be set in units of minutes, The data under the heading “:SEC” is always “00”. Note 2: When the too! life is managed by the machining count data, i.e., when the MANAGE MODE data is 04 through 06, the counted data may be set under the hoading of "MIN". The data below “:SEC" will bo “P” in this caso. OKUMA MACHINERY WORKS LTD. S286-F P28 SECTION 2 ENTRY OF TOOL LIFE MANAGEMENT (PART I!) 2) Setting LEFT TIME Data Setting Procedure: Example: The procedure for setting “100” at LEFT TIME of TOOL, NO. 2) Press the function key [F1] (SET). ono, CPEDED 8) Key in "100" through the keyboard. Ree 4) Press the WRITE key. 5) On tho CRT, make sure that the data has been correctly entered. 6) Set LEFT TIME data for other tools, repeating steps 4) through 5). Note 1: When the setting of MANAGE MODE is 01 through 03, the data may be sot in units of minutes, The data under the heading ":SEC” is always “00”. Note 2: When the too! life is managed by the machining count data, i.e., when the MANAGE MODE data is 04 through 06, the counted data may be set under the heading of “MIN”. The data below “SEC” will be “P” in this case. OKUMA MACHINERY WORKS LTD. 3286-E P-29 SECTION 8 COMMAND FOR ACTIVATING TOOL LIFE MANAGEMENT (PART II) SECTION 3 COMMAND FOR ACTIVATING TOOL LIFE MANAGEMENT For activating the tool life management function, the command TLFON should be entered. Once executed, the TLEON remains effective even after the control is reset or power supply is turned off and on. It is canceled only when the TLFOFF command is executed. TLFON : — Too life management on TLFOFF: — Tool life management off ‘The procedures for turning on and off the to9I life managoment function through the keyboard operation is explained below. Operation Procedure: 1) Select the MD! OPERATION mode by presng ne MDA OCRBGZERE) 2) Key in "TLFON" through the keyboard, 3) Prose tho WRITE koy. a 4) Press the CYCLE START button. Note 1: For tools for which tool lie management control is not required, set “00” as the MANAGE MODE data Noie 2: For tools for which automatic spare too! seloction is not desired, set the GRP NO. data at “0”. With this setting, only the tool ife management is accomplished and the T command calling the tool whase life has expired sets the commanded tool in the spindle. The action that follows depends on the setting of the MANAGE DATA. 30r6 Cutting is continued. Yor4 .... Alarm occurs. (Alarm message: Active tool NG3) Note 3: When the tool life management is carried out in terms of a count number, the command TLCO should be used in addition to the command TLFON. The manner for entering the TLCO command is explained below: OKUMA MACHINERY WORKS LTD. 3286-E P-30 SECTION 3. COMMAND FOR ACTIVATING TOOL LIFE MANAGEMENT (PART I]) Operation Procedure: 1) Press the MDI key. 2) Key-in “TLCO Qxex" through the keyboard. Here, "xxx" indicates the number to be deducted from the set count data, Its range is from 0 to 999. 3) Pross the WRITE key. 4) Press the CYCLE START button. + Whon this command is given while tho managemont mode of the tool in the spindle is “count”, the number entered following the address character Q is deducted from the LEFT TIME data of that tool - In-case no number is specitied following “Q”, then the data is counted down by one (1). + The TLCO command is not a modal command. That is, the deduction or counting down is made only when it is commanded. ‘The explanations of the commands used in the tool life management function, such as TLFON, ‘TLFOFF and TLCO, have been given assuming the MOI mode operation. In the automatic mode operation, these commands may be issued in the same manner. OKUMA MACHINERY WORKS LTD, S286-E P31 SECTION 4 RESETTING TOOL LIFE DATA (PART II) SECTION 4 RESETTING TOOL LIFE DATA 1 For Usable Tools For tools whose preset tool life has expired but the operator has judged that it can be still used for cutting, change the too! life data using the following procedure: Sotting Procedure: ) 2) 3) 4 8) 7 8) Select the TOOL DATA SET mode by pressing the TOOL DATA key. Pross the function key (F6} (ITEM 1) or [F7] (ITEM |) until the CRT displays the TOOL MANAGEMENT screen, Following the step 2) in Section 2, 2-3, enter the expected remaining life as the LEFT TIME data. Example: SET TIME LEFT TIME 100:00 5:28 an operator has judged that the tool is still usable for additional 30 minutes, the setting should be: SET TIME — LEFT TIME 100:00 30:00 Locate the cursor at the OX/NG column using the cursor keys. Press the function key [F1} (SET). Key-in “OK” through the keyboard. Pross the WRITE key. On the CRT, mako sure that the data has been correctly entered. OKUMA MACHINERY WORKS LTD. 3286-E P32 SECTION 4 RESETTING TOOL LIFE DATA (PART II) Changing a Life-expired Tool With New One ‘The LEFT TIME data must be reset after exchanging the lile-expired tool with a new tool. Foliow the procedure below for resetting the data, Setting Procedure: 1) Set the too! length offset and cutter radius compensation data of the new tool first. For the setting procedure, refer to Section 4, Compensation” in Part I. 2) Press the function key [F6] (ITEM 1) or [F7] (ITEM J) until the CRT displays the “TOOL MANAGEMENT screen. 3) Following the steps in Section 2, 2-3, set the tool life data in terms of time or count number depending on the MANAGE MODE setting at the SET TIME and LEFT TIME data. Tool Length Offset and Cutter Radius In case the SET TIME data is the same as the one previously entered, then the data only for tho LEFT TIME should be entered. Example: SET TIME LEFT TIME 50:00 std In case the SET TIME data is the same as the one previously set, the setting should be: SET TIME LEFT TIME 50:00 0:00 4) Locato the cursor to the NG/OK column using the cursor keys: 8) _Pross the function key [F1] (SET). 6) Key-in “OK" through the keyboarc 7) Pross the WRITE key 8) On the CRT, make sure that the data has been entered correctly. Setting LEFT TIME Data to the Same Value as SET TIME Data for All Tools. Setting Procedure: 1) Pross the MDI key. 2) Enler the command TLER through the keyboard, 3) Pross the WRITE key 4) Press the CYCLE START button, OKUMA MACHINERY WORKS LTO, 3286-6 P-33 SECTION § PROGRAM EXAMPLES (PART I1) SECTION 5 PROGRAM EXAMPLES 1. Tool Life Management by Tool Used Time Data COMMAND = Nt ne 12: End mill na TS: Drill ka Ns x20 Y30 $200; NB 16 He wT bay x42 FADO NB; Ni and N24 are managed in accordance with the setting done in the MANAGEMENT mode, The replacement of the tool having 2a TUFOFF: been used to its life occurs when that tool nas 2; is commanded after the tool lite expiration. With the program example given above, the tool life management function is called up and cancelled by the programmed commands. The commands - TLFON and TLFOFF - can also be ‘entered through the Keyboard. Once the tool life management function is activated by the ‘command TLFON either programmed or entered through the keyboard, it remains active until cancelled by the TLFOFF command. Turning off power or pressing the RESET button does not change the tool life management mode. When the tool life of the T2 (end mill) has expired, its spare tool T32 is automatically selectod when the tool command selecting the T2 is executed next. At the same time, the tool offset data is also changed. In this program offsot data at address #2 is called since “G41 D2" and “G56 H2" are programmed while the programmed tool is used for cutting. However, after the replacement with the spare tool, the tool offset daia stored at the address identical to the tool umber of the spare too! will be called. << _$ —$ 12 eee 732 (programmed tool) 7") {spare tool) G56 He | Offset data at addresses H2 and | Offset data at addresses M32 and G4t D2 | 02 are called. 32 are called. OKUMA MACHINERY WORKS LTD. 8286-E P-34 SECTION § PROGRAM EXAMPLES (PART II) 2. Tool Life Management by Count Data of Machining Cycles | a euiana me _reeon a Te: End mill ise Tr Boring bar we Sa ie 60. x20. Y80 S800; we G8 240 Hk + The numerical vale following adsross Wet Gt ado F200 OK charactor "a" indicates the unt amount Wo Yas for countdown ftom the ital soting wall. It can be set as requited : Dofauit of @ daa, ie, whon only the ma Teo of “TLCO™ is programmed, countdown wis Gee 710K 3: from the iil setting valve 1s made in wis Gi x80. 80; nits of 1" wie veto Note that when the “TLCO* command “0 xo: is not programmed, countdown is not : mado oven when the tool ie imanagoment isin tho LIFE COUNT ao Teo 07: mode fol es Suppose the initial setting value be "100", the initial setting value is automatically deducted to 96P (100P - 4P) by the execution of the sequence N13 and then to 89P (96P - 7) by the execution of the sequence N30, The initial setting value is deducted in the same manner and when the remaining value becomes “0”, then the tool life of that tool is determined to have expired. At the next T command caling that tool, its spare tool is automatically selected and the call up of the corresponding tool offset data also occurs. It is recommended to use the Q data identical to the number of holes or workpieces. This will give an idea of approximate too! life. OKUMA MACHINERY WORKS LTD. 3286-E P-35 SECTION 6 ALARM LIST (PART il) SECTION 6 ALARM LIST Alarm Message Cause and Measures ‘Active tool NG2 The tool whose life has expired is called by a T command (ALARM-B 666) and no spare tool is available, In this case, the system stops when the called tool is set in the spindle by the M06 command, For resetting, sae Section 4. OKUMA MACHINERY WORKS LTD. 9286-£ P-36 SECTION 1 OVERVIEW (PART IL1) PART III AUTOMATIC TOOL LENGTH OFFSET/ AUTOMATIC TOOL BREAKAGE DETECTION FUNCTION SECTION 1 OVERVIEW This is @ system for automatically carrying out tool length offset and tool breakage detection of tiling, tapping, reaming, boring tools and the like. The specifications for this system are divided into the following two types: (1) Specifications for automatic tool length offset only, and (2) Specifications for automatic tool length offset and automatic too! breakage detection In this system, these functions can be realized by contact of the touch sensor installed in the machine with the tool loaded in the spindle. For tools which are mounted and removed without using the ATC, refer to Part 1, Section 6, *Management of Tools for Which ATC is Not Used”. 1 Automatic Too! Length Offset When carrying out automatic tool length offset, call the subprogram, and bring the tool in the spindle into contact with the touch sensor. 2. Automatic Tool Breakage Detection In the same operation carried out in the case of automatic tool length offset, the fength of the tool sot in the spindle is calculated. Then that value is compared to the tool length offset value stored in the NC memory to detect the breakage of the tool. When tool breakage is detected, the broken tool can be replaced with a spare tool. OKUMA MACHINERY WORKS LTD. 3286-E P-37 SECTION 2 OPERATIONS (PART II) SECTION 2 OPERATIONS A general breakdown of the operational procedure for carrying out automatic tool length and tool breakage detection functions is shown below. (Note) Setting of touch sensor zero point Selling of pot numberitoo! umber correspondence table Execution of automatic tool length offset with the tool which has been used for zero set ‘Automatic too! length offset ' Setting of tool change position Automatic too! breakage detection Judgement of sa presence/absence Absence ~of breakage Presence Pallet change, ete. Zero point is set once only at time of machine installation, When higher gauging accuracy is required, however, itis recommended to sat the zero point occasionally. When a tool is replaced from the too! magazine, the pot number and the tool aumnber corresponding table should be rewritten. Make sure that the (00! length offset value is 0+ 0.005 mm or “PLL setting + 0.008" mm ‘The necessaty tool is called from the magazine and tool length offset oporation is executed. This operation is carried out for only the necessary number of tools. Execution is not required in the case of MC-H. Ordinarily, this operation is carried after each cutting ‘poration with tho relevant tool is completed, on the ‘assumption that the tool length offset value is already set, Whether machining is continued as per usual or whether error is to be rectified is determined by the result of automatic tool breakage detection. This setting is not required if ALARM STOP made is selected in response to tool breakage detection When in the spare tool change mode at time of tool breakage, it is recommended to process the too! breakage alarm in the following manner - the NC judges that the workpiece cut by the broken tool is defective, the pallet is changed, and programmed cutting operation is, executed on a new workpiece. Note: With a double-column machining conter, it is necessary 10 set the Z-axis zero point afer repositioning the crossrail if a touch sensor is set on any other place than the crossrail (on the table, for example). OKUMA MACHINERY WORKS LTD, 3286-E P.98 SECTION 2 OPERATIONS (PART III) fs Setting of Toolpot Number/Too!l Number Correspondence Table Set the toolpot number and the tool number corresponding table. ‘An example of a machine with 10-tool capacity magazine is given below. 6 ! C | => venous iypas of worspiaces is 300, Write the correspondence beiween the tool number and a tho pot number on the CRT Toolpot Number | Tool Number when tools in the magazine are to be changed for new setup. The bubble memory of the 2 2 OSPS020M can hold the fife 3 3 oxpoctancy data of up to 300 tools. 4 20 2 a Note: The maximum standard number of foo! numbers 6 at is 50. 2 However, this can be 7 increased {0 300 as an =- - optional specification — 20 Tool selection is commanded by a bias tool numbers. The tool offset number calculated in the autornatic tool length offset cycle, is set at the same offset number as the tool number of the tool presently used (active tool) Similarly, the tool offset number referred to and compared when the automatic too! breakage detection cycle is operating, is the same offset number as the tool number of the active toot Note: When replacing with the spare tools, registration of the tool group is required. Register tho tools in groups according to Part I, "Too! Management Function”. OKUMA MACHINERY WORKS LTD. 3286-E P-39 SECTION 2 OPERATIONS (PART 111) Operation Mode Designation The basic operation modes of automatic tool length offset and automatic tool breakage detection are designated by the system variable VEST. As the system variable VPST is backed up by the NC bubble memory, once designated there is no necessity to reset each time automatic tool length offset and automatic tool breakage detection subprograms are called. VEST consists of one byto and each bit has the following significance. vest: bit Tatars Tol breakage BIGCRN OPS ] ‘utoratio tot length ofset eycie | bit ‘Automatic tool length offset and automatic tool breakage detection cycles fare carried out in the Y-axis direction bit 2 ‘Automatic tool length offset and automatic tool breakage detection cycles are carried out in the Y-axis direction following on from the same cycles in the Z-axis direction. When carrying out automatic tool length offset and automatic tool breakage detection cycles in only the Z-axis diraction, set “0” for both bits and 2 bit 3 Xcaxis does not move when positioning to the touch sensor position is ‘carried out. That is, bit 3 is “1” in the case of machines, such as MCV, in which the touch sensor is installed rogardiess of the X-axis, bit 4 bit bit 6 bit 7 Relative length of a tool used for setting the zero point of @ work coordinate system for 2 standard tool is regarded as the tool length offset value. This will be relerred to as the “relative offset method”. “Tha length of the tool from the spindle nose surface is regarded as the tool length offset value, This wil be referred to as the “absolute offset method" OKUMA MACHINERY WORKS LTD. 3286-E P-40 SECTION 2 OPERATIONS (PART Ill) ‘An example of VFST settings is given in the following table, Rotave’ |acare | Zane! | Automate Too! engin Osey Model] Absolute | Movement | X-axis Automatic Tool Breakage Oiset” | Yostlon” | Oiset | Detecton WOH [Rlawve [ans [ony 2 [Astoratc tol ath oot 7 MEN — fete |tmoverent fan oot a Automatic ool treakaga deecion | 0 Tosoute |xcaxis [Only 2 [Automate woo! gh oso rein artset | movernont | no ofc fe Automatic ol breakage caccion | 0H wey [Raiive |xone [On 2 [aerate tor oath oft 8 wer — Jats |Imovarent |e oot mont 7 Automate wo! boakago dateoion | 8 (Vertical ‘ Onty Y- | Automatic tool length offset #0BH spindte) ane ott Fo Automate tol boskego detecton | WOAH Yeats [Automatic oo angi oot 008 Dist after Z- Automatic tool breakage detection #0CH ax oft Tosoute pease [ny Z [Automate tool engin ots 78 aise | movement | sx fst 7 Zuo ool breakage cescton | 0H Only ¥- | Aioratic ol engin oot wan ons fet ‘Autor ool breakage da om Yeavis | tomate oo engin oft 10H otst : ater 2. Automate tool breakage detecton | MACH Note: Refer to Section 3 for details regarding MCM horizontal too! automatic tool length offset and automatic tool breakage cletection. OKUMA MACHINERY WORKS LTD. 3286-E P-41 SECTION 2 OPERATIONS (PART III) Setting of Z-axis Touch Sensor Zero Point a (2) co) (4) In MOI (manual data input) write in VFST=* and press the CYCLE START bution. Set the appropriate value for“ ** in accordance with the explanation given in Section 2, 2. AL this time, the setting may be for either automatic tool length offset or for automatic tool breakage detection. Confirm on the check display screen whether the values have been set correctly in VFST. MDE OPERATION anm P BI H i e h t 1 t treur [postt, [emma] tere | seorcnarcvsee] tare [reamo Execute sensor advance command M144 by MDI. (In the case of moving type sensors) Set the reference tool in the spindle, and bring the tip of the reference tool manually to the proximity of the Z-axis touch sensor. At this time, inevitably there will be a slight displacement between the center of the sensor and the center of the reference tool. Note: The reference too! is the too! used for setting the zero point on a work coordinate system. At this position, execute the following program after selecting the automatic mode: CALL 0030 PAXI=7 PLI=" (Note 1) [VFST="]; M02; Note 1: Settings for PLI should be as indicated below. Compensation Method PL Setting lative compensation method [Absolute compensation method | Length from the spindle nose face OKUMA MACHINERY WORKS LTD. 8286-F P.42 SECTION 2 OPERATIONS (PART III) 6) a) Relative compensation method ‘Sot as “PLI=0". Usually, the tool used for zero setting of the work coordinate system is used also for the sensor zero point setting cycle. Therefore, there is no tool length ifference between the tools used for the different two zero point setting cycles, thus setting of PLI should be zero (0), Tool used for zero setting of work coordinate system | aan Pua Fig. 24 b) Absolute compensation method Sot the accurate length of the tool currently clampad in the spindle as illustrated in below. Default value of PL PLI= 180 mm for MC-SVA/MC-4VAIMC-40H PLI=200 mm for othor models [ru Fig, 2-2 Note 2: Setting of VFST in this step is permissible instead of setting it frst in the MDI mode. CALL 0030 PAXI=7 LIE" [VEST="; Moe; [A this point the reference tool automatically comes into contact with the Z-axis touch sensor ‘whereupon Z-axis zoro offsot is executed. Zero offset of both the X and Y axes is executed 50 that the present (actual) postion of tho reteronce tool becomes X=0, Y Tho movements of tho reference tool aro as follows: a) The Z-axis moves to the plus (+) traval end, b) The spindle is oriented. ©) In the case of moving type sensors, the sensor moves back once and then moves forward. d) The Z-axis moves at a medium-fast approach speed in the minus (-) direction until the reference too! comes into contact with the touch sensor. fe) When it comes into contact with the touch sensor, the Z-axis comes to a stop. f) The Z-axis moves at a rapid feedrate to the plus (+) travel end. 9) Inthe case of moving type sensors, the sensor moves back. OKUMA MACHINERY WORKS LTD. (8) m (8) (9) 3286-E Pad SECTION 2 OPERATIONS (PART I) Execute sensor advance command M144 by MDI. (In the case of moving type sensors) Load a small-diameter dril in the spindle, Bring the diill tip manually to the proximity of the touch sensor and align the spindle center {drill center) with the center of the touch sensor. AA this position, execute the following program after selecting the automatic mode: CALL 0030 PAX! M02; By this, X- and Y-axis zero offset is executed so that the present (actual) position of the drill becomes X=0, ¥=0. (Z-axis does not move.) Moreover, the Z-axis moves at a rapid feedrate to the plus (+) travel end alter the execution of zero offsel, and the sensor moves back completing the operation. (10) The result is fed back to the offset data of work coordinate system No. 61 Confirm this on the CHECK DATA screen. This is displayed as system variables VZOFX{51], VzOFY(51) and VZOFZISt] (ny End AUTO OPER ATEGH ann VOOR ACEH nore Note: As work coordinate system No. 51 is exclusive to automatic fool length offset and automatic fool breakage detection, it can neither be set not referenced to by conventional methods. Refer to the check display item *OSP5020M Operation Manual” for details of the information on the CHECK DATA soreen. OKUMA MACHINERY WORKS LTD. 3286-E P44 SECTION 2 OPERATIONS (PART I) 4. Setting of Y-axis Touch Sensor Zero Point When there are specifications for automatic too! length offset and autornatic breakage detection for the Y-axis (diameter direction), set the Y-axis touch sensor zero point. (1) I MDI (manual data input) write in VEST =" and press the CYCLE START button Set the appropriate value for * *” in accordance with the explanation given in Section 2, 2. At this tine, the setiing may be for either automatic too! length offset or for automatic toot breakage detection, ‘Also, when VFST is already sat, there is no necessity to reset it. Confirm on the CHECK DATA scroon whether the values have been set correctly in VEST, (2) Execute sensor advance command M144 by MDI. (In the case of moving type sensors) (3) Set the reference tool in the spindle, and bring the tip of the reference too! manually to the proximity of the Y-axis touch sensor. At this time, correctly match the center of the reference tool with the center of the Y-axis touch sensor. (4) At this position, execute the following program after selecting the automatic mode: CALL 0030 PAXI=#17H PL or accurate length of reference tool PY = accurate radius of reference tool [VFST="]; M02; Note. The same attention must be paid (0 PLI as at the tie of setting the zero point of the Z-axis touch sensor. Always set PY. If itis not set, PY will be regarded as 0. The VEST setting may be carried out here instead of initially by MDI. (5) At this point the reference tool automatically comes into contact with the Y-axis louch sensor whereupon Y-axis zero offset is executed. Zero offset of both the X and Z axes is executed simultaneously. Tho movements of the reference tool are as follows: a) The Z-axis moves to the plus (+) travel end. b) The spindle is oriented. ©) In the case of moving type sensors, the sensor moves back once and then moves forward, d) The Z-axis moves up to the Y-axis sensor position (Namely, it moves up to the initial position it was manually moved to.) ©) The Y-axis moves at a medium-fast approach spoed towards the Y-axis touch sensor. 1) When it comes into contact with the touch sensor, the Y-axis comes to a stop. 9) The Y-axis retums at a rapid feedrate to its initial position. hh) The Z-axis moves at a rapid feedrate to the (+) travel end. ’) In the case of moving type sensors, the sensor moves back (6) The result is fed back to the offset data of work coordinate system No. 54. Contirm this on the CHECK DATA screen. This is displayed as system variables VZOFXIS4], VZOFY[S4] and VZOFZ(54] @ End Note: As work coordinate system No. $4 is exclusive to aulomatic foal length offset and automatic fool breakage detection, it can neither be set nor referenced to by conventional methods. OKUMA MACHINERY WORKS LTD, 3286-E P45 SECTION 2 OPERATIONS (PART 111) Z-axis Automatic Tool Length Offset a @) @) a) cy Confirm that the setting of Z-axis touch sensor zero point is completed Warning: Do not carry out fool length offset with the setting of the touch sensor zero point ‘not executed. In MDI writ in VEST =" and press the CYCLE START button, Set the appropriate value for * "in accordance with the explanation given in Section 2, 2 Confirm on the CHECK DATA screen whether the values have been set correctly in VFST. Set the tool for which automatic tool length offset should be carried out in the spindle. When the toot has been loaded manually into the spindle, make sure that the active toot number displayed on the ATC panel or the TOOL DATA SET scroon matchos the toot number of the too! in the spindle, This operation is not necessary when the tool has been loaded in the spindle by MO6 command either by automatic operation or MDI operation. Execute the following program after selecting the automatic mode: CALL 0030 [VFST=*} — [PLI=anticipated too! length); Mo2; Note: The VEST setting may be cautied out here instead of initially by MDI. The anticipated tool length is set in PLL PL is not set, the anticipated too! fength will autamatically be regarded as 60 mm from the spindle gauge line. At this point the reference tool automatically comes into contact with the Z-axis touch sensor, whereupon the too! length offset value is calculated and stored in the NC memory. The movements of the reference tool are as follows: a) The Z-axis moves to the plus (+) travel ond. b) The spindle is oriented ©) The X- and Y-axis move at a rapid feodrate so that the tool tip comes to the center of the touch sensor. (When the tool tip is not at the center of the spindle, read explanation tor the PX, PY given in Section 4, "8. Explanation of Variables" before carrying out the operations.) d) Tho Z-axis moves at a fast approach speed until the tool comes into contact with the touch sensor ®) When it comes into contact with the touch sensor, the Z-axis comes to a stop: 1) The Z-axis moves back several millimeters at a rapid feedrate. 4g) The Z-axis once again moves forward at a modium-fast approach spoed untit the tool comes into contact with the touch sensor. h) When it comes into contact with the touch sensor, the Z-axis comes to a stop. i) The results are stored in the tool length offset number which is the same number as the active tool number ‘Then the Z-axis moves at a rapid feedrate to the plus (+) travel end. OKUMA MACHINERY WORKS LTD. 3286-E P.46 SECTION 2 OPERATIONS (PART III) (6) The results can be checked on the CRT. They aro displayed at parameter TOOL LENGTH OFFSET on the TOOL DATA SET screen. ‘The results aro also displayed on tho PERSONAL screan, (7) End TOOL DATA SET sous 11 o.ca0 Som aaaeeeabee OKUMA MACHINERY WORKS LTD. 9286-E P-47 SECTION 2 OPERATIONS (PART I) Y-axis Automatic Tool Length Offset a) @ @ (4) 6) 6) a Confirm that the setting of X- and Z-axis touch sensor zero points is completed. Waring: Do not carry out tool length offset with the setting of the touch sensor zero paint not executed. Preset the Z-axis tool length offset vaiue of the tool for which Y-axis automatic tool length offset cycle is carried out. At this setting the automatic tool length offset function may be sed, of data may be written in manually in the TOOL DATA SET mode. In (ADI write in VFST =" and press the CYCLE START button. Set the appropriate value for * "in accordance with the explanation given in Section 2, 2. Confirm on the CHECK DATA sereen whether the values have been set correctly in VEST. Sot the tool for which Y-axis automatic tool longth offset should be carried out in the spindle. When the tool has been loaded manually into the spindle, make sure that the active tool number displayed on the ATC panel or the TOOL DATA SET screen matches the tool number of the tool in the spindle, This operation is not necessary when the tool has been loaded in the spindle by MOS command either by automatic operation or MD! mode. Execute the following program after selecting the automatic mode: CALL 0030 PY=anticipated tool radius [VFST oe: Note The VEST setting may be carried out here instead of intialy by MDI. At this point the reference tool automatically comes into contaet with the Y-axis touch sensor, whereupon the cutter radius compensation value is calculated and stored in the NG memory. The movements af the reference tool are as follows: a) The Z-axis moves at a rapid traverse rate to the plus ( +) travel end. b} The spindle is oriented. c) The X- and Y-axis move al a rapid feedrate so that the tool tip comes to the center of the Zaxis touch sensor. 6) The Z-axis moves at a fast approach speed until the too! comes into contact with the ¥- axis touch sensor. e) The Y-axis moves forward at a medium-fast approach speed in the direction of the Y-axis touch sensor. f) When the too! tip comes into contact with the touch sensor, tho Y-axis comes to a stop, g) The results are stored in the cutter radius compensation number which is the same number as the active tool number. fh) Then the Y-axis returns at a rapid feedrate. i) The Z-axis moves at a rapid feedrate to the plus (+) wavel end. ‘Tho results can be checked on the CRT. They are displayed at parameter CUTTER R COMP: ‘on the TOOL DATA SET screen. ‘The results are also displayed on the PERSONAL screen. End OKUMA MACHINERY WORKS LTD. 9286-E P48 SECTION 2 OPERATIONS (PART III) Z-axis, Y-axis Continuous Automatic Tool Length Offset (1) In MDI write in VFST = and press the CYCLE START button. (2) Execute the following program after selecting the automatic mode: CALL 030. PY=anticipated tool radius value [PLI= anticipated tool length value] IVFST ="; Mo2; (3) The too! first of all comes into contact with the Z-axis touch sensor and then the Y-axis touch sensor. All other operations are the same as previously mentioned. Setting of Tool Change Position (not required in the case of the MC-H) When it has been judged that tool breakage has occurred in the automatic tool breakage detection cycle, the broken tool can automatically be returned to the too! magazino while in the automatic tool breakage dotection subprogram. In the case of the MC-H, no problems will occur as the ATC home position is already determined, however, in the case of the MC-V and double-columnn machining centers, tool change will be carried out directly abave the touch sensor if the tool change Position is not determined. As it causes problems for some workpiece if tool chango is cartiod out at this position, determine the tool change position for these models. (1) Bring the spindle to the required position for tool change, In this case, only the positions of the X- and Y-axis are required, (2) At this position, execute the following program after selecting the automatic mode: CALL 0031; oe; At this time, the axes will not move at all (3) This will store the present X- and Y-axis positions in work coordinate system No. 62 as the tool change position. Confirm this on the CHECK DATA screen. This is displayed at system variables VZOFX{52] and VZOFY(52] (4) End Note: As work coordinate system No. 52 is exclusive to automatic tool length offset and automatic too! breakage detection, it can neither be set not referenced 10 by conventional methods. Z-axis Automatic Tool Breakage Detection (1) Confirm that setting for the touch sensor zero point and tool change position (except for MC- H) is completed. (2) In MOL write in VEST = and press the CYCLE START button. Set the appropriate value for " in accordance with the explanation given in Section 2, 2 OKUMA MACHINERY WORKS LTD, 3286-E P-49 SECTION 2 OPERATIONS (PART III) (3) Set the tool for which automatic tool breakage detection cycle should be carried out in the spindie. When the tool has been loaded manually into the spindle, make sure that the active tool number displayed on the ATC panel or the TOOL DATA SET screen matches the tool number Of the tool in the spindle, No problems will occur when the tool has boon set in the spinglo by MOS command either by ‘automatic operation or MOI operation. (4) Execute the ‘ollowing program alter selecting the automatic mode: CALL 0030. PLE1=breakage judgement value [VFST [PGO M2; Note 1: The VFST setting may be carried out here instead of initially by MDI. Note 2: When replacing a broken tool with a spare tool, setting of PGO is required, (Refer to PGO explanation given in Section 4, 3.) (5) At this point the reference tool automatically comes into contact with the touch sensor, whereupon the tool length of the active tool is calculated, ‘The movements of the reference tool are as follows: a) The Z-axis moves at a rapid feedrate to the plus ( +} travel end. b) Tho spindle is oriented ¢) The X- and Y-axis move at a rapid feedrate so that the tool tip comes to the center of the touch sensor. (When the tool tip is not at the center of the spindle, read the explanation for PX, PY given in Section 4, “3. Explanation of Variables’ belore carrying out the operation.) d) The Z-axis advances at a fast approach speed until the tool comes 20 mm in front of the touch sensor. ¢} The axis advances at a medium-fast aporoach speed towards an imaginary position 10 ‘mm past the position where the tool tip would come into contact with the touch sensor. 4) When there is no too! breakage, or when the breakage amount is slight even if thore is a breakage, the too! tip comes into contact with the touch sensor and comes to a stop. ‘The tool tip does not come into contact with the touch sensor when breakage amount is over 10 mm. 4g) When the tool tip comes into contact with the touch sensor, the tool length is stored temporarily 1h) Then the Z-axis retumns at a rapid feedrate to the plus (+) travel end. (8) Now tho moasured too! longth is compared to the tool longth offset value already stored in the NC memory, and when the difference exceeds PLE1, the tool breakage alarm occurs. The tool breakage alarm will also occur when the ool tip has not come into contact with the touch sensor (7) End Note: When replacing @ broken tool with a spare tool, refer 9 PGO explanation given in Section 4, "3. Explanation of Variables”. OKUMA MACHINERY WORKS LTD. 9286-E P-50 SECTION 2 OPERATIONS (PART III) 10. Y-axis Automatic Tool Breakage Detection a co) (3) (4) 6 ©) a Confirm that setting of the touch sensor zero point is completed. In MDI write in VEST =~ and press the CYCLE START button. Set the appropriate value for * *” in accorcance with the explanation given in Section 2, 2. Set the tool for which automatic tool breakage detection cycle should be carried out in the spindle. When the too! has been loaded manually into the spindle, make sure that the active tool umber displayed on the ATC panol or the TOOL DATA SET screen matches the tool number Cf the tool in the spindle. No problems will occur when the tool has been set in the spindle by MOB command either by ‘automatic operation or MDI operation, Execute the following program alter selecting the automatic mode: CALL 0030 PLEY [vFsT ="); M02; Note: The VFST setting may be carried out here instead of iniialy by MDI. reakage judgement value PY anticipated tool cadius value At this point the reference tool automatically comes into contact with the touch sensor, whereupon the cutter radius of the active tool is calculated, The movements of the reference tool aro as follows: a) The Z-axis moves at a rapid feodrate to the plus (+) travel end, b)_ The spindle is oriented. ©) The X- and Y-axis move at a rapid feedrate so that the toot tip comes to the center of the touch sensor. €)_ The Z-axis moves at a rapid feedrate so that the tool tip comes to the center of the Y-axis touch sensor. ©) The axes advance al a medium-fast approach speed towards an imaginary position 10 mm past the position where the tool tip would come into contact with the touch sensor. f) When there is no tool breakage, or when the breakage amount is slight even if there is a breakage, the tool tip comes into contact with the touch sonsor and comes to a stop. The tool tip does not come into contact with the touch sensor when breakage amount is over 10 mm. {g) When the tool tip comes into contact with the touch sensor, the Y-axis too! length (cutter radius) is stored temporarily, h) The Y-axis returns at a rapid feedrate. i) Then the Z-axis returns at a rapid feedrate to the plus (+) travel end. Now the measured tool radius is compared to the cutter radius compensation value already stored in the NC memory, and when the difference exceeds PLE1, the tool breakage alarm occurs. The tool breakage alarm will also occur when the tool tip has not come into contact with the touch sensor. End OKUMA MACHINERY WORKS LTD. 9286-E P.51 SECTION 2 OPERATIONS (PART II} 11. 12, 13. Z-axis, Y-axis Continuous Automatic Too! Breakage Detection (1) In MDI write in VEST =” and press the CYCLE START button. (2) Execute the following program after selecting the automatic mode: CALL 0030. [VFST PY = anticipated cutter radius value PLE! =Z-axis breakage judgement value PLEY = Y-axis breakage judgement value; Moa; (4) The too! first of all comes into contact with the Z-axis touch sensor and it is judged whether there is absence or presence of tool breakage in the Z-axis. When there is no toal breakage in the Z-axis, then Y-axis too! breakage detection is carried out. ‘All othor operations are the same as previously mentioned. Judgement of Tool Breakage Absence/Presence When the spare tool is selected in response to the detection of tool breakage, the system is not stopped even when the breakage is detected. Therefore, it is necessary to judge the occurrence of tool breakage at the end of the automatic tool breakage dotection cycle by programming a proper command to branch the program execution in accordance with the result of the judgement, Judgement of whether there is tool breakage or not can be carried out by the system variable VoKt. VOK1 =0 No tool breakage VOK1 #0 Tool breakage Another system variable VOK2 is also available for judgement VOKt shows the result of the previously carried out automatic tool breakage detection cycle. On the other hand, VOK2 becomes VOK2=0, if even one tool breakage is detected out of all of the tool breakage detection cycles carried out after VOK2 has been cleared to zero (0). VOKi and VOK2 are cleared to 0 when the NC is reset. Resetting Broken Tool Registration When tool breakage is detected by the automatic tool breakage detection function, then that too! number is registered by the tool management function as a broken tool. in order to use the same tool number after taking such necessary measures as replacement with a new tool, the registration of broken tool number must be cleared. Refer to Part I, “Too! Management Function” for specific dotails regarding the mothod of operation. OKUMA MACHINERY WORKS LTD. 14, 3286-E P-52 SECTION 2 OPERATIONS (PART III) Cycle Time Reduction for Automatic Tool Length Offset/ Automatic Tool Breakage Detection Cycle Expansion of the rapid feed range by adding the maximum tool length command and change in the approach feedrate to the sensor can reduce the cycle time of the automatic tool length offsetiautomatic tool breakage detection cycle. ~—— Spindle end face L—_: A 2( 18 g 3 é & Garr) ‘yes 0 Caution: Because the initial setting for the maximum tool length is “0”, it is necessary to set the data for VLTL. Example’ (1) Automatic Too! Offset Cycle 1) Z-axis moves at a rapid feedrate to the plus (+) aval end, 2) The spindle is oriented. 3) The X- and Y-axis move at a rapid feodrate so that the too! tip comes to the canter of the touch sensor. 4) Z-axis moves to a point away from the sensor by “maximum tool length (VLTL) + safely clearance (PUDT)"” at a rapid feedrate. Note. This operation becomes effective according to the parameter setting. If the setting is for “inetective”, this operation is skipped and cycle jumps trom 3) to 5). OKUMA MACHINERY WORKS LTD. 8286-E P-53 SECTION 2 OPERATIONS (PART 11) @ 5) Z-axis moves to a point away [rom the sensor by “assumed tool length (PLI) + safety clearance (PUDT)" at a skip feedrate which is sot with PF1. Axis feed stops whon tho gauging tool contacts the sensor. Note When PLI command is not designated, the axis is fed (skip feed) at a point away from the sensor by the safety clearance at a feedrate set with PFT. If FY is not designated, this axis feed is executed at F200. 6) Z-axis feeds (skip feed) to a point beyond the assumed contact point by 10 mm at F2000; axis feed stops when the gauging tool contacts the sensor, 7) Z-axis retracts in the positive direction by § mm from the contact point 8) Z-axis feeds (skip feed) to a point 10 mm beyond the contact paint obtained in 6) at a feedrate of PF2; axis feed stops when the gauging toot contacts the sensor. 9) ‘The tool offset value is saved to the active tool number or the tool offset number designated with PH. 10) Z-axis moves at a rapid feedrate to the plus (+) travel end, 11) End Automatic Toot Breakage Detection Cycle 1-4) The same operations as stated above. 5) Z-axis feeds (skip feed) 10 a point § mm away trom the contact point at feedrate F4000. 6) Z-axis feeds (skip feed) to a point 10 mm beyond the contact point obtained in the previous contact detection cycle at F1000; axis feed stops when the tool contacts the sensor. 7) Z-axis moves at a rapid teedrate to the plus (+) travel end. 8) End OKUMA MACHINERY WORKS LTD, 3286-£ P54 SECTION 3 FOR MCM HORIZONTAL TOOLS (PART III) SECTION 3 FOR MCM HORIZONTAL TOOLS This section deals witi only MCM horizontal toois. For clients using machining centers other than MCM, information in this section is not necessary. As the command format and machine functions of automatic tool length offset and automatic tool breakage detection functions for MCM horizontal tools closely resemble those of vertical tools, function explanation is partially omitted, The movements are as follows: (1) The Z-axis moves at a rapid teedrate to the (+) travel end (2) M76 and N19 are executed. (swivel head at right position and spindle orient stopped.) (3) Tho Y-axis moves at a rapid feedrate to a position j 3t before the touch sensor. (4) ‘The Z-axis moves at a rapid feodrate to the touch sensor position for the horizontal took (5) From hore on, the movements are the same as in the case of the vertical tools. However, the Z-axis movements in the case of vertical tools becomes the Y-axis movements in the case of horizontal tools. «“ > oe Setting of Z-axis Lowering Position As the Z-axis may collide with the workpiece according to its dimensions when it is lowered, set the ‘Z-axis lowering position as close as possible to thr touch sensor and at a position whoro it will not collide with the touch sensor unit. (1) Move the Y-axis to the Z-axis lowering position In this case, positioning of only Y-axis is requited, and X- and Z-axis may be at any position, (2) At this position, execute the following program after selecting the automatic mode: CALL 0082; Mo2; At this time, the axes will not move at all (3) At this position, the present position is stored at work coordinate system No. 59 as the Z-axis lowering position. ‘This can be confirmed on the CHECK DATA screen. This is displayed at system vatiable VZOFY[59}. Note. As work coordinate system No. 59 is exclusive for automatic too! length offset and automatic too! breakage detection functions, i can neither be set nor referenced to by conventional methods. OKUMA MACHINERY WORKS LTD, 9286-E P-55 SECTION 3 FOR MCM HORIZONTAL TOOLS (PART IID) Designation of Operation Mode ‘The basic operation made is set in the same way as with vertical tools by the system variable Vest, In the case of horizontal tools, the system variable bits aro the same as vertical tools except that bit Gis set at "1". vesr: bit | 0 | Automnaiic tool breakage detection 1. | Automatic tool length offset bit [1 [Automatic toot length offset and automatic tool breakage detection in the radius direction (Z-axis) are carried out. bit 2 [1 | Automatic too! length offset and automatic tool breakage detection in the radius direction (Z-axis) are carried out after automatic tool length offset and automatic tool direction (Y-axis) are carried out. ‘When automatic tool length offset and automatic tool breakage detection are cartied out in the length direction (Y-axis), both bits 4 and 2 are 0. bits | 1 [axis does not move in the positioning to the touch sensor position. via [0 bits | 0 ‘bt | 0 [Automatic toot length offset and automatio tool breakage detection for vertical tools are carried out 1 [Automatic toot length offset and automatic tool breakage detection for horizontal tools are carried out. bit? | 0. | Relative olfset method 1__[Absolute offset method OKUMA MACHINERY WORKS LTD, 9286-E P-56 SECTION 3 FOR MCM HORIZONTAL TOOLS (PART Ill) An example of VFST settings is given in the following table, Relative! ] X-axis Zax Automatic Too! Lenath Oitset” a Mods! | Absolute |Movement| X-axis | Automatic Too! Breakage Vane Olfset__[YesNo | Oifset__| Detection mcm — | Rolative |Xaxis [Length | Automatic 100! length offset #49H Horizontal |oftset | movernent | direction too! no offset only | Automatic tool breakage detection | #48H Radius | Automatic tool length offset #481 direction offset only | Autornatic tool breakage detection | #4AH Radius | Automatic tool longth offset 0H direction offset executed after ‘Automatic tool breakage detection | #4CH length direction Absolute X-axis [Length | Automatic too! length offset #C3H tfset | movernent | direction no offset only | Automatic tool breakage detection | #C8H Radius | Automatic toot length offset #08H direction aifset only | Automatic tool breakage detection | #CAH Radius | Automatic tool length offset 40H direction olfset executed after ‘Automatic toot breakage detection | #CCH length direction OKUMA MACHINERY WORKS LTD, 9286-E P-57 SECTION 3 FOR MCM HORIZONTAL TOOLS (PART III) Setting of Horizontal Tool Touch Sensor Zero Point Execute M144 by MDI. The setting procedure is the samo as that of vertical tools up to when the too! is brought to the proximity of the horizontal tool touch sensor. ‘The program for execution by automatic operation is as follows: Setting of touch sensor zoro point in length direction (Y-axis) CALL 0030 PAXI=#27H —PLI=0 or accurate length of reference tool [VFST 02; Setting of touch sensor z0r0 point in radius direction (Z-axis) CALL 0030 PAXi=#47H —PLI=0 or accurate length of reference tool [VFST=" accurate length of reference tool; ‘The result is fed back to the work coordinate system No. 57 and No. 68. Zoro point of the sensor for the length direction (Y-axis). No. 57 Zero point of the sensor for tho radius direction (Z-axis) ..... No. 68 This can be confirmed on the CHECK DATA screen. Note. Index the swivel head (0 the right position (M76) for setting the zero point for the horizontal too! touch sensor Reference: Front position (M73) for the vertical tool touch sensor Automatic Tool Length Offset Cycle for Horizontal Tools (1) Confirm that the setting of the zero point for the horizontal too! touch sensor is completed. (2) In MDI write in VEST = (appropriate value), and press the CYCLE START buiton, (8) Set the tool for which the automatic tool length offset cycle should be carried out in the spindle. (4) Execute the following prograt a) Length direction (Y-axis) CALL 0030 [VEST =appropriate value] [PLI= anticipated tool length}: Mo2; b) Radius direction (Z-axis) CALL 0030. |VFST=appropriate value] PZ mo2; ©) When carrying out offset of the Y- and Z-axis at the same time: CALL 0030 [VFST=appropriate value] PZ=anticipated cutter radius value [PLI= anticipated tool tength}; M2; (5) This will cause the tool to come into contact with the touch sensor, whereupon the cutter radius compensation value is calculated and stored in the NC memory. (6) The results can be checked on the TOOL DATA SET screen or on the PERSONAL screen, (7) End after setecting the automatic mode: ticipated cutter radius value; OKUMA MACHINERY WORKS LTD. 3286-E P58 SECTION 3 FOR MCM HORIZONTAL TOOLS (PART IIL) Automatic Too! Breakage Detection Cycle for Horizontal Tools (1) Confirn that the setting of the (2) In MDI write in VEST = (appropriate value), and pross the CYCLE START button. @ zero point for the horizontal tool touch sensor is completed. (3) Set the tool for which the automatic tool breakage detection cycle should be eartied out in the spindio. (4) Execute the following program after solecting the automatic mode: 2) Longth direction (Y-axis): CALL 0030 PLE1=breakage judgement value —_[VFST = appropriate value}: Moe; b) Radius direction (Z-axis): CALL 0030 PLEZ=breakage judgement value PZ anticipated cutter radius value [VFST = appropriate value]. M02; ©) When carrying out offset of the Y- and Z-axis al the same time: CALL 0030 PZ=anticipated cutter radius value PLE1 = breakage judgement value (in length direction) PLEZ = breakage judgement value (in radius direction) [VEST = appropriate value] mo; (5) This will cause the tool to come into contact of the active tool presently is calculated. with the touch sensor whereupon the tool length (6) Now the measured tool length is compared to the too! length offsot value stored in the NC memory, and when the difference exceeds PLE1, the tool breakage alarm occurs. The results aro displayed on the PERSONAL screen (7) End Note. When carrying out automatic too! length offset and automatic tool breakage detection cycles of vestical‘ools, execute the swivel head front position command (M73). Also, when carrying out automatic tool length offset and automatic tool breakage detection cycles of horizontal tools, execute the swivel head right position command (M76). All other particulars are the same as in the case of vertical tools. OKUMA MACHINERY WORKS LTD. 3286-E P-58 SECTION 4 VARIABLES USED IN SUBPROGRAMS (PART II!) SECTION 4 VARIABLES USED IN SUBPROGRAMS ‘An explanation of the basic cammand format was given in previous sections. In this section, an explanation of the variables necessary to make effective use of the functions is given. 1. Table of Variables Used in Subprograms Tsus- Variables for which Variables for which Numerical | Variabte program | Numerical Value Must) Value Should be Set as which Must Name | be Set Required not be Used Setting of Z- | 0080 | PAX! PL None axis touch =3 Accurate tool length of sensor z0ro : a eae Setting of Xand y. | fforence too! used in setting Zer0 point axis zero points a PRS: Seting of Z-axis zovo | _ SPindle orientation ange point PRE =7 Sensor does not retract. Setting of %, Ye and | PH: pore Too! length offset number vest ee Oe eae Cutter radius compensation number Setting of Y- | 0030 | PAX! PRS: None Cede = ATH Spindle orientation angle sensor zero point Setting of X, Y- and Z-axis zoro points VEST: Operation mode PL Accurate tool length of reference tool used in sotting zero point PY: Accurate cutter radius of reference tool used in setting zero point PRET=1 Sensor does not retract. PH. ‘Tool length offset number PD: Cutter radius compensation number | OKUMA MACHINERY WORKS LTD, 3286-E P-60 SECTION 4 VARIABLES USED IN SU8PROGRAMS (PART III) PY: Approximate displacement in Y- ‘axis of tool tip from center of spindle i.e., cutter radius ‘Always set when ‘carrying out Y-axis, automatic tool offset Sub- | Variabies for which Variables for which Numerical | Variablo program | Numerical Value Must | Value Should be Sot as which Must Name — | be Set Required not be Used Setting of (0031 ‘None ‘None None tool change position” ‘Automatic (0030 | vrsT: PL PAX! toot length, en : oiae Operation mode Anticipated tool length Px: +/~ values are possible tor the approximate displacement in X-axis of tool tp from center of spindle. PY: +/~ values are possible for the approximate displacement in Y-axis of tool tip from center of spindle. PFI Approach speed of first pass Pra) ‘Approach speed of second pass PRS: Spindle orientation angle PRE Sensor does not retract PH: Tool length offset number PD: Cutter radius compensation umber * Unnecessary for MC-H OKUMA MACHINERY WORKS LTD. 3286-E P-61 SECTION 4 VARIABLES USED IN SUBPROGRAMS (PART III) Sub- | Variables for which Variables for which Numerical} Variable program | Numerical Value Must | Value Should bo Sot as which Must Name | be Set Required not be Used ‘Automatic (0030 | WFST: PX: PAX! tool breakage ‘Operation mode LE xalues are possibe for aueonat a the approximate Approximate displacement in Y- axis of tool tip from center of spindle ice. cutter radius Always sot when ‘carrying out Y-axis automalic tool offset displacement in X-axis of tool tip from center of spindle. PY: +/~ values are possible for the approximate displacement in Y-axis of tool tip from center of spindle. PLEA Z-axis too! breakage judgement value PLEY: Y-axis tool breakago judgement value PLE2: Offset vaiue update permissible amount PGO: Division of alarm stop‘spare tool replacement PRS: Spindle orientation angle PRET. Sansor does not retract Pt Tool length oftset number Po: Cutter radius compensation number Pet: Approach speed of first pass Pra: Approach speed of second pass OKUMA MACHINERY WORKS LTD, 9286-E P-62 SECTION 4 VARIABLES USED IN SUBPROGRAMS (PART III) 2. Table of Variables Used in Subprograms for Horizontal Tools Sub. | Variables for which | Variables for which Numerical | Variable program | Numerical Value Must | Value Should be Set as which Must Name be Set Required not be Used Setting of 0030 | PAXI: PL: z aa | None oa =#23H Accurate too! length of direction Sating of X- ang y- | feference too! used in setting touch sensor axis Zero points Liss zor0 point aan PRs | Goting of Zane oro | SPMdO oforation ange point PRET =1 =werd Sensor does not retract. Setting of X,Y and | PH: 2 aus zeto|Pone Tool length offset number VEST; PD: Oneaven freee Cutter radius compensation umber Soningr | 0630 f Pax PRE: None radius 7 idle oontation ana (Z-axis) a7 Spindle oriontation angle direction Setting of X, Ye and | PRE touch seasor Zaxis zero points ae 010 point ne Pe Operation mode Too! length offset number Pui a Accurate to! length eee Gt reforence tool Coles eee core used in setting zero i point Pz Accurate cuiter radius of reference tool used in setting 2010 point Setting of Z- | 0032 None: ‘None None axis lowering position OKUMA MACHINERY WORKS LTD. 8286-E P-63 SECTION 4 VARIABLES USED IN SUBPROGRAMS (PART II) Gib] varaties rwhch | Vara for wich Nunercar | Vande prouram | Nurporcal vaio Must | Value Should bo Stas wien st Namo” | poset Roques notte Lows Taromaie | 0030] VEST om Om tal eo Operation made | Antiatd too engi v2: ex Approximate displacement in Z: axis of tool tip from center of spindle i.e., cuttor radius Always set when carrying out Z-axis automatic tool offset +/- values are possible for the approximate displace: ment in X-axis af too! tip from center of spindle. Pz, ++/~ values are possible for the approximate displace- ment in Z-axis of tool tip from center of spindle. PFI Approach speed of first pass Pre: Approach speed of second pass PAs: Spindle orientation angle PRE Sensor does not retract. PH Tool length offset number PD: Cutter radius compensation umber OKUMA MACHINERY WORKS LTD. 8286-E P-64 SECTION 4 VARIABLES USED IN SUBPROGRAMS (PART III) T sub- Variables for which Variables for which Numerical | Variable program | Numerical Value Must | Value Should be Set as which Must Name | be Set Required not be Used ‘Automatic 0030 | VFST: PX: PAXI tool +/~ values are possi breakage Operation mode Be atau ees detection PZ: ses ® Approximate displacement in Z- axis of tool tip from center of spindle i.e., cutter radius Aways set when carrying out Z-axis automatic tool offset. displacoment in X-axis of tool tip from center of spindle, Pz: +/- values are possible for the approximate displacement in Z-axis of tool tip from center of spindle. PLet: Tool breakage judgement value in length (Y-axis) direction PLEZ: Tool breakage judgement valu in radius (Z-axis) direction PLE2: Offsot value update permissible amount PGO: Division of alarm stop‘spare tool replacement pas Spindle orientation angle PRET=1 Sensor doas not retract PH: Tool longth offset number Po: Cuttor radius compensation number Ft Approach speed of first pass Pre: Approach speed of second pass OKUMA MACHINERY WORKS LTD. 3206-6 P-65 SECTION 4 VARIABLES USED IN SUBPROGRAMS (PART 111}, Explanation of Variables ‘An explanation of the method of use of the variables given in Tables on the previous pages is given as follows. Aiso, set the numerical data by the units presently in use. a 2) VEST (V EIRST) VEST sets the basic operation mode for automatic tool length offset and automatic: too! breakage detection cycles. VFST is a variable which is backed up by the bubble memory ‘even if the power is tumed off. Accordingly, there is no necessity to set VFST each time when calling 0030. Automatic tool length offset and automatic tool breakage detection cycles can be executed even in the same machining program. in this case, VEST bit O should be “1” when executing automatic tool length offset cycle. Also, VFST bit 0 should be “0” when executing automatic tool breakage detection cycle. VFST consists of one byte and each bit has the following significance. VEST: bitO | 0] Automatic tool breakage detection 1 [Automatic tool length offset bit 1 1. [Automatic too! radius direction operation bit2 | 4 |Z, Y-axis continuous operation bit + [With MCV, MCM and MCR, itis 1 X-axis does not move when axes move into contact with the touch sensor 1 | Automatic tool length offsetiautomatic tool breakage detection for MCM horizontal tool executed bi? [0 | Relative offset method 1_ [Absolute offset method PLE1 (@ LENGTH ERR 1) This is the tool breakage judgement value. Set by absolute values. It judges that too! breakage has occurred when, PLE1 < | (preset too! longth oftsot value) — (measured tool length) | ‘When PLE? is not sot at timo of tool breakage detection, PLEt is automatically sot as 0.1 mm. within the subprogram, OKUMA MACHINERY WORKS LTD. @) (4) 3286-E P-66 SECTION 4 VARIABLES USED IN SUBPROGRAMS (PART II]) PLE2 (P LENGTH ERR 2) This is the permissible offsot update value, Set by absolute values. Only when it judges that tool breakage has not occurred at time of tool breakage detection, the tool length offset value is updated in accordance with the measured tool length when, PLE2 < | (preset tool length offset value) — (rneasured too! length)! < PLE1 As the too! length offset value is updated each time the cycle is carried out, pay attention to its relationship with breakage. When PLE2 is not sot, tho tool length ofiset value is not updated. PLEY (2 LENGTH ERROR Y-AXIS) This is tho Y-avis too! broakage judgement value. Set by absolute values. It judges that tool breakage has occurred when, PLEY < | (reset cutter radius compensation value) — (measured cutter radius) | When PLEY is not set at time of Y-axis tool breakage detection, PLEY is automatically set as 0.1 mm within the subprogram, OKUMA MACHINERY WORKS LTD. 3286-E P-87 SECTION 4 VARIABLES USED IN SUBPROGRAMS (PART Ill} (6) PAXI(P AXIS) ‘This designates the axis whose zero point is to bo set, when setting the zero point of the touch sensor. PAX! consists of one byle and each bil has the following significance, PAX! bio This sols Y-axis Zero point bit This seis Y-axis zero point. bit 2 This Seis Z-axis 2070 point ieee bit 8 eee a pita | 0 | Vertical toot; length direction sensor zero point is set. +_| Vertical too}; radius direction sensor zero point is sat. ‘bits [0 [Horizontal tool length direction sensor zero point is set. bité | 1 [Horizontal tool: radius direction sensor zero point is set biz Sotting Value of PAX! Sensor Direction Vertical Tool MCM Horizontal Toot Length | Radius | Length | Radius i Direction | Direction | Direction | Direction Penne Sensor | Sensor | Sensor | Sensor Setting of X- and Y-axis, 3 (#3) #2341 zn) Zor0 points Sotting of X-, Y- and Z 4 (#14H) 24H (#4aH) axis zoro points Setting of Z-axis zero 7 #78 #274 #aTH point () Px This is the approximate displacement in the X-axis from the tool tip center. Plus values and negalive values can be set, When PX is not sel, PX is automatically set as 0 within the subprogram. When X- and Y-axis move to the center of the touch sensor during automatic breakago detection cycles, positioning is carried out at the position displaced by PX so that the tool tip, comes to the center of the touch sensor. As the touch sensor is installed close to the travel limit, pay attention to its relationship with the travel mit when setting PX. OKUMA MACHINERY WORKS LTD, 3286-6 P-68 SECTION 4 VARIABLES USED IN SUBPROGRAMS (PART III) @ PY ‘This is the approximate displacement in the Y-axis from the tool tip center. Other details are the same as those of PX. However, when setting Y-axis zero point, accurately set the cutter radius (displacement of toot tip in Y-axis) of the reference tool usod for setting the zero point as PY. (8) PZ This is the approximate displacement of tool tip in the Z-axis direction from the tool center. Other details ate the same as those of PX, ‘The use of bit offset amount for each machining center model: a ‘Model Px PY PZ MC-50/60/80H Oo ©) MO-40H o 0 MO-V 0 MOV-A, & 0 MCRB 0 MCM i) O This too! tip offset arnount setting is required when a horizontal tool is set on the MCM. en Swivel head Pz OKUMA MACHINERY WORKS LTD. 3286-E P-69 SECTION 4 VARIABLES USED IN SUBPROGRAMS (PART II]) (9) Pu a) When setting the touch sensor zero point, set the reference tool length as PLL 1) Relative offset method Set the difference in the lengths in relation to the tool used for setting the zero point of the work coordinate system at PLL When tho setting is omitted, PLI is automatically regarded as 0. 2) Absolute offset method Set the tool length of the reference tool from the spindle nose surface at PLI. When the setting is omitted, PLt is automatically regarded as 200 mm* * 150 mm for MC-3VA, MC-4VA, and MC-40H b) When carrying out the automatic tool length offset cycle, set the anticipated tool fength at PLL 1) Relative offset method Set the tool length in reference to the reference tool (200 mm or 150 mm) at PLL That is, length “a” (loo! length — reference tool length) in the illustration below. 2) Absolute offset method Set the longth of the tool between the spindie nose (gauge line) and the tool tip. That is, length “b” in the illustration below should be sot Reference tool) When the tool set in the spindle moves towards the touch sensor, it advances to an imaginary position 10 mm beyond the position where it would come into contact with the touch sensor. When PLI is not set, the tool length is automatically regarded as 60 mm (absolute length). OKUMA MACHINERY WORKS LTD. 3286-£ P-70 SECTION 4 VARIABLES USED IN SUBPROGRAMS (PART III) (10) PFI Approach speed towards the sensor PFI: Pre. Approach speed of first pass Approach speed of second pass PLI (anticipated too! fength) command Jig not designated ‘Approach speed of first pass when ‘Ovanide effective When PF1 command is not designated: F2000 When PFt command is designated: F = PFA ‘Approach speed of first pass when LI (anticipated too! length) command, is designated ‘Override effective a) To the point 10 mm in front of PLI ‘When PF1 command is not designated: F4a0a When PF1 command is designated: F = PFr2 b} To the point 10 mi beyond PLI ‘When PF1 command is not designated: F2000 ‘When PF1 command is designated: F = PFI ‘Approach speed of second pass: F = PFO ‘Override ineffective When PF2 command is not designated: F1000 When PF2 command is designated: OKUMA MACHINERY WORKS LTD. 3286-E P-71 SECTION 4 VARIABLES USED IN SUBPROGRAMS (PART II} (1) PGO @ GO) ‘This determines the mode atter the detection of tool breakage alarm. Selection is possible from alarm-stop and spare tool selection. a) When PGO is not set: When a tool breakage is detected during the automatic tool breakage detection cycle, the NC is alarm-stopped after it has completed the automatic tool breakage detection cycle. b) When PGO is set as PGO: When a tool breakage is detected during the automatic tool breakage detection cycle, the broken too! is returned to the magazine after the automatic tool breakage detection cycle is completed. Then, the part program is executed as programmed. Note: With MC-V and double-column machining centers, the tool change cycle is executed al the X, Y coordinate positions where the cycle has been executed; thus, do not set PGO = for these models. ¢) When PGO is set as PGO- Itis presumed that setting of the tool change position has already been executed. It tool breakage is detected in the automatic toot breakage detection cycle, first the Y-axis and then the X-axis move to the position established in the toot change position setting ‘oycle, and then the broken tool is roturned to the tool magazine, Then the part program is executed as programmed. Note: With MC-H, do not set PGO as “2”. 4d) When PGO is set as PGO Even when tool breakage is detected during the automatic tool breakage detection cycle, the part program is executed as program:ned alter the automatic tool breakage detection cycle. It depends on whether PGO is sat to PGO=1, PGO=2 or PGO=3, that the broken tool is relumed to the magazine or not, However, in all of their cases, the operation wil not stop if tool broken alarm is detected, and the part program will continue as programmed. Accordingly, the presence or absence of tool breakage must be judged within a part program to execute necessary processing upon detection of the tool breakage. The presence or absence of a breakage is displayed at system variable VOK1 alter the automatic tool breakage detection cycle is completed. If VOKi #9, there is no tool breakage. In the case of VOK1 #0, this shows the presence of too! breakage. In the measurement impossible alarm occurs, whatever setting is made for PO, the NC is alarm-stopped aftor the automatic tool breakage cycle is completed. OKUMA MACHINERY WORKS LTD. 3286-E P-72 SECTION 4 VARIABLES USED IN SUBPROGRAMS (PART II) (12) PRS (PBS) With a special tool, boring bar for example, there are cases that the tool bit fails to contact the touch sensor if the spindle is orient stopped at the preset position. in such cases, it is necessary to index the spindle in the required angular position by selting the corresponding value to PRS, Example: For MCV-A, set “270" for PAS to indox the spindle to allow the contact of the tool bit with the touch sensor. Tool i) i vo Sensor Execute "CALL 0030 PRS =270". . PRS Setting 338° 340° 315° 315° 382° Unnecessary tose PRS Setting = ica " if inn OKUMA MACHINERY WORKS LTD. 3286-E P-73 SECTION 4 VARIABLES USED IN SUBPROGRAMS (PART III) (13) (14) (15) PRET (P RETRACT) With the retract type touch sensor, the sensor retracts after the completion of a cycle. if "1" is set for this variable, the cycle completes with the sensor at the advance position, PH, PD. Offset data (too! fength offset data, cutter radius compensation data) are usually set and referenced for the offset number identical to the actual tool data. Sotting for PH and PD allows the change of offset numbers, PH: Tool length offset number (dofault: tool data number) PD: Cutter radius compensation number (default: PH number) Setting range: the number of tool data sets Note: Even when only the cutter radius compensation is executed, the too! length offset data is also relerenced, thus it is necessary (0 set both PH and PD, VLTL (Maximum Tool Length) Then rrimum tool length VLTL must always be set. The maximum tool length VLTL, used for the automatic tool offset and automatic too} breakage detection cycle, is added to the system parameters. The operational step 4) becomes etlective according to the setting for the parameter: Optional parameter (bit) No. 36, bit 3 1: Effective 2: Ineffective (initial setting: 0) Optional parameter (long ward) No. 44: Max. toot length For the maximum tool length, set the maximum tool length among the tools which will be used. Setting range : 0 - 999 (unit: mmm) Initial setting = 0 CAUTION Because the initial setting for the maximurn tool length is “0”, itis necessary to set the data for VLTL. OKUMA MACHINERY WORKS LTD, (16) (7) 3286-E P-74 SECTION 4 VARIABLES USED IN SUBPROGRAMS (PART III) PUDT (Undertravel Distance (Safety clearance) When the tool is being fed to the sensor, its feedrate is changed from a high speed to a low speed; this feedrate change point is set by the distance from the sensor to the tool front edge. Reier to the illustration in (9) ‘The value is set when calling the subroutine. When no value is set: ~ Automatic tool offsot cyclo Both PLI and PFA are designated : 60mm Either PLI or PFA is not designated 10mm - Automatic tool breakage detection cycle : 5mm. POVT (Overtravel Distance (Sensor damaging prevention distance) ‘This is provided to prevent breakage of the sensor if the sensor fails to function when the toot contacts the sensor. Set the distance from the assumed sensor contact position to the position where the axis feed should stop if the sensor fails to operate. Designate this system variable when calling the subprogram. If value is not designated, 10 mm is automatically set. OKUMA MACHINERY WORKS LTD, 9286-E P-75 SECTION § PRECAUTIONS IN OPERATION (PART III) SECTION 5 PRECAUTIONS IN OPERATION a 2) 6) (4) 6) (6) a) 6) Because the sensor will not work property if its zero point is not set, make absolutely sure that the sensor zero point is set at time of machine installation. For MCM, it is necessary to execute the zero point setting cycle for the horizontal tool touch sensor. The sensor 7010 point is set at zero offset No. 51 (Z-axis sensor) and zero offset No. 64 (Y axis sensor). Zero offset Nos. 51 and 64 are exclusive to automatization specifications and can neither be set by the parameter settings nor roforenced to. Zoro offset Nos. 51 and 64 can only be roferenced to on the check display. When setting PGO=2 in the caso of MC-V and double-colurmn machining centers, make absolutely sure that the toot change position setting eycle has boon executed. The tool change position for automatic too! breakage detection cycle is sat at zero offset No. 52. Zero offset No. 52 is exclusive to automatization specications and can neither be set by the parameter settings no: referenced to. An emergency stop limit switch is built into the system for protection of the touch sensors. When a sensor has been pushed in more than required, axis is brought to a stop. At this time, the emergency stop limit indicating lamp lights up; it is observed by opening the cover of the tape reader. To release the emergency stop condition, select MANUAL mode while pressing the emergency stop limit release bution, and feed the axis by the pulse handle in the direction to release the limit switch, Do not call out the automatic tool length offset or automatic tool breakage detection subprograms while tho shift amount in the manual interruption operation is remained or while the machine is still in the mirror image mode. Measuring impossible alarm occurs. ‘As the automatic tool length offset and automatic tool breakage detection functions are used in combination with the tool management function, fully acquaint yourself beforehand with Part I, “Tool Management Function”. ‘The tools to be used are drils, taps, and reamers which have cutting edge at the too! front. The tools whose cutting edge is off the center of the spindle, setting for variables PRS and PX or PY is required mooting offset direction. The following tools cannot be used for the automatic tool longth offset and automatic tool breakage detaction functions: Tools whose configuration is such that a part of the toolholder comes into contact with the touch sensor or its body before the tool tip comes into contact with the sensor. Commands to the subprogram should be carried out in the unit system presently being used. Never give commands in the real number unit system, OKUMA MACHINERY WORKS LTD, 3286-E P-76 SECTION § PRECAUTIONS IN OPERATION {PART Ill) (8) The cutter radius compensation mode and the local coordinate system are cancollod ia the automatic tool length offset and automatic tool breakage detection subprograms, and are not restored. (10) When caling the automatic tool length offset and automatic tool breakage detection ‘subprograms, use the work coordinate system. When using the machine coordinate system, the alarm wil occur. Noto that the work coordinate systom cannot be altorod while in the automatic tool length offset and automatic tool breakage detection subprograms. (11) For the area required for storing programs, work coordinate system, tool offset data and common variables, the automatic toot length offset and automatic tool breakage detection subprograms do not use the user area, (12) Nesting level of a subroutine in the automatic tool length offset and tool breakage detection subprogram is two. This means that the nesting level is six when those functions are executed. (13) Manual advancefretraction operation of the tool breakage detection unit (touch sensor) ‘Touch sensor can be manually moved forwards and backwards on MCM and MCR. a) Set the NC operation panel mode selecting key-lock type switch to ON to onable independent manual operation. b) Set the selector switch to FORWARDS. ©) The cover will open and the touch sensor will move forward when the CYCLE START button is pressed and released. J) Set the selector switch to BACKWARDS. €) The touch sensor will move backwards and the cover will close when the CYCLE START button is pressed and released. 1} Set the operation key switch to OFF to release independent manual operation. (14) An alarm occurs if the actual tool number is “O" for the execution of tool length offset and cutter radius compensation cycles. Therefore, it is recommended to conduct tool change in the MDI or automatic mode. OKUMA MACHINERY WORKS LTD. 8286-E P-77 SECTION 6 PROGRAM EXAMPLES (PART II) SECTION 6 PROGRAM EXAMPLES Automatic Tool Length Offset (1) Relative Tool Length Offset Method 2 wes | : Na 16; | Oe Boring bar ‘TREES 40} (REHE1000]; +> Tool iength offset cycle for T2 eB caso itso; Lo] root ong oto cyte for T8 coluians commands in { ar oniestie, | PLL Atcipated avo ong f to TS ‘with respect to reference tool PF1: First approach speed PY: Offsot amount of tool bit from spindle center in Y-axis direction = 30 men (2) Absolute Too! Length Orfsot Method me: he nos ns Te: CALL 0090. vested rtze2so) cerietsc0}: + sffFootrengtn offset oycie for T2 nen: ne 18: NT CALL 0030 Ne MBs [P| Tool tength offset cycle for TE COM PLI: Anticipated absolute length of tool 6 Commands in {|} are omissible. ‘The data for variable VFST may not be set each time the too! length offset cycle is called, For the setting of the touch sensor zero point, which is required to execute the automatic toot length offset cycle, select the same offset method as the one used for the automatic tool length offset cycle. OKUMA MACHINERY WORKS LTD, 8286-E P-78 SECTION 6 PROGRAM EXAMPLES (PART III) Tool Breakage Detection a) Alarm Stop 3 MT ne M6: 373; Ne S300; NS GAL G56 KAD ¥20 20 Ro FAH; i PY=3011.18) Boring bar m2 cALL_ 0030 vESTa [RGEIE0.2) (PLe2=0.08]5+1 | + >{] Tool broakago dotection cycle for T1 Nis Wo: Nia Tay NIB GO x30. YAO; Tool breakage detection cycle for T3 Offset amount of tool bit trom spindle center = 30 mim N29 CALL 0030 [pte1-0.2); Commands in [| are omissble. = COMMAN Tr: Drill T3__: Boring bar PLE1: Breakage detection amount 0.2 mm {ia case no PLE data is set, the breakage detection amount is, automatically set at 0.1 mm.) When the tool is determined as “broken", ie., when the measured tool length is shorter than the sot tool breakage detection amount, the operation stops at the completion of the cycle at the travel end of Z-axis in the positive diroction. Tool longth offset data is updated when variable *PLE2" is set. When the tool length measured in the too! breakage detection cycle is shorter by 0.051 mm to 0.2 mm (the range which is set by “PLE1” and “PLE2") than the initial tool length which has been measured in the automatic tool length offset cycle, the tool length offset data is automatically updated based on the tool length measured in the tool breakage detection cycle to compensate for tool wear amount. When *PLE2" data is not set, the tool length offset data is not updates. OKUMA MACHINERY WORKS LTD, 9286-E P-79 SECTION 6 PROGRAM EXAMPLES (PART III) (2) Automatic Spare Too! Selection (MC-H) 1 13 aE we: 1% Pye30 6a x40 IO S300; (18) Ges 240 Mat Ms Dri! Boring bar w18 CALL 0030. vFST-0 {|| Toot breakage detection for Tt (PLE=0.1) P6D=2: Breakage detection amount = 0.1 mm hia TF (YOKE NE 0] 999; 9 Jump to N999 at an occurrence of tool breakage N20 Me; war 19; haz G69 XL00 Y205 mes 656-220 Hs uaz CALL 0030 Pras P60*2; | »[ Tool breakage detection cycle for T3 N43 IF [VOK1 NE 0] 989; Breakage detection amount = 0.1 mim Offset amount of toot bit from spindle center = 30 mm 999 NOD; 44+||Paliet change command + COMMAND » t+ ba 13: Boring bar VOK1 : Breakage determination Program for the next workpiece Spare tool is automatically selected from the groupad tools when a tool having been detected broken is. called in the next program. At the same time the spare tool is selected, tool length offset data is rewritten for the tool nowly solected. The cutter radius compensation data is also rewritten, ‘The variable VST may not be set each time the tool breakage detection cycle is called. * Designation of HA is permissible instead of H1. For details, refer to Part I, “Tool Management Function”. OKUMA MACHINERY WORKS LTD. 3286-E P-80 SECTION 7 ALARM LIST (PART 111) SECTION 7 Name of Alarm ALARM LIST Probable Cause | Measures to Take UNTENDED: gauging impossible (ALARM-8 504) ‘At the end of the gauging impossible message, the cause code is displayed. ALARM-B 604 UNTENDED: gauging impossible xx Cause code | Rofer to the Gauging Impossibio | Cause Code Chart and remove the UNTENDED: fn! subprogram function {ALARM-B 510) ‘An attempt is made to conduct the tool breakage detection cycle although the corresponding ‘specification is not supported. Check VFST setting, UNTENDED: | Tool breakage is detected in the tool breakage detection cycie, tool breakage (ALARM-8 608) Direet of Tool number is “0” When tools are changed manually, it subscript is necessary to set the active tool (ALARM-8 430) PH andor PD setting is wrong, number, OKUMA MACHINERY WORKS LTD, 9286-E P-8t SECTION 7 ALARM LIST (PART ILI) Code : es Causo and Measures to Take Subprogrars 1 | Cause ‘A maker Subprogram is called wiile the machine coi | coordinate system (H0) is selected. 0030 Measures: Call a maker subprogram afler selecting a work oon coordinate systom (G16 H1, for example} 2 | Cause The mirror image function is active. (0010 ae 0030 Measures : Cancel the mirror image funetion first. oan 3 | Cause Manual shift amount (total) remains. (0010 : 0030 Measures : Cancel the manual shift amount (total) to zero, poet 4 | Cause Parallel or rotation shift (G11) of the coordinate is, (0010 in execution Measures: Cancel the G11 mode first 5 | Cause ‘Shape enlargementreduction (G51) is in 0010 execution. Measures: Cancel the @51 mode first. 6 | Cause T number is zero (0). No tool is set (0030 Measures ° Specify a tool number. Specify the PTLN command. 7 | Cause The number of T numbers ar PTLN commands (0030 exceeds the allowable offset pair nurnber. Measures : Aleduce the number of T numbers or PTLN commands to the allowable value. 8 | Cause The power to the probe is not on when the flash 0018 on cycie is attempted. Measures + Check if there are obstacles between the receiver head and the probe. is the spindle index angle for the probe correct? Does the receiver head flash? 3 | Cause The offset amount of the positioning point for (0050 cycle start from the touch sensor zero point is greater than PCHK (only for ¥ and Z axos). Measures: When positioning Y and Z axes, reduce oltsot ‘amount from the touch sensor zero point to within PCHK. ‘A | Cause The touch probe microcomputer stays on. 0010 Measures : Check whether chips are accumulating on the proximity switch. 8 | Cause The result of touch probe test is NG. 0010 The touch probe signal cannot be confirmed. Measures: Check the touch probe battery. OKUMA MACHINERY WORKS LTD. Code (HEX) 9286-E P82 SECTION 7 ALARM LIST (PART III), Cause and Measures to Take Subprograms Cause Measures The touch probe contacts the workpiece while itis being fed at a rapid approach speed (X-ax’s) ‘With the FM type touch probe, reception of signals is not correct. Check the gauging cycle start point. Check the PUDT setting. ‘0010 Cause Measures “The touch probe fails to contact the workpiece hilo itis being fed at a middle approach speed (axis). With the FM type touch probe, reception of signals is not correct. Check the assumed gauging cycle target point Check the POVT setting. 0010 Cause Measures The touch probe fails to contact the workpiece while it is being fed at the final approach speed. (axis) With the FM type touch probe, reception signals is not correct, Check the touch probe battery. of 0010 Cause Measures: The proximity switch is not tured on although the touch probe is brought into contact with a workpiece (X-axis), Check if the touch probe has chattered. 0010 10 ‘Cause Measures The touch probe contacts the workpiece while it i boing fed at a rapid approach speed (Y-axis). With tha FM type touch probe, reception of signals is not correct. Check the gauging cycle start point. Check the PUDT setting ‘0010 " Cause Measures ‘The touch probe fails to contact the workpiece while itis being fed at a middie approach speed (Y-axis). With The FM type touch probe, reception of signals is not correct. Check the assumed gauging cycle target p Check the POVT solting. (0010 12 ‘Cause Measures The touch probe fails to contact the workpiece while itis being fed at the final approach speed (Y-axis), With the FM type touch probe, reception of signals is not correct. Check the touch probe battery. ‘0010 OKUMA MACHINERY WORKS LTD. 9286-E P: 3 SECTION 7 ALARM LIST (PART III) hens Cause and Measures to Take ‘Subprograms (HEX) 13 | Cause he proximity switch is not tuned on although the (0010 touch probe is brought into contact with a workpiece (Y-axis). Measures : Check if the touch probe has chattored 14 | Causo ‘The touch probe contacts the workpiece while itis 0010 being ted at a ropid approach speed (Z-axis) With the FM type touch probe, reception of signals is not correct, Measures : Check the gauging cycle start point, Check the PUDT setting. 15 | Cause The touch probe fails to contact the workpiece 0010 while itis being fed at @ middle approach speed (Z-axis). With the FM type touch prove, reception of signals is not correct, Measures : Check the assumed gauging cyole target point Check the POVT seiting. 16 | Cause The touch probe fails to contact the workpiece ‘0010 while it is being fed at the final approach speed (Z-axis) With the FM type touch probe, reception of signals is not correct, Measures _: Check the touch probe battery 17 | Cause The proximity switch is not turned on although the ‘0010 touch probe is brought into contact with a workpiece (Z-axis). Measures : Check if the touch probe has chattered. Cause Tho touch probe contacts the workpiece durin 0010 the approach to the extemal diameter in the OD gauging cycle Measures: Check the start point of the gauging cycle. Check the assumed OD value. Cause PLH is not designated. (MAQJ0-01-L-19A.MSB) Measures : Set tool length offset number for PLH. (OH-OSP-MG) 1a | Cause PDH is not designated. (MAQJ0-01-L-13A.MSB) Measures : Set cutter radius compensation number for PDH. (OH-OSP-MG) 18 | Cause In tho C-axis gauging cycle, contact is detocted 0010 during the approach to the gauging point. Measures : Check whether the start position is correct, PO! value is correct, or PGI value is correct. OKUMA MACHINERY WORKS LTD. 3286-F P-84 SECTION 7 ALARM LIST (PART IID) Code es Cause and Measures to Take ‘Subprograms 1G | Gause + Touch probe contact is nol detected in X-axis 00100 direction motion within a range of PUDT and POVT. (contact value error) Measures : NC soltware error (change to software of new version) or faulty SVP board (replace.). 1D | Cause Touch probe contact is not detected in Y-axis (00100 siection ration within a range of PUDT and POVT. (VSAPY faulty) | Measures : NC software error {change to software of new version) or faulty SVP board (replace.). 1E | Cause Touch probe contact is not detected in Z-axis (00100 direction motion within a range of PUDT and POVT. (VSAPZ faulty) Measures : NC software error (change to software of new version} or faulty SVP board (replace.) tf | Cause in the touch sensor zero setting cycle for the (0030 vertical spindie longitudinal direction, the cutting tool fails to contact the sensor, Measures : Check the start position of the cycle; is it close to the touch sensor (within 10 mm)? 20 | Cause In the touch sensor zero setting cycle for the 0030 vertical spindle radial direction, the cutting tool fails to contact the sensor. Measures : Check the start position of the cycle; is it close to the touch sensor {within 10 mm)? 21 | Cause In the touch sensor zero setting cycle for ‘0030 horizontal spinale longitudinal direction, the cutting tool fails to contact the sensor. Measures : Check the start position of the cycie; is it close to the touch sensor (within 10 mm)? 22 | Cause In the automatic tool length offset and automatic, tool breakage detection cycles for the horizontal spindle in the racial direction, the cutting tool fails to contact the sensor Measures : Check the start position of the eycle; is it clase to the touch sensor (within 10 mm)? 23 | Cause ‘When the axis moves 0.5 mm in the positive (00100) direction from the contact detect point, the probe contact signal has been on. (X diraction) 24 | Causa: Whon the axis moves 0.5 mm in the positive direction from the contact detect point, the probe contact signal has been on. (Y direction) OKUMA MACHINERY WORKS LTD. 9286-E P-85 SECTION 7 ALARM LIST (PART III) Code (HEX) Cause and Measures to Take ‘Subprograms 26 Cause When the axis moves 0.5 mm in the positive direction from the contact detect point, the probe contact signal has been on. (Z direction) 26 Cause ‘When the axis returns 0.5 mm from the contact position dotected after approach (X direction), the value is taken as the coordinate value in the workpiece gauging direction again, Cause ‘When the axis retums 0.5 mm from the contact position detected after approach (Y direction), the value Is taken as the coordinate value in the workpiece gauging direction again. 28 Cause When the axis retums 0.6 mm from the contact, position detected after approach (Z direction), the valuo ig takon as the coordinate value in tho workpiece gauging direction again. 29 Cause Measures In the automatic tool length offset and automatic tool breakage detection cycles for the vertical spindie in the longitudinal direction, the cutting tools fails to contact the sensor. Js the assumed too! length correct? {for tool length offset cycle) ‘0030 2A Cause Measures Jn the automatic tool length offset and automatic tool breakage detection cycles for the vertical spindle in the radial direction, the cutting tool fails to contact the sensor. Is the assumed cutter radius correct? {for tool length offset cycle) Ig the cuter radius offsot data sot? (for tool breakage detection cycle) (0030 2B | | Cause Measures In the automatic tool length offset and automatic tool breakage detection cycles for the horizontal spindle in the longitudinal direction, the cutting tool fails to contact the sensor. Is the assumed toot length correct? {for tool length offset cycle) Ig the tool length offset data set? (for tool breakage detection cycle) (0030 2c Causo Measures In the automatic tool tength offset and automatic tool breakage detection cycles for the horizontal spindle in the radial direction, the cutting too! fails to contact the sensor. Is the assumed cutter radius correct? (for too! longth offsot cyclo) Is the cutter radius oftset data set? (for tool breakage detection cycle) (0030 OKUMA MACHINERY WORKS LTD, 3286-E P-86 SECTION 7 ALARM LIST (PART III) Code Cause and Measures to Take ‘Subprograrns (HEX) 2D | Cause in the automatic {001 lengli offset cycle in the X- 0030 axis direction (with angular attachment), the Culting tool fails to contact the sensor. Measures : Check if PL1 is appropriate. 33 | Cause In the U-center zero setting oycle, cutting bit (0040 contacts the sensor or the contact signal is input in the sequence in which it should not contact the sensor. Measures : Is the sensor zero setting done correctly? Is cutting bit free of chips? Is the sensor signal correct? 34 | Cause In the U-cenier zero setting cycle, no contact 0040 signat is input. Measures : Is PD value correct? Is the sensor signal correctly input to the NG? 35 | Cause in the U-cenier radius adjusting cycle, cutting bit (0080 contacts the touch sensor while Y-axis is being fed in the sequence in which the contact must not be dotected. Measures : Is tho command value correct? Is the sensor signal correctly input to the NC? Is the cutting bit free of chips? 36 | Cause in the U-center radius adjusting eycle, cutting bit ‘0080 fails to contact the touch sensor while U-axis is boing fed. Measures : 1s the U-axis command too largo? Is the sensor signal correctly input to the NC? 37 | Cause in the U-center radius adjusting eyclo, the cutting 0050 bit fails to contact the touch sensor in the sequence in which the U-axis adjusted amount is checked with the Y-axis Measures : Check whether the sensor signal is correctly input 38 | Cause in the tool breakage detection cycle, the cutting (0060 bit contacts the touch sensor while the Y-axis is being fed in the sequence in which the contact must not be detected. Measures : Is the sensor zero setting correct? Is the sensor signal correctly input to the NG? Is the cutting bit free of chips? OKUMA MACHINERY WORKS LTD. Code (HEX) 8286-E P-87 SECTION 7 ALARM LIST (PART II) Cause and Measures to Take Subprograms a9 Cause Measures In the wear compensation cycle, the cutting bit contacts the touch sensor in the sequence in which the Y-axis positioning is executed at a point away from the current position by the ‘compensation amount, Is the command value conect? Is the U-center bit free of chips? Is the sensor signal correctly input to the NC? ‘0080 3A Cause Measures In the wear compensation cycle, the cutting bit fails to contact the touch sensor in the sequence the cutting bit radial position is compensated in the U-axis adjusting cycle. Is the sensor signal correctly input to the NC? 0080 38 Cause Measures ‘After the completion of U-axis compensation in the wear compensation cycle, the cutting bit faiis to contact the touch sensor in the sequence in which the adjusted amount is checked with the Y- axis movement. Is the sensor signal correctly input to the NC? 0080 3c Cause Measures ‘Whon the gauging cycle is executed with a touch probe set in the vertical spindle of the MOM, swivel head orientation is not M75 position On the MCM, tool change cycle for the vertical spindle is carried out at the M75 position; set the touch probe in the automatic or MDI mode. ‘0010 30 Cause Measures In the touch sonsor zoro setting cyclo for the vertical spindlo in the longitudinal direction on the MCM, the swivel head is not indexed at the front position, or the horizontal spindle is being used. Carry out the cycle after indexing the front position (M73) of the swivel head. Is the PAXI data correct? (0030 3E Cause Measures: In the touch sensor zero setting eycle for the vertical spindle in the radial direction on the MCM, tho swivel hoad is not indexed at tho front position, or the horizontal spindle is being used. Carry out the cycle after indexing the front position (M73) of the swivel head. Is the PAXI data correct? (0030 OKUMA MACHINERY WORKS LTD, Code. (HEX) 3286-E P-88 SECTION 7 ALARM LIST (PART III) Cause and Measures to Take ‘Subprograms Cause Measures In the touch sensor zero setting cycle for the horizontal spindio in the longitudinal direction on the MCM, swivel head is not indexed at the right position, or the vertical spindle is being used. Carry out the cycle alter indexing the right position (M76) of the swivel head. Is the PAXI data correct? 0030 40 Cause Measures In the touch sensor zero solting cycle for the horizontal spindle in the radial direction on the MCM, swivel head is not indexed at the right position, ar the vertical tool is being used. Cany out the cycle after indexing the right position (M76) of the swivel head Is the PAX! data correct? ‘0030 a ‘Cause Measures “The tool number for the angular attachment is 762 of TSS. For the angular attachment tool, only ‘T61 (90° angular attachment) can be used for tool length offset) Check if the T command is correct. 42. Cause ‘The power supply for the optical type touch probe cannot be tured on, 0016 43 Cause The power supply for the aptical type touch probe cannot be turned off, 0017 OKUMA MACHINERY WORKS LTD. 3286-E P-89 SECTION 1 OVERVIEW (PART IV) PART IV AUTOMATIC MEASUREMENT FUNCTION (DIMENSION CHECK AND AUTOMATIC ZERO OFFSET) SECTION 1 OVERVIEW This is a system for automatically checking the dimensions of workpieces and autom: ‘out zero offset by means of a touch sensor (louch probe). The touch probe to be used has a shank the same shape as conventional cutting tools. ‘This touch probe is sot in the spindle, then it Is brought into contact with the measuring plane of the ‘workpiece, and the workpiece dimensions are automatically measured by calculating the position of the workpiece (at time of contact with the probe) in relation to the machine coordinate system values stored in the NC memory. The results of this measurement are then displayed on the CRT, and the NC program judges whether these results are acceptable or not. In addition, an output function for transferring the measurement results to a printer is available as an option Based on the measurement results, the zero point can be offset to the requirad position in relation to the work coordinate system, This operation is executed by the subprogram supplied by our ‘company, ‘The specification for this system are divided into the following two types: (1) Specification tor dimerision check (2) Specification for automatic zero offset (including dimonsion check) 1 Dimension Check ‘The following four gauging patterns are availablo: (1) Inside Diametor Measurement objective : The center position of the inside diameter of the workpiece and its diameter are automatically measured. Evaluation of re: Possible (2) Outside Diameter Measurement objective : The center position of the outside diameter of the workpiece and its diameter Evaluation of result Possible (3) End Face Measurement objective : The position of a specified workpiece end face the workpiece in the %-, Y- or Z-axis directions Evaluation of result Possible OKUMA MACHINERY WORKS LTD. 8286-E P-80 SECTION 1 OVERVIEW (PART IV) (4) Calculation of Center and Distance Between Two Set Points Measurement objective : The center and the distance between two points measured in the operations (1) through (3) Evaluation of result Possible ‘The results obtained from the gauging cycles (gauging results) are automatically compared with the theoretical values (anticipated values) and the difference is calculated, and it is judged whether that difference is acceptable or not. This function can be used for the following purposes: ~ Work dimension management = Recognizing of workpiece types (or pallet table) = Zero point confiemation Automatic Zero Offset Basad on the results obtained from the gauging cycle, zero point can be offset so that the position, ‘where dimension check was carried out, then becomes the required coordinate value in relation to the required work coordinate system. OKUMA MACHINERY WORKS LTD. 3286-E P-91 SECTION 2 PATTERNS (PART IV) SECTION 2 PATTERNS ‘When using the automatic gauging function, the operational procedure to follow is expressed as follows: ~ NO_-“Toueh ote sel n verieal TS machine NO, svat MEM? Yes eoindio?. ‘Soting of datuin hole 2070 point Touch proba ONIOFF eck “Touch probe radius compensation “Touch prove length set A Dimension check ‘Automate zero ofset Note. Carry out these operations periodically to maintain machining accuracy. For example, we recommend that these operations be executed when the touch probe is set in the magazine during setup. Note: Setting of the datum hole zero point should be ‘carried out only when the touch probe is sot in vertical spindle (horizontal spindle for MC-H). The operation is executed when carrying out management of the workpiece dimensions, recognizing workpiece types and carrying out automatic zero offset This operation is executed when carrying out automatic Zoro offset based on the results obtained from the dimension check. The following explanations are given for automatic operation, therefore refer {0 the sections on program operation for each explanation as required. OKUMA MACHINERY WORKS LTD. 3286-E P-92 SECTION 2 PATTERNS (PART 1) Setting of the Datum Hole Zero Point Carry out setting of the datum hole zero point only when the touch probe is set in the spindle (vertical spindle in the case of vertical machining center and honzontal spindle in the case of horizontal machining center). (Do not carry out setting of zero point when the touch probe is set in the horizontal spindle of MCM.) a (2) ) (4) (5) (8) install a master ring which has accurately measured diameter hole of @20 mm or larger in it Observe this step strictly. (In the case of the MC-H, the master ring is installed at the fixed position before shipment with ‘an exception tor MC-4014,) Accurately align the center of the daturn hole with that of the spindle by a sing gauge, etc. Camry out this aligning step using the pulse handle, After the setting of the zero point, carry out zero return in the MDI mode at a rapid feedrate and then check the zero point again by measuring it Feed the Z-oxis only in the plus (+) direction, remove the sling gauge from the spindle and replace with the touch probe, Feed the Z-axis in the minus (—) direction up to just before the position where the touch probe front edge ball enters the datum hole. Bring the tip of the touch probe into the datum hole from approximately 5 - 7 mm away from the edge of the datum hole, ‘At this position execute the following program alter selecting the automatic mode: CALL 0021; Moa: By this operation, the zer0 point is set so that the actual position of the touch probe becomes X=0, Y=0 and Z=0 at work coordinate system No. 53. The results can be confirmed on the CHECK DATA screen. The results are displayed as system variables VZOFX(53), VZOFY[53] and VZOFZ|S3} in the system variables display. AUTO OPERATION ann # vzor sco BERREEBREE eeeesese SREERRBOEE * Refer to the check display item "OSPS020M Operation Manual” for details of the information on the CHECK DATA screen. OKUMA MACHINERY WORKS LTD. 8286-E P-93 SECTION 2 PATTERNS (PART IV) (7) End Note: As work coordinate system No. 53 is exclusive to the automatic gauging specification, it can neither be set nor referenced to by conventional methods. Touch Probe Radius Compensation Cycle Execute this cycle once per week in order to maintain machining accuracy. (1) Execute the datum hole zero point setting cycle. Note ithe touch probe radius compensation cycle is carried out without executing the datum hole zero point setting cycle, then the touch probe radius compensation cycle cannot be controlled. (2) With MCM series machining centers, setting of the datum hole zero point is not carried out when the touch probe is set in the horizontal spindle In this case follow the steps below: 2) Install a master ring which has accurately measured diameter hole of 220 mm or larger in it, Observe this step strictly b) Accurately align the center of the datum hole with that of the spindle by a sling gauge, etc. Cany out this aligning step using the pulse handle, After the setting of the zero point, carry out zero return in the MO! mode al a rapid feedrate and then check the zero point again by measuring it. ‘The sotting of zero point should be carried out using the keyboard in the ZERO SET mode. c) Feed only the longitudinal axis and remove the sling gauge from the spindle then set the Touch probe in the spindle Display the ATC TOOL NO. of the TOOL DATA SET screen or in the MANUAL mode, and ‘weite the data as “tho horizontal spindle is currently in use” at the actual tool number ) Food an axis until the touch probe front edge ball enters the datum hole. Bring the tip of the touch probe into the datum hole by approximately 6 - 7 mm from the edge of the datum hole. (3). Inthe case of the MC-H, turn B-axis so that the datum hole comes to the spindle side. (4) Input VNCOM[1}=8 through the keyboard after selecting the MDI mode and touch the probe by hand to check ON/OFF status of the touch probe signal. The ON/OFF status of the signal can be confirmed by the indication on the POSITION screen or by the lamp on the operation panel, (6) Sot the touch probe in the spindle, and execute the following program after selecting the automatic mode: CALL 0010 PMOD=9 PDI= (diameter of datum hole) POVT Moe; Note 1: Al this time, commands must be given in the units presently being used. Note 2: For the variables used in this program, refer to Section 4, 2. OKUMA MACHINERY WORKS LTD. 9286-E P-94 SECTION 2 PATTERNS (PART IV) (8) At this point, the touch probe enters the center of the dalum hole whereupon the radius Compensation cycle is executed. Jn tho case of the MCM horizontal spindle, the touch probe move direction is automatically determined and the touch probe radius compensation cycle is carried out at the actual position without executing the steps a), ¢), d), and @) below. (Set the touch probe in the horizontal spindle in either the automatic or MDI mode operations.) ‘The movements of the touch probe are as follows: 1a) The Z-axis moves to the plus (+) travel end with an exception for MOM horizontal spindle b) The spindle is oriented. Note. For contimation of the signal from the touch probe, the spindle might rotate approximately one hel turn and then is oriented. (Refer to Section 8, “1. Confirmation of Operation of Proximity Switches” ) ©) The X- and Y-axis move at a rapid feedrate to the center of the datum hole with an exception for MCM horizontal spindle. d) The Z-axis moves at a rapid feedrate so that the tip of the touch probe comes to 30 mm in front of the datum hole with an exception for MCM horizontal spindle, ©) The Z-axis moves at a rapid feedrate for a further 30 mm and the tip of the touch probe enters the datum hole with an exception for MCM horizontal spindle. f) The datum hole gauging cycle is carried out in the following order: Xaxis in plus (+) direction Xcaxis in minus (—) direction Y-axis in plus (+) direction Y-axis in minus (~) direction With the MCM horizontal spindle, gauging cycle order differs depending on the swivel head position, See Table 2-1 Table 2-1 Gauging Cycle Order Touch Probe Direction Wa oa Hoconta [78 let) sande (M75 {rear) M76 fii 9) The Z-axis moves at a rapid feedrate to the plus (+) travel end. ‘With the MGM horizontal spindle, the axes stop at the center of the datum hole. OKUMA MACHINERY WORKS LTD, 9286-E P-95 SECTION 2 PATTERNS (PART IV} (7) The results are stored in cutter radius compensation numbers as indicated in Table 2-2, and can be confirmed by the display on the CHECK DATA screen. The values are displayed at the system variables Table 22 Direction MGM Horizontal Spindle ‘Gutter Radiat Spindie M73 Mra 7s M76 Compensation Value (iron) (ott) (rear) (eigat) 2% VTOFO(a0i) ‘VTorD(309) | VTOFHI303) | VTOFOGSI7) x VTOFD(302] | VTOFHISO1) | VTOFOISIO} VTOFOIS1@) + ‘VrOF (803) | VTOFO[S07} | VTOFH(302) | VTOFDIa15) Y ‘VTOFDI304] | VTOFO(308} vTorD[316) | VIOFH(30q) viorD(s08) | VTOFOS11} | vToFDIsta! | VTOFDLa20) VTOFH(205] | VTOFO[s05) | vTOFDIs12) | VIOFOIS+4) | VTOFDIT9] AUTO OFERATION Aran " TORK IND sie00 Ee s288001208 {8) After making sure that the compensation data has all been set at the cutter radius ‘compensation numbers, carry out the following: 8) Carry out the 1D gauging eycle on the hile which was used for the radius compensation cycle. See Section 2, 4. b)_ Display the PERSONAL screen and compare the data for the anticipated center value and measured center value. Make sure that the difference between these values is within several microns. ©) Replace the touch probe currently set in the spindle with the sling gauge. ) Revolve the spindie to check the reading of the sling gauge. Mako sure that tho difference among the siing gauge indicating value, measured center value, and anticipated center value is fess than several microns each other. OKUMA MACHINERY WORKS LTD. 8286-E P-96 SECTION 2 PATTERNS (PART LV) (9) End. Note: As cutter radius compensation numbers 301 through 320 are exclusive to the automatic gauging specification, they can neither be set nor referenced to by conventional methods. Touch Probe Length Offset Cycle Reference tool PLI (approximate tool length offset value of the touch probe in relation to the reference tool) PEI (coordinate values of the (1) Position X- and Y-axis so that the touch probe is at the end face of the workpiece that is to be measured in the Z-axis direction. Carry out all axis movements up to this point by executing the programmed commands. lf manual or MDI mode operation is convenient, this positioning can be carried out manually or by using MDI command, AL this time, it doas not matter how far the tip of the touch probe is away from the gauging plane of the workpiece, (2) At this position, execute the following program by automatic operation: CALL.0010 PMOD=8 PEI=(coordinate values of the measuring plane in Z-axis) PLI= (approximate tool length offset value of the touch probe); oz; (3) At this point, the tool length offset of the touch probe is automatically measured. Namely, when the same measuring plane has been measured, the offset value is calculated so that the result oblained from the gauging cyole is the value set at PEI ‘The movements of the touch probe are as follows: a) Spindle orientation might be carried out to confirm the signal from the touch probe. (Refer to Section 5, 1.) b} The Z-axis moves in the minus (~) direction and measures the position of the end face ot the workpiece in the Z-axis direction, ¢} The Z-axis movos in the plus (+) direction and comes to a stop at ils original position. The X- and Y-axis do not move while the touch probe length offset cycle is being executed. OKUMA MACHINERY WORKS LTD. 3286-E P-97 SECTION 2 PATTERNS (PART IV) (4) The result is stored in tool length offset number 305. With MOM series machining centers, they are stored in tool length offset numbers 301 through 305. (Refer to Table 2-3.) Table 23 Boao] Te Toon Spo etal arg we M75 we ie doy | Mah tis | ey Teor eight ina number | OA a0m] | VioroteniT | WroFoeeal | VToroTeaaT | VIOFORON ‘The results can be confirmed on the CHECK DATA screen. ‘The values are displayed at the system variable VTOFH|901] through VTOFH|305]. AUTO OPERATION anc 100 w100 cer para sgySTEN VARLABLE® PACE 379.001 VTOFD IN] Bee 3 bie is Biew he vTorW IN) ous eas EERERERERE (6) End Note: As tool length offset numbers 301 through 308 are exclusive to the automatic gauging specication, they can neither be set nor referenced fo by Conventional methads. OKUMA MACHINERY WORKS LTD. 3286-E P-98 SECTION 2 PATTERNS (PART IV) Inside Diameter (ID) Gauging Cycle (1) Execute the program to bring the tip of the touch probe to the anticipated center of the hole of the workpiece to be measured (2) At this position, execute the following program by automatic operation: CALLO010 PMOD=7 PDI= (anticipated diameter of the hole to be measured); Mo2; (8) At this point, the ID gauging cycle is automatically executed. When the touch probe is set in the MCM horizontal spindle, the direction of the touch probe is automatically judged and ID gauging cycle is executed. (Sot the touch probe in the spindle in oither the automatic or MDI mode operations.) ‘The movements of the touch probe are as follows. a) Spindle orientation is carried out. “The signal from the touch probe might be confirmed.(Roefer to Section 6, 1.) b) Tho ID gauging cycle is carried out in the following order: X-axis in plus (+) direction Xcaxis in minus (~) direction Y-axis in plus (+) direction Y-axis in minus (—) direction X-axis in plus (+) direction X-axis in minus (—) direction With MCM series machining centers, the ID gauging cycle is carried out in the order as indicated in Table 2-4 depending on the touch probe insiallation direction, Table 2-4 Gauging Cycle Order o}eale]@ lo |] o Touch Probe Divection Vertical Spindle x [oy | yf x 73 (iront) y[w{2itwily Horizontal [M74 (ott x |-2 | 2] xf Spindis [75 (ean) wy | -¥ [2 z_[¥ Y M76 (Fahd) x nH eZ ox [x ©} The touch probe comes to a stop at the center of the hole - the result of the gauging cycle. ‘The Z-axis does not move while the ID gauging cycle is boing executed. OKUMA MACHINERY WORKS LTD. 3286-E P-99 SECTION 2 PATTERNS (PART IV) (4) The results are displayed on the operation panel CRT on the PERSONAL screen. (1) Pross the function key Press the function key [F8) (EXTEND). (Fa] (PERSONAL) (5) Retract the touch probe using tha programmed commands, (6) End (7) Program example | LEOMMANG: so x00: HI Touch probe length offset value 50 750 HR (H305 can also be used.) i305 61 28 F100: mai: CALL 0010 POET —POI=z00 60 2600; woz OKUMA MACHINERY WORKS LTD. 93286-E P-100 CTION 2 PATTERNS (PART LV) Outside Diameter (OD) Gauging Cycle (1) Execute the program to move the X- and Y-axis to the anticipated center of the outside diameter of the workpiece to be measured. Then position the Z-axis so that the tip of the touch probe is at a position within ten to soveral tons of millimeters away from the measuring point Carry out movement of the Z-axis by executing the programmed commands. (2) Attthis position, execute the following program by automatic operation: CALL—0010—PMOD = 6—PDI PIN M02; * PZIN may be used instead of PIN {anticipated diameter of measuring outside diameter) intrusion amount in Z-axis direction); However, PIN (PZIN) is set in an absolute value. {incremental value; positive) (8) At this point, the OD gauging cycle is automatically executed. ‘The movements of the touch probe are as follows: || — { Touch probe i > —s" [Diameter to be: “imeasured “/, SAEED OLE? 1a) Spindle orientation is carried out. ‘The signal from the touch probe might be confirmed. (Refer to Section 5, 1.) b) The OD gauging cycle is cartiod out in the following order: X-axis in plus (+) direction Xcaxis in minus {~) direction Y-axis in plus (+) direction Y-axis in minus (~) direction Xaxis in plus (+) direction X-axis in minus (~) direction With MCM series machining centers, the OD gauging cycle is carried out in the order as indicated in Table 2-4 depending on the touch probe installation direction. ©) The touch probe comes to a stop at the center of the outside diameter - the result of the gauging cycle. OKUMA MACHINERY WORKS LTD, 3286-E P-101 SECTION 2 PATTERNS (PART 1V) (4) The results are displayed on the operation panel CRT on the PERSONAL screen. AUTO OPERATION Serum omsiwe piereoe we. fo pecrsnan| ‘seve Tass ressmie] cextenos (8) Retract the touch probe using the programmed commands. (6) End (7) Program example In this program, positioning of Z-axis is carried out at a rapid feedrate. 60 656 cate co moa: xo yO3 10 Hise oto PMOoes Por=200 = COMMAND = H1 : Touch probe length offset value (H305 can also be used.) ‘Touch probe || PIN (eziny 9286-E P-102 SECTION 2 PATTERNS (PART LV) axis End Face Gauging Cycle (1) Position the axos so that the tip of the touch probe is at a position within 10 mm to soveral tens of millimeters away from the end face of the workpiece to be measured in the X-axis, Carry out movernent of the Z-axis by executing the programmed commands. 2) At this position, execute the following program by automatic operation: CALLO010 PMOD=1 PEI= (anticipated position of end face in X-axis); Moe; (8) At this point, the system automatically determines X-axis movement direction and executes the end face gauging cycle, The movements of the touch probe are as follows a) Spindle orientation is carried out. The signal from the touch probe might be confirmed. (Refer to Section 5, 1.) b) The X-axis moves towards the end face to be measured. ©) Alter the position of the end face has been measured, the X-axis returns to its original position and comes to a stop. The Y- and Z-axis do not move while the X-axis end face gauging cycle is being executed. (4) The results are displayed on the operation panel CRT on the PERSONAL screen, AUTO OPERATION serez.ncn EGDEDED (8) Retract the touch probe using the programmed commands. (6) End OKUMA MACHINERY WORKS LTD. (7) Program example co 66 M1205 Gi 2-8 F100; Maat: CALL 9010 PMON=t PET=~100; 0 2500; woe: 3286-E P-103 SECTION 2 PATTERNS (PART IV) = COM Ht: Touch probe length offset value (305 can also be used.) 100 (394) OKUMA MACHINERY WORKS LTD. 3286-E P-104 SECTION 2 PATTERNS (PART IV) 7, Y-axis End Face Gauging Cycle a co) (3) (4) (8) (6) Position the axes so that the tip of the touch probe is at a position within 10 mm to several tens of milimeters away from the end face of the workpiece to be measured in the Y-axis. Carry out movement of the Z-axis by executing the programmed commands, At this position, execute the following program by automatic operation: CALL.0010 PMOD=2 PEI= (anticipated position of end tace in Y-axis); 02; ‘Av this point, the system automatically determines Y-axis movement direction and executes the end face gauging cycle, The movements of the touch probe are as follows: a) Spindle orientation is carried out, “The signal from the touch probe might be confirmed. (Refer to Section 5, 1.) b) The Y-axis moves towards the end face to be measured. ©} Alter the position af the end face has been measured, the Y-axis returns to its original position and comes to a stop. Tho X- and Z-axis do not move while the Y-axis end face gauging cycle is being executed. ‘The results are displayed on the operation panel CAT on the PERSONAL screen, AUTO OPERATION Serenn feces Rotract the touch probe using the programmed commands, End OKUMA MACHINERY WORKS LTD. 3286-E P-105 SECTION 2 PATTERNS (PART IV) Z-axis End Face Gauging Cycle (1) Position the axes so that the tip of the touch probe is at a position within 19 mm to several tens of millimeters away from the end face of the workpiece to be measured in the Z-axis. Carty out movement of the Z-axis by executing the programmed commands. (2) At this position, execute the following program by automatic operation: CALLOO10 PMOD=8 PE Moz; (3) Atthis point, the system automatically determines Z-axis movement direction and executes the end face gauging cycle. = {anticipated position of end face in Z-axis); Tho movements of the touch probe are as follows: a) Spindle orientation is carried out The signal from the touch probe might be confirmed.(Refer to Section 6, 1.) b) The Z-axis moves towards the end face to be measured. } Alter the position of the end face has been measured, the Z-axis returns to its original position and comes to a stop. The X- and Y-axis do not move while the Z-axis end face gauging cycle is being executed (4) The results are displayed on the operation panel CRT on the PERSONAL screen. AUTO OPERATION cemtmm 6 4 Soeissiee oxo : (6) Rott the tou (©) End probe using the programmed commands. OKUMA MACHINERY WORKS LTD. 9286-E P-106 SECTION 2 PATTERNS (PART IV) 9. Moving of Gauging Cycle Results The results obtained from the gauging cycle are stored in the NC memory, and are updated to the new results when the next gauging cycle is executed. This updatad data storage area is called A memory. ‘The NC memory also has an extra memory in which all the results obtained from previous gauging oycles are stored which can be referred to as required. This data storage area is called 8 memory. ‘The procedure to transfer the contents in A memory to B inemory is explained below. (1) Copy out any measurement cycle. (2) Thon, execute the following program by automatic operation.(Let us suppose that the initial measuring point was the inside diameter.) CALL0010 PMOO=15 PAXI=3; M02; Alter the execution of the gauging cycle, inforrnation is automatically stored in A momnory. Set the data at parameter PAX! as indicated below depending on the type of the gauging cycle to be executed, Table 25 Information Stored in A Gauging Cycle Type | yore PAX 1D eave Center pomtatXand Vanes | 8 OD gauging Center point of X and 2 axes 5 Only for MOM —— § horizontal Genter point of ¥ and 7 aes 6 spindle X-axis end face gauging _| Gauging point on X end face 1 ‘Y-axis end face gauging | Gauging point on ¥ end face 2 Z-axis end face gauging | Gauging point on 7 end face 4 (3) By this program, the contents of B memory are replaced with those of A memory Accordingly, the contents of B memory become the results obtained from the initial measurement (4) End ‘Axes are not moved by moving the measurement results. OKUMA MACHINERY WORKS LTD, 3286-E P-107 SECTION 2 PATTERNS (PART IV) 10, Calculation of Center and Distance between Two Set Points ‘The dala stored in memories A and 8 is compared, and the center and distance between tho two centers for which data is stored is calculated. The distance between the two points can only be calculated in terms of distances along the X- and Y axis. ‘The following program is for calculating the center and distance between two measured points; point 1 and point 2. (1) Measure point 1 The results obtained from measurement of point 1 are stored in A memory. (2) Execute the following program. For the purpose of this example, let us assume that point 1 vas the center of the inside diameter. CALL.0010 PMOD=15 PAXI=3; M02; By this program, the results obtained from measurement of point 1 ara stored in B memory. (3) Measure point 2. ‘The results obtained from measurement of point 2 are stored in B memory. (4) Execute the following program. For the purpose of this example, lat us assume that point 2 was the center of the inside diamater. CALLOO10 PMOD=14 PAXI'=9; Moe; * Rofer to Table 2-5, (5) By this program, the center and distance between points 1 and 2 is calculated and is stored in ‘A memory. OKUMA MACHINERY WORKS LTD, 9286-E P-108 SECTION 2 PATTERNS (PART IV) (6) Tho resuits are displayed on the operation panel CAT on the PERSONAL screen, AUTO OPERATION savcirin pistes seen HeUCe 1 Fonrssrar ome Peisbieae ener No betston (7) End ‘Axes are not moved during the calculating of the center and distance between two points. (8) Program example co 658 CALL CALL so CALL ALL 60 02; wo Y95., 2-6 Hh ‘0010 PMOD%7 POT=200 0010 PAoD=35 PA G56 140 FL xG00Y-300 7-5; oto oto 2500: = COMMAN Hi: Touch probe length offset value (#805 can also be used.) 300 (11.81) Center between ay em two points § Point 2 OKUMA MACHINERY WORKS LTD, 3286-E P-109 SECTION 2 PATTERNS (PART IV) 11. Gauging the Distance between Two Faces (1) Overview ‘The functions to carry oul the gauging of the distance/center between the {wo wall inner faces and the distanceicenter between the two projection outer faces are added to the automatic gauging function eycles. a) Gauging the distanceicenter between the two wall inner faces ——> Skip feed ----> Rapid food b) Gauging the distancecenter between the two projection outer faces OKUMA MACHINERY WORKS LTD. 2) 8286-E P-110 SECTION 2 PATTERNS (PART IV) Program Forrnat a) Gauging the distance/conter between the two wall innor facos CALL. O010 PMOD: PELI=" (PELE (PCE=") (PGO=4) (PuoT=*) (POVT=") (VNUM=") Assured distance between two faces, Permissible center error ‘Touch probo does not stop at error over alarm, ‘Touch probe stops at error over alarm. X direction Y girection Z direction Permissible distance error Undertravel distance (safety clearance to the sensor) ‘Overtravel distance (sensor damaging prevention distance) Measurement number PMOD and PEL! must always be designated, Variables in ( ) should be designated as needed, b) Gauging the distance/center between the two projection outer faces CALLO010 PMOD=" PIN=” (PGo (vNuM PIN + Longitudinal infeed distance Others: Samo asin a) PMOD, PEL! and PIN must always be designated. Variables in (_} should be designated as needed. OKUMA MACHINERY WORKS LTD. 9286-E P-111 SECTION 2 PATTERNS (PART IV) (8) Personal Screen Display DISTANCE BETWEEN POINTS “VMUM" x EXPECTED CENTER POSITION a a a PERMISSIBLE ERROR b b b MEASURED CENTER POSITION c © e EXPECTED DISTANCE gd d d PERMISSIBLE ERROR e e e MEASURED DISTANCE t f f 9 a: EXPECTED CENTER POSITION The coordinate vaive of the position where positioning is first made at the start of the ‘gauging cyclo: display is given only for the axis to be gauged. b PERMISSIBLE ERROR (PCE value) Displayed when the value is designated. ©: MEASURED CENTER POSITION The gauged center coordinate; display is given only for the axis to be gauged. d: EXPECTED DISTANCE PEL value is displayed. @ : PERMISSIBLE ERROR (PELE value) Displayed when the value is designated. t MEASURED DISTANCE The gauged distance; display is given only for the axis to be gauged. 9: Judgement Jucigernent result for the gauging cycle is displayed; OK if the result is acceptable. If the result is not accepted, the alarm content is displayed. OKUMA MACHINERY WORKS LTD. 3286-E P.112 SECTION 2 PATTERNS (PART IV) 12. Automatic Zero Offset Cycle (4) Measure the required point to be sot as zero. (The center of the two points obtained in the previous calculation in Section 2, 10 may be set as zero.) (2) Execute the following program by automatic operation CALL 0020 PHN-= (work coordinate system number for which zero olfset is carried out) PX= (coordinate value attor oxecution of zero offset of measuring point in X-axis) PY= (coordinate value after execution of zero offset of measuring point in Y-axis) PZ= (coordinate value after execution of zero offset of measuring point in Z-axis); Note: ‘Specily only the axis (PX, PY or PZ) for which zero offset is required. Never designate axes which have not been measured. Zero oifset is not executed unless PHN is designated. An alarm (ALARM-B 607) occurs. (8) At this point, zoro offsot is carriod out so that the coordinate values of the measured points become PX, PY and PZ in the work coordinate system designated by PHN. Zoro point of the axes not specified is not offset. (4) The results are displayed on the operation panel CRT on the PROGRAM ZERO scroon. (5) End ‘Axes are not moved during automatic z0r0 offset operation, Note t: Automatic zero offset is impossible it the control is reset alter measuring the dimensions. ‘An alarm (ALARIM-B 509) occurs. Note 2: Execute the automatic zero offset cycle command immediately alter the execution of a ‘gauging cycle (ID gauging cycle, OD gauging cycle, end face gauging cycle) or the Gyole t0 gauge the center point or distance between the two points. (6) Program example (the conter of the inside diameter set at 0) = GOMMAND, Hi: Touch probe length offset value oo x00 (H306 can also be used.) ose 8 Sha CALL 0010 PNOD"7 POT=300: CALL PK PYeD: co wo2s OKUMA MACHINERY WORKS LTD. 3286-E P-113 SECTION 2 PATTERNS (PART IV) 13. Copy Function for Touch Probe Offset Values ‘This function is prepared only for MCM series machining centers. The tool iength offset and cutter radius compensation values of the touch probe, which are measured with the touch probe set in the vertical spindle can be used as the offset data for the touch probe when it is set in the horizontal spindle by using this function. This function is, therefore, used conveniently if precision is not required. (1) Carry out the too! fength offset data and cutter radius compensation data measuring cycle for the touch probe after setting it in the vertical spindle. (2) Execute the following program in the automatic operation: CALL 0022; Mo2; (3) Offset and compensation data of the touch probe set in the vertical spindle, stored in VIOFH[305] and VTOFD[301] - VTOFD[304), are copied to the compensation data addresses VIOFH|301] - VTOFH(304), VTOFD[305] - VTOFD|320] which are referenced for the individual touch probe directions M73, M74, M75 and M76. (4) The data copied can be confirmed on the CHECK DATA screen, AUTO OPERATION am oon TOPE EMT VTORD (N) jeresee] sata) Jeon ©) End Note: This function updates all the compensation data with the data for the vertical spindle ‘even ifthe horizontal spindle data have been set. OKUMA MACHINERY WORKS LTD. 8286-6 P.114 SECTION 8 TOUCH PROBE MOVEMENTS (PART IV) SECTION 3 TOUCH PROBE MOVEMENTS ln the previous section, a general breakdown of the touch probe movements in the various automatic gauging cycles was given. In this section, a more deiailed explanation of the touch probe movements is given taking gauging cycle for inside diameter as an example, ‘Tha solid ines represent a cutting feadrate. ‘The broken lines represent a rapid feedrate. The touch probe movements for measurement are shown as (1) through (6) in the diagram. Each of the movements (1) through (6) may be regarded as a single gauging cycle on end face. Here follows a detailed explanation of the touch probe movements when carrying out a gauging cycle on end face. puor,| Pvt p-PuDT,| FOVT ° “70. Position © Position A. / Position 8 The solid lines represent a a cutting feedrate, aes The broken lines represent a rapid teedrate 3) Anticipated position of end face to be measured OKUMA MACHINERY WORKS LTD, a @ @ “ (5) (6) ” (8) (@) 3286-E P-118 SECTION 3 TOUCH PROBE MOVEMENTS (PART IV) ‘The present position of the touch probe when subprogram 0010 is called is stored in the NC memory as position A. ‘The position in front of the anticipated position of the end face to be measured for the amount displayed by PUDT is calculated. This position is position B. If PUDT is not set when subprograrn 0010 is called, PUDT is automatically set as 10 mm, When position A is already close to the anticipated position of the end face to be moasured ‘rom position B, then movement (4) is omitted and movement (5) is carried out, ‘The touch probe advances at a rapid approach speed to position B. At this time, when the shift amount between the actual position and the anticipated position of the end face to be measured is great, or when it has come into contact with the end face to be measured while advancing to postion B, then a gauging impossiblo alarm occurs. When the gauging impossible alarm has occurred, the touch probe returns to position A at a rapid feedrate and comes to a stop. If the touch probe stops during advancing due to signal reception error (for FM type touch probe}, it returns to position A at a rapid feedrate and then advances toward position B once again. fit stops again during this second advancing due to signal reception error, it returns to position A al 2 rapid feedrate and a gauging impossible alarm occurs. The position beyond the anticipated position of the end face to be measured for the amount displayed by POVT is calculated. This position is position C. When POVT is not set when subprogram 0010 is called, POVT is automatically set as 40 mm, The touch probe advances at a rapid approach speed to position C. When the touch probe has come into contact with the end face to be measured while it is advancing to position C, it stops at that position. Al this time, when the touch probe has not come into contact with the end face to be measured even if the touch probe has advanced to position C, then in this case too a gauging impossibie alarm occurs. When the gauging impossible alarm has occurred, the touch probe returns to position A and comes to a stop. I the touch probe stops during advancing due to signal reception error (for FM type touch probe), it returns to position 8 at a rapid feedrate and then advances toward position G once again, It it stops again during this second advancing duo to signal reception error, it returns to position C at a rapid feedrate and a gauging impossible alarm occurs. The touch probe returns at a rapid feedrate to a position 0.5 mm in front of the position where it camo into contact with the end face to be measured. ‘The touch probe advances at a slow approach speed to a position 1 mm beyond the position where it came into contact with the end face to be measured. When the touch probe comes into contact with the end face to be measured again while it is advancing, thon it comes to a stop. If the touch probe stops during advancing due to signal reception error (for FM type touch probe), it returns © position as indicated in step (7) al a rapid feedrate and then advances toward the end face to be measured once again. If it siops again during this second advancing due to signal reception ertor, it rotums to position A at a rapid feedrate and a gauging impossible alarm occurs ‘The touch probe returns to position A. (10) End OKUMA MACHINERY WORKS LID. Note 1: Note 2: Note 3: 3286-E P-116 SECTION 3 TOUCH PROBE MOVEMENTS (PART IV) The position where the touch probe came into contact with the end face to be measured is the position where the limit switch inside the touch probe was activated. Therefore, the actual position of the tip of the touch probe is 0.1 - 0.2 mm beyond the position where it has come into contact with the end face to be measured. When the gauging cycle has been completed, the touch probe comes to a stop at the center of the hole for which measurement was carried out in the case of inside and outside diameter gauging cycles. For POVT and PUDT, sot a value largor than 3 mm. OKUMA MACHINERY WORKS LTD. 9286-6 P17 SECTION 4 APPROACH SPEED TO THE WORKPIECE (PART IV) SECTION 4 APPROACH SPEED TO THE WORKPIECE Touch probe a) (1) Approach Speed a) First approach speed (axis feedrate for approaching from the assumed gauging point to the point leaving safety clearance to the workpiece) ~ Designate PF1 =" when calling the subroutine. Approach speed to the workpiece is: XY direction PF1 value X direction 1/2 x PF1 value Approach speed when PF1 is not designated: XV direction -. F4000 Zdirection ......... F200 Override setting is effective. ) Second approach speed (axis feedrate from the first approach point to the contact point) Designate PF2=" when calling the subroutine. = Approach speed to the workpiece is: XIVIZ direction ...... PF2 value - Approach speed when PF2 is not designated: XMIZ direction. . F100 Override setting is effective. ©) Third approach speed (axis feedrate from the point 0.5 mm away from the contact point to the contact point) - Fixed at F100 + Override setting is not effective. OKUMA MACHINERY WORKS LTD. 9286-E 118 SECTION 4 APPROACH SPEED TO THE WORKPIECE (PART IV) (2) Example of OD Cycle (CALL 010 PMOD=6) OKUMA MACHINERY WORKS LTD. 3286-E P-119 SECTION 5 VARIABLES USED IN SUBPROGRAMS (PART IV) SECTION 5 VARIABLES USED IN SUBPROGRAMS ‘An explanation of the basic command format was given in Section 2. In this section, an explanation of the variables necessary to make effective use of the functions is given 1. Table of Variables Used in Subprograms Sab] Variables for which Variable forwhich Numerical] Varobo program | Numercal Value Must | Value Should be Set as which Must Name” | be Set Required not be Used Datum hots | 0021 | None NOME None eee Measurement number Touch probe: 0010 | PMOD=9 VNUM: None etl Pol Measurement number ou Xroforonee hola Gameter Touch probe | 0010 | PMOD=8 NUM: None ength offset | PEL: Measurement number Zan enordinato nd face Paes Put Approvirnate tol (Chath oftast vale of touch probe imito” | 0010 POD =r PoE Non wed Pot Permissible error of dameter ‘anteipated diameter | PCE: gthole whose inside | permissible error of hole measured eee Pao=1 Touch probe dogs not stop at error over alarm. Pupt Undertravel distance POVT: Overtravel distance PMSR=1 Second measurement in X- axis is not cartiod out OKUMA MACHINERY WORKS LTD. 3286-E P-120 SECTION 6 VARIABLES USED IN SUBPROGRAMS (PART IV) Sub. Variables for which Variables for which Numerical] Variable program | Numerical Valve Must | Value Should be Set as which Must Name | be Set Required nt be Used inside Oo1d | PMOD=7 VNUW None diameter ; pe PO: Measuremont number Anticipated diameter | PF 1: afhole whose inside | soach epeed of fest dismoter isto be proach speed of fist pass measured Pr2: Approach speed of second pass Outside G01 FPMOD=6 BOE None diameter sauang Pot Permissible error of iamoter Anticipated diameter | POE of cylinder whose outside diameter is to be measured PIN (PZIN): ‘Amount of intrusion in Z-axis, Permissible error of outside diameter center PGO=1 Touch probe does not stop at error over alarm PUDT: Undortravel distance POVT: Overtravel distance Psi Second measurement in X- axis ts not carried out NUM: Measurement number PFI: Approach speed of first pass PF2: Approach speed of second pass: OKUMA MACHINERY WORKS LTD. S286-E Po121 SECTION § VARIABLES USED IN SUBPROGRAMS (PART IV) face gauging PEI: Anticipated position Of Y-axis end face to be measured Permissible error of Y-axis end face position PGO=1 Touch probe does not stop at error over alarm, PUT: Undertravet distance Povr: Overtravel distance VNUM: Measurement number PFI Approach speed of first pass PF2: Approach speed of second pass. Sub- | Variables for which Variables tor which Numerical | Variable program | Numerical Value Must | Value Should be Set as which Must Name | be Set Roguired not be Used Xaxisend | 0010 | PMOD PEE None! eeaeene Pt Pormissible error of X-axis Anticipated position Segue poeto of X-axis end face to | PGO= adieu Touch probe does not stop at error over alarm, PUDT: Undertravel distance Povt: Overtravel distance NUM: Measurement number PFI Approach speed of first pass Pra: Approach speed of second pass Yaxisend | 0010 | PMOD= PEE None OKUMA MACHINERY WORKS LTD. 9286-E P-122 SECTION § VARIABLES USED IN SUSPROGRAMS (PART IV) ‘Sub- | Variables tor which Variables for which Numerical] Variable program | Numerical Value Must | Value Should be Set as which Must Name | be Set Required not be Used Zaxis end | 0010 | PMOD=3 PEE: None jace gauging Pet Permissible error of Z-axis Anticipated position | 4 face position of Z-axis end face to | PGO=1 polmeeted Touch probe does not stop al error over alarm, PUDT: Undertravel distance POVT: Overttavel distance NUM Measurement number Pra Approach speed of first pass Pra: Approach speed of second pass | Gaugi Oo10 | PMOD: PELt oni = ‘Assumed distance between Between the X direction illacee ‘wo wall z PCE: inner faces =12 Permissible center error PGO Touch probe does not stop at error over alarm. PGO Touch probe stops at error ‘over alarm. PELE: Permissible distance error PUDT: Undertravet distance (safety clearance to the sensor) POVT: Overtravel distance (sensor damaging prevention distance) NUM: Measurement number PMOD and PEL! must always be designated. Y direction 13 Z direction OKUMA MACHINERY WORKS LTD, 9286-E P-123, SECTION 5 VARIABLES USED IN SUBPROGRAMS (PART IV) Sub] Variables for which] Varablos for which Numerical] Variable program | Numorcal Value Must | Valve Should be Sot as which Must Namo” | be Set Reauired fot bo Used Gauging the 0010 | PMOD: j PEL distance ait eeeeueeee nae fetween the x direction two foe ho PCE: projection = a ce crmissible center enor 3 Z direction PGO=1 Touch probe does not stop al ertor alarm. PGO=0 Touch probe stops at error alarm. PELE: Permissible distance error PuoT: Undertravel distance (safety clearance fo the sensor) Povr: Overtravel distance (sensor damaging prevention distance) PIN: Longitudinal infeed distance YUM: Measurement number PMOD, PEL! and PIN must always be designated. OKUMA MACHINERY WORKS LTD. 3286-E P-124 SECTION § VARIABLES USED IN SUBPROGRAMS (PART IV) =1 Moving of X-axis data =2 Moving of Y-axis data =3 Moving of X- and Y= axis data =4 Moving of Z-axis data =5 Moving of X- and 2- axis data =6 Moving of Y- and Z- axis data =7 Moving of X-, Y= and Zeaxis data Sub-—_] Variables for which Variablos for which Numerical | Vatiabie program | Numerical Value Must | Value Should be Set as which Must Name — | be Set Required not be Used Moving of (0010 | PMOD=16 None gauging results ene OKUMA MACHINERY WORKS LTD, 2286-E P-125 SECTION § VARIABLES USED IN SUBPROGRAMS (PART IV) Sab- | Variables for which | Variables for which Numeral] Variable program | Numeral Value Must | Value Should be Sot as which bust Namo. | be Set Reauired rot be Used Gacuiaton [6610 | PHIGD= TF PE one ee PAK Pormissible rrr Between two Pxck points, Calculation of X-axis data Calculation of Y-axis data Calculation of X- and Y-axis data Calculation of Z-axis data Calculation of X- and Zeanis data Catculation of Y- and Zanis data Calculation of X-, Y= and Z- axis data Anticipated position at X-axis center PXOE: Pentnissible error at X-axis center PXLI: Anticipated value of distance between XX PXLE: Permissible ertor of distance between PYck: Anticipated position at Y-axis center PYCE: Permissible error at Y-axis center PYLi Anticipated value of distance between Y-Y PYLE: Permissible ertor of distance between Y-Y Pzck: Anticipated position at Z-axis center PZCE: Permissible ertor at Z-axis, center P2L Anticipated value of distance between 2-2 PZLE: Pormissiblo orror of distance betwoen 2-2 Pa Touch probe does not stop at error over alarm. OKUMA MACHINERY WORKS LTD.

You might also like