Navigation

  • Page 1

    CNC 501Programming and Operation of LathesYork Technical College452 South Anderson RoadRock Hill, SC 29730

  • Page 2

  • Page 3

    TABLE OF CONTENTSI. General Safety and Standard Operating ProceduresII. OSP Control Functions• Primary and Secondary Modes• Parameters; Soft Limits vs. Stroke End Limits• Function of all keys on Machine Operation PanelIII. Manual Machine Control• Door Interlock restrictionsIV. Coordinate ...

  • Page 4

    X. Auto Chamfer and Automatic RadiusXl. LAP Cycles• LAP Cycle Concept• Types of LAP Cycles• Write new program for DR201-3 and modify to use LAP cyclesXll. Miscellaneous Cycles• Drilling Cycles• Grooving Cycles• Tapping Cycles XIII. Threading Fixed Cycles XIV. Subpro...

  • Page 5

    Programming and Operationof 2 Axis LatheCourse Objectives - Upon completion, the individual will be proficient in all basic skills necessary to allow the functional/productive operation of the machine tool and associated safety practices.The course is designed to provide the knowledge and skills ...

  • Page 6

  • Page 7

    GENERAL SAFETY AND STANDARD OPERATING PROCEDURES

  • Page 8

    General Safety and Standard Operating Procedures SAFETY PRECAUTIONS/STANDARD OPERATING PROCEDURES.................................. PRE-POWER UP CHECKLIST............................................................................................... CHUCK PRECAUTIONS................................

  • Page 9

    SAFETY PRECAUTIONSOkuma machines are fully equipped with various safety devices to prevent operators and the machine itself from accidents. However, operators are urged to operate the machine with safety in mind. Strict observance of all safety guidelines indicated in the documentation provided...

  • Page 10

    The maximum allowable spindle speed and applicable pressure for the chuck are indicated on the name plate attached to the front door as well as on the chuck body. The maximum allow able speed and the applicable pressure ensure a chucking force larger than one-third the original chuck grippin...

  • Page 11

    3) Close the front door first before starting the machine.4) With a new program, never attempt to start actual cutting operations. First run the program without setting a work piece in the machine to check machine operations and interference; after making sure that the program is complete...

  • Page 12

    3) Before replacing the chuck and/or chuck jaws, make sure that the new set is for the job intended.4) When two or more workers work as a group, establish the necessary safety signs, for example, when lifting or setting heavy objects confirm with other workers whether or not it’s ‘okay’ ...

  • Page 13

    WHEN A PROBLEM OCCURS1) Stop all spindle(s) and axis movement by pushing the closest EMERGENCY STOP switch.2) Contact the maintenance person to determine what action to take.3) Use only the fuses and other replacement parts of the specified rating.4) Be extra careful when handling the following h...

  • Page 14

  • Page 15

    OSP CONTROL FUNCTIONSPrimary/Secondary ModesParameters - LimitsFunction of all keys on Machine Operation Panel

  • Page 16

    Turning the Power ON and OFFTurning the Power ON< Procedure >(1) Turn ON the main switch at the control box.(2) Press the [CONTROL ON] button on the NC operation panel.(3) The NC control software is loaded from the data storage memory to the operation memory and the NC starts running. Fil...

  • Page 17

    Emergency Stop(1) Emergency StopPress the [EMERGENCY STOP] button to stop the machine in an emergency. The machine stops immediately if the [EMERGENCY STOP] button is pressed.(2) Recovery from the Emergency Stop StateThe [EMERGENCY STOP] button is a push-to-lock type switch and it is locked in t...

  • Page 18

    Turret Home Position - this refers to the position to which the turret must move tobefore the turret can index a commanded tool into the cutting position. Theturret home position is also called the turret index position.For the turret to be able to index, it must be positioned on either thepositi...

  • Page 19

    User Soft Limit / Variable Soft Limit - within the machine’s stroke end limits, it is possible to establish/define a smaller ‘window’ used to define a smaller working range. The boundaries of this smaller window are called user soft limits. The primary reason to establish a ‘soft li...

  • Page 20

    The following illustration depicts the ‘working range’ within which the turret can travel, based on those ‘soft limits’ that have been defined in the OSP control.Note: In the above illustration, the ‘chuck’ is not shown for reasons of clarity.To make the turret travel to its [X+, Z+} ...

  • Page 21

    Problems1) If your part has a program zero at the front of the part, explain why the Zs in the program have a negative sign in front of the numbers?2) What is meant by soft limits?3) Where is the turret home position?4) How do you know if the turret slide is at a slide limit?5) What is meant by t...

  • Page 22

    OPERATIONBasic Construction of Operation Panels For operating the machine, the following four kinds of man-machine interfaces are provided: (1) NC Operation Panel It is used for file operation and data setting. (2) Machine Operation Panel These switches and keys used mainly for manual operation...

  • Page 23

    Outline of Controls on Operation PanelOperation Mode Selection Keys (1) AUTO Key Select the automatic mode when operating the machine using a stored part program. (2) MDI Key Select the MDI mode for block operation, permitting input of the data necessary for operation by the keyboard i...

  • Page 24

    NC Status Indicating lamps (1) RUN Lamp The RUN lamp 15 on when the machine is operation in the automatic or MDI mode. (2) S.T.M Lamp The S.T.M. indicating lamp is on while auxiliary function operation such as spindle gear range change, tool change, and spindle rotation, is...

  • Page 25

    (6) ALARM Lamp The ALARM indicating lamp is on when the machine malfunctions or an incorrect program is input. It is also on if the computer fails to function correctly.

  • Page 26

    Status Indicating LampCondition for ONCondition for BlinkingRUN- The machine is normally running in the AUTO or MDI mode(except for during the SLIDE HOLD and PROGRAM STOP mode).-The program selection command is a schedule program is being executed.S.T.M-The machine is waiting for the operation co...

  • Page 27

    Status In dicating LampCondition for ONCondition for BlinkingLIMIT-Either X- or Z -axis has reached the variable soft-limit position.-The spindle speed has reached the limit in the selected gear range.-The spindle speed has reached the limit specified by the maximum spindle speed designation fun...

  • Page 28

    Other Controls on NC Operation Panel (1) Function Keys: F1 to F8 There are eight function keys on the NC operation panel. When an operator selects a desired operation mode, the screen displays the T operation functions at the bottom line. Each function corresponds to a function key (F1 thr...

  • Page 29

    (4) BS (Backspace) Key The [BS] key is used when erroneous data has been input. Each time this key is pressed, the character input last is erased.For the display of file index and list, this key is used to display the nextpage. (5) CAN Key The [CAN] key is used when erroneous data ha...

  • Page 30

    (b) When the [CAPS LOCK] key is pressed (indicating lamp at the upper left corner lit), upper case alphabetic letters A to Z are input. When the [CAPS LOCK] key is not pressed, lower case alphabetic letters a to z are input.(11) Numerical Key Pad. These keys are...

  • Page 31

    (2) CONTROL OFF SwitchThe [CONTROL OFF] switch is used to turn off the control power of the NC unit.When shutting off the power, turn off the control power first by pressing the [CONTROL OFF] switch before turning off the main switch of the machine. (3) RESET KeyThe NC unit is reset when...

  • Page 32

    (7) EMERGENCY STOP Button Press the [EMERGENCY STOP] button when an emergency occurs.The power supply to the NC is shut off when the [EMERGENCY STOP]button is pressed.To release the emergency stop state, unlock the [EMERGENCY STOP]button and press the [CONTROL ON] button.(8) SLIDE JOG Buttons ...

  • Page 33

    Notice In single block OFF operation in automatic mode, override is not valid for a rapid feed command (G00). Override is not valid for thread cutting operation.(10) PULSE HANDLE X Key Select this key to operate the X-axis using the pulse handle. (11) PULSE HANDLE Z KeySelec...

  • Page 34

    (18) SPINDLE CW ButtonUsed to start the spindle in the forward (CW) direction. For multiple-machining models, the button is also used to start the M-tool spindle in the forward (CW) direction.(19) SPINDLE CCW ButtonUsed to start the spindle in the reverse (CCW) direction. For multiple-ma...

  • Page 35

    This key cannot be turned ON if the [COOLANT -AUTO] key is ON. (25) COOLANT-AUTO KeyWhen the [COOLANT-AUTO] key is pressed (indicating lamp at the upperleft corner lit), coolant is supplied according to the coolant commandgiven in the automatic or MDI mode.This key cannot be turned ON if t...

  • Page 36

    Mode Selection KeysTo operate the machine using a program, a variety of operation modes are provided.(1) SINGLE BLOCK Key (a) When the [SINGLE BLOCK] key is on (indicating lamp at the upper left corner lit), a program is executed in units of blocks. To execute each block, press the [...

  • Page 37

    Note: To change the dry run mode on/off state, it is necessary to press the [DRY RUN] key while holding down the [INTERLOCK] key (5) MACHINE LOCK Key(a) When the [MACHINE LOCK] key is on (indicating lamp at the upper left corner lit), all commands in a program are executed without act...

  • Page 38

    [UPPER A] key: On (indicating lamp at the upper left corner lit)[LOWER B] key: On (indicating lamp at the upper left corner lit)(d) Normal operation modeSimultaneous 4-axis operation is executed according to a part program.[UPPER A] key: Off (indicating lamp at the upper left corner unlit)[LOWER...

  • Page 39

    (2) C-AXIS KeyTurn this key on to operate the C-axis manually using the pulse handle. The key functions only in the C-axis control mode. (3) C-AXIS CLAMP KeyThe [C-AXIS CLAMP] key is used to clamp the C-axis manually. The key functions only in the C-axis control mode.The indicating lam...

  • Page 40

  • Page 41

    MANUAL MACHINE CONTROLDoor Interlock Restriction

  • Page 42

    Spindle Related Operation Preparing for Spindle Rotation (1) Setting the allowable Chuck Speed Set the allowable speed of the chuck which is mounted to the machine with a parameter. (machine parameter) (2) Inputting the Maxium Spindle Speed Input the maximum spindle in the MDI operation m...

  • Page 43

    D An alarm occurs if the actual spindle speed exceeds 120% of the allowable speed of the chuck. E For center-work operation, the tailstock spindle must be set in the correct position. F The door must be closed.Stopping the Spindle <Procedure> 1. Select the manual opera...

  • Page 44

    Axis Feed Operaiton ( X-, Z-, and C-axis) An axis (X-, Z-, or C-axis) can be moved in either of the following methods. (1) Using SLIDE JOG buttons. (2) Using the pulse handle.SLIDE JOG Buttons <Procedure> (1) Select the manual operation mode by pressing the [MANUAL] key on the NC operation ...

  • Page 45

    -Note that the direction of axis movement differs for the following models: LH35, LH55, LS30Pulse Handle <Procedure> (1) Select the manual operation mode by pressing the [MANUAL] key on the NC operation panel. (2) For the two-saddle specification, select the saddle to be operated b...

  • Page 46

    Turret Rotation <Procedure> (1) Move the saddle to the position where turret rotation is possible. The turret rotation enabled position differs depending on the machine model. (2) For the two-saddle specification and the two-turret specification, select the turret to be operated by t...

  • Page 47

    Chuck Open/Close OperationA foot pedal is provided to open and close the chuck.(1) Procedure (Standard Foot Pedal)(1) Step on the foot pedel to open or close the chuck. Each time the foot pedal is stepped on, the chuck opens and closes alternately. (2) Procedure (Dual-Pedal Foot Pedal) (1) ...

  • Page 48

    parameter to restrict the saddle movable range when the tailstock body is joined to the saddle. If an axis movement command is specified that causes the Z-axis to move beyond the set range, the command is disregarded. B Feedrate Feedrate of the Z-axis operated by pres...

  • Page 49

    Coolant <Procedure> (1) Press the [COOLANT - MANUAL] key on the machine operation panel to turn on the indicating lamp in it. (2) Coolant stops when the [COOLANT - MANUAL] key is pressed again to turn off the indicating lamp on it. [Supplement] It is not possible to select the...

  • Page 50

    MDI Operation1. Press MDI key in Mode Select Area.2. Press function key (F3) (Program)3. *Select “A” or “B” turret.4. Press Page until MDI display appears with current/buffer.5. *The Individual/Simultaneous switches should be in individual or simultaneous settings6. Press function key (F1...

  • Page 51

    11. The machine will now execute your command.*For 2 turret model machine only.Setting Z Zero OffsetsThere are two methods of offsetting on the Okuma control. This first method is used for Z-axis.1. *Select “A” turret.2. Select a tool for the Zero Set Tool. (Only one tool per turret will be...

  • Page 52

    Setting X Zero OffsetsThis method is used for zero setting for a drill from the management data card (X-axis only). 1. Selet Zero Set Mode 2. *Select “A” turret 3. With the cursor shift keys, locate the cursor to the X-axis zero offset. 4. Press function key (F1) (SET), then key in the value...

  • Page 53

    Setting Tool OffsetsThere are two methods of tool offsetting. The first is used when the tool offsets are unknown. This will be the most commonly used method.1. Select Manual Mode.2. Select Tool Data Mode.3. *Select “A” turret.4. Select a tool for offsetting.5. Manually touch off a faced pa...

  • Page 54

    Setting Tool OffsetsThis method of setting tool offsets will be used when preset tools are placed in the turret station, that is, the tooling has been premeasured for tool length and tool width prior to being placed in the turret stations. This method can also be used to erase offsets.EXAMPLE: ...

  • Page 55

    7. Repeat steps 3 thru 5 as needed for additional tool offset adjustment.Notes: 1. A constant for adjustment can be set in Optional Parameter Long Word 32. 2. To prevent accidental over adjustment of an offset, a limit can be set in Optional Parameter Long Word 33. 3. A limit can be set in Opti...

  • Page 56

    Method 2This method for setting the stroke end limits is used when it is necessary to calculate the stroke end limits from the program zero point without having to move the turret(s) to that position.1. Press the Parameter Key in the Mode Select area.2. Press function key (F6) or (F7) until the ...

  • Page 57

    9. The CRT will display the new soft limit position.CAUTION - The amount of adjustment cannot exceed the maximum stroke end limits.Procedure to Store Programs into Memory from Tape1. Set the N.C. part program tape in the tape reader.2. Press the Edit Aux. key in the Mode Select area.3. Press func...

  • Page 58

    Block to Block OperationThis method allows the operator to “single step” through the N.C. program one block at a time.*Steps 1 thru 5 need only be done when you are selecting a new program.1. Press the Auto Key in the Mode Select area.2. Press “Single Block” switch on.3. Place the individ...

  • Page 59

    10. *Select “B” turret.11. *Press function key (F2) (RESTART)12. *Key in sequence number for lower turret.13. *Press Write Key14. Wait for cursors to stop on the program.15. Press the Sequences Restart button.16. Press Single Block switch off, press cycle start to run.CAUTION - Before pressi...

  • Page 60

    12. *Press Write Key.13. Wait for cursor to stop in the program.14. Press Single Block key.15. Decrease the feed rate override switch to minimize rapid movements16. Press the Sequence Restart button.*For 2 turret mode machines only.MID-Auto Manual Mode and Restart FunctionThis method allows the o...

  • Page 61

  • Page 62

  • Page 63

    COORDINATE SYSTEM AND PROGRAM ZERO POINTCoordinate SystemAbsolute Position Encoder Advantages

  • Page 64

    COORDINATE SYSTEMAND ZERO POINTCNC machine tool motions must be identified carefully. Motions formerly done manually must now be explained numerically to the machine. Cutting tool and metal must come together at the right place and cutting conditions must be established. Points in space are spe...

  • Page 65

    Program Zero Point - the program zero point defines a ‘relative’ X0 Z0 position with regards to the machine’s center line. It defines the point along the machine’s center line, which in turn, correlates to the part program’s origin.The illustration below depicts at case which the user h...

  • Page 66

    Coordinate Positions / Program Points Often a cylindrical part is redrawn to show only one half of the basic partprofile, and the program points in a logical sequence. The following illustration reflects this basic technique for the part, shown above.

  • Page 67

    G90 Absolute Positioning - this is most common method of programming. The absolute method defines all the dimensions of the part based on parts origin point [X0 Z0]. It is the preferred method because it simplifies relating the part drawing dimensions to that of the actual part program X, ...

  • Page 68

    IDENTIFYCOORDINATES:XZPT.APT.BPT.C

  • Page 69

    IDENTIFYCOORDINATES:XZPT.APT.BPT.C

  • Page 70

  • Page 71

    Program CodesG Codes Additional G CodesM Codes

  • Page 72

    G Codes

  • Page 73

    G CodeDescriptionNotesG00Rapid Travel PositioningG01Linear InterpolationG02Circular Interpolation (Clockwise)G03Circular Interpolation (Counter clockwise)G04Dwell, expressed as seconds (used with the “F” format word)G13Designates ‘A’ Turret (upper)G14Designates ‘B’ Turret (lower)G32Fi...

  • Page 74

    G CodesDescriptionNotesG90Absolute Coordinate ProgrammingG91Incremental Coordinate ProgrammingG94Feed rate Expressed as INCHES PER MIN-UTEG95Feed rate Expressed as INCHES PER REV-OLUTIONG96Constant Surface FootageG97Direct Spindle RPM CommandG110Constant Surface Footage (cutting) - ‘A’ Tur-re...

  • Page 75

    Additional G Codes

  • Page 76

    FREQUENTLY USED CODESG50 Spindle Speed LimitPower chucks are used on CNC lathes have a maximum safe RPM. This is usually stamped on the chuck. This maximum RPM must be input on the first line of every part program.FORMAT: G50 S__________G0 Rapid TravelUsed to move the slides at full speed. Not...

  • Page 77

    G94 and G95 - IPR and IPM FeedIn a cutting mode, the rate by which the turret or the X-axis and Z-axis is moved, is controlled by the “F” or feed rate word.The mode of the “F” word is dictated by which “G” command code is chosen by the programmer.The feedrate choices are as follows:...

  • Page 78

    G00 Rapid Travel Positioning - this command causes all the machines axis slides to move at ‘full speed’ to the target position. Note that a G00 command does not always result in a ‘straight-line’ path of motion between the current position and the target position. Effectively, both axe...

  • Page 79

    G01 Linear Interpolation - a fundamental program command that is used whenever ‘cutting’ takes place. A ’G01’ command requires that an associated feed rate be either contained on the same ‘line’, or has been established prior to the G01 line. In addition, it is required that the main...

  • Page 80

    Feed Rate ‘F’ - this ‘word’ is used to define the desired feed per revolution during the cutting process. It can be thought of as the amount the tool will move axially for every revolution of the work piece.Generally, rough turning tool feed rates range from 0.01 to 0 .02 per revolution, ...

  • Page 81

    G94 - Inch Per Minute - for the most part, this mode works with the ‘F’ word when the machine axes need to be moved at a controlled rate -AND THE MAIN SPINDLE IS NOT REVOLVING.An example of this would be the use of a ‘work pusher’ or the use of a bar puller.Example:G50 S2000G00 X50 Z50G00...

  • Page 82

    G95 - Inch Per Revolution - during cutting, the ‘F’ word determines the rate at which the axis is moved. For turning equipment, the ‘F’ word is based on the unit of inch per revolution, or IPR. Traditionally, insert manufacturers state cutting data in this IPR method.• The OSP control p...

  • Page 83

    Common M-Codes

  • Page 84

    M CodesDescriptionNotesM00Program StopM01Optional Program StopM02End of ProgramM03Spindle ‘ON’ Forward (clockwise)M04Spindle ‘ON’ Reverse (counter clockwise)M05Spindle ‘OFF’M08Coolant ‘ON’M09Coolant ‘OFF’M20Tail stock Barrier ‘OFF’M21Tail stock Barrier ‘ON’M22Thread Ch...

  • Page 85

    M CodesDescriptionsNotesM75In Feed Pattern 3 (three) for Thread Cutting DepthsM83Chuck ClampM84Chuck UnclampM86Turret Indexing Direction: Clockwise (Reverse)M87Cancel M86 (Forward)M88Air Blower ‘ON’M89Air Blower ‘OFF’M90Door (cover) CloseM91Door (cover) Open

  • Page 86

  • Page 87

    Program Format and Data Word/Address (letter/number combinations)Refer to LB25-T min Program at Front Begin with Simple Examples; T-Command Will be Covered in Detail LaterDiscuss comments inside Parentheses

  • Page 88

    Basic ProgramThe following program example uses the program points from the proceeding part example.G50 S2000G00 X50 Z50X0 Z3.1 T0101 G97S975 M03 M08G01 Z3 F.01X1X1.25 Z2.875Z2X2X2.5 Z1.75Z1X3.75 + .1G00 X50 Z50M02← Max. Spindle RPM← Rapid to Home/ Index Position← Approach Move, select tool...

  • Page 89

    S,T,M Execution - all S, T, M words which are part of any ‘program block line’ will always be executed on a ‘first priority’ level of hierarchy.In the preceding example, the M08, M03, S650, and T0101 will ALL be ‘established’ before the machine slides are allowed to move to thecommand...

  • Page 90

    Spindle RangesDepending on your machine type, the headstock unit may have up to four (4) ranges. There are different methods that allow the headstock to change from one range to another. Please research your machine type to determine if your programs need to contain all the fundamental ‘M’ ...

  • Page 91

    Tool Selection Command - this command allows part program to select the desired tool to be indexed into the cutting position.For reasons of clarity, a tool number is synonymous with a turret station number. The tool is identified by using a ‘T’ word, and trailing digits.FormatsT_ _T_ _ _ _T_ ...

  • Page 92

    G50 S1000G00 X50 Z50X10 Z10 T010101 This program, containing ‘T010101’ allows tool #1 to be placed at the cutting position, reads the number #1 tools X and Z offset values, and reads, the corresponding X,Z nose radius values. Programs that utilize the tool nose radi...

  • Page 93

    Problems1. What is the difference a G90 and a G91 code?2. What are the two primary axis of a lathe?3. G00 causes the axis slide to move, how?4. What are the two uses of the “F” word?5. What is the difference between the G94 and the G95 codes and how do they affect the “F” word?6. What wor...

  • Page 94

    8. What is the word used for tool?9. How many “pairs” will it take to define tool number and offset number?

  • Page 95

    ANGLE COMMAND

  • Page 96

    1. What are the angles for each circle?2. When a tool is designated as a 4-place number, what are the meaning of the numbers?3. Will the tool nose compensation be picked up by the control with a 4-place designation? Explain.

  • Page 97

  • Page 98

  • Page 99

    CIRCULAR INTERPOLATIONWrite Simple Program on Board Part DR202-3Eliminate Speed and gear rangeWrite program with zero at front and backWrite Program on Board for DR201-3Have a student key in the program on simulator as you writeAdd graphics commands to program, without explanation to studentsCall...

  • Page 100

    Circular InterpolationCircular interpolation uses either a “G02” or “G03” command to allow the machining of arcs or radii either external or internal.Fundamentally, an arc has a direction based on the advance of the cutting tool. An arcs direction is said to be either clockwise or counte...

  • Page 101

    The following illustration is provided to depict an example of both start and end points as related to an arc or radius.

  • Page 102

    At this time, the programmer needs to decide whether to define the arc’s center point by “I” and “K” words, or use the simpler format and “L” word.Ultimately it becomes a decision based on what style the programmer is most comfortable with and ultimately what information is given on...

  • Page 103

  • Page 104

    When the cutting tool is positioned at the start point of the arc, the following 2 questions will aid the programmer. Imagine the tool tip being at the start point of the arc then ask the following.1. Is the center of the arc to the left/right of the tool ? This determines the sign (+/-) of the...

  • Page 105

    In summary, four things must be specified to machine ar arc on any CNC machine: They are as follows: 1. Origin of the arc. 2. Center of the arc. 3. End point of the arc. 4. The direction of travel.Programming Steps:1. Position the tool to the origin (start point) of the arc.2. Define...

  • Page 106

  • Page 107

  • Page 108

    WRITE SIMPLE PROGRAM ON BOARD PART DR202-3Eliminate speed and gear rangeWrite program with zero at front and back

  • Page 109

    DR202-3

  • Page 110

    WRITE PROGRAM ON BOARD FOR DR201-3Have a student key in the program on simulator as you writeAdd graphics commands to program, without explanation to students

  • Page 111

  • Page 112

    CALL UP AND TEST PROGRAM

  • Page 113

    REVIEW

  • Page 114

  • Page 115

    MACHINING GUIDELINESSurface Footage, Feedrate and Depth of CutCutter Radius CompensationDiscuss what CRC is, how it works, and it’s advantages

  • Page 116

    RPM and SFPM FORMULAS1) Revolutions per minute (RPM) is a machine setting that must be given to the lathe operator. RPM describes how fast the workpiece is turning and is simply the number of revolutions the workpiece makes during one minute. RPM is independent of the workpiece diameter and is on...

  • Page 117

    Nose Radius Selection and Surface FinishNose radius and feed rate have the greatest impact on surface finish. To determine the nose radius required for a theoretical surface finish, use the following procedure and the chart above.1. Locate the required surface finish (RMS and Ra) on the vertical...

  • Page 118

    CUTTER RADIUS COMPENSATIONDiscuss what CRC is, how it works, and it’s advantages

  • Page 119

    Tool Nose Radius CompensationFORMAT: G40 Cancel of TNR G41 TNR Compensation (Left) G41 TNR Compensation (Right)For straight turning and facing cuts, the THEORETICAL sharp point tool nose and the actual tangent point of the tool radius doing the cutting, are the same. When turning an angle or ra...

  • Page 120

    When using TOOL NOSE RADIUS COMPENSATION all programming is done to the THEORETICAL SHARP TOOL NOSE POINT.This means that the part program is a reflection of your engineering drawing. It also eliminates the costly and time consuming calculations needed to compute tool center line offsets fo...

  • Page 121

    TNR3TOOL NOSE COMP. DIRECTIONShown below is the improper tool path caused by not using TOOL NOSE RADIUS COMPENSATION and the proper tool path resulting from TOOL NOSE RADIUS COMPENSATION.

  • Page 122

    Note location of the THEORETICAL SHARP TOOL NOSE POINT in both the examplesMOTION PROGRAMMED TO THEORETICAL TOOL POINT WITHOUT TOOL NOSE RADIUS COMP... RESULTS IN WRONG CUTTER PATH.MOTION PROGRAMMED TO THEORETICAL TOOL POINT WITH TOOL NOSE RADIUS COMP.. RESULTS IN CORRECT CUTTER PATH.Shown below...

  • Page 123

    Note location of the THEORETICAL SHARP NOSE POINT in both of the examples.MOTION PROGRAMMED TO THEORETICAL TOOL POINT WITHOUT TOOL NOSE RADIUS COMP. RESULTS IN WRONG CUTTER PATH.MOTION PROGRAMMED TO THEORETICAL TOOL POINT WITH TOOL NOSE RADIUS COMP. RESULTS IN CORRECT CUTTER PATH.

  • Page 124

    PROGRAMMING EXAMPLE: TOOL NOSE RADIUS COMPENSATION G42 G13 G50 S3200 G0 X25 Z25 N1 X1.75 Z2.6 S1500 T20202 M3 M42 M8 N2 G42 G1 Z2.5 F.012 N3 X2 Z2.375 N4 Z.5 N5 X3.375 N6 X3.5 Z.4375 N7 G40 X3.6 K-1 G0 X25 Z25 M2

  • Page 125

    TNR CANCEL METHOD G50 S2000 G00 X50 Z50 G42 X2 Z4.6 T010101 G97 S1100 M03 G01 Z1.5 F.015 X4 G40 G00 X50 Z50 M02

  • Page 126

    G40 with “k” word G50 S2000 G00 X50 Z50 G42 X2 Z4.6 T010101 G97 S1100 M03 G01 Z1.5 F.015 G40 X4 K-1 (positions as shown) G00 X50 Z50 M02

  • Page 127

    Use of I and K when cancelling tool Nose Comp. TNR6Without K-1

  • Page 128

  • Page 129

    Setting Compensation ValueSet the tool compensation value in the NOSE R COMP columns on the TOOL DATA SET screen. The compensation amounts can be set in the same manner as setting tool offsets.Orientation of nose R center in reference to the imaginary tool tip may be set either by a positive or ...

  • Page 130

    4. Press function key [F1] {SET) and input the compensation data.Input the compensation data for Z (ZA) also.The allowable maximum setting value of nose-R compensation value is + 999.999 mm.5. Set the direction of imaginary tool tip by coded number. Move the Cursor to P column and set the coded ...

  • Page 131

    Parameter bit position (OPTIONAL PARAMETER (OTHER FUNCTION 2) Nose-R setting graphic (1: special/0: standard) 0: Standard graphic display 1: Simplified graphic display

  • Page 132

  • Page 133

    AUTO CHAMFER & AUTOMATIC RADIUS

  • Page 134

    Notes:G75 is effective only with G01 mode. G75 is non-modal and active only in the commanded program block The axis movement must be greater than the absolute value of the “L” word. The program block can contain only one dimension word either X or Z. G75 is effective for LAP cycles. G75 is ...

  • Page 135

    G75 Auto Chamfering – 45 Degree only – the following illustration shows how the OSP control can utilize a G75 command to allow simplified programming of either external or internal 45 degree chamfers.

  • Page 136

    G76 Radius Chamfering – 90 Degree – the following illustration shows how the OSP control can utilize a G76 command to allow simplified programming of either external or internal 90 degree radius chamfers.FORMAT: G76 G01 X.. or..Z .....L........F.........G50 S200← Max. Spindle RPMG00 X50...

  • Page 137

    Program this part using G75 and G76

  • Page 138

  • Page 139

    LAP CYCLESLAP Cycle conceptTypes of LAP CyclesWrite new program for DR201-3 and modify to use LAP cycles

  • Page 140

    LATHE AUTO-PROGRAMMINGFUNCTION (LAP3/LAP4)General Description:LAP (Lathe Auto-Programming) makes full use of the control’s high-speed processing capability. With this function, the control automatically generates a tool path to produce the required part contour.In this function, dimension data...

  • Page 141

    CLASSIFICATION OF LAP CYCLES

  • Page 142

    G85 Cycle 1. Finished Part 2. Extra Stock ‘length’ 3. Material to Remove ...

  • Page 143

    Parameters for LAP CyclesParameterDescriptionDDepth of cut in rough cut cycle 1) Alarm 2) D>0DADepth of cut after rough cut conditions change point A 1) DA = D 2) DA > 0DBDepth of cut after rough cut conditions change point B 1) DB=DA 2) DB > 0 FAFeedrate after rough...

  • Page 144

    Note 1: The following words should be specified in incremental values. D, DA, DB, U, W and HNote 2: D, DA, DB, XA, XB, U and H words should be specified in diameter.Note 3: In a thread cutting cycle using the M73 pattern, “H-U” must be greater than or Equal to D: H-U > D ...

  • Page 145

    G85 – Bar Turning Cycle[N0103] [G85] [NLAP1] [ ] [D] [F] [U] [W] [G84]N0103 Sequence numberG85 G code calling out bar turning cycle. To be provided right after sequence number (name)NLAP1 Sequence name in the first block of contour defining blocksBlank Enter either tab or space codeD Dep...

  • Page 146

    G87 – Finish Cut Cycle Format: [N0203] [G87] [NLAP1] [ ] [U] [W] N0203 Sequence number G87 G code calling out finish cut cycle. To be provided right after the sequence Number (name) NLAP1 Sequence name of the first block of...

  • Page 147

    LAP Programming Precautions: 1. Be sure to include the contour defining sequence name or number right after the “G” code calling for execution of the LAP program: G85, G86, G87, G88.2. The “G” codes (G81 and G82) are used to indicate the start of the LAP CONTOUR DEFINITION and must be pr...

  • Page 148

    Questions1. Why is part contour definition so important?2. What “G” word is at the end of your part contour definition on a line by itself?3. The first letter of the lap name must always be a__________________.4. What is the difference between G81 and G82 for establishing the lap cycle?5. Cou...

  • Page 149

    N1 G50 S3500 N2 G0 X25 Z25 N3 G96 X10.1 Z1.25 S500 T10101 M3 M41 N4 G85 NFCE D.12 U.010 W.005 F.01 N5 G0 X 25 Z25 N6 S1000 T20202 M42 N7 G87 NFCE N8 G0 X25 Z25 NFCE G82 N10 G0 G41 X10.1 Z.5 N11 G1 X10 F.008 N12 G75 Z.75 ...

  • Page 150

    Practice Programming

  • Page 151

    PROGRAMMING EXAMPLE: BAR TURNING WITH LAP CYCLEG50 S4000G0 X25 Z25N11 X4 Z3.1 F.018 S500 T30303 M3 M41 M8N12 G96 S1200N13 G85 NOD1 D.3 U.03 W.005N14 G97 S500N15 G0 X25 Z25N16 T50505 S1000 M3N17 X4 Z3.1N18 G96 S1500N19 G87 NOD1N20 G0 X25 Z25 M5 M9NOD1 G81N1 G0 G42 X1 Z3.1 F.01N2 G1 Z3N3 X1.5N4 X...

  • Page 152

    PROGRAMMING PRACTICE

  • Page 153

    PROGRAMMING EXAMPLEBAR TURNING WITH LAP CYCLES

  • Page 154

    G84 - Change of Cutting Conditions in Bar Turning Cycle FORMAT: N..... G85 N...... $ G84 XA=(ZA=) DA= FA= $ XB=(ZB=) DB= FB= (1) (2) (3) (4) 1. Indicates that the commands is a continuation from a previous command line. (must be specified at the beginning of the bloc...

  • Page 155

    PROGRAMMING EXAMPLE: G84 – 1USING G85, G81 AND G84The LAP program, to remove the material indicated in the cross-hatches areas, would be as follows: N1 G50 S3000 N2 G00 X20. Z20. N3 X8. Z.Z1 T010101 G96 S600 M03 M08 M42 N4 G85 NTRY1 D.2 U.010 W.005F.015 $ G84 XA = 7. DA = .4 FA =.030 $ ...

  • Page 156

    PROGRAMMING EXAMPLELAP CYCLE WITH CHANGE OF CUTTING CONDITIONS N1 G50 S4200 N2 G0 X25 Z25 N3 G96 X2 Z3.1 F. 015 S500 T90909 M3 M42 → N4 G85 NOD2 D.2 U.0 → $ G84 XA = 1.25 DA=....

  • Page 157

    PROGRAMMING PRACTICEPROGRAM USING G84

  • Page 158

    PROGRAMMING PRACTICE

  • Page 159

    G86 – Copy TurningFORMAT[N0123] [G86] [NLAP2] [ ] [D] [F] [U] [W]N0123 Sequence numberG86 G code which calls out copy turning cycle. It is located to be right after the sequence number (name)NLAP2 Sequence name in the first block of contour defining blocksBlankD Depth of cutF Feed rat...

  • Page 160

    LAP 4 PROGRAMMING EXAMPLEN10 G85 NG83 D.1 F.015 U.01 W.005 NG83 G83 G1 X2.2 Z7.1 Z5.7 X4.2 Z5.1 Z3.1 X6.2 Z2.1 Z.6 NG8...

  • Page 161

    PROGRAMMING PRACTICEPROGRAM USING G85 FOR FACE G86 FOR OD

  • Page 162

    REVIEW

  • Page 163

  • Page 164

  • Page 165

    MISCELLANEOUS CYCLESDrilling CyclesGrooving CyclesTapping Cycles

  • Page 166

    Programming Practice: DR607-2G73 using "K" for multiple groovesWhen programming multiple grooves of equal widthsto the tool being used:K = pitch of the groovesZ = chuck side of the last grooveT word is not usedNote: All grooves are equally spaced and the groove width is equal to the to...

  • Page 167

    Programming PracticeOperations: 1. Face to Length 2. Turn 1.6 OD 3. Drill & Tap 4. Groove 5. Part Off

  • Page 168

    G74 DRILLING FIXED CYCLE[G74] [X0] [Z] [D] [K] [L] [F] [E]*OPTIONALThis example is to show the drill program, to position, drill to depth, and rapid retract back out past the start position point.Definitions:For G74 line of programmingX X-axis diameter coordinate must always be zero. It must be ...

  • Page 169

    PROGRAMMED EXAMPLEDRILLING G74 G50 S3500 G0 X25 Z25 Z4.1 S760 T505 M3 M41 X0 G74 X0 Z-.4 D.6 L1 F.008 G0 X25 Z25 M2

  • Page 170

    G74 - Face Grooving CycleG74 X___ Z___ K___ I___ D___ L___ F___ E___ T___X X-axis diameter coordinate to end-point of groove (from program zero)Z Z-axis coordinate to bottom of groove (from program zero)K Rapid advance to the work piece from the Z-axis start position.I Cutter shift amo...

  • Page 171

    G77/G78 TAPPINGG77 X0 Z_ _ _ F_ _ _ (K_ _ _)Definitions:X Allows 0, must always be on G77 lineZ End point coordinate of tap depth. K Air cut reduction distance from start point, incremental value. Do not start too close to the hole, distance must be kept for slide acceleration. F Feed rate F...

  • Page 172

    PROGRAMMING PRACTICETAPPING G77 & G78G77 RH TAP G50 S350 N1 G0 X25 Z25 N2 X- Z2.3 S500 T404 M3 M41 N3 G77 X0 Z.875 F1.13 K.1 N4 G0 X25 Z25 N5 M2G78 LH TAP G50 S350 N1 G0 X25 Z25 N2 X0 Z2.3 S500 T404 M4 M41 N3 G78 X0 Z.875 F1.13 K.1 ...

  • Page 173

    PROGRAMMING PRACTICEINSTRUCTIONS: 1. FACE 2. TURN OD 3. DRILL 4. TAP

  • Page 174

    G73 LONGITUDINAL GROOVING - FIXED CYCLEG73 X___ Z___ I___ K___ D___ L___ F___ E___ T___ X X-axis coordinate (groove bottom) Z Z-axis coordinate on right wall of groove I X axis cutter shift advance to the workpiece - rapid feed K Z axis “stepover’ amount D Depth of infeed L Depth for F...

  • Page 175

    Using G73 for Multiple Grooves - Fixed pitchThe following example shows how to use the G73 cycle to produce grooves along a diameter at a uniform spacing. Please be aware that the groove width will be the width of the insert and therefore insert tolerance could be a problem if trying to hold a g...

  • Page 176

    PROGRAMMING PRACTICEOPERATIONS: 1. FACE TO LENGTH 2. TURN 1.6 OD 3. DRILL & TAP 4. GROOVE 5. PART OFF

  • Page 177

  • Page 178

  • Page 179

    THREADING FIXED CYCLED

  • Page 180

    GENERAL DESCRIPTION Thread cutting requires several passes, ordinarily requiring many blocks of programs. By using the threading fixed cycle we can take many passes with only one line of program.Two modes of thread cutting cycles are available, G71 longitudinal thread cutting and G72 transverse...

  • Page 181

    G71 - Longitudinal Thread Cutting Cycle (fixed cycle)[G71] [X___] [Z___] [B60] [D___] [F1] [J___] [H___] [(U___)] [A___)] [(I___)] [(E1___)] [(Q___0] [(L___)] X Coordinate value (dia.) for final diameter of thread. Minor diameter for O/D threads Major diameter for I/D threadsZ Coordinate ...

  • Page 182

    amount or .002 depth of cut. If no “U” value is provided, the control will not perform an extra pass. H Thread height, expressed as the difference between the MAJOR and MINOR thread diameters. Must be expressed as a diametrical value. L Chamfering or pull-out distance at end of thread. ...

  • Page 183

    Programming Example PROGRAM G50 S3500 G0 X25 Z25 N1 G97 X3.8 Z4.3 S450 T707 M3 M8 M41 N2 G71 X3.193 Z1.8 B60 D.02 U.002 H.307 $ F1 J4 M23 M32 M74 N3 G0 X25 Z25 M5 M9 N4 M2

  • Page 184

    PROGRAMMING EXAMPLE G50 S3500 N1 G0 X25 Z25 N2 X1.4 Z2.9 S1200 T606 M3 M41 N3 G71 X1.173 Z1.25 B60 D.01 $ U.002 H.077 F1 J16 (M32 M73) N4 G0 X25 Z25 N5 M2

  • Page 185

    Programming Practice ROUGH STOCK IS 2.25 DIA. 3.125 LONGOPERATIONS 1. FACE 2. ROUGH TURN 3. FINISH TURN 4. GROOVE 5. THREAD

  • Page 186

    Motion of Thread Cutting ToolWhen using the thread cutting cycle called for by G71 or G72, tool paths (1) and (4) are executed at a rapid traverse rate, (2) at the feed rate specified by the “F” word, and (3) at the feed rate determined by a parameter setting. Parameter Long Word No.8 “M...

  • Page 187

    Precautions Using “Slide Hold” During Thread Cutting:Pressing SLIDE HOLD usually immediately stops all axis motion. If this was the case in thread cutting the thread would be ruined, scrapping the part. The OSP control causes the tool to come back off the thread and rapid travel to the ref...

  • Page 188

    Cutting Modes M32 Straight infeed along thread face (on the left face) M33 Zigzag infeed M34 Straight infeed along thread face (on the right face) Designate a B command (tool tip point angle) at the same time.Infeed Patterns 1) M73 Infeed pattern 1 Infeed is made by D (in diameter) in ...

  • Page 189

    The control continues in this manner unit it reaches a calculated diameter that is six passes from the end. The six passes are calculated in this manner. This pass is equal to (“X” + “U” + “D”) This pass is equal to (“X” + “U” + “D”/2) This pass is equal to (“X” + ...

  • Page 190

    C. M32 + M74 ModeD. M33 + M74 ModeE. M32 + M75 Mode (Infeed Pattern 3, D2 > (H2 - (H - U (W) )2))

  • Page 191

    F. M33 + M75 Mode (Infeed Pattern 3, D2 > (H2 - H - U (W))2))G. M32 + M75 Mode - (Infeed Pattern 3, D2 > (H2 - H - U (W))2) Infeed Pattern 4)H. M33 + M75 Mode - (Infeed Pattern 3, D2 > (H2 - H - U (W))2) or Infeed Pattern 4)

  • Page 192

    G33 - Fixed Threading Cycle (longitudinal) - Each pass individually programmed.Definitions: X Coordinate value (dia.) of “each” thread cutting pass. Z Coordinate value of thread end-point in Z-axis direction. F Thread lead, or, (1/number of threads per inch). If “J” word i...

  • Page 193

    Programming Example: G33-2 G50 S3500 N1 G0 X25 Z25 N2 X1.3 Z2.9 S1200 T606 M3 M41 N3 G33 X1.239 Z1.125 F1 J16 N4 X1.228 N5 X1.217 N6 X1.206 N7 X1.195 N8 X1.184 N9 X1.177 N10 X1.173 N11 G0 X25 Z25 ...

  • Page 194

    G34 - Variable Lead Threading, Increasing (non-fixed cycle)[G34] [X___] [Z___] [F1] [J___] [(E___)]Definitions:When using the “G34” cycle one must remember that it is a non-fixed cycle. The tool MUST be positioned in the X-axis and Z-axis to the desired threading tool pass prior to using the...

  • Page 195

    PROGRAMMING EXAMPLE: G34-1 The following program is written to show one pass on the threaded part N1 G50 S3000 N2 G00 X20.Z20 N3 X1.2 Z.2 G97 S200 T0101 M08 M03 M41 N4 G34 X1.8 Z-1.6 F2 J11.5 N5 Z-3 F2. J9. N6 G00 X2.4 N7 X20. Z20. M09 N8 M02 This programming is conveniently used for s...

  • Page 196

  • Page 197

    SUBPROGRAMS, SCHEDULE PROGRAMS AND ADDITIONAL FILESDivide an existing program into subprograms and discuss System Subprogram conceptHave students divide another existing programExplain Schedule Program operationReview the concept of Variable ProgrammingCommon VariablesLocal Variables

  • Page 198

    Program Files There are four types of files as described latter. They correspond to filed documents, or ledgers; to manage NC data, each file is stored with the name of a part such as gear, shaft or flange assigned to it. File names consist of main file names and extensions. Main file name....

  • Page 199

    2 Subprogram File Patterns often repeated in cutting parts such as Vee-groove and parting off cycle are filed in the subprogram file when preparing part programs. The subprogram file com prises one or more subprograms; the main file name is followed by the extension “SUB”. When th...

  • Page 200

    Schedule Operation To machine different kinds of work pieces continuously, the scheduled operation feature is very effective. In scheduled operation, part programs used to machine work pieces and those for controlling work piece loading/unloading operation are prepared and the order the numb...

  • Page 201

    (5) Press function key [F2] (MD1: INDEX). (6) Move the cursor to the desired file name and press the [WRITE] key. (7) Press the [WRITE] again. This selects the program at the cursor position and the screen returns to the previous screen. Make sure that the specified schedul...

  • Page 202

    <Procedure> (1) Press the [AUTO] selection key. (2) Press function key [F8] (EXTEND) to display the schedule program selection function. (3) Press function key [F4] (SP SELECT) (4) Input the selection program file name. =SS A.SDF (5) Press the [WRITE] key. This selects...

  • Page 203

    [Supplement Cont.] D When the scheduled operation is started with the single block function ON, a main program is selected by the schedule program first and the NC waits for cycle start operation. Pressing the [CYCLE START] button causes the NC to run in the normal...

  • Page 204

    VariablesThere are three types of variables used with User Task 2:- Common variables- Local variables- System variablesThese three types of variables differ in their use and characteristics.(1) Common VariableCommon variables are common to main programs and subprograms. When the same variable is...

  • Page 205

    Common VariablesThere are 200 common variables, V1 through V200.In the parameter setting operation, these variables can be set or changed. They can be used freely, independent of the system.<Function selection> SET: When directly inputting the value to be set.ADD: When a value is already ...

  • Page 206

    Local VariablesLocal variables are the variables that a user can set as desired with a unique name defined by the user. Up to 127 local variables can be used for A-turret and B-turret, respectively.a) Program format<Letter> <Letter> <two alphanumerics>= Numerical data or expres...

  • Page 207

    4) Up to 127 local variables can be used on A-turret and B-turret, respectively.5) Local variable values are not passed between the main program and subprograms. A subprogram may have a local variable of the same name as one in the main program, but their values can be different.As shown above, ...

  • Page 208

    6) When using local variables in a subprogram, the numerical data assigned last to the local variable is used when there are several local variables assigned with the same name registered in the memory.The local variables set in the block containing a CALL statement are cleared when the RTS stat...

  • Page 209

    7) When a local variable is newly set in a subprogram, its name and numerical value are stored in the memory. They are effective only in the subprogram in which they are set, and are cleared when the RTS statement in the subprogram is executed.8) When a new value is assigned to a local variable ...

  • Page 210

    The subprogram defining the contour, prepared using local and common variables, can be programmed as below according to Table 2-1.$ SHAFT-ABC.SUB%0100NLAP1 G81N1001 G00 X=DX1 Z=LZ1+2N1002 G01 Z=LZ2 F0.2N1003 X=DX2N1004 Z=LZ3N1005 ...

  • Page 211

    c) Program name ………………0100 in this example.d) With the commands in N102, the subprogram 01000 is called and executed. Numerical data for the variables used in the subprogram are set. When commands in this block cannot be written on line. They are separated on to several lines by pl...

  • Page 212

    PROGRAM EXAMPLESThree typical program examples are provided on the following pages. They are prepared only for purpose of illustration, and they do not cover all the functions available with User Task 2.Please refer to the examples so that you can make the most of the User Task function for prep...

  • Page 213

    V4 = Cutting speed in finishing cycle WLZ1 = Finish allowance in longitudinal Direction WZILZ1 = Longitudinal dimension LZ1 UDX1 = Finish allowance on diameter UX1LZ2 = Longitudinal dimension LZ2 XS = X coordinate of LAP Starting pointLZ3 = Longitudinal dimension LZ3 ZS = Z coordi...

  • Page 214

    Variable ProgrammingSHAFT EXAMPLEG13(SHAFT-A.MIN)G50S4200N101 GOX800Z800N102 CALL O1000 V1=1010 V2=1111 V3=160 V4=200$LZ1=200 LZ2=150 LZ3=80 DX1=30 DX2=50 DX3=80 WLZ1=.1 UDX1=2$XS=100 ZS=210N103 G0X800Z800N104 M2G13(SHAFT-B.MIN)G50S4200N101 GOX800Z800N102 CALL O1000 V1=1010 V2=1111 V3=160 V...

  • Page 215

    <Program Example 2>………(Cutting contour requiring calculation for defining 1)When cutting a contour containing a circular arc and a taper and when the point(s) of intersection is not indicated on the part drawing, the user task function featuring operation function should be used to pr...

  • Page 216

    Set using local variables XD1 = Diameter of point “a” (110 mm) XD2 = Diameter of point “b” XD3 = Diameter of point “c” (190 mm) ZL1 = Z-coordinate of point “a” ZL2 = Z-coordinate of point “b” ZL3 = Z-coordinate of point “c” (32 mm)DIS1 = Distance: DX3 – DX1 DIS2 = ...

  • Page 217

    SubprogramRADIUS-TAPER.SUB%ORT01N1000 XD2=XD1 + 2*[V11 - DIS2] 2L2=ZL3 + DIS4$ ZL = AL2 + DIS3N1001 G01N1002 G02 X=XD2 Z=ZL2 L=V11N1003 G03 X=XD3 Z=ZL3N1004 RTS - Variables are set in block N1000.- Z coordinate of point “a” is specified in block N1001.- X and Z coordina...

  • Page 218

    The main program is shown below.Main Program$ FLANGE-1.MIN%0100N101 V10 = 15 V11 = 16 XD1 = 110 XD3 = 90 ZL3 = 32N102 G00 X800 Z300NLAP1 G81N103 G00 X76 Z137N104 G42 G01 Z135 F0.2N105 G75 X80 L2N106 G01 Z115N107 G75 X=XD1 - 6N108 X=XD1 Z1...

  • Page 219

    G13(FLANGE-1.MIN)G50 S4000N100 V10=15 V11=16 XD1=110 XD3=190 ZL3=32N102 G0 X800 Z800NLAP1 G81N104 G0 X74 Z137N106 G42 G1 Z135 F.2N108 G75 X80 L2N110 G1 Z115N112 G75 X=XD1 L2N114 Z112N116 CALL ORT01 DIS1=[XD3-XD1]/2 DIS2=V11*SIN[V10]$ DIS3=V11*COS [V10] DIS4=[DIS1+DIS2-V11]*TAN[V10]N118 Z-2N12...

  • Page 220

  • Page 221

    GRAPHIC COMMANDS

  • Page 222

    ANIMATION MODE DISPLAYFunction Keys Used for Graphic Display OperationThe graphic display is possible in the auto, MDI and manual operation modes.(1) F1 (STD/EXT GRAPHIC)This toggles the graphic display mode between NORMAL SCALE and ENLARGE SCALE. NOTICE:During the execution of a program, it is ...

  • Page 223

    F3 (NORMAL SCALE)This function selects the unit length of an axis on the graphic display. On the graphic display, a dotted line with arrow marks at both ends is displayed with SCALE indication and scale value. This represents the scale length.The normal scale is set by two different methods:(a)...

  • Page 224

    [Supplement] A Before executing auto scaled, select the desired program. B If the following commands are used in a part program, they are executed when the program is read by the pressing of function key [F1] (AUTO SCALE) READ, WRITE, GET, PUT, DELETE, SAVE and DEF C If output vari...

  • Page 225

    The scale value can be directly entered through the keyboard after pressing function key [F2] (SCALE SET). In this scale setting, setting range is from 12.5 mm (0.49 in.) to 1250 mm (49.21 in.).The position of the coordinate axes can be set at a required position by using the cursor after settin...

  • Page 226

    F5 (TRACE/ANIMATE)The graphic display mode is selectable from the three modes indicated below by pressing function key [F5] (TRACE/ANIMATE). Note that selection of the graphic display mode must be made before starting the operation. The selected mode cannot be changed during the operation. (a)...

  • Page 227

    F7 (CLEAR)Tool paths, blank shape, chuck shape and tail stock spindle shape displayed on the CRT are cleared.Display Page Note 1: Data in item “XB” and “ZB” is available for two-saddle models Note 2: Data in item “C” is available for the multi-machining option.Machine Time DisplayActu...

  • Page 228

    Additional Functions for Multi-machining ModelsThe available function keys are basically the same as used for the standard models.(1) Standard/Enlarged Graphic Display(a) Standard graphic display mode.For the blank display, the page key is used for switching the view angle from the side to the fr...

  • Page 229

    Front ViewThe front view is displayed in a coordinate system in which the C-axis angle is fixed as shown above. The indications on the scale represent X-axis values (in radius) (b) Enlarged graphic display modeIn the enlarged graphic display mode, switching the view angle between the front an...

  • Page 230

    (4) Switching between Trace and Animation DisplaysAs with the standard models, function key [F5] (TRACE/ANIMATE) is used for selecting the three different display modes. (a) Trace/Animate Side View:Tool shape, chuck shape, blank shape and tail stock spindle shape are displayed. Tool pat...

  • Page 231

    “n” represents the factor to designate the tool outline drawing interval and is set OPTIONAL through PARAMETER (ANIMATION) – Display distance of tool contour within a range of 10 to 100.The tool outline is also drawn on the display when the feed rate is changed from the rapid traverse to c...

  • Page 232

    example: pressing this key while the side view is being displayed displays only the side view of the blank. (6) Delete Function KeySide View:Tool paths, blank shape, chuck shape, the tail stock spindle shape and tool shape displayed on the side view page are all deleted.Front View:The tool outl...

  • Page 233

    (b) When the multi-machining specification is not selected, patterns 1 through 3 can be selected by pressing function key [F2] (MODE SELECT). The front views for patterns 1 and 2 cannot be selected using the page keys. (c) Patterns 1 through 3 can be selected by pressing function key [F2] (MODE...

  • Page 234

    Front View:Blank shape is displayedThis function key is effective only for the page currently displayed. For example, pressing this key while the side view is being displayed displays only the side view of the blank. (7) Delete Function KeySide View:Tool paths, blank shape, chuck shape, tail s...

  • Page 235

    TOOL FORM SELECTIONThe procedure to set the tool form used in animation display is explained below.Tool form data must be set in advance for all tools that are used in the program. However, when a tool animation data command (commanded using system variables) is specified in a program such as th...

  • Page 236

    (4) Press function key [F3] (TOOL KIND) to display the page from which the tool code number can be set.(5) Input TOOL CODE NO.If keys [3] and WRITE are pressed, the display indicated below is displayed.

  • Page 237

    (6) Input the FORM CODE NO.If the form code “3” is specified, the display will change as shown below.(7) From this page, set the TOOL EDGE DATA by locating the cursor at the required data position.TOOL ANGLE A1EDGE ANGLE A2STICKING OUT LSupplement: The tool interference area is automatically ...

  • Page 238

    MATERIAL BLANKIt is important to test your program graphically before cutting the first pieceFORMAT: CLEAR DEF_WORK PS_(REF.ENDFACE), [Z(VALUE),X(VALUE)], [Z(VALUE), X(VALUE)] END DRAW N 1 G50 S3000DEFINITIONS:CLEAREnter this as the firs...

  • Page 239

    ENDEnd of MATERIAL BLANK statements. Must be on a line by itselfDRAWThe defined MATERIAL BLANK is displayed on the CRT screen.You may need to draw a MATERIAL BLANK that already has a hole in it. This requires two (2) PS statements. For this example, the first PS statement is for the overall bl...

  • Page 240

    Notes:1. Line N3 defines overall size of blank.2. Line N4 defines length and diameter of hole; “0” indicates that no material is drawn in this area.3. In the ‘inch’ system, the unit amount for drawing is 0.1 inch.Therefore should the blank dimensions for example be 3.750’. the user will...

  • Page 241

  • Page 242

  • Page 243

    APPENDIX

  • Page 244

    Machining Processes1. Roughing - a roughing operation is that machine process that is intended to remove a majority of stock material in an efficient manner. The roughing operation is in most cases followed by either a semi finishing process, or a finishing process. The roughing process typ...

  • Page 245

    3 In general, finishing processes involve light depths of cut, significant increases in RPM, and a marked decrease in the tools feed per revolution, proportionate to the parts requirement of surface finish. Oftentimes, the chuck clamping pressure is significantly reduced to eliminate the te...

  • Page 246

    For those threads that have a considerable tooth depth, it is wiser to employ another common turning tool holder to effectively rough out the basic thread prior to using the threading tool itself. This can greatly increase the threading tools useful life. Based on the actual profile of the ...

  • Page 247

  • Page 248

x