You are on page 1of 58
FANUC Oi-M TRAINING MANUAL This document is based on information available at the time of its publication. While efforts have been made to render accuracy to its content, the information contained herein does not purport to cover all details or variations in hardware and software, nor to provide every possible contingency in connection with installation, operation, programming, and maintenance. Features maybe described herein which are not present in all hardware and software systems Dugard Ltd assumes no obligation of notice to holders of this document with respect to changes subsequently made. Dugard Ltd makes no representation or warranty, expressed, implied or statutory with respect to, and assumes no responsibility for the accuracy, completeness, sufficiency or usefulness of the information in the manual. DUGARD EAGLE FANUC OiM START UP PROCEDURE SWITCH MACHINE ISOLATOR ON (ROUND BACK OF MACHINE) EI E THAT THE OPERATOR DOOR IS CLOSED PULL E-STOP OUT PRESS CONTROL ON BUTTON, MACHINE WILL. DISPLAY SOFTWARE NUMBER AND A MESSAGE, “NOT READY” “NOT READY” DISAPPEARS PRESS “POS” LL” ENSURE THAT “X,Y,Z” VALUES ARE IN EXCESS OF 100MM FROM THE HOME POSITION, MODE SELECTION SWITCH R4 TO THE ZERO RETURN POSITION + PRESS NC CONTROL POWER OFF, (RED BUTTON) * SWITCH ISOLATOR OFF, (ROUND BACK OF MACHINE) MACHINE AXIS. A) Vertical machining centers, zt Ye ' xt B) Horizontal machining centers Ye xt Z —+ 724 ZERO RETURN There is only one fixed reference point of each axis which is known as Zero Return. When powering on the machine it is necessary to manually establish this position using the appropriate Zero Return/Reference push buttons On completion of this operation the machine will know its present position and subsequent functions can be performed ‘The position of the zero return can vary between machine types in the ‘X’ and “Y” axes although the ‘Z” axes point is at the top of the stroke, and invariably used as the tool change point. NB: Some CNC machines are further refined by incorporating ‘Absolute Position Encoders’, these never forget where their position is even after a power off. CO-ORDINATE SYSTEMS CNC programming requires the use of rectangular co-ordinates. This is a point whose co-ordinate is expressed by using a linear value which is equal to the distance between a datum (ie. XO YO) and the point in each axis RECTANGULAR Co-ordinates (Also known as CARTESIAN co-ordinates) POLAR Co-ordinates 65, 40deg. Xt = 0 deg COW= + deg The co-ordinate system used results in a grid based around the datum (X axis zero, Y axis zero) of the component. X35.0 Y25.0 X35.0 Y-15.0 X27.5 Y-30.0 X-12.5 ¥-30.0 X-12.5 Y-10.0 X-20.0 Y-10.0 X-20,0 ¥25.0 Notes The positive sign is not required. If the negative sign is not programmed the machine will assume a positive figure. The position of the datum will greatly affect the value of each of the co- ordinates. It is therefore vital that the datum of the component is established before attempting to write the program The datum(s) are freely definable by the programmer for a particular workpiece and may be either inside or outside the component to make co-ordinates easier to calculate. ‘The grid system also applies to the “Z’ axis, ze FACE A =Z20 There are two ways of commanding axis movement 1. ABSOLUTE (G90) ‘This system uses an absolute zero point on the component and all points are relative to this pre-determined datum, This method is by far the most widely used as the values relate directly to the component drawing and eliminates the need for mental arithmetic. 2. INCREMENTAL (G91) This system is based on the point to point method. The actual distance between two points is specified along with its direction. 35 30 25 20 15 10 5 5 10 15 20 25 30 35 X- <> X+ ABSOLUTE INCREMENTAL FROM B TOC X25.0 X20.0 FROM C TOD X35.0 X10.0 FROM D TO A X-15.0 X-50.0 FROM A TOB X5.0 X20.0 Both methods of command are called within the program using preparatory (G) codes as will be seen later The absolute method is a safer than incremental because one error in an incremental program will in effect, shift the entire program by the amount of the error. Auaen 10 20 30 40 A G00 G90 X20.0 ¥20.0 G01 G91 X10.0 50.0 F120 X10.0 ¥30.0 50.0 ¥20.0 X-10.0 Y-60.0 Y¥-40.0 X-70.0 50 60 70 80 90 100 110 B G00 G90 X20.0 Y20.0 G01 G91°X20.0 Y50.0 F120 X10.0 ¥30.0 50.0 ¥20.0 X-10,0 Y-60.0 ‘Y-50.0 X-70.0 ABSOLUTE CO-ORDINATE PROGRAMMING (G90) In Absolute (G90) all dimensions are taken from a fixed point which is specified by the programmer INCREMENTAL CO-ORDINATE PROGRAMMING (G91) In Incremental (G91) all dimensions are taken from the {ast co-ordinate and not from a fixed point EXAMPLE 1 ABSOLUTE AND INCREMENTAL PROGRAMMING. 10 23) Ae GEG a7 89) 7 098765432 5432 1234567893 10 09 87 6 Incremental Absolute x x AToB CToD X BToC Hem KKK KK Reto. eegeede amaxso DD KK KS AmwOmH lo PREPARATORY FUNCTIONS (‘G* CODES) The use of a two digit “G’ code determines the command meaning on any given block of program. They effectively prepare the machine for a given command, e.g. RAPID or FEED from point A’ to point ‘B’, or should the machine arc in ¢he clockwise or anti- clockwise direction? Most controls can list up to 90 different “G’ codes. However, the vast majarity of these are not required unless using specialist programming techniques (machine manufacturers writing software). ‘The listing on the following page gives the most commonly used codes which are vital to the machines operation, Each ‘G’ code belongs to a group. A) Many ‘G’ codes can be programmed in a block as long as they are non conflicting, “G’ codes in the same group will conflict if programmed in the same block. B) The group will also signify if the code is MODAL or NON-MODAL A MODAL ‘G’ code is one which is effective until canceled by a ‘G’ code of the same group A NON-MODAL ‘G’ code is one which is effective only in the block in which it is programmed Group 00 *G’ codes are NON-MODAL. aa} G CODE GROUP DESCRIPTION G00 01 _| Positioning (Rapid feedrate) Gol Linear Interpolation (Cutting feedrate) G02 Circular interpolation Clockwise Go Circular interpolation Counter-clockwise G04 00 | Dwell, Exact stop Gos High Speed Cycle Machining, Gos Advanced Preview Control G09 Exact Stop G10 Data setting Gu Data setting mode Cancel GIs 17 | Poiar Cordinates Command Cancel Gi6 Polar Coordinates Command G7 02 [X,Y Plane assignment Gis Z,X Plane assignment G9 Y,Z Plane assignment G20 06 | Inch Input | G21 Metric Input = G22 04 Stored stroke check function on G23 Stored stroke check function off. G27 00 | Reference zero return check G28 Return to reference point G29 Return from reference point G30 Return to the second reference zero point GI Skip function G39 Comer Offset Circular interpolation G40 07 Cutter Radius Compensation (CRC) Cz Gal CRC Left Side Gaz CRC Right Side G43 08 | Tool Length compensation Gaa Tool Length compensation *-” Es G49 Tool Length compensation cancel G50 i Scaling Cancel | Gs Scaling G52 00 | Local Coordinate System Setting G53 Machine Coordinate System Selection G54 14 | Workpiece Coordinate System I Selection Gss Workpiece Coordinate System 2 Selection G56 Workpiece Coordinate System 3 Selection GST Workpiece Coordinate System 4 Selection G58 Workpiece Coordinate System 5 Selection Gs9 Workpiece Coordinate System 6 Selection G65 00—| Macro command G66 Custom Macro Modal Call G67 Custom Macro Modal Call cancel GCODE GROUP DESCRIPTION G68 16 Co-ordinates Rotation G69 Co-ordinates Rotation Cancel G73 09 Peck Drilling Cycle G74 Reverse Tapping Cycle G76 Fine Boring G80 Fixed Cycle Cancel G81 Drilling Cycle G82 Counterboring G83 Peck Drilling Cycle G84 Tapping Cycle G85 Boring Cycle G86 Boring Cycle G87 Back Boring Cycle G88 Boring Cycle G89 Boring Cycle G90 03 ‘Absolute input Gol Incremental Input G2. 00 Co-ordinate system setting G94 05 Feed per minute G95 Feed per Revolution G98 04 Retum to Initial Plane G99 Retum to ‘R’ Plane Notes: Other groups besides the 00 group are modal (Stays active), and once they are ‘commanded, they remain valid until another cade in the same group is commanded and they are not influenced by the RESET push button switch. G codes in the 00 group are non modal. It is possible to input many G codes in a block as long as two codes from the same group are NOT programmed. If two G codes from the same group are programmed the G code which is commanded later becomes valid, and the former becomes invalid. ee wn Miscellaneous Function List Grea Program stop Optional stop, Spindie stop | Auto tool change I Coolant on | Coolant off 4 5" axis servo off & clamp 4® axis servo on & unclamp 5® axis servo on & unclamp "Spindle CW & coolant on Spindle CCW & coolant M13/M14 off __ | Coolant through spindle hole “MA7 off - ‘Spindle arientation Spindle CW & mist coolant on pindle CCW & mist coolant on M25 __| M23/M24 off M29__| Rigid tapping [iso [Prego i M31 Airt ~ ~ | [M32 Tair blow off __ | | Spindle CW & air blow on { { Spindle CCW & air blow on | Option | M33/M34 off Option _| Neutral gear command [ Low gear command ‘command matic maintenance mode AmType Rotary MAG tool No. = Spindle tool No. | Carousel Type POT vertical command ‘Arm Type a MAG forward (to spindle) Carousel Type _ ‘Swing arm CCW 65 q Arm Type Tool change position (spindle unclamp) | Carousel Type _| Tool unclamp ___ ‘Arm Type Search change tool No. Carousel Type ca Uh ad arm down & turn 180 ono ‘Aim Type Remark Soe Tool clamp le clamp MAG backward (to home) Swing arm back home Carousel Type ‘Arm Type. Check spindle with MAG tool No. Pot horizontal command M55 off Pot No.1 search and too! No. offset Carousel Type ‘Arm Type i Carousel Type ~_[Amm Type Chip conveyor CW Chip conveyor CCW Chip conveyor off Cover coolant on Cover coolant off Mirror cancel_ X mirror image on Y mirror image on [Main tape call sub_ Sub tape return c2 Vet Eagle 600 ic XP Supplement Variations in M Codes M7 Puts on through spindle coolant (M9 off) M12 Puts on side bed wash (also available via Machine panel switch),not M68/M69. Tool changer recovery := Umbrella Type changer, If the carousel stops mid cycle during tool change due to low air or collision of tools, Type in MDI “M1002” cycle start. This will return the carousel to its home position. INITIALIZATION When the power to the NC control is turned on, the control assumes its ialised state by automatically activating default selections for modal functions, These are as follows:- GO Rapid made GI5__ Polar Co-ordinates Command Cancel G17 X.Y, plane selection G90 Absolute command G94 Feed per minute G21 Metric data input GAO Cutter Radius compensation cancel G49. Tool length compensation cancel G50 Scaling Cancel G80 Canned eycle cancel G98 Return to initial point in canned cycle G54 Workpiece coordinates system 1 selection G69 Co-ordinate Rotation Cancel In addition to control power on, the following also activate default selections for modal functions: 1. Pressing the RESET button 2, The control executes an M30 (End of Programme) LINEAR INTERPOLATION (G0/G1) The axis of the machine will move in linear at either Rapid or a programme specified Feedrate. ‘Any movement preceeded by:- (G00 will occur at RAPID TRAVERSE. GO1 will occur at a FEEDRATE, NOTE: ‘These commands are MODAL and will stzy active until changed. ‘A maximum of three axis can be programmed in one block. When programming two axis together in Rapid mode both axis motors operate at the same speed. A movement of 45 degrees is performed until the smaller distance is met, followed by a Straight line move to reach the target point x50 -Y20 x200 100 When programming two axis together in Feed mode the axis motors speeds will be adjusted so the axis will meet at the target point at the same time. The feedrate is actually specified in mm/min (G94). When in Inch mode, (G20), the feedrate is specified as Inches per minute. ‘The “F* command is MODAL. Gol X50. 20 F250 200 Y100 CUTTER RADIUS COMPENSATION C.R.C. This feature compensates the actual machine cutter path to allow the use of cutters with a diameter different from the nominal siz ofthe tool assumed when the programme was prepared, Cutter Radius Compensation (CRC) is activated by programming G41 if the cutter is to the left of the ‘workpiece when viewed in the direction of travel or G42 ifthe cutter isto the right of the workpicce When CRC is ative the control computes new intersection points at every change of direction, so that the contact point between the actual cutter is the same as it would be for the nominal sized cuter Following the original programine path. CRC automatically computes the offset ‘command point for any intersection moves, including Circular and Helical ates. C&C is turned oft by programmimg, G40. Since the offset register is used for both lengsh and radius offsets, itis recommended that { 10 20 are used for length and 21 onwards are usod for radius. To set a Tool radius offset simply enter the radius of the cutter into the sctected olfSet number, The offset number is called in the programme using “D” followed by the offset number. this is pfaced in the same block as the G41/G42. OUTSIDE PROFILE = C.W Lei Gai OUTSIDE PROFILE = C.C.W RIGHT Ga2 INSIDE PROFILE CW. RIGHT G32 INSIDE PROFILE cow. LEFT Git Gar ~ Ga2 Direction of Travel Direction of Travel RULES 1. Cutter Radius Compensation, (C.R.C.), must be applied and cancelled on a movement line, 2. The distance of the movement line, when applying and cancelling compensation, must be larger than the Tool Radius Value. 3, Compensation must be applied at between 90 / 180 degrees to the first cutting line. 4. Internal Circular moves must be greater than the tool radius value, 7 OPTIONAL ANGLE CHAMFERING AND CORNER ROUNDING Format Explanations © Chamfering © Corner R samnfering and comer rounding blocks can be inserted automatically between linear interpolation and linear interpolation blocks ‘Chamfering Corner R When the above specification is added to the end of a block that specifies linear interpolation (G01), a chamfering or comer rownding block is inserted, Blocks specifying chamfering and corner rounding can be specified consecutively. ‘After C, specity the distance from the virtual corner point to the start and end points. The virtual corner point is the corner point that would exist if chamfering were not performed. @ Go1 Got x100.0,C10.0 @ x100.0 Y100.0 Inserted chamfering block ‘After R, specify the radius for corner rounding, 1 G91 Gor x100.0 A100; 1 x1900 ¥1000; Genter of a circle with radius R = Fypcheticl comet intersection LAR INTERPOLATION (G2/G3) Information required to interpolate an arc. Plane Selection GITIGI8/GI9 Direction of rotation GHG3 End Point position _ XY @) Distance from start point to arc centre =! 1 J (K) ot Radius R Feedrate F (if not previously programmed) v oeow x seem a cxcom CIRCULAR INTERPOLATION (G2, G3) ‘A circular interpolation G2/G3 black moves the machine from its current position to the command [position along a circular arc. ‘The rate of travel is uniform around the arc with tangential vector feedrate equal to the programmed feedrate A circular path may be generated in any of the major planes by programmimg the appropriate plane select code, G17 for XY, G18 for ZX, or G19 for YZ, The arc may be specified by programmimg the centre point using I, J and K words to specify the distance from the star point to the arc centre for X.Y and Z respectively. Altematively the circle are can be specified by programmimg the circle radius using the “R” word. In this case the control computes the location of circle centre so that an. arc of the specified radius connects the current position and the commanded endpoint. Programming, 8 positive radius specifies the shorter of the two possible arcs connecting the current position and the ‘commanded position. Programming a negative radius selects the longer arc. Circular Interpolation may be programutted in two ways: 1. Programming G2 or G3 together with “I.J,K,” words to define the centre point of are. 2. Programming G2 or G3 together with an “R” word to define the radius of the arc. Any arc length up to one full circle can be programmed in one block. A complete circle is specified by programming the endpoint to be the same as the current position. In this case the centre point method must be specified since the radius and one point does not uniquely determine the circle Preparatory Function Codes G2 and G3 are used for programming Circular Interpolation. These codes determine the direction of the circular path as viewed fiom the positive end of the axis that is perpendicular to the plane of the interpolation G2 code causes the tool to proceed in a clockwise , (C.W), path G3 code causes the tool to proceed in an Anti-clockwise , (C.C.W.) path LO RADIUS The “R” word may be used to define the radius of the arc rather than using the I, J, and K words to define the arc’s centre point. TWO POSSIBLE ARCS BETWEEN POINTS A & B IN CCW DIRECTION Unless the length of the arc from the start point to the commnd point is exactly 180 degrees, there are two arcs with the same radius and direction connecting the two points, ( see figure above). A positive R word selects the arc less than 180 degrees. whereas a negative R word selects the arc greater than 180-degrees, GENERAL PROGRAMMING CONSIDERATIONS 1. Either the arc radius or centre point method may be programmed. Only one method, however, maybe programmed in a block Ifthe centre location of the arc is the most critical dimension, the I, J, K method is preferable. If the radius of the arc or the location of the endpoint of the arc is the most ctitical dimension, the R word method is preferable 2. Are’s up to 360 degrees can be programmed in a single block when the centre point method is used. 3. Ares less than 360 degrees may be programmed in a single block when the radius specification method is used. The radius method is not recommended for ares greater than 359 degrees. 4. Anare does not have to start or end on a quadrant line. 5. An Alarm condition results with the 1,J,K, word, centte point programming if the current position and the command position are different distances from the centre of the circle. C_ DUGARD LTD MACHINE TOOLS 2h HELICAL INTERPOLATION This provides the operator with the facility to move another axis simultaneously whilst circular interpolation is being performed. EG. G3 XO. ¥30, 10, J-30. Z-5. in the above example as the X and the Y axis interpolate complete the 360 degrees movement, the Z, axis will move down Smm. Helical interpolation is used for thread milling, (wut HOLId > ele'v-Z Lv HSIN ele'sI-2 lv Levis ost-a eux «y0- DL 62 138440 dvy 135) © TUHOV3EHL? Resor (438440 G¥y TUWGYRIHL ¥O-d 62d O17 O19 : _ (CH awWx3THHWSUALY 002 25+ FIXED (CANNED) CYCLES G81 DRILL CYCLE Gl x Y Zz R F Define Hole Hole Rapid Feedrate Cycle Coordinates Depth Plane NOTE: - Rapid plane is the distance the tool will stop above the top of the component, (Z0.) and will return to after the too! has reached the hole depth, G83 PECK DRILL CYCLE G83 x 4 Zz R Q F Peck Depth NOTE: - In the G83 Cycle when the tool retracts from the hole after each peck it moves to the Rapid Plane G73 HIGH SPEED PECK DRILL CYCLE GB x Y Zz R Q F Peck Depth NOTE: - In the G73 Cycle when the tool retracts from the hole after each peck it moves only a small amount to break the chip. The distance it moves up is preset in parameter no 5114 for Fanuc Oi INITIAL AND RAPID PLANES USED IN FIXED CYCLES (G98 / G99) When using the Fixed Cycles the control provides the ability to return to one of two planes. G98 Returns the tool to the INITIAL Plane G99 Returns the tool to the RAPID Plane. ‘The G98 / G99 Code is programmed on the same line as the Fixed Cycle code and is Modal G98 === (level ht ! = Rpoint : 7 evel t ' t t Point Z t 0 __ Initial point QO. -4 G98 - INITIAL plane Return s | G99 ~ RAPID plane Return l SQ NSS So 00002 Ty | weet | oe ‘001 @ || | CO FIXED (CANNED) CYCLES G84 CONVENTIONAL TAPPING CYCLE G84 x Y Zz R F Define Hote Hole Rapid Feedrate Cycle Coordinates Depth Plane NOTE: - When using the tapping cycles the feedrate has to be calculated as follows: - FEED= RPM x PITCH E.g, For an M8x1.25 tap rotating at 800rpm FEED= 800x 1.25=1000 G84 RIGID TAPPING CYCLE This fixed cycle allows the use of rigid tap holders, providing precise thread generation and hole depth control while eliminating the need for expensive floating tap holders. Since the code for rigid tapping and conventional tapping are the same, i.e. G84, to use rigid tapping an M29, (Rigid tapping mode), must be placed on the line before the fixed cycle. Eg. NS TS M6 (TAP M8) $800 M13 G0 G80 G90 G54 XO, Yo. G43 250. HS M29 S800 G84 XO. YO. Z-10. R6. F100. G84 RIGID TAPPING CYCLE This is achieved by placing a Q on the G84 Line Q= Peck Depth ‘The retraction distance is set in parameter no 5213, If parameter no: 5200 bit 5=0, then the tap will retract by the amount set in parameter no: 5213 If parameter no: 5200 bit retraction. 1, then the tap will retract back to the R plane at each POLAR CO-ORDINATES 90° ive 180° o “ve 210° OR -90° GIS Polar Co-ordinates Cancel G16 Polar Co-ordinates Command If GIG is programmed the “X" word bocomies the radius or the length of the tine and the “7 word becomes the Angle at which that face, or hole is to be machi ogee 8 RADIUS) Wee ANGLE NOTE: Polar Co-ordinates must be cancelled after it has been used, by programming a G15. This converts the machine back to Rectangular Co-ordinates, When using Polar Co-ordinates for a Bolt Hole Circle, if the centre of the circle is not XO. YO. Then a G52, (Local Co-ordinates System), must be programmed followed by the distance of the Bolt Hole Circle , from the Datum, EG. For a Bolt Hole Circle positioned at X103. Y-76. The following would be programmed: G52 -X103. Y-76. NOTE:- After it has been used the Local Co-ordinates System must be cancelled by programming:- G52 -X0. YO. @ C._DUGARD LTD MACHINE TOOLS FORMATS FOR FIXED CYCLES High Spoed Peck Drilling Cycle on x Y 2 Q@ Rk F Reverse tapping, oy x YY Z RF Fine Boring Gm xX Y Z Q R PF Drilling cl x oY Zz oR Spot Facing oz x Y %Z R PF Peck Drilling o3 xX Y Z Q R F Tapping, ou x oY Z RF Boring Cycle 1 (Feed in / Feed out) os xX Y Z RF Boring Cycle 2 (Feed in / Spindle Stop / Rapid out) Goo xX YY Z RF Back Boring Cycle 3. (Rapid in / Tool Shiffs / Feed out / Tool Shifts / Rapid out) 67 evit One Ree Boring Cycle 4 (Feed in / Dwell / Spindle Stop / Rapid out) os xX Y Zz R PF Boring Cycle 5 (Feed in / Dwell / Feed out) oo x YY 2 R PF X= X COORDINATE POSITION ‘YY COORDINATE POSITION = FINAL DEPTH OF HOLE Q= PECK DEPTH OR CLEARANCE IN BORE R= RAPID PLANE DEPTH DWELL F=FEEDRATE 33 K+ TO SET X & Y DATUMS Ensure the X & Y axis have been referenced. Clock fixture location; (clock bore or edge find). oy Crock Boke xOro Yo:o Press “position” on control panel, (POSN) Press “ALL” soft key. Make a note of X & ¥ values in “MACHINE POSITION” & put them into the selected datum to be used, (ussually G54). Ensure the radius of the Wobbler is added or subtracted to or from this value. SET TOOL LENGTH OFFSETS FANUC OiM « ENSURE THAT THE MACHINE HAS BEEN REFERENCED TURN MODE SELECT SWITCH TO “MDI” ¢ NOW CALL THE REQUIRED TOOL INTO THE SPINDLE. EG. T1 M6 “EOB” THEN PRESS “CYCLE START” « TURN MODE SELECT SWITCH TO “HANDLE” e REMOVE TOOL FROM SPINDLE ¢ TOUCH THE SPINDLE NOSE ON THE SETTING BLOCK ae [*~——SETTING BLOCK PRESS “POS” PRESS “ALL” PRESS “Z” “Z” WILL FLASH ON “RELATIVE” PRESS “ORIGIN” THIS WILL SET THE “Z” RELATIVE TO ZERO MOVE THE “Z” AXIS CLEAR LOAD THE TOOL INTO THE SPINDLE TOUCH THE TOOL ONTO THE SETTING BLOCK PRESS “OFFSET / SETTING” PRESS “OFFSET” CURSOR TO THE REQUIRED “GEO (H)” NUMBER PRESS “Z” PRESS “INP.C.” THIS WILL TRANSFER THE VALUE FROM THE RELATIVE SCREEN INTO THE “GEO (H)” OFFSET. THE TOOL IS NOW SET, REPEAT ABOVE UNTIL ALL TOOLS ARE SET. SET WORK OFFSETS FANUC OiM e TURN MODE SELECT SWITCH TO “MDI” e¢ NOW CALL ANY TOOL INTO THE SPINDLE FROM. THE MAGAZINE, ENSURING THAT ALL THE TOOL LENGTH OFFSETS HAVE BEEN SET, AS PER THE PREVIOUS PROCEDURE. ¢ EG. TI M6 “EOB” THEN PRESS “CYCLE START” ¢ MAKE A NOTE OF THE LENGTH OFFSET FOR THIS TOOL. EG. 101.73 * TURN MODE SELECT SWITCH TO “HANDLE” ¢ TOUCH THE TOOL ON THE COMPONENT. « PRESS “OFFSET /SETTING. ¢ PRESS “WORK” SH CURSOR TO THE REQUIRED “Z” DATUM. EG. G55 PRESS “Z” AND TYPE IN THE TOOL OFFSET VALUE. EG.101.73 PRESS “MEASUR” THE “Z” DATUN IS NOW SET. 33 10001 (DEMO PROGRAM) (FANUC OI) G21 G90 G10 L2 Pl X-161.5 Y-113.5 2-276. (TOOL OFFSETS) G90 G10 L10 Pl R90,07 G90 G10 L12 Pl R25. G90 G10 L10 P2 R134,32 G90 G10 L10 P3 R123.47 G90 G10 L12 P3 R6. G90 G10 L10 P4 R139.62 G90 G10 L12 P4 R4. G90 G10 L10 P5 R93.11 G90 G10 L10 P6 R97.28 M1 N1 Tl M6 (50 MM DIA FACE MILL) 12 $5000 M13 GO G54 G40 K-80.¥40. G43 215.H1 G1 20.F3500. X80.F1500. Yo. X-80. Y-40. x80. GO 2100.M9 M1 N2 12 M6 (14.5 MM DIA DRILL) 73 $809 M13 GO G54 G40 G90 G9B X0.YO. G43 215.H2 G83 X0.Y0,.2-5.R2.06.F200, G80 GO 2100.M9 ML N33 M6 (12 MM DIA CARBIDE SLOT DRILL) T4 15000 M13 GO G40 G90 X-60.¥-60. G43 215.83 Gl 2-5.F3500. Br G41 X-42.D3 F1250. ¥36. G2 X-36.¥42.R6. G1 X36. G2 X42.¥36.R6. Gl Y-36. G2 X36.¥-42.R6. Gl X-36. G2 X-42.¥-36.R6. G1 X-50.2 Y-30. G40 X-60. GO 22, GO G40 G90 X~60.¥-60. G1 2-15. F3500. G41 X-50.D3 F2000. ¥45. G2 X-45.¥50.R5. Gl x45. G2 X50.¥45.R5. Gl Y-45. G2 X45.¥-50.R5. Gl x-45. G2 X-50.¥-45.R5. G1 X-50.2 Y-40. G40 X-60. GO 22. X0.Y0. Gl 2-3. 2-5.F100. G41 X-7.5 D3 G3 17.5 F1000. G1 G40 xo. GO Z100.m9 M1 N4 14 M6 (SPOT DRILL AND CHAMFER) TS $15000 M13 GO G40 G90 X-60.¥-60. 643 215.04 G1 2-8.4 F3500. G41 X-50.D4 F1500. Y45. G2 X-45.¥50.R5. GI x45. G2 X50.¥45.R5. Gl 45, G2 K45.¥-50.R5. Gl X-45. G2 X-50.¥-45.R5, G1 X-50.2 Y-40. G40 x-60. GO 22. $3000 G4 x1. (SPOT DRILL) G4 x1. GO G40 G90 xX-36.58 xO. G99 G81 X-36.58 YO.Z-1.R2.F200. G80 M9 GO Z100.M5 ML NS TS M6 (5.1MM DIA DRILL) T6 $3500 M13 GO G40 G90 G99 X-36.58 YO. G43 Z15.H5 G83 X-36.58 YO.2-9,.R2.02.F350. G80 Mo GO Z100.M5 M1 Ne T6 M6 (M6 TAP) S1000413 T4 GO G40 G90 G99 X-36.58 YO. G43 225.H6 ™29 51000 G84 X-36.58 YO.2-6.26.F1000. Gao G28 G91 Z0.M15 G28 YO. G90 1499 M30 8. DATA INPUT/OUTPUT ‘OPERATION -630846N2 Memory card formatting Before a file can be saved to a memory card, the memory card must be formatted. Formatting a memory card Procedure 1 Press the rightmost soft key =] (continuous menu key) on the ALL 10 screen, described in Section 8.10.1 2 Press soft key [M-CARD] 3. Place the CNC in the emergency stop state. 4 When a memory card is inserted, the state of the memory card is displayed as shown below. READIPUNCHIM-CARD) 1234 N12345, oe st) [Sasa jeer ce TT) (eer Eases _— Message Select: Alldata 'S 0 T0000 EDIT“ --EMG-- 12:18:00 [FORMAT] { SAVE ] [ LOAD ] {DELETE) [ 5 Press soft key [FORMAT] 6 A message prompting the user to confirm the operation is displayed. DOC 9 Com) Comey Press soft key [EXEC] to execute the formatting operation. 7 As formatting is being performed, the message “FORMATTING” blinks, 8 Upon the completion of formatting, the message “COMPLETED” is displayed in the message field. — so — B-62084END2 ‘OPERATION 8. DATA INPUT/OUTPUT Deleting files ‘Unnecessary saved files can be deleted from a memory card. Procedure 1 Press the rightmost softkey (E>) (continuous menu key) onthe ALL 10 sereen, described in Section 8.10.1. 2° Press soft key M-CARDJ. 3. Place the CNC in the emergency stop state. 4) When a memory card is inserted, the state of the memory card is displayed as shown below. weionmcone) Os Wi -— pee |e =n a wines armen | 8 0 Too EDIT --EMG-- 12:15:00 [FORMAT] [ SAVE } { LOAD ] (DELETE) | 5. Press soft key [DELETE]. 6 With cursorkeys( Jand|§ ] ,selectthe file tobe deleted from the ‘memory card. 7 After checking the file selection, press soft key [EXEC). 8 Asdetection isbeing performed, the message “DELETING” blinks in the message field. 9 Upon the completion of deletion, the message “COMPLETED” is displayed in the message ficld. — sa — 8. DATA INPUT/OUTPUT OPERATION B-S3064ENO2 Message and restrictions Messages Message L =| INSERT MEWORY CARD, Nomen era UNUSABLE MEMORY GARD The memory cd dss nat conn device maton. FORMAT MEMORY CARO. _Themenon carisnotemate.Fomathe meme cae bets we ‘THE FILE IS UNUSABLE. |The format or extension ofthe file tobe loaded is invalid. Alternatively, | the data stored on the memory card does not match the CNC memory. ie. REPLACE MEMORY CARD [Feriacememenorycant. ~ | FILE SYSTEM ERROR COO |exgroraeindung on pans Depress atte ay enor ene, SETEMERGENCY STOP STATE. __—|Saveroad operatonisoaiedin te emergeney slop sae ok WRITE-PROTECTED ~ | Save operation: The protect witch ofthe memory cardis setto the dis- ties potion | Toad operation: Parameter wrte is disabled, | [VOLTAGE DECREASED. | he ote votag othe memory card has dropped (The battery requires replacement.) DEVIGE 1s BUSY TAnotheruseris using te memory card. Atematvey te device cannot | beanseand became somat operation's mprogess SRAM MEMORY CARD? ———=—~—~™*( Te message prompts the user to conf he lat of ata saving. MEMORY CARD SRAM? | Thismessage romps the user to conf he start of data lacing, OYOUWANTTODELETE FILE)? | Tismesrogepanpl te vet cnt he at of loon 00 YOU WANT TO PERFORM FORMATTING? Ths messope romps the ua conf he tat ofan. sans [Savings cent bona peromed. LOADING [Loading is curently being ng performed, - OELETING | File deletion is ‘currently y being performed, - FORMATTING _|Memary card orang is. ‘current | 7 COMPLETED ~ ~ _ {see or load processing has been completed PRESS RESET KEY ross the RESET ay ~ TURWOFF POWER, [Tum the power of en back on api ~ — sn — B-S3084ENI02 OPERATION 8, DATA INPUT/OUTPUT File system error codes Restrictions ‘© Memory card size ‘© Memory card specifications © Attribute memory ‘© Compatibility of saved data © Flash ROM card © Operation during automatic operation ] Meaning 102 | The memory card does nat have sufficient free space. [05 ie memory eden 106” [Amomory cards akeady mounted 110 | The specified directory cannot be found "411 There aretoomany files under the root directory toallow a drecto- |rytobe added 114 |The spected fle cannot be found. 115 | The specified file is protected. 117 |The fle has nck yet been opened The fie is already open, |The fie is locked. The: specified file name is invalid. The extension ofthe specified file is invalid 123 | Anon-corresponding function was specified. 130 The specification ofa device is invalid, 131 The specification ofa pathname is invalid 133 | Mullple files are open at the same time. 135 [Toe device isnot formatted. 140 The Mlehas the eadiite disabled atrbute. The size of the memory card to be used must be larger than that of the RAM module mounted in the CNC. The size of the RAM module can be determined from the system configuration screen. Usea memory card that conforms to PCMCIA Ver.2.0, or JEIDA Ver. 4.1 ‘A. memory card which has no attribute memory, or no device information in its attribute memory, cannot be used. Data saved to a memory card is compatible only with CNCs that have the same hardware configuration and the same option configuration, A flash ROM card can be used only for data loading. During automatic operation, the contents of a memory card cannot be displayed, formatted, or deleted. To enable these operations, therefore, stop or suspend automatic operation. — 43 8. DATA INPUT/OUTPUT 8.11 DATA INPUT/OUTPUT USING A MEMORY CARD OPERATION 8-63084EN02 By setting the VO channel (parameter No. 20) to 4 files on a memory card can be referenced, and different types of data such as part programs, parameters, and offset data on a memory card can be input and output in text file format. ‘The major functions are listed below. + Displaying a directory of stored files ‘The files stored on a memory card can be displayed on the directory screen. + Searching fora file ‘A search is made for a file on a memory card and, if found, itis displayed on the directory screen. + Reading a file ‘Text-format files can be read from a memory card. + Writing file Data such as part programs can be stored to a memory card intext file format. © Deleting a file A file can be selected and deleted from a memory card. ‘wrting a the —} | Readgatie Daayngs Qepayroa | Memenycard Searching orate Deleting ale _ — B-63064ENI02 OPERATION 8. DATA INPUT/OUTPUT Displaying a directory of stored files. Procedure 1 Press the EDIT switch on the machine operator's panel. 2. Press fnetion key |r| 3. Press the rightmost soft key (=) (continuous menu key). 4 Presssoftkey [CARD], Thescreen shown belowis displayed. Using page keys [f] and [§ ], the sereen cam be scrolled. DIRECTORY (M-CARD) (00034 Noo04s No. FILENAME DATE 0001 01000 707/10 1001 97107130 ‘00002 97/07/30 (02000 97/07/31 02001 97/07/81 03001 970802 (03300 97/08/05 03400 97/07/31 03500 ‘97/07/31 (PRs ) ( J(or + J } (corrn J 5 Comments relating to each file can be displayed by pressing soft key [DIR+], DIRECTORY (M-CARD) (00034 Noo04s No. FILENAME ‘COMMENT 0001 01000 (COMMENT 0002 1001 (SUB PROGRAM 9003 09002 (12345678 0008 02000, ( 0005 02001 ( (0006 03001 (skip 0007 03300 (HESPEED 0008 03400, 0009 03500 [ (Pros }( J (or + ) } (coprm ) 6 Repeatedly pressing soft key [DIR*] toggles the screen between the display of comments and the display of sizes and dates. ‘Any comment described after the O number in the file is displayed, Up to 18 characters can be displayed on the screen. — 54s — 8. DATA INPUT/OUTPUT OPERATION 8-S3064ENO2 Searching for a file Procedure Crem) Come) m8 1. Press the EDIT switch on the machine operator’s panel. 2. Press function key |r|. 3 Press the rightmost sof key (E=) (continuous menu key). 4. Press soft key [CARD]. The screen shown below is displayed. DIRECTORY (M.cARD) (00034 Noo045, FILE NAME, DATE coo ‘1080 96/07/10 01001 96/07/30 ‘20002 96/07/30 ‘©2000 96/07/31 02001 96707131 (03001 96/08/02 ‘03300 ‘96/08/05 ‘03400 96/0731 103500 96/0731 J(oR + J J (10PRD } 5. Press soft key [(OPRT)] 6 Set the number of the desired file number with soft key [F SRH] ‘Then, start the search by pressing soft key [EXEC]. If found, the file is displayed at the top of the directory screen. ‘When a search is made for file number 19 DIRECTORY (M-CARD) ‘00034 Noo04s FILE NAME ‘COMMENT: cma 01000 (MAIN PROGRAM) 0020 O1010 (SUBPROGRAM-1) 0021 01020 (COMMENT) 0022 01030 (COMMENT =) Sn -62064ENi02 OPERATION 8. DATA INPUT/OUTPUT Reading a file Procedure 1 Press the EDIT switch on the machine operator’s panel. 2 Press function key |r Press the rightmost soft key (E>) (continuous menu key). Press soft key [CARD]. Then, the screen shown below is displayed. DIRECTORY (M-CARD) (00034 Noooas No. FILENAME DATE 0001 01000 96/07/10 0002 O1001 96/07/30 0003 00002 96/07/30 0004 02000 96/07/31 9005 02001 96/07/31 0008 03001 9/08/02 0007 03300 96/08/05, 0008 03400, 96/07/31 0008 03500 96/07/31 (Pros ) ( (or + JL ) (orrn ) 5. Press soft key [(OPRT)]. 6 Tospecifya filenumber, press softkey [F READ]. The screen shown Cram) m0) below is displayed. DIRECTORY (M-CARD) (00001 No0010 No. FILENAME. COMMENT 018 01000 (MAIN PROGRAM) 0020 1010 (SUBPROGRAM-1) 0021 01030 (COMMENT) READ FILE NAME=20 PROGRAM N ee 7) Enter file number 20 from the MDI panel, then set the file number by pressing soft key [F SET]. Next, enter program number 120, then set ‘the program number by pressing soft key [O SET]. Then, press soft key [EXEC] © File number 20 is registered as 00120 in the CNC. © Set a program number to register a read file with a separate O ‘number. Ifno program number is set, the O number in the filename column is registered. — 547 8. DATA INPUTIOUTPUT OPERATION B-62064ENIO2 8 Tospecify a file with its file name, press soft key [N READ] in step 6 above. The screen shown below is displayed. DIRECTORY (M-CARD) (00001 No0010 No. FILENAME. ‘COMMENT 0012 00050 (MAIN PROGRAM) 0013 TESTPRO (SUB PROGRAM-1) 0014 00060 (MACRO PROGRAM) READ FILENAME | =TESTPRO PROGRAM No. =1230 (rame)(oser }( st0° }( cw )( exe ) 9 Toregister file name TESTPRO as 01230, enter file name TESTPRO from the MDI panel, then set the file name with soft key [F NAME]. Next, enter program number 1230, then set the program number with soft key [O SET]. Then, press soft key [EXEC]. — se — B-63064ENIO2 OPERATION 8. DATA INPUT/OUTPUT Writing a file Procedure 1 Press the EDIT switch on the machine operator's panel. 2. Press function key [mee] 3. Press the rightmost soft key (E>) (continuous menu key). 4 Press soft key [CARD]. The screen shown below is displayed. DIRECTORY (M-CARD) (00034 Noo04s No.” FILE NAME SIE DATE. 0001 1000 123458 96/07/10 0002 o1001 8453 96/0730 9003 00002 3250 96/07/30 ‘0004 02000 73456 96/07/31 ‘0005 02001 3484 96/0701 (0008 03001 8483 96/08/02 ‘0007 03300 408 96/08/05, ‘0008 03400 2420 96/07/31 0009 03500 7480 96/07/31 Pros ) ( J(or + JC J (coren } 5. Press soft key [(OPRT)]. 6 Press soft key [PUNCH] 7. Enter a desired number from the MDI panel, then set the program ‘number with soft key [0 SET]. ‘When soft key [EXEC] is pressed after the setting shown below has ‘been made, for example, the file is written under program number 01230. | PUNCH FILENAME = PROGRAM, =1290 EOIT ste esse vee 18:40:21 (F Name) (ser }( stop }( can )( exec ) 8 In the same way as for © number setting, enter a desired file name from the MDI panel, then set the file name with soft key [F SET] ‘When soft key [EXEC] is pressed after the setting shown below has been made, for example, the file is written under program number 01230 and file name ABCD12. PUNCH FILENAME =ABCDI2 PROGRAM No, =1230 EDIT see seer oe 1:40:21 (Fame) (coset )( stop )( can )( exec } — 349 — 8. DATA INPUT/OUTPUT ‘OPERATION B-62064ENIO2 Explanations © Registering the same file When a file having the same name is already registered in the memory name card, the existing file will be overwritten. © Writing all programs To write all programs, set program number = -9999. If no file name is specified inthis case, file name PROGRAM.ALL is used for registration. © File name restrictions ‘The following restrictions are imposed on file name setting: Pile name setting> | X XXX XXX x. OOO 1 t Not longer than Extension not longer 8 characters than 3 characters — sso — B-63084ENIO2 OPERATION 8. DATA INPUT/OUTPUT Deleting a file Procedure 1 Press the EDIT switch on the machine operator's panel 2 Press function key ree 3. Press the rightmost soft key (E>) (continuous menu key). 4 Press soft key [CARD]. The screen shown below is displayed. DIRECTORY (M-CARD) (00034 Noo04s No. FILENAME: DATE 0001 01000, sro7/0 0002 01001 8458 97/07/30 ‘9003 00002 3250 STIO7I. ©2000 97/07/31 02001 3444 97/07/31 03001 8483 97/08/02 03300 408 97/08/05 03400 97/07/31 (03500 7460 97/07/31 pros )( (oR + JC} (ro*rn) 5. Press soft key [(OPRT)]. 6 Sethe number ofthe desired file with soft key [DELETE], then press Creme) ose) med (0 (et) soft key [EXEC]. The file is deleted, and the directory screea is displayed again. When file number 21 is deleted DIRECTORY (M-CARD) (00034 No0045, No. FILENAME. ‘COMMENT 9019 © o1000 (MAIN PROGRAM) 0020 O1010 (SUBPROGRAM-1) 0021 01020 (COMMENT) 0022 01030 (COMMENT =) File name 01020 is deleted. DIRECTORY (M-CARD) (00034 Noo0ss No. FILENAME. COMMENT 0019 1000 (MAIN PROGRAM) 0020 1010 (SUBPROGRAM-1) 0021 01020 (COMMENT) 0022 01030 (COMMENT =) File number 21 is assigned to the next file name. — 551 —

You might also like