Professional Documents
Culture Documents
1
1
431313
Metal Forming Laboratory
Milling CNC
- CNC
- CNC
-
CNC
HAIDENHAIN
CAD/CAM
CNC
CNC (Computer Numerical Control)
3
3
3 X Y
Z Spindle
Spindle
-X
Z
-Y
Y
-Z
Servo motor
Controller
Servo motor
G-Code
Servo motor
Ball screw Ball nut pitch
Ball screw Linear bearing Slide way
Ball screw
Pillow bearing
slide way
linear bearing ball screw
slide way ball screw pillow bearing servo motor
ball screw ball nut
slide way servo motor
Ball screw
table
Ball Nut
Linear bearing
Slide way
Ball nut
9
G44 Paraxial compensation reduction R-. Non-Modal G-code.
G70 Dimensions specified in inches (at start of program).
M-Code
M00 Stop program run/ Spindle STOP/Coolant OFF.
M02 Stop program run/Spindle STOP/Coolant OFF.
M03 Spindle ON : clockwise.
M04 Spindle ON: counterclockwise.
M05 Spindle STOP.
M06 Tool change/Stop program run. Spindle Stop.
M08 Coolant On.
M09 Coolant Off.
M13 Spindle On:clockwise/Coolant ON.
M14 Spindle On:counterclockwise/Coolant ON.
M30 same as M02. Return to block 1.
M89 Cycle Call. modal
M99 Cycle Call active.
Controller G Code
Controller
BRIDGEPORT VMC 500-16 Controller
HAIDENHAIN TNC 410M
10
R0
RR
11
RL
F= Feed rate
F0 9999 (mm. / min) For cutting or rapid transverse with determined speed.
F MAX
For rapid transverse only.
X Y Z
Example
or
or
L
L
L
CIRCLE CENTER ( )
PATTERN
CC X___ Y___
X = coordinate on X-axis Number
Y= coordinate on Y-axis Number
12
Example
CC
X-50 Y+15
POS.1
L
POS.1 POS.2
L
CC
POS.2 POS.3
C
13
CHAMFER ( )
PATTERN
CHF ____
CHF = Chamfer size Number
Example
POS.1
POS.1 POS.2
POS.2 POS.3
L
L
CHF
L
14
ROUNDING ( )
PATTERN
RND R ____
Example
POS.1
POS.1 POS.2
POS.2 POS.3
L
L
RND
L
15
TOOL CALL 1 Z
BLANK FORM ( )
PATTERN
minimum point
3 maximum point
Example
16
17
PATTERN
Stop Program
Conditional Stop ( Spindle ,Coolant , cursor stop at end position of
Spindle on Clockwise
Spindle on Counter Clockwise
Spindle stop
Tool change
18
M08
M09
M13
M14
M30
M90
Coolant on
Coolant off
Spindle on Clockwise & Coolant on
Spindle on Counter clockwise & Coolant on
Same M02 ( Spindle ,Coolant, reset cursor to begin position of program )
Constant contouring speed at corner
HAIDENHAIN
Y
X
(End mill DIA 12 mm. Milling depth 0.5 mm WP thickness 10 mm.)
19
0 BEGIN PGM TEST MM
1 BLK FORM 0.1 Z X+0 Y+0 Z-10
2 BLK FORM 0.2 X+100 Y+100 Z+0
3 TOOL CALL 1 Z S6000
4 L X-50 Y-50 Z+50 R0 F MAX M13
5 L X-10 Y+0 Z-0.5 F MAX
6 L X+10 Y+10 RL F500
7 L Y+90
8 L X+90
9 CHF 10
10 L Y+72.36
11 CC X+110 Y+50
12 C X+90 Y+27.64 DR+ F 300
13 L Y+10 F400
14 RND R10
15 L X-10
16 L Z+150 R0 F MAX
17 M30
18 END PGM TEST MM
minimum point
maximum point
tool 1 6000 /
500 ./ tool
500 ./
500 ./ ( 1)
10 .
500 ./ ( 2)
( )
X Y
300 ./
( )
400 ./ ( 1)
10 .
400 ./ ( 2)
Z
20
1. . 3
R0 , RR RL ( 100x100x12) End mill size 12 mm.( 2
.)
2. .
End mill 14 mm (
) 180 x 30 x 5 .