This document provides an overview of computer numerical control (CNC) machines. It discusses the basic functions and components of CNC machines, including automatic and precise motion control along linear and rotary axes driven by motors and computer programs. The document also covers important G and M codes used in CNC programming to control functions like feed rate, spindle speed, tool changes, and axis movement. Sample CNC programming examples are provided to demonstrate how coordinates and machining parameters are defined to cut a geometric profile.
Types of AutomationManufacturingAutomationHard/Rigid/ MechanizedAutomationSoft/ Flexible/ ProgrammableAutomationCopy milling machines AutomatsSpecial purpose machinesCNC Machines RobotsAutomatically Guided Vehicles (AGVs) Reconfigurable conveyors Unlimited muscle powerSpeedAccuracyUnmanned operationFlexibilitySimplified generic tooling even for the most complex jobsAdvantages of Soft Automation
3.
Introduction to CNCConventionally,an operator decides and adjusts various machines parameters like feed , depth of cut etc depending on type of job , and controls the slide movements by hand. In a CNC Machine functions and slide movements are controlled by motors using computer programs. The most basic function of any CNC machine is automatic, precise, and consistent motion control.The two most common axis types are linear (driven along a straight path) and rotary (driven along a circular path).
4.
Introduction to CNCConventionally,an operator decides and adjusts various machines parameters like feed , depth of cut etc depending on type of job , and controls the slide movements by hand. In a CNC Machine functions and slide movements are controlled by motors using computer programs. The most basic function of any CNC machine is automatic, precise, and consistent motion control.The two most common axis types are linear (driven along a straight path) and rotary (driven along a circular path).
Important M CodesM00Program stopM01 Optional program stopM02 Program endM03 Spindle on clockwiseM04 Spindle on counterclockwiseM05 Spindle stopM06 Tool changeM08 Coolant onM09 Coolant offM10 Clamps onM11 Clamps offM30 Program stop, reset to start
10.
Modal and Non-ModalCommandsModal commands: Commands issued in the NC program that will stay in effect until it is changed by some other command, like, feed rate selection, coolant selection, etc.Nonmodal commands: Commands that are effective only when issued and whose effects are lost for subsequent commands, like, a dwell command which instructs the tool to remain in a given configuration for a given amount of time.
Programming : Absoluteand Incremental5 – Parity check6 – Zero7- Minus8 – End of infoEIAASCII
14.
Features of aCNC SystemsThe tool or material moves.Tools can operate in 1-5 axes.Larger machines have a machine control unit (MCU) which manages operations.Movement is controlled by a motors (actuators).Feedback is provided by sensors (transducers)Tool magazines are used to change tools automatically.
15.
Types of InterpolationsPointto Point - No contouring capability Straight cut control - one axis motion at a time is controlled for machiningContouring - multiple axis’s controlled simultaneously
16.
Sample ProgrammingPreparatory Information:units, incremental orabsolute positioningCoordinates: X,Y,Z, RX,RY,RZMachining Parameters: Feed rate and spindlespeedCoolant Control: On/Off, Flood, MistTool Control: Tool and tool parametersCycle Functions: Type of action requiredMiscellaneous Control: Spindle on/off, directionof rotation, stops forpart movementThis information is conveyed to the machine through a set of instructions arranged in a desired sequence – Program
17.
Sample ProgrammingManual PartProgramming: Manual programming of the machinesComputer Aided Programming (CAP): Programming done by a computerManual Data Input (MDI): A manual program is entered into the machine’s controller via its own keyboard
18.
Sample ProgrammingTool size= 0.25 inch,Feed rate = 6 inch per minute,Cutting speed = 300 rpm,Tool start position: 2.0, 2.0Programming in inchesMotion of tool:p0 p1 p2 p3 p4 p5 p1 p0
19.
Sample ProgrammingSet upthe programming parametersProgramming in inchesUse absolute coordinatesFeed in ipmN010 G70 G90 G94 G97 M04 Spindle speed in rpmSpindle CCW
Sample ProgrammingMove toolfrom p0 to p1 in straight line Linear interpolationtarget coordinatesN030 G01 X3.875 Y3.698
22.
Sample ProgrammingCut profilefrom p1 to p2Linear interpolationtarget coordinatesN040 G01 X3.875 Y9.125 orN040 G01 Y9.125 X-coordinate does not change no need to program it
Sample ProgrammingCut alongcircle from p3 to p4circular interpolation, CCW motiontarget coordinatesN060 G03 X7.366 Y9.125 I0.866 J-0.125 coordinates of center of circle (always in incremental )
Advantage of NCIncreasedproductivity Reduced tool/fixture storage and cost Faster setup time Reduced parts inventory Flexibility that speeds changes in design Better accuracy of partsReduction in parts handling Better uniformity of parts Better quality control Improvement in manufacturing control
28.
DisadvantagesIncrease in electricalmaintenanceHigh initial investmentHigher per-hour operating cost than traditional machine toolsRetraining of existing personnelNC is a general term used for Numerical Control. CNC refers specifically to COMPUTER NUMERICAL CONTROL. CNC machines are all NC machines but not all NC machines are CNC machine.