Post on 08-Mar-2016
description
transcript
1
CNC Milling Machine .
1. (Milling Tool) 2. G-Code M-Code 3.
2
1 Setup 1. ACC1 spindle
Turns on and off the Spindle
Turns on and off the ACCI output 2. Home 2.1 Tool 1 Zero Position 2.2 Menu -> Setup -> Set/Check Home 2.3 Window Position x = 0, y = 0, z = 0 2.1 2.2 3. Soft Limit 3.1 home Menu Setup > Soft Limit Enable Soft Limits 3.2 2 tool 2 Tool
1
2
3
3.3 Limit x, y z Negative OK 3.4 Home 1) Jog Control 2) Goto Position 1 z = 5 2 x = 0, y = 0 Tool Home Tool z = 0 Tool 3.5 Menu > Setup > Soft Limits Enable Soft Limits OK 4. 4.1 GCode Tool 2 Tool 4.2 Spindle 4.3
Soft Limit Tool
4
4.4 Tool Set Position z = 0
X Y 4.3 Tool
Y
X
1) Tool 2) G00 () 3) 2
5
2
1. ( NC Program) NC
NC 1. (Line) (Block) 2. (Word)
(Code) CNC (Numbers)
NC N1 G90 F0.5 S200 T1 M3 N2 G00 X 50 Z 2 N3 G01 Z-1 NC () (Word) 3 1 : N1 G90 F0.5 S200 T1 M3 1 6 : N1, G90, F0.5, S200, T1 M3 : 1. (Code) Address
2. (Numbers) 1 : N, G, F, S, T M : 1, 90, 0.5, 200, 1 3 NC 3 1. (Program Control Instructions) 2. (Geometric Instructions) 3. (Technical Instructions)
6
CNC ( G Code) NC G M
)
) 3 1. N 2. G, X, Y, Z, I, J K 3. M, F, S T
7
2. G M (G Code) (M Code). 2.1 (G Code) CNC Absolute Increment
(Preparatory Function) ISO6983/BS 3635 ANSI / EIARS-274D, (), BS3635 () DIN 66 025 () NC ( G Code Program). 2.2 (M Code) CNC (Coolant) (M) (M Code) (Miscellaneous Functions) CNC 1. G-Code M-Code 2 3 2. G22 G32 G98 99 EIA ISO 3. NC EIA ISO (EIA/ISO Code).
8
3. G-Code M-Code 7 1 () : N 2. : X, Y Z 3. : I, J K 4. : S V 5. : F 6. : T 7. : B, D O 3.1 (Block Number, Sequence Number): N N (0 9) 3 (3 ) 999 (N001 N999) (memory) 5 (N00001 N99999) CAD/CAM (Computer Aided Design/Computer Aided Manufacturing) 1, 2, 3, 4 ... 5 N0005, N0015, N0020, 10 N0010, N0030, N0040, N0005 () N5 Subprogram 3.2 (Spindle Speed): S S S1500 1500 (rpm rev/min). (Speed).
9
3.3 : F ( Feedrate) . ./ (mm/min) / (inch/min) G94 . ./ (mm/rev) / (inch/rev) G95 3.4 : T CNC T (M06) T0102 T101
3 G-Code M Code
G-Code G00 Rapid traverse
(Rapid)
G01 Linear interpolation (default)
G02 Circular interpolation (clockwise)
G03 Circular interpolation (counterclockwise)
M-Code
M03
Spindle Motor On
M08 Accessory #1 On M30 End of program
10
Y
X
G-Code G04 Dwell (wait): Stop motion on all axes for the number of seconds specified by the F code, then continue the program. Because the F code is used to specify the number of seconds, you cannot also specify a new feed rate in the same block. : (Dwell) Example: G04F10;Wait for 10 seconds G05 Pause: Used for operator intervention. Stop motion on all axes until the operator manually resumes program execution using the Run/Continue command. G20 (inch) and G70 (inch) : (inch) G21 (metric) and G71 (metric) : (mm) G90 Absolute programming mode : (Absolute) G91 Incremental programming mode : (Increment)
4 Code (x) 90 mm (y) 50 mm (z) 10 mm 6 mm
11
m08 m03 s2000 g01 z4 g01 x48 y0 g01 z-2 g01 y56 g01 z4 g01 x0 y28 g01 z-2 g01 x96 g01 z4 g01 x0 y0 m30
12
(Simulation) 1. Menu bar => Setup => Units => Metric 2. Menu bar => Tools => Setup Tool Library
3. Verify Settings
13
1. Code
()
()