Manual Part Programming Formats
Manual Part Programming Formats
NC part programming consists of planning and documenting the sequence of processing steps to be performed on an NC machine.
The documentation portion of part programming involves the input medium used to transmit the program of instructions to the NC machine control unit.
NC Coding System
The program of instruction is communicated to the machine tool using a coding system based on binary numbers. This NC coding system is the low-level machine language that can be understood by the MCU. When higher level languages are used, such as APT, the statements in the program are converted to this basic code.
Manual Part Programming Formats 3
Part programming can be accomplished using a variety of procedures ranging from highly manual to highly automated methods. The methods are:
(1) Manual Part Programming (2) Computer-assisted Part Programming (3) Part Programming using CAD/CAM (4) Manual Data Input
Commands are input into the controller in units called blocks or statements.
Block Format: 1. Fixed sequential format. 2. Tab sequential format. 3. Word address format.
The N/C controller has electronic pigeonholes called registers. Program information in the form of electronic pluses, minuses, and the digits zero (0) through nine (9) are placed into these registers.
The first register, the sequence number register, accepts four data characters, all numerals. The second register, the preparatory function register, receives two numeral characters. The third, fourth, and fifth registers, for the X-axis, Y-axis, and Z-axis drives, respectively, receive seven characters each (the first of which must be a plus or a minus sign). Registers six and seven are for feedrate and miscellaneous commands. These registers receive four and two characters each, respectively.
So with this particular fixed sequential format structure, thirty-three characters must be entered into each and every block and the seventh, fourteenth, and twentyfirst characters must be a plus or minus sign to indicate axis motion direction. A decimal is assumed (but not entered) to follow the ninth, sixteenth, twenty-third, and twenty-ninth character of each block.
10
Limitations :
No characters can be omitted and no extra characters can be included because doing either will place other characters in the wrong register. Blank spaces, called null characters, must be used if no command data are to be given. Fixed sequential format requires that a fixed number of data characters be entered in an exact sequence (No exceptions! ). The specific number of characters, their order, and the assumed decimal placement can vary according to the make of controller.
12
The nice thing about tab sequential formatting is that program printouts are "columnized", making the printout easier to read. Otherwise, the tab sequential format is the same as the fixed sequential format. Both are obsolete (but still in use.)
13
Coding Systems :
There are two standard coding systems currently used in NC: (1) The Electronic Industry Association (EIA) (2) The International Standards Organization (ISO).
The Electronics Industry Association system is known as EIA RS-244-B. The ISO code was originally developed as the American Standard Code for Information Interchange (ASCII) and has been adopted by ISO as its NC standard.
NC words :
FEED RATE (F code):
This specifies the feed in machining operation. Units are inches per minute ipm by convention.
The above figure shows all the codes used for NC manual part programming using word address format
19
Example
Assume that a drilling operation is to be programmed as: 1. The tool is positioned at (25.4,12.5,0) by a rapid movement. 2. The tool is then advanced -10 mm in the z direction at a feed rate of 500 mm/min., with the flood coolant on. 3. The is then retracted back 10 mm at the rapid feed rate, and the coolant is turned off.
20
21
22