Word address programming - UNT College of Engineering

Download Report

Transcript Word address programming - UNT College of Engineering

Word address programming
CNC Mill
ALPHA NUMERICAL PROGRAM INPUT
•
•
•
•
•
•
•
Basic Programing Terms
a. Character
Digit
Letter
Symbols
b. Word
c. Block
d. Program Format
Combination of digit, letter, symbol is called:
Alpha – Numerical Program Input
Word address programming
• A. Program Number ( O _ _ _ _)
1. range from O 0001 through O9999
2. Letter O plus a four digit number
3. The only time letter o is used in program
Sequence Number
• B. Sequence Number (N_ _ _ _ )
indicates the sequence number of the block
1. Range from N0001 through N9999
2. Letter N plus a four digit number
• C. Spindle Speed (S _ _ _ _ )
1. Range from S150 through S6000)
2. Letter S plus a three or four digit number)
• D. Feed rate (F _ _ _. _ _ )
• Designates the relative speed of the cutting tool with respect to the work
1. Range from F .04 through F 196.00
2. Letter F plus a number and a decimal point
3. programming in inches per minute (ipm)
Tool Function
• E. Tool Number (T _ _ )
• Designates the number of the tools to be used
1. range from T1 through T 20
2. Letter T plus a number
Input Function
• F. H Codes ( H _ _ )
1. range from H 1 through H20
2. letter H plus a number
3. H codes are tool offset registers and must
correspond precisely to tool numbers,
i.e.,
T1 &H1, T2 & H2,
Input Function
• G. D Codes ( D _ _ )
1. range from D 1 through D20
2. letter D plus a number
3. D codes are tool diameter offset registers and
must correspond precisely to tool numbers,
i.e.,
T1 &H1, D1
• H. X Dimension (X _ _ _ . _ _ _ _)
1. letter X plus a number and a decimal
point in all instances expect when X = 0
2. leading and trailing zeroes can be omitted in
all dimensioning addresses
• I. Y Dimension (Y_ _ _ . _ _ _ _)
• J. Z Dimension ( _ _ . _ _ _ )
G codes , M codes
• G code: Preparatory Function are used to set the control
for various machine movement such as:
• Linear interpolation
G01
• Rapid travers
G00
• Circular interpolation G02, G03
• M code: Miscellaneous function direct the controller to
execute the function indicated such :
• End of program
M02, M30
• Tool Change
M06
• Turn the coolant off
M09
• Address:
•
G00
X-.375
S 800
F8
M06
T2
D05
• Words:
•
•
•
•
•
•
• ;
N0020
G90
G00
X-2.5
Y 3.75
S1000
• Block
• N0020 G90 G00 X-2.5 Y 3.75 S1000 ;
Part Programming
• A part program is simply a series of command blocks that execute motions and
machine functions to manufacture a part
End of presentation