Navigation

  • Page 1

    CENTURION 7 CNC Operation Manual Version 3.2 June 2003 MILLTRONICS MANUFACTURING COMPANY 1400 Mill Lane Waconia, MN 55387 952- 442-1410 952-442-1401 Technical Support 952-442-1418 Parts actionURI(http://www.milltronics.net/):http://www.milltronics.net/

  • Page 2

     Copyright 2003 Milltronics Manufacturing All Rights Reserved

  • Page 3

    PREFACE This manual describes the operation of the Centurion 5, 6 and 7 CNC controls. From the operator’s standpoint there is no visible difference. Functionality is the same in all controls. The Centurion 7 hardware offers enhanced performance, larger memory, and faster processing. When this ...

  • Page 4

  • Page 5

    TABLE OF CONTENTS 3,PREFACE 3,...................................................................................................................................... 3,iii 15,AXIS DEFINITIONS 15,.....................................................................................................

  • Page 6

    TABLE OF CONTENTS 48,F6 (Displ) Main-Displ............................................................................................................... 48,34 48,F7 (Parms) Main-Parms............................................................................................................ ...

  • Page 7

    TABLE OF CONTENTS 98,F2 (Conv) Main-Prog-Conv 98,...................................................................................................... 98,84 98,F1 (Edit) Main-Prog-Conv-Edit................................................................................................ 98,84 ...

  • Page 8

    TABLE OF CONTENTS 119,F3 (Tool) 119,................................................................................................................................. 119,105 119,F4 (Cont).............................................................................................................

  • Page 9

    TABLE OF CONTENTS 162,F3 (Rect) Mill-Frame-Rect 162,..................................................................................................... 162,148 162,F5(Poly) Mill-Frame-Poly 162,......................................................................................................

  • Page 10

    TABLE OF CONTENTS 204,End of Program....................................................................................................................... 204,190 205,SECTION FOUR - PREPARATORY FUNCTIONS (G 205,CODES)............................................ 205,191 205,G Codes............

  • Page 11

    TABLE OF CONTENTS 271,Work coordinate systems (G54 271,- G59)(G5#0…G5#9) 271,........................................................... 271,257 271,Local coordinate system 271, (G52)............................................................................................... 271,257 271...

  • Page 12

    TABLE OF CONTENTS 317,SECTION FIVE - MISCELLANEOUS FUNCTIONS (M 317,CODES) 317,........................................ 317,303 319,Program 319, stop (M00)................................................................................................................ 319,305 319,Optional s...

  • Page 13

    TABLE OF CONTENTS 356,MOD 356,....................................................................................................................................... 356,342 356,ORIGIN................................................................................................................

  • Page 14

  • Page 15

    AXIS DEFINITIONS All directions are referenced with respect to the tool. The following illustrates the X, Y, and Z directions. 1

  • Page 16

  • Page 17

    INTRODUCTION A group of commands given to the CNC for operating the machine is called a program. By specifying commands the tool is moved along a straight line or an arc, and machine functions such as coolant on/off, tool change, or spindle on/off are performed. The function of mov...

  • Page 18

    INTRODUCTION The following types of coordinate systems are available. 1. Machine system 2. Work coordinate system 3. Local coordinate system 4

  • Page 19

    INTRODUCTION The position to be reached by the tool is commanded with a coordinate value referenced to one of the above coordinate systems. The coordinate value consists of one component for each axis, X, Y, and Z. Coordinate values may be given in either absolute or incremental mode. In absolute...

  • Page 20

  • Page 21

    SECTION ONE - PROGRAM CONFIGURATION By definition, a program is a group of commands given to the CNC for operating a machine. By specifying commands, the tool is moved along a straight line or an arc, or the spindle motor is turned on and off. In a program, specify the commands in the sequence o...

  • Page 22

    SECTION ONE – PROGRAM CONFIGURATION Program Normally a program number is specified at the beginning of a program, and a program end code (M99, M02, M30) is specified at the end of the program. Neither is required; however, it may be advantageous to omit the program end code from programs tha...

  • Page 23

    SECTION ONE – PROGRAM CONFIGURATION Subprograms can be used to build part libraries of commonly used patterns and can reside anywhere in memory. Command format ranges The basic address and command value ranges are listed in the table below. Note these figures give the maximum numerical limit fo...

  • Page 24

    SECTION ONE – PROGRAM CONFIGURATION Command formats for axes: M and G codes Axis commands can be programmed in a calculator format. No leading or trailing zeros are necessary. Whole numbers may be programmed without the decimal point. A decimal point may be used with mm, inches, or second value...

  • Page 25

    SECTION TWO - FRONT PANEL OPERATION The Centurion 6 front panel has two 16-key keypads and 12 function keys. The keypads are used to enter the alphanumeric data requested by the CNC. The upper keypad is used primarily to enter alpha characters. To enter one of the shifted characters simply press...

  • Page 26

    SECTION TWO - FRONT PANEL OPERATION Centurion 7 Front Panel 12

  • Page 27

    SECTION TWO - FRONT PANEL OPERATION Diagram of Main Screen 1 RunTime When you are verifying a program the runtime displays the calculated time to make the parts. When you are running a program it shows the elapsed time since the program was started. The total of all program run times are kept...

  • Page 28

    SECTION TWO - FRONT PANEL OPERATION Diagram of Status Window 1 The \ changes back and forth to / and \ each time the status window is updated. 2 Comp: Tool Radius Compensation (Left, Right or Cancelled) 3 Tool: The first two digits indicate the active tool number. The second two digits in pare...

  • Page 29

    SECTION TWO - FRONT PANEL OPERATION 15 Spindle override and direction: The position of the spindle override and the resulting rpm (if there is no spindle encoder) or the actual rpm (if there is a spindle encoder). This line also displays whether the spindle is off or running CW or CCW. 16 The sp...

  • Page 30

    SECTION TWO - FRONT PANEL OPERATION F2 (JOG) Main-Jog The machine must be homed prior to jogging. F2 (Jog) is used to move the machine around in a manual mode to pick up zeros and align parts. Upon pressing F2 (Jog) the following screen appears. Note: F5 and F6 can be changed to store the positi...

  • Page 31

    SECTION TWO - FRONT PANEL OPERATION F3 (HDW) Main-HDW The machine must be homed prior to handwheeling. The handwheel mode is used to move the machine around using the electronic handwheel. Its main use is for setting tool length offsets, setting work offsets, and aligning parts. Upon pushing F3...

  • Page 32

    SECTION TWO - FRONT PANEL OPERATION Procedure for Setting Tool Length Offset Note: there is an alternative method for setting tool lengths on 45,31. A tool length offset is used to compensate for the difference between Z axis home and part surface (part zero). Setting floating zero in Z axis is ...

  • Page 33

    SECTION TWO - FRONT PANEL OPERATION Procedure for Setting a Work Offset A work offset shifts the X and Y axis zero positions to a desired place (edge of the part). Thus a part can be programmed from its part zero. To find and set a work offset, refer to the example. Using a ½" diameter...

  • Page 34

    SECTION TWO - FRONT PANEL OPERATION F4 (Run) Main-Run (The machine must be homed prior to running a program) The F4 (Run) key is used to execute the active program. Upon depressing the F4 (Run) key, the following screen appears. After the above screen appears, F1 (Start) must be pushed and the...

  • Page 35

    SECTION TWO - FRONT PANEL OPERATION pushed, the control will request that the desired block or sequence number be typed in, followed by Enter. If Cycle Start is depressed, the active program will start running from the selected block number. If F3 (Tool) is depressed, the control will request a ...

  • Page 36

    SECTION TWO - FRONT PANEL OPERATION axes can be jogged or handwheeled away from the work, the spindle may be turned on/off, and F9 (Resum) remains active. As long as the Resume is active, the F9 key on the Run screen will show a Resume function. If the Resume function is selected, the active prog...

  • Page 37

    SECTION TWO - FRONT PANEL OPERATION F6 (Displ) Main-Run-Displ The F6 (Displ) key can be accessed from a number of screens. The following screen is shown as though the F6 (Displ) was entered from the RUN screen. All the display functions and screens are identical, independent of the entry point. ...

  • Page 38

    SECTION TWO - FRONT PANEL OPERATION F2 (Error) Main-Run-Displ-Error The Following Error refers to the lag in the servo system. The F2 (Error) key changes the display to read current position, next position, and Following Error. The Following Error display is intended to help in machine setup or ...

  • Page 39

    SECTION TWO - FRONT PANEL OPERATION The graphics on this control are full 3D and will be displayed in the graphics area as long as the control remains in the Graph mode. When other displays are requested, windows will appear in the graphics area showing the requested data. When these functions ...

  • Page 40

    SECTION TWO - FRONT PANEL OPERATION Note: The display is auto-scaled when the new orientation is displayed. F2 (Pan) Main-Run-Displ-Graph-Pan The F2 (Pan) key selects the pan function, which allows the operator to pan around a part. The following display will appear. The crosshair which appea...

  • Page 41

    SECTION TWO - FRONT PANEL OPERATION F3 (Wind) Main-Run-Displ-Graph-Wind The F3 (Wind) key selects the window function which allows the operator to window in on a particular area of the part. The following display will appear when F3 (Wind) is selected. The crosshair which appears on the scree...

  • Page 42

    SECTION TWO - FRONT PANEL OPERATION F6 (Zoom+) Main-Run-Displ-Graph-Zoom+ The F6 (Zoom) key selects the zoom+ function which doubles the size of the part being displayed on the screen. Generally, this function is used to enlarge a specific area of a part enabling the operator to see greater detai...

  • Page 43

    SECTION TWO - FRONT PANEL OPERATION The following screens represent the displayed information for the various axis selections. Note: The diagnostic screens will differ for machines that have varying options. The text that shows up on the screen is from the files INP.XXX and OUT.XXX, where XXX...

  • Page 44

    SECTION TWO - FRONT PANEL OPERATION F7 (Menu) Main-Run-Menu The F7 (Menu) key selected from the Run or Verify screen brings up a window containing a listing of all the available programs, which may be run. The screen shown below will be dis-played when the program menu is requested. To activat...

  • Page 45

    SECTION TWO - FRONT PANEL OPERATION F10 (HDW) Main-Run-HDW When the F10 (HDW) key is activated, the axis moves in the program will relate to turning the electronic handwheel. The feedrates (feed/rev. or feed/min.) will effect the distance moved per click of the handwheel. The four miscellaneous ...

  • Page 46

    SECTION TWO - FRONT PANEL OPERATION During the tool setting routine, the tool table is loaded with the appropriate values. After all the tool offsets are loaded, the operator can press ESC (Halt) to exit the tool setting routine. Note: This routine can be modified for specific applications (aut...

  • Page 47

    SECTION TWO - FRONT PANEL OPERATION 20 English 21 Metric 22 Safe zone check off 23 Safe zone check on 24 Circ Pocket Clear 25 Circ Finish Inside 26 Circ Finish Outside 28 Reference Return 29 Return From Ref 30 2nd-4th Ref Return 31 Z to Clearance 32 Z to Tool Change 33 Facing Cycle 34 Rect Pocke...

  • Page 48

    SECTION TWO - FRONT PANEL OPERATION 08 Flood On 09 Coolant Off 30 Spindle Off, End of Program 90 Graph Off 91 Graph On 93 3D Sweep Off 94 3D Sweep On 95 Tapered Wall 96 Rounded Wall 97 Pocket Clear 98 Call Jump 99 End of Program Note: The text file that displays the legal M codes on the screen ...

  • Page 49

    SECTION TWO - FRONT PANEL OPERATION F1 (Setup) Main-Parms-Setup The F1 (Setup) selection brings up the parameters, which make the control unique to a particular machine or application. When F1 (Setup) is selected the following screen appears. Note: F2 (Prec) through F9 (DOS) are only displayed...

  • Page 50

    SECTION TWO - FRONT PANEL OPERATION Note: The parameters in the setup sections are normally set by the machine tool builder. Changing these parameters can affect a large number of machine functions and machine performances and should only be modified by experienced service personnel. Assuming th...

  • Page 51

    SECTION TWO - FRONT PANEL OPERATION Note: When editing or entering parameter values (or any other numeric value on the control), you can use the built in calculator. Example: Instead of entering .3750 you may enter 3/8 Instead of entering 1.3750, you may enter 1 + 3/8 If you want to mo...

  • Page 52

    SECTION TWO - FRONT PANEL OPERATION recognize commands over either the RS-232 or CLK/DATA interface. Whenever a valid command with no error is received over the RS-232 interface, it will start transmitting over the RS-232 interface and not the CLK/DATA interface. In like fashion, it is possible ...

  • Page 53

    SECTION TWO - FRONT PANEL OPERATION Alternatively, the CNC program will use the serial keyboard interface if the serial keyboard parameter is set to Yes and the letter "s" appears as an option on the command line. The serial keyboard is enabled in the following examples if the serial...

  • Page 54

    SECTION TWO - FRONT PANEL OPERATION 100% Rapid in Dry-Run: No means the feedrate override will affect rapid moves in the dry run mode. Yes means the feedrate override will not affect rapid in the dry run mode. Rapid moves are 100%. Spindle on in Dry-Run: No means the spindle will not come on in...

  • Page 55

    SECTION TWO - FRONT PANEL OPERATION Put Pot down on Yes means the pot will be down for the pending tool. swing arm tool changers: No means it will be up. Check drawbar switch: Yes for newer machines with drawbar switches. Milltronics ATC is: Plunger, Geneva Two-Step, Geneva One-Step or Swing ...

  • Page 56

    SECTION TWO - FRONT PANEL OPERATION Parameter file version: Should always be 1 Use Small Soft keys: Should be set to no for 12" CRT monitors Notes on Parameters Note 1: To change a parameter, press F1 (Edit) and type in the new number. Note 2: After changing any power parameter, return t...

  • Page 57

    SECTION TWO - FRONT PANEL OPERATION may then recommence. Some parameters can be related to the machine position. To edit or load these parameters, use F4 (Mach) to load the X, Y, and Z positions into the parameters. Use the F5 (M-XY) for the X and Y axis or the F6 (M-Z) key for the Z axis. The f...

  • Page 58

    SECTION TWO - FRONT PANEL OPERATION Home Sequence These numbers determine X 02.0000 the order the axes will home in: Y 02.0000 #1 first, #2 next, etc. Axes with Z 01.0000 the same number home together. 0 will cause that axis to not home. Positive Limit Dimension from machine ...

  • Page 59

    SECTION TWO - FRONT PANEL OPERATION Rapid Acc/Dec The Rapid Acc/Dec is a number that determines the X 20.0000 rate at which the axis velocity is increased or Y 20.0000 decreased for rapid moves. The smaller the number Z 20.0000 the longer the Acc/Dec times will be. Acceleration and dece...

  • Page 60

    SECTION TWO - FRONT PANEL OPERATION G60 Unidirectional Same as G00 unidirectional except only active in a X 00.0000 G60 block Y 00.0000 Z 00.0000 Backlash Sets the distance in inches or mm. The control will X 00.0000 compensate for lost motion whenever an axis Y 00.0000 reve...

  • Page 61

    SECTION TWO - FRONT PANEL OPERATION Home Switch=0 Marker=1 Sets whether an axis will seek a home limit switch X 00.0000 and then the marker pulse, or just seek the Y 00.0000 nearest marker pulse. Z 00.0000 Max Handwheel Error When the excess error reaches this value, pulses X 01...

  • Page 62

    SECTION TWO - FRONT PANEL OPERATION F5 (Misc) Main-Parms-Setup-Misc The F5 (Misc) key brings up various miscellaneous setup parameters dealing with the spindle and M codes. When F5 (Misc) is selected, the following screen appears. Miscellaneous parameters are edited similarly to the Power para...

  • Page 63

    SECTION TWO - FRONT PANEL OPERATION Spindle Encoder PPU1 Pulses per rev of spindle, used for hard tapping option and displaying the RPM in gear 1 Spindle encoder PPU2 Pulses per rev of spindle, used for hard tapping option and displaying the RPM in gear 2 Handwheel Encoder PPU Pulses per rev ...

  • Page 64

    SECTION TWO - FRONT PANEL OPERATION Hard Tap Fudge Factor Used to adjust the depth of rigid tapping cycle. Higher numbers will decrease the amount of overshoot at the bottom of the hole. Feed Back on Mitutoyo Scale Yes will enable the Z axis feedback from the Mitutoyo scale options. Feed Back o...

  • Page 65

    SECTION TWO - FRONT PANEL OPERATION Door Open Override Axis See notes on European code (page 69,55) at the end of this Door Open Override Input section. Check Tool Door Open If Yes, Z input 10 is checked before tool changer arm is commanded. If the input is not seen in 15 seconds, a timeout e...

  • Page 66

    SECTION TWO - FRONT PANEL OPERATION rapids. This parameter should be approximately 100 for our current systems. Sharp Corners Yes will cause all corners to be rounded to a maximum specified by the max corner deviation parameter. No will round the corners proportionally to the feed rate. Full fee...

  • Page 67

    SECTION TWO - FRONT PANEL OPERATION Software Options Security Code # 0 Secret code to enable S-curves Use S-curves Yes to enable S-curves for acceleration and deceleration. (Cent 7 and up) Look Ahead Specifies the number of axis moves the control can see ahead, (Cent 6 and up) which enables...

  • Page 68

    SECTION TWO - FRONT PANEL OPERATION Use FLZ instead of G54 Used for setting work offset in jog and handwheel mode. Yes means use FLZ (G92 offsets). No means use G54 offsets. Tool Setting If set to any tool the jog and handwheel tool setting routines will prompt the operator for the tool # being...

  • Page 69

    SECTION TWO - FRONT PANEL OPERATION Post M codes Table Post M code #0 Post M code #1 Post M code #2 Post M code #3 Post M code #4 M codes listed here will be executed Post M code #5 after all other operations within Post M code #6 the block. Post M code #7 Post M code #8 Post M...

  • Page 70

    SECTION TWO - FRONT PANEL OPERATION Max Feed with Door Open The maximum speed the machine can move with the door open with the Door-Override Button pressed Soft Start Delay (secs) Time delay before allowing axis movement after the machine is reset. The software that relates to European codes c...

  • Page 71

    SECTION TWO - FRONT PANEL OPERATION If the door is open and Setup is held in, the machine will handwheel up to the 70% rate on the feedrate override switch, which is 2mm per click of the handwheel. (It is difficult to generate speeds greater than 1000 mmpm in this mode). Modifying the distance p...

  • Page 72

    SECTION TWO - FRONT PANEL OPERATION Keys displayed in the Edit Mode: F5 (HwOvr) Main-Parms-Setup-OVRs- HwOvr The F5 (HwOvr) key brings up the handwheel switch settings for the feedrate override switch. These settings determine how far an axis will move for one increment of the handwheel (001=1...

  • Page 73

    SECTION TWO - FRONT PANEL OPERATION F6 (SpOvr) Main-Parms-Setup-OVRs-SpOvr The F6 (SpOvr) key brings up the 16 spindle override switch settings. These settings are the percentages a spindle command will be overridden at each switch position. The spindle override parameters are changed in the sam...

  • Page 74

    SECTION TWO - FRONT PANEL OPERATION F7 (BSC) Main-Parms-Setup-BSC Ballscrew Compensation Table Creation Help Type X, Y, Z (A,B,C) to select the axis. F1 (New) creates a new, zero ballscrew table. F2 (On) turns ballscrew comp on for given axis. F3 (Off) turns ballscrew comp off for g...

  • Page 75

    SECTION TWO - FRONT PANEL OPERATION F2 (Coord) Main-Parms-Coord The F2 (Coord) key of the parameter screen brings up the parameters dealing with the various coordinate systems in the control. To edit the work coordinate parameters, use the PgUp, PgDn, and arrow keys to position the cursor to the...

  • Page 76

    SECTION TWO - FRONT PANEL OPERATION Keys displayed in the Edit Mode: Operation of the work coordinate systems G92 and G52 are discussed in Section 4 page 308,294 (G92) and page 271,257 (G52). These parameters are positions relative to the machine zero and will become the new zero point when t...

  • Page 77

    SECTION TWO - FRONT PANEL OPERATION F4 (D Off) Main-Parms-D Off The F4 (D Off) key displays the 99 D radius or diameter offsets available on the CNC. These offsets are accessed and edited in the same manner as all other parameters. Following is the D offset screen. The cursor will default to ...

  • Page 78

    SECTION TWO - FRONT PANEL OPERATION F5 (H Off) Main-Parms-H Off The F5 (H Off) key displays the 99 H tool length offsets available on the control. These offsets are accessed and edited in the same manner as all other parameters. The H offset screen follows. The cursor will default to the activ...

  • Page 79

    SECTION TWO - FRONT PANEL OPERATION F8 (Prog) Main-Parms-Prog This set of parameters gives the machine programmer access to all the internal parameters the CNC is using to execute a program. Normally these parameters would be used for display purposes only as an aid to program debugging. Howe...

  • Page 80

    SECTION TWO - FRONT PANEL OPERATION P232 thru P239 Contains the work coordinate offset relative to the machine zero of the enabled axis P232=X P233=Y P234=Z . . . etc P240 thru P247 Contains the active tool length (H) parameter for the enabled axis P240=X P241=Y P242=Z . . . etc P248 Contai...

  • Page 81

    SECTION TWO - FRONT PANEL OPERATION P304 Status if control is in data mode or normal programming (o=off, 1=on) P305 H offset direction or sign P306 Status of 0=G0, 1=G1, 2=G2, 3=G3 mode P307 Not used P308 Number of active plane 0=G17 (X4), 1=G18 (ZX), 2=G19 (YZ), 3=G18 (XZ) P309 ...

  • Page 82

    SECTION TWO - FRONT PANEL OPERATION P320 thru P322 Gives the primary, secondary, and tertiary axis based on plane selection X=1 Y=2 Z=3 . . . etc For G17 XY pri=1 sec=2 ter=3 For G18 ZX pri=3 sec=1 ter=2 For G19 YZ pri=2 sec=3 ter=1 For G18 XZ pri=1 sec=3 ter=2 P323 0 = Re...

  • Page 83

    SECTION TWO - FRONT PANEL OPERATION Auto Rotary Brake Yes will control the rotary brake on A and B axis automatically. This parameter shuts off before rotary moves, and it turns the brake back on when the move is complete. Rotary Brake Delay (Secs) This is the delay in seconds after an M11 (A ...

  • Page 84

    SECTION TWO - FRONT PANEL OPERATION and perform an alternate operation, change to a different tool, etc. The operator can also view the state (or change the state) of the flag in the CTRL parameters. The parameter "Tool Load Flag" has two states: Limit Exceeded or Limit not Exceeded. M...

  • Page 85

    SECTION TWO - FRONT PANEL OPERATION Only tools 1 through 25 are monitored and will have these parameters available. The spindle load bar will also have a number associated with it. Serial Port Data Note: Com port, baud rate, parity, data bits and stop bits are communications parameters. See pa...

  • Page 86

    SECTION TWO - FRONT PANEL OPERATION Digitizing Parameters P100 Digitizing Proportional gain P101 Digitizing Integral gain P102 Digitizing Differential gain P103 Digitizing Subscan increment P104 Digitizing Detail angle P105 Digitizing Probe backlash P106 Digitizing Probe radi...

  • Page 87

    SECTION TWO - FRONT PANEL OPERATION P150 Circular auto-routines radius, rectangular auto-routine, corner radius P151 X rectangular pocket dimension P152 Y rectangular pocket dimension P153 XY finish stock for autoroutines P154 Z finish stock for autoroutines P155 Cut wi...

  • Page 88

    SECTION TWO - FRONT PANEL OPERATION F10 (User) Main-Parms-User This set of 100 parameters is reserved for the parts programmer to use when writing parametric programs. These parameters are undefined and can be edited, displayed, or loaded from this screen. The editing and displaying formats are i...

  • Page 89

    SECTION TWO - FRONT PANEL OPERATION F8 (Prog) Main-Prog There are two modes of program file creation/editing available on the Centurion 6 control: text and conversational. Pressing the F8 (Prog) key will enable the soft keypad to allow selection of the type of programming desired. It also allo...

  • Page 90

    SECTION TWO - FRONT PANEL OPERATION F1 (Text) Main-Prog-Text Upon entering the text programming mode, the upper right-hand box containing the active program number will display the last text program edited. F1 (Edit) Main-Prog-Text-Edit The F1 (Edit) key will select the program shown in the upp...

  • Page 91

    SECTION TWO - FRONT PANEL OPERATION another string using the F7 (Chang) command. And, in most cases, you can even undo your last few changes with the F2 (Rest) restore line or F1 (UnDo) commands. These commands, and many more, are described briefly in the following sections. The first screen yo...

  • Page 92

    SECTION TWO - FRONT PANEL OPERATION F2 (End) Marks the end of a block. Like the begin-block marker, the end-block marker is invisible, and the block itself will not be displayed unless both markers are set. F3 (Word) Marks a single word as a block, combining the functions of the begin-block and ...

  • Page 93

    SECTION TWO - FRONT PANEL OPERATION F3 (Words) Main-Prog-Text-Edit-Words The F3 (Words) soft key represents reserved words that may be used for programming the control. Pressing a key will cause that word to be printed on the screen. See Section 6 on parametric programming. Note: F6 (RETRN)...

  • Page 94

    SECTION TWO - FRONT PANEL OPERATION F8 (Find) Lets you search for a string of up to 67 characters. When you enter this command you will be asked for a search string. The last search string entered, if any, will be displayed. You can select the string again by pressing Enter, or you may edit it o...

  • Page 95

    SECTION TWO - FRONT PANEL OPERATION With the "N" option, no prompt is displayed before it changes the string or strings. F9 (FNext) Repeats the last search operation. If the last search command called for a Find Operation, the same search string and options will be repeated; for a Fin...

  • Page 96

    SECTION TWO - FRONT PANEL OPERATION Notes: When the program is being verified, it will ignore M6s, M0s, M1s, INPUT statements, etc. The program is copied to a file in the parts directory called “TEXTVER”. No checks are done for out-of-parts space when the file is copied. The “TEXTVER” f...

  • Page 97

    SECTION TWO - FRONT PANEL OPERATION F7 (Menu) Main-Prog-Text-Menu The F7 (Menu) key will display a list of all text programs currently in the parts directory. By using the F7 - F10 keys, file selection arrows are positioned at the program to edit, and the F5 (Enter) key is pressed to make a sele...

  • Page 98

    SECTION TWO - FRONT PANEL OPERATION F2 (Conv) Main-Prog-Conv The following discussion will deal with selecting conversational programs. Upon entering the conversational programming mode, the active window in the upper right-hand corner will change to show the last conversational program edited. ...

  • Page 99

    SECTION TWO - FRONT PANEL OPERATION While programming or editing in the conversational system, three types of soft key configurations will be encountered. They are: - Soft key configuration 1: Edit Keys These function keys are available whenever the edit menu system has not been entered. It ...

  • Page 100

    SECTION TWO - FRONT PANEL OPERATION F2 (View): Allows viewing of the entire program and lets the operator position to any of the events in the program. A window similar to the following will be displayed. F7 ( ↑ ), F8 ( ↓ ), F9 (PgUp), and F10 (PgDn) can be used to move to the desired even...

  • Page 101

    SECTION TWO - FRONT PANEL OPERATION F9 (Prev) Displays the previous event in the program file. F10 (Next) Displays the next event in the program file. Help (Verf) When editing a conversational file, you can verify the program you are editing. The Help key will show Verf when it is active. T...

  • Page 102

    SECTION TWO - FRONT PANEL OPERATION - Soft key configuration 2: Store/Input Keys These soft keys will be available whenever input is expected. At this time, a screen containing any number of fields will be displayed and the cursor will be positioned in one of the fields. There are two types of ...

  • Page 103

    SECTION TWO - FRONT PANEL OPERATION F2 (New) Main-Prog-Conv-New Pressing the F2 (New) key will allow entry of the number for a new conversational program. After the number has been entered, the control will check the conversational programs currently in the parts directory to see if a program by...

  • Page 104

    SECTION TWO - FRONT PANEL OPERATION Pressing a function key will either bring up an input screen [e.g. F1 (Pos)] much like the following. or another menu [e.g. F2 (Mill)] like this: Notice that on all levels except level 1 there is an ESC (Back) key. This key will return you to the previous ...

  • Page 105

    SECTION TWO - FRONT PANEL OPERATION F7 (Menu) Main-Prog-Conv-Menu The F7 (Menu) key will display a list of all conversational programs currently loaded in the parts directory. By using F7 - F10 keys, file selection arrows are positioned at the program to edit, and the F5 (Enter) key is pressed...

  • Page 106

    SECTION TWO - FRONT PANEL OPERATION Verify is used to verify the active program. Upon pressing the F9 (Verf) key, the following screen appears. After the above screen appears, push F1 (Start) and the following screen will appear. The F1 (First) key is automatically selected when entering this...

  • Page 107

    SECTION TWO - FRONT PANEL OPERATION Cycle Start button is pressed. The active program will start verifying at the desired tool number and the following screen will appear. The F4 (Path) key will show the tool path on the graphics screen, which is the default. The F5 (Part) key will show the part...

  • Page 108

    SECTION TWO - FRONT PANEL OPERATION F6 (Displ) Main-Verf-Displ The F6 (Display) key can be accessed from a number of screens. The following screen is shown as if the F6 (Displ) was entered from the F9 (Verf) screen. All the display functions and screens are identical, independent of the entry poi...

  • Page 109

    SECTION TWO - FRONT PANEL OPERATION F3 (Graph) Main-Verf-Displ-Graph If the F3 (Graph) key is activated, the control switches from displaying text to a graphic display of the active part program. The following screen will appear. The graphics on this control are full 3D and will be displayed ...

  • Page 110

    SECTION TWO - FRONT PANEL OPERATION F8 (Dry) Main-Verf-Dry F8 (Dry) run in the verify mode will run the program as fast as possible. For feedrate override positions 100% and greater – verify speeds are progressively slower for overrides 0-90%. F9 (Halt) Main-Verf-Halt F9 (Resum) Main-Verf-Resum...

  • Page 111

    SECTION TWO - FRONT PANEL OPERATION F1 (Probe) Main-Util-Probe Note: For machines with the Digitizing option. If Digitizing is an option and F1 (Probe) is pressed, the following screen will be displayed. Note: F1 (Probe) is used for XZ or YZ digitizing only. F1 (Begin) If the input file an...

  • Page 112

    SECTION TWO - FRONT PANEL OPERATION F2 (XyDig) Main-Util-XyDig Note: For machines with the Digitizing option. If Digitizing is installed and F2 (XyDig) is pressed, the following will be displayed. F1 (Begin) If the input file and output mode have been selected, digitizing will begin. If not, ...

  • Page 113

    SECTION TWO - FRONT PANEL OPERATION F1 (Load) Main-Util-Files-Load The F1 (Load) function is used to load programs from the floppy disk into the control's program memory. When this function is selected the following screen is displayed. The edit window will display a list of the programs on t...

  • Page 114

    SECTION TWO - FRONT PANEL OPERATION The help key will be used to either select a new drive or to verify a program (based on the control parameter) Help (Drive) Displays a list of available drives for a new menu. Note: If the parameter to extract files is set, a single file on the floppy separ...

  • Page 115

    SECTION TWO - FRONT PANEL OPERATION F5 (Send) Main-Util-RS232-Send When F5 (Send) is depressed, the following keys appear. After selecting F1 (Text) or F2 (Conv), select which programs you want to send to the off-line computer from the menu. These actions will display the following menu. F1...

  • Page 116

    SECTION TWO - FRONT PANEL OPERATION Note: If the program number being received already exists, the operator will be prompted. If the parameter to extract files is set, several files can be sent from an off-line computer; the control will extract them to the correct #### file if they are separat...

  • Page 117

    SECTION TWO - FRONT PANEL OPERATION F1 (Edit) allows you to modify the tool number in each pocket. F3 (Dflt) loads the default tool numbers (tool 1 in pocket 1, tool 2 in pocket 2, etc). F7 also zeroes the tool number in the spindle. F6 (DNC) Main-Util-DNC The F6 (DNC) mode is used for runnin...

  • Page 118

    SECTION TWO - FRONT PANEL OPERATION F3 (Fast) Main-Util-DNC-Fast After pressing F3 (Fast), the following screen will appear. F1 (RS232) Depressing F1 (RS232) will wait for data from the Com port, then request a cycle start to begin the program. F2 (File) F2 (File) selects a program from a menu...

  • Page 119

    SECTION TWO - FRONT PANEL OPERATION F1 (First) F1 (First) starts from the beginning. F2 (Block) F2 (Block) starts from a sequence number. F3 (Tool) F3 (Tool) starts from a tool number. F4 (Cont) F4 (Cont) allows starting from a location where DNC was aborted earlier. When a file is aborted the ...

  • Page 120

    SECTION TWO - FRONT PANEL OPERATION This mode should be used for large programs where a fast block rate is required, for example when making short moves at fast feedrates. No trig help, cutter comp, rotating, scaling, or other non-standard commands, can be done in this mode. Valid data for the f...

  • Page 121

    SECTION TWO - FRONT PANEL OPERATION F7 (Chart) Main-Util-Chart The F7 (Chart) key will display help charts created by the end user specific to their applications. If there is a file called charts.dat in the RAM directory, it will be displayed. The format of this file allows an indexing system t...

  • Page 122

    SECTION TWO - FRONT PANEL OPERATION Memory Avail displays the system memory available in bytes. Parts Storage displays the amount of parts storage in bytes. Front Panel displays the front panel version code. Controller Card displays the controller card version (v0206 is 2.06) and an error coun...

  • Page 123

    SECTION TWO - FRONT PANEL OPERATION This screen gives internal information about the system. Lines 1 through 5 show memory allocations to DOS, CNC overlays, and the heaps. Line 6 shows the MS-DOS version and whether the CPU is an 80286, 80386, 80486, or 80586. Lines 11 & 12 show the compiler...

  • Page 124

    SECTION TWO - FRONT PANEL OPERATION F4 (Path) Main-Util-Info-Path F4 (Path) displays the following screen, which shows the path file. In the standard order, these are the directories for ROM, RAM, Parts, Display, and Floppy. Below the Parts directory is shown the available parts space in bytes. F...

  • Page 125

    SECTION TWO - FRONT PANEL OPERATION F5 (Time) Main-Util-Info-Time F5 (Time) displays the times and distances calculated when verifying a program. Timing information is for 100% on the feedrate override for tool changes, spindle up to speed, block stops, etc. Times are in hrs, min., sec. Distance...

  • Page 126

    SECTION TWO - FRONT PANEL OPERATION F7 (Diag) Main-Util-Info-Diag F7 (Diag) displays the following screen, which shows the diagnostics of the machine just prior to the machine e-stopping. F7 is used mainly for diagnostic purposes to determine the source of the e-stop. The user is capable of viewi...

  • Page 127

    SECTION THREE - CONVERSATIONAL INPUT SCREENS 113

  • Page 128

    SECTION THREE - CONVERSATIONAL INPUT SCREENS Each conversational program has a text program associated with it. The conversation program file starts with letter P followed by four digits such as P1234. The text file starts with the letter O followed by four digits such as O1234. The text program ...

  • Page 129

    SECTION THREE - CONVERSATIONAL INPUT SCREENS F1 (Pos) Main-Prog-Conv-Pos The position screen will normally be used to do rapid positioning; however, feed moves may be made by toggling the feedrate field and entering a feedrate. The conversational screen for Cartesian rapid positioning appears as...

  • Page 130

    SECTION THREE - CONVERSATIONAL INPUT SCREENS F1 (Start) Mill-Start The F1 (Start) screen is used to begin a continuous single or multi-depth milling cycle. Milling will start at the first Z depth specified and continue stepping down by the Z increment until the final Z depth has been reached. Th...

  • Page 131

    SECTION THREE - CONVERSATIONAL INPUT SCREENS F2 (Geom) Mill-Geom The F2 (Geom) selection brings up the following soft keys. F1 (Line) Mill-Geom-Line The F1 (Line) key displays the following conversational screen for Cartesian linear interpolation, which is used to execute linear interpolation ...

  • Page 132

    SECTION THREE - CONVERSATIONAL INPUT SCREENS In conversational programming, for any feedrate or spindle speed input fields, the F12 key will be active. Pressing the F12 key will offer the operator help in calculating the appropriate spindle speed and feedrate for the appropriate inputs. The only ...

  • Page 133

    SECTION THREE - CONVERSATIONAL INPUT SCREENS The conversational screens for polar linear interpolation appear as below. Note: See page 210,196, Section 4 for further information on polar definition of a line. When Extend Back [ON] is selected, the following screen appears. Note: See page ...

  • Page 134

    SECTION THREE - CONVERSATIONAL INPUT SCREENS The conversational screen for line with chamfer appears as follows. See 225,page 211, Section 4 for further information on angle chamfering. F2 (Arc) Mill-Geom-Arc The F2 (Arc) screen is used to execute circular interpolation in feed mode. Arc Sam...

  • Page 135

    SECTION THREE - CONVERSATIONAL INPUT SCREENS Arc Sample 2 The ZX plane, absolute center, CCW circular interpolation conversational screen appears as follows. Note: See 211,page 197, Section 4 for further information on circular interpolation. Arc Sample 3 The XY plane, polar, CCW helical int...

  • Page 136

    SECTION THREE - CONVERSATIONAL INPUT SCREENS Arc Sample 4 The XY plane, radius only, CCW circular interpolation conversational screen appears as follows. Note: See page 213,199, Section 4 for further information on describing an arc using a radius. 122

  • Page 137

    SECTION THREE - CONVERSATIONAL INPUT SCREENS F3 (Tangs) Mill-Geom-Tangs The F3 (Tangs) screen is used to compute the intersection points necessary for a tangent arc or tangent line between two arcs. When this function is used the first arc and the tangent line or arc will be entered into the prog...

  • Page 138

    SECTION THREE - CONVERSATIONAL INPUT SCREENS Tangent Line The conversational screen for tangent line appears as below. Note: See 344,page 330, Section 6 for further information on tangent line. Tangent Arc The conversational screen for tangent arc appears as follows. Note: See page 344,330...

  • Page 139

    SECTION THREE - CONVERSATIONAL INPUT SCREENS F4 (CGen) Mill-Geom-CGen To use F4 (CGen), which is the circle generator function, fill in any three points on an arc. These three points will be used to compute the center and radius of the specified arc. The conversational screen for circle generato...

  • Page 140

    SECTION THREE - CONVERSATIONAL INPUT SCREENS F8 (E-Isl) Mill-Geom-E-Isl The end island screen is used to end the geometry in an island. Following is a sample program using a mill cycle with pocket clear and islands. Conversational Program C:\CNC\PARTS\P7878 Event 0 of 16 Program Setup ...

  • Page 141

    SECTION THREE - CONVERSATIONAL INPUT SCREENS Event 1 of 16 Tool Pierce - Start Mill Cycle Z Pierce Feedrate [25 ] Return Point [Clearance] Clearance [.1 ] Final Z Depth [-1 ] 1st Z Depth [-.3 ] Z Increment [.3 ...

  • Page 142

    SECTION THREE - CONVERSATIONAL INPUT SCREENS Event 4 of 16 Mill Geometry - Arc Plane [XY] Feedrate F[ ] Direction [CCW] Center [Abs Center] Arc Radius R[1.5 ] Arc Center XC[1.5 ] YC[3 ] End Point...

  • Page 143

    SECTION THREE - CONVERSATIONAL INPUT SCREENS Event 7 of 16 Start Island Island Number #[1 ] X Pierce Point X[1 ] Y Pierce Point Y[1 ] Compensation [Left] [Polar] Angle AB[0 ] --------------------------------------------------- ...

  • Page 144

    SECTION THREE - CONVERSATIONAL INPUT SCREENS Event 10 of 16 Mill Geometry - Line Feedrate F[ ] Coordinates [Cartesian] X-axis X[1 ] Y-axis Y[1 ] Z-axis Z[ ] End [---] Extend Back [Off ] -----------------------------------...

  • Page 145

    SECTION THREE - CONVERSATIONAL INPUT SCREENS Event 13 of 16 Mill Geometry - Arc Plane [XY] Feedrate F[50 ] Direction [CW] Center [Abs Center] Arc Radius R[.5 ] Arc Center XC[1.25 ] YC[2.75 ] End Point...

  • Page 146

    SECTION THREE - CONVERSATIONAL INPUT SCREENS Event 16 of 16 End of Program Spindle off [Yes] Coolant off [Yes] Z to Toolchange [Yes] X Position (home relative)[ ] Y Position (home relative)[ ] -------------------------------------------------...

  • Page 147

    SECTION THREE - CONVERSATIONAL INPUT SCREENS and NO = ERROR # 602 Tool Retrac Missing WEND Statement Cycle Start Mill Cycle t End Mill This may be caused by a start mill cycle without an end mill cycle. and NO = ERROR # 601 Missing WHILE Statement Tool Ret...

  • Page 148

    SECTION THREE - CONVERSATIONAL INPUT SCREENS Event 1 of 7 Tool Pierce - Start Mill Cycle Z Pierce Feedrate [20 ] Return Point [Clearance] Clearance [.1 ] Final Z Depth [-1 ] 1st Z Depth [-.2 ] Z Increment [.3 ] X Pierce Point X[0 ] ...

  • Page 149

    SECTION THREE - CONVERSATIONAL INPUT SCREENS Event 4 of 7 Mill Geometry - Line Feedrate F[ ] Coordinates [Cartesian] X-axis X[0 ] Y-axis Y[ ] Z-axis Z[ ] End [---] Extend Back [Off ] --------------------------------------------------- Event 5 of 7 Mill Geometry...

  • Page 150

    SECTION THREE - CONVERSATIONAL INPUT SCREENS Event 7 of 7 End of Program Spindle off [Yes] Coolant off [Yes] Z to Toolchange [Yes] X Position (home relative)[ ] Y Position (home relative)[ ] --------------------------------------------------- The following graphic is the ...

  • Page 151

    SECTION THREE - CONVERSATIONAL INPUT SCREENS The conversational screen for pocket clear option using tool pierce start mill cycle appears as follows. The following graphic is the top view of the sample mill program using the pocket clear 1 option on the tool pierce start mill cycle. Note: See...

  • Page 152

    SECTION THREE - CONVERSATIONAL INPUT SCREENS The conversational screen for pocket clear option using tool pierce start mill cycle appears as follows. The following graphic is the top view of the sample mill program using the pocket clear 2 option on the tool pierce start mill cycle. Note: See...

  • Page 153

    SECTION THREE - CONVERSATIONAL INPUT SCREENS The conversational screen for tool pierce start mill cycle with tapered walls option appears as follows. The following graphic illustrates the sample mill program using the tapered walls option on the tool pierce start mill cycle. 0° is a vertica...

  • Page 154

    SECTION THREE - CONVERSATIONAL INPUT SCREENS The conversational screen for tool pierce start mill cycle with rounded walls option appears as follows. Sample Program Using Rounded Walls on End Mill Cycle Event 0 of 4 Program Setup Program name [ ] Dimensions [Absolute] Un...

  • Page 155

    SECTION THREE - CONVERSATIONAL INPUT SCREENS Event 1 of 4 Tool Pierce - Start Mill Cycle Z Pierce Feedrate [20 ] Return Point [Clearance] Clearance [.1 ] Final Z Depth [-2 ] 1st Z Depth [0 ] Z Increment [.1 ] X Pierce Point X[0 ] ...

  • Page 156

    SECTION THREE - CONVERSATIONAL INPUT SCREENS Event 4 of 4 End of Program Spindle off [Yes] Coolant off [Yes] Z to Toolchange [Yes] X Position (home relative)[ ] Y Position (home relative)[ ] --------------------------------------------------- The following graphic illustr...

  • Page 157

    SECTION THREE - CONVERSATIONAL INPUT SCREENS Mill START and END are not to be used with pocket routines. Note: All milling auto routines must be activated with the tool at the center of the routine. The conversational screen for pocket mill setup appears as follows. Note: See pages 232,218, ...

  • Page 158

    SECTION THREE - CONVERSATIONAL INPUT SCREENS F2 (Fin) Mill-Pockt-Circ-Fin The conversational screen for inside CW circular pocket finish appears as follows. Note: See 233,page 219, Section 4 for more information on circular finish inside. F3 (Rect) Mill-Pockt-Rect The F3 (Rect) rectangular poc...

  • Page 159

    SECTION THREE - CONVERSATIONAL INPUT SCREENS F2 (Fin) Mill-Pockt-Rect-Fin The conversational screen for inside CW rectangular pocket finish appears as follows. Note: See page 240,226, Section 4 for further information on rectangular finish inside. F3 (Face) Mill-Pockt-Rect-Face The conversatio...

  • Page 160

    SECTION THREE - CONVERSATIONAL INPUT SCREENS To add manual points in conversational select F2 (Mill) - F5( Pockt) - F4 (Manul). The manual mode pocket clear screen looks like the following: The fields on the screen are similar to a start mill cycle. The tool number is used to graphically show ...

  • Page 161

    SECTION THREE - CONVERSATIONAL INPUT SCREENS F5 (Polyg) Mill-Pockt-Polyg The conversational screen for the polygon cycle appears below. Note: see 245,page 231 , Section 4 for further information on the polygon cycle. F6 (Frame) Mill-Frame The F6 (Frame) frame mill selection brings up the follo...

  • Page 162

    SECTION THREE - CONVERSATIONAL INPUT SCREENS F2 (Circ) Mill-Frame-Circ The conversational screen for outside CCW circular frame mill appears as follows. Note: See page 235,221, Section 4 for further information on circular finish outside. F3 (Rect) Mill-Frame-Rect The conversational screen for...

  • Page 163

    SECTION THREE - CONVERSATIONAL INPUT SCREENS F7 (3dPkt) Mill-3dPkt The F7 (3dPkt) selection brings up the following soft keys. F1 (Start) Mill-3dPkt-Start The F1 (Start) key brings up the conversational screen for start 3D sweep cycle, which appears below. Notes on 3D Sweep Cycle Note 1: If...

  • Page 164

    SECTION THREE - CONVERSATIONAL INPUT SCREENS F4 (End) Mill-3dPkt-End The F4 (End) key must be selected to terminate the 3D pocket cycle or an error will occur. The conversational screen for disable 3D sweep cycle appears as follows. Sample Program Using 3D Sweep Cycle Event 0 of 6 Program S...

  • Page 165

    SECTION THREE - CONVERSATIONAL INPUT SCREENS Event 1 of 6 Start 3D sweep cycle Clearance [.1 ] Z Pierce Feedrate [15 ] Arc Feedrate [20 ] Start point X [2 ] Y [1 ] Z [0 ] Sweep start radius R [1 ] Sweep start angle AA [-.0001 ] Sweep end angle AB [180 ] Pass width ...

  • Page 166

    SECTION THREE - CONVERSATIONAL INPUT SCREENS Event 4 of 6 3D Geometry - Arc Plane [XY] Feedrate F [ ] Direction [CW] Center [Abs Center] Arc Radius R [1 ] Arc Center XC [3 ] YC [5 ] End Point [Absolute] X [2 ] Y [5 ] Z [ ] ---------...

  • Page 167

    SECTION THREE - CONVERSATIONAL INPUT SCREENS F5 (3dArc) Mill-3dPkt-3dArc The F5 (3dArc) brings up the conversational screen for the 3d Arc subroutine call, which appears below. A sample program using the 3darc is shown below: Conversational Program C:\CNC\PARTS\P0825 Event 0 of 2 Progra...

  • Page 168

    SECTION THREE - CONVERSATIONAL INPUT SCREENS Event 1 of 2 3d Arc Subroutine Call Rotate the path in the given subroutine including arcs out of the given plane. Does not support cutter comp or trighelp All Arcs must have absolute centers. Plane [Xy to Z] ...

  • Page 169

    SECTION THREE - CONVERSATIONAL INPUT SCREENS Event 1 of 5 Mill Geometry - Line Feedrate F[ ] Coordinates [Cartesian] X-axis X[2 ] Y-axis Y[1 ] Z-axis Z[ ] End [---] Extend Back [Off ] ------------------------------------...

  • Page 170

    SECTION THREE - CONVERSATIONAL INPUT SCREENS Event 4 of 5 Mill Geometry - Arc Plane [XY] Feedrate F[ ] Direction [CW] Center [Abs Center] Arc Radius R[1 ] Arc Center XC[3 ] YC[5 ] End Point ...

  • Page 171

    SECTION THREE - CONVERSATIONAL INPUT SCREENS F9 (Thred) Mill-Thred The F9 (Thred) key brings up the thread milling input screen. Two examples are shown below. Note: See page 248,234, Section 4 for the correct combination of cutter comp, cut direction. F3 (Drill) Drill The F3 (Drill) select...

  • Page 172

    SECTION THREE - CONVERSATIONAL INPUT SCREENS Conversational Screens F3 (Drill) start drill cycle screen has a toggle field to select which type of drilling is to be executed. The start drill cycle is normally followed by the positions for the holes and ended with an end drill cycle event. The op...

  • Page 173

    SECTION THREE - CONVERSATIONAL INPUT SCREENS Drill/Peck The conversational screen for peck drilling cycle appears as follows. Note: See 296,page 282, Section 4 for more information on peck drilling cycle. Chip Breaker Drill The conversational screen for chip breaker drill cycle appears as fol...

  • Page 174

    SECTION THREE - CONVERSATIONAL INPUT SCREENS Bore/Dwell The conversational screen for bore/dwell appears as follows. Note: See page 303,289, Section 4 for more information on the bore/dwell cycle. Bore 2 The conversational screens for bore 2 appears as follows. Fast bore Note: See page 299...

  • Page 175

    SECTION THREE - CONVERSATIONAL INPUT SCREENS Back bore Note: See page 300,286, Section 4 for more information on the back bore cycle. Manual bore Note: See page 294,280, Section 4 for more information on the manual bore cycle. Counter bore Note: See page 298,284, Section 4 for more inform...

  • Page 176

    SECTION THREE - CONVERSATIONAL INPUT SCREENS Tap (Drill-Start-Tap) The conversational screens for tap drill cycle appear as follows. Soft right tap Note: See page 297,283, Section 4 for more information on the soft right tap cycle. Soft left tap Note: See page 290,276, Section 4 for more i...

  • Page 177

    SECTION THREE - CONVERSATIONAL INPUT SCREENS Hard left tap Note: See page 302,288, Section 4 for more information on the hard tap cycle. Hard peck right tap Note: See page 302,288, Section 4 for more information on the hard tap cycle. Hard peck leftt tap Note: See page 302,288, Section 4 ...

  • Page 178

    SECTION THREE - CONVERSATIONAL INPUT SCREENS The screen pictured above is the single position hole drill screen. One hole will be drilled or tapped at (1,2). If a dimension is entered in the Z field on this screen it will drill the new depth at (1,2) and subsequent holes. If the only dimension ...

  • Page 179

    SECTION THREE - CONVERSATIONAL INPUT SCREENS The screen pictured below is the position drill screen using the spaced holes option. It will drill or tap six holes, including the hole at (1,2). If the X spacing field is 0, the line of holes would be drilled in a vertical line. If the Y spacing is ...

  • Page 180

    SECTION THREE - CONVERSATIONAL INPUT SCREENS F3 (Misc) brings up the miscellaneous function screen and allows those functions to be programmed during drill cycles. The F4 (Call) screen allows subprograms to be called during a drill cycle. These subprograms would normally contain the drilling posi...

  • Page 181

    SECTION THREE - CONVERSATIONAL INPUT SCREENS Dimensions [Absolute] Units [English] Work Coordinate [---] Setup Notes: [ ...

  • Page 182

    SECTION THREE - CONVERSATIONAL INPUT SCREENS Z axis Z[ ] Grid of Holes [---] Spaced Holes [---] --------------------------------------------------- Event 4 of 17 Position Drill Feedrate [Rapid] Coordinates [Cartesian] X axis X[2 ] Y axis Y[ ] (Z t...

  • Page 183

    SECTION THREE - CONVERSATIONAL INPUT SCREENS Event 7 of 17 Position Drill Feedrate [Rapid] Coordinates [Cartesian] X axis X[5 ] Y axi...

  • Page 184

    SECTION THREE - CONVERSATIONAL INPUT SCREENS X axis X[1 ] Y axis Y[1 ] (Z to –2") Z axis Z[ ] Grid of Holes [---] Spaced Holes [---] --------------------------------------------------- Event 12 of 17 Position Drill Feedrate [Rapid] Co...

  • Page 185

    SECTION THREE - CONVERSATIONAL INPUT SCREENS Spaced Holes [---] --------------------------------------------------- Event 15 of 17 Position Drill Feedrate [Rapid] Coordinates [Cartesian] X axis X[5 ] Y axis Y[ ] (Z to –1") Z axis Z[ ] G...

  • Page 186

    SECTION THREE - CONVERSATIONAL INPUT SCREENS F4 (Bolt) The following conversational bolt hole drill screens are displayed upon selecting the bolt hole drill cycles. The first part of the screen contains information used to set up the appropriate drill cycle, whereas the last part contains informa...

  • Page 187

    SECTION THREE - CONVERSATIONAL INPUT SCREENS 173

  • Page 188

    SECTION THREE - CONVERSATIONAL INPUT SCREENS Sample Bolt Hole Program Event 0 of 3 Program Setup Program name [Sample Bolt hole Program] Dimensions [Absolute] Units [English] Setup Notes: [ ] [ ] [ ] [ ...

  • Page 189

    SECTION THREE - CONVERSATIONAL INPUT SCREENS Bolt hole Radius [-3 ](-R for CCW) Angle Of 1st Hole [90 ] # Of Holes To Be Made [8 ] --------------------------------------------------- Event 3 of 3 End of Program Spindle off [Yes] Coolant off [Yes] Z to Toolchange [Yes] X...

  • Page 190

    SECTION THREE - CONVERSATIONAL INPUT SCREENS F5 (TChng) Tool Change When a new tool needs to be put in the machine tool, the tool change screen should be used. The two tool change screens are tool call and tool change. The tool call is used to initiate a new set of tool offsets without physically...

  • Page 191

    SECTION THREE - CONVERSATIONAL INPUT SCREENS F6 (Misc) As a program is being created it may be necessary to add certain miscellaneous functions such as coolant and stop commands. This is done through the F6 (Misc) screen. Conversational screens for miscellaneous appear below. The miscellaneous li...

  • Page 192

    SECTION THREE - CONVERSATIONAL INPUT SCREENS F7 (Call) The program call screen is used to transfer program execution to another program for a specified number of loops. The conversational screen for program call appears below. If the number of loops is left blank, the subprogram is called once...

  • Page 193

    SECTION THREE - CONVERSATIONAL INPUT SCREENS Subprogram calls can be used to create a number of identical parts in a row or a grid. The screen below can be used to call a subprogram that cuts a slot. F8 (Spec) These are screens for setting or adjusting various parameters in the Centurion 6 cont...

  • Page 194

    SECTION THREE - CONVERSATIONAL INPUT SCREENS F1 (Parms) Spec-Parms The conversational screen for adjust parameter appears below. Loading a parameter will set the parameter to the specified value. Adjusting a parameter will add the specified value to the current setting. F2 (Tools) Spec-Tools T...

  • Page 195

    SECTION THREE - CONVERSATIONAL INPUT SCREENS The conversational screen for adjust tool offset appears below. F4 (Scale) Spec-Scale The conversational screen for turn scale factor on appears below. The conversational screen for turn scale factor off appears below. Note: See 268,page 254, S...

  • Page 196

    SECTION THREE - CONVERSATIONAL INPUT SCREENS F5 (Rot) Spec-Rot The conversational screen for turn rotation on appears as follows. Note: See page 274,260, Section 4 for further information on coordinate system rotation. The conversational screen for set 3D rotation angle appears below. 3D r...

  • Page 197

    SECTION THREE - CONVERSATIONAL INPUT SCREENS F6 (Mirr) Spec-Mirr The conversational screen for set mirror image on appears below. The conversational screen for set mirror image off appears below. Note: See page 279,265, Section 4 for further information on mirror image set and cancel. F7 (F...

  • Page 198

    SECTION THREE - CONVERSATIONAL INPUT SCREENS F8 (Text) Spec-Text The conversational screen for text appears below. The conversational screen for text on an arc: F9 (Subs) These screens are used to define and call subroutines. The keys show are as follows: 184

  • Page 199

    SECTION THREE - CONVERSATIONAL INPUT SCREENS F1 (Gosub) Subs-Gosub Gosub is used to call a subroutine. The screen below calls subroutine 1 fifteen times. If the number of loops is left blank, the subroutine is called 1 time. Another option on the gosub screen is used to call the subroutine and...

  • Page 200

    SECTION THREE - CONVERSATIONAL INPUT SCREENS F2 (Start) Subs-Start The start subroutine screen defines the start of a subroutine. F3 (End) Subs-End The end subroutine screen defines the end of the subroutine. 186

  • Page 201

    SECTION THREE - CONVERSATIONAL INPUT SCREENS Sample Program Using Subroutines Conversational Program C:\CNC\PARTS\P0523 Event 0 of 12 Program Setup Program name [ ] Dimensions [Absolute] Units [English] Work Coordinate [---] Setup Notes: [ ] [ ...

  • Page 202

    SECTION THREE - CONVERSATIONAL INPUT SCREENS --------------------------------------------------- Event 3 of 12 Tool Change Tool [Change] Tool Change Position X[ ] Y[ ] Tool Number T[2 ] Tool Description [ ] Next Tool Number [ ] Spindle Speed S[1200 ] Spi...

  • Page 203

    SECTION THREE - CONVERSATIONAL INPUT SCREENS Event 6 of 12 Pocket Mill Setup X Pocket Center [0 ] Y Pocket Center [0 ] XY Feedrate [10 ] Z Pierce Feedrate [5 ] Return Point [Clearance] Clearance [.1 ] Final Z Depth [-.4 ] First Z Depth [-.1 ] Z Incre...

  • Page 204

    SECTION THREE - CONVERSATIONAL INPUT SCREENS --------------------------------------------------- Event 11 of 12 End Subroutine --------------------------------------------------- Event 12 of 12 End of Program Spindle off [No] Coolant off [No] Z to Toolchange [No] X Position ...

  • Page 205

    SECTION FOUR - PREPARATORY FUNCTIONS (G CODES) These codes are used if the operator is programming the Centurion 6 in the text mode or MDI mode. They are also generated from conversational programs. It should be noted that most programmers, particularly new programmers, use the conversational pr...

  • Page 206

    SECTION FOUR - PREPARATORY FUNCTIONS (G CODES) Active On Power-up Modal One Shot 25 Circular finish inside X 26 Circular finish outside X 28-30 Reference point return X 31 Z to clearance X 32 Z to tool change X 33 Facing cycle X 34 Rectangular pocket clear X 35 Rectangular finish ...

  • Page 207

    SECTION FOUR - PREPARATORY FUNCTIONS (G CODES) Active On Power-up Modal One Shot 72 Bolt hole routine X 73 Woodpecker X 74 Left hand tapping X 75 Counter bore X 76 Fine bore X 77 Custom drill cycle X 78 Manual bore X 79 Custom drill cycle X 80 Cancel canned cycle X X 81 Drill ...

  • Page 208

    SECTION FOUR - PREPARATORY FUNCTIONS (G CODES) Note: Unrecognized G codes will cause an error 549 to occur. Interpolation functions There are four modes of interpolation: G0 Rapid linear G1 Feed linear G2 Clockwise arcs G3 Counterclockwise arcs Positioning (G00) rapid trav...

  • Page 209

    SECTION FOUR - PREPARATORY FUNCTIONS (G CODES) Note: The rapid traverse rate in the G00 command is set for each axis independently by the machine tool builder. Accordingly, the rapid traverse rate cannot be specified in the address F. In the positioning mode actuated by G00, the tool is accelerat...

  • Page 210

    SECTION FOUR - PREPARATORY FUNCTIONS (G CODES) Feedrate Override: The per minute feed can be overridden using the feedrate override button on the machine operator's panel by 0 to 140% (per every 10%). Feedrate override cannot be applied to functions in which override is inhibited (e.g. tapping ...

  • Page 211

    SECTION FOUR - PREPARATORY FUNCTIONS (G CODES) Circular interpolation (G02, G03) The general command format to move along a circular arc is as follows. G17 G02 X Y I J or XC YC R or R or AA R F G18 or X Z I K or XC ZC R or R or AA R F G19 G03 Y Z J K or YC ZC R or R or AA R F...

  • Page 212

    SECTION FOUR - PREPARATORY FUNCTIONS (G CODES) Circular Interpolation DATA TO BE GIVEN COMMAND MEANING G17 Specify arc on XY plane G18 Specify arc on ZX plane 1 Plane selection G19 Specify arc on YZ plane G02 Clockwise (CW) 2 Direction of rotation G03 Counterclockwise (CCW) G90 mode One, Two, o...

  • Page 213

    SECTION FOUR - PREPARATORY FUNCTIONS (G CODES) Clockwise and Counterclockwise Directions The view above is from the positive direction of the Z, Y, or X axis to the negative direction on XY, XZ, YZ, or ZX plane in a right-hand Cartesian coordinate system. Method I Describing an Arc Using I...

  • Page 214

    SECTION FOUR - PREPARATORY FUNCTIONS (G CODES) Arc End Points The radius is always specified as its true value. The end points are incremental or absolute depending on G90 and G91. If a radius is used without a center point, there are two types of arcs that can be generated. One is less than 180...

  • Page 215

    SECTION FOUR - PREPARATORY FUNCTIONS (G CODES) Trig Help will allow the programmer to estimate both the start and end points of any arc. The control will calculate the true start and end points based on the moves preceding and trailing the arc. Where there are two possible correct answers, the co...

  • Page 216

    SECTION FOUR - PREPARATORY FUNCTIONS (G CODES) Program 2 Programmed path G1 X0 Y0 X2 Y1 (estimated start point) G2 R1.5 XC2 X5 Y6 (estimated end point) G1 X5 Y0 Path generated by Program 2 202

  • Page 217

    SECTION FOUR - PREPARATORY FUNCTIONS (G CODES) Program 3 Programmed path G1 X0 Y0 X7 Y6 (estimated start point) G2 R1.5 XC4 YC2 X5 Y.2 (estimated end point) G1 X5 Y0 Path generated by Program 3 In general, when dealing with lines and arcs, if the line is programmed short of the a...

  • Page 218

    SECTION FOUR - PREPARATORY FUNCTIONS (G CODES) Program 4 Programmed path G1 X0 Y0 X2.5 Y2 (estimated start point) G2 R1 XC5 YC4 X5 Y5 (estimated end point) R2 XC7.5 YC5 X9 Y8 (estimated end point) G1 X9 Y0 Path generated by Program 4 204

  • Page 219

    SECTION FOUR - PREPARATORY FUNCTIONS (G CODES) Program 5 Programmed path G1 X0 Y0 X2.5 Y2 (estimated point) G2 R1 XC5 YC4 X5 Y3 (estimated end point) G3 R2 XC7.5 YC5 X9 Y5 (estimated end point) G1 Y0 Path generated by Program 5 In general, when estimating arc-to-arc intersectio...

  • Page 220

    SECTION FOUR - PREPARATORY FUNCTIONS (G CODES) Things To Remember When Estimating Points • Estimating can be used with line to circle, circle to circle, and circle to line paths. • The center and radius of arcs cannot be estimated. • For line-to-circle and circle-to-line, the start an...

  • Page 221

    SECTION FOUR - PREPARATORY FUNCTIONS (G CODES) The block X2 Y6 is pulled in tangent to the arc. The cutter compensation has already taken into consideration the previous two lines, and it has calculated the compensated point based on the original line rather than the tangent line. The compensat...

  • Page 222

    SECTION FOUR - PREPARATORY FUNCTIONS (G CODES) The polar format for arcs can be mixed with the Cartesian formats. The following are legal formats. G17 G2 X_____ Y_____ AA_____ R_____ end point start angle G17 G2 AB_____ XC_____ YC_____ R_____ end angle center point G17...

  • Page 223

    SECTION FOUR - PREPARATORY FUNCTIONS (G CODES) 2. Absolute coordinates (Polar Trig Help) G90 G1 X0 Y0 R1 AB45 G3 R3 XC3 YC7 AB0 G2 R4 XC5 YC3 X8 Y.5 G1 Y0 X0 Note: When using Trig Help, you must have a valid arc center and radius. That is why the G2 and G3 lines have a fixed f...

  • Page 224

    SECTION FOUR - PREPARATORY FUNCTIONS (G CODES) 5. Incremental coordinates G91 G1 X0 Y0 X4.2929 Y4.2929 G3 I-1.2929 J2.7071 X-1.7044 Y2.5058 or G3 R3 XC3 Yc7 X-1.7044 Y2.5808 or G2 I-.9973 J-3.8737 X2.0027 Y-6.5195 G2 X2.0027 Y-6.5195 I-.9973 J-3.8737 or G2 R4 X2.00...

  • Page 225

    SECTION FOUR - PREPARATORY FUNCTIONS (G CODES) Angle chamfering (,C) By adding ,C___ to the end of blocks commanding linear interpolation, angle chamfering is automatically inserted. G91 G01 X0 Y0 X1,C.25 X1 Y1 211

  • Page 226

    SECTION FOUR - PREPARATORY FUNCTIONS (G CODES) Back line The back line function can be used on any line command. This function reverses the direction of a programmed line. It would normally be used when you know the end point of the line and not its start point. The end point would be programmed ...

  • Page 227

    SECTION FOUR - PREPARATORY FUNCTIONS (G CODES) W135 This line does not intersect with the arc; therefore, the line will be rotated until it is tangent. X0 Y0 X3 Y1 X4 Y0 X0 Y0 BACK C0 or C2 W165 This example used a back line between two lines to program an unknown point. 213

  • Page 228

    SECTION FOUR - PREPARATORY FUNCTIONS (G CODES) Notes on Circular and Linear Milling The feedrate in circular and linear is equal to the feedrate specified by the F address. This feedrate is the tangential feedrate along the arc and the vector feed on the linear moves. Note 1: I0, J0, and K0 ca...

  • Page 229

    SECTION FOUR - PREPARATORY FUNCTIONS (G CODES) The above formats for helical milling illustrate the general concept. Any of the previous arc formats can be used to do helical cutting by simply adding the third axis end point to the arc command. An F address specifies a feedrate along a circula...

  • Page 230

    SECTION FOUR - PREPARATORY FUNCTIONS (G CODES) Set data on/off (G10, G11) This function allows all the CNC's configuration, setup, axis, and offset table parameters to be loaded via a program rather than through the front panel. (This function is the only way to change parameters 700 and higher f...

  • Page 231

    SECTION FOUR - PREPARATORY FUNCTIONS (G CODES) Metric dimensioning mode (modal) (G21) This function will cause the system to go into the metric mode. In this mode the system will accept dimensions in millimeters (mm). In metric the actual machine position may not exactly agree with the program po...

  • Page 232

    SECTION FOUR - PREPARATORY FUNCTIONS (G CODES) Circular pocket clear (G24) The G24 autoroutine is used to clear a circular pocket by starting in the center and spiraling out to the programmed diameter. Circular Pocket Clear Program N1 G20 G90 (Inch/Absolute) ** For all autoroutines, G41 and ...

  • Page 233

    SECTION FOUR - PREPARATORY FUNCTIONS (G CODES) CW Circular Pocket Clearing CCW Circular Pocket Clearing Block # Block Entry Info Block # Block Entry Info N9 G2 G42 N9 G3 G41 Block 9 Selects CW circle, Block 9 Selects CCW circle and turns ON right and turns O...

  • Page 234

    SECTION FOUR - PREPARATORY FUNCTIONS (G CODES) The figure below “Inside CW Finish Circle” shows the tool path of the following program. The figure below “Inside CCW Finish Circle” shows the same program with the change indicated in line N9. Circular Finish Inside Program N1 G20 G90 (I...

  • Page 235

    SECTION FOUR - PREPARATORY FUNCTIONS (G CODES) Note: Parameter P150 is the pocket radius. If no finish stock is desired, parameters P153 and P154 should be set to zero. The F20 programmed in N5 is the XY feedrate and the F5 in N9 affects only the Z axis feed. Once parameters are set to a value th...

  • Page 236

    SECTION FOUR - PREPARATORY FUNCTIONS (G CODES) *5 Plunge *6 Final Z depth *7 First Z depth *8 Z increment *9 Z feedrate Outside CW Finish Circle Outside CCW Finish Circle N7 G2, G42 selects CW N7 G3, G42 selects CCW direction and left direction and right cutter compensation ...

  • Page 237

    SECTION FOUR - PREPARATORY FUNCTIONS (G CODES) Example 1: G28 (No axis movement) Example 2: G91 G28 Z 0 (Z to -0.1 Relative to machine zero) Example 3: X1 Y0 Z-2 G28 X3 X3 then X-10 (Relative to machine zero.) Example 4: X-3 Y2 Z-8 Z G28 Z-7 -7 then Z-0.1 (Relative to machine zero....

  • Page 238

    SECTION FOUR - PREPARATORY FUNCTIONS (G CODES) Example of G28 and G29: X1 Y1 Point A G28 X3 Y2 Point B then Point R G29 X6 Y1.5 Point B then Point C G30 2nd, 3rd, 4th Reference Point Return This function works in an identical manner to the G28 reference point return exce...

  • Page 239

    SECTION FOUR - PREPARATORY FUNCTIONS (G CODES) Z to clearance (G31) The G31 function will retract Z to the clearance position. This position defaults to the last clearance position but may be changed by editing parameter 140 or set in canned cycles with the "R" parameter. Z to tool chan...

  • Page 240

    SECTION FOUR - PREPARATORY FUNCTIONS (G CODES) Rectangular Pocket Clear Program N1 G20 G90 (Inch/Absolute) N2 S1000 M3 D1 G43 H1 (spindle CW-1000 RPM, calls tool #1's offsets) N3 G00 X0 Y0 (rapids to pocket center) N4 F20 (X-Y feedrate) *9 Z feedrate N5 P150=.75 (corner radius) N6 P151=4 (...

  • Page 241

    SECTION FOUR - PREPARATORY FUNCTIONS (G CODES) Rectangular Finish Inside Program N1 G20 G90 (Inch/Absolute) N2 S1000 M3 D1 G43 H1 (spindle CW-1000 RPM, calls tool #1's offsets) N6 P153=0 (X-Y finish stock) N3 G00 X0 Y0 (rapids to center of rectangle) N4 F20 (X-Y feedrate) N5 P150=.25 (corn...

  • Page 242

    SECTION FOUR - PREPARATORY FUNCTIONS (G CODES) Block # Line Entry Info Block # Line Entry Info N10 G2 G42 selects N10 G2 G42 selects CW direction and CW direction and right cutter comp right cutter comp Inside CW Finish Inside CW Finish Rectangular X < Y ...

  • Page 243

    SECTION FOUR - PREPARATORY FUNCTIONS (G CODES) Rectangular finish outside (G36) The G36 autoroutine is used to remove finish stock around the outside of a rectangular boss. The G36 autoroutine works in an identical manner to the G34 autoroutine. It starts in the center, makes a rapid move to the ...

  • Page 244

    SECTION FOUR - PREPARATORY FUNCTIONS (G CODES) Block # Line Entry Info Block # Line Entry Info N11 G3 G42 selects N11 G2 G41 selects CCW direction and CW direction and right cutter comp left cutter comp Outside CCW Finish Outside CW Finish Threading (G39) T...

  • Page 245

    SECTION FOUR - PREPARATORY FUNCTIONS (G CODES) For internal threads, the start point is the center of the thread for cutter compensation both on and off. If external threads are programmed, it starts at the center and rapids to the feed down point using the following formula for cutter compensati...

  • Page 246

    SECTION FOUR - PREPARATORY FUNCTIONS (G CODES) Inside polygon program G0 X2 Y3 (Center) F20 (XY Feedrate) P126=2 (Radius to the corner) P127=0 (Angle to the 1st corner) P125=6 (Number of sides) P128=.3 (Corner radius) P132=0 (Inside/outside) G666 G99 G3 G41 R.2 P199=1 Z-1 V-.1 Q.2 F10 *1 *2 *...

  • Page 247

    SECTION FOUR - PREPARATORY FUNCTIONS (G CODES) Outside Polygon Program G0 Z2 G65 X2 Y3 (Center) F20 (XY Feedrate) P126=3 (Radius to the corner) P127=60 (Angle to the 1st corner) P125=3 (Number of sides) P128=.1 (Corner radius) P132=1 (Inside/outside) The above program creates the part below. G666...

  • Page 248

    SECTION FOUR - PREPARATORY FUNCTIONS (G CODES) N1 G20 G90 (Inch, Absolute) N2 G0 X0 Y0 (Rapid position to X center, Y center for internal)(use a G65 for external) N3 F100 (Feedrate) N4 P121 = 0 (Angle of taper specified by the half angle or angle with the centerline, 0 for a straight thread) N5...

  • Page 249

    SECTION FOUR - PREPARATORY FUNCTIONS (G CODES) directly off the print, then by entering the actual tool radius into the system and activating cutter compensation, the operator can make the control calculate the displaced path. Throughout the program the control keeps a record of the previous pro...

  • Page 250

    SECTION FOUR - PREPARATORY FUNCTIONS (G CODES) Explanation of How Displaced Tool Paths Cannot Have an Intersection (a) Path of a cutter with (b) Path of a cutter with 0" tool diameter non-zero tool diameter The solution of the above part is to introduce a 00.0001" chamfer or ...

  • Page 251

    SECTION FOUR - PREPARATORY FUNCTIONS (G CODES) Outside "V" Cutter Compensation Note: Compensation point (4') is displaced more than the tool radius away from (4). The figure below shows how a 00.0001" chamfer or round corner added at point (4) has saved an unnecessary departu...

  • Page 252

    SECTION FOUR - PREPARATORY FUNCTIONS (G CODES) Inside "V" Cutter Compensation Note: The tool stays away from the programmed point (2) by a distance more than the tool radius. If the compensated point (2') was any closer to (2), the tool would gouge the sides of the part. Sample part e...

  • Page 253

    SECTION FOUR - PREPARATORY FUNCTIONS (G CODES) Determining How the Compensated Path Will Look Step 1. Sketch actual part and label points in sequence. Step 2. Sketch lines displaced by tool radius away from part surface from point 1 to point 11. 239

  • Page 254

    SECTION FOUR - PREPARATORY FUNCTIONS (G CODES) Step 3. Check to verify all paths in the sequence intersect. If yes, then (except for the start and end points) connect the displaced path and label points of intersection. If even one intersection cannot be found, the part will not run unless the er...

  • Page 255

    SECTION FOUR - PREPARATORY FUNCTIONS (G CODES) Step 5. The above displaced path is what the system will trace if the part is run. However, a problem has become apparent from the rough sketch. Note that the lower left-hand corner will be left uncut because the tool going from (1) to (2) will l...

  • Page 256

    SECTION FOUR - PREPARATORY FUNCTIONS (G CODES) Step 6. Note how points 1, 2, 10, and 11 have been moved slightly. The result will be as follows. Note: It is now seen that when the tool moved from (2) to (3), and (9) to (10), the corner will be properly cut. In Step 6, the cutter compensation...

  • Page 257

    SECTION FOUR - PREPARATORY FUNCTIONS (G CODES) Note 5: Cutter compensation is shut off at the start of each program. How To Compensate for a Cavity If the part is a cavity, then the start and end points will have to change. Simply changing the G41 to G42 (right cut) will not help. This is becaus...

  • Page 258

    SECTION FOUR - PREPARATORY FUNCTIONS (G CODES) Programming with Cutter Compensation When programming with cutter radius compensation, the first and last move the cutter makes should be done off the part per the figure below. The movement made prior to cutting should be at least the distance of t...

  • Page 259

    SECTION FOUR - PREPARATORY FUNCTIONS (G CODES) G65 will allow the programmer to turn cutter compensation on and get the tool to drop or retract at a specific point without doing any extra moves. Generally the no-move point would be chosen to be a point on the part that directly precedes the tool ...

  • Page 260

    SECTION FOUR - PREPARATORY FUNCTIONS (G CODES) Starting and Ending Cutter Compensation G41 Tool Left D1 = Tool Radius (Previously Set in D1) PIERCE RETRACT 1=point on part before pierce point 1=last position before retract 2=pierce point 2=tool retract position 3=first cut move 3=point after ...

  • Page 261

    SECTION FOUR - PREPARATORY FUNCTIONS (G CODES) G42 Tool Right D1 = Tool Radius (Previously Set in D1) PIERCE RETRACT 1=point on part before pierce point 1=last position before retract 2=pierce point 2=tool retract position 3=first cut move 3=point after retract 247

  • Page 262

    SECTION FOUR - PREPARATORY FUNCTIONS (G CODES) Sample Program for Enter-Exit Cutter Compensation G0 X-5 Y1 part load/unload point G41 D1 F10 cutter comp. on offset #1 G65 X0 Y1 no move compensation point X0 X0 Y0 G1 Z-1 tool down X1 Y1 Y0 G65 X1 Y0 cutter comp. of...

  • Page 263

    SECTION FOUR - PREPARATORY FUNCTIONS (G CODES) Note 5: All autoroutines use the present axis position as their center. For this reason it should be made sure that the cutter compensation is turned off in a program using these routines so that the axis can position to the programmed center. If a c...

  • Page 264

    SECTION FOUR - PREPARATORY FUNCTIONS (G CODES) In the above cases, the tool will back up as it tries to place itself tangent to the walls of the slots or v. This case will give a “compensated line/arc do not intersect” error. Auto cutter compensation (G45, G46, G47) The automatic cutter ...

  • Page 265

    SECTION FOUR - PREPARATORY FUNCTIONS (G CODES) Sample Programs Cutter comp on using a G41 X-1 Y1 G41 X0 Y0 X1 Y.2 X0 Y1.5 Cutter comp on using a G45 X-1 Y1 G45 X0 Y0 X1 Y.2 X1.1 Y1 X0 Y1.5 251

  • Page 266

    SECTION FOUR - PREPARATORY FUNCTIONS (G CODES) Cutter comp off using a G40 X-1 Y1 G41 X0 Y0 X1 Y.2 G40 X1.1 Y1 X0 Y1.5 Cutter comp off using a G47 X-1 Y1 G41 X0 Y0 X1 Y.2 G47 X1.1 Y1 X0 Y1.5 252

  • Page 267

    SECTION FOUR - PREPARATORY FUNCTIONS (G CODES) Tool length offset (G43, G44, G49) A tool length offset is activated using a G43 or G44 command. Command format: G43 Z ____ H____; (Z moves to dimension selected G44 referenced to tool length offset or selected by H) G43 H____...

  • Page 268

    SECTION FOUR - PREPARATORY FUNCTIONS (G CODES) H offsets from the tool table H01 = 1.5 H02 = -.5 H03 = -1.25 H04 = 5 Various program lines and results G17 G43 H1 G90 Z0 Z moves to 1.5 (from home) Z1 H3 Z moves to -.25 (from home) G44 H3 Z0 Z moves to 1.25 (from home) H4 Z0 Z...

  • Page 269

    SECTION FOUR - PREPARATORY FUNCTIONS (G CODES) P1 - P4 original program no scaling P1'- P4' scaled program P0 scaling center Notes on Scaling Note 1: Once set, scaling remains in effect until canceled by a G50. Note 2: If arcs are being scaled, the primary axis scale factor is used. Note 3...

  • Page 270

    SECTION FOUR - PREPARATORY FUNCTIONS (G CODES) Coordinate systems Machine zero is a fixed point on the machine. The machine tool builder normally decides the machine zero point. A limit switch and encoder marker pulse on each axis sets it. The machine zero point is established when the F1(Home) ...

  • Page 271

    SECTION FOUR - PREPARATORY FUNCTIONS (G CODES) A coordinate system used to align the work part dimensions to the machine's programs is called a work coordinate system. The work coordinate system is set by either of the following methods. 1. using a G92 command 2. using a G53 command 3. using ...

  • Page 272

    SECTION FOUR - PREPARATORY FUNCTIONS (G CODES) Note 3: G52 offsets are not affected by the position of the machine. G92 offsets are affected by the position of the machine. Note 4: G52 offsets are zeroed on power-up, after homing, after setting work offset in handwheel or jog, and after an...

  • Page 273

    SECTION FOUR - PREPARATORY FUNCTIONS (G CODES) Single direction or one shot rapid positioning (G60) For accurate positioning without backlash, positioning from one direction is available. G60 X___ Y___ G60 is a one-shot G code and is used in place of G00. Notes on Single Direction Positio...

  • Page 274

    SECTION FOUR - PREPARATORY FUNCTIONS (G CODES) Example: *G65 P1402 A500 (calls program #1402 and sets parameter #1 to 500, parameter #16 to 1402, and parameter #7 to 65) * Parameters not specified are set to -999. The addresses refer to the parameters as follows. Address Parameter # ...

  • Page 275

    SECTION FOUR - PREPARATORY FUNCTIONS (G CODES) G69 zeros the rotation angle and rotation center. Care needs to be taken when using rotation in conjunction with other functions. Functions such as mirror image, scaling, and cutter compensation need to be carefully considered when used together wi...

  • Page 276

    SECTION FOUR - PREPARATORY FUNCTIONS (G CODES) 7. R can be used instead of AA for rotation angle. 3D Rotation (G0, G1, G2, G3, G68 AND G69) G0, G1, G2, and G3 respond to 3D rotation when a G68 ABm has been entered. G68 ABm The ABm signifies 3D rotation. The angle m in degrees is the rotation ...

  • Page 277

    SECTION FOUR - PREPARATORY FUNCTIONS (G CODES) Note: Any AA in plane rotation is ignored. Cutter compensation and trig help are not fully supported in 3D rotation. G69 Cancels all rotation, including 3D. Part Scaled then Rotated G51 I4 J1.5 X.7 Y.7 G68 I3 J1 AA45 X3 Y1 X5 Y2 X3 ...

  • Page 278

    SECTION FOUR - PREPARATORY FUNCTIONS (G CODES) Part Rotated then Scaled G68 I3 J1 AA45.00 G51 I4 J1.5 X.9 Y.9 X3 Y1 X5 Y2 X3 Y1 G50 G69 264

  • Page 279

    SECTION FOUR - PREPARATORY FUNCTIONS (G CODES) Cancel mirror image (G70) Set mirror image (G71) The mirror image commands allow mirroring about any centerline. The mirror image centerline is not affected by either scaling or rotation being on or off. Mirror image is shut off at the start of each ...

  • Page 280

    SECTION FOUR - PREPARATORY FUNCTIONS (G CODES) G70 cancels mirror image. Mirroring in one axis will reverse climb cutting and conventional cutting. Mirroring an axis is similar to scaling by –1. Canned cycles A canned cycle simplifies a program by using a single block with a G code to specif...

  • Page 281

    SECTION FOUR - PREPARATORY FUNCTIONS (G CODES) Canned Cycles Drilling Operation Retraction G code -Z at Hole Bottom +Z Application High-speed Rapid Intermittent peck - G73 traverse feed drilling cycle Left hand Dwell → G74 Feed Feed Tapping cycle spindle CW G75 Feed - Rapid Counter bore Rapid G...

  • Page 282

    SECTION FOUR - PREPARATORY FUNCTIONS (G CODES) Operation 1: Positioning of axes X and Y (or 4th and 5th if enabled) Operation 2: Rapid traverse to point R Operation 3: Hole machining Operation 4: Operation at the bottom of a hole Operation 5: Retraction to point R Operation 6: Rapid traverse up t...

  • Page 283

    SECTION FOUR - PREPARATORY FUNCTIONS (G CODES) . G89 Note: The initial level means the value of the Z axis when the canned cycle is first turned on. The figure below shows how to specify data in G90 or G91 mode. Absolute and Incremental Programming If the tool is to be returned t...

  • Page 284

    SECTION FOUR - PREPARATORY FUNCTIONS (G CODES) Initial Level and Point R Level The drilling data is specified following G73,G74,G76,G77,G78, G81 to G89. Data is stored in the control as modal values and is retained for future use in other cycles. The machining data in a canned cycle is specifie...

  • Page 285

    SECTION FOUR - PREPARATORY FUNCTIONS (G CODES) For drilling cycles you may use: P140 for Clearance plane P148 for Dwell before spindle reverses in tap cycles P141 for Final Z depth P142 for Z initial level P143 for Z increment P144 for 1st Z depth P145 for Z feedrate P146 fo...

  • Page 286

    SECTION FOUR - PREPARATORY FUNCTIONS (G CODES) Bolt hole routine (G72) The bolt circle autoroutine can be used with any of the drilling cycles. Drilling cycles, when used with this autoroutine, differ in that hole positions are not specified. The G72 line indirectly specifies all the hole positio...

  • Page 287

    SECTION FOUR - PREPARATORY FUNCTIONS (G CODES) Program to Drill a 5 Hole 1" Radius Bolt Circle N1 G20 G90 (Inch/Absolute) N2 S1000 M3 G43 H1 (spindle CW 1000 RPM, activates tool #1's length offsets) N3 G81 G99 Z-1 R.1 F10 G81 Drill G99 Return to R point Z-1 Drill depth R.1...

  • Page 288

    SECTION FOUR - PREPARATORY FUNCTIONS (G CODES) Note 4: The G65 cannot be on the G72 block because there is also a P on the block that will cause a program call to program #5. You may also use: G81 G99 Z-1 2.1 F10 P157=45 (Bolt hole start angle) P159=5 (# of holes to be made) P1...

  • Page 289

    SECTION FOUR - PREPARATORY FUNCTIONS (G CODES) High speed peck drilling cycle (G73) G73 G98/G99 Z___ R___ V___ Q___ U___ D___ F___ The G73 command specifies the high speed peck cycle. This cycle will do the following. 1. Rapids to point R 2. Feeds down to point V 3. Rapids up U value 4. Rapid...

  • Page 290

    SECTION FOUR - PREPARATORY FUNCTIONS (G CODES) Left hand soft tapping cycle (G74) G74 G98/G99 Z___ R___ B___ P___ F___ The G74 command specifies the left hand soft tapping cycle. At each axis position, this cycle will do the following. 1. Rapid to point R 2. Feeds to point Z 3. Dwells befo...

  • Page 291

    SECTION FOUR - PREPARATORY FUNCTIONS (G CODES) Example: 1/4-20 tap, spindle rpm 400 1/20 = .05 (lead) 400 x .05 = 20 (feedrate) Feedrate may need adjustment for proper operation of tap holder. If tap is pulled too far in the holder, feedrate should be increased. If tap is pushed into ...

  • Page 292

    SECTION FOUR - PREPARATORY FUNCTIONS (G CODES) 2. Feeds down to point V. 3. Counter bores the hole (to radius P150). 4. Feeds down by Q value or Z point (whichever is less). 5. Repeats steps 3-4 until point Z is reached. 6. Rapids to initial point / point R as determined by G98/G99. Fine bore cy...

  • Page 293

    SECTION FOUR - PREPARATORY FUNCTIONS (G CODES) 2 Feeds down to point Z . G80 G76 F____ P____ R____ Z____ G98/G99 The G76 command specifies the fine bore drilling cycle. At each axis position, this cycle will execute the following. 1 Rapids to point R 3 Dwells by P seconds at th...

  • Page 294

    SECTION FOUR - PREPARATORY FUNCTIONS (G CODES) Drilling cycle, manual bore (G78) G78 F____ P____ R____ Z____ G98/G99 1. Rapids to point R 6. Exits handwheel mode by pressing Enter or ESC Canned cycle cancel (G80) The G78 command specifies the manual bore drilling cycle. At each following axis ...

  • Page 295

    SECTION FOUR - PREPARATORY FUNCTIONS (G CODES) Drilling cycle (G81) G81 G98/G99 Z___ R___ F___ The G81 command specifies the drilling cycle. This cycle will do the following. 1. Rapids to point R 2. Feeds down to point Z 3. Rapids to initial point/point R as determined by G98/G99 Drill/Dw...

  • Page 296

    SECTION FOUR - PREPARATORY FUNCTIONS (G CODES) The G82 command is similar to the G81 command; however, a dwell (specified by the P command) is performed at the bottom of the hole. This cycle will do the following. 1. Rapids to point R 2. Feeds down to point Z 3. Dwells by P___ seconds 4. Rap...

  • Page 297

    SECTION FOUR - PREPARATORY FUNCTIONS (G CODES) Right-hand soft tapping cycle (G84) G84 G98/G99 Z___ R___ B___ P___ F___ The G84 command specifies the right-hand tapping cycle. At each axis position this cycle will do the following. 3. Dwells before reversing (specified by the B command) 1....

  • Page 298

    SECTION FOUR - PREPARATORY FUNCTIONS (G CODES) Feedrate may need adjustment for proper operation of the tap holder. If the tap is pulled too far in the holder, feedrate should be increased. If the tap is pushed into the holder, feedrate should be decreased. Boring cycle (G85) G85 G98/G99 Z___ R...

  • Page 299

    SECTION FOUR - PREPARATORY FUNCTIONS (G CODES) Fast bore cycle (G86) G86 G98/G99 Z___ R___ F___ The G86 command specifies the fast bore cycle. At each axis position this cycle will do the following. 6. Rapids to initial point/point R as determined by G98/G99 1. Spindle starts (CW) 2. Rapids...

  • Page 300

    SECTION FOUR - PREPARATORY FUNCTIONS (G CODES) Back Boring cycle (G87) 6. Feeds up to Z depth G87, G98 F____ R____ Z____ The distance and angle is specified by control parameters "Bore Relief Angle" and "Bore Relief Distance". The G87 command specifies the back bore dri...

  • Page 301

    SECTION FOUR - PREPARATORY FUNCTIONS (G CODES) 10. Moves back to original XY position 11. Restarts the spindle 287

  • Page 302

    SECTION FOUR - PREPARATORY FUNCTIONS (G CODES) Hard tap cycle (G88) G88 G98/G99 Z____ R____ F____ P____ (Q____ V____) The G88 command specifies the hard tapping cycle. P(dwell) can be used if the distance between holes is small to give the spindle time to reverse to its proper direction. This c...

  • Page 303

    SECTION FOUR - PREPARATORY FUNCTIONS (G CODES) Bore/Dwell cycle (G89) G89 G98/G99 Z___ P___ F___ The G89 command specifies the bore with dwell cycle. At each following axis position this cycle will do the following. 4. Feed to point R G81 R.1 X-1 F20 (X depth is -1) Z5 (drills a hole at Y3...

  • Page 304

    SECTION FOUR - PREPARATORY FUNCTIONS (G CODES) Notes on Canned Cycle Specifications Note 1: The spindle must be turned on by M code, M3 or M4, before the canned cycle is specified. Note 3: If a block contains a Z position by itself, drilling will not be performed. However, the Z axis will rapid ...

  • Page 305

    SECTION FOUR - PREPARATORY FUNCTIONS (G CODES) Note 4: Specify drilling data in the block where drilling is performed. Entries (V, Q, B, Z, R, F, or P) are stored as modal data. Drill Example: G90 X6 (drill hole at X6) G81 G0 R.1 Z-2 F10 (drill clearance .1, depth -2, Z feed 10) X1 (drill...

  • Page 306

    SECTION FOUR - PREPARATORY FUNCTIONS (G CODES) G00 M___ G86 X___ Y___ Z___ R___ F___ G04 P___ (Dwell is performed, but drilling is not.) X__ Y___ G04 P___ (Dwell is performed, but drilling is not.) X__ Y___ . . b) Override G90 is active at the beginning of each program. G90 canc...

  • Page 307

    SECTION FOUR - PREPARATORY FUNCTIONS (G CODES) Absolute Positioning G90 X0 Y0 P1 X2 Y2 P3 X1 Y1.5 P2 Incremental mode (modal) (G91) This function causes the control to go into the incremental mode. In this mode all dimensions are entered relative to the machine position in ...

  • Page 308

    SECTION FOUR - PREPARATORY FUNCTIONS (G CODES) Incremental Positioning G90 X0 Y0 P1 G91 X1 Y1.5 P2 X1 Y.5 P3 Floating zero (G92) This command establishes the work coordinate system. The position of the tool becomes the pro-grammed position in the current work coordinate system. When u...

  • Page 309

    SECTION FOUR - PREPARATORY FUNCTIONS (G CODES) machine is positioned at P1 and G92 X-1 Y-1 is commanded, the next time X.5 Y.5 is commanded the machine will position to P3. X0 Y0 O0002 When using G92's for calling subprograms, the G92 is saved prior to calling the subprogram and restored whe...

  • Page 310

    SECTION FOUR - PREPARATORY FUNCTIONS (G CODES) moves that will slow down if any axis in the move goes faster than the maximum feed parameter for that particular axis. While in inverse time mode, the feedrate must be specified in every move block, or an error 611 will be reported. Example: Exampl...

  • Page 311

    SECTION FOUR - PREPARATORY FUNCTIONS (G CODES) 21.6 seconds, where 5000 is the maximum feedrate for rotary axis A. Feed Per Revolution (G95) G80 cancel cycle Sample program:This G code is a modal G code that instructs the control to interpret feed commands as mm or inches per revolution of...

  • Page 312

    SECTION FOUR - PREPARATORY FUNCTIONS (G CODES) G65 X1 Y0 G40 N1235 (The ‘Q’ specifies the end of the pocket) This program will clear a pocket that looks like this. The Cut Width is the distance between 1 pass and the next. The Finish stock is not removed with a final pass. To remove the...

  • Page 313

    SECTION FOUR - PREPARATORY FUNCTIONS (G CODES) The cycle can be used to clear around islands. Sample program with islands: X0 G2 R.3 AA180 AB180 G47 G47 P145=10 (Z Feedrate) F321 (XY Feed-rate to clear the pocket) G271 P1234 Q1235 R.1 Z-1 D.1 I.05 ('R' is the R plane, 'Z' is the Z-depth, 'D' i...

  • Page 314

    SECTION FOUR - PREPARATORY FUNCTIONS (G CODES) This program will clear a pocket that looks like: Store Restore parameters (G990/G991) N0020 (My subroutines) A discussion follows on several specialized and non-standard G codes. Pp Ll Qq G990 (store parameters) Pp Ll Qq G991 (restore parameter...

  • Page 315

    SECTION FOUR - PREPARATORY FUNCTIONS (G CODES) Read byte parameter (G995) P1=b G995 (sets P0 to value of byte b) Example: P1=79 G995 (sets P0 to value of byte 79, G18 plane select, XZ=0, ZX=1) valid P1 values are 0 to 639 Valid P1 values are 0 to 639 Valid P0 values are 0 to 255 P0=1 No...

  • Page 316

    SECTION FOUR - PREPARATORY FUNCTIONS (G CODES) Force Error (G997) G997 (Forces a 408 Y axis excess error to be displayed. Y axis does not cause an excess error, it only displays the error). G998 will cause the speaker to beep if a speaker is installed. Forces an error code to be displayed. Error ...

  • Page 317

    SECTION FIVE - MISCELLANEOUS FUNCTIONS (M CODES) These codes are used if the operator is programming the Centurion 6 in the text mode or MDI mode. They are also generated from conversation programs. It should be noted that most programmers – particularly new programmers – use the conversatio...

  • Page 318

    SECTION FIVE - MISCELLANEOUS FUNCTIONS (M CODES) M codes M codes Function Executed Before Move Executed After Move M00 M01 M02 M30 Program Stop End of Program Optional Stop End of Program/ Spindle Off X X X X M03 M04 M05 Spindle on CW Spindle On CCW Spindle Off X * X * X * Tool Change X * M0...

  • Page 319

    SECTION FIVE - MISCELLANEOUS FUNCTIONS (M CODES) Caution: The control will accept more than one M code on a line; however, it is recommended that only one M code per line be programmed. When more than one M code per line exists, the order of execution is somewhat undefined and the program may not...

  • Page 320

    SECTION FIVE - MISCELLANEOUS FUNCTIONS (M CODES) comment is on the M6 block, it will be displayed to prompt the operator. The control shuts off the spindle and coolant, and then it waits until it receives a tool-change-complete signal. The spindle cannot be turned on until the tool change is comp...

  • Page 321

    SECTION FIVE - MISCELLANEOUS FUNCTIONS (M CODES) Channel (M32) This code causes the control to wait for the wait channel, X input 7, then continues the program. Miscellaneous M codes (M65/75, M67/77, M68/78, M69/79, M50/60) The standard M code is controlled by M65 (on) and M66 (off). These option...

  • Page 322

    SECTION FIVE - MISCELLANEOUS FUNCTIONS (M CODES) The starting point is stored in the following parameter. 121 for X axis 122 for Y axis 123 for Z axis To create a female part the starting angle must be between greater than 180° and less than 360°. For female parts that start at 0° ...

  • Page 323

    SECTION FIVE - MISCELLANEOUS FUNCTIONS (M CODES) Example 1: Offset Island Taper Offset round/tapered walls parameter = yes First cut is offset to avoid over cutting vertical wall. Example 2: No Offset Island Taper Offset round/tapered walls parameter = no Offset is not needed to cut t...

  • Page 324

    SECTION FIVE - MISCELLANEOUS FUNCTIONS (M CODES) Example 3: Offset Cavity Taper Offset round/tapered walls parameter = yes First cut is offset to avoid cutting vertical wall. Example 4: Offset Cavity Taper Offset round/tapered walls parameter = no There is no need to offset tool on th...

  • Page 325

    SECTION FIVE - MISCELLANEOUS FUNCTIONS (M CODES) Wall angles are described as follows, regardless of pockets or islands. If you are using a ball-nosed tool with the tapered walls, use an M95 EO (or M95). If you are using an end mill, use M95 E1. Example Program: This program makes a 2"...

  • Page 326

    SECTION FIVE - MISCELLANEOUS FUNCTIONS (M CODES) Rounded Walls (M96) M96 can be used for rounding walls in pockets or on islands. This command takes a start angle, wall radius, first and final Z depths, and the Z increment as parameters. The M96 must be within a while-wend loop. The tool radius, ...

  • Page 327

    SECTION FIVE - MISCELLANEOUS FUNCTIONS (M CODES) Example 3: Offset Cavity Rounded Wall Offset round/tapered walls parameter = yes First cut is offset to avoid cutting vertical wall. Example 4: No Offset Cavity Rounded Wall Offset round/tapered walls = no No need to offset tool on this part...

  • Page 328

    SECTION FIVE - MISCELLANEOUS FUNCTIONS (M CODES) This program makes a 2" x 3" island with rounded walls. The wall has a 2" radius and starts at a slope of 30°. P140=.1 Clearance P141=-1 Final Z depth P143=.1 Z increment P144=0 1st Z depth P160=P144 P162=0 To enter while loop G0 W...

  • Page 329

    SECTION FIVE - MISCELLANEOUS FUNCTIONS (M CODES) Notes on Rounded Walls Note 1: The first cut at the first Z depth is always offset the entire tool radius. Note 2: The first Z depth should be at the top of the surface to cut. Note 3: If the wall radius and start angle will not span the first ...

  • Page 330

    SECTION FIVE - MISCELLANEOUS FUNCTIONS (M CODES) Pocket Clear (M97) M97 can be used for clearing pockets as well as clearing away material from islands. It can also be used for finish passes on irregular pockets or islands. This command takes two parameters: the number of passes to make and the c...

  • Page 331

    SECTION FIVE - MISCELLANEOUS FUNCTIONS (M CODES) The previous program makes this for a .1" radius tool: To clear away from an island with the same shape, change the G41 to G42. To make a finish pass, load the tool table with a tool radius bigger than the actual tool in use. P163=2 Mak...

  • Page 332

    SECTION FIVE - MISCELLANEOUS FUNCTIONS (M CODES) When the main program calls a subprogram, it is regarded as a one loop nest. A two loop nesting can be executed as shown below. When used with an L___ command, an M98 command can call a subprogram repeatedly. An L___ command can specify up to 99...

  • Page 333

    SECTION FIVE - MISCELLANEOUS FUNCTIONS (M CODES) Subprogram execution A subprogram is executed when called by the main program or another subprogram. A subprogram call has the following format. M98 PXXXX LXXX Where PXXXX = subprogram number And LXXX = number of times the subprogram is to be re...

  • Page 334

    SECTION FIVE - MISCELLANEOUS FUNCTIONS (M CODES) Notes on Subprograms Note 1: If the subprogram number specified cannot be found, a 603 error “program O#### does not exist” message is displayed. Note 2: A subprogram call M98___ cannot be executed from MDI. In this case write a short progr...

  • Page 335

    SECTION FIVE - MISCELLANEOUS FUNCTIONS (M CODES) The text program can reside in the RAM directory or in the parts directory. The program in the RAM directory holds precedence over the program in the parts directory. If you call any custom M or G code from within a custom code, it will execute its...

  • Page 336

  • Page 337

    SECTION SIX - PARAMETRIC PROGRAMMING Parametric programming is similar to macro programming in that equations can be used to specify axis position rather than decimal numbers. The Centurion 6 does not restrict the use of parametrics to subroutines or macros. They may be used anywhere throughout ...

  • Page 338

    SECTION SIX - PARAMETRIC PROGRAMMING Arithmetic operators The following list shows the available arithmetic operators. Operator Operation + addition - subtraction * multiplication ** exponent / division MOD remainder 72/8 = 9.0 72 DIV 8 = 9 DIV ...

  • Page 339

    SECTION SIX - PARAMETRIC PROGRAMMING Function operators A function call is specified by the function name (e.g. SIN, ATAN, . . .) followed by the function argument in brackets. When a function is used for a coordinate position it must be contained in brackets. Examples: X [SIN [45]] Y [ATAN[...

  • Page 340

    SECTION SIX - PARAMETRIC PROGRAMMING Rounds (ROUND) rounds a decimal value to an integer value. Values halfway in-between are rounded up. ROUND [2.3] = 2 ROUND [7.88] = 8 ROUND [1.5] = 2 ROUND [-1.5] = -2 Values exactly halfway between are rounded to the nearest even number. ...

  • Page 341

    SECTION SIX - PARAMETRIC PROGRAMMING The above two statements accomplish the same thing. If the statement is true, N15 is executed; if it is false, N21 is executed. Examples: IF P1*P3/COS[P90] GE TAN[P6] THEN X1 IF P4/P3 LT P6 GOTO 25 IF P1 = P2 THEN P4 = P5 - P6 Multiple IF sta...

  • Page 342

    SECTION SIX - PARAMETRIC PROGRAMMING GOTO statement The statement N### defines a label. GOTO’s/GOSUB’s can branch or transfer control to blocks containing these labels. A GOTO statement transfers progam execution to the block prefixed by the block label referenced in the GOTO statement. GOTO...

  • Page 343

    SECTION SIX - PARAMETRIC PROGRAMMING The GOSUB format is as follows. GOSUB XXXX LXXX Line # Loop Count (optional) If the L is omitted the GOSUB routine will be executed once. N1 N2 N3 N4 GOSUB 100 Main Program N5 . . . N90 M30 N100 N101 ...

  • Page 344

    SECTION SIX - PARAMETRIC PROGRAMMING Computational functions 1. Tangent Arc TANA 3. 3 Point Circle Generate CGEN 2. Tangent Line TANL The above three functions can be used anywhere throughout a program to solve various intersection problems. These functions receive input data in paramet...

  • Page 345

    SECTION SIX - PARAMETRIC PROGRAMMING TANA Cases 1st 2nd Center C0 = Right Right Left C1 = Left Right Left C2 = Right Left Left C3 = Left Left Left C4 = Left Left Right C5 = Right Left Right C6 = Left Right Right C7 = Right Right Right TANL Cases 1...

  • Page 346

    SECTION SIX - PARAMETRIC PROGRAMMING Sample Program Using TANA or TANL N1 P90=0 XC of arc 1 N2 P91=0 YC of arc 1 N3 P92=1.5 radius of arc 1 N4 P93=5 XC of arc 2 N5 P94=4 YC of arc 2 N6 P95=2 radius of arc 2 N7 P96=5 radius of tangent arc (not ...

  • Page 347

    SECTION SIX - PARAMETRIC PROGRAMMING The circle generate function will calculate the center and radius of an arc through any three non-co-linear points. The general format for the CGen function is as follows. Input Parameters P90=X1 P91=Y1 coordinates of first point P92=X2 P93=Y2 coordi...

  • Page 348

    SECTION SIX - PARAMETRIC PROGRAMMING N1 P140=.1 Clearance of .1 N2 P141=-.2 Depth of cut .2 inches N3 P145=5 Plunge feedrate of 5 ipm N4 G1 F10 XY feedrate of 10 ipm N5 S1000 M3 Spindle on CW N6 X-4 Y.5 Position of first letter N7 Text [MILLTRONICS MFG] Desired text N8 ...

  • Page 349

    SECTION SIX - PARAMETRIC PROGRAMMING Miscellaneous Commands Spaces Spaces can be used anywhere within the program. For example, Z1.234 can be written as Z 1 . 23 4 if desired. Blocks Blocks without any information are allowed. Comments Comments are any text enclosed in parentheses and they a...

  • Page 350

    SECTION SIX - PARAMETRIC PROGRAMMING #n[LT] #n[LT] displays parameter n with L leading digits and T trailing digits. Example: P100=1.235 P101=2.87656 PRINT [P100=#100[04] P101=#101[33]] shows “P100=1.2350 P101=002.877” If the leading and trailing fields are left blank, the default leadin...

  • Page 351

    SECTION SIX - PARAMETRIC PROGRAMMING DPRNT DPRNT outputs text to a file or RS-232 port which is specified by the POPEN command. Example: DPRNT [PLEASE CLEAR THE WORK AREA] #n writes the value of a parameter Example: DPRNT [X#208 Y#209 Z#210] outputs the current X, Y,and Z positions to a file or ...

  • Page 352

    SECTION SIX - PARAMETRIC PROGRAMMING INPUT The INPUT statement is used for data input from the front panel. Example: INPUT (X START POSITION) P1 The operator will be prompted to input data. The operator can use the data displayed by pressing the ENTER key. If ESC is pressed during an input s...

  • Page 353

    SECTION SIX - PARAMETRIC PROGRAMMING PULSE0 Pulses an output pin. Example 1: PULSE0 Z10 (clears Z output #10, delays for the number of milliseconds specified by the MISC parameter PULSEx pulse delay(ms) then sets output Z10) Example 2: PULSE0 X2 P3.5 (clears X output #2 and delays for 3.5 se...

  • Page 354

    SECTION SIX - PARAMETRIC PROGRAMMING out7 1018 2018 3018 4018 5018 out8 1019 2019 3019 4019 5019 out9 1020 2020 3020 4020 5020 out10 1021 2021 3021 4021 5021 out11 1022 2022 3022 4022 5022 out12 1023 2023 3023 4023 5023 Note: PIN statements can be used in conditional statements such as IF-T...

  • Page 355

    SECTION SIX - PARAMETRIC PROGRAMMING Back line G2 R1 XC3 YC1.5 AB270 X0 Back - extend back from (1,2) W145 - extend the line from (1,2) at an angle of 145° X6 YZ X4 Y1.5 The back line function may be used on any line command. This function reverses the direction of the programmed lin...

  • Page 356

    SECTION SIX - PARAMETRIC PROGRAMMING MOD MOD is used to shift an axis position. It is generally used for rotary axis to obtain a positive position between 0 and 360 degrees. It can be useful after a rotary axis has made several revolutions in the same direction. Examples: G0 A750 361 ORIGIN 36...

  • Page 357

    SECTION SIX - PARAMETRIC PROGRAMMING The following illustrates the parametric program for cutting five 45° segments of a fan blade. P2=0 N2 P1=.5 P140=.1 G31 N1 G0 X[P1] Y0 G1 Z0 G3 R[P1] AA0 AB45 Z[[.5-P1]/5] G31 P1=P1+.1 IF P1 LE 2 GOTO 1 P2=P2+72 G68 AA[P2] I0 J0...

  • Page 358

    SECTION SIX - PARAMETRIC PROGRAMMING Sample Program Using Some Special Statements (Outside digitizing program. Assumes the center is 0,0.) INPUT (Diameter) P1 INPUT (Z depth) P2 INPUT (Angle increment) P3 TI M6 (Probe) H43 H1 D1 G0 X [P1/2+.5] Y0 (Move past the diameter +.5) Z[P2...

  • Page 359

    SECTION SIX - PARAMETRIC PROGRAMMING . . . X1.0149Y-0.3694 X1.0301Y-0.3028 X1.0242Y-0.1806 X1.0560Y-0.0924 X1.13000Y-0.0000 Z1 M5 345

  • Page 360

  • Page 361

    SECTION SEVEN - SAMPLE PROGRAMS The following sample programs illustrate a variety of programming problems and show possible solutions to these problems using the Centurion 6 control. The program given for each sample part is by no means the only solution for that sample part. Each sample part ...

  • Page 362

    SECTION SEVEN - SAMPLE PROGRAMS EIA Program Sample 1 N1 G0 G17 G20 G32 G40 G50 G69 G80 G90 N3 X-1 Y-1 S3000 M03 N7 Y3.5 N2 T1 M6 N4 G43 H1 Z.1 M08 N5 G01 Z-.375 F5 N6 G41 D1 X0 F25 N8 X1.5 N9 G3 R1 AA180 AB-45 N10 G1 R.S AB45 N11 G2 R1 XC5.9142 YC4.0858 AB0 N12 G1 Y0 N13 X-1 N14 G40 Y-1 N15 G0...

  • Page 363

    SECTION SEVEN - SAMPLE PROGRAMS N12 Line move to Y0 N13 Line move to X-1 Y0 N14 Turn off cutter compensation during move to X-1 Y-1 N15 Rapids Z to .1 and turns off coolant N16 Turns off spindle Conversational Program Sample 1 Event 0 of 11 Program Setup Program name [SAMP...

  • Page 364

    SECTION SEVEN - SAMPLE PROGRAMS Event 2 of 11 Tool Pierce - Start Mill Cycle Z Pierce Feedrate [5 ] Return Point [Clearance] Clearance [.1 ] Final Z Depth [-.375 ] 1st Z Depth [-.375 ] Z Increment [1 ] X Pierce Point X[0 ] Y Pierce Poin...

  • Page 365

    SECTION SEVEN - SAMPLE PROGRAMS Event 5 of 11 Mill Geometry - Arc Plane [XY] Feedrate F[ ] Direction [CCW] Center [Polar] Arc Radius R[1 ] Start Angle AA[180 ] End Point [Polar] End Angle AB[-45 ] Z[ ] End Option [---] -----------------------...

  • Page 366

    SECTION SEVEN - SAMPLE PROGRAMS Event 7 of 11 Mill Geometry - Arc Plane [XY] X axis X[0 ] Feedrate F[ ] Direction [CW] Center [Abs Center] Arc Radius R[1 ] Arc Center XC[5.9142 ] YC[4.0858 ] End Point [Polar] End Angle AB[0 ] Z[ ] ...

  • Page 367

    SECTION SEVEN - SAMPLE PROGRAMS Event 10 of 11 Tool Retract End Mill Cycle Point on part after tool retract Y Position (home relative) [ ] Sample 2A [Auto] --------------------------------------------------- Event 11 of 11 End of Program Spindle off [Yes] C...

  • Page 368

    SECTION SEVEN - SAMPLE PROGRAMS EIA Program Sample 2A N1 T1 M6 N2 G0 X-1 Y1 S3000 M3 N3 G43 H1 Z.1 M8 N4 G1 Z-.375 F5 N5 G42 D1 X0 F25 N6 Y-1.5 N7 G3 XC1 YC-1.5 AB-45 R1 N8 G2XC2.7071 YC-3.2071 AB-45 R1.4142 N9 G3 XC4.4142 YC-1.5 AB0 R1 N10 G1 Y0 N11 X-1 N12 G40 Y1 N13 G0 Z.1 M9 N14 M05 Explan...

  • Page 369

    SECTION SEVEN - SAMPLE PROGRAMS N13 Rapid Z axis to .1, turns off coolant N14 Turns off spindle Conversational Program Sample 2A Event 0 of 10 Setup Notes: [ ] Program Setup Program name [SAMPLE 2 ] Dimensions [Absolute] Units [English] W...

  • Page 370

    SECTION SEVEN - SAMPLE PROGRAMS Event 2 of 10 Tool Pierce - Start Mill Cycle Z Pierce Feedrate [5 ] Return Point [Clearance] Clearance [.1 ] Final Z Depth [-.375 ] 1st Z Depth [-.375 ] Z Increment [1 ] X Pierce Point X[0 ] Y Pierce Point Y[0 ] Compen...

  • Page 371

    SECTION SEVEN - SAMPLE PROGRAMS Event 5 of 10 Mill Geometry - Arc Plane [XY] Feedrate F[ ] Direction [CW] Center [Abs Center] Arc Radius R[1.4142 ] Arc Center XC[2.7071 ] YC[-3.197 ] End Point [Polar] End Angle AB[-45 ] Z[ ] End Option [---] -----...

  • Page 372

    SECTION SEVEN - SAMPLE PROGRAMS Event 8 of 10 Mill Geometry - Line Feedrate F[ ] Coordinates [Cartesian] X axis X[0 ] Y axis Y[ ] Z axis Z[ ] End [---] Extend Back [Off ] X Position (home relative) [ ] --------------------------------------------------...

  • Page 373

    SECTION SEVEN - SAMPLE PROGRAMS Sample 2B Same part as sample 2A but programmed using tangent arc function. EIA Program Sample 2B N1 T1 M6 N2 G0 X-1 Y1 S3000 M3 N3 G43 H1 Z.1 M8 N4 G1 Z-.375 F5 N5 G42 D1 X0 F25 N6 Y-1.5 N7 P90 = 1 N9 P92 = 1 N8 P91 = -1.5 N10 P93 = 4.4142 N11 P94 = -1....

  • Page 374

    SECTION SEVEN - SAMPLE PROGRAMS Explanation of EIA Program Sample 2A N1 Tool change #1 N2 Rapid position to X-1 Y1; turns spindle on CW (3000 rpm) N3 Calls tool #1's "H" offset and positions Z to .1; turns on coolant N4 Feeds Z-.375 at 5 ipm N5 Selects right cutter compensation, ...

  • Page 375

    SECTION SEVEN - SAMPLE PROGRAMS Conversational Program Sample 2B Event 0 of 9 Program Setup Program name [SAMPLE 2B ] Dimensions [Absolute] Units [English] Work Coordinate [---] Setup Notes: [ ] [ ] [ ] [ ...

  • Page 376

    SECTION SEVEN - SAMPLE PROGRAMS Event 2 of 9 Tool Pierce - Start Mill Cycle Z Pierce Feedrate [5 ] Return Point [Clearance] Clearance [.1 ] Final Z Depth [-.375 ] 1st Z Depth [-.375 ] Z Increment [1 ] X Pierce Point X[0 ] Y Pierce Point Y[0 ] Compens...

  • Page 377

    SECTION SEVEN - SAMPLE PROGRAMS Event 4 of 9 Connect two arcs with tangent line or arc in the Plane [XY] Mill First arc in direction [CCW] YC2 [-1.5 ] Exit 1st arc [Right] Arc Radius R[1 ] YC[-1.5 ] End Angle AB[0 ] R1 [1 ] XC1 [1 ] YC1 [-1.5 ] Se...

  • Page 378

    SECTION SEVEN - SAMPLE PROGRAMS Event 6 of 9 Mill Geometry - Line Feedrate F[ ] Coordinates [Cartesian] X axis X[ ] Y axis Y[0 ] --------------------------------------------------- Mill Geometry - Line --------------------------------------------------- Tool Retract...

  • Page 379

    SECTION SEVEN - SAMPLE PROGRAMS Sample 3A EIA Program Sample 3A N1 T1 M6 N2 G41 D1 S3000 M03 N3 G65 X0 Y99 N9 G1 AB45 R.5 N4 G0 Y0 N5 G43 H1 Z.1 M8 N6 G1 Z-.375 F5 N7 X1 F25 N8 G2 XC2 YC0 AB135 R1 N10 G2 XC4 YC2 X5 Y2 R1 N11 G3 XC7 YC2 X9 R2 N12 G1 Y5 N13 X0 N14 Y0 N15 G65 X99 N16 G40 N17 G...

  • Page 380

    SECTION SEVEN - SAMPLE PROGRAMS N3 Sets a "point before pierce" of X0 Y99 N10 CW arc 1" radius using an XC-4 YC2 and an end point of X5 Y2 N11 CCW arc 2" radius using an XC7 YC2 and an end point of X9 Y2 N12 Line move to X9 Y5 N13 Line move to X0 Y5 N14 Line move to X0 Y0 N...

  • Page 381

    SECTION SEVEN - SAMPLE PROGRAMS Conversational Program Sample 3A Event 0 of 12 Program Setup Program name [SAMPLE 3A ] Dimensions [Absolute] Units [English] Work Coordinate [---] [ ] [ ] [ ] Tool Descrip...

  • Page 382

    SECTION SEVEN - SAMPLE PROGRAMS Event 2 of 12 Tool Pierce - Start Mill Cycle Z Pierce Feedrate [5 ] Return Point [Clearance] Clearance [.1 ] Final Z Depth [-.375 ] 1st Z Depth [-.375 ] Z Increment [1 ] X Pierce Point X[0 ] Y Pierce Poin...

  • Page 383

    SECTION SEVEN - SAMPLE PROGRAMS Event 4 of 12 Mill Geometry - Arc Plane [XY] Feedrate F[ ] Z[ ] Event 5 of 12 Coordinates [Polar] Type [Current] Z axis Z[ ] End [---] Direction [CW] Center [Polar] Arc Radius R[1 ] Start Angle AA[180 ] End Poin...

  • Page 384

    SECTION SEVEN - SAMPLE PROGRAMS Event 6 of 12 Mill Geometry - Arc Plane [XY] Feedrate F[ ] Direction [CW] Center [Abs Center] Arc Radius R[1 ] Arc Center XC[4 ] YC[2 ] End Point [Absolute] X[5 ] Y[2 ] Feedrate F[ ] Arc Center XC[7 ] -----...

  • Page 385

    SECTION SEVEN - SAMPLE PROGRAMS Event 8 of 12 Mill Geometry - Line Feedrate F[ ] Coordinates [Cartesian] Feedrate F[ ] Coordinates [Cartesian] X axis X[ ] Y axis Y[5 ] Z axis Z[ ] End [---] Extend Back [Off ] ---------------------------------------...

  • Page 386

    SECTION SEVEN - SAMPLE PROGRAMS Event 11 of 12 Tool Retract Point on part after tool retract Spindle off [Yes] X Position (home relative) [ ] End Mill Cycle [Cartesian] X[99 ] Y[0 ] --------------------------------------------------- Event 12 of 12 E...

  • Page 387

    SECTION SEVEN - SAMPLE PROGRAMS Sample 3B Same part as sample 3A but programmed using tangent line function. EIA Program Sample 3B N9 P91=0 N15 G2 XC[P90] YC[P91] R[P92] X[P80] Y[P81] N21 Y0 N1 T1 M6 N2 G41 D1 S3000 M3 N3 G65 X0 Y99 N4 G0 Y0 N5 G43 H1 Z.1 M8 N6 G1 Z-.375 F5 N7 X1 F25 N8 P90=...

  • Page 388

    SECTION SEVEN - SAMPLE PROGRAMS N25 M5 Note: Lines N8 thru N13 could be written as follows: N9 P90=2 P91=0 P92=1 P93=4 P94=2 P95=1 Explanation of EIA Program 3B N1 Tool change #1 N2 Selects left cutter compensation, activates tool #1's "D" offset, and turns on spindle CW (3000 rpm) ...

  • Page 389

    SECTION SEVEN - SAMPLE PROGRAMS N24 Rapids Z to .1, turns off coolant Conversational Program Sample 3BN21 Line move to X0 Y0 N22 Establishes a "point after pierce" of X99 Y0 Note: Machine does not move to this position. N23 Turns off cutter compensation N25 Turns off spindle E...

  • Page 390

    SECTION SEVEN - SAMPLE PROGRAMS Event 2 of 11 Tool Pierce - Start Mill Cycle Z Pierce Feedrate [5 ] Clearance [.1 ] Y Pierce Point Y[0 ] Y Before Pierce Y[99 ] --------------------------------------------------- Return Point [Clearance] Final Z Depth ...

  • Page 391

    SECTION SEVEN - SAMPLE PROGRAMS Event 4 of 11 Connect two arcs with tangent line or arc in the Plane [XY] Mill First arc in direction [CW] R1 [1 ] XC1 [2 ] YC1 [0 ] Connect with [a Line] Direction [CW] Arc Radius R[1 ] End Point [Absolute] ...

  • Page 392

    SECTION SEVEN - SAMPLE PROGRAMS Event 6 of 11 Mill Geometry - Arc Plane [XY] Arc Radius R[2 ] YC[2 ] End Option [---] Coordinates [Cartesian] End [---] --------------------------------------------------- Mill Geometry - Line Y axis Y[ ] En...

  • Page 393

    SECTION SEVEN - SAMPLE PROGRAMS Event 9 of 11 Mill Geometry - Line Feedrate F[ ] Coordinates [Cartesian] X axis X[ ] Y axis Y[0 ] Z axis Z[ ] Event 11 of 11 End [---] Extend Back [Off ] --------------------------------------------------- Event...

  • Page 394

    SECTION SEVEN - SAMPLE PROGRAMS Sample 4A EIA Program Sample 4A N1 T1 M6 N2 G41 D01 S3000 M3 N8 G2 XC0 YC-3 AB-45 R1 N11 G1 Y0 N14 G40 N3 G65 X99 Y0 N4 G0 X0 N5 G43 H1 Z.1 M8 N6 G1 Z-.375 F5 N7 Y-2 F25 N9 G3 XC2.1213 YC-2.2929 AB-45 R2 N10 G2 XC4.2426 YC-3 AB90 R1 N12 X0 N13 G65 Y-99 N15 G...

  • Page 395

    SECTION SEVEN - SAMPLE PROGRAMS Explanation of EIA Program Sample 4A Note: Machine does not move to this position. N1 Tool change #1 N2 Selects left cutter compensation, activates tool #1's "D" offset, and turns on spindle CW (3000 rpm) N3 Establishes a "point before pierce&qu...

  • Page 396

    SECTION SEVEN - SAMPLE PROGRAMS Conversational Program Sample 4A Event 0 of 10 Units [English] [ ] [ ] [ ] Tool Change Position X[ ] Spindle Restart [CW] Program Setup Program name [SAMPLE 4A ] Di...

  • Page 397

    SECTION SEVEN - SAMPLE PROGRAMS Event 2 of 10 Tool Pierce - Start Mill Cycle Z Pierce Feedrate [5 ] Return Point [Clearance] Clearance [.1 ] Final Z Depth [-.375 ] 1st Z Depth [-.375 ] Z Increment [1 ] X Pierce Point X[0 ] ...

  • Page 398

    SECTION SEVEN - SAMPLE PROGRAMS Event 4 of 10 Mill Geometry - Arc Plane [XY] Feedrate F[ ] End Point [Polar] Event 5 of 10 Direction [CW] Center [Abs Center] Arc Radius R[1 ] Arc Center XC[0 ] YC[-3 ] End Angl...

  • Page 399

    SECTION SEVEN - SAMPLE PROGRAMS Event 7 of 10 Mill Geometry - Line Coordinates [Cartesian] Tool Retract [Cartesian] Coolant off [Yes] Feedrate F[ ] X axis X[ ] Y axis Y[0 ] Z axis Z[ ] End [---] Extend Back [Off ] ---...

  • Page 400

    SECTION SEVEN - SAMPLE PROGRAMS Sample 4B Programming arc using 3 point circle generate. Points X1, X2, X3 are the points used to program each arc. EIA Program Sample 4B N1 T1 M6 N2 G41 D1 S3000 M03 N4 X0 N3 G65 X99 Y0 N5 G43 H1 Z.1 M8 N6 G1 Z-.375 F5 N7 Y-2 F25 N8 P90=0 N9 P91=-2 N10 P92=1...

  • Page 401

    SECTION SEVEN - SAMPLE PROGRAMS N19 P93=-4.2929 N20 P94=4.1213 N21 P95=-2.2929 N22 CGEN N23 G3 XC[P80] YC[P81] R[P82] AB300 N24 P90=4.2426 N25 P91=-4 N26 P92=3.2426 N27 P93=-3 N28 P94=4.2426 N29 P95=-2 N30 CGEN N31 G2 XC[P80] YC[P81] R[P82] X[P94] Y[P95] N32 G1 Y0 N33 X0 N34 G65 Y-99 N35 G40 N36...

  • Page 402

    SECTION SEVEN - SAMPLE PROGRAMS N16- Are the coordinates of 3 points on the second circle N21 N22 Calculates second circle based on the 3 points N23 Arc command which moves to the calculated points N24- Are the coordinates of 3 points on the third circle N29 N30 Calculates third circle base...

  • Page 403

    SECTION SEVEN - SAMPLE PROGRAMS Event 1 of 10 Tool Change Tool [Change] Tool Change Position X[ ] Y[ ] Tool Number T[1 ] Tool Description [ ] Next Tool Number [ ] Spindle Speed S[3000] Spindle Restart [CW] Coolant [Flood] ------...

  • Page 404

    SECTION SEVEN - SAMPLE PROGRAMS Event 3 of 10 Mill Geometry - Line Feedrate F[25 ] Coordinates [Cartesian] X axis X[ ] Y axis Y[-2 ] Z axis Z[ ] End [---] Extend Back [Off ] --------------------------------------------------- Event 4 o...

  • Page 405

    SECTION SEVEN - SAMPLE PROGRAMS Event 7 of 10 Mill Geometry - Line Feedrate F[ ] Coordinates [Cartesian] X axis X[ ] Y axis Y[0 ] Z axis Z[ ] End [---] Extend Back [Off ] --------------------------------------------------- Event 8 of...

  • Page 406

    SECTION SEVEN - SAMPLE PROGRAMS Sample 5 EIA Program Sample 5 N1 T1 M6 N2 G42 D1 S3000 M03 N3 G65 X99 Y0 N4 G0 X0 N5 G43 H1 Z.1 M8 N6 G1 Z-.375 F5 N7 Y2 F25 N8 G2 XC2 YC2 AB45 R2,R.0001 N9 X5 YC2 AB0 R2 N10 G1 Y0 N11 X0 N12 G65 Y99 N13 G40 N14 G0 Z.1 M9 N15 M5 Explanation of EIA Progra...

  • Page 407

    SECTION SEVEN - SAMPLE PROGRAMS N4 Sets a "pierce point" of X0 Y0; moves to its compensated point as established by the previous block N5 Calls tool #1's "H" offset, positions Z to .1, and turns on coolant N6 Feeds Z-.375 at 5 ipm N7 Line move to X0 Y2 at 25 ipm N8 CW arc ...

  • Page 408

    SECTION SEVEN - SAMPLE PROGRAMS Event 1 of 9 Tool Change Tool [Change] Tool Change Position X[ ] Y[ ] Tool Number T[1 ] Tool Description [ ] Next Tool Number [ ] Spindle Speed S[3000] Spindle Restart [CW] Coolant [Flood] ---...

  • Page 409

    SECTION SEVEN - SAMPLE PROGRAMS Event 3 of 9 Mill Geometry - Line Feedrate F[25 ] Coordinates [Cartesian] X axis X[ ] Y axis Y[2 ] Z axis Z[ ] End [---] Extend Back [Off ] --------------------------------------------------- Event 4 of...

  • Page 410

    SECTION SEVEN - SAMPLE PROGRAMS Event 6 of 9 Mill Geometry - Line Feedrate F[ ] Coordinates [Cartesian] X axis X[ ] Y axis Y[0 ] Z axis Z[ ] X axis X[0 ] Tool Retract End [---] Extend Back [Off ] ----------------------------...

  • Page 411

    SECTION SEVEN - SAMPLE PROGRAMS Sample 6 EIA Program Sample 6 N1 T1 M6 N2 G42 D1 S3000 M3 N3 G65 X0 Y0 N4 X.5 Y1.5 N5 G43 H1 Z.1 M8 N6 G1 Z-.375 F5 N7 X1 Y3 F25 N9 G3 XC-1.2689 YC2.2 X-3 R1.5 N15 G65 X1 Y3 N8 X0 N10 G1 X-4 N11 X-6.1 Y.5 N12 Y0 N13 X0 N14 X.5 Y1.5 N16 G40 N17 G0 Z.1 N18 M30 ...

  • Page 412

    SECTION SEVEN - SAMPLE PROGRAMS N3 Establishes a "point before pierce" of X0 Y0 Note: Machine does not move to this position. N4 Establishes a "pierce point" of X.5 Y1.5; moves to its compensated point as established by the previous block N5 Calls tool #1's "H&qu...

  • Page 413

    SECTION SEVEN - SAMPLE PROGRAMS Conversational Program Sample 6 Event 0 of 11 Program Setup Program name [SAMPLE 6 ] Dimensions [Absolute] Units [English] Work Coordinate [---] Setup Notes: [ ] [ ] [ ] [ ...

  • Page 414

    SECTION SEVEN - SAMPLE PROGRAMS Event 2 of 12 Tool Pierce - Start Mill Cycle Z Pierce Feedrate [5 ] Return Point [Clearance] Clearance [.1 ] Final Z Depth [-.375 ] 1st Z Depth [-.375 ] Z Increment [1 ] X Pierce Point X[.5 ] Y Pierce Point Y[1.5 ] Compe...

  • Page 415

    SECTION SEVEN - SAMPLE PROGRAMS Event 5 of 12 Mill Geometry - Arc Plane [XY] Feedrate F[ ] Direction [CCW] Center [Abs Center] Arc Radius R[1.5 ] Arc Center XC[-1.2689 ] YC[2.2 ] End Point [Absolute] X[-3 ] Y[ ] Z[ ] ...

  • Page 416

    SECTION SEVEN - SAMPLE PROGRAMS Event 8 of 12 Mill Geometry - Line Feedrate F[ ] Coordinates [Cartesian] X axis X[ ] Y axis Y[0 ] Z axis Z[ ] End [---] Extend Back [Off ] --------------------------------------------------- Event 9 of 12 Mill Geometry - ...

  • Page 417

    SECTION SEVEN - SAMPLE PROGRAMS --------------------------------------------------- Event 11 of 12 Tool Retract End Mill Cycle Point on part after tool retract [Auto] --------------------------------------------------- Event 12 of 12 End of Program Spindle off [Yes] C...

  • Page 418

    SECTION SEVEN - SAMPLE PROGRAMS Sample 7 This sample program uses the rotary axis. The "A" axis is programmed in decimal degrees in XXX.XXX format and performs linear interpolation with the X, Y, and Z axes. The feedrate for the rotary axis is specified in degrees per minute divide...

  • Page 419

    APPENDIX Error Messages 001 Invalid function number Note what just occurred and call for technical support. A call was made to a non-existent DOS function. 002 File not found File name specified as OLD does not exist. Try MENU. 003 Path not found The drive or subdirectory specified does not...

  • Page 420

    APPENDIX 100 Disk read error An attempt was made to edit a file that has been corrupted in some way, perhaps loss of power while editing, or an error 101 occurred while editing. Try a different file to see if the problem is specific to one particular file. If this is the case, the program must b...

  • Page 421

    APPENDIX 150 Disk is write-protected Check the write protect tab on the floppy disk that is being used. 151 Unknown unit 152 Drive not ready Check to see that there is a disk in the floppy drive. 153 Unknown command 154 CRC error in data The disk being read is corrupted. 155 Bad drive r...

  • Page 422

    APPENDIX Steps to take to avoid ERROR 203 (Heap overflow: Insufficient RAM memory) If text cycles or canned cycles are being loaded and not being used, turn them off. See PARMS-SETUP-MISC. 1) (F7) PARMS 2) (F9) CTRL 3) Move cursor to Load Text Cycles 4) Toggle to "No" 5) (ESC) 6) (ES...

  • Page 423

    APPENDIX This error may occur anytime a menu is being created for file selection when there are no files. There may be an unformatted disk in the floppy drive. Parts memory may be empty. 303 Problem saving program(s) to disk There is no floppy disk in the disk drive. The floppy disk may not have...

  • Page 424

    APPENDIX the floppy disk and the floppy path changed to save files to the sub-directory. This allows full use of the disk space. 316 Not enough storage to create a new file There is not enough parts space to create a new conversational program. Erase unnecessary programs to free up parts space. ...

  • Page 425

    APPENDIX 407 X axis excess error condition 411 B axis excess error condition Is the program in block mode or feedhold? 408 Y axis excess error condition 409 Z axis excess error condition 410 A axis excess error condition 412 C axis excess error condition These errors are caused by the axis not b...

  • Page 426

    APPENDIX 453 Tool pot not up during turret movement Check to see if the POT UP switch is functioning as it should be. 454 Not at tool change position Try commanding a G32 before the M6 command. 455 ATC arm is not out, axis movement not allowed 456 Can't process auto tool change after switchi...

  • Page 427

    APPENDIX 517 Parameter out of range Parameter number is less than zero. For parameter numbers greater than 699 you must use data mode (G10, G11). 518 Illegal program statement Command in program statement is not considered valid. 519 Feedrate out of range The programmed feedrate is beyond the &...

  • Page 428

    APPENDIX 533 Colinear arc to arc in round corner 535 Chamfer length is < 0 Chamfer length must be a positive number. 536 Can't chamfer and round the same corner Choose either chamfer or round corner. 537 Can't chamfer to or from arcs 538 Loop counter out of range The maximum number of lo...

  • Page 429

    APPENDIX 550 Bad numeric format Always use square brackets in pairs. 554 Tangent function overflow Expecting a numeric value, or a parameter value enclosed within [ ], after an address X, Y, Z, R, etc. 551 Multiple decimal points Multiple decimal points were detected within one numeric value. ...

  • Page 430

    APPENDIX 573 Round wall is not in a Start/End mill cycle -WHILE WEND loop- Use START at the beginning of the mill cycle and END at the end of the mill cycle. 574 Round wall radius will not span 1st Z depth and final Z depth 575 Tapered wall is not in a Start/End mill cycle -WHILE WEND loop...

  • Page 431

    APPENDIX 605 Can't modify dry run status while program is running Program must be halted before changing dry run status. Try HALT-DRY-RESUME. 606 Program N#### is empty Text program being run or verified is empty. Try editing and reposting the conversational file. 607 Can't exit DNC run mode...

  • Page 432

    APPENDIX 805 Invalid probe setup Input file does not start with a comment containing three asterisks. Also, the following three blocks should be X, Y, Z, or Y, X, Z depending on scan plane. 806 Scan origin expected Multiple pick segment started without defining the start of the scans within that...

  • Page 433

    APPENDIX 953 Obsolete bit access for ncb controller. 954 Control not detected. 955 Interface not detected. Byte Parameters 000 Parameter File Version 016 Cartesian Inch Leading Digits 017 Cartesian Inch Trailing Digits 018 Cartesian Metric Leading Digits 019 Cartesian Metric Trailing...

  • Page 434

    APPENDIX 072 Spindle on in Dry Run 073 Tool Table Diameters\Radius 076 Load Canned Cycles 075 Load Engraving Cycles 077 Check Spindle up to Speed 078 Check Spindle Zero Speed 079 G18 is ZX or XZ plane 080 Cad Type DXF or CDL 081 Special Flags 082 Offset Round and Tapered Walls...

  • Page 435

    APPENDIX 212 Second Hand-Wheel Axis 213 Probe Axis 214 Probe Input 215 Cranking Factor (for hand-wheeling thru a program) 218 Serial Key board 219 European Code 220 Door Open Axis 229 Yaskawa Axis Drives 231 Inverse Feed-rate in 1/Seconds or 1/Minutes 320-335 Machine Type ...

  • Page 436

    APPENDIX 542 Yaskawa M5 drive 543 Machine State 0=Nothing 1=Verifying 2=Program Running 544 Check Spindle in Gear P195 Scale factor opt. axis P198 Angle of rotation P200 Previous position (X) P202 Previous position (Z) P206 Previous pos. opt. axis Real Parameters Great care must be taken ...

  • Page 437

    APPENDIX P211 Current position (A) P212 Current position (B) P228 Current machine (B) P245 Tool offset optional axis P261 Active tool radius P263 Active radius offset number P304 Data mode P257 Temporary A position P258 Temporary axis position P259 Temporary axis position P213 Current pos. opt....

  • Page 438

    APPENDIX P369 Job time P316 Scale P317 Rotate P318 Mirror P370 True tool number P371- Unassigned P319 Work system P399 P320 Primary P321 Secondary P400 Work G92 axis 1 (X) P322 Tertiary P401 Work G92 axis 2 (Y) P323 Return plane P402 Work G92 axis 3 (Z) P324 Tapping P325 Custom code P326 Custom...

  • Page 439

    APPENDIX P440 Work coordinate 5 (B) P514 Start Mill Options P515 RufCutDepth P441 Work coord. 5 opt. axis P516 Island P442 Work coordinate 6 (X) P443 Work coordinate 6 (Y) P444 Work coordinate 6 (Z) P446 Work coordinate 6 (B) P456 Positive safe zone (Z) P460 Negative safe zone (X) P462 Negative s...

  • Page 440

    APPENDIX P1200- Axis 3 Address (Z) P850 ADC Sample P851 ADC Scale P852 ADC Value P853 ADC Trigger P854 Tapping Ramp High Gear P855 Spindle Encoder PPU2 P856- Unassigned P892 P893 Soft Start Delay P894 Clamped Feedrate P895 Cranking Max ipm P896 Handwheel Encoder PPU P970 Minimum Linear Rapid A...

  • Page 441

    APPENDIX 427 P1043 G30 reference point 2 (X) P1044 G30 reference point 3 (X) P1045 G30 reference point 4 (X) P1046 Max Handwheel Error (X) P1047- Unassigned (X) P1048 P1049 Feed Back (X) P1050 Invert Handwheel (X) (non-zero = invert handwheel direction) P1051 Gain Proportional (X) P1052 Gain ...

x