Navigation

  • Page 1

    www.anilam.com 5000M CNC Programming and Operations Manual

  • Page 2

    CNC Programming and Operations Manual P/N 70000508G - Warranty All rights reserved. Subject to change without notice. iii 21-January-06 Warranty ANILAM warrants its products to be free from defects in material and workmanship for one (1) year from date of installation. At our option, we w...

  • Page 3

    CNC Programming and Operations Manual P/N 70000508G - Contents All rights reserved. Subject to change without notice. v 21-January-06 Section 1 - Introduction Effectivity Notation .................................................................................................................

  • Page 4

    CNC Programming and Operations Manual P/N 70000508G - Contents vi All rights reserved. Subject to change without notice. 21-January-06 Jog Moves...................................................................................................................................... 3-10 Ch...

  • Page 5

    CNC Programming and Operations Manual P/N 70000508G - Contents All rights reserved. Subject to change without notice. vii 21-January-06 Boring, Bi-directional (G85) .......................................................................................................... 5-9 Boring, Unidir...

  • Page 6

    CNC Programming and Operations Manual P/N 70000508G - Contents viii All rights reserved. Subject to change without notice. 21-January-06 Advancing to the First or Last Block of a Program ........................................................................... 6-6 Searching the Progr...

  • Page 7

    CNC Programming and Operations Manual P/N 70000508G - Contents All rights reserved. Subject to change without notice. ix 21-January-06 Setting Grid Size .............................................................................................................................. 8-6 Puttin...

  • Page 8

    CNC Programming and Operations Manual P/N 70000508G - Contents x All rights reserved. Subject to change without notice. 21-January-06 Creating a New Part Program ........................................................................................................ 10-3 Choosing Progr...

  • Page 9

    CNC Programming and Operations Manual P/N 70000508G - Contents All rights reserved. Subject to change without notice. xi 21-January-06 Jog/Return Soft Keys................................................................................................................ 11-13 EXAMPLES: .........

  • Page 10

    CNC Programming and Operations Manual P/N 70000508G - Contents xii All rights reserved. Subject to change without notice. 21-January-06 System Settings ............................................................................................................................. 15-2 Max...

  • Page 11

    CNC Programming and Operations Manual P/N 70000508G - Contents All rights reserved. Subject to change without notice. xiii 21-January-06 View (F4)........................................................................................................................................ 18-7 MO...

  • Page 12

    CNC Programming and Operations Manual P/N 70000508G - Contents xiv All rights reserved. Subject to change without notice. 21-January-06 Example #8 Pocket Milled into Workpiece - X0 Y0 at Lower Left Corner ................................ 18-70 Example #9 Milled Pocket - X0 Y0 at the ...

  • Page 13

    CNC Programming and Operations Manual P/N 70000508G - Introduction All rights reserved. Subject to change without notice. 1-1 21-January-06 Section 1 - Introduction This manual describes the concepts, programming commands, and CNC programming formats used to program ANILAM 5000M CNC produc...

  • Page 14

    CNC Programming and Operations Manual P/N 70000508G - Introduction 1-2 All rights reserved. Subject to change without notice. 21-January-06 Getting Started Before you start to write a program, determine the work-holding device and the location of Part Zero (the point to which all moveme...

  • Page 15

    CNC Programming and Operations Manual P/N 70000508G - Introduction All rights reserved. Subject to change without notice. 1-3 21-January-06 Programming Concepts This section contains programming concepts for the beginning programmer. You must master these concepts and be familiar with the...

  • Page 16

    CNC Programming and Operations Manual P/N 70000508G - Introduction 1-4 All rights reserved. Subject to change without notice. 21-January-06 Y Axis Table movement along the Y-axis is inward and outward. Positive motion is table movement outward; negative motion is table movement inward....

  • Page 17

    CNC Programming and Operations Manual P/N 70000508G - Introduction All rights reserved. Subject to change without notice. 1-5 21-January-06 Polar Coordinates Polar Coordinates define points that lie only on a single plane. Polar coordinates use the distance from the origin and an angle to...

  • Page 18

    CNC Programming and Operations Manual P/N 70000508G - Introduction 1-6 All rights reserved. Subject to change without notice. 21-January-06 Incremental Positioning Incremental positions are measured from one point to another, or from the machines present position. This is convenient fo...

  • Page 19

    CNC Programming and Operations Manual P/N 70000508G - Introduction All rights reserved. Subject to change without notice. 1-7 21-January-06 Plane Selection Circular moves and tool diameter compensation are confined to the plane you select. Three planes are available: the XY plane (G17), t...

  • Page 20

    CNC Programming and Operations Manual P/N 70000508G - Introduction 1-8 All rights reserved. Subject to change without notice. 21-January-06 Arc Direction The standard rule is to view arc direction for a plane from the positive towards the negative direction along the unused axis. From ...

  • Page 21

    CNC Programming and Operations Manual P/N 70000508G - CNC Console and Software Basics All rights reserved. Subject to change without notice. 2-1 21-January-06 Section 2 - CNC Console and Software Basics The Console The CNC console consists of a 12.1” color, flat-panel Liquid Crystal Displ...

  • Page 22

    CNC Programming and Operations Manual P/N 70000508G - CNC Console and Software Basics 2-2 All rights reserved. Subject to change without notice. 21-January-06 Keypad Refer to Figure 2-2. The keypad to the right of the LCD has the following areas: Alphanumeric Keys: This area consists of...

  • Page 23

    CNC Programming and Operations Manual P/N 70000508G - CNC Console and Software Basics All rights reserved. Subject to change without notice. 2-3 21-January-06 To type a primary character, press the key that contains that character. To type a SHIFT key character: 1. Press SHIFT. You do not...

  • Page 24

    CNC Programming and Operations Manual P/N 70000508G - CNC Console and Software Basics 2-4 All rights reserved. Subject to change without notice. 21-January-06 Table 2-1, Alphanumeric Keys (Continued) Key Face Primary Function SHIFT Function Letter P Dollar Sign Letter Q None Lette...

  • Page 25

    CNC Programming and Operations Manual P/N 70000508G - CNC Console and Software Basics All rights reserved. Subject to change without notice. 2-5 21-January-06 Table 2-1, Alphanumeric Keys (Continued) Key Face Primary Function SHIFT Function Number 0 Equal Sign Minus Sign/Dash Plus Sig...

  • Page 26

    CNC Programming and Operations Manual P/N 70000508G - CNC Console and Software Basics 2-6 All rights reserved. Subject to change without notice. 21-January-06 Soft Keys (F1) to (F10) Labeled soft keys F1 to F10, also called function keys, are located just below the monitor. Soft key func...

  • Page 27

    CNC Programming and Operations Manual P/N 70000508G - CNC Console and Software Basics All rights reserved. Subject to change without notice. 2-7 21-January-06 Operator Prompts The CNC sometimes prompts for required information. Enter numbers from the keypad. Cursor The CNC uses either a c...

  • Page 28

    CNC Programming and Operations Manual P/N 70000508G - CNC Console and Software Basics 2-8 All rights reserved. Subject to change without notice. 21-January-06 Messages/Error Messages The CNC displays Messages it generates in the Message Area, present in all program-running modes. When th...

  • Page 29

    CNC Programming and Operations Manual P/N 70000508G - Manual Operation and Machine Setup All rights reserved. Subject to change without notice. 3-1 21-January-06 Section 3 - Manual Operation and Machine Setup Powering On the CNC NOTE: When you power-on the CNC, ensure that the E-STOP swit...

  • Page 30

    CNC Programming and Operations Manual P/N 70000508G - Manual Operation and Machine Setup 3-2 All rights reserved. Subject to change without notice. 21-January-06 Activating/Resetting the Servos For safety reasons, the CNC powers up with the servo motors disengaged. While the servos ar...

  • Page 31

    CNC Programming and Operations Manual P/N 70000508G - Manual Operation and Machine Setup All rights reserved. Subject to change without notice. 3-3 21-January-06 Manual Panel Keys Manual panel keys allow you to control machine movements manually. These keys are located on the Manual Panel...

  • Page 32

    CNC Programming and Operations Manual P/N 70000508G - Manual Operation and Machine Setup 3-4 All rights reserved. Subject to change without notice. 21-January-06 Table 3-1, Manual Operation Keys (Continued) Label/Name Key Face Purpose START Starts all machine moves except jog. JOG +...

  • Page 33

    CNC Programming and Operations Manual P/N 70000508G - Manual Operation and Machine Setup All rights reserved. Subject to change without notice. 3-5 21-January-06 Manual Mode Screen In Manual Mode, the CNC displays the Manual screen. The Manual screen is the basic operating screen and is d...

  • Page 34

    CNC Programming and Operations Manual P/N 70000508G - Manual Operation and Machine Setup 3-6 All rights reserved. Subject to change without notice. 21-January-06 Active Soft Key Identifies the function of the soft key. Soft key functions change from screen to screen. A highlighted la...

  • Page 35

    CNC Programming and Operations Manual P/N 70000508G - Manual Operation and Machine Setup All rights reserved. Subject to change without notice. 3-7 21-January-06 Manual Mode Settings Features (or settings) that remain active for more than one operation are said to be modal. Modal features...

  • Page 36

    CNC Programming and Operations Manual P/N 70000508G - Manual Operation and Machine Setup 3-8 All rights reserved. Subject to change without notice. 21-January-06 Table 3-2 describes the active soft keys in Manual Mode. Table 3-2, Manual Mode Soft Keys Label Soft Key Function Help F1 A...

  • Page 37

    CNC Programming and Operations Manual P/N 70000508G - Manual Operation and Machine Setup All rights reserved. Subject to change without notice. 3-9 21-January-06 Activating Manual Mode Rapid or Feed Turn the JOG rotary switch to cycle through all available Jog Modes. Choose Rapid or Feed ...

  • Page 38

    CNC Programming and Operations Manual P/N 70000508G - Manual Operation and Machine Setup 3-10 All rights reserved. Subject to change without notice. 21-January-06 NOTE: To determine the Z-axis location of Part Zero, set tool length offsets for each tool. NOTE: The location of Absolute...

  • Page 39

    CNC Programming and Operations Manual P/N 70000508G - Manual Operation and Machine Setup All rights reserved. Subject to change without notice. 3-11 21-January-06 Jogging the Machine (Incremental Moves) In Manual Mode, position the machine with jog increments. To make a jog increment move:...

  • Page 40

    CNC Programming and Operations Manual P/N 70000508G - Manual Operation and Machine Setup 3-12 All rights reserved. Subject to change without notice. 21-January-06 Using Manual Data Input Mode To use Manual Data Input Mode: 1. In Manual Mode, type the command block(s) at the COMMAND: l...

  • Page 41

    CNC Programming and Operations Manual P/N 70000508G - Manual Operation and Machine Setup All rights reserved. Subject to change without notice. 3-13 21-January-06 Figure 3-4, Handwheel Operation To select a Jog Mode: 1. Turn the rotary switch to select an axis. 2. Select a conventional J...

  • Page 42

    CNC Programming and Operations Manual P/N 70000508G - Manual Operation and Machine Setup 3-14 All rights reserved. Subject to change without notice. 21-January-06 Table 3-4, Handwheel Jog Mode Resolution Setting Jog Mode Setting Handwheel Resolution FEED Not Available RAPID Not Availab...

  • Page 43

    CNC Programming and Operations Manual P/N 70000508G - Preparatory Functions: G-Codes All rights reserved. Subject to change without notice. 4-1 21-January-06 Section 4 - Preparatory Functions: G-Codes G-codes initiate motion commands, canned cycles and various machine and CNC functions. M...

  • Page 44

    CNC Programming and Operations Manual P/N 70000508G - Preparatory Functions: G-Codes 4-2 All rights reserved. Subject to change without notice. 21-January-06 Table 4-1, G-Codes (Continued) Modal Non-Modal G-Code Function G-CodeFunction G94 Per Minute Feed G169 Area Clearance G95 Per...

  • Page 45

    CNC Programming and Operations Manual P/N 70000508G - Preparatory Functions: G-Codes All rights reserved. Subject to change without notice. 4-3 21-January-06 Table 4-2 lists the program blocks required to complete the moves illustrated 44,in Figure 4-1, 44,Rapid Traverse. Table 4-2, Rap...

  • Page 46

    CNC Programming and Operations Manual P/N 70000508G - Preparatory Functions: G-Codes 4-4 All rights reserved. Subject to change without notice. 21-January-06 Table 4-3, Straight-Line Programming Example N1 G90 G70 (G71) G1 X0 Y0 Z0 Feed to starting position. N2 G1 F10 (254) X3.5 (88....

  • Page 47

    CNC Programming and Operations Manual P/N 70000508G - Preparatory Functions: G-Codes All rights reserved. Subject to change without notice. 4-5 21-January-06 Circular Interpolation (G2 and G3) Circular interpolation initiates circular moves, including arcs. G2 commands a clockwise motion....

  • Page 48

    CNC Programming and Operations Manual P/N 70000508G - Preparatory Functions: G-Codes 4-6 All rights reserved. Subject to change without notice. 21-January-06 Examples of Circular Interpolation Partial Arcs (XYIJ) Figure 4-4 illustrates an arc move between P2 and P3. 2.5”(63.5 mm)4.5...

  • Page 49

    CNC Programming and Operations Manual P/N 70000508G - Preparatory Functions: G-Codes All rights reserved. Subject to change without notice. 4-7 21-January-06 Any arc of less than 360 degrees is a partial arc. Use Address Words X, Y, I, J together. To program a move from P1 to P2, calculat...

  • Page 50

    CNC Programming and Operations Manual P/N 70000508G - Preparatory Functions: G-Codes 4-8 All rights reserved. Subject to change without notice. 21-January-06 Circles Since the endpoint and starting point of a circle are the same, you do not need to program an endpoint for a circle. Pos...

  • Page 51

    CNC Programming and Operations Manual P/N 70000508G - Preparatory Functions: G-Codes All rights reserved. Subject to change without notice. 4-9 21-January-06 Dwell (G4) Dwell (G4) can be used to program a delay between blocks. A Timed Dwell is a timed stop. An Infinite Dwell is a stop th...

  • Page 52

    CNC Programming and Operations Manual P/N 70000508G - Preparatory Functions: G-Codes 4-10 All rights reserved. Subject to change without notice. 21-January-06 Programming Non-modal Exact Stop Check (G9) With the In-Position Mode activated, the CNC approaches target and performs an in-po...

  • Page 53

    CNC Programming and Operations Manual P/N 70000508G - Preparatory Functions: G-Codes All rights reserved. Subject to change without notice. 4-11 21-January-06 Figure 4-7, Plane Selection To determine arc direction, look toward the negative direction of the non-used axis. Refer to Figure ...

  • Page 54

    CNC Programming and Operations Manual P/N 70000508G - Preparatory Functions: G-Codes 4-12 All rights reserved. Subject to change without notice. 21-January-06 Setting Software Limits (G22) The G22 Xn Yn Zn In Jn Kn format (activate software limits) is modal. Use G22 (alone) to cancel s...

  • Page 55

    CNC Programming and Operations Manual P/N 70000508G - Preparatory Functions: G-Codes All rights reserved. Subject to change without notice. 4-13 21-January-06 To set software limits: 1. Make sure the tool is within the envelope defined by the software limits (XYZIJK). 2. In Edit Mode or Ma...

  • Page 56

    CNC Programming and Operations Manual P/N 70000508G - Preparatory Functions: G-Codes 4-14 All rights reserved. Subject to change without notice. 21-January-06 Returning to Reference Point (Machine Home) (G28) With the G28 XYZ format, the Machine Home command (G28) returns the CNC to a p...

  • Page 57

    CNC Programming and Operations Manual P/N 70000508G - Preparatory Functions: G-Codes All rights reserved. Subject to change without notice. 4-15 21-January-06 Automatic Return from Reference Point (G29) Automatic Return from Reference Point (Machine Home) (G29) is used in conjunction with ...

  • Page 58

    CNC Programming and Operations Manual P/N 70000508G - Preparatory Functions: G-Codes 4-16 All rights reserved. Subject to change without notice. 21-January-06 Fixture Offsets (Work Coordinate System Select), (G53) Format: G53 Oxx Xn Yn Zn Un Wn C Use the work coordinate system (G53), co...

  • Page 59

    CNC Programming and Operations Manual P/N 70000508G - Preparatory Functions: G-Codes All rights reserved. Subject to change without notice. 4-17 21-January-06 Changing Fixture Offsets in the Table To change a fixture offset to a manually entered coordinate: 1. Highlight a Fixture Offset (...

  • Page 60

    CNC Programming and Operations Manual P/N 70000508G - Preparatory Functions: G-Codes 4-18 All rights reserved. Subject to change without notice. 21-January-06 4. Update offset table, but do not activate the shift: G53 On Xn Yn Zn Un Vn Wn is used when offsets are defined at the beginni...

  • Page 61

    CNC Programming and Operations Manual P/N 70000508G - Preparatory Functions: G-Codes All rights reserved. Subject to change without notice. 4-19 21-January-06 In the example in Figure 4-11, G59 is used to command modal corner rounding. Whenever the CNC encounters an intersection between l...

  • Page 62

    CNC Programming and Operations Manual P/N 70000508G - Preparatory Functions: G-Codes 4-20 All rights reserved. Subject to change without notice. 21-January-06 In-Position Mode (Exact Stop Check) (G61) While the In-Position Mode (G61) is active, the CNC approaches target and performs an ...

  • Page 63

    CNC Programming and Operations Manual P/N 70000508G - Preparatory Functions: G-Codes All rights reserved. Subject to change without notice. 4-21 21-January-06 Contouring Mode (Cutting Mode) (G64) The Contouring Mode (G64), also known as Continuous Path Mode or Cutting Mode, is active at po...

  • Page 64

    CNC Programming and Operations Manual P/N 70000508G - Preparatory Functions: G-Codes 4-22 All rights reserved. Subject to change without notice. 21-January-06 A macro is a group of instructions stored in memory and called by the main program when needed. Think of macros as sophisticate...

  • Page 65

    CNC Programming and Operations Manual P/N 70000508G - Preparatory Functions: G-Codes All rights reserved. Subject to change without notice. 4-23 21-January-06 Macros can be stored in the same file as the main program or in a separate file. Use the File Inclusion feature to call Macros sto...

  • Page 66

    CNC Programming and Operations Manual P/N 70000508G - Preparatory Functions: G-Codes 4-24 All rights reserved. Subject to change without notice. 21-January-06 Axis Rotation (G68) G68 is modal and remains active until canceled. Refer to Table 4-23. The CNC automatically cancels rotatio...

  • Page 67

    CNC Programming and Operations Manual P/N 70000508G - Preparatory Functions: G-Codes All rights reserved. Subject to change without notice. 4-25 21-January-06 Minimum data entry for G68 rotation is: G68 Cn. If I and J are not given, the current position is used. S angle is referenced to...

  • Page 68

    CNC Programming and Operations Manual P/N 70000508G - Preparatory Functions: G-Codes 4-26 All rights reserved. Subject to change without notice. 21-January-06 Example 2: Refer to Figure 4-14 and Table 4-25. Figure 4-14, G68 Programming Example 2 Table 4-25, G68 Programming Example 2 ...

  • Page 69

    CNC Programming and Operations Manual P/N 70000508G - Preparatory Functions: G-Codes All rights reserved. Subject to change without notice. 4-27 21-January-06 N5 and N6 move the tool to the starting position. N7 initiates tool compensation during a move to the 12 o'clock position. N8 calls...

  • Page 70

    CNC Programming and Operations Manual P/N 70000508G - Preparatory Functions: G-Codes 4-28 All rights reserved. Subject to change without notice. 21-January-06 Activating Inch (G70) or MM (G71) Mode Inch Mode Format: G70 MM Mode Format: G71 Change the unit of measurement displayed by the...

  • Page 71

    CNC Programming and Operations Manual P/N 70000508G - Preparatory Functions: G-Codes All rights reserved. Subject to change without notice. 4-29 21-January-06 Axis Scaling (G72) Use Axis Scaling (G72) to enlarge or reduce patterns commanded by the program. Refer to Table 4-27. G72 is mod...

  • Page 72

    CNC Programming and Operations Manual P/N 70000508G - Preparatory Functions: G-Codes 4-30 All rights reserved. Subject to change without notice. 21-January-06 Absolute Zero Point Programming (G92) The G92 code is used to set axes to zero (reset) or to new coordinates (preset). It is so...

  • Page 73

    CNC Programming and Operations Manual P/N 70000508G - Preparatory Functions: G-Codes All rights reserved. Subject to change without notice. 4-31 21-January-06 Adjusting Feedrate You can run the CNC at a percentage of the programmed feedrate by adjusting the FEEDRATE OVERRIDE switch. Each ...

  • Page 74

    CNC Programming and Operations Manual P/N 70000508G - Ellipses, Spirals, Canned Cycles, and Subprograms All rights reserved. Subject to change without notice. 5-1 21-January-06 Section 5 - Ellipses, Spirals, Canned Cycles, and Subprograms Ellipses (G5) Format: G5 Xn Yn In Jn An Bn Ln Use ...

  • Page 75

    CNC Programming and Operations Manual P/N 70000508G - Ellipses, Spirals, Canned Cycles, and Subprograms 5-2 All rights reserved. Subject to change without notice. 21-January-06 G5 X0 Y0 I2 J0 A2 B1 L-1 The block will cut a full CW ellipse, 4 x 2 in size, beginning at X0 Y0, in Absolute ...

  • Page 76

    CNC Programming and Operations Manual P/N 70000508G - Ellipses, Spirals, Canned Cycles, and Subprograms All rights reserved. Subject to change without notice. 5-3 21-January-06 Spiral (G6) Format: G6 Xn Yn Zn In Jn Ln Use G6 to cut a spiral. Certain variables must accompany the G-code. ...

  • Page 77

    CNC Programming and Operations Manual P/N 70000508G - Ellipses, Spirals, Canned Cycles, and Subprograms 5-4 All rights reserved. Subject to change without notice. 21-January-06 X1YX1.5XO,YO Figure 5-2, XY View Spiral ZYSPIRAL2X Figure 5-3, Isometric View Spiral

  • Page 78

    CNC Programming and Operations Manual P/N 70000508G - Ellipses, Spirals, Canned Cycles, and Subprograms All rights reserved. Subject to change without notice. 5-5 21-January-06 Canned Cycles A canned cycle is a preset sequence of events initiated by a single block of data. Canned cycles a...

  • Page 79

    CNC Programming and Operations Manual P/N 70000508G - Ellipses, Spirals, Canned Cycles, and Subprograms 5-6 All rights reserved. Subject to change without notice. 21-January-06 Cancel Drill, Tap, or Bore Cycle (G80) Format: G80 Modal cycles remain active until canceled. Use G80 to can...

  • Page 80

    CNC Programming and Operations Manual P/N 70000508G - Ellipses, Spirals, Canned Cycles, and Subprograms All rights reserved. Subject to change without notice. 5-7 21-January-06 Peck Drilling (G83) Format: G83 Zn Rn Fn In Pn G83 is the peck drilling cycle, generally used for peck drilling ...

  • Page 81

    CNC Programming and Operations Manual P/N 70000508G - Ellipses, Spirals, Canned Cycles, and Subprograms 5-8 All rights reserved. Subject to change without notice. 21-January-06 Tapping (G84) Format: G84 Zn Rn Fn Sn Pn NOTE: The machine must be equipped with spindle M-functions (FWD, RE...

  • Page 82

    CNC Programming and Operations Manual P/N 70000508G - Ellipses, Spirals, Canned Cycles, and Subprograms All rights reserved. Subject to change without notice. 5-9 21-January-06 Boring, Bi-directional (G85) Format: G85 Zn Rn Fn Pn G85 is a boring cycle, generally used to make a pass in eac...

  • Page 83

    CNC Programming and Operations Manual P/N 70000508G - Ellipses, Spirals, Canned Cycles, and Subprograms 5-10 All rights reserved. Subject to change without notice. 21-January-06 Chip Breaker Peck Cycle (G87) Format: G87 Zn Rn Fn In Jn Kn Wn Un Pn G87 is the chip-breaker peck-drilling c...

  • Page 84

    CNC Programming and Operations Manual P/N 70000508G - Ellipses, Spirals, Canned Cycles, and Subprograms All rights reserved. Subject to change without notice. 5-11 21-January-06 Flat Bottom Bi-Directional Boring (G89) Format: G89 Zn Rn Fn Dn Pn G89 is a boring cycle, generally used to pro...

  • Page 85

    CNC Programming and Operations Manual P/N 70000508G - Ellipses, Spirals, Canned Cycles, and Subprograms 5-12 All rights reserved. Subject to change without notice. 21-January-06 Table 5-11, Drilling Example, Inch (Metric) Blk # Block Description N1 O1 * DRIL-X1 Program number (1) and n...

  • Page 86

    CNC Programming and Operations Manual P/N 70000508G - Ellipses, Spirals, Canned Cycles, and Subprograms All rights reserved. Subject to change without notice. 5-13 21-January-06 Pattern Drill Cycles Use the automatic bolt hole circle (G79) to drill a partial or full bolt circle. A drill c...

  • Page 87

    CNC Programming and Operations Manual P/N 70000508G - Ellipses, Spirals, Canned Cycles, and Subprograms 5-14 All rights reserved. Subject to change without notice. 21-January-06 Hole Pattern (G179) Format: G179 Xn Yn Cn An Bn Dn En Un Vn Wn NOTE: Do not program G68 with G179. Use the a...

  • Page 88

    CNC Programming and Operations Manual P/N 70000508G - Ellipses, Spirals, Canned Cycles, and Subprograms All rights reserved. Subject to change without notice. 5-15 21-January-06 Example: G81 Z-.1 R.1 F15 G179 X2 Y1 C30 B6 E4 U.5 V.375 W0 G80 These blocks rotate a bolt hole pattern 30 degre...

  • Page 89

    CNC Programming and Operations Manual P/N 70000508G - Ellipses, Spirals, Canned Cycles, and Subprograms 5-16 All rights reserved. Subject to change without notice. 21-January-06 Pocket Cycles Pocketing cycles eliminate extensive programming. One block of programming will mill out the d...

  • Page 90

    CNC Programming and Operations Manual P/N 70000508G - Ellipses, Spirals, Canned Cycles, and Subprograms All rights reserved. Subject to change without notice. 5-17 21-January-06 Draft Angle Pocket Cycle (G73) Format: G73 Xn Yn Hn Zn An Bn Cn Dn En In Vn Sn Qn Rn Wn Use the draft angle poc...

  • Page 91

    CNC Programming and Operations Manual P/N 70000508G - Ellipses, Spirals, Canned Cycles, and Subprograms 5-18 All rights reserved. Subject to change without notice. 21-January-06 Example: This program will cut the draft pocket shown in the figure. The drawing does not show the finish pa...

  • Page 92

    CNC Programming and Operations Manual P/N 70000508G - Ellipses, Spirals, Canned Cycles, and Subprograms All rights reserved. Subject to change without notice. 5-19 21-January-06 Frame Pocket Milling (G75) Format: G75 Xn Yn Mn Wn Hn Zn An Bn In Jn Un Vn Cn Sn Kn Pn Frame milling (G75) will...

  • Page 93

    CNC Programming and Operations Manual P/N 70000508G - Ellipses, Spirals, Canned Cycles, and Subprograms 5-20 All rights reserved. Subject to change without notice. 21-January-06 Example: G75 M3 W1.125 H.1 Z-.375 A.25 B.36 I5 J18 U.25 V.5 C1 S.015 K30 P.1 Figure 5-9 illustrates the moves...

  • Page 94

    CNC Programming and Operations Manual P/N 70000508G - Ellipses, Spirals, Canned Cycles, and Subprograms All rights reserved. Subject to change without notice. 5-21 21-January-06 Hole Milling (G76) Format: G76 Xn Yn Dn Zn Bn Hn Sn Jn Kn Use the hole milling cycle (G76) to machine through h...

  • Page 95

    CNC Programming and Operations Manual P/N 70000508G - Ellipses, Spirals, Canned Cycles, and Subprograms 5-22 All rights reserved. Subject to change without notice. 21-January-06 5. Tool returns to center (position 6). 6. If you have programmed a finish pass, the process repeats at the f...

  • Page 96

    CNC Programming and Operations Manual P/N 70000508G - Ellipses, Spirals, Canned Cycles, and Subprograms All rights reserved. Subject to change without notice. 5-23 21-January-06 Circular Pocket Milling (G77) Format: G77 Xn Yn Hn Zn Dn An Bn In Sn Kn Pn Use the circular pocket canned cycle...

  • Page 97

    CNC Programming and Operations Manual P/N 70000508G - Ellipses, Spirals, Canned Cycles, and Subprograms 5-24 All rights reserved. Subject to change without notice. 21-January-06 Example: G77 X2 Y2 H.1 Z-.25 D3 A.35 B.25 I12 S.01 K20 P.1 In Figure 5-11, the tool will perform the followin...

  • Page 98

    CNC Programming and Operations Manual P/N 70000508G - Ellipses, Spirals, Canned Cycles, and Subprograms All rights reserved. Subject to change without notice. 5-25 21-January-06 Rectangular Pocket Milling (G78) Format: G78 Xn Yn Hn Zn Un An Bn In Jn Sn Kn Pn Use the rectangular pocket cyc...

  • Page 99

    CNC Programming and Operations Manual P/N 70000508G - Ellipses, Spirals, Canned Cycles, and Subprograms 5-26 All rights reserved. Subject to change without notice. 21-January-06 Table 5-19, G78 Address Words (Continued) Address Word Description P Z-axis absolute finish height (must be ...

  • Page 100

    CNC Programming and Operations Manual P/N 70000508G - Ellipses, Spirals, Canned Cycles, and Subprograms All rights reserved. Subject to change without notice. 5-27 21-January-06 Area Clearance (Irregular) Pocket Milling (G169) Format: G169 Wn Xn Yn Hn Zn Cn Dn En An Bn Sn In Jn Kn Pn Use...

  • Page 101

    CNC Programming and Operations Manual P/N 70000508G - Ellipses, Spirals, Canned Cycles, and Subprograms 5-28 All rights reserved. Subject to change without notice. 21-January-06 Table 5-20, G169 Address Words (Continued) Address Words Description B The depth per pass. If a deep pocket...

  • Page 102

    CNC Programming and Operations Manual P/N 70000508G - Ellipses, Spirals, Canned Cycles, and Subprograms All rights reserved. Subject to change without notice. 5-29 21-January-06 Pockets with Islands (G162) Format: G162 An Bn Cn Dn En This cycle allows islands in irregular pockets. The ma...

  • Page 103

    CNC Programming and Operations Manual P/N 70000508G - Ellipses, Spirals, Canned Cycles, and Subprograms 5-30 All rights reserved. Subject to change without notice. 21-January-06 PISLANDS Figure 5-13, Subroutines Pockets with Islands Example Workpiece Table 5-22, Pockets with Islands Sub...

  • Page 104

    CNC Programming and Operations Manual P/N 70000508G - Ellipses, Spirals, Canned Cycles, and Subprograms All rights reserved. Subject to change without notice. 5-31 21-January-06 N18 X1.2598 Y0.5 N19 X1.2226 N20 X1.2135 Y0.525 N21 X1.1507 N22 X1.1416 Y0.5 N23 X1.1044 N24 G00 Z0.1 N25 M...

  • Page 105

    CNC Programming and Operations Manual P/N 70000508G - Ellipses, Spirals, Canned Cycles, and Subprograms 5-32 All rights reserved. Subject to change without notice. 21-January-06 Irregular Pocket Examples Example 1: This example uses an irregular pocket cycle to cut the pocket shape. Re...

  • Page 106

    CNC Programming and Operations Manual P/N 70000508G - Ellipses, Spirals, Canned Cycles, and Subprograms All rights reserved. Subject to change without notice. 5-33 21-January-06 17 G90 X0 Y-1.5 18 Y0 19 M99 Example 2: Use an irregular pocket cycle to cut the pocket shape. Input the &quo...

  • Page 107

    CNC Programming and Operations Manual P/N 70000508G - Ellipses, Spirals, Canned Cycles, and Subprograms 5-34 All rights reserved. Subject to change without notice. 21-January-06 Figure 5-16, Example 2, Toolpath Facing Cycle (G170) Format: G170 Xn Yn An Bn Fn Hn Zn Dn En Facing cycles ...

  • Page 108

    CNC Programming and Operations Manual P/N 70000508G - Ellipses, Spirals, Canned Cycles, and Subprograms All rights reserved. Subject to change without notice. 5-35 21-January-06 Table 5-25 describes the FACE POCKET entry fields. Table 5-25, G170 Address Words Address Word Description Y Y-...

  • Page 109

    CNC Programming and Operations Manual P/N 70000508G - Ellipses, Spirals, Canned Cycles, and Subprograms 5-36 All rights reserved. Subject to change without notice. 21-January-06 Circular Profile Cycle (G171) Format: G171 Xn Yn Hn Dn Zn An Rn Bn Sn In Jn Kn Pn The Circular Profile Cycle...

  • Page 110

    CNC Programming and Operations Manual P/N 70000508G - Ellipses, Spirals, Canned Cycles, and Subprograms All rights reserved. Subject to change without notice. 5-37 21-January-06 Table 5-26, G171 Address Words (Continued) Address Word Description Z Absolute depth of the finished profile. ...

  • Page 111

    CNC Programming and Operations Manual P/N 70000508G - Ellipses, Spirals, Canned Cycles, and Subprograms 5-38 All rights reserved. Subject to change without notice. 21-January-06 Rectangular Profile Cycle (G172) Format: G172 Xn Yn Hn Mn Wn Zn An Rn Un Bn Sn In Jn Kn Pn The Rectangular P...

  • Page 112

    CNC Programming and Operations Manual P/N 70000508G - Ellipses, Spirals, Canned Cycles, and Subprograms All rights reserved. Subject to change without notice. 5-39 21-January-06 Table 5-27, G172 Address Words (Continued) Address Word Description A 0 = Inside 1 = Outside R Radius of the ra...

  • Page 113

    CNC Programming and Operations Manual P/N 70000508G - Ellipses, Spirals, Canned Cycles, and Subprograms 5-40 All rights reserved. Subject to change without notice. 21-January-06 Thread Mill Cycle (G181) Format: G181 Xn Yn Zn Hn Pn Dn Cn Bn Rn Sn En Jn Kn Vn WARNING: The first move in ...

  • Page 114

    CNC Programming and Operations Manual P/N 70000508G - Ellipses, Spirals, Canned Cycles, and Subprograms All rights reserved. Subject to change without notice. 5-41 21-January-06 Table 5-28 describes the Thread Mill Cycle entry fields. Table 5-28, G181 Address Words Address Word Descriptio...

  • Page 115

    CNC Programming and Operations Manual P/N 70000508G - Ellipses, Spirals, Canned Cycles, and Subprograms 5-42 All rights reserved. Subject to change without notice. 21-January-06 Table 5-28, G181 Address Words (Continued) Address Word Description J Feedrate for roughing. (If not set (b...

  • Page 116

    CNC Programming and Operations Manual P/N 70000508G - Ellipses, Spirals, Canned Cycles, and Subprograms All rights reserved. Subject to change without notice. 5-43 21-January-06 Sample Thread Milling Cycle Program 1 G0 G90 G70 G17 2 T1 M6 3 S2000 M3 4 X0 Y0 5 G181 Z-1. H0.1 P.5 D1. C.0625 ...

  • Page 117

    CNC Programming and Operations Manual P/N 70000508G - Ellipses, Spirals, Canned Cycles, and Subprograms 5-44 All rights reserved. Subject to change without notice. 21-January-06 Plunge Circular Pocket Milling (G177) Format: G177 Xn Yn Hn Zn Dn An Bn In Jn Sn Kn Pn Use the plunge circul...

  • Page 118

    CNC Programming and Operations Manual P/N 70000508G - Ellipses, Spirals, Canned Cycles, and Subprograms All rights reserved. Subject to change without notice. 5-45 21-January-06 The required position of the start hole is as follows: 1. For inward to outward cutting (+A): at the hole center...

  • Page 119

    CNC Programming and Operations Manual P/N 70000508G - Ellipses, Spirals, Canned Cycles, and Subprograms 5-46 All rights reserved. Subject to change without notice. 21-January-06 Plunge Rectangular Pocket Milling (G178) Format: G178 Xn Yn Hn Zn Un An Bn In Jn Sn Kn Pn Use the plunge rec...

  • Page 120

    CNC Programming and Operations Manual P/N 70000508G - Ellipses, Spirals, Canned Cycles, and Subprograms All rights reserved. Subject to change without notice. 5-47 21-January-06 Mold Rotation (G45) NOTE: Activate the required plane (G17, G18 or G19) prior to G45. I, J centerline of rotatio...

  • Page 121

    CNC Programming and Operations Manual P/N 70000508G - Ellipses, Spirals, Canned Cycles, and Subprograms 5-48 All rights reserved. Subject to change without notice. 21-January-06 Figure 5-21, XY-Axis Mold Rotation

  • Page 122

    CNC Programming and Operations Manual P/N 70000508G - Ellipses, Spirals, Canned Cycles, and Subprograms All rights reserved. Subject to change without notice. 5-49 21-January-06 Rotations Around X and Y Axes (Small Radius) Each Mold Rotation block requires two subprograms: a forward subpro...

  • Page 123

    CNC Programming and Operations Manual P/N 70000508G - Ellipses, Spirals, Canned Cycles, and Subprograms 5-50 All rights reserved. Subject to change without notice. 21-January-06 In one cycle, the CNC executes the forward subprogram to the profile endpoint, then executes the reverse subp...

  • Page 124

    CNC Programming and Operations Manual P/N 70000508G - Ellipses, Spirals, Canned Cycles, and Subprograms All rights reserved. Subject to change without notice. 5-51 21-January-06 To use tool compensation, write compensated moves in the subprograms. Tool compensation for each subprogram mus...

  • Page 125

    CNC Programming and Operations Manual P/N 70000508G - Ellipses, Spirals, Canned Cycles, and Subprograms 5-52 All rights reserved. Subject to change without notice. 21-January-06 When the rotation is around the X-axis, the centerline is defined by the Y-axis position (in the I field) and...

  • Page 126

    CNC Programming and Operations Manual P/N 70000508G - Ellipses, Spirals, Canned Cycles, and Subprograms All rights reserved. Subject to change without notice. 5-53 21-January-06 Rotations Around X and Y Axes (Large Radius) The mold rotation cycle starts executing the subprograms at the mac...

  • Page 127

    CNC Programming and Operations Manual P/N 70000508G - Ellipses, Spirals, Canned Cycles, and Subprograms 5-54 All rights reserved. Subject to change without notice. 21-January-06 Rotation Around the Z-Axis The centerline of rotation is parallel to the Z-axis (Axis Rotation). The I and J...

  • Page 128

    CNC Programming and Operations Manual P/N 70000508G - Ellipses, Spirals, Canned Cycles, and Subprograms All rights reserved. Subject to change without notice. 5-55 21-January-06 All of the moves in subprograms for Z-axis rotations must be contained in the +X half of the XZ plane. Rules fo...

  • Page 129

    CNC Programming and Operations Manual P/N 70000508G - Ellipses, Spirals, Canned Cycles, and Subprograms 5-56 All rights reserved. Subject to change without notice. 21-January-06 Example 1: The following programming example mills out a handle-mold core using G45 around the Y-axis. Refer...

  • Page 130

    CNC Programming and Operations Manual P/N 70000508G - Ellipses, Spirals, Canned Cycles, and Subprograms All rights reserved. Subject to change without notice. 5-57 21-January-06 Example 2: The following example mills a dish shape. The forward and reverse tool paths are programmed in the X...

  • Page 131

    CNC Programming and Operations Manual P/N 70000508G - Ellipses, Spirals, Canned Cycles, and Subprograms 5-58 All rights reserved. Subject to change without notice. 21-January-06 Elbow Milling Cycle (G49) Format: G49 Bn Kn An Cn In Jn Dn Fn En Rn Zn Hn Un Sn Vn Elbow Milling cycles simp...

  • Page 132

    CNC Programming and Operations Manual P/N 70000508G - Ellipses, Spirals, Canned Cycles, and Subprograms All rights reserved. Subject to change without notice. 5-59 21-January-06 The Elbow Milling Cycle starts at the machine’s present position. The CNC executes passes back and forth arou...

  • Page 133

    CNC Programming and Operations Manual P/N 70000508G - Ellipses, Spirals, Canned Cycles, and Subprograms 5-60 All rights reserved. Subject to change without notice. 21-January-06 Carefully consider the starting position of the Elbow Milling Cycle. The distance between the starting point...

  • Page 134

    CNC Programming and Operations Manual P/N 70000508G - Ellipses, Spirals, Canned Cycles, and Subprograms All rights reserved. Subject to change without notice. 5-61 21-January-06 The distance between the starting point and the XY center determines the elbow inner radius. Moving the startin...

  • Page 135

    CNC Programming and Operations Manual P/N 70000508G - Ellipses, Spirals, Canned Cycles, and Subprograms 5-62 All rights reserved. Subject to change without notice. 21-January-06 Programming an Elbow Milling Cycle with unequal start radius and end radius values produces a conical elbow. ...

  • Page 136

    CNC Programming and Operations Manual P/N 70000508G - Ellipses, Spirals, Canned Cycles, and Subprograms All rights reserved. Subject to change without notice. 5-63 21-January-06 Subprograms Program repetitive sequences or patterns in a subprogram. Enter subprograms in the program after th...

  • Page 137

    CNC Programming and Operations Manual P/N 70000508G - Ellipses, Spirals, Canned Cycles, and Subprograms 5-64 All rights reserved. Subject to change without notice. 21-January-06 Table 5-37, Subprogram Called from a Main Program (Continued) Subprogram N67 O100 CNC jumps to here at N3, c...

  • Page 138

    CNC Programming and Operations Manual P/N 70000508G - Ellipses, Spirals, Canned Cycles, and Subprograms All rights reserved. Subject to change without notice. 5-65 21-January-06 Table 5-38, Nesting Subprograms (Continued) Main Program Flow of Program During Call of Additional Subprogram N...

  • Page 139

    CNC Programming and Operations Manual P/N 70000508G - Ellipses, Spirals, Canned Cycles, and Subprograms 5-66 All rights reserved. Subject to change without notice. 21-January-06 The main program will position the cutter for each slot and call the subprogram that mills out the slots. Su...

  • Page 140

    CNC Programming and Operations Manual P/N 70000508G - Ellipses, Spirals, Canned Cycles, and Subprograms All rights reserved. Subject to change without notice. 5-67 21-January-06 End of Subprogram (M99) with a P-Code M99 Pxxx When the End of Subprogram (M99) command contains a P-code, the P...

  • Page 141

    CNC Programming and Operations Manual P/N 70000508G - Ellipses, Spirals, Canned Cycles, and Subprograms 5-68 All rights reserved. Subject to change without notice. 21-January-06 Loop and Repeat Function In some cases, it is simpler to command a program block or series of blocks to loop ...

  • Page 142

    CNC Programming and Operations Manual P/N 70000508G - Ellipses, Spirals, Canned Cycles, and Subprograms All rights reserved. Subject to change without notice. 5-69 21-January-06 Table 5-41, Loop Programming Example Blk. # Block Description N1 O100 * EXAMPLE Program name and number. N2 G90...

  • Page 143

    CNC Programming and Operations Manual P/N 70000508G - Ellipses, Spirals, Canned Cycles, and Subprograms 5-70 All rights reserved. Subject to change without notice. 21-January-06 Table 5-41, Loop Programming Example (Continued) Blk. # Block Description N28 G90 G0 X2 (X50.80) Y-.5 9Y-12.7...

  • Page 144

    CNC Programming and Operations Manual P/N 70000508G - Ellipses, Spirals, Canned Cycles, and Subprograms All rights reserved. Subject to change without notice. 5-71 21-January-06 Probing Cycles This section describes operation and an overview of the tool and spindle probe canned cycles avai...

  • Page 145

    CNC Programming and Operations Manual P/N 70000508G - Ellipses, Spirals, Canned Cycles, and Subprograms 5-72 All rights reserved. Subject to change without notice. 21-January-06 Before starting to set your tools, you must calibrate the probe. Once the probe has been calibrated, calibra...

  • Page 146

    CNC Programming and Operations Manual P/N 70000508G - Ellipses, Spirals, Canned Cycles, and Subprograms All rights reserved. Subject to change without notice. 5-73 21-January-06 Description of Tool Probe Cycles This section contains detailed descriptions of the tool probe cycles: Tool P...

  • Page 147

    CNC Programming and Operations Manual P/N 70000508G - Ellipses, Spirals, Canned Cycles, and Subprograms 5-74 All rights reserved. Subject to change without notice. 21-January-06 3. From the manual mode, type G150 D(n), and press the START button. Where D is the exact diameter of the ca...

  • Page 148

    CNC Programming and Operations Manual P/N 70000508G - Ellipses, Spirals, Canned Cycles, and Subprograms All rights reserved. Subject to change without notice. 5-75 21-January-06 Tool Length and Diameter Offset Preset (G151) Format: G151 Tn Dn Qn En Fn Mn Sn Rn Each tool must have the len...

  • Page 149

    CNC Programming and Operations Manual P/N 70000508G - Ellipses, Spirals, Canned Cycles, and Subprograms 5-76 All rights reserved. Subject to change without notice. 21-January-06 Table 5-43, G151 Address Words (Continued) Address Word Description E The distance to go down along the side...

  • Page 150

    CNC Programming and Operations Manual P/N 70000508G - Ellipses, Spirals, Canned Cycles, and Subprograms All rights reserved. Subject to change without notice. 5-77 21-January-06 4. If you have done a single tool in Manual, that tool is now measured and you are ready to measure the next too...

  • Page 151

    CNC Programming and Operations Manual P/N 70000508G - Ellipses, Spirals, Canned Cycles, and Subprograms 5-78 All rights reserved. Subject to change without notice. 21-January-06 Format: G151 T(tool#) D(tool rough diameter) With T and D cycle parameters only set: 1. The machine will rap...

  • Page 152

    CNC Programming and Operations Manual P/N 70000508G - Ellipses, Spirals, Canned Cycles, and Subprograms All rights reserved. Subject to change without notice. 5-79 21-January-06 4. The spindle will then come on counter clockwise at the RPM specified in the RPM for calibration and tool meas...

  • Page 153

    CNC Programming and Operations Manual P/N 70000508G - Ellipses, Spirals, Canned Cycles, and Subprograms 5-80 All rights reserved. Subject to change without notice. 21-January-06 Manual Tool-Length Measure for Special Tools (G152) Format: G152 Tn Dn Mn Sn Rn This cycle is used to measur...

  • Page 154

    CNC Programming and Operations Manual P/N 70000508G - Ellipses, Spirals, Canned Cycles, and Subprograms All rights reserved. Subject to change without notice. 5-81 21-January-06 You must have the tool positioned over the probe stylus so the tooth that sticks down the furthest is directly o...

  • Page 155

    CNC Programming and Operations Manual P/N 70000508G - Ellipses, Spirals, Canned Cycles, and Subprograms 5-82 All rights reserved. Subject to change without notice. 21-January-06 Manual Tool Diameter Measure for Special Tools (G153) Format: G153 Tn Dn En Mn Sn Rn This cycle is used to m...

  • Page 156

    CNC Programming and Operations Manual P/N 70000508G - Ellipses, Spirals, Canned Cycles, and Subprograms All rights reserved. Subject to change without notice. 5-83 21-January-06 WARNING: Large tools can result in probe damage if the touch feedrate is set too fast. For this reason, the cy...

  • Page 157

    CNC Programming and Operations Manual P/N 70000508G - Ellipses, Spirals, Canned Cycles, and Subprograms 5-84 All rights reserved. Subject to change without notice. 21-January-06 Tool Breakage, Length, and Diameter Wear Detection (G154) Format: G154 Tn Dn Kn Jn En Un Mn Sn Rn Refer to ...

  • Page 158

    CNC Programming and Operations Manual P/N 70000508G - Ellipses, Spirals, Canned Cycles, and Subprograms All rights reserved. Subject to change without notice. 5-85 21-January-06 Table 5-46, G154 Address Word (Continued) Address Word Description M This is the override for the medium feedra...

  • Page 159

    CNC Programming and Operations Manual P/N 70000508G - Ellipses, Spirals, Canned Cycles, and Subprograms 5-86 All rights reserved. Subject to change without notice. 21-January-06 Spindle Probe Cycles This section describes operation and an overview of the spindle probing cycles available...

  • Page 160

    CNC Programming and Operations Manual P/N 70000508G - Ellipses, Spirals, Canned Cycles, and Subprograms All rights reserved. Subject to change without notice. 5-87 21-January-06 G144 Inside or Outside Hole or Boss Center Find This cycle will find the X & Y center of an inside hole or ...

  • Page 161

    CNC Programming and Operations Manual P/N 70000508G - Ellipses, Spirals, Canned Cycles, and Subprograms 5-88 All rights reserved. Subject to change without notice. 21-January-06 Spindle Probe Calibration (G140) Format: G140 Qn Hn En Vn Dn An Bn Refer to Table 5-47. Table 5-47, G140 A...

  • Page 162

    CNC Programming and Operations Manual P/N 70000508G - Ellipses, Spirals, Canned Cycles, and Subprograms All rights reserved. Subject to change without notice. 5-89 21-January-06 To calibrate the probe: 1. Jog the probe to the approximate center of the ring gauge by eye and into the hole of...

  • Page 163

    CNC Programming and Operations Manual P/N 70000508G - Ellipses, Spirals, Canned Cycles, and Subprograms 5-90 All rights reserved. Subject to change without notice. 21-January-06 Edge Finding (G141) Format: G141 Qn Wn Calibrate the work probe at least once before trying to use this cyc...

  • Page 164

    CNC Programming and Operations Manual P/N 70000508G - Ellipses, Spirals, Canned Cycles, and Subprograms All rights reserved. Subject to change without notice. 5-91 21-January-06 Outside Corner Finding (G142) Format: G142 Qn Hn En Dn Vn An Bn In Jn Kn Wn Calibrate the work probe at least ...

  • Page 165

    CNC Programming and Operations Manual P/N 70000508G - Ellipses, Spirals, Canned Cycles, and Subprograms 5-92 All rights reserved. Subject to change without notice. 21-January-06 Table 5-49, G142 Address Words (Continued) Address Word Description A The distance from the starting point ...

  • Page 166

    CNC Programming and Operations Manual P/N 70000508G - Ellipses, Spirals, Canned Cycles, and Subprograms All rights reserved. Subject to change without notice. 5-93 21-January-06 Inside Corner Finding (G143) Format: G143 Qn Hn En Dn Vn An Bn In Jn Kn Wn Calibrate the work probe at least o...

  • Page 167

    CNC Programming and Operations Manual P/N 70000508G - Ellipses, Spirals, Canned Cycles, and Subprograms 5-94 All rights reserved. Subject to change without notice. 21-January-06 Table 5-50, G143 Address Words (Continued) Address Word Description B The distance from the starting point t...

  • Page 168

    CNC Programming and Operations Manual P/N 70000508G - Ellipses, Spirals, Canned Cycles, and Subprograms All rights reserved. Subject to change without notice. 5-95 21-January-06 Inside/Outside Boss/Hole Finding (G144) Format: G144 Qn Xn Yn Hn En Vn An Bn In Jn Kn Rn Wn Calibrate the work...

  • Page 169

    CNC Programming and Operations Manual P/N 70000508G - Ellipses, Spirals, Canned Cycles, and Subprograms 5-96 All rights reserved. Subject to change without notice. 21-January-06 Table 5-51, G144 Address Words (Continued) Address Word Description B The distance from the starting point t...

  • Page 170

    CNC Programming and Operations Manual P/N 70000508G - Ellipses, Spirals, Canned Cycles, and Subprograms All rights reserved. Subject to change without notice. 5-97 21-January-06 Inside/Outside Web Finding (G145) Format: G145 Qn Xn Yn Hn En Vn An Bn In Jn Kn Wn An inside Web is a slot. A...

  • Page 171

    CNC Programming and Operations Manual P/N 70000508G - Ellipses, Spirals, Canned Cycles, and Subprograms 5-98 All rights reserved. Subject to change without notice. 21-January-06 Table 5-52, G145 Address Words (Continued) Address Word Description A The distance from the starting point t...

  • Page 172

    CNC Programming and Operations Manual P/N 70000508G - Ellipses, Spirals, Canned Cycles, and Subprograms All rights reserved. Subject to change without notice. 5-99 21-January-06 Protected Probe Positioning (G146) Format: G146 Xn Yn Zn Fn When an X, Y, and/or Z move is programmed using t...

  • Page 173

    CNC Programming and Operations Manual P/N 70000508G - Ellipses, Spirals, Canned Cycles, and Subprograms 5-100 All rights reserved. Subject to change without notice. 21-January-06 Skew Error Find (G147) Format: G147 Qn Sn Dn Hn En Vn An Bn In Jn Kn G68, axis rotation, cannot be used wi...

  • Page 174

    CNC Programming and Operations Manual P/N 70000508G - Ellipses, Spirals, Canned Cycles, and Subprograms All rights reserved. Subject to change without notice. 5-101 21-January-06 Table 5-54, G147 Address Words (Continued) Address Word Description S Estimated amount of angle from 3 O’clo...

  • Page 175

    CNC Programming and Operations Manual P/N 70000508G - Ellipses, Spirals, Canned Cycles, and Subprograms 5-102 All rights reserved. Subject to change without notice. 21-January-06 Table 5-54, G147 Address Words (Continued) Address Word Description J Same as I only for the Y-axis. (Opt...

  • Page 176

    CNC Programming and Operations Manual P/N 70000508G - Program Editor All rights reserved. Subject to change without notice. 6-1 21-January-06 Section 6 - Program Editor Activating the Program Editor Program blocks are written using the Program Editor. The Program Editor can be activated f...

  • Page 177

    CNC Programming and Operations Manual P/N 70000508G - Program Editor 6-2 All rights reserved. Subject to change without notice. 21-January-06 You can write and edit programs from the Edit Screen. The Edit screen provides the following options: Program Name The name of the program list...

  • Page 178

    CNC Programming and Operations Manual P/N 70000508G - Program Editor All rights reserved. Subject to change without notice. 6-3 21-January-06 Table 6-1, Editing Soft Keys (Continued) Soft Key Label F Key Function MISC F9 Activates the Misc Pop-Up Menu. Use this menu to record keystrokes...

  • Page 179

    CNC Programming and Operations Manual P/N 70000508G - Program Editor 6-4 All rights reserved. Subject to change without notice. 21-January-06 Saving Edits The Program Listing displays edits as soon as they are made, but the edits are not saved until you exit the Program Editor. If the ...

  • Page 180

    CNC Programming and Operations Manual P/N 70000508G - Program Editor All rights reserved. Subject to change without notice. 6-5 21-January-06 Undeleting a Block You can restore deleted blocks with the Undelete Block feature. The last block deleted is the first block restored. There are t...

  • Page 181

    CNC Programming and Operations Manual P/N 70000508G - Program Editor 6-6 All rights reserved. Subject to change without notice. 21-January-06 Inserting Text and Overwriting Previous Text To insert text into a program while overwriting previously entered text: 1. In Edit Mode, press Ins...

  • Page 182

    CNC Programming and Operations Manual P/N 70000508G - Program Editor All rights reserved. Subject to change without notice. 6-7 21-January-06 4. The message Enter Word to Find: is displayed on the screen. Type the text to be found. Press ENTER. The cursor advances to the first occurrenc...

  • Page 183

    CNC Programming and Operations Manual P/N 70000508G - Program Editor 6-8 All rights reserved. Subject to change without notice. 21-January-06 Replacing Typed Text with New Text Use Change word to replace selected occurrences of text. Enter the appropriate text and the CNC searches the ...

  • Page 184

    CNC Programming and Operations Manual P/N 70000508G - Program Editor All rights reserved. Subject to change without notice. 6-9 21-January-06 8. Press SHIFT and then press ChaNext (SHIFT + F8). The CNC finds the next occurrence of the text entered in the Change Word feature. It replaces ...

  • Page 185

    CNC Programming and Operations Manual P/N 70000508G - Program Editor 6-10 All rights reserved. Subject to change without notice. 21-January-06 Table 6-2, Statement Abbreviations Abbreviation Statement D [DO] [END] E [END] or [ENDIF] or [ELSE] G [GOTO] I [IF (_) THEN] [ENDIF] L [LOOP] [...

  • Page 186

    CNC Programming and Operations Manual P/N 70000508G - Program Editor All rights reserved. Subject to change without notice. 6-11 21-January-06 Copying Program Blocks NOTE: You can cut, save and paste blocks within a Program Listing. The Cut, Save and Paste features do not work for copying...

  • Page 187

    CNC Programming and Operations Manual P/N 70000508G - Program Editor 6-12 All rights reserved. Subject to change without notice. 21-January-06 Pasting Blocks within a Program To copy blocks and paste them into another section of the program: 1. In Edit Mode, place the cursor where you ...

  • Page 188

    CNC Programming and Operations Manual P/N 70000508G - Program Editor All rights reserved. Subject to change without notice. 6-13 21-January-06 Repeating a Command or Key NOTE: Use Repeat Command with other features. You should understand how a feature works before duplicating it with Repe...

  • Page 189

    CNC Programming and Operations Manual P/N 70000508G - Program Editor 6-14 All rights reserved. Subject to change without notice. 21-January-06 Printing the Entire Program NOTE: Use the Print program located in the Block Operations Pop-Up Menu to print part of a program. Use Print progra...

  • Page 190

    CNC Programming and Operations Manual P/N 70000508G - Program Editor All rights reserved. Subject to change without notice. 6-15 21-January-06 6. When you press Yes (F1), the CNC prints the selected program blocks. A status screen is displayed containing the program name and the line, pag...

  • Page 191

    CNC Programming and Operations Manual P/N 70000508G - Program Editor 6-16 All rights reserved. Subject to change without notice. 21-January-06 Copying Blocks to Another Program Use Write, located in the Block Operations Pop-Up Menu, to copy one or more blocks to another program. If you...

  • Page 192

    CNC Programming and Operations Manual P/N 70000508G - Program Editor All rights reserved. Subject to change without notice. 6-17 21-January-06 Including Comments in a Program Listing Use an asterisk (*) to make comments within a Program Listing or to mask all or part of a block from the CN...

  • Page 193

    CNC Programming and Operations Manual P/N 70000508G - Edit Help All rights reserved. Subject to change without notice. 7-1 21-January-06 Section 7 - Edit Help Edit Help provides diagrams and entry fields to program move types and Canned Cycles. The following section describes how to activ...

  • Page 194

    CNC Programming and Operations Manual P/N 70000508G - Edit Help 7-2 All rights reserved. Subject to change without notice. 21-January-06 PATHS Figure 7-1, Overview of the Edit Help Screens

  • Page 195

    CNC Programming and Operations Manual P/N 70000508G - Edit Help All rights reserved. Subject to change without notice. 7-3 21-January-06 Main Edit Help Menu 196,The Main Edit Help 196,Menu (Figure 7-2) 196,displays categories for which Help Menus are available. Refer to Table 7-1 for a...

  • Page 196

    CNC Programming and Operations Manual P/N 70000508G - Edit Help 7-4 All rights reserved. Subject to change without notice. 21-January-06 PATHS Figure 7-2, Main Edit Help Menu Help Template Menu Help Template Menus (see Figure 7-3) access submenus of move types or G-codes. Refer 197,...

  • Page 197

    CNC Programming and Operations Manual P/N 70000508G - Edit Help All rights reserved. Subject to change without notice. 7-5 21-January-06 Table 7-2, Help Template Menus Template Description Reference Table 2COMPENSATION Compensated Moves Rotation Scaling 203,Table 7-4, Compensation 203...

  • Page 198

    CNC Programming and Operations Manual P/N 70000508G - Edit Help 7-6 All rights reserved. Subject to change without notice. 21-January-06 Help Graphic Screens Figure 7-4, Sample Help Graphic Screen Input Box Soft Keys Modal G-Codes SelectAcceptAbortPrevExit

  • Page 199

    CNC Programming and Operations Manual P/N 70000508G - Edit Help All rights reserved. Subject to change without notice. 7-7 21-January-06 Edit Help Soft Keys The Edit Help Menu contains the following soft keys. Refer to Table 7-3. Table 7-2, Edit Help Menu Soft Keys Soft Key Label and (Na...

  • Page 200

    CNC Programming and Operations Manual P/N 70000508G - Edit Help 7-8 All rights reserved. Subject to change without notice. 21-January-06 Edit Help Menu Refer 196,to Figure 7-3, Sample Help Template Menu 196,. 196, Help Template Menus access submenus of move types or G-codes. Refer to...

  • Page 201

    CNC Programming and Operations Manual P/N 70000508G - Edit Help All rights reserved. Subject to change without notice. 7-9 21-January-06 Refer 198,to Figure 7-4, Sample Help Graphic 198,Screen. 198, Use the Help Graphic screens to enter parameters for canned cycles or other commands. W...

  • Page 202

    CNC Programming and Operations Manual P/N 70000508G - Edit Help 7-10 All rights reserved. Subject to change without notice. 21-January-06 Using Help Graphic Screens to Enter Program Blocks The Program Editor displays help graphic screens, in which you write and edit program blocks. Whe...

  • Page 203

    CNC Programming and Operations Manual P/N 70000508G - Edit Help All rights reserved. Subject to change without notice. 7-11 21-January-06 Table 7-4, Compensation Help Graphic Templates 2COMPENSATION COMPENSATION Templates and Parameters Description G402COMP OFF Select the COMP OFF templa...

  • Page 204

    CNC Programming and Operations Manual P/N 70000508G - Edit Help 7-12 All rights reserved. Subject to change without notice. 21-January-06 Line Moves Line moves can be vectored moves (motion in two axes, X and Y) or straight line moves (motion in one axis, X or Y). To program Line moves...

  • Page 205

    CNC Programming and Operations Manual P/N 70000508G - Edit Help All rights reserved. Subject to change without notice. 7-13 21-January-06 Endpoint and Angle Calculation Given the X, Y, or XY endpoints, the CNC can calculate the missing endpoint(s) for line or rapid moves. Define the mov...

  • Page 206

    CNC Programming and Operations Manual P/N 70000508G - Edit Help 7-14 All rights reserved. Subject to change without notice. 21-January-06 Table 7-6, LINES Help Template Menu LINES3 LINES Templates and Parameters Move Description X: X endpoint. Req. Tool moves in a straight line along...

  • Page 207

    CNC Programming and Operations Manual P/N 70000508G - Edit Help All rights reserved. Subject to change without notice. 7-15 21-January-06 Table 7-6, LINES Help Template Menu (Continued) LINES3 LINES Templates and Parameters Move Description ANGLE/RADIUS7 C: Angle measured from X-axis (3 o...

  • Page 208

    CNC Programming and Operations Manual P/N 70000508G - Edit Help 7-16 All rights reserved. Subject to change without notice. 21-January-06 StartPointEndPointStartPointEndPointIncluded AngleGreater Than 180 Degrees(Negative Radius Value)Included AngleLess Than 180 Degrees(Positive Radius ...

  • Page 209

    CNC Programming and Operations Manual P/N 70000508G - Edit Help All rights reserved. Subject to change without notice. 7-17 21-January-06 Figure 7-9, Incremental Mode, Center-Angle Arc Table 7-7, ARCS Help Template Menu ARCS4 ARCS Template and Parameters Move Description RADIUS/END2 All ...

  • Page 210

    CNC Programming and Operations Manual P/N 70000508G - Edit Help 7-18 All rights reserved. Subject to change without notice. 21-January-06 Table 7-7, ARCS Help Template Menu (Continued) ARCS4 ARCS Template and Parameters Move Description All entries are required. I: X Incremental arc c...

  • Page 211

    CNC Programming and Operations Manual P/N 70000508G - Edit Help All rights reserved. Subject to change without notice. 7-19 21-January-06 Table 7-7, ARCS Help Template Menu (Continued) ARCS4 ARCS Template and Parameters Move Description ARC/LINE7 All entries are required. Q: Radius. C: A...

  • Page 212

    CNC Programming and Operations Manual P/N 70000508G - Edit Help 7-20 All rights reserved. Subject to change without notice. 21-January-06 Table 7-8, RAD/CHAMFER Help Template Menu RAD/CHAMFER5 RAD/CHAMFER Templates and Parameters Move Description RADIUS2 All entries are required. X: Ho...

  • Page 213

    CNC Programming and Operations Manual P/N 70000508G - Edit Help All rights reserved. Subject to change without notice. 7-21 21-January-06 Table 7-8, RAD/CHAMFER Help Template Menu (Continued) RAD/CHAMFER5 RAD/CHAMFER Templates and Parameters Move Description 6G60CANCEL Inserts a G60 comman...

  • Page 214

    CNC Programming and Operations Manual P/N 70000508G - Edit Help 7-22 All rights reserved. Subject to change without notice. 21-January-06 To use the Edit Help Menu to program a Multiple move: 1. Refer 196,to Figure 7-2, Main Edit 196,Help Menu. 196, In Edit Mode, open the appropriat...

  • Page 215

    CNC Programming and Operations Manual P/N 70000508G - Edit Help All rights reserved. Subject to change without notice. 7-23 21-January-06 Table 7-9, MULTIPLE Help Template Menu (Continued) 6MULTIPLE MULTIPLE Templates and Parameters Move Description CHAMFER4 C: First angle measured from X...

  • Page 216

    CNC Programming and Operations Manual P/N 70000508G - Edit Help 7-24 All rights reserved. Subject to change without notice. 21-January-06 Table 7-9, MULTIPLE Help Template Menu (Continued) 6MULTIPLE MULTIPLE Templates and Parameters Move Description CHAMF/CHAMF6 C: First angle measured...

  • Page 217

    CNC Programming and Operations Manual P/N 70000508G - Edit Help All rights reserved. Subject to change without notice. 7-25 21-January-06 Table 7-9, MULTIPLE Help Template Menu (Continued) 6MULTIPLE MULTIPLE Templates and Parameters Move Description CHAMF/RAD8 C: First angle measured from...

  • Page 218

    CNC Programming and Operations Manual P/N 70000508G - Edit Help 7-26 All rights reserved. Subject to change without notice. 21-January-06 Table 7-10, POCKETING Help Template Menu POCKETING7 Pocketing Templates and Parameters Move Description FRAME2G75 Canned cycle to machine a frame poc...

  • Page 219

    CNC Programming and Operations Manual P/N 70000508G - Edit Help All rights reserved. Subject to change without notice. 7-27 21-January-06 Table 7-11, PLUNGE POCKETING Help Template Menu Plunge Pocketing Templates and Parameters Move Description Select PLUNGE...

  • Page 220

    CNC Programming and Operations Manual P/N 70000508G - Edit Help 7-28 All rights reserved. Subject to change without notice. 21-January-06 Table 7-12, PATHS Help Template Menu PATHS Templates and Parameters Move Description 2ELLIPSEG05 Sets CNC to Elliptical Interpolation Mode, executed...

  • Page 221

    CNC Programming and Operations Manual P/N 70000508G - Edit Help All rights reserved. Subject to change without notice. 7-29 21-January-06 Table 7-13, DRILL/TAP Help Template Menu DRILL/TAP9 DRILL/TAP Templates and Parameters Move Description DRILLINGG812 79,Basic drill canned cycle. 79,...

  • Page 222

    CNC Programming and Operations Manual P/N 70000508G - Edit Help 7-30 All rights reserved. Subject to change without notice. 21-January-06 Table 7-13, DRILL/TAP Help Template Menu (Continued) DRILL/TAP9 DRILL/TAP Templates and Parameters Move Description FLAT BOREG899 84,Flat bore cycl...

  • Page 223

    CNC Programming and Operations Manual P/N 70000508G - Edit Help All rights reserved. Subject to change without notice. 7-31 21-January-06 Modal G-Code Box NOTE: Refer to 224,“G-Code Listing” for more information on programming G-codes in Edit Help. Figure 7-11 shows the portion of the...

  • Page 224

    CNC Programming and Operations Manual P/N 70000508G - Edit Help 7-32 All rights reserved. Subject to change without notice. 21-January-06 G-Code Listing Refer 196,to Figure 7-2, Main Edit 196,Help Menu. 196, The Main Edit Help Menu contains a G-Code Listing. When a G-code is selecte...

  • Page 225

    CNC Programming and Operations Manual P/N 70000508G - Edit Help All rights reserved. Subject to change without notice. 7-33 21-January-06 Table 7-15 describes the G-codes in the menu. Table 7-15, Edit Help G-Code Menu G-Code Label and Description G4 Dwell. Programs a timed or infinite dw...

  • Page 226

    CNC Programming and Operations Manual P/N 70000508G - Edit Help 7-34 All rights reserved. Subject to change without notice. 21-January-06 M-Code Listing Refer 196,to Figure 7-2, Main Edit 196,Help Menu. The Edit Help Menu contains an M-Code Listing. You can program M-codes by select...

  • Page 227

    CNC Programming and Operations Manual P/N 70000508G - Edit Help All rights reserved. Subject to change without notice. 7-35 21-January-06 Entering an M-Code To program an M-Code from the M-Code Listing: 1. In the Main Edit Help Menu, highlight the M-Code Help Template . Press ENTER. The...

  • Page 228

    CNC Programming and Operations Manual P/N 70000508G - Edit Help 7-36 All rights reserved. Subject to change without notice. 21-January-06 Typing in M-Codes You can manually type in M-codes listed in the table. Refer to 226,Table 7-16, Edit Help M-Code Listing. Most of these M-codes...

  • Page 229

    CNC Programming and Operations Manual P/N 70000508G - Viewing Programs with Draw All rights reserved. Subject to change without notice. 8-1 21-January-06 Section 8 - Viewing Programs with Draw Draw Graphics (part graphics) is a method by which to prove a program before you cut any material....

  • Page 230

    CNC Programming and Operations Manual P/N 70000508G - Viewing Programs with Draw 8-2 All rights reserved. Subject to change without notice. 21-January-06 To activate Draw Simulation Mode: 1. In the Program Directory, highlight a program and press Draw (F7). The Draw graphic screen activ...

  • Page 231

    CNC Programming and Operations Manual P/N 70000508G - Viewing Programs with Draw All rights reserved. Subject to change without notice. 8-3 21-January-06 Programmed moves appear in four separate colors: Rapid moves: Dotted red line. Feed moves: Solid white line or arc. Compensated moves: So...

  • Page 232

    CNC Programming and Operations Manual P/N 70000508G - Viewing Programs with Draw 8-4 All rights reserved. Subject to change without notice. 21-January-06 Draw Parameters Viewing parameters are set two ways. Before the program is run, set the parameters from the Parms (F9) Pop-Up Menu. R...

  • Page 233

    CNC Programming and Operations Manual P/N 70000508G - Viewing Programs with Draw All rights reserved. Subject to change without notice. 8-5 21-January-06 Drawing Compensated Moves The ToolComp setting controls if and how Draw handles compensated moves. This allows you to see the effects of...

  • Page 234

    CNC Programming and Operations Manual P/N 70000508G - Viewing Programs with Draw 8-6 All rights reserved. Subject to change without notice. 21-January-06 Setting Grid Line Type Draw can display a two dimensional grid with dots or solid lines. [Default: None] To set the Grid parameter: 1....

  • Page 235

    CNC Programming and Operations Manual P/N 70000508G - Viewing Programs with Draw All rights reserved. Subject to change without notice. 8-7 21-January-06 NOTE: Press Motion (F3) to switch the CNC into Motion Mode. Select the default mode as follows: 1. In Draw Mode, press Parms (F9). The ...

  • Page 236

    CNC Programming and Operations Manual P/N 70000508G - Viewing Programs with Draw 8-8 All rights reserved. Subject to change without notice. 21-January-06 Erasing the Draw Display The Erase parameter sets Draw to clear the display when it starts a program. When Erase is OFF, the old drawi...

  • Page 237

    CNC Programming and Operations Manual P/N 70000508G - Viewing Programs with Draw All rights reserved. Subject to change without notice. 8-9 21-January-06 Ending Draw at a Specific Block 1. In Draw Mode, press Parms (F9). The Parameter Pop-Up Menu is displayed. 2. Highlight End N# and pres...

  • Page 238

    CNC Programming and Operations Manual P/N 70000508G - Viewing Programs with Draw 8-10 All rights reserved. Subject to change without notice. 21-January-06 Fitting the Display to the Viewing Window Draw can automatically scale the display to fit into the viewing area. To fit the display i...

  • Page 239

    CNC Programming and Operations Manual P/N 70000508G - Viewing Programs with Draw All rights reserved. Subject to change without notice. 8-11 21-January-06 Using the Window Zoom Draw allows you to zoom in on any part of the display. Refer to Figure 8-4. Figure 8-4, DISPLAY Window (Zoom) ...

  • Page 240

    CNC Programming and Operations Manual P/N 70000508G - Viewing Programs with Draw 8-12 All rights reserved. Subject to change without notice. 21-January-06 Halving Display Size Draw can reduce the size of the display to half the existing size. To reduce the display size by half: 1. In Dra...

  • Page 241

    CNC Programming and Operations Manual P/N 70000508G - Viewing Programs with Draw All rights reserved. Subject to change without notice. 8-13 21-January-06 When the Pan command is activated from the Display Pop-Up Menu, the Pan line is displayed on the screen and the soft keys change. Press...

  • Page 242

    CNC Programming and Operations Manual P/N 70000508F - Tool Page and Tool Management All rights reserved. Subject to change without notice. 9-1 31-July-05 Section 9 - Tool Page and Tool Management The Tool Page stores data on tools, such as: tool number, diameter, length offset, diameter we...

  • Page 243

    CNC Programming and Operations Manual P/N 70000508F - Tool Page and Tool Management 9-2 All rights reserved. Subject to change without notice. 31-July-05 Using the Tool Page Press UP and DOWN arrows to highlight and select tool numbers (row numbers). You can enter tool information only...

  • Page 244

    CNC Programming and Operations Manual P/N 70000508F - Tool Page and Tool Management All rights reserved. Subject to change without notice. 9-3 31-July-05 Finding Tools by Number To find a specific tool number in the Tool Page: 1. Press Find (F4). The CNC displays the following prompt, En...

  • Page 245

    CNC Programming and Operations Manual P/N 70000508F - Tool Page and Tool Management 9-4 All rights reserved. Subject to change without notice. 31-July-05 Adjusting a Single Value To adjust a single value: 1. In the Tool Page, highlight the desired row. Position the cursor on the desir...

  • Page 246

    CNC Programming and Operations Manual P/N 70000508F - Tool Page and Tool Management All rights reserved. Subject to change without notice. 9-5 31-July-05 T-Codes and Tool Activation To activate a tool, program a T-code followed by the tool number. The tool number corresponds to the row of...

  • Page 247

    CNC Programming and Operations Manual P/N 70000508F - Tool Page and Tool Management 9-6 All rights reserved. Subject to change without notice. 31-July-05 Tool-Length Offsets Tool-length offset is the distance from Z0 Tool #0 to the tip of the tool at the part Z0 (usually the surface of ...

  • Page 248

    CNC Programming and Operations Manual P/N 70000508F - Tool Page and Tool Management All rights reserved. Subject to change without notice. 9-7 31-July-05 Entering Offsets in the Tool Page After you choose the type of tools and the order of their use in the program, and you know the diamete...

  • Page 249

    CNC Programming and Operations Manual P/N 70000508F - Tool Page and Tool Management 9-8 All rights reserved. Subject to change without notice. 31-July-05 Setting Tool-Length Offsets Before you run a job in production, perform the following steps: 1. Review the part drawing. 2. Make a m...

  • Page 250

    CNC Programming and Operations Manual P/N 70000508F - Tool Page and Tool Management All rights reserved. Subject to change without notice. 9-9 31-July-05 Entering the Z Position Manually 1. Retract the Z-axis to the Tool #0, Z0 position. 2. Load the tool and manually position its tip at t...

  • Page 251

    CNC Programming and Operations Manual P/N 70000508F - Tool Page and Tool Management 9-10 All rights reserved. Subject to change without notice. 31-July-05 Tool Path Compensation (G41, G42) NOTE: Be familiar with basic CNC principles before you attempt to write compensated moves. When to...

  • Page 252

    CNC Programming and Operations Manual P/N 70000508F - Tool Page and Tool Management All rights reserved. Subject to change without notice. 9-11 31-July-05 With right-hand tool diameter compensation (G42) active, the tool offsets to the right of the programmed path (as viewed from behind a ...

  • Page 253

    CNC Programming and Operations Manual P/N 70000508F - Tool Page and Tool Management 9-12 All rights reserved. Subject to change without notice. 31-July-05 Tool Starts CenteredOn Ramp MoveCOMP5WorkpieceFirst cut is a left handcompensated Feed move.(Programmed alongedge of workpiece)Ramp ...

  • Page 254

    CNC Programming and Operations Manual P/N 70000508F - Tool Page and Tool Management All rights reserved. Subject to change without notice. 9-13 31-July-05 Black Area GougedPosition #1Position #2Position #3Position #4Ramp onRamp OffStartRamp On And Ramp OffPosition #5Position #1Position #2P...

  • Page 255

    CNC Programming and Operations Manual P/N 70000508F - Tool Page and Tool Management 9-14 All rights reserved. Subject to change without notice. 31-July-05 Using Tool Diameter Compensation and Length Offsets with Ball-End Mills When you use a ball-end mill to cut contoured surfaces, use ...

  • Page 256

    CNC Programming and Operations Manual P/N 70000508F - Tool Page and Tool Management All rights reserved. Subject to change without notice. 9-15 31-July-05 Change of Tool Compensation Direction It is possible, and sometimes advantageous, to change tool compensation from G41 to G42, or from ...

  • Page 257

    CNC Programming and Operations Manual P/N 70000508F - Tool Page and Tool Management 9-16 All rights reserved. Subject to change without notice. 31-July-05 Example 2: Two Z moves in a compensated program N10 G0 G41 X0 Y-.5 N11 Z.1 N12 G1 Z-.125 F3 N13 Y3.625 F7.5 N14 X5.5 N15 ...

  • Page 258

    CNC Programming and Operations Manual P/N 70000508F - Tool Page and Tool Management All rights reserved. Subject to change without notice. 9-17 31-July-05 Motion of Tool During Tool Compensation In linear-to-linear or linear-to-circular moves, the position at the end of the startup block (...

  • Page 259

    CNC Programming and Operations Manual P/N 70000508F - Tool Page and Tool Management 9-18 All rights reserved. Subject to change without notice. 31-July-05 For example: G17 is the active plane (compensation in XY). You program an XZ or YZ move. The Z-axis will reach the programmed tar...

  • Page 260

    CNC Programming and Operations Manual P/N 70000508F - Tool Page and Tool Management All rights reserved. Subject to change without notice. 9-19 31-July-05 Compensation Around Acute Angles Refer to 257,“Temporary Change of Tool 257,Diameter.” During compensation, the CNC finds the co...

  • Page 261

    CNC Programming and Operations Manual P/N 70000508F - Tool Page and Tool Management 9-20 All rights reserved. Subject to change without notice. 31-July-05 Change of Offset Direction In Offset Mode, you can change the offset direction in special cases without cancellation by G40. Refer ...

  • Page 262

    CNC Programming and Operations Manual P/N 70000508F - Tool Page and Tool Management All rights reserved. Subject to change without notice. 9-21 31-July-05 General Precautions 1. When you program tool path instead of part edge, a negative diameter in the Tool Page effectively changes G41 to...

  • Page 263

    CNC Programming and Operations Manual P/N 70000508F - Tool Page and Tool Management 9-22 All rights reserved. Subject to change without notice. 31-July-05 G41 Programming Example Tool compensation can be activated with G41 or G42. Therefore you can program the part-edge directly, rathe...

  • Page 264

    CNC Programming and Operations Manual P/N 70000508F - Tool Page and Tool Management All rights reserved. Subject to change without notice. 9-23 31-July-05 Refer to Table 9-3 for details on N-words. Table 9-3, N-Codes and their Functions N-Code Function N1 Establishes program # and name. N2...

  • Page 265

    CNC Programming and Operations Manual P/N 70000508F - Tool Page and Tool Management 9-24 All rights reserved. Subject to change without notice. 31-July-05 Table 9-4, Milled Pocket Using G42 Standard Metric N1 O1011 * COMP-EX-2 N1 O1011 * COMP-EX-2 N2 G90 G70 G0 T0 Z0 N2 G90 G71 G0 ...

  • Page 266

    CNC Programming and Operations Manual P/N 70000508F - Tool Page and Tool Management All rights reserved. Subject to change without notice. 9-25 31-July-05 Table 9-5 describes N-Codes and their functions. Table 9-5, N-Codes and their Functions N-Code Function N1 Establishes program # and n...

  • Page 267

    CNC Programming and Operations Manual P/N 70000508F - Tool Page and Tool Management 9-26 All rights reserved. Subject to change without notice. 31-July-05 Setting RefProg Offset Activate the RefProg key by pressing Tool (F9), Offsets (F1), then RefProg (F1). Refer to Figure 9-19. REF...

  • Page 268

    CNC Programming and Operations Manual P/N 70000508F - Tool Page and Tool Management All rights reserved. Subject to change without notice. 9-27 31-July-05 Three-axis example: 1. Set up all your tools with their offsets coming from machine zero in the Z-axis to the top of the part. 2. To ma...

  • Page 269

    CNC Programming and Operations Manual P/N 70000508G - Program Management All rights reserved. Subject to change without notice. 10-1 21-January-06 Section 10 - Program Management The Program Directory provides access to all of the program management and floppy disk utilities. These functio...

  • Page 270

    CNC Programming and Operations Manual P/N 70000508G - Program Management 10-2 All rights reserved. Subject to change without notice. 21-January-06 Changing the Program Directory You can change the Program Directory display to one of the following modes: Display only part program names (...

  • Page 271

    CNC Programming and Operations Manual P/N 70000508G - Program Management All rights reserved. Subject to change without notice. 10-3 21-January-06 Creating a New Part Program To create a new part program: 1. In Manual Mode, press PROGRAM (F2). The Program Directory activates. 2. Press Cre...

  • Page 272

    CNC Programming and Operations Manual P/N 70000508G - Program Management 10-4 All rights reserved. Subject to change without notice. 21-January-06 Maximizing Program Storage Space The CNC has a fixed amount of space available for program storage. Use the System Information screen to chec...

  • Page 273

    CNC Programming and Operations Manual P/N 70000508G - Program Management All rights reserved. Subject to change without notice. 10-5 21-January-06 Displaying Program Blocks List displays the blocks of a selected program. The displayed program cannot be edited. The List feature only works ...

  • Page 274

    CNC Programming and Operations Manual P/N 70000508G - Program Management 10-6 All rights reserved. Subject to change without notice. 21-January-06 Logging On to Other Drives The Program Directory displays the programs in the C:\USER directory by default. However, it can be set to show pr...

  • Page 275

    CNC Programming and Operations Manual P/N 70000508G - Program Management All rights reserved. Subject to change without notice. 10-7 21-January-06 Unmarking Marked Programs To unmark a program: 1. Highlight any marked program, and press ENTER. The program is no longer marked. Marking All ...

  • Page 276

    CNC Programming and Operations Manual P/N 70000508G - Program Management 10-8 All rights reserved. Subject to change without notice. 21-January-06 Deleting Groups of Programs 1. From the Program Directory, mark all of the programs to be deleted. 2. Press Delete (F3). The CNC prompts to ...

  • Page 277

    CNC Programming and Operations Manual P/N 70000508G - Program Management All rights reserved. Subject to change without notice. 10-9 21-January-06 Copying Programs to Floppy Disks Copy programs to floppy disks for storage or transfer to other machines. To copy programs to floppy disks: 1. ...

  • Page 278

    CNC Programming and Operations Manual P/N 70000508G - Program Management 10-10 All rights reserved. Subject to change without notice. 21-January-06 Checking Disks for Lost Program Fragments Computer disks sometimes contain lost program fragments. This might happen if a computer loses po...

  • Page 279

    CNC Programming and Operations Manual P/N 70000508G - Program Management All rights reserved. Subject to change without notice. 10-11 21-January-06 To display the System Information screen: 1. In the Program Directory, press Utility (F9). The Utility Pop-Up is displayed. 2. Highlight More,...

  • Page 280

    CNC Programming and Operations Manual P/N 70000508G - Program Management 10-12 All rights reserved. Subject to change without notice. 21-January-06 Table 10-2, Wildcard Examples (Continued) Wildcard Function You enter: CNC displays a pop-up that:PR*.G Lists all .G filenames starting with ...

  • Page 281

    CNC Programming and Operations Manual P/N 70000508G - Program Management All rights reserved. Subject to change without notice. 10-13 21-January-06 Renaming Programs from/to Another Directory Use Rename ? to rename programs in another directory, such as a subdirectory or a floppy. Rename ?...

  • Page 282

    CNC Programming and Operations Manual P/N 70000508G - Program Management 10-14 All rights reserved. Subject to change without notice. 21-January-06 Creating Subdirectories Press Sub Dir (SHIFT + F2) to create subdirectories. Ensure that the CNC is in the desired drive before you create a...

  • Page 283

    CNC Programming and Operations Manual P/N 70000508G - Program Management All rights reserved. Subject to change without notice. 10-15 21-January-06 Editing a Program in Another Directory Press Edit ? (SHIFT + F5) to edit a program in another directory. You can edit programs stored in anoth...

  • Page 284

    CNC Programming and Operations Manual P/N 70000508G - Program Management 10-16 All rights reserved. Subject to change without notice. 21-January-06 6. During optimization, the CNC displays the various processes that are taking place. 7. When optimization is complete, the CNC displays: OPT...

  • Page 285

    CNC Programming and Operations Manual P/N 70000508G - Running Programs All rights reserved. Subject to change without notice. 11-1 21-January-06 Section 11 - Running Programs NOTE: Verify all programs in Draw before you run them. Refer to 229,“Section 8 - Viewing Programs 229,with Dra...

  • Page 286

    CNC Programming and Operations Manual P/N 70000508G - Running Programs 11-2 All rights reserved. Subject to change without notice. 21-January-06 Figure 11-1, Single-Step/Motion Screen Switching Between Motion and Single-Step Mode Press MOTION (F7) to switch between Single-Step (S.STEP) ...

  • Page 287

    CNC Programming and Operations Manual P/N 70000508G - Running Programs All rights reserved. Subject to change without notice. 11-3 21-January-06 Single-Step Execution of Selected Program Blocks Using Arrows to Select a Starting Block Select the starting block before you start program. 1. L...

  • Page 288

    CNC Programming and Operations Manual P/N 70000508G - Running Programs 11-4 All rights reserved. Subject to change without notice. 21-January-06 Position Display Modes Position Displays for X, Y, Z, U, and W show: Machine Movement to the programmed (commanded) position in reference to ...

  • Page 289

    CNC Programming and Operations Manual P/N 70000508G - Running Programs All rights reserved. Subject to change without notice. 11-5 21-January-06 Holding or Canceling an Auto Run Press HOLD to halt the program. To restart a program on hold, press START. To cancel a program that is on hold,...

  • Page 290

    CNC Programming and Operations Manual P/N 70000508G - Running Programs 11-6 All rights reserved. Subject to change without notice. 21-January-06 Using Draw while Running Programs In Real Time Draw the CNC displays moves as it executes them. The active S.Step (F5) or Auto (F6) highlights ...

  • Page 291

    CNC Programming and Operations Manual P/N 70000508G - Running Programs All rights reserved. Subject to change without notice. 11-7 21-January-06 Setting the CNC to Display an Enlarged Position Display In the Manual, Auto, and S.Step Modes, you can set the CNC to display an Enlarged Position...

  • Page 292

    CNC Programming and Operations Manual P/N 70000508G - Running Programs 11-8 All rights reserved. Subject to change without notice. 21-January-06 Initiating Teach Mode Select a program. In Manual Mode, press TEACH (SHIFT + F5) to put the CNC in Teach Mode. After you press TEACH, Manual (...

  • Page 293

    CNC Programming and Operations Manual P/N 70000508G - Running Programs All rights reserved. Subject to change without notice. 11-9 21-January-06 Inputting Data with Teach Mode In Teach Mode, the CNC can run data or store it. The highlighted block denotes cursor position. If you input a mo...

  • Page 294

    CNC Programming and Operations Manual P/N 70000508G - Running Programs 11-10 All rights reserved. Subject to change without notice. 21-January-06 Using Teach Mode The positional data stored via Teach Mode is always referenced to the current zero point (Program Zero). 1. Press ENTER to ac...

  • Page 295

    CNC Programming and Operations Manual P/N 70000508G - Running Programs All rights reserved. Subject to change without notice. 11-11 21-January-06 Parts Counter and Program Timer The CNC keeps track of program run-time (TIMER) and the number of completed parts (PARTS). The CNC displays Ru...

  • Page 296

    CNC Programming and Operations Manual P/N 70000508G - Running Programs 11-12 All rights reserved. Subject to change without notice. 21-January-06 Table 11-2, M-Codes Used with Parts Counter and Program Timer M-Code Function M9355 X0 Prevents the parts counter from resetting to zero. M9356...

  • Page 297

    CNC Programming and Operations Manual P/N 70000508G - Running Programs All rights reserved. Subject to change without notice. 11-13 21-January-06 Jog/Return Soft Keys After the axes are halted by the HOLD key, and JOG (F9) is pressed, a new strip of soft keys related to the Jog/Return funct...

  • Page 298

    CNC Programming and Operations Manual P/N 70000508G - Running Programs 11-14 All rights reserved. Subject to change without notice. 21-January-06 RETURN (F6) F6 (RETURN) when pressed returns the axes to the position they were in when Jog/Return mode was first entered into. The order in ...

  • Page 299

    CNC Programming and Operations Manual P/N 70000508G - Running Programs All rights reserved. Subject to change without notice. 11-15 21-January-06 EXAMPLES: The following are typical scenarios as to how and when to use the Jog/Return function. Assume the CNC is running the program in Auto o...

  • Page 300

    CNC Programming and Operations Manual P/N 70000508G - Running Programs 11-16 All rights reserved. Subject to change without notice. 21-January-06 Keystrokes/operations: 1. HOLD 2. JOG (F9) 3. F3 (ZHOME) to raise Z 4. Press SPINDLE OFF to stop spindle 5. Press F8 (COOLOFF) to stop coolant...

  • Page 301

    CNC Programming and Operations Manual P/N 70000508G - Running Programs All rights reserved. Subject to change without notice. 11-17 21-January-06 Keystrokes/operations: 1. HOLD 2. JOG (F9) 3. F3 (ZHOME) to raise Z 4. Press SPINDLE OFF to stop spindle 5. Press F8 (COOLOFF) to stop coolant 6...

  • Page 302

    CNC Programming and Operations Manual P/N 70000508G - S and M Functions All rights reserved. Subject to change without notice. 12-1 21-January-06 Section 12 - S and M Functions This section covers S- and M-code formats. Refer to Table 12-1. The codes are included in the part program or ac...

  • Page 303

    CNC Programming and Operations Manual P/N 70000508G - S and M Functions 12-2 All rights reserved. Subject to change without notice. 21-January-06 Miscellaneous Functions (M-Code) Miscellaneous codes control a variety of machine tool functions. Refer to Table 12-3. These are assigned by ...

  • Page 304

    CNC Programming and Operations Manual P/N 70000508G - S and M Functions All rights reserved. Subject to change without notice. 12-3 21-January-06 Table 12-4, Control M-Codes (Continued) M-Code Function M99 Return from subprogram. M99 ends a subprogram and returns to the main program at t...

  • Page 305

    CNC Programming and Operations Manual P/N 70000508G - S and M Functions 12-4 All rights reserved. Subject to change without notice. 21-January-06 Table 12-4, Control M-Codes (Continued) M-Code Function M800 Deactivate Plane Rotation and Set Angle. You must program the axis of rotation....

  • Page 306

    CNC Programming and Operations Manual P/N 70000508G - Communication and DNC All rights reserved. Subject to change without notice. 13-1 21-January-06 Section 13 - Communication and DNC Communication The CNC can exchange data with other RS-232 devices. The baud, parity, data bits, stop bits...

  • Page 307

    CNC Programming and Operations Manual P/N 70000508G - Communication and DNC 13-2 All rights reserved. Subject to change without notice. 21-January-06 Accessing the Communication Software To access the Communication screen: 1. In Manual Mode, press PROGRAM (F2). The Program Directory act...

  • Page 308

    CNC Programming and Operations Manual P/N 70000508G - Communication and DNC All rights reserved. Subject to change without notice. 13-3 21-January-06 Setting Communication Parameters This manual does not discuss the merits of the different parameter choices. Refer to an appropriate compute...

  • Page 309

    CNC Programming and Operations Manual P/N 70000508G - Communication and DNC 13-4 All rights reserved. Subject to change without notice. 21-January-06 Setting Data Bits The CNC supports the following data bit settings: 7 and 8. To set the number of data bits: 1. Select Data Bits to cycle ...

  • Page 310

    CNC Programming and Operations Manual P/N 70000508G - Communication and DNC All rights reserved. Subject to change without notice. 13-5 21-January-06 Setting Data Type The CNC supports the following data display types: ASCII and Binary. This setting does not affect the data exchanged; onl...

  • Page 311

    CNC Programming and Operations Manual P/N 70000508G - Communication and DNC 13-6 All rights reserved. Subject to change without notice. 21-January-06 Activating the Test Link Screen With the Communication screen active, press TestLnk (F8). The Test Link screen activates. Refer to Figure...

  • Page 312

    CNC Programming and Operations Manual P/N 70000508G - Communication and DNC All rights reserved. Subject to change without notice. 13-7 21-January-06 Testing the Link 1. Set up an RS-232 connection with another machine (or computer). 2. Set the other machine to receive. 3. With the Link Te...

  • Page 313

    CNC Programming and Operations Manual P/N 70000508G - Communication and DNC 13-8 All rights reserved. Subject to change without notice. 21-January-06 Setting the Transmission and Receiving Display If the CNC is transmitting or receiving with the Text Mode active, the exchanged program wil...

  • Page 314

    CNC Programming and Operations Manual P/N 70000508G - Communication and DNC All rights reserved. Subject to change without notice. 13-9 21-January-06 Using DC Codes in Receive Mode Usually a receive operation involves the paper tape reader. You must start the reader, thereby initiating the...

  • Page 315

    CNC Programming and Operations Manual P/N 70000508G - Communication and DNC 13-10 All rights reserved. Subject to change without notice. 21-January-06 Accessing DNC 1. In the Program screen, press Utility (F9). A pop-up menu is displayed. 2. Highlight Communications, and press ENTER. T...

  • Page 316

    CNC Programming and Operations Manual P/N 70000508G - Communication and DNC All rights reserved. Subject to change without notice. 13-11 21-January-06 NOTE: Most machines default to the buffer mode for DNC operations. Some machines may be set to default to the Drip Feed Mode for DNC. In D...

  • Page 317

    CNC Programming and Operations Manual P/N 70000508G - Machine Software and Peripherals Installation All rights reserved. Subject to change without notice. 14-1 21-January-06 Section 14 - Machine Software and Peripherals Installation Machine Software Installation The CNC software is install...

  • Page 318

    CNC Programming and Operations Manual P/N 70000508G - Machine Software and Peripherals Installation 14-2 All rights reserved. Subject to change without notice. 21-January-06 Printer Installation To connect a printer, you must provide the cable and connect it to the DB-25 printer port ...

  • Page 319

    CNC Programming and Operations Manual P/N 70000508G - Machine Software and Peripherals Installation All rights reserved. Subject to change without notice. 14-3 21-January-06 Table 14-1, Keyboard Equivalents (Continued) Function CNC Key Face Keyboard Keystroke Equivalent V (axis) (V) W...

  • Page 320

    CNC Programming and Operations Manual P/N 70000508G - Off-line Software Installation All rights reserved. Subject to change without notice. 15-1 21-January-06 Section 15 - Off-line Software Introduction The off-line version of the software requires an **Intel® based Personal Computer (PC) ...

  • Page 321

    CNC Programming and Operations Manual P/N 70000508G - Off-line Software Installation 15-2 All rights reserved. Subject to change without notice. 21-January-06 Windows Off-line Software Installation 1. Insert the installation disk in the floppy drive. 2. Go to the task bar, and click on...

  • Page 322

    CNC Programming and Operations Manual P/N 70000508G - Off-line Software Installation All rights reserved. Subject to change without notice. 15-3 21-January-06 Disabled Features The following software features, found in the Program Directory’s Utility (F9) pop-up are not available under an...

  • Page 323

    CNC Programming and Operations Manual P/N 70000508G - Four- and Five-Axis Programming All rights reserved. Subject to change without notice. 16-1 21-January-06 Section 16 - Four- and Five-Axis Programming Axis Types 5400M/MK5500M The machine builder sets up the fourth and fifth axes as lin...

  • Page 324

    CNC Programming and Operations Manual P/N 70000508G - Four- and Five-Axis Programming 16-2 All rights reserved. Subject to change without notice. 21-January-06 Rotary Axis Programming Conventions A rotary axis (typically, U) will program differently based on the setting of the Reset Rotar...

  • Page 325

    CNC Programming and Operations Manual P/N 70000508G - Four- and Five-Axis Programming All rights reserved. Subject to change without notice. 16-3 21-January-06 Format: M901 U or M901 W Example: N110 M901 U will set Sync-Off for U-axis only. If a U dimension is programmed on the same bloc...

  • Page 326

    CNC Programming and Operations Manual P/N 70000508G - Four- and Five-Axis Programming 16-4 All rights reserved. Subject to change without notice. 21-January-06 Example 1: Drill (Sync-Off) Mount the fourth axis as described above. Mount a part 6-inches wide and 8-inches long on the face...

  • Page 327

    CNC Programming and Operations Manual P/N 70000508G - Four- and Five-Axis Programming All rights reserved. Subject to change without notice. 16-5 21-January-06 Example 2: Mill (Sync-On) Mount the fourth axis as described above. Mount a part 3 inches in diameter and 5 inches long on the f...

  • Page 328

    CNC Programming and Operations Manual P/N 70000508G - Four- and Five-Axis Programming 16-6 All rights reserved. Subject to change without notice. 21-January-06 Example 3: Mill (Sync-On) Mount a fourth axis as described above. Mount a part 4-inches in diameter and 8-inches long on the f...

  • Page 329

    CNC Programming and Operations Manual P/N 70000508G - DXF Converter Feature All rights reserved. Subject to change without notice. 17-1 21-January-06 Section 17 - DXF Converter Feature The DXF Converter feature allows information in a Drawing Exchange File (.DXF extension) to be used to cre...

  • Page 330

    CNC Programming and Operations Manual P/N 70000508G - DXF Converter Feature 17-2 All rights reserved. Subject to change without notice. 21-January-06 Entry to the DXF Converter To open the DXF Converter: 1. Open the Anilam Off-line Software 2. Gain access to the Program page and highlig...

  • Page 331

    CNC Programming and Operations Manual P/N 70000508G - DXF Converter Feature All rights reserved. Subject to change without notice. 17-3 21-January-06 Contours Pick an entity where the shape will begin. Pick the last entity in the shape. All entities that are connected will be chained to...

  • Page 332

    CNC Programming and Operations Manual P/N 70000508G - DXF Converter Feature 17-4 All rights reserved. Subject to change without notice. 21-January-06 Additionally, each DXF shape can be saved as a CAM Shape for use in the CNC's CAM utility. If the Output format parameter (refer to 336...

  • Page 333

    CNC Programming and Operations Manual P/N 70000508G - DXF Converter Feature All rights reserved. Subject to change without notice. 17-5 21-January-06 DXF Hot Keys Refer to Table 17-2. Table 17-2, DXF Hot Keys Hot Key Event Hot Key Event ALT + A Zoom Fit ALT + N All Layers On ALT + B Redo V...

  • Page 334

    CNC Programming and Operations Manual P/N 70000508G - DXF Converter Feature 17-6 All rights reserved. Subject to change without notice. 21-January-06 DXF Soft Keys Refer to Table 17-3. Table 17-3, Soft Key Descriptions Soft Key Function Description F1 Toggle Select ModeSelect mode must...

  • Page 335

    CNC Programming and Operations Manual P/N 70000508G - DXF Converter Feature All rights reserved. Subject to change without notice. 17-7 21-January-06 Table 17-3, Soft Key Descriptions (Continued) Soft Key Function Description F10 Exit F10 exits the Setup menus, exits the DXF Converter, and...

  • Page 336

    CNC Programming and Operations Manual P/N 70000508G - DXF Converter Feature 17-8 All rights reserved. Subject to change without notice. 21-January-06 Output Menu Options Refer to Table 17-4. Table 17-4, Output Menu Descriptions Parameter Default Input Definition Output program name DXF ...

  • Page 337

    CNC Programming and Operations Manual P/N 70000508G - DXF Converter Feature All rights reserved. Subject to change without notice. 17-9 21-January-06 Convert Polyline Description Some DXF files have arcs as polylines. Set the parameter Convert to Arc to Yes to have an arc output in the C...

  • Page 338

    CNC Programming and Operations Manual P/N 70000508G - DXF Converter Feature 17-10 All rights reserved. Subject to change without notice. 21-January-06 DXF Entities Supported See Table 17-6 for the DXF entities supported. Table 17-6, DXF Entities Supported Entities Drawing Transformation...

  • Page 339

    CNC Programming and Operations Manual P/N 70000508G - DXF Converter Feature All rights reserved. Subject to change without notice. 17-11 21-January-06 Files Created The DXF Converter creates the CNC file, .G for G-code and .M for conversational, or the associated CAM Shape files (.1, .2, et...

  • Page 340

    CNC Programming and Operations Manual P/N 70000508G - DXF Converter Feature 17-12 All rights reserved. Subject to change without notice. 21-January-06 Refer to Figure 17-2. All unneeded layers have been turned off. The Figure shows the drill locations and the contour selected. ...

  • Page 341

    CNC Programming and Operations Manual P/N 70000508G - DXF Converter Feature All rights reserved. Subject to change without notice. 17-13 21-January-06 Unedited Conversational Program Listing The CNC conversational program is created that must be edited to be 340,usable. 340, An unedited...

  • Page 342

    CNC Programming and Operations Manual P/N 70000508G - DXF Converter Feature 17-14 All rights reserved. Subject to change without notice. 21-January-06 Unedited G-code Program Listing The CNC G-code program is created that must be edited to be usable. 340,An unedited G-code program 3...

  • Page 343

    CNC Programming and Operations Manual P/N 70000508G - DXF Converter Feature All rights reserved. Subject to change without notice. 17-15 21-January-06 Edited Conversational Program Listing See Table 17-10. Table 17-10, Edited Conversational Program Listing Dim Abs Unit Inch Rapid X ...

  • Page 344

    CNC Programming and Operations Manual P/N 70000508G - DXF Converter Feature 17-16 All rights reserved. Subject to change without notice. 21-January-06 Line X -1.0000 ToolComp Off EndSub Edited G-code Tool Path The edited G-code tool path is illustrated in Figure 17-3. ...

  • Page 345

    CNC Programming and Operations Manual P/N 70000508G - DXF Converter Feature All rights reserved. Subject to change without notice. 17-17 21-January-06 Edited G-code Program Listing Table 17-11, Edited G-code Program Listing G90 G70 G0 T0 Z0 * ADD DEFAULTS X-1 Y0 ...

  • Page 346

    CNC Programming and Operations Manual P/N 70000508G - DXF Converter Feature 17-18 All rights reserved. Subject to change without notice. 21-January-06 Using DXF for Pockets with Islands (G162) Refer to 102,“Section 5, Pockets with Islands (G162).” In DXF, make outside profile sha...

  • Page 347

    CNC Programming and Operations Manual P/N 70000508G - DXF Converter Feature All rights reserved. Subject to change without notice. 17-19 21-January-06 Figure 17-5, DXF Pockets with Islands Example Workpiece 1. Select a start point on outer profile and make shape #1. A good point on the wo...

  • Page 348

    CNC Programming and Operations Manual P/N 70000508G - DXF Converter Feature 17-20 All rights reserved. Subject to change without notice. 21-January-06 DXF Program Example Table 17-12, DXF Pockets with Islands Programming Example N1 G0 G70 G90 N2 G53 O1 N3 T1 N4 G162 A2 B3 C4 D5 E6 N5 G...

  • Page 349

    CNC Programming and Operations Manual P/N 70000508G - DXF Converter Feature All rights reserved. Subject to change without notice. 17-21 21-January-06 Creating CAM Shapes When “CAM Shape” is selected as the “Output format,” you will need to know if the input DXF file is formatted in...

  • Page 350

    CNC Programming and Operations Manual P/N 70000508G - CAM Programming All rights reserved. Subject to change without notice. 18-1 21-January-06 Section 18 - CAM Programming CAM Mode CAM Mode is very different from the standard G-code method of part programming. With CAM programming, you c...

  • Page 351

    CNC Programming and Operations Manual P/N 70000508G - CAM Programming 18-2 All rights reserved. Subject to change without notice. 21-January-06 Pointer CoordinatesAbs/Inc Mode IndicatorInch/MM Mode IndicatorPointerDisplay AreaDrawing ToolsSoftkeysProgram Name Figure 18-1, CAM Mode Scre...

  • Page 352

    CNC Programming and Operations Manual P/N 70000508G - CAM Programming All rights reserved. Subject to change without notice. 18-3 21-January-06 Table 18-2, CAM Mode Soft Keys Label Soft Key Function SHAPE F2 Turns ON Shape soft keys. S-EDIT F3 Use to create, delete, edit, and import shape...

  • Page 353

    CNC Programming and Operations Manual P/N 70000508G - CAM Programming 18-4 All rights reserved. Subject to change without notice. 21-January-06 Shape Edit Menu Press S-EDIT (F3) to create a shape, delete a shape, join and project lines/arcs, merge a shape from another program file (imp...

  • Page 354

    CNC Programming and Operations Manual P/N 70000508G - CAM Programming All rights reserved. Subject to change without notice. 18-5 21-January-06 Copy To copy an existing shape: 1. Ensure that the cursor is on the shape. 2. Press S-EDIT (F3). A pop-up activates. 3. Highlight Copy, and pres...

  • Page 355

    CNC Programming and Operations Manual P/N 70000508G - CAM Programming 18-6 All rights reserved. Subject to change without notice. 21-January-06 Rev Arc Occasionally, you might program an Arc move in the wrong direction. Instead of deleting the segment and redrawing it, you can reverse...

  • Page 356

    CNC Programming and Operations Manual P/N 70000508G - CAM Programming All rights reserved. Subject to change without notice. 18-7 21-January-06 Join Sometimes what is displayed to be a single line segment is more than one line segment drawn end-to-end. To detect the presence of the extra ...

  • Page 357

    CNC Programming and Operations Manual P/N 70000508G - CAM Programming 18-8 All rights reserved. Subject to change without notice. 21-January-06 MOTION (F7) Use MOTION to generate tool paths for Contour, Pocket, and Drill moves. You can use Motion (F7) only after a shape has been input...

  • Page 358

    CNC Programming and Operations Manual P/N 70000508G - CAM Programming All rights reserved. Subject to change without notice. 18-9 21-January-06 Comment ..__Contour Parameters 2Comment .........................Interference check ...........Tool path color .................Shape Reversed ...

  • Page 359

    CNC Programming and Operations Manual P/N 70000508G - CAM Programming 18-10 All rights reserved. Subject to change without notice. 21-January-06 Refer to Table 18-4. Contour Parameters 1 Menu lists the following: Table 18-4, Contour Parameters 1 Menu Options Parameter Description and...

  • Page 360

    CNC Programming and Operations Manual P/N 70000508G - CAM Programming All rights reserved. Subject to change without notice. 18-11 21-January-06 Table 18-4, Contour Parameters 1 Menu Options (Continued) Parameter Description and Options Z step Cuts contour in Z levels. If a contour's dept...

  • Page 361

    CNC Programming and Operations Manual P/N 70000508G - CAM Programming 18-12 All rights reserved. Subject to change without notice. 21-January-06 Table 18-5, Contour Parameters 2 Menu Options (Continued) Parameter Description and Options Interference check When ON, forces the CAM softwa...

  • Page 362

    CNC Programming and Operations Manual P/N 70000508G - CAM Programming All rights reserved. Subject to change without notice. 18-13 21-January-06 Table 18-5, Contour Parameters 2 Menu Options (Continued) Parameter Description and Options Machine setup Tool change Enables a tool change and a...

  • Page 363

    CNC Programming and Operations Manual P/N 70000508G - CAM Programming 18-14 All rights reserved. Subject to change without notice. 21-January-06 Table 18-5, Contour Parameters 2 Menu Options (Continued) Parameter Description and Options Z-Feedrate: Enters the plunge feedrate of the Z-...

  • Page 364

    CNC Programming and Operations Manual P/N 70000508G - CAM Programming All rights reserved. Subject to change without notice. 18-15 21-January-06 Pocket Pocket is accessed from the MOTION (F7) Pop-Up. Use it to cut a pocket of any shape. Pocket shapes must be closed. Refer to Figure 18-3...

  • Page 365

    CNC Programming and Operations Manual P/N 70000508G - CAM Programming 18-16 All rights reserved. Subject to change without notice. 21-January-06 Refer to Table 18-7. Pocket Parameters 1 Menu lists the following: Table 18-7, Pocket Parameters 1 Menu Parameter Description and Options S...

  • Page 366

    CNC Programming and Operations Manual P/N 70000508G - CAM Programming All rights reserved. Subject to change without notice. 18-17 21-January-06 Table 18-7, Pocket Parameters 1 Menu (Continued) Parameter Description and Options Bottom of pocket Sets the final depth of the pocket. You must...

  • Page 367

    CNC Programming and Operations Manual P/N 70000508G - CAM Programming 18-18 All rights reserved. Subject to change without notice. 21-January-06 Table 18-8, Pocket Parameters 2 Menu (Continued) Parameter Description and Options Angle of Cut Usually set to Default. If so set, the angle...

  • Page 368

    CNC Programming and Operations Manual P/N 70000508G - CAM Programming All rights reserved. Subject to change without notice. 18-19 21-January-06 Table 18-8, Pocket Parameters 2 Menu (Continued) Parameter Description and Options Direction of Cut Describes the direction the tool path will ta...

  • Page 369

    CNC Programming and Operations Manual P/N 70000508G - CAM Programming 18-20 All rights reserved. Subject to change without notice. 21-January-06 Table 18-8, Pocket Parameters 2 Menu (Continued) Parameter Description and Options Entry / Exit Moves Enters or exits the path with a linear ...

  • Page 370

    CNC Programming and Operations Manual P/N 70000508G - CAM Programming All rights reserved. Subject to change without notice. 18-21 21-January-06 Pocket Menus Soft Keys Refer to Table 18-9 for Pocket Menu soft key descriptions. Table 18-9, Pocket Menus Soft Keys Label Soft Key Function F8 ...

  • Page 371

    CNC Programming and Operations Manual P/N 70000508G - CAM Programming 18-22 All rights reserved. Subject to change without notice. 21-January-06 Drill Parameters 1Shape number .................Drill Cycle .........................Tool diameter ...................Drill Parameters .........

  • Page 372

    CNC Programming and Operations Manual P/N 70000508G - CAM Programming All rights reserved. Subject to change without notice. 18-23 21-January-06 Refer to Table 18-10. This menu enables you to set the following parameters: Table 18-10, Drill Parameters 1 Menu Parameter Description and Opt...

  • Page 373

    CNC Programming and Operations Manual P/N 70000508G - CAM Programming 18-24 All rights reserved. Subject to change without notice. 21-January-06 Table 18-10, Drill Parameters 1 Menu (Continued) Parameter Description and Options Tool path color Chooses the color that the CNC will use to...

  • Page 374

    CNC Programming and Operations Manual P/N 70000508G - CAM Programming All rights reserved. Subject to change without notice. 18-25 21-January-06 POST (F8) Press POST (F8) in the CAM Mode screen to select the post processing function of the CAM software. The CNC cannot run a CAM program; i...

  • Page 375

    CNC Programming and Operations Manual P/N 70000508G - CAM Programming 18-26 All rights reserved. Subject to change without notice. 21-January-06 Table 18-11, Setup Options Settings (Continued) Parameter Description and Options Input Units Switches modes while programming. The G-code o...

  • Page 376

    CNC Programming and Operations Manual P/N 70000508G - CAM Programming All rights reserved. Subject to change without notice. 18-27 21-January-06 Paths An option in the SETUP (F9) pop-up, turns off programmed paths. Highlight Paths, and press ENTER. A pop-up displays the path numbers. Hig...

  • Page 377

    CNC Programming and Operations Manual P/N 70000508G - CAM Programming 18-28 All rights reserved. Subject to change without notice. 21-January-06 G-Code ConfigurationG-Code File Name ...Overwrite File ...........Dimensions ..............Output Units .............Axes ......................

  • Page 378

    CNC Programming and Operations Manual P/N 70000508G - CAM Programming All rights reserved. Subject to change without notice. 18-29 21-January-06 Table 18-13, POST Menu Options Parameter Description and Options G-code filename Enters a new file name to which you can output G-code. The defau...

  • Page 379

    CNC Programming and Operations Manual P/N 70000508G - CAM Programming 18-30 All rights reserved. Subject to change without notice. 21-January-06 Table 18-13, POST Menu Options (Continued) Parameter Description and Options Tool change Selects the type and location of the tool change. (...

  • Page 380

    CNC Programming and Operations Manual P/N 70000508G - CAM Programming All rights reserved. Subject to change without notice. 18-31 21-January-06 8. Select F9 Utilities, then Copy 9. Go to Other, type C:\P5M\DEFAULTS.CAM then press ENTER. 10. CAM mode should now use the new defaults when ...

  • Page 381

    CNC Programming and Operations Manual P/N 70000508G - CAM Programming 18-32 All rights reserved. Subject to change without notice. 21-January-06 Using the Shape Cursor You can position the shape cursor only on nodes or endpoints. Use the cursor to select items. The forward end of a s...

  • Page 382

    CNC Programming and Operations Manual P/N 70000508G - CAM Programming All rights reserved. Subject to change without notice. 18-33 21-January-06 Figure 18-6, Shape Editing Tools The Line tool and the Arc tool are used to rough out the main features of the shape. After you have drawn the ...

  • Page 383

    CNC Programming and Operations Manual P/N 70000508G - CAM Programming 18-34 All rights reserved. Subject to change without notice. 21-January-06 Table 18-16, Line Segment Tools Line Segment Template Line Definition Templates Values Required L RIGHT ARROW enables use of these line def...

  • Page 384

    CNC Programming and Operations Manual P/N 70000508G - CAM Programming All rights reserved. Subject to change without notice. 18-35 21-January-06 Table 18-17, Line Segment Endpoint Definition Tools Template Purpose Requirements Press ENTER to activate these point definition templates. X, Y...

  • Page 385

    CNC Programming and Operations Manual P/N 70000508G - CAM Programming 18-36 All rights reserved. Subject to change without notice. 21-January-06 Arc Tools Refer to Table 18-18. There are two types of Arcs: clockwise (Cw) and counterclockwise (Ccw). Press ENTER while the icon is high...

  • Page 386

    CNC Programming and Operations Manual P/N 70000508G - CAM Programming All rights reserved. Subject to change without notice. 18-37 21-January-06 Corner Radius The corner radius tool enables you to insert a corner radius segment in place of the sharp corner at the node between two segments....

  • Page 387

    CNC Programming and Operations Manual P/N 70000508G - CAM Programming 18-38 All rights reserved. Subject to change without notice. 21-January-06 Reversing an Arc’s Direction Occasionally, you might program an arc move in the wrong direction. Instead of deleting the segment and redra...

  • Page 388

    CNC Programming and Operations Manual P/N 70000508G - CAM Programming All rights reserved. Subject to change without notice. 18-39 21-January-06 Joining Line Segments Sometimes, what appears to be a single line segment is more than one line segment drawn end-to-end. To detect the presence...

  • Page 389

    CNC Programming and Operations Manual P/N 70000508G - CAM Programming 18-40 All rights reserved. Subject to change without notice. 21-January-06 Changing the CAM Mode View Press DISPLAY (F5) to access the following display functions. Fit Window Half Double Scale Pan ...

  • Page 390

    CNC Programming and Operations Manual P/N 70000508G - CAM Programming All rights reserved. Subject to change without notice. 18-41 21-January-06 Table 18-19, Miscellaneous (F6) Soft Keys (Continued) Soft Key Description Calc Distance Calculates and displays the shortest distance between an...

  • Page 391

    CNC Programming and Operations Manual P/N 70000508G - CAM Programming 18-42 All rights reserved. Subject to change without notice. 21-January-06 Using Construction Geometry Points, lines, and circles are the basic elements of all construction geometry. Use construction geometry to fin...

  • Page 392

    CNC Programming and Operations Manual P/N 70000508G - CAM Programming All rights reserved. Subject to change without notice. 18-43 21-January-06 Point Tools Some point tools define the position of a point in the coordinate system; others allow you to select an existing point in the geometr...

  • Page 393

    CNC Programming and Operations Manual P/N 70000508G - CAM Programming 18-44 All rights reserved. Subject to change without notice. 21-January-06 Line Tools Some Line tools require point definition or identification to start. Refer to Table 18-21. The CAM Mode displays a message when ...

  • Page 394

    CNC Programming and Operations Manual P/N 70000508G - CAM Programming All rights reserved. Subject to change without notice. 18-45 21-January-06 Circle Tools Some circle tools require point definition or identification when used. Refer to Table 18-22. The CAM Mode displays a message when...

  • Page 395

    CNC Programming and Operations Manual P/N 70000508G - CAM Programming 18-46 All rights reserved. Subject to change without notice. 21-January-06 Chaining Geometry Elements to Create a Shape You must create a shape before chaining can occur. The shape starting point (origin) should be ...

  • Page 396

    CNC Programming and Operations Manual P/N 70000508G - CAM Programming All rights reserved. Subject to change without notice. 18-47 21-January-06 Deleting Geometry Elements After a shape has been chained together from Construction Geometry, the geometry can be deleted, if desired. Elements...

  • Page 397

    CNC Programming and Operations Manual P/N 70000508G - CAM Programming 18-48 All rights reserved. Subject to change without notice. 21-January-06 Using Shapes in G-code Programs You can use any shapes that you create in CAM in G-code programs. Anywhere you can use a subprogram in a G-co...

  • Page 398

    CNC Programming and Operations Manual P/N 70000508G - CAM Programming All rights reserved. Subject to change without notice. 18-49 21-January-06 Keystrokes: 1 F2 PROGRAM 2 F2 Create 3 Type CONTUR-1 press ENTER 4 F4 CAM 5 F3 S-EDIT 6 Create 7 ENTER (to select the current Point definition), ...

  • Page 399

    CNC Programming and Operations Manual P/N 70000508G - CAM Programming 18-50 All rights reserved. Subject to change without notice. 21-January-06 Table 18-23, Example 1 Settings: Contour Parameters with Outside Profile Contour Parameters Menu 1 Values Parameter Setting Shape number 1 T...

  • Page 400

    CNC Programming and Operations Manual P/N 70000508G - CAM Programming All rights reserved. Subject to change without notice. 18-51 21-January-06 28 F10, F10 29 F8 Calc 30 F1 Yes 31 F4 View, choose Iso 32 F8 POST 33 F10 Exit (to Program Directory) 34 F5 List, to view G-code created, then F...

  • Page 401

    CNC Programming and Operations Manual P/N 70000508G - CAM Programming 18-52 All rights reserved. Subject to change without notice. 21-January-06 Example #2 Machining a Slot using Contour In Figure 18-8, X0 Y0 is set at the center of the large radius. CG is required to create this shap...

  • Page 402

    CNC Programming and Operations Manual P/N 70000508G - CAM Programming All rights reserved. Subject to change without notice. 18-53 21-January-06 The shape is now completed. Press SETUP (F9), highlight Geometry, press ENTER, and then switch ALL to Off. The CNC will turn off the Constructi...

  • Page 403

    CNC Programming and Operations Manual P/N 70000508G - CAM Programming 18-54 All rights reserved. Subject to change without notice. 21-January-06 Entry move: CIRCULAR, Arc length = 180.0 Arc radius = .5000 (F10 to exit) Exit move: CIRCULAR, Arc length = 180.0 Arc radius = ....

  • Page 404

    CNC Programming and Operations Manual P/N 70000508G - CAM Programming All rights reserved. Subject to change without notice. 18-55 21-January-06 Example #3 Machining an Outside Profile using Contour In Figure 18-9, X0 Y0 is set at the center of the large radius. As you program, note the ...

  • Page 405

    CNC Programming and Operations Manual P/N 70000508G - CAM Programming 18-56 All rights reserved. Subject to change without notice. 21-January-06 20 Cursor left, up to CG, switch to Circles 21 Cursor right, up to #1 (Round), ENTER 22 1.8 ENTER, 4 ENTER, 5 ENTER, F5 ENTER (To fit) The Co...

  • Page 406

    CNC Programming and Operations Manual P/N 70000508G - CAM Programming All rights reserved. Subject to change without notice. 18-57 21-January-06 A F2 SHAPE B F5 Forw C Cursor up to #4 (Rnd), ENTER D .75 ENTER E F5 Forw F ENTER G Arrow up, ENTER (arrow up recalls last value entered) H F2 S...

  • Page 407

    CNC Programming and Operations Manual P/N 70000508G - CAM Programming 18-58 All rights reserved. Subject to change without notice. 21-January-06 Table 18-25, Example 3 Settings: Machining an Outside Profile Using Contour (Continued) Contour Parameters Menu 2 Values Parameter Setting ...

  • Page 408

    CNC Programming and Operations Manual P/N 70000508G - CAM Programming All rights reserved. Subject to change without notice. 18-59 21-January-06 Example #4 Machining a Contour with Many Unknown Intersections The contour illustrated in Figure 18-10 consists wholly of tangent arcs. The draw...

  • Page 409

    CNC Programming and Operations Manual P/N 70000508G - CAM Programming 18-60 All rights reserved. Subject to change without notice. 21-January-06 The Shape is now ready to contour. 22 F7 MOTION 23 Contour Refer to Table 18-26 to set the following parameters in the Contour Menu(s): Table...

  • Page 410

    CNC Programming and Operations Manual P/N 70000508G - CAM Programming All rights reserved. Subject to change without notice. 18-61 21-January-06 25 F10, F10 26 F8 Calc 27 F1 Yes 28 F5 ENTER (to Fit) 29 F4 View, choose Iso 30 F8 (POST) 31 EXIT (to Program Directory) 32 F5 List, to view G-co...

  • Page 411

    CNC Programming and Operations Manual P/N 70000508G - CAM Programming 18-62 All rights reserved. Subject to change without notice. 21-January-06 Keystrokes: 1 F2 PROGRAM (if necessary) 2 F2 Create 3 Type CONTUR-5 press ENTER 4 F4 CAM 5 Cursor down to CG, switch to circles 6 Cursor righ...

  • Page 412

    CNC Programming and Operations Manual P/N 70000508G - CAM Programming All rights reserved. Subject to change without notice. 18-63 21-January-06 29 Now the CAM will prompt for intersections. Intersection #2 is needed for each prompt. Press 2 + ENTER for each prompt (total of twelve time...

  • Page 413

    CNC Programming and Operations Manual P/N 70000508G - CAM Programming 18-64 All rights reserved. Subject to change without notice. 21-January-06 Table 18-27, Example 5: Contour with Many Unknown Intersections - Tangent Arcs (Continued) Contour Parameters Menu 2 Values Comment N/A Inter...

  • Page 414

    CNC Programming and Operations Manual P/N 70000508G - CAM Programming All rights reserved. Subject to change without notice. 18-65 21-January-06 Example #6 Pocket Milled into Workpiece Refer 397,to Figure 18-7, 397,An Outside Profile Using Contour 397,. 397, Pocket will be used to mach...

  • Page 415

    CNC Programming and Operations Manual P/N 70000508G - CAM Programming 18-66 All rights reserved. Subject to change without notice. 21-January-06 Machine setup ENTER Pocket Parameters 3 Values Tool change N/A Initial move 2D Coolant at start On Coolant at end Off Feedrate 13.0 Z Feedrat...

  • Page 416

    CNC Programming and Operations Manual P/N 70000508G - CAM Programming All rights reserved. Subject to change without notice. 18-67 21-January-06 Example #7 Milled Pocket - X0 Y0 at Center of Radius Refer to Figure 18-12. Pocket will be used to machine the pocket. X0 Y0 is set at the cen...

  • Page 417

    CNC Programming and Operations Manual P/N 70000508G - CAM Programming 18-68 All rights reserved. Subject to change without notice. 21-January-06 The geometry necessary to feed the cursor now exists. 17 F3 S-EDIT 18 Create 19 Cursor down to #5 (INTERSECTION), ENTER 20 2 ENTER, 4 ENTER ...

  • Page 418

    CNC Programming and Operations Manual P/N 70000508G - CAM Programming All rights reserved. Subject to change without notice. 18-69 21-January-06 Table 18-29, Example 7: Pocket Parameters Menu 1 Values - X0 Y0 at Center of Radius (Continued) Pocket Parameters 3 Menu Values Parameter Setting...

  • Page 419

    CNC Programming and Operations Manual P/N 70000508G - CAM Programming 18-70 All rights reserved. Subject to change without notice. 21-January-06 Example #8 Pocket Milled into Workpiece - X0 Y0 at Lower Left Corner Refer to Figure 18-13. Pocket will be used to machine the pocket. As ...

  • Page 420

    CNC Programming and Operations Manual P/N 70000508G - CAM Programming All rights reserved. Subject to change without notice. 18-71 21-January-06 The necessary geometry now exists. 21 Cursor left, then down to Chain, ENTER 22 1 -2 4 -3 5 6 ENTER, F9 (Note spaces) 23 Cursor up to #1, ...

  • Page 421

    CNC Programming and Operations Manual P/N 70000508G - CAM Programming 18-72 All rights reserved. Subject to change without notice. 21-January-06 Table 18-30, Example 8 Settings: Pocket X0 Y0 at Lower Left Corner (Continued) Pocket Parameters 3 Parameter Setting Tool change N/A Initial ...

  • Page 422

    CNC Programming and Operations Manual P/N 70000508G - CAM Programming All rights reserved. Subject to change without notice. 18-73 21-January-06 Example #9 Milled Pocket - X0 Y0 at the Center of the Large Radius Pocket will be used to machine the pocket. The shape will be the same as tha...

  • Page 423

    CNC Programming and Operations Manual P/N 70000508G - CAM Programming 18-74 All rights reserved. Subject to change without notice. 21-January-06 Table 18-31, Example 9 Settings: Pocket with X0 Y0 at the Center of the Large Radius (Continued) Pocket Parameters 3 Parameter Setting Tool c...

  • Page 424

    CNC Programming and Operations Manual P/N 70000508G - CAM Programming All rights reserved. Subject to change without notice. 18-75 21-January-06 Example #10 Series of Holes using Drill Refer to Figure 18-14. No Construction Geometry will be used in this example. X0 Y0 is set at the uppe...

  • Page 425

    CNC Programming and Operations Manual P/N 70000508G - CAM Programming 18-76 All rights reserved. Subject to change without notice. 21-January-06 Table 18-32, Example 10 Settings: Series of Holes Using Drill Drill Parameters Menu 1 Values Parameter Setting Shape number 1 Drill Cycle Sp...

  • Page 426

    CNC Programming and Operations Manual P/N 70000508G - CAM Programming All rights reserved. Subject to change without notice. 18-77 21-January-06 Example #11 Pocket, Contour, and Drill Refer to Figure 18-15. Pocket will be used to rough-mill the pocket; Contour will be used to finish the ...

  • Page 427

    CNC Programming and Operations Manual P/N 70000508G - CAM Programming 18-78 All rights reserved. Subject to change without notice. 21-January-06 15 Cursor up two ENTER, -2.4 ENTER 16 Cursor down ENTER, 3 ENTER The pocket (and contour) shape now exists. 17 F3 S-EDIT 18 Create 19 ENTER...

  • Page 428

    CNC Programming and Operations Manual P/N 70000508G - CAM Programming All rights reserved. Subject to change without notice. 18-79 21-January-06 Table 18-33, Example 11: Pocket Parameters Menu Values - Pocket, Contour, and Drill (Continued) Pocket Parameters Menu 2 Values Parameter Setting...

  • Page 429

    CNC Programming and Operations Manual P/N 70000508G - CAM Programming 18-80 All rights reserved. Subject to change without notice. 21-January-06 Table 18-34, Example 11: Contour Parameters Menu Values - Pocket, Contour, and Drill Contour Parameters Menu 1 Values Parameter Setting Shape...

  • Page 430

    CNC Programming and Operations Manual P/N 70000508G - CAM Programming All rights reserved. Subject to change without notice. 18-81 21-January-06 33 F1 Yes 34 F7 MOTION 35 Drill 36 Refer to Table 18-35. Set the following parameters in the Drill menu(s): Table 18-35, Drill Parameters Men...

  • Page 431

    CNC Programming and Operations Manual P/N 70000508G - CAM Programming 18-82 All rights reserved. Subject to change without notice. 21-January-06 Example #12 Using CAM for Pockets with Islands (G162) Using CAM, the geometer would be entered as normal, with the island inside the main p...

  • Page 432

    CNC Programming and Operations Manual P/N 70000508G - CAM Programming All rights reserved. Subject to change without notice. 18-83 21-January-06 Figure 18-17, CAM Illustration with Pocket Parameters Pop-up Menu After all islands are setup, press Calc. This clears the pocket, leaving isla...

  • Page 433

    CNC Programming and Operations Manual P/N 70000508G - CAM Programming 18-84 All rights reserved. Subject to change without notice. 21-January-06 Figure 18-19, CAM Pockets with Islands Illustration in Draw Mode

  • Page 434

    CNC Programming and Operations Manual P/N 70000508G - CAM Programming All rights reserved. Subject to change without notice. 18-85 21-January-06 Additional Drawings for Practice Use Figure 18-20 and Figure 18-21 to improve your CAM programming skills: 45 Deg.Typ.R 4.5”R 5”R 4”R 1”...

  • Page 435

    CNC Programming and Operations Manual P/N 70000508G - Advanced Programming Features All rights reserved. Subject to change without notice. 19-1 21-January-06 Section 19 - Advanced Programming Features Modifiers Use modifiers to alter the way the CNC interprets a word address. For example,...

  • Page 436

    CNC Programming and Operations Manual P/N 70000508G - Advanced Programming Features 19-2 All rights reserved. Subject to change without notice. 21-January-06 Example 2: G90 G01 X0 Y0 F10 ; G02 X1 Y1 I1 J0 F8 ; G01 X2 In MDI Mode, you can type up to two lines of text at the command line. ...

  • Page 437

    CNC Programming and Operations Manual P/N 70000508G - Advanced Programming Features All rights reserved. Subject to change without notice. 19-3 21-January-06 Permanent Format: T1 D.5500 L-1.1000 H Changes Tool 1 diameter offset to .5500 and length offset to -1.1000. Updates the Tool Page...

  • Page 438

    CNC Programming and Operations Manual P/N 70000508G - Advanced Programming Features 19-4 All rights reserved. Subject to change without notice. 21-January-06 The main program calls the subprogram that contains the compensation on/off commands between each tool modification. NOTE: When too...

  • Page 439

    CNC Programming and Operations Manual P/N 70000508G - Advanced Programming Features All rights reserved. Subject to change without notice. 19-5 21-January-06 Examples Ref. from Previous Table Example a) G01 X(#100 + #101). All calculations must be enclosed in parentheses. This defines ...

  • Page 440

    CNC Programming and Operations Manual P/N 70000508G - Advanced Programming Features 19-6 All rights reserved. Subject to change without notice. 21-January-06 Ref. from Previous Table Example u) SQRT (n) will give the square root of (n). v) LN (n) is natural logarithm. w) LOG (n) is loga...

  • Page 441

    CNC Programming and Operations Manual P/N 70000508G - Advanced Programming Features All rights reserved. Subject to change without notice. 19-7 21-January-06 Table 19-3, System Variables (Continued) Variable Description #1031 Acute angle for rounding compensated intersections (default = 15...

  • Page 442

    CNC Programming and Operations Manual P/N 70000508G - Advanced Programming Features 19-8 All rights reserved. Subject to change without notice. 21-January-06 Variable Programming (Parametric Programming) Variable, or parametric, programming enables you to create macros to generate geometr...

  • Page 443

    CNC Programming and Operations Manual P/N 70000508G - Advanced Programming Features All rights reserved. Subject to change without notice. 19-9 21-January-06 Selective Block Skip The 5000M control has nine (9) optional block skip ‘switches’. The (/) code followed by a number 1 through...

  • Page 444

    CNC Programming and Operations Manual P/N 70000508G - Advanced Programming Features 19-10 All rights reserved. Subject to change without notice. 21-January-06 Contents of Variables (PRINT) Format: PRINT xxx(variable) Format: N(Block number) PRINT xxx(variable) You can verify the c...

  • Page 445

    CNC Programming and Operations Manual P/N 70000508G - Advanced Programming Features All rights reserved. Subject to change without notice. 19-11 21-January-06 Example 2: N200 #100 = 25.4m Variable #100 sets variable 100 to 25.4mm. Similarly, #100 = 5i sets variable 100 to 5 inches. I...

  • Page 446

    CNC Programming and Operations Manual P/N 70000508G - Advanced Programming Features 19-12 All rights reserved. Subject to change without notice. 21-January-06 Example 2 contains two levels of indirection (N219) and shows how the contents from multiple variables can be assigned to a comman...

  • Page 447

    CNC Programming and Operations Manual P/N 70000508G - Advanced Programming Features All rights reserved. Subject to change without notice. 19-13 21-January-06 Variable Programming Examples Example 1 This program uses common variables in the range of #50 to #149. The program mills a p...

  • Page 448

    CNC Programming and Operations Manual P/N 70000508G - Advanced Programming Features 19-14 All rights reserved. Subject to change without notice. 21-January-06 The pocket will be milled with a side draft angle of three degrees. Z is set to a step-up increment of .02 in. #152 can be set t...

  • Page 449

    CNC Programming and Operations Manual P/N 70000508G - Advanced Programming Features All rights reserved. Subject to change without notice. 19-15 21-January-06 The read only variables are set in Blocks N60 to N90. Then, the subprogram is called. At Block N170, the first move is made along...

  • Page 450

    CNC Programming and Operations Manual P/N 70000508G - Advanced Programming Features 19-16 All rights reserved. Subject to change without notice. 21-January-06 Example: N200 O 201 N210 ------ Terminate the macro with an M99 code. Use local variables within the body of a macro or subprogr...

  • Page 451

    CNC Programming and Operations Manual P/N 70000508G - Advanced Programming Features All rights reserved. Subject to change without notice. 19-17 21-January-06 Table 19-5, Letter Addresses A = #1 B = #2 C = #3 D = #7 E= #8 F = #9, H = #11 I = #4 J = #5 K = #6 M = #13 Q = #17, R = #18 S = #1...

  • Page 452

    CNC Programming and Operations Manual P/N 70000508G - Advanced Programming Features 19-18 All rights reserved. Subject to change without notice. 21-January-06 G65 Macro Programming, Macro (Subprogram) This macro can mill any size window (L x W), at any Z depth. To change the pocket size,...

  • Page 453

    CNC Programming and Operations Manual P/N 70000508G - Advanced Programming Features All rights reserved. Subject to change without notice. 19-19 21-January-06 SLOTMAC.G Program In the following Blocks 1260 through 1400 are comment blocks that regard the macro's structure and concept. Exam...

  • Page 454

    CNC Programming and Operations Manual P/N 70000508G - Advanced Programming Features 19-20 All rights reserved. Subject to change without notice. 21-January-06 Macro Programming (Hole Milling Macro) Example 3 machines a CW or CCW hole. A move is made to the hole center and to the required...

  • Page 455

    CNC Programming and Operations Manual P/N 70000508G - Advanced Programming Features All rights reserved. Subject to change without notice. 19-21 21-January-06 G1 Z-.5 * MOVE Z TO DEPTH G65 P76 D2.0 S.010 J35 K20 G0 Z.1 * RAISE Z TO CLEARANCE PLANE TO Z0 X0 Y0 M2 O76 ** HOLE MILLING M...

  • Page 456

    CNC Programming and Operations Manual P/N 70000508G - Advanced Programming Features 19-22 All rights reserved. Subject to change without notice. 21-January-06 PRINT (WARNING: TOOL DIA.= 0) M00 * DWELL UNTIL START KEY. ENDIF #34 = (#33/2); * INTERMEDIATE RADIUS. #35 = (ABS(#7)/2- TDIA /2);...

  • Page 457

    CNC Programming and Operations Manual P/N 70000508G - Advanced Programming Features All rights reserved. Subject to change without notice. 19-23 21-January-06 Probe Move (G31) G31 is to be issued with an associated axis move (i.e. G31 X10). When the G31 is executed, it moves at current fe...

  • Page 458

    CNC Programming and Operations Manual P/N 70000508G - Advanced Programming Features 19-24 All rights reserved. Subject to change without notice. 21-January-06 Conditional Statements This subsection discusses the conditional statements IF, THEN, ELSE, GOTO, and WHILE. IF - THEN - ENDIF N...

  • Page 459

    CNC Programming and Operations Manual P/N 70000508G - Advanced Programming Features All rights reserved. Subject to change without notice. 19-25 21-January-06 WHILE - DO - END N550 WHILE (expression) DO nnnn N560 ------------------------ :: :: N590 END nnnn N600 --------- If th...

  • Page 460

    CNC Programming and Operations Manual P/N 70000508G - Advanced Programming Features 19-26 All rights reserved. Subject to change without notice. 21-January-06 GOTO \N698 GOTO nnnn N699 ---------- GOTO is an instruction to continue program execution at the block specified (nnnn). You sh...

  • Page 461

    CNC Programming and Operations Manual P/N 70000508G - Advanced Programming Features All rights reserved. Subject to change without notice. 19-27 21-January-06 Logical and Comparative Terms Logical Terms All logical operations can be carried out using the following command characters or com...

  • Page 462

    CNC Programming and Operations Manual P/N 70000508G - Advanced Programming Features 19-28 All rights reserved. Subject to change without notice. 21-January-06 Inequality Operators NOT N760 WHILE (#135 != #137) DO 10 N770 ------------------------ :: N790 END 10 The exclamation mark...

  • Page 463

    CNC Programming and Operations Manual P/N 70000508G - Advanced Programming Features All rights reserved. Subject to change without notice. 19-29 21-January-06 Example 2: N1 O23 * TEST.G N2 M98 P9 N3 T1 * 1.0000 MILL N4 G0 X-.6 Y.6 N5 Z.1 N6 . N7 . . . . N33 M98 P9 ...

  • Page 464

    CNC Programming and Operations Manual P/N 70000508G - Index All rights reserved. Subject to change without notice Index-1 21-January-06 #1000, block skip, description, 19-8 #1001–#1009, selective block skip, description, 19-9 % Executing Buffer Full, 13-10 % Feed, machine status display,...

  • Page 465

    CNC Programming and Operations Manual P/N 70000508G - Index Index-2 All rights reserved. Subject to change without notice. 21-January-06 automatic Draw restart, 8-7 feedrate override, arcs, (G62, G63), 4-20 mode, defined, 11-1 tool changer, 5-11, 9-5 tool changes, new tool, 18-31 tool c...

  • Page 466

    CNC Programming and Operations Manual P/N 70000508G - Index All rights reserved. Subject to change without notice Index-3 21-January-06 Draw, program, 8-3 drill, tap, bore cycle, (G80), 5-6 In-Position Mode, modal, exact stop check, (G64), 4-10 single-step run, execution, 11-2 canned cycle...

  • Page 467

    CNC Programming and Operations Manual P/N 70000508G - Index Index-4 All rights reserved. Subject to change without notice. 21-January-06 Parameters 2 Menu, parameter, description, 18-11 Parameters Menu, illustration, 18-9 screen, soft keys, listed, 18-14 top of, parameter, 18-11 with ma...

  • Page 468

    CNC Programming and Operations Manual P/N 70000508G - Index All rights reserved. Subject to change without notice Index-5 21-January-06 Draw, scale, 8-10 erase, 8-8, 8-13 system information, illustration, 10-10 zoom, 8-11 display size change, 8-12 half, 8-12 DISPLAY, description, 8-1 DNC m...

  • Page 469

    CNC Programming and Operations Manual P/N 70000508G - Index Index-6 All rights reserved. Subject to change without notice. 21-January-06 description, 17-18 program example, 17-20 program listing, pop-menu, 17-19 requirements machine software, 17-1 off-line software, 17-1 shapes, creatin...

  • Page 470

    CNC Programming and Operations Manual P/N 70000508G - Index All rights reserved. Subject to change without notice Index-7 21-January-06 F1, toggle select mode, DXF converter, 17-6 F10, Exit, 3-8 F10, exit, DXF converter, 17-7 F10, Handwheel, 3-8 F2, Program, 3-8 F3 (ZHOME), 11-14 F3, Edit,...

  • Page 471

    CNC Programming and Operations Manual P/N 70000508G - Index Index-8 All rights reserved. Subject to change without notice. 21-January-06 G147, skew error or angle find defined, 5-87 description, 5-100 G150, tool probe calibration cycle defined, 5-72 description, 5-73 G151, tool length a...

  • Page 472

    CNC Programming and Operations Manual P/N 70000508G - Index All rights reserved. Subject to change without notice Index-9 21-January-06 G65, G66, G67, user macros, description, 19-15 G65, non-modal, 4-22 G66, 4-1, 4-22 G66, modal, 4-22 G66/G67 macro program, example, 19-18 G67, 4-1 G68, 4-...

  • Page 473

    CNC Programming and Operations Manual P/N 70000508G - Index Index-10 All rights reserved. Subject to change without notice. 21-January-06 list, to view, 18-46 notes, 18-45 options, listed, 18-27 point tools, templates, listed, 18-43 setting, description, 18-27 tools, to access, 18-42 ge...

  • Page 474

    CNC Programming and Operations Manual P/N 70000508G - Index All rights reserved. Subject to change without notice Index-11 21-January-06 insert text no overwrite, 6-5 overwrite, 6-6 inserted characters, 2-7 inside corner finding, G143, 5-93 inside or outside hole or boss center find, G144 ...

  • Page 475

    CNC Programming and Operations Manual P/N 70000508G - Index Index-12 All rights reserved. Subject to change without notice. 21-January-06 logical, symbols, listed, 19-27 loop counter, 3-6 function, 5-68 programming, example, illustration, 5-68 LOOP - END, description, 19-25 LOOP, machin...

  • Page 476

    CNC Programming and Operations Manual P/N 70000508G - Index All rights reserved. Subject to change without notice Index-13 21-January-06 string variables, description, 19-20 Main Edit Help Menu description, 7-3 illustration, 7-4 managing, shape files, 18-47 Manual (F4), 3-8 MANUAL (F4), 11...

  • Page 477

    CNC Programming and Operations Manual P/N 70000508G - Index Index-14 All rights reserved. Subject to change without notice. 21-January-06 X0 Y0 at the center of the large radius, 18-73 milling cavities, 5-47 milling cores, 5-47 minus sign, address, example, 19-10 minutes to decimal, con...

  • Page 478

    CNC Programming and Operations Manual P/N 70000508G - Index All rights reserved. Subject to change without notice Index-15 21-January-06 page down, feature, 6-9 page up, feature, 6-9 Pan, command, 8-12 Pan, display function, 18-40 parameter register, description, 19-9 parameters descriptio...

  • Page 479

    CNC Programming and Operations Manual P/N 70000508G - Index Index-16 All rights reserved. Subject to change without notice. 21-January-06 powering off, 3-1 on, 3-1 practice, examples, 18-85 precautions, general, 9-21 Print ?, 10-13 print program, feature, 6-14 PRINT variable, descripti...

  • Page 480

    CNC Programming and Operations Manual P/N 70000508G - Index All rights reserved. Subject to change without notice Index-17 21-January-06 timer, illustration, 11-11 tool path, general precautions, 9-21 undelete, 10-8 unmark, 10-7 unmark all, 10-7 using real time Draw, while running programs...

  • Page 481

    CNC Programming and Operations Manual P/N 70000508G - Index Index-18 All rights reserved. Subject to change without notice. 21-January-06 R R, hot key, 18-39, 18-47 RAD/CHAMFER Help Template Menu, parameters, table, 7-20 radius, large mold rotation, illustration, 5-53 radius, remove, 18...

  • Page 482

    CNC Programming and Operations Manual P/N 70000508G - Index All rights reserved. Subject to change without notice Index-19 21-January-06 sample, CAM programs, 18-48 saving, edits, 6-4 saving, POST parameter settings, 18-30 Scale, display function, 18-40 scale, Draw, display size, 8-10 Scal...

  • Page 483

    CNC Programming and Operations Manual P/N 70000508G - Index Index-20 All rights reserved. Subject to change without notice. 21-January-06 option, description, 18-26 pocket, description, 18-15 reversed, parameter, 18-12, 18-19 segment details, to view, 18-40 to cope, 18-5 to create, 18-4...

  • Page 484

    CNC Programming and Operations Manual P/N 70000508G - Index All rights reserved. Subject to change without notice Index-21 21-January-06 starting block, select auto mode, using SEARCH, 11-5 single-step mode, using SEARCH, 11-3 using arrow keys, 11-5 using arrows, 11-3 Starting Draw, 8-1 st...

  • Page 485

    CNC Programming and Operations Manual P/N 70000508G - Index Index-22 All rights reserved. Subject to change without notice. 21-January-06 tool diameter compensation ball end mill, using, 9-14 left-hand, (G41), 9-10 plane you select, 1-7 right-hand, (G42), 9-11 correct for irregular pock...

  • Page 486

    CNC Programming and Operations Manual P/N 70000508G - Index All rights reserved. Subject to change without notice Index-23 21-January-06 read only, description, 19-7 using, data control codes, 13-8 V variable direct transfer, 19-10 indirect transfer, 19-11 programming description, 19-8 exa...

  • Page 487

    P/N 70000508G 21-January-06 www.anilam.com U.S.A. ANILAM One Precision Way Jamestown, NY 14701 (716) 661-1899 (716) 661-1884 anilaminc@anilam.com ANILAM, CA 16312 Garfield Ave., Unit B Paramount, CA 90723 (562) 408-3334 (562) 634-5459 anilamla@anilam.com Dial “011” before eac...

x