Вы находитесь на странице: 1из 94

Mach3 CNC Controller

Mariobad Inguz 2009

1 ....................................................6
, .......................................................................................................6
1.1
1.2
1.3
1.4

.................................................................................................................................7
...................................................................................................7
Mach3.........................................................................................9
Mach3............................................................................................................9

2 Mach3.................................................................12
2.1

........................................................................................................................12
2.1.1 ........................................................................................................................12
2.1.2 .....................................................................................................................12
2.1.2.1 , ............................................12
2.1.2.2 Mach3...................................................13
2.1.2.3 Windows Vista.................................................................15
2.1.3 ..............................................................................................15
2.2
.............................................................................16
2.2.1 .....................16
2.3
Mach3..................................................................................................................18
2.3.1 ......................................................................................................18
2.4
..............................................................................................20
2.4.1 DriverTest Mach3.....................................................20
2.4.2 .................................................................20

3 Mach3. ...................22
3.1

.............................................................................................................22
3.1.1 .......................................................................23
3.1.2 .................................................24
3.1.3 .............................................................................................24
3.2
( ).............................................................................24
3.3
() ..........................................................................26
3.3.1 .....................................................................................................................27

4
........................................................................................................................................29
4.1

...............................................................................29

4.2

...................................................................................................................30
4.2.1 .....................................................................30
(Estop) .....................................................................32
.............................................................................32

4.3
4.4

_____________________________________________________________________________________________________________
Mach3Mill Install Config
3

Mariobad Inguz 2009

4.4.1 ......................................................................................32
4.4.2 ................................................................33
4.4.2.1 1 ..................................34
4.4.2.2 2 ............................................35
4.4.3 (Step Dir)......................................36
4.5
(Limit) (Home switches)............................36
4.5.1 ..............................................................................................................38
4.5.2 ..................................................................................40
4.5.3 Mach3 ........................................41
4.5.4 ...........................................................................................41
4.5.5 ....................................................42
4.5.5.1 ........................42
4.5.5.2 ..................................................42
4.5.5.3 ................................42
4.5.5.4 .....................42
4.5.5.5 ...................................................................................................42
4.5.6 .......................................................................................43
4.6
.....................................................................................................44
4.6.1 / ................................................44
4.6.2 ......................................................44
4.6.3 ...........................................................45
4.7
.........................................................................................................................46
4.8
..........................................................................................46
4.9
..................................................................................................................46
4.10 () .................................................46
4.11 ..........................................................................48
4.12 .................................................................48
4.13 ..................................................................................................................48
4.14 Estop ......................................49

5 Mach3
.............................................................................................................50
5.1

.............................................................................................50

5.2

............................................................................................50
5.2.1
().............................................52
5.2.2
(Kernel speed)..........................................................53
5.2.3
..........................................................................53
5.3
, .................54
5.3.1
, ..54
5.3.2
, ..........................................55
5.3.3 ...................................................................................57
5.3.4
...................................................................................................58
5.3.5
().............59
5.3.5.1 .........................................................................................60
5.3.5.2 ...................................................................................................60
5.3.6
.................................................................................60
5.3.6.1 .................................................................................61
5.3.6.2 ....................................................................61
5.3.6.3 ......................................................................62
5.3.6.4 Modbus................................................62
_____________________________________________________________________________________________________________
Mach3Mill Install Config
4

Mariobad Inguz 2009

5.4
5.5

5.6

5.7
5.8

5.3.6.5 ..............................................................................................62
5.3.6.6 .....................................................................................63
5.3.6.7 ......................................................................................63
5.3.7
.....................................................................................63
5.3.8
.............................................................................................................64
....................................................................................................................65
.........................................................................................................66
5.5.1
(steps per unit).....................................66
5.5.1.1 ..............................................................67
5.5.1.2 .......................................69
5.5.1.3 Mach3 ...........................69
5.5.1.4 (steps per unit) Mach3....................69
5.5.2
.....................................................70
5.5.2.1 ...............................................70
5.5.2.2 ............................................71
5.5.2.3 / (Steps per unit)....72
5.5.3 ......................................................................................73
5.5.3.1 ................................................................................................73
5.5.3.2 ..............................................74
5.5.3.3 ..........................74
5.5.3.4 ..............................................................................74
5.5.4
............................................................................74
5.5.4.1 ...............................................................76
5.5.5
........................77
5.5.5.1 , ......................................77
5.5.5.2 ..........................................................................79
5.5.5.3 ...........................................80
5.5.5.4 ....................................................................80
.........................................................................................................80
5.6.1
..................................................................80
5.6.1.1 .............................................81
5.6.1.2 ......................................................................81
5.6.1.3 ..................................................81
5.6.1.4 G28...............................................................................82
5.6.2
.......................................................82
5.6.3
.............................................................................................83
5.6.4
() .............................................84
5.6.5
.........................................................84
5.6.6
................................................................................................86
5.6.6.1 , .....................................86
5.6.6.2 , 2................................................87
5.6.6.3 , 3................................................88
5.6.6.4 , 4................................................89
..............................................................................91
........................................................................92

(THC)
Mach3........................................................................................................................................94

_____________________________________________________________________________________________________________
Mach3Mill Install Config
5

Mariobad Inguz 2009

, ,
().

, ...
.
, .
,
,
.

, , ,
,
, . ,
,
.
, - ,
,
.

_____________________________________________________________________________________________________________
Mach3Mill Install Config
6

Mariobad Inguz 2009

1.1
, Mach3Mill
.
.
, , .
Using Mach3Mill , Mach3Mill,
.
! Mach3 ,
. ,
. ,
Mach3. ,
, .
Customising Mach3 Wiki, (:
www.machsupport.com/MachCustomizeWiki/index.php?title=Main_Page), ,
,
.
ArtSoft USA -
Mach3. www.machsupport.com
,
. ,
,
Mach3.

Mach3.
.
, ,
.
.
, ,
. ,
Mach3 .
ArtSoft USA ,
.

1.2
1.1. :
1. CAD/CAM . CAD/CAM ,
(). , G-,
, . G-
.
2. USB ,
CAD/CAM .
3. . , ,
, . Mach3,
,
_____________________________________________________________________________________________________________
Mach3Mill Install Config
7

Mariobad Inguz 2009

().
4. .
,
, , .
5. . ,
,
.

1-1:

,
.
,
, ,
, ,
.
, ,
, (), ,
, .
, .
, G-
,
(, (
) ). ,
_____________________________________________________________________________________________________________
Mach3Mill Install Config
8

Mariobad Inguz 2009

1.3 Mach3
Mach3 - ,
(3) 1.1.
Mach3 , Windows
2000, Windows XP 32- Windows Vista. ( Windows Vista
, www.machsupport.com .) ArtSoft
USA 1GHz 1024 x
768 . ,
. , (,
(1) 1.1 CAD/CAM ),
.
Mach3 (
) ( ).
( ),
"motion controller board",
USB Ethernet .
,
, , ,
. Mach3 ,
G- (), ()
.

(step dir), Mach3.
,
( ). ( NC),
- ()
,
.
Mach3, Mach3
.
.

1.4 Mach3
Mach3 , , ,
, . ,
Mach3, :
. (EStop)
.
, ( X, Y, Z)
, .
. , (1)
(, , , Z ,
, X Z) (2)
(, -

_____________________________________________________________________________________________________________
Mach3Mill Install Config
9

Mariobad Inguz 2009

X, Y Z, ).
:
, , .
, .
. () ().
. (..
) .
X, Y, Z. ,
, (
. 5.6.4).
, .
( / )
- ,
.
, ,

.
, , Mach3,
() () . ,
.
, LCD , ,
,
ModBus (, PLC Homan Design ModIO ).
" ",
.
Mach3 ,
, ( X, Y Z),
,
. ,
.
, (),
. ,
.
, Mach3
, ,
X,Y Z .
Mach3 , .
( /)
, .
Mach3 .
Mach3 Estop
, .
Mach3 256 . ,
,
_____________________________________________________________________________________________________________
Mach3Mill Install Config
10

Mariobad Inguz 2009

. Mach3 ,
.

_____________________________________________________________________________________________________________
Mach3Mill Install Config
11

Mariobad Inguz 2009

2 Mach3

_______________________________________________________________________________________
, Mach3 www.machsupport.com
. ,
.
,
, Mach .

2.1 ( )
Mach3 ArtSoft USA .
( 25 ).
,
, .
,
. -
ArtSoft Corporation www.machsupport.com.

2.1.1
www.machsupport.com ,
,
(, ). Windows .
, ,
, , .
, . ,
, .
, - , Windows (
) .

2.1.2
, Mach3.
- Mach3,
. .

2.1.2.1 ,
, . ,
. , .
, 25- ()

_____________________________________________________________________________________________________________
Mach3Mill Install Config
12

Mariobad Inguz 2009

. .

2.1.2.2 Mach3
, Windows
, , Mach3. ArtSoft USA
Mach3 C:\Mach3.
Mach3Mill.
,
, , Mach3Turn .
, 2-1

2-1:

(),
Parallel Port Driver .
, USB Ethernet ,
.
Wizards , G , ,
, .. , , .
Mach3 Addons for Mill,
.
XML Mach3.
XML-: Mach3Mill.xml Mach3Turn.xml, Mach3Plasma.xml.
. . ArtSoft
_____________________________________________________________________________________________________________
Mach3Mill Install Config
13

Mariobad Inguz 2009

USA , ,
.
, ,
XMLs.
LazyCam - - , Mach3.
dxf, cmx Mach3,
G- CAM-. LazyCam
ArtSoft, .
Screen Sets Mach3.
, .
, , Next ().
, ,
2-2.

2-2

, ArtSoft USA
, .
,
. , Mill Profile, ,
2-3.

_____________________________________________________________________________________________________________
Mach3Mill Install Config
14

Mariobad Inguz 2009

2-3 Mill

, (, MyMill)
OK. , .
, Next ().

2.1.2.3 Windows Vista


Vista ,
. ( , USB Ethernet,
). , , Mach3, .
www.machsupport.com ,
Windows Vista. Zip-,
memoryoverride.reg . memoryoverride.reg
, Mach3.
C:\Mach3 ( , Mach3).
drivertest.exe Run as Administrator.
. , . , .
Mach3. drivertest.exe .
: DriverTest. ,
, Vista ,
(). , .

2.1.3
Windows , Mach3.
. , ,
, Windows, .
, .
, , .
2.2.
Mach3 ,
: , Windows
, (GUI) OCX,
GUI.
. Mach3
. Windows
, . Mach3
;

_____________________________________________________________________________________________________________
Mach3Mill Install Config
15

Mariobad Inguz 2009

Windows ( ). ,
( - 100,000 )
. Windows (
), .
. , , Windows ,
, .
.
, , ,
. ,
, .. Windows XP
, , .

2.2
, ! ( , 2.1.3.)
ArtSoft USA . Mach3 . Windows
;
. , QuickTimes system monitor (qtask.exe),
, . , ,
, . Windows
, , .
,
. 10
Mbps 100 Mbps. , , ,
,
. Mach3 .
, Spybot, www.safer-networking.org,
.
( , ), ,
- , ,
.

2.2.1

USB Ethernet
, .
Mach3,
. Windows ( (Start),
, Mach3, DriverTest.exe
DrriveTest.exe.
. DriverTest.exe .
DriverTest DriverTest.exe ,
Mach3. DrriveTest.exe,
, . DriverTest 2-4.
, (Pulses Per Second).

Kernel pulse frequency (25,000Hz, 35,000 Hz ..),
. , , ,
_____________________________________________________________________________________________________________
Mach3Mill Install Config
16

Mariobad Inguz 2009

. Mach3
, - .
Windows, -
Windows ,
.

2-4:

DriverTest (Pulse
Raiting) Timer Variations. 2-4 (Excellent).
, (good),
(fair) (poor). , 2-4,
Timer Variations, ,
. , DriverTest
2.4, Mach3.
, 2.4, .

_____________________________________________________________________________________________________________
Mach3Mill Install Config
17

Mariobad Inguz 2009

2.3 Mach3
( .XML, ,
Mach3) , Mach3
: , , ,
. .
Mach3Mill, Mach3Turn, Plazma Mach3
Loader. Mach3Mill, Mach3Turn Plazma , Mach3
.
"/" "" . ( ,
Mach3Mill. , , ,
. . 2-7.)

, ArtSoft USA
, . :
(Mach3Mill.XML, Mach3Turn.XML Plasma.XML)
.
, - .
,
Mach3. Mach3, (Mach3Mill.XML ..),
, ,
Mach3. , ,
Mach3Mill.XML, Mach3
!
Mach3 Loader - . ,
.
.

2.3.1
Mach3Loader . , 2-5.

2-5:

_____________________________________________________________________________________________________________
Mach3Mill Install Config
18

Mariobad Inguz 2009

(Create Profile). , 2-6.

2-6:

, ,
(, Mach3Mill). ,
(New Profile Name).
(Default Profile Values). ( (Default Profile Values)
.)
OK.
Mach3 , Mach3Loader,
OK.
, 2-7.

2-7: MyMill

_____________________________________________________________________________________________________________
Mach3Mill Install Config
19

Mariobad Inguz 2009

2.4
, :
1. Driver not found or installed, contact Art." "
. ." - - Windows.
Windows XP,
. - Windows. , ,
Win2000. , -
. (. 2.4.2).
2. 321.. ,
. ,
, . ,
2.1.3 , Mach3.
, ArtSoft USA e-mail, www.machsupport.com,
.
APIC, BIOS .
Mach3. DOS "specialdriver.bat",
Mach3, DOS. Windows
.
i8529. ,
Mach3,
.
Windows .
.
, .
17" .
, ,
, , G0/G1
.

2.4.1 DriverTest Mach3


Mach3
-
Mach3 DriverTest.
, Mach3 Windows
. Mach3 , DriverTest
.
, Mach3 ,
. .

2.4.2
,
OCXDriverTest .
(Mach3.sys)
Windows. Windows 2000 Windows XP,
.

_____________________________________________________________________________________________________________
Mach3Mill Install Config
20

Mariobad Inguz 2009

1. .
2. XP,
. Windows ( ).
3. , .
4. .
.
5. , .
6. Mach1/2 pulsing engine. .
7. Mach3 (C:\Mach3
). Windows Mach3.inf. .
Windows .
.
1.
2. ,
3. .
Mach3 Driver . Mach3.sys
Windows. .
, . Windows
Mach3 .
Mach3, , , . ,
, .XML
.XML.

_____________________________________________________________________________________________________________
Mach3Mill Install Config
21

Mariobad Inguz 2009

3 Mach3.

Mach3. ,
, Mach3 . ""
, .
, , .
Mach3 , .
, () Mach3
, . ,

.

3.1
, 2-2 2-3, Mach3
.
.
Mach3Loader , ,
OK. ( , 2.3, ?
, .)

, , 3-1. (
, .) , ,
, OK.

3-1:

_____________________________________________________________________________________________________________
Mach3Mill Install Config
22

Mariobad Inguz 2009

(Mill) (Program Run).


, , ,
(MDI, Tool Path, Offsets, Settings Diagnostics), 3-2. ,
, .

3-2:

(Reset). /
( ) .
, , . Mach3
!
, , -
() Mach3
(EStop ).
Offline, .. .
, Mach3
.

3.1.1
, (Program Run) :
(, (Reset), (Stop) Alt-S ..)
. , , .
, , . ,
, X, Y, Z, A, B C, ,
.
( ) LED
G- ( )
( )
, (Program Run):
(MDI) ( )
, Mach3.
Mach3 .
, .
G-
Mach3 . , , (, G, , ).

_____________________________________________________________________________________________________________
Mach3Mill Install Config
23

Mariobad Inguz 2009

3.1.2
Mach3 .. .
. ,
, Alt -2.
, . ,
, ,
100%- . ,
Control Alt. , ..
( ), Shift,
( Mach3).
.
Mach3
(, Ultimarc IPAC).
Mach3 ,
.
, .
- , .
5 , .

3.1.3
, ,
( ) ,
, .
, , 45.6 (Program Run).
. Enter
Esc . Backspace Delete
.
: . ,
, , , Mach3.
. ,
, Using Mach3Mill. !

3.2 ( )
,
. ,
, ..
. , ,
. ,
, , , .
.
Tab . 3-3
.

_____________________________________________________________________________________________________________
Mach3Mill Install Config
24

Mariobad Inguz 2009

3-3:

. ,
,
X Y, Pg Up/Pg
Dn Z.
.

, /
("Jog ON/OFF").
3-3 ,
(Step).
(Jog Mode)
(Continuous)
, ( Step) (MPG) .

,
.

(Slow Jog Percentage).
0.1% 100%,
. (Up Dn)

5%.
Shift, 100%
,
.
.
(Step),

(Step).
.
(Cicle Jog Step),

,
, .

.

( )
Mach3
(MPG). ,

(MPG). , "Alt A",
,
,
.
,
USB. Mach3 Windows- (
!).
Windows. (Joystick),
.

_____________________________________________________________________________________________________________
Mach3Mill Install Config
25

Mariobad Inguz 2009

( ),
(. 5).
. ,
( , Axes on Human Interface Devices)
, ,
KeyGrabber, Mach.
, . ,
( ), ?
,
.

3.3 ()
, ( ).
. ,
Enter.
, Enter. Esc.
Backspace () .
- G-, . :
G0 X1.6 Y2.3

3-4:

X = 1.6 Y = 2.3 ( 0
G !).
.
( G0 ).
, , Mach3,
, ,
. , ,
.
( G-, ) ,
, Using Mach3Mill,
. , , , F2.5
, F2.5 .
, ,
.

_____________________________________________________________________________________________________________
Mach3Mill Install Config
26

Mariobad Inguz 2009

3.3.1
Mach3 , ,
. , G.
(Start Teach). ,
, . . Mach3
Teach file.

3-5

:
g21
f100
g1 x10 y0
g1 x10 y5
x0
y0

0 - . , (Stop Teach).
/ (Load/Edit) . ,
, G-. ( 3-6). (Cycle
Start), Mach3 .

_____________________________________________________________________________________________________________
Mach3Mill Install Config
27

Mariobad Inguz 2009

3-6: ,

, -
.

_____________________________________________________________________________________________________________
Mach3Mill Install Config
28

Mariobad Inguz 2009

_______________________________________________________________________________________
. 5
Mach3.
Mach3,
(, ).
.
, , Mach3
, , .
, , ,
- , .
, , 4.5, ,
, . 1.4
Mach3, .

4.1
Mach3 ,
() .
.
IBM ( 160 ,
64 RAM!), ,
25- . ,
.
, ,
. , ,
ZIP-, , , .
USB ,
Mach3.
- D , 25 .
, 4.1.
. , , 15- ()
- .

4-1 - ( )

_____________________________________________________________________________________________________________
Mach3Mill Install Config
29

Mariobad Inguz 2009

: , USB 25- ,
Mach3 . , .

4.2
, ,
- . ,
.
Mach3 (..
). .
0 (
18 25 )
( 74) TTL (
-). TTL 0 0.8 lo
(), 2.4 5 hi ().
-, 5 TTL .
TTL, , "lo" "hi". ,
1.6 .
, "lo" ,
. , , "lo"
.
- ,
. hi, . lo,
. ,
, 0.8
lo. , hi
2.4 . , , lo hi
1.6 , . , 20
lo, hi.
, lo. ,
active lo. , ,
, 5 .
.
,
( 40 ) hi , ( 0.4
) lo.

, , ,
lo hi. , , ,
. , 2 9
( ). 1 ,
, .
breakout board ( )
.

4.2.1
, !

_____________________________________________________________________________________________________________
Mach3Mill Install Config
30

Mariobad Inguz 2009

4-2: Breakout Board

, 18 25 0
. .
, , ,
, ,
(),
. .
, , , Mach3
, , 30 240
. , ,

CD-ROM .
ArtSoft USA ,
"isolating breakout board" .
-, 0 () ,
. .
. breakout board,
,
. ,
, , , , . 4-2
breakout boards.
_____________________________________________________________________________________________________________
Mach3Mill Install Config
31

Mariobad Inguz 2009

4.3 (Estop)
(EStop);
, .
, ,
.
.
,
, ;
, .
, . Mach3 ,
, . ,
, ,
, ,
.
,
"" (Reset). ,
, .
, , ,
, .

4.4
4.4.1


(. . )
(
-), , , .
,
, .
:

4-

1000 ,
, , 3000 (21 Nm).
.

( ).

,
.
. ,

_____________________________________________________________________________________________________________
Mach3Mill Install Config
32

Mariobad Inguz 2009

,
. ,
6 , , ,
.
, :
( . )

( )
4000 ,
( !)
,
( )
:
-, .
, Mach3.
Mach3, -
( ) .
-, / ,
. 5- ,
,
, .
, , .
,
, .
, .

4-3:

4.4.2
, , ,
( , ..).
, , . ,
, , .

_____________________________________________________________________________________________________________
Mach3Mill Install Config
33

Mariobad Inguz 2009

(, )
( ).

4.4.2.1 1
.
.
.
, , ( Y),
12 . ,
0.1 . , 0.0001
. 0.1 0.1 ,
0.0001 1/1000 . 1/1000 ,
.

, .
200 ,
- .
,
10 . 200- 10
1/2000 , . , -
0.0001 . , ,
. ,
. , ,
.
. ,
.
, .
. ,
, 500 .
0.1 , 500 50
, 15 12 .
, .
16,667 (500 ./. *
200 * 10 / 60 ) .
1 , Mach3 35,000
6 . , .
,
. ,
, , , - ,
( 12) , ,
( ).
( -) ( ) x 12. ,
, , ,
.
,
.
.
,
2:1 (, , ),
. (,
_____________________________________________________________________________________________________________
Mach3Mill Install Config
34

Mariobad Inguz 2009

, ).

. ,
, . ,
. 300
300 (CPR). .
1200 (QCPR) .
0.1 0.000083
, , 0.0001 .

.
/ (..
36/17 ). .
4000 ,
. 5:1 .
0.000083 / 5
0.0000167 , , (0.0001).
? 35,000
, 5,83 [35000/(1200*5)] . ,
5 9 .
, , Mach3,
. 1750 .
, .
, ,
.
, .
, ,
. , ,
.

4.4.2.2 2
, , 60
. - -
, , , .
.
0.0005 . 20-
5 . ( )
2000 , 5:1
( ) [0.0005" = 5"/(2000 x 5)] 5:1
1 .
, 500 , 500
8.33 . 60 ,
, 7.2 [60 /8.33=7.2].
, ,
, , , ,
, , .
. ArtSoft USA Mach1/Mach2CNC
Yahoo!, General Discussion www.machsupport.com ,

_____________________________________________________________________________________________________________
Mach3Mill Install Config
35

Mariobad Inguz 2009

, .

4.4.3 (Step Dir)


Mach3 ( 1) Step
. Dir .

4-4: (Active Lo)

4.4.
, .
Active L Step Dir. Mach3
, Active Lo. , Step
, ,
- , . -
, .
4-5.

4-5: (Active Hi)

4.5 (Limit)
(Home switches)
(Limit) ,
.
, ,
. 4-6
.

_____________________________________________________________________________________________________________
Mach3Mill Install Config
36

Mariobad Inguz 2009

4-6:

,
. ,
, .

(Home). Mach3
( ) . ,
, . ,
( ) .
, .
.
,
, ,
. , 4-6, .
,
.
, (.. 2 Limit
1 Home). 9
. ,
5 ! :
1. ( )
, , .
Mach3.
2. , , Mach3
. , Mach3
,
X ( ), .
, .
, , .
3. .
, ,
, .
_____________________________________________________________________________________________________________
Mach3Mill Install Config
37

Mariobad Inguz 2009

,
, .
, ,
.
.
Mach3 3- (
, . ). (
) ,
.
.
! ,
. 4.5.3 Mach3
.
, ,
, .
Mach3 Customisation Wiki. www.machsupport.com
: .
. ,
, ,
, .

4.5.1
, .
, ,
1 (.. ).
. - .. ,
, 4-7, Active Hi,
. , 4-7.

4-7:

.
,
470R, 10 .
, ,
0 ( ),
, ,
.
, ,
LED , - (
_____________________________________________________________________________________________________________
Mach3Mill Install Config
38

Mariobad Inguz 2009

, Active Lo ).
, ,
,
(). 4-8 .
ArtSoft USA (
) , ,
.

4-8:

4-9: ,

, , .
. ,
4-8, , .
,
, ( 4-11). , ,
.
, ,
4-11.

_____________________________________________________________________________________________________________
Mach3Mill Install Config
39

Mariobad Inguz 2009

4-10: X=0, Y=0 (


)

4.5.2
,
,
.
, 4-6 4-8 , ,
, .
,
(, X Y
, Z ,
).
. , ,
, ( )
.
, ArtSoft USA
Yahoo! group, , , , .
www.machsupport.com

_____________________________________________________________________________________________________________
Mach3Mill Install Config
40

Mariobad Inguz 2009

4-11: ,

4.5.3 Mach3
, Mach3
, Estop.
Mach3 5,
.
( ). Mach3
. (
) .
, Mach3 ,
, ( EStop) ,
. :
(Auto limit override) ( (Settings)).
(Reset) .
.
(Override limits).
, . (Reset) ,
. , .
.
, Mach3 ,
, ,
. .

4.5.4
( G-) ( ),
, ( )
, .
, .
.
, ,
> (Config>State),
. ,
.
( X Y), -
-0.5. , . -
, , ,
. (Software Limits),
.
_____________________________________________________________________________________________________________
Mach3Mill Install Config
41

Mariobad Inguz 2009

, ,
( ) ,
. ,
. (
Mach3 , )
, , .
, .
, Mach3 ,
.

4.5.5
4.5.5.1
.
. Z
8 , .
,
16 . ,
.
Z ( ,
4 ) Mach3
, Z .

4.5.5.2
X Y
.

4.5.5.3
Mach3 , ,
.
,
. .

4.5.5.4
Mach3,
, .
, (REF
All) . ,
.

4.5.5.5
() ,
, .
, Y,
(.. ) , Y
_____________________________________________________________________________________________________________
Mach3Mill Install Config
42

Mariobad Inguz 2009

Mach3 5. .
Y Mach3 .
, ,
. ,
.
(, ), -
.

4.5.6
4-12 ,
CNC . , .
: , ()
, breakout bofrd, .
. , ,
, .
breakout bord, , . ,
, .

4-12:

_____________________________________________________________________________________________________________
Mach3Mill Install Config
43

Mariobad Inguz 2009

4.6
Mach3 , ,
, .
1. / ( )
.

2. Step Dir (.. ).


3. - ().

4.6.1 /
M3 .
M4 . M5
. M3 M4
, .
( ) .
, .
, M3 M4
, 4 , .
, . .
,
, .
, G- 4,
3 ( ).
,

.
,
.
4.7
.

4.6.2
(
),
. Mach3
, .
5.

_____________________________________________________________________________________________________________
Mach3Mill Install Config
44

Mariobad Inguz 2009

4.6.3
, Mach3 ,
- , . ,
, ( 0%
0 , 50% 5 100% 10 )
. ,
.

4-13: 50%

4-13: 20%

4-13 4-14 50% 20% .


,
, . ,
.
, ()
() ,
.
- (spindle Step pin).

/ .
, .
, "PWM converter" "PWM Digispeed" Google ,
, .
: ,
,
, ..
, ArtSoft USA
breakout board,
. ,

_____________________________________________________________________________________________________________
Mach3Mill Install Config
45

Mariobad Inguz 2009

PWM
.

4.7

. / 7,
8 9.

4.8
, ,
, , ( )
G1 X Y.
.

4.9
Mach3 (),
. , ,
,
(.. ) .
(
), ,
Z (.. ). ,
(
, ),
(X, Y Z) .
, .
, ,
.
.

4.10 ()

Mach3 ,
. , . 415 . Mach3 ,
4-17. .
( ) ,
( 10 ), .
, 4-16.
20 .

_____________________________________________________________________________________________________________
Mach3Mill Install Config
46

Mariobad Inguz 2009

4-15:

4-16:

, 5 ,
, ( ).
, 5 , 5
. , .
lo hi, hi ( ), , ,
hi lo, hi ( ), , .

4-17:

Mach3 . (
Heidanhain) .
5 . ,
/. TTL
, , ,
.. (Schmitt trigger chip).
( 5 ) ..

_____________________________________________________________________________________________________________
Mach3Mill Install Config
47

Mariobad Inguz 2009

:
, ,

.
.
, 0 ()
0 breakout board.
!
,
, , ..

4.11
Mach3 , .
,

(G87). , .

4.12
Mach3 12,5
. , Mach3 ,
Estop , - .
( ), ,
Mach3, ..
breakout boards.

4.13
Mach3 15 ,
.
.
, ,
.
#1 .
.
Input Emulation Mach3 Customisation wiki.
5.
. ,
.
- ,
, , /
. ,
, ,
. ModBus
/.
_____________________________________________________________________________________________________________
Mach3Mill Install Config
48

Mariobad Inguz 2009

4.14 Estop

_____________________________________________________________________________________________________________
Mach3Mill Install Config
49

Mariobad Inguz 2009

:
.
,
Mach3.
.
().
Interface Reset Reset Mach3 ,
. Interface Reset
.
A (RLA) (NO) .
150 , 33 . Omron
G6H-2100-5 , 1 , 30
..
B (RLB) (NC) NO.
, .
(Common) , , 0- ,
, .
Omron MY4 , 5 ,
220 .
LED , .
Interface OK 1.8 , 24-
.
, Control
positive () common () .
( , C1, C2, C3)
.
,
.
,
( ,
). ,
/,
.
, - , 220/440 3- .
, ,
-, .
, .

_____________________________________________________________________________________________________________
Mach3Mill Install Config
50

Mariobad Inguz 2009

5 Mach3

Mach3,
(, ). , ,
Mach3 , .
ArtSoft USA Mach3.
, .
Mach3 .XML \Mach3
. ( Mach3Mill, Mach3Turn
Mach3Plasma). ,
2.3 Mach3, .XML (,
MyMill.xml, ) \Mach3 ,
. .xml , ArtSoft USA
. Mach3 .

5.1
, ,
. ,

. Mach3 ,
3.
, , , ,
(Config). , , >
(Config>Ports and Pins), , (Ports and
Pins) (Config).

5.2
, > (Config>Ports
and Pins). 5-1 , (Config).
, 5-2.

_____________________________________________________________________________________________________________
Mach3Mill Install Config
51

Mariobad Inguz 2009

5-1:

5.2.1 ()
(Port Setup and Axis Selection)
(Ports and Pins), 5-2.

5-2:


, 1, , 0x378 (..
378).
PCI ,
_____________________________________________________________________________________________________________
Mach3Mill Install Config
52

Mariobad Inguz 2009

. .
Windows .
. .
(Com LPT).
LPT ECP . .
. I/O .
.
: PCI PCI
, , .
,
.
, .

(Port Setup and Axis Selection). 0x
, Mach3 . ,
(Enabled) 2 .
(Apply), . .
Mach3 ,
(Ports and Pins), (Apply).

5.2.2 (Kernel speed)


Mach3 25,000 Hz ( ) 100,000 Hz,
, , , -, Mach3.
,
. 25,000 Hz, ,
. 10- Gecko 201, 750 /
1.8 25,000 Hz.
,
. ,
4.4.2. .
1 GHz, , 35,000 Hz,
, ( ).
25,000 Hz. ,
,
25,000 Hz.
(Diagnostics).
(Apply) .

5.2.3
(Port Setup and Axis Selection)
. ,
. ,
.
(Apply) .
_____________________________________________________________________________________________________________
Mach3Mill Install Config
53

Mariobad Inguz 2009

5.3 ,

, , ,
,
. breakout board,
Mach3, .
(.XML), .

5.3.1 ,

(Motors Outputs)
(Ports and Pins). 5-3.

5-3:

, X, Y Z
(Enabled), .
, , ,
.
Step Pin#, Dir Pin#, Step Port Dir Port,
, .
(, Gecko 201 stepper driver)
active-lo, , (Steps
Dir).
,
.

_____________________________________________________________________________________________________________
Mach3Mill Install Config
54

Mariobad Inguz 2009

,
. (Apply), ,
.
Mach3,
(Enabled) .
(Steps pin/port), (PWM)
. (Steps Direction)
, . - active-lo,
. , (Apply),
, .

5.3.2 ,
(Input Signals). 5-4.

5-4:

. 5-1
.

_____________________________________________________________________________________________________________
Mach3Mill Install Config
55

Mariobad Inguz 2009

5-1:

X ++

..X+

OEM Trig #1

X --

..X-

OEM Trig #2

X (X Home)

. X

OEM Trig #3

Y ++

..Y+

OEM Trig #4

Y --

..Y-

OEM Trig #5

Y (Y Home)

. Y

OEM Trig #6

Z ++

..Z+

OEM Trig #7

Z --

..Z-

OEM Trig #8

Z (Z Home)

. Z

OEM Trig #9

A ++

..A+

OEM Trig #10

A --

..A-

OEM Trig #11

A (A Home)

. A

OEM Trig #12

B ++

..B+

OEM Trig #13

B --

..B-

OEM Trig #14

B (B Home)

. B

OEM Trig #15

C ++

..C+

Timing

. >1

C --

..C-

Jog X ++

+ . X

C (C Home)

. C

Jog X --

- . X

1 (Input #1)

. , /

Jog Y ++

+ . Y

2 (Input #2)

Jog Y --

- . Y

3 (Input #3)

Jog Z ++

+ . Z

4 (Input #4)

, ..

Jog Z --

- . Z

(Probe)

Jog A ++

+ . A

(Index)

Jog A ++

- . A

.
(Limit Ovrd)


( )

EStop

(THC On)

(THC Up)

(TNC Down)
, ,
4.5 .
4.5
EStop ,
(X++, X-- ..).
4.5, , ,
X, Y Z. (Home) /
(Port/Pin) .
_____________________________________________________________________________________________________________
Mach3Mill Install Config
56

Mariobad Inguz 2009

, . --, ..++ (Limit --, Limit ++)


(Home) (Home), . --, ..++
(Limit --, Limit ++).
A, B C, .
1( Input #1) , ,
. ( 1,
)
. 4 (Input #4) ,
(Single Step).
.
. (Index Pulse),
.
(Limits Override),
Mach3 , ,
. ,
.
(Estop), ,
.
OEM (OEM Trigger), ,
OEM ,
.
(Timing),
.
(Probe) , .(THCOn), .(THCUp)
.(THCDown) .
, 5 ,
10 ( 2 9 , , 13).
, , ,
.
, ,
.

. , , . 5.3.3.
(Apply), .

5.3.3
(Emulated) , /
(Port/Pin) Active Low ,
(Hotkey) .
(key down) , (Hotkey) ,
. (key
up), .
(key up key down) (
Ultimarc IPAC Hagstrom), , .

,
_____________________________________________________________________________________________________________
Mach3Mill Install Config
57

Mariobad Inguz 2009

(key up key down) Windows.


(Index) (Timing)
(EStop).

5.3.4
(Output signals) .
5-6.

5-5:

. 5-2
.

_____________________________________________________________________________________________________________
Mach3Mill Install Config
58

Mariobad Inguz 2009

5-1:

Digit Trig

Current Hi/Lo

Enable 1

Output #7

Enable 2

Output #8

Enable 3

Output #9

Enable 4

Output #10

Enable 5

Output #11

Enable 6

Output #12

Output #1

Output #13

Output #2

Output #14

Output #3

Output #15

Output #4

Output #16

Output #5

Output #17

Output #6

Output #18

Charge Pump

Output #19

Charge Pump 2

Output #20

, , Enable (
). (Charge pump/pulse
monitor) , .
Output# / (
, , ),
.
(Charge Pump) , breakout board
,
Mach3. 2 (Charge Pump2) ,
breakout board
.
(Aplly), .

5.3.5
()
/ (Encoder/MPGs)
(MPG), .
5-6.

_____________________________________________________________________________________________________________
Mach3Mill Install Config
59

Mariobad Inguz 2009

5-6: /

active-lo.
, , A B.

5.3.5.1
/ (Count/Unit)
. , , 20 ,
5 ( ), 200
(). , 200 25,4 = 5080
(). (Velocity) .

5.3.5.2
/ (Count/Unit)
, Mach3 . 100
/ 2.
, . ,
1024 / 100.
(Velocity) , ,
. (Velocity)
. , , .

5.3.6
> (Config>Port&Pins)
(Spindle Setup). ,

_____________________________________________________________________________________________________________
Mach3Mill Install Config
60

Mariobad Inguz 2009

. ,
Mach3:
-
(PWM) . 5-7.
5.5.5 .

5-7:

5.3.6.1
M7 (Flood coolant) , M8
(Mist coolant) M9 .
(Flood Mist) , ,
, .
(Output Signals).
, . /.
(Disable Flood/Mist Relays).

5.3.6.2
, Mach3
( M3, M4
M5), , .
(Output Signals).
(Step Direction),
. M3, M4 M5 ,
.
, . (Disable
Spindle Relays).

_____________________________________________________________________________________________________________
Mach3Mill Install Config
61

Mariobad Inguz 2009

5.3.6.3
. . (Use Motor Control),
(PWM) (Step Direction)
. , (PWM Control)
/. (Step/Dir Motor). ,
.
(PWM)
,
, .
, 3000 /,
4-14 3000 0.2 = 600 /.
4-13 1500 /.
Mach3 ,
, . 5 , Mach3,
25000 , 5000 . 10
2500 , -
.
, , ,
, . 5 10
. . (PWMBase Freq).
. ,

( ). . %
(Minimum PWM%) , Mach3
.
,
Mach3 ( 5.5.5.1)
. , ,
. % , .. /
, .

,
.
Mach3 (. 5.5.5.1)
, .

5.3.6.4 Modbus
Modbus (, Homann
ModIO) .
ModBus.

5.3.6.5

Mach3 - ( .. (Dwell)). ,
_____________________________________________________________________________________________________________
Mach3Mill Install Config
62

Mariobad Inguz 2009



. .
. (Immediate Relay off before delay), ,

M5. , ,
.

5.3.6.6
Mach3 .
, S. Mach3
15 .
, 5.5.5.1.

5.3.6.7
(Laser mode) - ,
.
. . . (Use Spindle feedback in sync mode)
.
.. (Closed Loop Spindle Control), ,
,
(Index) (Timing) S. , ,
, , .
, P, I D 0 1.
P ,
, . D
, , ( )
. I
, .
,
> (Operator>Calibrate spindle).
(Spindle Speed Averaging), , Mach3
/ ,
.
,
.

5.3.7
> (Config>Port & Pins)
(Mill Options). 5-8.

_____________________________________________________________________________________________________________
Mach3Mill Install Config
63

Mariobad Inguz 2009

5-8:

Z (Z - Inhibit). Z- (Z-inhibit)
. . (Max Depth) Z,
. (Persistant), , Mach3
, ,
.
(Digitizing). 4- (4 Axis Point Clouds)
A , X, Y Z.
(Add Axis Letters to Coordinates)
point cloud.
(THC Options). .
G41, G42 (Compensation G41, G42). (Advanced
Compensation Analisis) ,
( G41 G42)
.
. (Homed true when no Home switches).
, (Referenced) (..
LED) . ,
(Port & Pins) .

5.3.8
,
. (, , )
, .
Mach3Mill (Diagnostics). LED,
. ,

_____________________________________________________________________________________________________________
Mach3Mill Install Config
64

Mariobad Inguz 2009

(Emergency Stop) ( .. (Emergency) ),


(Reset) . .
(Relay Activation)
,
, . ,
, .
. ,
, .
,
.
, ,
,
. (Apply), .
, .
, , ,
. ,
- D25 ( LED),
. , , (a)
(.. Mach3 , ) (b)
D25 (..
breakout board ). 15 ,
.

5.4
, .
, , ,
( ) ?
> (Config>Select Native Units). 5-9.

5-9:

,
(, - ). 0.2" (5 )
, . , 2-
.
25.4. () ,
.
, ,
. ,
.
_____________________________________________________________________________________________________________
Mach3Mill Install Config
65

Mariobad Inguz 2009

G20 and G21.


, . >
(Config>Setup Units) (. 5-10). ,
, ,
. >
(Config>Setup units), .

5.5
, .
,
Mach3, .
:
1. ,
( ). ,
5.4.
2. .
3. / .
ArtSoft USA . ,
, .
.
( breakout board).
, !

5.5.1 (steps per unit)


Mach3
(Steps per units), 5.5.2.3
, , , .
, .
Mach3 . , Mach3 ,
( , 5.4),
:
1. (.. - ,
).
2. .
3. .
, .

_____________________________________________________________________________________________________________
Mach3Mill Install Config
66

Mariobad Inguz 2009

5-10:

5.5.1.1
(/ )
. , , , 1 , ,
1 . .
( A )
( ) .
(). -
P = 1 /
, : 8 - 1 / 8 = 0.125".
16
P = 1 / 16 = 0.0625''
, . , ,
2 .
, .
,
. , 16 :
0.0625'' x 2 = 0.125''
:
= 1 /
, 8 :
_____________________________________________________________________________________________________________
Mach3Mill Install Config
67

Mariobad Inguz 2009

= 1 / 0.125 = 8 /
2 :
= 1 / 2 = 0.5 /
( 1:1), -
. , - ,
, Nm ()
Ns () :
= x Ns / Nm
, , 8 48-
( B ) 16- (.C ) .
:
8 x 48 /16 = 24 1 .
(: ,
- ).
. ,
5 ( , 10 )
, 24 . 48 .
, = 0.1
0.1 x 48 /24 = 0.2
, .
. ,
, 5 8 0.375" (3/8")
. . ,
50 100 . ,
,
, ( = 3.14152)
dp , tp : tp =
/dp.
/ / , //
Ns :
= 1 /( x Ns)
, 3/8" 13-
= 1 /(0.375 x 13) = 0.2051282. , ,
,
, .
.
= x Ns / Nm
, 10:1 2.051282 .
(, ) - .
,

. 90:1 40:1
( !). 90:1,
4 , 0.25.

_____________________________________________________________________________________________________________
Mach3Mill Install Config
68

Mariobad Inguz 2009

2:1 0.5 .

5.5.1.2
200 (.. 1.8 .
). , 180 , , ,
, , , .
, , .
, .
() CPR ( - cycles per revolution).
,
. , CPR 125 2000, , 500
8000 .

5.5.1.3 Mach3
ArtSoft USA
. -,
, , ,
.
.
( 10),
, - . ,
10, . , Mach3
2000 (,
200 /).
,
1200 300 CPR . ,
, , ,
. Mach3,

, Mach3.

5.5.1.4 (steps per unit) Mach3


, ,
:
Mach3 = Mach3 x
(Mach3 steps per unit = Mach3 steps per rev x Motor revs per unit)
5-11 > (Config>Motor
Tuning). ,
Mach3 / (Step
per). ,
. , ,
. .
, .
. .
! (Save Axis Tuning) , .
_____________________________________________________________________________________________________________
Mach3Mill Install Config
69

Mariobad Inguz 2009

5-11:

5.5.2
. >
(Config>Motor Tuning) ,
.
, - .
(Velocity) (Accel) .
. (Acceleration),
/ ( ).
, . -
. - .
G ( ), ,
.

Mach3. , 25,000 2000 ,
(Velocity) 750 .
,
: Mach3 .
.

5.5.2.1
/ (Steps per unit). ,
, . ,
.
> (Config>Motor Tuning)
_____________________________________________________________________________________________________________
Mach3Mill Install Config
70

Mariobad Inguz 2009

. (Velocity),
20% . .
. , ,
. , .
( ).
, .
( Save), , :
1. Low Active Dir >
> ( (Apply).
2. (Reversed) >
/ (Config>Home/Softlimits).
3. ,
.
, , (),
. .
4 5 . ,
. ( )
. .
,
( ) (
). , ,

!
.
1 .
(, ) ,
(Low active Step ),
, , , , 5 .
, ,

.

5.5.2.2
5.5.2.1 , ,
, ,
.
, :
1. ( 4000
1000 ).
2. - ( , ,
)
3.
4. ,

5. ,

_____________________________________________________________________________________________________________
Mach3Mill Install Config
71

Mariobad Inguz 2009

.
,
.
(Velocity) > (Config>Motor Tuning).
- Mach1/Mach3 Yahoo!
. www.machsupport.com

5.5.2.3 / (Steps per unit)


5.5.1 ,
/, , ,
.
, , ,
Mach3 . ,
- , -
, .
Alt6 (Setting Alt6), 5-12,
Mach3.

5-12

5-13 ,
. , .
OK.

5-13 /

_____________________________________________________________________________________________________________
Mach3Mill Install Config
72

Mariobad Inguz 2009

, 5-14,
. Mach3 ,
.
Estop, .

5-14:

, , ,
5-15.
(Step per Unit) . 5.5.4 ,
.

5-15:

5.5.3
5.5.3.1
.
( )
, ( ..) ,
.
, ().
Mach3 ( ) (
). , (),
, .
, ( ),
. ,
, , , , , ,
. .

_____________________________________________________________________________________________________________
Mach3Mill Install Config
73

Mariobad Inguz 2009

5.5.3.2

. ( )
, .

5.5.3.3
, (),
. , X=0, Y=0 X=2,
Y=1 Mach3 , Y.
, ,
, ,
.
, Mach3 ,
,
(.. ), .

5.5.3.4
, ,
,
.
.
, ArtSoft USA
, . ,
-, . ,
.

5.5.4
, ! (Save Axis Setting)
, .
, ,
G0. .
() . -
, .
, 4- .
(MDI) ( 5-16)

5-16:

_____________________________________________________________________________________________________________
Mach3Mill Install Config
74

Mariobad Inguz 2009

(Input) ( 5-17) (G20 G90)


.

5-17: G20 G90

, .
, .
. 5-18.

5-18:

Mach3 X (Zero X),


.
X = 4.5, G0 X4.5 (Input).
4.5 . , -
. .
(, 4-
) = 4.0 G0 X4.
, ,
. .
. 5-19 .

_____________________________________________________________________________________________________________
Mach3Mill Install Config
75

Mariobad Inguz 2009

5-19:

G0 X0, .
4- , 20
, .
, - .
,
, 5.5.2.3.
, .
. , , G0 X0
.
(Start Teach). (Insert)
:

F1000 ( , , Mach3 )
G20 G90 ( )
98 1234 L50 ( 50 )
30 ()
1234
G1 X4
G1 X0 ( )
99 ( )
, .
, (Stop Teach).
/ (Load/Edit). (Program Run).
(Cycle Start) . , .
, , 0. - ,
(!) .
, ,
. , G- (Edit
Gcode) (Program Run).

5.5.4.1
,
.

_____________________________________________________________________________________________________________
Mach3Mill Install Config
76

Mariobad Inguz 2009

5.5.5
,
.
Mach3, .
Mach3 ,
, (PWM) ,
, .

5.5.5.1 ,
(PWM) .
( S ) . ,
.
, / Mach3.
"" ( ).
5-20 .

5-20:

Mach3 ,
, . -
. ( , ), 4
.
. , , ,
( 1 15) .
>
(Config>Spindle Pulleys). 5-21 .
15 .

5-21: >

_____________________________________________________________________________________________________________
Mach3Mill Install Config
77

Mariobad Inguz 2009

(Max Speed) , ,
. 100%
(PWM) (Vel) "
" (Spindle Axis) . ,
, Mach3 .
,
, . , ,
. , , 20%,
, , 20%
. ( S), Mach3
. , 1600
4 320 (205% 1600), S200
320. ,
.
, 0

Mach3 :
1. S
,
. , .
2. , , ,
,
, (Motor Tuning)
" " (Spindle Axis).
, #1 - 1500 . S1600
. S600 , 40% (600/1500).
3600 ,
3600 (3600 0.4).
(Ratio) ,
, .
, , - ,
,
.
(Reversed), ,
- .
, Bridgeport Series 1 J head.

. J head -
.
, .
1:1.
.
, . ,
8.3
, . ,
,
. Mach3
. Mach3

. (Reversed) Mach3
.
_____________________________________________________________________________________________________________
Mach3Mill Install Config
78

Mariobad Inguz 2009

5-3 ( J
head ).

5-3: J-
Bridgeport

660

1115

1750

2720

80

8.3

135

8.3

210

8.3

325

8.3

5-3,
. (. 0 ,
,
.

5.5.5.2
, .
(Use Spindle Motor Output) ( PWM Control)
> > (Config>Port and Pins>Spindle Setup) (.
5-7).
. (PWMBase Freq). , ,
. , (Spindle Step pin).
,
, .
. . ,
35,000 . = 50 , 700
. ,
3600 , , ,
6 .
(Minimum PWM).
.
( 5-5) (Spindle Step).
.
(Spindle Direction), 0.
External Activation > >
(Config>Ports and Pins>Output Signal), , ,
.
(Apply) .

_____________________________________________________________________________________________________________
Mach3Mill Install Config
79

Mariobad Inguz 2009

5.5.5.3
,
. (Use Spindle Motor Output)
/. > >
(Config>Ports and Pins>Spindle Setup) ( 5-7). . (PWM Control) .
> >
(Config>Ports and Pins>Motor Outputs) ( 5-3)
(Spindle Step Spindle Direction).
. (Apply).
> >
(Config>Ports and Pins>Output Signals) /
, , 5.
, Mach3 , ,
, .
> (Configure>Motor
Tuning) " " (Spindle Axis). .
(2000 10-
4 x
).
(Vel) . ,
3600 60.
Mach3 ( 100 87.5
35,000 ). ,
,
.
,
. (Accel),
, . 30
.

5.5.5.4
, .
, .
(Setting) Mach3 , 900
. .
(Program Run) , 900 ,
. . ,
.
, , .

5.6
5.6.1
></ (Config>Homing/Limits)
(G28.1 ). 5-22
.

_____________________________________________________________________________________________________________
Mach3Mill Install Config
80

Mariobad Inguz 2009

5-22: >/

5.6.1.1
Speed %
. Mach3 ,
, .
Home Neg . ,
Mach3 . Home Neg.
, ,
. , . ,
, , ,
, .

5.6.1.2
(Auto Zero) ,
>/ (Config>Home/Softlimits) Home off (
).
.
, ,
.

5.6.1.3
.
,
. .

X, Y Z. -99999 +99999
. ,
_____________________________________________________________________________________________________________
Mach3Mill Install Config
81

Mariobad Inguz 2009

(Slow Zone), .
,
. ,
. - , .
, (Software
Limits) . .
, ,
.

, (Machine). ,
.

5.6.1.4 G28
G28 (G28 location coordinates)
, G28.
(G20/G21)
.

5.6.2
Mach3 ,
, .
> (Config>System
Hotkeys Setup), 5-23.
, .
. , ,
.
, OEM Triggers.

5-23:

_____________________________________________________________________________________________________________
Mach3Mill Install Config
82

Mariobad Inguz 2009

5-4 , .

5-4:

X ++

39

X --

37

Y ++

38

Y --

40

Z ++

Page Up

33

Z --

Page Down

34

5.6.3
> (Config>Backlash), 5-24,
,
. , ,
.
Mach3 (.. ),
.
,
. :
,
.
- " ",
!
.
Mach3 ,
, ,
.

5-24:

_____________________________________________________________________________________________________________
Mach3Mill Install Config
83

Mariobad Inguz 2009

5.6.4 ()
, ,
, . ,
, ,
.
> (Config>Slaving),
5-25, , Mach3 ,
( ) (, ,
, , ). ,
,
.
, ,
. , -
, . ,
, -
.

5-25:

Mach3 ,
, , ..
. ArtSoft USA
Screen Designer ( ),
.
, , >
(View>Load Screen), Mach3.

5.6.5
> (Config>Toolpath)
().
5-26

_____________________________________________________________________________________________________________
Mach3Mill Install Config
84

Mariobad Inguz 2009

5-26:

(Origin sphere), ,
X=0, Y=0, Z=0.
3d (3D Compass), ,
X, Y Z.
(Machine boundaries), ,
> (Softlimits) (,
).
(Tool Position),
.
(Jog Follow Mode),
. ,
.
(ShowTool as above centerline in Turn)
Mach3Turn ( ).
(Show Lathe Object) 3D- ,
( Mach3Turn).
.
(, , ) 0 1 . :
, , Photoshop, ,
RGB 255 ( 0 255),
Mach3.
,
A (A Rotations Enabled).
(Reset Plane on Regen)

_____________________________________________________________________________________________________________
Mach3Mill Install Config
85

Mariobad Inguz 2009

, () (
).
(Boxed Graphic) .

5.6.6
> (Config>General Config...), 5-27,
, Mach3 (..
). , .

5-27:

5.6.6.1 ,
G20/G21 (G20/G21 Control):
(Lock DROs to set up units), , G20 G21
X, Y Z . ( ),
.
: (Ignore Tool Change)
, M6 . , M6
M6.
. (Stop Spindle, Wait for Cycle Start)
, M6
.
(Auto Tool Changer) ,
M6Start/M6End.
(Angular properties): (..

_____________________________________________________________________________________________________________
Mach3Mill Install Config
86

Mariobad Inguz 2009

G20/G21 A, B, C). A, B C
, , X, Y Z.
M30 (Program end or M30): ,
. . :
G92.1
, , ,
.
M01 (M01 Control): M1 (Stop on M1
Command), M1 .
Serial (Serrial oitput): ,
. VB
(, LCD display, ,
, ..)
(Program safety): , #1
.

5.6.6.2 , 2
(Editor): ,
G-. (,
C:\windows\notepad.exe).
(Startup Modals).
(Initialisation String): G-
Mach3 . ,
, , I, J ( ) ,
. , , .
. "" (Use Init on ALL "Resets"),
Mach3 - EStop.
(Motion mode): G64,
G61.
(Distance mode): G90,
G91. . ,
.
, .
I/J (I/J Mode): I J .

. IJ I J ( )
. NIST EMC. IJ,
I J (..
, G92).
, IJ
(). -
,
.
(Active plane): X-Y G17, Y-Z G19, X-Z
G18.
(Jog Increments in Cycle Mode):
(Cycle Jog Step)
_____________________________________________________________________________________________________________
Mach3Mill Install Config
87

Mariobad Inguz 2009

. , .
(Cont Jog) 999. .
, .

5.6.6.3 , 3
(Shuttle Wheel Setting): (Shuttle Accel)
Mach3 , G. (Shuttle Accel) (Backlash).
(General Configuration): Z 2,5D 6 (Z is 2.5D on output #6),
, #6 Z
. Z > 0.0 6 (Output #6) . Z
,
, , 0, 0.
/ (Home Sw Safety), ,

, .
,
.
(Lookahead) G-,

. .
M (Ignore M calls while loading)
M- . M-
, ..,
, .
M9 (M9 Execute after Block) M9
. M9 .
, , : M9 G01 X##, . M9
, ,
, .
UDP (UDP Pendent Control) OEM
Ethernet.
, .
(Run Macro Pump), ,

Macropump.m1s
200 .
. Estop (Charge pump On in Estop), ,

( ) ,
EStop. breakout boards.
(Persistent Jog Mode) - ,
Mach3Mill.
(FeedOveride Persist) ,
.
Mach3 (No System Menu in Mach3) ,
Mach3 . , ,
,

_____________________________________________________________________________________________________________
Mach3Mill Install Config
88

Mariobad Inguz 2009

. Mach3.
! - .
, . ,
.XML, .
(Use Key Clicks) ,
. ( Mach3 .)
(Home Slave with Master Axis)
,
. .
TLO Z G31 (Include TLO in Z from G31) ,
.
(Lock Rapid Feed
DRO to Feed FRO) , , ,
( 100% ).
: 360 (Rot 360 rollover) ,
360 ( 0 360, 0). ,
(, 720).
G0 (Ang Short Rot on G0) ,
360 .
. , 0 359
, -1 .
(Rotational Soft Limits) ,
.
(Screen Control): (Hi-Res Screens)
, ,
. ,
.
(Boxed DROs and Graphics) ,
G-,
.
(Auto Screen Enlarge), , Mach3
, ,
, .
(Flash Errors and comments) ,
.

5.6.6.4 , 4
(Inputs Signal Debouncing/Noise Reduction):
/ (Debounce interval/Index Debounce):
Mach3, ,
. 35,000 , 100 3-
(100/35000=0.0029 ). - .
( 3): (Disable
Gouge/Concavity checks), , (G41
G42), Mach3 "
" . .
_____________________________________________________________________________________________________________
Mach3Mill Install Config
89

Mariobad Inguz 2009

G04 (G04 Dwell param in Milliseconds), , G4 5000


5 . ,
1 23 20 !
(Use Watchdogs), , , EStop

Mach3 . ,
EStop
, .
(Debug this run), ,
. ArtSoft USA ,
.
(Enhanced Pulsing), ,
( )
. .
(Allow Wave files), ,

Windows.WAV Mach3. ,
.
(Allow Speech), , Mach3 Microsoft Speech
Agent .
Windows , .
. 5 . (Set charge pump to 5kHz for laser
standby level), , 5

( ), 12.5 .
20 (Use OUTPUT 20 us Dwell Trigger) ,
20 , Dwell .
(No FRO on Queue), ,

, , ,
.
, (FRO) 100%.
(Turn Manual Spindle Incr):
OEM 350 351.
(Spindle OV increment):
OEM
163 164.
() (CV Control): (Plasma Mode),
, Mach3 ,
.
. , ArtSoft USA ,
.
(CV Dist Tolerance)
, .
. ,
.
G100 (G100 Addaptive NumbsCV) .
, > ... (Stop CV on angles > n ) -
, ,

_____________________________________________________________________________________________________________
Mach3Mill Install Config
90

Mariobad Inguz 2009

. ,
,
. 90
.
(Axis DRO Properties):
(Tool Selections Persistent), ,
Mach3.
(Optional Offset Save), , ,
, .
(Persistent Offsets), ,
, Mach3Mill. .
.
(Persistent DROs), ,
, Mach3. ,
, , .
G54 G59.253 (Copy G54 from G59.253 on startup) - ,
G54 (.. 1) 253
Mach3. , G54,
( ),
.

5.7
_____________________________________________________________________________________
: ArtSoft USA
( ) . ,
,
, .
, ,
Mach3.
(Mach3Mill Mach3Turn), Mach3
, , .
2.3 Mach3.
_____________________________________________________________________________________
Mach3.exe , .
Mach3 .XML.
Internet Explorer ( .XML -)
,
(Mach3Mill) (Mach3Turn). ,
, .
,
.
Mach3.exe ( Mach3Loader) -
.
"/" "" .
Mach3Mill.
.
_____________________________________________________________________________________________________________
Mach3Mill Install Config
91

Mariobad Inguz 2009

.XML ,
, , ,
- .
, ,
Mach3. Mach3
XML .

, .
, ,
.

5.8
5-5 5-6, ,
.

5-5:
Signal
()

Enabled
Step Pin #
()

Dir Pin #

Dir Low
Active

Step Low
Active

Step Port

Dir Port

X
Y
Z
A
B
C

_____________________________________________________________________________________________________________
Mach3Mill Install Config
92

Mariobad Inguz 2009

5-6:
Signal
()

Enabled
Port # ( Pin # ( Active Lo
() )
)

X ++
X -X Home
Y ++
Y -Y Home
Z ++
Z -Z Home
A +=
A -A Home
B ++
B -B Home
C ++
C -C Home
Input #1
Input #2
Input #3
Input #4
Probe ()
Index ()
Limit Ovrd
( .)
Estop (.)
THC On ()
THC Up
THC Down

_____________________________________________________________________________________________________________
Mach3Mill Install Config
93

Mariobad Inguz 2009


Torch Height Controls Mach3

- LED DRO,
(THC) Mach3.

A-1: ( Torch Height Controls) Mach3

DRO#25

THC Speed ( )

0-100% Z

DRO#27

THC Max Correction

DRO#65

THC Min Correction

DRO#26

THC Current Correction

DRO#177

Pierce Delay

LED#35

THC On/Off indicator

/.

LED#36

THCON signal (torch OK) condition

OK

LED#37

THC UP signal

LED#38

THC DOWN signal

BUTTON#123

THC On/Off control

BUTTON#124

Calibrate THC Sets Z to current location

Z .
( )

BUTTON#379

Turns on THC without THCMODE (realtime Z


correction)


(.Z .)

BUTTON#380

Turns above mode off

:
(ON) . Min/Max
Z.
THC.
THC , THCON (Torch OK
). (Pierce Delay).
(Pierce Delay)
().
Torch AutoOff
.

_____________________________________________________________________________________________________________
Mach3Mill Install Config
94

_____________________________________________________________________________________________________________
Mach3Mill Install Config
95