CNC Machine Operationg Programming Training
CNC Machine Operationg Programming Training
Of
Servo Motors
Controller
Controller
In open loop systems the slide may overshoot or may not reach
desired position because of inertia, wear and tear and friction,
hence inaccurate machining.
In closed loop systems the position sensors are used to correct
slide movements and achieve higher accuracy and repeatability
*
* Controlled by G and M codes.
* These are number values and co-ordinates.
* Each number or code is assigned to a particular operation.
* Typed in manually to CAD by machine operators.
* G & M codes are automatically generated by the computer
software.
*
Individual Words
*
* O - Program number (Used for program identification)
* N - Sequence number (Used for line identification)
* G - Preparatory function
* X - X axis designation
* Y - Y axis designation
* Z - Z axis designation
* R - Radius designation
* F – Feed rate designation
* S - Spindle speed designation
* H - Tool length offset designation
* D - Tool radius offset designation
* T - Tool Designation
* M - Miscellaneous function
*
G00 Rapid Transverse
G01 Linear Interpolation
G02 Circular Interpolation, CW
G03 Circular Interpolation, CCW
G17 XY Plane,G18 XZ Plane,G19 YZ Plane
G20/G70 Inch units
G21/G71 Metric Units
G40 Cutter compensation cancel
G41 Cutter compensation left
G42 Cutter compensation right
G43 Tool length compensation (plus)
G43 Tool length compensation (plus)
G44 Tool length compensation (minus)
G49 Tool length compensation cancel
G80 Cancel canned cycles
G81 Drilling cycle
G82 Counter boring cycle
G83 Deep hole drilling cycle
G90 Absolute positioning
G91 Incremental positioning
*
* M00 Program stop
* M01 Optional program stop
* M02 Program end
* M03 Spindle on clockwise
* M04 Spindle on counterclockwise
* M05 Spindle stop
* M06 Tool change
* M08 Coolant on
* M09 Coolant off
* M10 Clamps on
* M11 Clamps off
* M30 Program stop, reset to start
Advantages of CNC
i. - Easier to program;
http://en.wikipedia.org/wiki/computer_nume
rical_control
http://www.motioncontrol.com/articles/gear
heads-modular-spindle-drives
http://www.seminarprojects.com/cnc