Beruflich Dokumente
Kultur Dokumente
Contents
Page No
1. INTRODUCTION
2. MENUS
3. CONTROL PANNEL
20
4. SETTINGS
24
35
CNCTRAIN TURNING
Introduction
CncTrain is a complete CNC training system, covering all aspects of CNC set up, MDI
programming and program prove-out through 2d and 3d simulation for 2 and 3 axis machining.
CNC part programs can be entered in a CNC editor, input through the on screen MDI panel, or
keyed in with the DENFORD tutor panel.
Machine control software conects CncTrain to a range of Denford CNC machines for the
machining of real parts.
Setting Units of Measurement
Select either Metric or Imperial for the units of measurement that you want to work in.
Whichever you select will be the default system. You cannot change units once the system is
running.
Machine versions
There are several software options for CncTrain to cover simulation of CNC controls and CNC
machining to actual control of CNC machines for manufacturing real parts.
CncTrain.exe will install the simulation software for CNC milling machines and CNC lathes.
After installation click on the
CNCmill.exe will install the machine control software for CNC milling machines.
After installation click on the
machines.
CNCturn.exe will install the machine control software for CNC lathes.
After installation click on the
Site Licence
Site Licence Screen
When you first run the software the site licence screen will be displayed. If your system requires
a security key to work you will need to have this fitted to the parallel port of the computer. The
software will detect the key and display the controls that the key will allow you to use. These
controls should be the same controls that were stated on your software order.
If your system uses flash screen the name of the user and the number of users will be
displayed.
Machine Control
If you have installed the machine control software for milling or turning you will need to be
connected to a Denford CNC machine to use the software.
Machine Type
Setting the Machine Type
CncTrain remembers the last machine that you selected, if you want to
select a different machine you can do so from this menu.
Machine Control Software
When running the machine control software select the CNC machine that you are going to
control from the above menu. Once the system is running you cannot change the machine type
or any of the machine parameters. The next time you run the software the current machine type
will be the default machine.
File Menu
File Menu
Deleting Files
Highlight any filename and press the Del key on the qwerty keyboard to delete the file.
To view files with different extensions select another extension or All Files.
Save CNC Program
Select this option to save a CNC program to disk. The filetype will depend on the type of CNC
control you are simulating.
Example : Heidenhain programs .hei
Fanuc0T programs
.fnl
If you are in Dual edit mode the CNC program will be saved from the active CNC editor.
All CNC programs that are saved to disk by CncTrain also have settings and tooling files that
are automatically saved with the CNC program.
File Menu
Save As
Select Save As to save the current CNC program under a new filename.
Store Memory
This option is only available if any of the on screen MDI panels are active.
Stores the current CNC program in the active CNC controls memory to disk with its settings and
tooloffsets.
Remember to select this option before clearing the active CNC program from memory and also
to save any changes to the CNC program during editmode.
Store memory saves the current CNC program in a set directory and does not affect any CNC
programs saved to disk from the CNC editor.
Example: Fanuc0T programs are stored in the Fanuc0T sub-directory located in the main
directory which is normally \CNCTRAIN\FANUC0T\
The name of the CNC program is taken from the first line of the CNC program.
(O1000) would be saved to disk as 01000.fnl.
If you want to save the CNC program to any other directory you can download the program into
the CNC editor and use the Save CNC Program option from the File menu.
Edit File
Text files can be loaded into the CNC editor and amended, this can be useful for translating the
help and message files into different languages.
Save File
Saves the current file in the CNC editor as a textfile to disk.
File Menu
Edit Menu
Undo
Restores the last edit change made in the CNC editor using cut and paste techniques.
Cut
Deletes the highlighted text from the CNC editor.
Copy
Copies the highlighted text into a buffer.
Paste
Inserts text from the copy buffer into the CNC program.
Font
Displays the available fonts for use in the CNC editor.
Options Menu
New Billet
Sets the current billet to the parameters in the Billet Settings and re-draws the graphics.
Single Edit
Splits the screen into two with the CNC editor in the bottom half and the simulation on the top
half. This mode is automatically selected when a CNC control panel is activated.
Dual Edit
Splits the screen into two halves with the main CNC editor on the left of the screen and the
second CNC editor to the right of the screen.
Use this mode for editing two CNC programs simultaneously.
10
Full Screen
11
Machine Settings
Build a library of machine types containing information on size, axes, tooling etc.
Machine Control
If you are running the machine control software the machine settings can be viewed but not
edited. All machine settings should be automatically selected when you select the machine type
that you are going to control.
Billet Settings
Set the size of the billet and any datum shifts.
Tool Offsets
Build a library of tools for a particular machine or a specific job.
Select Tooling
Select your tooling from bitmaps of real tools.
Machine Control
Set the parameters for driving a CNC machine.
12
Control Type
Show MDIPanel
Switches the current CNC control on/off.
You can only select the control panels that are activated, this depends on which controls have
been purchased.
13
RS232 Comms
Machine Link
This menu option is only available with the Machine Control software. Switches the link
between the computer and the CNC machine tool off/on. After connecting to the CNC machine
tool for the first time you can un tick the machine link and simulate CNC programs offline. This
will allow you to test the CNC program before cutting the part on the machine.
14
RS232 Comms
Set Machine Comms Link
To drive a Denford CNC machine you need to set the correct RS232 protocol by selecting this
menu option.
Receive File
Select this option when the cabling and communications are all set and the CNC control is
ready to send a CNC program.
After the CNC program has been received select the RS232 to CNC Editor option to transfer
the program to the CNC editor.
Send File
Select this option when the cabling and communications are all set and the CNC control is
ready to receive a CNC program.
Make sure you have stored the CNC program in the RS232 buffer by selecting the CNC Editor
to RS232 option before downloading the CNC program.
Cancel Comms
Exits the current RS232 operation and clears all serial buffers.
15
Material Color
Click on the change color bar and select from a listing of materials.
You can import your own bitmaps of materials. Any windows (.BMP) file will work.
Update Color Bar
After selecting a new material or changing colors you can redraw the current
graphics by pressing the Update Color Bar.
Color Bars
Select from the color bar to change the tool, side or depth color of the
material.
Texture Control
Select the tool color bar, side color bar or depth color bar and set the color. Then
use the texture control to change the lightness and pattern of the material.
Important
Remember to save any changes by selecting Set Colors from the Options Menu.
16
Graphics Options
17
Plan View
Showing ToolPath
18
Graphics Speed
You can change the speed of the simulation by using the speed bar to select slow fast.
During the simulation you can also change the speed by using the Feed
Rate Override. This will only be effective if the speed bar is set to the left.
19
Control Panel
Moves the axes in a positive direction if Jog, Manual or Rapid Mode is active. Select any
axes from the CNC Display form.
Runs the current CNC program in Auto Mode or Single Block. Auto Mode will be
automatically selected if you are in any other mode.
20
Combo Box
EDIT
A CNC editor for writing G and M code programs is available in single/dual edit mode.
AUTO
You need to be in Auto mode to execute a CNC program.
RAPID
Moves the selected axis at the Fast Traverse Rate.
MANUAL
Moves the selected axis at the current Feed Rate.
SINGLE
Executes a CNC program line by line.
JOG
Moves the selected axis a set Jog increment.
21
Home Mode
Datum Mode
With the simulation software touch on the outside diameter of the bar and type in the billet
diameter.
Machine Control
Touch on the diameter of the bar or take a cut along the bar and accurately measure the
diameter with a micrometer. Type in the measured value and click on the OK button.
Touch on the face of the billet or manually take a cut along the face of the billet. Click on the Z
button to datum the Z axis to zero.
22
CNC Display
23
Machine Settings
Minimum Traverse
Sets the minimum traverse for all the axes. The values must be less than the maximum
traverse values.
Maximum Traverse
Sets the maximum traverse for all the axes. The values must be greater than the minimum
traverse values.
Home Positions
Sets the Home position values for all the axes. These are machine positions when the axes
have move to their datum switches.
24
Machine Settings
For manual tooling you will be prompted to enter a Tool at all tool
change calls. If Rotary Toolpost is selected the Tool will be selected automatically from the Tool
Library.
Tick this box if your machine has datum switches and you want the axes to
Home to the datum switches.
Sets the Homing speed for the current machine type.
Select a new machine filename or double click on the list of existing machine types.
Selecting a new machine type will leave the existing parameters set , you can then change the
required parameters to suit. Loading an existing machine type will reset the parameters to the
new settings.
Any changes you make will be automatically saved to disk.
25
Billet Settings
Workshift values are the distance from the home position to the billet datum position. These
values are automatically inserted when you datum the tool.
Displays the current units of measurement. Switching units can only be done at the site licence
screen when you first run the software.
Auto Load Workshift Offsets
Each CNC program stores it's own workshift offsets. If you want to load these offsets when
loading a CNC program tick this option box. By de-selecting this option you can load CNC
programs and retain the current workshift offsets.
Save Workshift Offsets
Saves the current offsets into the current machine type settings file. Selecting a new Machine
Type loads the workshift offsets for that machine.
Load Workshift Offsets
Loads the current workshift offsets for the active Machine Type.
Important
Use Tool 1 when setting the datum position. If you have Auto Tooloffsets ticked you do not
have to datum the tool.
26
Billet Settings
Displays the current units of measurement. Switching units can only be done at the site licence
screen when you first run the software.
Billet Length
Sets the billet length for a new part program.
Billet Diameter
Sets the billet diameter for a new part program.
Billet X Shift (Simulation purposes only)
If the datum position for the X axes is not the center of the bar then you can shift the datum
position by typing in a value.
Billet Z Shift (Simulation purposes only)
If the datum position for the Z axes is not the end of the billet then you can shift the datum
position by typing in a value.
27
Tool Offsets
Upto 99 tools can be stored in the tool offsets page with all the relevant information for each
tool.
A library of tools for a particular machine type or for a part program can be selected and saved
to disk.
TOOLTYPE
This value is the type of tool being used, for example: Lefthand, threading etc. A library of tool
types are stored in the Select Tooling page.
XOFFSET
Use tool 1 to set the workshift value, this will show zero values for the Xoffset for Tool 1. X
offset values for all other tools will be the distance from Tool 1.
Important
If you have Auto Tooloffsets ticked you do not have to set the tool offsets.
ZOFFSET
Use tool 1 to set the workshift value, this will show zero values for the Zoffset for Tool 1. Z
offset values for all other tools will be the distance from Tool 1.
Important
If you have Auto Tooloffsets ticked you do not have to set the tool offsets.
TOOLRAD
This is the Tool Nose radius value for the turning tool tip. If you are using a drill type cutter this
value should be the radius of the drill.
All drill type tools start with a !. Ex: !DRILL
T-LENGTH
This value is only used when the tool is a drill type. It specifies the length of the drill .Key in the
correct value and the tool will be automatically re-sized.
Please Note: If AutoToolOffsets is selected then X and Z offsets will not be used.
28
Tool Offsets
CHUCK LENGTH
This value is the actual chuck length.
Option 1
Type in the chuck length by measuring the actual chuck length and placing the value in the
relevant column.
Option 2
Move the cursor to the chuck on the screen, press the left mouse button and drag the chuck up
or down to the required length. The value will be automatically inserted into the relevant Chuck
Length column.
CHUCK TYPE
This value is the name of the chuck that you want to use. A library of chuck types can be
created on the Select Tooling page.
CHUCK WIDTH
Chuck width can be used in the same way as chuck length but specifies the chuck diameter.
Auto Tool Offsets
With the machine control software this option is not available. You must always set your tool
offsets when controlling a CNC machine tool.
For simulation purposes tick Auto Tool Offsets if you want the offsets to be calculated
automatically. Un tick this option to force the student to set tool offsets.
29
Select Tooling
View a Tool
The system comes with a selection of tools. To select a tool point to the tool name in the listbox
and double click with the left button of the mouse. The relevant bitmaps will be displayed in the
boxes.
Add a Tool
You can define and add your own tools by defining the bitmaps and the tool geometry.
Delete a Tool
Highlight the tool name in the listbox and press the Delete key on the qwerty keyboard. The tool
name will be deleted from the list.
Chuck List
Chuck bitmaps can be added and removed in the same manner as the tool bitmaps.
Backcutting
Switches the tooling between backcutting and frontcutting tooling.
30
Machine Control
The Machine Control page is only valid if you are linking to a Denford CNC machine with the
CNCmill or CNCturn machine control software. These parameters are automatically set when
you run the machine control software.
Although you can view the machine control parameters you cannot normally edit any of them.
31
Tool Library
Machine Control
With the machine control software make sure the Tool Library contains the same tooling setup
as the CNC machine tool that you are connected to.
Select all the tools that you want to be standard tooling for a particular machine and enter all
the relevant information including the offsets if required. Select this option to save the
information to disk.
Loads the standard tooling for the current machine type and updates the tooling information.
Many machines have rotary toolposts with standard tooling set up all the time. You can have
several machine types with different standard tooling. For example Denford Novaturn 6 Station,
Denford Novaturn 8 Station.
Highlight a tool in the tool offset page and enter the relevant information. Click on this option to
add the tool to the library. If you already have the same tool number in the library you will be
warned. Delete the tool from the library and then add the new tool.
Highlight a tool in the tool library window and select this option to delete.
Select any of the rows in the top column for Tool 1 and click on this option to set all the values
to the value for Tool 1. For example if the TOOL TYPE is LEFTHAND by highlighting this and
selecting Set All Values all 99 tools will be TOOL TYPE LEFTHAND.
Setting the X and Z offsets can be the hardest task for students to get to grips with. By selecting
Auto Tool Offsets you can tell the system to workout the offsets automatically.
By switching Auto ToolOffsets off you can force the student to set the X and Z offsets by
himself.
Machine Control
Auto Tool Offsets is not available with the machine control software because tool offsets must
be set when controlling a CNC machine tool.
32
CNC Editor
Use the CNC editor to write your part programs. Edit mode is automatically selected when you
enter the editor.
Use uppercase for all G and M code commands. For comments you can use upper and lower
case.
Example: ( Select a left hand tool for the next sub-routine)
Use the standard WINDOWS edit facilities for inserting , deleting, copying and pasting CNC
part programs.
To adjust the number of lines in the CNC editor press this button
Selecting any of these arrow keys switches to Auto Mode and moves the
current line up and down in the editor. Use this option to start the simulation from any line
number.
Type in a search word and select the FIND option to search for
specified text. Click on the FIND button again to search for the next occurence.
33
Use the copy, paste and insert options to build your CNC program.
To load and save CNC programs into the editor, make the editor you want to use the active
editor. You can do this by moving the cursor to any part of the editor and pressing the left
mouse button.
Post Process
Any CNC program can be Post Processed for the Denford G and M code interpreter.
This allows CNC part programs developed in CncTrain to be Post Processed for other control
systems.
Load the CNC part program that you want to Post Process into the left hand editor and simply
press the Post Process button.
The interim file will be generated and displayed in the right hand editor. The file will be
automatically saved to disk.
Example: Rough Turning Ex 1.Fnl will be saved to disk as Rough Turning Ex1.fnc.
34
Fanuc 0T MDI
CncTrain also simulates the actual CNC control and MDI panel. Manual data
input through a CNC control can be completely different to typing in a CNC program in the CNC
editor.
Setting the tool offsets, programming, editing and control of filing systems is very specific to
each control.
CncTrain simulates all the individual features of a CNC control allowing the student to learn in a
safe and productive environment.
35
On Screen Tutor
To jog the axes and to set datum positions and tool offsets you can use the machine control
panel.
36
Tutor Link
If you have a Denford Desk Top tutor connected to the computer select this option to switch
control away from the on-screen tutor. Select this option again to switch control from the desk
top tutor back to the on-screen tutor.
Machine Link
If you have a Denford CNC machine tool connected to your computer select this option to drive
the machine directly from the on-screen control, or from the Denford Desk Top Tutor.
Print
Outputs a hardcopy of the MDI panel to the printer.
Close Panel
Closes the on screen Tutor and returns control to the main CNC editor.
Machine Link
Not available for this control.
Print
Outputs a hardcopy of the MDI panel to the printer.
Close Panel
Closes the on screen panel and returns control to the main CNC editor.
37
Utils
Tutor Link
If you have a Denford Desktop tutor connected to the computer select this option to switch
control away from the on-screen tutor. Select this option again to switch control from the
desktop tutor back to the on-screen tutor.
Machine Link
If you have a Denford CNC machine tool connected to your computer select this option to drive
the machine directly from the on-screen control, or from the Denford Desktop Tutor.
Print
Outputs a hardcopy of the MDI panel to the printer.
Close Panel
Closes the on screen Tutor and returns control to the main CNC editor.
38
The CNC program will be displayed in the CNC editor and you will be prompted to enter
mode and to press the
button.
Once the CNC program is in the CNC editor you can upload the program at any time.
Type in 'Y' to confirm the upload. The CNC program will be displayed in the controls memory.
If the CNC editor is not hidden automatically you can hide the CNC editor again by selecting
Full Screen from the Options Menu.
Edit
Use the
files.
PRGR button to switch between editing a CNC program or listing all the CNC
39
MDI
MDI screen
Use the MDI display to manually enter a single block of CNC information. This can be used to
change tools, feed rates, single block moves or to call M codes for example to switch the
spindle off/on.
Enter a CNC block of information at the ADRS. line and press the
the MDI screen.
Example M06
Press the
G00
button to send it to
T01
40
Auto
To run any CNC part program displayed in the Fanuc CNC editor you need to be in Auto
Mode.
Execute from first CNC block.
In Edit Mode
Be sure the cursor is on the first line
button.
Home
If the CNC machine your control is connected to has datum switches you can send the
axes to their home positions.
Use the
and
Machine Control
When connected to a CNC machine tool wait until the axes have stopped moving before
executing another control command.
Jog
Jog mode allows continous movement of the axes at a set feed rate or at the fast
traverse feed rate.
Toggles between feed rate and fast traverse movement. To set the feed rate use the
MDI screen.
41
Inc Jog
Inc Jog mode allows movement of the axes at a fixed distance. This distance is set by
the three buttons below.
POS
42
Offset
WorkShift Offsets
Ofset Mesur
Pressing the offset measure takes a snapshot of the current axes positions to be used
when you are going to set a tooloffset or workshift value. If you are setting each axis
individually you need to press this button for each axis position. If you want to set all axes move
the tool to the datum position on all axes then press this button to store the current positions.
You should have selected the tool offset or workshift page with the offset button.
Workshift values are the distance from the home position to the current tool positon, you
normally select tool 1 to be the datum tool when setting the workshift values.
Tool offsets are the distance from the datum tool to all other tools.
43
PRGR button
In Edit Mode
the PRGR button switches the display between listing a CNC
program or listing all the CNC files.
In all other modes a display of the CNC program will be shown.
You can switch the display during program execution.
INPUT
OUTPT START
Select
Press this button to download the current CNC program in the controls memory to the
CNC editor.
Type in 'Y' to confirm the download. The CNC editor will display the downloaded program.
To hide the CNC editor again select Full Screen from the Options Menu.
44
Press the Offset button to display the workshift page , you may have to press the button
twice to switch between tool offsets page and workshift page.
You would normally assign Tool 1 as the datum tool however you can select any tool number.
You should have jogged your tool to the correct position for setting the workshift values,
normally the end of the bar on the Z axis and the outside diameter for the X axis.
Press the offset measure button the lcd light should flash on then off.
Setting the Z axis
45
CYCLE START
Press
Press
Press
You must be in
CYCLE STOP
Pauses program execution. Press the
button to restart.
RESET
Pressing the
button in
46
BLOCK DELETE
Any CNC block that starts with a block delete character '/' will be ignored if the
button is active.
Example: /M00
During program setup you may want a program stop to be executed by including a 'M00' as a
CNC block.
After setup you can tell the control to ignore the program stop by making the
active.
button
OPT STOP
If the Opt Stop button is active and a 'M01' block is programmed the control will stop
execution until the
button is pressed.
A M00 block will stop program execution whatever state the Opt Stop is set to.
PROG STOP
Instructs the control to stop program execution after the current line has been executed.
Press
SINGL BLOCK
You can select this option during or prior to program execution. Once activated the
control will stop program execution at the end of each machining line or cycle.
Press
button again.
47
Coolant Commands
Spindle Commands
Increases the spindle speed upto the maximum allowed spindle speed.
48
Press the Offset button to display the tool offsets page , you may have to press the button twice
to switch between workshift page and offset page.
Use the cursor keys to move the cursor to the tool offset number that you want to set.
Press the offset measure button the lcd light should flash on then off.
Setting the Z axis
49
Display Files
All CNC programs uploaded into the control from the CNC editor or entered into the control by
the keypad, are stored in the controls filing system.
button.
Loading Files
If the files are not yet displayed then select
files.
Press the cursor down button to load the CNC program into the controls memory.
Repeat the above without showing the list of files if you already know the name of the CNC
program.
Scroll CNC programs
You can scroll through the CNC programs by typing in 'O' at the ADRS line and pressing the
cursor down button. Repeat again to view the next CNC program.
50
button to confirm.
The controls memory will be cleared and the selected program name will be the first line of the
program.
Example 1 :
This would display the following
Example 2 :
This would display the following
Type in the name of the filename that you want to delete at the ADRS line.
51
Adrs Line
Use the address line to enter a word of information. All information must be
entered at the address line.
A word of information always starts with a letter followed by a numerical value.
Example: G00
X12.345
M06
To enter any value you use the controls keypad.
To enter a new word make sure the address line is empty. Press the
address line if required.
52
Use the
53
ADRS F300
ADRS ;
ADRS G02
54
Deleting words/blocks
Deleting a word
Move the edit cursor to the Z letter you want to delete.
Press the
button.
button.
55
Cursor keys
If the ADRS line is empty pressing the cursor keys will move the edit cursor up/down in
the editor, one word for each key press.
If the ADRS line contains text the cursor keys will search in the editor for the text. If text is found
the editor will scroll to the new position.
Pressing the uparrow will enable the search towards the start of the CNC program.
Pressing the downarrow will enable the search towards the end of the CNC program.
You can be in
mode or
ALTER
To change a word of information that has already been entered in the editor.
1 - Move the cursor to the word that you want to change.
2 - Enter the new word at the address line.
3 - Press the
DELET
Deleting the EOB character from the end of a block will add the next block to the end.
56
INSERT
3 - Press the
EOB
Press the
RESET
You must be in
Pressing the
mode.
button in
57