BenchTurn 7000 User Guide - D PDF
BenchTurn 7000 User Guide - D PDF
BenchTurn 7000 User Guide - D PDF
USER'S GUIDE
August 2016
website: http://www.intelitek.com
email: [email protected]
All rights reserved. No part of this publication may be stored in a retrieval system, or reproduced in any way,
including but not limited to photocopy, photography, magnetic or other recording, without the prior agreement and
written permission of the publisher. Program listings may be entered, stored and executed in a computer system,
but not reproduced for publication.
Every effort has been made to make this book as complete and accurate as possible. However, no warranty of
suitability, purpose, or fitness is made or implied. Intelitek is not liable or responsible to any person or entity for loss
or damage in connection with or stemming from the use of the software, hardware and/or the information
contained in this publication.
Intelitek bears no responsibility for errors that may appear in this publication and retains the right to make changes
to the software, hardware and manual without prior notice.
Warnings
The operation of rotating machinery should only be attempted by experienced, knowledgeable
individuals.
Read the entire contents of this guide before running the BenchTurn 7000 Turning Center.
To avoid possible injury always observe the safety precautions described in this User's Guide.
The following icons indicate important information throughout this User’s Guide.
Provides essential safety instructions that must be followed to prevent operator injury or
death.
Safety
Product Care
Take Note
Table of Contents
Table of Contents i
6. Tutorial: Turning a Sample Part ..........................................................................................................................76
6.1. Reviewing Safety Procedures ...................................................................................................................................... 76
6.2. Preparing Tools and Materials ..................................................................................................................................... 76
6.3. Opening the Sample NC File ........................................................................................................................................ 77
6.4. Determining the Stock Size .......................................................................................................................................... 78
6.5. Configuring the Verify Settings .................................................................................................................................... 79
6.6. Defining the Tool ......................................................................................................................................................... 85
6.7. Verifying the Program ................................................................................................................................................. 86
6.8. Performing a Dry Run .................................................................................................................................................. 87
6.9. Mounting the Workpiece ............................................................................................................................................ 93
6.10. Running the Program................................................................................................................................................... 96
Table of Contents ii
10.6. Mounting the Cutting Tool ........................................................................................................................................ 172
10.7. Sharpening the Tools ................................................................................................................................................. 173
3. Install the hardware and software as described in chapter 3 Installing the Hardware and
Software.
6. Follow the instructions in the tutorial presented in chapter 6 Tutorial: Turning a Sample Part.
a. Chapter 7 Basic CNC Programming presents guidelines for writing basic NC programs, and lists
and describes the use of all codes available for use with the BenchTurn 7000.
c. Chapter 9 Multiple Tool Programming provides instructions for configuring the control
software and writing NC code for programs that require the use of more than one cutting
tool. The chapter also presents step-by-step instructions for turning a sample part using
multiple tools.
d. Chapter 10 An Introduction to CNC Turning provides a basic introduction to the fundamentals
concept in CNC turning.
e. Chapter 11 Automation lntegration provides instructions for integrating the BenchTurn 7000
in a robotic environment.
1 Safety Guidelines
1.1 Detailed Safety Guidelines 1
Info Table: Safety Guidelines
Category Guideline Comment
Keep coolant away
from electrical Do not allow coolant to splash into or near the computer.
components.
Don't wear loose clothing or jewelry that can get caught in
Avoid loose hair and
Clothing and Hair moving parts. Wear a hat or hair net, or tie your hair back to
clothing.
keep it away from moving parts.
During operation any power tool can throw foreign objects and
harmful chemicals into your eyes. Always put on safety glasses
Wear safety glasses. or eye shields before starting up the turning center. Safety
glasses or shields should provide full protection at the sides, as
well as the front of the eyes.
The turning center has an AC power cord terminated by a three-
prong plug. The power cord should be plugged into a three-
hole, grounded receptacle. If a grounding adapter is used to
Ground all tools.
Safety Equipment accommodate a two-prong receptacle, the adapter wire must
be attached to a known ground. Never remove the third prong
from the plug on the AC power cord.
Keep the safety door
The safety door should remain in place whenever the spindle
closed while machine
motor is on or the cross slide is moving.
is in motion.
Make it a habit to check that keys and adjusting wrenches are
Remove adjusting keys
removed from the turning center before turning on the
and wrenches.
machine.
Before you run the BenchTurn 7000 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 turning center:
Stopping the machine. Press the Emergency Stop button.
Press the Control and Space Bar keys on the computer
keyboard simultaneously.
Activate one of the limit switches.
Emergency Stop Activate the safety door interlock switch.
You should use the Emergency Stop button to disconnect power
When to use the
to the turning center when changing tools or when mounting or
Emergency Stop.
removing a workpiece.
There is an Emergency Stop button located on the front panel of
Using the machine- the turning center; it has an oversized red cap.
mounted emergency
To engage: Press the button in.
stop button.
To release: Turn the button clockwise; it will pop out on its own.
1 Safety Guidelines
1.1 Detailed Safety Guidelines 2
Info Table: Safety Guidelines
Category Guideline Comment
The execution of the part program can be interrupted by
pressing the Control and Spacebar buttons on the computer
Using the software
keyboard. Unlike using the Emergency Stop button, this method
stop button.
of stopping the turning center does not cause the software to
lose track of the tool position.
Proper setup of the turning center is essential for safe turning.
These procedures must be followed each time a new tool is
mounted. General setup requirements for the turning center
include checking components for cleanliness and lubrication,
General mounting the cutting tool, mounting the workpiece, and setting
the spindle rotation speed.
The following safety rules should be practiced by all operators of
the BenchTurn Turning Center for each use.
Avoid accidental Make sure the power switch is off before plugging in the turning
starting. center power cord.
Always examine the bed saddle, cross slide and lead screw to be
sure they are free of shavings and particles from previous
Check lathe operations. Remove such debris from the lathe to avoid possible
components. binding of components which may result in possible damage to
the lathe, the workpiece, or the operator.
Always make sure the machine is properly lubricated.
Select the feed rate and depth of cut that are best suited to the
Do not force a tool. design, construction, and purpose of the cutting tool. It is
Operation Rules always better to take too light a cut than too heavy a cut.
Select the type of cutting tool best suited to the turning
Use the right tool. operation. Don't force a tool or attachment to do a job it wasn't
designed for.
Maintain cutting tools Keep cutting tools sharp and clean. Lubricate and clean turning
in good condition. center components on a regular basis.
Each cutting tool used in the turning operation must be sharp
and tightly inserted in the tool turret. The cutting edge of the
Mount the cutting tool
tool must be on the centerline or just below the centerline
correctly.
(0.004 inch or 0.1mm maximum) of the axis of rotation of the
lathe
Be certain that you have firmly secured the workpiece in the
Secure the workpiece. spindle and the cutting tool to the cross slide before turning on
the spindle motor.
Tighten all holding, Tighten the work holders and tool holders. Do not over tighten
locking and driving these devices. Over tightening may damage threads or warp
devices. parts, thereby reducing accuracy and effectiveness.
Turn the spindle by Manually turning the spindle allows you to safely determine
hand before starting. that the tool will not hit the chuck or stock on start up.
1 Safety Guidelines
1.1 Detailed Safety Guidelines 3
Info Table: Safety Guidelines
Category Guideline Comment
The BenchTurn Turning Center is equipped with an
electronically controlled spindle motor which produces a
Set the spindle rotation
comprehensive range of spindle rotation speeds. Speed can be
speed.
set with the Control Software or by using an S code in the NC
program. Always use a safe spindle speed.
To avoid stressing the turning center and creating a hazardous
Use recommended turning environment, use only those accessories designed for
Accessories
accessories only. use with the BenchTurn7000, available through Intelitek
Corporation.
1 Safety Guidelines
1.1 Detailed Safety Guidelines 4
1.2. SAFETY CHECKLIST
Post copies of this checklist in the work area. Verify that all items are checked-off prior to
each operation of the BenchTurn turning center.
Safety
1 Safety Guidelines
1.2 Safety Checklist 5
2. Introducing the BenchTurn 7000
The BenchTurn 7000 is a versatile PC-based benchtop CNC turning center that enables you to deliver
robust instruction in computer numerical control and advanced manufacturing.
The BenchTurn 7000 comes equipped with 2-axis stepper motors, ball screws, a variable speed brushless
spindle motor, limit/home switches, and an MT3 taper spindle with MT2 taper tailstock.
This benchtop CNC system requires no assembly and is ready to run on an Ethernet port on a standard
PC, and fits comfortably into any classroom without sacrificing features.
Like larger industrial machines, the BenchTurn 7000 uses EIA, ISO, and Fanuc-compatible G&M code
programs to cut parts in a variety of materials.
This section presents the following information:
Section Contents: Introducing the BenchTurn 7000
Section Name Page
2.1 Overview of Standard Features. 6
2.2 BenchTurn 7000 Components 7
2.3 Overview of CNCBase/Motion Control Software. 11
2.4 Standard Accessories 12
2.5 Optional Accessories 12
2.2.4
2.2.3 Enclosure (Front View), pg. 9 Enclosure (Right Side View), pg. 11
3 2 1
4 1. Enclosure door
2. Emergency stop switch
3. Enclosure release button
5 4. I/O ports
5. On/Off switch
6 6. Right access door
Notes:
The Safety door encloses the turning area to help protect the operator from flying chips. A
magnetic shield interlock switch prevents the machine from operating with the shield open.
The Emergency Stop button is used to halt machine operation. When pushed, machine
operation stops immediately. To resume operation, the button must be rotated clockwise and
will then pop out on its own. It is important that this button be pushed in (i.e. engaged) before
performing any manual operation, such as changing the stock or tooling.
1 2 6
3
1. PC power supply
2. Coolant power supply
5 3. Jog pendant port
4. FANUC panel port
5. Ethernet port
4
6. Left access door
2
1 1. Spindle drive
2. Encoder
3. Z-axis drive motor
Note:
The left door panel provides access to the spindle shaft and belts, the Z-axis stepper motor, and
related components. Do not handle these components unless they require maintenance.
1 2
3 1. 3-Jaw chuck
2. Work light
3. Tool turret
4 4. Cross slide
5. Bed
5 6. Lubricant reservoir
1. Quill lock
2. Tailstock
handwheel
3. Tailstock lock
3 4. Quill
1. Tailstock handwheel
2. Serial number (on top of
rear rail)
2 3. X-axis drive motor housing
3
We recommend the use of a voltage surge protector and line filter to protect your computer
system. A voltage surge protector is not supplied with the BenchTurn 7000.
Product Care
2. Remove the staples that attach the bottom of the cardboard container to the pallet.
6. Inspect the turning center chassis for signs of visual damage such as a broken shield, a dent in the chassis,
or damaged cables.
8. Remove the four bolts that hold the turning center base to the pallet, using a 19mm wrench.
9. Store the bolts and other packaging materials, in case the product has to be returned or transported.
10. Lift the turning center off of the pallet and onto the table. If lifting the machine manually:
b. With one person on each corner of the machine, carefully lift the machine by the lift handles
onto the workbench.
c. Return the four handles to their original positions underneath the enclosure.
11. Once the machine is on the table, position the turning center correctly for turning.
13. Open the front door and remove the components from the enclosure. 0 .
2. Check that all items on the packing slip are present. See the checklist below.
Use the checklist below to ensure that all items listed on the packing slip are present in the delivery.
Checklist: Checking your Shipment
No. Item
1 BenchTurn 7000 Turning Center
2 Installation disk for CNCBase/Motion software
3 Documentation pack
4 Accessory kit
The accessory kit contents are shown below. Item Qty Description
Dead center (1 short, 1
1 2
long)
2 1 Allen wrench set (4 keys)
3 1 8-10mm Wrench
4 1 12-14mm wrench
5 1 CNC Base Control Software
6 2 Electrical panel keys
7 1 5x20 mm fuse - 10 Amp
8 1 Chuck key, T-handle
9 3 Chuck jaws
10 1 Ethernet Cable
18 Tsienneto Road
Derry, NH 03039
USA
or fax to 603-625-2137 0 .
Do not connect power to the turning center or the computer until instructed to do so in the
following procedures.
Safety
2. Use a cable with 8P8C (RJ-45) connectors at both ends to connect the turning center to the computer, as
shown. 0 .
The turning center has an AC power cord terminated by a three-prong plug. The power cord
should be plugged into a three-hole, grounded receptacle. If a grounding adapter is used to
accommodate a two-prong receptacle, the adapter wire must be attached to a known
ground. Never remove the third prong from the plug on the AC power cord.
Safety
Follow the procedure below to connect the turning center to a power supply.
Procedure: Connecting the Power
1. Ensure that the turning center’s power switch, located at its side, is set to the OFF position.
2. Connect the power cord from the turning center to the power source. 0 .
To avoid stressing the turning center and creating a hazardous turning environment, use only
those accessories designed for use with the BenchTurn turning center, available through
Intelitek Corporation.
Safety
Complete the hardware and software installation procedures (see 3.3 Installing the Software
below), and test the functioning of the basic machine, before installing accessories.
Product Care
If you do not see the Open All Users option, you do not have administrative rights on the computer. Contact your
system administrator for assistance.
If the installation does not open automatically, navigate to the Install folder and launch iCNC.exe.
6. Click Next.
7. Select the machine you will be using. It is important that the machine selected matches the license you
have purchased.
8. Click Next.
4. Locate and click the CNCBase/Motion for Intelitek CNC & Fanuc emulator folder.
5. Click Reinstall. 0 .
The Reinstall Options window closes. The selected option is now listed in the Installed Options list.
You must have administrator access to your computer to run the Machine IP Changer utility.
Take Note
To reconnect to the network over the LAN, you will need to restore the settings of your LAN
adapter.
Take Note
3. From the dropdown list, select the local area network or network card that you wish to use for the CNC
machine.
4. Click Continue.
3. Locate and click the CNCBase/Motion for Intelitek CNC & Fanuc emulator folder.
4. Click Uninstall.
9. Click Finish.
Intelitek will not be responsible for any damage incurred during shipping when components
are not returned in the original packing materials.
Take Note
2. If the Technical Support representative decides that the product is defective and has to be returned, the
Technical Support representative will issue a Return Materials Authorization number (RMA). Store this
number safely.
3. Pack the product to be returned in its original packaging and crate, as was packed originally.
4. Write the RMA number and your return address on the outside of the product carton or crate. Failure to
do so can result in a delay in the return of your product.
5. Have the package returned to Intelitek’s offices, as directed by the Technical Support representative. 0 .
Preventative maintenance of the BenchTurn 7000 is essential for ensuring a long and
trouble-free service life.
Product Care
This section presents instructions for maintaining the turning center and computer.
Task: Maintaining the Turning Center
Task Section Page
Keep the machine clean. 4.1 36
If you clean a component of the turning center that requires lubrication, make sure to
lubricate it after cleaning.
Product Care
Product Care
Follow the guidelines below to ensure proper lubrication of the lathe bed.
Guidelines: Lubricating the Lathe Bed
B
1
4
1. Spindle
2. Encoder
2 3. Spindle motor
4. Encoder belt
5 5. Spindle belt
The spindle motor and an encoder are mounted to the back of the spindle. The spindle motor not only
drives the spindle (by way of the spindle drive belt) but also rotates the encoder shaft (by way of the
encoder drive belt). The encoder transmits the spindle speed information to the computer.
1. Check the encoder shaft and spindle drive belts every two months, or whenever a
squealing sound is heard.
2. Replace the encoder shaft and spindle drive belts only with belts supplied by
Intelitek. Use of improper belts can cause machine damage and increase wear on
Product Care
components. 0 .
3. Loosen the two screws that hold the spindle motor mounting plate in place using an Allen wrench.
4. Adjust the spindle motor mounting plate so the spindle drive belt becomes loose.
7. Tighten the spindle drive belt by returning the mounting plate back toward its original position.
8. Tighten the two screws while holding the panel so the belt stays taut. 0 .
Continuously Before Every After Every Use Every 2 Months Every 3 Months
Use
Coat exposed
surfaces with X
light oil
Maintain the
level of 15 X
weight way oil in
the one-shot
lubricating
system
Check spindle
and encoder X
drive belts
A cutting tool higher than the spindle A cutting tool properly positioned A cutting tool lower than the
centerline rubs against the workpiece along the spindle centerline cuts the spindle centerline leaves material
as it approaches the center of the stock cleanly. on the stock when performing
stock. facing cuts.
Because different tools may be set up differently, you may need to make some gross adjustments to the
tool turret before you can make fine adjustments and start turning parts.
If material is left in the center of the stock, it is because the tool is below the center-line and must be
shimmed up. The amount which must be shimmed is equal to half the diameter of the material left, as
illustrated below.
4. Once one tool is aligned, the rest of the tools can be aligned by measuring from the cross-slide to the tool
tip using a pair of calipers.
0 .
2. The turning center must be powered up and connected to the computer before
launching the software in on-line mode.
Safety
3. Review the complete safety guidelines in Chapter 1, pg. 1. 0 .
6. Click No if the message below displays. This message is only displayed the first time the software is run
after installation. 0 .
1. The safety door should be closed, and the Emergency Stop button
released, before launching the software in on-line mode.
Simulation mode
For use without the BenchTurn 7000 connected. In simulation mode, you can write, edit, and
verify NC programs as in on-line mode, but you cannot control or send NC programs to the
BenchTurn 7000.
Follow the procedure below to toggle between on-line and simulation mode.
Procedure: Selecting On-line or Simulation Mode
1. Launch CNCBase/Motion.
The two modes are listed at the top of the Setup menu. The mode that is currently active is checked.
The table below summarizes all options listed in the Main Menu.
Info Table: Main Menu
Save Saves the program in the currently active Program Editing window,
using its current name.
Save as Saves the program in the currently active Program Editing window,
under a new name that you specify.
Print Prints the NC program in the currently active Program Editing
window.
Print setup Opens the Print Setup window in which you can set up a printer for
printing NC programs.
Choose machine For selecting which NC machine configuration is in use.
See 3.3.5 Configuring the Software, pg. 27
Save a copy of current Saves the current machine configuration, so that you can reload it
configuration later.
See 3.3.5 Configuring the Software, pg. 27
Paste Paste text from the clipboard into the current NC program.
Pause Pause the NC program after the current line of NC code finishes
executing. Spindle continues to turn.
Feedhold Immediately pauses the NC program. Stops movement of all axes
while spindle continues to turn.
Stop Immediately halts the currently running NC program. Stops both axes
movement and spindle.
Tool Setup Library Define tools. See 5.3.1.3 Tool
Menu and Turret
Select Tool Select a tool for use. Control Toolbar, pg.
54.
Select Tool From Select a tool to use from a menu.
Offsets Modify the table of Offset values used for certain NC codes.
Spindle Specify a spindle speed if you have not used an S code in your NC
program.
Backlash Define the amount of play in the turning screws.
Soft Limits Establish and configure software limits for each axis.
Window Run and Edit Screen Loads the preset display configuration for running NC programs:
Operator panel, Verify window, Machine info.
Verify Screen Loads the preset display configuration for verifying NC programs:
Verify window, Machine info.
Program Screen Select how multiple NC program windows display: tiled or cascading.
Close all windows Closes all software panels and windows, including NC programs.
Tip of the day Shows a specific tip to help you take more advantage of the software.
New
Opens a new NC part program file.
Runs the current NC part program, and recommences the program after a
Run
pause.
Causes the currently running program to pause once the current block in the
Pause NC program is complete. The program will continue from the next line once
the operator resumes operation.
Pauses the currently running program immediately, even if the current block
in the NC program has not been fully executed. The spindle continues
Feedhold
spinning. The program will continue from the point at which it stopped once
the operator resumes operation.
Show 3D
Toggles the 3D display on and off.
Image
Redirect Initiates camera redirection: after clicking this icon, click any point on the 3D
Camera image to center the camera on that point.
Initiates camera following mode: after clicking this icon, click any point on
Follow Me
the 3D image to center the camera on that point. If that point moves during
Camera
simulation, the camera will readjust to keep that point at the center of focus.
5 Using the Control Software
5.3 Software Interface 52
Initiates image dragging mode: after clicking this icon, click and drag the 3D
Drag Image
image to reposition it within the window.
Saves the current viewing angle and position of the 3D window. The next
Save Camera
time you open CNCBase/Motion, that saved view will be restored
Position
automatically.
Send Tool to Moves the tool to the workpiece origin immediately. (Available in Simulation
Origin mode only.)
Send Tool to Displays a cursor: click any point on the workpiece, and the tool will move
Point directly to that point. (Available in Simulation mode only.)
Reset
Returns the workpiece to its original uncut form in the 3D window.
Workpiece
Tool Setup -
Allows you to
Library specify the details
of up to twenty
tools to be used.
Specifications
include tool type
(shape), material,
radius, angle, and
more.
Click any tool listed in the left panel, edit its specifications, and
click OK to save.
Configure
Turret
Opens the
Configure Turret
window. In this
window you specify
which tool is
positioned in each
of the tool turret
locations.
The Tool drop-down list lists all tools defined in Configure turret
window. If you select a tool that is:
Currently configured within the tool turret (in the
Configure Turret window), then click Change Tool. The
tool turret will reposition itself so that the selected tool
will now be in the machining position.
Not configured within the tool turret, click Select Tool.
The Configure Turret window is displayed.
Select Tool
Indicates which tool
From station is currently
in the turning
position, and allows
you to select a
different station to
be moved to The number displayed in the toolbar icon indicates which station
turning position. is at turning position. You can select a different station to be
moved to turning position.
Operate
Opens the Operate
Turret Turret window. Use
this window to
command the
turret to change
position.
Description
Item
When the indicator is dimmed, the function is in the off condition. For example:
The program has been modified The program has not been modified.
The Actual Position Window displays the current position of the machining tool in four coordinate
systems.
Info Table: Absolute Position Panel
Column Displays
Absolute The position of the tool in the current coordinate system.
Relative The position of the tool relative to the Work coordinates.
Machine The position of the tool relative to the machine's home position.
Dist to go The distance remaining until the end of the current line of code (if a program or NC code is
currently running).
Right clicking the Actual Position window provides other options such as Set Position, Zero position,
Goto and Hide.
When a part program is running, the Machine Info panel also provides a dynamic display of the elapsed
machining time and highlights the block of code that is currently being executed.
Description
Item
Shows the tool number currently in use.
Shows the program line number currently being executed, and the
total number of program lines.
Counts how many parts have been made.
By default, the Edit window is locked, meaning that you cannot edit the program within it. A locked Edit
window has a grey background, and an unlocked Edit window has a white background.
The Edit window’s background color changes to white. Editing is now enabled.
Pressing the X and Z buttons moves the tool in the X and Z directions,
positively or negatively.
You can also use the arrow buttons on your keyboard, when the
button is active.
The X and Z controls are not displayed when the handwheel accessory is
in use.
Click to allow the arrow keys on the keyboard to control jog motion.
Unclick to prevent the arrow keys from controlling jog motion.
This button is automatically activated after clicking one of the X and Z
buttons.
With a handwheel connected:
Click on the green button to activate the handwheel. The arrow
buttons will disappear.
Click again to deactivate the handwheel and restore the arrow
buttons.
To deactivate the jog controls, click anywhere in the control
software window other than the jog panel.
The axis will move at the speed selected in the Speed area. Units are in
inches/min, or mm/min.
You can change these preset speeds in the Settings window, accessed by
clicking Setup | Jog Settings in the Main Menu.
Pauses the currently running program immediately, even if the current block in
the NC program has not been fully executed. The spindle continues spinning. The
program will continue from the point at which it stopped once the operator
resumes operation.
Sets the feed rate override. The actual feed rate while turning will be calculated as
the feed rate specified in the NC program multiplied by the percentage specified
here.
Sets the spindle speed override. The actual spindle speed while turning will be
calculated as the spindle speed specified in the NC program multiplied by the
percentage specified here.
Optional Skip
Allows you to execute or ignore any optional skips (M00) you have embedded in
the NC program.
Optional Stop
Allows you to execute or ignore any optional stops (M01) you have embedded in
the NC program.
5.4. HOMING
The machine’s Home position is a predefined position. The turning center uses this point as a reference
for all machine coordinate movements. This allows you to use the Soft Limits and Coordinate Systems
commands (under the Setup Menu) to move the turning center consistently to the same location.
Follow this procedure to home the machine.
Procedure: Homing
1. Either:
Home to send the machine to the home position at regular speed. (Recommended)
Quick Home to send the tool to the home position at a rapid speed. Use this option only if you are sure
that doing so is safe.
The machine will move to its home position.
1. Either click the Verify icon on the Standard Toolbar, or click Program | Verify on the Main Menu, or
press F6 on your keyboard. .
Verify Settings to open the Verify Settings window. The settings here specify how the verification
is displayed. See 5.6.3 Configuring Verify Settings, pg. 71.
Single Step Allows you to run the program one line at a time, pausing after each line is
Enable Subprograms Must be checked if the program uses subprograms. If this option is disabled, M98
(Call to subprogram) commands generate an error.
Arc Centers Incremental Specifies the Fanuc mode as the default mode for programming arc centers, in
which arc centers are always incremental.
When this box is unchecked, the default mode is EIA-274, in which arc centers
follow the general programming mode: absolute when the mode is absolute, and
incremental when the mode is incremental.
To override the default, place the Incremental Arc Centers (%) or Absolute Arc
Centers ($) code in the first line of the NC file.
Treat Warnings as Errors When this item is checked, any warning will halt the program, resulting in a
program stop. When motion is stopped, all outputs are turned off.
This command is used for special applications, such as laser welding, where you
do not want any unexpected pauses in the program execution.
Restore Unit Mode When Restores the original unit mode (inches or metric) regardless of the units specified
Done in the current NC program.
Check this box if you normally work in one unit mode (inch or metric) but would
like to run a program in another mode without disrupting your default settings.
Verify While Running When this box is checked, the Verify window will display the program verification
while the program is running.
The settings available in this window are described below, arranged by tab.
Info Table: Verify Settings Window
Display Tab
Use the Zoom + and - controls to alter the displayed size of the
workpiece in the Verify window.
Use the Verify Speed control to alter the speed at which the verify
program will be executed in the Verify Window. If you would like to
view the verify program in slow motion, move the slider to the left. If
you would like to view the verify program at a faster speed, move
the slider to the right.
When Auto Refresh is checked, whenever you resize the Verify
window the verification will be performed immediately,
automatically.
Tool Position Tab
Specifies the X-axis and Z-axis location of the initial tool position,
relative to the origin specified on the Stock tab.
Stock Tab
Specifies the length and diameter of the stock to be used. The length
specified must exclude the length of the stock held within the chuck.
Moves the origin of the stock in relation to the center of the chuck
face.
Check the Show Chuck and Origin Marker checkbox to make the
chuck and origin symbol visible in the Verify simulation.
Zooms in/out.
Before running an NC program for the first time, you are advised to follow the tutorial
presented in chapter 6 Tutorial: Turning a Sample Part, pg. 76.
Safety
4. Be prepared to press the Emergency Stop button on the machine, if anything goes
wrong. 0 .
4. Click:
Click the Help button located on many of the windows to open the relevant Help page.
Ensure that you are familiar with all safety guidelines in 1 Safety Guidelines, pg. 1, before
continuing.
Safety
1 Examine your part drawing (indicated in blue in the picture) and A 0.73”
determine the diameter of the widest section of the part.
2 Round that value up to the next available stock diameter. This will be B 0.75”
the diameter (X value) of your stock. For example, if the maximum
diameter of the part is 0.73 inch, you might select a workpiece of 0.75
inch diameter, if that is a standard available diameter.
3 Examine your part drawing and determine the length of the part. E 1.91”
4 Add an extra 0.5 inches to that length to provide extra length by which C 0.5”
the chuck can hold the workpiece.
5 Add a short additional length so that the tool will not have to cut right D 0.5”
up to the point where the workpiece meets the chuck, risking collision.
In this example a value of 0.5” is used.
6 Round the total calculated value up to the next available stock length. G 3.0”
For example, if the sample part will be 1.91 inches long, we add 0.5
inches for the chuck length, and add another 0.5 inches for a safe
turning distance from the chuck, giving a required length of 2.91
inches. We then round that up to 3.0 inches, if that is the next
available stock length.
If the Verify window is not displayed, click View, and click Verify Window to open it.
2. Make all required settings. See 5.6.3 Configuring Verify Settings, pg. 71.
2. Enter the stock dimensions for the contour_imp.nc part program. The stock dimensions define the
dimensions of the stock outside the chuck.
Z=2.5"
X=0.75”
Z=0.5"
X=0"
4. Check the Show Chuck and Origin Marker checkbox to make the chuck and origin symbol visible in the
Verify simulation.
5. Select OK.
The window closes, and your changes are applied to the workpiece in the Verify Window.
The Setup Tool Library window is displayed. There are already a number of tools defined.
2. Select Tool 01, a left hand diamond profiling tool with outside orientation.
3. Check that the settings for Tool 01 are as shown below. If they are not, modify the settings to match the
settings shown.
5. Click Tools | Select Tool in the Main Menu. The Select Tool for Use window is displayed
1. Click Program | Verify in the Main Menu or click the Verify icon in the Standard Toolbar.
2. Ensure that Start at Line is set to 1. This specifies that the program should be run from the first line
onward.
During verification, a Pause message may be displayed, either because of a programmed pause or for a
tool change.
The program is verified. Upon completion the Normal Program Stop window is displayed.
5. Click OK. 0 .
Safety
2. Ensure that your diamond profiling tool is in position 1 of the tool turret.
3. Mount the workpiece in the chuck. Your workpiece should be a cylindrical piece, 3.0" in length with 0.75"
diameter.
a. Click the arrow buttons, or press the arrows keys on your keyboard, to move the tool.
b. To make the tool move continuously while one of the X and Z buttons is pressed:
c. To make the tool move a fixed distance each time a Z or X button is pressed, click one of the
numbered step sizes in the Step Size area.
7. Once the tool has reached the workpiece corner as explained previously, click Setup | Set Position in the
Main Menu.
The position values in the Actual Position window will be set accordingly.
15. Click Setup | Set/Check Home in the main menu, or press Ctrl-H on your keyboard.
18. Click the Run Program button. The machine begins running the program.
0 .
Safety
As the part program runs, observe the tool motion in relation to the chuck, other fixtures in the machine,
and the future location of the workpiece. Look for signs of a possible tool crash and be prepared to press
the Emergency Stop switch on the turning center. Edit the program as required. When you are satisfied
that the tool motions are correct, you can proceed to the next step – mounting the workpiece and turning
the part.
4. Mount the 3.0" x 0.75" workpiece in the chuck. Take care to position the workpiece perpendicular to the
tool turret.
7. Set the Spindle Override to its minimum setting in the Operator Panel.
8. Click the Spindle button on the Outputs Toolbar to turn on the spindle.
a. Use Continuous mode (selected in the Step Zone area of the Jog Control panel) to move the tool
towards the workpiece, but stop motion before the tool is in range of touching the workpiece.
b. Once the tool is near the workpiece, switch to Step mode, using a small step size. Jog the tool, step by
step, until it touches the workpiece.
10. Once the tool is just touching the workpiece along its side, click Setup | Set Position in the Main Menu.
13. Jog the tool slowly until it just touches the workpiece anywhere along its face. Follow the guidelines
provided in step 9 above.
0 .
5. Once the program has ended, press the Emergency button, open the safety door, and remove the finished
part. 0 .
There are many categories of address characters used in NC part programs for the BenchTurn Turning
Center (see 7.4 NC Codes, pg. 100).
8 First movement command in The first instruction in a part program should move the tool to the
program starting position. This makes restarts much easier.
9 Last movement command in The last block of a program should move the tool back to the starting
program position. The tool will then be in position to start cutting another
part.
2. Look for the typical coding error that places two X codes or two Z codes in the same block.
3. Be sure that all required coordinates have been written into appropriate blocks.
5. Run the part program without mounting stock in the turning center to see if the tool movements are
logical. 0 .
Place the code at the beginning of the line you wish to skip. When you run the NC program, the specified
line will be skipped.
For example, if you want to execute a block of code every 5 passes, place \5 as the first code at the
beginning of the block.
Do not use G04 to create a pause for a tool change during a program.
Use G05 instead.
Safety
G05 Pause
Used for operator intervention. Stop motion on all axes until the operator manually
resumes program execution using the Run/Continue command or the Run button .
G25 Wait until input #1 (Robot 1 or user input 5) goes high before executing the operations in
this block.
Used for robot synchronization (see 11 Automation lntegration, pg. 174).
Use the H code to specify an input other than the default, H5 (see 7.4.7 H Code: lnput
Selection Number, pg. 115.)
Example: G25H13; Wait until user input 3 goes high.
7.4.6.6.1 106
G29 Return to reference point: Moves the tool to a coordinate specified by XZ.
Typically used after a G28 code.
G92 Preset position: This code works like the Set Position command under the
Setup Menu. The X and Z coordinates following a G92 code define the 7.4.6.6.2 107
new current position of the tool.
G98 Rapid move to initial tool position after canned cycle complete.
G99 Rapid move to point R (surface of material or other reference point) after 8.4 132
canned cycle complete.
The Homing feature in the control software sends the machine to the predefined Home position (0,0).
This is used as a reference for other motion.
The homing commands (G28, G29) allow you to return to and check this established position. The
turning center uses this point as a reference for all machine coordinate movements. This allows you to
use the Soft Limits and Coordinate Systems commands (under the Setup Menu) to move the turning
center consistently to the same location.
Before you can use any homing commands, or the Soft Limits and Coordinate Systems commands, you
must use the Set/Check Home command to establish an initial reference point. See 5.4 Homing, pg. 65,
for information on using the Set/Check Home command.
The G92 code is used to initialize the current tool position. In other words, the G92 code can be used to
redefine the X and Z values of the tool’s current position. The X and Z coordinates following a G92 code
define the new current position of the tool.
The tool position can also be redefined through the control software, by clicking Setup | Set Position in
the Main Menu.
The G39 code inserts an arc at the corner of a cutter compensated tool path. The G39 instructs the
cutter compensation function to complete the current segment by moving to its default endpoint (the
endpoint of the Offset Vector). It then creates an arc (with a radius equal to the offset value), starting at
the buffered segment's default endpoint, and ending at the endpoint of the offset vector (IJ). Here is an
example of an NC program using G39:
G41D1… Start left cutter compensation, using entry #1 from the offset table.
Use the G40 Cancel cutter compensation code to cancel cutter compensation. G40 is modal.
There are six methods for cancelling cutter compensation, described in the table below.
Info Table: Cancelling Cutter Compensation
Method Explanation Example
G91G41D1
…
X.25
The G40 code cancels cutter compensation. The cutter moves Y-.25
G40
from the offset path to the programmed end point. Z.2; RETRACT
G40
X-.5Y-.25
M2
G91G41D1
…
X.25
The G40 cancels the cutter compensation, but a subsequent
G40XYZ motion (X-.5Y-.25) is included in the program. The tool moves Y-.25
towards the programmed path in the direction of X-.5Y-.25.
Z.2;RETRACT
G40X-.5Y-.25
M2
G91G41D1
…
X.25
An IJK vector specifies the direction of movement after cutter
G40XYZIJK Y-.25
compensation is cancelled.
Z.2; RETRACT
G40X-.5Y-.25I-.5J-.25
M2
G91G41D1
…
Setting the offset number to zero cancels cutter compensation.
X.25
The cutter moves from the offset path to the programmed end
point. Y-.25
D0
Setting the offset number to zero has the same effect as Z.2; RETRACT
cancelling cutter compensation (as for G40 listed above).
D0
However, cutter compensation is still active.
X-.5Y-.25
M2
The G41 and G42 codes command left and right cutter compensation as illustrated below.
Info Table: Left and Right Cutter Compensation
Code Explanation Explanation
The D code selects a value for cutter compensation or tool offset adjustments by referencing values in
the control program offset table.
For example, D1 selects entry #1 from the offset table.
D0 cancels compensation.
The offsets specified by D1 to D199 are set in the Setup Offsets table, accessed by clicking Setup |
Offsets in the Main Menu.
Using a P Code to scale an entire piece will affect the X axis, which will affect your
programmed depths of cuts. Use caution when performing scaling operations.
Take Note
Use the following codes for scaling:
Info Table: Scaling Group
Code Function
G50 Cancels scaling
G51 Invokes scaling
P Uniform scale multiplier
The transmit codes M25 and M26 for interfacing with robots or other external devices to specify
the output number.
H codes specify inputs and outputs as defined in the table below.
Resolution Resolution is low; the approximated circle is Resolution is higher; the approximated circle is
made up of few lines. made up many lines.
Default Settings
The default setting for the turning center is 2 degrees, and typically this will work quite well. The L code
can be a fraction of a degree (such as L0.5), but it must be large enough so that the turning center will
move at least the minimum motion distance (0.0005") on each of the straight line motions.
Calculating L
If you know the chord length you would like used when approximating an arc or circle, calculate the
angle L as follows:
Example To calculate the L value for a chord length of 0.001" and a radius of 0.5", you would write the
equation as:
360 ∙ 𝑐 360 ∙ (.001)
𝐿= = = 0.1146°
2𝜋 ∙ 𝑅 2𝜋 ∙ .5
Negative L Values
A negative value for L will generate a normalized L factor, calculated as:
Angle {degrees} = L / Radius { inches}
For example, with the default L factor of -1:
Calculation: Calculating the Angle of Arc when Using Normalized L of -1
Radius L Value Calculation Result
0.5 inch -1 Angle = L/0.5 = 1/1 The arc will have line segments approximating every 2 degree of
the arc.
1 inch -1 Angle = L/R = 1/1 The arc will have line segments approximating every 1 degree of
the arc.
2 inches -1 Angle = L/2 = 1/2 The arc will have line segments approximating every 0.5 degrees of
the arc.
N37 Z.2
N38 M20
PROGRAM2.NC; Chain to PROGRAM TWO
If the two programs you are chaining are not in the same directory on your computer,
you must specify the full path name for the next program file. If the software cannot
locate the specified file, you will be prompted to find it.
M22 Output current position or other information to file. See 7.4.11.1 M22 Code: Output
Current Position to File, pg. 121.
M47 Rewind
Restarts the currently running program; takes effect after all motion comes to a stop.
Typically used with an L code to repeat a program a set number of times.
M98 Call to subprogram
Use the P code to specify the subprogram starting block number. Use the L code to
specify the number of times the subroutine is executed. You can nest subprogram calls
to a depth of 20.
See 8.5 Subprogram Programming, pg. 150.
M99 Return from Subprogram
Goto
See 7.4.11.2 M99 Code: Return from SubProgram, Goto, pg. 123, and 8.5 Subprogram
Programming, pg. 150.
The following special codes can be used with M22 to generate run-time reports.
Info Table: Special Codes for Use With M22
Code Description
@X Current X position (in current coordinate system)
@Z Current Z position (in current coordinate system)
~ (tilde) New line (starts a new line in the file)
@TD Time of day (12hour): “11:59:59AM”
@TC Time (elapsed) for cycle: “99:11:59” (0’s trimmed from left)
@TT Time total (of program run): “99:11:59”
@TA Time Average (per cycle): “99:11:59” (“??:??” if first part)
@TL Current Tool number: “5”
@C Cycle number (current pass): “3”
@D Date: “12/31/97”
@FN Current file (without path): “PART.NC” (“UNTITLED.NC” if untitled)
\t Tab
\\ Outputs a single backslash (‘\’) character to the file
Below is another annotated example of the use of M22 in an NC program. All text on the same block,
after the closing parenthesis, is output to the file, with all valid special codes being replaced as it is
written.
Example Code: Use of M22 with Special Codes
; Start of file
… ; Process a single part
; Output part time statistics to file c:\Reports\Stats.txt, c:\Reports directory must exist
M22 (c:\Reports\Stats.txt,A) Part #@C processed in @TC.
M47 L50 ; We want to process 50 parts.
When used in a subprogram, this code returns the program flow to the block following the last M98 (Call
to Subprogram) command.
If the M98 codes is used together with an L code to specify multiple calls to the subprogram, the M99
code will return to the block containing the M98 code until all the specified number of subprogram calls
have been made; it will then proceed to the block following the M98.
You can use the P code with a block number to specify a different block to jump to; however, if this
feature is used from a nested subprogram call, all return targets are discarded. The rules for a Goto
target block apply to this use as well.
The M99 code can be used in the main NC program as a Goto command to jump to any line before the
first subprogram (as denoted by an O code).
Use the P code to identify the block number being jumped to. Control is transferred to the first
occurrence of this N code; it cannot be used to transfer control between chained programs.
This command can be used anywhere in the program to change the flow of program execution. It is
good programming practice to place this command on a line by itself to improve the program’s
readability, for example:
M99P50; Jump to line 50 in the current program.
Code Function
! Displays the message and performs a pause requiring operator intervention to continue.
~ Displays the message as a Warning Message.
\b Beeps when the message is shown.
The M105 code is used with special codes as in the format below:
M105 (alternate character plus the message) ;comment
For example:
Example Code: Use of M105 with Special Codes
Using multiple tools is an advanced operation and should not be attempted by persons
unfamiliar with using the BenchTurn 7000 turning center.
Product Care
See 9 Multiple Tool Programming, pg. 152.
The control software can strip comments from a program with a single command. The
comments cannot be subsequently replaced. To do so, right-click in the Program Editing
window and select Renumber. Check the Remove Comments checkbox and click Do it!
Take Note
8 NC Programming Routines
8.1 Linear Interpolation Programming 128
8 NC Programming Routines
8.2 Circular Interpolation Programming 129
The codes used in circular interpolation are listed below.
Info Table: Circular Interpolation Codes
Code Explanation
G02 Moves tool along circular path in clockwise direction.
NC Code Example:
N8$
N9G90X0Z1;SET START POINT
N10G02X1Z0I0K0F2;CLOCKWISE TO X1,Z0
Code Explanation
N8$ Sets absolute arc center mode.
N9G90X0Z1;SET START POINT First line defines the starting point.
8 NC Programming Routines
8.2 Circular Interpolation Programming 130
N10G02X1Z0I0K0F2;CLOCKWISE TO Second line defines the end point and the center point.
X1,Z0
N10 The line sequence number is 10
G02 The tool will proceed in a clockwise direction from the
starting point to specified (X, Z) coordinates; center point of
arc is specified by (I,K) coordinates
X1 X axis coordinate of end point = 1
Z0 Z axis coordinate of end point = 0
I0 I coordinate of center point of arc = 0
Example Motion Assuming the start point is X0,Z1, the tool path generated by the
preceding lines would be as below.
In the second line, the X and Z values are the distance the tool is to
move from its current position. In both cases, the I and K values
are equal to the X and Z distance from the start point to the center
point.
8 NC Programming Routines
8.2 Circular Interpolation Programming 131
8.3. RAPID TRAVERSE PROGRAMMING
On the BenchTurn turning center, the rapid traverse code (G00) moves the tool at the maximum
available feed rate (80 ipm) to the specified coordinates. Rapid traverse is often used to reposition the
tool before ending a program, or in preparation for the next cut.
The tool should not be engaged in a cutting operation while traversing to a new location!
Safety
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 a new feed rate is specified.
Rapid traverse is not affected by the feed rate scale factor. If all the positioning motions are performed
in rapid traverse mode (G00) and all the cutting motions are performed in linear (G01) or circular
interpolation (G02, G03) modes, cutting rates can be adjusted up or down using the feed rate scale
factor without affecting rapid traverse motions.
An example of the use of rapid traverse is shown below.
NC Code Example:
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
Code Explanation
G90G01X1F2; MOVE IN A STRAIGHT
LINE TO X = 1 AT 2 IPM G90 Sets absolute coordinates
G0X1 Moves the tool to position X = 1, using linear interpolation.
F2 Sets the feed rate to 2 inches per minute.
8 NC Programming Routines
8.4 Canned Cycle Programming 132
program. Canned cycle codes are retained until superseded in the program by another canned cycle
code.
The table below lists all canned cycles supported by the BenchTurn 7000 and its control software.
Info Table: Supported Canned Cycles
Code Explanation Section Page
133
G32 Canned cycle thread cutting 8.4.1
8 NC Programming Routines
8.4 Canned Cycle Programming 133
This section presents the following information:
Section Contents: Threading
Section Name Page
8.4.1.1 Threading in NC Code 134
8.4.1.2 Thread Tooling 138
8.4.1.3 Setting Up for Threading 139
8.4.1.4 Cutting Left-Hand Threads 139
8.4.1.5 lnternal Threading 139
The pitch of the thread is the distance that the tool moves along the Z axis for each revolution of the
spindle. The graphic below illustrates the concept of pitch.
The pitch is specified by the F code in the NC program as the pitch distance, measured in inches per
thread.
8 NC Programming Routines
8.4 Canned Cycle Programming 134
Generally, machine screws used in the United States conform to the American National, or Unified
Thread System. Threads are specified by the outside diameter of the thread and by the threads per inch,
such as 1/4-20. The thread 1/4-20 has a pitch of 20 threads per inch, or a thread distance of 1/20 inches
per thread.
To turn a thread of specification 1/4-20, F would be set to 1/20, or 0.05.
A number of considerations must be taken into account when specifying the spindle speed and feed
rate. These are listed below and explained in the sections that follow.
Guidelines: Specifying Spindle Speed and Feed Rate
No. Description Section Page
1 The spindle speed and feed rate must be accurately set Feed Rate Calculation, below 135
as their ratio affects the pitch distance produced.
When using a canned cycle for threading, the NC
program must specify the pitch directly, and the
required feed rate is calculated automatically.
2 The spindle speed and feed rate selected must not Turning Center Maximum Cutting Feed 136
exceed the capabilities of the turning center. Rate, below
When using a canned cycle for threading, the NC program must specify the pitch directly, and the
required feed rate is calculated automatically. This section explains how to calculate the feed rate
when threading without using a canned cycle.
The spindle speed and feed rate for a threading operation must be calculated accurately based on the
desired pitch of the thread as there is a direct ratio between the spindle speed, the feed rate, and the
pitch of the thread:
Pitch distance (inches/rev) X Spindle Speed (RPM) = Feed rate (inches/min)
In this example, the required feed rate to turn a 1/4-20 thread at a spindle speed of 200 RPM is
calculated.
Example: Calculating Threading Feed Rate
No. Step Demonstration
1 Calculate the pitch distance The thread is specified as 1/4-20.
The pitch in threads per inch is thus 20 inches per thread.
The pitch in inches per thread is thus 1/20 inches or 0.05 inches.
8 NC Programming Routines
8.4 Canned Cycle Programming 135
2 Calculate the feed rate Use the formula below:
Pitch distance (inches/rev) X Spindle Speed (RPM) = Feed rate
(inches/min)
0.05 inches/rev X 200 RPM = Feed Rate
Feed rate = 10 inches per minute
There are three operations that must be performed by the NC code before threading is started.
Info Table: Pre-threading Operations
No. Operation
1 Before the threading cycle is performed, a groove
or relief must be cut behind the eventual end
point of the thread. If such a groove is not cut, the
tool will be removed abruptly from the workpiece,
making the end of the helix straight.
2 The start point for the threading operation must not be along the workpiece surface. Instead,
the tool should start the operation some point away from the workpiece along the Z axis. This
will ensure that the tool and workpiece are in motion before cutting begins.
3 After commanding the spindle speed to slow down for threading, a dwell must be implemented
to allow the spindle time to slow to the commanded speed before threading begins.
8 NC Programming Routines
8.4 Canned Cycle Programming 136
8.4.1.1.4. Programming a Threading Operation Using a Canned Cycle
The code below demonstrates the use of a threading cycle. The program will cut a 20-pitch thread on a
0.25” diameter rod.
NC Code Example: Threading Cycle
G0X.125Z1.5;TO SET THE START POINT
S200M03;SPINDLE SPEED 200RPM
G04F5;DWELL FOR 5 SECONDS
G32X.095Z1Q.002F.05;X & Z ENDPOINTS, Q=DEPTH OF CUT, F=PITCH
G80;END CANNED CYCLE
Code Explanation
G0X.125Z1.5 Rapids to X.125Z1.5. This point is some way from the workpiece to ensure
that when threading starts, both the tool and spindle will already be in
motion.
S200M03;SPINDLE SPEED Sets the spindle speed to 200 RPM and turns on the spindle.
200RPM
G04F5;DWELL FOR 5 Dwells for 5 seconds to allow the spindle time to slow down to its new
SECONDS speed of 200 RPM.
8 NC Programming Routines
8.4 Canned Cycle Programming 137
G32X.095Z1Q.002F.05;X &
G32 Threading canned cycle
Z ENDPOINTS, Q=DEPTH,
F=PITCH X.095Z1 Sets the end point of the thread to
X.095Z1.
Q Specifies a depth of cut of 0.002 inches.
F.05 Specifies a pitch distance of 0.05 inches.
This is equivalent to a pitch of 20 threads
per inch.
G80 End canned drilling cycle.
For fine threads, the tool can be ground to a sharp point. For coarse threads, you may wish to radius the
point.
An external threading tool is used for external threading operations. An inside threading tool is used for
internal threading, such as on a nut.
8 NC Programming Routines
8.4 Canned Cycle Programming 138
8.4.1.3. Setting Up for Threading
Follow the guidelines below for setting up the turning center.
Setup Guidelines for Threading
The workpiece must be mounted in a chuck or collet.
The tool height must be set exactly on the centerline of the workpiece for a correct thread angle.
Locate the zero point of the workpiece just as you would for other turning operations.
8 NC Programming Routines
8.4 Canned Cycle Programming 139
A canned radius turning cycle can only be performed in one quadrant; it cannot be
performed across quadrants.
Take Note
See the example below for the use of G72. G73 works the same way but specifies a counterclockwise
arc.
NC Code Example:
G0X0.001Z1;START POINT
G72X.5Z.5I0K.5Q.04F3
G80
Note: The program uses absolute arc centers. See 7.4.2 $ Code: Absolute Arc Centers, pg. 101.
Code Explanation
G0X0.001Z1;START POINT Rapid traverse to X0.001, Z1.
This is the arc starting point.
G72X.5Z.5I0K.5Q.04F3
G72 Specifies a clockwise arc.
X.5Z.5 Sets the end point of the arc.
I0K.5 Sets the center point of the arc.
Q0.4 Sets the depth of cut to 0.04 inches.
F3 Sets feed rate to 3 inch/min.
8 NC Programming Routines
8.4 Canned Cycle Programming 140
Example Motion Example programs are shown below. The dotted lines represent the
resulting tool paths.
Canned NC Code Motion
Cycle
Command
G72 example G0X0.001Z1;START POINT
(as
discussed G72X.5Z.5I0K.5Q.04F3
above) G80
8 NC Programming Routines
8.4 Canned Cycle Programming 141
The following is an example of code using the G77 code for straight side cuts.
NC Code Example:
G00X.6Z.8
G77X.4Z.5F10
G80
Code Explanation
G00X.6Z.8 Rapid traverse to the start point, X.6Z.8.
G77X.4Z.5F10
G77 Starts the canned cycle.
X.4Z.5 Sets the end point of the side cut.
F Sets the feed rate to 10 inch/min.
8 NC Programming Routines
8.4 Canned Cycle Programming 142
The following is an example of code using the G77 code for roughing cuts.
NC Code Example:
G00X.6Z.8
G77X.25Z.5Q.02F10
G80
Code Explanation
G00X.6Z.8 Rapid traverse to the start point, X.6Z.8.
G77X.4Z.5Q.02F10
G77 Starts the canned cycle.
X.4Z.5 Sets the end point of the side cut.
Q.02 Sets depth of cut to 0.02 inch per cut
F Sets the feed rate to 10 inch/min.
8 NC Programming Routines
8.4 Canned Cycle Programming 143
8.4.3.3. Tapering
Tapers are created by using an R code in conjunction with G77.
The R value specifies the difference in depth between the start of the taper and the end of the taper
(specified by the X code). The sign of the slope produced (positive or negative) depends on whether R is
set to a positive or negative value, as in the examples below.
NC Code Example: Tapering
Slope Sign of R Example Code Example Motion
Required
Positive Negative G77X.25Z.5R-.1F10
The example below illustrates tapering with roughing cuts, using R and Q codes.
NC Code Example:
G77X.25Z.5Q.02R.1F10
Code Explanation
G77X.25Z.5 Starts the G77 canned cycle, specifying the position of the end of cut.
Q.02 Specifies a depth of cut of 0.02 inches
R.1 Specifies a negative slope, with the taper starting 0.1 inches further from the
axis than the final cut depth.
8 NC Programming Routines
8.4 Canned Cycle Programming 144
Example Motion The code G77X.25Z.5Q.02R.1F10 will produce a negative taper, ending at
X.25Z.5, starting at a depth 0.1 inches below that position. The taper will be cut
with roughing cuts of depth 0.02 inches.
8.4.3.4. Boring
Boring (an inside turning cycle) is achieved by specifying a smaller X value at the beginning of the
operation than at the end. The tool moves into the workpiece, nears the center, and then moves
outward with each cut, as shown below.
Note that boring requires that a hole be pre-drilled to allow the boring tool into the workpiece.
Before Boring After Boring Boring Operation
Code Explanation
G00X.25Z1.1 Moves the tool to the outside diameter of the hole at the face of the stock.
G77X.375Z.5 Starts a boring cycle that will create an internal cavity with the coordinate
X.375Z.5 specifying the deepest internal corner of the bore.
Q0.03 Specifies a depth of cut of 0.03 inches. Multiple cuts of this depth will be made
until the depth X.375 is reached.
8 NC Programming Routines
8.4 Canned Cycle Programming 145
F10 Specifies the feed rate as 10 inches/minute.
G80 Cancels the canned cycle.
Code Explanation
G0 Moves the tool to the start point above the face of the part.
G79X.2Z.8Q.03F10
G79 Starts the canned cycle.
X.2Z.8 Specifies the final depth of the cut as X.2 and the length of the cut in the Z
direction as Z.8.
Q.03 Sets depth of cut to 0.03 inch per cut.
F10 Sets the feed rate to 10 inch/min.
Example Motion The example code will result in the motion shown below.
8 NC Programming Routines
8.4 Canned Cycle Programming 146
The G79 code can be used with R codes to combine end turning and tapering, as illustrated below.
NC Code Example: End Turning with Tapering
Slope Sign of R Example Part
Required
Positive Negative
Negative Positive
8 NC Programming Routines
8.4 Canned Cycle Programming 147
A typical use of the G81 and G83 codes is shown in the following example.
NC Code Example:
G0X0Z1;RAPID TO 0,1
G81Z.9R1F2;CENTER DRILL TO DEPTH OF Z.9 FROM Z1 FEED 2, RAPID TO INITIAL POINT
G83Z.5R1Q.1F3;PECK DRILL TO Z.5 FROM Z1 EACH PECK .1, RAPID TO POINT R
G80;CANCEL CANNED CYCLE
M2;END PROGRAM
Code Explanation
G0X0Z1;RAPID TO 0,1 Rapid motion to X0 Z1.
G81Z.9R1F2;CENTER
DRILL TO DEPTH OF Z.9 G81Z.9 Straight drill to Z0.9
FROM Z1 FEED 2, RAPID
TO INITIAL POINT R1 Retract to Z1
F2 Feed rate = 2 inches/min
G83Z.5R1Q.1F3;PECK
DRILL TO Z.5 FROM Z1 G83Z.5 Peck drill to Z.5
EACH PECK .1, RAPID TO
POINT R R1 Retract to Z1
Q.1 Drill a maximum of 0.1 inch per peck.
F3 Feed rate = 3 inches/min
8 NC Programming Routines
8.4 Canned Cycle Programming 148
Example Motion
The straight drill cycle will result in motion as shown below.
8 NC Programming Routines
8.4 Canned Cycle Programming 149
8.5. SUBPROGRAM PROGRAMMING
Subprograms are used to execute repetitive routines in an NC program. The subprogram is entered in
the NC code only once, but can be called and run any number of times. This is especially useful if the
turning operation you wish to repeat is lengthy or complex.
The NC codes used for sub-programming on the BenchTurn turning center are listed in the following
table.
Info Table: Sub-programming NC Codes
Code Description
M98 Call to subprogram.
M99 Return from subprogram.
P The P code is used to reference the first line of the subprogram (which begins with an O code). The P
code immediately follows an M98.
The P code can also be used with an M99 code to specify the line number in the main program to be run
next.
L The L code is used as a loop counter when used in sub-programming. The computer executes the
subprogram the number of times set by the L code. For instance, if the code is L5, the subprogram is
executed five times. After the fifth cycle, the program will not restart the subprogram but will instead
continue to the next step in the program. (Optional)
O The O code replaces the N code on the first line of a subprogram.
The general program flow when using a subprogram is illustrated in the following table.
Info Table: Subprogram Flow
No. Description
1 An M98 and P code located in the main program call the subprogram. The P code specifies which
subprogram to run. Each subprogram is labeled with an O code instead of an N code.
2 The main program is interrupted, and the subprogram begins to run.
3 An M99 code in the subprogram ends the subprogram. The main program recommences from the point
at which it was interrupted.
Subprogram calls can also be nested within other subprogram calls. This means that while a subprogram
is being executed, it can call another subprogram. The default number of levels that subprograms can be
nested is 20 levels deep.
The sample subprogram below makes a series of light chamfered grooves. It is set up for stock with a
0.75" diameter and 2" length so you should use a piece slightly longer than that, say 0.75" X 2.5", if you
plan to test it.
Note that the file uses absolute programming in the main program and incremental programming in the
subprogram. This makes it necessary to use the G90 code after the subprogram is executed to allow
motion back to the start point.
8 NC Programming Routines
8.5 Subprogram Programming 150
NC Code Example:
;THIS FILE FOR 2.5 INCH BY 0.75 INCH STOCK MOUNTED IN CHUCK
;USE WITH A PROFILING TOOL NORMAL SIDE ORIENTATION
;SET THE START POINT AT Z2 X0.375
G0G90M03;ABSOLUTE PROGRAMMING
G0X0.380Z2
M98P1000L4;CALLS SUBPROGRAM 1000 AND EXECUTES IT 4 TIMES
G90;ABSOLUTE PROGRAMMING
G0X0.38
G0Z2
M02;END OF PROGRAM
O1000;START OF SUBPROGRAM
G91;INCREMENTAL PROGRAMMING SELECTED
G1X-0.040Z-0.040F3
G1Z-0.125 G1X0.040Z-0.040 G0Z-0.20
M99;END OF SUBPROGRAM
8 NC Programming Routines
8.5 Subprogram Programming 151
9. Multiple Tool Programming
The BenchTurn 7000 turning center is equipped with a 4 position tool-turret as standard. Using multiple
tool programs provides the advanced user with the ability to create more complex parts on the turning
center.
This section presents instructions for writing NC code using multiple tools.
There are six basic steps in setting up the turning center for multiple tool operation:
Procedure Outline: Multiple Tool Programming
No. Description Section Page
1 In the control software, specify the tools being used. 9.1 153
2 In the control software, specify how the tools are configured in the tool turret. 9.2 153
3 Write the NC program. 9.3 154
4 Define and configure one tool as a reference tool. 9.4 155
5 Set the offsets for the other tools, relative to the reference tool. 9.5 156
6 Test the NC program. 9.6 158
This section also presents a tutorial on multiple tool programming.
Section Contents: Multiple Tool Programming
Description Section Page
Tutorial: Running a Multi-tool Program 9.7 159
Before any tool change, the turret must be distanced from the workpiece to prevent
collisions.
Safety
The tool that is shown in the Machine Info window is the default tool for the start of a program. The
control software assumes that tool is in use unless another tool is specified with a T code. Once a tool is
specified, any X and Z coordinates are applied to that tool until another T code is encountered in the NC
program.
In the example below, the Machine Info window shows that Tool #01 is in use. Unless the program
includes a T code, the offset specified for Tool #01 in the Setup Tool Library will be used throughout.
The code below demonstrates the use of T and M06 codes for changing tools.
Example Code: Tool Change
N7 ; Tool #1: 'Left Hand Diamond'
N8 ; Tool #2: 'Facing Grooving'
N9 G70 ; Inch Units
N10 M03 S1500
N11 M06 T01 ; Toolchange to Tool #01
Code Explanation
N7 ; Tool #1: 'Left Hand Diamond' Comment lines describing the two tools in use.
N8 ; Tool #2: 'Facing Grooving'
N9 G70 ; Inch Units Set units to inches.
N10 M03 S1500 Turn on the spindle, with speed of 1500RPM.
5. Open the Jog Control Panel if not already open. To do so, click View | Jog Control in the Main Menu.
6. If using a workpiece for the reference point, turn the spindle on, setting it to its minimum speed. If using a
gauge, ensure that the spindle is off.
7. Jog the tool slowly until it just touches the reference point. Follow the guidelines below.
a. Use Continuous mode (selected in the Step Zone area of the Jog Control panel) to move the tool
towards the reference point, but stop motion before the tool is in range of touching the reference
point.
b. Once the tool is near the reference point, switch to Step mode, using a small step size. Jog the tool,
step by step, until it touches the reference point.
Do not remove the tools from the turret after establishing the reference tool and setting the
offsets of other tools.
The entire procedure must be repeated each time tools are installed in the turret.
Product Care
2. Jog the tool turret to a safe distance from the workpiece or gauge to prevent a collision when changing the
tool.
3. Select Tool #02 from the Turret Control toolbar as shown below,
4. Jog the tool slowly until it just touches the reference point. As in the previous section, use Continuous
mode to approach the reference point, and Step mode to jog the tool until it touches the reference point.
5. Take note of the Z and X coordinates displayed in the Position Window. These are the offset values for the
selected tool.
The offset values are automatically filled with the position values found in step 5.
10. Repeat this procedure for Tools #03 and #04, if they will be used. 0 .
Always complete the Safety Checklist (see 1.2 Safety Checklist, pg. 5) before running a
program on the turning center.
Throughout the test, be prepared to press the emergency stop button on the turning center
in case of a tool crash.
Safety
5. Throughout the test, be prepared to press the emergency stop button on the turning center in case of a
tool crash.
6. Observe the turning process, noting any corrections to be made in the NC program. 0 .
After successfully testing the program in a dry run, you can then run the program with a workpiece in
place.
Ensure that you are familiar with all safety guidelines in 1 Safety Guidelines, pg. 1, before
continuing.
Safety
Tool 1 Tool 2
Station 1 2
Angle 30 0.01
Setting Tool 2
Origin Z = 0.5
X=0
To define the origin as illustrated above, jog the tool to a specific location (such as a corner of the
workpiece) and define the coordinates of that point based on knowledge of the workpiece dimensions.
In that way, the coordinates of the stock point of origin are indirectly defined as being (0,0).
For example, for a workpiece that is 3” long with a 0.75” diameter: send the tool to the position at the
top edge of the front of the workpiece, and define that point as X= 0.375, Z= 2.5. The origin is now set to
X = 0, Z = 0.
4. Enter the coordinates for the first workpiece, and click on Apply.
5. Repeat this procedure for as many coordinate systems as necessary (up to 6) by setting up a coordinate
system for each point on the part that corresponds to the zero point of the shape you are turning.
6. In your program, use the Coordinate Systems group G codes to switch between coordinate system and run
the subprogram that contains the NC code for the complex shape. 0 .
When selecting a feed rate and depth of cut, the factors listed in the table below must be taken into
account. You should consult your machinist’s handbook for selecting a feed rate based on spindle speed
and material type. Experience and experimentation will enable you to establish feed rates best suited to
particular applications.
Info Table: Feed Rate and Depth of Cut Factors
Factor Description
The BenchTurn 7000 turning center is designed for flood cooling. A cooling accessory is
available. Contact your dealer or Intelitek.
Take Note
Parting tools are clamped to a special tool post with a minimum of over-hang for maximum rigidity and
chatter-free operation.
The cutoff point should be located as close to the spindle center as possible. The cutting end of the
parting tool should be perpendicular to the workpiece to avoid sideward drift. A small square is useful in
aligning the tool perpendicular to the workpiece. Additionally, the height of the tip of the tool should be
positioned so it is vertically aligned with the center of the stock.
Cutoff operations are performed at a slow turning speed because the parting tool has a large amount of
cutting edge in contact with the workpiece. If the tool chatters or produces noise, the turning speed and
feed rate should be reduced.
Make sure to align the tip of the cutoff tool with the center of the stock, as shown below.
Most threads are cut with a 60̊ threading tool. For fine
threads, the tool can be ground to a sharp point. For
coarse threads, you may wish to radius the point.
A threading tool is used for external threading
operations. An inside threading tool is used for internal
threading, such as on a nut.
Detailed installation instructions are provided with each optional accessory purchased.
Take Note
The automatic shield opener, in closed position The I/ ports located at the right side
of the machine
Detailed installation instructions are provided with each optional accessory purchased.
Take Note
The automated clamping device, shown in the photograph below (left), closes and holds the part
securely during the machining process. The device opens to allow an automated loading device to load a
new workpiece or remove a finished part.
The pneumatic pressure regulator system, shown in the photograph below (right), is mounted on the
spindle motor access door on the left side of the machine as shown. This system regulates the air sent
to the pneumatic chuck forcing it to clamp onto the work piece.
3. When the selected output changes to ON, it will connect the 24V output to COM, thus energizing the
relay.
0 .
Example - G25H3
Input
This code tells the CNC machine to wait until the state at input #3 goes High.
Assuming the robot’s initial output state is Low, if this line of code is placed at the
beginning of the program, the CNC machine waits until input #3 goes High, then executes
If the CNC machine does not respond to the robot as you have programmed it to, check
that you have wired the robot to the interface correctly and that the robot’s initial output
state was not changed to High while connecting the robot.
Product Care
In most cases the G commands can be omitted by using a VB script to send commands from
the robot to the CNC machine (for example, to open the door, open the clamping device,
etc.)
M commands used to send signals from the CNC machine to the robot cannot be replaced
Take Note by VB script.
Step 2
The robot program uses a script file similar to the script below to send commands to the CNC machine.
CHAINL.VBS (Sample)
' File: CHAIN.VBS Date: 03-10-2014
Set objArgs = WScript.Arguments
NameofFile = objArgs(0)
'WScript.Echo NameofFile
writeFile NameOfFile
Sub WriteFile(NcProgram)
Const FileDirectory = "O:\JERANTUT\WS3\TURN\"
Const ForReading = 1, ForWriting = 2, ForAppending = 3
Const TristateUseDefault = -2, TristateTrue = -1, TristateFalse = 0
Dim fs, f, ts, s,TempfileName
Set fs = CreateObject("Scripting.FileSystemObject")
TempFileName = FileDirectory + "chain_file.$$$"
FileName = FileDirectory + "chain_file.txt"
fs.CreateTextFile TempFileName 'Create a file
Set f = fs.GetFile(TempFileName)
Set ts = f.OpenAsTextStream(ForWriting, TristateUseDefault)
ts.Write FileDirectory 'write into the file
ts.Write NcProgram 'write into the file
ts.Close ' close the file
fs.Copyfile TempFileName,FileName
fs.deletefile TempFileName
End Sub
Sub CLEAR()
Sub OCHUCK()
WriteFile("OCHUCK.NC")
End Sub
Sub CCHUCK()
WriteFile("CCHUCK.NC")
End Sub
Sub ODOOR()
WriteFile("ODOOR.NC")
End Sub
Sub CDOOR()
WriteFile("CDOOR.NC")
End Sub
Sub SendFile(CNCProgNumber)
WriteFile(CNCProgNumber & ".nc")
End Sub
Step 3
The robot checks the input signal received from the CNC machine. If the machine signals that it is idle,
the robot sends a command to the CNC machine to clear the loading area, and will start the loading
procedure. By this time the robot will already have picked one part from a local storage device.
If Input 1 Off Call Subroutine BT7000 NOT READY
Call Subroutine PLACE TOOL TURRET IN LOADING POSITION
Remark: ************************************************************************************************
Set Subroutine PLACE TOOL TURRET IN LOADING POSITION
Call Subroutine SCRIPT.CLEAR
Call Subroutine SYNCHRONIZE_WITH_BT7000
Return from Subroutine
Remark: ************************************************************************************************
Step 4
The program name is transferred to the CNC control via the script file and the machine executes the
task.
CLEAR.NC (Sample)
Step 5
The robot monitors the CNC’s input signal. The robot opens the door if the machine signals that it is idle.
If Input 1 Off Call Subroutine BT7000 NOT READY
Call Subroutine OPEN DOOR
Remark: ************************************************************************************************
Set Subroutine OPEN DOOR
Call Subroutine SCRIPT.ODOOR
Call Subroutine SYNCHRONIZE_WITH_BT7000
Return from Subroutine
Remark: ************************************************************************************************
Step 6
The program name is transferred to the CNC control via the script file and the machine executes the
task.
ODOOR.NC (Sample)
M26 H11 ;USER OUT#1 OFF
M25 H102 ;OPEN DOOR
G04F2;MAKE SURE OUTPUT IS SEEN
G25 H132; Wait door open
M20;CHAIN TO PROGRAM
START.NC
Step 7
The robot monitors the CNC’s input signal. The robot opens the clamping device if the machine signals
that it is idle.
If Input 1 Off Call Subroutine BT7000 NOT READY
Call Subroutine OPEN CHUCK
Remark: ************************************************************************************************
Set Subroutine OPEN CHUCK
Call Subroutine SCRIPT. CHUCK
Call Subroutine SYNCHRONIZE_WITH_BT7000
Return from Subroutine
Remark: ************************************************************************************************
Step 9
The robot monitors the CNC’s input signal. If the machine signals that it is idle, the robot inserts the part
into the clamping device and then closes it.
Go to Position SCRIPT.P3 Speed 50 (%)
Go to Position SCRIPT.P2 Speed 50 (%)
Go Linear to Position SCRIPT.P1 Speed 30 (%)
Go to Position SCRIPT.PB1 Speed 5 (%)
If Input 1 Off Call Subroutine BT7000 NOT READY
Call Subroutine CLOSE CHUCK
Remark: ************************************************************************************************
Set Subroutine CLOSE CHUCK
Call Subroutine SCRIPT. CCHUCK
Call Subroutine SYNCHRONIZE_WITH_BT7000
Return from Subroutine
Remark: ************************************************************************************************
Step 10
The program name is transferred to the CNC control via the script file and the machine executes the
task.
CCHUCK.NC (Sample)
M26 H11 ;USER OUT#1 OFF
M25 H4;CLOSE CHUCK
G04F1;MAKE SURE OUTPUT IS SEEN
M20;CHAIN TO PROGRAM
START.NC
Step 12
The program name is transferred to the CNC control via the script file and the machine executes the
task.
CDOOR.NC (Sample)
M26 H11 ;USER OUT#1 OFF
M26 H102 ;CLOSE DOOR
G04F2;MAKE SURE OUTPUT IS SEEN
G25 H131; Wait door closed
M20;CHAIN TO PROGRAM
START.NC
Step 13
Depending on the system environment, the manufacturing CNC code can be activated via an external
control program (i.e. device driver) or directly from the robot program. In both cases the robot
controller will monitor the CNC machine status and will wait until the CNC program is finished. The
monitoring is done via an input interrupt to allow the robot to perform other tasks while waiting. The
interrupt is defined at the start of the program and is enabled or disabled as required in the program.
Remark: ****************************************************************************
Set Subroutine INITC
Load script file: PCPLC3.VBS
Disable Input Interrupt 1
On Input Interrupt 1 On Run Subroutine BT7000_CYCLE_FINISHED
Return from Subroutine
Remark: ****************************************************************************
BRASS_STEP.NC (Sample)
M26 H11 ;USER OUT#1 OFF
M3 S1500
N10 g00 x10 z54
;**************************************
Between these two lines the actual manufacturing code is written
Step 14
If the input interrupt that monitors the CNC machine is activated, the robot will start the unloading
sequence as soon as the robot is available. The sequence starts with the robot checking the input signal
coming from the CNC machine. If the machine signals that it is idle the robot will start the unloading
procedure.
If Input 1 Off Call Subroutine BT7000 NOT READY
Call Subroutine PLACE TOOL TURRET IN LOADING POSITION
Remark: ************************************************************************************************
Set Subroutine PLACE TOOL TURRET IN LOADING POSITION
Call Subroutine SCRIPT.CLEAR
Call Subroutine SYNCHRONIZE_WITH_BT7000
Return from Subroutine
Remark: ************************************************************************************************
Step 15
The program name is transferred to the CNC control via the script file and the machine executes the
task.
CLEAR.NC (Sample)
M26 H11 ;USER OUT#1 OFF
G0X55Z185
G04F1;MAKE SURE OUTPUT IS SEEN
M20;CHAIN TO PROGRAM
START.NC
Step 16
The robot monitors the CNC’s input signal. The robot opens the door if the machine signals that it is idle.
If Input 1 Off Call Subroutine BT7000 NOT READY
Call Subroutine OPEN DOOR
Remark: ************************************************************************************************
Set Subroutine OPEN DOOR
Call Subroutine SCRIPT.ODOOR
Call Subroutine SYNCHRONIZE_WITH_BT7000
Return from Subroutine
Remark: ************************************************************************************************
Step 18
The robot enters the machine, reaches the part and closes its gripper. It monitors the CNC’s input signal,
and opens the clamping device if the machine signals that it is idle.
Go to Position SCRIPT.P3 Speed 50 (%)
Go to Position SCRIPT.P2 Speed 50 (%)
Open Gripper
Go Linear to Position SCRIPT.P1 Speed 30 (%)
Go to Position SCRIPT.PB1 Speed 5 (%)
Close Gripper
If Input 1 Off Call Subroutine BT7000 NOT READY
Call Subroutine OPEN CHUCK
Remark: ************************************************************************************************
Set Subroutine OPEN CHUCK
Call Subroutine SCRIPT. OCHUCK
Call Subroutine SYNCHRONIZE_WITH_BT7000
Return from Subroutine
Remark: ************************************************************************************************
Step 19
The program name is transferred to the CNC control via the script file and the machine executes the
task.
OCHUCK.NC (Sample)
M26 H11 ;USER OUT#1 OFF
M26 H4;CLOSE CHUCK
G04F1;MAKE SURE OUTPUT IS SEEN
M20;CHAIN TO PROGRAM
START.NC
Step 21
The program name is transferred to the CNC control via the script file and the machine executes the
task.
CCHUCK.NC (Sample)
M26 H11 ;USER OUT#1 OFF
M25 H4;CLOSE CHUCK
G04F1;MAKE SURE OUTPUT IS SEEN
M20;CHAIN TO PROGRAM
START.NC
Step 22
The robot monitors the CNC’s input signal. If the machine signals that it is idle, the robot exits the
machine and then closes the door.
Open Gripper
Go Linear to Position SCRIPT.P2 Speed 30 (%)
If Input 1 Off Call Subroutine BT7000 NOT READY
Go to Position SCRIPT.P3 Speed 50 (%)
Go to Position SCRIPT.P4 Speed 50 (%)
If Input 1 Off Call Subroutine BT7000 NOT READY
Call Subroutine CLOSE DOOR
Step 23
The program name is transferred to the CNC control via the script file and the machine executes the
task.
CDOOR.NC (Sample)
M26 H11 ;USER OUT#1 OFF
Step 24
The robot transfers the part to the next process or to its target storage.
CLEAR.NC
M26 H11 ;USER OUT#1 OFF
G0X55Z185
G04F1;MAKE SURE OUTPUT IS SEEN
M20;CHAIN TO PROGRAM
START.NC
CDOOR.NC
M26 H11 ;USER OUT#1 OFF
M26 H102 ;CLOSE DOOR
G04F2;MAKE SURE OUTPUT IS SEEN
G25 H131; Wait door closed
M20;CHAIN TO PROGRAM
START.NC
OCHUCK.NC
M26 H11 ;USER OUT#1 OFF
M26 H4;CLOSE CHUCK
G04F1;MAKE SURE OUTPUT IS SEEN
M20;CHAIN TO PROGRAM
START.NC
CCHUCK.NC
M26 H11 ;USER OUT#1 OFF
M25 H4;CLOSE CHUCK
G04F1;MAKE SURE OUTPUT IS SEEN
M20;CHAIN TO PROGRAM
START.NC
BRASS_STEP.NC
M26 H11 ;USER OUT#1 OFF
M3 S1500
;G0 X30 Z70
;**************************************
N10 g00 x10 z54
N20 ;*******************first step**************************
N30 g01 x9.0 z53.8 f300 ;18.0mm diameter
N40 m03 s2000
Sub CLEAR()
WriteFile("CLEAR.NC")
End Sub
Sub OCHUCK()
WriteFile("OCHUCK.NC")
End Sub
Sub CCHUCK()
WriteFile("CCHUCK.NC")
End Sub
Sub ODOOR()
WriteFile("ODOOR.NC")
End Sub
Sub SendFile(CNCProgNumber)
WriteFile(CNCProgNumber & ".nc")
End Sub