Milling machines


Machining metal on a milling machine involves removing material from a workpiece using rotating cutting tools. Here are the basics of the process:

1. Components of a Milling Machine

  • Base and Column: The base supports the machine and the column supports the spindle and table.
  • Spindle: Holds and rotates the cutting tool.
  • Table: Supports the workpiece and moves in the X, Y, and sometimes Z directions.
  • Knee: Supports the table and can move vertically.
  • Saddle and Swivel Table: Allows for lateral movement and adjustment of the table.

2. Types of Milling Machines

  • Vertical Milling Machine: The spindle is oriented vertically. It’s commonly used for drilling and vertical cuts.
  • Horizontal Milling Machine: The spindle is oriented horizontally. It’s used for more complex cuts and larger workpieces.
  • CNC Milling Machine: Computer Numerical Control (CNC) machines are automated and programmed for precision.

3. Cutting Tools

  • End Mills: Common tools with cutting teeth on the end and sides.
  • Face Mills: Larger tools for cutting flat surfaces.
  • Ball Nose Mills: Rounded ends for contouring and 3D shapes.
  • Slot Drills: Designed for creating slots and pockets.

4. Basic Operations

  • Facing: Cutting a flat surface perpendicular to the spindle.
  • Slotting: Creating a slot or groove in the workpiece.
  • Drilling: Making round holes using drill bits.
  • Profile Milling: Cutting the outer edges or profiles of the workpiece.
  • Contour Milling: Complex 3D shapes and contours.

5. Setup Process

  • Mounting the Workpiece: Secure the workpiece using vises, clamps, or fixtures.
  • Selecting and Installing the Cutting Tool: Choose the appropriate tool for the operation and secure it in the spindle.
  • Setting the Zero Point: Establish the starting point for the tool, often using edge finders or touch probes.
  • Inputting the Tool Path: For CNC machines, this involves programming the desired path using G-code.

6. Machining Process

  • Start the Machine: Ensure all safety measures are in place, such as wearing protective gear and verifying tool paths.
  • Execute the Cut: Engage the spindle and feed the workpiece into the cutting tool. Adjust the feed rate and spindle speed as needed.
  • Monitor and Adjust: Continuously check the progress and make adjustments to ensure precision and avoid tool breakage or workpiece damage.
  • Finish and Inspect: Once machining is complete, remove the workpiece and inspect it for accuracy and finish.

7. Safety Considerations

  • Personal Protective Equipment (PPE): Wear safety glasses, hearing protection, and appropriate clothing.
  • Machine Guards: Ensure guards are in place to protect against flying debris and accidental contact.
  • Emergency Stop: Know the location of the emergency stop button and how to use it.

8. Common Terms

  • Feed Rate: The speed at which the workpiece is fed into the cutting tool.
  • Spindle Speed: The rotational speed of the cutting tool.
  • Depth of Cut: The thickness of material removed in one pass.
  • Climb Milling vs. Conventional Milling: Climb milling cuts with the rotation of the cutter, providing a better finish, while conventional milling cuts against the rotation, offering better tool life for tough materials.

Machining metal on a milling machine requires understanding the machine components, selecting the appropriate tools and operations, and following proper setup and safety procedures. Mastery of these basics allows for efficient and precise material removal, resulting in accurate and high-quality parts.

With reference to section 5 above, G-codes are a set of instructions used to control CNC (Computer Numerical Control) machines, including milling machines, and an example of such a code set is given below. These codes guide the machine on how to move, where to move, and what kind of movements to perform.

Here’s a breakdown of some common G-codes and their functions:

1. Movement Commands

  • G00: Rapid positioning. Moves the tool quickly to a specified position without cutting.
  • G01: Linear interpolation. Moves the tool in a straight line at a specified feed rate for cutting.
  • G02: Circular interpolation clockwise. Moves the tool in a clockwise arc.
  • G03: Circular interpolation counterclockwise. Moves the tool in a counterclockwise arc.

2. Plane Selection

  • G17: Selects the XY plane for circular interpolation.
  • G18: Selects the XZ plane for circular interpolation.
  • G19: Selects the YZ plane for circular interpolation.

3. Coordinate System Selection

  • G54 – G59: Work coordinate systems. These commands select different preset work coordinate systems, allowing the user to define multiple workpiece origins.

4. Tool Functions

  • G43: Tool length offset compensation. Adjusts for the length of the tool.
  • G44: Tool length offset compensation negative. Similar to G43 but subtracts the offset value.
  • G49: Cancels tool length offset compensation.

5. Spindle Control

  • M03: Spindle on clockwise.
  • M04: Spindle on counterclockwise.
  • M05: Spindle stop.

6. Feed Rate and Speed Control

  • G94: Sets the feed rate in units per minute.
  • G95: Sets the feed rate in units per revolution.
  • S: Spindle speed. Sets the rotational speed of the spindle.

7. Coolant Control

  • M08: Turns the coolant on.
  • M09: Turns the coolant off.

8. Program Control

  • M00: Program stop. Stops the program until the operator resumes it.
  • M01: Optional stop. Stops the program if the optional stop is activated.
  • M02: End of program. Stops the machine and ends the program.
  • M30: End of program with rewind. Stops the machine, ends the program, and returns to the start of the program.

9. Miscellaneous Functions

  • G20: Sets units to inches.
  • G21: Sets units to millimetres.
  • G28: Return to home position.
  • G40: Cutter compensation cancel. Cancels any cutter diameter compensation.
  • G41: Cutter compensation left. Compensates the cutter to the left of the programmed path.
  • G42: Cutter compensation right. Compensates the cutter to the right of the programmed path.

10. Canned Cycles

Canned cycles are pre-programmed routines that simplify complex machining operations:

  • G81: Simple drilling cycle.
  • G82: Drilling cycle with dwell. Pauses at the bottom of the hole.
  • G83: Peck drilling cycle. Drills holes in steps to break up chips.
  • G84: Tapping cycle. Used for threading holes.
  • G85: Boring cycle.
  • G86: Boring cycle with spindle stop.
  • G89: Boring cycle with dwell.

11. Home Position and Return

  • G28: Moves the tool to the machine home position via an intermediate point.
  • G29: Moves the tool to a specific position from the home position.

12. Subprograms and Repeats

  • M98: Call subprogram. Runs a subprogram specified by the user.
  • M99: End subprogram or return from subprogram.

Summary

These G-codes provide the essential commands for controlling the movements and operations of CNC milling machines. Understanding and utilizing these commands enable precise control over the machining process, leading to accurate and efficient production of parts.


Leave a Reply

Discover more from Product Development Engineers Ltd

Subscribe now to keep reading and get access to the full archive.

Continue reading