Navigation

  • Page 1

    April 2003 Table of ContentsiFadalUser ManualactionGoToR:Table of ContentsTable of Contents ........................................................................................................ iactionGoToR:Summary ..................................................................................

  • Page 2

    ii Table of ContentsApril 2003FadalUser ManualactionGoToR:M30 End Of All Subroutines actionGoToR:(Formats 1&2) ...................................................... actionGoToR:31actionGoToR:M30 End Of Program (Format 2)actionGoToR: ..............................................................

  • Page 3

    April 2003 Table of ContentsiiiFadalUser ManualactionGoToR:G17.1-G17.2 A/B Word Swap......................................................................... actionGoToR:55actionGoToR:G20 Inch Programming actionGoToR:...................................................................................

  • Page 4

    iv Table of ContentsApril 2003FadalUser ManualactionGoToR:G98 Return to actionGoToR:Initial Plane actionGoToR:.............................................................................. actionGoToR:74actionGoToR:Fixed Cycles actionGoToR:...........................................................

  • Page 5

    April 2003 Table of ContentsvFadalUser ManualactionGoToR:Enter .......................................................................................................... actionGoToR:130actionGoToR:Delete ................................................................................................

  • Page 6

    vi Table of ContentsApril 2003FadalUser ManualactionGoToR:Manual Data Input ........................................................................................ actionGoToR:154actionGoToR:Memory .....................................................................................................

  • Page 7

    April 2003 Table of ContentsviiFadalUser ManualactionGoToR:Gain ........................................................................................................... actionGoToR:181actionGoToR:3 Phase 5% Low: No ..................................................................................

  • Page 8

    viii Table of ContentsApril 2003FadalUser ManualactionGoToR:Error Messages ............................................................................................................225actionGoToR:Error Messages .......................................................................................

  • Page 9

    April 2003 Table of ContentsixFadalUser ManualactionGoToR:Command Menus actionGoToR:........................................................................................................ actionGoToR:379actionGoToR:Quick Keys Menu actionGoToR:.......................................................

  • Page 10

    x Table of ContentsApril 2003FadalUser ManualactionGoToR:Dual Arm Tool Changer ................................................................................. actionGoToR:475actionGoToR:Miscellaneous Control Options actionGoToR:.....................................................................

  • Page 11

    April 2003Section 1: Summary1FadalUser ManualSection 1: SummaryNC Word SummaryTable 1: NC Word SummaryNC Word Summary Definition AA axis angular motion command (or optional Servo Coolant)BB axis angular motion commandCC axis angular motion commandDTool diameter offsetEFixture offsetFFee...

  • Page 12

    2Section 1: SummaryApril 2003FadalUser ManualG CodesPreparatoryFunctionsCodes are divided into groups or families to distinguish which codes canfunction simultaneously in a program. Codes belonging to a similar groupcannot function together. Codes from different families or groups can functiontog...

  • Page 13

    April 2003Section 1: Summary3FadalUser ManualException: A G90 and G91 can appear on the same line. Each will affect themotion words to the right of the G90 or G91 codes.EXAMPLE:N14 G90 X5.321 G91 Y.25 G90 The X move will be made in absolute and the Y move will be made inincremental. The G90 at th...

  • Page 14

    4Section 1: SummaryApril 2003FadalUser ManualG40DYes-Cutter compensation canceledG41DYes-Cutter compensation left (climb)G42DYes-Cutter compensation right (conventional)G43JYes-Tool length compensation positiveG44JYes-Tool length compensation negativeG45I-YesTool offset single expansionG46I-YesTo...

  • Page 15

    April 2003Section 1: Summary5FadalUser ManualDefault StatusThe codes below are the default codes utilized by the control. They are in effectat power on, the beginning of program execution, when entering MDI, and afterM2.ResetFormat 1 will default to this status automatically. Format 2 will use th...

  • Page 16

    6Section 1: SummaryApril 2003FadalUser Manualbutton. The SU (Sum) command will reset and use the default status from theSETP parameters in both format 1 and 2.Note: The 1 indicates the code is in effect in Format 1. The 2 indicates thecode is in effect in Format 2. The P indicates that these code...

  • Page 17

    April 2003Section 1: Summary7FadalUser ManualNote: For M60 through M64 only, the use of a minus sign before the number(M-60) will cause the function to occur after motion. This allows the rotarymotion and brake application prior to any fixed cycle execution.Table 5: M Function Summary TableCodeSt...

  • Page 18

    8Section 1: SummaryApril 2003FadalUser ManualM33.1---YesStore and Load Pallet B - TestM41--Yes-Low RPM rangeM42--Yes-High RPM range Auto Hi/Low M43--Yes-High RPM range Manual changeM45---YesExecute fixed cycleM46-YesYes-Positive approach activateM47-YesYes-Positive approach cancelM48Yes-Yes-Poten...

  • Page 19

    April 2003Section 1: Summary9FadalUser ManualProgram Tape InputThe following is an example of the input format the control reads from a papertape or computer file:%N0.001 O100 (DRILL PROGRAMN1 M6 T1N2 (TOOL #1 CENTER DRILLN3 G0 G90 S10000 M3 E1 X1. Y2.N4 H1 M7 Z.1N5 G73 G99 R0+.1 Z-.75 F25. Q.1 X...

  • Page 20

    10Section 1: SummaryApril 2003FadalUser ManualTo send data to the VMC the procedure is as follows:1) Use the Change Device (CD, __ ) command to establish the proper baudrate (see Baud Rate).2) Enter the TA,1 command at the VMC.3) Start reading the paper tape or send data from the computer.4) Ente...

  • Page 21

    April 2003Section 1: Summary11FadalUser ManualN7 X1.F60.N8 M5 M9N9 G90 G0 H0 Z0N10 M2EXAMPLE:Format 2 ONLYIn programming Format 2 a colon (:) can be used in place of an O word.N1 :1 (PROGRAM 1N2 M6 T1N3 (TOOL #1 1/2 END MILLN4 G0 G90 S10000 M3 E1 X1. Y2.N5 H1 M7 Z.1N6 G1 Z-.1 F10.N7 X1.F60.N8 M5 ...

  • Page 22

    12Section 1: SummaryApril 2003FadalUser ManualThe only functions allowed to be used with the Page Editor and the NOEDITprograms are graphics, viewing the program, changing to another program,starting a new program, and running auto.Key LockThe KEY LOCK in the horizontal position locks out the ava...

  • Page 23

    April 2003Section 1: Summary13FadalUser ManualThis option starts a new program. Active memory is cleared and a new block(N.001) is created containing the new program number. Program input is fromthe machine’s keyboard.EXAMPLE:Option #4This option copies or duplicates a program stored in memory....

  • Page 24

    14Section 1: SummaryApril 2003FadalUser Manualc. The program contains a duplicate O word: the new programbecomes active; the old program is deleted.Format Classification SheetReference: Conforming to ANSI/EIA RS-274-D standard.MachineVertical Machining Center (VMC).FormatClassificationShorthandD6...

  • Page 25

    April 2003Section 1: Summary15FadalUser ManualA+4.3C+5.1M2.1 H2 T2 D2F4.2 S5.1 L4 P4 O4G Function Codes0, 1, 2, 3, 4, 5, 8, 9, 10, 15, 16, 17, 17.1, 17.2, 18, 19, 20, 21, 28, 28.1, 29,31, 31.1, 40, 41, 42, 43, 44, 45-48, 49, 50, 50.1, 51, 51.1, 51.2, 51.3, 52,52.1, 53, 54-59, 66-71, 73-76, 80-89,...

  • Page 26

    16Section 1: SummaryApril 2003FadalUser Manual75 to 7500 Bottom rangeVMC 15 HP 40 to 2500 Top belt range150 to 10000 Bottom rangeEXAMPLE:VMC 15 HP (Auto High/Low)75 to 2500 Top belt range, S.1 used to override belt to Top belt range 2501 to 10000 Bottom range, S.2 used to override belt to Bottom ...

  • Page 27

    April 2003Section 1: Summary17FadalUser ManualThe H word will pick up the diameter, and tool length offset from the tool table.It ranges from 1 through 99. It is also used for Tool timers selection.H99 Q Value H99 is used for automatic tool diameter override with CRC (see CRC).H0 cancels the curr...

  • Page 28

    18Section 1: SummaryApril 2003FadalUser ManualEXAMPLE:VMC 3016L X=30 inches, Y=16 inches, Z=20 inches (optional 28")Table size= 16" x 38" Maximum clearance under spindle is 24" Minimum clearance under spindle is 4"EXAMPLE:VMC 3016 X=30 inches, Y=16 inches, Z=20 inches (op...

  • Page 29

    April 2003Section 1: Summary19FadalUser ManualMaximum clearance under spindle is 24" (optional 32")Minimum clearance under spindle is 4"EXAMPLE:VMC 4020AX=40 inches, Y=20 inches, Z=20 inches (optional 28'')Table size= 48'' x 20''Maximum clearance under spindle is 24'' (optional 32'...

  • Page 30

    20Section 1: SummaryApril 2003FadalUser ManualGeometricRelationshipX, Y, Z, C per RS-267-A A, B need not be parallel to any particular axis.

  • Page 31

    April 2003Section 2: M Functions21FadalUser ManualSection 2: M FunctionsM0 Program StopM0 temporarily suspends program execution and cancels the spindle andcoolant functions. The CNC enters the WAITING state until the operator pushesone of the following buttons:• START or AUTO button (to contin...

  • Page 32

    22Section 2: M FunctionsApril 2003FadalUser ManualM1 Optional Program StopM1 is similar to M0 with the exception that the program will stop only when theoptional stop switch is in the ON position. This code could be included in aprogram for the convenience of the operator to allow the program to ...

  • Page 33

    April 2003Section 2: M Functions23FadalUser ManualG53 Z0M6 T1E0 X0 Y0 M2 (This is the end of the main program).M3 Spindle CWM3 is used to start spindle rotation in a clockwise direction.EXAMPLE:M6 T7 (TOOL #7, #1 C’DRILLM1G90 G0 S300 M3 E1 X0 Y0 (The spindle will turn on CW at this line).M3.1 ...

  • Page 34

    24Section 2: M FunctionsApril 2003FadalUser ManualM4 Spindle CCWThis function is used to start the spindle rotation in a counterclockwisedirection.EXAMPLE:X3.674 Y1.5M19Z-1.2M4 S300 (The spindle will turn on CCW at this line).Z-1.18 G1 F4.M4.1 Sub-Spindle On, Ignore MagnetM4.1 is used to start a...

  • Page 35

    April 2003Section 2: M Functions25FadalUser ManualM6 Tool ChangeM6 changes tools in the spindle. The M6 usually appears in a line with a T#code. The T# will specify which tool to pick up next. The M6 can be used fromany position on the table.M6 will cause the following events:• The current tool...

  • Page 36

    26Section 2: M FunctionsApril 2003FadalUser Manuallast programmed spindle speed. This may cause an over-speed of the nexttool. It is recommended that this parameter is set to NO.T-# Move ToolChangerA T-# in a line by itself (with no M6) will rotate the turret so that the turret #specified is oppo...

  • Page 37

    April 2003Section 2: M Functions27FadalUser ManualM9 cancels all Coolant functionsM7.1 Programmable Coolant OnThe M7.1 activates the optional Servo Coolant and the electrical receptaclelabeled “FLOOD” (Coolant One) only if M7 is selected as the Flood Coolant inthe SETP parameter page (see the...

  • Page 38

    28Section 2: M FunctionsApril 2003FadalUser ManualSETP ParameterThe M8.1 code will activate the optional Servo Coolant only when the SETPparameter is set for M8 as flood. If M8 is set to mist, then M7.1 must be usedto activate the optional Servo Coolant.M9 Coolant OffThe M9 code will cancel both ...

  • Page 39

    April 2003Section 2: M Functions29FadalUser Manual.Figure 2-2 M11 X Axis ReciprocationM12-M16 Reciprocation for Y, Z, B, AThese codes are similar to M11, however, they apply to the Y, Z, B, and A axes.M17 End of SubroutineThe M17 code is used to mark the end of a subroutine. No other coding isall...

  • Page 40

    30Section 2: M FunctionsApril 2003FadalUser ManualOptional: M17 (This marks the end of subroutine #1).L200 (SUB FOR X- MOVEX-.5Optional:M17 (This marks the end of subroutine #2).L300 (SUB FOR ALL HOLESG91L120Y-.5L220Required:M17 (This marks the end of subroutine #3).M30 (End of subroutine sect...

  • Page 41

    April 2003Section 2: M Functions31FadalUser ManualM19 Spindle Stop and OrientThis is used to stop and orient the spindle. This orientation lock is released byusing an M3 or M4 or by pressing the SPINDLE ON/OFF button.EXAMPLE:L100 (SUB FOR BROACHING KEY WAY, ONE STROKEG91 G1 F50. Z-.3 G9Y-.01 G9Z....

  • Page 42

    32Section 2: M FunctionsApril 2003FadalUser ManualL100 (SUB FOR HOLES (Subroutine Section).X2.965 Y-1.1107X4.1M17M30 (This is the end of the subroutine section of this program).(MAIN PROGRAM(Program execution begins after the M30 code).M30 End Of Program (Format 2)This is a format 2 feature. The...

  • Page 43

    April 2003Section 2: M Functions33FadalUser ManualM32 Load and Store Pallet AWhen Pallet B is in the load position, M32 will store Pallet B and the pallet armwill move to Pallet A. The machine will be placed in the WAITING state and thepallet door will remain open until the START button is presse...

  • Page 44

    34Section 2: M FunctionsApril 2003FadalUser ManualM 33.1 Load Pallet B & Verify Pallet B Has Been LoadedWhen Pallet A is in the load position, M33.1 will store Pallet A and load Pallet B.If Pallet B is in the load position, M33.1 will verify that Pallet B is at the loadposition. No movement w...

  • Page 45

    April 2003Section 2: M Functions35FadalUser ManualE2 X1. Y-1. (Move to second position, first null move).M45 (M45 is used because of the null move).E3 X1. Y-1.M45M46 Positive ApproachThis code causes the machine to move the X and Y axes in a negative, thenpositive, direction before the executio...

  • Page 46

    36Section 2: M FunctionsApril 2003FadalUser ManualM49 Potentiometer Controls OutThis code disables the potentiometers located on the pendant just above thejog selection switches. See the M48 example above.M48.1 & M49.1 Servo Coolant Potentiometer Controls In/OutM48.1 enables and M49.1 disable...

  • Page 47

    April 2003Section 2: M Functions37FadalUser Manual(P amount) is not long enough, the control will time out waiting for the A orB axes to return to position.M48.3 & M49.3 Pallet B Rotary Table Override PotentiometerM48.3 enables and M49.3 disables the Pallet B rotary table axis override pot.Th...

  • Page 48

    38Section 2: M FunctionsApril 2003FadalUser ManualM60A Axis Brake OnM61A Axis Brake OffM62B Axis Brake OnM63B Axis Brake OffM64Activate MP8 or MP11 ProbeM64 M66Activate MP12 ProbeM64 M67Activate Laser ProbeM65Activate TS-20 or TS-27 Touch ProbeM-60 & M-62 forFixed CyclesThe use of a minus sig...

  • Page 49

    April 2003Section 2: M Functions39FadalUser Manualchosen, the axes will meet detail at higher feed rates. At around 150 IPM, again of 125 should be used. Below 40 IPM, a gain of 100 is appropriate.M90 - DEFAULT (Determined by the SV command).M91 - NORMALM92 - INTERMEDIATEM93 - HIGHThe default (a...

  • Page 50

    40Section 2: M FunctionsApril 2003FadalUser ManualThe M94 and its parameters must be on a line with NO other codes. It is modaland is canceled by an M95. It only operates with the -3 processors or higher,and is not operational in the G91.1 mode. Deceleration occurs when the angle between moves is...

  • Page 51

    April 2003Section 2: M Functions41FadalUser ManualEXAMPLE:The second move is 135 degrees from the first move, therefore the feed will bemodified because the move is less than 170 degrees (set with the P word).Because the second move is less than one inch (set by the R1+1 word), thefeed will be mo...

  • Page 52

    42Section 2: M FunctionsApril 2003FadalUser ManualN16 M94.1 P170 Q10. R0+50. R1+1. R2+15.The modified feed rate would be determined by this formula:Fmodified = Fprogrammed - (Fprogrammed • Q word • Angular Difference / R2+#)With an angular difference of 60 degrees and a programmed feed rate o...

  • Page 53

    April 2003Section 2: M Functions43FadalUser ManualThese factors can be altered on-the-fly, can be hard coded in the program, orthe parameters can be used from and stored in a parameter page.• Use the DFF command to access the parameter page.• Use the background edit menu to alter the paramete...

  • Page 54

    44Section 2: M FunctionsApril 2003FadalUser ManualM95 Feed Forward CancelThis code is used to cancel the M94 mode. It is non modal and must be theonly code on the line.This code can also be used as a non modal form of the G9 code. If the programis in the G8 mode, an M95 on a line by itself will a...

  • Page 55

    April 2003Section 2: M Functions45FadalUser ManualFigure 2-5 Circular PathM97 Intersectional Cutter CompensationThis code is used to start the intersectional cutter radius compensation mode.The M97 code is modal and will remain in effect until the M96 code is used (seeSection 9 for details)EXAMPL...

  • Page 56

    46Section 2: M FunctionsApril 2003FadalUser ManualL WordSpecifies the number of times to execute the subprogram.EXAMPLE:N22 X1.0N23 M98 P3 L2 (Execute subprogram 3 and repeat 2 times).M99 End Of Subprogram (Formats 1 & 2)This code can be used to mark the end of a subprogram. If this is at th...

  • Page 57

    April 2003Section 3: G Codes47FadalUser ManualSection 3: G CodesG0 Rapid TravelG0 moves from one point to another point at the maximum traverse rate of themachine. G0 is generally used when cutting will not take place when movingfrom one location to another.Multiple axis moves begin by all axes m...

  • Page 58

    48Section 3: G CodesApril 2003FadalUser ManualG1 Linear Interpolation This code is used for linear interpolation. Linear moves can be made by one, orany combination of, all the active axes. See Section 13 for more details onlinear interpolation. See also Section 12 for rotary axis interpolation d...

  • Page 59

    April 2003Section 3: G Codes49FadalUser Manualduring three revolutions divide 180,000 by the RPM used. The 180,000represents time in milliseconds for three minutes.EXAMPLE:For 5000 RPM:180,000 / 5000 = 36G1 F10. Z-.25G4 P36 (Dwell for 36 milliseconds; 3 revolutions at 5000 RPM).Z0 G0G4 as an In-...

  • Page 60

    50Section 3: G CodesApril 2003FadalUser Manual• The G8 code is often used in combination with the M92 code.• This code is modal and will remain in effect until the G9 code is used.• The G8 code is a default code for format two.• The G8 code is incompatible with a G41 or G42 coded on the s...

  • Page 61

    April 2003Section 3: G Codes51FadalUser ManualEXAMPLE:X1.0 G9 (Because of the look ahead, the first G9 will be an in-position check).X2.0 G9 (In-position check).X3.0 G9 (In-position check).G10 Programmable Data InputThis code is used to replace, alter, or read the values of fixture offsets, to...

  • Page 62

    52Section 3: G CodesApril 2003FadalUser ManualL10Used to replace or alter tool length offsets: L10 P1-99 R0#With G90G10 L10 P12 R0 -5.467 (This replaces the current value of TLO #12 with -5.467).With G91G10 L10 P12 R0+1. (This adds one inch to the current value of TLO #12).L12Used to replace or...

  • Page 63

    April 2003Section 3: G Codes53FadalUser ManualL100 - L109Used to replace or alter the value of a variable: L100 P#With G90G10 L102 P-6.5 (This replaces the current value of the R2 variable with -6.5).With G91G10 L102 P+.543 (This adds .543 to the current value of the R2 variable).TUsed to facil...

  • Page 64

    54Section 3: G CodesApril 2003FadalUser ManualG15 YZ Circular Interpolation With The A AxisThis code is used when the bottom of a cutter is required to cut an arc with Y, Z,and A axis motion. See Section 12 for more details.G17-G19 Plane SelectionPlane selection codes are used to identify the pla...

  • Page 65

    April 2003Section 3: G Codes55FadalUser ManualG17.1-G17.2 A/B Word SwapThe G17.1 word activates B-axis command substitution for the A-axiscommand. This allows the use of the A axis rotary moves in one program foruse with rotary heads on both pallets. If the program calls for an A axis moveand the...

  • Page 66

    56Section 3: G CodesApril 2003FadalUser ManualG28 All axes will move to the current home positionM0 (OPERATOR CHANGE CLAMPSLEXAMPLE:M5 M9G28 Y6. The Y axis will move to Y6.0 (the initial position) then all axes move homeFormat 2Format 2 programming requires the axis to be specified in the block...

  • Page 67

    April 2003Section 3: G Codes57FadalUser ManualThis only returns the X axis to the INITIAL position before moving incrementallythe programmed amount. All other axes remain at their current location.G31 Probe Touch FunctionThe G31 is only used in conjunction with a probe. This code causes themachin...

  • Page 68

    58Section 3: G CodesApril 2003FadalUser ManualStoring Probed PositionsSaving PositionsThrough theRs-232 Port1) Any software designed to save data from the port will be sufficient to retainthe data.2) When a touch is made, the motion will stop and the current position will beoutput through the por...

  • Page 69

    April 2003Section 3: G Codes59FadalUser ManualG90 G1 X4. Y4. G31 F50.X0 Y0 G31.1 F1.#V1=AX This saves the X position to V1#V2=AY This saves the Y position to V2G31.1 Probe No Touch FunctionThis code causes the machine to stop motion when the probe is not touchingand then execution continues at ...

  • Page 70

    60Section 3: G CodesApril 2003FadalUser ManualG45 Tool Offset Single ExpansionThis code is used for extending the programmed axis move by a value stored inthe tool offset table. The value is determined by an H word. Program the Hword in the same block with the G45 code and an axis move. Only the ...

  • Page 71

    April 2003Section 3: G Codes61FadalUser ManualG46 Tool Offset Single ReductionThis code is used for reducing the program axis move by a value stored in thetool offset table. See G45.EXAMPLE:G0 G91G46 X-1.0 H1G47 Tool Offset Double ExpansionThis code is used for extending the program axis move by ...

  • Page 72

    62Section 3: G CodesApril 2003FadalUser ManualG50 Ramp Control CancelThis code resets the ramp control to the default values. See G51.G50.1 Mirror Image CancelThis code is used to deactivate the mirror image mode.EXAMPLE:G51.1 X0X3. Y-3.G50.1 Deactivates mirror imageG51 Ramp ControlThis code is ...

  • Page 73

    April 2003Section 3: G Codes63FadalUser Manualamplifier faults, and motor overload faults. If the operator notices any ofthese symptoms, lengthen the ramps.G51.1 Mirror ImageThis code activates the mirror image mode.The axes to be mirrored are identified in the same block with the G51.1 code.EXAM...

  • Page 74

    64Section 3: G CodesApril 2003FadalUser ManualG51.2 Tool Load Compensation (TLC)This code activates the Tool Load Compensation (TLC) option. The G51.2 andthe following parameters have been designed to automatically adjust the feedrate according to tool load conditions.This option is a time saver ...

  • Page 75

    April 2003Section 3: G Codes65FadalUser ManualH1 Z1. M7G51.2 R1+60.0 R2+50.0 R3+150.0 R4+15.0 Activate TLCG1 F100. Z-.1 ** cut part**G51.2 R1+0.0 Cancel TLCM6 T2 An M6 will also cancel TLCNote: The feed rate to be modified is on the line after the line where the G51.2was used. No other fe...

  • Page 76

    66Section 3: G CodesApril 2003FadalUser Manualbe scaled, it is suggested that the axes of the plane selection be scaledproportionally. For example, in G18 the X and Z axes should be scaled at thesame percentage. G52 Coordinate System ShiftThis code is used to shift the current Tooling Coordinate ...

  • Page 77

    April 2003Section 3: G Codes67FadalUser ManualCancel G52G52 X0 Shift is canceled to original X0 homeThe G52 shift amount is canceled by using another G52 in the program with azero shift amount. See the program example above.G53 Machine Coordinate SystemThis code causes the control to use the mac...

  • Page 78

    68Section 3: G CodesApril 2003FadalUser ManualG54-G59 Fixture OffsetsThese codes may be used for fixture offset locations E1 - E6. Specify a G54code to access fixture offset number 1, a G55 code for number 2, and up to aG59 code for number 6. For fixture offsets after number 6, the E words must b...

  • Page 79

    April 2003Section 3: G Codes69FadalUser Manual• Fixed subroutines and Fixed Cycles cannot be used in a subroutine thatwill be modal, however they can be in a subroutine that will not bemodal.EXAMPLE:This is the incorrect form of fixed cycles and subroutines in a sub.O1L100G81 G99 R0+.1 Z-.5 F40...

  • Page 80

    70Section 3: G CodesApril 2003FadalUser ManualG67 Cancel Modal SubroutineThe G67 cancels a modal subroutine. The G67 works in the same way as a G80cancels a fixed cycle.X6. Y-3. Repeat Subroutine 1 at this locationG67 Cancel modal Subroutine 1G68 Coordinate System RotationThe G68 activates a mod...

  • Page 81

    April 2003Section 3: G Codes71FadalUser ManualX1.0 Y.5 I0 J.25 G3 Code X even though it is a non-motion moveX0 Y.5 Code Y even though it is a non-motion moveX0 Y.25 G40 Code X even though it is a non-motion moveG69 Cancel rotationG69 Coordinate System Rotation CancelThis code cancels the coord...

  • Page 82

    72Section 3: G CodesApril 2003FadalUser ManualG90 Absolute InputA control mode in which the motion data input is in the form of absolutedimensions. The values programmed with the axis words are the locations tomove to in relation to the current zero position. See also Coordinate System,Section 11...

  • Page 83

    April 2003Section 3: G Codes73FadalUser ManualG91.1 High Speed ExecutionA control mode which enables high speed data block execution. Using the1400-2 processor, the CNC executes up to 72 data blocks per secondthroughput, whereas normal execution is about 22 per second.• When using the 1400-3 or...

  • Page 84

    74Section 3: G CodesApril 2003FadalUser ManualG28 X0 Y0 Move to original homeG92 X0 Y0 Cancels the previous G92 presetSee also Section 11, Program Coordinate System.G93 I/T (Inverse Time) Feed Rate Specification (IPM/inches, DPM/degrees)A control mode in which the feed rate is specified as one ...

  • Page 85

    April 2003Section 4: Fixed Cycles75FadalUser ManualSection 4: Fixed CyclesDefinitionA Fixed Cycle is a series of operations that directs Z axis and spindle movementto execute such actions as boring, drilling, and tapping. G codes 73-76 and81-89 define the operation, while F, I, J, K, P, Q, R0, an...

  • Page 86

    76Section 4: Fixed CyclesApril 2003FadalUser ManualR PlaneThis represents the location of the R0 plane (or minimum clearance plane). TheR0 plane is where the tool will begin to feed into the material. This locationmust be below or equal to the I plane.EXAMPLE:G90 where the I is equal to the R0 p...

  • Page 87

    April 2003Section 4: Fixed Cycles77FadalUser Manual1) Immediately execute a cycle when the cycle is defined. (Typical of format 2)2) Wait for a positional move to execute a cycle. (Typical of format 1)Note: For Option 2, the positional move can be in the cycle definition line. Ifany position wor...

  • Page 88

    78Section 4: Fixed CyclesApril 2003FadalUser ManualFeed rate for tapping (G74, G74.1, G84 and G84.1) Format 2Q Word1) Incremental step distance for intermittent functions (G73, G83). I, J, Kwords may be used in place of the Q word.2) Decimal thread lead for tapping (G74, G74.1, G75, G84, G84.1).H...

  • Page 89

    April 2003Section 4: Fixed Cycles79FadalUser ManualR Plane: R0 +/- #This represents the location of the R plane (or minimum clearance plane). TheR plane is where the tool will begin to feed into the material. This location mustbe below or equal to the I plane.In the absolute mode (G90), the value...

  • Page 90

    80Section 4: Fixed CyclesApril 2003FadalUser ManualEXAMPLE:The following example performs the same functions as before with various Zdepth changes.G90 Z.1G81 G98 R0+.1 Z-.5 F40 X1.0 Y1.0X2.0 Z-.7 R0+.1XX3.0 Z-.3 R0+.1Y-1.0Y-2.0 Z-.8 R0+.1Note: Restate R0 even if not changed.2.50.50.35.701.051.2.4...

  • Page 91

    April 2003Section 4: Fixed Cycles81FadalUser ManualG73 Peck DrillingUsing QN3 G73 G99 R0+.1 Z-1.2 F10. Q.1 P.02 X-.50 Y-.35Drill .25 each step (Q.26), returning incrementally +.05 after each peck, thendown -.03 (.05 -.02 due to P.02) to the next peck plane, until the final depth isaccomplished. T...

  • Page 92

    82Section 4: Fixed CyclesApril 2003FadalUser ManualDrill in one complete motion at a feed rate of 10.0 IPM. G82 Counter Boring,Center Drilling, SpotFacingN3 G82 G99 R0+.1 Z-1.2 F10. P23 X-.50 Y-.35 Bore to depth, dwell for 23 milliseconds then retract the Z axis at high speed.Dwell time for three...

  • Page 93

    April 2003Section 4: Fixed Cycles83FadalUser ManualG84.1 Right HandRigid TappingN3 G84.1 G99 R0+.1Z-1.2 F2000.2 Q.05 X-.50 Y-.35 (Format 1)Tap at 2000 RPM in the high range at a feed rate calculated by the CNC, thespindle stops and reverses, retracting the Z axis to the R plane. (See Tappingcycle...

  • Page 94

    84Section 4: Fixed CyclesApril 2003FadalUser ManualG80 - Cancel CyclesG98 - Return to initial plane after final ZG99 - Return to R0 plane after final ZG73 - Peck Drillingusing QG87Feed--FeedBoringG88FeedYes-FeedBoringG89FeedYes-FeedBoringTable 1: Cycle SummaryCodeMovement InDwell at BottomSp...

  • Page 95

    April 2003Section 4: Fixed Cycles85FadalUser ManualG73 - Peck Drillingusing I, J, KKK.I DEPTHZ FINAL (G99)R PLANE (G98)I PLANE FEED RATES RAPID MOVES (BEFORE PECK)P=FEED DISTANCEK=MINIMUM PECKJ=REDUCING VALUEI=INITIAL PECKPPPX,Y..G73 G99(G98) R0...Z...F...I...J...K...P...(OPTIONAL)PE...

  • Page 96

    86Section 4: Fixed CyclesApril 2003FadalUser ManualG74 - Left HandTapping (Format 1) FEED RATES RAPID MOVES (OPTIONAL)P=RETRACT FEED %Q=THREAD LEADF=RPM ...(OPTIONAL)G74 G99(G98) RO...Z...F...Q...P..X,Y. DEPTHZ FINAL (G99)R PLANE (G98)I PLANEFORMAT 1R...

  • Page 97

    April 2003Section 4: Fixed Cycles87FadalUser ManualG74 - Left HandTapping (Format 2)SPINDLE FORWARDREVERSESPINDLEFORMAT 2 (G98)I PLANE (G99)R PLANE DEPTHZ FINAL.X,Y ...(OPTIONAL)G74 G99(G98) RO...Z...F...P.. FEED RATES RAPID MOVES (OPTIONAL)P=RETRACT FEED...

  • Page 98

    88Section 4: Fixed CyclesApril 2003FadalUser ManualG75 - Tapping HeadCycle(Formats 1 & 2)G76 - Fine BoringUsing QREVERSESPINDLEFORMAT 1 & 2 (G98)I PLANE (G99)R PLANE DEPTHZ FINAL.X,Y ...(OPTIONAL)G75 G99(G98) RO...Z...F...Q...P.. FEED RATES RAPID MOVE...

  • Page 99

    April 2003Section 4: Fixed Cycles89FadalUser ManualG76 - Fine BoringUsing I, JG81 - Spot DrillingNote: Use G82 for center drilling. FEED RATES RAPID MOVESJ=AMOUNT & DIRECTION OF Y SHIFTI=AMOUNT & DIRECTION OF X SHIFTG76 G99(G98) RO...Z...

  • Page 100

    90Section 4: Fixed CyclesApril 2003FadalUser ManualG82 - CounterBoringUse this for center drilling, counter sinking, and counter boring.Dwell time for three revolutions is calculated: 180000/RPM=P word valueG83 - Deep HoleDrilling Using QDWELL (G98)I PLANE (G99)R PLANE DEPTHZ FINAL.X,YG82 G99(...

  • Page 101

    April 2003Section 4: Fixed Cycles91FadalUser ManualG83 - Deep HoleDrilling using I, J, KKK.I FEED RATES RAPID MOVES BEFORE PECKP=FEED DISTANCEK=MINIMUM PECKJ=REDUCING VALUEI=INITIAL PECKPECK MINUS JPREVIOUS DEPTHZ FINAL (G99)R PLANEPPP.. (G98)I PLANEX,YG83 G99(G98) R0.....

  • Page 102

    92Section 4: Fixed CyclesApril 2003FadalUser ManualG84 - Right HandTapping (Format 1) FEED RATES RAPID MOVES (OPTIONAL)P=RETRACT FEED %Q=THREAD LEADF=RPM ...(OPTIONAL)G84 G99(G98) RO...Z...F...Q...P..X,Y. DEPTHZ FINAL (G99)R PLANE (G98)I PLANEFORMAT 1FORW...

  • Page 103

    April 2003Section 4: Fixed Cycles93FadalUser ManualG84 - Right HandTapping (Format 2)G85 - Bore In, BoreOut FEED RATES RAPID MOVES (OPTIONAL)P=RETRACT FEED %F=RPM ...(OPTIONAL)G84 G99(G98) RO...Z...F...P..X,Y. DEPTHZ FINAL (G99)R PLANE (G98)I PLANEFOR...

  • Page 104

    94Section 4: Fixed CyclesApril 2003FadalUser ManualG86 - Bore In,Spindle Off, RapidOutG87 - Bore In, BoreOutAND ORIENTSPINDLE STOP (G98)I PLANE (G99)R PLANE DEPTHZ FINAL.X,YG86 G99(G98) RO...Z...F FEED RATES RAPID MOVESFigure 4-16 G86-Bore In, Spindle Off, Rapid Out (G98...

  • Page 105

    April 2003Section 4: Fixed Cycles95FadalUser ManualG88 - Bore In, Dwell,Bore OutDwell time for three revolutions is calculated: 180000/RPM=P word valueG89 - Bore In, Dwell,Bore OutDwell time for three revolutions is calculated: 180000/RPM=P word valueP=DWELL IN MILLISECONDSDWELL (G98)I PLANE (G...

  • Page 106

    96Section 4: Fixed CyclesApril 2003FadalUser ManualTapping Cycles The fixed cycle used for tapping is depends on which tapping attachment isbeing used. The cycles and examples given here have been approved by thetapping attachment manufacture specified.General TappingRulesRamping:Program a G8 (No...

  • Page 107

    April 2003Section 4: Fixed Cycles97FadalUser ManualFeed RateCalculationThe feed rate programmed should use 100 percent of the optimum feed rate.The optimum feed rate is the RPM times the thread lead.EXAMPLE:1/4-20 Tap at 2000 RPMFeed rate = (1 / threads per inch) * RPM = (1 / 20) * 2000= .05 * 2...

  • Page 108

    98Section 4: Fixed CyclesApril 2003FadalUser ManualProgram Coding:Program coding varies with the tapping attachment and the machine format.Below are examples of the most common uses and attachments.Metric Threads:Metric threads may be cut in the inches mode. The Q word is calculated usingthe thre...

  • Page 109

    April 2003Section 4: Fixed Cycles99FadalUser Manualtapping cycle, the machine prepares the spindle. This is an automatic processaccomplished by four revolutions of the spindle. The preparation is done afterthe H offset is applied and just before the cycle begins. The use of the G74.2 orG84.2 prep...

  • Page 110

    100Section 4: Fixed CyclesApril 2003FadalUser ManualM48, M49:When using the Bore Cycle (G85), the feed rate and spindle speedpotentiometers must be disabled. With the potentiometers disabled themachine uses the programmed feed rates. This is accomplished with the M49code. At the completion of the...

  • Page 111

    April 2003Section 4: Fixed Cycles101FadalUser ManualProcunier SeriesThe tapping heads in this series should use the G75 Tapping Cycle.EXAMPLE:(Format 1 or Format 2):N1 O1 (PROCUNIER SERIESN2 G0 G8 G90 S2000 M3 E1 X0 Y0N3 H1 M7 Z.4N4 G75 G99 R0+.4 Z-.3 F2000. Q.05 X0 Y0N5 X1.N6 G80 N7 M5 M9Compres...

  • Page 112

    102Section 4: Fixed CyclesApril 2003FadalUser ManualDeep HoleProgramming UsingG73 and G83 I, J,and KThe G73 and G83 I, J, K programming options allow the programmer tocustomize the drill cycle steps up to the final Z depth. This would be used whenthe steps can be large at the top of the hole and ...

  • Page 113

    April 2003Section 5: Subroutines & Subprograms103FadalUser ManualSection 5: Subroutines & SubprogramsSubroutinesSubroutines are used for contours, hole patterns, or any actions that repeat orare used in many locations. Typically subroutines will contain only positionalmoves. Feed rates, t...

  • Page 114

    104Section 5: Subroutines & SubprogramsApril 2003FadalUser ManualEnding a SubroutineA subroutine ends with the L word that starts the next subroutine or with anM17. The M17 must be the only word in the block in which it appears.The last subroutine in the program MUST have an M17 coded at the ...

  • Page 115

    April 2003Section 5: Subroutines & Subprograms105FadalUser ManualNestingA subroutine may be called for execution from another subroutine. This iscalled subroutine “nesting.”Subroutines may be nested as many as seven deep. This means that at somepoint in a subroutine another subroutine can...

  • Page 116

    106Section 5: Subroutines & SubprogramsApril 2003FadalUser Manual Drill cycleN12 G81 G99 R0+.1 Z-.475 F20.N13 L101 Call Subroutine 1N14 N15 M6 T2 Tool #2 tapN16 G0 G90 S600 M3 E1 X0 Y0N17 H2 M7 Z.25N18 G84 G98 R0+.1 Z-.5 F600. Q.05 Tap CycleN19 L101 Call SubroutineN20 M5 M9N21 G0 G49 G9...

  • Page 117

    April 2003Section 5: Subroutines & Subprograms107FadalUser ManualParametric Programming Generalized subroutines can be written with the use of subroutine parameters.In a generalized subroutine, the numerical value of the A, B, E, F, G, H, I, J, K,L, M, P, Q, R, S, T, X, Y, Z words need not be...

  • Page 118

    108Section 5: Subroutines & SubprogramsApril 2003FadalUser ManualIndefinite Subroutine RepetitionsIn some cases a subroutine needs to be repeated an indefinite number oftimes. This is accomplished by using a .1 extension at the end of a subroutinecall.N1 L100N2 E1 X.45 Y-1.05N3 G81 G99 R0+.1 ...

  • Page 119

    April 2003Section 5: Subroutines & Subprograms109FadalUser ManualH1 D1 Z1. M8G82 G99 R0+.1 Z-.25 F45.M98 P2 L1 Call subprogram #2 one time. This is where the sub returns after executionM5 M9G80G90 G0 G49 Z0M6 T2 (TOOL #2G90 G0 S2000 M3 G54 X0 Y0H2 D2 Z1. M8G83 G99 R0+.1 Z-2.1 F37. Q.3143M98 ...

  • Page 120

    110Section 5: Subroutines & SubprogramsApril 2003FadalUser ManualThis page intentionally left blank.

  • Page 121

    April 2003Section 6: Fixed Subroutines111FadalUser ManualSection 6: Fixed SubroutinesDefinitionFixed Subroutines are dedicated cycles, standard in the memory of the control.They are called by the use of an L word (L9101 - L9901) and will useparameters (R0-R4, Z, & F). Fixed subroutines can be...

  • Page 122

    112Section 6: Fixed SubroutinesApril 2003FadalUser Manual7) R4 is the serialization increment selector (1-9). Enter the R4 value for theincrement amount. R4+1. increments the number by one for each part. R1must be R1+2 or R1+3 to allow R4 to function.8) F is the feed rate.9) The comment or words ...

  • Page 123

    April 2003Section 6: Fixed Subroutines113FadalUser ManualEXAMPLE:N1 O1 (SAMPLE ENGRAVING PROGRAMN2 M6 T1N3 (TOOL #1 ENGRAVING TOOL .015 CENTER DRILLN4 G0 G90 S10000 M3 E1 X.375 Y-.6175N5 H1 D1 M8 Z.05 (DIAMETER .015 IN OFFSET PAGEN6 L9201 R0+.05 R1+0 R2+.125 R3+0 Z-.005 F40. (ENGRAVEN7 M5 M9N8 G9...

  • Page 124

    114Section 6: Fixed SubroutinesApril 2003FadalUser ManualThe preceding example engraves ENGRAVE 1 on the first part and ENGRAVE 2on the second and so on. This example will engrave the numbers 1, 2, 3, 4, 5,6, 7, 8, 9, and 0. After the 0 the number 1 is engraved again. Further, themaximum number o...

  • Page 125

    April 2003Section 6: Fixed Subroutines115FadalUser ManualComputing EndSpacingThe L9201 Fixed Subroutine calculates the end spacing for each character asfollows:End spacing = (actual height) * (end factor)Computing StartPositionX: The L9201 Fixed Subroutine will move to the X position specified in...

  • Page 126

    116Section 6: Fixed SubroutinesApril 2003FadalUser ManualEngraving length = (actual height) * (width factor)or, in this example, engraving length = (.110) * (6.7269) = .73996Note: The tool diameter must be entered in the offset page, and an H wordand/or D word must be used in the program prior to...

  • Page 127

    April 2003Section 6: Fixed Subroutines117FadalUser ManualThe letter width is based on the box space for each letter. The Start and Endfactors are used to calculate the distance from the edge of the letter box to thestart and end points of the letter.Table 2: Letter Width Factor TableCharacterWid...

  • Page 128

    118Section 6: Fixed SubroutinesApril 2003FadalUser ManualBolt CircleL93NN Bolt Circle1) R0 represents the I definition of a circle. This is the X direction anddistance from the starting position to the center.2) R1 represents the J definition of a circle. This is the Y direction anddistance from ...

  • Page 129

    April 2003Section 6: Fixed Subroutines119FadalUser ManualMill BoringL94NN Mill BoringCycleCounterclockwise1) A tool must have been specified by an H or D word and the tool diameterMUST be in the tool table.2) R0 represents the feed rate.3) R1 represents the diameter of hole to be bored.4) NN repr...

  • Page 130

    120Section 6: Fixed SubroutinesApril 2003FadalUser ManualL95NN Mill BoringCycle Clockwise1) A tool must have been specified by an H or D word and the tool diameterMUST be in the tool table.2) R0 represents the feed rate.3) R1 represents the diameter of hole to be bored.4) NN represents the number...

  • Page 131

    April 2003Section 6: Fixed Subroutines121FadalUser ManualRectangular Pocket Clean-outL9601 RectangularPocket Clean-outCounterclockwise1) A tool must have been specified by an H or D word and the tool diameterMUST be in the tool table.2) R0 represents the feed rate.3) R1 represents the radius on t...

  • Page 132

    122Section 6: Fixed SubroutinesApril 2003FadalUser ManualEXAMPLE:N1 O1 (RECT CLEANOUT CCW EXAMPLEN2 M6 T1N3 G0 G90 S2000 M3 X1.0 Y1.0 N4 H1 D1 M7 Z.1N5 G1 F10. Z-1.N6 L9601 R0+10. R1+.01 R2+3.25 R3+1.75 N7 M5 M9N6 G0 G49 G90 Z0L9701 RectangularPocket Clean-outClockwise1) A tool must have been spe...

  • Page 133

    April 2003Section 6: Fixed Subroutines123FadalUser Manual3) Start Rectangular Pocket Subroutine.EXAMPLE:N1O1 (RECT CLEANOUT CW EXAMPLEN2 M6 T1N3 G0 G90 S2000 M3 X1.0 Y1.0 N4 H1 D1 M7 Z .1N5 G1 F10. Z-1.N6 L9701 R0+10. R1+.01 R2+3.25 R3+1.75 N7 M5 M9N8 G0 G49 G90 Z0

  • Page 134

    124Section 6: Fixed SubroutinesApril 2003FadalUser ManualCircular Pocket Clean-outL9801 CircularPocket Clean-outCounterclockwise1) A tool must have been specified by an H or D word and the tool diameterMUST be in the tool table.2) R0 represents the feed rate.3) R1 represents radius on the corner ...

  • Page 135

    April 2003Section 6: Fixed Subroutines125FadalUser ManualN6 L9801 R0+10. R1+.01 R2+1.75 N7 M5 M9N8 G0 G49 G90 Z0L9901 CircularPocket Clean-outClockwise1) A tool must have been specified by an H or D word and the tool diameterMUST be in the tool table.2) R0 represents the feed rate.3) R1 represent...

  • Page 136

    126Section 6: Fixed SubroutinesApril 2003FadalUser ManualN3 G0 G90 S2000 M3 X1.0 Y-1.0N4 H1 D1 M7 Z.1N5 G1 F10. Z-1.N6 L9901 R0+10. R1+.01 R2+1.75 N7 M5 M9N9 G0 G49 G90 Z0

  • Page 137

    April 2003Section 7: Keyboard127FadalUser ManualSection 7: KeyboardKey Lock Switch (Edit Protection)VERTICAL POSITION: Enable editing the CNC program.HORIZONTAL POSITION: Disable editing the CNC program.Block Skip SwitchDOWN POSITION: The down position (OFF) causes the control ...

  • Page 138

    128Section 7: KeyboardApril 2003FadalUser ManualRapid Travel SelectorThis switch selects the rapid movement speed (G0, G5).100% of maximum rapid traverse50% of maximum rapid traverse25% of maximum rapid traverseFeed Rate Override PotentiometerThis potentiometer controls the speed of axis motion.1...

  • Page 139

    April 2003Section 7: Keyboard129FadalUser ManualSpindle Speed Override PotentiometerThis Potentiometer controls the programmed spindle RPM. The maximumoverride is 200% of the last programmed spindle speed (S word) executed bythe CNC program or in MDI.The override percentage will not exceed the cu...

  • Page 140

    130Section 7: KeyboardApril 2003FadalUser ManualEnterThis key is used to indicate that you have completed the entry of yourcommand or a line of data.DeleteThis key stops input of data on the program line. The data entered prior to thedelete key is disregarded and the control is ready to receive t...

  • Page 141

    April 2003Section 7: Keyboard131FadalUser ManualAutoThis key initiates execution of the current CNC program. Pressing this key in the command mode the CNC displays the AUTO MODEscreen. Pressing AUTO again initiates program processing. The controlcontinues to process the program until the buffer i...

  • Page 142

    132Section 7: KeyboardApril 2003FadalUser ManualSlide HoldThe SLIDE HOLD button stops the movement of the X,Y, Z, A, & B. The Spindleand coolant are not affected by the SLIDE HOLD. The CNC will resume motionafter the START or AUTO button is pressed.WARNING: Before continuing AUTO, check to se...

  • Page 143

    April 2003Section 7: Keyboard133FadalUser ManualPressing 2: The CNC will continue the machining operation, change theposition read-out to the last machined position, while retaining the JOG offsetuntil one of the following conditions cancels the jog offset:• aborting the AUTO mode.• a G28 wit...

  • Page 144

    134Section 7: KeyboardApril 2003FadalUser ManualSpacebar, Background EditingTo use background editing, the programmer must have the control in AUTOand press the SPACE BAR at the keyboard.The space bar toggles the screen between the BACKGROUND EDITING MENUand the AUTO MODE screen. While in the BAC...

  • Page 145

    April 2003Section 7: Keyboard135FadalUser ManualC KEY, change line or edit the line on which the cursor points.I KEY, insert below the cursor line.S KEY, search for a specified word.R KEY, search and replace a specified word.P KEY, change or review programs in memory.JOG KEY, JOG away from the cu...

  • Page 146

    136Section 7: KeyboardApril 2003FadalUser Manual5) The CNC program has issued a M0 or M1 command. 6) The CNC is in the SINGLE STEP mode. This key is also used to override aprogrammed dwell command (see Section 3, G4 code).Emergency StopThis switch is used to disconnect the control from all machin...

  • Page 147

    April 2003Section 8: Commands137FadalUser ManualSection 8: CommandsTable 1: Command ListDESCRIPTIONCOMMANDPARAMETERSAUTO:AU,From, to, dry run option, direct block startBACKLASH: BL, Axis no., amount at center, at - limit, at + limitCHANGE DEVICE: CD, Baud rate, line feed option, command echo, dev...

  • Page 148

    138Section 8: CommandsApril 2003FadalUser ManualAutoAU, From, To, DryRun, Direct BlockStartThis command is used instead of the AUTO key when a mid-program start or adry run is desired. The “From” parameter specifies the first block to beexecuted. If it is zero, the first program block of the ...

  • Page 149

    April 2003Section 8: Commands139FadalUser ManualIf the fourth parameter is a 1, execution begins directly and the control will notsearch for modal function codes specified before the block number in the firstparameter; caution must be taken. If the fourth parameter is greater than 1, theCNC begin...

  • Page 150

    140Section 8: CommandsApril 2003FadalUser ManualNote: The 57,600 and 115,200 baud rates can only be established from theCommand Mode.EXAMPLE:LINE FEED OPTION: 1=NO LINE FEEDS TRANSMITTED TO THE RS-232 PORTEXAMPLE:COMMAND ECHO OPTION: 1=NO COMMAND ECHO TO THE RS232 PORTEXAMPLE:DEVICE OPTION: 0=THE...

  • Page 151

    April 2003Section 8: Commands141FadalUser ManualTO ADD:G90TYPE:G0 G90 (if not the G0 is replaced by G90)BLOCK CORRECTED:N30 G0 M8 G90To delete from block number 30:TYPE COMMAND:CH,30BLOCK DISPLAY:N30 G0 M8 G90TO DELETE:M8TYPE:M;BLOCK CORRECTED:G0 G90BLOCK DISPLAY:N30 G1 X9.845TO DELETE:45TYPE:45;...

  • Page 152

    142Section 8: CommandsApril 2003FadalUser Manualspace bar to toggle that commands lock/unlock status. Press the "manual" keyto save the current settings and exit from the command lock menu.There are three commands that will not lock/unlock without the user entering aspecial password. Th...

  • Page 153

    April 2003Section 8: Commands143FadalUser ManualCopy ProgramCO, From, Through,To Just AfterThis copies one or more blocks specified by “From, Through” parameters tojust after the block specified by “To Just After” parameter. The original blocksare not deleted. The copied blocks are renumb...

  • Page 154

    144Section 8: CommandsApril 2003FadalUser ManualPress AUTO or START to move to that position and establish the ToolingCoordinate System (see SETH command). Press MANUAL to return the CNC tothe COMMAND mode.Display Bucket # DDDisplays the bucket number and tool number table, and identifies the buc...

  • Page 155

    April 2003Section 8: Commands145FadalUser Manualto change the parameters of a tool. The space bar will exit to the tool lengthoffset menu.Figure 8-2 Advanced Feed Forward ParametersNO.GAINDECELACCELDETAILFEED1100.0000400.000010.00000.0100125.00002100.0000400.000010.00000.0020100.000034567100.0000...

  • Page 156

    146Section 8: CommandsApril 2003FadalUser ManualDisplay Fixture OffsetsDFThis displays the current table of the 48 fixture offsets. In the example below,offset 2 has a -1.0 value for the X, Y, Z, A, and B axes. DiagnosticsDIThis command is used by trained maintenance personnel. The EmergencyStop ...

  • Page 157

    April 2003Section 8: Commands147FadalUser Manualdirect block start in AU. This parameter may be used in conjunction with theMid Tape Start.XModem Direct Numerical ControlDNCX, Video Option,Error Option, DryRun, Start BlockNum.This command operates the same as the DNC command. This command usesthe...

  • Page 158

    148Section 8: CommandsApril 2003FadalUser ManualF = FULL TABLEPressing the F key clears the screen and continues auto part path draw at fulltable plotting. This is used after the part path plot has been ZOOMED inwardand the user wants to see the whole part path again on a full table display.M = T...

  • Page 159

    April 2003Section 8: Commands149FadalUser Manualup and down. Z and the Hand wheel increases or decreases the size of the box.Locate the box and place it around the portion of the part path the user wantsto see in a larger detail. Press the ENTER button and the part path contained inthe ZOOM box w...

  • Page 160

    150Section 8: CommandsApril 2003FadalUser ManualDisplay Tool Time TableDTTThis command is used to display the Tool Time table. The menu at the bottomof the display is a summary of keys used to page through the tool time table,edit data, and exit the display.WARNING: Tool times become active only ...

  • Page 161

    April 2003Section 8: Commands151FadalUser ManualTimers1) ALL TOOL TIMING OFF Do not check the tool time table; factory set to off.2) DO NOT CHECK Tool timers will be active and count, will not check USEDtime.3) END OF TOOL(AT M6) Tool timers active and will check USED after everyM6. If US time...

  • Page 162

    152Section 8: CommandsApril 2003FadalUser ManualEXAMPLE:FO,2,-2.0,-2.0,2.0,100.0,205.7 Enters for offset number 2 a value of X-2.0, Y-2.0, Z+2.0, A100.0, and B207.5FO,2,,,-2.0 This command will not change the X,Y,A and B values. The Z parameter will be changed to a value of -2.0 (see Section 11, ...

  • Page 163

    April 2003Section 8: Commands153FadalUser ManualInsert BlocksIN, From, IncrementInsert blocks in the program. The “From” parameter specifies the startingsequence number. If “From” is not specified, 1 is assumed. The next sequencenumber will be determined by adding the “Increment” para...

  • Page 164

    154Section 8: CommandsApril 2003FadalUser Manual1) Enter the command LE with desired block number, increment and toolbeing used (a length must have been specified in the tool table or the CNCwill use the total Z length from the zero position).2) Once in the learn mode press the jog key.3) Jog the...

  • Page 165

    April 2003Section 8: Commands155FadalUser Manual• AUTO or START key (to execute the data)- or -• MANUAL key (to abort and return to the command mode)Every block entered thereafter is executed immediately upon pressing theENTER key:1) Type MD then press ENTER to put the control in the MDI mode...

  • Page 166

    156Section 8: CommandsApril 2003FadalUser ManualRenumber ProgramNU, IncrementRenumbers the current program. The value supplied as “Increment” is used asthe first block number and then is used as the step between blocks for the restof the program. If the “Increment” parameter is left blank...

  • Page 167

    April 2003Section 8: Commands157FadalUser ManualP key Program selectionN key Number linesF key Function (Function) menu: move (cursor to position first)G key Graphics menu (see Draw command)AUTO key Begin program from beginning, from cursor line or search models and begin from cursorEditing...

  • Page 168

    158Section 8: CommandsApril 2003FadalUser ManualWhen all data has been successfully entered, press the C key for compute. Thegeometry will automatically be computed and displayed at the bottom portionof the screen.By pressing the D key graphics will enlarge to cover the entire screen. To ZOOMin, ...

  • Page 169

    April 2003Section 8: Commands159FadalUser ManualOffsetsFour tables can be edited: tool offset, fixture offset, tool time and macrovariables tables (See DF, DT, DTT and FO commands). To exit the menus press the MANUAL key.3Reset CNC Modal Values: Resets modal codes to the default values that are s...

  • Page 170

    160Section 8: CommandsApril 2003FadalUser ManualHelpThe Functions Menu is used for editing of the active program, a program inmemory, or writing a new program, similar to PAGE EDIT (PA). The currentlyactive program that is running in AUTO will be displayed to the screen. At thebottom of the scree...

  • Page 171

    April 2003Section 8: Commands161FadalUser ManualProgram Maintenance LibraryPR, Program #This command displays the Program Maintenance Library menu. This menu isthe only means to display the list of programs in memory, or copy an oldprogram. The menu options are as follows:The selection of option ...

  • Page 172

    162Section 8: CommandsApril 2003FadalUser Manual1 = tool and fixture data only2 = program data only3 = all programs in library4 = parameters and backlash5 = all axis surveyThe second parameter, “Code Option”, selects the desired code as follows:0 = ASCII code1 = EIA codeThe third parameter, ...

  • Page 173

    April 2003Section 8: Commands163FadalUser ManualReinitializeRIThis command is used to reinitialize the memory of the CNC. Three options aregiven as follows:• DO YOU WANT TO ZERO TOOL TABLE?• DO YOU WANT TO ZERO FIXTURE OFFSETS?• DO YOU WANT TO REINITIALIZE MEMORY?Enter the RI command. The C...

  • Page 174

    164Section 8: CommandsApril 2003FadalUser Manualposition. When executing a CNC program, a G28 returns the axes to thisposition. Set Home Position For One AxisSET(axis)This command is used to set home locations for individual axes. SETX Set current absolute location of the X axis as its home posi...

  • Page 175

    April 2003Section 8: Commands165FadalUser ManualThe factory settings for your machine are listed on the inside of the pendantdoor. Update this listing any time you make a change.The parameter settings and their values are displayed as a menu with theindividual parameter with the “*” displayed...

  • Page 176

    166Section 8: CommandsApril 2003FadalUser ManualFormat 1Figure 8-12 Format 1 Screen DisplayFigure 8-13 Format 1 Screen Display (continued)

  • Page 177

    April 2003Section 8: Commands167FadalUser ManualFormat 2Figure 8-14 Format 1 Screen Display (continued)Figure 8-15 Format 2 Screen Display

  • Page 178

    168Section 8: CommandsApril 2003FadalUser ManualNote: Depending on the parameter that the cursor is selecting, not allparameters are displayed.Figure 8-16 Format 2 Screen Display (continued)Figure 8-17 Format 2 Screen Display (continued)

  • Page 179

    April 2003Section 8: Commands169FadalUser ManualOperation FormatsTHERE ARE TWO PROGRAM OPERATION FORMATS AVAILABLEThis parameter allows the user to select 6MB/10M/11M compatibility. Theoperational difference between the two formats depends upon the codingused.AXES:X,Y,ZENTER THE AXIS CONFIGURATIO...

  • Page 180

    170Section 8: CommandsApril 2003FadalUser ManualDEFAULT: G0ENTER THE DEFAULT VALUEThe code selected is active at power on and when entering the MDI mode.DEFAULT: G90ENTER THE DEFAULT VALUEThe code selected is active at power on and when entering the MDI mode.Figure 8-20 Default Value G0Figure 8-2...

  • Page 181

    April 2003Section 8: Commands171FadalUser ManualDEFAULT: G17ENTER THE DEFAULT VALUEThis parameter is used to select the default machine plane.RPM FACTOR ENTER THE SPINDLE RPM ADJUSTMENT FACTORThis parameter should only be adjusted by trained maintenance personnel.Figure 8-22 Default Value G17Figu...

  • Page 182

    172Section 8: CommandsApril 2003FadalUser Manual BAUD RATE: 2400ENTER THE DEFAULT BAUD RATE (THE RATE AFTER POWER-ON)The operator may select the desired communications baud rate.Note: The 57,600 and 115,200 baud rates are available but not listed. Thesebaud rates must be established from the Comm...

  • Page 183

    April 2003Section 8: Commands173FadalUser ManualTool Changer Cap ENTER THE TOOL CHANGER CAPACITYSelect the appropriate tool changer capacity.TimersSELECT THE AUTOMATIC TOOL TIMER MODESelect the desired option and set a value in the DTT table for USED. The TIMEvalue will be inserted by the control...

  • Page 184

    174Section 8: CommandsApril 2003FadalUser ManualSpindle TypeENTER THE SPINDLE DRIVE TYPE & RPMSelect the correct spindle type for the machine. This parameter is set at thefactory.SPINDLE AFTER M6:Spindle After M6SHOULD SPINDLE COME ON AUTOMATICALLY AFTER A TOOL CHANGE WHENTHE M6 HAD TO TURN T...

  • Page 185

    April 2003Section 8: Commands175FadalUser ManualPendantENTER THE PENDANT STYLESelect the appropriate pendant location for the machine. When option two isselected the table may make a Y axis positive move before a tool change. Thisoccurs only when the Y axis is five inches or more, in the negative...

  • Page 186

    176Section 8: CommandsApril 2003FadalUser ManualA YES response causes a fixed cycle to be executed immediately upondefinition at the current axis location. A NO response requires axis motion toactivate the fixed cycle.Orientation FactorENTER THE SPINDLE RPM ADJUSTMENT FACTORTHE FACTOR MUST BE BET...

  • Page 187

    April 2003Section 8: Commands177FadalUser ManualThe operator must select the inch or metric mode for the machine. The G70,G71, G20, and G21 check this setting to verify the operational mode.PU FORMATSELECT PUNCH OUTPUT FORMATThis parameter is set to file for computer use. The punch tape format is...

  • Page 188

    178Section 8: CommandsApril 2003FadalUser ManualPalletDO YOU HAVE A PALLET CHANGER?Select the option appropriate for the machine.M7-FLOOD, M8-MISTENTER M7, M8 PREFERENCEThe operator may select either M7 or M8 as the flood coolant code.Figure 8-36 PalletFigure 8-37 M7-Flood, M8-Mist

  • Page 189

    April 2003Section 8: Commands179FadalUser ManualBinary Buffers 255SELECT THE NUMBER OF BINARY BUFFERS FOR CNC LOOK-AHEAD.The BINARY BUFFERS parameter can be changed to increase or decrease thecontrol look ahead. A binary buffer is a block of memory that has beenprocessed by the control and is wai...

  • Page 190

    180Section 8: CommandsApril 2003FadalUser ManualTurret FactorENTER THE ENGAGEMENT FACTOR FOR THE TOOL TURRET GENEVA GEARTHE FACTOR MUST BE BETWEEN 1 AND 50This parameter is set at the factory. For VMCs equipped with the Servo-Turret,this factor MUST always be 1.Figure 8-39 Turret Factor

  • Page 191

    April 2003Section 8: Commands181FadalUser ManualGain ENTER THE GAIN FACTOR FOR RIGID TAPPINGTHE FACTOR MUST BE BETWEEN 0 AND 255This parameter affects the spindle response during rigid tapping. The higherthe number the faster the spindle turns in relation to the feed rate. When thespeed is too fa...

  • Page 192

    182Section 8: CommandsApril 2003FadalUser ManualHigh Torque/Rigid TapDO YOU HAVE THE HIGH TORQUE OR RIGID TAP OPTION?This parameter is set at the factory.CMD MenuTURN COMMAND MENUS:The operator may select the command menu structure.Figure 8-42 HighTorque/Rigid TapFigure 8-43 CMD Menu

  • Page 193

    April 2003Section 8: Commands183FadalUser ManualRamp ENTER THE RAMP FACTOR FOR RIGID TAPPINGTHE FACTOR MUST BE BETWEEN 0 AND 255This parameter sets the speed at which the spindle accelerates during rigidtapping.A-Axis RatioENTER A-AXIS RATIOSelect the appropriate option for the rotary table being...

  • Page 194

    184Section 8: CommandsApril 2003FadalUser ManualB-Axis RatioENTER B-AXIS RATIOSelect the appropriate option for the rotary table being used.M60/A-Axis BrakeDOES M60 TURN ON THE A-AXIS BRAKE?Select the option desired to activate or de-activate the air brake for the axis.Figure 8-46 B-Axis RatioFig...

  • Page 195

    April 2003Section 8: Commands185FadalUser ManualM62/B-Axis BrakeDOES M62 TURN ON THE B-AXIS BRAKE?Select the option desired to activate or de-activate the air brake for the axis.N-Words Ordered ENTER THE N-WORD SEQUENCE CONFIGURATIONThe CNC 88 requires each block of NC code to have sequence numbe...

  • Page 196

    186Section 8: CommandsApril 2003FadalUser ManualTool TableWILL THE TOOL COMPENSATION TABLE HAVE THE RADIUS OR DIAMETER?The cutter offset specification in the tool compensation table may be definedas a diameter or radius. The SETP mode is exited by pressing the MANUAL key.If new values were select...

  • Page 197

    April 2003Section 8: Commands187FadalUser ManualSETTO,#SETTO,# is used to reset the Turret locations by specifying that “#” is thenumber of the bucket (not the tool number) located at the bucket ready positionand ready to be exchanged. The remaining bucket and tool numbers arerecovered as the...

  • Page 198

    188Section 8: CommandsApril 2003FadalUser Manualtool #1 originally has a length offset value of -10.000 and the command SL,1,-.025 is entered, the NEW offset will be -10.025.Sum ProgramSU, Display From,Through, CRCOption, DisplayOptionSum the X, Y, Z, A, and B moves in the current program and dis...

  • Page 199

    April 2003Section 8: Commands189FadalUser Manualleft side of the screen and the absolute locations of the moves on the right sideof the screen. Display the absolute location of the end of the program as X= Y= Z= A= B=.SurveySVThe survey command SV is a utility that manages the axis compensation d...

  • Page 200

    190Section 8: CommandsApril 2003FadalUser ManualSave Survey Before Re-Loading (Y/N)" message will appear. Press "N" toreload the survey without saving the changes.WARNING: This command should ONLY be used by trainedMAINTENANCE PERSONNEL.Tape (Program) InputTA, Device Option,Error O...

  • Page 201

    April 2003Section 8: Commands191FadalUser ManualThe second parameter selects the three possible error options.1 = Indicates that the program HAS parity errors.2 = Ignores errors on input and gives an error count after input.Note: A block of code containing an error is ignored, an error count upon...

  • Page 202

    192Section 8: CommandsApril 2003FadalUser Manualimmediately when the H word is detected during program execution or in MDI.The diameter offset value is applied when a G41 or G42 is detected,compensating the value of the last designated H word.In programming Format 2, the length offset is applied ...

  • Page 203

    April 2003Section 8: Commands193FadalUser Manualand length offsets for multiple tools. The fixture offset setting may be used toset fixture offset locations into the fixture table. The TS-20 test is used to testthe operation of the TS-Series touch probes. The MP 8 test is used to test theoperatio...

  • Page 204

    194Section 8: CommandsApril 2003FadalUser ManualThis option displays the currently selected fixture data. The operator is thenprompted to select another fixture number. Enter the new fixture number orpress ENTER to use the same number. The fixture offset options are displayed.After selecting this...

  • Page 205

    April 2003Section 8: Commands195FadalUser ManualThis option prompts the user to enter the Jog mode. The operator may enterthe Jog mode and find the part edge. The operator may return to the offsetoption display at any time, by pressing the MANUAL button.Figure 8-54 Jog to Locate

  • Page 206

    196Section 8: CommandsApril 2003FadalUser ManualItem 3Store LocationThis option is used to record the fixture offset location to the fixture offset table.Locator DiameterWhen using a locator diameter, this option is used to adjust for that diameter.When this option is selected, the compensation a...

  • Page 207

    April 2003Section 8: Commands197FadalUser ManualPress the plus key if the locator touched the part on the axes positive side. Thecontrol subtracts the locator compensation amount to the current location, andstores that value in the fixture table. Press the minus key if the locator touchedthe axes...

  • Page 208

    198Section 8: CommandsApril 2003FadalUser Manualcircumference of the circle. The center will be calculated using thesecoordinates by pressing the C button.The data can then be inserted into the fixture offset table by pressing the Ibutton. To exit this option press the X button.Item 5Find Midpoin...

  • Page 209

    April 2003Section 8: Commands199FadalUser ManualItem 6Find CornerUsing the edge finder as described in the proceeding paragraph, the cornerbetween two intersecting planes or edges can be found and entered in thefixture offset table.Item 7Find 90° Corner Using the edge finder as described in the ...

  • Page 210

    200Section 8: CommandsApril 2003FadalUser ManualOffset UtilityOption 6Clocks This option is used to display the clock service utility.Item 1Display Clocks Select this option to display all current clock settings.The current time is displayed at the top. The power on time is the amount oftime sinc...

  • Page 211

    April 2003Section 8: Commands201FadalUser ManualRunning time is the total accumulative time that the machine has been in theAUTO mode. The time is suspended when the machine is in the WAITING state.This is time is accumulative from the last reset.The last part time is running time of the last pro...

  • Page 212

    202Section 8: CommandsApril 2003FadalUser ManualTape VerificationVT, Device OptionThis command reads a paper tape that is punched by the VMC. Using a checksum routine, the control verifies the punched tape. The CNC displays themessage TAPE IS GOOD indicating a successful punch. The “Device Opti...

  • Page 213

    April 2003Section 9: Cutter Radius Compensation203FadalUser ManualSection 9: Cutter Radius CompensationCutter Radius CompensationCutter Radius Compensation (CRC) is used in a program to allow the operatorto alter the path of a cutter.EXAMPLE:After cutting the part with path 1, the operator measur...

  • Page 214

    204Section 9: Cutter Radius CompensationApril 2003FadalUser ManualThe D word must be used to pick up the tool diameter. It can be used on thesame line as the G41 or G42 codes or on any line before the G41 or G42 codes.M6 T3G0 G90 S800 M3 X3.641 Y-2.224H3 D3 M8 Z.1 The H and the D words are used...

  • Page 215

    April 2003Section 9: Cutter Radius Compensation205FadalUser ManualClimb and Conventional CuttingClimb cut the inside of a part by following a general counterclockwise path.Climb cut the outside of a part by following a general clockwise path.Conventional cut the inside of a part by following a ge...

  • Page 216

    206Section 9: Cutter Radius CompensationApril 2003FadalUser ManualThe H and the D Word with CRCH and D Word UseCutter Radius Compensation must be called with offset call. In Format 1 mode,the offset number is selected by the use of an H word. In Format 2, the D wordis used. The amount applied wil...

  • Page 217

    April 2003Section 9: Cutter Radius Compensation207FadalUser ManualSimply increasing the diameter of the tool in the tool table will not always workfor a roughing pass. Inside radii could be a limiting factor. If the tool diameter isincreased to a size larger than an inside radius on the part outl...

  • Page 218

    208Section 9: Cutter Radius CompensationApril 2003FadalUser Manualcontinue to form up through the hard material. This will break down the cutter,but it will last longer than using a climb cut.The heat between the cutter and the work piece is greater with a conventionalcut, so a this cut is used f...

  • Page 219

    April 2003Section 9: Cutter Radius Compensation209FadalUser Manualthe radius of the cutter being used and cut to leave the programmed partoutline.Note: Cutter Radius Compensation must be canceled prior to locating thecenter line of the tool to a specific point.General Rules1) G90 X-.4 Y.4 Posi...

  • Page 220

    210Section 9: Cutter Radius CompensationApril 2003FadalUser ManualNote: The distance of the move up to the wall and away from the wall must begreater than or equal to the radius of the cutter.Examples ofApplying andCanceling CRCThese examples represent part outlines and are intended to give gener...

  • Page 221

    April 2003Section 9: Cutter Radius Compensation211FadalUser Manual4) Cancel CRC along with the move from position 5 to 6.1) The radius of the lead in lead out radius must be larger than the radius ofthe tool to be used.2) Apply CRC along with the move from position 1 to 2.3) Complete moving aroun...

  • Page 222

    212Section 9: Cutter Radius CompensationApril 2003FadalUser Manual1) The radius of the lead in lead out radius must be larger than the radius ofthe tool to be used.2) Apply CRC along with the move from position 1 to 2.3) Complete moving around the path.4) Cancel CRC along with the move from posit...

  • Page 223

    April 2003Section 9: Cutter Radius Compensation213FadalUser Manual1) Apply CRC along with the move up to the part wall (from position 1 to 2). 2) Move around the part.3) Cancel CRC along with the move away from the part (from position 11 to12).1) Apply CRC along with the move up to the part wall....

  • Page 224

    214Section 9: Cutter Radius CompensationApril 2003FadalUser Manual2) Move in a general clockwise direction around the outside of the part (forclimb cut) to an extended line off the wall of the part.3) Cancel CRC along with the move away from the extended line. Again, thismove must be at least the...

  • Page 225

    April 2003Section 9: Cutter Radius Compensation215FadalUser Manual7) Cancel comp moving back to the midpoint.Perpendicular RuleIt is best to apply and cancel comp using moves perpendicular to the wall.When perpendicular moves are used, the cutter will follow the programmedmove. Otherwise, the cut...

  • Page 226

    216Section 9: Cutter Radius CompensationApril 2003FadalUser ManualFillet Radii and Step DownsAll features on a print have tolerances. Inside corner radii (“fillet” or “blend”radii) usually have more tolerance than other features. Take advantage of thisand program inside corner radii large...

  • Page 227

    April 2003Section 9: Cutter Radius Compensation217FadalUser ManualProgram ExampleThe print above shows the inside radii as .375 in four places. A .75 end millcould be used to form the inside radii; however, if the end mill is used to formthe inside radii, the cutter will bend into the corners and...

  • Page 228

    218Section 9: Cutter Radius CompensationApril 2003FadalUser ManualN10 X.5 Y-.875 I0 J-.375N11 M17N12 M30N13 (TOOL #1, 3/4 2FL EM (CRC)N14 G0 G90 S5000 M3 E1 X.875 Y-.875N15 H1 D1 M7 Z.1N16 G1 Z-.4 F10. G8N17 X.5 G41N18 F35.N19 L101N20 F45.N21 L101N22 X.875 G40N23 M5 M9N24 G0 H0 G90 Z0N25 M6 T2The...

  • Page 229

    April 2003Section 9: Cutter Radius Compensation219FadalUser ManualM96 Cancel Intersectional CRC (Rolling)M97 Intersectional CRCThe M96 or M97, as default codes, can be selected when using the SETPcommand.The M96 mode of CRC is more commonly used. In most cases it is also thesafer mode. Using this...

  • Page 230

    220Section 9: Cutter Radius CompensationApril 2003FadalUser ManualM96 produces a rounded corner on the floor. M97 produces a mitered corneron the floor.Note: Some prints will specify the type of corner needed on the part. In mostcases the type of rounding used will only affect the part visually, ...

  • Page 231

    April 2003Section 9: Cutter Radius Compensation221FadalUser ManualM6 T1 (TOOL #1, 1/2 DIA. FINISH EM (CRC)G0 G90 S6000 M3 E1 X24.5 Y.3H1 M7 Z-.5X24.2 G41Y-1.02 G1 F35.Z-.2 Here is a move to a new Z level with CRC still in effectY-1.9 G5Y-2.02X24.5 G0 G40Applying Compensation with a Z MoveCRC can...

  • Page 232

    222Section 9: Cutter Radius CompensationApril 2003FadalUser ManualZ.1 G0 G40 Here the Z axis moves and the offset is canceled at the same timeEXAMPLE:Format 1 & 2The sample program below will operate in the same way for Format 1 andFormat 2.M6 T1 (TOOL #1, 3/4 DIA. EM (CRC)G0 G90 S1500 M3 E1...

  • Page 233

    April 2003Section 9: Cutter Radius Compensation223FadalUser ManualApplying Compensation with a Z Move on a CircleEXAMPLE:Format 1 & 2The sample program below will operate in the same way for Format 1 andFormat 2.M6 T1 (TOOL #1, 3/4 DIA. EM (CRC)G0 G90 S1500 M3 E1 X2.4 Y-1.2H1 Z.1 M7G41 Here ...

  • Page 234

    224Section 9: Cutter Radius CompensationApril 2003FadalUser ManualCompensationExampleEXAMPLE:Format 1 & 2The sample program below will operate in the same way for Format 1 andFormat 2.M6 T1 (TOOL #1, 1/2 DIA. EM (CRC)G0 G90 S5000 M3 E1 X.332 Y-2.2 This moves to point oneH1 Z.1 M7G41 Comp is...

  • Page 235

    April 2003Section 10: Error Messages225FadalUser ManualSection 10: Error MessagesError MessagesABSOLUTE MODEREQUIRED AT N =The CNC must be in the G90 (absolute) mode during all probe functions. Probefunction L9101 is programmed in the G91 (incremental) mode.AMPLIFIER FAULT ONAXISThis occurs at po...

  • Page 236

    226Section 10: Error MessagesApril 2003FadalUser ManualATC FAILURECheck to see if the Z axis alignment was properly set at cold start. Theautomatic tool changer has failed to respond to an M6 or the TC,1 command.Try a power off and power on. If this does not help check the fuses F5, F6, F7,and F8...

  • Page 237

    April 2003Section 10: Error Messages227FadalUser ManualWARNING: Power off the machine before checking fuses, relays, and/orcircuit breakers.ATC AMBIGUOUSTURRET POSITION,VERIFY POCKET #WITH SETTO,# or,TURRET LOCATIONLOST, RESETTURRET LOCATIONSWITH SETTO,#The Tool Count sensor indicates the Turret ...

  • Page 238

    228Section 10: Error MessagesApril 2003FadalUser Manual2. Check for inadequate air supply.3. Check air valve.ATC BUCKET DOWNSOLENOID/SENSORFAILURE or, BUCKETDID NOT MOVEDOWNThe Tool Down Sensor has not reported a successful move down of the Bucketin preparation for exchanging the tools.1. Check t...

  • Page 239

    April 2003Section 10: Error Messages229FadalUser ManualATC TOOL SENSORFAILURE or, ARMNOT AT SPINDLEThe Stopping Sensor and the Arm at Spindle Sensor both indicate that the Armhas not fully positioned at the Spindle.1. Check Door Interlock system.2. Check Head position Sensor and Head position.3. ...

  • Page 240

    230Section 10: Error MessagesApril 2003FadalUser ManualATTEMPT TOCHANGE TOOLWHILE IN CRCMODE, N =This message occurs if a G41 or G42 is used in the program and a G40 codedoes not appear before an M6 code. The G40 cannot be on the same line withM6. An M6 will not cancel CRC.ATTEMPT TO SWITCHPLANE ...

  • Page 241

    April 2003Section 10: Error Messages231FadalUser ManualIf the machine stalls for one reason or another, the control places itself into theEmergency Stop mode. Press the JOG button and jog the tool out of the stalledposition.An axis fault also occurs during an emergency stop because the controlrem...

  • Page 242

    232Section 10: Error MessagesApril 2003FadalUser ManualCorrect the line in the CNC; or correct the line in the text editor and send theprogram again.BAD R1 USING L91AT N =The R1 parameter is not present in the block containing L9101, or it is presentwith an improper value. L9101 has 9 possible fu...

  • Page 243

    April 2003Section 10: Error Messages233FadalUser ManualCANCEL CRCBEFORE N =The control requires the G40 code to cancel cutter radius compensation beforethe line number listed. See the cutter radius compensation section forsuggestions.CANCEL Z AXISMIRROR BEFORETOOL CHANGE AT NThe G50.1 code must a...

  • Page 244

    234Section 10: Error MessagesApril 2003FadalUser ManualAlso, check the brake relay fuse (F17) to see if it is burned out. It is advised topower off the machine when checking the fuses or motor overload relays.CHECK SPINDLELUBE, WAY LUBEAND AIR PRESSUREWhen this message is displayed, it is necessa...

  • Page 245

    April 2003Section 10: Error Messages235FadalUser ManualDNC MODEThis message appears after DNC is typed at the control. The VMC is then readyfor DNC operation and is waiting for CNC code from the RS-232 port.DOOR BEGAN TOCLOSE WHILE ARMWAS MOVINGThis message will occur if the door begins to close ...

  • Page 246

    236Section 10: Error MessagesApril 2003FadalUser Manualto determine which numbers have been used. Change the O word to one notbeing used, or remove it. Then send the program out to the control again.If the program currently active in memory has an O word in the first line, theprogram will be move...

  • Page 247

    April 2003Section 10: Error Messages237FadalUser ManualENTER COMMANDSETP AND SET THEMACHINEPARAMETERSThe SETP procedure will ask questions regarding the machine and certainpreferences. If any of the questions are not clear, call the service departmentfor help.ENTER COMMANDMU TO SEE THEMENUThis ha...

  • Page 248

    238Section 10: Error MessagesApril 2003FadalUser ManualERROR(S) READINGTAPEWhile the control is inputting a tape or program with the TA command, erroroption 2, this message appears after input is complete. If the TA command anderror option 1 is used (TA,0,1 or TA,1,1), the input of the program wo...

  • Page 249

    April 2003Section 10: Error Messages239FadalUser ManualG92 MUST BE ONLYG CODE IN BLOCKThere can be no other G codes in the line with a G92. The program does notneed to be in absolute (G90) to use the G92 code.GNN IS ANUNSUPPORTED GCODE AT NThe G code displayed is not a supported code of the FADAL...

  • Page 250

    240Section 10: Error MessagesApril 2003FadalUser Manual5) The G41 or the G42 code has not been canceled with a G40 before using afixed subroutine.INCHES MODEREQUIRED -OPERATOR MUSTSETThe CNC is in the Metric mode (SETME), and the program has a G20 or G70code to verify that the control is in the I...

  • Page 251

    April 2003Section 10: Error Messages241FadalUser Manualposition, then enter HO to return the axes to home, and when the axes are backat the Cold Start position, visually check, and then enter the CS command. SETP will also make this message appear. If the operator used the SETPcommand at the part...

  • Page 252

    242Section 10: Error MessagesApril 2003FadalUser ManualN16 G90N17 *N18 M17 This ends the last subroutineN19 M30 This separates the sub section fromN20 * The main programN21 (MAIN PROGRAMMEMORY ERROR,RELOAD PROGRAMThis is a memory error, turn the machine’s main power off. Then power on andre...

  • Page 253

    April 2003Section 10: Error Messages243FadalUser ManualThe setup person may have to consider moving the fixture to another locationon the table. The program may be correct, but the fixture may be set upincorrectly. The programmer can provide information to the setup person,indicating how close to...

  • Page 254

    244Section 10: Error MessagesApril 2003FadalUser ManualNO PARAMETERS ORPARAMETERSCORRUPTEDMACHINE DEFAULTSUSEDThis message occurs most commonly after the memory has been zeroed fromthe DI diagnostics mode. This will also occur if there is a memory error. Enterthe machine parameters with the SETP ...

  • Page 255

    April 2003Section 10: Error Messages245FadalUser ManualONLY M3, M4 & M5ARE ALLOWED WITHM6 AT N =This message appears when the M6 is coded with an M function other than anM3, M4, or M5. The unacceptable M function must be moved to another line.ONLY Z, L, R & FWORDS ALLOWEDThis message appe...

  • Page 256

    246Section 10: Error MessagesApril 2003FadalUser ManualPALLET MUST BECLAMPEDThis message occurs when both pallets are in storage and a command is givento make a pallet change. One of the pallets must be loaded and clamped onthe table before a pallet change can occur. The feedbacks for pallet load...

  • Page 257

    April 2003Section 10: Error Messages247FadalUser ManualA comment can be added to the line with the O word. These comments helpidentify the program.POINTS ARE ONSAME LINE AT N =The 3 touch points of L9101 function 1 are on the same line. Check theprogram for positioning errors. POSSIBLE PROBEOVER ...

  • Page 258

    248Section 10: Error MessagesApril 2003FadalUser Manualbe edited. Delete the bad O word, from O-1 or O.1 (which appears as 1000when it is listed in PR) to O1.PROGRAM NOTFOUNDThis message is displayed when the PA command is used to display the activeprogram, and no program is active. Use the PR co...

  • Page 259

    April 2003Section 10: Error Messages249FadalUser Manualwith the RS-232 cable or the communications port. Check the cable andcommunications port and retry DNC.Also, failure of the CPU may cause this error. If the above corrections areunsuccessful, contact the maintenance department.SCALE ERRORA sc...

  • Page 260

    250Section 10: Error MessagesApril 2003FadalUser ManualSPINDLECONTROLLER DOESNOT RESPONDNote the error number and see the list at the end of this chapter. This simplycould be a problem that occurs when the operator is powering on the machine.Turn the machine’s main power off. Press the motor ov...

  • Page 261

    April 2003Section 10: Error Messages251FadalUser Manualthread milling as an alternative to tapping. Call the service department if this ispersistent.SPINDLE FAILUREDURING REVERSALThis will occur when an M3 and an M4 are in the same line. If the spindle stopswhile in G74, G75 or G84 modes, this me...

  • Page 262

    252Section 10: Error MessagesApril 2003FadalUser ManualN22 L200 This is not permitted after an M30TAPE INPUTTERMINATEDThis message reports to the operator that the tape, or program input process iscomplete.TAPE IS GOODWhen verifying a punched tape, this message appears if the tape is accepted.T...

  • Page 263

    April 2003Section 10: Error Messages253FadalUser ManualTOO MANY BLOCKSFOR GAPThis happens when the CO (copy) command is used and there are too manylines being copied between existing lines in the program. Use the NU(renumber) command and copy again, now that the program is renumbered.TOO MANY MFU...

  • Page 264

    254Section 10: Error MessagesApril 2003FadalUser Manual4) Check the math work to see that it is correct, and was transferred correctlyto the program.When debugging a program that uses cutter radius compensation, use a zerodiameter in the tool table when running the program or when using the SUMco...

  • Page 265

    April 2003Section 10: Error Messages255FadalUser ManualWAITINGIn the WAITING mode, the operator has the choice of pressing either the STARTor AUTO button to execute automatic motion. Or, the operator can press theMANUAL button to exit to the Command mode.WAITING ON AIRVALVEWhen this occurs, the c...

  • Page 266

    256Section 10: Error MessagesApril 2003FadalUser ManualThe backlash information is retained by the battery backed memory card. If thismessage appears again after the BL command has been used, call the servicedepartment.YOUR VERSION OFCNC MAIN NEEDS TOBE UPDATEDThe control has detected an incompat...

  • Page 267

    April 2003Section 10: Error Messages257FadalUser Manual2. ENCODER NOTRESPONDINGPROPERLYThis message appears during the rigid tap operation if the encoder feedback isinterrupted during the spindle operation for any period longer than 3 seconds.The spindle operation is halted and this error messag...

  • Page 268

    258Section 10: Error MessagesApril 2003FadalUser Manual12. MOTOROVERLOAD. PULSECOMMAND STEPCOMMANDCHECKSUM ERRORThis message appears at the completion of a move if the number of pulsesrequired to complete the move does not match the number of pulses receivedfrom the CPU by the axis controller, u...

  • Page 269

    April 2003Section 10: Error Messages259FadalUser Manual21. SPURIOUSINTERRUPTS. NOTSERVICEABLEThis message appears if the interrupt currently being processed is anundefined interrupt, and thus cannot be serviced, indicating possible failure ofthe 1010-4(-5), 1030, or main CPU. This could also ind...

  • Page 270

    260Section 10: Error MessagesApril 2003FadalUser Manual29. RIGID TAPPRECYCLE ENCODERFAILURE (TOO MANYCOUNTS)See ERROR 7.30. SURVEYCLEARED DUE TOBLANK OR CORRUPTSURVEYThis message appears during cold start if the checksum, calculated fromreading the survey table, is not equal to the checksum sto...

  • Page 271

    April 2003Section 11: Coordinate Systems261FadalUser ManualSection 11: Coordinate SystemsMachine Coordinate SystemThe zero of the Machine Coordinate System (MCS) is the Cold Start Position.The Z axis cold start position is the tool change position. The coding of a G53moves the machine to the prog...

  • Page 272

    262Section 11: Coordinate SystemsApril 2003FadalUser ManualProgramming a fixture offset in Format 1, without motion words, causes theaxes to move to the current absolute position on the specified fixture. Inprogramming Format 2, the move to the fixture is not made until an X, Y, or Zword is speci...

  • Page 273

    April 2003Section 11: Coordinate Systems263FadalUser ManualFormat 2 results of running the example above:N2.X0.Y0.Z0.Block 2 the machine is already at X0 Y0 Z0 so no motion occurs.N3.X1.Y1.E1.G0 Block 3 causes movement only in X and Y...

  • Page 274

    264Section 11: Coordinate SystemsApril 2003FadalUser ManualBlock #1 establishes that the current position is at the TCS. Block #3 establishes the PCS at the center of the material. No machine motionoccurs. Block #4 moves the X axis to 2. from the PCS and 8. from the TCS (this is thesame position)...

  • Page 275

    April 2003Section 12: Rotary Axes265FadalUser ManualSection 12: Rotary AxesA AxisDirection of MotionDirection of motion is defined as per ANSI/EIA RS-274-D. Since the VMCrotates the work piece, the rotary head must rotate clockwise to achieve acounterclockwise tool motion and visa versa.The posit...

  • Page 276

    266Section 12: Rotary AxesApril 2003FadalUser ManualEXAMPLE:1) G90: In absolute terms A+90. and A-90. will position to the same location;however, from different directions. An A+90. will rotate the work piece in thepositive (CCW) direction to the absolute 90 degree location. An A-90. will movethe...

  • Page 277

    April 2003Section 12: Rotary Axes267FadalUser ManualEXAMPLE:1) Jog the fixture or part until it is level.2) From the command mode, type SETA, then press ENTER.3) The A axis should now be set to zero.Move to HomeThe G28 code in format one and the HO command return the rotary head to theset point a...

  • Page 278

    268Section 12: Rotary AxesApril 2003FadalUser Manualpiece to rotate clockwise when viewing in the X+ direction. Relative tool motionwould be counterclockwise.A Axis BrakeUse the M60 code to activate the A axis brake. The brake will remain activateduntil the M61 is coded or another A axis move is ...

  • Page 279

    April 2003Section 12: Rotary Axes269FadalUser ManualMaximum &Minimum AngularLimitsSmallest: A.002 Largest: A1080.Programming a G91 G1 X2. A1080. will cause an interpolated move where theX axis moves 2. and the A axis moves 1080. degrees. When a fixed cycle isused, A axis motion will cause exe...

  • Page 280

    270Section 12: Rotary AxesApril 2003FadalUser ManualEXAMPLE:N1 M6 T1N2 (TOOL #1, DRILLN3 G0 G90 S10000 M3 E1 X0 Y0 A30.N4 H1 D1 M7 Z.1N5 G81 G99 R0.1 Z-.5 F40. X.5N6 X2.5N7 A90.N8 X.5N9 A150.N10 X2.5N11 A210.N12 X.5N13 A270.N14 X2.5N15 A330.N16 X.5N17 G80N18 M5 M9N19 G0 G90 H0 Z0The A axis can be...

  • Page 281

    April 2003Section 12: Rotary Axes271FadalUser ManualEXAMPLE:N18 M6 T3N19 (TOOL #3, 3/8 (.375) 2FL EMN20 G0 G90 S8000 M3 E1 X3.5 Y0 A0N21 H3 D3 M7 Z.1N22 G1 Z-.27 F10.N23 G91 F50.N24 X1.N25 X-1.A-30.N26 X-1.A30.N27 A90.N28 X2.N29 A-90.N30 X1.N31 Z.1 G0N32 M5 M9Degree FeedrateCalculationThe actual ...

  • Page 282

    272Section 12: Rotary AxesApril 2003FadalUser ManualEXAMPLE:Feed rate = 90 / (4.3439 / 25) = 90 / .173756 = 517.97EXAMPLE:G94N1 M6 T1N2 (TOOL #1, 1/2 END MILLN3 G0 G90 S5000 M3 E1 X0 Y0 A0N4 H1 M8 Z.1N5 G1 Z0 F25.N6 X3. A90. F517.97N7 X1. ...

  • Page 283

    April 2003Section 12: Rotary Axes273FadalUser ManualThe following example is programmed for a part with a diameter of 4.0. Thedesired cut is 90 degrees interpolated with an X axis move of 3.0 (see line N6of the example program below). The feed rate used for calculation was 25 ipm.Actual move dist...

  • Page 284

    274Section 12: Rotary AxesApril 2003FadalUser ManualG15 - YZA CircularInterpolationThis code is used to interpolate Y, Z arcs while making simultaneous A axismovement. This code is used when it is necessary to cut an arc with the bottomof the end mill. G15 may also be used with a ball nose end mi...

  • Page 285

    April 2003Section 12: Rotary Axes275FadalUser Manualb. The K is the incremental Z direction and distance from the center of thearc to be cut to the center of A axis rotation.3) A axis description:a. Incrementally the A axis rotation is given as the angle between the endpoint at the beginning of t...

  • Page 286

    276Section 12: Rotary AxesApril 2003FadalUser ManualEXAMPLE:N1 (G15 RECTANGLEN2 (X0 IS END OF PART, Y0 IS CENTER, Z0 IS TOP OF 1.5 DIA PARTN3 G90 G0 X.3 Y-1.5 E1 A0 S5000 M3N4 H1 Z-.35 M8N5 G91 G8 G1 Y1.9F10.N6 G15N7 Y-.7 Z.1 J-.4 K-.3 A-90. G3N8 G90 Y.6N9 G91 Y-.7 Z-.1 J-.3 K-.4 A-90. G3N10 G90 ...

  • Page 287

    April 2003Section 12: Rotary Axes277FadalUser ManualFlat Cam (CamWrapping)ProgrammingFlat cam programming is used when an XY program needs to be “wrapped”around the circumference of the part. This function is designed to convert Yaxis motion into A axis motion. XA conversion is used when the ...

  • Page 288

    278Section 12: Rotary AxesApril 2003FadalUser ManualA Axis RatioEach rotary table has an axis ratio. Not all manufactures keep the same ratio.This number is affected by the gear ratio of the axis. The manual for eachrotary head contains the A axis ratio number to use for calculating the Q word.Q ...

  • Page 289

    April 2003Section 12: Rotary Axes279FadalUser Manual2) Returning the Y axis to its original position should return the A axis to itsoriginal position. The A axis position read out on the screen must be thesame position that it started from to be fully unwrapped. The Q word can bealtered to attain...

  • Page 290

    280Section 12: Rotary AxesApril 2003FadalUser ManualCanceling Cam WrappingDirectly after the unwrapping move, cancel the flat cam programming functionby coding a G17 on a line by itself.EXAMPLE:N1 O1 (FLAT CAM PROGRAM EXAMPLEN2 M6 T1N3 (TOOL #1, 1/2 2 FL E.M. USE .5 IN THE TOOL TABLEN4 G0 G90 S2...

  • Page 291

    April 2003Section 12: Rotary Axes281FadalUser ManualNote: Rapid movements (G0 or G5) are reduced in speed during the flat camconversion.400 / Q word amount = new rapid rate400 / 1.4324 = 279.25 IPMMid Program StartMid program starts may not be executed after the G17 Q word which is used tostart t...

  • Page 292

    282Section 12: Rotary AxesApril 2003FadalUser ManualReview the print to determine whether the walls on the print intersect or areparallel. Place a straight edge on a wall on the print to help determine if thewalls intersect.Note: If the walls are parallel, DO NOT use flat cam (cam wrapping)conver...

  • Page 293

    April 2003Section 12: Rotary Axes283FadalUser ManualParts with parallel walls can be cut by using a cam system that provides thisfeature. These systems allow for the Y axis to be offset to account for cutterradius compensation, if required.Tilt Rotary TableDirection of MotionDirection of motion i...

  • Page 294

    284Section 12: Rotary AxesApril 2003FadalUser ManualAxis LimitsThe tilt limits are as follows:1) B tilt table:• 105 degrees - from the cold start position• 15 degrees + from the cold start position2) A tilt table:• 105 degrees + from the cold start position• 15 degrees - from the cold sta...

  • Page 295

    April 2003Section 12: Rotary Axes285FadalUser ManualG90 Absolute ModeIn the absolute mode, the tilt angular value defines the final position between15 and 265 degrees. The + or - signs define the direction the table will move toget to the degree of tilt. Care must be used in selecting the proper ...

  • Page 296

    286Section 12: Rotary AxesApril 2003FadalUser ManualIn incremental terms B-90. tilts the table 90 degrees clockwise from its currentposition.In incremental terms A+90. tilts the table 90 degrees counterclockwise from itscurrent position.In incremental terms A-90. tilts the table 90 degrees clockw...

  • Page 297

    April 2003Section 13: Interpolation287FadalUser ManualSection 13: InterpolationVMC Interpolation ModesLinear InterpolationLinear Interpolation is used to generate motion along a line, at a specified feedrate. The linear mode is established by the G1 code. The VMC control can moveup to 5 axes simu...

  • Page 298

    288Section 13: InterpolationApril 2003FadalUser ManualCircularInterpolationCircles and arcs are described by the start point, the end point, direction anddistance from the start point to the center of the circle, and the arc direction.Any arc or circle may be programmed with two lines. Note: The ...

  • Page 299

    April 2003Section 13: Interpolation289FadalUser ManualG91In the incremental mode, the end point is described as the direction anddistance from the start point of the arc to the end point of the arc.Put a pencil on the starting position of the arc and draw arrows, firsthorizontally along the X axi...

  • Page 300

    290Section 13: InterpolationApril 2003FadalUser ManualArc CenterG90 and G91The arc center description is the same for G90 and G91.The arc center is the direction and distance from the start point of the arc to thecenter point of the arc. Put a pencil on the starting position of the arc and drawar...

  • Page 301

    April 2003Section 13: Interpolation291FadalUser ManualArc DirectionThe G2 code is used when the arc direction is clockwise, G3 is used for arcs ina counterclockwise direction.Circle ExamplesThe following are examples of various programmed arcs in absolute (G90) andincremental (G91)modes. ENDSTART...

  • Page 302

    292Section 13: InterpolationApril 2003FadalUser ManualR .42ENDSTARTY+3.052X-1.863G90X-2.283 Y2.632 G1 F45X-1.863 Y3.052 I.42 G3G91X0 Y-.5 G1 F45X.42 Y-.42 I.42 G3Figure 13-7 R .375ENDSTARTX5.1135 Y.765G90X4.7385 Y.39 G1 F45.X5.1135 Y.765 J.375 G3G91X.5 Y0 G1 F45.X.375 Y.375 J.375 G3Figure 13-8 Ci...

  • Page 303

    April 2003Section 13: Interpolation293FadalUser ManualR .005ENDSTARTX3.5 Y0G90X3.505 Y-.005 G1 F45.X3.5 Y0 I-.005 G3G91X0 Y1. G1 F45.X-.005 Y.005 I-.005 G3Figure 13-9 Circle Examples (4)R 1.0.7071.7071ENDSTARTX-.3212 Y-3.42345˚G90X-.0283 Y-2.7159 G1 F45.X-.3212 Y-3.423 I.7071 J-.7071 G3G91X-.5 Y...

  • Page 304

    294Section 13: InterpolationApril 2003FadalUser ManualR 1.0.7071.7071ENDSTARTX-3.215 Y2.706345˚G90X-3.5079 Y1.9992 G1 F45.X-3.215 Y2.7063 I1. G2G91X0 Y.5 G1 F45.X.2929 Y.7071 I1. G2Figure 13-11 Circle Examples (6).7071.7071.866.5X-4.1989 Y-3.6314STARTEND45˚30˚G90X-2.6258 Y-3.4243 G1 F45.X-4.19...

  • Page 305

    April 2003Section 13: Interpolation295FadalUser ManualFull circles require the move to the start/end point and either the I or J,depending on the start point moved to, and the direction around.Circular BossExampleM5 M9G90 G0 H0 Z0M6 T3 (TOOL #3, .5 2FL EMG90 G0 S8000 M3 E1 X-4.3 Y-2.3H3 D3 Z.1 M8...

  • Page 306

    296Section 13: InterpolationApril 2003FadalUser ManualG8Z-.245 G1 F10.X-4. G41 F50.Y-2.I1. G2Y-1.7X-4.3 G40Y-2.3 Z-.25G91 (G91 USED FOR EXAMPLE ONLYX.3 G41Y.3I1. G2Y.3X-.3 G40M5 M9G90 G0 H0 Z0M6 T4Contoured SlotExampleM5 M9G90 G0 H0 Z0M6 T6 (TOOL #6, 3/8 (.375) 2FL EMG90 G0 S10000 M3 E1 X2. Y-1....

  • Page 307

    April 2003Section 13: Interpolation297FadalUser ManualG90Z.1 G0G0 G90 H0 Z0CircularInterpolation UsingG18 & G19Using G18 (XZ plane) and G19(YZ plane) requires the use of K to represent thedirection and distance in Z from the starting point of the circle to the circlecenter.G18Circles in the X...

  • Page 308

    298Section 13: InterpolationApril 2003FadalUser ManualEXAMPLE:G90G90 X-5.09 Z-2. G0G18Z-2.56 G42 G1X-3.4585Z-1.168X-2.9928 Z-.952 I-.48 K.8314 G2X-1.86 Z0 I1.1328 K-.198 G3X0Z.5 G0 G40EXAMPLE:G91G90 X-5.09 Z-2.G18G91Z-.56 G41 G1X1.6315 Z.942X.4657 Z.666 I-.48 K.8314 G2X1.1328 Z.952 I1.1328 K-.198...

  • Page 309

    April 2003Section 13: Interpolation299FadalUser ManualG19Circles in the YZ plane require either the absolute or incremental end point, theJ and K circle center description, and the G2 or G3 description. The informationin this section concerning the use of I and J applies to the K word.The G19 wor...

  • Page 310

    300Section 13: InterpolationApril 2003FadalUser ManualEXAMPLE:G90G90 Y-5.09 Z-2.G19Z-2.56 G41 G1Y-3.4585 Z-1.618Y-2.9928 Z-.952 J-.48 K.8314 G3Y-1.86 Z0 J1.1328K-.198 G2Y0Z.5 G0 G40EXAMPLE:G91G90 X-5.09 Z-2.G19G91Z-.56 G41 G1X1.6315 Z.942X.4657 Z.666 J-.48 K.8314 G3X1.1328 Z.952 J1.1328 K-.198 G2...

  • Page 311

    April 2003Section 13: Interpolation301FadalUser ManualCircular Interpolation Using Radius DesignationAn R word, which represents the radius of the circle, can be used in place of theI, J, or K arc center description. This can be used in any plane (G17, G18, G19)and with absolute or incremental in...

  • Page 312

    302Section 13: InterpolationApril 2003FadalUser ManualHelical InterpolationHelical moves are used in various situations. Thread milling is one goodexample. Helical moves can be used for roughing the walls of a bore and forentering a pocket with a bottom cutting end mill. This type of motion can b...

  • Page 313

    April 2003Section 13: Interpolation303FadalUser ManualExamples UsingCopied LinesG90X5.5 G1 G41I-.5 G3 Z-.1I-.5 G3 Z-.2I-.5 G3 Z-.3X5. G40Note: The circular moves remain the same, however the absolute Z axispositions must change in each line.G91X.5 G1 G41I-.5 G3 Z-.1I-.5 G3 Z-.1I-.5 G3 Z-.1X-.5 G4...

  • Page 314

    304Section 13: InterpolationApril 2003FadalUser ManualL100 (SUB FOR HELICAL MOVES DOWN INTO POCKETG91 I-.5 G3 Z-.1 CRC is not applied hereM17L200 (SUB FOR POCKETG91 D1 The diameter of the tool must be in tool table to function properlyL104 The helical move in subroutine L100 is repeated four t...

  • Page 315

    April 2003Section 13: Interpolation305FadalUser ManualM99O2 (SUB FOR POCKETG91 D1 The diameter of the tool must be in tool table to function properlyM98 P1 L4 The helical move in subprogram O1 is repeated here four times (Z-.4)L9601 R0+10. R1+.015 R2+2.96 R3+2.96 Roughing the pocketX1.5 G41 G1...

  • Page 316

    306Section 13: InterpolationApril 2003FadalUser ManualCutter Radius Compensation with Helical MovesCutter radius compensation can be used with a helical move. CRC must beturned on before the helical move. Compensation is applied to the axes of theselected plane. For example in G17 compensation is...

  • Page 317

    April 2003Section 13: Interpolation307FadalUser ManualPartial Arcs and Helical MovesHelical moves can be made with any circular move, including full circles andpartial arcs.EXAMPLE:G91Y.19 G41 G1Y-.38 J-.19 G3 Z-.05 Helical move with a partial arcX1. Z-.05 Linear XZ moveY.38 J.19 Z-.05 Helical...

  • Page 318

    308Section 13: InterpolationApril 2003FadalUser ManualEXAMPLE:1 1/16 - 28 threadLead = 1 / 28 Lead = .0357Cutting an ODThreadTo cut a right handed OD thread:1) Start at the top of the boss for an OD thread.a. Turn comp on, moving up to the minor diameter.b. Helical cut down using G2 and a Z...

  • Page 319

    April 2003Section 13: Interpolation309FadalUser ManualN51 G91N52 I.5094 G2 Z-.0357 L15N53 G90N54 X-1. G40 G0N55 M5 M9Line N48 moves the tool to a safe position to bring the tool down away from theboss.Line N49 brings the tip of the threading tool to one thread above the boss.Line N50 turns comp o...

  • Page 320

    310Section 13: InterpolationApril 2003FadalUser ManualThe tools are set at the top of the part. The thread is located at X0 Y0. Theamount of thread to cut is .500(ID Thread example 1 1/16 - 28 2B)Major dia. - 1.0625Minor dia. - 1.0240/1.0301N46 ( TOOL #5 3/4 DIA SINGLE POINT CARB THREAD MILL (CR...

  • Page 321

    April 2003Section 14: Communications311FadalUser ManualSection 14: CommunicationsCommunicationsCharacter CodeThe CNC 88 can send or receive either EIA or ASCII character codes. The EIAcode output is intended for output to a tape punch only. The communicationsdescribed in this section are intended...

  • Page 322

    312Section 14: CommunicationsApril 2003FadalUser ManualXON/XOFF ProtocolDC1-READER ON (ASCII 17) DC2-PUNCH ON (ASCII 18)DC3-READER OFF (ASCII 19) DC4-PUNCH OFF (ASCII 20)While punching (or outputting) a program, the CNC receives either a DC3 orDC4, and the transmission pauses. When a DC1 or DC2...

  • Page 323

    April 2003Section 14: Communications313FadalUser ManualEXAMPLE:SUB DNC ()' SETUP VALUES' TRANSMIT BLOCK - [3-128-1], 1ST IS CONTROL BYTESENDBLOCK$ = CHR$(1) + STRING$(131, 32)' BLOCKNUMBER WILL BE INCREMENTED TO 1 IN FIXBLOCKBLOCKNUMBER% = 0' TIMES BLOCK WAS BEEN TRANSMITTED, 3 FOR ERRORXMITEDCOU...

  • Page 324

    314Section 14: CommunicationsApril 2003FadalUser ManualEXAMPLE:CASE IS = EOT$GOTO QUITINGCASE IS = NAK$RECDACK% = 0RECDNAK% = 1IF SENDFLAG% THEN' BLOCK WAS SENT BUT NOT RECEIVED, RE-TRANSMIT UP TO 3 TIMESSELECT CASE XMITEDCOUNTER%CASE IS = 0, 1XMITEDCOUNTER% = XMITEDCOUNTER% + 1CASE ELSECALL MHSE...

  • Page 325

    April 2003Section 14: Communications315FadalUser ManualCommandsCNC 88 CommandsAll of the CNC 88 commands may be issued from the computer terminal. TheMANUAL key is simulated by a control/E (05 hex or ENQ character). The linedelete function is accomplished by the @ key and the backspace function i...

  • Page 326

    316Section 14: CommunicationsApril 2003FadalUser ManualNote: a. CK is set to zero before the “%” Character is sent in step 20 above.b. CK includes all characters sent up to, but excluding, the first characterof the checksum.c. The only control character included in the checksum is the CR (i.e...

  • Page 327

    April 2003Section 14: Communications317FadalUser ManualThe second mode assumes that the remote device is programmable and isprepared to receive the NC data in the order described below. This mode isinvoked by the PU,,,1 command. The order is as follows:1) The CNC 88 sends one null character and w...

  • Page 328

    318Section 14: CommunicationsApril 2003FadalUser ManualEXAMPLE:N1 G0 G90 S3000 M3 E1 X0 Y0 N2 H1 Z.1 M7C:\ASSIST\CNCDATA\MOLD.CNCN3 G0 G90 H0 Z0N4 M0Note: A % sign is not required in sub programDNC ProtocolsThe control may use either one of two types of handshaking protocols. 1) DNC, the standar...

  • Page 329

    April 2003Section 14: Communications319FadalUser ManualTable 1 shows the circuits that are implemented in the CNC’s RS-232-Cinterface. In this table, DCE, stands for Data Communication Equipment. TheDCE is normally a telephone modem. If the user wishes to connect a computeror a data terminal di...

  • Page 330

    320Section 14: CommunicationsApril 2003FadalUser ManualIBM-Compatible PC-Simple DB25 NullModemNote: Connect pin one to the shield only at the machine end.IBM-Compatible PC-DB9 to DB25 for DTEEquipment-NullModem Not Included7Signal Ground (SG)8Received Line Signal Detector (RLSD)X20Data Terminal R...

  • Page 331

    April 2003Section 14: Communications321FadalUser ManualNote: Connect pin one to the shield only at the machine end.Macintosh II Mini-8ConnectorNote: Connect pin one to the shield only at the machine end.Macintosh Plus DIN-9 ConnectorNote: Connect pin one to the shield only at the machine end.RS23...

  • Page 332

    322Section 14: CommunicationsApril 2003FadalUser ManualMacintosh Plus DIN-8 ConnectorNote: Connect pin one to the shield only at the machine end.VMC Communications ProceduresVMC ControlParametersThe first step to any communications is to prepare the VMC control. At theENTER NEXT COMMAND prompt, e...

  • Page 333

    April 2003Section 14: Communications323FadalUser ManualReceiving Data /Programs at the VMCEXAMPLE:To Receive Data:CD,6 ENTER This sets the baud rate at 2400 baudThe line feed and echo parameters may also be used with the CD command.See Section Eight, Commands for detailed information on these p...

  • Page 334

    324Section 14: CommunicationsApril 2003FadalUser ManualTTY Option0 = Computer (Standard)1 = Leader, Program, Trailer (This option is used for tape punches)After entering the PU command the program is transmitted to the receivingdevice.Device Communications ProceduresComputerThe procedures describ...

  • Page 335

    April 2003Section 14: Communications325FadalUser Manual9) Echo Keyboard To Screen (Yes)10) Delay After End Of Line (0.0 seconds)The VMC and computer are now ready for communications.Receiving at the VMC:1) Enter the appropriate CD command at the VMC control.2) Enter the TA command desired to rece...

  • Page 336

    326Section 14: CommunicationsApril 2003FadalUser ManualOFF/PRINTPRINTON/PUNCHPUNCHRUNPress to startPrepare the machine for communications by entering the CD command. Usethe command CD,3 to set the baud rate at 300 baud. This is the baud rate thatthe tape punch uses. The machine and the tape punch...

  • Page 337

    April 2003Section 14: Communications327FadalUser Manualthe DI mode. It is suggested to call a service person or see the maintenancemanual for this zeroing procedure.Note: An RS-232 surge suppressor adds protection in this kind ofenvironment.File1) Has the file ever successfully been transmitted t...

  • Page 338

    328Section 14: CommunicationsApril 2003FadalUser ManualNote: Use the TA,1,1 command for program transmission so that the controlwill halt transmission and display the line where the syntax error occurs.5) If a word processor or editor is used to write the program, it must be savedin a text only f...

  • Page 339

    April 2003Section 14: Communications329FadalUser Manualare crossed to complete the communications path. Plug the test plug intothe RS-232 port on the outside of the back of the CNC control cabinet.Use the diagnostics mode to complete the test.a. Move to the cold start position.b. From the command...

  • Page 340

    330Section 14: CommunicationsApril 2003FadalUser Manual• Loose cable connections are one of the most common causes of com-munication problems.2) If a switch box is used, determine if the switch is in the proper position.a. Examine the cable connections to see if they are in the correct ports.b....

  • Page 341

    April 2003Section 14: Communications331FadalUser Manualthat was supplied from FADAL, the switch must be in the outward positionaway from the cable.8) Use the mirror plug test as described in step 4 of the VMC section above totest each section of cable from the VMC to the computer, replacing anyse...

  • Page 342

    332Section 14: CommunicationsApril 2003FadalUser ManualNote: A qualified computer setup person will be able to confirm that the port isfree of other interrupts.4) If an IBM-compatible computer has a serial mouse, is the mouse pluggedinto the proper port?a. Usually the serial mouse is used in COM1...

  • Page 343

    April 2003Section 14: Communications333FadalUser Manual• Baud rate - This is variable and it must match the baud rate set at theVMC with the SETP command or with the CD,# command.• Parity - E (Even)• Data Bits - 7 (Seven)• Stop Bits - 1 (One)• EOB (End Of Block) - CR,LF (ASCII 13,10)•...

  • Page 344

    334Section 14: CommunicationsApril 2003FadalUser ManualTYPE= DOS command (followed by a space)pathname = C:\CNCDATA\ substitute the drive-and-directory(ies) where the file being sent to theVMC is storedfilename =N1234.NC substitute the name of the file sent to the VMC>=> (th...

  • Page 345

    April 2003Section 14: Communications335FadalUser ManualTable 2: Fadal Software Error Codes04 OUT OF DATA52 BAD FILE NUMBER05 ILLEGAL FUNCTION CALL53 FILE NOT FOUND06 OVERFLOW54 BAD FILE MODE07 OUT OF MEMORY55 FILE ALREADY OPEN11 DIVISION BY ZERO57 DEVICE I/O ERROR12 ILLEGAL DIRECT58 FILE ALREADY ...

  • Page 346

    336Section 14: CommunicationsApril 2003FadalUser ManualTable 3: CNC Main Errors150“THE CNC NEEDS TO BE UPGRADED TO USE THIS PROGRAM”151”THIS VERSION OF CNCMAIN IS INCOMPATIBLE WITH YOUR CNC“152”CANNOT ESTABLISH LINK WITH CNC“153”INTERNAL ERROR: “154”CNC WILL NOT RESPOND“155”...

  • Page 347

    April 2003Section 14: Communications337FadalUser ManualTable 4: Syntax Errors190“ALPHA CHARACTER MUST SEPARATED BY NUMBERS”191”DATA INPUT ERROR”192”ILLEGAL CHARACTER”193”ILLEGAL ENDING CHARACTER”194”ILLEGAL STARTING CHARACTER”195”CANNOT FIND NESTED FILE”196”FILES NESTED ...

  • Page 348

    338Section 14: CommunicationsApril 2003FadalUser ManualThis page intentionally left blank.

  • Page 349

    April 2003Section 15: Touch Probes339FadalUser ManualSection 15: Touch ProbesTouch ProbesTouch Probe -Length OffsetThe tool setting probe is used with the UTILITY command to establish thelength offset. It can also be used for tool breakage detection and setting tooldiameter offsets. The UTILITY c...

  • Page 350

    340Section 15: Touch ProbesApril 2003FadalUser ManualAfter selecting this cycle the CNC displays the following menu:The information regarding the current tool in the spindle is displayed and theCNC prompts the user for the starting tool number. After entering the first toolnumber, the CNC respond...

  • Page 351

    April 2003Section 15: Touch Probes341FadalUser ManualThe following menu appears after the starting and ending tool numbers aredefined:Option 1=Jog toPositionThis option is used for locating the tool length offset by using the JOG functionof the CNC. The CNC prompts the operator to press the JOG k...

  • Page 352

    342Section 15: Touch ProbesApril 2003FadalUser ManualProbe Fixture OffsetNumber (0, 1-48)Once the probe is installed, a fixture offset can be dedicated to tool setting. TheX and Y fixture offset value is the location of the center of the tool setter stylusrelative to the HOME position.Respo...

  • Page 353

    April 2003Section 15: Touch Probes343FadalUser ManualAfter selecting a fixture offset the CNC displays the current X, Y, and Z valuesand prompts the user with the following message:Respond by pressing the Y key and begin the process of establishing the Zfixture offset. Then press the N key and th...

  • Page 354

    344Section 15: Touch ProbesApril 2003FadalUser ManualIf the program requires the diameter or the tool is an end mill, the operatorselects function 1 and enters the diameter. Select function 2 to begin locatingthe length offset.Locating LengthUsing the JOGFunctionThe CNC displays the message:PRESS...

  • Page 355

    April 2003Section 15: Touch Probes345FadalUser ManualAfter locating the length by either the JOG or PROBE method, the CNCautomatically performs a tool change to get the next tool and displays thefollowing menu:The process is repeated until the last tool has been set.Tool BreakageDetectionTool bre...

  • Page 356

    346Section 15: Touch ProbesApril 2003FadalUser ManualN1 moves X and Y to the clearance position (Left Figure Above).N2 moves the tool .100 below the top of the probe (Right Figure Above) andselects the Touch probe.N3 moves the tool to the center of the probe. Because the block contains theG31 cod...

  • Page 357

    April 2003Section 15: Touch Probes347FadalUser ManualTouch Probe - ToolDiameter OffsetThe tool diameter offset is achieved by a two step process as follows:1) The CNC is programmed to touch the probe at two points.2) The L9101 R1+8. code is used to perform the calculation.EXAMPLE:After the length...

  • Page 358

    348Section 15: Touch ProbesApril 2003FadalUser ManualThe stylus width is specified by R2. The D word specifies the diameter is to bestored as offset 1 in the tool table.General Rules toFollow: MP SeriesProbe1) Start the program by selecting the probe. M64 selects the MP Seriesprobe, M65 selects ...

  • Page 359

    April 2003Section 15: Touch Probes349FadalUser ManualExpect some over travel if the feed rate used with the move is high, and also ifthe stylus in the probe is long. A method for accuracy would be to use the G31and the G31.1 codes together. Use the G31 at a high feed rate to get up to thewall. Wi...

  • Page 360

    350Section 15: Touch ProbesApril 2003FadalUser Manual1) P1, P2, and P3 are used to save the touch positions when the fixed probesubroutines are going to be used in the program. G1 X3. Y-6. G31 P1 The first touch position is saved to P1X0 Y0 G5G1 X0 Y6. G31 P2 The second touch position is sav...

  • Page 361

    April 2003Section 15: Touch Probes351FadalUser ManualEXAMPLE:G1 G31 F25. X10. P1Moves the X axis until the probe touches or the move is completedEXAMPLE:If the Probe Touches:The axis motion stops, the X, Y, Z, A, B locations are stored as point 1 and theprogram continues.EXAMPLE:If the Probe Does...

  • Page 362

    352Section 15: Touch ProbesApril 2003FadalUser ManualNote: After performing a G31 touch, before another G31 is programmed, theprobe must be moved off the part as in N5 and N7 above.L9101 ProbeFunctionsThe L9101 fixed subroutine has 10 probe functions available:1) LOCATE TOUCH POINT2) CENTER LOCAT...

  • Page 363

    April 2003Section 15: Touch Probes353FadalUser ManualThe probing process is designed to be used as a three step process:1) Locate the points.2) Use fixed subroutine L9101 to perform the calculations.3) Continue the program using the R words returned by step 2.Locate Touch PointFunction #1: Locate...

  • Page 364

    354Section 15: Touch ProbesApril 2003FadalUser ManualThe following program uses function 1 to locate the 3 points of a circle, insteadof G31 as in the previous example.N1 M6 T1 (LOAD THE PROBEN2 G0 G90 X0 Y0 (POSITION TO APPROX. CENTERX-1. Y-1. F50. G1 (RETURN TO START POSITIONN3 Z-.25 H1...

  • Page 365

    April 2003Section 15: Touch Probes355FadalUser Manualand perform a drilling operation at the center of the circle, using the ID of thecircle:N1 M6 T1 (LOAD PROBEN2 G0 G90 X6. Y0. (POSITION TO CENTERN3 Z-.25 H1 M64 (POSITION ZN4 L9101 R1+1. X5. Y1. F25. P1 (LOCATE POINT 1N5 L9101 ...

  • Page 366

    356Section 15: Touch ProbesApril 2003FadalUser ManualPart OrientationFunction #3: Part OrientationCoding: L9101, R1+3., R2= Expected Angle from P2 to P3Points Used: P1, P2, P3Results: R1= Logical X, R2= Logical Y, R3= Angular ErrorThis function computes the location of the intersection point and ...

  • Page 367

    April 2003Section 15: Touch Probes357FadalUser ManualThe angle is coded in decimal degrees, 0 degrees starts at the X+ direction andincreases in the counterclockwise direction.The angular error returned in R3 is the result of subtracting the expected anglefrom the probed angle (P2 to P3). This an...

  • Page 368

    358Section 15: Touch ProbesApril 2003FadalUser ManualN1 M6 T1(LOAD PROBEN2 G0 X-.5 Y1. (CLEARANCE POSITION FOR POINT 1N3 Z-1.0 H1 M64N4 L9101 R1+1. X.5 F25. P1 (MOVE TO TOUCH POINT 1N5 Z0 G0N6 X1.0 Y-.5 (CLEARANCE POSITION FOR POINT 2N7 Z-1.0N8 L9101 R1+1. Y.5 F25. P2 (MOVE TO TOUCH POINT 2N9...

  • Page 369

    April 2003Section 15: Touch Probes359FadalUser ManualMid-Point and AngleFunction #4: Mid-Point and AngleCoding: L9101, R1+4., R2= Expected AnglePoints Used: P1, P2Results: R1= Logical X, R2= Logical Y, R3= Angular ErrorThis function computes the location of the point between P1 and P2 and theangu...

  • Page 370

    360Section 15: Touch ProbesApril 2003FadalUser ManualThe example above shows a part having an unknown rotation. After using thisfunction, the R3 contains the angular correction needed for rotation.The example above shows a part having an unknown width. After using thisfunction, the R1 contains th...

  • Page 371

    April 2003Section 15: Touch Probes361FadalUser ManualThis function is used to calculate the distance between an unknown surfaceand the gauge point (Tool Length Offset Position).The procedure is as follows:1) Setup: A length offset is set for the probe as a normal tool.2) Programming:a. The probe ...

  • Page 372

    362Section 15: Touch ProbesApril 2003FadalUser ManualTool BreakageDetectionFunction #6: Tool Breakage DetectionCoding: L9101, R1+6.Points Used: P1Results: A No Touch Causes The CNC Program To StopThis function is used to check if P1 had a successful Y or Z touch positionstored. A block containing...

  • Page 373

    April 2003Section 15: Touch Probes363FadalUser ManualThe following diagram describes this function:An X, Y, Z, A, or B dimension word included with the L9101 block is used forthe position check. Motion will not occur; the CNC uses the axis word only forthe position check. The R4 indicates approac...

  • Page 374

    364Section 15: Touch ProbesApril 2003FadalUser ManualTrue or FalseComparisonFunction #7: ContinuedCoding:Touch Check: L9101, R1+7., R2= False #, R3= True #Position Check: L9101, R1+7., R2= False #, R3= True #R4= Approach Direction, X, Y, Z, A or B # Points Used: P1Results: R2=True # or False #...

  • Page 375

    April 2003Section 15: Touch Probes365FadalUser ManualThis example finds a touch point and begins the finishing operation at N11when the Y touch position is “AT” or “PAST” the Y+5", otherwise the roughingoperation is performed.Calculate DiameterFunction #8: Calculate DiameterCoding: L...

  • Page 376

    366Section 15: Touch ProbesApril 2003FadalUser ManualWhen locating the center of a circle, the over travel of the probe doesn’t changethe computed center location. The radius of the circle appears larger wheninside a hole and smaller when outside a boss. MP8 ProbeCalibration1) Mount an inspecti...

  • Page 377

    April 2003Section 15: Touch Probes367FadalUser ManualEXAMPLE:The probe indicates the center location to be at X.001 and Y.002 afterperforming the calibration. The compensation is entered as L9101 R1+9.R2+X-.001 Y-.002Entering Radial OverTravelAfter the ring gauge test, R2 contains the effective r...

  • Page 378

    368Section 15: Touch ProbesApril 2003FadalUser ManualN9G91G10L109P1 (INCREMENT X COUNT BY +1N10G90N11G91G10L108P2 (INCREMENT X STEP BY +2N12G90N13L9101R1+10.X+R9P1 (SETS THE X VALUE TO COUNTN14L9101R1+7.X3.R2+24.R3+16.R4+1. (IF COUNT IS X OR HIGHERN15M99P+R2 (GOTO R3 ELSE GOTO R2N16G91G10L10...

  • Page 379

    April 2003Section 15: Touch Probes369FadalUser ManualN11 L9101 R1+1. X8. Y-1. F25. P2 (LOCATE POINT 2N12 L9101 R1+1. X12. Y-1.F25. P3 (LOCATE POINT 3N13 L9101 R1+2. (COMPUTE CENTER OF THE SECOND BOREN14 R7+R1 R6+R2 (RENAME THE LOCATIONN15 L9101 R1+10. X+R7 Y+R6 P2 (SET THE CENTER OF THE SECO...

  • Page 380

    370Section 15: Touch ProbesApril 2003FadalUser ManualEXAMPLE:G91 G1 F50.M64 M66X-3. G31M0X1. G0M99 P1Start by jogging the probe to approximately one inch to the right side of a solidobject. The position display will present the current X axis location. Press theSTART button to run this routine ea...

  • Page 381

    April 2003Section 15: Touch Probes371FadalUser Manualthat the longer the stylus, the more over travel will be required to open theswitch. Motion in the opposite direction can now be stopped with a G31.1code. When the stylus is vertical, the probe switch is now closed and themotion will stop becau...

  • Page 382

    372Section 15: Touch ProbesApril 2003FadalUser ManualThe stylus should run true when the probe is rotated by hand. Place anindicator in a magnetic base and put the indicator tip on the end of the stylus.Rotate the probe head by hand and observe the run out. Use the adjustmentscrews to get the sty...

  • Page 383

    April 2003Section 15: Touch Probes373FadalUser ManualX-3. G31#V1=AXZ1. G0X-4.Z-1.F50.X3. G31X-3. G31.1F.5X3. G31#V2=AX#V3=(V1+V2)/2Z1. G0X4.Z-1.M0M99 P1The V1 variable represents the right side touch; the V2 variable represents theleft side touch point. The V3 variable represents the mid-point of...

  • Page 384

    374Section 15: Touch ProbesApril 2003FadalUser Manual#V2=AX#V3=(V1+V2)/2#FX1=V3Z1. G0X4.Z-1.M0M99 P1The V1 variable represents the right side touch; the V2 variable represents theleft side touch point. The V3 variable represents the mid-point of the block.This mid-point will be relative to the SE...

  • Page 385

    April 2003Section 15: Touch Probes375FadalUser ManualFixed SubroutinesExamples in Format2Always test the probe to determine if it is functioning properly by typing theM64 M66 code in MDI. Then go into jog, touch the stylus, and look for thetouch/no touch message. The stylus should run true when...

  • Page 386

    376Section 15: Touch ProbesApril 2003FadalUser ManualG91 G1 F50.M64 M66X-3. Y-3. G31 P1M0X1. G0M99 P1The P1 on the line with the G31 will store the X and Y axis valuesMethod 2Use the L9101 subroutine function 1 to move and store the point. Note that theprogram must be written in absolute terms. W...

  • Page 387

    April 2003Section 15: Touch Probes377FadalUser ManualEXAMPLE:G90 G1M64 M66L9101 R0+1. X-3. Y-3. F25. P1M0X1. G0M99 P1In the example above, the X and Y axis positions will be stored because theyare the axes in motion in the L9101 line.

  • Page 388

    378Section 15: Touch ProbesApril 2003FadalUser ManualThis page intentionally left blank.

  • Page 389

    April 2003Section 16: Command Menus379FadalUser ManualSection 16: Command MenusQuick Keys MenuThere are three separate prompting menus within the machine control. Theyare the Quick Keys Menu, the Edit Menu, and the Function Menu. These menusprompt the operator for input to perform machine command...

  • Page 390

    380Section 16: Command MenusApril 2003FadalUser Manual3-ZERO RETURNQuick key #3 returns all axes to the HOME position. Press 3-ZERO RETURN thenthe START button.4-SET FIXTUREQuick key #4, places the control in the FIXTURE OFFSET UTILITIES MENU.5-SET LENGTHQuick key #5 sets the length of the curren...

  • Page 391

    April 2003Section 16: Command Menus381FadalUser ManualThere are 4 options as follows:0-PROGRAM AND TOOLING 2-PROGRAM ONLY1-TOOLING ONLY 3- ALL PROGRAMS0- PROGRAM AND TOOLING ONLY will output the program any values in thetool offset table and any values in the fixture table. The operator ...

  • Page 392

    382Section 16: Command MenusApril 2003FadalUser Manual1-TTY, LEADER AND NULLS0-CUSTOM MACROQuick Key #0 will run program number 9999 without having to switch thecurrently active program in memory. This feature allows the user toconveniently run this program. Any program maybe defined as O9999 or ...

  • Page 393

    April 2003Section 16: Command Menus383FadalUser Manualmenu functions the same as the PA command editor (see Section 8, PACommand). When the Edit Menu is entered the following screen is displayed.Edit Menu OptionsThe menu options displayed function in the following manner.U-UP Press U to move the...

  • Page 394

    384Section 16: Command MenusApril 2003FadalUser ManualFunction MenuThe Function Menu is selected by pressing the space bar three times fromENTER NEXT COMMAND. The first twelve (12) lines display the currently activeprogram. The bottom four (4) lines display the Function Menu options. Thesemenu op...

  • Page 395

    April 2003Section 16: Command Menus385FadalUser Manual2. Enter Diameter - This option is used to input a tool diameter. Theinput value will be an absolute change to the tool table. Enter thediameter value. The entered value is placed into the tool table.3. Store Length - This option is used to in...

  • Page 396

    386Section 16: Command MenusApril 2003FadalUser Manual1. Press Keys: X, Y, Z, A, B, (H FOR ALL) OR JOG - The JOG key may bepressed to enter the Jog mode. Press MANUAL to return to thisoption. The selection of an axis will set the current location as theaxis home position.2 - MemoryFunctionThis se...

  • Page 397

    April 2003Section 16: Command Menus387FadalUser Manual2. Options - This option allows the operator to select the TA command options individually. The TA command is performed with the selected parameters.2. Output - This option transmits a file from the machine to an externaldevice.1. Begin - This...

  • Page 398

    388Section 16: Command MenusApril 2003FadalUser Manual2. Change - This option is used to change the machine backlashsettings. The axes and desired settings are input at the requiredprompts.2. Parameters - This option is used to view or change the machineparameters. The SETP command is performed w...

  • Page 399

    April 2003Section 16: Command Menus389FadalUser Manual8- Last ScreenFunctionThis function is used to display the previous screen. Warning or errormessages that were cleared can be displayed with the use of this function.Only the last message is displayed.9- Cold StartFunctionThis function is used...

  • Page 400

    390Section 16: Command MenusApril 2003FadalUser ManualThis page intentionally left blank.

  • Page 401

    April 2003Section 17: Pallet Changer391FadalUser ManualSection 17: Pallet ChangerMechanical OverviewThis section will describe the operation of the optional Pallet Changer. Thepallet changer may be operated within the program or by use of the UTcommand. The pallets ride on rails with circular bea...

  • Page 402

    392Section 17: Pallet ChangerApril 2003FadalUser ManualM31 Exchange PalletsM31 performs a pallet exchange. The pallet changer will store the current palleton the machining table and load the other pallet onto the machining table. Noother machine movements will be made. This is the only code allow...

  • Page 403

    April 2003Section 17: Pallet Changer393FadalUser ManualM33.1 Store Pallet A & Load Pallet B & Verify Pallet B has been LoadedWhen Pallet A is on the table, M33.1 will STORE Pallet A and LOAD Pallet B.If Pallet B is at LOAD position (on machining table), M33.1 will verify Pallet B isat LOA...

  • Page 404

    394Section 17: Pallet ChangerApril 2003FadalUser ManualPotentiometers will become active after Cold Starting the machine and thenenabling the M48.2, Pallet A rotary table override pot, or M48.3, Pallet B rotarytable override pot. These M codes may be used in a program or in MDI mode.The intention...

  • Page 405

    April 2003Section 17: Pallet Changer395FadalUser ManualN4 M33.1 (STORE PALLET A, LOAD PALLET B IN MACHINING AREAN5 M48.2 (PALLET A ROTARY OVERRIDE POT ENABLE...N506 M49.2 (PALLET A ROTARY OVERRIDE POT DISABLEN507 E0 X0 Y0 A0N508 M33.1 (STORE PALLET B ROTARY OVERRIDE POT ENABLE...N1017 M49.3 (PA...

  • Page 406

    396Section 17: Pallet ChangerApril 2003FadalUser ManualOPTION 1When option 1 is selected, the following sequence will occur:1) The door opens.2) The machine enters the WAITING state, and the message “PRESS STARTTO MOVE PALLET” appears. The X, Y, M48, F150, and G1 will also appearif a table mo...

  • Page 407

    April 2003Section 17: Pallet Changer397FadalUser Manual3) When the START button is pressed the hydraulic clamp is released and thepallet will move to the stored position. The machine enters the WAITINGstate for the operator to change parts.4) When the START button is pressed the pallet is returne...

  • Page 408

    398Section 17: Pallet ChangerApril 2003FadalUser ManualOPTION 1: This option toggles the hydraulic clamp on and off.OPTION 2: This option toggles the door open and closed.OPTION 3: The table MUST be in position to receive a pallet the followingoccurs:a. The door opens if not already open.b. The m...

  • Page 409

    April 2003Section 17: Pallet Changer399FadalUser Manuala. The door opens.b. The machine enters the WAITING state and displays the message“PRESS START TO MOVE PALLET”. The X, Y, M48, F150, and G1 willalso appear if a table move is necessary.c. When the START button is pressed, the table moves ...

  • Page 410

    400Section 17: Pallet ChangerApril 2003FadalUser ManualThis page intentionally left blank.

  • Page 411

    April 2003Section 18: Macros401FadalUser ManualSection 18: MacrosMacros and Parametric ProgrammingMacrosMacros give the programmer the ability to perform arithmetic and comparisonfunctions within a CNC program. Values for variables (V1- V100) can beentered from input statements or passed to the m...

  • Page 412

    402Section 18: MacrosApril 2003FadalUser Manualusing radius designation for circular moves or for the minimum clearanceplane description with fixed cycles.R Variable DefinitionR variables are defined by coding the R word, + or - symbol and a value. EXAMPLE:N12 R8+50.0 This is variable R8 defined...

  • Page 413

    April 2003Section 18: Macros403FadalUser ManualN21 R1+0.01 R2+202.N22 L101N23 G0 G49 G90 Z0.1N24 M17N25 M30N26 (N27 (MAIN PROGRAMN28 G0 G90 S8000 M3 E1 X1.5 Y-0.876N29 (R1=Z, R2=SUB & REPS, R3=RADIUS OF SLOT, R4=DIA OF SLOTN30 H1 Z0.1 M7N31 Z0.01 G1 F30.N32 R3+0.19 R4+0.38N33 L301N34 X4. Y-0....

  • Page 414

    404Section 18: MacrosApril 2003FadalUser ManualEXAMPLE:N1 G0 G90 # V1=INT(V5 * 10000)/10000 This line is incorrectN1 # V1=INT(V5 * 10000)/10000 This line is correctN2 G0 G90 This line is correctExample Macro Program for a Rectangle with PRINT and INPUTStatements:0600 (SUB FOR RECTANGULAR POCKE...

  • Page 415

    April 2003Section 18: Macros405FadalUser Manual#R3=V1/2 R3 equals V1 divided by 2 (X VALUE)#R4=V2/2 R4 equals V2 divided by 2 (Y VALUE)#R5=V2-V4 Transfers the V2-V4 value to R5 parameter (Y#R6=V3 Radius#R7=(V2/2) V3R7 equals V2 divided by 2, minus the radius value (Y#R8=(V1/2) V3R3 equa...

  • Page 416

    406Section 18: MacrosApril 2003FadalUser ManualMathematical FunctionsMathematicalFunction MacrosMacros operate with the use of mathematical functions, commands andvariables. The variables are used in conjunction with the functions to performcalculations. The characters below describe the mathemat...

  • Page 417

    April 2003Section 18: Macros407FadalUser Manual+ (addition)and - (subtraction). AND, OR, NOTParentheses can be used to establish order of arithmetic operations, overridingstandard mathematical order.DecimalsNumbers without decimals will be considered integers. This is true only formacro lines.Exp...

  • Page 418

    408Section 18: MacrosApril 2003FadalUser ManualVariablesArraysVariable arrays can now be used; that is, the subscript of a variable can now bea variable or arithmetic expression. The subscript variables are D, FX, FY, FZ,H, PX, PY, PZ, PA, PB, R, and V. The subscript for a variable must not excee...

  • Page 419

    April 2003Section 18: Macros409FadalUser ManualD1 - D99: ToolDiameter/RadiusVariablesThese variables are used to read the current value of any diameter/radius fromthe tool table. It can also be used to establish or write a value in the table. Thecurrent value for any diameter can be changed by pl...

  • Page 420

    410Section 18: MacrosApril 2003FadalUser ManualEXAMPLE:WritingN63 # FX1 = FX1 - 2.H1 - H99: ToolLength OffsetVariablesThese variables are used to read the current value of any tool length offsetfrom the tool table. It can also be used to establish or write a value in the table.The current value f...

  • Page 421

    April 2003Section 18: Macros411FadalUser ManualEXAMPLE:Layout of I Macro:The inputs 1 – 6 are user inputs available from the J2 connector on the 1040-2A card. Pin 1 on the J2 connector is given by a little arrow visible on top of theconnector. I(1)Input 1 J2 pin 17I(2)Input 2J2 pin 18I(3)I...

  • Page 422

    412Section 18: MacrosApril 2003FadalUser ManualEXAMPLE:Layout of G Macro:G(l) (Group A G-codes) current interpolation type.Contains G-code plus one as follows:1 = (G0) point to point.2 = (G1) linear.3 = (G2) circular clockwise (CW).4 = (G3) circular counter clockwise (CCW).G(2) (Group B G-c...

  • Page 423

    April 2003Section 18: Macros413FadalUser ManualEXAMPLE:Layout of O MacroO(1)Output 1J2 pin 6O(2)Output 2J2 pin 7O(3)Output 3J2 pin 8The output is updated when a value is assigned to one of the slots in O-array. Ifa zero (0) is assigned to O(1), then the output on J2 pin 6 is pulled low. Anyother ...

  • Page 424

    414Section 18: MacrosApril 2003FadalUser ManualPOINT #1 IS X18.5 Y17.65R0-R9: ParametricVariablesThese variables are used to pass data from the macro to the CNC programlines. Parametric parameters R0-R9 are also used for fixed subs and fixedcycles (see Parametric Programming).EXAMPLE:N15 # R2 = V...

  • Page 425

    April 2003Section 18: Macros415FadalUser Manualallows the user to customize a macro to include a specialize tool lifemanagement application.V1-V100: MacroVariablesThese variables are used in the macro lines.EXAMPLE:N88 # V1 = V2 + V3FunctionsABSABS will return the absolute value of a number. EXAM...

  • Page 426

    416Section 18: MacrosApril 2003FadalUser ManualIf V23 = 12.513 then V100 = 12.If V23 = -12.513 then V100 = -12.The integer value uses only the whole number portion of the number.RNDRND will return a rounded value of a number. The number of places to round tois set using the #SET RND# command. To ...

  • Page 427

    April 2003Section 18: Macros417FadalUser ManualEXAMPLE:V12 = SIN(30) / COS(30)V12 would be equal to the tangent function of a 30 degree angleSQRSQR will return the square root of a number. If the number is negative, an erroris printed and the program will halt.EXAMPLE:V46 = SQR (9) V46 would be ...

  • Page 428

    418Section 18: MacrosApril 2003FadalUser ManualN16 # R3 = V2 * V17 This line transfers the multiplication of V2 * V17 to R3 parameterN25 X+ R3 F20. G1 This transferred R3 to XN26 #GOTO :INSIDE Continue at label :INSIDE at N15LabelsLabels are used to identify a GOTO location in the program. ...

  • Page 429

    April 2003Section 18: Macros419FadalUser ManualEXAMPLE:Example 1:N200 # IF V1 > V2 THEN GOTO :PART3N201 E2 X0 Y0 ...N299 # :PART3N300 E3 X0 Y0In line N200, if it is true that V1 is greater than V2, then the program will jumpto line number N300. If V1 is not greater than V2 the program will ski...

  • Page 430

    420Section 18: MacrosApril 2003FadalUser ManualLABELSLabels designate a place in the program where program execution may bedirected when preselected conditions have or have not been met. Labels areunaffected by program renumbering and take the form #:LABEL. Nothing elsemay appear on the line. The...

  • Page 431

    April 2003Section 18: Macros421FadalUser ManualEXAMPLE:Macro Example:N24 # SET RADIANSN25 # V2 = ATN(V1)N26 # PRINT, V2N27 # SET DEGREESN28 # V2 = ATN(V1)N29 # PRINT, V2Line N26 prints the angle V2 in radians. Line N28 prints the angle V2 indegrees.SET DEBUGThe debug command is used temporarily i...

  • Page 432

    422Section 18: MacrosApril 2003FadalUser ManualSET RUNThis command is used to exit the DEBUG mode. Using the MA command, enterSET RUN to exit the DEBUG mode or enter #SET RUN in the macro program.The program may then be executed.SINPUTThe SINPUT command is used to wait for and accept data though ...

  • Page 433

    April 2003Section 18: Macros423FadalUser ManualEXAMPLE:N3245 G0 G90 G49 Z0N3246 E0 X0 Y0N3247 #START 7 This calls a jump to program O7WAITThis command temporarily pauses processing of the program lines at the linewith the WAIT command. Processing will continue when the execution buffer iscomplet...

  • Page 434

    424Section 18: MacrosApril 2003FadalUser ManualIF (V1 GT V2) AND (V1 LT V3) THEN GOTO :LOOPThis first example is true only if expression 1 and expression 2 are both true,then control jumps to the label :LOOP.EXAMPLE:Example 2:ORIF (V1 GT V2) OR (V1 LT V3) THEN GOTO :LOOPIn this example, either co...

  • Page 435

    April 2003Section 18: Macros425FadalUser ManualThis discussion will include examples of macro programs with theirexplanations and, where appropriate, the equations from which the geometryis derived. It will start with simple examples and proceed through to the morecomplex functions.ConventionsAll...

  • Page 436

    426Section 18: MacrosApril 2003FadalUser ManualEXAMPLE:If the variables V1=5 and V2=1 then the following are equivalent:#V5=1#V(5)=1#V(V1)=1#V(V1+V2-1)=1#V(V1/V2)=1#V(V(SQR(V2))=1AX, AY, AZ, AA, AB,AC: Axis PositionVariablesAxis position variables are used to read the current location of the desi...

  • Page 437

    April 2003Section 18: Macros427FadalUser Manualbetter written as #IF V1 <= 10. In this form once the count exceeded 10 theprogram would drop out of the loop. If a specific value is required in a register itmust be entered by the programmer with an assign statement.To assign a value to a V vari...

  • Page 438

    428Section 18: MacrosApril 2003FadalUser ManualEXAMPLE:#PRINT “ENTER THE DIAMETER OF THE END MILL”#INPUT V100Program BranchingLABELSLabels designate a place in the program where program execution may bedirected when preselected conditions have or have not been met. Labels areunaffected by pro...

  • Page 439

    April 2003Section 18: Macros429FadalUser ManualThis compare statement checks to see if the content of variable V1 is equal to 8Some valid equalities: V1=R1 R1=V1 V1=SIN(V2) V5=TN. The condition mayalso be a Boolean Equation.EXAMPLE:#IF V1*V2=3 Which reads: if V1 times V2 equals V3or#IF V1...

  • Page 440

    430Section 18: MacrosApril 2003FadalUser Manualvalue of V1 exceeds 28, program operation will continue with the program linefollowing the IF THEN statement.#IF V1 = 1 THEN V20 = V5This line reads, if the contents of variable register V1 are equal to 1, then makethe contents of variable register V...

  • Page 441

    April 2003Section 18: Macros431FadalUser ManualEXAMPLE:Example 1:ANDIF (V1 GT V2) AND (V1 LT V3) THEN GOTO :LOOPThis first example is true only if expression 1 and expression 2 are both true,then control jumps to the label :LOOP.EXAMPLE:Example 2:ORIF (V1 GT V2) OR (V1 LT V3) THEN GOTO :LOOPIn th...

  • Page 442

    432Section 18: MacrosApril 2003FadalUser ManualInaccuracies in the count may be caused by the look-ahead feature in thecontrol. This may be overcome with the use of a macro WAIT statement in theline preceding the count statement. The WAIT statement does not cause themachine to stop, it stops look...

  • Page 443

    April 2003Section 18: Macros433FadalUser ManualEXAMPLE:O1 (D-HOLE EXAMPLE: MAIN PROGRAM(TOOL #1, .5 DRILLM6 T1G90 G0 S5000 M3 E1 X2. Y-3.H1 Z.1 M8G81 G99 R0+.1 Z-.6 F40. X2. Y-3.G80M5 M9G90 G0 G49 Z0(TOOL #2, .5 HSS 2FL EMM6 T2G90 G0 S7000 M3 E1 X2. Y-3.H2 Z.1 M8Z-.3 G1 F30.F45.D2R5+1. R6+2. R7+....

  • Page 444

    434Section 18: MacrosApril 2003FadalUser ManualN18#V13=-SQR((V4*V4)/(1+(V12*V12))) ‘X END PNT ON BND RADN19#V14=V12*V13 ‘Y END PNT ON BND RADN20#IF R5=0 THEN GOTO :CWN21#R3=V6 ‘FIRST X MOVE TO LINEN22#R4=0N23 G90 G8N24 M98 P900N25 X+R5 Y+R6 G1N26#R3=V6N27#R4=-V11 ‘Y MOVE TO BND RADN28 M98...

  • Page 445

    April 2003Section 18: Macros435FadalUser ManualN60#R4=0N61 M98 P900N62 X+R5 Y+R6N63#R3=0N64#R4=0N65 M98 P900N66 X+R5 Y+R6 G40N67 M99N68#:CWN69#R3=V6 ‘FIRST X MOVE TO LINEN70#R4=0N71 G90 G8N72 M98 P900N73 X+R5 Y+R6 G1N74#R3=V6N75#R4=V11 ‘Y MOVE TO BND RADN76 M98 P900N77 X+R5 Y+R6N78#R1=R5N79#R...

  • Page 446

    436Section 18: MacrosApril 2003FadalUser ManualN102#R3=V6 ‘X BND RAD END POINTN103#R4=-V11 ‘Y BND RAD END POINTN104 M98 P900N105 X+R5 Y+R6 I+R1 J+R2N106#R3=V6N107#R4=0N108 M98 P900N109 X+R5 Y+R6N110#R3=0N111#R4=0N112 M98 P900N113 X+R5 Y+R6 G40N114 M99Sub Program 900N1O900(ROTATE X & Y)N2#...

  • Page 447

    April 2003Section 18: Macros437FadalUser ManualSub Program 810O810(ROW & COLUMN: SUBPROGRAM#’R9 IS THE NUMBER OF HOLES ACROSS#’R8 IS THE SPACE BETWEEN X HOLES#’R7 IS THE NUMBER OF HOLES DOWN#’R6 IS THE SPACE BETWEEN Y HOLES#V1=R9#V2=R8#V3=R7#V4=R6#V5=V1#R5=V5#V50=0’V50 IS THE HOLE C...

  • Page 448

    438Section 18: MacrosApril 2003FadalUser Manual#V7=0 - Sets V7 to zero#:LOOP - Label :LOOP#V7=V7+1 - Add 1 to V7#IF V7>=360 THEN V7=0 Reset angle if over 360 degrees#V1=V1+.00077 Set radial increments per degree#V2=SIN (V7)*V1 Calculate X component#V3=COS(V7)*V1 Calculate Y component#R9=V2...

  • Page 449

    April 2003Section 18: Macros439FadalUser Manual#IF V1<=9 THEN GOTO :LOOP Tests if 10 holes have been drilled#V1=0 Resets V1 to zero for the next row#V2=V2+1 Increases the value in V2 by 1#IF V2<=9 THEN GOTO :LOOP Tests if 10 rows have been drilledG80 M5 M9G49 Z0G0 E0 X0 Y0 Z0M2This pro...

  • Page 450

    440Section 18: MacrosApril 2003FadalUser ManualTutorial Program SummariesSynopsisThe following programs have been designed as an integral part of this tutorial.Each program is summarized in this section and then each program isexplained line-by-line in the following section. The last section cont...

  • Page 451

    April 2003Section 18: Macros441FadalUser ManualY0. The distance between bores is assumed to be 5". This dimension may beadjusted in line N14. Bores up to approximately 2.5" dia. may be checked. Thisvalue will be influenced by the probe diameter and may be changed bymodifying the X and Y...

  • Page 452

    442Section 18: MacrosApril 2003FadalUser ManualPI*Dia = Circumference360/Angular increment = Y axis moveSine of the angle * Wave Height = X axis moveThis program will ‘wrap’ a sine wave around a round part on a fourth axis.Program Number 9Ellipse - An ellipse is defined as a collection of poi...

  • Page 453

    April 2003Section 18: Macros443FadalUser ManualCommands probe skip function and feeds the Z axis back into the tool probe at a slower feed for improved accuracyN9 #R9=AZReads the current Z location (AZ) into register 9 (R9). This is the actual Z value from the Home positionN10 #R8=R9-FZ23This mac...

  • Page 454

    444Section 18: MacrosApril 2003FadalUser ManualN4 #H99=H(R8)+FZ23N6 M65Turns on the tool probeN7 H99 Z1. (TOOL LENGTH ENTERED IN OFFSET #99 TO PROBEApplies the corrected tool length offset to one inch above the tool probeN8 G1 Z-.1Brings the tip of the tool below the edge of the probeN9 G1 G31 Y0...

  • Page 455

    April 2003Section 18: Macros445FadalUser ManualN1 03*TOOL TIME*Contains the program number and a comment.N2 G0 G90 E1 X0 Y0Sets the rapid and absolute modes then moves to X0 Y0 at fixture offset number 1N3 #V9=TN ‘GET THE TOOL NUMBERAssigns the number of the tool currently in the spindle to va...

  • Page 456

    446Section 18: MacrosApril 2003FadalUser Manualtable. If the time used is more than the time set in the Tool Time Table, program execution will continue on the next line.N13 #R9=R9+1Increments the tool number by oneN14 #TU(R9)=0Resets the Time used in the Tool Time table to ZeroN15 #IF R9<22 T...

  • Page 457

    April 2003Section 18: Macros447FadalUser Manualcomplete revolution. Multiplying by .75 gives 3/4 revolution to relieve thepressure. N1 O4 (BIG DRILLContains the program number and a commentN2 L100Subroutine number oneN3 G1 G91 F5. Z-R6Sets incremental mode feed at 5. IPM to Z minus the value in r...

  • Page 458

    448Section 18: MacrosApril 2003FadalUser ManualN20 #V4=V3*.3 ‘.3 = 30 PERCENT OF THE DRILL DIAMETERCalculates the peck distanceN21 #R6=V4Passes the value in V4 to R6N22 G90 G0 S+R8 M3 E1 X0 Y0Sets the absolute mode, turns on the spindle and rapids to X0 Y0 of fixture offset #1N23 H1 Z1. M8B...

  • Page 459

    April 2003Section 18: Macros449FadalUser ManualN6 #PRINT “R3 IS THE STARTING ANGLE”Lines three through six tell the operator where everything isN7 R5+10. R4+5. R3+30.Defines the parameters for the partN8 #R7=360/R5 ‘ANGLE BETWEEN HOLESSets R7 as the angle between holes. It is to be used i...

  • Page 460

    450Section 18: MacrosApril 2003FadalUser ManualN3 X0 Y0 E1Move to X0 Y0 at fixture offset 1N4 Z0.1 H1Moves the probe to .1 above Z zeroN5 G1 Z-0.25 F30.Moves the probe .25 below Z zeroN6 M64Turns on the probeN7 L9101 R1+1. Y1.25 P1 F30.Calls the probe routine to pick up the first point in the fir...

  • Page 461

    April 2003Section 18: Macros451FadalUser ManualN24 #V57=ATN(V56/V55)Calculates the angular rotation off of 0N25 #FX1=FX1+V50Sets fixture offset one X location to the center of the first boreN26 #FY1=FY1+V50Sets fixture offset one Y location to the center of the first boreN27 #R9=V57Sets R9 equal ...

  • Page 462

    452Section 18: MacrosApril 2003FadalUser ManualN5 G0 X0 Y0 E1Move to the center of the pocketN6 Z0.05 H1Move to .05 above Z zeroN7 G1 Z-1.687 F50.Move to the bottom of the pocket. The tangent point must be calculated for the X and Y locationsN8 R9+0.8736Set R9 equal to 1/2 of the Y dimension at t...

  • Page 463

    April 2003Section 18: Macros453FadalUser ManualN23 G0 Z.5 M5 M9Rapid to Z.5 turn off the spindle and coolantN24 G49 Z0 E0 X0 Y0 Z0Cancel offsets and return to the home positionN25 M2End of programProgram Number 8Sine Wave - A sine wave is constructed by laying out a line that represents one360 de...

  • Page 464

    454Section 18: MacrosApril 2003FadalUser ManualN7 #V4=90/(5*V3) ‘CALCULATE THE Q WORDCalculate the Q word for Cam WrappingN8 #R1=V4 ‘TRANSFER Q WORD TO R1Transfer the value of the Q word to R1N9 G51.1 Y0 ‘SET Y AXIS MIRRORMirror the Y axis for Cam WrappingN10 G17 Q+R1 ‘TURN ON CAM WRAPP...

  • Page 465

    April 2003Section 18: Macros455FadalUser ManualTool changeN29 S2500 M3 M8Spindle and coolant onN30 G0 X0 Y0 A0 Z0 E1Move to positionN31 Z1. H1Move to Z 1N32 G1 Z0.65 F15.Move to cut height. Z zero is the center of the partN33 L101Call SubroutineN34 M5 M9Turn off spindle and coolantN35 G49 E0 X0 Y...

  • Page 466

    456Section 18: MacrosApril 2003FadalUser ManualLabel to loop to if invalid data enteredN7 #PRINT “ENTER THE X DIMENSION”Print statement asking the operator to enter dataN8 #INPUT V1Input statement to accept the requested dataN9 #V1=V1/2Calculates the X radiusN10 #IF V1 LE 0 THEN GOTO :XDIMTes...

  • Page 467

    April 2003Section 18: Macros457FadalUser ManualSquares the X location for the X squared portion of the formulaN27 #V30=(V21*V10)/V1Calculates the X squared times b squared divided by a squared portion of the formulaN28 #V31=SQR(V10-V30)Calculates the square root of b squared minus V30 valueN29 #R...

  • Page 468

    458Section 18: MacrosApril 2003FadalUser ManualTutorial Program ListingsProgram Number 1N1 O99 (CHECK TOOLN2 G90 G0 E24 X0 Y.25 S250. M4N3 M65N4 H1 E23 Z1.N5 G1 G31 Z-.1 F20.N6 G91 Z.05N7 G90 S500N8 G1 G31 Z-.1 F1.N9 #R9=AZN10 #R8=R9-FZ23N11 G10 L10 P1 R0+R8N12 M5 G0N13 G0 G90 H0 Z0N14 E0 X0 Y0 Z...

  • Page 469

    April 2003Section 18: Macros459FadalUser ManualProgram Number 3N1 03*TOOL TIME*N2 G0 G90 E1 X0 Y0N3 #V9=TN ‘GET THE TOOL NUMBERN4 #R9=V9N5 #:LOOPN6 M6 T+R9N7 Z.1 H+R9N8 G81 G98 Z-.1 R0+.1 F50. M45N9 G91 X.5 L20N10 G80 G90 M5M9N11 X0 Y0N12 #IF TU(R9)<TT(R9) THEN GOTO :LOOPN13 #R9=R9+1N14 #TU...

  • Page 470

    460Section 18: MacrosApril 2003FadalUser ManualN26 M45N27 X1.N28 X2.N29 G67N30 G0 G90 H0 Z0N31 E0 X0 Y0N32 M2Program Number 5N1 O5 (BOLT PATTERNN2 #CLEARN3 #PRINT “X0 Y0 IS CENTER OF PATTERN USING FIXTURE OFFSET #1"N4 #PRINT “R5 IS THE NUMBER OF HOLES TO BE DRILLED”N5 #PRINT “R4 IS T...

  • Page 471

    April 2003Section 18: Macros461FadalUser ManualN10 L9101 R1+2.N11 #V50=R1N12 #V51=R2N13 G0 Z.1N14 X5. Y0N15 G1 Z-0.25 F20.N16 L9101 R1+1. X5. Y1.25 P1 F30.N17 L9101 R1+1. X3.9175 Y-0.625 P2 F30.N18 L9101 R1+1. X6.0825 Y-0.625 P3 F30.N19 L9101 R1+2.N20 #V60=R1N21 #V61=R2N22 #V55=V60-V50N23 #V56=V6...

  • Page 472

    462Section 18: MacrosApril 2003FadalUser ManualN20 #R7=R7-.01N21 Z-R7.N22 #IF R7 GT 0 THEN GOTO :LOOPN23 G0 Z.5 M5 M9N24 G49 Z0 E0 X0 Y0 Z0N25 M2Program Number 8N1O7(SINE WAVE DEMON2 L100N3 R1+0 R2+0 R3+0 R4+0 (ESTABLISH VALUES FOR R WORDSN4 #V1=1.5 ‘DIAMETER OF THE PARTN5 #V2=.625 ‘R...

  • Page 473

    April 2003Section 18: Macros463FadalUser ManualN36 G28N37 M2Program Number 9N1 O9 (ELLIPSE PROGRAMN2 G0 G90 G80 G40 G49 Z0N3 T1 M6N4 S2500 M3 M7N5 G0 X0 Y0 Z0 E1N6 #:XDIMN7 #PRINT “ENTER THE X DIMENSION”N8 #INPUT V1N9 #V1=V1/2N10 #IF V1 LE 0 THEN GOTO :XDIMN11 #:YDIMN12 #PRINT “ENTER THE Y ...

  • Page 474

    464Section 18: MacrosApril 2003FadalUser ManualN39 #R8=V31N40 G1 X+R9 Y-R8 F20.N41 #IF V20 < V25 THEN GOTO :LOOP1N42 G0 Z0.1 M5 M9N43 G49 Z0 E0 X0 Y0N44 G28N45 M2

  • Page 475

    April 2003Section 19: Miscellaneous465FadalUser ManualSection 19: MiscellaneousFlood Coolant Through the Spindle (Optional)DescriptionThe Coolant Through the Spindle option provides coolant flow through thespindle. The system has its own pump and electrical system, separate from thestandard flood...

  • Page 476

    466Section 19: MiscellaneousApril 2003FadalUser Manualdoors closed, to remove a tool from the spindle when the coolant through thespindle system is pressurized. Note: Always wear eye protection when operating the machine and all of itsadded equipment.Hydro Sweep (Optional)Hydro Sweep™ ChipRemov...

  • Page 477

    April 2003Section 19: Miscellaneous467FadalUser Manualcontrol panel. It may also be activated by the M20 code in the machineprogram.The CYCLE START and M20 code are toggles for the system. Either can turn thesystem on or off. Press the button once to active the system and press it againto deactiv...

  • Page 478

    468Section 19: MiscellaneousApril 2003FadalUser ManualNote: An M20 code is used to close the doors when the machine tool is notequipped with a general indexer.Note: When the doors are closed and the M20 is coded, the machine will waitfor a signal. To override this condition, open and close the do...

  • Page 479

    April 2003Section 19: Miscellaneous469FadalUser ManualThe servo coolant option has been designed to allow the user to program adirection of coolant flow. This coolant flow may be directed onto the tool ordirectly onto the part to cool and wash away chips. The servo coolant will be assigned to the...

  • Page 480

    470Section 19: MiscellaneousApril 2003FadalUser Manual2) From MDI, call the first tool to be used with the Servo Coolant. With this toolin the spindle turn on the coolant. Next position the coolant flow onto thetip of the tool by using the manual Pulse Generator. Adjustment may bemade later for t...

  • Page 481

    April 2003Section 19: Miscellaneous471FadalUser ManualEXAMPLE:N1 O1 (PART 1234N2 M6 T1 (TOOL #1 , 3 INCH SHELL MILLN3 G0 G90 S3200 M3 E1 X0 Y0N4 H1 D1 Z.1The H word must be called before the M7.1 codeN5 M7.1 L10.0 P3.0Servo coolant on, Flood coolant on M7.1Read length of tool 1 and place nozzle a...

  • Page 482

    472Section 19: MiscellaneousApril 2003FadalUser ManualChip Auger and Wash Down (Optional)DescriptionThe chip auger and wash down option is used to clear machined part chipsfrom the machine tool. This system uses a flood coolant wash to transfer thechips to the front of the machine where a mechani...

  • Page 483

    April 2003Section 19: Miscellaneous473FadalUser Manualtheir closed state (normal operation when the front doors are closed and theside panels are installed).The chip auger wash system is activated and deactivated by the lower buttonon the control panel (labeled Start/Stop). The button is pushed o...

  • Page 484

    474Section 19: MiscellaneousApril 2003FadalUser Manualcan be adjusted by the cycle wash control (middle knob on the control boxpanel). The shortest duration time occurs with the knob rotated fullycounterclockwise. The longest duration time is when the wash cycle time knobis fully rotated clockwi...

  • Page 485

    April 2003Section 19: Miscellaneous475FadalUser ManualDual Arm Tool ChangerCommandsDDDisplays the bucket number and the tool number table, and identifies thebucket number located at the bucket ready position with an asterisk.1) SWAP TOOLS- Option 1 within DD is SWAP TOOLS, which will exchange th...

  • Page 486

    476Section 19: MiscellaneousApril 2003FadalUser Manual4) The sequence of the remaining tools in the Turret is not changed, and thenew bucket numbers are updated in the DD table. The asterisk identifies thebucket in the bucket ready position.5) The SETTO,# procedure may be repeated as many times ...

  • Page 487

    April 2003Section 19: Miscellaneous477FadalUser ManualMiscellaneous Control OptionsInput from a TapePunch or ComputerThe control can accept programs or tool data into its memory by using the tapeinput command.1) The BAUD RATE of the control and the device it is connected to must be setat the same...

  • Page 488

    478Section 19: MiscellaneousApril 2003FadalUser ManualOption 2: For # type 2. When this option is used the control will continue to accept dataeven after an error is detected. When transmission of the data is complete, amessage is displayed on the screen “# ERROR(S) READING TAPE.” If no error...

  • Page 489

    April 2003Section 19: Miscellaneous479FadalUser Manual2) Turn the key so the slot is in the vertical position.NOEDIT Feature1) On the line with the O word type a comment with the word NOEDIT withinthe first sixteen characters, and this will prevent any changes to theprogram.EXAMPLE:N1 O6 (NOEDI...

  • Page 490

    480Section 19: MiscellaneousApril 2003FadalUser ManualUsing the AnalyzerThe Analyzer software converts and performs a binary compression of aprogram into a file that the DNC can run at 1000 BPS.Simple Rules:1) G91.3 starts the process.2) G91.2 cancels (Format 2).3) The high-speed moves must be ab...

  • Page 491

    April 2003Section 19: Miscellaneous481FadalUser ManualLong moves (those moves much longer than the maximum move size) will bebroken into moves equal to or smaller than the maximum move size. Forexample, a 1 inch Z position move will begin red, then change green then blueas the tool gets up to spe...

  • Page 492

    482Section 19: MiscellaneousApril 2003FadalUser ManualDisk to MemoryLoads a program from a diskette into CNC memory.Memory to DiskSaves a program from CNC memory onto a disk.DirectoryDisplays the files and directories on a disk. DeleteDeletes a file from the diskette.FormatFormats a diskette (all...

  • Page 493

    April 2003Section 19: Miscellaneous483FadalUser Manual2) The file must not contain an O word.3) The file should not contain an M30, M99, or an M2. The CNC will return tothe program in memory automatically at the end of the file.4) The lines can be numbered, but do not need to be.5) The file itsel...

  • Page 494

    484Section 19: MiscellaneousApril 2003FadalUser ManualThis page intentionally left blank.

  • Page 495

    April 2003Section 20: Graphics485FadalUser ManualSection 20: GraphicsCNC 88HS GraphicsGraphics MenuThe graphics menu of the page editor has been designed to allow the user toview the part path of the current program in memory. The graphics can beaccessed by pressing the G Key from the page editor...

  • Page 496

    486Section 20: GraphicsApril 2003FadalUser ManualF = FULL TABLEPressing the F key clears the screen and continues auto part path draw at fulltable plotting. This is used after the part path plot has been ZOOMED inwardand the user wished to see the whole part path again on a full table display.M =...

  • Page 497

    April 2003Section 20: Graphics487FadalUser ManualJOG = ZOOMDuring the plotting process, or after or during the plot, pressing the JOG buttonallows the user to ZOOM in or ZOOM out the display. The PULSE GENERATOR(the Jog Hand Wheel) now controls the position where the ZOOM BOX will belocated on th...

  • Page 498

    488Section 20: GraphicsApril 2003FadalUser Manualthe calculated information needs to be inserted. When the function menuinserts information into the Page Editor, a comment is also written to indicatewhich function was used.The MenusOnce in the function tile listing, select the number of the funct...

  • Page 499

    April 2003Section 20: Graphics489FadalUser ManualCoordinate SystemThe function menu uses the X Y plane (G17) of the cartesian coordinatesystem. All point descriptions are in absolute mode(G90), where all points aredescribed as their distance from HOME (X0,Y0).PointsDescribe a point by specifying ...

  • Page 500

    490Section 20: GraphicsApril 2003FadalUser ManualAnglesAngles are measured from the positive X axis using decimal degrees. A positiveangle is measured counterclockwise from the X positive axis, and the negativeangle is measures clockwise from the X positive axis.Angles describe direction of motio...

  • Page 501

    April 2003Section 20: Graphics491FadalUser ManualLinesLines are described by specifying a point on a line and the angle of the line.The point does not need to be on the part. It can be on an extended portion ofthe line. The angle defines the direction of the motion on the line (see Angles).Circle...

  • Page 502

    492Section 20: GraphicsApril 2003FadalUser ManualBlend RadiusA blend radius is a circle that is situated between two known geometricelements. It is defined by a radius value and a direction of motion. The blendradius direction of motion is described by clockwise or counterclockwise.The Function M...

  • Page 503

    April 2003Section 20: Graphics493FadalUser ManualANGLE OF A LINETWO LINEFUNCTIONSFigure 20-8 Angle of a LineFigure 20-9 Two Line Functions

  • Page 504

    494Section 20: GraphicsApril 2003FadalUser ManualFINDING A PARALLELLINE USING A LINEOR CIRCLETHREEINTERSECTIONFUNCTIONSFigure 20-10 Finding a Paralell LineFigure 20-11 Three Intersection Functions

  • Page 505

    April 2003Section 20: Graphics495FadalUser ManualINTERSECTION OF 2LINESINTERSECTION OF 2CIRCLESFigure 20-12 Intersection of 2 LinesFigure 20-13 Intersection of 2 Circles

  • Page 506

    496Section 20: GraphicsApril 2003FadalUser ManualINTERSECTION OF ALINE AND CIRCLETWO TANGENTFUNCTIONSFigure 20-14 Intersection of a Line and CircleFigure 20-15 Two Tangent Functions

  • Page 507

    April 2003Section 20: Graphics497FadalUser ManualTANGENT POINT OFA LINE AND CIRCLETANGENT POINTS OFTWO CIRCLESFigure 20-16 Tangent Point of a Line and CircleFigure 20-17 Tangent Points of Two Circles

  • Page 508

    498Section 20: GraphicsApril 2003FadalUser ManualNINE BLEND RADIUSFUNCTIONSBLEND RADIUSFROM A LINE TO ALINEFigure 20-18 Nine Blend Radius FunctionsFigure 20-19 Blend Radius from a Line to a Line

  • Page 509

    April 2003Section 20: Graphics499FadalUser ManualBLEND RADIUSFROM A LINE TO ACIRCLEBLEND RADIUSFROM A CIRCLE TO ALINEFigure 20-20 Blend Radius from a Line to a CircleFigure 20-21 Blend Radius from a Circle to a Line

  • Page 510

    500Section 20: GraphicsApril 2003FadalUser ManualBLEND RADIUSFROM A CIRCLE TO ACIRCLEBLEND RADIUSFROM A POINT TO ALINEFigure 20-22 Blend Radius from a Circle to a CircleFigure 20-23 Blend Radius from a Point to a Line

  • Page 511

    April 2003Section 20: Graphics501FadalUser ManualBLEND RADIUSFROM A LINE TO APOINTBLEND RADIUSFROM A POINT TO ACIRCLEFigure 20-24 Blend Radius from a Line to a PointFigure 20-25 Blend Radius from a Point to a Circle

  • Page 512

    502Section 20: GraphicsApril 2003FadalUser ManualBLEND RADIUSFROM A CIRCLE TO APOINTBLEND RADIUSFROM A POINT TO APOINTFigure 20-26 Blend Radius from a Circle to a PointFigure 20-27 Blend Radius from a Point to a Point

  • Page 513

    April 2003Section 20: Graphics503FadalUser ManualCIRCLE FUNCTIONTRIANGLE SOLVERFigure 20-28 Circle FunctionFigure 20-29 Triangle Solver

  • Page 514

    504Section 20: GraphicsApril 2003FadalUser ManualTOOL CALL AND ENDOF PROGRAMTOOL CALLFigure 20-30 Tool Call and End of ProgramFigure 20-31 Tool Call

  • Page 515

    April 2003Section 20: Graphics505FadalUser ManualEND OF PROGRAMWARNING: End of program will insert at cursor!The following will be inserted at the cursor for an “end of program”:(ENDING PROGRAMG0 G80 G90 M5 M9Z0 G53X0 Y0 Z0 E0 H0M30FIXED CYCLES ANDSUBROUTINEFUNCTIONS!Figure 20-32 Fixed Cycles...

  • Page 516

    506Section 20: GraphicsApril 2003FadalUser ManualENGRAVINGBOLT CIRCLEFigure 20-33 EngravingFigure 20-34 Bolt Circle

  • Page 517

    April 2003Section 20: Graphics507FadalUser ManualMILL BORINGRECTANGULARPOCKETFigure 20-35 Mill BoringFigure 20-36 Rectangular Pocket

  • Page 518

    508Section 20: GraphicsApril 2003FadalUser ManualCIRCULAR POCKETDRILLING CYCLESFigure 20-37 Circular PocketFigure 20-38 Drilling Cycles

  • Page 519

    April 2003Section 20: Graphics509FadalUser ManualTAPPING CYCLESBORING CYCLESFigure 20-39 Tapping CyclesFigure 20-40 Boring Cycles

  • Page 520

    510Section 20: GraphicsApril 2003FadalUser ManualThis page intentionally left blank.

  • Page 521

    April 2003Section 21: Formats511FadalUser ManualSection 21: FormatsOverviewFrom the SETP Command the control has the option to use either FORMAT 1 orFORMAT 2.Format 1Format 1 is FADAL style programming and machine operation.Format 1 has been uniquely designed to have the CNC control reset beforer...

  • Page 522

    512Section 21: FormatsApril 2003FadalUser ManualIf the decimal point does not appear with dimensions, feed rates, or angles, thecontrol will add them. For example, if an X1 is entered it is accepted as X.0001(See also DECIMALS and SIGNS).3) The O word on the first line is not required. The O word...

  • Page 523

    April 2003Section 21: Formats513FadalUser ManualFORMAT 1 Programwith Subroutinesand SubprogramCalls O# (COMMENT (SUBROUTINE SECTION L100 (SUB #1 FOR _______ Each sub begins with an L word, a sub Math worknumber (1-99), and a two digit zero repetition (00) M17 L200 (SUB #2 FOR _______ ) Math...

  • Page 524

    514Section 21: FormatsApril 2003FadalUser ManualFormat 2 ProgrammingNotes on Format 2Style Programming1) The safe block is mandatory at the beginning of the program.O# (COMMENT (COMMENT Z0 G53G0 G17 G40 G70 G80 G90 H0 E0 Z0G28 X0 Y0 Z0 A0 B0 if needed2) The G28, with the axis designated to m...

  • Page 525

    April 2003Section 21: Formats515FadalUser Manual9) Decimals are required for all dimensions, feed rates, and angles.EXAMPLE:X Y Z ###.#### (or ##.##### for higher precision)F ####.##A ####.###B ####.###If decimals points do not appear with dimensions, feed rates, or angles, thecontrol will add t...

  • Page 526

    516Section 21: FormatsApril 2003FadalUser ManualM5 M9G0 G90 H0 Z0M6 T2(TOOL #2 IDG0 G90 S##### M3 X###.#### Y###.#### E## (or G54-G59)H# M8 Z###.#### D#G4 P1000Math workM5 M9G0 G90 H0 Z0E0 X0 Y0 Use this line to cancel all fixture offsetsM30O3 (SUBPROGRAM #3 FOR ______________ Math work M99 En...

  • Page 527

    April 2003Section 21: Formats517FadalUser Manuala. In most cases it is required to use the SETCS then the HO command toplace the machine to the CS alignment position before typing SETP.Verify that the alignment markers all line up. User may be instructed toCOLD START CNC.The SETP command is gener...

  • Page 528

    518Section 21: FormatsApril 2003FadalUser Manualshould be set as shown. All other parameters should be set as they are fromthe factory.Figure 21-1 Format 1 Parameter SettingsFigure 21-2 Format 1 Parameter Settings (Continued)

  • Page 529

    April 2003Section 21: Formats519FadalUser ManualFORMAT 2 ParameterSettingsThe following is the screen representation upon entering the SETP command.The parameters FORMAT, DEFAULTS, CRC MODE, N-WORDS ORDERED andTOOL TABLE should be set as shown. All other parameters should be set asthey are from t...

  • Page 530

    520Section 21: FormatsApril 2003FadalUser ManualFORMATTHERE ARE TWO PROGRAM OPERATION FORMATS AVAILABLEDO YOU WANT MAXIMUM 6MB/10M/11M CAPABILITY?1) NO, ORIGINAL FADAL STYLE - FORMAT 12) YES, FORMAT 2Figure 21-5 Format 2 Parameter Settings (Continued)Figure 21-6 Format 2 Parameter Settings (Conti...

  • Page 531

    April 2003Section 21: Formats521FadalUser ManualThis parameter allows the user to select 6MB/10M/11M compatibility. Theoperational difference between the two formats depends upon the codingused.AXES: X,Y,ZENTER THE AXIS CONFIGURATION1) A2) A, B3) X,Y,Z4) X,Y,Z,A5) X,Y,Z,A,B6) X,Y,Z,B7) C onlyWhen...

  • Page 532

    522Section 21: FormatsApril 2003FadalUser ManualRPM FACTORENTER THE SPINDLE RPM ADJUSTMENT FACTORTHE FACTOR MUST BE BETWEEN 0 AND 31This parameter should only be adjusted by trained maintenance personnel.BAUD RATEENTER DEFAULT BAUD RATE (THE RATE AFTER POWER-ON)1) 110 5) 1200 9)...

  • Page 533

    April 2003Section 21: Formats523FadalUser ManualB-AXIS RATIOENTER B-AXIS RATIO1) 90:12) 180:13) 360:14) 120:15) 72:16) COOLANT7) 60:18) 144:1Select the appropriate option for the rotary table being used. See servo coolantoption.TOOL CHANGER CAPENTER THE TOOL CHANGER CAPACITY1) 16 TOOL ATC2) 21 TO...

  • Page 534

    524Section 21: FormatsApril 2003FadalUser ManualIF YES, ALL PERSONNEL MUST BE AWARE OF THE POSSIBILITY OF OVER SPEEDING A TOOL BEFORE THE NEW S-WORD IS ENCOUNTEREDWhen this parameter is selected as YES, the spindle automatically turns onafter the tool change. The spindle comes on at the last prog...

  • Page 535

    April 2003Section 21: Formats525FadalUser ManualORIENTATIONFACTORENTER THE SPINDLE RPM ADJUSTMENT FACTORTHE FACTOR MUST BE BETWEEN 0 AND 31This parameter should only be adjusted by trained maintenance personnel.DEFAULT: INCHENTER THE DEFAULT VALUE1) INCH2) METRICThe operator must select the inch ...

  • Page 536

    526Section 21: FormatsApril 2003FadalUser ManualPALLETDO YOU HAVE A PALLET CHANGER?1) NO2) YESSelect the option appropriate for the machine.ASPECTENTER THE ASPECT RATIO OF Y TO XTHE RATIO MUST BE BETWEEN 25 AND 150M7-FLOOD M8-MISTENTER M7, M8 PREFERENCE1) M7 IS FLOOD COOLANT, M8 IS MIST2) M8 IS F...

  • Page 537

    April 2003Section 21: Formats527FadalUser ManualTIMERSSELECT THE AUTOMATIC TOOL TIMER MODE?1) ALL TOOL TIMING OFF2) DO NOT CHECK3) END OF TOOL (AT M6)4) AFTER EACH MOVE5) AT END OF PROGRAMSelect the desired option and set a value in the DTT table for TIME. The USEDvalue will be inserted by the co...

  • Page 538

    528Section 21: FormatsApril 2003FadalUser ManualOVERLOADENTER THE MOTOR OVERLOAD FACTOR (2 IS STANDARD)THE FACTOR MUST BE BETWEEN 1 AND 8SCREWSELECT THE SCREW PITCH TYPE?1) INCH PITCH2) 8/10MILLIMETER PITCHIPMSELECT THE MAX RAPID FEED RATE?1) 400 IPM 4) 800 IPM2) 500 IPM 5) 900 IPM3) 700 ...

  • Page 539

    April 2003Section 21: Formats529FadalUser ManualA-PALLETWHICH ROTARY AXIS IS INSTALLED ON THIS PALLET?1) NOT APPLICABLE2) A-AXIS3) B-AXIS4) A-AXIS & B-AXISSelect the appropriate option for the rotary axis being used. B-PALLETWHICH ROTARY AXIS IS INSTALLED ON THIS PALLET?1) NOT APPLICABLE2) A-...

  • Page 540

    530Section 21: FormatsApril 2003FadalUser ManualAIR VALVEFEEDBACKDO YOU HAVE AIR VALVE FEEDBACK?1) NO2) YESAnswer NO only for machines built previous to having feedback on thedrawbar.Parameters Applicable to FORMAT 2 OnlyN-WORDS ORDEREDENTER THE N-WORD SEQUENCE CONFIGURATION1) THE N-WORDS ARE IN ...

  • Page 541

    April 2003Section 22: Operation of the TRM531FadalUser ManualSection 22: Operation of the TRMIntroductionFadal’s smallest VMC model is the Tool Room Mill. Although It has manysimilarities with Fadal’s larger models, it has a few operational differences thatwarrant a separate section in the Us...

  • Page 542

    532Section 22: Operation of the TRMApril 2003FadalUser ManualManual Mode Usingthe MPG HandWheelsThe Tool Room Mill uses a fully manual mode to move the machine’s axes.Each axis has its own dedicated MPG, Manual Pulse Generator, hand wheel.For this reason, there is no axis selector switch on the...

  • Page 543

    April 2003Section 22: Operation of the TRM533FadalUser ManualKeyboardThe TRM uses a notebook style keyboard with added functionality. Two of thekeys are operated by holding the Shift key down and pressing the desiredfunction key. They are identified by common color of the key text. The first o...

  • Page 544

    534Section 22: Operation of the TRMApril 2003FadalUser ManualSpindle and AxisMotor Power LoadPercentageThe current spindle and axis motor power load percentage is show on thecontrol display while operating the machine in Manual mode or Jog mode.100% is the continuous power output of the machine. ...

  • Page 545

    April 2003Section 22: Operation of the TRM535FadalUser ManualTool Room UserMacro For added capabilities, the TRM custom macro can be used to machine simplefeatures. Using this custom macro will alleviate the need to move the machinemanually or writing a CNC program. To use the Tool Room Mill Cu...

  • Page 546

    536Section 22: Operation of the TRMApril 2003FadalUser ManualDefault Parametersfor TRM CustomMacroTo aid in repetitive tasks, there are a set of default parameters that are storedby the program that are shown in the following Parameter Menu:1) SPINDLE SPEED/DIRECTION, S[1000.] M[3]2) TOOL DIAMETE...

  • Page 547

    April 2003Section 22: Operation of the TRM537FadalUser ManualTapping FunctionThe tapping function will use a compression tapping cycle. From the mainmenu, move the machine with either the MPG hand wheels or the IncrementalMove function over the desired hole location. Position the tool tip at a ...

  • Page 548

    538Section 22: Operation of the TRMApril 2003FadalUser ManualS 1000. M 3PLUNGE AT F 5.CUT AT F 20.DEPTH Z- 1.* PRESS START TO CONTINUE OR ANY OTHER KEY TO ABORT *If the settings for the function are the correct, press the START button to beginthe cycle. Note, that the diameter of the tool is aut...

  • Page 549

    February 2001 Index1FadalUser ManualIndexNumerics3 Phase 5% LowactionGoToR: 181AA & B Fixtures OffsetsactionGoToR: 286A = actionGoToR:AUTOactionGoToR: 147A AxisactionGoToR: 265actionGoToR:Direction of Motion actionGoToR:265actionGoToR:G90 Absolute Mode 265actionGoToR:G91 Incremental actionGoT...

  • Page 550

    2 IndexFebruary 2001FadalUser ManualArc DirectionactionGoToR: 291ARM MUST BE LEFTactionGoToR: 225ARRAY EXCEEDS ALLOWABLE actionGoToR:NUMBERactionGoToR: 225ATC actionGoToR:FAILUREactionGoToR: 226ATC TURRET actionGoToR:FAILUREactionGoToR: 226ATC WILL NOT MOVE TO POSITIONactionGoToR: 226ATTEMPT TO C...

  • Page 551

    February 2001 Index3FadalUser ManualBAD SCALE actionGoToR:READINGactionGoToR: 259BAD T WORD AT N=actionGoToR: 232BAD Z OR R0 IN CANNED CYCLE CALL, N =actionGoToR: 232BAUD actionGoToR:RATEactionGoToR: 139actionGoToR:2400 172Baud actionGoToR:RateactionGoToR: 139B-Axis BrakeactionGoToR: 185B-Axis ac...

  • Page 552

    4 IndexFebruary 2001FadalUser ManualCHAR. SIZE OR DEPTH EXCEEDS 2.5 INactionGoToR:.actionGoToR: 233Character CodeactionGoToR: 311Character SummaryactionGoToR: 2CHECK EMERGENCY STOP SWITCH AND MOTOR OVERLOAD RELAYSactionGoToR: 233CHECK SPINDLE LUBE, WAY LUBE AND AIR PRESSUREactionGoToR: 234Chip Au...

  • Page 553

    February 2001 Index5FadalUser ManualCommand Echo actionGoToR:OptionactionGoToR: 139, 140COMMAND ERRORactionGoToR: 234Command ListactionGoToR: 137Command actionGoToR:LockactionGoToR: 141Command Mode FunctionactionGoToR: 388COMMAND PROHIBITED BY THE KEY LOCKactionGoToR: 234CommunicationsactionGoToR...

  • Page 554

    6 IndexFebruary 2001FadalUser ManualCutter Compensation LeftactionGoToR: 59Cutter Compensation RightactionGoToR: 59Cutter Radius actionGoToR:CompensationactionGoToR: 203actionGoToR:Format 1 203actionGoToR:Format 2 203actionGoToR:with Helical Moves 306Cycle ExecutionactionGoToR: 76actionGoToR:Form...

  • Page 555

    February 2001 Index7FadalUser ManualactionGoToR:Continue 388, 389actionGoToR:Controller 388actionGoToR:MP Probe 388actionGoToR:Touch Probe 388Dial IndicatoractionGoToR: 197Direct Numerical ControlactionGoToR: 146Direction of actionGoToR:MotionactionGoToR: 283Display actionGoToR:ClocksactionGoToR:...

  • Page 556

    8 IndexFebruary 2001FadalUser ManualactionGoToR:BACKSPACE-PAGE UP 383actionGoToR:B-BOTTOM 383actionGoToR:C-CHANGE 383actionGoToR:D-DOWN 383actionGoToR:DEL-DELETE 383actionGoToR:ENTER-PAGE DOWN 383actionGoToR:F-FUNCTIONS 383actionGoToR:I-INSERT 383actionGoToR:N-NUMBER 383actionGoToR:O-COPY 383acti...

  • Page 557

    February 2001 Index9FadalUser ManualENTER COMMAND SETP AND SET THE MACHINE PARAMETERSactionGoToR: 237actionGoToR:ERRORactionGoToR: 237ERROR IN USER PROGRAM, ‘SUM’ TO SEE MESSAGEactionGoToR: 237Error MessagesactionGoToR: 225ERROR N WORD EXCEEDS 99999actionGoToR: 237Error actionGoToR:Optionacti...

  • Page 558

    10 IndexFebruary 2001FadalUser ManualactionGoToR:Z Word 79Fixed CyactionGoToR:clesactionGoToR: 71, 75actionGoToR:Definition 75actionGoToR:Procedure to Initialize 75Fixed actionGoToR:SubroutinesactionGoToR: 111, 375Fixture OffsetactionGoToR: 151FIXTURE OFFSET MUST BE APPLIED WITH G0 OR G1actionGoT...

  • Page 559

    February 2001 Index11FadalUser ManualactionGoToR:A-AXIS RATIO 522actionGoToR:AIR VALVE FEEDBACK 530actionGoToR:A-PALLET 529actionGoToR:ASPECT 526actionGoToR:AUTO BRAKE 529actionGoToR:AXIS DISPLAY 528actionGoToR:BAUD RATE 522actionGoToR:B-AXIS RATIO 523actionGoToR:BINARY BUFFERS,actionGoToR: 255 5...

  • Page 560

    12 IndexFebruary 2001FadalUser ManualactionGoToR:Abort 385actionGoToR:Angles 490actionGoToR:Automatic 386actionGoToR:BacklashactionGoToR: 387actionGoToR:Baud Rate 387actionGoToR:Begin 386, 387actionGoToR:Blend RadiusactionGoToR: 492actionGoToR:Change 388actionGoToR:CirclesactionGoToR: 491actionGo...

  • Page 561

    February 2001 Index13FadalUser ManualactionGoToR:Using 157,actionGoToR: 487actionGoToR:Verify 387actionGoToR:Zero Axes 385Function Menu DisplayactionGoToR: 492actionGoToR:ANGLE OF A LINE actionGoToR:493actionGoToR:BLEND RADIUS FROM actionGoToR:A CIRCLE TO actionGoToR:A CIRCLE 500actionGoToR:BLEND...

  • Page 562

    14 IndexFebruary 2001FadalUser ManualactionGoToR:Summary Table 3G MacroactionGoToR:Layout 412G0 Rapid actionGoToR:TravelactionGoToR: 47G1 Linear InterpolationactionGoToR: 48G10 Programmable Data actionGoToR:InputactionGoToR: 51actionGoToR:L10 52actionGoToR:L100 - L109 53actionGoToR:L12 52actionGo...

  • Page 563

    February 2001 Index15FadalUser ManualG45-G48 & G52 ARE NOT ALLOWED WITH ROTATION, N =actionGoToR: 238G46 Tool Offset Single ReductionactionGoToR: 61G47 Tool Offset Double ExpansionactionGoToR: 61G48 Tool Offset Double ReductionactionGoToR: 61G49 Tool Length Offset CancelactionGoToR: 61G5 Non ...

  • Page 564

    16 IndexFebruary 2001FadalUser ManualG82 Counter Boring, Center Drilling, Spot FacingactionGoToR: 82G83 Deep Hole DrillingactionGoToR:Using I, J, K 91actionGoToR:Using Q 90G83 Deep Hole Drilling Using actionGoToR:QactionGoToR: 82G84 Right Hand TappingactionGoToR: 82actionGoToR:Format 1 92actionGo...

  • Page 565

    February 2001 Index17FadalUser ManualHelical MovesactionGoToR:Partial Arcs 307HELICAL RADIUS TOO SMALL, N actionGoToR:=actionGoToR: 239HELICAL RISE TOO STEEP, N =actionGoToR: 239HelpactionGoToR: 160High Speed ExecutionactionGoToR: 73High Speed Execution CancelactionGoToR: 73High TorqueactionGoToR...

  • Page 566

    18 IndexFebruary 2001FadalUser ManualInitial PeckactionGoToR:I#actionGoToR: 102INPUT XMODEM TRANSMIT BLOCK MISSED actionGoToR:ERRORactionGoToR: 240Insert BlocksactionGoToR: 153actionGoToR:From 153actionGoToR:Increment 153actionGoToR:InterpolationactionGoToR: 287actionGoToR:Circular 288actionGoToR...

  • Page 567

    February 2001 Index19FadalUser ManualactionGoToR:From 154actionGoToR:Through 154Load and Store PalletactionGoToR: 33Load Pallet A & Verify Pallet A Has Been LoadedactionGoToR: 33Load Pallet B & Verify Pallet B Has Been LoadedactionGoToR: 34Locator DiameteractionGoToR: 196LOGIC JUMPER INCO...

  • Page 568

    20 IndexFebruary 2001FadalUser ManualM4.1 Sub-Spindle On, Ignore actionGoToR:MagnetactionGoToR: 24M4.2 Acknowledge Spindle MagnetactionGoToR: 24M41-M43 Belt Drive RangeactionGoToR: 34M45 Execute Fixed CycleactionGoToR: 34actionGoToR:UsedactionGoToR: with FixtuactionGoToR:re OffsetsactionGoToR: 34...

  • Page 569

    February 2001 Index21FadalUser ManualactionGoToR:Q Word 41actionGoToR:R0+# 41actionGoToR:R1+# 41actionGoToR:R2+# 41M94.2 Advanced Feed ForwardactionGoToR: 42actionGoToR:Acceleration 43actionGoToR:Deceleration 43actionGoToR:Detail 43actionGoToR:P Word 43actionGoToR:R1 43actionGoToR:R2 43M95 Feed F...

  • Page 570

    22 IndexFebruary 2001FadalUser ManualactionGoToR:SET DEGREES / actionGoToR:RADIANS 421actionGoToR:SET RND# 421actionGoToR:SET RUNactionGoToR: 422actionGoToR:SINPUT 422actionGoToR:SPRINTactionGoToR: 422actionGoToR:START # 422Macro Language ExamactionGoToR:plesactionGoToR: 432actionGoToR:D-Hole Mac...

  • Page 571

    February 2001 Index23FadalUser ManualMenuactionGoToR: 155METRIC MODE REQUIRED - OPERATOR MUST SETactionGoToR: 242Metric actionGoToR:ProgrammingactionGoToR: 55, 71, 164Metric actionGoToR:ThreadsactionGoToR: 98Mid Program StartactionGoToR: 281Mill BoringactionGoToR: 119actionGoToR:L94NN Mill Boring...

  • Page 572

    24 IndexFebruary 2001FadalUser ManualNEXT ENTRY IS OUT OF RANGEactionGoToR: 243NO ANGLE, THE POINTS ARE THE SAMEactionGoToR: 243No Feed RampsactionGoToR: 49NO INDEX MARK DETECTEDactionGoToR: 257NO MEMORY AVAILABLE FOR NEW PROGRAMactionGoToR: 243NO MOTOR FEEDBACKactionGoToR: 256NO OTHER WORDS ALLO...

  • Page 573

    February 2001 Index25FadalUser ManualONLY BLOCK SKIP ALLOWED WITH MACROactionGoToR: 244ONLY M3, M4 & M5 ARE ALLOWED WITH M6 AT N actionGoToR:=actionGoToR: 245ONLY Z, L, R & F WORDS ALLOWEDactionGoToR: 245Operation FormatsactionGoToR: 169Operator InteractioactionGoToR:nactionGoToR: 427acti...

  • Page 574

    26 IndexFebruary 2001FadalUser ManualPlotting actionGoToR:OptionsactionGoToR: 485actionGoToR:A = AUTO 485actionGoToR:C = CLEAR 485actionGoToR:F = FULL TABLE 486actionGoToR:JOG = ZOOM 487actionGoToR:M = TOGGLE DISPLAY MODE 486actionGoToR:O = OPTIONS actionGoToR:PLOTTING 486actionGoToR:S = SINGLE S...

  • Page 575

    February 2001 Index27FadalUser ManualProgram ProtectionactionGoToR: 11actionGoToR:Emergency Stop Button actionGoToR:12actionGoToR:Key Lock 12actionGoToR:NOEDIT 11actionGoToR:Program Data Input 13actionGoToR:Program Storage 12Program StopactionGoToR: 21Program StoractionGoToR:ageactionGoToR: 12Pro...

  • Page 576

    28 IndexFebruary 2001FadalUser ManualRapid OutactionGoToR: 83, 94Rapid TravelactionGoToR: 47Rapid Travel actionGoToR:SelectoractionGoToR: 128Receiving DataactionGoToR: 323Reciprocation for Y, Z, B, actionGoToR:AactionGoToR: 29Rectangular Pocket actionGoToR:Clean-outactionGoToR: 121actionGoToR:L96...

  • Page 577

    February 2001 Index29FadalUser ManualSS = SINGLE STEPactionGoToR: 148SCALE ERactionGoToR:RORactionGoToR: 249SEE MENU FOR NEW CD FORMATactionGoToR: 249Select Number/LocatoractionGoToR: 193Sending DataactionGoToR: 323SEQUENCE NUMBER TOO LARGEactionGoToR: 249SEQUENCE NUMBER TOO actionGoToR:SMALLacti...

  • Page 578

    30 IndexFebruary 2001FadalUser ManualSpindle CCWactionGoToR: 24SPINDLE CONTROLLER DOES NOT RESPONDactionGoToR: 250SPINDLE CONTROLLER OR DRIVER actionGoToR:FAULTactionGoToR: 250SPINDLE CONTROLLER SOFTWARE UPDATE IS REQUIREDactionGoToR: 250Spindle CWactionGoToR: 23SPINDLE DRIVER FAULTactionGoToR: 2...

  • Page 579

    February 2001 Index31FadalUser ManualactionGoToR:Beginning 103actionGoToR:Calling 103actionGoToR:Ending 104Sub-Spindle On, Ignore actionGoToR:MagnetactionGoToR: 23, 24Sum ProgramactionGoToR: 188actionGoToR:CRC Option 188actionGoToR:Display From 188actionGoToR:Display Option 188actionGoToR:Through...

  • Page 580

    32 IndexFebruary 2001FadalUser ManualTest MP ProbeactionGoToR: 199Test TS-20 actionGoToR:ProbeactionGoToR: 199THERE IS NO SURVEYactionGoToR: 252THREAD LEAD NOT SPECIFIED AT N actionGoToR:=actionGoToR: 252Thread MillingactionGoToR: 307Tilt Cold StartactionGoToR: 283Tilt Home PositionactionGoToR: 2...

  • Page 581

    February 2001 Index33FadalUser ManualTool actionGoToR:TableactionGoToR: 186Tool actionGoToR:TimeactionGoToR: 414TOOL TURRET LOCATION IS NOT SETactionGoToR: 254Tool actionGoToR:UsedactionGoToR: 414Tooling Coordinate System - HomeactionGoToR: 261Touch actionGoToR:CheckactionGoToR: 362Touch actionGo...

  • Page 582

    34 IndexFebruary 2001FadalUser ManualactionGoToR:Program Number 7 451actionGoToR:Program Number 8 453actionGoToR:Program Number 9 455Tutorial Program ListingsactionGoToR: 458actionGoToR:Program Number 1 458actionGoToR:Program Number 2 458actionGoToR:Program Number 3 459actionGoToR:Program Number ...

  • Page 583

    February 2001 Index35FadalUser ManualVMC Communications ProceduresactionGoToR: 322VTactionGoToR: 202WWAIT 2 SEC., THE AXIS DRIVERS ARE BEING RESETactionGoToR: 254WAITINGactionGoToR: 255WAITING ON AIR VALVEactionGoToR: 255WARNING POSSIBLE GOUGE AT N =actionGoToR: 255WAY LUBE PRESSURE SWITCH action...

x