Mach2Mill_6.11.pdf

(4125 KB) Pobierz
Mach2Mill manual
Auser'sguidetoinstallation,
configurationandoperation
171923845.154.png 171923845.165.png 171923845.176.png 171923845.187.png 171923845.001.png 171923845.012.png 171923845.023.png 171923845.034.png 171923845.045.png 171923845.056.png 171923845.067.png 171923845.078.png 171923845.089.png 171923845.100.png 171923845.111.png 171923845.115.png 171923845.116.png 171923845.117.png 171923845.118.png 171923845.119.png 171923845.120.png 171923845.121.png 171923845.122.png 171923845.123.png 171923845.124.png 171923845.125.png 171923845.126.png 171923845.127.png 171923845.128.png 171923845.129.png 171923845.130.png 171923845.131.png 171923845.132.png 171923845.133.png 171923845.134.png 171923845.135.png 171923845.136.png 171923845.137.png 171923845.138.png 171923845.139.png 171923845.140.png 171923845.141.png 171923845.142.png 171923845.143.png 171923845.144.png 171923845.145.png 171923845.146.png 171923845.147.png 171923845.148.png 171923845.149.png 171923845.150.png 171923845.151.png 171923845.152.png 171923845.153.png 171923845.155.png 171923845.156.png 171923845.157.png 171923845.158.png 171923845.159.png 171923845.160.png 171923845.161.png 171923845.162.png 171923845.163.png 171923845.164.png 171923845.166.png 171923845.167.png 171923845.168.png 171923845.169.png 171923845.170.png 171923845.171.png 171923845.172.png 171923845.173.png 171923845.174.png 171923845.175.png 171923845.177.png 171923845.178.png 171923845.179.png 171923845.180.png 171923845.181.png 171923845.182.png 171923845.183.png 171923845.184.png 171923845.185.png 171923845.186.png 171923845.188.png 171923845.189.png 171923845.190.png 171923845.191.png 171923845.192.png 171923845.193.png 171923845.194.png 171923845.195.png 171923845.196.png 171923845.197.png 171923845.002.png 171923845.003.png 171923845.004.png 171923845.005.png 171923845.006.png 171923845.007.png 171923845.008.png 171923845.009.png 171923845.010.png 171923845.011.png 171923845.013.png 171923845.014.png 171923845.015.png 171923845.016.png 171923845.017.png 171923845.018.png 171923845.019.png 171923845.020.png 171923845.021.png 171923845.022.png 171923845.024.png 171923845.025.png 171923845.026.png 171923845.027.png 171923845.028.png 171923845.029.png 171923845.030.png 171923845.031.png 171923845.032.png 171923845.033.png 171923845.035.png 171923845.036.png 171923845.037.png 171923845.038.png 171923845.039.png 171923845.040.png 171923845.041.png 171923845.042.png 171923845.043.png 171923845.044.png 171923845.046.png 171923845.047.png 171923845.048.png 171923845.049.png 171923845.050.png 171923845.051.png 171923845.052.png 171923845.053.png 171923845.054.png 171923845.055.png 171923845.057.png 171923845.058.png 171923845.059.png 171923845.060.png 171923845.061.png 171923845.062.png 171923845.063.png 171923845.064.png 171923845.065.png 171923845.066.png 171923845.068.png 171923845.069.png 171923845.070.png 171923845.071.png 171923845.072.png 171923845.073.png 171923845.074.png 171923845.075.png 171923845.076.png 171923845.077.png 171923845.079.png 171923845.080.png 171923845.081.png 171923845.082.png 171923845.083.png 171923845.084.png 171923845.085.png 171923845.086.png 171923845.087.png 171923845.088.png 171923845.090.png 171923845.091.png 171923845.092.png 171923845.093.png 171923845.094.png 171923845.095.png 171923845.096.png 171923845.097.png 171923845.098.png 171923845.099.png 171923845.101.png 171923845.102.png 171923845.103.png 171923845.104.png 171923845.105.png 171923845.106.png 171923845.107.png 171923845.108.png 171923845.109.png 171923845.110.png 171923845.112.png 171923845.113.png
Using Mach2Mill
or
The nurture, care and feeding of the Mach2
controlled CNC Mill
All queries, comments and suggestions welcomed via support@artofcnc.ca
Mach Developers Network (MachDN) is currently hosted at:
© 2003/4/5 Art Fenerty and John Prentice
Front cover: A vertical mill circa 1914
Back cover (if present): The old, gear, way of co-ordinating motion on mill table and a
rotary axis
For Mach2Mill Release 6.11
Manual Revision 6.11-C 1
171923845.114.png
Contents
Contents
1.
Preface.............................................................................................1-1
2.
Introducing CNC machining systems............................................2-2
2.1
Parts of a machining system...........................................................................................2-2
2.2
How Mach2 fits in...........................................................................................................2-2
3.
An overview of Mach2 Machine Controller software...................3-1
3.1 Installation......................................................................................................................3-1
3.1.1 Downloading....................................................................................................................3-1
3.1.2 Installing...........................................................................................................................3-1
3.1.3 The vital re-boot...............................................................................................................3-1
3.1.4 Convenient desktop icons..................................................................................................3-2
3.1.5 Testing the installation......................................................................................................3-2
3.1.6 OCXTest after a Mach2 crash...........................................................................................3-3
3.1.7 Notes for manual driver installation and un-installation......................................................3-3
3.2 Screens............................................................................................................................3-4
3.2.1 Types of object on screens................................................................................................3-4
3.2.2 Using buttons and shortcuts...............................................................................................3-5
3.2.3 Data entry to DRO............................................................................................................3-5
3.3 Jogging............................................................................................................................3-5
3.4 Manual Data Input (MDI) and teaching.........................................................................3-7
3.4.1 MDI.................................................................................................................................3-7
3.4.2 Teaching...........................................................................................................................3-7
3.5 Wizards – CAM without a dedicated CAM software.....................................................3-8
3.6 Running a G-code program............................................................................................3-9
3.7 Toolpath display............................................................................................................3-11
3.7.1 Viewing the toolpath.......................................................................................................3-11
3.7.2 Panning and Zooming the toolpath display......................................................................3-11
3.8
Other screen features....................................................................................................3-11
4.
Hardware issues and connecting the machine tool.....................4-1
4.1 Safety - emphasised.........................................................................................................4-1
4.2 What Mach2 can control.................................................................................................4-1
4.3 The EStop control...........................................................................................................4-2
4.4 The PC parallel port.......................................................................................................4-3
4.4.1 The parallel port and its history.........................................................................................4-3
4.4.2 Logic signals.....................................................................................................................4-3
4.4.3 Electrical noise and expensive smoke................................................................................4-4
4.5 Axis drive options............................................................................................................4-5
4.5.1 Steppers and Servos..........................................................................................................4-5
4.5.2 Doing Axis drive calculations...........................................................................................4-6
4.5.3 How the Step and Dir signals work....................................................................................4-7
4.6 Limit and Home switches................................................................................................4-8
4.6.1 Strategies..........................................................................................................................4-8
4.6.2 The switches.....................................................................................................................4-8
4.6.3 Where to mount the switches.............................................................................................4-9
4.6.4 How Mach2 uses shared switches....................................................................................4-10
4.6.5 Referencing in action......................................................................................................4-10
CNC Machining with Mach2Mill
ii
Rev 6.11-C 1
Contents
4.6.6 Other Home and Limit options and hints.........................................................................4-11
4.7
Spindle control..............................................................................................................4-11
4.8
Coolant..........................................................................................................................4-13
4.9
Plasma torch height control (THC)..............................................................................4-13
4.10
Knife direction control..................................................................................................4-14
4.11
Digitise probe................................................................................................................4-14
4.12
Linear (glass scale) encoders.........................................................................................4-14
4.13
Spindle index pulse.......................................................................................................4-15
4.14
Charge pump - a pulse monitor....................................................................................4-15
4.15
Other functions.............................................................................................................4-15
5.
Configuring Mach2 for your machine and drives.........................5-1
5.1 A configuration strategy.................................................................................................5-1
5.2 Initial configuration........................................................................................................5-1
5.2.1 Defining addresses of port(s) to use...................................................................................5-2
5.2.2 Defining axes to be used...................................................................................................5-2
5.2.2.1 Controlled axes......................................................................................................5-2
5.2.2.2 Spindle..................................................................................................................5-2
5.2.3 Defining engine frequency................................................................................................5-2
5.3 Defining input and output signals that you will use.......................................................5-3
5.3.1 Output signals to be used...................................................................................................5-3
5.3.2 Input signals to be used.....................................................................................................5-4
5.4 Allocating Inputs and Outputs to ports and pins...........................................................5-5
5.4.1 Defining output pins.........................................................................................................5-5
5.4.2 Defining input pins...........................................................................................................5-5
5.4.2.1 Emulator setup.......................................................................................................5-6
5.4.2.2 Parallel input setup.................................................................................................5-8
5.4.3 Encoder inputs..................................................................................................................5-9
5.4.4 Assign Relay Activation Outputs.......................................................................................5-9
5.4.5 Testing.............................................................................................................................5-9
5.5 Defining the setup units................................................................................................5-10
5.6 Tuning motors...............................................................................................................5-10
5.6.1 Calculating the steps per unit...........................................................................................5-11
5.6.1.1 Calculating mechanical drive................................................................................5-11
5.6.1.2 Calculating motor steps per revolution..................................................................5-12
5.6.1.3 Calculating Mach2 steps per motor revolution......................................................5-12
5.6.1.4 Mach2 steps per unit............................................................................................5-13
5.6.2 Setting the maximum motor speed...................................................................................5-13
5.6.2.1 Practical trials of motor speed...............................................................................5-13
5.6.2.2 Motor maximum speed calculations......................................................................5-14
5.6.3 Deciding on acceleration.................................................................................................5-14
5.6.3.1 Inertia and forces..................................................................................................5-14
5.6.3.2 Testing different acceleration values.....................................................................5-14
5.6.3.3 Why you want to avoid a big servo error...............................................................5-14
5.6.3.4 Choosing an acceleration value.............................................................................5-14
5.6.4 Saving and testing axis....................................................................................................5-15
5.6.5 Repeat configuration of other axes..................................................................................5-16
5.6.6 Spindle motor setup........................................................................................................5-16
5.6.6.1 Motor speed, spindle speed and pulleys................................................................5-16
5.6.6.2 Pulse width modulated spindle controller..............................................................5-17
5.6.6.3 Step and Direction spindle controller....................................................................5-18
5.6.6.4 Testing the spindle drive......................................................................................5-18
5.7 Other configuration......................................................................................................5-19
5.7.1 Configure homing...........................................................................................................5-19
Rev 6.11-C 1
iii
CNC Machining with Mach2Mill
Zgłoś jeśli naruszono regulamin