TURBOCNC v4.01
CNC Machinery
Control Program
© 2005 DAK Engineering. All Rights Reserved
Table of Contents iii
Part 1 – Quick Start 5
Legal Notice 5
Upgrade Information 5
Installation 2
System Requirements 2
Program Installation 3
Getting Started 3
Contact Information 5
Support 5
Credits 5
Part 2 – User’s Guide 6
Introduction 6
Menu System 6
Quick Keys 7
Motion Keys: 7
File 7
Run 10
Setup 12
Configure 20
Tools 40
Help 40
Port Monitor 42
Monitor Lockout: 42
Display Monitor: 42
Port to Monitor: 42
Color Scheme: 42
Ignore Contention: 43
Active Mode: 43
Force Full I/O: 44
Control Register Mode: 44
TurboCNC Configuration File 44
Command Line Options 47
Part 3 – RS 274 Programming Guide 48
Introduction 48
TurboCNC Parser 48
OpCodes 50
Operands 50
Conditional Execution 51
Preparatory Functions (G-Codes) 51
Supported Preparatory Functions 51
G00 Rapid Positioning 51
G01 Linear Interpolation 52
G02 CW circular interpolation (3D) 52
G03 CCW circular interpolation (3D) 54
G04 Dwell 54
G16 Set implicit planes 55
G17-19 Set current 2D plane 55
G20 Inch units 56
G21 Metric units 56
G28 Home all axes 56
G31 Probe move 57
G32 Probe cycle 57
G33 Single pass threading 58
G50 Probe hole ID 59
G53 Change to master coordinates 59
G54-G59 Change fixture offset 59
G70 Inch mode 60
G71 Metric mode 60
G72 CW helical interpolation 60
G73 CCW helical interpolation 60
G76 Multi-pass threading 60
G77 Turning/Boring/Milling Cycle 61
G78 Peck Motion Cycle 62
G80 Cancel drill cycle 62
G81 Drill cycle 62
G82 Drill + Dwell cycle 63
G83 Peck drill cycle 64
G90 Absolute coordinates 64
G91 Incremental coordinates 64
G92 Preload of registers/Set machine coordinates 65
G93 Inverse time feed rate 65
G94 IPM feed rate 65
G95 IPR feed rate 66
G97 Program spindle RPM 66
G178 Speed peck motion 66
G183 Speed peck drill cycle 67
Miscellaneous Functions (M-Codes) 68
Supported Miscellaneous Functions 68
M00 Automatic halt 68
M01 Optional halt 68
M02 End of program 68
M03 Spindle on CW 69
M04 Spindle on CCW 69
M05 Spindle off 69
M06 Tool change 69
M07 Coolant A on (flood) 70
M08 Coolant B on (mist) 70
M09 Coolants off 70
M10 Clamp 70
M11 Unclamp 70
M13 Spindle CW and coolant A on 71
M14 Spindle CCW and coolant A on 71
M17 Enable drives 71
M18 Disable drives 71
M21 Open collet 71
M22 Close collet 72
M30 End of program & rewind 72
M40 – M46: Gear Changes 72
M48 Restore feed override 72
M49 Cancel feed override 72
M50 Read spindle speed 73
M60 Jump to subroutine (obsolete function) 73
M62 Return from subroutine (obsolete function) 73
M70 Set PLC handshake output to inactive 74
M71 Set PLC handshake output to active 74
M72 Wait for PLC handshake input to go inactive 74
M73 Wait for PLC handshake input to go active 74
M97 Jump 75
M98 Jump to subroutine 75
M99 Return from subroutine 76
S-Word Handing: 77
Programming Extensions 77
Expressions 77
Variables 78
Sample Code - Using Expressions and Variables 79
Conditional Execution (IF) 79
Simulating Advanced Conditional Execution Structures 81
Interacting with the Operator 82
Putting it all Together: The Circle Using Line Segments 84
Part 4 – Introduction to CNC 86
General 86
The Axes De-Mystified: 87
Axis conventions: 88
The parallel port explained: 90
Part 5 – Technical Details 91
The Parallel Port 91
Set Up of Step and Direction Lines 91
I/O Points 93
Configuring Speed Control 94
Setting up Windows 9x to boot directly into MS-DOS 94
Modify MSDOS.SYS 95
Modifying CONFIG.SYS 95
Modify AutoEXEC.BAT 96
47
WARNING
!
Various warnings appear throughout this manual. Do not take these to be applicable in all situations, nor to completely describe the hazards involved. CNC machines supply the power to do your work more effectively. You supply the judgment. Although DAK Engineering does its best to stand behind this product, we won't be liable for damages incurred.
Regular users of TurboCNC are expected to register the program by paying for it (see contact section). Source code and bug report/upgrade newsletters are made available to registered users via email.
If you're a registered user, you can do anything you want with the program and sourc...
marcelinio16