Download as pdf or txt
Download as pdf or txt
You are on page 1of 13

CNC Milling Machine

1. (Milling Tool)
2. G-Code M-Code
3.

1 Setup
1. ACC1
spindle
Turns on and off the Spindle
Turns on and off the ACCI output
2. Home

2
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

3.3 Limit x, y z Negative OK

Soft Limit
Tool

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

4.4 Tool Set Position z = 0

X Y 4.3
Tool



1) Tool
2) G00 ()
3) 2

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)

CNC
( G Code)


NC G M

)


) 3
1. N
2. G, X, Y, Z, I, J K
3.
M, F, S T

2. G M
(G Code)
(M Code).
2.1 (G Code)
CNC


Absolute Increment
(Preparatory Function)

ISO6983/BS 3635 ANSI / EIARS274D, (), 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).

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).

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

G00

G01
G02
G03

M03
M08
M30

G-Code

Rapid traverse

(Rapid)
Linear interpolation (default)

Circular interpolation (clockwise)

Circular interpolation (counterclockwise)

M-Code

Spindle Motor On

Accessory #1 On
End of program

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

10


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

11

(Simulation)
1.
Menu bar => Setup => Units => Metric
2.
Menu bar => Tools => Setup Tool Library

3.
Verify Settings

12


1. Code

()

()
13

You might also like