You are on page 1of 41
CNC INSTALLATION MANUAL FOR _ MARUKA MORI SEIKI Ae ee LATHE c FANUC LIST_OF @ CODES K., Standard Special G Code @ Code Group Function G00 G00) A Positioning Ot G01 A Linear Interpolation G02 coz A Circular Interpolation CW GOs GOs a Circular Interpolation CCW Or Oh, {— * Dwell G20 Tach Data Input Gat Metric Data Input G27 Zero Return Check G28 atomatic Zero Return G29 G29) Return from Reference Point G30 I 630 Return from 2nd Reference Point! e352 G33 A Thread Cutting — ‘ a) GhO @ Tool Nose Radius Compensation Git GyI @ fool Nose Radius Compensation Left che Che @ Tool Nose Radius Compensation Right G50 692 * Programming of Absolute Zero Point, Programming of Spindle Speed G70 [ G20 * | Finishing cycle 71 671 * Stock Removal in Turning G72 Ge * Stock Removal in Facing \~ e735 G23 * Pattern Repeating G7, G7 a Peck Drilling in Z axis G75 G75 A Grooving in X axis 676 G76 A Thread Cutting 690 677 A Cutting Cycle A e92. G78 A Thread Cutting Cycle Gok G79 A Cutting Cycle B 696 696 B Constant Surface Speed Control 69? 69? B Constant Surface Speed Control Cancel 698 Gok Ez Feed amount per minute 699, G95 = Feed amount per revolution - : 90 c Absolute Command = 91 c Tneremental Command 5 ‘YASNAC LIST OF G CODES Se Gode. Group Function G00 At Positioning [cot A Linear Interpolation [ G02 A Circular Interpolation, CW [03 A Circular Interpolation, CCW { GOk * Dwell, | 606, Error Detect Off Positioning at A Beveling 12 A Rounding G13 Beveling command with specified angle Gy Rounding command with specified L angle G5 Beveling command on specified taper 16 Rounding command on specified taper G22 a Gizeular interpolation by radius, G23 A Circular interpolation by radius, cow J 627 * Zero return check G28 7 Automatic Zero Return G29 Branching to Special Reference Point _| 630 Returning to Second Reference Zero G31 Skip Function G32 1 A Thread Cutting Gh BE Tip Nose Radius Compensation Cancel {cat eUGHeeE, Tip Nose Radius Compensation No. 1 [ G42 | B Tip Nose Radius Compensation No. 2 G43 | B Tip Nose Radius Compensation No. 3 Gh i B Tip Nose Radius Compensation No. 4 G50 * Programming of Absolute Zero Point, Programming of Maximum Spindle- Speed LIST OF G CODES eergers Group Function 51 Current Position Display Zero Return 670 * Finishing cycle = G71 * Stock Removal in Turning 72 * ‘Stock Removal in Facing 73 = Pattern Repeating O74 * Peck Drilling in 2 Axis G75 * Grooving in X Axis 676 * Automatic Threadcutting 30 z Tarning Cycle 2, a Threading Cycle Goh A Facing Cycle 636 € Constant Surface Speed Control oo7 7 Constant Surface Speed Control Cancel 398 D Feed Amount Per Minute 699 D Feed amount Per Revolution M00 MOI Mo2 MOS Moy MOS MOB Mog M10 Mi m2 M1Z M17 M18 Mat M22 M23 Mah M30 Myt My2 M73 M74 N98 N99 SUMMARY OF FUNCTIONS cycle Stop Optional stop AA ¢ End of Program Spindle Forward Spindle Reverse Spindle Stop Coolant On Coolant Off Close Collet (Chuck) Open Collet (Chuck) Tail stock Out Tail Stock In Turret rotation forward Turret rotation reverse Tail stock movement forward (Effective only on SL-5 and SL-6) Tail stock movement resérve (Effective only on SL-5 and SL~6) Chamfering On Chamfering Off Rewind Spindle Low speed Spindle High Speed Parts Catcher Out - Standard on Si-2B Parts Catcher In ~ Standard only SL-2B Branch from main program in subroutine Return from subroutine to main program Note: For each block only one M code is allowed. If two are used, only the last one is effective, TOOLING .- Tool Holders and Sockets 0.D. cutting and facing tool holders 7-00040 ‘This holder holds a 25mm square cutting tool. The tool can be set in normal and up-eide-down settings. Standard overhand is 40um, © O @ Sk @ CONIA eee 7-00039 This holder holds a 20mm square cutting tool. The tool can be set in normal and up-side-down settings. Standard Cutting Tool Standard cutting tools Y are qualified tools with alg as shown at the left. : 15040.08 16°20.008) Reversed cut! dimensions and tolerances. 32 £0.08 tool application example (| cut tool: On the SL-3, a standard \ cutting tool is normally installed in the turret head directly as shown at the left. The tool is clamped with Oo the clamping block © O ib (8+27007) and the clamping clamping block gib (B-27008). 49 Glemping si 150 6 Normal cutting tool application example (0.D. cutting tool) The cutting tool can be _ installed as shown at the left by placing the clamping block and the comeing sin clamping gib on the tool. Clomeing block F Loosen the nozzle @ oo © clamping screw (8-16045), 5 and properly direct the nozzle (R-65005). Then, }-—40_ tighten the screw to ss") 150 secure the nozzle. 7 0.D. Cutting and Facing Tool Mounts Even-nunbered stations (2, 4, 6, 8, 10 and 12) on the 12-sided turret are shaped as follows. “Toot sition Now jactiarg port fixing serewe W605 oot earning block ‘Ba7007 coolant discharge port R505 zven-muabered stations (2, 4, 6, 8 and 10) om the 10-sided turret are shaped as follows. since positioning pins are not provided, centering must be carefully performed. when installing a boring bar holder, remove coolant nozzle (R-65005) and nozzle clamping screw (N-16045)- piseheroe port fixing serew WeieOES “Toot clamping block ‘B27007 ‘Too! etemaina sib ootany discharge port RESOOS 527006 Tail Stock Interference Diagram 0 oF Power Supply Make sure that POWER SOURCE lamp on the control board lights. Tura on the main switch. The hydraulic unit, DC main motor control panel (on the power board) and main motor cooling fan start. Press POWER ON button. POWER ON/OFF pushbuttons are located on the above left portion of the con- trol panel. ‘The display shown at the xight is produced on the cat. Press CONTROL ON button. Note: Press CONTROL ON button on the control panel to supply servo power. After approx. 3 seconds, the display on the CRT changes to that shown at the right. This completes power supply operation. Woen a function other than positional display is indicated, LSK (label skip) code is displayed at the status display portion at the bottom of the screen. NOT READY SYSTEM 6T. SERIES 992 VERS. 05 6 7 Qa @ aaw oO Ww @ aaa ce = © | 6 Usk { Lee Check that EMERGENCY STOP button is reset before pressing CONTROL ON button. Lf not, power will not. turned on. Turn clockwise to reset. Turning Power Supply Off Depress EMERGENCY STOP button. When this button is pressed, the machine is kept in the stop mode until the button is turned clockwise (to cancel). Depress POWER OFF button. When a function other than POS display is indicated on the CRT, © and EMERGENCY STOP | button is pressed, NOT READY is displayed at the status display © portion at the bottom of the screen. Turn off the main switch (no-fuse breaker). ‘The power lamp continues to‘light when the external switch is on even though the main switch is turned off. oFF| EMERGENCY STOP NOT READY Spindle Start ‘ Set MODE switch to HANDLE LOW The spindle can be started when MODE switch is set to HANDLE HIGH, JOG, or RPD. At this time, SPINDEL SPEED must be turned fully counterclockwise. oe ol “ny Toa (a 60 gS ; RGST Press SPINDLE RANGE button. (the selected range lamp Lights.) The spindle cannot be started in neutral. Press spindle start button. ~ “ NOR: Normal rotation a Oo = SP : Stop REV: Reverse rotation noe EV Note: Chuck must be clamped when spindle can be started. Spindle speed setting - Gradually turn SPINDLE SPEED ‘(spindle speed adjusting) control to the desired speed while monitoring with the spindle speed meter. Spindle stop Depressing STOP button halts the spindle. When changing spindle rotational direction Stop the spindle rotation before changing spindle rotational direction. Spindle range switching during spindle rotation * During spindle rotation, spindle range can be switched from low to high or vise versa. * Spindle speed inmediately after changing the range is the one corresponding to the previously selected range. Example: * Low ——— HIGH 400rpm 1150rpm * HIGH LOW 1500rpm —700rpa | | Care must be taken when changing spindle range from low to high if a large workpiece is chucked or a workpiece is chucked unbalanced. Spindle neut! % Spindle can be set in neutral when it is stopped. In manual operation mode, neutral condition is released by pressing the pushbutton after selecting the other range. In automatic oper- ation mode, previously commanded range (the range commanded before neutral condition in automatic operation mode) is reselected by pressing the pushbutton (any range can be chosen). * The spindle does not rotate in neutral. Handle Feed HANDLE (or manual pulse generator) is used for final fine positioning, during skin cutting of workpiece, and soft jaw processing. Set MODE SELECT to HANDLE x1 or ¥10. Selection of handle axis. Turn the manual pulse generator handle. ay Select the desired feed amount by setting MODE to HANDLE x1. or 10. HANDLE *1. 0.001ma/pulse 0.0001in. /pulse HANDLE *10 0.01um/pulse 0.0010in. /pulse Throw HANDLE AXIS switch toward the direction of the desired axis (X or Z). For plus @) direction feed, turn the handle clockwise. For minus ©) direction feed, turn counterclockwise. Jog Feed Jog feed (manual continuous feed) is used for soft jaw processing at a relatively long cutting distances, and skin cutting of workpieces. If more positioning is required, adjust HANDLE setting described above. Next to HANDLE setting, this setting offers the most precise positioning. Set MODE SELECT to Joc. Set the desired feed rate (mm/min) with OVERRIDE switch. * Ex. If spindle speed is 100 rpm, and the switch shown at left is set to 20mm/min, feed will be 0.2mn/rev. Setting speed _ Spindle rpa 7 Feed (om/rev) Throw the jog lever in the direction desired. -x ct -290 +E +X Rapid Feed Rapid feed is used for rough positioning. Feed rates are fixed at 4800mm/min (189in/min) on the X axis and at 9600ma/min (378in/min) on the 2 axis. : Set MODE to RAPID. Jog lever operation Throw the jog lever while pulling the lock device in the direction indicated by the arrow. When the lever is released, it automatically retracts to the neutral position, and stops the machine operation. X (minus) direction X+ (plus) direction 2- (minus) direction <@rs (0 Z+ (plus) direction = 80 - Zero Return Perform zero return operation for the following cases. “ 1) When power is supplied at the beginning of daily work. 2) Before obtaining tool offset after cutting tool setting. 3) When an operator operated incorrectiy. 4) When OT alarm or EMERGENCY button was pressed. Zero return direction * X axis: © (minus) direction * 2 axis: @ (plus) direction Set MODE to ZRN, ZRN Throw jog lever to X © or Z @ for zero return. The tool post travels to approximate machine origin in rapid feed, and then automatically decelerates to com- plete return. Keep the jog lever at set position until zero return complete lamp (X-ZERO or Z-ZERO) lights. -xK o ® Ge Precuations for zero return * X and Z axis zero return cannot be performed simultaneously (in manual mode). Turret Indexing * e Turret indexing must be performed at a position where drills or boring bars on the turret do not interfere with tail stock, workpiece or chuck (soft jaw). Set MODE switch to HANDLE x1. epi Turret indexing can be performed with MODE set at HANDLE x10, JOG, RED or 2RN. on Specify tool number with TURRET switch. Tool nunbers can be specified as desired. Press TURRET START button. TRST * When TURRET START button is depressed, the turret rises (unclamped) and the lamp goes off, Then the turret rotates and when the specified tool number is indexed, it lowers (clamped) and the lamp will light, indicating completion of indexing. * The turret rotates clockwise when viewed from the headstock. Reverse rotation is impossible in manual mode. Seb eee ce meee ee TAPE #/299 JAWS. TOOL: UN A Re sea a a see EE etc PROGRAM READOUT OPERATION “CSO x: eee V230F M03 C96 G00 X~ 690 BZ, gis S800 98 E71 PS OI) U.0t W.009 O79 F006 MIS GH KX- NOIS Gol Z-.947 4 KG bO/FE7 GIZX-, 9648 ZB serves Rezo Gol X- 908 Z- 2,025 Hoi9 ae G70 PERM F795 JO B.S M09 FS CSO X— Zz T C202. C% C09 KR-LISIOZ.9L 4 Bol x-// 709 C3700 X= z S (e270 OLE 62233 Secws0 OF. ers hos MT MG ADDRESSES Ww RoR oo a Sequence Number, It is followed by any combination of a Aedigit number (N1234). Distance Command for Cross Slide in Absolute Diameter. Distance Command for Longitudinal movement toward or away from spindle. Incremental movement for X axis. Incremental movement for Z axis. Radius of circular interpolation. Feed rate of slide in inch per minute or in inch per revolution. Change is made with a G code, 698 - IMP G99 - IMR (G99 F,012 = .012 Inch per Revolution). Spindle Speed ($1000 = 1000 RPM) Tool number and offset (T0101 = Tool #1, Offset #1) Miscellaneous functions Preparatory Commands (These commands set up or prepare the control for various functions). Direction of axis Xe Absolute Programming Absolute Programming is the movement from program zero to the next position, The code for this is (K & Z). Example: : zo : S00 1 G00 22.0 o——______»______, G00 27.0 aed Incremental Programming is always programmed from the last position to the next position whi the actual movement, The code for incremental is: Us X axis We Z Axis Example: 1 2.0 1 o2 ' eocte ool Goo 12.0 me G00 5.0 Decimal Point Programming Data can be input with a decimal point. A decimal point is used for the move command or the feedrate. Tne addresses waich can use decimal point are X, Z, U, ¥, I, Ky R, EB and F, Example: 215.0 = 215 inches 1, Positioning GOQ Rapid Movement A GOO moves one or both slides at a rapid feed rate to a program position, GOO K-20 22,0 Linear Interpolation (G01) Linear interpolation is performed at a feed rate (F Code). It enables the programmer to program any line. Circular Interpolation (G02 ~ G03) Any arc or circle can be commanded between 0 & 360 degrees. G02 ~ Clockwise G03 - Counter Clockwise Note: On Mori Seiki lathes switch these commands so: G02 - Counter Clockwise G03 - Clockwise (x2 stash Face Dwell GOk A delay by a specified time command by an X, U or P Code. GO4 P1000 = 1 sec. delay Switchable Metric Inch G20 - G21 Selection between the inch system and metric system for input can be made with a G code, : G20 ~ Input in inch G21 - Input in metric Either G20 or G21 should be programmed at the start of the program and must be programmed before setting the coordinate system. Not Used on Yasnac Reference Return Check G27 This function checks whether the machine has correctly returned to the reference machine home, 27 x) --- aw) --- Automatic Reference Return 623 Automatically returns machine to machine zero thru a reference point. G28 X(U)---+ >) ZW) --- Threading G32 Straight taper or scroll threading can be cut by commanding lead by the F code, G32 2) --- F--- 16 Pitch Thread = _1 = V/16 = 0625 F= .0625 Pitch Tool Hose Radius Compensation G41 = G42 (Fanuc) a Tool nose radius compensation is performed by specifying the G41 or G2 codes, The tool nose radius of each tool is stored in the memory as a tool offset value. GhO - Compensation cancel G41 - Compensation right moving direction of tool. G2 - Compensation left moving direction of tool. Directs of Gor Diacebry Cut 9. Zool Nose Compensation G41 — G42 - G43 - G4k (Yasnac) C43 Quy Guz GH G41 thru Gh specifies the side of the cutter the tool nose compensation is specified on, In most cases OD cutting uses Glu} and ID cutting uses G41. (This doesn't hold true in all cases.) T+ or T+ signifies the direction of the cut, T+ left side and T- right side, T+ TE TE Te 10. Constant Surface Speed a96 =~ 697 G96 sets the machine for a constant surface speed. For the specified surface speed, program with an S code. G96 S300 = 300 FEM G97 sets the machine for a straight RPM. G97 S300 = 300 REM 11. Feed Rate G98 - G99 G98 = Inches per minute G99 = Inches per revolution 12, Canned Cycles The following three kinds of canned cycle are provided. a. Cutting cycle A (G90) The command below actuates a straight cutting cycle. G90 X(U)--- ZW) --- F--- R~ Rapid traverse F = Feed a4 (@ * 4 3 cee © @) #20 (FY 4 In incremental programming, the signs of numbers following addresses U and W are determined by paths 1 and 2 in the above figure. For example, when path 1 goes in the negative @irection of the X.axis, the sign for number following ad— dress U is negative, The command below actuates a taper cutting cycle. e90 X(U)--- 2) --- T--- F--- R- Repid traverse F- Feed In the figure, if the direction of path 1 is negative in the X axis, the sign for the number following address I is negative. If the sign is reversed, the reversed taper is cut. d. Thread Cutting Cycle a92 The command below actuates a straight thread cutting cycle. E code is optional, @g2 XU) -- = ZW) + -- R - Rapid traverse F - Thread cutting 7 4 ®@ ® uw a * 2m BE 2 ¥ ‘The command below actuates a tapered thread cutting cycle. E code is optional. F meet R~ Rapid traverse + Thread cutting eee Peer ara cee ag2 X(T) -- - 207 c. Cutting Cycle B G94 The command below actuates a face cutting cycle. 694 X(U)--- 2H) --- F--- R- Rapid traverse F - Feed aah xX(U)--- 20) -- = ve Cycles A (G70 1. Stock Removal in Turning (G71) The command is as follows: G7IP--- Q--- U--- W---D---F---5--+ ro 1 Sequence number of cycle start Sequence number of cycle end The relief distance and direction along the X axis Diameter Programming The relief distance and direction along the Z axis D ~ Cutting Depth qo ' 2, Stock Removal in Facing (G72) o7eP--- Q--- U--- W--- De-- Feee See 3. Pattern Repeating (G73) The command is as follows: 673P- - Q-- Teter Ke- U-- wee Peck Drilling in Z-axis (G74) The command is as follows: G74X(U) - - Z(H) - - X - X axis coordinate value of point B, I De-~Fe-s-- -- K-- Pe- Dee U = Incremental amount from A to B. Z - % axis coordinate value of point ¢. ‘f= Incremental amount from A to C. - Cutting depth K - Cutting depth D - Relief amount (0 is assumed F ~ Feedrate Return amount can in the in the direction (without direction (without at the cutting bottom (4). when D is omitted) Positive be set through MDI keyboard. sign) (i). sign) (zk). value. ae X axis (675) Grooving in The command is as follows: G75K(U) ~~ 2) -- T--K--7Fe- Thread cutting cycle (G76) The command is as follows: G76X(U) - - 2) -- I--xk-- D-- X - Minor Diameter 8 1 Finish in Z Taper of thread (0 = no taper) 1 ight of Thread D = Ist Depth of Cut F - Lead Angle of In Feed (ie De- F-- Aes ?, Finishing Cycle (G70) After rough machining of G71 or G?2, the following command actuates finishing, Ne-- G0P---Q--- P ~ Sequence number of cycle start Q = Sequence number of cycle end BORING SOFT Jaws Select one of the empty Boring Stations in the Turret, Tigliten the jaws onto the chuck, making sure the jaws are on securely. Jaws should be bored with a spacer or spider in close position. 1. Jog machine so the tip of the tool is near face of jaws and with handle touch jaws with the tool, 2. Set W axis to 0. -3. Turn spindle on and bore to desired depth on C.R.T. screen at POS, 4, Measure diameter of bore. 5. Set U axis to 0. 6. Adjust U axis to desired diameter (if more than : one cut is needed, do this eee until finished diameter is me reached), x en L Ca SETTING G50 : To set the desired G50 for each tool: te 2. Zero Return Machine. Set U & W to Zero. (Fanuc) ~ Press U| Input (Yasnac). - Set Auto Mode Jog tool near edge of part. Set mode to handle and the axis switch to Z. Move until you touch front of jaws in Z axis. Read register in Z axis. (Example: 2 12.00) Set switch to X (move machine until you touch diameter of part, Mea~ sure diameter of part and add to register reading in X. Example: Diameter = 3.00 Register =12.5 G50 215.5 Set G50!s, X-12,00 Z 15.5 Machine Moe, Seikre Tape No. Q0a 2 Part No Hooo Company Name Rev. Jaws See pe /, | Gxo “1 # | ool Desc. z setting nf. lorrsotd orteet Offset i | on tes) wart 2 ; +937 Derr ra Boon Bar our] 3 OD Tred, 4 ho feo far tor fu fe for fro PROGRAM TO CENTER OF TOOL 00002 i NI G50 X-10.0 215.0 N2 70100 M42 N3 697 $500 M3 Bq GOO X-3.6 2.2 T0101 ND G96 ShLO NG G90 X-3.2 2.995 F.0l2 N7 X22.9 N8 X-2.6 NO X-2.5 NiO X-201 NI1 GOT X-2,062 F.02 N12 2-,969 F.008 N13 X-3.0257 N14 X-3.562 2-.2372 N15 2-2.969 N16 X-3.062 N17 G9? S500 N18 GOO X=10.0 215.0 70100 N100 G50 X-10.0 215.0 N101 T0200 N102 GOO XO 21.0 TO202 N103 Z.2 N104 G74 XO 21.0 K.250 F,008 N105 GOO X-10.0 215.0° T0200 N200 G50 X-10.0 215.0 N201 70300 202 697 $1000 GOO X-1.0 2.2 T0303 GO1 X-+-1,250 2,015 F. G03 U-,28° W-.1hO R, GOT 21.485 606° 21.0 10.0 215.0 70300 0; 140 F008 G50 X-10.0 215.0 T0400 8900 GOO X-2,2 2.2 TOLOK > GOO X-10,0 215.0 T0400 M0 Program # Set of Program 0 Tool #, High Gear RPM 500 Move Position Offset #1 Constant Surface Speed at 400 Set Can Cycle : Finish 0.D, Location on 45° Cut 45° Angle Move off part Straight RPM 500 Home Can Cycle 0 2nd Tool Pool #2 Rapid to Position Set Can Cycle for Peck Drilling 0 3rd Tool Tool #3 RPM 1000 Position Offset #3 Location to Cut Circle Radius Move of Part Rapid Out Home © 4th Tool Tool #4 900 RPM Position @76 X-1.935 Z-.900 E,055555 D120 K,0325 Can Cycle Thread PROGRAM TO TIP OF TOOL © 0002 N1 G50 X+10,00 215.0 N2 70100 M42 N3 G97 S500 M3 Nh GOO X-3.6 2.2 T0101 NZ 696 S400 NG G90 X-3.2 Z-.995 F.012 N? X22.9 N8 X-2.6 NO X-2.3, NiO X~. 705 Nil GOT X22.0 F.02 Ni2 2-1,0 F,008 N13 X-219636 NIA X-3.5 Z-.2682 N15 2-3.0 N16 X-3.6 NI7 G97 S500 N18 G00 X-10.0 215.0 70100 N100 G50 X-10.0 215.0 101 T0200 N102 GOO XO 21,0 T0202 N103 2.2 N1Ok G74 XO 21,0 K.250 F008 N105 GOO ¥-10.0 215,0° T0200 G50 X-10.0 215.0 T0300 G97 s1000 G00 X-1.0 2.2 70303 GOI X-1.280 20 F.02 GO3 U-.28 W-.140 R.14O F.008 G01 2-1.5 X09 G00" 21.0 X-10,0 215.0 70300 N3OO G50 X-10.0 215.0 301 T0400 NB02 8900 N303 GOO X-2,2 2.2 TOO) N50k G76 X-1.935 Z-.900 £.055555 D120 K.0325 N3O5 GOO X-10.0° 215.0 TOLOO N306 M30 Program # Set of Program 0 Tool #1, High Gear RPM 500 Move’ Position Offset #1 Constant Surface Speed at 400 Set Can Cycle Finish 0.D. Location on 45° Cut 45° Angle Move Off Part Straight RPM 500 Home Can Cycle Offset © 2nd Tool Tool #2 Rapid to Position Set Cycle for Peck Drilling 0 3rd Tool Tool #3. RPM 1000 Position Offset #3 | Location to Cut Circle Radius Move of Part Rapid Out Home 9 4th Tool Position Can Cycle Thread Rewind

You might also like