A P CONTENTS þ Anilam þ Bridgeport þ Fanuc þ Yasnac þ Haas þ Fadal þ Okuma P E N D I X A ADVANCED TECHNIQUES APPENDIX A - 1
APPENDIX A - 2 ADVANCED TECHNIQUES
ANILAM CODES The following is a list of Machinist Shop Language commands located on buttons or keyswitches on a CNC Control Unit. A - absolute positioning. ARC - Command to cut an arc with the data entered. If used with a CW or CCW the it is a direction instruction. AUX - Auxilliary code for changes in normal control functions. CALL - Direct the program to a subroutine location. Accompanied by a number to identify which subroutine. CCW - Counterclockwise instruction. CW - Clockwise instruction. DO - Do loop instruction. Accompanied by a number to denote the number of times to loop. DWELL - Stops all further program execution until a signal to continue is received. END - Has three purposes: 1) end of a do loop. 2) end of a subroutine. 3) end of the program. F - Programmed feedrate. FEED - Accompanied with a feedrate value. G - Identifies a canned cycle. I - Incremental positioning. R - Rapid traverse. SUBR - A Subroutine call accompanied by a number to identify which subroutine. TOOL - Has two purposes: 1) Tool change accompanied by 1 or 2 numbers. 2) Assign Tool Length Offset or Cutter Offset. V - Variable PREPARATORY FUNCTIONS G40 - Cutter diameter compensation cancel. G41 - Cutter diameter compensation left. G42 - Cutter diameter compensation right. G51 - Begin polar rotation. G52 - Polar rotation cancel. G53 - Begin scaling. G54 - Cancel scaling. ADVANCED TECHNIQUES APPENDIX A - 3
G76 - Hole Milling. G77 - Circular pocket milling. G78 - Rectangular pocket milling. G79 - Bolt Circle pattern. G80 - Canned cycle cancel. G81 - Drilling Cycle. G82 - Counter-boring; Spot facing (feed in, timed dwell, rapid out). G83 - Peck drilling (feed in, rapid out, feed in, etc.). G85 - Boring (feed in, feed out). G86 - Boring (feed in, rapid out) G87 - Peck drilling (feed in, retract.05, feed in, etc.). G89 - Boring (feed in, timed dwell, feed out). VARIABLE CODES V11 - X axis polar center (absolute). V12 - Y axis polar center (absolute). V13 - Polar rotation index angle. Clockwise (-) or counterclockwise (+). V14 - Radius for polar moves. V15 - Angle for polar moves or first angle in a bolt circle. V16 - Angle of last hole in bolt circle; x-axis scale valus. V17 - Number of holes in a bolt circle; y-axis scale value. V18 - Diameter of bolt circle; z-axis scale value. V20 - Feedrate for G80 series canned cycles. V21 - Buffer height for G80 series canned cycles. Must be.100" for G83/G87. V22 - Dwell time when using G82 or G89. V23 - Maximum peck for G83 or G87. V40 - Z-axis start height for pecked milling. V41 - Incremental length of x-axis pocket. V42 - Incremental width of y-axis pocket. V43 - Z-axis depth of pocket. V44 - Pocket corner radius; circle diameter if circular pocket milling. V45 - Stepover value for pocket milling. V46 - Maximum depth of cut. V47 - Stock left for finish pass. V48 - Finish pass feedrate. V49 - Tool diameter for pocket milling. AUXILLIARY CODES AUX 100 - Reverses the sign of the X axis. AUX 200 - Reverses the sign of the Y axis. AUX 300 - Reverses the sign of the X and Y axes. AUX 400 - Reverses the sign of the Z axis. AUX 500 - Reverses the sign of the X and Z axes. AUX 600 - Reverses the sign of the Y and Z axes. AUX 700 - Reverses the sign of the X, Y, and Z axes. AUX 800 - Turns off mirror image. AUX 1000 - Deceleration override when contouring. AUX 1101 - Absolute zero shift. AUX 1110 - Turn off software limits. AUX 1111 - Turn on software limits. AUX 1400 - Percent feed override for feedrate. AUX 1401 - Percent feed override for feed and rapid moves. AUX 1900 - Single-step event mode. AUX 1901 - Single-step axis movement mode. AUX 2000 - Cancel AUX 1000 AUX 2500 - Set control to use Z axis. AUX 2600 - Set control to allow manual use of the Z axis. APPENDIX A - 4 ADVANCED TECHNIQUES
BRIDGEPORT BOSS 8-9 G CODES PREPARATORY FUNCTIONS G0 - Rapid Traverse G1 - Linear Interpolation G2 - Circular Interpolation, clockwise G3 - Circular Interpolation; counterclockwise G4 - Dwell G12 - Helical Interpolation CW G13 - Helical Interpolation CCW G17 - XY Plane Selection G18 - XZ Plane Selection G19 - YZ Plane Selection G21 - Inside Filet G22 - Outside Radius G30 - Mirror Image Cancel G31 Mirror Image X-axis G32 - Mirror Image Y-axis G40 - Cutter Compensation Cancel G41 - Cutter Compensation Left G42 - Cutter Compensation Right G44 - Constant Surface Feed Cancel G45 - Constant Surface Feed On G70 - Inch Programming G71 - Metric Programming G72 - Transformation off G73 - Transformation/Rotation/Scaling G74 - Multi-Quadrandt Circle Input Off G75 - Multi Quadrant Circular Interpolation On G77 - Zig Zag Milling Cycle G78 - Pocket Mill Cycle G79 - Bore cycle G80 - Canned Cycle Cancel G81 - Drill Cycle G82 - Drill Cycle with Dwell G83 - Deep Hole G84 - Tapping Cycle G85 - Bore Cycle; Feed in - Feed out G86 - Bore Cycle; Feed in - Stop - Rapid out G87 - Chip Break G89 - Bore Cycle; Feed in - Dwell - Feed out G90 - Absolute Positioning G91 - Incremental Positioning G92 - Preset Part Program Zero Point G96 - Restore Base Part Program Coordinate System G97 - Set Work Coordinate System G99 - Decelleration Override G170 - Outside Frame Mill G171 - Inside Frame Milling G172 - Pocket Frame mill G173 - Outside Face mill G174 - Inside Face Mill G175 - Outside Circle Mill ADVANCED TECHNIQUES APPENDIX A - 5
G176 - Inside Circle Mill G177 - Pocket Circle Mill G179 - Slot Mill G181 - G189 - Same as G81 to G89: Multi-Hole G191 - G199 - Same as G81 to G89: Frame Holes MISCELLANEOUS FUNCTIONS M0 - Program Stop M1 - Optional Stop M2 - Program Rewind M6 - Tool Change M7 - Mist Coolant On M8 - Flood Coolant On M9 - Coolant Off M20 - Program Stop, Go To Clearance Point M21 - Optional Program Stop, Go To Clearance Point M22 - End of Program, Go To Clearance Point M25 - Quill Home M26 - Move to Clear Point M30 - Program Rewind M51 - Advance Index Table APPENDIX A - 6 ADVANCED TECHNIQUES
BRIDGEPORT BOSS 8-9 ADDRESS SUMMARY CHARACTER A B C D E F G I J K L M N P Q R S T U V W X Y Z ADDRESS FOR Polar angular motion Incremental polar angular motion Rotate table motion Tool Diameter Spherical motion Feed Function Preparatory Function Arc center coordinate Arc center coordinate Arc center coordinate Label number Miscellaneous function Sequence number Parameters in a canned cycle Dwell time in seconds (G4) Specify the radius of a circular move Specifies the spindle speed Identifies the tool call Incremental X-axis move Incremental Y-axis move Incremental Z-axis move X-axis coordinate Y-axis coordinate Z-axis coordinate ADVANCED TECHNIQUES APPENDIX A - 7
CHARACTER ADDRESS FOR : Program number ; Comment. Decimal point / Optional Block Skip # Subroutine number $ End of subroutine = Call * Variable J K L M N P Q R S T U V W X Y Z Arc center coordinate Arc center coordinate Label number Miscellaneous function Sequence number Parametrs in a canned cycle Dwell time in seconds (G4) Specify the radius of a circular move Specifies the spindle speed Identifies the tool call Incremental X-axis move Incremental Y-axis move Incremental Z-axis move X-axis coordinate Y-axis coordinate Z-axis coordinate APPENDIX A - 8 ADVANCED TECHNIQUES
FANUC MACHINING CENTER G CODES CODE DESCRIPTION CODE DESCRIPTION G00 Rapid motion G0l Straight line cutting motion G02 Circular cutting motion (CW) G03 Circular cutting motion (CCW) G04 Dwell Command G09 Exact stop check (one shot) G10 Offset input by tape G17 XY plane selection for circular move G18 XZ plane selection for circular move G19 YZ plane selection for circular move G20 Inch mode G21 Metric mode G22 Stored stroke setting (safety zone) G23 Stored stroke cancel G27 Zero return check G28 Zero return command G29 Return from zero return position G30 Second reference point return G31 Skip cutting for probe G40 Cutter radius compensation cancel G41 Cutter radius compensation left G42 Cutter radius compensation right G43 Tool length compensation G44 Tool length compensation for minus (-) input G49 Tool length compensation cancel G52 Return to base Coordinate System G53 Temp. shift to machine coord. system G54 Fixture offset select for system #1 G55 Fixture offset select for system #2 G56 Fixture offset select for system #3 G57 Fixture offset select for system #4 G58 Fixture offset select for system #5 G59 Fixture offset select for system #6 G60 Single direction positioning mode G61 Exact stop check mode Std G64 Normal cutting mode (Cancels G61/G60) G65 Custom macro call G66 Custom macro modal call G67 Cancel custom macro modal call G68 Coordinate system rotation G69 Coordinate system rotation cancel G73 Peck drill cycle for steel G74 Left hand tapping cycle G76 Fine boring cycle with no drag line G80 Cancel canned cycle G81 Standard drilling cycle G82 Counter boring cycle G83 Peck drilling cycle to clear chips G84 Tapping cycle G85 Reaming cycle ADVANCED TECHNIQUES APPENDIX A - 9
CODE DESCRIPTION G86 Standard boring cycle G87 Back boring cycle G88 Boring cycle G89 Boring cycle with dwell G90 Absolute programming mode G91 Incremental programming mode G92 Program zero designator G98 Return to initial plane (G73-G89) G99 Return to R plane (G73-G89 M CODES NOTE: Only one M word is allowed per command on FANUC controls. CODE DESCRIPTION M00 Program stop M01 Optional stop M02 End of program (does not rewind memory) M03 Spindle on in a clockwise direction (CW) M04 Spindle on in a counter clockwise direction (CCW) M05 Spindle stop M06 Tool change command M07 Mist coolant on (option) M08 Flood coolant on M09 Coolant off M19 Spindle Orientate M30 End of program (rewinds memory) M98 Sub program call M99 End of sub program APPENDIX A - 10 ADVANCED TECHNIQUES
FANUC MACHINING CENTER M CODES M CODE M00 M01 M02 M03 M04 M05 M06 M07 M08 M09 M30 M92 M93 M94 M95 M96 M97 M98 M99 DESCRIPTION Program stop Optional stop End of program - No rewind Spindle on - CW Spindle on - CCW Spindle stop Tool change command Mist coolant on Flood coolant on Coolant off End of program - Rewind Multi active buffer off Multi active buffer on Mirror Image off Mirror Image on Intersection style radius Intersection style straight line Sub program call End of sub program ADVANCED TECHNIQUES APPENDIX A - 11
FANUC MACHINING CENTER ADDRESS SUMMARY CHARACTER ADDRESS FOR A B C D F G H I J K L M N O P Q R S T X Y Axis of motion Axis of motion Axis of motion Cutter radius compensation number selector Feed Function Preparatory Function Tool offset number selector X axis coordinate of arc center The offset motion at the bottom of a boring cycle (G76) Y axis coordinate of arc center The offset motion at the bottom of a boring cycle (G76) Z axis coordinate of arc center Number of subprogram repetitions Specify the number of holes to be macined Miscellaneous function Sequence number Program identification number Dwell time in seconds Subprogram number selector Specify the peck depth for each pass when peck drilling Specify the radius of a circular move Specify the rapid plane for a canned cycle Specifies the spindle speed Identifies the tool station to be placed in the waiting position X-axis coordinate Specify a length of time in a dwell command (G04) Y-axis coordinate APPENDIX A - 12 ADVANCED TECHNIQUES
Z EOB Z-axis coordinate Specify a hole bottom position in a canned cycle End of block to specify the end of a command / Optional Block Skip ADVANCED TECHNIQUES APPENDIX A - 13
YASNAC MACHINING CENTER 3000 SERIES G CODES G WORD DESCRIPTION G WORD DESCRIPTION G00 Rapid motion G73 Peck drill cycle for steel G01 Straight line cutting motion G74 Left hand tapping cycle G02 Circular cutting motion (CW) G76 Fine boring cycle with no drag line G03 Circular cutting motion (CCW) G80 Cancel canned cycle G04 Dwell Command G81 Standard drilling cycle G12 Circle cutting (CW) G82 Counter boring cycle G13 Circle cutting (CCW) G83 Peck drilling cycle to clear chips G14 Helical Motion (CW) G84 Tapping cycle G15 Helical Motion (CCW) G85 Reaming cycle G17 XY plane selection for circular move G86 Standard boring cycle G18 XZ plane selection for circular move G87 Back boring cycle G19 YZ plane selection for circular move G88 Boring cycle G25 Program Copy G89 Boring cycle with dwell G27 Zero return check G90 Absolute programing mode G28 Zero return command G91 Incremental programing mode G29 Return from zero return position G92 Program zero designator G40 Cutter radius compensation cancel G94 Inches per minute feedrate mode G41 Cutter radius compensation left G95 Inches per revolution feedrate mode G42 Cutter radius compensation right G98 Return to initial plane (G73-G89) G43 Tool length compensation G99 Return to R plane (G73-G89) G44 Tool length compensation for - input G45 Tool offset expansion G46 Tool offset reduction G47 Tool offset double expansion G48 Tool offset double reduction G49 Tool length compenstation cancel APPENDIX A - 14 ADVANCED TECHNIQUES
YASNAC MACHINING CENTER MX1, MX2, & MX3 SERIES G CODES G WORD DESCRIPTION G WORD DESCRIPTION G00 Rapid motion G42 Cutter radius compensation right G01 Straight line cutting motion G43 Tool length compensation G02 Circular cutting motion (CW) G44 Tool length compensation for - input G03 Circular cutting motion (CCW) G45 Tool offset expansion G04 Dwell Command G46 Tool offset reduction G06 Positioning in error detect mode off G47 Tool offset double expansion G07 Hypothetical axis motion G48 Tool offset double reduction G09 Exact stop check (one shot) G49 Tool length compenstation cancel G10 Offset input by tape G50 Scaling cancel G12 Circle cutting (CW) G51 Scaling command G13 Circle cutting (CCW) G52 Return to base Coordinate System G17 XY plane selection for circular move G53 Temporary shift to machine coord. G18 G19 G20 G21 G22 G23 XZ plane selection for circular move YZ plane selection for circular move Inch mode Metric mode Stored stroke setting (safety zone) Stored stroke cancel G54 Fixture offset select for system #1 G55 Fixture offset select for system #2 G56 Fixture offset select for system #3 G57 Fixture offset select for system #4 G58 Fixture offset select for system #5 G59 Fixture offser select for system #6 G25 Program copy G60 Single direction positioning mode G27 Zero return check G61 Exact stop check mode G28 Zero return command G62 Automatic overide cancel G29 Return from zero return position G64 Normal cutting mode (Cancels G61/G60) G30 Second reference point return G65 Custom macro call G31 Skip cutting for probe G66 Custom macro modal call G40 Cutter radius compensation cancel G67 Cancel custom macro modal call G41 Cutter radius compensation left G68 Coordinate system rotation ADVANCED TECHNIQUES APPENDIX A - 15
G WORD G69 G70 G71 G72 G73 G74 G76 G80 G81 G82 G83 G84 G85 G86 G87 G88 G89 G90 G91 G92 G93 G94 G98 G99 DESCRIPTION Coordinate system rotation cancel Bolt hole circle Arc pattern of holes Line at angle pattern of holes Peck drill cycle for steel Left hand tapping cycle Fine boring cycle with no drag line Cancel canned cycle Standard drilling cycle Counter boring cycle Peck drilling cycle to clear chips Tapping cycle Reaming cycle Standard boring cycle Back boring cycle Boring cycle Boring cycle with dwell Absolute programing mode Incremental programing mode Program zero designator Solid Tap mode on Solid Tap mode off Return to initial plane (G73-G89) Return to R plane (G73-G89) APPENDIX A - 16 ADVANCED TECHNIQUES
YASNAC MACHINING CENTER M CODES M CODE M00 M01 M02 M03 M04 M05 M06 M07 M08 M09 M30 M92 M93 M94 M95 M96 M97 M98 M99 DESCRIPTION Program stop Optional stop End of program - No rewind Spindle on - CW Spindle on - CCW Spindle stop Tool change command Mist coolant on Flood coolant on Coolant off End of program - Rewind Multi active buffer off Multi active buffer on Mirror Image off Mirror Image on Intersection style radius Intersection style straight line Sub program call End of sub program ADVANCED TECHNIQUES APPENDIX A - 17
YASNAC MACHINING CENTER ADDRESS SUMMARY CHARACTER ADDRESS FOR A B C D F G H I J K L M N O P Q R S T X Y Z Axis of motion Axis of motion Axis of motion Cutter radius offset number selector Feed Function Preparatory Function Tool offset number selector X axis coordinate of arc center The offset motion at the bottom of a boring cycle (G76) Y axis coordinate of arc center The offset motion at the bottom of a boring cycle (G76) Z axis coordinate of arc center Number of subprogram repetitions Specify the number of holes to be macined Miscellaneous function Sequence number Program identification number Dwell time in seconds Subprogram number selector Specify the peck depth for each pass when peck drilling Specify the radius of a circular move Specify the rapid plane for a canned cycle Specifies the spindle speed Identifies the tool station to be placed in the waiting position X-axis coordinate Y-axis coordinate Z-axis coordinate APPENDIX A - 18 ADVANCED TECHNIQUES
HAAS MACHINING CENTER VF - SERIES G CODES G WORD DISCRIPTION G WORD DISCRIPTION G00 Rapid Motion G49 G43/G44 Cancel G01 Linear Interpolation Motion G50 G51 Cancel G02 CW Interpolation Motion G51 Scaling G03 CCW Interpolation Motion G52 Select Work Coordinate G92 System (Yasnac) G04 Dwell G52 Set Local Coordinate System (Fanuc) G09 Exact Stop G53 Non-Modal Machine Coordinate Selection G10 G12 G13 G17 G18 G19 Programmable Offset Setting CW Circular Pock Milling (Yasnac) CCW Circular Pock Milling (Yasnac) XY Plane Selection ZX Plane Selection YZ Plane Selection G54 Select Work Coordinate System 1 G55 Select Work Coordinate System 2 G56 Select Work Coordinate System 3 G57 Select Work Coordinate System 4 G58 Select Work Coordinate System 5 G59 Select Work Coordinate System 6 G20 Inch programming selection G60 Unidirectional Positioning G21 Metric programming selection G61 Exact Stop Modal G28 Return To Reference Point G64 G61 Cancel G29 Set Return Reference Point G65 Macro Subroutine Call G31 Skip Function G68 Rotation G35 Automatic Tool Diameter Measurement G69 G68 Cancel G36 Automatic Work Offset Measurement G70 Bolt Hole Circle (Yasnac) G37 Automatic Tool Length Measurement G71 Bolt Hole Arc (Yasnac) G40 Cutter Comp Cancel G72 Bolt Holes Along an Angle (Yasnac) G41 Cutter Compensation Left G73 High Speed Peck Drill Canned Cycle G42 Cutter Compensation Right G74 Reverse Tap Canned Cycle G43 Tool Length Compensation (Plus) G76 Fine Boring Canned Cycle G44 Tool Length Compensation (Minus) G77 Back Bore Canned Cycle ADVANCED TECHNIQUES APPENDIX A - 19
G WORD DISCRIPTION G WORD DISCRIPTION G80 G81 G82 G83 G84 G85 G86 G87 G88 G89 G90 Canned Cycle Cancel Drill Canned Cycle Spot Drill Canned Cycle Peck Drill Canned Cycle Tapping Canned Cycle Boring Canned Cycle Bore/Stop Canned Cycle Bore/Manual Retract Canned Cycle Bore/Dwell Canned Cycle Bore Canned Cycle Absolute G119 Select Work Coordinate System 16 G120 Select Work Coordinate System 17 G121 Select Work Coordinate System 18 G122 Select Work Coordinate System 19 G123 Select Work Coordinate System 20 G124 Select Work Coordinate System 21 G125 Select Work Coordinate System 22 G126 Select Work Coordinate System 23 G127 Select Work Coordinate System 24 G128 Select Work Coordinate System 25 G129 Select Work Coordinate System 26 G91 Incremental G136 Automatic Work Offset Center Measurement G92 Set Work Coordinates G150 General Purpose Pocket Milling G98 Initial Point Return G99 Plane Return G100 Disable Mirror Image G101 Enable Mirror Image G102 Programmable Output To RS-232 G103 Block Lookahead Limit G110 Select Work Coordinate System 7 G111 Select Work Coordinate System 8 G112 Select Work Coordinate System 9 G113 Select Work Coordinate System 10 G114 Select Work Coordinate System 11 G115 Select Work Coordinate System 12 G116 Select Work Coordinate System 13 G117 Select Work Coordinate System 14 G118 Select Work Coordinate System 15 APPENDIX A - 20 ADVANCED TECHNIQUES
HAAS MACHINING CENTER VF - SERIES M CODES M00 M01 M02 Stop Program Optional Program Stop Program End M61 - M68 M67 Optional User M turn OFF Release fifth axis brake, continue with program M03 Spindle Forward M75 Set G35 or G136 reference point M04 Spindle Reverse M76 Disable Displays M05 Spindle Stop M77 Enable-Displays M06 Tool Change M78 Alarm if skip signal found M08 Coolant On M79 Alarm if skip signal not found M09 Coolant Off M82 Tool Unclamp M10 Engage 4th Axis Brake M11 Release 4th Axis Brake M16 Tool Change (same as M06) M19 Orient Spindle M21-M28 Optional Pulsed User M Function with Fin M27 M30 M31 M32 M33 M34 M35 M39 M41 M42 Apply fifth axis brake, wait until M-fin signal is received through the secondary RS-232 port. Program End and Rewind Chip Conveyor Forward Chip Conveyor Backward Chip Conveyor Stop Increment Coolant Spigot Position Decrement Coolant Spigot Position Rotate Tool Turret Low Gear Override High Gear Override M51 - M58 Optional User M turn ON M57 Apply fifth axis brake, continue with program. ADVANCED TECHNIQUES APPENDIX A - 21
HAAS MACHINING CENTER VF - SERIES ADDRESS SUMMARY CHARACTER ADDRESS FOR A B C D E F G H I J K L M N O P Q R S T U V W X Forth axis rotary motion Fifth axis rotary motion Auxiliary external rotary axis Tool diameter selection Not used Feed rate Preparatory function Tool length offset selection Canned cycle and circular optional data Canned cycle and circular optional data Canned cycle and circular optional data Loop count for repeated cycles M code Miscellaneous functions Number of block Program number/name Delay time or program number Canned cycle optional data Canned cycle and circular optional data Spindle speed command Tool selection code Auxiliary external linear axis Auxiliary external linear axis Auxiliary external linear axis Linear X-axis motion APPENDIX A - 22 ADVANCED TECHNIQUES
CHARACTER Y Z ADDRESS FOR Linear Y-axis motion Linear Z-axis motion ADVANCED TECHNIQUES APPENDIX A - 23
FADAL MACHINING CENTER G CODES CODE DESCRIPTION CODE DESCRIPTION G00 Point to Point Positioning G0l Linear Interpolation G02 Circular cutting motion (CW) G03 Circular cutting motion (CCW) G04 Dwell Command G05 Non-Modal Point to Point G08 Acceleration (No Ramps) G09 Deceleration (Ramps) In Position Check G10 Programmable Data Input G15 YZ Circular Plane with Simultneous A Axis G16 XY Circular Plane with Simultaneous C Axis G17 XY Plane Selection G18 XZ Plane Selection G19 YZ Plane Selection G20 Inch mode G21 Metric mode G28 Zero Return to Programmed Home Position G29 Return to position G40 Cutter radius compensation cancel G41 Cutter radius compensation left G42 Cutter radius compensation right G43 Tool length compensation G44 Tool length compensation for minus (-) input G45 Tool Offset Single Expansion G46 Tool Offset Single Reduction G48 Tool Offset Double Reduction G49 Tool length offset cancel G50 Cancel adaptive mode G50.1 Cncel Mirror Image G51 Set adaptive mode G51.1 Set Mirror Image G52 Local Coordinate System G53 Machine Coordinate System G54 Fixture offset #1 G55 Fixture offset #2 G56 Fixture offset #3 G57 Fixture offset #4 G58 Fixture offset #5 G59 Fixture offset #6 G66 Modal Subroutine Execution G67 Cancel G66 G68 Rotation X, Y, Z G69 Cancel Rotation G73 Peck drilling G74 Left hand tapping G75 Automatic tapping cycle G76 Fine boring G80 Fixed cycle cancel G81 Spot drilling G82 Counterboring G47 Tool Offset Double Expansion APPENDIX A - 24 G83 Deep Hole Drilling ADVANCED TECHNIQUES
CODE DESCRIPTION G84 Right Hand Tapping Cycle G85 Bore In, Bore Out G86 Bore IN, Spindle Off, Rapid Out G87 Bore In, Bore Out G88 Bore In, Dwell, Bore Out G89 Bore In, Dwell, Bore Out G90 Absolute Dimensions G91 Incremental Dimensions G91.1 High Speed Execution G91.2 High Speed Execution, Cancel G92 Origram Coordiante System Reset G93 Feed Rate Specification by Distance/Time G94 Feed Rate Specification by MMPM, IPM, or DPM G98 Return to Initial Plane G99 Return to R Plane ADVANCED TECHNIQUES APPENDIX A - 25
FADAL MACHINING CENTER M CODES M00 Program Stop M46 Positive Approach M01 Optional Stop M47 Cancel Positive Approach M02 End of Program M48 Pot Controls in Effect M03 Spindle CW M49 Pot Controls not in Effect M04 Spindle CCW M98 Execute Subprogram M05 Spindle Off M99 End of Subprogram M06 Tool Change M07 Mist Coolant M08 Flood Coolant M09 Coolant Off M10 Cancel Recriprocation M11 Recriprocate Axis X M12 Recriprocate Axis Y M13 Recriprocate Axis Z M14 Recriprocate Axis B M15 Recriprocate Axis A M16 Recriprocate Axis C M17 End of Last Subroutine M18 Cushman Indexer 1 Increment M19 Spindle Stop, Orientate M20 General Purpose Indexer M30 End all Subroutines, End of Program M41 Low Range RPM M42 High Range RPM for Auto Hi/Low Mid Range RPM for Manual Change M43 High Range RPM for Manual Change M45 Execute Fixed Cycle APPENDIX A - 26 ADVANCED TECHNIQUES
FADAL MACHINING CENTER ADDRESS SUMMARY CHARACTER ADDRESS FOR A B C D E F G H I J K L M N O P Q Angular dimension (decimal degrees) for A Axis Angular dimension (decimal degrees) for B Axis Angular dimension (decimal degrees) for C Axis Tool offset number selector Fixture offset number selector Feed Function Preparatory Function Tool offset selector number X axis coordinate of arc center The initial peck size for drilling (G73, G83) Y axis coordinate of arc center The reducing value of the initial peck (G73, G83) Z axis coordinate of arc center The minimum peck size for drilling (G73, G83) Subroutine definition & call Number of subprogram repetitions (M98) Work offset operation selector (G10 Line repeat function Miscellaneous function Sequence number Program identification number Dwell time in milliseconds (G04) Percentage factor for retracting feed on tapping cycles Work offset number selector (G10) Subprogram number selector (M98) Value for R0 - R9 (G10) Step distance of the thread lead in fixed cycle The diameter for automatic tool diameter override (H99) Scale factor for cam machining on the rotary head ADVANCED TECHNIQUES APPENDIX A - 27
CHARACTER ADDRESS FOR R S T X Y Z Subroutine parameter input R0 thru R9 R0 plane for fixed cycle Radius designation (circular interpolation) Work offset value amount (G10) Spindle speed function Tool number selector for turret X axis motion dimension Y axis motion dimension Z axis motion dimension 0-9 Numerical data A-Z Alphabetical data % Program start and rewind start + Plus - Minus ( Control out. Decimal point, Comma EOB Enter key, also functions as control in and EOB character * Control out / Optional block skip : Program identification number (format 2) APPENDIX A - 28 ADVANCED TECHNIQUES
OKUMA MACHINING CENTER STANDARD G CODES G WORD DESCRIPTION G WORD DESCRIPTION G00 Rapid motion G50 Enlarge/reduce geometry off G01 Straight line cutting motion G51 Enlarge/reduce geometry on G02 Circular cutting motion (CW) G53 Tool length offset off G03 Circular cutting motion (CCW) G54 Tool length offset on (X-axis) G04 Dwell Command G55 Tool length offset on (Y-axis) G09 Exact stop check (one shot) G56 Tool length offset on (Z-axis) G10 Cancel G11 G57 Tool length offset - fourth axis G11 G15 G16 Parallel/rotational shift of coordinate system Indicates selection of fixture offset (modal) Indicates selection of fixture offset (nonmodal) G58 G59 G60 G61 Tool length offset - fifth axis Tool length offset - sixth axis One direction positioning Exact stop mode G17 XY plane selection G62 Programmable mirror image G18 XZ plane selection G64 Cutting mode G19 YZ plane selection G71 Return "Z" level for M53 G20 Inch mode G73 Fixed cycle: Peck drilling G21 Metric mode G74 Fixed cycle: Left hand tapping G22 Programmable stroke limit on G76 Fixed cycle: Fine Boring G23 Programmable stroke limit off G80 Fixed cycle: Mode cancel G30 Positioning to home position G81 Fixed cycle: Drill/Spot Drill G31 Skip function G82 Fixed cycle: Drill/Counterbore G40 Cutter compensation cancel G83 Fixed cycle: Deep hole drill (peck) G41 Cutter radius compensation left G84 Fixed cycle: Right hand tapping G42 G43 G44 Cutter radius compensation right Three dimension compensation off Three dimension compensation on G85 Fixed cycle: Boring (feed in - feed out) G86 Fixed cycle: Boring (feed in - stop - rapid out) ADVANCED TECHNIQUES APPENDIX A - 29
G WORD G87 G89 G90 G91 G92 G94 G95 DESCRIPTION Fixed cycle: Boring (position - stop - feed in - shift - rapid out) Fixed cycle: Boring (feed in - dwell - feed out) Absolute positioning Incremental positioning Set work coordinates Feed per minute (IPM) Feed per revolution (IPR) OKUMA MACHINING CENTER STANDARD M CODES M00 M01 M02 M03 M04 M05 M06 M08 M09 M19 M30 M52 M53 M54 Program stop Program "optional" stop End of Program Spindle on - CW Spindle off - CCW Spindle off Tool change Coolant on Coolant off Spindle orientation End of program (rewind and reset) "Z" axis full retract "Z" axis retract to the G71 "Z" level "Z" axis retract to the G71 "R" level APPENDIX A - 30 ADVANCED TECHNIQUES