ProLight 2000 DOS Manual
ProLight 2000 DOS Manual
ProLight 2000 DOS Manual
April 1996
i
Printed in U.S.A.
spectraCAM and proLIGHT are trademarks of Light Machines Corporation. MS-DOS is a registered trademark of Microsoft Corporation. DXF is a trademark, and AutoCAD and AutoSketch are registered trademarks of Autodesk, Incorporated. Tandy is a registered trademark of Tandy Corporation. Fanuc is a registered trademark of Fanuc Limited. Hercules is a registered trademark of Hercules Computer Technology. Delrin is a trademark of E. I. Dupont & Company. Lexan is a registered trademark of General Electric Corporation. BASIC is a registered trademark of the Trustees of Dartmouth College.
ii
WARNING
The operation of rotating machinery should only be attempted by experienced,knowledgeable individuals! Read the entire contents of this guide before running NC programs on the proLIGHT Machining Center. To avoid possible injury always observe the safety precautions described in this User's Guide.
Table of Contents
iii
iv
Contents
Section 1: Introduction
What is the proLIGHT Machining Center? ................ 1-2
Features ......................................................... 1-2 The proLIGHT Machining Center Components ....... 1-3
The Front Panel ............................................ 1-4 The Rear Panel ............................................. 1-5
The Control Program Software ............................ 1-6 The Accessory Kit ............................................ 1-6
System Requirements ........................................... 1-7 Machining Center Options .................................... 1-8 Using This Guide ............................................. 1-10 The Readme File .............................................. 1-11
Section 2: Installation
Getting Ready .................................................... 2-2
Check Your Shipment ....................................... 2-2 Register Your Machining Center .......................... 2-2 Prepare Your Work Place .................................. 2-2 Unpack the Machining Center ............................ 2-3 Set Up the Machining Center ............................. 2-3
Table of Contents
Selecting with the Arrow Keys ............................ 3-6 Selecting with Tab and Shift+Tab ........................ 3-6 Selecting with a Mouse ..................................... 3-6
vi
The Save and Save As Commands ..................... 3-11 The Print Command ....................................... 3-13 The Exit Command ........................................ 3-13
Table of Contents
vii
Hidden Commands ..................................... 3-31 Display Speed .................................. 3-31 View Change ................................... 3-31 View Right and View Front ................. 3-31 Single Step ....................................... 3-32 Stopping .......................................... 3-32 Pausing ........................................... 3-32
The Windows Menu .......................................... 3-37 The Setup Menu ............................................... 3-38
The Set Position Command .............................. 3-38 The Zero Position Command ............................ 3-39 The Goto Position Command ........................... 3-40 The Set Jog Distance & Set Jog Feed Commands ............................................ 3-40
Set Jog Distance .......................................... 3-41 Set Jog Feed ............................................... 3-41
The Set Tools Command ................................. 3-46 The Set Offsets Command................................ 3-47 The Set Limits Command ................................. 3-48 The Coordinate Systems Command .................... 3-49
viii
Setting the Coordinate Systems ...................... 3-51 Using Multiple Coordinate Systems ................ 3-52 Machine Coordinates ......................... 3-52 World Coordinates ............................ 3-52 Work Coordinates ............................. 3-53 Setting Reference Point/Establishing Machine Coordinate System ...................................... 3-54
Section 4: Tutorial
Starting the Control Program ................................. 4-2 Safely Running the Machining Center ..................... 4-4
Safety Rules .................................................... 4-4 Making Emergency Stops ................................... 4-5
Stopping with the Emergency Stop Button ......... 4-5 Stopping with the Computer Keyboard .............. 4-5 Stopping with a Limit Switch ........................... 4-6
Table of Contents
ix
Skip (\) ......................................................... 5-4 Block Number (N Code) .................................... 5-4 Subprogram Block Number (O Code) ................... 5-4 Preparatory Codes (G Codes).............................. 5-4
The Interpolation Group ................................. 5-5 Units Group ................................................. 5-5 Plane Selection Group ................................... 5-5 Wait Group ................................................. 5-6 Canned Cycle Group ..................................... 5-6 Programming Mode Group ............................. 5-7 Preset Position Group .................................... 5-7 Compensation Functions Group ...................... 5-7 Coordinate System Group ............................... 5-8 Polar Programming Group .............................. 5-9
X Axis Coordinate (X or U Code) ........................ 5-9 Y Axis Coordinate (Y or V Code) ......................... 5-9 Z Axis Coordinate (Z or W Code) ........................ 5-9 A Axis Angular Dimension (A Code) .................. 5-10 X Axis Coordinate of Center Point (I Code) .......... 5-10 Y Axis Coordinate of Center Point (J Code) .......... 5-10 Z Axis Coordinate of Center Point (K Code) ......... 5-10 Radius of Arc, Drilling Start Location (R Code) ..... 5-10 Peck Depth (Q Code) ..................................... 5-10 Input Selection Number (H Code) ..................... 5-10 Compensation Offset Value (D Code) ................. 5-11 Loop or Program Cycle Counter (L Code) ............ 5-11 Feed Rate (F Code) ......................................... 5-11 Spindle Speed (S Code) ................................... 5-11 Tool Selection (T Code) ................................... 5-11 Miscellaneous Codes (M Codes) ........................ 5-12 Subprogram Reference Number (P Code) ............ 5-14 Comments ( ; or ( ) ......................................... 5-14 Run Program with Absolute Arc Centers ( $ ) ....... 5-14
x
General Programming Suggestions ........................ 5-15 Linear Interpolation Programming ........................ 5-17 Circular Interpolation Programming ...................... 5-18
Circular Interpolation on Other Planes ............... 5-19 Helical Interpolation Programming .................... 5-20
Rapid Traverse Programming ............................... 5-21 Canned Cycle Programming ................................ 5-22
Using G80 ................................................... 5-23 Using G81 ................................................... 5-23 Using G82 ................................................... 5-24 Using G83 ................................................... 5-24 Using G84 ................................................... 5-25 Using G85 ................................................... 5-26 Using G86 ................................................... 5-26 Using G89 ................................................... 5-27
Subprogram Programming .................................. 5-28 Polar Programming ........................................... 5-30 Using the Homing Commands ............................. 5-31
Using G28 ................................................... 5-31
Using G28 in an NC Program ....................... 5-31 Using G28 Before Setting Soft Limits .............. 5-32
Table of Contents
xi
Rotation Codes ............................................. 5-49 Combining Scaling and Rotation Codes .............. 5-51
Using Tool Length Offset Codes ........................... 5-52 Using Tool Offset Adjust Codes ........................... 5-53
Using 5C Collets and 5C Chucks ...................... 6-18 Rotary Positioner Specifications ........................ 6-19
Table of Contents
xiii
Maintaining the Rotary Positioner ........................ 7-17 Maintaining the PC in a Shop Environment ............ 7-18
Caring for the Computer .................................. 7-18 Caring for Floppy Disks................................... 7-19
Appendices
Appendix A: Control Program Messages .................. A-1 Appendix B: General Machining Information ............ B-1
Feed Rate and Depth of Cut ...............................B-1 Spindle Speeds ................................................B-2 Feed Rate and Spindle Speed Selection.................B-2 Lubricants and Coolants ....................................B-2 Tool Types .....................................................B-3
End Mills .................................................... B-3
xiv
Command Line Switches ................................... E-4 Splitting NC Files ............................................. E-5 Using BASIC to Generate NC Code ..................... E-6 Using BASIC for Repetitive Cuts .......................... E-7
Table of Contents
xv
Index
Accessory List
xvi
34-7211-0001
Table of Contents
xvii
Section 1: Introduction
What is the proLIGHT Machining Center? System Requirements Machining Center Options Using This Guide The Readme File
Introduction
1-1
Features
Some of the proLIGHT Machining Centers most notable features include: A one-horsepower brushless DC spindle motor An R8 industry-standard spindle taper for the proLIGHT 2000 and an EX16 spindle taper for the proLIGHT 2500. Spindle speeds from 200 to 5,000 RPM (500 to 10,000 RPM optional) for the proLIGHT 2000, and from 200 to 42,000 RPM for the proLIGHT 2500. Rapid traverse rates up to 150 ipm EIA RS-274D standard G&M code programming Multiple tool programming Feed rate and spindle speed override functions A built-in full-screen NC program editor An on-line help utility
1-2
Section 1
Introduction
1-3
The Front Panel The Front Panel provides the operating controls shown here.
EMERGENCY STOP
0%
100%
0%
200%
Spindle Speed
Feed Override
Manual
CNC
Cycle Start
Cycle Stop
You cant miss the most important control on the machine; the Emergency Stop button. When pressed, this bright red palm button halts machine operation immediately. To resume operation, twist the button and pull it back out. Its important that this button be pressed before performing any manual operations, like changing the stock or the tooling. The Spindle Speed knob is used to establish the spindle speed when the system is in Manual mode. On the proLIGHT 2000, the minimum and maximum positions on the knob are equivalent to 0 RPM (min) to approximately 5,000 (max) RPM (or 10,000 RPM, depending on the option). On the proLIGHT 2500, the minimum and maximum positions on the knob are equivalent to 0 RPM (min) to approximately 42,000 RPM (max). Select Spindle Speed mode with the Manual/CNC mode switch. The CNC setting on this switch gives spindle control to the computer. There must be an S code, or codes, in the NC program to regulate the spindle speed when using the CNC setting. Use the Feed Override knob to override the feed rate values in the NC program. The Cycle Start button makes an input on the I/O connector on the rear panel go from a normally low state to a high state. With the appropriate code in the NC program, you can use Cycle Start to perform repetitive machining tasks. Also, whenever you are running an NC program, any time you are required to press the Enter key on the computer keyboard, you may press the Cycle Start button instead. The Cycle Start button works like the Enter key unless it is expecting an I/O signal, for instance when you use G26H8 (in) or G25H8 (out) in your NC program. The Cycle Stop button works like the Emergency Stop button.
1-4
Section 1
The Rear Panel The Rear Panel houses the power and interface related controls for the machine.
Note: The ACC1 and ACC2 receptacles on the rear panel of the proLIGHT 2500 are 230 VAC.
ACC1 (1 AMP MAX) AUX 1 SERVO 1 SPINDLE 1 MAIN 1 I/O
AUX 2
SERVO 2
SPINDLE 2
MAIN 2
RS-232
The ACC1 and ACC2 receptacles allow you to connect options and accessories to your machine, such as the optional Air Vise Robotic Interface. Use the accessory port adapter cables (included) to connect these options and accessories. The Key Lock switch keeps unauthorized persons from turning on the machine. When the Key Lock is in the unlocked position, the Power switch can be turned on. The Power switch lights up when power is turned on.
Note: If circuit breakers trip before running the machine, check that the machine is wired for the correct voltage.
The machine has eight resettable circuit breakers. If a circuit breaker trips, attempt to determine the fault and correct it. After the fault has be found and corrected, wait five minutes for the machine to cool before resetting. Press to reset. Some possible causes: If a breaker trips at Power On, verify that the machine is connected to the correct voltage. If the Spindle breaker trips, check that the machine is not working too hard. If the ACC trips, there is an accessory that is drawing too much power. For ongoing problems with circuit breakers tripping, contact Customer Support.
Introduction
1-5
The I/O connector provides the inputs and outputs required for interfacing with external devices such as robots. See Appendix F for information on robotic interfacing. The RS-232 receptacle is used to interface the machine controller electronics with your computer. A cable is provided in the Accessory Kit for this interface. Connect the cable to the RS-232 receptacle and the mating serial port connector on the computer only! Refer to Section 2 for correct installation procedures.
1-6
Section 1
System Requirements
The proLIGHT Control Program runs on MS-DOS-compatible computers. The computer must have: MS-DOS version 3.1 or higher. At least 640KB RAM. A floppy drive. A hard drive. There must be at least 600KB of available space on the hard drive to install the Control Program software. A CGA, EGA, or VGA color monitor is recommended, but you can also use a Hercules-compatible monitor. A Microsoft-compatible mouse. You may wish to consider the following optional components for your computer. A math coprocessor is highly recommended to maximize the Control Programs computation speed. A printer is useful for producing hard copy records of part programs.
Introduction
1-7
The following options are available for the proLIGHT Machining Center from Light Machines Corporation. Machining Center Machinist Kit (ACC-5110) The Machinist Kit includes a 3" milling vise with hold-down clamps, a 4-piece R8 collet set, a 9-piece high-speed end mill set (including 2 ball end mills), a 52-piece hold-down set, a Jacobs chuck, an R8 to 2JT arbor, and a 3/8" x 12" cushion-grip T-handle hex key. Not available for the proLIGHT 2500. End Mill Package (ACC-5120) The ACC-5120 End Mill Package consists of the following end mills, all with 3/8" shanks: two 1/8" HSS center cutting 4 flute end mills, two 3/16" HSS center cutting 4 flute end mills, two 1/4" HSS center cutting 4 flute end mills, two 5/16" HSS center cutting 4 flute end mills, two 3/8" HSS center cutting 4 flute end mills, two 1/8" HSS ball 2 flute end mills, and two 1/4" HSS ball 2 flute end mills Quick-Change Tooling (ACC-5141) Quick-Change Tooling provides an easy way of integrating multiple tools within one NC program. It comes with the tool body, five tool holders, a tool holder stand, three allen keys and an electronic tool height offset sensor. The Quick-Change Tooling Kit also has optional positive drive tool holders. Not available for the proLIGHT 2500. Low Profile Clamping Kit (ACC-5180) This kit includes a custom rail and stop with four clamps for work holding. 4th Axis 5C Rotary Positioner (ACC-5222) The ACC-5222 4th Axis 5C Rotary Positioner is a complete rotary positioning device that is mounted vertically on the proLIGHT 2000 Machining Center and provides simultaneous 4-axis machining capability. The rotary positioner incorporates a 5C collet system with manual collet closer. When installed: Available X axis travel is 7", Z axis travel is 5-3/4".
1-8
Section 1
Digitizing Package (ACC-5261) The ACC-5261 Digitizing Package includes a digitizing probe and software that lets you digitize existing parts and models to capture 3-D surface data. The easy-to-use PC-driven package provides reverse engineering capabilities with your proLIGHT series machining center. It can generate files in three different formats; an NC part program, an ASCII text file with XYZ data points, and a DXF 3-D mesh file. The Digitizing Package includes a touch signal probe, a probe interface cable with 15 pin and 9 pin adapters, a 20 mm long stylus with 3 mm diameter head, a 20 mm stylus extension, the Digitizing Package Users Guide, the Digitizing Package software on 3-1/2" and 5-1/4" diskettes, and an 8 mm R8 Collet. Not available for the proLIGHT 2500. Vacuum System (ACC-5730) The ACC-5730 Vacuum System is designed for use with the proLIGHT Series Machining Centers. It includes a vacuum with noise reduction features, a GFT hose, a 1-1/2" diameter nozzle mounting assembly, and an electrical relay. Not available for the proLIGHT 2500. spectraCAM (CAM-6601) spectraCAM is Light Machines CAD/CAM package. The spectraCAM Milling software generates G&M code NC programs that can be used on the proLIGHT Machining Center. spectraCAM Milling can import part geometries from CAD programs, such as AutoSketch, that export DXF files. CAD Engraver Program (DOC-7671) The CAD Engraver is a 2-1/2-axis CNC milling program for machining text and CAD drawings. Air Vise (PNU-4115) The Air Vise has jaws that open to a maximum of 3.0 inches. The vise comes with a solenoid valve and all the tubing required to interface with 1/4" pipe fittings from filtered and regulated shop air (50-125 psi).
Introduction
1-9
1-10
Section 1
Introduction
1-11
1-12
Section 1
Section 2: Installation
Installation
2-1
Getting Ready
Check Your Shipment
The first thing you should do after receiving your proLIGHT Machining Center is locate the packing slip in the Accessory Kit. This slip lists all of the items you should have received with your Machining Center. Check all of the items on the list. Inspect the Machining Center for signs of visible damage. If you notice any damage, or if you find any discrepancies between the packing slips and the items you have received, call Light Machines Customer Service Department (800/221/2763) or 603-625-8600.
Note: We recommend the use of a voltage surge protector and line filter for your computer system.
2-2
Section 2
1. Position the pallet near the table on which youll set the Machining Center. The table should be located against a wall for maximum support. 2. Remove the staples that attach the bottom of the cardboard container to the pallet. 3. Lift the cardboard container off the pallet. 4. Inspect the Machining Center chassis for signs of visible damage such as a broken shield, a dent in the chassis, or damaged cables. If any damage is noted, or if you find any discrepancies between the packing slip and the items received, call Light Machines Customer Service Department (800/221/2763 or 603-625-8600). 5. Remove the four bolts holding the Machining Center base to the pallet. Keep the bolts and other packaging materials.
2. Once on the table, position the Machining Center correctly for safe, convenient machining. 3. Remove the protective paper from the safety shield.
Installation
2-3
Hardware Installation
The following paragraphs review the procedures for interconnecting your computer with the proLIGHT Machining Center. You should have already set up your personal computer in accordance with the directions in the owners guide that came with your computer. The diagram on the following page has been provided as a visual aid for the recommended interconnection. WARNING Do not connect power to the Machining Center or the computer until instructed to do so in the following procedures.
2-4
Section 2
Installation
ACC1 (1 AMP MAX) AUX 1 I/O
3 A M P P P P A M A M A M 4 10 15
Rear
View
SERVO 1
SPINDLE 1
MAIN 1
SERVO 2
SPINDLE 2
MAIN 2
Interface Cable
RS-232 Connec
I/O
15 A M P
MAIN 2
15 A M P
RS-232
Serial Port
2-5
proLIGHT
Machining
Center
Interconnection
with
Computer
CAUTION: Do not allow the AC power cords to cross the interface cable. The power cords can create noise problems with the signal lines in the interface cable.
Note: You have to remove the protective cap from the plug end of the accessory port adapter cable before inserting it into the machine.
Optional Connections
If you have purchased the optional air vise, plug the power cord from the solenoid valve on the vise into the receptacle end of the Accessory Port Adapter Cable. Insert the plug end of the cable into one of the ACC receptacles on the rear panel of the Machining Center. You can attach another 120VAC accessory to your Machining Center. Plug the accessorys power cord into the receptacle end of another Accessory Port Adapter Cable. Insert the plug end of the cable into the other receptacle on the rear panel of the Machining Center; the current draw for such accessories, however, is limited to 3 amps on 120VAC machines (1.5 amps on 230VAC proLIGHT 2500 and international machines). A 15-pin connector is provided on the rear panel for interfacing to an I/O device such as a robot. See Appendix F of this guide for information on interfacing with robots.
2-6
Section 2
Connecting an accessory to the Controller Panel using the Accessory Port Adapter Cable. Note that the accessory receptacles on proLIGHT 2500s are 230 VAC.
SERVO 1
4 A M P
SPINDLE 1
10 A M P
MAIN 1
15 A M P
I/O
AUX 2
3 A M P
SERVO 2
4 A M P
SPINDLE 2
10 A M P
MAIN 2
15 A M P
RS-232
A Note to International Users: You need to install the plug on the end of the electrical cord to accommodate 230V, 50Hz, 10A service, the wiring is color coded as: Line - black Neutral - white Ground - green If your power outlet only provides two lines, Line and Neutral, you must provide a separate Ground!
Installation
IS-011 I-SHENG
Receptacle End
2-7
Software Installation
After turning on your computer, you will most likely see the DOS system prompt. The prompt often appears as C:\>. C: is the hard drive designation. \ indicates that you are at the root directory (the top level) of the system. > with a blinking cursor indicates the computer is awaiting input.
The proLIGHT Control Program is shipped on both a 5.25" 1.2MB disk and a 3.5" 720KB disk. The Control Program must be installed on a hard drive containing a copy of DOS (version 3.1 or higher). You must have at least 600KB of free space on your hard drive to perform this installation. (See Section 1 for system requirements.)
CAUTION: The proLIGHT master disk is shipped write-protected (5.25 disks have a tab over the notch in the sleeve, and 3.5 disks have the write-protect window open) to prevent accidental destruction of the software. Never remove the write protection! Create and use a working copy of the software. Always store the master disk in a safe place away from heat, sunlight and static.
The proLIGHT Control Program must be copied to the hard drive on your computer. The following instructions assume that your hard drive is drive C, and your floppy drive is drive A. 1. Turn on the computer. Wait for it to go through its internal checks and for the system prompt (C:\>) to appear. 2. Insert the proLIGHT disk in the floppy drive of your computer. 3. Type A: INSTALL then press Return. (You may have to type B: INSTALL if your computer has multiple floppy drives.) This command creates a new directory called PLM2000 on your hard disk. It then copies all the files from the master disk in the floppy drive to the PLM2000 directory on the hard drive. When the copying is completed, the computer prompts you to press Return to run the SETUP program.
4. Press Return to run the SETUP program. (See the following page for instructions on running the SETUP program.)
2-8
Section 2
Setup for the proLIGHT 2000 with the 10,000 RPM Spindle Option 1. Enter Y for yes if you have purchased a machine with a 10,000 RPM Spindle. 2. Enter 2 if your machine is connected to serial port #2 on your computer. The default is 1. 3. Enter 3 if your machines serial number begins with three digits followed by a space. Enter 4 if your machines serial number begins with four digits followed by as space. If you are unsure of this information, look at the serial number on your machine. If you answer 3 to this question, the computer completes the SETUP process. If you answer 4 to this question, the computer prompts you with two further questions.
Installation
2-9
4. Enter Y for yes if you have a machine with 500 line encoders. If you are unsure of this information, look at the serial number on your machine. To answer yes to this question, the last five digits of your serial number should be less than 20053. 5. Enter Y for yes if you have a revision 1 spindle speed board. If you are unsure of this information, look at the serial number on your machine. To answer yes to this question, the last five digits of your serial number should be less than 20066. After you answer this question, the computer completes the SETUP process.
Setup for the proLIGHT 2000 without the 10,000 RPM Spindle Option 1. Enter N for no (or press Enter to select the default: no) if your machine is not equipped with the 10,000 RPM spindle option. 2. Follow steps 3 through 6 above. After you answer these questions, the computer completes the SETUP process.
2-10
Section 2
Starting the Control Program Selecting Commands The Control Program Screen The File Menu The Edit Menu The Run Menu The Windows Menu The Setup Menu The Help Menu
3-1
After you have set up your machine and have copied the Control Program to the hard drive of your computer, you can start the proLIGHT System. The procedure for starting the proLIGHT System is: 1. Turn the computer on. After the C:\> prompt appears, you can turn on the machining center.
Note to 4th Axis Rotary Positioner users: The start up procedure is slightly different for starting the Control Program when using a Rotary Positioner. At the C:> prompt, type CD\PLM2000 and press Enter. When you are in the correct directory, type PLM2000 /4. See Section 6 for further details.
2. At the C:> prompt, change from the main directory to the directory containing the proLIGHT files. Type: CD\PLM2000 and press the Enter (or Return) key. (If you created your own directory name when you installed the proLIGHT Control Program, type CD\ then enter your directory name and press Enter.) 3. When youre in the proper directory, type PLM2000 at the C:> prompt and press Return. When the proLIGHT Control Program is running, the main screen appears.
This is how the main screen looks when you first start up the Control Program.
3-2
Section 3
Having a Problem?
Computer and Machine Position Differ Your computers position and the Machining Centers position may differ if you home the machine then exit the Control Program without saving parameters. When you restart the Control Program, the following screen appears:
Select Computer to use the last saved computer position as the current position. Select Machine to use the machines current position as the current position. Error Initializing Control If the following screen appears when you start up the Control Program, check your installation connections and make sure the Machining Center is turned on.
After checking the connections, you can select Retry to start the program. Otherwise, you can select Simulate to use the Control program without communicating with the Machining Center, or select Quit to exit the Control Program and return to DOS.
3-3
If you are experiencing other start-up problems, check the items listed below. Are the computer and monitor plugged into a wall outlet? Is there power to the wall outlet? Is the monitor correctly connected to the computer? Are all interface connections secure? Are the monitor and computer turned on? Have you specified the correct directory? If you are using a mouse, was the mouse driver software loaded before the proLIGHT Control Program software? Do you have enough memory on the computer to run the Control Program? Make sure there are no other programs running before starting up the Control Program.
If you still experience start up problems after checking the above items, refer to your PC Owners Manual and the DOS Reference Guide for additional information on loading software.
3-4
Section 3
Selecting Commands
The proLIGHT Control Program has pull-down menus like many other MS-DOS-based applications. Selecting a menu item may execute a command or produce a d i a l o g b o x on the screen. A dialog box may require an ok or cancel, or a yes or no response from you. You also may be required to enter numerical data or accept current values before selecting ok or cancel. You always have the option of canceling a function and exiting the dialog box without changing anything.
You may select desired functions from a menu using any of the following techniques, or a combination of these techniques. Menu Titles
You can click on the titles at the top of the screen (File, Edit, Run, Windows, Setup and Help) to pull down the menus. You can also access the menus by pressing the Alt key on your keyboard, then pressing the key that corresponds with the first letter of the menu title. For instance, to open the File Menu, press Alt+F. Menu Commands
Once youve pulled-down a menu, there are two ways to select a command. When using a mouse, you can execute any command on a menu simply by clicking on it. You can also press the key on your keyboard that corresponds to the highlighted character in the command. For instance, to execute the Save As command on the File Menu, press the A-key. Hot Keys and F Keys You can use a series of keyboard key strokes and the keyboard function (F) keys to select certain menu functions. For example, press Ctrl + S to save your current NC program. Press the F2 key to bring up the Open NC File dialog box. Menu options with Hot Key combinations are displayed on the menu with the combination. The carat character (^) represents the Ctrl key on the keyboard. The F key functions appear along the bottom of the program screen.
3-5
To move from one data field to another within a dialog box, you may press the Tab key to move forward to the next field, or press the Shift and Tab keys simultaneously to move back to the previous field. Once a field is highlighted, enter data by typing. Press the Enter key when you are finished entering data, or use the Tab or Shift+Tab keys to move the cursor to another field. If the dialog box contains push-buttons, such as o k, cancel, yes or no, the selected push-button will change case when selected. For example, when n o t selected, the ok button is displayed in lower-case letters. When it i s selected, the OK button is displayed in upper-case, or capital letters. ok Not Selected OK Selected
The proLIGHT Control Program is designed to run on a personal computer equipped with a Microsoft-compatible mouse driver. When the mouse driver is loaded, the cursor becomes a block-shaped pointer. Move the pointer on the screen by moving the mouse over your desktop. With the cursor positioned over the area of the screen you wish to select, press and release the left button on the mouse. This action is called c l i c k i n g. Clicking selects an item or field on the screen. You can also click on buttons (like ok and cancel) to press them. To enter data in data fields, click on the field, type in the data and click on o k. You can use the mouse to select a menu, a menu command, a data field, or an area of the screen. You may click twice (d o u b l e - c l i c k i n g) to select some items, for instance the drives, directories or files in the Load NC File dialog box.
Important: You must load the mouse driver software before loading the proLIGHT Control Program software.
3-6
Section 3
This is the first screen youll see when you start the Control Program. It is constructed of a series of separate windows that perform individual functions. The Inputs Window (not shown) appears only while the Manual Control Panel and Run Program Windows are active.
3-7
3-8
Section 3
3-9
Note: If you are unable to open an NC file because it is too large, use SPLIT.EXE to divide the program into smaller units. See Splitting NC Files in Appendix E for more information.
The name of the last program loaded into RAM is the default filename in the Open NC File: box. If you type in a different filename, remember, you must follow DOS conventions for identifying the full DOS pathname: [drive]:\[directory]\filename] For example: B:CASTLE.NC (an NC program file in drive B named castle) C:\PROGRAMS\CASTLE.NC (an NC program file named castle in the PROGRAMS directory of drive C)
3-10
Section 3
The default drive is the drive from which the proLIGHT Control Program w a s started. The default directory is the PLM2000 directory. You may open directories or select a file in the window using a mouse, or using the Arrow keys on the keyboard; the selected filename appears in the Open NC File: box. Use the Tab key to move the cursor through each window and button. If there are more files or directories than the window can show, a scroll bar will appear on the right side of the window. To view additional files or directories, click on the scroll bar. To view the contents of the parent directory to the directory you are currently in, select the dual periods (..). To open the program file shown in the Open NC File: box, select ok. (You can also use the mouse to double-click on the filename in the file window.) Select cancel to exit the Open NC file dialog box.
3-11
IMPORTANT: Save your NC program often as you work, especially if its a long program. Until a program has been saved, it could be lost due to a power interruption or a software problem. Always save your program before running it on the Machining Center.
The name of the last program loaded is the default filename in the Save As File: box. If you type in a different filename, remember, you must follow DOS conventions for identifying the full DOS pathname. Saving an NC program under its original filename over-writes previous copies of the file with any changes that have been made. You can save several versions of a single part program by saving the program under different filenames. If you want to save your program under another name, or save it to another directory or drive, select the Save As command. Enter a new DOS pathname for the program before selecting ok. If you do not add the .NC file extension, the Control Program automatically adds it when you select ok. The default drive is the drive from which the proLIGHT Control Program was started. The default directory is the PLM2000 directory. Use a mouse or the Arrow keys on the keyboard to open a directory or change drives. Use the Tab key to move the cursor through each window and button. If there are more directories than the window can show, a scroll bar appears on the right side of the window. To view additional directories, click on the scroll bar. To view the contents of the parent directory to the directory you are currently in, select the dual periods (..). To save the file shown in the Save NC File: box, select ok. Select cancel to exit the dialog box.
3-12
Section 3
If your file does not print, you may get a time-out error. This occurs when the printer is not on, or is not properly connected. If the printer is properly connected and running, and your file still does not print, refer to the manuals supplied with your computer and printer for troubleshooting procedures. The proLIGHT Machining Center is set to print to the standard printer port LPT1. If you are printing a very large file, there may be a short delay before a print progress dialog box appears.
3-13
Use the Copy command to copy a selected portion of your NC program and keep it available to paste elsewhere in the program. When you select a portion of NC code, then select Copy, the code is kept in memory for you to place somewhere else in the program. If you copy a different portion of the program, the previously copied portion is erased from memory. Until you select the NC code you wish to copy, the Copy command is grayed-out and you can not select it. Once you have selected the code you wish to copy, the Copy command is made available.
3-14
Section 3
The Search command allows you to look for particular character strings within the NC file, eliminating the need to scroll through the file and search by sight. This is especially handy if your NC file is large. When you select Search, a dialog box appears. Enter the character string (up to 20 characters) youd like to look for.
Ignore Case allows you to search only for those character strings that have the same case attributes (upper case or lower case), or ignore any difference in case.
Ok initiates the search operation. The cursor will move to the first
occurrence of the character string in the program. Press F3 or select the Find Again command to find the next occurrence. Cancel cancels the search operation and closes the dialog box.
3-15
Ignore Case allows you to search only for those character strings that have the same case attributes (upper case or lower case), or ignore any difference in case. Ask Before Replace will stop at the string and prompts you for permission to replace the string. The prompts appear in the message bar at the bottom of the screen.
Ok initiates the search and replace operation.
Cancel cancels the search and replace operation and closes the dialog box. Replace All changes all occurrences of the specified string. If Ask Before Replace is not selected, all occurrences of the string are replaced automatically.
3-16
Section 3
N codes specify the sequential number of the blocks in an NC program. Using N codes is optional; however, when you do use N codes, they must be the first characters of each block in the program. Renumber allows you to: Renumber all the N codes. (This is handy if you have added a number of blocks and must renumber the program.) Remove all the N codes. Ignore all the N codes. Increment the block numbers by whatever number spacing you wish to use. (For instance, if you enter a number spacing of 2, the block numbers will read N0, N2, N4, N6, N8, and so on.) Add spaces between all the NC codes in the program. Remove any spaces between NC code in the program. Remove any comments in the program.
The Locked command alternates your NC file between an editable format and a read-only format. The Locked command prevents the NC program from being altered. When an NC program is locked, you can not enter new codes, or use the Cut, Paste, Replace or Renumber commands. When a file is locked, the file name at the top of the Edit screen becomes red. Also, a check mark appears next to the Locked command on the Edit Menu. The file name of an unlocked file appears in white.
3-17
Jog Settings
To select a mode of motion, use the mouse to click on the mode, or press the I-key for Incremental or the C-key for Continuous. You can also press the Insert key to toggle between the two modes. A check mark appears next to the selected mode.
Jog motion can be either continuous or incremental. With Incremental motion selected, the tool moves in increments equal to the value specified in the Set Jog Distance dialog box (see the Setup Menu). Continuous (or traverse) motion allows you to move the tool at the current jog speed by pressing a key (see Keypad Directions). The tool moves until you press the Space Bar, or any key on the numeric keypad.
3-18
Section 3
Note: As long as Use Feedrate Override is selected in the Run Preferences dialog box (see Setup Menu), you can use the Feed Override switch on the Machining Center to override the X, Y and Z feed rates as well as the Override Feed on the Manual Control Panel.
When you select Continuous, another parameter, Override Feed, appears on screen. Use Override Feed to override the specified X, Y and Z feed rates. Specify all feed rates (X, Y and Z feeds and the Override Feed) using the Set Jog Feed command under the Setup Menu. To use Override Feed, hold down the shift key while jogging with the keypad (see Keypad Directions). Just below Jog Settings, the current X, Y and Z Jog speed and distance are displayed. Jog distance appears only when Incremental mode is selected. Override Feed is displayed only when Continuous mode is selected. Inputs Window When the Manual Control Panel is active, you can view the status of the eight system Inputs. These inputs correspond to pins on the I/O connector on the rear panel of the proLIGHT Machining Center. The Robotic Inputs appear Low or High depending on the signal state at the robotic input. For more information on using the Inputs, refer to Robotic Integration, Appendix F. Keypad Directions Tool movement can be controlled by clicking the mouse on the keypad on the Manual Control Panel, by pressing the corresponding number keys on your keyboard (on the right-hand side of the computer keyboard) or by pressing the corresponding Arrow keys. For example, if you click the mouse on this portion of the screen keypad (or press the 6-key)...
Note: The keypad on the Tandy 1000 keyboard works differently than other MS-DOS-compatible keyboards. If you are using a Tandy 1000, use the arrow keys for tool movement instead of the numeric keypad.
...the tool moves in the -X direction at the speed you set with Set Jog Speed.
The proLIGHT 2000 Control Program
3-19
If you use Continuous motion, the tool moves at the set speed until any key is pressed. If you use Incremental motion, the tool moves in the X direction for the specified distance. If you click on another portion of the screen keypad, for instance +Y, the tool moves in that direction at the set speed and distance. The plus and minus signs will make the spindle (Z axis) move up or down. Spindle Speed
Note: The spindle speeds specified in the NC program and in the Spindle Control dialog box can be overridden by the spindle speed controls on the Machining Center.
If you have not used an S code in your NC program to specify a spindle speed, you can use the Spindle Control dialog box to enter a speed. To open the dialog box click on the Spindle Speed button, or press the S key. This dialog box allows you to alter the current spindle speed as well as turn the spindle on or off.
The mode switch on the Machining Center allows you to alternate between computer control (CNC) and manual control (Manual). The mode must be set to Manual before the spindle speed knob will override the software commands.
When running a program, the spindle speed is primarily determined by the Mode Switch on the front panel of the Machining Center. If the switch is set to Manual Mode, spindle speed is controlled by the Spindle Speed Control knob, also on the front panel. If the Mode is set to CNC, spindle speed is determined by an S code in the NC file. If an S code is not present in the NC file, the Control Program uses the speed entered in the Spindle Control dialog box. The Spindle Control setting does not override the S code in the NC file.
3-20
Section 3
The Verify Program command generates a graphic computer simulation of the machining process for NC programs. You can only simulate the currently open NC program. When you select Verify Program, a dialog box appears. This dialog box allows you to set up parameters for the simulation.
If verification encounters an error in the program, exit Verify, and use the Edit command to correct your program. When the Edit window appears, the cursor should already be located on the block that caused the error. After correcting the error, save your program, then try verifying it again.
Start Block If you wish to start verification at an NC block other than block zero, enter the block number in the Start Block box. Set Stock Size You must tell the Control Program the dimensions of the piece of stock you intend to machine. To set the size of the stock, select set stock size. A dialog box appears to allow you to enter the stock size for all three axes. Enter the desired dimensions, then select ok.
3-21
Set Offset from Standard Zero allows you to adjust the verification for different coordinate systems. Most NC programs set the 0,0,0 point at the left corner of the stock. In these cases the offset is zero. Occasionally, however, you may want to use a different origin (the center of the stock, for example). In these cases, you must enter an offset to properly verify your program.
Set Initial Position You can position the tool where you wish in relation to the workpiece by using the set initial position command to enter a tool start point. When the dialog box appears, enter the coordinates for all three axes, then select ok. You only use Set Initial Position for graphic verification.
3-22
Section 3
Change View During Pause You can view the machining simulation in either p l a n view (twodimensional) or i s o m e t r i c view (three-dimensional). If you enable change view during pause, you can pause the NC program during simulation (by pressing the P-key) and change from one view to another (by pressing the V-key to display the Viewing Options). If you do not enable change view during pause you may not change the view of the part during simulation.
When enabled, an X appears next to the Change View During Pause command.
3-23
The Verify Screen Once you have set the parameters for verification, select ok to bring up the Verify screen. When the Verify screen first appears, the Workpiece Window, Tool Window and Viewing Options are displayed.
Workpiece Window
Tool Window
Viewing Options
3-24
Section 3
Workpiece Window
Tool Window
Plan View
As you can see, the difference between a workpiece shown in Plan View and a workpiece shown in Isometric View is quite obvious. However, there is no difference in the Tool Window.
Workpiece Window
Tool Window
Isometric View
3-25
The Workpiece Window shows the workpiece in its entirety. The first time you verify your part program, the workpiece is shown in Plan View. Plan View is a two-dimensional view. The aspect is from above the workpiece. You can change to a three-dimensional view by selecting Isometric View (see Viewing Options).
See The Set Tools Command later in this section for information on setting the radius of the tool for verification.
The Tool Window shows a side view of the workpiece as a solid object. It can not provide a three-dimensional view (or wire frame image) like the Workpiece Window can. During verification, this window shows the tool moving up and down as the Z axis codes in the NC program are executed. When the tool moves down, you can see how far the tool is cutting into the stock. Small, blue, horizontal lines appear on the right side of the Tool Window whenever a G00 is used in an NC program. These lines indicate that a rapid traverse motion has been made. If the tool makes a rapid motion into the stock at an inappropriate place, youll be able to tell by the position of these lines. The Viewing Options (in the blue bar across the bottom of the screen) control the picture in the Workpiece Window. The Viewing Options include View, Zoom, Rotation and Pan commands.
View
Commands
You can watch the simulation in Plan View, which shows the workpiece in two dimensions, or Isometric View, which shows the workpiece in three dimensions. When you select Plan View, the workpiece is depicted as a solid two-dimensional object. When you select Isometric View, the workpiece is depicted as a wire frame three-dimensional object.
3-26
Section 3
Here, we pressed the plus ( + ) key to zoom the Workpiece Window, and the asterisk ( * ) key to zoom the Tool Window.
Then we pressed the minus ( - ) key and forward slash ( / ) key to zoom out.
3-27
After manipulating the Workpiece Window by panning, zooming, or rotating, you can use the Show All command to resize the workpiece to fill the window. Or, you can use Center to bring the workpiece back to the center of the window after panning. To select a View command, press the indicated key (I for Isometric, P for Plan, A for show All, or C for Center). You can also click on the command with the mouse. Zoom Commands
The Zoom commands effect both the Workpiece and Tool Windows. To zoom in to the Workpiece Window, press the plus (+) key. To zoom back out, press the minus (-) key. To zoom into the Tool Window, press the asterisk (*) key. To zoom back out, press the forward slash (/) key. Rotation Commands
If you press the Page Down key while in Plan View, the workpiece changes from a solid image to a wire frame image which you can Rotate. You can also rotate the three-dimensional wire frame image in Isometric View.
Here, we selected the Z axis (by pressing the Z key) then we rotated the workpiece by pressing the Page Up key. If you want to start over, press the I key to go back to the original Isometric View, then select the X, Y or Z axis and press Page Up or Page Down to rotate the workpiece. If you rotate the workpiece out of view, use Show All or Center to bring it back into view.
3-28
Section 3
Note: If you use any of the Rotation commands while in Plan View, the workpiece will change from a solid object to a wire frame object. This wire frame image is not the same as the object youll see if you select Isometric View. An isometric object is projected at a 30o angle. The simple wire frame used in Plan View may be projected at any angle.
Rotations occur in 10 increments. You can select an axis of rotation for the workpiece by pressing the X, Y or Z keys, or by clicking on the command with the mouse. An arrow appears next to the selected axis and, in the Workpiece Window, the selected axis is defined by a red line. To rotate the workpiece around the selected axis, press the Page Down or Page Up keys. Page Down rotates the workpiece in a positive direction. Page Up rotates the workpiece in a negative direction. You can also click on PgUp or PgDn with the mouse. Pan Commands
The Pan commands move the workpiece to the left, right, up or down. To pan, press the arrow key that corresponds to the direction in which you wish to move the workpiece. For example, if you wish to view more of the right side of the workpiece, move it to the left by pressing the left arrow. (You can also click on the Pan commands with the mouse.
Press the left arrow key to move the workpiece to the left, like this, or press the right, up or down keys to pan in other directions.
3-29
Verify
In Plan View: The tool in the Workpiece Window is depicted as a circle as it moves over the workpiece. Any rapid traverse motion is depicted by dotted lines. It is obvious when cuts are made. In Isometric View: The tool is represented by a small dotted line. This line represents the center point of the tool. Rapid traverse motions are depicted by larger dotted lines. Cuts on the workpiece are depicted by solid lines.
Under Verify there are two commands, [CR-GO] and Show Tool. Clicking the mouse on [CR-GO] has the same result as pressing the Enter key to begin verification. You should select the Viewing Options before clicking on to [CR-GO] begin verification. The Show Tool command controls the image of the tool in the Workpiece Window in both Isometric and Plan View. To turn the tool display on or off, press the S-key or click on the Show Tool command before beginning simulation. When the tool is on, a check mark appears next to the Show Tool command. The Simulation Press Enter to begin the simulation. As soon as the simulation begins, the Position and Outputs Windows appear in the upper-right corner of the screen, and the Viewing Options bar, along the bottom of the screen, changes into a Status Display.
The Status Display runs along the bottom of the verification screen. During verification, the Status Display is continually updated (as are the Position and Outputs Windows). The Status Display shows the NC program name and path, plus the current block, tool number, pass, feed rate, display speed (see Hidden Commands) and spindle speed. Each block of NC code is displayed as it is executed. The immediately preceding and following blocks are also displayed. If you pause the simulation (press the P-key), a Pause message appears on the bottom of the Status Display until you resume verification by pressing the Enter key. Other messages, such as tool change instructions and error messages appear here as well.
3-30
Section 3
The Position and Outputs Windows that appear during verification are the same windows you see in the main screen. If you turn them off in the main screen (see The Windows Menu) they will not appear here. Hidden Commands There are a number of hidden quick-key commands available to enhance the verification simulation. Display Speed
The Display Speed commands allow you to place a delay between each block of NC code (or arc segment). The speed settings range from 0 to 9, with 0 being the slowest setting. The default setting is 9. To alter the Display Speed, press the number for the speed you wish to run the verification. For example, to verify at 5, press the 5 key while the verification is running. View Change
If you wish to change the view of the Workpiece Window while the NC program is being verified, pause the simulation by pressing the P-key, then press the V-key to display the Viewing Options bar. Change the view as desired, then press Enter to resume the simulation. The data required to perform this function is saved to disk while you are verifying. Make sure you have adequate space on your hard drive. (Typically, you should have at least half the size of the NC program available.) The data file is deleted as soon as you are through verifying, so it doesnt continue to consume disk space each time you verify. You may verify from a floppy, though it may be a little slower and you may notice some pauses while it accesses the drive. View Right and View Front To quickly view either the right side or the front of the workpiece, use the View Right and View Front commands. These commands work in both Plan and Isometric Views. View Right displays a wire frame view of the right end of the workpiece. To select View Right, press the R-key while the Viewing Options bar is active.
The proLIGHT 2000 Control Program
3-31
View Front displays a wire frame view of the front end of the workpiece. To select View Front, press the F-key while the Viewing Options bar is active. Single Step This command pauses the simulation after each NC block so you can view the execution of the program a block at a time. Set single step mode in the Set Run Settings dialog window. To move on to the next block in the program, press Enter. Stopping Both the Q-key and Space Bar can be used to initiate emergency stops of the verification. If you press the Space Bar or Q-key to initiate an emergency stop, a small dialog box appears.
A similar dialog box appears when the M02 code is encountered at the end of the NC program.
This box gives you the opportunity to either exit verification, or change the view to examine where an error occurred. If you elect to exit, you may exit verification by pressing the ESC key, the Enter key, the Space Bar, or by clicking on Done in the dialog box. Pausing Use the P-key to pause the simulation. (You must pause before using the V-key for Viewing Options.) When an NC program is paused, you can press the ESC key to exit verification.
3-32
Section 3
CAUTION: Always wear safety glasses and close the safety shield before running a program. Always observe the set-up and safety precautions in Appendix C of this guide.
Program Settings Before running an NC program, the initial X, Y and Z axis coordinates of the cutting tool must be set. Use the Jog function on the Manual Control Panel to position the cutting tool. Use the Set Position command to enter the tool position.
When you start at a block other than zero, the control program parses through the program to the specified start point. As it parses, it performs operations such as turning the spindle on, but it will not execute a Dwell or Pause command, and it will not move the tool. With the start point specified, the Run Program dialog box appears. This box has three major areas: Program Data, Program Blocks, and Messages/Warnings.
3-33
Program Data tells you the name (full pathname) of the running file, which block is currently being executed and how many blocks are in the program, which tool is being used, and the program loop counter. If Use Feedrate Override is selected in the Run Preferences dialog box, a Feed Override Enabled message appears. If Use Feedrate Override is not selected, a Feed Override Disabled message appears.
Program Blocks shows the block being executed along with the two previous blocks and the next two blocks.
Messages/Warnings provides messages such as Pause at Block 0 and prompts for tool changes. It also alerts you to errors or operational problems that you may encounter while running a program. While the Program is Running . . . While the system is running a program, only certain keys are active; they are the P-key, the Q-key, and the Space Bar. Pause Pressing the P-key will pause the program after the current NC block has been executed. To resume running the program after a pause, press the Return key. To abort the program and return to the Main Menu, press the Space Bar.
3-34
Section 3
Q and Space Bar Press the Q-key or the Space Bar to stop the program. Cutting halts immediately and the current tool position is stored by the computer. When you press the Return key you are automatically returned to the Edit mode. To restart a program after an Emergency Stop from the keyboard, manually jog the tool above the workpiece to avoid a tool crash. Then, select the Run Program command from the File Menu. You will not have to reset the initial tool position (assuming the first block of your program moves the tool to the start position). An NC program can also be stopped by pressing the Emergency Stop Switch on the front panel of the Machining Center, or by tripping a limit switch. Refer to Safely Running the Machining Center in Section 4 for instructions on how to recover from these Emergency Stop conditions.
3-35
The Estimate Run Time command does include Dwell times and subprograms when calculating the estimated run time, but it can not include program stops that have indefinite lengths of stop time. These program stops include: Pause (G5/M00) Chain (M20) Skip/Digitize (G31/G131) Wait for input high/low (G25/G26) Write to file/Write to file with Digitize coordinates (M22/M122) Rerun (M47/M47Ln) The Estimate Run Time command treats M47 Rewind codes as M2 End of Program codes. This command also verifies the syntax of your NC programs while calculating the estimated run time. If an error is found, the Estimate Run Time Command alerts you with a dialog box.
3-36
Section 3
The Hide Inputs command is grayed-out and can not be selected unless the Manual Control Panel is active.
3-37
Setting the X, Y and Z coordinates for the tool also defines the zero point of the coordinate system for absolute motion. When you save system parameters (see Setup Preferences) the current X, Y and Z position settings are saved. If you save the current parameters, you will not have to initialize the position the next time you run the Control Program (assuming the job set up is not altered and the machine is not shut off).
3-38
Section 3
Locating the X, Y Zero Point on the Workpiece (Isometric View) Locating the zero point at the center of the workpiece (A) will produce four quadrants of motion with combinations of negative and positive coordinates. Specifying the zero point in the upper left corner of the workpiece (B) produces a single quadrant of motion, but still requires negative and positive coordinates for motion. Locating the zero point at the lower left corner of the workpiece (C) produces a single quadrant of motion with positive coordinates for motion.
Once you have located the zero point on the workpiece, you can select Zero Position to establish the current tool position as the zero point.
The proLIGHT 2000 Control Program
3-39
Selecting ok causes the machine to make a linear motion to the specified coordinates at the programmed feed rate. Selecting rapid causes the machine to move to the new coordinates at the rapid traverse rate.
Use the Set Jog Distance and Set Jog Feed functions to control tool motion in the manual control panel. Jog motions are controlled according to the values you enter for the jog distance and the jog feed rate along the X, Y and Z axes. Distance and feed rate values are separately entered for each axis. Jog Settings for the type of motion (Incremental or Continuous), X, Y and Z feeds and distances are shown on the Manual Control Panel.
3-40
Section 3
Set Jog Distance Distance values determine how far the tool moves each time a key is pressed while using the Incremental Jog Setting. This distance can be set at a low value (for instance 0.005 inch) to move the tool for a precise cut or at a high value (e.g. 5 inches) to position a tool. To change the current distance values, select Set Jog Distance from the Setup Menu. The following dialog box appears. Enter desired values in each field and select ok. The new values appear in the Jog Settings area of the Manual Control Panel.
Set Jog Feed The jog rate for the X and Y axes is the feed rate at which the tool moves away from or toward the workpiece along the X or Y axes. The Jog Feed for the Z axis is the feed rate at which the tool moves toward or away from the workpiece along the Z axis. These feed rates can be set as high as 150 inches per minute. Override Feed is used to override the X, Y and Z feeds. To use Override Feed, press and hold the Shift key while pressing an Arrow key.
3-41
To change the current feed values select Set Jog Feed from the Setup Menu. The following dialog box appears.
Enter desired values in each field and select ok. The new values appear in the Jog Settings area of the Manual Control Panel.
3-42
Section 3
Run Mode The Run Mode determines how the computer transmits NC code to the controlling electronics on the Machining Center. There are four modes: Single Line, Buffered (Medium), Buffered (Fast), and Variable Acceleration. The b u f f e r is the onboard memory on the machine. The buffer has a memory capacity of 32 kilobytes where it holds the NC code sent by the computer. Single Line mode allows you to maintain maximum control of the machining center. The machine can use Feed Rate Override and can adjust Position and I/O updates while in operation. A pause occurs immediately in Single Line mode. Buffered (Medium) mode allows for faster downloading of NC programs to the machine while still allowing the machine to adjust Position and I/O updates. The machine puts user requested pauses in the queue; therefore, there is a delay while the machine executes the codes still in the buffer. There is no Feed Rate Override in Buffered (Medium) mode. Buffered (Fast) mode provides continuous buffering of the NC file for faster running of the program. There is no communication (no Position and I/O updates) between the machining center and the computer until a problem is encountered. Feed Rate Override is available in Buffered (Fast) Mode. Variable Acceleration mode changes the acceleration rate based on the line segment length in an attempt to achieve the commanded feed rate. The Accel.Map file determines the acceleration rate based on line segment length. Use the Variable Acceleration Mode when your part tolerances are not critical or when speed of machining is more important than precision. Other Run Settings Allow Sub-Programs allows you to run NC programs that contain subprograms. If you wish to run an NC program that contains a subprogram, this option m u s t be enabled. Optional Skip allows you to execute or ignore any optional skips (/ codes) you have embedded in the NC program.
3-43
Note: Decreasing the Position and I/O Update intervals allows programs to run more smoothly by decreasing the amount of communication between the mill and the computer.
Optional Stop allows you to execute or ignore any optional stops (M01 codes) you have embedded in the NC program. Single Step causes the NC program to pause after each block is executed. This allows you to check each step of the cutting operation. Single Step is particularly useful after changing the workpiece size. Position Update allows you to set a time interval for updating the position readout in the Position Window. Just move the cursor to Position Update with the Tab key, then use the arrow keys to adjust the time. Or, just click on the line with the mouse. I/O Update allows you to set time intervals for updating the input status in the Inputs Window. Just move the cursor to I/O Update with the Tab key, then use the arrow keys to adjust the time. Or, just click on the line with the mouse. Update Current Line in Block Mode controls how the blocks of NC code are displayed when a program is running in Block mode. If this command is selected, each line of code is highlighted as it is executed, even though an entire block of code was transmitted to the machine. If this command is not selected, only the final line of code in the transmitted block is highlighted. Feedrate Override gives you an alternative to using the feeds specified in the NC program. With this command selected, you can turn the Feed Override knob on the Machining Center to increase or decrease the feed rate while the NC program is running. The switch will override the X, Y and Z feeds, as well as the Override Feed specified in the Set Jog Feed dialog box. Before running a program with Feedrate Override selected, make sure the Feed Override switch on the machining Center is set at approximately mid-range. This will closely approximate the feed specified in the NC code. Adjustments can then be made, either up or down in value. Feed Override allows adjustment of the feed rate from 0% to 200% of the programmed feed rate.
3-44
Section 3
Startup Mode This allows you to select which screen youd like the software to start up with. You may select either the Edit window or the Manual Control Panel. This will not take affect until you restart the program. Units The proLIGHT Machining Center supports both inch and metric measurements. The currently selected measurement mode is displayed in the Position window. Other Preference Options Enforce Soft Limits gives you the option of using or ignoring the Soft Limits you set up with the Set Limits command. Lock Files When Opened protects newly opened files from being changed. This is handy if you want your NC files to be used as r e a d o n l y files.
Current parameters are written to the directory containing the Control Program files. The next time you run the Control Program, the parameters and preferences will be unchanged from the previous session.
Prompt to Save Machine State will prompt you to save the current parameters, such as the Jog Feed and Distance, and the current X, Y and Z position, as well as the preferences you set. If you do not select this command, the system will automatically save all the parameters and preferences for you. When you select this command, the computer prompts you to save the parameters when exiting the software.
3-45
The Tools dialog box allows you to specify tools and establish individual Z axis offsets for each tool. You may assign offsets for up to 20 tools. Name allows you to enter a description for this tool. Your description can be up to 15 characters long. Diam is used to specify the diameter of the tool displayed during tool path verification. Z Offset is used by the computer to compensate for different tool lengths while running a program. When you select a tool from the Tools list, the name of the tool appears in the Name box. You can type in any name you like. For instance, if the first tool youll use for your NC program is a 1/4inch end mill, select Tool 1 then select the Name box and type 1/4 End Mill. Use -[position] establishes tool offsets. For more information on tool offsets and multiple tool programming, refer to Section 6.
3-46
Section 3
Select an offset number or set the offset value in the Offset Box. To set the offset value, double-click on an offset number from the scrolling Offset window. A check marks appears to the left of the offset number. Enter the offset value in the Offset Box and select ok.
3-47
The machine shuts down if it trips a soft limit. This is helpful when working with devices such as robots, or when you have installed fixtures within the normal work area that you dont want the tool to hit. WARNING Soft limits are based on Machine Coordinates. You should only enable soft limits if you Home the machine, establishing the proper Machine Coordinate system. Soft limits do not function properly if the machine has not been homed.
3-48
Section 3
Caution: Be careful when mixing use of Coordinate Systems and G92 codes. If you use a G92, your coordinate systems will be offset.
To machine the first part, we called out a G54 (coordinate system one) at the beginning of the main program. We used an M98 to call the subprogram that does the actual machining. When the machining is finished, we are returned to the main program by the M99. After returning to the main program, we execute a G55 (coordinate system two command). We called out the subprogram again to machine the same part, but at a different position on the workpiece. You can repeat this cycle in your part program for each part (up to six parts, using six coordinate systems).
3-49
You must set up multiple coordinate systems before you run your NC program. When you select Coord. Systems from the Setup Menu, the following dialog box appears.
Note: There are G codes that perform similar functions: A G27 performs a check reference point. A G28 performs a set reference point. A G53 performs a rapid to the coordinates specified, in machine coordinates (e.g. G53X0Y0Z0 rapids to reference point).
The set reference point button homes the machine to the machine position to 0,0,0. When you select set reference point, the following message appears:
If you select OK, the machine moves to the negative X axis limit, positive Y limit, and the positive Z limit. The PLM2000 uses a fixed home position (0,0,0) as a reference point. You must set the reference point before setting up any alternate coordinate systems or before using soft limits.
3-50
Section 3
The move to reference point button checks the reference point, similar to using a G27 code. It compares the reported position against zero to see if any position has been lost. When you select move to reference point, the following dialog box appears:
Select OK to move the machine to the reference point. The following dialog box appears:
The remove offsets button sets all coordinate systems back to the reference point of 0,0,0 (machine coordinates). The setup cs button brings up a second dialog box that allows you to enter offsets for alternate coordinate systems. Setting the Coordinate Systems Basically, the process for setting up multiple coordinate systems is similar to setting up multiple tools. First youll want to establish the reference point from which the alternate coordinate systems are offset. Select the set reference point button. A dialog box appears, asking if you wish to move the tool to the home position, 0,0,0. Select ok. Unless it is already there, the machine moves to its fixed home position.
The proLIGHT 2000 Control Program
3-51
To open the Offset from Machine Zero dialog box you can: select a coordinate system with the mouse, then select the setup cs button, double-click on the coordinate system, or select a coordinate system with the Tab key, then press Enter.
Select coordinate system one, G54 / CS 1. Then select setup cs. The Offset from Machine Zero dialog box appears.
Note: You can also move the machine to a specific position using the Manual Control Panel, then use the use current pos button to automatically enter offsets for a coordinate system.
Enter offset values for all three axes. When G54 is executed in the NC program, the point of origin is offset from the machines home position by the amount you enter in this dialog box. Select ok. The first dialog box reappears. Repeat this process for each successive coordinate system you wish to offset. Using Multiple Coordinate Systems There are actually three coordinate systems for the proLIGHT Machining Center: Machine Coordinates
Machine coordinates are established by Homing the system to establish a point of origin at the ends of travel on the Machining Center. Once established, these coordinates remain fixed. When the Remove Offsets button is pressed in the Coordinate Systems dialog box, all offsets from this fixed position are canceled. World Coordinates
When you use the Set Position command to set a point of origin on the workpiece, you are actually entering a position that is offset from the fixed machine position. The same thing occurs when you use a G92 code. The coordinate system established with this offset point of origin is known as the World coordinate system. World
3-52
Section 3
coordinates are not fixed; they can be established anywhere else on the system by using the Set Position command or by using the G92 code. Work Coordinates
The coordinates established by using the G54 through G59 codes along with the Coordinate Systems command, are the Work coordinates. Work coordinates are offset from the World coordinates. If you do not use World coordinates (if you do not establish a point of origin using either the Set Position command or a G92 code), the Work coordinates are offset from the fixed Machine coordinates.
3-53
Setting Reference Point/Establishing Machine Coordinate System If you plan on using any of the following commands . . . G27, G28, G29, G53, G54, G55, G56, G57, G58, G59, and Soft Limits . . . you should perform a Set Reference Point from within the Coordinate Systems dialog box every time you start up the Control Program, especially after the machine has been shut off.
3-54
Section 3
3-55
3-56
Section 3
Section 4: Tutorial
Starting the Control Program Safely Running the Machining Center Running a Sample NC Program
Tutorial
4-1
The correct sequence for running the proLIGHT 2000 Machining Center with your computer is: 1. 2. 3. 4. Make sure the Machining Center is turned off. Turn your computer on and allow it to boot up fully. Turn on the Machining Center. Run the Control Program.
The procedure for running the Control Program is: 1. At the C:> prompt, change from the main directory to the directory containing the proLIGHT files. Type: CD\PLM2000 and press the Enter (or Return) key. (If you made up your own directory name when you installed the proLIGHT Control Program, type CD\ then enter your own directory name and press Enter.)
Note to 4th Axis Rotary Positioner users: The start up procedure is slightly different for starting the Control Program when using a Rotary Positioner. See Section 6 for details. This is how the main screen looks when you first start up the Control Program.
2. When youre in the proper directory, type PLM2000 at the C:> prompt and press Return. 3. When the proLIGHT Control Program is running, the main screen appears.
4-2
Section 4
Having a Problem?
If the following screen appears when you start up the Control Program, check your installation connections and make sure the Machining Center is turned on.
After checking the connections, you can select Retry to start the program. Otherwise, you can select Simulate to use the Control program without communicating with the Machining Center, or select Quit to exit the Control Program and return to DOS. If you are experiencing other start-up problems, check the items listed below. Are the computer and monitor plugged into a wall outlet? Is there power to the wall outlet? Is the monitor correctly connected to the computer? Are all interface connections secure? Are the monitor and computer turned on? Have you specified the correct directory? If you are using a mouse, was the mouse driver software loaded before the proLIGHT Control Program software? Do you have enough memory on the computer to run the Control Program? Make sure there are no other programs running before starting up the Control Program. If you still experience start up problems after checking the above items, refer to your P C O w n e r s M a n u a l and the DOS R e f e r e n c e G u i d e for additional information on loading software.
Tutorial
4-3
Safety Rules
All operators of the proLIGHT 2000 Machining Center should practice the following safety rules. Remove Adjusting Keys and Wrenches Make a habit of checking that keys and adjusting wrenches are removed from the Machining Center before operating the machine. Do Not Force a Tool Select the feed rate and depth of cut best suited to the design, construction and purpose of the cutting tool. It is always better to take too light a cut than too heavy a cut. Use the Right Tool Select the type of cutting tool best suited to the milling operation. Dont force a tool or attachment to do a job it wasnt designed to do. Secure the Workpiece Be certain that you have firmly secured the workpiece on the cross slide and the cutting tool in the spindle before turning on the spindle motor. Turn the Spindle By Hand Before Starting Manually turning the spindle allows you to safely determine that the tool will not hit the Machining Center bed, cross slide, or stock on start up. Tighten All Holding, Locking and Driving Devices Tighten the work holders and tool holders. Do not overtighten these devices. Over-tightening may damage threads or warp parts, thereby reducing accuracy and effectiveness.
For the proLIGHT 2500: Use only tools rated for use with 42,000 rpm spindles or higher. Never use shank tools or any tool with a diameter larger than 3/8" with the proLIGHT 2500.
4-4
Section 4
Before you run the proLIGHT Machining Center for the first time, you should know how to stop the machine should an emergency situation arise. There are a number of ways an emergency stop can be initiated on the proLIGHT Machining Center: by pressing the emergency stop button, by pressing a key on the computer keyboard, by activating one of the limit switches, or by activating the safety shield interlock switch. Stopping with the Emergency Stop Button There is an emergency stop button located on the front panel of the proLIGHT Machining Center; it has an oversized red cap. Before power can be applied to the proLIGHT Machining Center, the emergency stop button must be pulled fully out from the front panel. The full-out position allows power to be supplied to the Machining Center. In the event that a tool crashes into the workpiece, you can immediately kill power to the Machining Center by pushing in the emergency stop button. Pushing in the emergency stop button terminates the part program. Wait until the Machining Center has completely stopped moving before opening the safety shield. When the tool crash has been cleared and the emergency stop button is reset (pulled back out), press the Return (or Enter) key on the computer keyboard to exit the program. Edit the part program to remove the cause of the tool crash before running the program again. Reset the tool position using the Set Position command from the Setup Menu (see Section 3). Stopping with the Computer Keyboard To stop the part program with the keyboard, press the Space Bar, or the Q key. In the Manual Control Panel, press the ESC key or the Space Bar to stop machining. The machining stops immediately and the cutting tool remains in position. To restart the program from a keyboard-generated emergency stop, press Return on the keyboard. Select Run from the Main Menu to begin the operation again.
Tutorial
4-5
Stopping with a Limit Switch The proLIGHT Machining Center is equipped with limit switches to sense the end of travel. If the table travel exceeds the end of travel on any axis, a limit switch is activated and shuts down machine operation. Once a limit switch is activated, the tool must be jogged a w a y from it using the Manual Control function of the Control Program (see Section 3). To move the cross slide away from the limit switch, you must jog it in the opposite direction. Each axis has a positive and a negative limit. If a p o s i t i v e limit is hit, you must jog away from it in a n e g a t i v e direction. If a n e g a t i v e limit is hit, you must jog away from it in a p o s i t i v e direction. If both a positive and a negative limit are hit, you can jog off them in any direction on any axis. If the cross slide comes close enough to the end of travel on any axis to activate a limit switch, the following procedure must be followed to restore normal operation. 1. Select Manual Control from the Run Menu. 2. Press the appropriate jog key on the keyboard, or click on the jog keypad, to move the cross slide away from the triggered limit switch. 3. Press the ESC key to return to Edit Mode. 4. Check your initial machine set up to make sure it was done correctly.
4-6
Section 4
A dialog box appears with a list of the files in the PLM2000 directory.
Tutorial
4-7
2. Select and open the MILLONE.NC file. The NC program appears in the Edit window. The message bar on the bottom of the screen shows you the number of blocks in the program and how much memory is free.
4-8
Section 4
When the Preferences dialog box opens, simply click on the measurement mode youd like to use, then click on ok.
Tutorial
4-9
+Z
Tool
+Y
(0,0,0)
Point of Origin
2. Select Manual Control from the Run Menu and jog the spindle to the approximate X and Y zero points, then jog to approximately the zero point of the Z axis. (See Section 3 for instructions on using the Manual Control Panel.)
+X
To move the tool to the 0,0,0 point on the workpiece, first select Manual Control from the Run Menu.
Click on the Jog Keypad with the mouse or use the corresponding keys on the keyboard to move the tool.
4-10
Section 4
3. Select Set Position from the Setup Menu and set the X, Y and Z positions to zero.
To set the position for all three axes to zero, first select Set Position from the Setup Menu.
When the Set Position dialog box appears, enter zero for each of the axes, then click on Ok.
4. Review the safety checklist in Appendix C of this guide. Make sure that all of the safety guidelines have been met.
Tutorial
4-11
7. A dialog box appears. The default starting block is block zero, so just press Return.
4-12
Section 4
8. The Run Program screen appears and the program pauses with the G05 code in block N2. Press Return to continue the program.
Watch the Run Program screen and the Machining Center motions while the program runs. Be prepared to press the Space Bar or the Emergency Stop button on the Machining Center if necessary. If any errors occur, you must stop the program, check your set up and dry-run it again.
Press Return to run the program. 9. When the program has been through a successful dry run, press the Emergency Stop button. 10. Open the safety shield and mount the 3" x 2" machinable wax stock.
Tutorial
4-13
Before executing the MILLONE.NC program, check that all safety precautions have been taken. The Machining Center safety shield should be in the upright position, and you should be wearing safety glasses. If anything goes wrong, immediately press the Space Bar on the computer keyboard, or the Emergency Stop button on the Machining Center to stop the operation. A safety checklist has been provided in Appendix C of this guide. Post a copy of this checklist near the Machining Center and review it before you run any NC program. To run the program: 1. After reviewing the Safety Checklist, select Run Program from the Run Menu. 2. Make sure that zero is selected as the start block, and press Return to begin running your program. 3. After the part is machined, press the Emergency Stop button before opening the safety shield and removing the finished part.
Your finished part should look similar to the part shown here.
4-14
Section 4
5-1
If the machine is currently set for inch units, the individual words in this block translate as:
N0
This is the block sequence number for the program. Block 0 is the first block in the program. This indicates absolute coordinates are used to define tool position. This specifies linear interpolation. This specifies the X axis destination position as 0.5". This specifies the Y axis destination position as 1.5". This specifies the Z axis destination position as 0". The cutting tool will move to the absolute coordinate position (0.5,1.5,0). This specifies a feed rate of 1 inch per minute, the speed at which the tool will advance to the specified coordinate points.
Section 5
G90
F1
5-2
Categories of NC Code
There are many categories of NC code used for programming the proLIGHT Machining Center. Each category is identified by an address character that has a special meaning. Here is a list of the address characters supported by the proLIGHT Machining Center (in order of their appearance in a block).
/ \ Optional skip Skip
% Incremental arc centers (Fanuc) N Block number (for user reference only) O Subprogram starting block number G Preparatory codes X X axis motion coordinate U Incremental linear axis parallel to the X axis (for absolute dimensioning) Y Y axis motion coordinate V Incremental Y motion dimension for absolute dimensioning Z Primary Z motion dimension W Incremental Z motion dimension for absolute dimensioning A A axis coordinate (see Rotary Positioner information in Section 6) I J Arc center, X axis dimension (circular interpolation) Arc center, Y axis dimension (circular interpolation)
K Arc center, Z axis dimension (circular interpolation) R Arc radius for circular interpolation, and drilling start location Q Peck depth for pecking cycle H Input selection number/Tool length offset D Compensation offset value L Loop counter for subprograms and program cycle counter F S Feed rate in inches per minute, or dwell time in seconds Spindle speed
T Tool specification M Miscellaneous functions P CNC Programming Codes ; Subprogram reference number/Uniform scale multiplier Comment (open parenthesis can also be used)
5-3
$
Note: The optional skip (/) code works only when the Optional Skip parameter from the Run Settings dialog box is on.
Optional Skip ( / )
The optional skip code allows you to optionally skip blocks of code as the NC program executes. Make sure to activate the Optional Skip parameter in the Run Settings dialog box, then place a forward slash ( / ) in front of the block you want to skip. With Optional Skip off, the slash is ignored and the block of code is executed. With optional skip on, the slash is recognized and the block of code is skipped. If you place a number after the optional skip code, the program executes that block every nth pass. For example: /5G28; Homes every fifth pass
Skip (\)
The skip code works like the optional skip, except that it works even if the Optional Skip parameter from the Run Settings dialog box is off.
5-4
Section 5
The G codes supported by the proLIGHT Control Program fall into a number of groups: the Interpolation Group, the Units Group, the Plane Selection Group, the Wait Group, the Canned Cycles Group, the Programming Mode Group, the Preset Position Group, the Compensation Functions Group, the Coordinate System Group, the Feed Functions Group, and the Polar Programming Group. The Interpolation Group These G codes are retained until superseded in the program by another code from the same group. Four interpolation G codes are supported: G00 G01 G02 G03 Rapid traverse Linear interpolation (default) Circular interpolation (clockwise) Circular interpolation (counterclockwise)
Units Group There are two G codes to denote units of measure, G70 (inch) and G71 (metric). These codes tell the Machining Center which unit of measure you are using. They are placed at the beginning of the program before any moves are made. Only one of the two codes can be used per block. You can also use the Fanuc equivalents, G20 (inch) and G21 (metric). Plane Selection Group This group of codes allows you to select different planes for circular interpolation, rotation, and cutter compensation. G17 is the proLIGHT Control Program default. The supported Plane Selection Group codes are: G17 Select the X, Y plane for circular interpolation. Use this code if you are switching back to the X,Y plane after circular moves on the X, Z or Y, Z planes. The arc center coordinates are given by I for the X axis and J for the Y axis. Select the X, Z plane for circular interpolation. Use this code to perform circular interpolation on the X, Z plane. The arc center coordinates are given by I for
5-5
G18
the X axis and K for the Z axis. G19 WARNING Do not use G04 for tool changes in the middle of a program; use G05 or M06 for this purpose. Select the Y, Z plane for circular interpolation. Use this code to perform circular interpolation on the Y, Z plane. The arc center coordinates are given by J for the Y axis and K for the Z axis.
Wait Group Wait Group codes apply only to the block in which they appear. Multiple Wait Group G codes should be placed on several different lines. The supported Wait Group codes are: G 0 4 Dwell (wait): Equals the value of the time (F code) in seconds (used primarily for robotic operations). G04 excludes motion commands with a new feed rate on the same line (block). G 0 5 Pause: Used for operator intervention. G 2 5 Wait until robot input goes high. Used in conjunction with H code, which specifies the input number. Used for robot synchronization. G 2 6 Wait until robot input goes low. Used in conjunction with H code, which specifies the input number. Used for robot synchronization. G31 Linear move to specified coordinate. Stop short if specified input goes High (if H is positive) or Low (if H is negative). Move until an input is triggered or until a coordinate is reached.
G 1 3 1 Stop Z axis motion on input (INROB1 ON) during digitizing. You should only use this code with Light Machines digitizing package. Canned Cycle Group Canned cycle codes allow you to perform a number of tool motions by specifying just one code. For detailed information on using these codes, refer C a n n e d C y c l e P r o g r a m m i n g in this section. Canned cycles are retained until superseded in the program by another canned cycle code. These are the canned cycle codes supported by the proLIGHT Machining Center:
Section 5
5-6
cancel. drilling. straight drilling with dwell. peck drilling. tapping. boring. boring with spindle off (dwell op-
Programming Mode Group Programming mode G codes tell the Machining Center which programming mode to use; G90 for absolute, or G91 for incremental. These codes remain in effect until superseded by each other. The default code on program start up is G90. With absolute programming, all X, Y and Z coordinates are relative to the 0,0 point on the Machining Center. With incremental programming, each motion to a new coordinate is relative to the previous coordinate. Preset Position Group The preset position G codes move the tool to a predetermined position. They apply only to the current programming block. These are the preset position codes supported by the proLIGHT Machining Center: G 2 7 Check reference point: Compares reported position against zero to see if any position has been lost. G 2 8 Set reference point: This code moves the machine to its home position and sets the machine position to 0,0,0. The G28 code performs an automatic calibration of the axes. G 9 2 Preset position: This code works like the Set Position function under the Setup Menu (see Section 3). The X, Y and Z coordinates following a G92 code define the new current position of the tool. G 9 8 Rapid move to initial tool position after canned cycle complete ( s e e C a n n e d C y c l e P r o g r a m m i n g in this
CNC Programming Codes
5-7
section.) G 9 9 Rapid move to point R (surface of material or other reference point) after canned cycle complete. Compensation Functions Group G39 G40 G41 G42 G43 G44 G45 G46 G47 G48 G49 G50 G51 G68 G69 Corner offset circular interpolation. Cancels cutter compensation. Left cutter compensation: Enables cutter compensation to the left of programmed tool path. Right cutter compensation: Enables cutter compensation to the right of programmed tool path. Tool length offset: Shifts Z axis in a positive direction by a value specified by an H code. Tool length offset: Shifts Z axis in a negative direction by a value specified by an H code. Increases the movement amount by the value stored in the offset value memory. Decreases the movement amount by the value stored in the offset value memory. Increases the movement amount by twice the value stored in the offset value memory. Decreases the movement amount by twice the value stored in the offset value memory. Cancels tool length offsets. Cancels scaling. Invokes scaling. Invokes rotation. Cancels rotation.
5-8
Section 5
Coordinate System Group Coordinate system codes allow you to create multiple parts by establishing multiple coordinate systems on one work piece. For instance, you can run a part program using a typical coordinate system (with the point of origin on the surface of the front left corner of the workpiece), then select another coordinate system which has its origin at a different point on the surface of the work piece. There are seven coordinate system codes. One of these codes (G53) is used to rapid to specified coordinates, while the other six allow you to make up to six individual parts on the same work piece by specifying different coordinate systems for each part. The coordinate system codes are G54 (coordinate system 1), G55 (coordinate system 2), G56 (coordinate system 3), G57 (coordinate system 4), G58 (coordinate system 5) and G59 (coordinate system 6). For a more detailed explanation on using coordinate system codes, refer to Section 3. Polar Programming Group These two codes, G15 and G16, allow you to perform operations based on polar coordinates. The polar coordinates are defined by X (radius) and Y (angle in degrees) when programming for the X,Y plane. For more information on using these G codes, refer to P o l a r P r o g r a m m i n g in this section.
Note: Do not place absolute and incremental commands in the same block. For example: G90X1V1 will not produce the expected motions.
5-9
Note: Full circles (360o arcs) cannot be performed with an R code. Split the arc into two arcs or use center point (I, J and K) values for full 360o circles.
5-10
Section 5
5-11
The L code is a loop counter for subprograms, as a program cycle counter, and to specify tolerance with homing commands and arc resolution.
5-12
Section 5
M00 P a u s e : Allows you to place a pause in your code. Acts like a G05 pause. M 0 1 O p t i o n a l S t o p : Allows you to place an optional stop in your code. Place an M01 in the block of code where you would like to pause. With Optional Stop on, the M01 works like an M02 stop. With Optional Stop off, the M01 code is ignored, the other codes on the block are executed as usual. M02 E n d o f P r o g r a m : Takes effect after all motion has stopped; turns off drive motors, spindle and accessory outlets. M03 Spindle Motor On: Activated concurrently with motion specified in the program block; remains in effect until superseded by M05. M05 S p i n d l e M o t o r O f f : Activated after the motion specified in the program block; remains in effect until superseded by M03. M06 T o o l C h a n g e : Used in conjunction with a T code to perform multiple tool operations. See Section 6. M08 ACC1 On: Turns on accessory ACC1 outlet concurrently with the motion specified in the program block; remains in effect until superseded by M09. M09 ACC1 Off: Turns off accessory ACC1 outlet after the motion specified in the program block; remains in effect until superseded by M08. M 1 0 Clamp ACC2: Closes air vise accessory concurrently with the motion specified in the program block; remains in effect until superseded by M11. M 1 1 Unclamp ACC2: Opens air vise accessory after the motion specified in the program block; remains in effect until superseded by M10. M20 Chain to Next Program: This code appears at the end of a part program and is followed on the next line by the file name of another program which is executed when all motion stops. Heres an example of a part program N37Z.2 chain to another program:
N38M20 PROGRAM TWO
If the two programs you are chaining are not in the same directory, you must specify the full path name for 5-13 each file.
M22 Write to file: Outputs machine coordinates to a file. The proper format for using this code is: M22(f i l e n a m e). The first time the Control Program encounters an M22 code, it opens your specified file. Youre basically naming the file as you create it. You must enclose the name of the file in parentheses for the Control Program to recognize it. If the file name is followed by ,A (e.g., test.nc,A), the Control Program does not delete previous information from the file, rather it appends the information to the end of the existing information If you use more than one M22, only the first occurrence must have the file name in the parentheses. The remaining M22s may have empty parentheses, ( ). M25 S e t r o b o t o u t p u t o n ( H i g h ) : Use for robot synchronization. Used in conjunction with H code to specify output number. M26 S e t r o b o t o u t p u t o f f ( L o w ): Use for robot synchronization in conjunction with H code to specify output number. M30 P r o g r a m s t o p : Same as M02. M47 R e w i n d : Restarts the currently running program; takes effect after all motion comes to a stop. M98 C a l l t o s u b p r o g r a m M99 R e t ur n f r o m s u b p r o g r a m : Returns you to the block following the initial M98 command. Go to: Used with P code. P code defines N or O code destination. Goes to first occurrence of N or O code within the main program. M 1 1 1 Arc as Linear Segments: Causes the proLIGHT 2000 to make arcs as linear segments. Use with Helical Interpolation. M 1 1 2 True Arcs: Causes the proLIGHT 2000 to make true arcs. Opposite of M111. M 1 2 2 O u t p u t c u r r e n t p o s i t i o n t o f i l e : Writes current X, Y, and Z position to a data file. Used with G131 for digitizing with Light Machines digitizing package. Similar
5-14
Section 5
to M22.
Comments ( ; or ( )
In addition to the other NC codes, the proLIGHT system allows you to add c o m m e n t s to your NC blocks. A semicolon ; or open parenthesis ( at the end of an NC block indicates that a comment follows. The comment must come after all other NC codes in the block. Comments are ignored when the part program is run. Here is an example of an NC block with a comment:
X0Y0Z0;MOVE TO ZERO POINT
The comment tells us that the X, Y and Z codes in this block command the cutting tool to move to the zero point (coordinate 0,0,0). Comments can be combined with the G05 pause code and M06 tool change code to display messages to the operator during program execution. Here is an example of an NC block with a pause coded comment: M06T2(INSTALL T2, 1/4"
END MILL
This NC block would cause a program pause with a message to the operator to change the tool in the spindle. Comments can be placed on a block without any NC codes to document what is occurring within a program. NC programmers use these comments to annotate their programs.
5-15
A different order may cause unpredictable results. 2. In many cases, a word need not be repeated in the next block (line). The system assumes no change in codes
5-16
Section 5
unless a new code appears. This does n o t apply to: N words, I, J, and K, G04, G05, G25, G26, G92, F used for dwell, M02, M20, M25, M26, M30, M47, M98 or M99. 3. You can use more than one G code in a block; however, you can use only one G code from any one group in a single block. 4. N codes (sequence numbers) are not required in a part program; however, they can be useful in identifying a block when editing a long NC part program. An O code is required to mark the beginning of a subprogram and does not have to be in sequence with the N codes. 5. The first instruction in a part program should move the tool to the starting position. This makes restarts much easier. 6. The last block of a program should move the tool back to the starting position. The tool will then be in position
to start cutting another part. 7. Part programs should reference the zero point with Z0 at
5-17
the point where the tool just touches the work piece. This convention allows for standardization of programming. 8. Before running an NC part program: a . Look for the typical coding error that places two X codes, two Y codes, or two Z codes in the same block. b . Be sure that all required coordinates have been written into appropriate blocks. c. Verify the part program to discover any program errors. d . Run the part program without mounting stock in the Ma-
chining Center to see if the tool movements are logical. 9. The first portion of a part program should turn on the spindle and establish the feed rate. 10. M codes should be placed on separate blocks to avoid confusion over whether an M code is activated during or after a motion command. 11. Double-check all program blocks against your coding sheet to locate and correct typographical errors.
5-18
Section 5
1.0
Typical Tool Movement Using Circular Interpolation
0.5
Start Point (1,0) Center Point
0.5
1.0
ear interpolation:
N5G90G01X.7Y1.2F2
The block sequence number is 5 Coordinates are given using absolute dimensioning Linear interpolation is specified X axis coordinate of end point = .7 Y axis coordinate of end point = 1.2 Feed rate is 2 inches per minute
The G01 code i s required when switching from circular interpolation or rapid traverse positioning back to linear interpolation. If we assume the current position of the tool is X.5, Y.5, the tool movement generated by the above block is something like this: An equivalent movement can be achieved with incremental dimensioning (G91): N5G91G01X.2Y.7F2
Note: The Control Program automatically switches to M111 when it encounters helical interpolation.
from the starting point specified in one block, to an end point specified in the next block. The curvature of motion is determined by the location of the center point (I, J, or K), which must also be specified in the second NC block. The direction of rotation from the starting point determines the actual shape of the arc relative to the spindle axis. A G02 code moves the tool in a clockwise (CW) motion from the starting point. A G03 code moves the tool in a counterclockwise (CCW) motion from the starting point. Here are two typical blocks of NC code using circular interpolation:
N9G90X1Y0;SET START POINT N10G03X0Y1I-1J0F2;COUNTERCLOCKWISE TO X0,Y1
The first block defines the starting point. The second block defines the end point and the center of the arc. Broken down into individual words, the second block reads:
In the example program above, the tool plunges into the workpiece then makes the helical interpolation move to the back corner of the stock (X0Y2Z0). Here the movement is shown in Front View N10 G03
The block sequence number is 10 The tool will proceed in a counterclockwise direction from the starting point to specified (X, Y) coordi-
5-20
Section 5
X1 Y0 I-1 J0 F2
nates; center point of arc is specified by (I, J) coordinates X axis coordinate of end point = 0 Y axis coordinate of end point = 1 I coordinate of center point of arc = -1 J coordinate of center point of arc = 0 Feed rate is 2 inches per minute
The tool path generated by the preceding block is something like this: An equivalent movement can be achieved with incremental dimensioning (G91): N9G91X1Y0;SET START POINT
N10G03X-1Y1I-1J0F2
In this NC block, the X and Y values are the distance the tool is to move from its current position. In both cases, the I and J values are equal to the X and Y distance from the start point to the center point.
5-21
tion of the tool. The I and K values are the incremental location of the center point of the curvature of motion.
5-22
Section 5
Rapid traverse can be used for all tool positioning motions. This will reduce the run time for the part program. The G00 code remains in effect until linear (G01) or circular (G02, G03) interpolation is again specified. Linear or circular interpolation resumes at the feed rate last specified prior to the rapid traverse motion(s) unless you specify a new feed rate. Heres a sequence of typical NC blocks using rapid traverse:
G90G01X1F2; MOVE IN A STRAIGHT LINE TO X = 1 AT 2 IPM G00X2; RAPID TRAVERSE TO X=2 X3; RAPID TRAVERSE TO X=3 G01X4; MOVE IN A STRAIGHT LINE TO X=4 AT 2 IPM
If we specified a G99 here instead of a G98, the tool would rapid to point R instead of the initial point.
Canned cycle cancel Straight drilling Straight drilling with dwell at bottom Peck drilling Tapping cycle Boring cycle Boring cycle with spindle off (dwell optional) Boring cycle with dwell
codes: G98 G99 K Code P Code Rapid to initial position after canned cycle complete; this is the system default Rapid to point R after canned cycle complete Specifies the number of repeats. The default is 1. When K=0, drilling data is stored. Specifies the length of dwell time in seconds.
Q Code Specifies the depth of cut. In peck drilling each peck uses the same Q value. The Q value is always positive. If a negative value is specified, it is converted to a positive value. R Code
5-24
Used for specifying a starting reference point for peck drilling. The point can be at the material sur-
Section 5
G99 returns the tool to point R. Use G98 with the G83 to return the tool to the initial point at the end of the canned cycle.
Using G80
To cancel a canned cycle, use the G80 code. This code cancels the currently running canned cycle and resumes normal operation. All other drilling data is canceled as well. You can also cancel canned cycles by using a G00 or G01 code; a G80 is automatically performed before the G00 or G01.
Using G81
The G81 code performs straight drilling operations. By specify-
5-25
ing an R value of zero, the tool will return to the initial point after drilling to point Z. Here is a sample G81 program.
G0X1Y1Z.1;RAPID TO 1, 1, .1 G81G98Z-.5R0F2;DRILL TO DEPTH OF -.5, RAPID TO INITIAL POINT G80;CANCEL CANNED CYCLE M2;END PROGRAM
This program will generate tool motions similar to this: More than one canned cycle can be accomplished by specifying only X and Y coordinates. For example:
G0X1Y1Z.1;RAPID TO 1, 1, .1
If G99 were specified instead of G98, the tool would not rapid back to the initial point. It would remain at point R.
G81G98Z-.5R0F2;DRILL TO DEPTH OF -.5, RAPID TO INITIAL POINT X.5Y1;PECK AT NEW X,Y COORDINATES If a dwell is not specified (P code not used), a G05 pause is executed after the spindle stops at the bottom of the hole. X.25Y1;PECK AT NEW X,Y COORDINATES G80;CANCEL CANNED CYCLE M2;END PROGRAM
Using G82
A G82 works just like a G81, except it is used when you wish to incorporate a dwell (P code) at the bottom of the hole (point Z). A block of code utilizing the G82 and P code, and the tool motion it creates are shown below.
G0X1Y1Z.1;RAPID TO 1, 1, .1 5-26
Section 5
If G99 were used with the G86, the tool would not rapid back to the initial point. It would go to point R.
G82G98Z-.5R0P5F2;DRILL TO DEPTH OF -.5, RAPID TO INITIAL POINT AFTER A DWELL OF FIVE SECONDS G80;CANCEL CANNED CYCLE M2;END PROGRAM
Using G83
The G83 code is used for peck drilling cycles. By adding a Q depth to the code block, you can specify drilling increments. For instance, the following code will peck drill to a depth of -.5 in .1 increments. The tool will rapid back to point R after each peck drill. Also, before each peck the tool will rapid to .005 (.13mm) above the start point.
5-27
G0X1Y1Z.1;RAPID TO 1, 1, .1 G83G99Z-.5R0Q.1F3;PECK DRILL TO DEPTH OF -.5, RAPID TO R G80;CANCEL CANNED CYCLE M2;END PROGRAM
Using G84
A G84 is used for tapping threads. You specify the depth of the tapped hole. When the tap reaches that depth, it is pulled out in at a rate 1.6 times the rate of insertion (60% faster). The G84 tells the computer to calculate the insertion/extraction ratio. You must use a tapping head with a reversing mechanism when using G84.
Note: The L code is also used as a program cycle counter. For instance, if the last block of NC code in your program is M47L10, the program executes ten times. After the tenth time, the computer ignores the rewind and runs the remainder of the program. G0X1Y1Z.1;RAPID TO 1, 1, .1 G84G98Z-.5R0F2;TAP TO DEPTH OF -.5, RAPID TO INITIAL POINT G80;CANCEL CANNED CYCLE M2;END PROGRAM
Using G85
A G85 specifies a boring cycle. After the tool plunges, it retracts at the same feed to point R. This sometimes gives a better surface finish on the hole. Then the tool rapids to the initial point.
G0X1Y1Z.1;RAPID TO 1, 1, .1 G85G98Z-.5R0F2;BORE TO DEPTH OF -.5, RAPID TO INITIAL POINT FROM POINT R G80;CANCEL CANNED CYCLE
Note: You can also perform an M99P"block number" at the end of the subprogram. This returns to the main program at the specified block. Its like a return with a go to.
M2;END PROGRAM
Using G86
A G86 works like a G82 except the spindle stops at the bottom of the hole. The dwell (optional) allows the spindle to come to a complete stop before the tool rapids back to the initial point.
G0X1Y1Z.1;RAPID TO 1, 1, .1
5-28
Section 5
G86G98Z-.5R0P5F2;DRILL TO DEPTH OF -.5, SHUT OFF SPINDLE, RAPID TO INITIAL POINT AFTER A DWELL OF FIVE SECONDS G80;CANCEL CANNED CYCLE M2;END PROGRAM
Using G89
The M98 calls the subprogram that begins on block O1000 (referenced by P1000) and tells it to repeat five times.
The G89 code works like the G85 except it utilizes a dwell at the bottom of the hole.
G0X1Y1Z.1;RAPID TO 1, 1, .1 G89G98Z-.5R0P5F2;BORE TO DEPTH OF -.5, PAUSE FOR FIVE SECONDS THEN RAPID OUT FROM POINT R G80;CANCEL CANNED CYCLE M2;END PROGRAM
Subprogram Programming
Subprograms are used to execute repetitive routines in an NC program. Since a subprogram can be called again and again, you dont have to enter the same data more than once. This is especially useful if the machining operation you wish to repeat is lengthy or complex. The NC codes used for subprogramming on the proLIGHT Machining Center are: M98 Call to subprogram.
5-29
M99 P Code
Return from subprogram. The P code is used to reference the first block of the subprogram (which begins with an O code). The P code immediately follows an M98. The L code is used as a loop counter when used in sub-programming. The computer executes the subprogram as many times as defined by the L code. For instance, if the code L5, the subprogram is executed five times. (optional)
L Code
O Code The O code replaces the N code on the first block of a subprogram. A subprogram is c a l l e d by an M98 and a P code. When an M98 calls the subprogram, the main program is interrupted while the subprogram is executed. The P code references the subprograms address (the first block of the subprogram). The first block of the subprogram uses an O code instead of an N code for block numbering. When the M99 is executed, the main portion of the NC program continues to execute from the block after the subprogram was called. Subprograms can also be n e s t e d within other subprograms. This means that while a subprogram is being executed, it can call another subprogram. Subprograms can be nested up to 20 levels deep.
A Sample NC Subprogram
G05 M03S1000 ; SAMPLE OF SUBPROGRAM ; USE 7.25 X 3.00 STOCK FOR VERIFY G0X1Y1Z.1; RAPID TO 1, 1, .1 M98P1000L4; RUN SUBPROGRAM 1000 FIVE TIMES G90G0X0Y0Z.1 M2; END OF MAIN PROGRAM O1000; SUBPROGRAM TO MILL SQUARE AND MOVE TO NEXT POINT G90G1Z-.1F2; PLUNGE AT CURRENT LOCATION 5-30 G91; INCREMENTAL COORDINATE
Section 5
X1F5; FIRST MOVE, FEED RATE 5 Y1; SECOND MOVE X-1; THIRD MOVE Y-1; FOURTH MOVE G90G0Z.1; RAPID UP ABOVE WORK G91X1.5; RAPID TO START OF NEXT SQUARE M99; RETURN FROM SUBPROGRAM
G28 sets a machine reference point, similar to the set reference point button in the Setup/Select Offsets dialogue box from the Setup Menu.
Polar Programming
Using polar coordinates allows you to specify a radius and an angle by specifying a G16 code (polar programming on), then X and Y codes. The X code specifies the radius. The Y code specifies the angle in degrees. A G15 is used to cancel the polar programming mode. This programming method can be used in both absolute and incremental programming. Polar programming is especially useful when writing programs for machining bolt holes. An L code can be used as a multiplier for the angle value. For instance, this bit of code:
G0X0Y0Z0.07 M03 G16 G91X2Y0 M98P1L12 M2 O1Y30 G81Z-.1R0 G80 M99
combines the use of polar programming with a canned cycle and a subprogram to drill a hole at 30o increments. The L value was determined by dividing 360 degrees by 30. You can also cut an arc using code similar to:
G16 G91X2Y0 M98P1L360 G15 M2
5-31
O1Y1 M99
In polar programming, the center point is the origin if you specify G90 and the radius (X code). The center point is the current center if you specify only the angle (X and Y codes). The center point is the current point if you specify G91 and the radius (X code).
Note: The 4th axis is not included in reference point related functions. Because the 4th axis has no limit or index switches, there is no way to determine a specific reference location.
Using G28
The G28 code homes the machine: it moves the Machining Centers spindle, cross slide, and saddle to the ends of travel along each axis and sets the Machine Coordinate System to (0,0,0). This zero point is located at the positive limits of the Y and Z axes, and the negative limit of the X axis. Use G28 to automatically initialize the machine every time its turned on. See the sample NC program below for one use of the G28 code. Using G28 in an NC Program Here is an example of an NC program using Homing Commands (the Homing Commands and related commands are in bold):
G28; HOMING THE MACHINE M3S1000; SPINDLE MOTOR ON SPEED 1000 G54; USE COORDINATE SYSTEM ONE G0X0Y0z0; RAPID TO O,O,O G1z-0.070F5; CUTTING THE PIECE
5-32
Section 5
The G28 Code homes the machine and sets the Machine Coordinates and World Coordinates to zero. Use a G27 if you want to check the home position, but do not want to set that position to zero. The G54 calls up coordinate system one, which contains the offset values relative to the machines home position. These are the values you entered for coordinate system one in the Offset from Machine Zero dialog box under the Set Coordinates dialog box. The coordinates in the Position Window on the screen change to the coordinates of coordinate system +Y one. The next line (G0X0Y0Z0) calls forReference Point (3.5,4)perform the machine to
In block N1, the tool moves from its current point to the intermediate point, then to the reference point. In block N2, the tool moves from the reference point, through the intermediate point, to the new point established by the G29 code.
(1,1)
(0,0)
+X
5-33
a rapid traverse motion from the Home position to point 0,0,0 in coordinate system one. The remaining lines of code instruct the machine to cut a square in a piece of stock. Using G28 Before Setting Soft Limits Remember, Soft Limits are based on Machine Coordinates. You should only enable Soft Limits after you have set the machine to the Home position using a G28 command. Otherwise, the Machine Coordinate system origin remains as it was the last time the machine was turned on, and the soft limits you have set will not be correct for this coordinate system.
IMPORTANT: The Offset Table you use for Cutter Compensation D values is the same table you use for Tool Offset Adjust D values and Tool Length Offset H values.
Using G27
After you have set a reference point (using either the Set Reference Point button in the Setup Coord. System dialog box or a G28 code, you can use the G27 code to check the ac-
G41
G42
Tool
Tool
tual machine position against the expected machine position. This command causes the machine to perform a homing-like function, moving each axis independently from its current position to the reference point. The Control Program then
5-34
Section 5
Cutter compensation mode begins when the following are met: A G41 or G42 code is commanded. The specified offset number is not 0. A move in any of the axes in the offset plane is commanded. The move is not 0. No arc commands are commanded in the start up block.
compares the current position to the one set by the G28. If the deviation is larger than a threshold you can specify in the SETUP file, the Control Program reports an error is after all axes are checked. If there is no deviation, the program continues. G27 also takes an optional position specified by XYZ. This position is called the i n t e r m e d i a t e p o s i t i o n. You do not need to specify all axes for the intermediate point, but for each axis that you specify the current coordinate for the intermediate point is updated to that value. Only axes that have specified coordinates move when you specify an intermediate point. For example, if the first intermediate point commanded is G27Z.6, the intermediate point motion is only to move the Z axis to .6. The machine first moves to the current intermediate point at rapid traverse, then performs the reference point check.
Using G29
1. This is the programmed tool path before cutter compensation is enabled. The tool sits at the start point waiting for the first motion command.
The G29 code moves the tool at a rapid traverse rate to a coP2
Segment 3
P3
Segment 4
P4
Segment 2
Segment 5
P5 P1
Tool
Start Point
5-35
2. Because segment 1 begins before cutter compensation is enabled, the start point of segment 1 is on the original tool path. When cutter compensation is enabled, the Control Program creates Offset Vectors perpendicular to each segment of the programmed tool path to determine the compensated tool path. Point A1 is located at the intersection of the Offset Vector of segment 2 and a point offset by the value of D on the Offset Vector of segment 1. Point A is located on a path parallel to the tool path, offset by the value of D. Before beginning each motion, the Control Program looks ahead to the next motion in the NC code to determine the compensated end point of the first motion. Using this method, the Control Program determines that point A is the end point of the first motion. The tool moves to point A on the compensated tool path.
A A
1
P2
Segment 3
P3
Segment 4
P4
Segment 2 D1
Segment 5
P5
Segment 1
Start Point
3. The tool moves to the end point of segment 2 (point B) on the compensated tool path. Point B is the intersection of lines drawn perpendicular to the Offset Vectors of segments 2 and 3 with an offset value of D from the programmed tool path.
Tool
P2
Segment 3
P3
Segment 4
P4
Segment 2 D1
Segment 5
P5
5-36
Section 5
4. The tool moves to the end point of segment 3 (point C), which is located at the intersection of lines drawn perpendicular to the Offset Vectors of segments 3 and 4 with an offset value of D. The tool then begins travel towards point D, the end point of segment 4.
P2
Segment 3
P3
Segment 4
P4
Segment 2
Segment 5
A
P1
P5
5. The tool moves to the end point of segment 5 (point E) on the compensated tool path. Point E is a point on the compensated path. (See Canceling Cutter Compensation in this section for more information.)
Segment 3 Segment 4 D
Segment 2
Segment 5
Tool
A E
5-37
Note: When specifying an IJK vector, you must include the G41 or G42 code on the same line.
ordinate specified by XYZ. If you have set an intermediate point on one or more axes, the machine first rapids from the current position to the intermediate point then continues to the specified destination. If you command a G29 code in Incremental mode, your specified XYZ point is relative to the intermediate point. If you have not specified an intermediate point, your specified XYZ point is relative to the current position. Use the G29 code after a G28 command to return the tool to a position closer to the part. The example below shows the use of a G28 code and a G29 code.
Normal Offset Vector (Segment 3) New Offset Vector C
P2 P3
Segment 3
Segment 2
Segment 4 (D1=.25)
P4
P1
Segment 1
Start Point
5-38
Section 5
uses values from the Offset Table (tool radius values) to determine the compensation offset value. Use the following codes for cutter compensation: G39 path Inserts an arc at the corner of compensated
5-39
Cancels cutter compensation Invokes left cutter compensation Invokes right cutter compensation Compensation offset value (Tool Radius Value)
Determine left and right cutter compensation in relation to the direction of the tool path. Use left compensation when you need to move the tool to the left of the programmed tool path. Use right compensation when you need to move the tool to the right of the programmed tool path. Select compensation offset values for D from the Offset Table. You can store 200 offset values in the table. Remember, however, that these offset values are the same values you use for adjusting tool length offsets.
C B D3=.03 Offset Vector
D1=.01
D3=.03
5-40
Section 5
D1 B C D1
D1
D1
G1X0Y-.75; MOVE TO P5
The following illustrations show how the Control Program constructs the compensated tool path for the NC code above:
5-41
the compensated tool path would look like this: The IJK Vector represents an incremental direction (the length of the vector is not important. For example, I1J2<=>I3J6. By default, the end direction vector is tangent to the segment.
Default Offset Vector Tool Default Endpoint (X0,Y1) (D1) Direction (IJK) Vector Offset Vector
Start point
5-42
Section 5
5-43
In this example, the D number changes from 1 to 3 in line N4. Because the value of D3 is greater than the value of D1, the compensated path moves farther away from the programmed path and is at the new D value by the time the
G91G41D1 X.25 Y-.25 Z.2;RETRACT G40X-.5Y-.25 M2
Center of programmed tool path G40 Tool travels along compensated path towards X-.5Y-.25 Tool Center of compensated tool path
You can change the side of compensation sides during cutter compensation. For example, you can start cutter compensation to the left then change to the right while in
5-44
Section 5
cutter compensation:
G91 G41D1X.25Y.25; LEFT CC ON Y.25 G42X.25; RIGHT CC ON Y-.25
In this example, left cutter compensation is on at point A, but right cutter compensation begins as the tool moves towards point B. In this case, the offset value (D) is the same for both left and right cutter compensation. The same situation would occur if you made the offset value negative. For the example above, changing the D value from .01 to -.01 would produce the same result as changing from G41 to G42.
CAUTION: Using a P Code to scale an entire piece may affect the Z axis, which may affect your programmed depths of cuts. Use caution when performing scaling operations.
5-45
In this example, a uniform scaling factor for all axes produces a shape scaled from the original.
Note: If you do not specify any of the coordinates for the scaling center, the current position for unspecified axes becomes the scaling center coordinate.
compensation. 1. G40 2. G40XYZ 3. G40XYZIJK 4. D0 5. D0XYZ 6. G41/42D0XYZIJK In cases 4 through 6 above, setting the offset number to zero is the same as cancelling cutter compensation. Cases 1 and 4 In case 1 the G40 code cancels cutter compensation. The cutter moves from the offset path to the programmed end point. The same occurs in case 4, where you set the D value to zero. Cases 2 and 5 In cases 2 and 5, the G40 (or the D0) cancels the cutter compensation, but a subsequent motion is included in the program. The tool moves towards the programmed path in the direction of X-.5Y-.25.
5-46
Section 5
Cases 3 and 6 In these cases an IJK vector specifies the direction of movement after cutter compensation is cancelled.
CAUTION: Performing Z axis mirroring is an advanced operation. Use extreme caution when machining negative Z values.
Scaling
Use the scaling codes to scale one or more axes of a part from a fixed scaling origin. You can scale the entire piece uniformly, or set different scaling factors for each axis. Use the following codes for scaling: G50 G51 P
In this example, different scaling factors for the X and Y axes produce a shape similar to the one shown on the right. When an arc is scaled differently in the two plane axes (X and Y in G17), an ellipse results. Because the Control Program cannot construct ellipses, it interprets the shape as an arc followed by a line segment move to the desired end point. The Control Program determines the arc by using the smaller of the two scale factors to determine its radius.
5-47
Note: If you do not specify a scale factor for an axis, the value of that axis defaults to a factor of 1
Uniform Scaling Use a P Code to scale an entire piece uniformly along each axis. When you specify a value for P, subsequent motions are scaled by that value, starting from the scaling center. The Control Program measures the distance from the scaling center to the start and end points of the shape, then multiplies those values by the P value.
In this example, negative I and J values create a mirror image of the original shape.
5-48
Section 5
The NC program below creates a half-circle then scales those motions by two to create a larger, uniformly-scaled halfcircle (the scaling codes are in bold print):
N0G0Z.5 N1X1Y1.5 N2G1Z-.1F10 N3G2Y.5J-.5 N4G0Z1 N5G51X1Y1Z0P2; SUBSEQUENT MOTIONS SCALED BY 2 N6G0Z.5 N7X1Y1.5 N8G1Z-.1F10 N9G2Y.5J-.5 N10G0Z1 N11G50; CANCEL SCALING
The values for X, Y, and Z in line N5 represent the absolute position of the scaling center. The P value represents the scale factor. In this example, the entire part is scaled by two. The G50 in line N11 cancels the scaling. Scaling Each Axis You can scale each axis by different magnifications. The following NC program uses scaling to change the proportions of
In this example, G68 rotates a shape 900 from the original. Rotation Origin (1.583, 1.5)
5-49
a motion by scaling each axis separately (the scaling codes are in bold print):
N0G0Z.5 N1X1Y1.5 N2G1Z-.1F10 N3G2Y.5J-.5 N4G0Z1
+R -R
Rotation Origin
Rotation Origin
5-50
Section 5
N5G51X1Y1Z0I1.5J1.75K1; SCALING ON IMPORTANT: When combining the scale and rotate features, always scale the part first, before rotating it. N6G0Z.5 N7X1Y1.5 N8G1Z-.1F10 N9G2Y.5J-.5 N10G0Z1 N11G50; CANCEL SCALING
The values for X, Y, and Z in line 5 represent the absolute position of the scaling center. The I, J, and K values represent the scale factors for the X, Y, and Z axes respectively. When scaling each axis individually, you do not use a P code. Creating Mirror Images with Scaling You can create mirror images of shapes by specifying negative values for I, J, and K. The NC program below uses negative I and J values to create a mirror image of the original shape on the XY plane (the scaling codes are in bold print):
N0G0Z.5 N1X1Y1.5 N2G1Z-.1F10 N3G2Y.5J-.5 N4G0Z1 N5G51X1Y1Z0I-1J-1K1; SCALING ON In this example, scaling and rotation are combined to produce different sized shapes that are scaled and rotated from the original. Only three of the four parts are shown in the example at right; the fourth part is created with the call to subprogram in line N16. N6G0Z.5 N7X1Y1.5
Notice that in this program the P Code is used to reference the first block of the subprogram (not shown in this example). The subprogram contains the code that creates each part.
5-51
N8G1Z-.1F10 IMPORTANT: If your Machining Center is equipped with an Automatic Tool Changer, refer to the ATC Supplement for instructions on using Tool Length Offsets. N9G2Y.5J-.5 N10G0Z1 N11G50; CANCEL SCALING
The values for X, Y, and Z in line 5 represent the absolute position of the scaling center. The I, J, and K values represent the scale factors for the X, Y, and Z axes respectively. Notice the negative I and J values for mirroring on the XY plane. Remember that performing Z axis mirroring is an advanced operation. Use caution when machining negative Z values.
Rotation Codes
Rotation codes allow you to rotate a programmed shape around a rotation origin. You can rotate a shape on any plane, one plane at a time. Use the Rotation code to modify
G44 G43
Longer tools need G43 to retract the spindle from the cross slide, while shorter tools need G44 to move the spindle closer to the cross slide.
Tool Tool
an NC program when a work piece has been rotated from the programmed position on the machine. G68 G69 Invokes rotation Cancels rotation
Here is an example of an NC program using Rotation (the Rotation codes are in bold):
N0G0Z.5 N1X1Y1.5 N2G1Z-.1F10 N3G2Y.5J-.5 N4G0Z1 5-52
Section 5
The X and Y values in line N5 are the coordinates of the rotation origin; the rotation occurs around this point. The R value represents the absolute value of the rotation angle. The G69 in line N11 cancels the rotation. Note that positive R values represent counterclockwise rotation angles; negative R values represent clockwise rotation angles.
Actual Movement
5.5
Commanded Movement
4.0
Offset Value
1.5
5-53
N6M98P100; SECOND PART N7; NOW MIRROR AND SCALE BY 1/2, AND ROTATE 90 CCW N8G69G50
Actual Movement
4.0
Commanded Movement
5.5
Offset Value
-1.5
N9G51X1.583Y0Z0I-.5J.5K1 N10G68X1.583Y1.5R90 N11M98P100; THIRD PART N12; NOW SCALE BY 1/2 AND ROTATE BY 90 CW N13G69G50
Actual Movement 4.0
Commanded Movement
5.5
Offset Value
1.5
Commanded Movement
4.0
3.0
5-54
Section 5
G49 Cancel tool length offset. H Specifies the offset number from the offset table. (The Offset Table you use for Tool Length Offset H values is the same table you use for Cutter Compensation and Tool Offset Adjust D values.) The G43 compensates for a longer tool by retracting the spindle away from the cross slide. The G44 compensates for a shorter tool by moving the spindle closer to the cross slide. The T code normally specifies the tool, its diameter, and offset value. When you include a G43 or G44, the computer ignores the T code offset value and uses the offset you assign to H. Here is an example of the tool length offset code used in an NC program:
M06 G43T2H1
The M06 code stops the machine. The G43 compensates for a tool that is longer than the reference tool. The T2 refers to the tool number and the tool diameter, but not the offset value. The H1 represents the offset value set in the Offset Table.
Use these codes for making critical dimension adjustments 5-55 to the offset values. When you specify tool offset adjust
5-56
Section 5
Quick Change Tooling Installation Multiple Tool Programming Machining with the 4th Axis Rotary Positioner
6-1
There are two Quick Change Tooling Models available from Light Machines for the proLIGHT 2000, ACC-5141 and ACC5140 (Quick Change Tooling is not available for the proLIGHT 2500). The installation procedure for each is described below. Installing the Quick Change Tooling Option on the proLIGHT 2000 Machining Center is a three-step process; installing the tool body in the machine spindle, attaching the cutting tool to the tool holder, and mounting the tool holder to the tool body.
Note: Quick Change Tooling is not available for the proLIGHT 2500.
6-2
Section 6
Draw Bolt
CAUTION: End mills and other cutters are very sharp. Use a shop rag or similar material to hold the tool while mounting it to avoid severe cuts.
Spindle Quick Change Tool Body
spindle taper
Collar
Tool Holder
set screw
Cutter
4. While holding the tool body in place, loosen the draw bolt completely and allow the tool body to drop into your hand. 5. Remove the spindle locking pin. Attaching the Cutting Tool to the Tool Holder 1. Insert the tool into the bottom opening of the tool holder. 2. Tighten the set screw on the side of the tool holder while holding the tool in place. Make sure the set screw is pressing against the flat of the tool.
6-3
Installing and Removing the Tool Holder To mount the tool holder to the tool body: 1. Insert the spindle locking pin (from the Accessory Kit) into the opening on the side of the spindle to keep it from rotating. 2. Screw the collar all the way onto the tool body. 3. Now unscrew the collar approximately 1-1/2 turns. 4. Press the tool holder up into the tool body until it seats into place (This occurs when the two indents on the top of the tool holder align with the locking pins inside the tool body.) 5. Hand-tighten the collar. D o n o t o v e r t i g h t e n ! 6. Remove the spindle locking pin. To remove the tool holder from the tool body: 1. Insert the spindle locking pin (from the Accessory Kit) into the opening on the side of the spindle to keep it from rotating. 2. Hold the tool holder, then unscrew the collar approximately 1-1/2 turns. Remove the tool holder.
6-4
Section 6
WARNING! The lock screw must be tightened for all operations (single or multiple tool) in excess of 3,000 RPM to prevent ejection of the tool body from the machine tool. This will also reduce wear on the holder and may enhance the performance of the machine.
Refer to the drawing below for the location of the parts Draw Bolt referenced in these instructions.
CAUTION: End mills and other cutters are very sharp. Use a shop rag or similar material to hold the tool while mounting it to avoid severe cuts.
set screw
Tool Holder
Cutter
6-5
Installing and Removing the Tool Body To install the tool body into the spindle: 1. Insert the draw bolt and washer (from the Accessory Kit) into the top opening of the spindle shaft. 2. Insert the spindle locking pin (from the Accessory Kit) into the opening on the side of the spindle to keep it from rotating. 3. Insert the tool body into the bottom opening of the spindle until it makes contact with the spindle taper. 4. Screw the draw bolt into the tool body until secure. 5. Remove the spindle locking pin. To remove the tool body from the spindle: 1. Insert the spindle locking pin into the opening on the side of the spindle. 2. Loosen the draw bolt approximately two turns. 3. Use a hammer (preferably brass) to hit the top of the draw bolt to release it from the spindle taper. 4. While holding the tool body in place, loosen the draw bolt completely and allow the tool body to drop into your hand. 5. Remove the spindle locking pin. Attaching the Cutting Tool to the Tool Holder To attach the cutting tool to the tool holder: 1. Insert the tool into the bottom opening of the tool holder. 2. Tighten the set screw on the side of the tool holder while holding the tool in place. Make sure the set screw is
6-6
Section 6
pressing against the flat of the tool. Installing and Removing the Tool Holder To mount the tool holder to the tool body: 1. Insert the spindle locking pin (from the Accessory Kit) into the opening on the side of the spindle to keep it from rotating. 2. Press the release button on the collar of the tool body. While the button is depressed, rotate the collar in a clockwise direction, approximately 1/8 turn, and hold it. 3. Align the indentations on the tool holder with the drive dogs on the tool body, then press the tool holder up into the tool body until it snaps into place. 4. Release the collar. The collar must return to its original position after release. 5. Make sure the tool holder is properly seated. If properly seated, the collar will not rotate in either direction. 6. Remove the spindle locking pin. To remove the tool holder from the tool body: 1. Insert the spindle locking pin (from the Accessory Kit) into the opening on the side of the spindle to keep it from rotating. 2. Loosen the lock screw. 3. Press the release button on the collar of the tool body. While the button is depressed, rotate the collar in a counterclockwise direction, approximately 1/8 turn, and hold it. 4. Wiggle the tool holder out of the tool body. 5. Remove the spindle locking pin.
6-7
Note: The tool height offset sensor does not work if placed on a wax, wood, or plastic surface. You must place the sensor on a conductive surface for it to work.
6-8
Section 6
The proLIGHT 2000 Machining Center allows you to designate up to 20 different tool offsets for tool changes during milling operations. To designate the tool number and Z axis offset, select Set Tools from the Setup Menu. There are four basic steps in setting up the Machining Center for multiple tool operation: G Place the appropriate codes in your NC program. G Establish a reference tool. G Establish the offsets for other tools from that reference. G Test your NC program.
Note: The T code and M06 command can be used independently since they perform different functions. The T code offsets the coordinate system for the tool specified. The M06 code simply retracts the spindle and pauses so you can change the tool.
6-9
6-10
Section 6
After setting all of the tool offsets, dry run your program without a work piece mounted and with the spindle speed turned down (just as you did with the sample single-tool program in Section 4). 1. After installing Tool #1, close the safety shield, put on your safety glasses, and complete the safety checklist. 2. Select Run Program from the Run Menu. Select zero as the start block and select ok. Throughout the test, be prepared to press the emergency stop switch on the Machining Center, or the space bar on the computer keyboard in case of a tool crash. The computer runs the program until it reaches the M06 code. The M06 stops and retracts the spindle. 3. When the spindle has completely stopped and the Pause message appears on the screen, press the emergency stop switch on the Machining Center. 4. Open the safety shield. 5. Remove Tool #1 and install Tool #2, making certain it is securely fastened to the spindle. 6. Close the shield, and pull out the emergency stop switch. Press the Return key on the computer keyboard. The spindle turns on and moves to the previous position. Operation continues as programmed until the next M06 code is encountered. 7. At each pause, repeat Steps 3 through 6, installing the appropriate tool at the appropriate points in the program. 8. Edit the program, if required. When you are satisfied that the program works correctly, mount the work piece, set the spindle speed, and run your multiple tool program.
CAUTION: Do not use collets for tool changing. Use an end mill holder or the Quick Change Tooling option to make sure the tool length protruding from the spindle does not vary each time you load the tool into the spindle.
Note: A Quick Change Tooling option is available from Light Machines Corporation (part number ACC-5140). This package makes manual tool changing quicker and easier.
6-11
The 4th Axis Rotary Positioner is a factory-installed option available from Light Machines Corporation. This rotary positioning device uses a 5C collet system with a manual collet closer and mounts vertically on the Machining Center table. With the Rotary Positioner, you can perform numerous machining tasks, such as simultaneous 4-axis machining, wrapping geometries around cylinders as in cylindrical engraving, and rotary indexing to mill on the sides of a part. When working with a fourth axis there are, of course, differences in both the Control Program software, and the NC programming method to accommodate the additional axis.
Note: You can type SET LMC=/4 at the C:> prompt to set up a permanent command line switch for 4th axis machining. Add the command to your AUTOEXEC.BAT file if you do not want to supply the /4 switch every time you run the Control Program.
screen appears. You can see right away that the Position and Limits Windows have the additional A axis. In fact, wherever the other
6-12
Section 6
Note: To rotate the 4th axis with Keypad, use the Page Up and Page Down keys. Both keys use the current Continuous or Incremental jog settings.
three axes are displayed, you see the A axis displayed. For instance, when you open the Manual Control Panel, the A axis Jog Feed and Distance is displayed just below the Z
axis Jog Feed and Distance. Under the Setup Menu, the commands Set Position, Goto Position, Set Jog Distance, Set Jog Feed, Set Limits and Coordinate. Systems now accommodate the fourth axis in their dialog boxes.
This is the Set Position dialog box for the 4th Axis Rotary Positioner. Other dialog boxes with information or data entry pertaining to the axes look similar to this.
6-13
Programming
Things to keep in mind when using A codes: You can specify more than 360 degrees using the A code. You can perform helical interpolation on the A axis You cant home the A axis. You cant perform G02 or G03 moves with A codes.
The most obvious difference in programming for a fourth axis is in the use of the A code. As with the X, Y and Z codes, the A code follows incremental and absolute programming. If an A code is placed on the same block as an X, Y or Z code, the A axis feed is calculated after the X, Y or Z axis feed so the A motion, in inches per minute, stops at the same place each time (similar to helical interpolation). When an A code is placed on a block without X, Y, and Z codes, the accompanying F code specifies revolutions in degrees per minute, while the A code represents the amount of rotation in degrees. Depending on their position in the NC program, the values for F codes can represent both revolutions in degrees per minute and inches per minute. For example:
N1M3S1500 N2G0X0.8Y0Z0.05A0 N3G1Z-0.125F3; IPM N4G1A360F30; 4TH AXIS MOTION IS 30 DEGREES PER MINUTE N5G0Z0.05 N6G0X0.2A0 N7G1Z-0.125F3; IPM N8G1A360F30; 4TH AXIS MOTION IS 30 DEGREES PER MINUTE N9G0Z0.05 N10G0A0 N11G1Z-.125 N12G1X.8A360F5; 4TH AXIS MOTION IS 5 INCHES PER MINUTE N13G0Z0.050 N14M02
The F codes that accompany the A codes in blocks N4 and N8 represent revolutions in degrees per minute. The F code that accompanies the A codes in block N12 represents revolutions
6-14
Section 6
Chuck End
6-15
Step Block
sources. 2. Loosely assemble the stud, flange nut, toe clamp and a T-nut as shown below. Slide the assembly into position on the cross slide (with the T-nut in the center T-slot of the cross slide). 3. Slide the Rotary Positioner into position (with the T-nut in the T-slot of the cross slide) on the cross slide. The edge of the Positioner should be approximately 1/2" away from the edge of the cross slide. Make sure the base of the Positioner is parallel with the edge of the cross slide.
6-16
Section 6
4. Place the right end of the toe clamp all the way in to the recess on the base of the Rotary Positioner (as shown above). Collet Closure
Handle
1/2"
5. Insert the step block under the left edge of the toe clamp. Make sure the toe clamp is level with the cross slide and tighten the flange nut with an 11/16" wrench. 6. Tighten the nut beneath the collet closure handle (shown
6-17
below) with a 9/16" wrench. 7. Remove the Loop back plug from the Rotary Position connector on the rear of the Machine. 8. Connect the rotaty position cable (CPC-16 connector) to the mating connector on the back of the Machining Center. To remove the Rotary Positioner: 1. Turn off the PLM2000 and disconnect it from all power sources. 2. Disconnect the encoder cable (9-pin D-subminiature connector) and the servo motor power cable (4-pin CPC connector) from the back of the Machining Center. 3. Loosen the two nuts on the studs holding the T-nuts in the T-slots of the cross slide. 4. You can now slide the Rotary Positioner off the Machining Center cross slide.
6-18
Section 6
spindle. 2. Hold the collet in the spindle while adjusting the collet draw bar. 3. Pull the collet closure handle away from the spindle. Check for appropriate tightness. 4. Repeat steps 2 to 4 until you find the appropriate tightness.
6-19
6-20
Section 6
Maintaining the proLIGHT 2000 Maintaining the proLIGHT 2500 Lubricating the 4th Axis Rotary Positioner Maintaining the PC in a Shop Environment
7-1
Ball Screws
The proLIGHT uses pre-loaded ball screws on all three axes. The screws are lubricated at the factory with a special longlife, waterproof ball screw lubricant. This lubricant should last for at least 200-250 hours of machine use. After 200 hours, you can apply more lubricant to the screws in a thin film over the length of the screw. The ball screw lubricant (part number M2006) is available from Light Machines Corporation. To gain access to the ball screws, jog the cross slide and spindle to the extreme negative end of travel on all axes just before the limits are tripped. Remove the bellows cover by removing the two button head cap screws from the bracket holding the bellows at one end. Use a small brush to apply grease sparingly but evenly along the entire length of the ball screw.
Here is the proLIGHT 2000 with the Z axis bellows cover removed to expose the Z axis linear rods and ball screw.
Spindle Head Button Head Cap Screw
Note: If you run your machine continuously (8 hours per day) at high feed rates, you should lubricate your machine every 16 hours of use.
Bellows Cover
7-2
Section 7
The Saddle
The saddle engages the linear rods that are attached to the base of the machining center. A ball screw moves the saddle along the Y axis. The linear rods running through the top of the saddle engage the cross slide. A ball screw moves the cross slide along the X axis. The oil ports for the X axis and Y axis linear rods are located on the saddle.
Linear Slides
The linear slides on the proLIGHT consist of linear rods and linear bearings. It is v e r y i m p o r t a n t that a thin film of lubricant be maintained on the surface of the linear rods to minimize wear. The linear rods will wear very quickly with no lubrication. Lubrication Light Machines provides a small oil can with the Machining Center. Use 10W engine oil for lubricating the linear rods. There are thick oil-impregnated felt pads between the bearings in the saddle which keep a thin film of oil on the linear rods. Each rod (there are six) can be lubricated through its own oil port which is located on the saddle for the X and Y axes, and on the spindle head for the Z axis. You should lubricate the rods every 30 days or 100 hours of use, whichever comes first. When applying oil to the oil ports,
proLIGHT Machining Center Maintenance
7-3
CAUTION: Do not remove the portion of the motor cover that has the wires coming out of it.
pull the trigger on the oil gun very slowly to allow the oil to be soaked up by the felt. Adjustment You can adjust the linear bearings to remove any play in the saddle or spindle. The bearings are factory-adjusted and should not require adjustment for at least 250 hours of use. Be very careful not to over-tighten the bushings because overtightening can cause overworking and overheating of the motor, and excessive wear to the rods, bushings and ball screws. To adjust the linear bushings, follow the steps below. 1. Jog to the extreme positive end of motion on the axis you are adjusting. Stop just before the limit switch trips. Shut off power to the system. Unplug the machine. 2. Remove part of the servo motor cover for the axis you are adjusting. Loosen the screws but do not remove the portion of the cover that has the wires coming out of it. Do not remove the whole cover at once or you may damage the wiring. If you need to use excessive force to turn the lead screw, you have adjusted the bearing too tightly.
Bearing
3. Loosen all eight recessed allen setscrews on the axis you are adjusting. They are located on the four sides of the saddle for the X and Y axes, and on the sides of the spindle for the Z axis. 4. Tighten the two setscrews for each bearing while checking the force it takes to turn the ball screw. Tighten the setscrews (applying approximately 4-8 in/lb of torque) until the force required to turn the ball screw pulley in7-4
Section 7
CAUTION: Adjusting the spindle head is a very precise procedure. Do not adjust the spindle head.
creases when turning it by hand. Then back the setscrews off by 1/8-turn. Repeat this procedure for all four bushings on each axis. 5. Replace the servo motor cover.
Spindle
Two Piece Spindle Head Light Machines ships the proLIGHT Machining Center with a factory-aligned two piece spindle head. You should not attempt to align the spindle head without first contacting Light Machines. Spindle Motor The spindle motor on the proLIGHT Machining Center is a 1hp DC permanent magnet motor. The wearing parts on the motor are the ball bearings on the motor shaft and the brushes. The brushes, although replaceable, have a long lifespan. The ball bearings are sealed, lifetime-lubricated bearings that do not require special maintenance. Checking for Spindle Shaft Play The spindle shaft is pre-loaded against sealed ball bearings that do not require lubrication or user maintenance. You should, however, check the spindle shaft for both radial play (side to side) and axial play (up and down). If the
CAUTION: Adjusting the spindle shaft preload is a very precise procedure. Do not attempt to adjust the preload without first contacting Light Machines for information.
Axial Play
Radial Play
7-5
spindle shaft starts to develop play (or begins to make unusual noises while in operation), contact Light Machines (800-221-2763). To check for play, grip the spindle shaft and push and pull it in each direction along both axes. The spindle shaft should be firm against your pressure.
Belts
WARNING: Always unplug the machine before making adjustments.
Spindle Belt The spindle motor drives the spindle shaft with a serpentine belt. If the belt becomes loose, it will wear out quickly. If the belt is loose, you can feel backlash between the spindle motor shaft and the spindle shaft. To check for backlash, rotate the spindle shaft back and forth slightly and observe the fan inside the motor. Make sure the fan rotates as soon as you reverse the direction of the spindle shaft. If not, there is backlash. The adjustment is a simple operation. To adjust the spindle timing belt: 1. Make sure all power to the system is shut off. Unplug the machine.
Loosen the four cap screws and push the motor backwards
2. Loosen the four socket head cap screws on the base of the spindle motor. 3. Push the spindle motor backwards to remove play from the belt.
7-6
Section 7
4. While holding the motor in place, tighten the four socket head cap screws. 5. Turn the spindle shaft by hand to make sure the spindle moves freely and the spindle motor turns. 6. If everything appears all right, plug the machine back in and turn on the spindle motor. Slowly bring the spindle up to speed. Check for excessive vibration. Axis Drive Belts The axis drive belts are located between the servo motors and ball screws on each axis. Normally, they should not need Warning! Disconnect Power Cord before removing cover. Dangerous voltages are present when machine is connected.
Rotate the cover to the left to expose the drive belt.
adjustment, but you should check every 250 hours. Checking and Adjusting the Y Axis Drive Belt 1. Remove the 7 button head cap screws on the motor box cover. 2. Lift the cover and rotate it 90 degrees. Be aware of the two #10 washers under the cover. These washers are used as spacers in the motor box. Be sure not to lose these washers and remember to re-install them when you are finished checking the belt. 3. Apply approximately 3 pounds of force on the center point of the belt. It should deflect no more than 1/8inch (3mm). If the belt needs adjustment: 1. Remove the two button head cap screws from the bot-
CAUTION: Do not over-tighten the drive belt. Excessive tension will damage the motor shaft.
7-7
tom of the motor box. 2. Gently move the box up and down while pulling back until the box comes off the motor mount. 3. Slide the motor box to the left and down until you have access to the four screws holding the servo motor onto the motor mount.
4. Loosen the four screws. 5. Slide the motor to increase tension on the belt and retighten the screws.
CAUTION: Do not over-tighten the drive belt. Excessive tension will damage the motor shaft.
6. Check the deflection again. Checking and Adjusting the X Axis Drive Belt 1. Remove the two button head cap screws from the top of the motor box and the seven button head cap screws from the bottom of the motor box cover. 2. Pull the motor box back approximately 1 inch until it
7-8
Section 7
comes off the motor mount. Lift the left side of the motor box up and over the motor to expose the drive belt. 3. Apply approximately 3 pounds of force on the center point of the belt. It should deflect no more than 1/8-inch (3mm).
1. Loosen the four screws holding the servo motor onto the motor mount. 2. Slide the motor to increase tension on the belt and retighten the screws. 3. Check the deflection again. Checking and Adjusting the Z Axis Drive Belt 1. Remove the two button head cap screws on the front of the motor box and five of the seven button head cap
7-9
screws on the back. Loosen but leave in place the two bottom screws on the back of the motor box cover. 2. Gently move the box front and back while pulling it up until it is completely off of the motor mount. If the belt needs adjustment: 1. Loosen the four screws holding the servo motor onto the motor mount. 2. Slide the motor to increase tension on the belt and retighten the screws. 3. Check the deflection again.
Note: If you run your machine continuously (8 hours per day) at high feed rates, you should lubricate your machine every 16 hours of use.
Ball Screws
The proLIGHT uses pre-loaded ball screws on all three
Bellows Cover
Here is the proLIGHT 2500 with the Z axis bellows cover removed to expose the Z axis linear rods and ball screw.
7-10
Section 7
axes. The screws are lubricated at the factory with a special long-life, waterproof ball screw lubricant. This lubricant should last for at least 200-250 hours of machine use. After 200 hours, you can apply more lubricant to the screws in a thin film over the length of the screw. The ball screw lubricant (part number M2006) is available from Light Machines Corporation. To gain access to the ball screws, jog the cross slide and
Set Screws (X Axis)
Set Screws (Y Axis) Oil Port Bearing Bearing Set Screws (Y Axis)
spindle to the extreme negative end of travel on all axes just before the limits are tripped. Remove the bellows cover by removing the two button head cap screws from the bracket holding the bellows at one end. Use a small brush to apply grease sparingly but evenly along the entire length of the ball screw.
The Saddle
The saddle engages the linear rods that are attached to the base of the machining center. A ball screw moves the saddle along the Y axis. The linear rods running through the top of the saddle engage the cross slide. A ball screw moves the cross slide along the X axis. The oil ports for the X axis and Y axis linear rods are located on the saddle.
Linear Slides
The linear slides on the proLIGHT consist of linear rods and
proLIGHT Machining Center Maintenance
7-11
CAUTION: Do not remove the portion of the motor cover that has the wires coming out of it.
linear bearings. It is very important that a thin film of lubricant be maintained on the surface of the linear rods to minimize wear. The linear rods wear very quickly with no lubrication. Lubrication We provided a small oil can with your Machining Center. Use 10W engine oil for lubricating the linear rods.
There are thick oil-impregnated felt pads between the bearings in the saddle which keep a thin film of oil on the linear rods. Each rod (there are six) can be lubricated through its own oil port which is located on the saddle for the X and Y axes, and on the spindle head for the Z axis. You should lubricate the rods every 30 days or 100 hours of use, whichever comes first. When applying oil to the oil ports, pull the trigger on the oil gun very slowly to allow the oil to be soaked up by the felt. Adjustment You can adjust the linear bearings to remove any play in the saddle or spindle. The bearings are factory-adjusted and should not require adjustment for at least 250 hours of use. Be
Bearing
very careful not to over-tighten the bushings because overtightening can cause overworking and overheating of the motor, and excessive wear to the rods, bushings and ball screws. To adjust the linear bushings, follow the steps below. 1. Jog to the extreme positive end of motion on the axis you are adjusting. Stop just before the limit switch trips. Shut off power to the system. Unplug the machine.
7-12
Section 7
CAUTION: Adjusting the spindle head is a very precise procedure. Do not adjust the spindle head.
2. Remove part of the servo motor cover for the axis you are adjusting. Loosen the screws but do not remove the portion of the cover that has the wires coming out of it. Do not remove the whole cover at once or you may damage the wiring. If you need to use excessive force to turn the lead screw, you have adjusted the bearing too tightly. 3. Loosen all eight recessed allen setscrews on the axis you are adjusting. They are located on the four sides of the saddle for the X and Y axes, and on the sides of the spindle for the Z axis. 4. Tighten the two setscrews for each bearing while checking the force it takes to turn the ball screw. Tighten the setscrews (applying approximately 4-8 in/lb of torque) until the force it takes to turn the ball screw pulley increases when turning it by hand. Then back the setscrews off by 1/8-turn. Repeat this procedure for all four bushings on each axis. 5. Replace the servo motor cover.
Spindle
Two Piece Spindle Head Light Machines ships the proLIGHT Machining Center with a factory-aligned two piece spindle head. You should not attempt to align the spindle head without first contacting Light Machines. SpindleAssembly Your proLIGHT 2500s spindle components have been specially lubricated for maintenance free operation. Never attempt to lubricate or otherwise service the proLIGHT 2500s Warning! Disconnect Power Cord before removing cover. Dangerous voltages are present when machine is connected.
Remove the screws. Rotate the cover to the left to expose the drive belt.
7-13
CAUTION: Do not over-tighten the drive belt. Excessive tension will damage the motor shaft.
spindle assembly. Only qualified specialists should service your machines spindle assembly.
7-14
Section 7
until the box comes off the motor mount. 3. Slide the motor box to the left and down until you have access to the four screws holding the servo motor onto the motor mount. 4. Loosen the four screws. 5. Slide the motor to increase tension on the belt and retighten the screws. 6. Check the deflection again. Checking and Adjusting the X Axis Drive Belt 1. Remove the two button head cap screws from the top of the motor box and the seven button head cap screws from the bottom of the motor box cover.
2. Pull the motor box back approximately 1 inch until it comes off the motor mount. Lift the left side of the motor box up and over the motor to expose the drive belt. 3. Apply approximately three pounds of force on the center point of the belt. It should deflect no more than 1/8-inch (3mm).
7-15
M
A I N T E N A N C E
A
C T I O N
7-16
Section 7
If the belt needs adjustment: 1. Loosen the four screws holding the servo motor onto the motor mount. 2. Slide the motor to increase tension on the belt and retighten the screws. 3. Check the deflection again. Checking and Adjusting the Z Axis Drive Belt 1. Remove the two button head cap screws on the front of the motor box and five of the seven button head cap screws on the back. Loosen but leave in place the two bottom screws on the back of the motor box cover.
Recommended oils or equivalents: Texaco, Meropa 150 Shell, Omala 100 Mobil, Mobilgear 629 Characterisitics Agma Grade: Flash Point: ISO Grade: SUS Viscosity: of the above oils: 4-EP 400oF 100-150 725 @ 100oF 75.5 @ 210oF
2. Gently move the box front and back while pulling it up until it is completely off of the motor mount. If the belt needs adjustment: 1. Loosen the four screws holding the servo motor onto the motor mount. 2. Slide the motor to increase tension on the belt and retighten the screws. 3. Check the deflection again.
Top Plug
Sight Glass
7-17
7-18
Section 7
7-20
Section 7
4th axis not valid in Verify or 3-axis. This message appears if you attempt to run a 4-axis part program on a 3-axis machine, or if you try to verify it. Additional data required. The canned cycle you have placed in your NC code requires a code other than P, Q, R, or Z. An error occurred. This generic error message occur for a number of reasons. You may have to discontinue running your NC program and begin again. An error occurred while printing. This message may appear because of a communications error between your computer and your printer. Check the connections between the computer and the printer and try again. Bad T code. The currently chosen tool number is not valid. Currently, the Control Program supports up to 20 tools. If your T code is less than 1 or greater than 20, you will get this error. Bad address. An invalid character was encountered in your NC code. For example, the exclamation mark shown in the following NC code is invalid: N5 X1 E40 !3
A-1
Bad code. An invalid number followed a valid address was encountered in your NC code. Typically, this involves a bad G or M code. For example, the M code in this block makes no sense. N5 M1234 Cant perform circle with radius. You have entered bad endpoints for the given radius. For example, you may have entered the same start and end points. Door open. The safety shield was opened while a program was running, halting the program. Drive overheat error. The Machining Center drive motors overheated. Allow the motors some time to cool down, then try running the program again. If this error recurs, call Light Machines Technical Support. Duplicate subprogram value. There is more than one block in your subprogram that has an O code of the same value assigned to it. Emergency stop - keyboard. You hit the Q-key or the Space Bar on the computer keyboard while the NC program was running, or you hit Quit while the program was paused. Encoder Error Error chaining to file. This will occur if the Control Program is unable to find the file to chain to, and you cancel while it's trying to find the correct file. You may also see this message if an error occurs which prevents the file from loading. Error parsing for subprograms. An error occurred while the Control Program was parsing for M98, M99 and O codes. If subprograms are enabled, the Control Program scans your NC program for these codes before you run a program and before you renumber a program.
A-2
Appendix A
Error! Subprograms are not enabled! This error message appears if you attempt to run an NC program containing an M98 or M99 while subprograms are not enabled. You can enable subprograms with the Run Settings command under the Setup Menu. Fatal error! Cant read state file. If you see this message call Light Machines Technical Support for assistance. File not found! Please find it. This means the file you are attempting to chain to cant be found in the current files directory. Select ok. The Open File dialog box appears so you can locate the file. File too large. Aborting. There is not enough memory available to open the NC file. You must either free up some memory or use a text editor to break the large file into two or more smaller files. GOTO destination not found. You specified an invalid block number for M99. There is no block number in your NC program that matches the specified P code. HardwareESTOPhit. This message appears when you press the Emergency Stop button on the Machining Center while running an NC program. Invalid canned cycle/G code. If you see this message, call Light Machines Technical Support. Invalid subprogram value. You specified an invalid subprogram number for M98. There is no O code in your NC program that matches the specified P code. M22 command format error. This error message appears if an M22 code is not followed by a filename enclosed by parentheses.
Control Program Messages
A-3
M99P?? must return to main program. If you perform a GOTO, the block specified by the P code must be before any subprogram (O codes). Missing numbers. You have left out a parameter following an address. For example, in the following code, the Y parameter is missing. N5 X1 Y Z1 Motion will trigger %c%c soft limit. Continuing will disable soft limits. If software limits are enabled, the Control Program examines each tool movement to see if it will exceed these limits. If limits will be exceeded, you are warned before the move is executed. There will only be one warning. You can continue, which will disable software limits, or you can quit and edit your program or the limits. Negative limit hit. Use the Manual Control Panel to move the tool away from the stock, then check your set up and make sure the software was properly initialized. Normal program stop. The Control Program detected an M02 code in the NC program and ceased running the program accordingly. P code required. G82 and G89 codes require a P code with a dwell value. Position WRONG! - Select CONTINUE to do a linear move to correct position or QUIT to stop. You will get this message if you enter a starting block other than zero before running your part program, and the actual position of the machine at that block isnt the same as the position it would be in if the program had started at block 0. Positioning error. This occurs if the motors are unable to follow the correct position. This is typically encountered when the feed rate is too high, or if something prohibits machine motion (like plunging the tool through a hunk of steel).
A-4
Appendix A
Positive limit hit. Use the Manual Control Panel to move the tool away from the stock, then check your set up and make sure the software was properly initialized. Printer is out of paper. Check the paper level in the printer and try again. Printing cancelled. This message appears if you cancel the printing operation. Q code required. A G83 code requires a Q code for a peck depth. Q value is too small. The peck depth for a Q code must be larger than .001. R code required. Canned cycle commands require an R code as a reference point. Software limit hit. The machine position exceeds the specified software limits. You will only see this message if software limits are enabled. Specified radius is too small. No such arc exists with the given radius. This will occur, for instance, if your start point and end point are the same. Subprogram max depth exceeded. Subprograms can have an M98 code imbedded within them to call another subprogram. You may embed subprograms up to 20 levels deep, but the depth cannot exceed 20. Subprogram not found. You have specified an M98 with a P code that references an O code that doesnt exist in the NC program. Time out occurred while printing. This means either a printing error occurred, no printer is connected, or the printer isnt ready. Too many subprograms. You have used more than 20 subprograms (O codes) in your NC program.
A-5
A-6
Appendix A
Appendices
Appendix A: Control Program Messages Appendix B: General Machining Information Appendix C: Safe Machining Center Operation Appendix D: proLIGHT G and M Codes Appendix E: Working in DOS Appendix F: Robotic Integration
A-7
workpiece beneath the tool. However, the same feed rate principle applies. The depth of cut is set by the vertical column (Z axis) drive motor and the feed is controlled by the drive motors on the cross slide (X axis) and the end of the bed (Y axis). The depth of cut and feed rate you select should depend on the
B-1
turning speed of the spindle, the type of material and lubricant used, and the type of cutting tool used for the operation. Excessive depth of cut and rapid feed rates place greater strain on the spindle, may bind the tool and workpiece, or produce a poor surface finish on the part.
Spindle Speeds
The relative hardness of the material and the type of cutting tool (end mill or drill) affect spindle speed. The harder the material is, the slower the speed should be. High spindle speeds may produce excess heat which causes the workpiece to expand. If the workpiece expands, the cutting tool will r u b rather than cut the material, resulting in a poor surface finish. Slow spindle speeds cause no harm, but m a y be inappropriate for finishing certain types of materials. The load put on the spindle motor must also be taken into account. Heavy cuts at low speeds will make the motor run hotter than lighter cuts at higher speeds. The selected feed rate and depth of cut should not cause the spindle motor to greatly lose speed or cause the tool to c h a t t e r against the workpiece.
Note: The proLIGHT Machining Center is not designed for flood cooling. Small amounts of coolant may be applied to the tool tip before a program is run.
B-2
Appendix B
Note: Short run small part machining in Delrin or aluminum on the proLIGHT Machining Center does not require the use of coolant.
when cutting very hard materials, such as stainless steel. A mixture of one part soluble oil to six parts water may be used on steel to assist in producing a smoother finish and to reduce tool chatter. Aluminum and aluminum alloys may require the use of coolant to prevent chips from welding to the tools cutting edge. Brass and cast iron are always machined dry. When lubrication is necessary, small amounts of water-soluble cutting fluids are recommended for use on the proLIGHT Machining Center. Lubricants should be wiped from the mill after use, because some petroleum-based fluids may deteriorate the electrical wiring insulation, the plastic safety shield, or the computer enclosure.
Tool Types
Cutting tools are made from hardened steel and are ground to various shapes. Tools are often ground to shape by the operator to suit a particular cutting requirement. The clearances ground behind cutting edges are adjusted for the type of material the tool will cut and the direction the tool will be fed along the workpiece. Insufficient clearance behind the cutting edge will cause the tool to rub. Excessive clearance will produce a ridged or wavy finish due to the small length of tool edge in contact with the workpiece. Standard tool types are: end mills, center drills, drills and boring tools. End Mills End mills come in two types: flat end mills and ball end mills. They should be sharp and must run true. Holding end mills in a drill chuck is a poor practice; use collets instead. Be certain the spindle speed is set correctly for the type of material being machined. An end mill can be instantly damaged if a cut is attempted at excessive speed. When plunging into the workpiece, use a center cutting end mill. Center cutting end mills have teeth at the end of the mill
CAUTION: Always be careful when handling end mills. They have sharp edges which can easily cut your hands. Use a thick cloth rag when handling tool bits to protect your hands.
B-3
going into the center of the mill. Begin with light cuts and progressively increase cuts until satisfactory results are obtained. End mills should not be used for drilling holes, but they can be used to enlarge holes. Center Drills Use small amounts of cutting lubricant with center drills. Clear the drill frequently, otherwise the tip may clog and twist off even in soft materials. Boring Tools Use boring tools to enlarge or modify a drilled or cored hole in a workpiece. Mount the workpiece in a vise or on the cross slide. The machine must maintain clearance behind the cutting point of the tool. A slow feed rate and frequent tool withdrawals are required with boring tools because chips cannot freely escape from the hole. Depth of cut and feed rates must be reduced to avoid chatter. Do not drive the tool deeply into a hole. When boring a hole where a flat bottom is required, stop the down feed at least 0.002 inch above the desired depth of the hole being bored out.
Sharpening Tools
A cutting tool must be sharpened regularly to preserve its original cutting angle and shape. Longer tool life will be obtained from cutting edges if they are finished with a small oilstone. Only the cutting end and sides of the tool should b e ground as required. Never grind the top face of the tool.
B-4
Appendix B
A machinist should become familiar with the possibilities offered by the selection and use of different mill attachments to take advantage of the mill's versatility. proLIGHT 2000 Accessories The following accessories come standard with the proLIGHT 2000 Machining Center. Hold Down Set Hold downs are versatile clamps that can be used to secure odd-shaped workpieces to the cross slide or mill bed. The hold down set available for the proLIGHT 2000 Machining Center includes the bolts and nuts that fit the T-slots in the cross slide and mill bed. EndMill The proLIGHT 2000 Machining Center comes with a 1/4inch high-speed steel end mill with a 3/8" shank. Collet A collet is used to hold an end mill in the spindle. The proLIGHT 2000 Machining Center comes with a 3/8-inch R8 collet. proLIGHT 2500 Accessories The accessories that come standard with the proLIGHT 2500 Machining Center are:
B-5
Hold Down Set Hold downs are versatile clamps that can be used to secure odd-shaped workpieces to the cross slide or mill bed. The hold down set available for the proLIGHT 2500 Machining Center includes the bolts and nuts that fit the T-slots in the cross slide and mill bed. EndMill The proLIGHT 2500 Machining Center comes with a 1/32inch, 1/16-inch, 60-degree high-speed steel end mill with a 1/8" shank. Collet A collet is used to hold an end mill in the spindle. The proLIGHT 2500 Machining Center comes with a 1/8-inch EX16 collet.
B-6
Appendix B
C-1
Avoid a Dangerous Environment Dont use the Machining Center in damp or wet locations. Never operate electrical equipment in the presence of volatile and flammable petroleum-based solvents and lubricants. Keep Untrained Visitors Away From the Equipment Children, and visitors unfamiliar with the hazards of rotating machinery, should always be kept away from the work area. Prevent Unauthorized Users From Operating the proLIGHT Machining Center Lock and remove the key from the Machining Center control panel when the system is not in use. Do Not Force a Tool Select the feed rate and depth of cut best suited to the design, construction and purpose of the cutting tool. It is always better to take too light a cut than too heavy a cut. Use the Right Tool Select the type of cutting tool best suited to the milling operation. Don't force a tool or attachment to do a job it wasn't designed for. Dress Properly Don't wear loose clothing or jewelry which can get caught in moving parts. Wear a hat or net, or tie your hair back to keep it away from moving parts. Secure the Workpiece Be certain that you have firmly secured the workpiece in the vise and the cutting tool to the collet before turning on the spindle motor. Do Not Overreach Keep your footing and balance at all times so you wont fall into or grab the moving machine. Maintain Your Tools In Top Condition Keep cutting tools sharp and clean. Lubricate and clean Machining Center components on a regular basis.
C-2
Appendix C
Disconnect Power Before Servicing Always use the emergency stop switch to disconnect power and disable the spindle motor before mounting or removing the workpiece, or changing tools. Do not rely solely on a programmed Pause command to disable Machining Center operation. Avoid Accidental Starting Make sure the power switch on the Machining Center is off before plugging in the Machining Center power cord. Use Recommended Accessories To avoid stressing the Machining Center and creating a hazardous machining environment, use only those accessories designed for use with the proLIGHT 2000 Machining Center, available through Light Machines Corporation. Tighten All Holding, Locking and Driving Devices Tighten the vise. Do not over-tighten tool holding devices. Overtightening may damage or warp parts, thereby reducing accuracy and effectiveness. Keep Coolant Away From Electrical Components Do not allow coolant to splash into or near the computer.
C-3
Safety Checklist
IMPORTANT! Post copies of this checklist in the work area. Verify that all items are checked-off prior to each operation of the proLIGHT Machining Center.
Before you enter the work area: G Put on safety glasses. G Tie back loose hair and clothing. G Remove jewelry including rings, bracelets and wristwatches. Before machining a part: G Make sure you have the correct tool for the job. G Secure the tool properly. G Make sure all tool positions have been properly initialized. G Verify the NC program on the computer before machining. G Remove all loose parts and pieces from the machine. G Remove adjusting keys and wrenches from the machine. G Close the safety shield. G Only operate the machine after being properly trained in its use. G Perform a dry run: G Set the spindle motor switch to lowest manual speed setting. G Make certain there is no workpiece in place. G Run the NC program to make sure all the moves make sense before running the program with a workpiece in place. machine. G Keep fluids away from all electrical connections, electronic or electrical devices, the computer and nearby electrical outlets. While machining a part: G Do not touch moving or rotating parts. G Press the Emergency Stop button before opening the safety shield. G Only open the safety shield after the spindle has stopped rotating. G Press the Emergency Stop button whenever changing tools or mounting or removing a workpiece. G Pull the Emergency Stop button out only after closing the safety shield. G Keep all unauthorized persons away from the work area.
G After completing the dry run, properly secure the workpiece to the
C-4
Appendix C
Lista de Seguridad
IMPORTANTE! Pegue copias en el rea de trabajo. Verifique que todos los puntos esten checados antes de cada puesta en marcha de la mquina.
Antes de entrar en el rea de trabajo: G Use sus lentes de seguridad. G Procure recogerse el cabello y no usar ropa floja. G No use joyera como: anillos, pulseras y relojes. Antes de trabajar a mquina una pieza: G Utilize la herramienta correcta para el trabajo. Asegurela de forma correcta en el husillo con una boquilla. G Asegurese que la posicin de la herramienta de corte ha sido inicializada correctamente. G Remueva todas las partes sueltas y coloquelas lejos de la Fresadora. Limpie todos los residuos de la Fresadora despus de cada corrida. G Cierre la guarda de seguridad antes de ejecutar cualquier operacin en la Fresadora. G Corra los programas por primera vez con el motor del husillo apagado y sin pieza de trabajo. Asegurese que todos los movimientos sean correctos. G Asegure la pieza de trabjo a la mesa. Quite las herramientas y llaves antes de cerrar la guarda de seguridad. G Asegurese que todos los contactos de corriente A.C. esten aterrizados. G Mantenga los lquidos refrigerantes lejos de la Caja de Control, Computadora y cualquier Suministro Elctrico. Mientras trabaja a mquina una pieza: G Nunca levante la guarda de seguridad mientras que la Computadora este ejecutando un programa. Presione siempre primero el botn de Paro de Emergencia. G Presione siempre el botn de Paro de Emergencia cuando se cambie una herramienta, se coloque o remueva una pieza de trabajo. Jale el botn de Paro de Emergencia despus de haber puesto la guarda de seguridad. G Mantenga fuera del rea de trabjo a toda persona no autorizada.
C-5
Emergency Stops
There are four ways an emergency stop can be initiated on the proLIGHT Machining Center:
G G G G
Press the emergency stop switch on the Machining Center Press a key on the computer keyboard Click the mouse Activate one of the limit switches on the Machining Center.
Refer to Section 3 for detailed information on using the emergency stop methods.
C-6
Appendix C
G Codes by Group
Interpolation Group
G00 G01 G02 G03 Rapid traverse Linear interpolation Circular interpolation (clockwise) Circular interpolation (counterclockwise)
G90
Absolute coordinate programming (Fanuc uses U,W): All X, Y and Z axes coordinates are relative to a (0,0) location on a mill. Incremental coordinate programming: Each command is relative to the one before it in the program.
G91
Units Group
G70 G71
Inch: Used to instruct the mill that inches are the unit of measure for the part program. (Fanuc G20) Metric: Used to instruct the mill that millimeters are the unit of measure for the part program. (Fanuc G21)
Wait Group
G04
Dwell (wait): Equals the value of the feed rate (F code) in seconds (used primarily for robotic operations). G04 excludes motion commands with a new feed rate on the same line (block). Pause: Used for operator intervention. The order of action for the pause and dwell codes in one NC block is G05, G04 (pause, dwell). Wait for robot input to be high: Used in conjunction with H code, which specifies input number. Used for robot synchronization (see Appendix F). Wait for robot input to be low: Used in conjunction with H code, which specifies input number. Used for robot synchronization (see Appendix F). Linear to specified coordinate.Stop short if specified input goes High (if H is positive) or Low (if H is negative).
G05
G25
G26
G31
D-1
Same as G31. Used for digitizing. Polar programming cancel. Begin polar programming.
G53
Rapid traverse to specified coordinates in Absolute programming mode. (e.g. G53X0Y0Z0 rapids to machine reference point) Use coordinate system one. Use coordinate system two. Use coordinate system three. Use coordinate system four. Use coordinate system five. Use coordinate system six.
Canned cycle cancel. Canned cycle drilling. Canned cycle straight drilling with dwell. Canned cycle peck drilling. Canned cycle tapping. Canned cycle boring. Canned cycle boring with spindle off (dwell optional). Canned cycle boring with dwell.
G27
Home: This code moves the tool to its home position on the Machining Center to perform automatic calibration of the axes. Check reference point: Compares reported position against zero to see if position has been lost.
Set reference point: Sets machine position to 0,0,0. Return to reference point: Moves the tool to a coordinate specified by XYZ. Typically used asfter a G27 or G28 code. Preset position: This code works like the Set Position function under the Setup Menu (see Section 3). The X, Y and Z coordinates following a G92 code define the new current position of the tool. Rapid move to initial tool position after canned cycle complete (Section 5).
G98
D-2
Appendix D
G99 G17
Rapid move to point R (surface of material or other reference point) after canned cycle complete (Section 5). Select the X,Y plane for circular interpolation. This is the default plane for circular interpolation. Use this code to switch back to the X,Y plane after circular moves on the X,Z or Y, Z planes. The arc center coordinates are given by I for the X axis and J for the Y axis. Select the X,Z plane for circular interpolation. Use this code to perform circular interpolation on the X,Z plane. The arc center coordinates are given by I for the X axis and K for the Z axis. Select the Y,Z plane for circular interpolation. Use this code to perform circular interpolation on the Y,Z plane. The arc center coordinates are given by J for the Y axis and K for the Z axis.
G18
G19
Scaling Group
G50 G51
Cancel scaling. Invoke scaling. Use this code to scale axes with independent factors around a fixed origin. The default is 1. Invoke rotation. Use this code to rotate a geometry from its origin by an arbitrary angle. Rotation works on any plane, one plane at a time. Cancel rotation. Corner offset in circular interpolation. Cancel cutter compensation. Invoke cutter compensation left. Invoke cutter compensation right. Specifies the offset number from the Offset Table. Shifts Z axis in a positive direction by a value specified by H. Shifts Z axis in a negative direction by a value specified by H. Cancel Tool Length Offsets. Specifies the offset number from the Offset Table. Increases the movement amount by the value of D. Decreases the movement amount by the value of D. Increases the movement amount by twice the value of D. Decreases the movement amount by twice the value of D. Specifies the offset number from the Offset Table. D-3
Rotation Group
G68
G69
M Codes by Group
M00 M01
P a u s e : Allows you to place a pause in your code. Acts like a G05 pause. O p t i o n a l S t o p : Allows you to place an optional stop in your code. Place an M01 in the block of code where you would like to pause. With Optional Stop on, the M01 works like an M02 stop. With Optional Stop off, the M01 code is ignored, the other codes on the block are executed as usual. E n d o f P r o g r a m : Takes effect after all motion has stopped; turns off drive motors, spindle and accessory outlets. P r o g r a m s t o p : Same as M02. S p i n d l e M o t o r O n : Activated concurrently with motion specified in the program block; remains in effect until superseded by M05. Spindle Motor Off: Activated after the motion specified in the program block; remains in effect until superseded by M03. T o o l C h a n g e : Used in conjunction with a T code to perform multiple tool operations. See Section 6. ACC1 On: Turns on accessory ACC1 outlet concurrently with the motion specified in the program block; remains in effect until superseded by M09. ACC1 Off: Turns off accessory ACC1 outlet after the motion specified in the program block; remains in effect until superseded by M08. Clamp ACC2: Closes air vise accessory concurrently with the motion specified in the program block; remains in effect until superseded by M11. Unclamp ACC2: Opens air vise accessory after the motion specified in the program block; remains in effect until superseded by M10.
Spindle Group
M05
M06
M08
M09
M10
M11
D-4
Appendix D
M20
Chain to Next Program: This code appears at the end of a part program and is followed on the next line by the file name of another program which is executed when all motion stops. Heres an example of a part program chain to another program:
N37Z.2 N38M20 PROGRAM TWO
If the two programs you are chaining are not in the same directory, you must specify the full pathname for each file. M22 O u t p u t t o f i l e : Outputs machine coordinates to a file. The proper format for using this code is: M22(f i l e n a m e). You're basically naming the file as you create it. You must enclose the name of the file in parentheses for the Control Program to recognize it. If you use more than one M22, only the first occurrence must have the filename in the parentheses. The remaining M22's may have empty parentheses, ( ). M47 M98 M99 R e w i n d : Restarts the currently running program; takes effect after all motion comes to a stop. Call to subprogram R e t u r n f r o m s u b p r o g r a m : Returns you to the block following the initial M98 command. Go to: Used with P code. P code defines N or O code destination. Goes to first occurrence of N or O code within the main program. M25 Set robot output: Used for robot synchronization. Used in conjunction with H code to specify output number. Set robot output: Used for robot synchronization. Used in conjunction with H code to specify output number. L i n e a r s e g m e n t s : Causes the proLIGHT 2000 to make arcs as linear segments. Use with Helical Interpolation. A r c a s l i n e a r s e g m e n t s : Causes the proLIGHT 2000 to make arcs as linear segments. Use with Helical Interpolation. O u t p u t c u r r e n t p o s i t i o n t o f i l e : Writes current X, Y, and Z position to a data file. Use with G131 for digitizing. S e t p a r t r a d i u s : defines the radius for a four axis part. Used only if the feed per rotation (G95) mode active. The default radius is 1.0. This code is not valid in Verify mode or in 3 Axis mode.
I/O Group
M26
D-5
D-6
Appendix D
Environment Variables
Before running the Control Program you can set environment variables to increase efficiency or to establish a more appropriate environment in which to run the Control Program. The environment variables can be typed in at the C> prompt in any directory as long as you haven't started the application. Graphics Card The Control Program automatically senses what kind of graphics adapter you have installed in your computer (CGA, EGA, VGA or Hercules). However, in some cases the Control Program may not recognize the graphics adapter you have installed. If this happens, you can force the Control Program to recognize your adapter by using the environmental variable LMGR. For example, to set the environment variable to EGA color, (at the C> prompt) type: SET LMGR=EGA Unfortunately, you must do this every time you start your computer, before you run the Control Program. You might want to place this command in the AUTOEXEC.BAT file so the computer automatically performs this function for you when you turn it on. Here are some other LMGR settings you can use.
SET LMGR=VGA Force VGA color mode SET LMGR=VGAMONO Force VGA monochrome mode SET LMGR=EGAMONO Force EGA monochrome mode SET LMGR=CGA Force CGA color mode (only for
EGA card with CGA monitor, or some Tandy 1000's with 16-color CGA at 640 x 200 resolution)
E-1
Working in DOS
SET LMGR=CGAMONO Force CGA monochrome mode SET LMGR=HERCMONO Force Hercules compatible mono-
chrome mode
Allocating Expanded Memory If you wish to allocate expanded memory to create larger NC programs, you can use the environment variable LMCEMS. You can specify a number of 16K blocks, or pages, to be added up to the amount of available RAM on you computer.
To allocate EMS, type: SET LMCEMS=n u m b e r o f 1 6 K b l o c k s
Or use "All," "A," or "- 1" to use all avaiable memory. Setting Permanent Command Line Switches You may use the SET LMC= command to set up permanent command line switches for the Control Program. When you set this environment variable, it is appended to the command line every time you start the Control Program. For example, 4th axis users can use the command: SET
LMCOPTIONS=/4
If you place this command in your AUTOEXEC.BAT file, you wont have to supply the /4 switch every time you run the Control Program. ManagingMachineCommunications Communications Port The Machining Center communicates to the controlling computer through a serial port on the computer. The default communications port for the Control Program is COM1. If the Machining Center has been connected to a serial port other than the default, an environment variable needs to be set to advise the control software of the new communications port. To set the environment variable, at the DOS prompt type:
SET COMPORT=t h e n u m b e r o f t h e c o m p o r t
This command forces the Control Program to communicate through the designated port when running the machine tool. For example, if the Machining Center were connected to COM2, the environment variable needs to be set as: SET
COMPORT=2
E-2
Appendix E
The computer then uses COM2 whenever the Control Program is used. This command may be added to the AUTOEXEC.BAT file so the computer automatically performs the function when the computer is switched on. Baud Rate The Machining Center communicates with the controlling computer through a serial port on the computer. When communications between the machine tool and the computer break down, a Communications Error results. The Control Program allows for some fine tuning of the communications parameters to allow for slight differences in serial communications to be accommodated. If communications errors occur when you are attempting to run the Machining Center, fine adjustment of the software may be required. The first thing to adjust when communications problems occur is the Baud Rate.
Note:Using SET BAUD overrides the SETUP file value.
The Machining Center communicates with the controlling computer at a default baud rate of 19,200 baud. For most applications this setting works very well and need not be changed. If you are having persistent problems, the baud rate may be reset to 9,600 baud. To set the baud to the lower value, type SET BAUD=9600 at the DOS prompt (make sure to insert a space after SET). Try running the machine tool again. Communication will have been slowed down slightly, allowing for deviations from a standard serial port. Other Commands If problems still persist, other parameters may also be adjusted. Particularly, slight delays can be incorporated into the communications routines when running the machine. For example, if errors only occur when circular interpolation is being performed, a pause can be incorporated when cutting the arc. This will give the system more time for communicating. The following is a list of variables that may be set:
SET MV_DELAY= Set delay for straight line motion. SET ARC_DELAY= Set delay for arc motion.
Working in DOS
E-3
SET POS_DELAY= Set delay for position update. SET STAT_DELAY= Set delay for status update SET IOSTAT_DELAY= Set delay for I/O update
These commands are looking for arguments in milliseconds. So, to set a delay of 200 milliseconds when performing arc motions, type SET ARC_DELAY=200 at the DOS prompt. These commands may be placed in the AUTOEXEC.BAT file, or you may wish to create a separate batch file for fine tuning the machine communications.
Type PLM2000 /BW to set the Control Program to black and white mode. Type PLM2000 /4 to set the Control Program for fourth axis machining. Type PLM2000 /Bbaud to set the baudrate to baud, where baud=9600 or 19200. Type Type line. Type PLM. Type
PLM2000 /En PLM2000 /Pn
to override Set LMCEMS=n. to specify the comport on the command to set the machine equal to TEST or
PLM2000 /Mmachine
PLM2000 /T
Splitting NC Files
SPLIT.EXE is an executable DOS program that you can use to divide large NC programs into smaller units. Use SPLIT.EXE when the computer is unable to process your large NC programs. When you type SPLIT at the PLM2000 prompt, the following screen appears:
E-4
Appendix E
At the PLM2000 prompt, enter the maximum number of lines for each section of the program you are dividing, followed by the complete path name for the file. The filename, not including the subdirectory, must be 6 characters or less. For example, to split a program called NUPART every 750 lines, enter:
Note: Entering the maximum number of lines is optional. The default is 1000 lines.
Press Return. The File Splitter divides the NC program into sections, each containing the number of lines you specify, and labels each section with a number. For example:
C:\PLM2000\NCPROGS\NUPART1.NC C:\PLM2000\NCPROGS\NUPART2.NC C:\PLM2000\NCPROGS\NUPART3.NC
The File Splitter inserts an M20 code at the end of each section of the program, followed by the filename of the next section. For example:
M20 C:\PLM2000\NCPROGS\NUPART2.NC
The M20 code automatically chains each section of the program together. Now you can run NEWPART.NC by opening and running the first section. The Control Program then loads and executes all of the subsequent chained sections until the entire program is complete.
Working in DOS
E-5
Line 30 opens the file, and line 900 closes it. The bulk of the program should be written between lines 40 and 900. Use print statements like the one shown in line 80 above.
E-6
Appendix E
Line 60 sets the number of repetitions required. In this case, a For-Next loop from line 70 to line 120 is used to repeat the cutting instructions six times. Lines 80 through 110 are the four print statements that contain the NC blocks required to program the cut. Remember that the NC block must be put inside quotation marks. While in DOS, run REPEAT.BAS. Answer the prompt HELLO, WHAT IS THE FILE NAME? by giving an NC program file name that does not match any existing files. The BASIC program opens a file under that name and writes the print statements (lines 80 through 110) into it. Now you can go into the proLIGHT Control Program and load the program using the filename you entered.
Working in DOS
E-7
E-8
Appendix E
The proLIGHT Machining Center has a simple interface for interacting with common robots, like those used for automatic part loading between machining operations. The Machining Center and the robot communicate by way of an interface connector (labeled I/0) located on the rear panel of the Machining Center.
How it Works
The method of communication between the Machining Center and robot is very basic. They are both able to transmit and receive h i g h or l o w signals. Since communcation signals are typically 0 and 5 volts, a high signal is 5 volts (or 3.5 volts or greater); and a low signal is 0 volts (or 1.5 volts or less). See the figure below.
User Input Voltage +5 to +24 VDC +3.5 VDC
'Illegal Zone' Undefined Logic State +1.5 VDC Zero Volts Logical 'Zero' state
There are NC codes that you can place in a part program to instruct the Machining Center to t r a n s m i t a high or low signal to the robot. There are also codes that instruct the Machining Center to w a i t for a high or low signal from the robot. Signals sent out are referred to as o u t p u t s, while signals coming in are called i n p u t s. Any signals that the Machining Center transmits to the robot are transmitted through an o u t p u t p i n on the interface connector. Outputs can drive a maximum load of 8mA. Any signals that the Machining Center receives from the robot come in through an i n p u t p i n on the interface connector. Examples of the input and output wiring are shown in the schematic below.
Robotic Integration
F-1
example. The Cycle Start button on the front panel of the Machining Center sends signals to input #8, while the Cycle Stop button sends signals to inputs #7. The inputs and outputs on the Machining Center are designated as follows.
Input Configuration
INPUT 0 or +5 VDC from Robot to PLM2000
Output Configuration
+5 VDC PIN 1
F-2
Appendix F
User must supply +5 to +24 VDC between Pins 1 and 15. All User outputs are disabled by an ESTOP condition. All inputs and outputs are optically isolated. Never apply a negative voltage or an AC voltage to an input. Do not connect to pins 7, 8, or 10. These are for special applications only. Outputs are set to source current only. Max load on each output is 8mA. Do not operate relays, motors or other inductive loads with the I/O outputs. This will damage the machine. You may however, run an optical relay. Inputs 4, 5, and 6 are for the high speed spindle and not available on the PLM2500. Input 3 may be configured as an external ESTOP input allowing the machine to be interlocked with a light curtain or other safety device.
Pin
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
Pin 15
Pin 9
You can check the status of each input and output by looking at the Inputs Window (active in Manual Control and Run Program only) and Outputs Window in the Control Program.
Function
User I/O: Voltage Input User Output 5 User Output 7 User Input 1 User Input 3 User Input 5 UNUSABLE UNUSABLE User Output 4 User Output 6 UNUSABLE User Input 2 User Input 4 User Input 6 User I/O: Common
I/O Levels
+5 to +24 VDC 0 or Supply 0 or Supply 0 to Supply 0 to Supply 0 to Supply
Name
Supply Voltage OUTPUT5 OUTPUT7 INPUT1 INPUT3 INPUT5
0 or Supply 0 or Supply
OUTPUT4 OUTPUT6
Robotic Integration
F-3
The NC Codes
The NC codes used in robotic communication are:
Note: +5 to +24 VDC should only be used on newer models. More than +5 VDC at pins 1 and 15 will damage older models of the PLM2000. See note at beginning of this Appendix for more information.
G25 - wait for High signal G26 - wait for Low signal M25 - transmit High signal M26 - transmit Low signal H# - specifies the input or output (default is H1) The H code is used in conjunction with the wait codes and transmit codes. For example, G25H3 tells the Machining Center to wait until the state at input #3 goes high. Assuming the robots initial output state is low, if you place this line of code at the beginning of your program, the Machining Center waits until input #3 goes high, then executes the next line of code. If the external device sends a low signal, nothing happens because the Machining Center is waiting for a high signal. If theres no change to a high signal, the Machining Center does not execute the next line of NC code in the program.
Special Note: You should not use Cycle Start when digitizing (G131). You should use caution, if not entirely avoid using any G code which requires the activation of the Cycle Start button. If you do mix the two, be sure not press and hold the Cycle Start button, as it causes any NC program resident on the controller to start running (there is a resident program only when digitizing). You may wish to follow a G26H8 block with a G25H8 command, so that once you press the Cycle Start button, for the G26, the G25 waits until you release the Cycle Start button before continuing.
When the robot sends a high signal, the Machining Center responds by continuing with the NC program. If the Machining Center does not respond to the robot as you have programmed it to, check that you have correctly wired the robot to the interface, and that the robots initial output state was not changed to high during the connection of the robot.
F-4
Appendix F
1. The mill opens the air vise (M11), transmits a high signal (M25) to the robot, and waits for a high (on) signal (G25).
Robotic Integration
F-5
2. The robot places a work piece in the vise and transmits a high signal to the mill indicating that it is okay to close the vise.
3. The mill receives the signal, closes the air vise (M10), then signals (M26) the robot that the vise is closed. The mill then waits (G26) for a low signal from the robot.
4. The robot releases the work piece and leaves the work area. It transmits a low signal when it is away from the work area.
5. The mill receives the low signal from the robot and begins to mill the part.
F-6
Appendix F
6. When the mill has finished the part, it signals the robot (M25) to come take the part and waits (G25) for a high signal.
7. When the robot receives the signal, it approaches the mill, grasps the part and sends the high signal to the mill.
8. When the mill receives the high signal, it opens the vise (M11) to release the finished part, signals the robot (M26) and waits (G26, low).
9. The robot removes the finished part from the work area, and places the part in another area according to its own program. When the robot has cleared the mills work area, it sends a low signal to the mill.
Robotic Integration
F-7
N0M11;OPEN VISE N1M25H4;TRANSMIT HIGH SIGNAL THROUGH OUTPUT 4 N2G25H3;WAIT FOR HIGH SIGNAL THROUGH INPUT 3
Robot Handshaking
N3M10;CLOSE VISE N4M26H4;TRANSMIT LOW SIGNAL THROUGH OUTPUT 4 N5G26H3;WAIT FOR LOW SIGNAL THROUGH INPUT 3
N0;THIS FILE FOR PLM-2000 MILL N1;USE 3" X 2" MACHINABLE WAX N2G05
This program illustrates one way to use G, M and H codes to interface with a robot. The codes inserted for robot interfacing are in bold.
N3S1500M03 N4G0Z0.0700 N5G0X1.0000Y0.3140 N6G0Z0.0050 N7G1Z-0.1000F4.0 N8G3X1.5830Y1.3330I-0.5990J1.0190F12.0 N9X0.4170I-0.5830J-1.0190 N10X1.0000Y0.3140I1.1820J0.0000 N11G0Z0.0700 N12S1500.00 N13G0X0.8000Y0.7330 N14G0Z0.0050 N15G1Z-0.1000F4.0 N16G3X0.9330Y0.6670I0.1330J0.1010F12.0 N17G1X1.0670 N18G3Y1.0010I0.0000J0.1670 N19G1X0.9330Y1.0000 N20G2Y1.3340I0.0000J0.1670 N21G1X1.0670Y1.3330 N22G2X1.1997Y1.2668I0.0000J-0.1660 N23G0Z0.0700 N24M02
NC Program
N26M25H4;TRANSMIT HIGH SIGNAL THROUGH OUTPUT 4 N27G25H3;WAIT FOR HIGH SIGNAL THROUGH INPUT 3
Robot Handshaking
N28M11;OPEN VISE N29M26H4;TRANSMIT LOW SIGNAL THROUGH OUTPUT 4 N30G26H3;WAIT FOR LOW SIGNAL THROUGH INPUT 3 N31M47L3;CYCLE BACK TO N0 N32M2;END OF PROGRAM
F-8
Appendix F
Index
Symbols
$ code ( code / code ; code \ code 5-14 5-14 5-4 5-14 1-9, 5-4 Boring cycle 5-26 Boring cycle code 5-22 Boring cycle with dwell code 5-22 Boring cycle with spindle off code 5-22 Buffered mode 3-43
A
A axis angular dimension 5-3 A code 6-14. See also 4th Axis Rotary Positioner, machining with About PLM command 3-55 Absolute arc centers Fanuc code for 5-3 running a program with 5-14 Absolute coordinate programming code D-1 Absolute dimensioning code 5-3 Absolute programming mode 5-7 Accessories B-5, C-3, back page Accessory kit 1-5, 1-6, 2-2 Accessory off code 5-12, D-4 Accessory on code 5-12, D-4 Accessory port adapter cable 1-5, 2-6. Address character 5-2 Air vise 1-9 Allow subprograms command 3-43 Angle of arc resolution, loop counter (L code) 5-10 Arc center, X, Y and Z axis dimensions 5-3 Arc radius 5-3 Arcs as linear segments code 5-13, D-5 Arrow keys 3-6 AutoCAD 1-2 Axis drive belts 7-7
C
Cables, connecting and disconnecting 2-4 CAD, CAD programs 1-2, 1-9 CAD engraver program 1-9 Call to subprogram 5-13 Call to subprogram code 5-28 CAM, spectraCAM 1-2, 1-9 Canned cycle boring 5-6, 5-26 boring with dwell 5-6 boring with spindle off 5-6 cancel 5-6, 5-22 codes D-2 drilling 5-6 dwell 5-24 G codes for 5-6, 5-22 peck drilling 5-6, 5-24 programming 5-22, F-2 straight drilling 5-23 straight drilling with dwell 5-6 tapping 5-6 tapping threads 5-25 Categories of NC code 5-3 Chain to next program 5-12, D-5 Change view (verify) 3-23 Check reference point code D-2 Circular interpolation 1-2, 5-3, 5-18, 5-42 clockwise, code for 5-5, D-1 counterclockwise, code for 5-5, D-1 Clamp ACC2 code 5-12, D-4 Clear command 3-15 Command line switches E-2, E-4 Commands, selecting 3-5 Comment codes 5-3, 5-14 Communications, machine E-2 Compensation functions group 5-7
B
Ball screws 7-2, 7-10 Belts 7-6 Block number 5-3, 5-4 Blocks, NC, maximum number per program 5-2
Index
offset value 5-3, 5-11 Computer connecting to machining center 2-6 positioning with machining center 2-4 Connecting to system components 2-7 Continuous motion 3-18 Control program about the 1-6 fourth axis 6-12 installing the 2-8 running/starting the 3-2, 4-2 screen 3-7 Control program messages A-1 Coolants B-2 Coordinate system group codes 5-8, D-2 machine 3-38 setting the 3-51 world 3-38 Coordinate systems command 3-8, 3-49, 3-53 Copy command 3-14 Corner offset circular interpolation 5-42 Corner offset code D-3 Cross slide 7-2, 7-10 Cut command 3-14 Cutter compensation 5-34 canceling 5-7, 5-43 codes D-3 IJK vectors 5-38 left 5-7 right 5-7 setting offsets 3-47, 5-39 starting 5-34, 5-35 Cutting tool, attaching to tool holder 6-3 Cycle start button 1-4, F-2 Cycle stop button 1-4, F-2
E
Edit menu 3-14 Edit window 3-7 EIA RS-274D NC codes 1-2, 1-6 Emergency stop button, location of 1-4 display in Limits Window 3-8 while running a program 3-35 Emergency stops, making 4-5 End of program code 5-12, D-4 Enforce soft limits 3-45 Environment variables, DOS E-1 Error messages A-1 Establishing tool offsets 6-10 Estimate run time command 3-36 Exit command 3-13
F
F code 5-11 Fanuc codes 5-5 Feed rate 5-3, 5-11, B-1 Feed rate override 1-4, 3-44 File menu 3-10 Find again command 3-15 5C chuck, using 6-18 Floating zero format 3-39 Floppy disks, caring for 7-19 4th axis rotary positioner 6-12, 1-8
G
G codes 5-4 G&M codes 1-9 General machining information B-1 Glasses, safety C-1 Go to code 5-13, D-5 Goto position command 3-40 Graphics card E-1
D
D code 5-11 Depth of cut B-1 Dialog boxes 3-5 Display speed command 3-31 DOS, working in E-1 Dry running a sample program 4-9 Dwell code 5-6, D-1
H
H code 5-10, F-4 Helical interpolation 5-20 Help command 3-55 Hidden commands (verify) 3-31 Hide inputs command 3-37 Hide position command 3-37 Home code D-2 Homing
ii
Index
I
I code 5-10 I/O update 3-44 Inch programming code 5-5, D-1 Incremental arc centers 5-3 coordinate programming code D-1 motion 3-18 programming mode 5-7 Input selection number 5-3 Inputs 3-19 Inputs window 3-9 Installation control program software 2-8 quick change tooling 6-2 Interface cable 2-6 Interlock switch 4-5 Interpolation 1-2 circular 5-18 linear 5-17 Interpolation group codes 5-5, D-1
interpolation code for 5-5 programming 5-17 slides, maintenance 7-3, 7-11 Linear interpolation code D-1 Linear motion code D-1 Linear segments code D-5 Lock files 3-45 Locked command 3-17 Loop counter code 5-3, 5-11, 5-28 Low profile clamping kit 1-8 Lubricants B-2 Lubrication, linear slide 7-3, 7-11
M
M codes 5-12 Machine communications E-2 Machine coordinate system 338, 3-52, 3-54 Machine state, saving 3-45 Machining center connecting to computer 2-6 positioning with computer 2-4 setting up 2-3 unpacking 2-3 Machinist kit 1-8 Maintainance machining center 7-2 PC 7-18 Maintenance linear slides 7-3, 7-11 Manual control command 3-18 Manual/CNC mode switch 1-4 Maximum blocks per program 5-2 Measurement mode, selecting 3-45 Memory, expanded E-2 Menu bar 3-9 Menu options, selecting 3-5 Message bar 3-9 Messages, control program A-1 Metric programming code 5-5, D-1 Machine/robot communication F-3 Miscellaneous codes 5-3, 5-12 Mouse, using the 3-6 Move to reference point 3-51 MS-DOS 1-2, 1-7 Multiple coordinate systems 3-52 Multiple tool codes 6-9 programming 6-9 programming, testing 6-11
J
J code 5-10 Jog distance 3-40 settings 3-18 speed 3-40
K
K code 5-10 Key lock switch 1-5 Keyboard, stopping machine operation with 4-5 Keypad directions, manual control 3-19
L
L code 5-11, 5-28 Limit switches location of 1-3 stopping machine operation with 4-6 Limits window 3-8 Linear bearings, adjusting 7-4, 7-12
Index
iii
N
N code 5-4 NC code categories of 5-3 for robotic communication NC Files, splitting E-5 NC part programs 5-2 Negative limit 4-6 New command 3-10
F-4
O
O code 5-4, 5-28 Offset number code D-3 removing 3-51 sides, changing 5-41 table D-3 tool length 5-3 values, changing 5-40 Open command 3-10 Optional components 1-7 skip 3-43, 5-3, 5-4 stop 3-44, 5-12, D-4 Output current position to file code 5-13, D-5 Output to file code 5-13, D-5 Outputs window 3-8 Override feed 3-19, 3-41
Port, communications E-2 Position update 3-44 Position window 3-8 Positive limit 4-6 Power connecting 2-7 switch location 1-5 Preferences 3-45 Preparatory codes 5-3, 5-4 Preset position code 5-7, D-2 Primary X motion dimension 5-3 Primary Z motion dimension 5-3 Print command 3-13 Problems, start up 3-4, 4-3 Program cycle counter 5-3 Program settings, running program 3-33 Program stop code 5-13, D-4 Programming 4th axis 6-14 suggestions 5-15 Programming mode group codes 5-7 proLIGHT control program 1-2 machining center components 1-2 installing the 2-2 integrating with robots F-1
P
P code 5-14 P code, calling subprograms 5-28 Pan commands 3-29 Paste command 3-14 Pause codes D-1 during verify 3-32 G code for 5-6, D-4 M code for 5-12 while running a program 3-34 PC, maintaining 7-18 Peck depth 5-3, 5-10 Peck drilling code 5-22 Peck drilling cycles 5-24 Plane selection codes 5-5, D-3 Polar programming 5-30 Polar programming cancel code D-2 Polar programming codes 5-9, D-2
Q
Q code 5-10 Quick change tooling 1-8 model ACC-5140, installing 6-5 model ACC-5141, installing 6-2 Quitting a running program 3-35
R
R code 5-10 Radius of arc, drilling start location (R code) 5-10 Rapid to initial position code 5-22 to point R code 5-22 traverse code 5-5, D-1, D-2 programming 5-21 README.NC 1-11 Reference point moving the 3-51 setting the 3-50, 3-54
iv
Index
Reference tool, establishing a 6-10 Registering your machine 2-2 Remove offsets 3-51 Renumber command 3-17 Replace command 3-16 Return from subprogram code 5-13, 5-28 Return to reference point code D-2 Rewind 5-13, D-5 Robots 2-6 communication with the machining center F-3 inputs 3-19 integrating with F-1 synchronization codes D-1 Rotary positioner installing 6-16 lubricating 7-17 maintaining 7-17 removing 6-16 ROTARY.NC sample program, running 6-15 Rotation and scaling 5-51 codes for 5-8, 5-49 Rotation codes D-3 Rotation commands 3-28 Rules, safety C-1 Run command 3-33 menu 3-18 mode 3-43 settings 3-42 Running a sample NC program 4-7
S
S code 5-11 Saddle 7-3, 7-4, 7-11, 7-12 Safety glasses C-1 precautions 3-33 rules 4-4, C-1 shield C-1 interlock switch 4-5 location of 1-3 Sample NC program 4-7 Save as command 3-11 Save command 3-11 Save machine state 3-45 Scaling and rotation 5-51
codes for 5-8, 5-45 creating mirror images with 5-47 each axis 5-46 Scaling codes D-3 Search command 3-15 Selecting commands 3-5 menu options 3-5 Set initial position 3-22 jog distance 3-18 jog feed 3-19 offset from standard zero 3-22 position 3-52 reference point 3-50 robot output D-5 tools 6-9 Set jog distance command 3-40 Set jog feed command 3-40 Set limits command 3-48 Set offsets command 3-47 Set part radius code D-5 Set position command 3-38 Set preferences command 3-45 Set reference point code D-2 Set robot output code 5-13 Set run settings command 3-42 Set tools command 3-46 Setting offsets 5-39 soft limits 5-32 Setup cs 3-51 Setup menu 3-38, 6-9 Setup program, running the 2-9 Shield interlock switch 4-5 safety C-1 Shift Z axis code D-3 Show position 3-37 Single line mode 3-43 Single step 3-32, 3-44 Skip 5-3, 5-4 Soft limits, enforcing 3-45 Software installation 2-8 Specify depth of cut code 5-22 Specify length of dwell code 5-22 Specify number of repeats code 5-22 Specify starting reference point code 5-22 spectraCAM 1-2, 1-9
Index
Spindle belt proLIGHT 2000 7-5 proLIGHT 2500 7-13 maintenance proLIGHT 2000 7-4 proLIGHT 2500 7-12 motor, location of 1-2 motor off code 5-12, D-4 motor on code 5-12, D-4 shaft, checking for play 7-5 speed code for 5-3, 5-11 control switch, location of 1-4 Spindle speed 3-20, B-2 Spindle taper 1-2 Splitting NC files E-5 Start up problems 3-4, 4-3 Starting the control program 3-2, 4-2 Startup mode 3-45 Stock size, setting for verify 3-21 Straight drilling 5-22, 5-23 Subprograms call to D-5 codes for 5-3, 5-4 nested 5-28 reference block code 5-28 reference number code for 5-14 return from code D-5 starting block number for 5-3
Tools sharpening B-4 types of B-3 Traverse motion 3-18 True arcs code 5-13 TTL I/O connector 1-4 location of 1-5 pin designations F-2
U
U code 5-9 Unclamp air chuck code 5-12, D-4 Uniform scaling 5-45 Units command 3-45 Units group 5-5 Unpacking the machining center 2-3 Update current line in block mode 3-44
V
Variable acceleration mode 3-43 Verification, stopping 3-32 Verify program command 3-21 screen 3-24 View change command 3-31 changing during pause 3-23 front command 3-31 right command 3-31 options 3-26
T
T code 5-11 Tab key, selecting with the 3-6 Tapping cycle code 5-22 Tapping threads 5-25 Testing, multiple tool programs 6-11 Tool body, installing and removing 6-2 change code 5-12, D-4 height sensor, using the 6-8 holder attaching the cutting tool 6-3 installing and removing 6-4 length offset code 5-3, 5-7, 552, D-3 offset adjust 5-53 offsets, establishing 6-10 safety C-2 selection 5-11 specification 5-3 window 3-26 vi
W
W code 5-9 Wait codes for robots 5-6 Wait group codes 5-6, D-1 Windows menu 3-37 Words, NC 5-2 Work coordinates 3-53 Workpiece window 3-26 World coordinate system 3-38, 3-52
X
X position, setting 3-38 X axis coordinate code 5-9 X axis coordinate of center point (I code) 5-10 X code 5-9, 5-10
Index
Y
Y axis coordinate code 5-9 Y axis coordinate of center point 5-10 Y code 5-9 Y position, setting 3-38
Z
Z axis coordinate code 5-9 Z axis coordinate of center point (K code) 5-10 Z code 5-9 Z position, setting 3-38 Zero point coordinate system 3-38 X and Y, setting 3-39 Z axis, setting 3-39 Zero position command 3-39 Zoom commands 3-28
Index
vii
viii
Index
Introduction
1-1
Portable Air Compressor The portable air compressor (PNU4535) is an intermittent duty, 3/4hp, oil-less air compressor with a built-in color-coded regulator and pressure selection chart. It delivers 2.1 CFM at 90 psi. Machinable Wax Milling Stock There are two Machinable Wax Stock Packages available for the proLIGHT Machining Centers. PKG-9110 includes 8 large blocks and PKG-9120 includes 50 small blocks of blue machinable wax.
Curriculum/Software
enLIGHT Milling Volume 1 An introductory curriculum package (CUR-7111) that takes students through the CAD/CAM/CNC process to produce a machined part. Includes a computer program, a Student Edition of AutoSketch, Light Machines' CAD to NC program, Instructor's and Student's Resource Guides and three machining part projects. The projects included with the enLIGHT packages are based on core curriculum subjects to reinforce basic disciplines such as math, science, and engineering, with an emphasis on problem-solving skills. Introduction to CNC Video Package The Introduction to CNC Video Package (Milling, DOC-7911) is one of many curriculum packages that Light Machines offers as part of the Manufacturing Technology Interactive (MTI) series of products. This comprehensive package describes and defines CNC technology, reviews its history, examines its uses, studies manufacturing operations, presents career opportunities, and applies problem solving skills through activities and projects. Introduction to CNC Workbook (Student Edition) A student workbook (DOC-7531) presenting topics such as using the mill, coordinate systems, NC programming, editing part programs, and verifying and running part programs. Includes CNC milling projects. Introduction to CNC Workbook (Teacher Edition) This teacher's workbook (DOC-7541) is similar to the student workbook, but includes teacher notes and instructions to assist in the presentation of the topics. Answers to post-test reviews are provided. Includes sample programs for milling projects on 3.5" disks.
N-See Tutor N-See Tutor (CUR-6581) provides an interactive environment for learning to write instructions for NC machine tools. Each time you enter a line of NC code, N-See Tutor simulates the tool moving through the workpiece as though the part is actually being machined. N-See Tutor includes computer-based interactive lessons that teach NC programming structure, G&M codes, part planning, and coordinate systems.
CAM Software
spectraCAM Milling and Turning spectraCAM is an industrial CAD/CAM package that generates part programs that can be run on the proLIGHT 2000. spectraCAM can import part geometry from CAD programs that export DXF files (such as AutoCAD). spectraCAM is available for both MS-DOS-compatibles (CAM-6601) and Macintosh computers (CAM-6602). spectraCAM Milling for Windows spectraCAM for Windows (CAM6721) is a CAD/CAM part programming package designed for use with all Light Machines' CNC machining centers. The included CAD program, spectraCAD, uses the simplicity of graphic buttons and tool bars. A variety of drawing and editing tools assist in constructing geometry easily, quickly, and precisely. spectraCAD can display the geometry in a number of different ways and provide printed output for inspection. Bidirectional DXF file transfer capability makes spectraCAD and spectraCAM compatible with other applications like AutoCAD.
1-2
Section 1