Dr. V.Chittaranjan Das
Professor ,
Department of Mechanical Engineering,Guntur
METHODS OF NC PART PROGRAMMING
1. Manual part programming
2. Computer assisted part programming
3. Manual data input
4. NC programming using CAD/CAM
5. Computer automated part programming
Manual part programming:
The processing instructions are documented on a
form called a part program manuscript.
The manuscript is a listing of the positions of the
tool relative to the workpiece that the machine must
follow in order to perform the processing.
The listing may also include other commands such as
speeds, feeds, tooling, and so on.
A punched tape is then prepared directly from the
manuscript.
Computer-assisted part programming,
The programmer prepares the set of processing
instructions in a high-level computer language.
For complex jobs, this computer language is much
easier to use than the lower-level coding required in
manual part programming.
The high-level language commands are interpreted
by the computer, and the required calculations and
data processing are accomplished to prepare the NC
program for the tape reader (or other input device).
Manual data input (MDI) :
The NC program is entered directly into the
MCU at the site of the processing machine.
The use of the punched tape is avoided.
The programming procedure is simplified to
permit machine operators rather than part
programmers to do the programming.
NC part programming using CAD/CAM
An advanced form of computer-assisted part
programming in which an interactive graphics system
equipped with NC programming software is used to
facilitate the part programming task.
The term CAD/CAM means computer-aided design
and computer-aided manufacturing.
In this method the programmer works on a
CAD/CAM workstation to enter the machining
commands.
The actions indicated by the commands are
displayed on the graphics monitor, which provides
visual feedback to the programmer.
Also, certain portions of the programming cycle are
automated by the NC programming software to
reduce the total programming time required.
5. Computer automated part programming
It automates the complete part programming task
using software that is capable of making logical
and even quasi intelligent decisions about how
the part should be machined.
PUNCHED TAPE IN THE REEL FORM
DETAILS OF PUNCHED TAPE
Tape Programming Format
Word Address Format
This format is used by most of the NC machines, also
called variable block format. A typical instruction
block will be as below :
N20 G00 X1.200 Y.100 F325 S1000 T03 M09
Tab Sequential Format
Here the alphabets are replaced by a Tab code, which
is inserted between two words.
The MCU reads the first Tab and stores the data in the
first location then the second word is recognized by
reading the record Tab
>20 >00 >1.200 >.100 >325 >1000 >03 >09
Fixed Block Format
In fixed block format no letter address of Tab code are
used and none of words can be omitted.
The main advantage of this format is that the whole
instruction block can be read at the same instant,
instead of reading character by character.
This format can only be used for positioning work
only.
20 00 1.200 .100 325 1000 03 09
G-Codes (Preparatory Functions)
Code Function
G00 Rapid positioning
G01 Linear interpolation
G02 Circular interpolation clockwise (CW)
G03 Circular interpolation counterclockwise (CCW)
G20 Inch input (in.)
G21 Metric input (mm)
G24 Radius programming
G28 Return to reference point
G29 Return from reference point
G32 Thread cutting
G40 Cutter compensation cancel
G41 Cutter compensation left
G42 Cutter compensation right
G43 Tool length compensation positive (+) direction
G44 Tool length compensation minus (-) direction
G49 Tool length compensation cancels
G 53 Zero offset or M/c reference
G54 Settable zero offset
G84 canned turn cycle
G90 Absolute programming
G91 Incremental programming
G-CODE LIST :
M-Codes (Miscellaneous Functions)
Code Function
M00 Program stop
M02 End of program
M03 Spindle start (forward CW)
M04 Spindle start (reverse CCW)
M05 Spindle stop
M06 Tool change
M08 Coolant on
M09 Coolant off
M10 Chuck - clamping
M11 Chuck - unclamping
M12 Tailstock spindle out
M13 Tailstock spindle in
M17 Tool post rotation normal
M18 Tool post rotation reverse
M30 End of tape and rewind or main program end
M98 Transfer to subprogram
M99 End of subprogram
Nc part programming
Nc part programming
Nc part programming

Nc part programming

  • 1.
    Dr. V.Chittaranjan Das Professor, Department of Mechanical Engineering,Guntur
  • 2.
    METHODS OF NCPART PROGRAMMING 1. Manual part programming 2. Computer assisted part programming 3. Manual data input 4. NC programming using CAD/CAM 5. Computer automated part programming
  • 3.
    Manual part programming: Theprocessing instructions are documented on a form called a part program manuscript. The manuscript is a listing of the positions of the tool relative to the workpiece that the machine must follow in order to perform the processing. The listing may also include other commands such as speeds, feeds, tooling, and so on. A punched tape is then prepared directly from the manuscript.
  • 4.
    Computer-assisted part programming, Theprogrammer prepares the set of processing instructions in a high-level computer language. For complex jobs, this computer language is much easier to use than the lower-level coding required in manual part programming. The high-level language commands are interpreted by the computer, and the required calculations and data processing are accomplished to prepare the NC program for the tape reader (or other input device).
  • 5.
    Manual data input(MDI) : The NC program is entered directly into the MCU at the site of the processing machine. The use of the punched tape is avoided. The programming procedure is simplified to permit machine operators rather than part programmers to do the programming.
  • 7.
    NC part programmingusing CAD/CAM An advanced form of computer-assisted part programming in which an interactive graphics system equipped with NC programming software is used to facilitate the part programming task. The term CAD/CAM means computer-aided design and computer-aided manufacturing. In this method the programmer works on a CAD/CAM workstation to enter the machining commands.
  • 8.
    The actions indicatedby the commands are displayed on the graphics monitor, which provides visual feedback to the programmer. Also, certain portions of the programming cycle are automated by the NC programming software to reduce the total programming time required.
  • 9.
    5. Computer automatedpart programming It automates the complete part programming task using software that is capable of making logical and even quasi intelligent decisions about how the part should be machined.
  • 10.
    PUNCHED TAPE INTHE REEL FORM
  • 11.
  • 12.
    Tape Programming Format WordAddress Format This format is used by most of the NC machines, also called variable block format. A typical instruction block will be as below : N20 G00 X1.200 Y.100 F325 S1000 T03 M09
  • 13.
    Tab Sequential Format Herethe alphabets are replaced by a Tab code, which is inserted between two words. The MCU reads the first Tab and stores the data in the first location then the second word is recognized by reading the record Tab >20 >00 >1.200 >.100 >325 >1000 >03 >09
  • 14.
    Fixed Block Format Infixed block format no letter address of Tab code are used and none of words can be omitted. The main advantage of this format is that the whole instruction block can be read at the same instant, instead of reading character by character. This format can only be used for positioning work only. 20 00 1.200 .100 325 1000 03 09
  • 15.
    G-Codes (Preparatory Functions) CodeFunction G00 Rapid positioning G01 Linear interpolation G02 Circular interpolation clockwise (CW) G03 Circular interpolation counterclockwise (CCW) G20 Inch input (in.) G21 Metric input (mm) G24 Radius programming G28 Return to reference point G29 Return from reference point G32 Thread cutting
  • 16.
    G40 Cutter compensationcancel G41 Cutter compensation left G42 Cutter compensation right G43 Tool length compensation positive (+) direction G44 Tool length compensation minus (-) direction G49 Tool length compensation cancels G 53 Zero offset or M/c reference G54 Settable zero offset G84 canned turn cycle G90 Absolute programming G91 Incremental programming
  • 17.
  • 19.
    M-Codes (Miscellaneous Functions) CodeFunction M00 Program stop M02 End of program M03 Spindle start (forward CW) M04 Spindle start (reverse CCW) M05 Spindle stop M06 Tool change M08 Coolant on M09 Coolant off
  • 20.
    M10 Chuck -clamping M11 Chuck - unclamping M12 Tailstock spindle out M13 Tailstock spindle in M17 Tool post rotation normal M18 Tool post rotation reverse M30 End of tape and rewind or main program end M98 Transfer to subprogram M99 End of subprogram